/* Category showroom layout (product/category_v2.twig). Homepage v2 palette and type. */
.cv2{
  --green:#53754B; --green-deep:#1E2B20; --paper:#F3F3ED; --paper-2:#E9E7DD;
  --ink:#23261F; --muted:#5D6158; --rule:#D6D3C6;
  font-family:'Figtree',system-ui,sans-serif; color:var(--ink); background:var(--paper);
}
.cv2 *,.cv2 *::before,.cv2 *::after{box-sizing:border-box}
.cv2 h1,.cv2 h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;letter-spacing:-.01em;line-height:1.05;margin:0;color:inherit}
.cv2 a{color:inherit;text-decoration:none}
.cv2-wrap{width:100%;max-width:1320px;margin:0 auto;padding:0 32px}
.cv2-kicker{display:flex;align-items:center;gap:14px;margin:0;font-size:11px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}
.cv2-kicker::before{content:"";width:34px;height:1px;background:currentColor}
.cv2-kicker.light{color:#DCE5D6}
[x-cloak]{display:none!important}

/* ---- Hero: photo with a card that overlaps the next section ---- */
.cv2-hero{position:relative;height:clamp(360px,42vw,520px);margin-bottom:70px}
.cv2-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.cv2-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,22,16,.45) 0%,rgba(15,22,16,0) 35%);pointer-events:none}
.cv2-hero .cv2-wrap{position:relative;height:100%;z-index:2}
.cv2-hero__card{position:absolute;left:32px;bottom:-70px;background:var(--paper);padding:30px 34px 32px;width:min(430px,calc(100% - 64px));box-shadow:0 24px 60px rgba(0,0,0,.18)}
.cv2-hero__card h1{font-size:clamp(40px,4.4vw,58px);margin:16px 0 8px}
.cv2-hero__sub{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;color:var(--muted)}
.cv2-hero__jump{position:absolute;right:max(32px,calc((100vw - 1320px)/2 + 32px));bottom:24px;z-index:3;color:#fff;font-family:'Cormorant Garamond',Georgia,serif;font-size:21px;border-bottom:1px solid rgba(255,255,255,.7);padding-bottom:3px}

/* ---- Body: sidebar + grid ---- */
.cv2-body{display:grid;grid-template-columns:200px minmax(0,1fr);gap:0;padding-top:34px;padding-bottom:56px}
.cv2-side{padding-right:28px;border-right:1px solid var(--rule);position:sticky;top:96px;align-self:start}
.cv2-side h2{font-size:38px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--rule)}
.cv2-filters{display:flex;flex-direction:column;gap:2px;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--rule)}
.cv2-filters button{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;border-left:2px solid transparent;background:none;padding:6px 0 6px 12px;font-family:'Cormorant Garamond',Georgia,serif;font-size:19px;color:var(--muted);text-align:left;cursor:pointer}
.cv2-filters button small{font-family:'Figtree',sans-serif;font-size:11px;color:#9A9C92}
.cv2-filters button:hover{color:var(--ink)}
.cv2-filters button.on{border-left-color:var(--green);color:var(--green-deep);font-weight:600}
.cv2-label{margin:0 0 8px;font-size:10.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.cv2-more{display:flex;flex-direction:column;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--rule)}
.cv2-more a{padding:5px 0 5px 12px;font-family:'Cormorant Garamond',Georgia,serif;font-size:18px;color:var(--muted)}
.cv2-more a:hover{color:var(--ink)}
.cv2-assist{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink)}
.cv2-assist span:nth-child(2){border-bottom:1px solid var(--ink);padding-bottom:2px}

