/* ============================================================
   IdeHub Homepage — custom styles on top of colors_and_type.css
   ============================================================ */

:root {
  --ide-accent: var(--ide-orange);
  --ide-accent-soft: var(--ide-orange-soft);
  /* allow tweaks to override */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ide-ink);
  background: var(--ide-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Global noise texture overlay (signature print-like grain) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
/* Page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 8% 8%, rgba(242,117,47,0.10), transparent 28rem);
  pointer-events: none;
  z-index: 0;
}

/* ─────────────────── REUSABLE PRIMITIVES ─────────────────── */

.t-eyebrow {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ide-accent);
  display: inline-block;
}
.t-eyebrow-light { color: var(--ide-accent-soft); }

.ide-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  color: var(--ide-accent);
}
.ide-italic-soft {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  color: var(--ide-accent-soft);
}

.ide-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
}
.ide-section-head-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 13px;
  color: var(--stone-500);
}
.ide-section-title {
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ide-ink);
  text-wrap: balance;
}
.ide-section-title.is-light { color: #fff; }

.ide-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ide-ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ide-ink);
  transition: gap 220ms var(--easing), color 220ms var(--easing);
}
.ide-link-arrow:hover { gap: 14px; color: var(--ide-accent); }

.ide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 220ms var(--easing);
  white-space: nowrap;
}
.ide-btn-orange {
  background: var(--ide-accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(242,117,47,0.35);
}
.ide-btn-orange:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 18px 40px rgba(242,117,47,0.45); }
.ide-btn-orange:active { transform: translateY(0) scale(0.98); }
.ide-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.32);
  backdrop-filter: blur(6px);
}
.ide-btn-ghost:hover { background: #fff; color: var(--ide-ink); border-color: #fff; }
.ide-btn-ghost-dark {
  background: transparent;
  color: var(--ide-ink);
  border-color: rgba(17,17,17,0.16);
}
.ide-btn-ghost-dark:hover { background: var(--ide-ink); color: #fff; }
.ide-btn-dark {
  background: var(--ide-ink);
  color: #fff;
}
.ide-btn-dark:hover { background: var(--ide-accent); }

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}
.dot.dot-warn { background: var(--ide-accent); box-shadow: 0 0 0 3px rgba(242,117,47,0.18); }
.dot.dot-ok { background: #16a34a; }

/* ─────────────────── UTILITY STRIP ─────────────────── */

.ide-utility-strip {
  position: relative;
  z-index: 41;
  background: var(--ide-ink);
  color: #d6d3d1;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
}
.ide-utility-inner {
  height: 36px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.ide-utility-marquee {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  flex-shrink: 0;
  animation: utility-scroll 20s linear infinite;
}
.ide-utility-marquee .dot {
  width: 4px; height: 4px;
  background: var(--ide-accent);
  margin: 0 2px;
}
@keyframes utility-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ─────────────────── NAV ─────────────────── */

.ide-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--easing), background 220ms var(--easing);
}
.ide-nav.is-scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: rgba(17,17,17,0.06);
}
.ide-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.ide-nav-logo img { height: 26px; display: block; }
.ide-nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: center;
  gap: 36px;
}
.ide-nav-list li { position: relative; }
.ide-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 28px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--stone-700);
  border-bottom: 2px solid transparent;
  transition: color 220ms var(--easing), border-color 220ms var(--easing);
}
.ide-nav-link.is-hover { color: var(--ide-ink); }
.ide-nav-link.is-hover::after,
.ide-nav-list li:hover .ide-nav-link::after {
  content: "";
}
.ide-nav-list li:hover .ide-nav-link { color: var(--ide-ink); }
.ide-nav-badge {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 6px;
  background: var(--ide-accent);
  color: #fff;
  border-radius: 9999px;
}
.ide-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ide-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: transparent;
  color: var(--ide-ink);
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: all 180ms var(--easing);
}
.ide-icon-btn:hover { background: var(--ide-ink); color: #fff; }
.ide-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background: var(--ide-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* MEGA MENU */
.ide-mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 39;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid rgba(17,17,17,0.06);
  border-bottom: 1px solid rgba(17,17,17,0.06);
  backdrop-filter: blur(20px);
  animation: mega-fade 220ms var(--easing);
}
@keyframes mega-fade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ide-mega-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 28px 40px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
.ide-mega-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}
.ide-mega-head h3 {
  margin: 8px 0 6px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.ide-mega-head p {
  margin: 0;
  font-size: 13px;
  color: var(--stone-500);
}
.ide-mega-col h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone-500);
  margin: 0 0 14px;
}
.ide-mega-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ide-mega-col a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ide-ink);
  transition: color 180ms var(--easing), padding-left 180ms var(--easing);
}
.ide-mega-col a:hover { color: var(--ide-accent); padding-left: 4px; }
.ide-mega-feat {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 24px;
  background: var(--stone-50);
  transition: all 220ms var(--easing);
}
.ide-mega-feat:hover {
  background: var(--ide-ink);
  border-color: var(--ide-ink);
  color: #fff;
  transform: translateY(-2px);
}
.ide-mega-feat:hover .ide-mega-feat-meta .t-eyebrow { color: var(--ide-accent-soft); }
.ide-mega-feat-img {
  aspect-ratio: 1;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.ide-mega-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.ide-mega-feat-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}
.ide-mega-feat-meta h4 { margin: 6px 0 0; font-size: 16px; font-weight: 800; }
.ide-mega-feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ide-accent);
}
.ide-mega-feat:hover .ide-mega-feat-cta { color: var(--ide-accent-soft); }

/* ─────────────────── HERO ─────────────────── */

.ide-hero {
  position: relative;
  min-height: 92vh;
  background: var(--ide-ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.ide-hero-bg { position: absolute; inset: 0; z-index: 0; }
.ide-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: contrast(1.05) saturate(1.05);
}
.ide-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(16,15,13,0.20) 0%,
    rgba(16,15,13,0.55) 45%,
    rgba(16,15,13,0.92) 100%);
}
.ide-hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.12;
  mix-blend-mode: overlay;
}
.ide-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 78%, rgba(242,117,47,0.32), transparent 30rem),
              radial-gradient(circle at 95% 12%, rgba(242,117,47,0.10), transparent 22rem);
}

.ide-hero-bg-type {
  position: absolute;
  inset: auto 0 -3vw 0;
  z-index: 0;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(14rem, 28vw, 30rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.045);
  pointer-events: none;
  user-select: none;
}

.ide-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 84px 28px 32px;
  min-height: 92vh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 32px;
}

.ide-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.ide-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9999px;
  color: var(--ide-accent-soft);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}
.ide-hero-kicker .dot { background: var(--ide-accent); box-shadow: 0 0 0 4px rgba(242,117,47,0.25); }
.ide-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.ide-hero-meta .sep {
  width: 24px; height: 1px; background: rgba(255,255,255,0.3);
}

.ide-hero-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(3.4rem, 8.8vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
  align-self: end;
  text-wrap: balance;
}
.ide-hero-line { display: block; }
.ide-hero-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  color: var(--ide-accent-soft);
}

