/* ═══════════════════════════════════════════
   TRISTAR COOKWARE — Design System
   Font: Cormorant Garamond (display) + Outfit (body)
   Theme: White + TriStar Red + Navy
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ── Tokens ── */
:root {
  --navy:        #0D1B2A;
  --navy-2:      #162336;
  --navy-3:      #1E2E40;
  --red:         #D01A24;
  --red-light:   #E8353F;
  --red-pale:    #FDECEA;

  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --grey-1:      #F0F2F5;
  --grey-2:      #E2E6EA;
  --grey-3:      #C8CDD4;

  --text:        #0D1B2A;
  --text-2:      #3A4A5C;
  --muted:       #7A8799;

  --charcoal:    var(--navy);
  --charcoal-2:  var(--navy-2);
  --charcoal-3:  var(--navy-3);
  --cream:       #FFFFFF;
  --cream-2:     var(--off-white);
  --cream-3:     var(--grey-1);
  --copper:      var(--red);
  --copper-light:var(--red-light);
  --copper-pale: var(--red-pale);

  --border-dark: rgba(255,255,255,0.09);
  --border-light:rgba(13,27,42,0.1);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Outfit', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--navy);
  display: flex; align-items: center;
  padding: 0 48px; height: 68px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--ff-body);
  font-size: 20px; font-weight: 700;
  color: var(--white); letter-spacing: 0.06em;
  text-transform: uppercase; flex-shrink: 0;
  display: flex; flex-direction: column; line-height: 1;
}

.nav-logo .tri  { color: var(--white); }
.nav-logo .star { color: var(--red-light); }
.nav-logo .tagline {
  font-size: 8px; font-weight: 400; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4); text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex; gap: 36px;
  margin: 0 auto;
}

.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--red-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-right {
  display: flex; align-items: center; gap: 20px; flex-shrink: 0;
}

