/* ==========================================================================
   Kitchen Gadget Guru — Stylesheet
   Modern, Pinterest-friendly, conversion-focused affiliate site
   ========================================================================== */

:root {
  --color-bg: #FBF8F3;
  --color-bg-alt: #F3EEE4;
  --color-card: #FFFFFF;
  --color-ink: #2B2420;
  --color-ink-soft: #6B6156;
  --color-primary: #E0663D;      /* warm terracotta */
  --color-primary-dark: #C24E29;
  --color-secondary: #6C8A63;    /* sage green */
  --color-accent: #F2B84B;       /* mustard */
  --color-border: #EAE2D6;
  --shadow-sm: 0 2px 8px rgba(43, 36, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 36, 32, 0.10);
  --shadow-lg: 0 20px 48px rgba(43, 36, 32, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --font-head: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--color-ink);
}

p { margin: 0 0 16px; color: var(--color-ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(224, 102, 61, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--color-ink);
  color: #fff;
}
.btn-secondary:hover { background: #000; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-ink);
  color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }

.btn-amazon {
  background: #FF9900;
  color: #131921;
  box-shadow: var(--shadow-sm);
}
.btn-amazon:hover { background: #e88a00; box-shadow: var(--shadow-md); }
.btn-amazon i { font-size: 1.05em; }

/* ---------------------------------- Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-ink);
}
.logo .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.05rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a { color: var(--color-ink-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--color-primary); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-ink);
}

/* ---------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  padding: 72px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(242,184,75,0.35), transparent 70%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -160px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(108,138,99,0.25), transparent 70%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  margin-bottom: 20px;
}
.hero-copy h1 span { color: var(--color-primary); }
.hero-copy p.lede {
  font-size: 1.15rem;
  max-width: 480px;
}
.hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--color-ink);
}
.hero-stats div span { font-size: 0.85rem; color: var(--color-ink-soft); }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.1;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}
.hero-badge .icon-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-ink);
}
.hero-badge strong { display: block; font-size: 0.9rem; }
.hero-badge span { font-size: 0.78rem; color: var(--color-ink-soft); margin: 0; }

/* ---------------------------------- Section Heading --------------------- */
.section {
  padding: 88px 0;
}
.section-alt { background: var(--color-bg-alt); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }

/* ---------------------------------- Trending Grid (Pinterest-style) ----- */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trend-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.trend-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.trend-card .thumb {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.trend-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.trend-card:hover .thumb img { transform: scale(1.06); }
.trend-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.trend-tag.hot { background: var(--color-primary); }
.trend-tag.new { background: var(--color-secondary); }
.save-pin {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.trend-card:hover .save-pin { opacity: 1; transform: translateY(0); }
.trend-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.trend-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-accent);
}
.trend-rating span { color: var(--color-ink-soft); }
.trend-body h3 { font-size: 1.05rem; margin: 0; }
.trend-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.trend-price .now { font-weight: 800; font-size: 1.15rem; color: var(--color-ink); }
.trend-price .was { font-size: 0.85rem; text-decoration: line-through; color: #B8AFA2; }
.trend-body .btn { margin-top: 8px; }

/* ---------------------------------- Product Spotlight sections ---------- */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}
.product-block:last-of-type { border-bottom: none; }
.product-block.reverse .product-media { order: 2; }
.product-block.reverse .product-copy { order: 1; }
.product-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1/1;
  background: var(--color-bg-alt);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-rank {
  position: absolute;
  top: 18px; left: 18px;
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.product-copy .eyebrow { }
.product-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-ink-soft);
  font-size: 0.98rem;
}
.feature-list li i { color: var(--color-secondary); margin-top: 3px; }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.product-price-row .now { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; }
.product-price-row .was { text-decoration: line-through; color: #B8AFA2; }
.product-price-row .save {
  background: rgba(108,138,99,0.15);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.product-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.product-disclaimer { font-size: 0.78rem; color: #A79E90; margin-top: 14px; }

/* ---------------------------------- Email Capture ------------------------ */
.email-capture {
  position: relative;
  background: linear-gradient(135deg, #2B2420 0%, #3A312A 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.email-capture::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(242,184,75,0.25), transparent 70%);
}
.email-copy { position: relative; z-index: 1; }
.email-copy .eyebrow { background: rgba(242,184,75,0.18); color: var(--color-accent); }
.email-copy h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.email-copy p { color: #D8D0C4; font-size: 1.05rem; }
.email-checklist { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.email-checklist li { display: flex; gap: 10px; align-items: center; color: #EDE8DE; font-size: 0.95rem; }
.email-checklist i { color: var(--color-accent); }

.email-form-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  color: var(--color-ink);
  box-shadow: var(--shadow-lg);
}
.email-form-card .guide-thumb {
  width: 100%;
  aspect-ratio: 4/2.6;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.email-form-card .guide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.email-form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.email-form-card p { font-size: 0.92rem; margin-bottom: 20px; }
.email-form { display: flex; flex-direction: column; gap: 14px; }
.email-form input[type="email"], .email-form input[type="text"] {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-size: 0.98rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s ease;
}
.email-form input:focus { border-color: var(--color-primary); }
.form-note { font-size: 0.75rem; color: var(--color-ink-soft); text-align: center; margin: 0; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(108,138,99,0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.92rem;
}
.form-success.show { display: flex; }
.email-form.hide { display: none; }

/* ---------------------------------- Why Trust / Categories --------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.category-pill {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 26px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.category-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-pill .icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}
.category-pill h4 { font-size: 0.92rem; margin: 0; }

/* ---------------------------------- Trust / stats bar --------------------- */
.trust-bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-item { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 200px; }
.trust-item i { font-size: 1.7rem; color: var(--color-primary); }
.trust-item strong { display: block; font-size: 0.95rem; }
.trust-item span { font-size: 0.82rem; color: var(--color-ink-soft); }

/* ---------------------------------- Testimonials --------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: var(--color-accent); margin-bottom: 14px; font-size: 0.9rem; }
.testimonial-card p { font-style: italic; color: var(--color-ink); font-size: 0.98rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--color-ink-soft); }

/* ---------------------------------- Footer CTA ---------------------------- */
.final-cta {
  text-align: center;
  padding: 80px 0;
}
.final-cta h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); max-width: 700px; margin: 0 auto 16px; }
.final-cta p { max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer {
  background: var(--color-ink);
  color: #D8D0C4;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: #A79E90; font-size: 0.9rem; max-width: 280px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #A79E90; font-size: 0.9rem; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--color-accent); }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.15s ease;
}
.social-row a:hover { background: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #7F7669;
}
.footer-bottom a { color: #7F7669; }
.footer-bottom a:hover { color: var(--color-accent); }

/* ---------------------------------- Back to top ---------------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------------------------------- Toast ---------------------------------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: var(--color-secondary); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .trending-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .email-capture { grid-template-columns: 1fr; padding: 44px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .header-cta .btn span.desktop-only { display: none; }
  .product-block, .product-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .product-block .product-media, .product-block.reverse .product-media { order: 1; }
  .product-block .product-copy, .product-block.reverse .product-copy { order: 2; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 60px; }
  .trust-bar { flex-direction: column; }
  .email-capture { padding: 32px; }
  .email-form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .trending-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-cta-row .btn { width: 100%; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .trend-body h3 { font-size: 0.95rem; }
  .container { padding: 0 18px; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav.open { right: 0; }
.mobile-nav a { font-weight: 600; font-size: 1.05rem; color: var(--color-ink); }
.mobile-nav-close { align-self: flex-end; background: none; border: none; font-size: 1.6rem; cursor: pointer; }
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }
