@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #281722;
  --plum: #371e2d;
  --deep: #24121e;
  --berry: #713b55;
  --muted: #67575e;
  --paper: #faf7f3;
  --line: #e7dfda;
  --blush: #eec6cf;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --store-header-row: 77px;
}
body[data-palette="cacau"] {
  --ink: #291b16; --plum: #402a20; --deep: #2b1b15; --berry: #794c38; --muted: #65554b;
  --paper: #fbf8f3; --line: #e8dfd5; --blush: #f4d4b8; --hero-highlight: #f4d4b8;
}
body[data-palette="oliva"] {
  --ink: #20251d; --plum: #2e382b; --deep: #20271d; --berry: #52654a; --muted: #545b50;
  --paper: #f8f8f2; --line: #dedfd4; --blush: #d4e3b9; --hero-highlight: #d4e3b9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(> body > .header) { scroll-padding-block-start: calc(var(--store-header-row) + 1px + env(safe-area-inset-top)); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9d4267; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; padding: 12px; background: white; }
.shell { width: min(100% - 112px, 1330px); margin-inline: auto; }
.announcement { display: grid; place-items: center; min-height: 35px; padding: 6px 16px; text-align: center; color: #f8e9ee; background: var(--deep); font-size: .8125rem; letter-spacing: .04em; }
.announcement a:hover { text-decoration: underline; }
.header {
  position: sticky;
  top: 0;
  z-index: 8;
  padding-top: env(safe-area-inset-top);
  background: var(--paper);
  border-bottom: 1px solid #eadedb;
}
.header-inner { max-width: 1510px; padding-inline: 56px; min-height: var(--store-header-row); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.wordmark { width: fit-content; display: inline-grid; justify-items: center; line-height: .82; }
.wordmark strong { font-size: 3.05rem; letter-spacing: -.13em; padding-right: .12em; font-weight: 800; }
.wordmark strong span { color: #a35e78; }
.wordmark small { font-size: .57rem; letter-spacing: .155em; font-weight: 800; margin-top: 8px; }
.desktop-nav { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; height: 100%; }
.desktop-nav a { font-size: .875rem; font-weight: 600; align-content: center; height: 100%; position: relative; white-space: nowrap; }
.desktop-nav a { max-width: 106px; overflow: hidden; text-overflow: ellipsis; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--berry); }
.desktop-nav a[aria-current]::after { position: absolute; content: ""; bottom: 0; left: 0; right: 0; height: 2px; background: var(--berry); }
.header-actions { justify-self: end; display: flex; gap: 10px; align-items: center; }
.icon-button { position: relative; display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; border: 0; border-radius: 50%; padding: 0; background: transparent; color: inherit; }
.icon-button:hover { background: #dbc4cc55; }
.icon-button span[data-icon] { display: flex; }
.icon { width: 21px; height: 21px; }
.menu-toggle { display: none; }
#cart-count { position: absolute; right: 0; top: 1px; border-radius: 30px; padding: 0 4px; min-width: 17px; min-height: 17px; background: var(--berry); color: white; font-size: .6875rem; line-height: 17px; font-weight: 700; }
.hero { min-height: clamp(500px, 40vw, 630px); isolation: isolate; position: relative; overflow: hidden; display: flex; align-items: center; background: #331926; color: #fff8f3; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right 6%; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg,#24121ef0 0%,#291523df 23%,#3219278a 42%,#2e18272a 66%,transparent 85%); }
.hero-content { width: min(100% - 112px, 1330px); margin: 0 auto; padding-block: 58px 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .20em; }
.hero-label { color: var(--blush); font-size: .75rem; }
.hero-label::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.hero h1, .collection h2, .story h2 { font: 400 clamp(4.4rem, 8.3vw, 8.8rem)/.82 var(--serif); letter-spacing: -.025em; margin: 23px 0 22px; }
.hero h1 em, .story h2 em { color: var(--hero-highlight, #f0bdcb); }
.hero h1, .collection h2, .story h2 { overflow-wrap: anywhere; }
.story-content p { white-space: pre-line; }
body[data-palette="cacau"] .hero::after {
  background: linear-gradient(90deg,#2b1b15f5 0%,#2b1b15df 24%,#2b1b1599 47%,#2b1b1530 68%,transparent 85%);
}
body[data-palette="oliva"] .hero::after {
  background: linear-gradient(90deg,#20271df5 0%,#20271ddf 24%,#20271d99 47%,#20271d30 68%,transparent 85%);
}
@media (min-width: 741px) {
  .hero-photo[data-desktop-focus="esquerda"] img { object-position: left 6%; }
  .hero-photo[data-desktop-focus="centro"] img { object-position: center 6%; }
}
@media (max-width: 740px) {
  .hero-photo[data-mobile-focus="centro"] img { object-position: center center; }
  .hero-photo[data-mobile-focus="baixo"] img { object-position: center bottom; }
  body[data-palette="cacau"] .hero::after, body[data-palette="oliva"] .hero::after {
    background: linear-gradient(0deg,var(--deep) 2%,color-mix(in srgb,var(--deep) 87%,transparent) 42%,color-mix(in srgb,var(--deep) 28%,transparent) 76%,transparent 100%);
  }
}
.hero p { max-width: 350px; margin: 28px 0 29px; color: #f7e5eb; font-size: clamp(1rem,1.5vw,1.14rem); }
.button { border: 1px solid transparent; min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border-radius: 3px; padding: 11px 24px; text-align: center; font-size: .9rem; font-weight: 800; transition: background-color .18s, color .18s; }
.button-light { background: #fcf2e9; color: #2d1926; }
.button-light:hover { background: #ecc4cf; }
.button-dark { background: var(--plum); color: #fff8f3; }
.button-dark:hover:not(:disabled) { background: var(--berry); }
.button-outline { background: transparent; color: var(--ink); border-color: #bca9af; }
.button-outline:hover { background: #ebdde1; }
.collection { padding-block: 62px 83px; scroll-margin-top: 24px; }
.collection-heading { text-align: center; }
.section-label { color: var(--berry); }
.collection h2 { font-size: clamp(2.9rem, 5.2vw, 5.4rem); line-height: .95; margin: 13px 0 34px; }
.collection h2 em { color: var(--berry); }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.category-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.category-list a { border: 1px solid transparent; background: transparent; color: var(--muted); border-radius: 24px; padding: 8px 15px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.category-list a:hover { background: #f1e8e8; }
.category-list a[aria-current="page"] { color: var(--deep); background: #efe3e7; border-color: #e9d8df; }
select { border: 1px solid var(--line); border-radius: 4px; padding: 8px 30px 8px 10px; appearance: none; color: var(--ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%2367575e' stroke-width='1.4'/%3E%3C/svg%3E") right 9px center / 14px no-repeat; }


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

.product-card { min-width: 0; }
.product-media { aspect-ratio: 4 / 5; display: block; overflow: hidden; background: #ebe1dd; position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.product-media:hover img { transform: scale(1.035); }
.product-card { position: relative; }
.wishlist-feedback { position: fixed; right: 16px; bottom: 20px; z-index: 30; max-width: min(340px, calc(100% - 32px)); margin: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 0 3px 14px #35202b20; }
.wishlist-feedback:empty { display: none; }
.has-quick-buy .wishlist-feedback { bottom: 88px; }
.product-card .favorite { position: absolute; right: 10px; top: 10px; color: var(--plum); background: #fcf8f2f2; min-width: 38px; min-height: 38px; }
.favorite[aria-pressed="true"] .icon { fill: #a35e78; stroke: #7c3e56; }
.product-text { padding: 11px 0 0; }
.product-text p { margin: 2px 0 0; color: var(--muted); font-size: .875rem; }
.product-text h3 { margin: 0; font-size: .98rem; line-height: 1.35; font-weight: 800; }
.product-text a:hover { text-decoration: underline; }
.product-text strong { display: block; font-size: .96rem; margin-top: 7px; }
.load-more { display: flex; justify-content: center; margin-top: 38px; gap: 12px; flex-wrap: wrap; }
.story { min-height: 405px; display: grid; grid-template-columns: 1fr 1fr; background: var(--plum); color: #fff8f3; }
.story-image { min-height: 350px; position: relative; background: #8d626b; }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 19%; }
.story-content { align-self: center; max-width: 600px; padding: 55px clamp(35px, 7vw, 116px); }
.story .eyebrow { color: var(--blush); }
.story h2 { font-size: clamp(3.1rem,5vw,5.4rem); line-height: .93; margin: 13px 0 19px; }
.story p { color: #f2dfe7; margin: 0 0 25px; }
.footer { background: var(--deep); color: #f7e9ee; padding: 56px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 25px; }
.footer-grid > div > a:not(.wordmark) { display: block; width: fit-content; color: #decbd3; font-size: .875rem; margin-bottom: 8px; }
.footer a:hover { text-decoration: underline; }
.footer-grid h2 { margin: 0 0 12px; font-size: 1rem; }
.footer-grid p { color: #decbd3; font-size: .875rem; }
.footer .footer-whatsapp { display: inline-flex; align-items: center; gap: 7px; }
.footer-whatsapp svg { flex: none; width: 16px; height: 16px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #a68e9a;
  border-radius: 50%; color: #fff8f3; }
.footer-social a:is(:hover, :focus-visible) { color: var(--deep); background: #fff8f3; border-color: #fff8f3; }
.footer-social a:focus-visible { outline: 2px solid #fff8f3; outline-offset: 3px; }
.footer-base { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; border-top: 1px solid #513a46; padding-top: 16px; margin-top: 32px; color: #d5bfc9; gap: 12px; font-size: .8125rem; }
dialog { border: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #1f0e1db3; }
body:has(dialog[open]) { overflow: hidden; }
.drawer { width: min(100vw,460px); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font: 400 2.5rem/1 var(--serif); }
.drawer-body { padding: 22px; }
.drawer-body input[type="search"] { width: 100%; padding: 12px; border: 1px solid #bcabb2; border-radius: 4px; color: var(--ink); background: #fffdfb; }
.drawer-body p { color: var(--muted); }
.menu-links { display: grid; gap: 4px; }
.menu-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-list { display: grid; gap: 0; margin: 13px 0 20px; padding: 0; list-style: none; }
.drawer-item { display: grid; grid-template-columns: 63px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.drawer-item img { width: 63px; height: 73px; object-fit: cover; background: #ede3e3; }
.drawer-item small { display: block; color: var(--muted); }
.drawer-item strong { font-weight: 700; font-size: .94rem; }
.drawer-item a:hover { text-decoration: underline; }
.qty { display: flex; align-items: center; gap: 5px; }
.qty button { min-width: 34px; min-height: 34px; border: 1px solid var(--line); background: transparent; border-radius: 3px; color: var(--ink); }
.cart-total { display: flex; justify-content: space-between; margin: 14px 0 8px; }
.drawer-body .button-dark { width: 100%; }



.product-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); grid-template-areas: "gallery heading" "gallery purchase"; grid-template-rows: auto 1fr; gap: 0 clamp(20px,4vw,64px); align-items: start; }
.product-heading { grid-area: heading; padding-top: 24px; }
.product-description { grid-area: purchase; }
.product-heading h1 { font: 400 clamp(2.35rem,4vw,3.5rem)/.92 var(--serif); margin: 10px 0; }
.product-description p { color: var(--muted); white-space: pre-line; margin: 10px 0; }
.detail-price { font-size: 1.3rem; display: inline-block; margin: 8px 0 10px; }
.product-description form { margin-top: 12px; }
.product-description fieldset { padding: 0; border: 0; margin: 0; }
.product-description legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.size-options { display: flex; flex-wrap: wrap; gap: 7px; }
.size-options label { display: grid; }
.size-options span { min-width: 44px; min-height: 44px; border: 1px solid #cdbdc3; border-radius: 3px; padding: 9px; text-align: center; cursor: pointer; }
.size-options input:checked + span { color: white; background: var(--berry); border-color: var(--berry); }
.size-options input:focus-visible + span { outline: 2px solid #9d4267; outline-offset: 2px; }
.size-options input:disabled + span { color: #766771; text-decoration: line-through; background: #ebdfdf; cursor: not-allowed; }
.product-description form .button { width: 100%; margin-top: 15px; }

@media (max-width: 950px) {
  .shell, .hero-content { width: calc(100% - 64px); }
  .header-inner { padding-inline: 32px; }
  .desktop-nav { gap: 19px; }
  .category-list a { padding-inline: 10px; }
}
@media (max-width: 740px) {
  :root { --store-header-row: 66px; }
  .shell { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: 1fr auto 1fr; padding-inline: 12px; gap: 9px; }
  .header-inner > .wordmark { grid-column: 2; }
  .wordmark strong { font-size: 2.68rem; }
  .menu-toggle { display: grid; justify-self: start; }
  .desktop-nav, .favorites-toggle { display: none; }
  .header-actions { gap: 2px; }
  .hero { min-height: 590px; align-items: flex-end; }
  .hero-photo img { object-position: center top; }
  .hero::after { background: linear-gradient(0deg,#24121efa,#281422ec 15%,#2c152488 40%,#2f15271a 68%,transparent); }
  .hero-content { width: calc(100% - 40px); padding-block: 32px; }
  .hero h1 { margin: 12px 0 16px; font-size: clamp(4.25rem,14vw,6rem); }
  .hero p { margin: 16px 0 19px; }
  .collection { padding-block: 42px 53px; }
  .collection h2 { margin-bottom: 22px; }
  .collection-toolbar { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .category-list { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding: 3px 2px; }
  .products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 12px; }
  .product-card .favorite { top: 6px; right: 6px; min-width: 35px; min-height: 35px; }
  .product-text h3 { font-size: .9rem; }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 295px; }
  .story-content { padding: 35px 22px 45px; }
  .footer { padding-top: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.collection-heading h1, .editorial-content h1 { font: 400 clamp(3rem,6vw,5.2rem)/.95 var(--serif); margin: 12px 0; }
.collection-heading > p { max-width: 575px; margin: 0 auto 23px; color: var(--muted); }
.breadcrumbs { color: var(--muted); margin: 0 0 20px; font-size: .875rem; }
.breadcrumbs ol { display: flex; list-style: none; gap: 8px; padding: 0; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "/"; padding-right: 8px; }
.breadcrumbs a:hover, .editorial-content p a { text-decoration: underline; }
.product-page { padding-block: 21px 44px; }
.product-main-image { width: 100%; aspect-ratio: 4 / 5; max-height: min(66svh, 720px); background: #ebe1dd; overflow: hidden; }
.product-main-image img, .product-media picture { display: block; width: 100%; height: 100%; }
.product-main-image img { object-fit: contain; }
.product-description { align-self: start; }
.product-favorite { margin-top: 12px; }
.shipping-estimate { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: end; padding-top: 14px; }
.product-description .shipping-estimate { margin-top: 16px; border-top: 1px solid var(--line); }
.shipping-estimate label, .fitting-inputs label { display: grid; gap: 5px; font-size: .875rem; font-weight: 650; }
.shipping-estimate input, .fitting-inputs input { width: 100%; min-height: 44px; padding: 8px 10px; color: var(--ink); background: #fffdfa; border: 1px solid #bdacb2; border-radius: 3px; font: inherit; font-size: 1rem; }
.product-description .shipping-estimate .button { width: auto; margin-top: 0; }
.shipping-estimate button { min-height: 44px; }
.shipping-estimate [data-estimate-status], .shipping-estimate [data-estimate-results] { grid-column: 1 / -1; margin: 0; }
.shipping-estimate [data-estimate-status]:empty, .shipping-estimate [data-estimate-results]:empty { display: none; }
.shipping-estimate ul { padding: 0; list-style: none; max-height: 9rem; overflow-y: auto; }
.shipping-estimate li { display: flex; justify-content: space-between; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding-block: 7px; font-size: .9rem; }
.shipping-estimate li small { display: block; color: var(--muted); }
.drawer-footer .shipping-estimate { padding-top: 0; margin-bottom: 10px; }
.fitting-link {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px; margin-top: 12px; padding: 6px 10px;
  color: var(--berry); background: color-mix(in srgb, var(--berry) 7%, var(--paper)); border: 1px solid var(--line); border-radius: 4px;
  font-size: .875rem;
}
.fitting-link span { text-decoration: underline; text-underline-offset: 3px; }
.fitting-link:hover { background: color-mix(in srgb, var(--berry) 13%, var(--paper)); }
.fitting-dialog {
  width: min(100% - 32px, 820px); max-height: min(810px, 100dvh - 32px); padding: 0; border-radius: 8px; overflow: hidden;
  box-shadow: 0 16px 60px #1d10283d;
}
.fitting-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.fitting-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; border-bottom: 1px solid var(--line); }
.fitting-header h2 { margin: 0; font: 400 clamp(2.1rem, 5vw, 2.7rem)/1 var(--serif); }
.fitting-content { overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px max(20px, env(safe-area-inset-bottom)); }
.fitting-product { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fitting-product img { flex: 0 0 42px; width: 42px; height: 50px; object-fit: cover; border-radius: 4px; background: var(--line); }
.fitting-product span { display: block; color: var(--muted); font-size: .9rem; }
.fitting-profiles { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 16px; margin-bottom: 16px; }
.fitting-profiles label { flex: 1 1 min(100%, 172px); font-size: .875rem; font-weight: 700; }
.fitting-profiles select, .fitting-profiles input { display: block; width: 100%; margin-top: 4px; }
.fitting-profiles button { margin-bottom: 8px; }
.fitting-profiles .fitting-measure-status { width: 100%; margin: 0; }
.fitting-profiles .fitting-measure-status:empty { display: none; }
.fitting-form, .fitting-result { display: grid; gap: 12px; margin-bottom: 16px; }
.fitting-form small { color: var(--muted); }
.fitting-form fieldset, .fitting-preference { margin: 0; padding: 0; min-width: 0; border: 0; }
.fitting-form legend, .fitting-preference legend { margin-bottom: 6px; padding: 0; font-size: .9375rem; font-weight: 700; }
.fitting-form .fitting-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; }
.fitting-inputs label:only-child { max-width: 190px; }
.fitting-measure-intro { margin: 0 0 12px; color: var(--muted); font-size: .875rem; }
.fitting-measure-layout {
  display: grid; grid-template-columns: minmax(160px, .72fr) minmax(0, 1.45fr);
  align-items: start; gap: clamp(10px, 2.8vw, 24px);
}
.fitting-measure-guide {
  position: sticky; top: 0; margin: 0; min-width: 0; overflow: hidden; color: #fff7f3;
  background: radial-gradient(ellipse at 50% 40%, #754b62, var(--deep) 76%); border-radius: 12px;
}
.fitting-avatar-stage {
  background-image: linear-gradient(#ffffff11 1px, transparent 1px), linear-gradient(90deg, #ffffff11 1px, transparent 1px);
  background-size: 22px 22px; background-position: center;
}
.fitting-measure-guide svg { display: block; width: clamp(96px, 80%, 172px); max-width: 100%; height: auto; margin-inline: auto; }
.fitting-avatar-shape { fill: url(#fitting-avatar-light); }
.fitting-avatar-axis { stroke: #ffe5ec; stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 2 6; }
.fitting-measure-guide [data-measure-mark] {
  fill: none; stroke: #fff2c2; stroke-width: 3; stroke-linecap: round; opacity: 0;
  vector-effect: non-scaling-stroke;
}
.fitting-measure-guide [data-measure-mark].is-active { opacity: 1; transition: opacity .16s ease; }
.fitting-measure-guide figcaption { padding: 10px 12px 12px; font-size: .875rem; line-height: 1.35; background: #170e1766; }
.fitting-measure-guide figcaption strong { display: block; margin-bottom: 4px; color: #ffe5bf; }
.fitting-measure-rows { display: grid; gap: 5px; min-width: 0; }
.fitting-measure-row {
  display: grid; grid-template-columns: minmax(76px, 1fr) minmax(60px, 1.45fr) minmax(73px, .8fr);
  align-items: center; gap: 4px 9px; min-width: 0; padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 8px; background: #fffdfa;
}
.fitting-measure-row.is-active { border-color: var(--berry); background: color-mix(in srgb, var(--berry) 7%, #fffdfa); }
.fitting-measure-row label { font-size: .875rem; font-weight: 650; line-height: 1.2; }
.fitting-measure-row label span { color: var(--berry); }
.fitting-measure-value { display: flex; align-items: center; gap: 4px; font-size: .8125rem; color: var(--muted); }
.fitting-measure-value input {
  width: 100%; min-width: 0; min-height: 44px; padding: 4px 6px; border: 1px solid #bdacb2; border-radius: 5px; appearance: textfield;
  background: #fffdfa; color: var(--ink); font: inherit; font-size: 1rem; text-align: center; font-variant-numeric: tabular-nums;
}
.fitting-measure-value input::placeholder { color: #67575e; opacity: .75; }
.fitting-measure-value input::-webkit-inner-spin-button { appearance: none; }
.fitting-measure-slider {
  --range-color: var(--muted);
  appearance: none; width: 100%; min-width: 0; height: 44px; margin: 0; background: transparent; cursor: pointer;
}
.fitting-measure-row.has-measurement .fitting-measure-slider,
.fitting-measure-row.is-active .fitting-measure-slider { --range-color: var(--berry); }
.fitting-measure-slider::-webkit-slider-runnable-track {
  height: 5px; border-radius: 99px;
  background: linear-gradient(to right, var(--range-color) var(--range-fill, 0%), var(--line) var(--range-fill, 0%));
}
.fitting-measure-slider::-moz-range-track {
  height: 5px; border-radius: 99px;
  background: linear-gradient(to right, var(--range-color) var(--range-fill, 0%), var(--line) var(--range-fill, 0%));
}
.fitting-measure-slider::-webkit-slider-thumb {
  appearance: none; box-sizing: border-box; width: 18px; height: 18px; margin-top: -6.5px; border-radius: 50%;
  background: #fffdfa; border: 2px solid var(--range-color); box-shadow: 0 2px 5px #20131a29;
}
.fitting-measure-slider::-moz-range-thumb {
  box-sizing: border-box; width: 18px; height: 18px; border-radius: 50%;
  background: #fffdfa; border: 2px solid var(--range-color); box-shadow: 0 2px 5px #20131a29;
}
.fitting-reset {
  padding: 6px 2px; min-height: 44px; border: 0; background: transparent; color: var(--berry); font-size: .875rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.fitting-footer {
  display: flex; align-items: center; gap: 10px; padding: 8px 22px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--paper);
}
.fitting-footer .button { margin-left: auto; }
.fitting-measure-status { margin: 0; color: var(--berry); font-size: .875rem; }
.fitting-measure-status:not(:empty) { margin-top: 6px; }
@media (max-width: 620px) {
  .fitting-measure-layout { grid-template-columns: minmax(90px, .58fr) minmax(0, 1fr); }
  .fitting-measure-row { grid-template-columns: minmax(0, 1fr) minmax(57px, .75fr); gap: 0 5px; padding: 4px 6px 0; }
  .fitting-measure-value { grid-row: 1; grid-column: 2; }
  .fitting-measure-slider { grid-column: 1 / -1; height: 36px; }
  .fitting-measure-guide figcaption { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .fitting-measure-guide [data-measure-mark].is-active { transition: none; }
}
.fitting-result-measures { border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; }
.fitting-result-measures h4 { margin: 0 0 6px; font-size: .9rem; }
.fitting-result-measures dl { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
.fitting-result-measures dt { font-size: .8125rem; color: var(--muted); }
.fitting-result-measures dd { margin: 0; font-weight: 750; }
.fitting-methods, .fitting-preference { display: flex; flex-wrap: wrap; gap: 6px; }
.fitting-methods label, .fitting-preference label {
  display: inline-flex; align-items: center; gap: 5px; color: var(--ink);
  padding: 6px 9px; border: 1px solid var(--line); border-radius: 4px; min-height: 39px; font-size: .85rem; cursor: pointer;
}
.fitting-methods label:has(:checked), .fitting-preference label:has(:checked) {
  border-color: var(--berry); background: color-mix(in srgb, var(--berry) 8%, var(--paper));
}
.fitting-methods input, .fitting-preference input { width: 16px; height: 16px; margin: 0; accent-color: var(--berry); }
.fitting-recommendation { padding: 14px; border-radius: 4px; background: color-mix(in srgb, var(--berry) 9%, var(--paper)); }
.fitting-recommendation h3 { margin: 0 0 6px; font: 400 2rem/1 var(--serif); }
.fitting-recommendation p { margin: 0; }
.fitting-alternatives { color: var(--muted); font-size: .9rem; }
.fitting-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fitting-guide { padding: 8px 0; border-top: 1px solid var(--line); }
.fitting-guide summary, .fitting-help { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--berry); }
.fitting-table { overflow-x: auto; }
.fitting-table table { width: 100%; border-collapse: collapse; text-align: left; font-size: .875rem; }
.fitting-table th, .fitting-table td { padding: 6px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.fitting-table caption { text-align: left; font-weight: 700; padding: 8px 0 4px; }
.fitting-help { display: inline-block; margin-top: 5px; font-size: .875rem; }
@media (max-width: 540px) {
  .fitting-dialog { width: 100%; max-height: min(92dvh, 780px); max-width: none; inset: auto 0 0; margin: 0; border-radius: 12px 12px 0 0; }
  .fitting-header, .fitting-content, .fitting-footer { padding-inline: 16px; }
  .fitting-footer .button { padding-inline: 12px; }
}
@media (max-width: 360px) {
  .shipping-estimate .button { padding-inline: 8px; font-size: .85rem; }
}
.related-products { padding-bottom: 65px; }
.related-products h2 { font: 400 clamp(2.5rem,4vw,4rem)/1 var(--serif); margin: 0 0 20px; }
.editorial-content { max-width: 830px; min-height: 340px; padding-block: 35px 60px; }
.editorial-content dt { font-weight: 700; margin-top: 12px; }
.editorial-content dd { margin: 0; }
.editorial-content p, .editorial-content dd { color: var(--muted); }
.merchant-details { display: flex; flex-wrap: wrap; gap: 3px 14px; font-style: normal; }
.merchant-details a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-copyright { margin: 0; }
.legal-content :is(p, li) a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content h1 { margin-bottom: 24px; }
.legal-content h2 { color: var(--ink); font: 400 2rem/1.05 var(--serif); margin: 28px 0 10px; }
.legal-content li { color: var(--muted); margin-block: 8px; }
.legal-content li a { text-decoration: underline; text-underline-offset: 3px; }
.legal-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; align-items: start;
  border: 1px solid var(--line); border-radius: 4px; padding: clamp(16px, 3vw, 24px); background: #fffdfa; }
.legal-form label { display: grid; gap: 5px; font-size: .9375rem; font-weight: 650; }
.legal-form label small { font-weight: 400; }
.legal-form :is(input, select, textarea) { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid #bca9af;
  border-radius: 3px; background: #fffdfa; color: var(--ink); font: inherit; font-size: 1rem; }
.legal-form .button { justify-self: start; }
.legal-form p { margin: 0; }
.legal-wide { grid-column: 1 / -1; }
#support-status { color: var(--berry); overflow-wrap: anywhere; }
#support-status:empty, #shopping-data-status:empty { display: none; }
@media (max-width: 570px) { .legal-form { grid-template-columns: 1fr; } }
@media (max-width: 740px) {
  .product-page { padding-top: 8px; }
  .product-main-image { aspect-ratio: 4 / 5; max-height: min(48svh, 418px); }
}

.product-gallery { grid-area: gallery; min-width: 0; }
.product-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: 8px -4px 0; }
.product-thumbnails a { flex: 0 0 66px; padding: 2px; border: 1px solid var(--line); border-radius: 3px; }
.product-thumbnails a:hover { border-color: var(--berry); }
.product-thumbnails a[aria-current] { border-color: var(--berry); box-shadow: 0 0 0 1px var(--berry); }
.product-thumbnails img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #ebe1dd; }
.product-highlights { margin: 5px 0 16px; padding: 0 0 0 18px; color: var(--ink); font-size: .94rem; }
.product-highlights li { margin: 4px 0; }
.product-highlights li::marker { color: var(--berry); }
.product-specs { margin-top: 24px; border-top: 1px solid var(--line); }
.product-specs details { padding: 11px 0; border-bottom: 1px solid var(--line); }
.product-specs summary { padding: 3px 0; cursor: pointer; font-weight: 700; }
.product-specs summary::marker { color: var(--berry); }
.product-specs p { margin: 8px 0 1px; }
@media (max-width: 740px) {
  .product-thumbnails a { flex-basis: 58px; }
}

.detail-color { margin: 6px 0 0; color: var(--muted); }
#size-stock:empty { display: none; }
#size-chooser { scroll-margin-block: 20px 88px; }
.product-description .product-summary-copy { margin-top: 21px; }
.product-main-image { touch-action: pan-y pinch-zoom; }
.quick-buy { display: none; }
.drawer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; }
.drawer > .dialog-header [data-close], .fitting-header [data-fitting-close] { flex: 0 0 44px; min-height: 44px; min-width: 44px; }
.drawer-footer { padding: 14px 22px max(15px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.drawer-footer .cart-total { margin-top: 0; }
.drawer-footer .button-dark { width: 100%; }
.drawer-footer p { margin: 5px 0 10px; color: var(--muted); font-size: .9rem; }
#checkout-error:empty { display: none; }
.qty button { min-height: 44px; min-width: 36px; }
.search-status { font-size: .94rem; margin-bottom: 0; }
.drawer-body dt { font-weight: 700; margin-top: 12px; }
.drawer-body dd { margin: 0; color: var(--muted); }
.drawer-body p a { text-decoration: underline; }
@media (max-width: 740px) {
  .product-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "heading" "gallery" "purchase"; grid-template-rows: auto; gap: 12px; }
  .product-heading { padding-top: 0; }
  .product-heading h1 { margin: 0; font-size: clamp(2.2rem, 8vw, 3.1rem); line-height: .96; }
  .product-page .breadcrumbs { margin-bottom: 10px; }
  .product-page .breadcrumbs li[aria-current="page"] { display: none; }
  .product-heading .detail-price { margin: 4px 0 0; }
  .quick-buy {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; inset: auto 0 0; z-index: 5; background: var(--paper);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 14px #28172210;
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  }
  .quick-buy strong { white-space: nowrap; font-size: 1.05rem; }
  .quick-buy .button { min-height: 44px; padding-inline: 13px; }
  body.has-quick-buy .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

.collection-filters, #search-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); align-items: end; gap: 10px; }
.collection-filter-panel { margin-bottom: 18px; }
.collection-filter-panel summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 15px;
  list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 24px;
  color: var(--deep); background: #fffdfa; font-size: .875rem; font-weight: 700;
}
.collection-filter-panel summary::-webkit-details-marker { display: none; }
.collection-filter-panel summary:hover, .collection-filter-panel[open] summary {
  border-color: var(--berry); background: color-mix(in srgb, var(--berry) 8%, var(--paper));
}
.collection-filter-icon {
  width: 18px; height: 18px;
  background:
    radial-gradient(circle, currentColor 2px, transparent 2.5px) 4px 3px / 5px 5px,
    radial-gradient(circle, currentColor 2px, transparent 2.5px) 10px 10px / 5px 5px,
    linear-gradient(currentColor, currentColor) 1px 5px / 16px 1px,
    linear-gradient(currentColor, currentColor) 1px 12px / 16px 1px;
  background-repeat: no-repeat;
}
.collection-filter-count {
  display: grid; place-items: center; min-width: 22px; min-height: 22px;
  padding-inline: 4px; border-radius: 12px; background: var(--berry); color: white;
}
.collection-filters {
  margin-top: 10px; padding: clamp(12px, 2vw, 20px); border: 1px solid var(--line);
  border-radius: 14px; background: #fffdfa;
}
.collection-filter-actions { grid-column: 1 / -1; margin-top: 4px; }
.collection-filters label, #search-filters label { display: grid; gap: 4px; min-width: 0; font-size: .875rem; font-weight: 650; }
.collection-filters select, #search-filters select {
  width: 100%; min-height: 44px; padding: 5px 8px; border: 1px solid #bdacb2; border-radius: 4px; background: #fffdfa; font: inherit; color: var(--ink);
}
.collection-filter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.collection-filter-actions a { display: inline-flex; align-items: center; }
.search-filter-panel { margin-top: 12px; }
.search-filter-panel summary { cursor: pointer; color: var(--berry); font-weight: 650; }
#search-filters { margin-top: 8px; }
#search-filters button { justify-self: start; }

.storefront-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.storefront-price del { color: var(--muted); font-size: .85rem; font-weight: 400; }
.storefront-price.is-promotional strong { color: var(--berry); }