.nav-contact {
  font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.nav-contact span { color: var(--red-light); font-weight: 500; }

.nav-enquire {
  background: var(--red);
  color: var(--white); border: none;
  padding: 9px 20px; border-radius: 24px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.nav-enquire:hover {
  background: var(--red-light);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-left {
  padding: 80px 64px 80px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}

.hero-eyebrow-line {
  width: 36px; height: 1px; background: var(--red);
}

.hero-eyebrow-text {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red-light);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 300; line-height: 1.05;
  color: var(--white); margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic; color: var(--red-light);
  font-weight: 300;
}

.hero-sub {
  font-size: 15px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 400px; margin-bottom: 48px;
}

.hero-ctas {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

.btn-primary {
  background: var(--red); color: var(--white);
  border: none; padding: 14px 32px; border-radius: 32px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(208,26,36,0.4);
}

.btn-ghost {
  background: none; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 13px 28px; border-radius: 32px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.04em;
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.hero-stats {
  display: flex; gap: 40px; margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-num {
  font-family: var(--ff-display);
  font-size: 36px; font-weight: 300; color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 6px; font-weight: 400;
}

.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}

.hero-visual {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #162336 0%, #0D1B2A 60%, #111E2E 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.hero-circle {
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(208,26,36,0.25);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.hero-circle::before {
  content: '';
  position: absolute; inset: 24px; border-radius: 50%;
  border: 1px solid rgba(208,26,36,0.12);
}

.hero-circle-inner {
  width: 340px; height: 340px; border-radius: 16px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-circle-inner img {
  width: 50%;
  height: 50%;
  object-fit: scale-down;
}


.hero-floating-tag {
  position: absolute;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.hero-floating-tag.tag-1 { top: 20%; right: 8%; }
.hero-floating-tag.tag-2 { bottom: 22%; left: 8%; }

.ftag-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.ftag-value { font-size: 14px; font-weight: 500; color: var(--white); }
.ftag-copper { color: var(--red-light); }

/* ════════════════════════════════════════
   MARQUEE STRIP
════════════════════════════════════════ */
.marquee-strip {
  background: var(--red);
  padding: 14px 0; overflow: hidden;
  display: flex; white-space: nowrap;
}

.marquee-track {
  display: flex; gap: 0;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
}

.marquee-item {
  display: flex; align-items: center; gap: 16px;
  padding: 0 32px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white);
  opacity: 0.9;
}

.marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.4); flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   CATEGORIES SECTION
════════════════════════════════════════ */
.section { padding: 96px 80px; }
.section-sm { padding: 64px 80px; }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300; line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic; color: var(--red);
}

.section-link {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 8px;
  transition: gap var(--transition);
  flex-shrink: 0; margin-bottom: 4px;
}

.section-link:hover { gap: 14px; }
.section-link svg { transition: transform var(--transition); }
.section-link:hover svg { transform: translateX(4px); }

/* Category Cards */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: transform var(--transition);
}

.cat-card:hover { transform: translateY(-4px); }
.cat-card:hover .cat-overlay { opacity: 1; }
.cat-card:hover .cat-cta { opacity: 1; transform: translateY(0); }

.cat-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 120px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-card:hover .cat-bg { transform: scale(1.06); }

.cat-bg-ss  { background: linear-gradient(135deg, #0D1B2A, #162336); }
.cat-bg-ns  { background: linear-gradient(135deg, #2A0D0F, #3A1214); }
.cat-bg-cut { background: linear-gradient(135deg, #0D1B2A, #0A1520); }
.cat-bg-navy { background: linear-gradient(135deg, #0D1B2A, #162336); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.cat-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px; z-index: 2;
}

.cat-count {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-light); font-weight: 500; margin-bottom: 6px;
}

.cat-name {
  font-family: var(--ff-display);
  font-size: 28px; font-weight: 400; color: var(--white);
  line-height: 1.1; margin-bottom: 4px;
}

.cat-desc {
  font-size: 12px; color: rgba(255,255,255,0.5);
  font-weight: 300;
}

.cat-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red-light);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}

/* ════════════════════════════════════════
   FEATURED PRODUCTS
════════════════════════════════════════ */
.featured-bg { background: var(--off-white); }
.featured-bg .section-title { color: var(--navy); }
.featured-bg .section-eyebrow { color: var(--red); }

/* Filter tabs */
.filter-tabs {
  display: flex; gap: 4px; margin-bottom: 40px;
}

.filter-tab {
  background: none; border: 1px solid var(--border-light);
  color: var(--muted); border-radius: 24px;
  padding: 8px 20px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}

.filter-tab:hover {
  color: var(--navy); border-color: var(--navy);
}

.filter-tab.active {
  background: var(--red); border-color: var(--red);
  color: var(--white);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(208,26,36,0.25);
  box-shadow: 0 12px 32px rgba(13,27,42,0.1);
}

.product-img {
  width: 100%; aspect-ratio: 1;
  background: var(--grey-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}

.product-card:hover .product-img { background: var(--grey-2); }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 10px;
}

.badge-sale { background: var(--red);   color: var(--white); }
.badge-new  { background: #1A3D2E;      color: #5EC99A; }
.badge-best { background: var(--navy);  color: rgba(255,255,255,0.8); }

.product-wishlist {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted);
  transition: all var(--transition);
}
.product-wishlist:hover { color: var(--red); border-color: var(--red); }

.product-info { padding: 16px; }

.product-cat {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); font-weight: 500; margin-bottom: 6px;
}

.product-name {
  font-size: 13px; font-weight: 400; color: var(--text);
  line-height: 1.4; margin-bottom: 4px;
}

.product-sub {
  font-size: 11px; color: var(--muted); font-weight: 300;
  margin-bottom: 14px;
}

.product-bottom {
  display: flex; align-items: center; justify-content: flex-end;
}

.product-price {
  font-family: var(--ff-display);
  font-size: 20px; font-weight: 400; color: var(--navy);
}

.product-price-old {
  font-size: 12px; color: var(--muted);
  text-decoration: line-through; margin-left: 6px;
  font-weight: 300;
}

.product-enquire {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--red);
  background: none; border: 1px solid rgba(208,26,36,0.3);
  padding: 6px 12px; border-radius: 12px;
  transition: all var(--transition);
}

.product-enquire:hover {
  background: var(--red); color: var(--white);
  border-color: var(--red);
}

/* ════════════════════════════════════════
   ABOUT STRIP
════════════════════════════════════════ */
.about-strip {
  background: var(--grey-1);
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.about-text .section-title { margin-bottom: 20px; }

.about-body {
  font-size: 15px; font-weight: 300; line-height: 1.8;
  color: var(--text-2); margin-bottom: 32px;
}

.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.highlight {
  padding: 20px; background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.highlight-num {
  font-family: var(--ff-display);
  font-size: 32px; font-weight: 300; color: var(--red);
  line-height: 1;
}

.highlight-label {
  font-size: 12px; color: var(--muted); margin-top: 4px;
  font-weight: 300;
}

.about-contact {
  background: var(--navy);
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; flex-direction: column; gap: 24px;
}

.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-value { font-size: 16px; font-weight: 400; color: var(--white); }
.contact-value a { color: var(--red-light); }

.contact-divider { height: 1px; background: rgba(255,255,255,0.08); }

.contact-cta {
  background: var(--red); color: var(--white);
  border: none; padding: 14px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition);
  text-align: center; display: block;
}

.contact-cta:hover { background: var(--red-light); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding: 64px 80px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--ff-body);
  font-size: 18px; font-weight: 700;
  color: var(--white); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 16px;
}

.footer-logo .star { color: var(--red-light); }

.footer-tagline {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.4);
  line-height: 1.7; max-width: 260px; margin-bottom: 24px;
}

.footer-col h4 {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col a {
  display: block; font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.5); margin-bottom: 12px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

.footer-copy {
  font-size: 12px; color: rgba(255,255,255,0.2); font-weight: 300;
}

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 11px; color: rgba(255,255,255,0.2);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.in-view {
  opacity: 1; transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
/* ════════════════════════════════════════
   BENTO MARQUEE
════════════════════════════════════════ */
.bento-section {
  padding: 96px 0;
  background: var(--white);
  overflow: hidden;
}

.bento-header {
  padding: 0 80px;
  margin-bottom: 48px;
}

.bento-marquee-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bento-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: bento-scroll 35s linear infinite;
}

.bento-track-reverse {
  animation: bento-scroll-reverse 40s linear infinite;
}

.bento-track:hover,
.bento-track-reverse:hover {
  animation-play-state: paused;
}

@keyframes bento-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes bento-scroll-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.bento-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  min-width: 180px;
  cursor: pointer;
  transition: all var(--transition);
  /* blur effect like the MagicUI component */
  filter: blur(0.6px);
}

.bento-card:hover {
  filter: blur(0);
  border-color: rgba(208,26,36,0.3);
  box-shadow: 0 8px 24px rgba(13,27,42,0.08);
  transform: translateY(-2px);
}

.bento-emoji {
  font-size: 28px;
  line-height: 1;
}

.bento-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.bento-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* fade masks left and right */
.bento-fade-left,
.bento-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 200px;
  pointer-events: none;
  z-index: 2;
}

.bento-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.bento-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}
/* ════════════════════════════════════════
   ENQUIRE MODAL
════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(13,27,42,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}

/* hidden attribute must win over display:flex */
.modal-overlay[hidden] { display: none !important; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px; width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(13,27,42,0.25);
  animation: modal-in 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grey-1); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--grey-2); color: var(--text); }

