/* AslihanStore — Complete Storefront Styles */

:root {
  --pink: #e8a1b5;
  --pink-dark: #963e5c;
  --pink-soft: #f9e8ee;
  --pink-pale: #fff7f9;
  --ink: #29242a;
  --muted: #79717a;
  --line: #eee5e9;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(68, 35, 49, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body,
button,
input,
select,
textarea {
  font-family: 'DM Sans', sans-serif;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.2;
}

h1,
h2,
.about-section h2 {
  font-family: 'Playfair Display', serif;
}

h1 em,
h2 em {
  color: var(--pink-dark);
  font-weight: 500;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 111, 141, 0.45);
  outline-offset: 3px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 6%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 15px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-family: 'Playfair Display', serif;
  font-size: 26px;
}

.brand-pink,
.footer-brand span {
  color: var(--pink-dark);
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: var(--pink-dark);
}

.header-actions {
  gap: 10px;
}

.country-label {
  color: var(--muted);
  font-size: 12px;
}

.header-actions select {
  max-width: 170px;
  padding: 10px 28px 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
}

.cart-button {
  padding: 11px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
}

#cartCount {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--ink);
  font-size: 11px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  transition: transform 0.2s, background 0.2s;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover:not(:disabled) {
  background: #493842;
}

.full-width {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 490px;
  padding: 65px 9%;
  overflow: hidden;
  background: linear-gradient(115deg, #fff8fa, #fcecf1 72%, #f9e2e9);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.eyebrow {
  display: block;
  margin-bottom: 15px;
  color: var(--pink-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h1 {
  max-width: 500px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 67px);
  letter-spacing: -1.7px;
}

.hero-copy > p:not(.hero-note) {
  max-width: 420px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 15px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

.hero-art {
  position: relative;
  min-height: 340px;
}

.art-circle {
  position: absolute;
  top: 8%;
  left: 16%;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(232, 161, 181, 0.35);
}

.art-bag {
  position: absolute;
  top: 25%;
  left: 31%;
  display: grid;
  place-items: center;
  width: 155px;
  height: 180px;
  border-radius: 9px 9px 25px 25px;
  background: linear-gradient(135deg, #d985a0, #efb5c6);
  box-shadow: 0 25px 45px rgba(156, 84, 108, 0.19);
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 55px;
}

.bag-handle {
  position: absolute;
  top: -43px;
  left: 43px;
  width: 70px;
  height: 60px;
  border: 8px solid #c96f8d;
  border-bottom: 0;
  border-radius: 45px 45px 0 0;
}

.art-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 125px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  font-size: 12px;
}

.art-card > span {
  color: var(--pink-dark);
  font-size: 22px;
}

.art-card small {
  color: var(--muted);
  font-size: 10px;
}

.card-one {
  top: 15%;
  left: 1%;
}

.card-two {
  right: 0;
  bottom: 12%;
}

.spark {
  position: absolute;
  color: var(--pink-dark);
  font-size: 35px;
}

.spark-one {
  top: 6%;
  right: 17%;
}

.spark-two {
  bottom: 7%;
  left: 15%;
}

/* Benefits */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 27px 9%;
  border-bottom: 1px solid var(--line);
}

.benefits > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.benefits > div > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 21px;
}

.benefits p {
  margin: 0;
}

.benefits b,
.benefits small {
  display: block;
}

.benefits b {
  font-size: 12px;
}

.benefits small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

/* Shop */

.shop-section {
  padding: 85px 7%;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 43px);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 340px;
  width: min(420px, 100%);
  max-width: 440px;
  min-width: 230px;
  height: 50px;
  padding: 0 9px 0 16px;
  border: 1px solid #eadde3;
  border-radius: 14px;
  background: #fffafd;
  box-shadow: 0 3px 12px rgba(68,35,49,.045);
}
.search-wrap:focus-within {
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 3px rgba(201,111,141,.12);
}
.search-wrap > span { color: var(--pink-dark); font-size: 27px; line-height:1; }
.search-wrap input {
  width: 100%; min-width: 0; height: 100%; padding: 0;
  border: 0; outline: none; background: transparent; font-size: 14px;
}
.search-wrap input:focus-visible { outline: none; }
.search-wrap button {
  flex: 0 0 auto; min-height: 36px; padding: 7px 15px;
  border: 0; border-radius: 10px; background: var(--pink-dark);
  color: #fff; font-size: 12px; font-weight: 700;
}
.search-wrap button:hover { background:#b95778; }

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 25px;
}

.category-chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
}

.category-chip:hover,
.category-chip.active {
  border-color: var(--pink);
  background: var(--pink-soft);
  color: var(--pink-dark);
}

.shop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
}

.product-card {
  display: block;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.22s, box-shadow 0.22s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff7f9, #f9e8ee);
  cursor: pointer;
}

.product-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-card-shell {
  position: relative;
  min-width: 0;
}

.product-card-image-controls {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 8px;
  right: 8px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.product-card-shell:hover .product-card-image-controls,
.product-card-shell:focus-within .product-card-image-controls {
  opacity: 1;
}

.product-card-image-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #5c3042;
  box-shadow: 0 2px 8px rgba(35,20,28,.18);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: transform .16s ease, background .16s ease;
}

.product-card-image-arrow:hover {
  transform: scale(1.08);
  background: #fff;
}

.product-card-image-count {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(30,22,26,.58);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.related-product-shell .product-card-image-controls {
  height: 170px;
}

@media (max-width: 700px) {
  .product-card-image-controls {
    height: 175px;
    left: 6px;
    right: 6px;
    opacity: 1;
  }
}

@media (max-width: 620px) {
  .related-product-shell .product-card-image-controls {
    height: 145px;
  }
}

@media (hover: none) {
  .product-card-image-controls {
    opacity: 1;
  }
}

.product-tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--pink-dark);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-placeholder {
  position: absolute;
  color: #d99ab0;
  font-size: 50px;
}

.product-info {
  padding: 17px;
}

.product-info .category {
  display: block;
  margin-bottom: 6px;
  color: var(--pink-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info h3 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
}

.product-info > p {
  display: -webkit-box;
  min-height: 40px;
  margin-bottom: 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.price-row {
  margin-bottom: 7px;
}

/* Slightly improve readability of crossed-out prices and discount labels. */
.price-row .old-price,
.detail-price .old-price {
  font-size: 13px;
  font-weight: 500;
}

.price-row .product-discount,
.detail-price .product-discount {
  font-size: 12px;
  font-weight: 700;
}

.price {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.delivery-note {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 10px;
}

.add-button {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--pink);
  border-radius: 10px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 11px;
  font-weight: 700;
  transition: background 0.2s;
}

.add-button:hover:not(:disabled) {
  background: #f4d4df;
}

.product-actions,
.product-purchase-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.buy-button {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.buy-button:hover:not(:disabled) {
  background: #493842;
}

.product-purchase-actions {
  margin: 16px 0;
}

.product-purchase-actions .button {
  width: 100%;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 45px 20px;
  border: 1px dashed var(--pink);
  border-radius: 15px;
  background: var(--pink-pale);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* About */

.about-section {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 40px;
  margin: 0 7% 75px;
  padding: 55px 8%;
  border-radius: 24px;
  background: var(--pink-pale);
}

.about-bloom {
  display: grid;
  place-items: center;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 75px;
}

.about-section h2 {
  margin-bottom: 14px;
}

.about-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Contact */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: 20px 9% 85px;
}

.contact-section p {
  max-width: 450px;
  color: var(--muted);
  font-size: 13px;
}

.contact-placeholder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.contact-placeholder > span {
  color: var(--pink-dark);
  font-size: 28px;
}

.contact-placeholder b {
  font-size: 13px;
}

.contact-placeholder small {
  color: var(--muted);
  font-size: 11px;
}

/* Footer */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 7%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.footer-brand {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

footer a:hover {
  color: var(--pink-dark);
}

/* Cart overlay and drawer */

.overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(35, 25, 31, 0.52);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  height: min(750px, 92vh);
  margin-left: auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-head .eyebrow {
  margin-bottom: 5px;
}

.drawer-head h2 {
  margin-bottom: 0;
  font-family: 'Playfair Display', serif;
  font-size: 25px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}

.icon-button:hover {
  background: var(--pink-soft);
}

.cart-items {
  flex: 1;
  padding: 8px 22px;
  overflow-y: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 70px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 25px;
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: 12px;
}

.cart-line small {
  color: var(--muted);
  font-size: 10px;
}

.cart-line > strong {
  font-size: 11px;
  text-align: right;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
}

.quantity button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quantity span {
  font-size: 11px;
  font-weight: 700;
}

.remove-line {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pink-dark);
  font-size: 10px;
  text-decoration: underline;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 14px;
}

.cart-footer > small {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

/* Product detail modal */

#productDetailBackdrop {
  z-index: 110;
}

#productDetailBackdrop .checkout-modal {
  width: min(560px, 100%);
  max-height: 90vh;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

#productDetailContent {
  padding: 22px 25px 18px;
}

#productDetailContent > div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

#detailCarouselImage {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 280px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--pink-pale);
}

#detailPrevImage,
#detailNextImage {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--pink);
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
}