.ide-hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.ide-hero-lede {
  max-width: 460px;
}
.ide-hero-lede p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin: 0;
}
.ide-hero-ctas {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ide-hero-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 16px;
  width: 360px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(18px);
  color: #fff;
  transition: all 280ms var(--easing);
}
.ide-hero-card:hover {
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-2px);
}
.ide-hero-card-img {
  aspect-ratio: 1;
  background: var(--stone-100);
  border-radius: 14px;
  overflow: hidden;
}
.ide-hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ide-hero-card-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}
.ide-hero-card-meta h3 {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
}
.ide-hero-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}
.ide-hero-card-arrow {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--ide-accent);
  color: #fff;
  transition: transform 220ms var(--easing);
}
.ide-hero-card:hover .ide-hero-card-arrow { transform: translateX(2px); }

.ide-hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.ide-hero-foot-mid {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ide-accent-soft);
}

/* ─────────────────── TRUST BAR ─────────────────── */

.ide-trust-wrap {
  background: var(--ide-paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ide-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1400px;
  margin: 0 auto;
}
.ide-trust-bar--loop { display: none; }

.ide-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid var(--border);
}
.ide-trust-item:last-child { border-right: none; }

.ide-trust-icon {
  flex-shrink: 0;
  color: var(--ide-ink);
  display: flex;
}

.ide-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ide-trust-text strong {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ide-ink);
  line-height: 1.2;
}
.ide-trust-text span {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--fg-3);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .ide-trust-bar { grid-template-columns: repeat(2, 1fr); }
  .ide-trust-item:nth-child(2) { border-right: none; }
  .ide-trust-item:nth-child(3) {
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
  .ide-trust-item:nth-child(4) { border-top: 1px solid var(--border); }
}


@keyframes trust-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ─────────────────── MARQUEE ─────────────────── */

.ide-marquee {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ide-marquee.is-dark {
  background: var(--ide-ink);
  color: #fff;
}
.ide-marquee.is-light {
  background: var(--ide-paper);
  color: var(--ide-ink);
  border-top-color: rgba(17,17,17,0.06);
  border-bottom-color: rgba(17,17,17,0.06);
}
.ide-marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee-scroll 36s linear infinite;
}
.ide-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.ide-marquee-item:nth-child(even) span:first-child {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: none;
  color: var(--ide-accent-soft);
}
.ide-marquee.is-light .ide-marquee-item:nth-child(even) span:first-child {
  color: var(--ide-accent);
}
.ide-marquee-sep { color: var(--ide-accent); display: inline-flex; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Smaller quote marquee variant */
.ide-quote-marquee {
  background: var(--ide-paper);
  border-top: 1px solid rgba(17,17,17,0.06);
  border-bottom: 1px solid rgba(17,17,17,0.06);
  overflow: hidden;
  padding: 14px 0;
}
.ide-quote-marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 60s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  color: var(--stone-500);
}

/* ─────────────────── CATEGORIES ─────────────────── */

.ide-cats {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 0;
  position: relative;
  z-index: 2;
}
.ide-cats > .ide-section-head {
  margin: 0 0 40px;
  padding: 0 28px;
}
.ide-cat-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 0 28px 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ide-cat-grid::-webkit-scrollbar { display: none; }
.ide-cat-card {
  flex: 0 0 300px;
  height: 480px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--stone-100);
  isolation: isolate;
  transition: transform 280ms var(--easing);
  text-decoration: none;
}
.ide-cat-card:hover { transform: translateY(-3px); }
.ide-cat-img {
  position: absolute; inset: 0;
}
.ide-cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms var(--easing);
  filter: brightness(0.85);
}
.ide-cat-card:hover .ide-cat-img img { transform: scale(1.08); filter: brightness(0.92); }
.ide-cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.78) 100%);
  z-index: 1;
}
.ide-cat-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  color: #fff;
}
.ide-cat-meta-l { display: flex; flex-direction: column; gap: 4px; }
.ide-cat-meta h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.ide-cat-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.ide-cat-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--ide-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 6px;
  width: fit-content;
}
.ide-cat-card.is-drop .ide-cat-img img {
  filter: brightness(0.7) saturate(0.9);
}
.ide-cat-arrow {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.95);
  color: var(--ide-ink);
  border-radius: 9999px;
  transition: all 220ms var(--easing);
}
.ide-cat-card:hover .ide-cat-arrow {
  background: var(--ide-accent); color: #fff;
  transform: translateX(2px) rotate(-8deg);
}

.ide-cat-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ide-cat-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ide-ink);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ide-ink);
  transition: all 200ms var(--easing);
}
.ide-cat-nav-btn:hover:not(:disabled) {
  background: var(--ide-ink);
  color: #fff;
}
.ide-cat-nav-btn.is-disabled {
  border-color: var(--stone-300);
  color: var(--stone-300);
  cursor: default;
}

/* ─────────────────── PRODUCTS ─────────────────── */

.ide-products {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 28px 120px;
  position: relative;
  z-index: 2;
}
.ide-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}

.ide-pcard {
  cursor: pointer;
  position: relative;
}
.ide-pcard-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--stone-100);
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
}
.ide-pcard-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--easing), opacity 220ms ease;
}
.ide-pcard:hover .ide-pcard-img { transform: scale(1.04); }

.ide-pcard-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  background: #fff;
  color: var(--ide-ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 9999px;
}
.ide-pcard-tag.is-new { background: var(--ide-ink); color: #fff; }
.ide-pcard-tag.is-low {
  background: var(--ide-accent);
  color: #fff;
  top: auto;
  bottom: 12px;
  left: 12px;
}

/* hover style: info — overlay panel slides up */
.ide-pcard-info {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms var(--easing), transform 280ms var(--easing);
}
.ide-pcard.is-hover .ide-pcard-info { opacity: 1; transform: translateY(0); }
.ide-pcard-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.ide-pcard-info-row .ide-pcard-swatches { display: flex; gap: 4px; }
.ide-pcard-info-row .ide-pcard-swatches span {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
}
.ide-pcard-sizes { display: flex; gap: 4px; font-weight: 800; color: var(--ide-ink); letter-spacing: 0; }
.ide-pcard-sizes span {
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--stone-300);
  border-radius: 4px;
  background: #fff;
}
.ide-pcard-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: var(--ide-ink);
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 200ms var(--easing);
}
.ide-pcard-quick:hover { background: var(--ide-accent); }

/* hover style: button — visible CTA bar */
.ide-pcard-btn-wrap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 60%);
  display: flex;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms var(--easing), transform 280ms var(--easing);
}
.ide-pcard.is-hover .ide-pcard-btn-wrap { opacity: 1; transform: translateY(0); }
.ide-pcard-add {
  flex: 1;
  padding: 14px;
  background: #fff;
  color: var(--ide-ink);
  border: none;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 200ms var(--easing);
}
.ide-pcard-add:hover { background: var(--ide-accent); color: #fff; }

/* hover style: minimal — only image scale + hover indicator */
.ide-pcard-hs-minimal .ide-pcard-info,
.ide-pcard-hs-minimal .ide-pcard-btn-wrap { display: none; }

.ide-pcard-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.ide-pcard-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.ide-pcard-meta h3 {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ide-ink);
}
.ide-pcard-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--ide-ink);
  white-space: nowrap;
}
.ide-pcard-foot {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ide-pcard-swatches.sm { display: flex; gap: 6px; }
.ide-pcard-swatches.sm span {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
}
.ide-pcard-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--stone-500);
}

/* ─────────────────── DROP COUNTDOWN ─────────────────── */