.cv2-main{padding-left:30px;min-width:0}
.cv2-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.cv2-toolbar h2{font-size:clamp(30px,2.8vw,40px)}
.cv2-tools{display:flex;gap:10px;flex-wrap:wrap}
.cv2-search{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid var(--rule);background:#fff;color:var(--muted)}
.cv2-search input{border:0;outline:0;background:none;font:inherit;font-size:14px;width:190px;color:var(--ink)}
.cv2-tools select{height:40px;border:1px solid var(--rule);background:#fff;font:inherit;font-size:14px;padding:0 10px;color:var(--ink)}

.cv2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(210px,19vw,265px);gap:10px}
.cv2-card{position:relative;overflow:hidden;background:var(--green-deep);display:block}
.cv2-card[hidden]{display:none}
.cv2-card.is-wide{grid-column:span 2}
.cv2-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.cv2-card:hover img{transform:scale(1.05)}
.cv2-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(12,18,13,.82) 0%,rgba(12,18,13,.25) 38%,rgba(12,18,13,0) 60%);transition:background .3s}
.cv2-card:hover::after{background:linear-gradient(0deg,rgba(12,18,13,.9) 0%,rgba(12,18,13,.45) 55%,rgba(12,18,13,.1) 100%)}
.cv2-card__tx{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px 18px;color:#fff;display:flex;flex-direction:column;gap:3px}
.cv2-card__name{font-family:'Cormorant Garamond',Georgia,serif;font-size:24px;line-height:1.1}
.cv2-card.is-wide .cv2-card__name{font-size:30px}
.cv2-card__about{font-size:13px;line-height:1.45;color:rgba(255,255,255,.82);max-height:0;overflow:hidden;opacity:0;transition:max-height .35s,opacity .35s}
.cv2-card:hover .cv2-card__about{max-height:60px;opacity:1}
.cv2-card__go{font-family:'Cormorant Garamond',Georgia,serif;font-size:16px;color:rgba(255,255,255,.9)}
.cv2-fav{position:absolute;top:12px;right:12px;z-index:2;width:26px;height:26px;color:#fff;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}
.cv2-best{position:absolute;top:12px;left:12px;z-index:2;background:#C9DFB5;color:#20351D;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:5px 9px}
.cv2-best[hidden]{display:none}
.cv2-none{padding:40px 0;text-align:center;color:var(--muted)}
.cv2-none a{color:var(--green);font-weight:600}
.cv2-all{display:flex;align-items:center;gap:18px;margin-top:22px}
.cv2-all::before,.cv2-all::after{content:"";flex:1;height:1px;background:var(--rule)}
.cv2-all button{border:0;background:none;font-family:'Cormorant Garamond',Georgia,serif;font-size:19px;color:var(--ink);cursor:pointer;padding:4px 8px}

/* ---- Custom band ---- */
.cv2-band{display:grid;grid-template-columns:1fr 1fr;min-height:340px;background:var(--green-deep);color:#fff}
.cv2-band__img{position:relative;min-height:260px}
.cv2-band__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cv2-band__tx{padding:44px clamp(24px,5vw,72px);display:flex;flex-direction:column;justify-content:center;gap:18px;background:radial-gradient(circle at 100% 0,rgba(83,117,75,.35),transparent 55%)}
.cv2-band__tx h2{font-size:clamp(34px,3.4vw,48px)}
.cv2-band__tx a{align-self:flex-start;font-family:'Cormorant Garamond',Georgia,serif;font-size:21px;border-bottom:1px solid rgba(255,255,255,.7);padding-bottom:3px}

@media (max-width:980px){
  .cv2-body{grid-template-columns:1fr}
  .cv2-side{position:static;border-right:0;padding-right:0}
  .cv2-side h2{display:none}
  .cv2-filters{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:14px;margin-bottom:14px}
  .cv2-filters button{white-space:nowrap;border:1px solid var(--rule);border-radius:999px;padding:6px 14px;font-size:16px}
  .cv2-filters button.on{border-color:var(--green);background:var(--green);color:#fff}
  .cv2-filters button small{margin-left:4px}
  .cv2-filters button.on small{color:rgba(255,255,255,.8)}
  .cv2-more,.cv2-assist{display:none}
  .cv2-main{padding-left:0}
  .cv2-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:240px}
  .cv2-band{grid-template-columns:1fr}
}
@media (max-width:640px){
  .cv2-wrap{padding:0 16px}
  .cv2-hero{height:320px;margin-bottom:96px}
  .cv2-hero__card{left:16px;width:calc(100% - 32px);padding:22px 22px 24px}
  .cv2-hero__jump{display:none}
  .cv2-grid{grid-template-columns:1fr;grid-auto-rows:250px}
  .cv2-card.is-wide{grid-column:auto}
  .cv2-search input{width:130px}
}
@media (prefers-reduced-motion:reduce){.cv2 *{transition:none!important}}

/* fixes */
.cv2 .cv2-hero__jump{color:#fff}
.cv2-body{grid-template-columns:200px minmax(0,1fr)}
.cv2-side{min-width:0}
.cv2-tools{flex-wrap:nowrap}
.cv2-tools select{width:auto;min-width:0}
@media (max-width:980px){ .cv2-body{grid-template-columns:minmax(0,1fr)} }
@media (max-width:640px){
  .cv2-toolbar h2{font-size:28px}
  .cv2-tools{width:100%;flex-wrap:wrap}
  .cv2-search{flex:1;min-width:0}
  .cv2-search input{width:100%}
  .cv2-tools select{width:100%}
}

/* Scale: calmer sizes on wide screens, whole-scene hero, taller first row */
.cv2-hero{height:clamp(340px,34vw,600px);margin-bottom:56px}
.cv2-hero__img{object-position:62% 42%}
.cv2-hero__card{bottom:-56px;padding:24px 30px 26px;width:min(470px,calc(100% - 64px))}
.cv2-hero__card h1{font-size:clamp(34px,3vw,46px);margin:12px 0 6px;white-space:nowrap}
.cv2-hero__sub{font-size:19px}
.cv2-hero__jump{font-size:18px}
.cv2-body{grid-template-columns:190px minmax(0,1fr)}
.cv2-side h2{font-size:32px}
.cv2-filters button{font-size:17px;padding:5px 0 5px 12px}
.cv2-more a{font-size:16px}
.cv2-toolbar h2{font-size:clamp(26px,2.2vw,34px)}
.cv2-grid{grid-template-rows:clamp(250px,22vw,360px);grid-auto-rows:clamp(190px,16vw,250px)}
.cv2-card__name{font-size:20px}
.cv2-card.is-wide .cv2-card__name{font-size:26px}
.cv2-card__go{font-size:15px}
@media (max-width:980px){ .cv2-body{grid-template-columns:minmax(0,1fr)} .cv2-grid{grid-template-rows:none;grid-auto-rows:230px} }
@media (max-width:640px){ .cv2-hero__card h1{white-space:normal} .cv2-hero{height:300px;margin-bottom:84px} .cv2-grid{grid-auto-rows:240px} }
.cv2-hero__img{object-position:60% 30%}
.cv2-assist span{white-space:nowrap}


/* Hero card sits inside the photo (no gap below it); last-row fill; dusk hero framing */
.cv2-hero{margin-bottom:0}
.cv2-hero__card{bottom:44px}
.cv2-hero__img{object-position:50% 55%}
.cv2-body{padding-top:40px}
.cv2-card.is-full{grid-column:1 / -1}
@media (max-width:640px){ .cv2-hero{margin-bottom:0;height:420px} .cv2-hero__card{bottom:16px} }
.cv2-hero__img{object-position:50% 30%}


/* Hero title card hugs its text and overlaps the hero's bottom edge into the page body */
.cv2-hero__card{width:auto;max-width:calc(100% - 64px);padding:20px 30px 22px;bottom:-24px}
.cv2-hero__card h1{margin:10px 0 4px}
.cv2-body{padding-top:56px}
@media (max-width:640px){ .cv2-hero__card{max-width:calc(100% - 32px);bottom:-24px} }

/* Category description below the designs (its own copy, from the admin) */
.cv2-hero__sub{max-width:34ch}
.cv2-about{padding-top:8px;padding-bottom:64px}
.cv2-about__tx{max-width:760px;margin-left:230px;padding-top:34px;border-top:1px solid var(--rule);color:var(--muted);font-size:15.5px;line-height:1.7}
.cv2-about__tx h2{font-size:30px;color:var(--ink);margin:0 0 14px}
.cv2-about__tx h2 span{color:inherit!important;font-weight:inherit!important}
.cv2-about__tx h2 + h2{font-size:22px;color:var(--green-deep)}
.cv2-about__tx p{margin:0 0 14px;font-size:inherit!important}
.cv2-about__tx a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
@media (max-width:980px){ .cv2-about__tx{margin-left:0} }
.cv2-side h2{overflow-wrap:anywhere}