#detailPrevImage:hover,
#detailNextImage:hover {
  transform: scale(1.06);
  background: #f3d5df;
}

#detailImageCount {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

#productDetailContent > p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

#productDetailContent > p strong {
  color: var(--ink);
  font-size: 18px;
}

#detailAddToCart {
  width: calc(100% - 48px);
  margin: 0 24px 24px;
}

/* Checkout modal */

.checkout-modal {
  width: min(620px, 100%);
  max-height: 92vh;
  padding: 0 25px 25px;
  overflow-y: auto;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checkout-modal > .drawer-head {
  margin: 0 -25px 20px;
}

.checkout-modal > p {
  color: var(--muted);
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.form-grid .span-two {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfd;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--pink);
  outline: 2px solid rgba(232, 161, 181, 0.18);
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--pink-pale);
  font-size: 12px;
}

.checkout-summary span {
  color: var(--muted);
}

.error-message {
  color: #b42318 !important;
  font-size: 12px !important;
}

.success-panel {
  padding: 20px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--muted);
}

/* Toast */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: calc(100% - 48px);
  padding: 13px 20px;
  transform: translateY(15px);
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Tablet */

@media (max-width: 1000px) {
  .site-header {
    flex-wrap: wrap;
    padding-right: 4%;
    padding-left: 4%;
    gap: 12px;
  }

  .search-wrap {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
  }

  .desktop-nav {
    gap: 15px;
  }

  .country-label {
    display: none;
  }

  .hero {
    padding-right: 6%;
    padding-left: 6%;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .shop-section {
    padding-right: 5%;
    padding-left: 5%;
  }

  .benefits {
    padding-right: 5%;
    padding-left: 5%;
  }
}

/* Mobile */

@media (max-width: 720px) {
  html {
    scroll-padding-top: 75px;
  }

  .site-header {
    position: sticky;
    top: 0;
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 5%;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .search-wrap {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 48px;
  }

  .desktop-nav {
    order: 4;
    width: 100%;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions select {
    max-width: 125px;
    padding: 9px 5px;
    font-size: 10px;
  }

  .cart-button {
    padding: 10px;
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 50px 7% 25px;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 55px);
  }

  .hero-art {
    min-height: 285px;
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
  }

  .art-circle {
    left: 20%;
    width: 230px;
    height: 230px;
  }

  .art-bag {
    left: 34%;
    width: 125px;
    height: 145px;
    font-size: 43px;
  }

  .bag-handle {
    left: 34px;
    width: 58px;
    height: 48px;
  }

  .card-one {
    left: 0;
  }

  .card-two {
    right: 0;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 23px 7%;
  }

  .benefits > div {
    justify-content: flex-start;
  }

  .shop-section {
    padding: 55px 5%;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .search-wrap {
    width: 100%;
  }

  .category-list {
    gap: 7px;
  }

  .category-chip {
    padding: 8px 12px;
    font-size: 10px;
  }

  .shop-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-image {
    height: 175px;
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    font-size: 13px;
  }

  .price {
    font-size: 14px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 5% 50px;
    padding: 30px 7%;
  }

  .about-bloom {
    width: 85px;
    height: 85px;
    font-size: 50px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px 7% 55px;
  }

  footer {
    flex-direction: column;
    gap: 13px;
    text-align: center;
  }

  footer > div {
    justify-content: center;
  }

  .checkout-modal {
    padding-right: 18px;
    padding-left: 18px;
  }

  .checkout-modal > .drawer-head {
    margin-right: -18px;
    margin-left: -18px;
    padding: 18px;
  }

  .drawer-head h2 {
    font-size: 22px;
  }

  #productDetailBackdrop .checkout-modal {
    width: 100%;
  }

  #productDetailContent {
    padding: 18px 15px;
  }

  #detailCarouselImage {
    height: min(280px, 42vh);
    min-height: 180px;
  }

  #detailPrevImage,
  #detailNextImage {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  #detailAddToCart {
    width: calc(100% - 30px);
    margin-right: 15px;
    margin-left: 15px;
  }
}

/* Small phones */