.ide-drop {
  background: var(--ide-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ide-drop::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 50%, rgba(242,117,47,0.18), transparent 40%);
  pointer-events: none;
}
.ide-drop-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 48px;
}
.ide-drop-l h3 {
  margin: 8px 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
}
.ide-drop-l p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.ide-drop-clock {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ide-drop-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}
.ide-drop-v {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ide-drop-l-lbl {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ide-drop-colon {
  font-size: 24px;
  font-weight: 900;
  color: var(--ide-accent);
  margin-bottom: 14px;
}

/* ─────────────────── MANIFESTO ─────────────────── */

.ide-manifesto {
  position: relative;
  background: var(--ide-ink);
  padding: 88px 28px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ide-manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}
.ide-manifesto-l {
  position: sticky;
  top: 120px;
}
.ide-manifesto-l h2 {
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ide-cream);
}
.ide-manifesto-r {
  font-size: 18px;
  line-height: 1.65;
}
.ide-manifesto-lede {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ide-cream);
  text-wrap: pretty;
}
.ide-manifesto-body {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  text-wrap: pretty;
}
.ide-manifesto-pillars {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ide-manifesto-pillars li {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 60px 220px 1fr;
  gap: 24px;
  align-items: baseline;
}
.ide-manifesto-pillars .t-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--ide-accent);
}
.ide-manifesto-pillars h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--ide-cream);
}
.ide-manifesto-pillars p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ─────────────────── HOW TO BUY ─────────────────── */

.ide-how {
  background: var(--stone-50);
  padding: 72px 28px;
  border-top: 1px solid rgba(17,17,17,0.06);
}
.ide-how .ide-section-head {
  max-width: 1400px;
  margin: 0 auto 56px;
}
.ide-how-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ide-how-card {
  position: relative;
  padding: 36px;
  background: #fff;
  border: 1px solid rgba(17,17,17,0.06);
  border-radius: 32px;
  box-shadow: 0 18px 60px rgba(17,17,17,0.04);
  transition: all 280ms var(--easing);
}
.ide-how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(17,17,17,0.10);
  border-color: rgba(242,117,47,0.32);
}
.ide-how-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.ide-how-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  color: var(--ide-accent);
  letter-spacing: 0.06em;
}
.ide-how-icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--ide-ink);
  color: #fff;
  transition: all 220ms var(--easing);
}
.ide-how-card:hover .ide-how-icon { background: var(--ide-accent); transform: rotate(-6deg); }
.ide-how-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--ide-ink);
}
.ide-how-card p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--stone-600);
}
.ide-how-arrow {
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--stone-50);
  color: var(--ide-accent);
  border-radius: 9999px;
  z-index: 2;
}

/* ─────────────────── TESTIMONIALS ─────────────────── */

.ide-testi {
  position: relative;
  background: var(--stone-50);
  color: var(--ide-ink);
  padding: 88px 28px;
  overflow: hidden;
  border-top: 1px solid rgba(17,17,17,0.06);
  border-bottom: 1px solid rgba(17,17,17,0.06);
}
.ide-testi-bg { display: none; }
.ide-testi .ide-section-head {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 56px;
}
.ide-testi-meta {
  font-size: 13px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}
.ide-testi-grid {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ide-testi-card {
  padding: 28px 32px;
  background: var(--ide-paper);
  border: 1px solid rgba(17,17,17,0.09);
  border-radius: 20px;
  transition: all 280ms var(--easing);
}
.ide-testi-card.is-active,
.ide-testi-card:hover {
  border-color: rgba(242,117,47,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(17,17,17,0.08);
}
.ide-testi-rating {
  display: inline-flex;
  gap: 2px;
  color: var(--ide-accent);
  margin-bottom: 16px;
}
.ide-testi-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--ide-ink);
  text-wrap: pretty;
}
.ide-testi-meta-row {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ide-testi-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--ide-ink);
}
.ide-testi-role {
  font-size: 12px;
  color: var(--fg-3);
}

/* ─────────────────── UGC GRID ─────────────────── */

.ide-ugc {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 28px;
  position: relative;
  z-index: 2;
}
.ide-ugc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.ide-ugc-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--stone-100);
}
.ide-ugc-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--easing);
}
.ide-ugc-card:hover img { transform: scale(1.08); }
.ide-ugc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  display: flex; align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 220ms var(--easing);
}
.ide-ugc-card:hover .ide-ugc-overlay { opacity: 1; }
.ide-ugc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ide-ugc-handle { letter-spacing: 0.02em; }
.ide-ugc-likes {
  display: inline-flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,0.85);
}

/* ─────────────────── NEWSLETTER ─────────────────── */

.ide-news {
  position: relative;
  background: var(--ide-ink);
  color: #fff;
  padding: 72px 28px;
  overflow: hidden;
}
.ide-news-bg-type {
  position: absolute;
  top: 50%; right: -2vw;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(18rem, 32vw, 38rem);
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
}
.ide-news-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.ide-news-l h2 {
  margin: 18px 0 16px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.ide-news-l p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}
.ide-news-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ide-news-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9999px;
  transition: border-color 220ms var(--easing);
}
.ide-news-input-wrap.is-err { border-color: var(--ide-accent); }
.ide-news-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.ide-news-input-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.ide-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--ide-accent);
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 220ms var(--easing);
  white-space: nowrap;
}
.ide-news-btn:hover { transform: translateY(-1px) scale(1.02); }
.ide-news-msg {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  padding-left: 20px;
}
.ide-news-msg.is-err { color: var(--ide-accent); }
.ide-news-msg.is-ok { color: #86efac; }

/* ─────────────────── PRE-FOOTER ─────────────────── */

.ide-prefoot {
  background: var(--ide-paper);
  padding: 88px 28px;
  border-top: 1px solid rgba(17,17,17,0.06);
}
.ide-prefoot-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.ide-prefoot-mascot {
  width: 200px;
  height: auto;
  filter: grayscale(0);
}
.ide-prefoot-text h2 {
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ide-ink);
  text-wrap: balance;
}

/* ─────────────────── FOOTER ─────────────────── */

.ide-foot {
  background: var(--ide-ink);
  color: #fff;
  padding: 80px 28px 36px;
}
.ide-foot-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.ide-foot-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ide-foot-brand img { height: 32px; margin-bottom: 20px; }
.ide-foot-brand p {
  margin: 0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.ide-foot-social {
  margin-top: 24px;
  display: flex;
  gap: 8px;
}
.ide-foot-social a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9999px;
  color: #fff;
  transition: all 200ms var(--easing);
}
.ide-foot-social a:hover { background: var(--ide-accent); border-color: var(--ide-accent); }
.ide-foot h3 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
}
.ide-foot ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.ide-foot ul a {
  color: rgba(255,255,255,0.85);
  transition: color 180ms var(--easing);
}
.ide-foot ul a:hover { color: var(--ide-accent); }
.ide-foot-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.ide-foot-mid { font-size: 12px; }
.ide-foot-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 16px;
  color: var(--ide-accent-soft);
}

/* ─────────────────── FLOATING WHATSAPP ─────────────────── */

.ide-wpp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37,211,102,0.40), 0 0 0 0 rgba(37,211,102,0.5);
  transition: all 220ms var(--easing);
  animation: wpp-pulse 2.4s var(--easing) infinite;
}
.ide-wpp:hover { transform: translateY(-3px) scale(1.05); }
.ide-wpp-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ide-ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 220ms var(--easing);
}
.ide-wpp:hover .ide-wpp-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes wpp-pulse {
  0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,0.40), 0 0 0 0 rgba(37,211,102,0.4); }
  50%     { box-shadow: 0 8px 24px rgba(37,211,102,0.40), 0 0 0 12px rgba(37,211,102,0); }
}

