:root {
  color-scheme: light;
  --paper: #fffdf9;
  --ink: #301f21;
  --muted: #705f5d;
  --brand: #772339;
  --shop-blue: #2459b8;
  --brand-dark: #57172a;
  --blush: #faeae5;
  --line: #eadbd6;
  --serif: "Playfair Display", Georgia, serif;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a13755; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 8px; padding: 10px; z-index: 10; background: white; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.shop-bar { background: var(--brand); color: #fff5ec; font-size: .875rem; font-weight: 500; }
.shop-bar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 35px; gap: 12px; }
.shop-bar a:hover, nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
header { border-bottom: 1px solid var(--line); }
.header { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 3.5rem); min-height: 76px; }
.wordmark { color: var(--brand); font: 700 2rem/.95 var(--serif); white-space: nowrap; letter-spacing: -.065em; }
.wordmark span { color: var(--shop-blue); font-weight: 500; padding-left: .09em; }
nav { display: flex; gap: clamp(.85rem, 2.4vw, 2rem); white-space: nowrap; font-size: .9rem; font-weight: 600; }
.header nav { min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; color: var(--shop-blue); }
.header nav a { flex: 0 0 auto; padding-block: 3px; }
.header nav a:focus-visible { outline-offset: -2px; }
.header-actions { display: flex; gap: 11px; margin-left: auto; align-items: center; }
.store-header nav { gap: clamp(.55rem, .88vw, .85rem); font-size: .85rem; }
@media (min-width: 1251px) {
  .store-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(.85rem, 1.45vw, 1.3rem);
  }
  .store-header #search { width: clamp(92px, 8vw, 128px); }
}
#search-form { display: flex; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; overflow: hidden; }
#search { border: 0; padding: 8px 0 8px 14px; width: clamp(95px, 14vw, 168px); min-width: 0; background: transparent; font-size: .875rem; }
#search:focus { outline: none; } #search-form:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.search-button { padding: 8px 13px 8px 8px; min-height: 40px; min-width: 39px; border: 0; background: transparent; display: grid; place-items: center; }
.magnifier { width: 13px; height: 13px; border: 1.6px solid currentColor; border-radius: 50%; display: block; position: relative; }
.magnifier::after { content: ""; width: 5px; height: 1.5px; background: currentColor; position: absolute; right: -4px; bottom: -2px; transform: rotate(48deg); }
.cart-button { display: flex; align-items: center; gap: .5rem; background: var(--blush); border: 0; border-radius: 999px; padding: 0 .7rem 0 .85rem; min-height: 42px; white-space: nowrap; color: var(--brand); font-weight: 700; font-size: .875rem; }
.bag { display: inline-block; width: 15px; height: 13px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; margin-top: 4px; }
.bag::after { content: ""; position: absolute; width: 7px; height: 5px; left: 2.5px; top: -6px; border: 1.5px solid currentColor; border-radius: 5px 5px 0 0; border-bottom: 0; }
#cart-count { color: white; background: var(--brand); padding: 0 .35rem; min-width: 1.4rem; text-align: center; border-radius: 30px; }
.showcase { display: grid; grid-template-columns: 2.35fr 1fr; gap: 16px; margin: 22px 0 46px; }
.hero, .beauty-hero { position: relative; overflow: hidden; border-radius: 12px; isolation: isolate; min-width: 0; }
.hero { background: #f3d5c6; min-height: clamp(330px, 36vw, 450px); display: flex; align-items: center; }
.hero img { position: absolute; inset: 0 0 0 auto; height: 100%; width: 66%; object-position: 61% 14%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#f3d5c6 0%,#f3d5c6 36%,#f3d5c6dd 43%,#f3d5c600 66%); z-index: -1; }
.hero-copy { width: min(100%, 490px); padding: 38px clamp(24px, 4.65vw, 64px); }
.eyebrow { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .105em; color: var(--brand); }
.hero-copy .eyebrow { font-size: 1.25097rem; font-weight: 900; color: var(--shop-blue); }
h1 { font: 700 clamp(3.05rem, 6.6vw, 6rem)/.98 var(--serif); letter-spacing: -.061em; margin: .7rem 0 1rem; color: #462630; }
#hero-title { font-size: clamp(1.914625rem, 4.1905vw, 3.793125rem); font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 275px; color: #533a3c; margin-bottom: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1rem; border-radius: 6px; border: 1px solid transparent; font-weight: 700; font-size: .875rem; text-align: center; line-height: 1.3; }
.primary { background: var(--brand); color: #fff9f4; border-color: var(--brand); }
.primary:hover, .primary:focus-visible { background: var(--brand-dark); }
.outline { background: transparent; color: var(--brand); border-color: #b7838c; }
.outline:hover { background: var(--blush); }
.beauty-hero { background: #c78575; display: flex; align-items: flex-end; color: #fff9ef; }
.beauty-hero img { position: absolute; inset: 0; height: 100%; z-index: -2; object-position: center; }
.beauty-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#321318eb,transparent 66%); z-index: -1; }
.beauty-copy { padding: 24px clamp(18px, 3vw, 30px); }
.beauty-copy h2 { font: 700 clamp(1.6rem, 3.5vw, 2.85rem)/1.15 var(--serif); letter-spacing: -.035em; margin-bottom: .4rem; }
.beauty-copy a { font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
#catalog { scroll-margin-top: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.section-head h2, .help h2 { font: 700 clamp(1.85rem, 3.85vw, 3rem)/1.12 var(--serif); letter-spacing: -.042em; color: #492733; }
.section-head p, .help p { color: var(--muted); margin-top: .45rem; }
.shop-address { margin-top: .85rem; color: var(--ink); font-style: normal; }
.shop-address strong { display: block; color: var(--brand); }
.help .directions-link { margin-top: .65rem; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button { border: 1px solid var(--line); border-radius: 999px; min-height: 38px; padding: .32rem .8rem; background: transparent; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.filters button:hover { border-color: var(--brand); } .filters button[aria-pressed="true"] { color: white; background: var(--brand); border-color: var(--brand); }
.products { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
.product { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.product { display: flex; flex-direction: column; }
.product > button { display: block; width: 100%; flex: 1; border: 0; background: none; padding: 0; text-align: left; align-content: start; }
.product > button:focus-visible { outline-offset: -4px; }
.product-visual { position: relative; display: block; background: var(--blush); overflow: hidden; }
.product img { height: auto; aspect-ratio: 1.08; transition: transform .3s; }
.product > button:hover img { transform: scale(1.045); }
.product-visual.no-photo { aspect-ratio: 1.08; display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.detail:has(#detail-image[hidden]) { grid-template-columns: 1fr; }
.product-body { display: grid; gap: .3rem; padding: .85rem .95rem 1rem; }
.product-label { color: var(--muted); font-size: .875rem; }
.product-name { font-weight: 700; line-height: 1.3; }
.price { color: var(--brand); font-weight: 700; }
.empty-search { text-align: center; background: var(--blush); border-radius: 10px; padding: 25px; }
.empty-search p { margin-bottom: 12px; }
#catalog-admin-bar { margin-bottom: 1rem; }
#catalog-load-status:empty, #catalog-owner-status:empty { display: none; }
#catalog-load-status, #catalog-owner-status { margin-bottom: .8rem; color: var(--muted); }
.product-card-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .65rem .65rem; }
.product-card-actions .button { padding: .38rem .6rem; min-height: 36px; font-size: .8rem; }
#product-manage-dialog, #product-delete-dialog { width: min(500px, calc(100% - 24px)); }
#product-manage-form label { display: block; margin: .65rem 0 .3rem; font-size: .875rem; font-weight: 600; }
#product-manage-form input, #product-manage-form select { width: 100%; }
#product-manage-form input:not([type=file]) { padding: .5rem; border-radius: 5px; border: 1px solid var(--line); }
#manage-photo-note { margin-top: .35rem; color: var(--muted); font-size: .8rem; }
.product-manage-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.product-import-fields { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .8rem .8rem; margin: .2rem 0 1rem; }
.product-import-fields legend { padding-inline: .35rem; color: var(--brand); font-weight: 700; font-size: .875rem; }
.product-import-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; }
.product-import-row .button { min-height: 36px; padding-inline: .55rem; font-size: .8rem; white-space: nowrap; }
#product-import-status:not(:empty) { margin-top: .65rem; color: var(--muted); font-size: .83rem; }
#product-manage-status:not(:empty), #product-delete-message { margin-top: .65rem; }
.help { display: flex; justify-content: space-between; align-items: center; gap: 18px; background: var(--blush); border-radius: 12px; margin: 54px 0 40px; padding: clamp(20px,4vw,41px); }
.help h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.help-links, .checkout { display: flex; flex-wrap: wrap; gap: 9px; }
footer { background: #f8efeb; border-top: 1px solid var(--line); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 25px; font-size: .875rem; font-weight: 600; }
dialog { width: min(690px,calc(100% - 24px)); max-height: calc(100% - 24px); border: 1px solid var(--line); border-radius: 14px; padding: 0; color: var(--ink); background: var(--paper); overflow: auto; }
dialog::backdrop { background: #27151991; }
body:has(dialog[open]) { overflow: hidden; }
.close { position: absolute; z-index: 1; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--brand); background: #fffdf9; font-size: 1.55rem; line-height: 1; }
.close:hover { background: var(--blush); }
.detail { display: grid; grid-template-columns: 1fr 1fr; }
.detail img { height: 100%; min-height: 260px; }
.detail-copy { padding: 50px 23px 23px; }
.detail h2, .cart-head h2 { font: 700 clamp(1.55rem,4vw,2.1rem)/1.15 var(--serif); margin: .4rem 0 .7rem; }
#detail-description { margin: .75rem 0 1rem; color: var(--muted); }
#option-group { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
select { appearance: none; border: 1px solid #bc9b9c; background: linear-gradient(45deg, transparent 50%, var(--brand) 50%) calc(100% - 15px) center / 5px 5px no-repeat, linear-gradient(135deg, var(--brand) 50%, transparent 50%) calc(100% - 10px) center / 5px 5px no-repeat; padding: 5px 26px 5px 10px; border-radius: 5px; }
#cart-dialog { width: min(510px,calc(100% - 18px)); }
.cart-head { position: sticky; z-index: 2; top: 0; background: var(--paper); padding: 15px 55px 9px 19px; border-bottom: 1px solid var(--line); }
.cart-content { padding: 16px 19px 22px; }
#cart-items { margin: 0; padding: 0; list-style: none; }
.cart-line { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.cart-line img { aspect-ratio: 1; border-radius: 5px; }
.cart-line p { font-size: .875rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 7px; font-size: .875rem; }
.qty button { border: 1px solid var(--line); background: white; border-radius: 4px; min-width: 32px; min-height: 32px; color: var(--brand); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.05rem; padding-top: 12px; }
.cart-note { margin-block: .55rem .8rem; font-size: .875rem; color: var(--muted); }
label#order-contact:not([hidden]) { display: flex; gap: .5rem; align-items: center; cursor: pointer; }
#account-open { min-height: 42px; white-space: nowrap; border: 1px solid var(--line); background: var(--paper); color: var(--brand); border-radius: 999px; padding: 0 .85rem; font-size: .875rem; font-weight: 700; }
#account-dialog { width: min(430px,calc(100% - 24px)); }
#account-form:not([hidden]) { display: grid; gap: 1rem; }
#account-form label { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .875rem; }
#account-form input { display: block; width: 100%; padding: .65rem; border: 1px solid #bc9b9c; background: white; border-radius: 6px; }
#password-hint, #account-switch, #account-status { font-size: .875rem; }
#password-hint { margin-top: .35rem; color: var(--muted); }
#account-switch, #account-status:not(:empty) { margin-top: .8rem; }
#account-status { color: var(--brand); }
#account-switch-button { background: transparent; color: var(--brand); border: 0; padding: .35rem .15rem; text-decoration: underline; font-weight: 700; }
#account-logout { margin-top: .4rem; }
#account-google { margin-top: 1rem; text-align: center; }
.account-alternative { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; font-size: .875rem; color: var(--muted); }
.account-alternative::before, .account-alternative::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
#account-google-button { display: flex; justify-content: center; }
.privacy-notice { max-width: 760px; padding-block: 2.5rem 3rem; }
.privacy-notice h1 { font-size: clamp(2rem, 6vw, 3.3rem); margin-bottom: 1rem; }
.privacy-notice h2 { font-size: 1.3rem; margin: 1.6rem 0 .45rem; }
.privacy-notice a, #account-google .cart-note a { color: var(--brand); text-decoration: underline; }
@media (max-width: 510px) {
  .header .header-actions { flex: 0 0 100%; margin: 7px 0 0; }
  .header-actions #search-form { flex: 1; min-width: 0; }
  .header-actions #search { width: 100%; min-width: 0; }
}
details { margin-bottom: 12px; } summary { cursor: pointer; color: var(--brand); font-size: .875rem; }
textarea { display: block; width: 100%; padding: 8px; margin-top: 6px; resize: vertical; border: 1px solid var(--line); border-radius: 5px; font-size: .875rem; background: white; }
#notification:not(:empty) { position: fixed; inset: auto 16px 16px auto; z-index: 2; background: var(--brand-dark); color: white; border-radius: 6px; max-width: calc(100% - 32px); padding: .67rem .9rem; font-size: .875rem; }
@media(max-width: 1000px) { .wrap { width: calc(100% - 42px); } .products { grid-template-columns: repeat(3,minmax(0,1fr)); } .header { gap: 22px; } .cart-word { display: none; } }
@media(max-width: 710px) {
  .wrap { width: calc(100% - 30px); }
  .header { flex-wrap: wrap; gap: 3px 12px; padding: 11px 0 8px; }
  nav { order: 3; flex: 0 0 100%; padding-top: 8px; }
  .wordmark { font-size: 1.65rem; }
  .header-actions { gap: 6px; }
  .showcase { grid-template-columns: 1fr; margin-block: 13px 34px; gap: 12px; }
  .hero { min-height: 360px; }
  .hero img { width: 72%; object-position: 57% center; }
  .hero::after { background: linear-gradient(90deg,#f3d5c6 0%,#f3d5c6 27%,#f3d5c6df 41%,#f3d5c600 80%); }
  .hero-copy { padding-inline: 18px; } .hero-copy > p:not(.eyebrow) { max-width: 205px; }
  .beauty-hero { min-height: 168px; }
  .beauty-hero img { object-position: center 47%; }
  .beauty-hero::after { background: linear-gradient(90deg,#321318dd,transparent 88%); }
  .section-head { display: block; }
  .filters { margin-top: 12px; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-body { padding: .65rem; }
  .help { display: block; margin-block: 34px 25px; }
  .help-links { margin-top: 12px; }
}
@media(max-width: 460px) { .detail { grid-template-columns: 1fr; } .detail img { height: 190px; min-height: 0; } .detail-copy { padding: 15px; } }
@media(max-width: 350px) { .shop-bar { font-size: .8rem; } #search { width: 88px; } nav { gap: 10px; } h1 { font-size: 2.75rem; } }
@media(prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto!important; transition: none!important; } }
@media(max-width: 1250px) {
  .header { flex-wrap: wrap; column-gap: 18px; row-gap: 0; padding: 11px 0 8px; }
  .header nav { order: 3; width: 100%; margin: 0; padding-top: 5px; }
}
