/* Slate Atelier — storefront presentation only. Admin retains its existing stylesheet. */
body.storefront {
  --cream: #faf9f6;
  --paper: #fffefd;
  --green: #26343a;
  --gold: #bd5949;
  --ink: #26343a;
  --muted: #647074;
  --line: #e3e2dd;
  --coral: #ed5c50;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
}
.storefront .skip-link { position: fixed; top: -70px; left: 16px; z-index: 30; padding: 14px 20px; background: var(--ink); color: white; }
.storefront .skip-link:focus { top: 12px; }
.storefront :is(button, a, input, select, textarea):focus-visible { outline: 2px solid #bd5949; outline-offset: 4px; }
.storefront .announcement { background: var(--ink); color: #fffefd; padding: 11px 20px; font-size: 10px; letter-spacing: 1.4px; line-height: 1.5; }
.storefront .announcement span { margin: 0 9px; color: #fffefd; }
.storefront header { max-width: 1440px; height: 104px; padding: 0 48px; gap: 28px; border-color: var(--line); background: var(--paper); }
.storefront .brand { gap: 16px; flex-shrink: 0; }
.storefront .brand-logo { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: contain; }
.storefront .brand strong { font: 500 31px/1.1 'DM Sans', Arial, sans-serif; letter-spacing: -1.3px; }
.storefront .brand .dot { color: var(--coral); }
.storefront .brand small { color: var(--muted); font-size: 8px; letter-spacing: 1.4px; margin-top: 7px; }
.storefront header nav { display: flex; margin-left: auto; gap: 26px; color: var(--ink); font-size: 12px; }
.storefront nav a { padding: 9px 0; }
.storefront nav a:hover { color: #a54537; }
.storefront nav a.active { color: var(--ink); border-bottom: 1px solid var(--coral); }
.storefront .bag { display: inline-flex; flex-shrink: 0; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 10px 13px; background: transparent; color: var(--ink); min-height: 44px; font-size: 12px; }
.storefront .bag svg { flex-shrink: 0; }
.storefront .bag .bag-label { background: transparent; color: inherit; padding: 0; border-radius: 0; font-size: 12px; }
.storefront .bag #count { display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; font-size: 10px; border-radius: 50%; color: white; background: var(--ink); }
.storefront main { max-width: 1440px; }
.storefront .atelier-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; padding: 0; margin: 0; border: 0; background: #f8f7f3; min-height: 365px; overflow: hidden; }
.storefront .hero-copy { padding: 40px 35px 30px 48px; position: relative; z-index: 1; }
.storefront .eyebrow { font: 600 9px/1.6 'DM Sans', Arial, sans-serif; letter-spacing: 2px; color: #a54537; }
.storefront h1 { color: var(--ink); font: 400 clamp(45px, 4.2vw, 66px)/1.02 Georgia, 'Times New Roman', serif; letter-spacing: -2.5px; margin: 17px 0 17px; }
.storefront h1 em { color: var(--ink); font-style: normal; }
.storefront .hero-rule { display: block; width: 43px; height: 2px; background: var(--coral); margin: 22px 0 16px; }
.storefront .intro p { color: #536267; font-size: 14px; line-height: 1.7; max-width: 440px; margin: 0 0 20px; }
.storefront .hero-visual { min-width: 0; min-height: 100%; position: relative; background: #ece9e0; }
.storefront .hero-visual > img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 62% center; }
.storefront .searchrow { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; max-width: 550px; }
.storefront .search { width: 100%; flex: 1 1 100%; min-width: 0; gap: 13px; background: var(--paper); border: 1px solid #cccfc9; border-radius: 7px; padding: 14px 17px; box-shadow: 0 4px 20px #26343a04; }
.storefront .search svg { flex-shrink: 0; }
.storefront .search input { min-width: 0; width: 100%; padding: 3px 0; font-size: 13px; outline: none; color: var(--ink); }
.storefront .search:focus-within { outline: 2px solid #bd5949; outline-offset: 3px; }
.storefront .search input:focus-visible { outline: none; }
.storefront .search input::placeholder { color: #6b7578; opacity: 1; }
.storefront .help { display: inline-block; white-space: normal; font-size: 11px; color: var(--ink); border-bottom: 1px solid #adb4b2; line-height: 1.6; padding-bottom: 3px; }
.storefront .hero-copy .help { color: #536267; font-size: 10px; }
.storefront .shop { padding: 0 48px 56px; scroll-margin-top: 20px; }
.storefront .category-row { display: flex; align-items: center; gap: 24px; padding: 22px 0 10px; border-bottom: 1px solid var(--line); }
.storefront .categories { flex: 1; min-width: 0; display: flex; overflow-x: auto; gap: 8px; padding: 3px 3px 12px; scrollbar-width: thin; }
.storefront .categories button { border: 1px solid transparent; border-radius: 30px; background: #f0efeb; padding: 11px 19px; color: var(--ink); font-size: 11px; min-height: 42px; }
.storefront .categories button:hover { border-color: #b8c0c1; background: #e9eae6; }
.storefront .categories button.selected { background: var(--ink); border-color: var(--ink); color: white; }
.storefront .availability-note { flex: 0 0 235px; font-size: 10px; line-height: 1.7; color: #5e6a6e; border-left: 1px solid var(--line); padding-left: 22px; margin: 0 0 10px; }
.storefront .catalogue-head { border: 0; padding: 23px 0; gap: 20px; }
.storefront .catalogue-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 17px; }
.storefront h2 { font: 400 31px/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -.7px; }
.storefront .catalogue-head span { color: var(--muted); font-size: 10px; }
.storefront .sort { color: var(--muted); font-size: 10px; gap: 8px; flex-shrink: 0; }
.storefront .sort select { min-height: 40px; color: var(--ink); font-size: 11px; max-width: 150px; }
.storefront .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px 20px; }
.storefront .card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); padding: 0; overflow: hidden; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.storefront .card:hover { border-color: #bcc5c6; box-shadow: 0 8px 24px #26343a08; }
.storefront .image-button { border-radius: 0; background: #f3f1ec; aspect-ratio: 1.2; }
.storefront .image-button img { display: block; object-fit: contain; padding: 12px; mix-blend-mode: multiply; transition: transform .4s; }
.storefront .image-button:hover img { transform: scale(1.035); }
.storefront .tag { background: #fffefd; color: var(--muted); padding: 7px 9px; border-radius: 3px; font-size: 8px; }
.storefront .card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.storefront .card-category { color: #a54537; font-size: 8px; letter-spacing: 1.3px; line-height: 1.5; margin: 0 0 7px; }
.storefront .product-name { color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.45; margin: 0; min-height: 40px; overflow-wrap: anywhere; }
.storefront .card-code { color: var(--muted); font-size: 9px; margin: 7px 0 0; min-height: 14px; }
.storefront .price-row { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 14px; margin: 12px 0 0; }
.storefront .price-row > div:first-child:not(.qty) { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.storefront .price-row strong { color: var(--ink); font-size: 19px; font-weight: 600; }
.storefront .price-row small { display: inline; color: var(--muted); font-size: 10px; margin: 0; }
.storefront .add { width: 100%; min-height: 43px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: white; padding: 11px 15px; font-size: 12px; }
.storefront .add:hover, .storefront .primary:hover { background: #3d515a; color: white; }
.storefront .qty { display: inline-flex; justify-content: space-between; align-items: center; border: 1px solid #c8cecd; border-radius: 5px; gap: 0; }
.storefront .qty button { min-height: 42px; min-width: 42px; padding: 6px 12px; color: var(--ink); font-size: 18px; }
.storefront .qty button:hover { background: #efefea; }
.storefront .qty span { min-width: 26px; color: var(--ink); font-size: 12px; }
.storefront .unavailable { display: grid; place-items: center; min-height: 43px; max-width: none; text-align: center; background: #f3f2ee; color: var(--muted); font-size: 11px; border-radius: 5px; }
.storefront .pagination { flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.storefront .pagination button { width: 40px; height: 40px; border-radius: 5px; border-color: var(--line); background: var(--paper); color: var(--ink); }
.storefront .pagination button.selected { background: var(--ink); color: white; }
.storefront .empty { padding: 56px 20px; color: var(--muted); }
.storefront .empty h2 { color: var(--ink); }
.storefront .empty p { line-height: 1.8; }
.storefront .empty .add { max-width: 200px; }
.storefront .studio-strip { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 48px; padding: 30px 35px; background: #f2f1ed; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); }
.storefront .studio-strip .flower { color: #bd5949; font-size: 37px; }
.storefront .studio-strip p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.storefront .studio-strip a { color: var(--ink); margin-left: auto; max-width: none; border-color: #9ba6a7; font-size: 11px; line-height: 1.7; }
.storefront .seo-local { margin: 25px 48px 40px; padding: 30px 0 0; border-color: var(--line); color: var(--muted); font-size: 12px; line-height: 1.9; }
.storefront .seo-local h2 { font-size: 30px; }
.storefront .seo-local h3 { font-size: 14px; margin: 24px 0 8px; }
.storefront .seo-local p { max-width: 880px; }
.storefront .seo-local details { border-color: var(--line); }
.storefront .seo-local summary { min-height: 30px; font-size: 12px; }
.storefront footer { max-width: 1440px; padding: 44px 48px 24px; margin-top: 40px; gap: 32px; background: var(--ink); color: #fffefd; }
.storefront .footer-logo { float: left; width: 64px; height: 64px; margin: 0 14px 20px 0; border-radius: 50%; }
.storefront footer h2 { color: white; font: 500 27px 'DM Sans', Arial, sans-serif; letter-spacing: -1px; }
.storefront footer h3 { color: #f0bbb1; font-size: 10px; letter-spacing: 1.7px; }
.storefront footer p, .storefront footer a, .storefront footer small { font-size: 11px; line-height: 1.9; color: #d7dedc; }
.storefront footer a:hover { color: white; text-decoration: underline; }
.storefront .footer-bottom { gap: 12px; border-color: #ffffff26; color: #cad3d2; font-size: 10px; }
.storefront dialog { max-height: 90dvh; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 90px #26343a30; }
.storefront dialog::backdrop { background: #26343a80; backdrop-filter: blur(4px); }
.storefront .close { color: var(--ink); min-width: 44px; min-height: 44px; top: 8px; right: 8px; z-index: 2; }
.storefront .product-layout img { object-fit: contain; border-radius: 7px; background: #f5f3ee; }
.storefront .product-info h2 { font-size: 34px; }
.storefront .product-info p { color: var(--muted); line-height: 1.8; }
.storefront .primary { display: inline-block; background: var(--ink); color: white; font-size: 13px; min-height: 46px; border-radius: 5px; padding: 14px 20px; }
.storefront .primary:disabled { opacity: .5; cursor: not-allowed; }
.storefront .cart-dialog { max-width: 470px; border-radius: 0; height: 100dvh; max-height: 100dvh; }
.storefront .drawer-head h2 { font-size: 34px; }
.storefront .drawer-head small { color: #a54537; }
.storefront .cart-actions { gap: 8px; flex-wrap: wrap; }
.storefront .cart-actions > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.storefront .cart-actions strong { font-size: 13px; }
.storefront .cart-line { grid-template-columns: 65px minmax(0, 1fr); }
.storefront .cart-line h3 { overflow-wrap: anywhere; }
.storefront .remove { font-size: 11px; color: var(--muted); min-height: 36px; }
.storefront .totals > div { gap: 18px; line-height: 1.6; }
.storefront .totals > div > :last-child { text-align: right; }
.storefront .order-note, .storefront .form-note { font-size: 11px; color: var(--muted); line-height: 1.8; }
.storefront .checkout-dialog input:not([type=radio]), .storefront .checkout-dialog textarea { min-height: 44px; font-size: 14px; border-color: #c9cecb; }
.storefront .checkout-dialog input[type=radio] { accent-color: var(--ink); }
.storefront .radio { display: inline-flex; align-items: center; min-height: 36px; gap: 6px; }
.storefront #checkout-summary { background: #f4f2ed; overflow-wrap: anywhere; }
.storefront #toast { border-radius: 6px; background: var(--ink); box-shadow: 0 5px 24px #26343a20; }
.storefront .seo-page { padding: 38px 48px 56px; }
.storefront .seo-page h1 { font-size: clamp(34px, 4vw, 55px); line-height: 1.12; }
.storefront .seo-catalogue article { background: var(--paper); border-color: var(--line); border-radius: 7px; padding: 20px; }
.storefront .seo-catalogue a { line-height: 1.6; }
.storefront .seo-catalogue a:hover { text-decoration: underline; text-underline-offset: 3px; }
.storefront .seo-catalogue span { display: block; margin-top: 7px; line-height: 1.7; }
.storefront .seo-breadcrumb { display: block; white-space: normal; line-height: 1.8; }
.storefront .seo-product { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.storefront .seo-product img { border-radius: 8px; }
@media (min-width: 1441px) {
  .storefront header, .storefront main, .storefront footer { border-left: 1px solid #eeede8; border-right: 1px solid #eeede8; }
}
@media (max-width: 1050px) {
  .storefront header { padding: 0 28px; gap: 20px; }
  .storefront header nav { gap: 17px; font-size: 11px; }
  .storefront .brand strong { font-size: 28px; }
  .storefront .brand small { letter-spacing: .7px; }
  .storefront .brand-logo { width: 56px; height: 56px; }
  .storefront .hero-copy { padding: 32px 26px 25px 28px; }
  .storefront h1 { font-size: 50px; letter-spacing: -2px; }
  .storefront .intro p { font-size: 12px; }
  .storefront .shop, .storefront .seo-page { padding-left: 28px; padding-right: 28px; }
  .storefront .availability-note { flex-basis: 200px; padding-left: 16px; }
  .storefront .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .storefront .studio-strip { margin: 0 28px; }
  .storefront .seo-local { margin-left: 28px; margin-right: 28px; }
  .storefront footer { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 760px) {
  .storefront header { height: 88px; padding: 0 20px; gap: 14px; }
  .storefront header nav { display: none; }
  .storefront .brand { gap: 10px; }
  .storefront .brand strong { font-size: 26px; }
  .storefront .brand-logo { width: 52px; height: 52px; }
  .storefront .brand small { font-size: 7px; letter-spacing: .6px; }
  .storefront .bag { margin-left: auto; padding: 8px 10px; gap: 6px; }
  .storefront .bag-label { display: none; }
  .storefront .bag .bag-label { background: transparent; color: inherit; border-radius: 0; }
  .storefront .atelier-hero { grid-template-columns: 1fr; min-height: 0; }
  .storefront .hero-copy { padding: 28px 20px 22px; }
  .storefront h1 { font-size: clamp(39px, 8vw, 54px); letter-spacing: -1.8px; margin-top: 12px; }
  .storefront .hero-rule { margin: 17px 0 12px; }
  .storefront .intro p { font-size: 13px; max-width: 440px; margin-bottom: 17px; }
  .storefront .hero-visual { display: none; }
  .storefront .hero-copy .help { display: inline-block; }
  .storefront .search { padding: 12px 14px; }
  .storefront .search input { font-size: 16px; }
  .storefront .category-row { display: block; padding-top: 16px; }
  .storefront .availability-note { border: 0; padding: 0 3px; margin: 0 0 12px; font-size: 10px; }
  .storefront .categories { padding-bottom: 12px; }
  .storefront .categories button { padding: 10px 16px; font-size: 11px; }
  .storefront .shop { padding: 0 18px 32px; }
  .storefront .catalogue-head { padding: 19px 0; gap: 12px; align-items: flex-start; }
  .storefront .catalogue-head > div { display: block; }
  .storefront .catalogue-head h2 { font-size: 27px; }
  .storefront .catalogue-head span { display: block; margin-top: 6px; font-size: 10px; }
  .storefront .sort { display: block; text-align: right; font-size: 9px; }
  .storefront .sort select { display: block; width: 125px; margin-top: 0; font-size: 10px; min-height: 36px; }
  .storefront .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 12px; }
  .storefront .card { border-radius: 6px; padding: 0; }
  .storefront .image-button { aspect-ratio: 1; }
  .storefront .image-button img { padding: 8px; }
  .storefront .card-body { padding: 12px 10px; }
  .storefront .card-category { margin: 0 0 7px; font-size: 7px; letter-spacing: .8px; }
  .storefront .product-name { font-size: 12px; line-height: 1.5; min-height: 37px; margin: 0; }
  .storefront .card-code { font-size: 8px; min-height: 13px; margin: 5px 0 0; }
  .storefront .price-row { gap: 12px; margin: 10px 0 0; }
  .storefront .price-row strong { font-size: 17px; }
  .storefront .price-row small { font-size: 9px; }
  .storefront .add { padding: 9px 8px; font-size: 11px; }
  .storefront .unavailable { font-size: 10px; }
  .storefront .studio-strip { margin: 0 18px; padding: 25px 20px; gap: 16px; }
  .storefront .studio-strip h2 { font-size: 27px; }
  .storefront .studio-strip a { margin-left: 0; }
  .storefront .studio-strip .flower { display: none; }
  .storefront .seo-local { margin: 10px 20px 28px; font-size: 12px; }
  .storefront .seo-local h2 { font-size: 28px; }
  .storefront footer { padding: 30px 20px 20px; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 30px; }
  .storefront .footer-brand { grid-column: 1/-1; }
  .storefront .footer-bottom { display: flex; flex-direction: column; line-height: 1.8; }
  .storefront .footer-logo { width: 56px; height: 56px; }
  .storefront .cart-dialog { width: 100%; max-width: 470px; border-radius: 0; padding: 26px 22px; }
  .storefront .product-layout { grid-template-columns: 1fr; gap: 10px; }
  .storefront .product-layout img { max-height: 260px; }
  .storefront .product-info { padding-top: 5px; }
  .storefront .product-info h2 { font-size: 31px; }
  .storefront .checkout-dialog { padding: 32px 22px 25px; }
  .storefront .checkout-dialog h2 { font-size: 32px; }
  .storefront .seo-page { padding: 28px 20px 40px; }
  .storefront .seo-catalogue { grid-template-columns: 1fr; }
  .storefront .seo-product { grid-template-columns: 1fr; gap: 20px; }
  .storefront .seo-page .help { display: inline-block; }
}
@media (max-width: 360px) {
  .storefront .brand strong { font-size: 23px; }
  .storefront .brand-logo { width: 43px; height: 43px; }
  .storefront .brand small { letter-spacing: 0; }
  .storefront .bag { padding: 7px; }
  .storefront .bag svg { width: 20px; }
  .storefront .catalogue-head h2 { font-size: 24px; }
  .storefront .sort select { width: 115px; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront *, .storefront *::before, .storefront *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Customer policies */
.storefront .policy-copy { max-width: 800px; margin: 0 auto; }
.storefront .policy-copy h2 { margin: 30px 0 12px; font-size: 26px; }
.storefront .policy-copy p { line-height: 1.9; }
.storefront .policy-copy a { text-decoration: underline; text-underline-offset: 3px; }
.storefront .policy-back { margin-top: 32px; }
.storefront .footer-policies { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 18px; border-top: 1px solid #ffffff26; }
.storefront .footer-policies a { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