/* ─────────────────── CART DRAWER ─────────────────── */

.ide-drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(16,15,13,0.55);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--easing);
}
.ide-drawer-scrim.is-open { opacity: 1; pointer-events: auto; }
.ide-drawer {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  z-index: 51;
  width: min(440px, 100vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 380ms var(--easing);
  box-shadow: -24px 0 60px rgba(0,0,0,0.18);
}
.ide-drawer.is-open { transform: translateX(0); }

.ide-drawer-head {
  padding: 24px 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(17,17,17,0.06);
}
.ide-drawer-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.ide-drawer-close {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--stone-100);
  border: none;
  border-radius: 9999px;
  color: var(--ide-ink);
  transition: all 200ms var(--easing);
}
.ide-drawer-close:hover { background: var(--ide-ink); color: #fff; }

.ide-drawer-ship {
  padding: 16px 24px;
  background: var(--stone-50);
  border-bottom: 1px solid rgba(17,17,17,0.06);
}
.ide-drawer-ship-msg {
  font-size: 12.5px;
  color: var(--stone-600);
  margin-bottom: 8px;
}
.ide-drawer-ship-msg strong { color: var(--ide-ink); font-weight: 800; }
.ide-drawer-ship-bar {
  height: 4px;
  background: rgba(17,17,17,0.08);
  border-radius: 9999px;
  overflow: hidden;
}
.ide-drawer-ship-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ide-accent), var(--ide-accent-soft));
  border-radius: 9999px;
  transition: width 380ms var(--easing);
}

.ide-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}
.ide-drawer-empty {
  padding: 60px 0;
  text-align: center;
}
.ide-drawer-empty-icon {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--stone-100);
  border-radius: 9999px;
  color: var(--stone-400);
}
.ide-drawer-empty h4 { margin: 0; font-size: 18px; font-weight: 800; }
.ide-drawer-empty p {
  margin: 8px 0 28px;
  font-size: 14px;
  color: var(--stone-500);
}
.ide-drawer-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17,17,17,0.06);
}
.ide-drawer-item:last-child { border-bottom: none; }
.ide-drawer-item-img {
  aspect-ratio: 4/5;
  background: var(--stone-100);
  overflow: hidden;
  border-radius: 8px;
}
.ide-drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }
.ide-drawer-item-meta { display: flex; flex-direction: column; gap: 8px; }
.ide-drawer-item-top { display: flex; justify-content: space-between; gap: 12px; }
.ide-drawer-item-cat {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone-500);
}
.ide-drawer-item-meta h4 {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 800;
}
.ide-drawer-item-x {
  width: 28px; height: 28px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  color: var(--stone-500);
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 180ms var(--easing);
}
.ide-drawer-item-x:hover { background: var(--stone-100); color: var(--ide-ink); }
.ide-drawer-item-opts {
  font-size: 12px;
  color: var(--stone-500);
  display: flex;
  gap: 16px;
}
.ide-drawer-item-opts strong { color: var(--ide-ink); font-weight: 800; }
.ide-drawer-item-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ide-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 9999px;
  overflow: hidden;
  background: #fff;
}
.ide-qty button {
  width: 28px; height: 28px;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--ide-ink);
  transition: background 160ms var(--easing);
}
.ide-qty button:hover { background: var(--stone-100); }
.ide-qty span {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ide-drawer-item-bot strong { font-size: 15px; font-weight: 900; }

.ide-drawer-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(17,17,17,0.06);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ide-drawer-foot-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 16px;
}
.ide-drawer-foot-row strong { font-size: 22px; font-weight: 900; }
.ide-drawer-foot-row.sm {
  font-size: 12.5px;
  color: var(--stone-500);
}
.ide-drawer-checkout {
  margin-top: 12px;
  width: 100%;
}
.ide-drawer-trust {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--stone-500);
}
.ide-drawer-trust span {
  display: inline-flex; align-items: center; gap: 6px;
}

/* ─────────────────── CHECKOUT FORM ─────────────────── */

.ide-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px 8px;
}

.ide-checkout-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ide-checkout-field label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone-500);
}

.ide-checkout-field input,
.ide-checkout-field textarea {
  appearance: none;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(17,17,17,0.12);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--ide-ink);
  outline: none;
  transition: border-color 150ms;
  resize: none;
}

.ide-checkout-field input:focus,
.ide-checkout-field textarea:focus { border-color: var(--ide-accent); }
.ide-checkout-field input::placeholder,
.ide-checkout-field textarea::placeholder { color: var(--stone-300); }

.ide-checkout-field input.is-error,
.ide-checkout-field textarea.is-error { border-color: #d32f2f; }

.ide-checkout-error {
  font-size: 11px;
  color: #d32f2f;
  font-weight: 600;
}

.ide-checkout-payments {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ide-checkout-pay-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.5px solid rgba(17,17,17,0.1);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 140ms, background 140ms;
  font-size: 13px;
  font-weight: 600;
  user-select: none;
}

.ide-checkout-pay-opt.is-selected {
  border-color: var(--ide-accent);
  background: rgba(242,117,47,0.05);
}

.ide-checkout-pay-radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(17,17,17,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 140ms;
}

.ide-checkout-pay-opt.is-selected .ide-checkout-pay-radio {
  border-color: var(--ide-accent);
}

.ide-checkout-pay-radio-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ide-accent);
  opacity: 0;
  transition: opacity 140ms;
}

.ide-checkout-pay-opt.is-selected .ide-checkout-pay-radio-dot { opacity: 1; }

.ide-checkout-pay-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 900;
  background: #1a7a3f;
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
}

.ide-checkout-summary {
  background: var(--stone-50);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.ide-checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 3px 0;
  color: var(--stone-500);
}

.ide-checkout-summary-row.is-discount { color: #1a7a3f; font-weight: 700; }

.ide-checkout-summary-row.is-total {
  font-weight: 900;
  font-size: 15px;
  color: var(--ide-ink);
  border-top: 1px solid rgba(17,17,17,0.08);
  margin-top: 8px;
  padding-top: 10px;
}

.ide-drawer-back {
  appearance: none; border: 0; background: transparent;
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--stone-500);
  cursor: pointer; padding: 0; font-family: inherit;
}

.ide-drawer-back:hover { color: var(--ide-ink); }

/* ─────────────────── QUICK VIEW MODAL ─────────────────── */

