:root {
  color-scheme: light;
  --page: #faf8f3;
  --paper: #fffdf9;
  --ink: #211e1d;
  --muted: #645e5a;
  --line: #dfd9d1;
  --berry: #951f47;
  --berry-dark: #701735;
  --rose: #f5e9e8;
  --studio: linear-gradient(90deg, rgb(255 246 237 / .12), transparent 55%, rgb(112 84 66 / .04)),
    linear-gradient(180deg, #ccb9ab, #cfbdb0 32%, #d0beb2 78%, #d0beb3);
  font: 400 15px/1.55 "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
svg { display: block; width: 21px; height: 21px; flex: none; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 4px; }
.shell { width: min(calc(100% - 96px), 1300px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#product, #collection, #pair-offer, #contact, #newsletter, #about, #faq, #shipping, #returns { scroll-margin-top: 24px; }

.utility { background: var(--ink); color: var(--paper); }
.utility-content { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; font-weight: 600; }
.utility-content div { display: flex; gap: 20px; }
.utility button { padding: 5px 0; border: 0; background: transparent; text-align: left; }
.utility button span { margin-left: 4px; }
.utility button:hover, .utility a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utility :focus-visible { outline-color: var(--paper); }
.site-header { background: #fdf6e9; border-bottom: 1px solid var(--line); }
.header-content { min-height: 79px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; }
.brand { display: inline-block; width: 153px; }
.header-content .brand { justify-self: center; }
.header-content nav { display: flex; align-items: center; gap: clamp(15px, 2.4vw, 37px); white-space: nowrap; font-size: 14px; font-weight: 700; }
.header-content nav a:hover { color: var(--berry); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: clamp(12px, 1.9vw, 28px); }
.header-actions button { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 4px 0; border: 0; background: transparent; font-size: 13px; font-weight: 700; }
.header-actions button:hover { color: var(--berry); }
#bag-count { display: grid; place-items: center; min-width: 21px; min-height: 21px; padding: 0 4px; border-radius: 50%; background: var(--berry); color: var(--paper); font-size: 11px; }

.breadcrumbs { min-height: 59px; display: flex; flex-wrap: wrap; align-content: center; align-items: center; gap: 6px 11px; padding: 12px 0; font-size: 13px; color: var(--muted); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: clamp(27px, 3.7vw, 59px); }
.product-gallery { display: grid; grid-template-columns: clamp(56px, 6vw, 87px) minmax(0, 1fr); align-items: start; gap: 13px; }
.gallery-thumbnails { display: grid; gap: 9px; }
.gallery-thumb { aspect-ratio: 2 / 3; position: relative; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #cdbbae; }
.gallery-thumb[aria-pressed="true"] { border: 2px solid var(--berry); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-stage { position: relative; aspect-ratio: 4 / 5; max-height: 720px; min-width: 0; overflow: hidden; border-radius: 9px; background: var(--studio); }
.gallery-frame { position: absolute; inset: 0; overflow: hidden; }
.gallery-frame > img { position: absolute; inset: auto 0 0; width: auto; height: auto; max-width: 100%; max-height: 100%; margin-inline: auto; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 2.5%); mask-composite: intersect; }
.gallery-frame > img:not([src]) { visibility: hidden; }

.icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 24px; line-height: 1; }
.icon-button:hover { background: var(--rose); color: var(--berry); }
.gallery-zoom { position: absolute; z-index: 1; top: 14px; right: 14px; }




.gallery-note { position: absolute; bottom: 12px; left: 12px; padding: 4px 8px; border-radius: 4px; background: var(--paper); color: var(--muted); font-size: 12px; }
.product-info { padding-top: 4px; }
.eyebrow { color: var(--berry); text-transform: uppercase; font-size: 11px; letter-spacing: .15em; font-weight: 700; }
.product-info h1 { margin: 5px 0 9px; font-size: clamp(34px, 3.25vw, 49px); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; }
.product-info h1:focus { outline: none; }
.detail-price { font-size: 25px; line-height: 1.3; font-weight: 700; }
.detail-description { max-width: 440px; margin: 15px 0 21px; color: var(--muted); }
.product-options { padding: 17px 0; border-block: 1px solid var(--line); }
.colour-field p { display: flex; gap: 8px; align-items: baseline; }
#detail-color { color: var(--muted); }
.swatch-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 14px; }
.swatch { width: 38px; height: 38px; display: grid; place-items: center; padding: 3px; border-radius: 50%; border: 1px solid transparent; background: transparent; }
.swatch[aria-pressed="true"] { border-color: var(--berry); }
.colour-dot { display: block; width: 100%; height: 100%; border: 1px solid rgb(34 31 29 / .13); border-radius: 50%; }
.fit-help { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.fit-help svg { width: 18px; height: 18px; }
.fit-help a, .text-link, details p a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.purchase-actions { display: grid; grid-template-columns: 1fr 51px; align-items: center; gap: 10px; margin: 15px 0 10px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 9px 16px; font-size: 14px; font-weight: 700; border: 1px solid transparent; border-radius: 7px; text-align: center; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--berry-dark); }
.button-outline { background: transparent; border-color: var(--line); }
.button-outline:hover { color: var(--berry); border-color: var(--berry); }
.save-product { width: 51px; height: 48px; border-radius: 7px; }
.save-product[aria-pressed="true"], .card-save[aria-pressed="true"] { color: var(--berry); --heart-fill: var(--berry); }
.product-promo { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 8px 11px; border: 0; border-radius: 6px; background: var(--rose); color: var(--berry); text-align: left; font-size: 13px; }
.product-promo:hover { background: #edd9de; }
details { border-bottom: 1px solid var(--line); }
details summary { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; padding: 9px 0; cursor: pointer; font-weight: 700; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 17px; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { padding: 0 15px 13px 0; color: var(--muted); font-size: 14px; }

.reviews { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 39px 0 0; padding: 23px 0; border-block: 1px solid var(--line); }
.reviews h2, .section-heading h2, .about h2, .faq h2 { font-size: clamp(23px, 2.45vw, 32px); letter-spacing: -.032em; line-height: 1.14; }
.reviews p, #style-count { margin-top: 6px; color: var(--muted); font-size: 14px; }
#style-count:empty { display: none; }
.collection { padding: 41px 0 49px; }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 17px; }
.text-button { min-height: 36px; padding: 0; border: 0; background: transparent; font-size: 13px; font-weight: 700; text-align: right; }
.text-button:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.catalog-search { display: grid; gap: 6px; max-width: 440px; margin: 0 0 17px; }
.catalog-search label { font-weight: 700; font-size: 13px; }
.catalog-search input { min-height: 44px; width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.empty-grid { padding: 26px 0 35px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 27px 18px; }
.product-card-media { position: relative; }
.product-image-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: #cdbbae; }
.product-image { aspect-ratio: 2 / 3; object-fit: contain; }
.card-save { position: absolute; top: 8px; right: 8px; width: 33px; height: 33px; }
.card-save svg { width: 17px; height: 17px; }
.product-caption { padding-top: 9px; }
.product-caption h3 { font-size: 15px; line-height: 1.3; }
.product-name { border: 0; background: transparent; padding: 0; text-align: left; }
.product-name:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.price { margin-top: 5px; font-size: 14px; color: var(--ink); font-weight: 700; }
.product-color { color: var(--muted); font-size: 13px; }
.card-colours { display: flex; gap: 5px; margin-top: 7px; }
.card-colours .colour-dot { width: 13px; height: 13px; }

.offer-feature { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(23px, 4vw, 53px); border-radius: 9px; background: linear-gradient(115deg, var(--berry-dark), var(--berry)); color: var(--paper); }
.offer-feature .eyebrow { color: inherit; }
.offer-feature h2 { margin: 4px 0 5px; font-size: clamp(26px, 3vw, 43px); line-height: 1.13; letter-spacing: -.035em; }
.offer-shop-button { flex: none; background: var(--paper); color: var(--berry-dark); }
.offer-shop-button:hover { background: var(--rose); }
.offer-shop-button:focus-visible { outline-color: var(--paper); }
.store-info { display: grid; grid-template-columns: 1fr 1.25fr; align-items: start; gap: clamp(25px, 8vw, 110px); padding: 48px 0; }
.about p { max-width: 36ch; margin: 12px 0; color: var(--muted); }
.faq h2 { margin-bottom: 9px; }
.site-footer { border-top: 1px solid var(--line); background: #fdf6e9; }
.footer-content { display: grid; grid-template-columns: 1.05fr .8fr .92fr 1.45fr; gap: 23px; padding: 33px 0 91px; }
.footer-brand, .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-brand .brand { width: 138px; margin-bottom: 3px; }
.footer-content h2 { margin-bottom: 3px; font-size: 15px; }
.footer-content a, .footer-content p { color: var(--muted); font-size: 13px; }
.footer-content a:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.contact-link { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.contact-link svg { width: 16px; height: 16px; }
.newsletter form { display: flex; margin-top: 9px; }
.newsletter input { flex: 1; min-width: 0; min-height: 43px; border: 1px solid var(--line); border-radius: 6px 0 0 6px; padding: 8px 10px; background: var(--paper); font-size: 13px; }
.newsletter form button { flex: none; width: 44px; border: 0; border-radius: 0 6px 6px 0; background: var(--ink); color: var(--paper); font-size: 20px; }
.newsletter form button:disabled { opacity: .6; cursor: wait; }
.newsletter-status { margin-top: 5px; }

.floating-bag, .whatsapp-float { position: fixed; z-index: 2; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; align-items: center; border: 1px solid var(--paper); border-radius: 99px; background: var(--berry); color: var(--paper); box-shadow: 0 5px 19px rgb(76 26 40 / .19); }
.whatsapp-float { right: max(18px, env(safe-area-inset-right)); justify-content: center; width: 52px; height: 52px; }
.whatsapp-float svg { width: 25px; height: 25px; }
.floating-bag { left: 50%; transform: translateX(-50%); min-height: 46px; padding: 8px 14px; gap: 10px; font-weight: 700; font-size: 13px; }
.floating-bag > span:first-child { padding-right: 10px; border-right: 1px solid rgb(255 255 255 / .4); }
.floating-bag:hover, .whatsapp-float:hover { background: var(--berry-dark); }

dialog { border: 0; padding: 0; background: var(--page); color: var(--ink); }
dialog::backdrop { background: rgb(27 20 22 / .57); }
.zoom-dialog { width: min(840px, calc(100% - 26px)); max-height: calc(100dvh - 26px); border-radius: 9px; background: var(--studio); overflow: hidden; }
.zoom-dialog img { width: 100%; height: min(92dvh, 900px); object-fit: contain; }

.zoom-close { position: absolute; z-index: 1; right: 12px; top: 12px; }
.offer-dialog { width: min(500px, calc(100% - 26px)); max-height: calc(100dvh - 26px); border-radius: 12px; text-align: center; }
.offer-header { position: relative; padding: 46px 19px 25px; background: var(--berry); color: var(--paper); }
.offer-header .eyebrow { color: inherit; }
.offer-header h2, .bag-header h2 { font-size: clamp(28px, 4.5vw, 41px); line-height: 1.16; letter-spacing: -.035em; }
.offer-header h2 { margin: 7px 0 10px; }
.offer-close { position: absolute; right: 10px; top: 10px; }
.offer-close:focus-visible { outline-color: var(--paper); }
.offer-details { display: grid; gap: 12px; padding: 19px; }
.offer-ticket { padding: 13px; border: 1px dashed var(--berry); border-radius: 7px; background: var(--rose); }
.offer-ticket strong { color: var(--berry); }
.offer-ticket p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.offer-dismiss { justify-self: center; min-height: 36px; border: 0; background: none; color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.bag-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(452px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; }
.bag-dialog[open] { display: flex; flex-direction: column; }
.bag-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 19px; }
.bag-content { flex: 1; overflow: auto; padding: 0 19px; }
.empty-bag { padding: 20px 0; color: var(--muted); }
.bag-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-item img { aspect-ratio: 2 / 3; object-fit: contain; border-radius: 5px; }
.bag-item h3 { font-size: 15px; }
.bag-item strong { color: var(--berry); white-space: nowrap; }
.quantity { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.quantity button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; padding: 0; background: transparent; }
.quantity button:hover { background: var(--rose); }
.bag-footer { display: grid; gap: 9px; padding: 13px 19px 17px; border-top: 1px solid var(--line); }
.bag-summary { display: grid; gap: 3px; }
.bag-price-row { display: flex; justify-content: space-between; gap: 12px; }
.bag-discount, .bag-total { color: var(--berry); }
.bag-total { margin-top: 3px; padding-top: 6px; border-top: 1px solid var(--line); font-weight: 700; }
.bag-offer-progress { padding: 6px 8px; border-radius: 5px; background: var(--rose); color: var(--berry); font-size: 13px; }
.bag-footer:has(.bag-order-link:not([hidden])) .bag-continue { min-height: 39px; border-color: var(--line); background: transparent; color: var(--ink); }
.bag-footer:has(.bag-order-link:not([hidden])) .bag-continue:hover { background: var(--rose); }

@media (max-width: 980px) {
  .shell { width: calc(100% - 48px); }
  .header-actions button > span:not(#bag-count) { display: none; }
  .header-content { gap: 14px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 30px); }
  .utility-content { min-height: 33px; font-size: 11px; }
  .utility-content div { gap: 10px; }
  .utility-content div a:last-child { display: none; }
  .header-content { min-height: 63px; grid-template-columns: 1fr auto; gap: 6px; }
  .header-content nav { display: none; }
  .header-content .brand { width: 132px; justify-self: start; }
  .header-actions { gap: 10px; }
  .header-actions button { padding-inline: 3px; }
  .breadcrumbs { min-height: 49px; padding: 10px 0; gap: 5px 7px; font-size: 12px; }
  .product-layout { grid-template-columns: 1fr; gap: 15px; }
  .product-gallery { grid-template-columns: 1fr; gap: 8px; }
  .gallery-stage { grid-row: 1; aspect-ratio: 5 / 6; max-height: 610px; }
  .gallery-thumbnails { grid-row: 2; display: flex; gap: 6px; }
  .gallery-thumb { width: 52px; flex: none; }
  .gallery-zoom { top: 9px; right: 9px; width: 38px; height: 38px; }

  .detail-description { margin: 8px 0 14px; }
  .product-info h1 { font-size: clamp(29px, 7vw, 38px); }
  .reviews { margin-top: 27px; padding-block: 17px; }
  .reviews .button { min-height: 42px; padding-inline: 9px; font-size: 12px; }
  .collection { padding: 25px 0 33px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 11px; }
  .section-heading { gap: 10px; }
  .offer-feature { flex-direction: column; align-items: flex-start; gap: 14px; }
  .store-info { grid-template-columns: 1fr; padding: 33px 0; }
  .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 13px; }
  .footer-brand { grid-column: 1 / -1; }
  .newsletter { grid-column: 1 / -1; max-width: 330px; }
  .floating-bag { left: max(11px, env(safe-area-inset-left)); transform: none; }
  .whatsapp-float { right: max(12px, env(safe-area-inset-right)); width: 46px; height: 46px; }
  .floating-bag, .whatsapp-float { bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

}
