/* ==========================================================================
   cooktools showcase homepage
   Scoped under .ct-home so nothing here can leak into shop or product pages.
   ========================================================================== */

.ct-home{--ct-ink:#1d1f22;--ct-muted:#5d6570;--ct-line:#e4e7ea;--ct-bg-alt:#f6f7f9;--ct-accent:#1f6f5c;--ct-accent-ink:#fff;--ct-radius:10px}
.ct-home{color:var(--ct-ink);overflow-x:clip}
/* the full-bleed sections use 100vw, which is wider than the viewport when a
   scrollbar is present; clip stops that becoming horizontal scroll. */
html,body{overflow-x:hidden}
.ct-home > section:last-of-type{margin-bottom:0}
.ct-home .ct-wrap{max-width:100%;margin:0 auto;padding:0}
.ct-home section{margin:0}
.ct-home .ct-sec{padding:72px 0}
.ct-home .ct-sec--alt{background:var(--ct-bg-alt);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%)}
.ct-home .ct-sec__head{margin:0 0 32px}
.ct-home .ct-sec__head h2{font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.25;margin:0 0 6px;font-weight:700}
.ct-home .ct-sec__head p{margin:0;color:var(--ct-muted);font-size:1rem}

/* --- hero --- */
.ct-home .ct-hero{background:linear-gradient(180deg,#fafbfc 0%,#f2f4f6 100%);border-bottom:1px solid var(--ct-line);padding:72px 0 64px;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%)}
.ct-home .ct-hero__inner{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:48px;align-items:center}
.ct-home .ct-eyebrow{margin:0 0 14px;font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;color:var(--ct-accent);font-weight:700}
.ct-home .ct-h1{font-size:clamp(1.7rem,4vw,2.85rem);line-height:1.15;margin:0 0 18px;font-weight:700;letter-spacing:-.01em}
.ct-home .ct-h1 span{color:var(--ct-muted);font-weight:600}
.ct-home .ct-lead{font-size:1.06rem;line-height:1.6;color:var(--ct-muted);margin:0 0 26px;max-width:56ch}
.ct-home .ct-cta-row{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.ct-home .ct-btn{display:inline-block;padding:13px 26px;border-radius:var(--ct-radius);font-weight:600;font-size:.95rem;text-decoration:none;transition:.16s ease;border:1.5px solid transparent;line-height:1.2}
.ct-home .ct-btn--primary{background:var(--ct-accent);color:var(--ct-accent-ink)}
.ct-home .ct-btn--primary:hover{background:#18594a;color:#fff}
.ct-home .ct-btn--ghost{border-color:var(--ct-line);color:var(--ct-ink);background:#fff}
.ct-home .ct-btn--ghost:hover{border-color:var(--ct-accent);color:var(--ct-accent)}
.ct-home .ct-hero__stats{display:grid;gap:14px}
.ct-home .ct-hero__stats div{background:#fff;border:1px solid var(--ct-line);border-radius:var(--ct-radius);padding:16px 18px}
.ct-home .ct-hero__stats strong{display:block;font-size:1.5rem;line-height:1.1;font-weight:700}
.ct-home .ct-hero__stats span{font-size:.85rem;color:var(--ct-muted)}

/* --- category grid --- */
.ct-home .ct-cats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ct-home .ct-cat a{display:block;background:#fff;border:1px solid var(--ct-line);border-radius:var(--ct-radius);padding:18px;text-decoration:none;color:inherit;height:100%;transition:.16s ease}
.ct-home .ct-cat a:hover{border-color:var(--ct-accent);box-shadow:0 6px 20px rgba(0,0,0,.06);transform:translateY(-2px)}
.ct-home .ct-cat__img{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:8px;background:var(--ct-bg-alt);margin-bottom:14px}
.ct-home .ct-cat__img img{width:100%;height:100%;object-fit:cover;display:block}
.ct-home .ct-cat__name{display:block;font-weight:600;font-size:1rem;line-height:1.3;margin-bottom:3px}
.ct-home .ct-cat__count{display:block;font-size:.85rem;color:var(--ct-muted)}
.ct-home .ct-more{margin:28px 0 0;text-align:center}
.ct-home .ct-more a{color:var(--ct-accent);font-weight:600;text-decoration:none}
.ct-home .ct-more a:hover{text-decoration:underline}

/* --- how it works --- */
.ct-home .ct-how{background:var(--ct-bg-alt);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%)}
.ct-home .ct-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;counter-reset:s}
.ct-home .ct-steps li{background:#fff;border:1px solid var(--ct-line);border-radius:var(--ct-radius);padding:26px 24px}
.ct-home .ct-step__n{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--ct-accent);color:#fff;font-weight:700;font-size:.95rem;margin-bottom:14px}
.ct-home .ct-steps h3{font-size:1.05rem;margin:0 0 8px;font-weight:700}
.ct-home .ct-steps p{margin:0;color:var(--ct-muted);font-size:.95rem;line-height:1.55}

/* --- trust --- */
.ct-home .ct-trust__inner{max-width:760px}
.ct-home .ct-trust h2{font-size:clamp(1.35rem,2.4vw,1.9rem);margin:0 0 14px;font-weight:700}
.ct-home .ct-trust p{color:var(--ct-muted);line-height:1.65;margin:0 0 18px}
.ct-home .ct-badges{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;padding:0}
.ct-home .ct-badges li{background:#fff;border:1px solid var(--ct-line);border-radius:100px;padding:7px 15px;font-size:.85rem;font-weight:600}

/* --- product grids from the [products] shortcode --- */
.ct-home ul.products{margin-left:0!important;margin-right:0!important}
.ct-home ul.products li.product{margin-bottom:0!important}

/* --- responsive --- */
@media (max-width:1024px){
  .ct-home .ct-hero__inner{grid-template-columns:1fr;gap:32px}
  .ct-home .ct-hero__stats{grid-template-columns:repeat(3,1fr)}
  .ct-home .ct-steps{grid-template-columns:1fr}
}
@media (max-width:767px){
  .ct-home .ct-sec,.ct-home .ct-hero{padding-top:48px;padding-bottom:48px}
  .ct-home .ct-cats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .ct-home .ct-hero__stats{grid-template-columns:1fr}
  .ct-home .ct-btn{width:100%;text-align:center}
}

/* Full-bleed sections must always keep a gutter. A shorthand `padding:` elsewhere
   silently resets padding-left/right and the negative margin then drags content
   off the left edge, where overflow-x:hidden clips it. max() makes that impossible. */
.ct-home .ct-hero,.ct-home .ct-sec--alt,.ct-home .ct-how{padding-left:max(16px,calc(50vw - 50%));padding-right:max(16px,calc(50vw - 50%))}
/* and nothing inside may exceed the available width */
.ct-home img,.ct-home .ct-cats,.ct-home .ct-steps{max-width:100%}