.ide-modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(16,15,13,0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: scrim-fade 220ms var(--easing);
}
@keyframes scrim-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ide-modal {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  animation: modal-up 320ms var(--easing);
  box-shadow: 0 30px 100px rgba(0,0,0,0.4);
}
@keyframes modal-up {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ide-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--ide-ink);
  transition: all 200ms var(--easing);
}
.ide-modal-close:hover { background: var(--ide-ink); color: #fff; }

.ide-modal-gallery {
  background: var(--stone-100);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ide-modal-img-main {
  position: relative;
  flex: 1;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  min-height: 380px;
}
.ide-modal-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ide-modal-thumbs { display: flex; gap: 8px; }
.ide-modal-thumb {
  width: 64px; height: 80px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  transition: border-color 200ms var(--easing);
}
.ide-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ide-modal-thumb.is-active { border-color: var(--ide-ink); }

.ide-modal-info {
  padding: 40px 36px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ide-modal-head { display: flex; flex-direction: column; gap: 8px; }
.ide-modal-info h2 {
  margin: 4px 0 0;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.ide-modal-price-row {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.ide-modal-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--ide-ink);
}
.ide-modal-installments {
  font-size: 12px;
  color: var(--stone-500);
}
.ide-modal-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--ide-accent);
}
.ide-modal-rating span {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--stone-600);
}
.ide-modal-inspiration {
  margin: 0;
  padding: 16px 18px;
  background: var(--stone-50);
  border-left: 3px solid var(--ide-accent);
  border-radius: 4px 12px 12px 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ide-ink);
}
.ide-modal-section { display: flex; flex-direction: column; gap: 10px; }
.ide-modal-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone-600);
}
.ide-modal-section-head strong { font-weight: 900; color: var(--ide-ink); text-transform: none; letter-spacing: 0.02em; }
.ide-modal-sizes-link {
  font-size: 11px;
  color: var(--ide-accent);
  text-transform: none;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ide-modal-colors { display: flex; gap: 8px; }
.ide-modal-color {
  width: 36px; height: 36px;
  padding: 3px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  transition: border-color 200ms var(--easing);
}
.ide-modal-color span {
  display: block;
  width: 100%; height: 100%;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.12);
}
.ide-modal-color.is-active { border-color: var(--ide-ink); }
.ide-modal-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.ide-modal-size {
  min-width: 48px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(17,17,17,0.16);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ide-ink);
  transition: all 180ms var(--easing);
}
.ide-modal-size:hover { border-color: var(--ide-ink); }
.ide-modal-size.is-active { background: var(--ide-ink); color: #fff; border-color: var(--ide-ink); }

.ide-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.ide-modal-add {
  width: 100%;
  font-size: 13px;
}
.ide-modal-wpp {
  width: 100%;
  background: transparent;
  color: var(--ide-ink);
  border-color: rgba(17,17,17,0.16);
}
.ide-modal-wpp:hover { background: #25D366; color: #fff; border-color: #25D366; }

.ide-modal-perks {
  list-style: none;
  margin: 4px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(17,17,17,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ide-modal-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--stone-600);
}
.ide-modal-perks li svg { color: var(--ide-accent); flex-shrink: 0; }

/* ─────────────────── SEARCH OVERLAY ─────────────────── */

.ide-search-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(16,15,13,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 24px;
  animation: scrim-fade 220ms var(--easing);
}
.ide-search {
  width: min(900px, 100%);
  background: #fff;
  border-radius: 32px;
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 104px);
  overflow: hidden;
  animation: modal-up 320ms var(--easing);
}
.ide-search-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(17,17,17,0.08);
  padding-bottom: 16px;
}
.ide-search-input {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--stone-500);
}
.ide-search-input input {
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 0;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ide-ink);
}
.ide-search-input input::placeholder { color: var(--stone-400); font-weight: 600; }
.ide-search-clear {
  width: 28px; height: 28px;
  background: var(--stone-100);
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  color: var(--ide-ink);
}
.ide-search-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.ide-search-close kbd {
  padding: 4px 8px;
  background: var(--stone-100);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ide-ink);
}

.ide-search-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ide-search-pop { display: flex; flex-direction: column; gap: 12px; }
.ide-search-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ide-tag {
  padding: 8px 14px;
  background: var(--stone-100);
  border: none;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ide-ink);
  transition: all 180ms var(--easing);
}
.ide-tag:hover { background: var(--ide-ink); color: #fff; }

.ide-search-results { display: flex; flex-direction: column; gap: 12px; }
.ide-search-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.ide-search-result {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  text-align: left;
  transition: all 180ms var(--easing);
}
.ide-search-result:hover {
  background: var(--stone-50);
  border-color: rgba(17,17,17,0.06);
}
.ide-search-result-img {
  aspect-ratio: 4/5;
  background: var(--stone-100);
  border-radius: 8px;
  overflow: hidden;
}
.ide-search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.ide-search-result-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ide-search-result-cat {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone-500);
}
.ide-search-result-meta strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--ide-ink);
}
.ide-search-result-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--ide-accent);
}
.ide-search-empty {
  padding: 32px 0;
  text-align: center;
  color: var(--stone-500);
  font-size: 14px;
}

/* ─────────────────── CART TOAST ─────────────────── */

.ide-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--ide-ink);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.32);
  min-width: 280px;
  opacity: 0;
  transform: translateY(-12px) scale(0.96);
  transition: all 320ms var(--easing);
  pointer-events: none;
}
.ide-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ide-toast-img {
  width: 48px; height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.ide-toast-img img { width: 100%; height: 100%; object-fit: cover; }
.ide-toast-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ide-toast-meta strong {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ide-toast-check {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: #16a34a;
  color: #fff;
  border-radius: 9999px;
  flex-shrink: 0;
}

/* ─────────────────── SCROLL ANIMATIONS ─────────────────── */

.ide-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--easing), transform 700ms var(--easing);
}
.ide-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────── RESPONSIVE ─────────────────── */

@media (max-width: 1100px) {
  /* Sections */
  .ide-manifesto { padding: 64px 20px; }
  .ide-how { padding: 56px 20px; }
  .ide-testi { padding: 64px 20px; }
  .ide-ugc { padding: 56px 20px; }
  .ide-news { padding: 56px 20px; }
  .ide-prefoot { padding: 64px 20px; }
  /* Grids */
  .ide-cat-card { flex: 0 0 260px; height: 440px; }
  .ide-product-grid { grid-template-columns: repeat(2, 1fr); }
  .ide-ugc-grid { grid-template-columns: repeat(3, 1fr); }
  .ide-how-grid { grid-template-columns: 1fr; }
  .ide-how-arrow { display: none; }
  .ide-mega-inner { grid-template-columns: 1fr; }
  .ide-mega-cols { grid-template-columns: repeat(2, 1fr); }
  .ide-news-inner { grid-template-columns: 1fr; gap: 40px; }
  .ide-manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .ide-manifesto-l { position: static; }
  .ide-manifesto-lede { font-size: 20px; }
  .ide-manifesto-pillars li { grid-template-columns: 40px 160px 1fr; gap: 16px; }
  .ide-modal { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .ide-modal-img-main { min-height: 300px; }
  .ide-prefoot-inner { grid-template-columns: 1fr; gap: 24px; }
  .ide-prefoot-mascot { width: 120px; }
  .ide-prefoot-text h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
  .ide-foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ide-drop-inner { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .ide-testi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  /* ── Hero ── */
  .ide-hero { min-height: 100svh; }
  .ide-hero-inner { padding: 76px 20px 24px; gap: 20px; min-height: 100svh; }
  .ide-hero-title { font-size: clamp(2.4rem, 10vw, 3.4rem); line-height: 0.92; }
  .ide-hero-meta { display: none; }
  .ide-hero-bottom { grid-template-columns: 1fr; gap: 0; }
  .ide-hero-lede p { font-size: 15px; }
  .ide-hero-ctas { flex-direction: column; gap: 10px; margin-top: 20px; }
  .ide-hero-ctas .ide-btn { width: 100%; justify-content: center; }
  .ide-hero-foot { font-size: 10px; padding-top: 16px; }
  .ide-hero-foot-mid { display: none; }
  .ide-hero-card { width: 100%; }

  /* ── Trust bar — static grid no mobile ── */
  .ide-trust-bar { grid-template-columns: repeat(2, 1fr); }
  .ide-trust-bar--loop { display: none !important; }
  .ide-trust-item { padding: 14px 16px; }

  /* ── Categories ── */
  .ide-cats { padding: 48px 0; }
  .ide-cats > .ide-section-head { padding: 0 20px; margin-bottom: 28px; }
  .ide-cat-card { flex: 0 0 200px; height: 340px; }
  .ide-cat-grid { padding: 0 20px 20px; gap: 12px; }
  .ide-cat-meta h3 { font-size: 20px; }
  .ide-cat-nav { display: none; }

  /* ── Section heads ── */
  .ide-section-head { grid-template-columns: 1fr; gap: 16px; }
  .ide-section-head-r { align-items: flex-start; }
  .ide-section-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  /* ── Manifesto ── */
  .ide-manifesto { padding: 52px 20px; }
  .ide-manifesto-inner { gap: 28px; }
  .ide-manifesto-l h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .ide-manifesto-lede { font-size: 17px; }
  .ide-manifesto-body { font-size: 14px; margin-top: 16px; }
  .ide-manifesto-pillars { margin-top: 32px; }
  .ide-manifesto-pillars li {
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    gap: 2px 14px;
    padding: 18px 0;
    align-items: start;
  }
  .ide-manifesto-pillars li .t-num { grid-row: span 2; padding-top: 2px; }
  .ide-manifesto-pillars h4 { font-size: 15px; margin: 0; align-self: end; }
  .ide-manifesto-pillars p { font-size: 13px; margin: 0; grid-column: 2; }

  /* ── How to buy ── */
  .ide-how { padding: 52px 20px; }
  .ide-how-card { padding: 24px; }
  .ide-how-card h3 { font-size: 18px; }

  /* ── Testimonials ── */
  .ide-testi { padding: 52px 20px; }
  .ide-testi-grid { grid-template-columns: 1fr; gap: 12px; }
  .ide-testi-card { padding: 22px 24px; }

  /* ── UGC ── */
  .ide-ugc { padding: 48px 20px; }
  .ide-ugc-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Newsletter ── */
  .ide-news { padding: 52px 20px; }
  .ide-news-l h2 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .ide-news-input-wrap { grid-template-columns: 1fr; border-radius: 16px; padding: 12px; gap: 10px; }
  .ide-news-btn { width: 100%; justify-content: center; border-radius: 10px; }

  /* ── Pre-footer ── */
  .ide-prefoot { padding: 48px 20px; }
  .ide-prefoot-inner { gap: 16px; }
  .ide-prefoot-mascot { width: 90px; }
  .ide-prefoot-text h2 { font-size: clamp(2rem, 9vw, 3rem); }

  /* ── Footer ── */
  .ide-foot { padding: 48px 20px 28px; }
  .ide-foot-cols { grid-template-columns: 1fr; gap: 32px; }
  .ide-foot-brand { grid-column: auto; }
  .ide-foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ide-foot-mid, .ide-foot-italic { display: none; }

  /* ── Products ── */
  .ide-product-grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .ide-products { padding: 48px 20px; }

  /* ── Misc ── */
  .ide-drop-clock { gap: 4px; }
  .ide-drop-block { min-width: 52px; padding: 10px 8px; }
  .ide-nav-list { display: none; }
  .ide-nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0;
    padding: 0 20px;
  }
}

@media (max-width: 400px) {
  .ide-hero-title { font-size: 2.1rem; }
  .ide-cat-card { flex: 0 0 170px; height: 300px; }
  .ide-trust-item { gap: 10px; padding: 14px 12px; }
  .ide-trust-icon svg { width: 22px; height: 22px; }
}

/* ============================================================
   CATEGORY PAGE (categoria.html)
   ============================================================ */

.ide-cat-desc {
  margin: 4px 0 6px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
  max-width: 28ch;
}

/* Breadcrumb */
.ide-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ide-crumbs a {
  color: rgba(255,255,255,0.7);
  transition: color 180ms var(--easing);
}
.ide-crumbs a:hover { color: #fff; }
.ide-crumbs strong { color: #fff; font-weight: 800; }
.ide-crumbs span { color: rgba(255,255,255,0.3); }
.ide-crumbs.is-light a, .ide-crumbs.is-light strong { color: var(--ide-ink); }
.ide-crumbs.is-light a { color: var(--stone-500); }
.ide-crumbs.is-light span { color: var(--stone-400); }

/* Hero do tipo "categoria" */
.ide-cathero {
  position: relative;
  color: #fff;
  background: var(--ide-ink);
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0 64px;
}
.ide-cathero-bg { position: absolute; inset: 0; z-index: 0; }
.ide-cathero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: contrast(1.05);
}
.ide-cathero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,15,13,0.4) 0%, rgba(16,15,13,0.92) 80%);
}
.ide-cathero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(242,117,47,0.22), transparent 35%);
}
.ide-cathero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ide-cathero-headline {
  max-width: 920px;
}
.ide-cathero-headline h1 {
  margin: 16px 0 20px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.ide-cathero-headline p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
}
.ide-cathero-stats {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ide-cathero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ide-cathero-stat-v {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 28px;
  color: #fff;
  letter-spacing: -0.01em;
}
.ide-cathero-stat-l {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Listing */
.ide-catlist {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 28px 100px;
}

/* Filter bar */
.ide-filterbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(17,17,17,0.08);
}
.ide-filterbar-l {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ide-filterbar-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone-500);
}
.ide-filterbar-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ide-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 9999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ide-ink);
  cursor: pointer;
  transition: all 180ms var(--easing);
}
.ide-chip:hover { border-color: var(--ide-ink); }
.ide-chip.is-active { background: var(--ide-ink); color: #fff; border-color: var(--ide-ink); }
.ide-chip-swatch {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.16);
}
.ide-filterbar-r {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ide-filterbar-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--stone-500);
}
.ide-view-toggle {
  display: inline-flex;
  background: var(--stone-100);
  border-radius: 9999px;
  padding: 3px;
}
.ide-view-toggle button {
  width: 32px; height: 28px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  color: var(--stone-500);
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 180ms var(--easing);
}
.ide-view-toggle button.is-active { background: #fff; color: var(--ide-ink); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.ide-sort {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(17,17,17,0.12);
  padding: 8px 32px 8px 14px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ide-ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%23100f0d' stroke-width='1.5' d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Empty state */
.ide-empty {
  padding: 80px 0;
  text-align: center;
}
.ide-empty h3 { margin: 0; font-size: 22px; font-weight: 900; }
.ide-empty p { margin: 12px 0 28px; color: var(--stone-500); }

/* Dense grid */
.ide-product-grid.is-dense {
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 12px;
}

/* Kit CTA strip */
.ide-kitstrip {
  background: var(--ide-ink);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.ide-kitstrip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(242,117,47,0.22), transparent 40%);
  pointer-events: none;
}
.ide-kitstrip-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.ide-kitstrip h3 {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}
.ide-kitstrip h3 strong { color: var(--ide-accent-soft); font-weight: 900; }

/* ============================================================
   MONTAR KIT (montar-kit.html)
   ============================================================ */

.ide-kit-hero {
  position: relative;
  background: var(--ide-ink);
  color: #fff;
  overflow: hidden;
  padding: 64px 0 56px;
}
.ide-kit-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(242,117,47,0.25), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(242,117,47,0.15), transparent 40%),
    var(--ide-ink);
}
.ide-kit-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
}
.ide-kit-hero-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ide-kit-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.ide-kit-hero-grid h1 {
  margin: 18px 0 20px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.ide-kit-hero-grid p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
}
.ide-kit-perks {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ide-kit-perks li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: baseline;
}
.ide-kit-perks-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--ide-accent);
  letter-spacing: 0.06em;
}
.ide-kit-perks li strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.ide-kit-perks li p {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}

