:root {
  --paper: #faf6ec;
  --ink: #1e322b;
  --green: #234c38;
  --brass: #efd293;
  --wine: #8b3029;
}
@font-face{font-family:Messiri;src:url('/static/atelier/display.woff2') format('woff2');font-display:swap;font-weight:700}
@font-face{font-family:PlexArabic;src:url('/static/atelier/body.woff2') format('woff2');font-display:swap;font-weight:400}
:root{--ink:#203b30;--paper:#fbfaf5;--green:#123c2b;--muted:#4b5b4f;--brass:#c9cf94;font-family:PlexArabic,Tahoma,Arial,sans-serif}
.delivery-line{background:#243d30;color:#fff9e9;padding:4px 10px;font-size:12px}
.mast{border-bottom:1px solid #c9ceba;background:var(--paper)}
.mast-inner{min-height:68px}
.wordmark,.mast .wordmark{font-family:Georgia,serif;font-size:clamp(29px,3.4vw,46px);font-weight:500;letter-spacing:-.07em}
.mast .nav-order{border:1px solid #94a28e;border-radius:30px;padding:5px 14px}
.atelier-product{background:#e5ebd8;color:var(--ink);margin:22px 0 28px;padding:0;gap:0;border-radius:5px;overflow:hidden;grid-template-columns:1.15fr .85fr;grid-template-rows:1fr auto;grid-template-areas:"gallery head" "offers offers";align-items:stretch}
.atelier-product .heading{padding:clamp(24px,4.3vw,74px);align-self:center}
.brand-line{font:600 11px/1.4 Arial,sans-serif;letter-spacing:.17em;display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#42553b}
.brand-line i{display:inline-block;height:1px;width:23px;background:currentColor}
.atelier-product h1{font:700 clamp(46px,5.5vw,82px)/1.18 Messiri,Georgia,serif;letter-spacing:-.045em;margin:17px 0 6px}
.atelier-product h1 em{font-style:normal;color:#4d642d}
.atelier-product .intro{max-width:32ch;color:#465440;font-size:clamp(15px,1.4vw,19px);line-height:1.8}
.inspect-link{display:inline-flex;align-items:center;gap:12px;border-bottom:1px solid #839278;margin-top:16px;font-size:14px;font-weight:600;padding-bottom:3px}
.atelier-product .gallery{position:relative;min-width:0;display:flex;background:#ced6b9}
.gallery .stage{position:relative;flex:1;min-width:0;min-height:clamp(310px,31vw,440px);background:#fdfcf7;border-radius:0}
.gallery .stage img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.gallery #gallery-image:not([data-detail]) { object-position: right top; }
.detail-watermark { display: none; }
#gallery-image[data-detail] + .detail-watermark {
  display: block;
  position: absolute;
  top: clamp(8px, 1.2vw, 17px);
  right: clamp(8px, 1.2vw, 17px);
  width: clamp(99px, 13vw, 170px);
  aspect-ratio: 3.4;
  background: url('/static/atelier/warning-stamp.webp') right top / contain no-repeat;
  pointer-events: none;
}
.gallery .stage img[data-detail]{object-fit:contain;background:white;padding:12px 0 55px}
.gallery .photo-label{bottom:15px;right:auto;left:14px;background:#f4f5e7e8;color:#283a29;border:0;border-radius:16px;padding:4px 11px;direction:rtl;font-size:12px}
.gallery .filmstrip{position:absolute;bottom:10px;right:12px;margin:0;padding:4px;gap:4px;align-items:center;border-radius:7px;background:#faf9f0ed}
.gallery .filmstrip button{border-radius:4px;width:46px}
.gallery .filmstrip img{height:33px;width:100%;object-fit:contain}
.origin-seal{position:absolute;z-index:1;top:clamp(12px,1.5vw,22px);left:clamp(12px,1.5vw,22px);width:clamp(79px,7.5vw,105px);aspect-ratio:1;display:flex;flex-flow:column;align-items:center;justify-content:center;border:4px double #e0d8b1;border-radius:50%;background:#173e30;color:#fffbdf;box-shadow:0 3px 14px #19322033;text-align:center;transform:rotate(-6deg)}
.origin-seal strong{font:700 clamp(12px,1.3vw,17px)/1.3 Messiri,serif}.origin-seal small{font:600 7px/1.3 Arial,sans-serif;letter-spacing:.1em;margin-top:3px}
.seal-tick{font:700 20px/1.1 Arial,sans-serif;color:#e5e5b3;margin-bottom:3px}
.atelier-product .offer-panel{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.83fr);gap:4px 28px;align-items:center;padding:18px clamp(18px,3.4vw,44px) 14px;margin:0;background:#faf9f1;border:1px solid #c9cfbb;border-top:0}
.offers legend{font-family:Messiri,serif;color:var(--ink);font-size:21px;margin:0 0 3px}
.offers-row{display:grid;grid-template-columns:1.15fr 1fr;gap:8px}
.offer-panel .offer{border:1px solid #c6cbb9;color:#253d2d;background:white;gap:8px;padding:8px 11px;margin:0;min-height:60px;border-radius:6px}
.offer-panel .offer:has(input:checked){background:#e4ebcf;border-color:#4d6545;box-shadow:inset 0 0 0 1px #4d6545}
.offer-copy,.offer-price{gap:0}
.offer-panel .offer small,.offer-panel .offer del{font-size:12px;color:#4a5b43}
.buy-block{align-self:end}
.buy,.offer-panel .buy,.mobile-buy .buy{border-radius:5px;background:#163e2b;color:#fffdf1}
.offer-panel .buy{min-height:48px;justify-content:space-between;padding-inline:18px}
.offer-panel .buy:hover,.buy:hover{background:#28563b}
.offer-panel .included{font-size:12px;margin:3px 0 0;color:#40523f;text-align:center}
.warning{grid-column:1/-1;border:0;background:transparent;color:#862d25;margin:6px 0 0;padding:3px 0;display:flex;align-items:center;gap:9px;justify-content:flex-start}
.warning b{background:#fae5db;border-radius:20px;padding:1px 10px}.warning a{text-decoration:underline;text-underline-offset:3px;color:#753831}
.ritual-feature{margin:clamp(30px,6vw,78px) 0;display:grid;grid-template-columns:1.08fr 1fr;align-items:center;background:#f1ebdb}
.ritual-feature figure{margin:0;position:relative}.ritual-feature img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover}
.ritual-feature figcaption{position:absolute;bottom:12px;right:12px;background:#173e30;color:#fff8da;border-radius:18px;padding:3px 12px;font-size:12px}
.ritual-feature>div{padding:clamp(20px,3.5vw,48px)}.ritual-feature h2,.guide-heading h2,.order-side h2,.contact h2,.details h2{font-family:Messiri,Georgia,serif;font-weight:700;line-height:1.35}
.ritual-feature h2{font-size:clamp(30px,3.1vw,48px);margin:0 0 4px}.ritual-feature p{color:#4b5749}.ritual-feature ol{padding-inline-start:22px;line-height:1.7;margin:14px 0 0}.ritual-feature li{padding-block:3px}
@media (min-width: 721px) and (max-width: 950px) {
  .gallery #gallery-image:not([data-detail]) {
    object-fit: contain;
    object-position: center;
    background: #d7dec9;
  }
}
@media(max-width:950px) and (min-width:721px){.offer-panel .offer{flex-wrap:wrap}.offer-panel .offer-price{width:100%;display:flex;gap:6px;padding-inline-start:26px}.atelier-product .offer-panel{gap:8px 16px}}
@media(max-width:720px){
  .delivery-line{font-size:11px}.mast-inner{min-height:49px}.mast .wordmark{font-size:27px}.mast nav{gap:11px}.mast .nav-order{display:none}
  .atelier-product{margin:11px 0 22px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:"gallery" "head" "offers";gap:0}
  .gallery .stage{min-height:0;height:clamp(208px,57vw,345px)}.gallery .stage img{object-position:50% 56%}
  .origin-seal{width:71px;top:9px;left:9px}.origin-seal strong{font-size:12px}.origin-seal small{font-size:6px}.seal-tick{font-size:16px}
  .gallery .filmstrip{right:6px;bottom:6px;padding:2px;gap:3px}.gallery .filmstrip button{width:39px;min-height:32px}.gallery .filmstrip img{height:28px}
  .gallery .photo-label{bottom:8px;left:6px;font-size:10px}
  .atelier-product .heading{padding:12px 16px}.brand-line{font-size:9px}.atelier-product h1{font-size:clamp(32px,8vw,43px);margin:5px 0 0}.atelier-product h1 br{display:none}.atelier-product h1 em::before{content:" "}
  .atelier-product .intro{font-size:14px;max-width:none;line-height:1.55}.heading .inspect-link{display:none}
  .atelier-product .offer-panel{grid-template-columns:1fr;gap:8px;padding:10px 13px;background:#fffdf5}
  .offers legend{font-size:16px}.offer-panel .offer{display:grid;grid-template-columns:16px 1fr;gap:0 5px;padding:6px 7px;min-height:55px}
  .offer-panel .offer input{width:15px;height:15px;align-self:start;margin-top:4px}.offer-copy b,.offer-price b{font-size:14px}.offer-copy small{font-size:11px}
  .offer-price{grid-column:2;display:flex;gap:5px;align-items:center;margin:0}.offer-price del{font-size:10px}.offer-panel .buy{min-height:42px}.warning{margin:0;font-size:12px}.offer-panel .included{font-size:11px}
  .ritual-feature{grid-template-columns:1fr}.ritual-feature>div{padding:18px}.ritual-feature h2{font-size:31px}
}

.checkout-card { background:#fffdf7; border-color:#d5cbb8; box-shadow:0 8px 28px #3c372009; border-radius:15px }
.fields .buy,.mobile-buy .buy,.contact .buy { border-radius:30px }
.original,.contact { margin:40px 0; display:grid; grid-template-columns:1fr 1.2fr; align-items:center; gap:clamp(22px,5vw,78px); }
.original h2,.contact h2 { font:600 clamp(32px,4vw,58px)/1.22 Georgia,serif; margin:9px 0 }
.original h2 em { color:#95623c }
.original-copy>p,.contact p { line-height:1.9; color:#575b4f }
.alert-box { border-inline-start:4px solid #aa423c; background:#f9e8de; padding:12px 16px; color:#822a24; margin-top:18px }
.alert-box p { line-height:1.7; font-size:14px; margin-top:4px }
.photo-duo { display:grid; grid-template-columns:1fr 1fr; gap:10px }
.photo-duo button { color:var(--ink); border:1px solid #dbd5c9; background:#fff; padding:0; border-radius:10px; overflow:hidden }
.photo-duo img { display:block; width:100%; height:auto }
.photo-duo span { padding:10px; border-top:1px solid #eee9df; display:flex; justify-content:space-between; align-items:center; font-size:14px }
#photo-view { position:fixed; max-width:min(88vw,620px); padding:14px; border:0; border-radius:12px; color:var(--ink); text-align:center }
#photo-view::backdrop { background:#12251ee0 }
#photo-view img { display:block; max-width:100%; max-height:75vh; margin:auto }
.close-view { float:left; border:1px solid #b8b3a7; border-radius:50%; background:white; height:42px; width:42px; font-size:22px }
.details { border-block:1px solid #d7cdbb; margin-bottom:24px }
.contact { padding:30px; background:#f2e7d6; border-radius:15px }
.contact a { text-decoration:underline }
.contact .buy { text-decoration:none }
.contact-status { padding:8px; font-weight:bold }
@media(max-width:720px){
 .original,.contact { grid-template-columns:minmax(0,1fr); gap:16px; margin:24px 0 }.contact { padding:17px }
 .photo-duo span { font-size:12px }.warning { font-size:12px }.mobile-buy { align-items:center }.mobile-buy .buy { background:#234934 }
 body:has(#contact :focus) .mobile-buy { display:none }
}

.pack-guide {
  margin-block: clamp(32px, 5vw, 72px);
  scroll-margin-block-start: 18px;
}
.guide-heading, .guide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 5vw, 68px);
}
.guide-heading { align-items: end; margin-bottom: 22px; }
.guide-heading h2 { margin: 6px 0 0; font: 600 clamp(36px, 4.5vw, 64px)/1.22 Georgia, serif; }
.guide-heading h2 em { color: #95623c; font-style: normal; }
.guide-heading > p, .guide-checks dd, .guide-notice p { line-height: 1.8; }
.guide-heading > p { color: var(--muted); max-width: 52ch; }
.guide-layout { padding: clamp(14px, 2.5vw, 32px); background: #f3ecdf; border: 1px solid #e2d7c6; border-radius: 14px; align-items: center; }
.guide-photos { display: grid; grid-template-columns: 1.22fr 1fr; align-items: center; gap: 10px; min-width: 0; }
.guide-photos button { padding: 0; overflow: hidden; border: 1px solid #ded3c2; border-radius: 8px; background: #fff; color: var(--ink); min-width: 0; }
.guide-photos button > img, .label-crop { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; height: auto; }
.guide-photos button > span:last-child { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-top: 1px solid #ebe4d5; text-align: start; font-size: 13px; }
.label-crop { overflow: hidden; position: relative; background: white; }
.label-crop img { position: absolute; width: 375%; height: auto; max-width: none; top: 50%; left: 50%; transform: translate(-50%, -65%); }
.guide-checks h3 { margin: 0 0 10px; font-size: 24px; }
.guide-checks dl { margin: 0 0 10px; }
.guide-checks dl > div { padding: 10px 0; border-top: 1px solid #d9cebb; }
.guide-checks dt { font-weight: bold; color: #224834; }
.guide-checks dd { margin: 3px 0 0; color: #3f493f; font-size: 15px; }
.reference-link { color: #355641; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.guide-notice { display:flex; gap: 15px; align-items: center; justify-content: space-between; background: #f7e5de; border-inline-start: 4px solid #a33a31; border-radius: 6px; color:#7f2a25; padding: 13px 18px; margin-top: 12px; }
.guide-notice p { font-size: 14px; }
.guide-notice a { flex-shrink: 0; font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:720px) {
  .guide-heading, .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .guide-heading { margin-bottom: 12px; }
  .guide-photos { max-width: 410px; }
  .guide-photos button > img, .label-crop { aspect-ratio: 1.15; object-fit: contain; }
  .guide-notice { flex-wrap: wrap; gap: 5px; }
}

/* Keep the product clear and the gallery controls within thumb reach. */
.gallery-tools { display: contents; }
@media (max-width: 720px) {
  .atelier-product .gallery { flex-direction: column; }
  .gallery .stage { flex: none; height: clamp(184px, 53vw, 325px); }
  .gallery .stage img[data-detail] { padding: 6px 0; }
  .gallery-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 3px 5px;
    background: #f8f8ef;
    border-bottom: 1px solid #d2d7c5;
  }
  .gallery-tools .photo-label {
    position: static;
    padding: 0 3px;
    background: transparent;
    font-size: 12px;
    line-height: 1.3;
    text-align: start;
  }
  .gallery-tools .filmstrip {
    position: static;
    flex: none;
    gap: 3px;
    padding: 0;
    background: transparent;
  }
  .gallery-tools .filmstrip button { width: 44px; height: 44px; }
  .gallery-tools .filmstrip img { height: 36px; }
  .mast nav a:not(.nav-order), .edit {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .offer-panel .buy, .mobile-buy .buy, .close-view { min-height: 44px; }
  .close-view { min-width: 44px; }
}
@media (max-width: 480px) {
  .fields .two { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
