/* Shared botanical identity. Loaded after the original layout stylesheet. */
@font-face {
  font-family: "Valmeo Editorial";
  src: url("./assets/valmeo-editorial.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Valmeo Editorial";
  src: url("./assets/valmeo-editorial-italic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #354c3e;
  --muted: #626956;
  --paper: #f6f0e5;
  --surface: #fffbf4;
  --sage: #526b51;
  --clay: #9f573c;
  --rose: #edc9ac;
  --line: rgba(67, 84, 57, .17);
  --shadow: 0 22px 65px rgba(44, 66, 47, .13);
}
body, .checkout-page { background: #f8f4ec; }
body::before,
body::after {
  position: fixed;
  top: 7vh;
  z-index: 0;
  width: clamp(145px, 19vw, 305px);
  height: min(86vh, 820px);
  pointer-events: none;
  content: "";
  background: url("./assets/botanical-branch.svg") center / contain no-repeat;
  opacity: .15;
  mix-blend-mode: multiply;
}
body::before { left: -3.2vw; transform: rotate(-4deg); }
body::after { right: -3.2vw; transform: scaleX(-1) rotate(-6deg); }
body > header,
body > main,
body > footer { position: relative; z-index: 1; }
section[id] { scroll-margin-top: 96px; }
h2, .brand, .footer-brand strong, .order-summary h2, .checkout-form legend,
.legal-title, .checkout-details h1, .checkout-status h1 {
  font-family: "Valmeo Editorial", Georgia, serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -.025em;
}
.eyebrow { letter-spacing: .14em; font-size: .68rem; line-height: 1.6; }
.site-header, .legal-header, .checkout-header {
  isolation: isolate;
  overflow: hidden;
  padding: 14px clamp(18px, 5vw, 80px);
  background: rgba(255, 251, 244, .95);
  border-bottom-color: var(--line);
}
.site-header::before, .legal-header::before, .checkout-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: url("./assets/botanical-sprig.svg"), url("./assets/botanical-sprig.svg");
  background-position: left 5% center, right 4% center;
  background-repeat: no-repeat;
  background-size: clamp(230px, 30vw, 430px) auto;
  opacity: .13;
  transform: translateY(3px);
}
.brand { font-size: 1.4rem; gap: 12px; }
.brand-mark { border-radius: 50%; width: 46px; height: 46px; }
.desktop-nav { gap: 28px; font-size: .86rem; }
.desktop-nav a { padding: 10px 0; border-bottom: 1px solid transparent; }
.desktop-nav a:hover { color: var(--clay); border-color: currentColor; }
.cart-toggle { background: var(--ink); padding: 10px 15px; font-size: .82rem; }
.button { font-size: .9rem; min-height: 48px; padding: 12px 22px; transition: background .2s, box-shadow .2s, transform .2s; }
.button.primary { background: var(--clay); }
.button.primary:hover:not(:disabled) { background: #84472f; box-shadow: 0 6px 18px #9f573c20; }
.button.secondary { background: transparent; border: 1px solid var(--line); }
.button:disabled, .button[aria-disabled="true"] { background: #e2ded2; color: #62665b; box-shadow: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #6c8059; outline-offset: 4px; }
.intro-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0 5vw;
  border: 0;
  border-block: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: #e9ecdf;
}
.intro-band div { display: flex; align-items: center; padding: 28px 28px; }
.intro-band strong { font: italic 500 clamp(1.45rem, 2vw, 1.9rem)/1.2 "Valmeo Editorial", Georgia, serif; }
.intro-band span {
  max-width: 480px;
  font: italic 500 clamp(1rem, 1.35vw, 1.25rem)/1.55 "Valmeo Editorial", Georgia, serif;
}
.section { max-width: 1640px; margin: 0 auto; padding: 80px 5vw 95px; }
.section-heading { max-width: 700px; margin-bottom: 30px; }
.section-heading h2 { font-family: "Valmeo Editorial", Georgia, serif; font-weight: 500; font-style: normal; font-size: clamp(2.4rem, 4vw, 4rem); margin-bottom: 15px; }
.section-intro { color: var(--muted); font-size: .95rem; line-height: 1.7; max-width: 540px; }
.filters { gap: 10px; margin-bottom: 32px; }
.filter { min-height: 44px; padding: 10px 24px; background: #fffbf4; font-size: .83rem; }
.filter:hover { border-color: var(--sage); }
.filter.active { color: white; background: var(--sage); border-color: var(--sage); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.product-card { border: 1px solid #53664412; border-radius: 16px; box-shadow: none; background: #fffbf4; }
.product-card:hover { box-shadow: 0 15px 35px #43563514; transform: translateY(-4px); }
.product-image { aspect-ratio: 1; }
.product-content { display: flex; flex-direction: column; padding: 18px; }
.product-meta { order: 1; margin-bottom: 12px; font-size: .86rem; }
.product-tag { font-size: .6rem; letter-spacing: .12em; color: #697254; }
.price { color: var(--clay); font-weight: 700; }
.product-content h3 { order: 0; font-family: "Valmeo Editorial", Georgia, serif; font-weight: 500; font-size: 1.6rem; line-height: 1.15; margin-bottom: 12px; }
.product-stock { display: block; margin-top: 7px; font-family: "Trebuchet MS", sans-serif; font-size: .67rem; font-weight: 400; color: var(--muted); line-height: 1.4; }
.product-content .button { order: 2; font-size: .8rem; min-height: 44px; padding: 10px; margin: 0; }
.stock-ribbon { top: 15px; right: 12px; width: auto; padding: 7px 12px; transform: none; box-shadow: none; border-radius: 999px; font-size: .62rem; background: #695f52; }
.about {
  position: relative;
  max-width: 1476px;
  margin: 0 auto;
  padding: 95px max(5vw, 30px) 105px;
  overflow: hidden;
}
.about-heading { max-width: 760px; margin-bottom: 28px; }
.about-heading h2 { margin: 0; font: 500 clamp(4rem, 7vw, 7rem)/.95 "Valmeo Editorial", Georgia, serif; color: var(--ink); }
.about-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(42px, 7vw, 105px);
  min-height: 560px;
  padding: clamp(52px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
}
.about-card::after {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: 180px;
  height: 70px;
  pointer-events: none;
  content: "";
  background: url("./assets/botanical-sprig.svg") center / contain no-repeat;
  opacity: .1;
}
.about-card-reverse .about-media { order: 2; }
.about-card-reverse .about-copy { order: 1; padding-left: clamp(0px, 4vw, 50px); }
.about-media { position: relative; height: clamp(430px, 48vw, 650px); }
.about-media::before {
  position: absolute;
  inset: -18px 20px 22px -18px;
  z-index: 0;
  content: "";
  background: #e8ddc9;
  border-radius: 39% 14% 42% 17% / 18% 38% 16% 40%;
  transform: rotate(-2deg);
}
.about-card-reverse .about-media::before { inset: 18px -18px -16px 20px; transform: rotate(2deg); background: #dfe6d5; }
.about-media img { position: relative; z-index: 1; border-radius: 36% 13% 40% 16% / 17% 38% 15% 42%; object-fit: cover; box-shadow: 0 22px 55px rgba(53, 76, 62, .13); }
.about-card-reverse .about-media img { border-radius: 13% 38% 15% 40% / 36% 16% 42% 14%; }
.about-collage {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.about-collage figure {
  position: relative;
  z-index: 1;
  height: 100%;
  margin: 0;
  border: 8px solid #f8f4ec;
  border-radius: 32% 12% 34% 14% / 15% 32% 13% 35%;
  overflow: hidden;
  background: #d7d8d4;
  box-shadow: 0 20px 45px rgba(53, 76, 62, .2);
}
.about-collage .about-collage-primary {
  justify-self: start;
  transform: rotate(-3deg);
}
.about-collage .about-collage-secondary {
  justify-self: end;
  transform: rotate(3deg);
}
.about-collage figure img {
  position: static;
  width: auto;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}
.about-copy { position: relative; z-index: 1; max-width: 690px; }
.about-copy h3 { margin: 0 0 30px; font: 500 clamp(2.7rem, 4.5vw, 4.8rem)/1 "Valmeo Editorial", Georgia, serif; color: var(--clay); }
.about-copy p {
  margin: 0 0 24px;
  color: #2e4437;
  font: italic 500 clamp(1.22rem, 1.6vw, 1.48rem)/1.72 "Valmeo Editorial", Georgia, serif;
  text-wrap: pretty;
}
.about-copy .about-opening { color: var(--ink); font: 500 clamp(1.5rem, 2.2vw, 2.15rem)/1.3 "Valmeo Editorial", Georgia, serif; }
.about-copy .about-closing { margin-top: 34px; color: var(--ink); font: italic 500 clamp(1.55rem, 2.4vw, 2.35rem)/1.3 "Valmeo Editorial", Georgia, serif; }
.atelier {
  max-width: 1476px;
  margin: 0 auto 80px;
  padding: 65px max(5vw, 30px);
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  align-items: start;
  gap: clamp(38px, 6vw, 86px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #e6eadb;
}
.atelier h2 { font-size: clamp(2.4rem, 3.7vw, 3.8rem); line-height: 1.08; }
.atelier-copy p:not(.eyebrow) { font-size: .95rem; }
.atelier-story { margin-top: 28px; column-count: 2; column-gap: clamp(28px, 4vw, 52px); }
.atelier-story p { margin: 0 0 22px; break-inside: avoid; line-height: 1.8; }
.atelier-story .atelier-lead { column-span: all; max-width: 820px; margin-bottom: 30px; color: var(--ink); font-size: 1.08rem !important; line-height: 1.75; }
.atelier-story strong { color: var(--ink); font-weight: 700; }
.atelier-story .atelier-highlight {
  padding: 22px 24px;
  color: var(--ink);
  font: italic 500 1.42rem/1.38 "Valmeo Editorial", Georgia, serif;
  background: rgba(255, 251, 244, .72);
  border-left: 3px solid var(--clay);
}
.instagram-link { background: var(--ink); line-height: 1.5; }
.atelier-gallery { min-height: 400px; align-items: start; gap: 18px; position: sticky; top: 110px; }
.atelier-gallery > img { height: 410px; border-radius: 48% 48% 12px 12px; object-fit: cover; }
.instagram-card { margin-top: 40px; padding: 25px 20px; border: 0; box-shadow: 0 14px 30px #46543b0c; border-radius: 80px 80px 14px 14px; text-align: center; background: #fffbf4; }
.instagram-card img { margin: 0 auto 20px; width: 92px; height: 92px; }
.instagram-card strong { font: 500 1.7rem "Valmeo Editorial", Georgia, serif; }
.instagram-card span { font-size: .8rem; }
.instagram-card p { font: italic 500 1.45rem/1.25 "Valmeo Editorial", Georgia, serif; }
.site-footer { padding: 55px 5vw 24px; color: #fff9ef; background: #354c3e; border: 0; }
.footer-brand strong { font-size: 2rem; }
.footer-brand img { border-radius: 50%; width: 65px; height: 65px; }
.footer-brand span, .footer-bottom { color: #d4dccd; font-size: .8rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid #ced9c333; }
.footer-policies summary { background: transparent; color: #fff9ef; border: 1px solid #ced9c355; font-size: .8rem; padding: 13px 18px; }
.footer-policies nav { color: var(--ink); background: var(--surface); font-size: .85rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.cart-panel { width: min(460px, 100%); height: 100dvh; }
.cart-header { background: #e9ecdf; padding: 24px; }
.cart-header h2 { font-size: 2.1rem; }
.cart-footer { background: #f3efdf; padding: 24px; }
.cart-row { grid-template-columns: 70px minmax(0, 1fr) auto; }
.cart-row p { font-weight: 500; font-size: 1.05rem; }
.cart-row small { font-size: .76rem; line-height: 1.5; }
.qty-controls button { min-width: 32px; height: 32px; }
.product-modal { background: rgba(38, 54, 43, .7); backdrop-filter: blur(7px); padding: 32px; }
.product-modal-shell { border-radius: 22px; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 0; max-width: 1150px; }
.modal-gallery { background: #ecebdc; min-height: 0; padding: 25px; }
.modal-gallery > img { height: min(65vh, 600px); border-radius: 14px; }
.modal-copy { padding: clamp(25px, 4vw, 48px); }
.modal-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.modal-price { color: var(--clay); }
.modal-product-name { flex-basis: 100%; }
.modal-title-line .modal-price { font-size: .72em; margin-top: 8px; }
.modal-stock { font: 400 .75rem/1.5 "Trebuchet MS", sans-serif; color: var(--muted); margin-left: 12px; }
.modal-description, .modal-characteristics { font-size: .9rem; }
.modal-choice { background: #e9eddf; border: 1px solid #75886538; border-radius: 14px; }
.choice-option { border-radius: 10px; font-size: .84rem; }
.choice-option.active { background: var(--sage); }
.modal-close { top: 14px; right: 14px; box-shadow: 0 4px 20px #354c3e22; }
.checkout-main { max-width: 1200px; padding-top: 42px; }
.checkout-steps { margin-bottom: 36px; font-size: .8rem; }
.checkout-steps .is-active span { background: var(--sage); border-color: var(--sage); }
.checkout-card, .checkout-status { border-radius: 20px; box-shadow: 0 16px 40px #43563508; background: var(--surface); }
.checkout-details h1, .checkout-status h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.05; }
.checkout-intro { font-size: .9rem; line-height: 1.7; }
.checkout-form legend { font-size: 1.6rem; }
.checkout-form label { font-weight: 500; font-size: .86rem; }
.checkout-form input, .checkout-form textarea { background: #fffefa; border-radius: 10px; border-color: #65755644; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: 2px solid #7b92624a; border-color: var(--sage); }
.order-summary { background: #edf0e4; border-color: #64785222; }
.order-summary h2 { font-size: 2rem; }
.summary-item { grid-template-columns: 55px minmax(0, 1fr) auto; gap: 10px; }
.summary-item img { width: 55px; height: 55px; }
.summary-item h3 { font-size: .95rem; font-weight: 500; }
.summary-item > strong { font-size: .82rem; }
.summary-lines { font-size: .87rem; }
.secure-note { font-size: .8rem; background: #fff9ee; border: 1px solid var(--line); }
.status-icon { background: var(--sage); }
.confirmation-reference { background: #edf0e4; }
.confirmation-grid > div { background: #f1f0e3; }
.legal-main { width: min(940px, calc(100% - 40px)); padding: 65px 0 85px; }
.legal-main > .eyebrow { text-align: center; }
.legal-title { font-size: clamp(2.7rem, 5.5vw, 4.8rem); line-height: 1.06; text-align: center; max-width: 820px; margin: 0 auto 40px; }
.legal-copy { font-family: "Trebuchet MS", "Segoe UI", sans-serif; font-size: .95rem; line-height: 1.85; padding: clamp(24px, 5vw, 60px); background: var(--surface); border-radius: 20px; box-shadow: 0 16px 45px #43563506; overflow-wrap: break-word; }
.legal-copy h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.2; padding-top: 22px; border-top: 1px solid var(--line); margin: 35px 0 15px; }
.legal-copy h2:first-child { padding-top: 0; border-top: 0; }
.legal-note { background: #f3ebd9; font-size: .87rem; }
.legal-copy a.button.primary { color: var(--surface); text-decoration: none; }
.withdrawal-model { background: #f3f4e9; border-color: #7a886a; }
@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
  .about { padding-top: 70px; padding-bottom: 75px; }
  .about-card { gap: 40px; min-height: 0; }
  .about-media { height: 520px; }
  .atelier { margin-bottom: 50px; gap: 30px; padding: 45px 5vw; }
  .atelier-gallery { min-height: 0; }
  .atelier-gallery > img { height: 340px; }
}
@media (max-width: 820px) {
  .product-modal-shell { grid-template-columns: 1fr; }
  .modal-gallery > img { height: min(55vh, 520px); }
  .about-card { grid-template-columns: 1fr; gap: 36px; }
  .about-card-reverse .about-media, .about-card-reverse .about-copy { order: initial; }
  .about-card-reverse .about-copy { padding-left: 0; }
  .about-media { width: min(100%, 560px); justify-self: center; height: 520px; }
  .atelier { grid-template-columns: 1fr; }
  .atelier-story { column-count: 1; }
  .atelier-gallery { max-width: 590px; width: 100%; justify-self: center; }
  .checkout-main { padding-top: 28px; }
}
@media (max-width: 600px) {
  body::before,
  body::after {
    top: 14vh;
    width: 104px;
    height: 68vh;
    opacity: .085;
  }
  body::before { left: -42px; }
  body::after { right: -42px; }
  .site-header::before, .legal-header::before, .checkout-header::before {
    background-position: left -70px center, right -75px center;
    background-size: 250px auto;
    opacity: .095;
  }
  .site-header, .legal-header, .checkout-header { padding: 10px 16px; gap: 12px; }
  .brand { font-size: 1.2rem; }
  .brand-mark { width: 38px; height: 38px; }
  .intro-band { grid-template-columns: 1fr; padding: 0 22px; }
  .intro-band div { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-band div:last-child { border-bottom: 0; }
  .intro-band strong { font-size: 1.35rem; }
  .intro-band span { font-size: 1rem; margin-top: 5px; }
  .section { padding: 45px 14px 50px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2 { font-size: 2.5rem; }
  .section-intro { font-size: .85rem; margin-top: 15px; }
  .filters { margin: 0 0 22px; padding: 0 0 4px; gap: 7px; flex-wrap: nowrap; overflow-x: auto; }
  .filter { padding: 10px 15px; min-height: 42px; font-size: .75rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 10px; }
  .product-card { border-radius: 12px; box-shadow: none; }
  .product-image { aspect-ratio: 1; }
  .product-content { display: flex; padding: 11px 10px; }
  .product-content h3 { font-size: 1.35rem; white-space: normal; overflow: visible; line-height: 1.1; margin-bottom: 10px; }
  .product-stock { margin-top: 6px; font-size: .6rem; }
  .product-meta { display: flex; justify-content: space-between; gap: 4px; margin-bottom: 10px; }
  .product-meta .product-tag { display: inline; font-size: .5rem; letter-spacing: .07em; }
  .price { font-size: .88rem; }
  .product-content .button { display: inline-flex; min-height: 42px; font-size: .71rem; line-height: 1.2; padding: 8px 4px; }
  .stock-ribbon { font-size: .5rem; top: 10px; right: 6px; padding: 6px 8px; }
  .about { padding: 58px 22px 70px; }
  .about-heading { margin-bottom: 16px; }
  .about-heading h2 { font-size: 4.25rem; }
  .about-card { padding: 42px 0 54px; gap: 30px; }
  .about-card::after { width: 120px; right: -25px; opacity: .08; }
  .about-media { height: 390px; width: calc(100% - 14px); }
  .about-media::before { inset: -10px 12px 14px -10px; }
  .about-copy h3 { margin-bottom: 24px; font-size: 3rem; }
  .about-copy p { margin-bottom: 21px; font-size: 1.2rem; line-height: 1.68; }
  .about-copy .about-opening { font-size: 1.55rem; }
  .about-copy .about-closing { margin-top: 28px; font-size: 1.65rem; }
  .atelier { padding: 40px 22px; margin-bottom: 0; }
  .atelier h2 { font-size: 2.6rem; }
  .atelier-story { margin-top: 22px; }
  .atelier-story p { margin-bottom: 18px; }
  .atelier-story .atelier-lead { margin-bottom: 24px; font-size: 1rem !important; }
  .atelier-story .atelier-highlight { padding: 18px 20px; font-size: 1.28rem; }
  .atelier-gallery { position: static; }
  .atelier-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .instagram-card { padding: 28px 12px 20px; margin-top: 20px; }
  .instagram-card img { width: 65px; height: 65px; }
  .instagram-card strong { font-size: 1.4rem; }
  .instagram-card span { font-size: .65rem; }
  .instagram-card p { font-size: 1.2rem; }
  .atelier-gallery > img { height: 310px; }
  .site-footer { padding: 40px 22px 22px; gap: 26px; }
  .footer-brand { gap: 12px; }
  .footer-brand strong { font-size: 1.7rem; }
  .footer-brand span { font-size: .72rem; }
  .footer-brand img { width: 55px; height: 55px; }
  .product-modal { padding: 0; }
  .product-modal-shell { border-radius: 0; min-height: 100dvh; }
  .modal-copy { padding: 25px 20px 35px; }
  .modal-gallery { padding: 16px; }
  .cart-header, .cart-footer { padding: 20px; }
  .cart-items { padding: 12px 20px; }
  .cart-row { grid-template-columns: 58px minmax(0, 1fr); }
  .qty-controls { grid-column: 2; }
  .checkout-card { padding: 25px 18px; }
  .checkout-details h1, .checkout-status h1 { font-size: 2.5rem; }
  .checkout-steps { font-size: .72rem; gap: 6px; }
  .checkout-back, .legal-header .back-link { font-size: .76rem; }
  .confirmation-grid { grid-template-columns: 1fr; }
  .legal-main { width: calc(100% - 28px); padding: 40px 0 50px; }
  .legal-title { font-size: 2.9rem; margin-bottom: 28px; overflow-wrap: normal; }
  .legal-copy { font-size: .88rem; padding: 25px 20px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .product-card, .product-image img, .cart-panel, .overlay { transition: none; }
  .product-card:hover, .product-card:hover .product-image img { transform: none; }
}
