@import url('https://fonts.googleapis.com/css2?family=Kaisei+Tokumin:wght@400;500;700&family=Montserrat:wght@400;500;600;700&family=Red+Rose:wght@400;500;600;700&display=swap');
:root{--navy:#43587f;--pink:#bc6d93;--softpink:#f1c8d8;--logo:#c88fa5;--white:#fff;--muted:#8b9ab6;--max:1480px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--navy);font-family:'Montserrat',Arial,sans-serif;line-height:1.55;font-size:18px}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.wrap{width:min(calc(100% - 96px),var(--max));margin:auto}.site-header{height:135px;background:#fff;display:flex;align-items:center}.nav{width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.brand{font-family:'Comic Sans MS','Bradley Hand',cursive;color:var(--logo);font-weight:700;font-size:27px;letter-spacing:1px}.navlinks{display:flex;gap:31px;align-items:center;font-size:18px;color:#667795}.navlinks a:hover{color:var(--pink)}.navtools{justify-self:end;display:flex;gap:25px;align-items:center;font-family:Georgia,serif;font-size:18px}.navtools span{font-family:Arial,sans-serif}.mobile-toggle{display:none}.hero{position:relative;height:638px;background:linear-gradient(90deg,#d9b8bd,#8d99a8);overflow:hidden}.hero .placeholder{position:absolute;inset:0}.hero-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:white;text-align:center;padding-top:140px}.hero h1{font:400 clamp(50px,5vw,72px)/1.08 'Kaisei Tokumin',Georgia,serif;margin:0 0 26px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:62px;padding:0 38px;border:0;border-radius:999px;background:var(--pink);color:white;font-weight:700;text-transform:uppercase;font-size:17px;letter-spacing:.01em;cursor:pointer}.button.outline{background:transparent;border:1px solid white}.section{padding:76px 0}.section-head{text-align:center;margin-bottom:44px}.eyebrow{font-family:'Red Rose',sans-serif;color:#995f7b;text-transform:uppercase;font-weight:700;letter-spacing:.14em;font-size:15px;margin-bottom:17px}h1,h2,h3{font-family:'Kaisei Tokumin',Georgia,serif;font-weight:400;color:var(--navy);line-height:1.1}h2{font-size:54px;margin:0 0 8px}.section-head p{margin:0;color:var(--navy)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:31px}.card{border:1px solid #efb4cf;border-radius:18px;overflow:hidden;background:white}.card .placeholder{height:455px;border-radius:17px 17px 0 0}.card-body{padding:25px 27px 27px}.card h3{font-size:29px;margin:0 0 14px}.card .price{font-weight:700;color:var(--pink);margin-bottom:23px}.card .button{width:100%;min-height:60px}.placeholder{background:linear-gradient(135deg,#e9d5dc,#c8d4cc);position:relative}.placeholder:after{content:'IMAGE PLACEHOLDER';position:absolute;inset:0;display:grid;place-items:center;color:#7f7280;font-size:11px;letter-spacing:.14em}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.two-col .placeholder{min-height:620px}.intro h2{font-size:62px}.intro p,.prose p{font-size:20px;line-height:1.75}.page-hero{height:490px;background:linear-gradient(135deg,#ead7dc,#c7bfc7);display:grid;place-items:center;color:white;position:relative}.page-hero:after{content:'IMAGE PLACEHOLDER';position:absolute;color:#8b7d87;font-size:11px;letter-spacing:.14em}.page-hero h1{position:relative;z-index:2;color:#fff;font-size:64px}.page-head{padding:70px 0 30px}.page-head h1{font-size:68px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.archive-grid .placeholder{height:480px;border-radius:18px}.archive-grid h3{font-size:27px}.product{display:grid;grid-template-columns:2fr 1fr;gap:60px;padding:0 48px 90px}.product-gallery{display:grid;grid-template-columns:1fr 1fr;gap:4px}.product-gallery .placeholder{min-height:710px}.product-info{padding-top:35px}.product-info h1{font-size:48px;margin:0 0 15px}.product-info .price{font-size:19px;margin-bottom:38px}.rule{border-top:1px solid #eab2cc;margin:30px 0}.product-info p{font-size:19px;line-height:1.55}.product-info .button{width:100%;margin:8px 0 14px}.details{margin-top:28px}.newsletter{border-top:1px solid #eab2cc;padding:62px 0 50px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.newsletter h2{font-size:39px}.newsletter p{margin:4px 0}.newsletter form{height:74px;border:1px solid #f0cada;border-radius:999px;display:flex;align-items:center;padding:0 25px}.newsletter input{border:0;outline:0;flex:1;font:inherit;color:var(--navy)}.newsletter button{border:0;background:none;color:var(--navy);font-size:27px}footer{padding:20px 0 40px;color:#91a0bb;font-size:14px}.footer-grid{display:flex;justify-content:space-between}.contact-form{max-width:740px;margin:45px auto}.contact-form input,.contact-form textarea{width:100%;border:1px solid #f0cada;padding:20px 25px;font:inherit;margin-bottom:18px;color:var(--navy)}.contact-form textarea{height:250px}.center{text-align:center}.prose{max-width:900px;margin:auto}.about-block{padding:95px 0}.about-block .two-col{max-width:1330px;margin:auto}.about-block .placeholder{min-height:630px}.about-block h2{font-size:62px}.about-block strong{font-weight:700}.notice{font-size:14px!important;color:#7c8ba6}@media(max-width:850px){.wrap{width:min(calc(100% - 32px),var(--max))}.site-header{height:84px}.nav{grid-template-columns:1fr auto}.brand{font-size:22px}.mobile-toggle{display:block;border:0;background:none;color:var(--navy);font-size:25px}.navlinks,.navtools{display:none}.navlinks.open{display:flex;position:absolute;z-index:30;top:84px;left:0;right:0;background:white;flex-direction:column;padding:25px}.hero{height:560px}.hero-overlay{padding:30px}.hero h1{font-size:45px}.grid,.two-col,.product,.newsletter{grid-template-columns:1fr}.grid{gap:20px}.card .placeholder{height:420px}.section{padding:55px 0}h2,.intro h2,.about-block h2{font-size:42px}.product{padding:20px 16px 60px}.product-gallery .placeholder{min-height:430px}.archive-grid{grid-template-columns:1fr}.newsletter{gap:30px}.page-hero{height:340px}.page-hero h1{font-size:48px}}


/* Homepage archive feature — based on the original Roses & Earth layout */
.archive-feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:790px;
  background:#fff;
}
.archive-feature-copy{
  padding:72px clamp(40px,9vw,142px);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.archive-feature-copy .eyebrow{margin:0 0 30px}
.archive-feature-copy h2{
  color:#40557c;
  font-size:clamp(58px,6vw,92px);
  line-height:.98;
  margin:0 0 34px;
}
.archive-feature-copy p{
  max-width:560px;
  color:#52688e;
  font-size:19px;
  line-height:1.75;
  margin:0 0 20px;
}
.archive-feature-copy strong{color:#344a70}
.archive-feature-copy .button{
  align-self:flex-start;
  margin-top:18px;
  min-width:180px;
  text-align:center;
}
.archive-feature-image{
  min-height:790px;
  border-radius:0;
}
@media(max-width:800px){
  .archive-feature{grid-template-columns:1fr;min-height:0}
  .archive-feature-copy{padding:58px 28px}
  .archive-feature-copy h2{font-size:clamp(48px,14vw,70px)}
  .archive-feature-image{min-height:560px}
}


/* Archive cards: optional SOLD OUT label + view button */
.treasure-card{position:relative}
.treasure-image{position:relative;overflow:hidden}
.sold-label{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  background:#bd6b91;
  color:#fff;
  border-radius:999px;
  padding:8px 16px;
  font-family:'Red Rose',sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.treasure-card h3{margin:16px 0 13px}
.treasure-view{
  width:100%;
  display:block;
  text-align:center;
  background:#bd6b91;
  border-color:#bd6b91;
  color:#fff;
  border-radius:999px;
  font-family:'Montserrat',sans-serif;
  font-weight:700;
}
.treasure-view:hover{opacity:.9}

/*
To mark any archive item as sold out, add this inside .treasure-image:
<span class="sold-label">Sold out</span>
Delete that span when you do not want the label.
*/


/* Individual archive garment pages */
.archive-product{
  display:grid;
  grid-template-columns:minmax(0,1.9fr) minmax(330px,.9fr);
  gap:58px;
  padding-top:42px;
  padding-bottom:90px;
}
.archive-product-gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
}
.archive-product-photo{
  min-height:690px;
  border-radius:0;
  position:relative;
}
.archive-product-info{
  position:sticky;
  top:135px;
  align-self:start;
  padding:35px 0;
}
.archive-product-info h1{
  color:#40557c;
  font-size:clamp(42px,4vw,62px);
  margin:12px 0 15px;
}
.garment-status{
  color:#52688e;
  font-size:17px;
  margin-bottom:28px;
}
.archive-divider{
  border-top:1px solid #efc5d7;
  margin:28px 0 34px;
}
.archive-product-info p{
  color:#52688e;
  font-size:17px;
  line-height:1.7;
}
.archive-back{
  display:inline-block;
  margin-top:20px;
}
@media(max-width:800px){
  .archive-product{grid-template-columns:1fr;gap:20px;padding-top:15px}
  .archive-product-gallery{grid-template-columns:1fr}
  .archive-product-photo{min-height:520px}
  .archive-product-info{position:static;padding:20px 0 50px}
}


/* Archive image links + Vinted CTA */
.treasure-image-link{display:block}
.treasure-image-link .treasure-image{transition:opacity .2s ease}
.treasure-image-link:hover .treasure-image{opacity:.92}
.vinted-button{
  display:block;
  width:max-content;
  min-width:0;
  margin:28px auto 0;
  padding:14px 28px;
  border-radius:999px;
  background:#bd6b91;
  border:1px solid #bd6b91;
  color:#fff;
  font-family:'Montserrat',sans-serif;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.02em;
  text-align:center;
  text-transform:uppercase;
}


/* Glass styling — first homepage button only */
.glass-button{
  background:rgba(189,107,145,.30) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 8px 24px rgba(54,72,110,.14);
  -webkit-backdrop-filter:blur(12px) saturate(125%);
  backdrop-filter:blur(12px) saturate(125%);
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.glass-button:hover{
  background:rgba(189,107,145,.43) !important;
  transform:translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 11px 28px rgba(54,72,110,.18);
}

.vinted-button.button{
  width:max-content !important;
  min-width:0 !important;
  padding:14px 28px !important;
}


/* Vinted CTA final alignment */
.vinted-button.button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:max-content !important;
  min-width:0 !important;
  margin:28px 0 0 0 !important;
  padding:14px 28px !important;
  text-align:center !important;
  line-height:1.2 !important;
}

/* Policy page */
.policy-prose{max-width:850px}
.policy-prose h2{font-size:32px;color:#40557c;margin:42px 0 14px}
.policy-prose h2:first-child{margin-top:0}
.policy-prose p{color:#52688e;font-size:16px;line-height:1.8}
.policy-prose a{text-decoration:underline;text-underline-offset:3px}
.policy-note{margin-top:46px;padding-top:24px;border-top:1px solid #efc5d7;font-size:14px!important}
.newsletter form button{display:flex;align-items:center;justify-content:center;min-width:52px}


/* Archive back button — centered label */
.archive-back.button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  line-height:1.2 !important;
}


/* Footer/newsletter layout matching reference */
.newsletter{
  border-top:1px solid #e7a9c3;
  padding-top:72px;
  padding-bottom:92px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,1fr);
  gap:80px;
  align-items:center;
}
.newsletter h2{
  margin:0 0 12px;
  font-family:'Kaisei Tokumin',serif;
  font-size:42px;
  font-weight:400;
  line-height:1.15;
  color:#40557c;
}
.newsletter .eyebrow{display:none}
.newsletter p{
  max-width:720px;
  margin:0;
  color:#52688e;
  font-size:18px;
  line-height:1.7;
}
.newsletter form{
  width:100%;
  display:flex;
  align-items:center;
  min-height:74px;
  padding:0 24px 0 38px;
  border:1px solid #efc5d7;
  border-radius:999px;
  background:#fff;
  box-sizing:border-box;
}
.newsletter form input{
  flex:1;
  min-width:0;
  border:0 !important;
  outline:0;
  background:transparent;
  padding:0 !important;
  color:#40557c;
  font:500 17px/1.2 'Montserrat',sans-serif;
}
.newsletter form input::placeholder{color:#b88fa3}
.newsletter form button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:46px !important;
  min-width:46px !important;
  height:46px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  color:#40557c !important;
  font-size:30px !important;
  font-weight:400 !important;
  line-height:1 !important;
  cursor:pointer;
}
footer{
  padding:0 0 38px;
}
.footer-grid{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:34px;
  color:#91a0bc;
  font-size:14px;
}
.footer-grid a{color:inherit;text-decoration:none}
.footer-grid a:hover{text-decoration:underline;text-underline-offset:4px}

@media(max-width:800px){
  .newsletter{
    grid-template-columns:1fr;
    gap:34px;
    padding-top:48px;
    padding-bottom:54px;
  }
  .newsletter h2{font-size:34px}
  .newsletter form{min-height:66px;padding-left:26px}
  .footer-grid{flex-wrap:wrap;gap:16px 28px}
}


/* Instagram footer link */
.instagram-link{
  margin-left:auto;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#91a0bc !important;
}
.instagram-link svg{
  width:26px;
  height:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}
.instagram-link:hover{opacity:.7;text-decoration:none !important}

/* Easy pattern catalogue */
.pattern-card-link{display:block;color:inherit;text-decoration:none}
.pattern-card-image{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:24px}
.product-info{padding:18px 4px}
.product-info h2{margin:0 0 8px;font-size:28px}
.product-info p{margin:0 0 12px}
.pattern-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:70px;align-items:start}
.pattern-gallery{display:grid;gap:20px}
.pattern-gallery img{display:block;width:100%;border-radius:24px}
.pattern-copy{position:sticky;top:30px}
.pattern-copy h1{font-size:54px;margin:8px 0 14px}
.pattern-price{font-size:20px;font-weight:700;margin-bottom:24px}
.pattern-note{font-size:13px;margin-top:16px;opacity:.75}
@media(max-width:800px){.pattern-detail{grid-template-columns:1fr;gap:34px}.pattern-copy{position:static}.pattern-copy h1{font-size:42px}}

/* Central image registry */
[data-site-image]{background-size:cover;background-position:center;background-repeat:no-repeat}
.treasure-image-wrap{position:relative}
.treasure-image-wrap img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:24px}
.archive-gallery img{display:block;width:100%;border-radius:24px;margin-bottom:20px}

/* SEO product copy */
.pattern-seo-copy .wrap{max-width:900px}
.pattern-seo-copy h2{font-size:40px;line-height:1.2;margin:8px 0 22px}
.pattern-seo-copy p{font-size:17px;line-height:1.8;max-width:780px}


/* =========================================================
   V24 CONSOLIDATED FIXES
   ========================================================= */

/* Header logo: moderate size and vertically centered */
.brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  align-self:center;
  line-height:1;
}
.header-logo-image{
  display:block;
  width:auto;
  height:50px;
  max-width:180px;
  object-fit:contain;
  object-position:center;
}
@media(max-width:850px){
  .header-logo-image{
    height:42px;
    max-width:155px;
  }
}