/* Steps strip */
.ide-kit-steps {
  background: var(--stone-50);
  border-top: 1px solid rgba(17,17,17,0.06);
  border-bottom: 1px solid rgba(17,17,17,0.06);
}
.ide-kit-steps-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ide-kit-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(17,17,17,0.06);
  transition: all 220ms var(--easing);
}
.ide-kit-step.is-active {
  border-color: var(--ide-accent);
  box-shadow: 0 0 0 3px rgba(242,117,47,0.08);
}
.ide-kit-step.is-done {
  background: var(--ide-ink);
  border-color: var(--ide-ink);
  color: #fff;
}
.ide-kit-step.is-disabled {
  opacity: 0.5;
}
.ide-kit-step-num {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--stone-100);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--ide-ink);
  flex-shrink: 0;
}
.ide-kit-step.is-active .ide-kit-step-num {
  background: var(--ide-accent);
  color: #fff;
}
.ide-kit-step.is-done .ide-kit-step-num {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.ide-kit-step h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
.ide-kit-step-counter {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone-500);
}
.ide-kit-step.is-done .ide-kit-step-counter {
  color: rgba(255,255,255,0.55);
}
.ide-kit-step.is-active .ide-kit-step-counter {
  color: var(--ide-accent);
}

/* Current selection slots */
.ide-kit-selection {
  background: var(--ide-paper);
  padding: 64px 0 32px;
}
.ide-kit-selection-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}
.ide-kit-selection .ide-section-title {
  margin: 0 0 32px;
}
.ide-kit-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ide-kit-slot {
  position: relative;
  aspect-ratio: 4/5;
  background: #fff;
  border: 2px dashed rgba(17,17,17,0.16);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  transition: all 220ms var(--easing);
  overflow: hidden;
}
.ide-kit-slot.is-empty { background: var(--stone-50); }
.ide-kit-slot.is-filled {
  border-style: solid;
  border-color: var(--ide-ink);
  background: #fff;
  cursor: default;
  padding: 14px;
}
.ide-kit-slot.is-locked {
  opacity: 0.45;
}
.ide-kit-slot-sock {
  background: linear-gradient(160deg, rgba(242,117,47,0.06), transparent 60%);
}
.ide-kit-slot.is-filled.ide-kit-slot-sock {
  border-color: var(--ide-accent);
  background: linear-gradient(160deg, rgba(242,117,47,0.06), #fff);
}
.ide-kit-slot-num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 18px;
  color: var(--ide-accent);
}
.ide-kit-slot-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ide-ink);
  letter-spacing: -0.005em;
}
.ide-kit-slot-hint {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone-500);
}
.ide-kit-slot-img {
  width: 100%;
  flex: 1;
  background: var(--stone-100);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.ide-kit-slot-img img { width: 100%; height: 100%; object-fit: cover; }
.ide-kit-slot-name {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ide-ink);
  line-height: 1.2;
}
.ide-kit-slot-opts {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--stone-500);
}
.ide-kit-slot-edit {
  margin-top: 6px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ide-accent);
  cursor: pointer;
  padding: 4px 0;
}
.ide-kit-slot-edit:hover { text-decoration: underline; text-underline-offset: 3px; }
.ide-kit-slot-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--ide-ink);
  cursor: pointer;
  z-index: 2;
  transition: all 180ms var(--easing);
}
.ide-kit-slot-x:hover { background: var(--ide-ink); color: #fff; }
.ide-kit-slot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: var(--ide-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  border-radius: 9999px;
  z-index: 1;
}

/* Picker section */
.ide-kit-picker {
  padding: 64px 0 100px;
  background: var(--ide-paper);
}
.ide-kit-picker-socks {
  background: var(--ide-ink);
  color: #fff;
  padding: 80px 0 200px;
  position: relative;
  overflow: hidden;
}
.ide-kit-picker-head {
  max-width: 1400px;
  margin: 0 auto 32px;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}
.ide-kit-picker-head .ide-section-title { margin: 0; }
.ide-kit-picker .ide-product-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.ide-kit-picker .ide-product-grid.is-dimmed { opacity: 0.55; pointer-events: none; }

/* Kit card (clickable to add) */
.ide-kit-card {
  cursor: pointer;
  transition: all 280ms var(--easing);
}
.ide-kit-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.ide-kit-card-used {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 5px 10px;
  background: var(--ide-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 9999px;
}
.ide-kit-card-add {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,15,13,0.45);
  opacity: 0;
  transition: opacity 220ms var(--easing);
  pointer-events: none;
}
.ide-kit-card:hover .ide-kit-card-add { opacity: 1; }
.ide-kit-card-add span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--ide-accent);
  color: #fff;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,0.32);
}

/* Sock picker (dark section) */
.ide-kit-socks-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
}
.ide-kit-sock {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  cursor: pointer;
  transition: all 280ms var(--easing);
  backdrop-filter: blur(6px);
}
.ide-kit-sock:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.ide-kit-sock.is-selected {
  background: rgba(242,117,47,0.12);
  border-color: var(--ide-accent);
  box-shadow: 0 12px 40px rgba(242,117,47,0.18);
}
.ide-kit-sock-img {
  aspect-ratio: 4/5;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.ide-kit-sock-img img { width: 100%; height: 100%; object-fit: cover; }
.ide-kit-sock-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ide-kit-sock-meta h3 {
  margin: 4px 0;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.ide-kit-sock-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}
.ide-kit-sock-price s { color: rgba(255,255,255,0.45); }
.ide-kit-sock-price strong {
  color: var(--ide-accent-soft);
  font-size: 18px;
  font-weight: 900;
  font-family: var(--font-display);
  font-style: italic;
}
.ide-kit-sock-check {
  width: 40px; height: 40px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 220ms var(--easing);
}
.ide-kit-sock.is-selected .ide-kit-sock-check {
  background: var(--ide-accent);
  border-color: var(--ide-accent);
  color: #fff;
}

/* Sticky bottom bar */
.ide-kit-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 35;
  background: var(--ide-ink);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.32);
  transform: translateY(120%);
  opacity: 0;
  transition: all 380ms var(--easing);
  border: 1px solid rgba(255,255,255,0.08);
}
.ide-kit-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.ide-kit-bar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.ide-kit-bar-thumbs {
  display: flex;
  gap: -6px;
}
.ide-kit-bar-thumb {
  width: 44px; height: 56px;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--ide-ink);
  border-radius: 8px;
  overflow: hidden;
  margin-left: -8px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.ide-kit-bar-thumb:first-child { margin-left: 0; }
.ide-kit-bar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ide-kit-bar-thumb.is-empty {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255,255,255,0.18);
}
.ide-kit-bar-thumb-sock {
  border-color: var(--ide-accent);
}
.ide-kit-bar-thumb-sock.is-empty {
  background: rgba(242,117,47,0.08);
  color: rgba(255,255,255,0.6);
}
.ide-kit-bar-pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ide-kit-bar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ide-kit-bar-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.ide-kit-bar-price s {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}
.ide-kit-bar-price strong {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}
.ide-kit-bar-save {
  font-size: 11px;
  font-weight: 800;
  color: var(--ide-accent-soft);
  letter-spacing: 0.04em;
  padding: 2px 8px;
  background: rgba(242,117,47,0.18);
  border-radius: 9999px;
}
.ide-kit-bar-cta {
  white-space: nowrap;
}
.ide-kit-bar-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
}