@media (max-width: 370px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    gap: 7px;
    font-size: 15px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 21px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions select {
    max-width: 105px;
  }

  .product-grid {
    gap: 9px;
  }

  .product-image {
    height: 145px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info h3 {
    font-size: 12px;
  }

  .cart-line {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .cart-thumb {
    width: 48px;
    height: 55px;
  }

  .cart-line > strong {
    grid-column: 2;
    text-align: left;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .span-two {
    grid-column: auto;
  }

  .overlay,
  .modal-backdrop {
    padding: 10px;
  }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* Customer accounts */
.customer-account-section{max-width:1100px;margin:48px auto;padding:28px 22px;background:#fff8fa;border:1px solid #f3dce5;border-radius:22px}.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-top:22px}.account-card{background:#fff;border:1px solid #f0dce4;border-radius:16px;padding:22px;box-shadow:0 8px 24px rgba(80,20,45,.05)}.account-card label{display:grid;gap:7px;margin:12px 0;font-size:.92rem}.account-card input{width:100%;padding:12px;border:1px solid #e7cbd7;border-radius:10px;font:inherit}.account-feedback{min-height:1.4em;color:#8b3157;font-size:.9rem}.account-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-order{padding:14px 0;border-bottom:1px solid #f0dce4}.account-order:last-child{border:0}.account-order strong{display:block}.legacy-claim-form{border-top:1px solid #f0dce4;margin-top:22px;padding-top:18px}.customer-account-section [hidden]{display:none!important}


/* AslihanStore multi-category cover artwork */
.hero-art-photo {
  min-height: 370px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255,248,250,.03), rgba(255,248,250,0)),
    url("/aslihan-hero.png") center / cover no-repeat;
  box-shadow: 0 24px 55px rgba(166, 82, 111, .13);
  overflow: hidden;
}
.hero-art-photo > *:not(.hero-art-caption) { display: none; }
.hero-art-caption {
  display: inline-block;
  margin: 18px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #a83261;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(166,82,111,.12);
}
@media (max-width: 760px) {
  .hero-art-photo { min-height: 245px; background-position: 58% center; }
}

/* Account popup and My Orders cancellation */
.account-topbar{display:flex;justify-content:flex-end;gap:10px;padding:10px max(20px,calc((100% - 1200px)/2));background:#fff8fa}.account-modal-backdrop{z-index:1200}.account-modal{width:min(940px,calc(100% - 28px));max-height:88vh;overflow:auto;margin:auto;position:relative;background:#fff;border-radius:22px;padding:24px}.account-modal-backdrop[hidden]{display:none!important}.account-modal .account-order{display:grid;gap:8px}.cancel-order-button{justify-self:start}.cancel-countdown{font-size:.85rem;color:#8b3157}.customer-account-section{max-width:none;margin:0;padding:0;background:transparent;border:0}.account-modal .account-card{box-shadow:none}.account-modal [hidden]{display:none!important}

.account-mode-switch{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.account-mode-switch button[aria-pressed="true"]{outline:2px solid #bd668a}


/* Customer account navigation and cancelled-order controls */
.legacy-claim-form summary{cursor:pointer;font-weight:600;color:#8b3157;padding:8px 0}
.legacy-claim-form[open] summary{margin-bottom:12px}
.remove-cancelled-order-button{justify-self:start}
#accountProfilePanel p{margin:10px 0}
@media(max-width:560px){
  .account-topbar{justify-content:center;flex-wrap:wrap;padding:10px 12px}
  .account-modal{padding:18px}
}


/* Accessible password visibility control */
.password-field{position:relative;display:block;width:100%}
.password-field>input{width:100%;padding-right:48px}
.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:6px;border:0;border-radius:8px;background:transparent;color:#76616b;cursor:pointer}
.password-toggle:hover{background:#f9e8ee;color:#8b3157}
.password-toggle:focus-visible{outline:2px solid #c96f8d;outline-offset:2px}
.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.password-toggle .eye-closed{display:none}
.password-toggle[aria-pressed="true"] .eye-open{display:none}
.password-toggle[aria-pressed="true"] .eye-closed{display:block}


/* Customer-facing stock availability */
.stock-availability {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 8px 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.stock-availability.in-stock {
  color: #246b45;
  background: #eaf7ef;
}
.stock-availability.low-stock {
  color: #8a5a12;
  background: #fff4dc;
}
.stock-availability.out-of-stock {
  color: #a83248;
  background: #fdecef;
}


/* Product cards: browsing cards are informational; actions appear only on details. */
.product-card { cursor: pointer; }
.product-card-info { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.product-card-info h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; margin: 0; font-size: 15px; line-height: 1.4; }
.product-card-info .price-row { margin: 0; }

/* Product details open as a full-screen page-like view on every device. */
#productDetailBackdrop { position: fixed; inset: 0; z-index: 300; display: block; padding: 0; overflow-y: auto; background: #fff; }
#productDetailBackdrop[hidden] { display: none !important; }
#productDetailBackdrop .checkout-modal { width: 100%; max-width: 1120px; min-height: 100vh; max-height: none; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px) 48px; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
#productDetailBackdrop .drawer-head { position: sticky; top: 0; z-index: 5; padding: 12px 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
#productDetailContent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); align-items: start; gap: 28px; padding: 28px 0; }
#productDetailContent > div:first-child { grid-column: 1; grid-row: 1 / span 4; min-height: 420px; }
#detailCarouselImage { max-width: min(100%, 520px); height: min(55vw, 480px); min-height: 300px; }
#productDetailContent > p, #productDetailContent .detail-info-block { grid-column: 2; }
#productDetailContent .detail-description { color: var(--muted); }
#productDetailContent .detail-price { font-size: 24px; color: var(--pink-dark); }
.detail-info-block { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--pink-pale); }
.detail-info-block h3 { margin-bottom: 10px; }
.detail-info-block p:last-child { margin-bottom: 0; }
.product-purchase-actions { position: sticky; bottom: 0; z-index: 4; display: flex; gap: 12px; justify-content: flex-end; padding: 14px 0; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
.rating-details { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.rating-details > summary { cursor: pointer; font-weight: 700; color: var(--ink); }
body.product-detail-open { overflow: hidden; }

@media (max-width: 700px) {
  #productDetailBackdrop .checkout-modal { padding: 14px 15px 28px; }
  #productDetailContent { display: block; padding: 18px 0; }
  #productDetailContent > div:first-child { min-height: 0; }
  #detailCarouselImage { height: 68vw; min-height: 240px; }
  .product-purchase-actions { justify-content: stretch; }
  .product-purchase-actions .button { flex: 1; padding-inline: 10px; }
  .product-card-info { min-height: 96px; padding: 12px; }
  .product-card-info h3 { font-size: 13px; }
}


/* Account access opens as a dedicated full-screen experience. */
#accountModal { position: fixed; inset: 0; z-index: 320; display: block; padding: 0; overflow-y: auto; background: #fff; }
#accountModal[hidden] { display: none !important; }
#accountModal .account-modal { width: 100%; max-width: 900px; min-height: 100vh; margin: 0 auto; padding: 28px clamp(16px, 5vw, 56px); border: 0; border-radius: 0; box-shadow: none; }
#accountModal .drawer-head { position: sticky; top: 0; z-index: 3; padding: 14px 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }


/* Dedicated customer pages: normal document flow, never a dimmed modal. */
body.page-route { overflow-x:hidden; background:#fff; }
body.page-route > .account-topbar, body.page-route > .site-header,
body.page-route > main, body.page-route > footer, body.page-route > #cartOverlay { display:none !important; }
body.page-route #productDetailBackdrop.page-screen,
body.page-route #accountModal.page-screen,
body.page-route #checkoutBackdrop.page-screen {
 position:relative !important; inset:auto !important; z-index:1 !important;
 display:block !important; width:100%; min-height:100vh; padding:0 !important;
 overflow:visible !important; background:#fff !important; backdrop-filter:none !important;
}
body.page-route #productDetailBackdrop[hidden],
body.page-route #accountModal[hidden],
body.page-route #checkoutBackdrop[hidden] { display:none !important; }
body.page-route #productDetailBackdrop .checkout-modal,
body.page-route #checkoutBackdrop .checkout-modal {
 width:min(1120px,100%); min-height:100vh; max-height:none; margin:0 auto;
 padding:24px clamp(16px,4vw,48px) 48px; overflow:visible;
 border:0; border-radius:0; box-shadow:none;
}
body.page-route #accountModal .account-modal {
 width:min(900px,100%); min-height:100vh; max-height:none; margin:0 auto;
 padding:28px clamp(16px,5vw,56px); overflow:visible;
 border:0; border-radius:0; box-shadow:none;
}
body.page-route .drawer-head { position:relative; top:auto; display:flex; align-items:center; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); background:#fff; }
.page-back-button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:9px 15px; border:1px solid var(--line); border-radius:999px; background:#fff7fa; color:#8b3157; font:inherit; font-weight:700; cursor:pointer; }
.page-back-button:hover { background:#f9e8ee; }
body.page-route #productDetailContent { padding:28px 0; }
body.page-route #checkoutBackdrop .checkout-modal { max-width:760px; }
body.page-route #checkoutBackdrop .drawer-head { margin:0 0 20px; }
@media(max-width:700px) {
 body.page-route #productDetailBackdrop .checkout-modal,
 body.page-route #checkoutBackdrop .checkout-modal,
 body.page-route #accountModal .account-modal { padding:16px 15px 30px; }
 body.page-route #productDetailContent { display:block; padding:18px 0; }
}

body.page-route.product-detail-open { overflow-y:auto !important; }


/* Product detail is a real document page, not a constrained modal. */
body.page-route #productDetailBackdrop .product-detail-page {
  box-sizing:border-box; width:100%; max-width:1120px; min-height:100vh; max-height:none !important;
  margin:0 auto; overflow:visible !important; border:0; border-radius:0; box-shadow:none;
}
body.page-route #productDetailContent > div:first-child { min-height:420px; }
body.page-route #detailCarouselImage.product-detail-image {
  display:block; width:100%; max-width:520px; height:clamp(320px, 48vw, 520px);
  object-fit:contain; border-radius:16px; background:#fff;
}
@media(max-width:700px) {
  body.page-route #productDetailContent > div:first-child { min-height:0; }
  body.page-route #detailCarouselImage.product-detail-image { max-width:100%; height:68vw; min-height:240px; }
}


/* Compact, balanced customer-facing buttons. */
.button { min-height:40px; padding:9px 17px; border-radius:10px; }
.product-purchase-actions { grid-template-columns:max-content max-content; justify-content:start; gap:10px; }
.product-purchase-actions .button { width:auto; min-width:142px; min-height:40px; padding:9px 16px; }
#submitReview { width:auto; min-width:150px; min-height:40px; padding:9px 18px; }
@media(max-width:700px) {
  .product-purchase-actions { grid-template-columns:1fr 1fr; }
  .product-purchase-actions .button { width:100%; min-width:0; padding-inline:10px; }
}

/* Marketplace-inspired compact cards and normalized action buttons */
.shop-section{padding-top:38px;padding-bottom:55px}.shop-section .section-heading{margin-bottom:18px}.product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.product-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 3px 12px rgba(68,35,49,.045)}.product-image{height:190px;border-radius:0;background:#fff}.product-image img{width:100%;height:100%;object-fit:contain}.product-info.product-card-info{padding:10px 11px 12px}.product-info h3{font-family:'DM Sans',sans-serif;font-size:12px;line-height:1.45;font-weight:500;min-height:52px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:7px}.price-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.price{font-size:15px;font-weight:700}.old-price{font-size:10px;color:var(--muted)}.product-discount{font-size:10px;font-weight:700;color:#c34b70;background:#fff0f4;border-radius:4px;padding:2px 5px}.product-card-rating{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:10px}.product-card-rating span{font-size:10px!important;letter-spacing:0!important}.product-card-rating small{color:var(--muted);font-size:10px}.product-purchase-actions{display:flex;gap:10px;justify-content:flex-start;padding:0 24px 20px}.product-purchase-actions .button{width:auto;min-width:125px;max-width:165px;padding:9px 18px;font-size:12px;min-height:38px}.detail-price{display:flex;align-items:center;gap:9px;flex-wrap:wrap}#submitReview{width:auto;min-width:145px;max-width:190px;padding:9px 18px;font-size:12px;min-height:38px;display:inline-flex;justify-content:center}.product-detail-page{width:100%;max-width:none;min-height:100vh;border-radius:0;box-shadow:none;padding:0 0 40px}.product-detail-page #productDetailContent{max-width:1120px;margin:0 auto}.product-detail-page #productReviewSection{max-width:1120px;margin:25px auto;padding:0 25px}.product-detail-page #detailCarouselImage{max-width:460px;height:360px}.product-detail-page .drawer-head{padding:24px max(5%,calc((100% - 1120px)/2));border-bottom:1px solid var(--line)}@media(max-width:1100px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:850px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-image{height:145px}.product-info.product-card-info{padding:8px}.product-info h3{font-size:11px;min-height:47px}.price{font-size:13px}.product-card-rating{font-size:9px}.product-detail-page #detailCarouselImage{height:260px}.product-purchase-actions{padding:0 14px 16px}.product-purchase-actions .button{min-width:112px;max-width:145px}}

/* Keep the home page focused on the Just For You product collection */
.hero{padding-top:30px;padding-bottom:25px;min-height:0;gap:24px}.hero-copy{max-width:600px}.hero h1{font-size:clamp(30px,4vw,46px);margin-bottom:10px}.hero-copy>p{margin-bottom:12px}.hero-art{min-height:210px;max-height:230px}.benefits{padding-top:17px;padding-bottom:17px;gap:18px}.benefits>div{gap:10px}.benefits>div>span{font-size:19px}.benefits p{margin:0}.benefits p b{font-size:11px}.benefits p small{font-size:10px}@media(max-width:720px){.hero{padding:25px 6% 16px;gap:12px}.hero-art{min-height:145px;max-height:165px}.benefits{padding:15px 7%;gap:10px}}

/* Dedicated product page keeps its own compact store header and basket visible. */
body.page-route.page-product > .site-header{display:flex!important;position:sticky;top:0;z-index:220;width:100%;padding:12px clamp(14px,4vw,42px);background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);box-shadow:0 3px 14px rgba(45,25,35,.05)}
body.page-route.page-product > #cartOverlay:not([hidden]){display:flex!important;position:fixed!important;inset:0!important;z-index:500!important;padding:20px!important;background:rgba(35,25,31,.52)!important;backdrop-filter:blur(4px)!important}
body.page-route.page-product .cart-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 15px;border-radius:999px;font-weight:700}
body.page-route.page-product .cart-button #cartCount{min-width:22px;height:22px;display:inline-grid;place-items:center;border-radius:50%;background:#fff;color:#8b3157;font-size:11px;font-weight:800}
@media(max-width:700px){body.page-route.page-product > .site-header{gap:8px;padding:10px 12px;flex-wrap:wrap}body.page-route.page-product .desktop-nav{display:none}body.page-route.page-product .header-actions{margin-left:auto;gap:7px}body.page-route.page-product .country-label{display:none}body.page-route.page-product .header-actions select{max-width:120px;font-size:11px}body.page-route.page-product .cart-button{min-height:36px;padding:7px 11px}body.page-route.page-product .search-wrap{order:3;flex:1 0 100%;width:100%;max-width:none;min-width:0;height:44px}}


/* Balanced two-column product detail layout with comfortable purchase buttons */
body.page-route #productDetailContent {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  align-items:start;
  gap:clamp(24px, 4vw, 52px);
  max-width:1180px;
  padding:30px clamp(18px, 3vw, 36px);
}
body.page-route #productDetailContent .product-detail-gallery {
  grid-column:1;
  grid-row:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  position:sticky;
  top:95px;
}
body.page-route #productDetailContent .product-detail-info {
  grid-column:2;
  grid-row:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
}
body.page-route #productDetailContent .product-detail-info > p { margin:0 0 8px; }
body.page-route #productDetailContent .product-detail-info .detail-description {
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}
body.page-route #productDetailContent .product-detail-info .detail-price { font-size:25px; margin:8px 0; }
body.page-route #productDetailContent .product-detail-info .detail-price strong { font-size:28px; }
body.page-route #productDetailContent .product-detail-info .detail-info-block { margin:8px 0; }
body.page-route .product-purchase-actions {
  display:flex;
  justify-content:flex-start;
  gap:14px;
  padding:10px clamp(18px, 3vw, 36px) 24px;
  max-width:1180px;
  margin:0 auto;
  background:transparent;
  border:0;
  position:static;
}
body.page-route .product-purchase-actions .button {
  flex:0 0 auto;
  width:auto;
  min-width:168px;
  max-width:none;
  min-height:46px;
  padding:11px 22px;
  font-size:14px;
  font-weight:700;
  border-radius:10px;
}
@media(max-width:700px) {
  body.page-route #productDetailContent {
    display:flex;
    flex-direction:column;
    gap:18px;
    padding:18px 15px;
  }
  body.page-route #productDetailContent .product-detail-gallery,
  body.page-route #productDetailContent .product-detail-info {
    width:100%;
    position:static;
  }
  body.page-route #productDetailContent .product-detail-gallery { min-height:0; }
  body.page-route #productDetailContent .product-detail-info .detail-price strong { font-size:24px; }
  body.page-route .product-purchase-actions {
    padding:8px 15px 20px;
    justify-content:flex-start;
    gap:10px;
  }
  body.page-route .product-purchase-actions .button {
    min-width:0;
    width:auto;
    min-height:44px;
    padding:10px 16px;
    font-size:13px;
  }
}


