/*
 * CHARME 1.3 — faithfully implemented Christmas reference.
 * Original CHARME logo, photographic gift-box motif from approved concept,
 * working WooCommerce navigation and actual in-stock products.
 */
body.home { --cj13-wine:#711823; --cj13-red:#9d1529; --cj13-ink:#37271e; }
body.home .cj-topbar.cj-v13-banner {
 display:flex!important; height:37px!important; min-height:37px!important;
 margin:0!important; padding:0 14px!important; align-items:center!important;
 justify-content:center!important; background:#711c22!important; border:0!important;
 box-shadow:none!important; position:relative; z-index:120;
}
body.home .cj-v13-banner a {
 color:#fff8ef!important; text-decoration:none!important;
 font:500 12px/1.4 Arial,Helvetica,sans-serif!important; letter-spacing:0!important;
 display:inline-flex!important; align-items:center; justify-content:center; gap:10px;
 text-align:center; text-transform:none!important;
}
body.home .cj-v13-banner a:hover { color:#efd4ba!important; }
body.home .cj-v13-banner svg { flex:0 0 auto; }

/* One-row header matching the visual reference, retaining functional mega menus. */
@media (min-width:851px) {
 body.home .cj-header {
   display:grid!important;
   grid-template-columns:minmax(192px,1fr) minmax(570px,auto) minmax(174px,1fr)!important;
   align-items:center!important;
   height:83px!important; min-height:83px!important;
   padding:0 clamp(26px,7.4vw,175px)!important; gap:clamp(18px,2vw,40px)!important;
   background:#fff!important; box-shadow:none!important; border-bottom:1px solid #e8e2dc;
   position:relative!important; z-index:105!important;
 }
 body.home .cj-header-inner { display:contents!important; }
 body.home .cj-brand { grid-column:1!important; grid-row:1!important;
   justify-self:start!important; margin:0!important; }
 body.home .cj-brand .cj-logo-viewport { display:flex!important;
   width:205px!important; height:70px!important; align-items:center!important;
   overflow:visible!important; }
 body.home .cj-brand .cj-logo-viewport img { position:static!important; display:block!important;
   width:205px!important; max-height:66px!important; height:auto!important;
   transform:none!important; object-fit:contain!important; top:auto!important; margin:0!important; }
 body.home .cj-header-actions { grid-column:3!important; grid-row:1!important;
   justify-self:end!important; gap:11px!important; }
 body.home .cj-header-aside { display:none!important; }
 body.home .cj-header .cj-nav {
   grid-column:2!important; grid-row:1!important;
   position:relative!important; top:auto!important; left:auto!important; right:auto!important;
   transform:none!important; display:block!important; margin:0!important; border:0!important;
   width:auto!important; height:83px!important; min-height:83px!important;
   background:transparent!important; z-index:106!important;
 }
 body.home .cj-header .cj-nav-inner {
   display:flex!important; width:100%!important; height:83px!important;
   min-height:83px!important; padding:0!important; margin:0!important;
   align-items:center!important; justify-content:center!important;
 }
 body.home .cj-v09-navlist { gap:clamp(13px,1.6vw,27px)!important;
   justify-content:center!important; flex-wrap:nowrap!important; }
 body.home .cj-v09-navlink { white-space:nowrap!important; font-size:11px!important;
   font-weight:500!important; letter-spacing:0!important; }
 body.home .cj-v09-mega { position:absolute!important; top:100%!important;
   left:50%!important; right:auto!important; transform:translateX(-50%)!important;
   width:100vw!important; z-index:1000!important; }
 body.home .cj-search-panel { grid-column:1/-1!important; grid-row:2; }
}

/* The source is the actual approved burgundy jewelry-box artwork, not the
   different green portrait that was mistakenly used in 1.2. */
body.home .cj-v13-hero {
 display:flex; position:relative; align-items:center; justify-content:flex-start;
 min-height:465px; height:clamp(465px,34vw,570px);
 overflow:hidden; isolation:isolate; background:#261b13;
}
body.home .cj-v13-hero-picture {
 position:absolute; inset:0; z-index:-1;
 background-image:linear-gradient(90deg, #24190f 0%, rgba(36,25,15,.98) 16%, rgba(36,25,15,.87) 30%, rgba(36,25,15,.38) 47%, rgba(36,25,15,0) 69%), url('../img/charme-v13-original-photography-fallback.jpg');
 background-image:linear-gradient(90deg, #24190f 0%, rgba(36,25,15,.98) 16%, rgba(36,25,15,.87) 30%, rgba(36,25,15,.38) 47%, rgba(36,25,15,0) 69%), image-set(url('../img/charme-v13-original-photography.avif') type('image/avif'), url('../img/charme-v13-original-photography-fallback.jpg') type('image/jpeg'));
 background-size:100% 100%, auto 100%; background-position:center center, right center;
 background-repeat:no-repeat;
}
body.home .cj-v13-hero-inner {
 width:min(100% - 88px,1480px); margin:0 auto; position:relative; z-index:1;
}
body.home .cj-v13-hero-copy {
 width:min(550px,46%); color:#fff9f1;
}
body.home .cj-v13-eyebrow {
 display:flex; align-items:center; gap:14px; white-space:nowrap;
 color:#e7d5c0; margin:0 0 22px;
 font:600 10px/1.4 Arial,Helvetica,sans-serif; letter-spacing:.16em;
}
body.home .cj-v13-eyebrow span {
 display:inline-block; width:37px; height:1px; background:#e5d5ba; opacity:.8;
}
body.home .cj-v13-hero h1 {
 margin:0 0 20px!important; color:#fffaf3!important;
 font:400 clamp(57px,4.8vw,80px)/1.04 Georgia,'Times New Roman',serif!important;
 letter-spacing:-.046em!important;
}
body.home .cj-v13-hero h1 em { color:#f3d5a2!important; font-weight:400!important; display:block; }
body.home .cj-v13-hero-copy > p:not(.cj-v13-eyebrow) {
 max-width:460px; margin:0; font:400 14px/1.65 Arial,Helvetica,sans-serif;
 color:#fff8ef; text-wrap:pretty;
}
body.home .cj-v13-actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-top:27px; }
body.home .cj-v13-primary,
body.home .cj-v13-secondary {
 display:inline-flex; align-items:center; justify-content:center;
 gap:16px; border:1px solid #faf4e9;
 min-height:51px; padding:12px 22px;
 font:600 12px/1.4 Arial,Helvetica,sans-serif;
 color:#fffaf3; text-decoration:none!important;
 transition:background .15s,border-color .15s;
}
body.home .cj-v13-primary { border-color:#9d1529; background:#9d1529; }
body.home .cj-v13-primary:hover { background:#b6253b; border-color:#b6253b; color:#fff; }
body.home .cj-v13-secondary { background:rgba(20,15,12,.26); }
body.home .cj-v13-secondary:hover { background:rgba(255,255,255,.14); color:#fff; }

/* Under-hero trust/navigation strip, matching reference geometry but avoiding
   unverified '30 days' and certification claims. */
body.home .cj-v13-services { border-bottom:1px solid #eee9e2; background:#faf6ef; }
body.home .cj-v13-service-inner {
 display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
 width:min(100% - 70px,1500px); min-height:87px; margin:0 auto;
 align-items:center;
}
body.home .cj-v13-service {
 display:flex; align-items:center; justify-content:center; gap:19px;
 min-height:59px; padding:5px 12px; color:#29241f; text-decoration:none;
 border-right:1px solid #e8ded2;
}
body.home .cj-v13-service:last-child { border-right:0; }
body.home .cj-v13-service > svg { width:33px; height:33px; flex:0 0 33px;
 fill:none; stroke:#2d2823; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
body.home .cj-v13-service > span { display:flex; flex-direction:column; gap:5px; }
body.home .cj-v13-service strong { font:600 12px/1.4 Arial,Helvetica,sans-serif; }
body.home .cj-v13-service small { font:400 11px/1.45 Arial,Helvetica,sans-serif; color:#726960; }
body.home .cj-v13-service:hover strong { color:#9d1529; }

/* Four genuine in-stock WooCommerce product highlights. */
body.home .cj-v13-picks { padding:61px 0 104px!important; }
body.home .cj-v13-picks-heading { text-align:center; padding-bottom:39px; }
body.home .cj-v13-picks-heading > p { display:flex; justify-content:center; align-items:center;
 gap:18px; margin:0 0 15px; color:#a97867; letter-spacing:.2em; font:600 10px Arial,Helvetica,sans-serif; }
body.home .cj-v13-picks-heading > p > span { width:52px; height:1px; background:#b98080; }
body.home .cj-v13-picks h2 { color:#35261f; margin:0;
 font:400 clamp(36px,3.1vw,52px)/1.2 Georgia,serif; letter-spacing:-.04em; }
body.home .cj-v13-pick-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:19px; }
body.home .cj-v13-pick { text-decoration:none; color:#342923; min-width:0; }
body.home .cj-v13-pick-photo { display:grid; place-items:center; background:#f7f4f0;
 aspect-ratio:.94; padding:14px; overflow:hidden; }
body.home .cj-v13-pick-photo img { width:100%; height:100%; object-fit:contain;
 max-width:100%; max-height:100%; mix-blend-mode:multiply; transition:transform .2s ease; }
body.home .cj-v13-pick:hover img { transform:scale(1.035); }
body.home .cj-v13-pick-meta { padding:15px 1px 0; }
body.home .cj-v13-pick-meta > span { font:600 9px Arial,sans-serif; letter-spacing:.12em; color:#a58a77; }
body.home .cj-v13-pick h3 { font:400 18px/1.35 Georgia,serif; margin:8px 0 12px; color:#362c25; }
body.home .cj-v13-pick-meta > div { display:flex; justify-content:space-between; align-items:center;
 font:600 12px Arial,sans-serif; color:#4a3932; }
body.home .cj-v13-pick-meta .woocommerce-price-suffix { color:#9c8d7d; font-size:9px; }
body.home .cj-v13-pick:hover h3 { color:#8e2d3c; }

/* Keep the remainder of the established responsive store untouched. */
@media (min-width:851px) and (max-width:1250px) {
 body.home .cj-header { grid-template-columns:185px minmax(0,1fr) 160px!important;
    padding:0 24px!important; gap:8px!important; }
 body.home .cj-brand .cj-logo-viewport { width:175px!important; }
 body.home .cj-brand .cj-logo-viewport img { width:175px!important; }
 body.home .cj-v09-navlist { gap:11px!important; }
 body.home .cj-v09-navlink { font-size:10px!important; }
 body.home .cj-header-actions { gap:4px!important; }
 body.home .cj-v13-hero-copy { width:min(530px,52%); }
 body.home .cj-v13-hero h1 { font-size:clamp(54px,5.8vw,73px)!important; }
}
@media (max-width:850px) {
 body.home .cj-header { display:block!important; min-height:0!important; height:auto!important; padding:0!important; }
 body.home .cj-header-inner { display:flex!important; min-height:69px!important; padding:0 15px!important;
    align-items:center!important; justify-content:space-between!important; }
 body.home .cj-header-inner > .cj-brand { order:0!important; margin-right:auto!important; flex:0 0 auto; }
 body.home .cj-header-inner > .cj-header-actions { order:1!important; }
 body.home .cj-header-inner > .cj-header-aside { order:2!important; display:flex!important; margin-left:9px; }
 body.home .cj-brand .cj-logo-viewport { display:flex!important; width:148px!important; height:58px!important; }
 body.home .cj-brand .cj-logo-viewport img { width:148px!important; height:auto!important; max-height:58px!important; }
 body.home .cj-header .cj-nav { position:static!important; height:auto!important; min-height:0!important;
    width:100%!important; transform:none!important; margin:0!important; }
 body.home .cj-header .cj-nav-inner { height:auto!important; min-height:0!important; }
 body.home .cj-v13-hero { height:auto; min-height:0; flex-direction:column; }
 body.home .cj-v13-hero-picture { position:relative; z-index:0; width:100%; height:300px;
    background-size:auto 100%; background-position:right center; background-color:#3e221b; }
 body.home .cj-v13-hero-inner { background:#2a1a17; width:100%; padding:34px 24px 40px; }
 body.home .cj-v13-hero-copy { width:100%; max-width:650px; }
 body.home .cj-v13-hero h1 { font-size:clamp(49px,8vw,68px)!important; }
 body.home .cj-v13-hero-copy > p:not(.cj-v13-eyebrow) { font-size:13px; }
 body.home .cj-v13-service-inner { grid-template-columns:repeat(2,minmax(0,1fr)); padding:15px 0; gap:10px 0; }
 body.home .cj-v13-service:nth-child(2) { border-right:0; }
 body.home .cj-v13-pick-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:520px) {
 body.home .cj-v13-banner { padding:0 12px!important; height:auto!important; min-height:33px!important; }
 body.home .cj-v13-banner a { font-size:9px!important; gap:7px; }
 body.home .cj-v13-hero-picture { height:248px; }
 body.home .cj-v13-hero-inner { padding:29px 20px 39px; }
 body.home .cj-v13-eyebrow { font-size:9px; gap:9px; letter-spacing:.1em; }
 body.home .cj-v13-eyebrow span { width:20px; }
 body.home .cj-v13-hero h1 { font-size:48px!important; letter-spacing:-.04em!important; }
 body.home .cj-v13-hero-copy > p:not(.cj-v13-eyebrow) { font-size:12px; }
 body.home .cj-v13-actions { margin-top:20px; gap:10px; }
 body.home .cj-v13-primary,body.home .cj-v13-secondary { min-height:46px; font-size:11px; padding:11px 15px; }
 body.home .cj-v13-service-inner { width:calc(100% - 24px); }
 body.home .cj-v13-service { padding:8px 7px; gap:9px; justify-content:flex-start; }
 body.home .cj-v13-service > svg { width:25px; height:25px; flex-basis:25px; }
 body.home .cj-v13-service strong { font-size:10px; }
 body.home .cj-v13-service small { font-size:9px; }
 body.home .cj-v13-picks { padding:53px 0 75px!important; }
 body.home .cj-v13-picks-heading { padding-bottom:27px; }
 body.home .cj-v13-picks h2 { font-size:35px; }
 body.home .cj-v13-pick-grid { gap:25px 12px; }
 body.home .cj-v13-pick-photo { padding:7px; }
 body.home .cj-v13-pick h3 { font-size:15px; }
}
@media (prefers-reduced-motion:reduce) {
 body.home .cj-v13-pick-photo img { transition:none; }
}

/* High-quality original screenshot crop is resolved at native size.
   Dark left column provides legible live HTML; no low-res image stretching. */
body.home .cj-v13-hero { background: #261b13!important; }
@media (max-width:850px) {
 body.home .cj-v13-hero-picture {
   background-image:url('../img/charme-v13-original-photography-fallback.jpg')!important;
 background-image:image-set(url('../img/charme-v13-original-photography.avif') type('image/avif'), url('../img/charme-v13-original-photography-fallback.jpg') type('image/jpeg'))!important;
   background-size:cover!important;
   background-position:60% center!important;
   background-repeat:no-repeat!important;
 }
}
@media (min-width:851px) {
 body.home .cj-v13-hero { min-height:500px!important; }
}


/* 1.3 QA: compact mobile promo line, proper collection rhythm. */
body.home .cj-v13-banner-short { display:none!important; }
@media (max-width:700px) {
  body.home .cj-v13-banner-long { display:none!important; }
  body.home .cj-v13-banner-short { display:inline!important; }
  body.home .cj-topbar.cj-v13-banner { min-height:33px!important; height:33px!important; }
}
body.home .cj-v13-picks { padding-bottom:45px!important; }
body.home .cj-v08-collections { padding-top:50px!important; }
@media(max-width:700px){
 body.home .cj-v13-picks { padding-bottom:38px!important; }
 body.home .cj-v08-collections { padding-top:36px!important; }
}


/* GLOBAL_BANNER_AND_TABLET_LAYOUT_FIX
   Customer/account/cart screens share the same campaign header.
   Both texts must never appear at the same time. */
.cj-topbar.cj-v13-banner {
  display:flex!important; align-items:center!important; justify-content:center!important;
  padding:5px 15px!important; min-height:37px!important; height:auto!important;
  background:#711c22!important; border:0!important; color:#fff9f2!important;
}
.cj-topbar.cj-v13-banner a {
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  gap:10px!important; color:#fff9f2!important;
  font:500 11px/1.4 Arial,Helvetica,sans-serif!important;
  text-align:center; text-decoration:none!important; letter-spacing:0!important;
}
.cj-v13-banner-short { display:none!important; }
@media(max-width:700px) {
  .cj-v13-banner-long { display:none!important; }
  .cj-v13-banner-short { display:inline!important; }
  .cj-topbar.cj-v13-banner { min-height:34px!important; }
}
/* At mid-width, one-row header squeezes last menu item into search icon.
   Restore a composed two-row header, keeping the fully featured mega menu. */
@media(min-width:851px) and (max-width:1199px) {
  body.home .cj-header {
    display:block!important; padding:0!important; height:auto!important;
    min-height:0!important; position:relative!important; border:0!important;
  }
  body.home .cj-header-inner {
    display:flex!important; width:min(100% - 46px,1320px)!important;
    min-height:78px!important; height:78px!important;
    align-items:center!important; justify-content:space-between!important;
    margin:0 auto!important; padding:0!important; gap:18px!important;
  }
  body.home .cj-brand { display:block!important; margin:0!important; }
  body.home .cj-header-actions { display:flex!important; margin-left:auto!important; }
  body.home .cj-header .cj-nav {
    display:block!important; position:relative!important;
    width:100%!important; height:49px!important; min-height:49px!important;
    left:auto!important; top:auto!important; right:auto!important;
    transform:none!important; margin:0!important; border-top:1px solid #eee9e4!important;
    z-index:105!important;
  }
  body.home .cj-header .cj-nav-inner {
    display:flex!important; width:min(100% - 46px,1320px)!important;
    height:49px!important; min-height:49px!important;
    padding:0!important; margin:0 auto!important;
    align-items:center!important; justify-content:center!important;
  }
  body.home .cj-v09-navlist { gap:clamp(15px,2vw,26px)!important; }
  body.home .cj-v09-navlink { font-size:11px!important; }
  body.home .cj-v09-mega {
    top:100%!important; left:50%!important; right:auto!important;
    transform:translateX(-50%)!important; width:100vw!important;
  }
}