/* Homepage hero: content exactly centered */
.hero-overlay{
  inset:0;
  padding:0 24px !important;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  z-index:2;
}
.hero h1{color:#fff;}

/* Hide placeholder wording, without hiding/re-sizing the image areas */
.placeholder::after,
.placeholder::before,
.pattern-placeholder::after,
.pattern-placeholder::before,
.image-placeholder::after,
.image-placeholder::before{
  content:none !important;
  display:none !important;
}

/* Gentle #E8C6DD overlay on hero image areas only */
.hero::after,
.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(232,198,221,.07),rgba(232,198,221,.28));
  z-index:1;
}
.page-hero > *{
  position:relative;
  z-index:2;
}

/* Pattern catalogue: one product = one third of desktop row */
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:31px;
  align-items:start;
}
.product-grid .pattern-card-link{min-width:0}
@media(max-width:900px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .product-grid{grid-template-columns:1fr}
}

/* Archive catalogue: one clean three-column grid */
.treasure-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
  align-items:start;
}
.treasure-card{min-width:0}
.treasure-card h2{
  margin:16px 0 0;
  font-size:27px;
}
@media(max-width:900px){
  .treasure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .treasure-grid{grid-template-columns:1fr}
}

/* Reusable archive product page */
.archive-product{
  display:grid;
  grid-template-columns:minmax(0,1.9fr) minmax(330px,.9fr);
  gap:58px;
  padding-top:42px;
  padding-bottom:90px;
}
.archive-gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  align-items:start;
}
.archive-gallery img{
  display:block;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:0;
  margin:0;
}
.archive-copy{
  position:sticky;
  top:135px;
  align-self:start;
  padding:35px 0;
}
.archive-copy h1{
  color:#40557c;
  font-size:clamp(42px,4vw,62px);
  margin:12px 0 15px;
}
.archive-copy p{
  color:#52688e;
  font-size:17px;
  line-height:1.7;
}
.archive-status{
  position:static;
  display:inline-flex;
  margin:0 0 20px;
}
@media(max-width:800px){
  .archive-product{grid-template-columns:1fr;gap:20px;padding-top:15px}
  .archive-gallery{grid-template-columns:1fr}
  .archive-copy{position:static;padding:20px 0 50px}
}