/* Normal-sized product purchase buttons (avoid oversized full-width actions). */
body.page-route .product-purchase-actions { gap:10px; }
body.page-route .product-purchase-actions .button {
  min-width:130px;
  max-width:150px;
  min-height:40px;
  padding:9px 15px;
  font-size:12px;
  font-weight:600;
}
@media(max-width:700px) {
  body.page-route .product-purchase-actions .button {
    min-width:0;
    max-width:145px;
    min-height:40px;
    padding:9px 13px;
    font-size:12px;
  }
}


/* Product feedback: show each approved customer's own rating clearly, without a duplicate overall score. */
.approved-review-rating { display:flex; align-items:center; gap:10px; margin:2px 0 8px; }
.approved-review-rating > span { font-size:21px; letter-spacing:2px !important; }
.approved-review-rating strong { font-size:16px; color:var(--ink); }
.approved-reviews-list { margin-top:14px; }
.customer-review { padding:16px 0 !important; }
.other-products-section { max-width:1180px; margin:28px auto 52px; padding:0 clamp(16px,3vw,36px); }
.other-products-section[hidden] { display:none !important; }
.other-products-section .section-heading { margin-bottom:18px; }
.related-products-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.related-product-card { display:block; color:inherit; text-decoration:none; }
.related-product-card:hover { border-color:#d99ab3; box-shadow:0 6px 18px rgba(68,35,49,.09); }
.related-product-card .product-image { height:170px; }
@media(max-width:850px) { .related-products-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:620px) {
  .related-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .related-product-card .product-image { height:145px; }
  .other-products-section { margin:22px auto 36px; padding:0 14px; }
}

/* Daraz-style product gallery thumbnails and evenly sized purchase actions. */
body.page-route #productDetailContent .detail-image-thumbnails { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:9px; width:100%; max-width:520px; margin:14px auto 4px; }
body.page-route #productDetailContent .detail-image-thumbnail { display:grid; place-items:center; width:64px; height:64px; padding:3px; overflow:hidden; border:1px solid #e8dce1; border-radius:8px; background:#fff; cursor:pointer; transition:border-color .18s, box-shadow .18s; }
body.page-route #productDetailContent .detail-image-thumbnail img { display:block; width:100%; height:100%; object-fit:contain; }
body.page-route #productDetailContent .detail-image-thumbnail:hover, body.page-route #productDetailContent .detail-image-thumbnail.is-active { border:2px solid var(--pink-dark); padding:2px; box-shadow:0 0 0 2px rgba(201,111,141,.10); }
body.page-route .product-purchase-actions { display:flex; justify-content:flex-start; align-items:center; gap:10px; }
body.page-route .product-purchase-actions .button { box-sizing:border-box; flex:0 1 190px; width:190px; min-width:150px; max-width:190px; min-height:44px; height:44px; padding:0 14px; font-size:14px; line-height:1; border-radius:8px; }
@media(max-width:700px) {
  body.page-route #productDetailContent .detail-image-thumbnails { gap:7px; margin-top:12px; }
  body.page-route #productDetailContent .detail-image-thumbnail { width:58px; height:58px; }
  body.page-route .product-purchase-actions { display:flex; gap:8px; }
  body.page-route .product-purchase-actions .button { flex:1 1 0; width:50%; min-width:0; max-width:none; height:44px; min-height:44px; padding:0 8px; font-size:13px; }
}

/* Keep both product purchase actions on one aligned row on desktop and mobile. */
body.page-route .product-purchase-actions {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
}
body.page-route .product-purchase-actions .button {
  box-sizing:border-box !important;
  flex:0 1 190px !important;
  width:190px !important;
  min-width:0 !important;
  max-width:190px !important;
  height:44px !important;
  min-height:44px !important;
}
body.page-route #productDetailContent .detail-stock-availability {
  display:flex;
  width:max-content;
  margin:0 0 8px;
}
@media(max-width:700px) {
  body.page-route .product-purchase-actions { gap:8px !important; }
  body.page-route .product-purchase-actions .button {
    flex:1 1 0 !important;
    width:50% !important;
    max-width:none !important;
    min-width:0 !important;
    height:44px !important;
    min-height:44px !important;
  }
}