/* Kit-specific modal tweaks */
.ide-kit-modal .ide-modal-info {
  padding: 36px 32px 32px;
  gap: 18px;
}

/* Responsive: category + kit */
@media (max-width: 1100px) {
  .ide-kit-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ide-kit-slots { grid-template-columns: repeat(2, 1fr); }
  .ide-kit-socks-grid { grid-template-columns: 1fr; }
  .ide-kit-steps-inner { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .ide-product-grid.is-dense { grid-template-columns: repeat(3, 1fr); }
  .ide-cathero-stats { gap: 32px; flex-wrap: wrap; }
  .ide-kit-bar-inner { grid-template-columns: 1fr; gap: 16px; }
  .ide-kit-bar-thumbs { justify-content: flex-start; }
  .ide-kit-sock { grid-template-columns: 100px 1fr auto; gap: 16px; padding: 14px; }
}

@media (max-width: 720px) {
  .ide-kit-slots { grid-template-columns: 1fr 1fr; }
  .ide-product-grid.is-dense { grid-template-columns: 1fr 1fr; }
  .ide-kit-bar { left: 8px; right: 8px; bottom: 8px; }
  .ide-kit-bar-inner { padding: 14px; }
  .ide-kit-bar-cta { width: 100%; }
  .ide-filterbar { flex-direction: column; align-items: flex-start; }
  .ide-cathero-headline h1 { font-size: 2.4rem; }
}

/* ─────────────────── KIT BUILDER — TWO-COLUMN LAYOUT ─────────────────── */

.ide-kit-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px 100px;
  gap: 0 48px;
}

.ide-kit-catalog {
  padding-top: 48px;
}

.ide-kit-catalog-section {
  margin-bottom: 56px;
}

.ide-kit-catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(17,17,17,0.08);
}

.ide-kit-catalog-head h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin: 4px 0 0;
}

.ide-kit-catalog-counter {
  font-size: 22px;
  font-weight: 900;
  color: var(--ide-ink);
  line-height: 1;
}

.ide-kit-catalog-counter span:last-child {
  font-size: 14px;
  color: var(--stone-500);
  font-weight: 700;
}

.ide-kit-lock-hint {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  background: var(--stone-100);
  border-radius: 6px;
  padding: 5px 10px;
}

.ide-kit-socks-catalog {
  transition: opacity 300ms;
}

.ide-kit-socks-catalog.is-locked {
  opacity: 0.4;
  pointer-events: none;
}

/* Draggable card overrides */
.ide-kit-card[draggable="true"] { cursor: grab; }
.ide-kit-card[draggable="true"]:active { cursor: grabbing; }
.ide-kit-card.is-dragging { opacity: 0.3; transform: scale(0.97); }
.ide-kit-card.is-disabled { opacity: 0.4; pointer-events: none; }

.ide-kit-card-drag-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(16,15,13,0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 180ms;
  border-radius: 4px;
}

.ide-kit-card:hover .ide-kit-card-drag-hint { opacity: 1; }

/* ── Sticky kit panel (right) ── */

.ide-kit-panel {
  position: sticky;
  top: 100px;
  padding-top: 48px;
}

.ide-kit-panel-box {
  background: var(--stone-50);
  border-radius: 16px;
  padding: 24px;
  border: 2px dashed rgba(17,17,17,0.12);
  transition: border-color 200ms, background 200ms, box-shadow 200ms;
}

.ide-kit-panel-box-active {
  border-color: var(--ide-accent) !important;
  background: rgba(242,117,47,0.03) !important;
  box-shadow: 0 0 0 6px rgba(242,117,47,0.07);
}

.ide-kit-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ide-kit-panel-title > span:first-child {
  font-size: 1rem;
  font-weight: 900;
}

.ide-kit-panel-progress {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
}

/* Panel slots */
.ide-kit-panel-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.ide-kit-panel-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(17,17,17,0.04);
  border: 1.5px dashed rgba(17,17,17,0.14);
  min-height: 62px;
  transition: border-color 160ms, background 160ms, box-shadow 160ms;
  cursor: default;
}

.ide-kit-panel-slot.is-filled {
  background: #fff;
  border-style: solid;
  border-color: rgba(17,17,17,0.08);
}

.ide-kit-panel-slot.is-accepting {
  border-color: rgba(242,117,47,0.4);
  background: rgba(242,117,47,0.03);
}

.ide-kit-panel-slot.is-drag-over {
  border-color: var(--ide-accent);
  background: rgba(242,117,47,0.07);
  box-shadow: 0 0 0 3px rgba(242,117,47,0.12);
}

.ide-kit-panel-slot.is-locked {
  opacity: 0.35;
  pointer-events: none;
}

.ide-kit-panel-slot-num {
  font-size: 10px;
  font-weight: 900;
  color: var(--stone-500);
  letter-spacing: 0.06em;
  min-width: 16px;
}

.ide-kit-panel-slot-badge {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ide-accent);
  text-transform: uppercase;
  background: rgba(242,117,47,0.12);
  border-radius: 4px;
  padding: 2px 5px;
  flex-shrink: 0;
}

.ide-kit-panel-slot-img {
  width: 40px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--stone-100);
  flex-shrink: 0;
}

.ide-kit-panel-slot-img img { width: 100%; height: 100%; object-fit: cover; }

.ide-kit-panel-slot-info { flex: 1; min-width: 0; }

.ide-kit-panel-slot-name {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.ide-kit-panel-slot-opts {
  font-size: 11px;
  color: var(--stone-500);
  display: block;
  margin-top: 2px;
}

.ide-kit-panel-slot-hint {
  font-size: 11px;
  color: var(--stone-500);
  font-weight: 600;
}

.ide-kit-panel-slot-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.ide-kit-panel-slot-btn {
  appearance: none;
  border: 0;
  background: rgba(17,17,17,0.07);
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ide-ink);
  cursor: pointer;
  transition: background 140ms;
}

.ide-kit-panel-slot-btn:hover { background: rgba(17,17,17,0.14); }
.ide-kit-panel-slot-btn.is-remove { color: #d32f2f; }
.ide-kit-panel-slot-btn.is-remove:hover { background: rgba(211,47,47,0.1); }

/* Drop hint */
.ide-kit-drop-hint {
  text-align: center;
  padding: 10px 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ide-accent);
  animation: kit-hint-pulse 1.2s ease-in-out infinite;
}

@keyframes kit-hint-pulse {
  0%, 100% { opacity: 0.65; }
  50%       { opacity: 1; }
}

/* Pricing block */
.ide-kit-panel-pricing {
  border-top: 1px solid rgba(17,17,17,0.08);
  padding-top: 14px;
  margin-bottom: 14px;
}

.ide-kit-panel-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 5px;
}

.ide-kit-panel-price-row.is-total {
  font-weight: 900;
  font-size: 15px;
  margin-top: 6px;
}

.ide-kit-panel-save {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #1a7a3f;
  background: rgba(26,122,63,0.09);
  border-radius: 4px;
  padding: 3px 8px;
}

/* Responsive */
@media (max-width: 960px) {
  .ide-kit-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ide-kit-panel {
    position: static;
    padding-top: 0;
    padding-bottom: 32px;
    order: -1;
  }
  .ide-kit-catalog { padding-top: 24px; }
}