/* =========================================================
   PATTERN PRODUCT IMAGES — MATCH ARCHIVE PRODUCT PAGE
   ========================================================= */

/* Use the same clean two-column image grid as archive detail pages */
.pattern-gallery{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:5px !important;
  align-items:start;
}

.pattern-gallery img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:4 / 5 !important;
  object-fit:cover !important;
  border-radius:0 !important;
  margin:0 !important;
}

/* First image is no longer oversized */
.pattern-gallery > *{
  min-width:0;
}

@media(max-width:800px){
  .pattern-gallery{
    grid-template-columns:1fr !important;
  }
}


/* Header logo refinement */
.header-logo-image{
  height:56px !important;
  max-width:200px !important;
}
.site-header .wrap,
header .wrap{
  padding-left:34px;
  padding-right:34px;
}
@media(max-width:720px){
  .header-logo-image{
    height:46px !important;
    max-width:170px !important;
  }
  .site-header .wrap,
  header .wrap{
    padding-left:22px;
    padding-right:22px;
  }
}


/* Header logo — slightly larger */
.header-logo-image{
  height:64px !important;
  max-width:225px !important;
}
@media(max-width:720px){
  .header-logo-image{
    height:52px !important;
    max-width:190px !important;
  }
}


/* Header logo — larger */
.header-logo-image{
  height:74px !important;
  max-width:260px !important;
}
@media(max-width:720px){
  .header-logo-image{
    height:58px !important;
    max-width:215px !important;
  }
}