/* Social profile links managed from the admin dashboard. */
footer { flex-wrap:wrap; gap:16px 24px; }
.footer-links { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.footer-social { display:flex; align-items:center; gap:10px; }
.footer-social[hidden] { display:none !important; }
.footer-social a { display:grid; place-items:center; width:36px; height:36px; border:1px solid #f0dce5; border-radius:50%; color:#a33c68; background:#fff7fa; transition:background .18s,color .18s,transform .18s; }
.footer-social a:hover { color:#fff; background:var(--pink-dark); transform:translateY(-2px); }
.footer-social svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
@media(max-width:700px){ footer { justify-content:center; text-align:center; } .footer-links { justify-content:center; } .footer-social { justify-content:center; width:100%; } }


/* Refined social icons: recognizable brand marks with restrained brand accents. */
.footer-social { gap:11px; }
.footer-social a.social-link {
  width:38px; height:38px; border:1px solid #f0dce5; border-radius:50%;
  background:#fff; color:#a33c68; box-shadow:0 2px 7px rgba(105,49,73,.07);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.footer-social a.social-link svg { width:19px; height:19px; fill:currentColor; stroke:none; }
.footer-social a.social-link.social-instagram { color:#c13584; }
.footer-social a.social-link.social-instagram svg { fill:none; stroke:currentColor; stroke-width:2; }
.footer-social a.social-link.social-instagram .social-dot { fill:currentColor; stroke:none; }
.footer-social a.social-link.social-facebook { color:#1877f2; }
.footer-social a.social-link.social-pinterest { color:#bd081c; }
.footer-social a.social-link.social-tiktok { color:#111; }
.footer-social a.social-link.social-youtube { color:#ff0033; }
.footer-social a.social-link.social-youtube .social-cutout { fill:#fff; }
.footer-social a.social-link.social-whatsapp { color:#25d366; }
.footer-social a.social-link:hover, .footer-social a.social-link:focus-visible {
  background:#fff4f8; transform:translateY(-2px);
  box-shadow:0 5px 12px rgba(105,49,73,.13); outline:2px solid #e9b4c9; outline-offset:2px;
}


/* Main category landing and dedicated category pages */
.category-landing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 8px 0 30px;
}
.category-tile {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.category-tile:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(80,20,45,.07);
}
.category-tile-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 17px;
}
.category-tile-arrow {
  margin-left: auto;
  color: var(--pink-dark);
  font-size: 16px;
}
.category-list {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 3px 1px 12px;
  margin-bottom: 19px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.category-list .category-chip {
  flex: 0 0 auto;
  text-decoration: none;
}
#categoryLanding[hidden],
#categoryList[hidden] { display: none !important; }
@media (max-width: 900px) {
  .category-landing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .category-landing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .category-tile { min-height: 66px; padding: 10px; gap: 8px; font-size: 11px; }
  .category-tile-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .category-list { gap: 7px; }
  .category-list .category-chip { padding: 8px 12px; font-size: 10px; }
}


/* Compact single-row main category navigation (All Products + 11 categories). */
.category-landing {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:6px;
  width:100%;
  margin:8px 0 18px;
  padding:2px 1px 9px;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.category-landing .category-tile {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  color:var(--muted);
  font-size:10px;
  line-height:1.2;
  font-weight:600;
  text-decoration:none;
  transition:background .18s,border-color .18s,color .18s;
}
.category-landing .category-tile:hover,
.category-landing .category-tile.active {
  border-color:var(--pink);
  background:var(--pink-soft);
  color:var(--pink-dark);
  transform:none;
  box-shadow:none;
}
.category-landing .category-tile-mark,
.category-landing .category-tile-arrow { display:none; }

.category-list {
  display:flex;
  flex-wrap:nowrap;
  gap:7px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  padding:2px 1px 10px;
  margin:0 0 17px;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.category-list .category-chip {
  flex:0 0 auto;
  padding:7px 12px;
  font-size:10px;
}
@media(max-width:600px) {
  .category-landing { gap:5px; margin-bottom:15px; }
  .category-landing .category-tile { min-height:32px; padding:6px 9px; font-size:10px; }
  .category-list { gap:6px; }
  .category-list .category-chip { padding:7px 10px; font-size:10px; }
}

/* Respect the hidden state for category navigation containers. */
.category-landing[hidden],
.category-list[hidden] {
  display: none !important;
}

/* Single-row category navigation with larger readable labels and scroll arrows. */
.category-nav-shell{display:flex;align-items:center;gap:8px;width:100%;margin:8px 0 25px;min-width:0}
.category-landing{display:flex!important;flex:1 1 auto;min-width:0;gap:9px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;padding:5px 2px 9px;margin:0}
.category-landing::-webkit-scrollbar{display:none}
.category-landing .category-tile{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--muted);font-size:13px;line-height:1.2;font-weight:650;text-decoration:none;white-space:nowrap}
.category-landing .category-tile:hover,.category-landing .category-tile.active{border-color:var(--pink);background:var(--pink-soft);color:var(--pink-dark);transform:none;box-shadow:none}
.category-nav-arrow{display:none;flex:0 0 34px;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--pink-dark);font-size:24px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(90,35,60,.08)}
.category-nav-shell.has-overflow .category-nav-arrow{display:flex}
.category-nav-arrow:disabled{opacity:.3;cursor:default}
.category-landing[hidden]{display:none!important}
.category-nav-shell:has(.category-landing[hidden]){display:none}
@media(max-width:600px){.category-nav-shell{gap:5px}.category-nav-arrow{flex-basis:30px;width:30px;height:30px;font-size:21px}.category-landing .category-tile{min-height:37px;padding:7px 11px;font-size:12px}}


/* Round image category tiles shown on category pages only; main headings stay text navigation. */
.category-list.category-image-grid {
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  align-items:start;justify-items:center;gap:20px 14px;width:100%;
  overflow:visible;white-space:normal;padding:10px 2px 24px;margin:0 0 20px;
}
.category-image-tile {
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  gap:9px;width:100%;min-width:0;color:var(--ink);text-decoration:none;
  text-align:center;font-size:12px;font-weight:600;line-height:1.35;
  transition:transform .18s ease;
}
.category-image-tile:hover { transform:translateY(-3px); }
.category-image-wrap {
  display:block;width:104px;height:104px;flex:0 0 104px;overflow:hidden;
  border:2px solid #f1dce5;border-radius:50%;background:#fff5f8;
  box-shadow:0 3px 11px rgba(90,35,60,.08);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.category-image-tile:hover .category-image-wrap,
.category-image-tile.active .category-image-wrap {
  border-color:var(--pink-dark);box-shadow:0 0 0 3px rgba(201,111,141,.13),0 5px 14px rgba(90,35,60,.10);
}
.category-image-wrap img { display:block;width:100%;height:100%;object-fit:cover; }
.category-image-wrap.image-fallback::after {
  content:"✿";display:grid;place-items:center;width:100%;height:100%;color:var(--pink-dark);font-size:27px;
}
.category-image-tile.active .category-image-label { color:var(--pink-dark);font-weight:750; }
@media(max-width:600px) {
  .category-list.category-image-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 7px;padding:6px 0 20px; }
  .category-image-tile { gap:7px;font-size:11px; }
  .category-image-wrap { width:82px;height:82px;flex-basis:82px; }
}



/* Customer account settings and login verification */
#customerSettingsPanel .security-setup,#customerSettingsPanel .security-recovery{margin-top:22px;padding:18px;border:1px solid #f0dfe7;border-radius:14px;background:#fffafd}
#customerSettingsPanel .security-setup label{display:block;margin:12px 0}
#customerSettingsPanel .security-setup input{display:block;width:100%;max-width:440px;margin-top:6px;padding:12px;border:1px solid #eadce3;border-radius:9px}
#customerSettingsPanel .security-setup code{display:inline-block;overflow-wrap:anywhere;padding:10px;background:#fff0f6;border-radius:8px}
#customerSettingsPanel .security-recovery pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#fff0f6;border-radius:10px;font:600 15px/1.8 ui-monospace,monospace}
#customerLoginVerifyForm{border:1px solid #f0dfe7;border-radius:14px;padding:18px;background:#fffafd}
#customerLoginVerifyForm label{display:block;margin:12px 0}
#customerLoginVerifyForm input{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #eadce3;border-radius:9px}


#customerNotificationsButton[hidden]{display:none!important}


/* Country-specific delivery estimate shown on every product card and detail view. */
.product-delivery-estimate{display:block;margin:6px 0 0;color:#6f5963;font-size:11px;line-height:1.45;font-weight:600}

/* Compact, readable customer order actions. */
.order-request-actions{display:flex;flex-flow:row nowrap;align-items:center;gap:8px;margin:12px 0 6px}.order-request-actions .button{width:auto!important;min-width:0;padding:8px 13px!important;font-size:13px!important;line-height:1.2;white-space:nowrap}.order-request-actions .button:disabled{opacity:.7}@media(max-width:420px){.order-request-actions{gap:6px}.order-request-actions .button{padding:7px 10px!important;font-size:12px!important}}


/* Product detail quantity selector and adjacent purchase actions. */
body.page-route .product-purchase-actions {
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  gap:10px!important;
}
.product-quantity-control {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  height:44px;
  border:1px solid var(--line);
  border-radius:9px;
  overflow:hidden;
  background:#fff;
}
.product-quantity-control button {
  width:34px;
  height:42px;
  border:0;
  background:#fff5f8;
  color:var(--pink-dark);
  font-size:20px;
  font-weight:700;
  cursor:pointer;
}
.product-quantity-control button:disabled { opacity:.4; cursor:not-allowed; }
.product-quantity-control input {
  width:42px;
  height:42px;
  padding:0;
  border:0;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  border-radius:0;
  text-align:center;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  color:var(--ink);
  background:#fff;
  appearance:textfield;
  -moz-appearance:textfield;
}
.product-quantity-control input::-webkit-inner-spin-button,
.product-quantity-control input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.detail-delivery-points {
  display:flex;
  flex-direction:column;
  gap:5px;
  margin:10px 0;
  padding:11px 13px;
  border:1px solid #f0dfe7;
  border-radius:10px;
  background:#fff8fb;
}
.detail-delivery-points p { margin:0; }
.detail-delivery-points .product-cod-availability { color:#8a3157; font-size:12px; font-weight:700; }
.reviews-toggle-button { margin:14px 0 4px; width:auto!important; }
@media(max-width:700px) {
  body.page-route .product-purchase-actions { gap:7px!important; }
  .product-quantity-control { height:40px; }
  .product-quantity-control button { width:29px; height:38px; }
  .product-quantity-control input { width:34px; height:38px; font-size:13px; }
  body.page-route .product-purchase-actions .button {
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0 8px!important;
    font-size:12px!important;
  }
}


/* Mobile push notification preferences */
.push-notification-settings{margin-top:18px;padding:16px;border:1px solid #f0dce4;border-radius:14px;background:#fff9fb}
.push-notification-settings h4{margin:0 0 6px}
.push-notification-settings .button{margin:6px 8px 6px 0}
.push-notification-settings small{display:block;line-height:1.5}


/* Mobile storefront polish: compact header, touch-friendly controls and full-height account sheet. */
@media (max-width: 720px) {
  .account-topbar {
    position:relative;
    z-index:51;
    justify-content:flex-end;
    gap:6px;
    padding:7px 12px;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
  }
  .account-topbar::-webkit-scrollbar { display:none; }
  .account-topbar .button {
    flex:0 0 auto;
    min-height:34px;
    padding:7px 11px;
    font-size:12px;
    border-radius:999px;
  }
  .site-header {
    gap:9px;
    padding:10px 14px 12px;
    box-shadow:0 3px 14px rgba(70,32,48,.045);
  }
  .brand { gap:8px; font-size:16px; }
  .brand small { font-size:8px; letter-spacing:1.5px; }
  .brand-mark { width:36px; height:36px; border-radius:12px; }
  .header-actions { gap:7px; }
  .header-actions select {
    max-width:118px;
    min-height:38px;
    border-radius:10px;
    font-size:11px;
  }
  .header-actions .cart-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    min-height:40px;
    padding:8px;
    border-radius:12px;
    font-size:13px;
  }
  .search-wrap {
    min-height:44px;
    border-radius:12px;
    box-shadow:none;
  }
  .search-wrap input { font-size:16px; }
  .desktop-nav {
    order:4;
    justify-content:flex-start;
    gap:20px;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
    padding:8px 2px 1px;
  }
  .desktop-nav::-webkit-scrollbar { display:none; }
  .desktop-nav a { flex:0 0 auto; font-size:12px; }
  .promo-slider { margin-left:12px; margin-right:12px; border-radius:14px; overflow:hidden; }
  .shop-section { padding:36px 14px 42px; }
  .section-heading { margin-bottom:18px; }
  .section-heading h2 { font-size:clamp(27px,7vw,34px); }
  .section-heading p { font-size:12px; line-height:1.5; }
  .shop-meta { font-size:11px; }
  .product-grid { gap:10px; }
  .product-card { border-radius:13px; box-shadow:0 2px 10px rgba(70,32,48,.045); }
  .product-image { height:auto; aspect-ratio:1 / 1; }
  .product-info { padding:10px; }
  .product-info h3 {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    min-height:2.6em;
    line-height:1.3;
  }
  .product-info .button { min-height:38px; padding:8px 9px; font-size:12px; }
  .category-nav-shell { margin:5px 0 16px; }
  .category-landing .category-tile { min-height:36px; padding:7px 10px; font-size:11px; }
  .category-list.category-image-grid { gap:15px 5px; }
  .category-image-wrap { width:76px; height:76px; flex-basis:76px; }
  .modal-backdrop.account-modal-backdrop {
    align-items:flex-end;
    justify-content:center;
    padding:0;
    padding-top:env(safe-area-inset-top);
    overscroll-behavior:contain;
  }
  .account-modal {
    width:100%;
    max-width:none;
    height:min(94vh, 900px);
    height:min(94dvh, 900px);
    max-height:94vh;
    max-height:94dvh;
    margin:0;
    padding:18px 15px calc(18px + env(safe-area-inset-bottom));
    border-radius:20px 20px 0 0;
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    box-shadow:0 -12px 38px rgba(45,20,32,.18);
  }
  .account-modal .drawer-head { padding:5px 2px 16px; }
  .account-modal .drawer-head h2 { font-size:23px; }
  .account-modal .account-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .account-modal .account-card { min-width:0; padding:16px; border-radius:14px; }
  .account-modal .account-card input,
  .account-modal input,
  .account-modal select,
  .account-modal textarea { min-height:44px; font-size:16px; }
  .account-modal .button { min-height:42px; }
  .account-modal .account-actions { align-items:flex-start; flex-wrap:wrap; }
  .account-modal .account-order { gap:10px; }
  .account-modal .account-order-heading { gap:5px; }
  .account-modal .order-products-summary { min-width:0; }
  .push-notification-settings { padding:14px; }
  .push-notification-settings .button { width:100%; margin:6px 0; }
  .order-request-actions { flex-wrap:wrap; }
  .order-request-actions .button { flex:1 1 auto; }
  .about-section { margin-left:14px; margin-right:14px; }
  .contact-section { padding-left:18px; padding-right:18px; }
}
@media (max-width: 390px) {
  .site-header { padding-left:11px; padding-right:11px; }
  .brand { font-size:15px; }
  .header-actions select { max-width:104px; }
  .product-grid { gap:8px; }
  .product-info { padding:8px; }
  .account-modal { padding-left:12px; padding-right:12px; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .account-modal { animation: account-sheet-in .22s ease-out; }
  @keyframes account-sheet-in {
    from { transform:translateY(18px); opacity:.92; }
    to { transform:translateY(0); opacity:1; }
  }
}


/* Product option selector and variant-aware cart */
.detail-variants{margin:18px 0;padding:14px;border:1px solid #eadfe8;border-radius:14px;background:#fff}
.detail-variants h3{margin:0 0 10px;font-size:1rem}
.detail-variant-options{display:flex;flex-wrap:wrap;gap:9px}
.detail-variant-option{display:flex;flex-direction:column;gap:4px;min-width:112px;padding:10px 13px;border:1px solid #ded3dc;border-radius:11px;background:#fff;color:inherit;text-align:left;cursor:pointer}
.detail-variant-option[aria-pressed="true"]{border-color:#76506d;background:#f8f1f7;box-shadow:0 0 0 1px #76506d inset}
.detail-variant-option small{font-size:.78rem;opacity:.72}
.cart-variant-label{display:block;color:#70566b;margin:3px 0}
@media(max-width:640px){.detail-variants{padding:12px}.detail-variant-option{flex:1 1 calc(50% - 8px);min-width:0}.product-purchase-actions{position:sticky;bottom:0;z-index:8;background:#fff;padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-shadow:0 -5px 18px rgba(35,20,32,.09)}}

/* Variants must remain visible on laptop/desktop as well as mobile. */
#productDetailContent .detail-variants {
  display: block;
  width: 100%;
  max-width: 100%;
  visibility: visible;
  opacity: 1;
}
#productDetailContent .detail-variant-options {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
#productDetailContent .detail-variant-option {
  flex: 0 1 auto;
  min-width: 140px;
  max-width: 100%;
}
@media (min-width: 721px) {
  #productDetailContent .detail-variants { margin: 20px 0; padding: 16px; }
  #productDetailContent .detail-variant-option { min-width: 150px; }
}


/* Compact mobile product cards; stock remains visible on the opened product page. */
@media (max-width: 720px) {
  .product-grid { gap: 9px; }
  .product-card { border-radius: 11px; }
  .product-card .product-image { height: 132px; }
  .product-card .product-tag { top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 7px; font-size: 8px; }
  .product-card .product-info { padding: 8px; }
  .product-card .product-info .category { margin-bottom: 3px; font-size: 8px; letter-spacing: .5px; }
  .product-card .product-info h3 { min-height: 2.5em; margin: 0; font-size: 11px; line-height: 1.25; }
  .product-card .product-card-info { min-height: 76px; gap: 6px; }
  .product-card .price { font-size: 12px; }
  .product-card .old-price { font-size: 9px; }
  .product-card .product-card-rating { font-size: 10px; }
  .product-card .stock-availability { display: none !important; }
  #productDetailContent .detail-stock-availability { display: inline-flex !important; }
}
@media (max-width: 370px) {
  .product-card .product-image { height: 112px; }
  .product-card .product-info { padding: 7px; }
  .product-card .product-info h3 { font-size: 10px; }
  .product-card .price { font-size: 11px; }
}


/* Mobile product page: compact benefits and fixed purchase actions */
.detail-sold-count{margin:5px 0 9px;color:#6f5964;font-size:13px}
.detail-benefits{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:9px 0 14px;padding:9px 11px;border:1px solid #eee3e9;border-radius:9px;background:#fff;color:#58434e;font-size:12px}
.detail-benefits span{white-space:nowrap}
.detail-variants{margin:12px 0;padding:12px;border:1px solid #eadfe8;border-radius:12px;background:#fff}
.detail-variants h3{margin:0 0 9px;font-size:14px}
.detail-variant-options{display:flex;flex-wrap:wrap;gap:8px}
.detail-variant-option{min-width:78px;min-height:40px;padding:8px 12px;border:1px solid #ded3dc;border-radius:9px;background:#fff;color:#33252b;font-size:12px;text-align:center;cursor:pointer}
.detail-variant-option small{display:block;margin-top:3px;font-size:10px;opacity:.7}
.detail-variant-option[aria-pressed="true"]{border-color:#a3264a;background:#fff1f5;box-shadow:0 0 0 1px #a3264a inset}
.detail-variant-option:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
@media(max-width:700px){
 body.page-route.page-product{padding-bottom:76px}
 body.page-route.page-product .product-purchase-actions{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:1000!important;display:flex!important;align-items:center!important;justify-content:stretch!important;gap:9px!important;margin:0!important;padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #eadfe8!important;box-shadow:0 -5px 18px rgba(35,20,32,.12)!important}
 body.page-route.page-product .product-purchase-actions .product-quantity-control{display:none!important}
 body.page-route.page-product .product-purchase-actions .button{flex:1 1 50%!important;width:50%!important;min-width:0!important;max-width:none!important;height:44px!important;min-height:44px!important;border-radius:8px!important;font-size:13px!important}
 body.page-route.page-product .product-detail-page{padding-bottom:86px!important}
 body.page-route.page-product #productDetailContent .product-detail-info{padding-bottom:12px}
 .detail-benefits{gap:7px 12px;font-size:11px}
 .detail-variant-option{flex:0 1 auto;min-width:76px}
}

 
/* Mobile product page: persistent marketplace-style purchase bar. */
@media(max-width:700px){
  body.page-route #productDetailBackdrop .product-detail-page{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
  body.page-route .product-purchase-actions{
    position:fixed!important;left:0;right:0;bottom:0;z-index:1000;
    width:100%;max-width:none;margin:0;box-sizing:border-box;
    display:flex!important;flex-flow:row nowrap!important;align-items:center;
    gap:9px!important;padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;
    background:#fff!important;border-top:1px solid #eadfe8!important;
    box-shadow:0 -5px 18px rgba(35,20,32,.12)!important;
  }
  body.page-route .product-purchase-actions .product-quantity-control{display:none!important}
  body.page-route .product-purchase-actions .button{
    flex:1 1 0!important;width:50%!important;min-width:0!important;max-width:none!important;
    min-height:48px!important;padding:10px 8px!important;font-size:14px!important;
    border-radius:7px!important;white-space:normal;
  }
  body.page-route #productDetailContent{padding-bottom:12px}
  body.page-route #productDetailContent .detail-benefits{
    display:flex;flex-wrap:wrap;gap:8px 14px;padding:10px 12px;margin:8px 0;
    border-radius:9px;background:#f7f8fa;font-size:12px;line-height:1.4
  }
  body.page-route #productDetailContent .detail-sold-count{font-size:12px;color:#68616a}
  body.page-route #productDetailContent .detail-variants{margin:10px 0;padding:12px}
}

.detail-social-proof{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:2px 0 8px;color:#5f5962;font-size:13px}
.detail-social-proof .detail-rating{display:inline-flex;align-items:center;gap:5px}
.detail-social-proof .detail-rating small{font-size:12px;color:#777}
.detail-social-proof .detail-proof-separator{color:#c7bec6}
.detail-social-proof strong{font-weight:600;color:#5f5962}


/* Mobile layout corrections from the customer screen recording (Nov 21). */
@media (max-width: 720px) {
  /* Keep a balanced two-column product grid and show the complete product photo. */
  #productGrid, .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch;
    column-gap: 10px;
    row-gap: 14px;
  }
  #productGrid .product-card, .product-grid .product-card { min-width: 0; width: 100%; }
  #productGrid .product-image, .product-grid .product-image {
    width: 100%; height: auto !important; min-height: 0;
    aspect-ratio: 1 / 1; background: #fff; overflow: hidden;
  }
  #productGrid .product-image img, .product-grid .product-image img {
    width: 100%; height: 100%; max-width: 100%; max-height: 100%;
    object-fit: contain; object-position: center; padding: 7px; box-sizing: border-box;
  }
  #productGrid .product-card, .product-grid .product-card { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  #productGrid .product-info, .product-grid .product-info { min-width: 0; overflow-wrap: anywhere; }

  /* Variant choices: exactly two equal columns on phones. */
  #productDetailContent .detail-variant-options {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important; width: 100%; align-items: stretch;
  }
  #productDetailContent .detail-variant-option {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    width: 100%; min-width: 0 !important; max-width: none !important;
    min-height: 48px; padding: 8px 6px; box-sizing: border-box;
    overflow-wrap: anywhere; text-align: center;
  }
  #productDetailContent .detail-variant-option small { line-height: 1.25; }

  /* Product page image and details should use the available screen width. */
  body.page-route #productDetailContent { width: 100%; max-width: 100%; box-sizing: border-box; }
  body.page-route #productDetailContent .product-detail-gallery,
  body.page-route #productDetailContent .product-detail-info { min-width: 0; width: 100%; }
  body.page-route #detailCarouselImage.product-detail-image {
    width: 100%; height: min(78vw, 390px); min-height: 230px;
    max-width: 100%; object-fit: contain; padding: 8px; box-sizing: border-box;
  }
  body.page-route #productDetailContent .detail-benefits span { white-space: normal; }

  /* Checkout: single-column fields, full-width controls and safe-area spacing. */
  body.page-route #checkoutBackdrop { align-items: flex-end; padding: 0; }
  body.page-route #checkoutBackdrop .checkout-modal {
    width: 100%; max-width: none; max-height: 92dvh; overflow-y: auto;
    margin: 0; padding: 18px 15px calc(22px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0; box-sizing: border-box;
  }
  body.page-route #checkoutBackdrop .form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; }
  body.page-route #checkoutBackdrop .form-grid > * { min-width: 0; width: 100%; }
  body.page-route #checkoutBackdrop .form-grid .span-two { grid-column: 1 / -1; }
  body.page-route #checkoutBackdrop input,
  body.page-route #checkoutBackdrop select,
  body.page-route #checkoutBackdrop textarea { width: 100%; max-width: 100%; min-height: 44px; box-sizing: border-box; font-size: 16px; }

  /* Keep category controls in a clean, touch-scrollable row. */
  .category-nav-shell { min-width: 0; gap: 5px; }
  .category-landing { min-width: 0; gap: 7px; }
  .category-landing .category-tile { min-height: 38px; padding: 8px 11px; font-size: 11px; }
  .category-list { max-width: 100%; }
}
@media (max-width: 380px) {
  #productGrid, .product-grid { column-gap: 8px; row-gap: 11px; }
  #productGrid .product-image img, .product-grid .product-image img { padding: 5px; }
  #productDetailContent .detail-variant-option { font-size: 11px; }
}


/* Product detail gallery: compact image with navigation arrows overlaid on the image. */
body.page-route #productDetailContent .detail-image-stage {
  position:relative; display:flex; align-items:center; justify-content:center;
  width:100%; max-width:460px; min-height:0; margin:0 auto 10px;
  overflow:hidden; border-radius:14px; background:#fff;
}
body.page-route #productDetailContent #detailCarouselImage.product-detail-image {
  display:block; width:100%; max-width:100%; height:clamp(280px, 38vw, 420px);
  min-height:0; object-fit:contain; border-radius:14px; background:#fff;
}
body.page-route #productDetailContent .detail-image-arrow {
  position:absolute; top:50%; z-index:3; display:grid; place-items:center;
  width:34px; height:34px; padding:0; transform:translateY(-50%);
  border:1px solid rgba(80,55,68,.16); border-radius:50%;
  background:rgba(255,255,255,.9); color:#493b45;
  box-shadow:0 2px 9px rgba(0,0,0,.12); font-size:15px; line-height:1; cursor:pointer;
}
body.page-route #productDetailContent .detail-image-arrow-prev { left:9px; }
body.page-route #productDetailContent .detail-image-arrow-next { right:9px; }
body.page-route #productDetailContent .detail-image-arrow:active { transform:translateY(-50%) scale(.95); }
body.page-route #productDetailContent .detail-variant-options {
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:7px !important; width:100%;
}
body.page-route #productDetailContent .detail-variant-option {
  box-sizing:border-box; display:flex; flex-direction:column; justify-content:center;
  min-width:0 !important; max-width:none !important; min-height:42px;
  padding:7px 9px !important; gap:2px !important; border-radius:8px;
  font-size:12px; line-height:1.25; overflow-wrap:anywhere;
}
body.page-route #productDetailContent .detail-variant-option small { font-size:10px; line-height:1.2; }
@media(max-width:700px) {
  body.page-route #productDetailContent .detail-image-stage { max-width:100%; margin-bottom:8px; }
  body.page-route #productDetailContent #detailCarouselImage.product-detail-image {
    height:clamp(220px, 72vw, 310px); max-width:100%;
  }
  body.page-route #productDetailContent .detail-image-arrow { width:30px; height:30px; font-size:13px; }
  body.page-route #productDetailContent .detail-image-arrow-prev { left:7px; }
  body.page-route #productDetailContent .detail-image-arrow-next { right:7px; }
  body.page-route #productDetailContent .detail-variants { margin:12px 0; padding:10px; }
}


/* Mobile corrections requested: never show product-card arrows on touch screens. */
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .product-card-shell .product-card-image-controls,
  .related-product-shell .product-card-image-controls {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Variant pricing and compact four-choice mobile selector. */
#productDetailContent .detail-price {
  display:flex; align-items:baseline; flex-wrap:wrap; gap:8px;
}
#productDetailContent .detail-price .old-price {
  color:#8a7d85; font-size:.82em; font-weight:500;
}
#productDetailContent .detail-price .product-discount {
  display:inline-flex; align-items:center; padding:3px 6px; border-radius:5px;
  background:#fff0f4; color:#b21f50; font-size:.72em; font-weight:750;
}
#productDetailContent .detail-variant-option { gap:4px; }
#productDetailContent .detail-variant-price {
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px;
  font-size:11px; line-height:1.2;
}
#productDetailContent .variant-current-price { color:#34232d; font-weight:750; }
#productDetailContent .variant-old-price { color:#8a7d85; font-size:10px; }
#productDetailContent .variant-discount { color:#b21f50; font-size:10px; font-weight:750; }
#productDetailContent .detail-variant-more {
  display:none; margin-top:9px; width:100%; min-height:36px; padding:7px 10px;
  border:1px solid #e7d7e0; border-radius:8px; background:#fff8fb;
  color:#8e2851; font-size:12px; font-weight:700;
}
@media (max-width: 700px) {
  #productDetailContent .detail-variant-option.is-overflow-option { display:none !important; }
  #productDetailContent .detail-variants.show-all-variants .detail-variant-option.is-overflow-option { display:flex !important; }
  #productDetailContent .detail-variant-more { display:block; }
}

/* Ensure mobile banner arrows appear only during an active touch on the banner. */
@media (hover: none), (pointer: coarse), (max-width: 700px) {
  .promo-slider .promo-arrow {
    display:grid !important;
    /* Keep the transparent hit-area active so the first tap on an arrow
       reveals it and still activates that same arrow. */
    visibility:visible !important;
    opacity:0 !important;
    pointer-events:auto !important;
    transition:opacity .15s ease;
  }
  .promo-slider.is-touching-banner .promo-arrow {
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }
}


/* Responsive product detail refinements: compact variants, clear sale pricing and closer spacing. */
/* Product-card carousel arrows are not used on either laptop or mobile. */
.product-card-shell .product-card-image-controls,
.related-product-shell .product-card-image-controls {
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Keep exactly four options visible initially in a compact two-column grid on every screen. */
#productDetailContent .detail-variant-options {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:stretch;
  gap:7px !important;
  width:100%;
}
#productDetailContent .detail-variant-option {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-width:0 !important;
  max-width:none !important;
  min-height:44px;
  padding:7px 9px !important;
  gap:3px !important;
  box-sizing:border-box;
  text-align:center;
}
#productDetailContent .detail-variant-option.is-overflow-option { display:none !important; }
#productDetailContent .detail-variants.show-all-variants .detail-variant-option.is-overflow-option { display:flex !important; }
#productDetailContent .detail-variant-more {
  display:block !important;
  width:100%;
  margin-top:7px;
  min-height:34px;
}

/* Regular and discounted price remain together on laptop and phone. */
body.page-route #productDetailContent .detail-price {
  display:flex !important;
  align-items:baseline;
  flex-wrap:wrap;
  gap:7px;
  margin:4px 0 !important;
  line-height:1.25;
}
body.page-route #productDetailContent .detail-price strong {
  font-size:clamp(21px,2vw,27px) !important;
  font-weight:800;
}
body.page-route #productDetailContent .detail-price .old-price {
  display:inline !important;
  font-size:13px;
  color:#8a7d85;
}
body.page-route #productDetailContent .detail-price .product-discount {
  display:inline-flex !important;
  font-size:11px;
  padding:3px 6px;
}
#productDetailContent .detail-variant-price {
  align-items:center;
  gap:3px 5px;
}
#productDetailContent .variant-old-price { font-size:10px; }

/* Slightly tighter information rhythm without crowding the content. */
body.page-route #productDetailContent .product-detail-info { gap:5px !important; }
body.page-route #productDetailContent .product-detail-info > p { margin:0 0 4px !important; }
body.page-route #productDetailContent .detail-category { margin:0 0 2px !important; }
body.page-route #productDetailContent .detail-description {
  margin:2px 0 5px !important;
  font-size:14px;
  line-height:1.5;
}
body.page-route #productDetailContent .detail-social-proof { margin:2px 0 4px !important; }
body.page-route #productDetailContent .detail-stock-availability { margin:2px 0 4px !important; }
body.page-route #productDetailContent .detail-benefits { margin:5px 0 7px !important; padding:8px 10px; }
body.page-route #productDetailContent .detail-variants { margin:7px 0 8px !important; padding:10px !important; }
body.page-route #productDetailContent .detail-image-stage { margin-bottom:4px !important; }
body.page-route #productDetailContent .detail-image-thumbnails { margin:4px 0 !important; gap:5px !important; }
body.page-route #productDetailContent #detailImageCount { margin:2px 0 0 !important; }

/* The product heading should stay readable but not dominate a phone screen. */
body.page-route .product-detail-page .drawer-head {
  padding:14px clamp(14px,3vw,30px) !important;
}
body.page-route #productDetailTitle {
  margin:2px 0 !important;
  font-size:clamp(18px,2vw,23px) !important;
  line-height:1.25 !important;
  font-weight:750;
  overflow-wrap:anywhere;
}
@media (max-width:700px) {
  body.page-route #productDetailContent { gap:8px !important; padding:10px 13px 14px !important; }
  body.page-route #productDetailContent .product-detail-gallery { margin-bottom:0 !important; }
  body.page-route #productDetailContent .product-detail-info { gap:4px !important; }
  body.page-route #productDetailContent .detail-description { font-size:13px; line-height:1.45; }
  body.page-route #productDetailTitle { font-size:17px !important; line-height:1.22 !important; }
  body.page-route #productDetailContent .detail-variants { margin:6px 0 8px !important; padding:9px !important; }
  body.page-route #productDetailContent .detail-variant-option { min-height:42px; padding:6px 6px !important; font-size:11px; }
  body.page-route #productDetailContent .detail-variant-option small { font-size:9px; line-height:1.15; }
  body.page-route #productDetailContent .detail-variant-price { font-size:10px; }
  body.page-route #productDetailContent .variant-old-price,
  body.page-route #productDetailContent .variant-discount { font-size:9px; }
  body.page-route #productDetailContent .detail-variant-more { min-height:32px; padding:6px 8px; font-size:11px; }
  body.page-route #productDetailContent .detail-image-stage { margin-bottom:2px !important; }
  body.page-route #productDetailContent .detail-image-thumbnails { margin:2px 0 !important; }
}


/* One-time customer push notification invitation after sign-in. */
.customer-push-prompt {
  position:fixed; z-index:1200; left:50%; bottom:18px; transform:translateX(-50%);
  width:min(620px,calc(100vw - 28px)); display:flex; align-items:center;
  justify-content:space-between; gap:18px; padding:18px;
  border:1px solid #eadde3; border-radius:16px; background:#fff;
  box-shadow:0 12px 38px rgba(30,20,25,.18);
}
.customer-push-prompt[hidden] { display:none !important; }
.customer-push-prompt-copy { min-width:0; }
.customer-push-prompt-copy strong { display:block; font-size:15px; }
.customer-push-prompt-copy p { margin:6px 0 0; color:#6f6268; font-size:13px; line-height:1.45; }
.customer-push-prompt-actions { display:flex; flex:0 0 auto; gap:8px; align-items:center; }
.customer-push-prompt-actions .button { white-space:nowrap; }
@media(max-width:600px) {
  .customer-push-prompt { bottom:10px; align-items:stretch; flex-direction:column; gap:12px; padding:15px; }
  .customer-push-prompt-actions { display:grid; grid-template-columns:1fr 1fr; }
  .customer-push-prompt-actions .button { width:100%; min-width:0; padding:11px 8px; font-size:13px; }
}


/* Mobile push controls: fit comfortably on narrow screens. */
.push-notification-settings button {
  box-sizing:border-box;
  min-height:44px;
  max-width:100%;
}
@media (max-width:600px) {
  .push-notification-settings {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:9px;
  }
  .push-notification-settings button {
    width:100%;
    min-width:0;
    padding:11px 12px;
    font-size:14px;
    line-height:1.25;
    white-space:normal;
  }
  .customer-push-prompt {
    width:calc(100vw - 24px);
    box-sizing:border-box;
    padding:13px;
    gap:10px;
  }
  .customer-push-prompt-actions {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
    width:100%;
  }
  .customer-push-prompt-actions .button {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    min-height:44px;
    padding:10px 6px;
    font-size:12px;
    line-height:1.2;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}
/* Hide the compact product-count helper on phones; product listings remain unchanged. */
@media (max-width:700px) {
  #productCount { display:none !important; }
}