.modal-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--ff-display);
  font-size: 24px; font-weight: 300; color: var(--navy);
  line-height: 1.2; margin-bottom: 12px;
}

.modal-body {
  font-size: 14px; font-weight: 300; color: var(--text-2);
  line-height: 1.7; margin-bottom: 28px;
}

.modal-contacts {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 20px;
}

.modal-contact-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
  color: var(--text);
}

.modal-contact-row:last-child { border-bottom: none; }
.modal-contact-row:hover { background: var(--grey-1); }

.modal-contact-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}

.modal-contact-value {
  font-size: 14px; font-weight: 500; color: var(--navy);
}

.modal-cta-btn {
  display: block; text-align: center;
  background: var(--red); color: var(--white);
  padding: 14px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.modal-cta-btn:hover { background: var(--red-light); }

/* ════════════════════════════════════════
   PRODUCT IMAGE (from sheet)
════════════════════════════════════════ */
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.product-desc {
  font-size: 11px; color: var(--muted); font-weight: 300;
  line-height: 1.5; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ════════════════════════════════════════
   CATEGORY GRID — 3 columns for 9 items
════════════════════════════════════════ */
.cats-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ── Extra category backgrounds ── */
.cat-bg-baking   { background: linear-gradient(135deg, #1A2B18, #0D1B0C); }
.cat-bg-catering { background: linear-gradient(135deg, #2B1A0C, #1A0E06); }
.cat-bg-iron     { background: linear-gradient(135deg, #1A1A20, #0D0D14); }
.cat-bg-bbq      { background: linear-gradient(135deg, #2B1208, #1A0905); }

/* ════════════════════════════════════════
   CATEGORY PAGE HERO
════════════════════════════════════════ */
.cat-hero {
  background: var(--navy);
  padding-top: 68px; /* nav offset */
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.cat-hero-inner {
  padding: 64px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}

.cat-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.cat-breadcrumb a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.cat-breadcrumb a:hover { color: var(--white); }
.cat-breadcrumb svg { flex-shrink: 0; }

.cat-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300; line-height: 1.05;
  color: var(--white); margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cat-hero-desc {
  font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.5);
  line-height: 1.7; max-width: 400px; margin-bottom: 24px;
}

.cat-count-pill {
  display: inline-block;
  background: rgba(208,26,36,0.15);
  border: 1px solid rgba(208,26,36,0.3);
  color: var(--red-light);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 20px;
}

.cat-hero-bg {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}

.cat-hero-bg.cat-hero-has-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 60%);
}

/* ════════════════════════════════════════
   CATEGORY PAGE CONTROLS
════════════════════════════════════════ */
.cat-controls-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky; top: 68px; z-index: 100;
}

.cat-controls-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 14px 80px;
  display: flex; align-items: center; gap: 16px;
}

.cat-search-wrap {
  position: relative; flex: 1; max-width: 380px;
}

.cat-search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}

.cat-search {
  width: 100%; padding: 9px 12px 9px 36px;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  font-family: var(--ff-body); font-size: 13px; color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.cat-search:focus {
  border-color: var(--red);
  background: var(--white);
}

.cat-search::placeholder { color: var(--muted); }

.cat-sort {
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  font-family: var(--ff-body); font-size: 13px; color: var(--text);
  background: var(--off-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%237A8799' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none; cursor: pointer; outline: none;
  transition: border-color var(--transition);
}

.cat-sort:focus { border-color: var(--red); }

/* ════════════════════════════════════════
   CATEGORY PAGE STATES
════════════════════════════════════════ */
.cat-product-section { background: var(--off-white); }

.cat-state { width: 100%; }

.cat-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  position: relative; overflow: hidden;
}

.skeleton-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.cat-state-msg {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 80px 24px;
}

.cat-msg-icon { font-size: 48px; margin-bottom: 24px; }

.cat-msg-title {
  font-family: var(--ff-display);
  font-size: 28px; font-weight: 300; color: var(--navy);
  margin-bottom: 12px;
}

.cat-msg-body {
  font-size: 14px; font-weight: 300; color: var(--text-2);
  line-height: 1.8; max-width: 480px; margin-bottom: 28px;
}

.cat-msg-body code {
  background: var(--grey-1); padding: 1px 6px; border-radius: 4px;
  font-size: 12px; color: var(--navy);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1200px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .cat-skeleton-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-left { padding: 60px 40px 60px 48px; }
  .cat-controls-inner { padding: 14px 40px; }
}

@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .nav-hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 24px; }

  .section, .section-sm { padding: 64px 24px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-skeleton-grid { grid-template-columns: repeat(2, 1fr); }

  .cat-hero { grid-template-columns: 1fr; min-height: auto; }
  .cat-hero-inner { padding: 48px 24px; }
  .cat-hero-bg { display: none; }

  .cat-controls-inner { padding: 12px 24px; flex-wrap: wrap; }
  .cat-search-wrap { max-width: 100%; flex: 1 1 200px; }

  .about-strip {
    grid-template-columns: 1fr;
    padding: 48px 24px; gap: 40px;
  }

  .footer { padding: 48px 24px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  .cats-grid { grid-template-columns: 1fr !important; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-skeleton-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .filter-tabs { flex-wrap: wrap; }
}