/* Header logo — extra large */
.header-logo-image{
  height:86px !important;
  max-width:300px !important;
}
@media(max-width:720px){
  .header-logo-image{
    height:66px !important;
    max-width:240px !important;
  }
}


/* CONNECT HERO PLACEHOLDER FIX
   Keep the hero image and overlay, but never display placeholder wording. */
.page-hero[data-site-image="connect.hero"]::after{
  content:"" !important;
  display:block !important;
}
.page-hero[data-site-image="connect.hero"]::before{
  content:"" !important;
}


/* CELESTIAL GARDEN FAVOURITES */
.celestial-favourites{padding-top:88px;padding-bottom:88px}
.celestial-favourites .section-head{margin-bottom:42px}
.celestial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;align-items:start}
.celestial-card{display:block;min-width:0;overflow:hidden;border:1px solid #efb4cf;border-radius:18px;background:#fff}
.celestial-image{width:100%;aspect-ratio:1/1;background-position:center;background-size:cover;background-repeat:no-repeat}
.celestial-card-body{padding:26px 28px 28px}
.celestial-card h3{margin:0 0 24px;font-size:29px}
.celestial-card .button{width:100%;min-height:60px}
@media(max-width:900px){.celestial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.celestial-grid{grid-template-columns:1fr}.celestial-favourites{padding-top:60px;padding-bottom:60px}}


/* PRODUCT CARD IMAGE HOVER — Shopify-style second-image reveal */
.hover-swap{
  position:relative;
  overflow:hidden;
}
.hover-swap .hover-image-primary,
.hover-swap .hover-image-secondary{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity .38s ease, transform .55s ease;
}
.hover-swap .hover-image-primary{
  position:relative;
  z-index:1;
  opacity:1;
}
.hover-swap .hover-image-secondary{
  position:absolute;
  inset:0;
  z-index:2;
  opacity:0;
  transform:scale(1.045);
}
@media (hover:hover) and (pointer:fine){
  .hover-swap:hover .hover-image-primary{
    opacity:0;
    transform:scale(1.02);
  }
  .hover-swap:hover .hover-image-secondary{
    opacity:1;
    transform:scale(1.085);
  }
}

/* Keep card image proportions stable */
.treasure-image-wrap.hover-swap,
.pattern-card-image-wrap.hover-swap{
  aspect-ratio:4 / 5;
}
.pattern-card-image-wrap .pattern-card-image{
  margin:0;
}
.celestial-image.hover-swap{
  aspect-ratio:1 / 1;
}
.celestial-image.hover-swap img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.archive-copy p {
  white-space: pre-line;
}

/* =========================================================
   MOBILE POLISH + TREASURE VIEW TOGGLE
   ========================================================= */
.treasure-view-controls{
  display:none;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin:0 0 22px;
}
.treasure-view-label{
  margin-right:auto;
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  color:var(--navy);
}
.treasure-view-button{
  width:42px;
  height:42px;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#9aa5b9;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.treasure-view-button.is-active{background:#f6f7f9;color:var(--navy)}
.view-one-icon{width:15px;height:22px;border:2px solid currentColor;border-radius:4px;display:block}
.view-two-icon{width:20px;height:20px;display:grid;grid-template-columns:1fr 1fr;gap:3px}
.view-two-icon i{display:block;border:2px solid currentColor;border-radius:2px}

@media(max-width:620px){
  /* A little more breathing room at both sides throughout mobile pages */
  .wrap{width:min(calc(100% - 48px),var(--max)) !important}

  /* Shorter homepage hero on phones */
  .hero{height:475px !important}
  .hero-overlay{padding-left:24px !important;padding-right:24px !important}
  .hero h1{font-size:42px}

  /* Slightly smaller homepage About image instead of edge-to-edge */
  .about-block .two-col > [data-site-image="home.aboutFeature"]{
    width:88%;
    min-height:0 !important;
    aspect-ratio:4 / 5;
    margin:0 auto 8px;
  }

  /* Larger mobile logo */
  .header-logo-image{
    height:76px !important;
    max-width:275px !important;
  }

  /* One/two-column archive switcher */
  .treasure-view-controls{display:flex}
  .treasure-grid.mobile-view-one{grid-template-columns:1fr !important;gap:28px}
  .treasure-grid.mobile-view-two{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:14px}
  .treasure-grid.mobile-view-two .treasure-card h2{font-size:18px;margin-top:10px;line-height:1.2}
  .treasure-grid.mobile-view-two .sold-label{font-size:10px;padding:7px 10px}
  .treasure-grid.mobile-view-two .treasure-image-wrap img{border-radius:14px}
}

/* MOBILE TEXT + CONNECT FORM BREATHING ROOM */
@media(max-width:620px){
  /* More comfortable inset for text-heavy content */
  .prose,
  .intro,
  .section-head,
  .about-block .two-col > div:not([data-site-image]),
  .pattern-seo-copy .wrap{
    padding-left:8px;
    padding-right:8px;
  }

  .prose p,
  .intro p{
    line-height:1.8;
  }

  /* Keep the Connect form aligned with the text and away from screen edges */
  .contact-form{
    width:auto;
    max-width:none;
    margin:38px 8px 10px;
  }
  .contact-form .two-col{
    gap:0 !important;
  }
  .contact-form input,
  .contact-form textarea{
    padding:18px 20px;
  }
}


/* MailerLite newsletter success state */
.newsletter-success{
  min-height:74px;
  display:flex;
  align-items:center;
  padding:0 38px;
  border:1px solid #efc5d7;
  border-radius:999px;
  background:#fff;
}
.newsletter-success[style*="display:none"]{display:none !important}
.newsletter-success p{
  margin:0;
  color:#52688e;
  font:500 17px/1.4 'Montserrat',sans-serif;
}
@media(max-width:850px){
  .newsletter-success{min-height:64px;padding:0 24px}
  .newsletter-success p{font-size:15px}
}

.newsletter-form-wrap .row-success,
.footer-newsletter-form .row-success,
.ml-subscribe-form-46391359 .row-success {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.contact-success {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.contact-success p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Square corners for One-of-a-kind Treasures archive images */
/* ONE-OF-A-KIND TREASURES — square images everywhere */
.treasure-grid .treasure-card,
.treasure-grid .treasure-image-link,
.treasure-grid .treasure-image,
.treasure-grid .treasure-image-wrap,
.treasure-grid .treasure-image-wrap.hover-swap,
.treasure-grid .treasure-image-wrap img,
.treasure-grid .hover-image-primary,
.treasure-grid .hover-image-secondary {
  border-radius: 0 !important;
}

/* =========================================================
   FINAL MOBILE + HEADER REFINEMENTS
   ========================================================= */

/* Logo — slightly larger on desktop */
.header-logo-image{
  height:94px !important;
  max-width:325px !important;
}

/* SOLD OUT labels — more compact */
.sold-label{
  padding:6px 11px !important;
  font-size:10px !important;
  line-height:1.1 !important;
}

/* Mobile refinements */
@media(max-width:620px){

  /* Logo — slightly larger on mobile */
  .header-logo-image{
    height:82px !important;
    max-width:295px !important;
  }

  /* Smaller mobile headings and body copy */
  h1,
  .page-head h1,
  .page-hero h1,
  .archive-copy h1,
  .pattern-copy h1{
    font-size:36px !important;
    line-height:1.08 !important;
  }

  h2,
  .intro h2,
  .about-block h2,
  .section-head h2,
  .archive-feature-copy h2,
  .pattern-seo-copy h2{
    font-size:32px !important;
    line-height:1.12 !important;
  }

  .prose p,
  .intro p,
  .about-block p,
  .archive-feature-copy p,
  .archive-copy p,
  .pattern-seo-copy p{
    font-size:16px !important;
    line-height:1.65 !important;
  }

  /* Smaller SOLD OUT badge in either archive grid view */
  .treasure-grid .sold-label{
    top:10px !important;
    left:10px !important;
    padding:5px 8px !important;
    font-size:8px !important;
    letter-spacing:.06em !important;
  }

  /* Mobile footer — centered vertical layout like reference */
  .newsletter{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:30px !important;
    padding-top:42px !important;
    padding-bottom:64px !important;
  }

  .newsletter h2{
    font-size:31px !important;
    line-height:1.15 !important;
    margin-bottom:12px !important;
  }

  .newsletter p{
    font-size:16px !important;
    line-height:1.6 !important;
  }

  .newsletter form{
    min-height:64px !important;
  }

  footer{
    padding-bottom:38px !important;
  }

  .footer-grid{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:nowrap !important;
    gap:20px !important;
    text-align:center !important;
    font-size:13px !important;
  }

  .footer-grid .instagram-link{
    margin-left:0 !important;
    margin-top:4px !important;
  }
}


/* =========================================================
   FINAL BUTTON SIZE REFINEMENT
   ========================================================= */

/* All main pill buttons — just slightly more compact */
.button{
  min-height:56px !important;
  padding-left:32px !important;
  padding-right:32px !important;
  font-size:15px !important;
}

/* Archive / Vinted CTA */
.vinted-button.button{
  padding:12px 24px !important;
  min-height:52px !important;
  font-size:13px !important;
}

/* Full-width card buttons */
.card .button,
.celestial-card .button,
.treasure-view{
  min-height:54px !important;
  font-size:15px !important;
}

/* Mobile — another small reduction */
@media(max-width:620px){
  .button{
    min-height:50px !important;
    padding-left:26px !important;
    padding-right:26px !important;
    font-size:13px !important;
  }

  .vinted-button.button{
    min-height:46px !important;
    padding:10px 20px !important;
    font-size:12px !important;
  }

  .card .button,
  .celestial-card .button,
  .treasure-view{
    min-height:48px !important;
    font-size:13px !important;
  }
}


/* =========================================================
   FINAL CONSOLIDATED MOBILE + TREASURE OVERRIDES
   ========================================================= */

/* Larger logo */
.site-logo img{
  height:94px !important;
  width:auto !important;
  max-width:325px !important;
}

/* Treasure catalogue titles: small, pink, clean */
.treasure-grid .treasure-card h2{
  margin:12px 0 0 !important;
  font-family:"Montserrat",sans-serif !important;
  font-size:20px !important;
  font-weight:400 !important;
  line-height:1.3 !important;
  color:var(--pink) !important;
}

@media(max-width:620px){
  /* Bigger mobile logo */
  .site-logo img{
    height:82px !important;
    max-width:295px !important;
  }

  /* Smaller general mobile headings and body text */
  h1{
    font-size:34px !important;
    line-height:1.12 !important;
  }

  h2{
    font-size:25px !important;
    line-height:1.2 !important;
  }

  .lead,
  .archive-copy p,
  .connect-copy p,
  .about-copy p,
  .page-copy p{
    font-size:14px !important;
    line-height:1.65 !important;
  }

  /* Treasure names */
  .treasure-grid.mobile-view-one .treasure-card h2{
    font-size:18px !important;
    line-height:1.25 !important;
    margin-top:10px !important;
  }

  .treasure-grid.mobile-view-two .treasure-card h2{
    font-size:15px !important;
    line-height:1.25 !important;
    margin-top:9px !important;
  }

  /* Stacked, centered mobile footer */
  .site-footer .footer-inner{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    gap:28px !important;
  }

  .site-footer .footer-left,
  .site-footer .footer-right,
  .site-footer .footer-newsletter,
  .site-footer .footer-links{
    width:100% !important;
    text-align:center !important;
    align-items:center !important;
  }

  .site-footer .footer-links{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
  }
}


/* =========================================================
   TREASURES GRID — reference catalogue layout
   ========================================================= */

/* Tight, clean catalogue grid */
.treasure-grid{
  gap:32px 24px !important;
}

.treasure-card{
  margin:0 !important;
}

.treasure-card a,
.treasure-image-link{
  display:block !important;
  text-decoration:none !important;
}

/* Tall portrait images like the reference */
.treasure-image-wrap{
  width:100% !important;
  aspect-ratio:2 / 3 !important;
  overflow:hidden !important;
  border-radius:0 !important;
  background:transparent !important;
}

.treasure-image-wrap img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:0 !important;
}

/* Small pink catalogue names directly beneath images */
.treasure-grid .treasure-card h2{
  margin:14px 0 0 !important;
  padding:0 !important;
  font-family:"Montserrat",sans-serif !important;
  font-size:18px !important;
  font-weight:400 !important;
  line-height:1.25 !important;
  color:var(--pink) !important;
  text-align:left !important;
}

/* Keep SOLD OUT badge compact */
.treasure-image-wrap .sold-label{
  font-size:11px !important;
  padding:6px 10px !important;
}

/* No card VIEW button / price */
.treasure-card .treasure-view,
.treasure-card .price,
.treasure-card .product-price{
  display:none !important;
}

@media(max-width:620px){
  .treasure-grid{
    gap:26px 16px !important;
  }

  /* One-column mobile view */
  .treasure-grid.mobile-view-one{
    grid-template-columns:1fr !important;
  }

  .treasure-grid.mobile-view-one .treasure-card h2{
    margin-top:11px !important;
    font-size:17px !important;
  }

  /* Two-column mobile view, matching the reference */
  .treasure-grid.mobile-view-two{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    column-gap:12px !important;
    row-gap:24px !important;
  }

  .treasure-grid.mobile-view-two .treasure-card h2{
    margin-top:9px !important;
    font-size:15px !important;
    line-height:1.25 !important;
  }

  .treasure-grid.mobile-view-two .sold-label{
    font-size:9px !important;
    padding:5px 8px !important;
  }
}


/* =========================================================
   TREASURES — edge-to-edge images on mobile
   Removes side padding in BOTH 1-column and 2-column views
   ========================================================= */
@media(max-width:620px){
  .treasures-page .container,
  .treasures-page .treasure-section,
  .treasures-page .treasure-grid,
  .treasure-grid.mobile-view-one,
  .treasure-grid.mobile-view-two{
    padding-left:0 !important;
    padding-right:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    max-width:none !important;
    width:100% !important;
  }

  .treasure-grid.mobile-view-one{
    column-gap:0 !important;
  }

  .treasure-grid.mobile-view-two{
    column-gap:5px !important;
  }

  .treasure-card,
  .treasure-image-link,
  .treasure-image-wrap{
    margin-left:0 !important;
    margin-right:0 !important;
  }
}


/* Treasures — slightly larger title in mobile single-column view */
@media(max-width:620px){
  .treasure-grid.mobile-view-one .treasure-card h2{
    font-size:19px !important;
  }
}


/* =========================================================
   TREASURES MOBILE — TRUE FULL-WIDTH GRID
   Breaks the grid out of any padded parent/container.
   ========================================================= */
@media(max-width:620px){
  .treasure-grid.mobile-view-one,
  .treasure-grid.mobile-view-two{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  .treasure-grid.mobile-view-one{
    grid-template-columns:minmax(0,1fr) !important;
    gap:26px 0 !important;
  }

  .treasure-grid.mobile-view-two{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    column-gap:5px !important;
    row-gap:24px !important;
  }

  .treasure-grid .treasure-card,
  .treasure-grid .treasure-image-link,
  .treasure-grid .treasure-image-wrap,
  .treasure-grid .treasure-image-wrap img{
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }

  /* Keep titles readable without adding padding to the images */
  .treasure-grid .treasure-card h2{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .treasure-grid.mobile-view-one .treasure-card h2{
    font-size:19px !important;
  }

  .treasure-grid.mobile-view-two .treasure-card h2{
    font-size:15px !important;
  }
}
