/* =================================================================
   TAUDTMANN — Geschenkboxen die Eindruck hinterlassen
   Designsystem nach Mockup-Vorlage
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color tokens */
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-card: #f0f0f0;
  --ink: #0f0f0f;
  --ink-mute: #6b6b6b;
  --ink-soft: #9a9a9a;
  --line: #e5e5e5;
  --line-strong: #d4d4d4;

  /* Accents (Acryl-Optik) */
  --pink: #f4a5c7;
  --pink-strong: #ec5fa0;
  --blue: #b4dce6;
  --blue-strong: #7ec8d8;
  --yellow: #e5f432;
  --yellow-strong: #d4e618;
  --cyan: #a8e0e5;

  /* Type */
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ----------------------------------------------------------------
   Layout primitives
   ---------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----------------------------------------------------------------
   Signature accent stripe (pink → blue → yellow gradient)
   ---------------------------------------------------------------- */
.accent-stripe {
  height: 3px;
  background: linear-gradient(90deg,
    var(--pink) 0%,
    var(--pink) 20%,
    var(--blue) 35%,
    var(--blue) 55%,
    var(--yellow) 75%,
    var(--yellow) 100%);
}

/* ----------------------------------------------------------------
   Header
   ---------------------------------------------------------------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 22px 0;
  gap: 40px;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.nav-main {
  display: flex;
  gap: 40px;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
}
.nav-main a {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  transition: opacity 0.2s;
}
.nav-main a:hover { opacity: 0.55; }
.nav-main a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--ink);
}

.header-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.header-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  position: relative;
}
.header-icons a:hover { background: var(--bg-soft); }
.header-icons svg { width: 18px; height: 18px; }
.cart-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--yellow-strong);
}

/* ----------------------------------------------------------------
   Typography
   ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pink-strong);
}
.eyebrow.blue { color: var(--blue-strong); }
.eyebrow.yellow { color: #a8b818; }

.h-display {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2.section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.section-title-underline {
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--yellow));
  margin: 0 auto 60px;
  border-radius: 2px;
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: #2a2a2a; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn .arrow { font-size: 16px; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.hero {
  background: var(--bg-soft);
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .lead {
  color: var(--ink-mute);
  font-size: 17px;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  gap: 36px;
}
.hero-trust .item {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-trust .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-trust .icon svg { width: 20px; height: 20px; }
.hero-trust strong { display: block; font-weight: 700; font-size: 14px; }
.hero-trust span { font-size: 12px; color: var(--ink-mute); }

/* Hero visual — box with acrylic accent layers */
.hero-visual {
  position: relative;
  aspect-ratio: 1.1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-box {
  position: relative;
  width: 78%;
  aspect-ratio: 1.3/1;
  background: linear-gradient(170deg, #ffffff 0%, #f6f6f6 100%);
  border-radius: 8px;
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.15),
    0 30px 60px -30px rgba(0,0,0,0.2);
  z-index: 4;
}
.hero-box::before {
  content: 'TAUDTMANN';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.85;
}
.hero-acryl {
  position: absolute;
  height: 10px;
  border-radius: 4px;
  opacity: 0.85;
}
.hero-acryl.pink {
  width: 60%;
  left: -8%;
  top: 38%;
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink-strong) 100%);
  box-shadow: 0 8px 20px rgba(244, 165, 199, 0.5);
  z-index: 2;
}
.hero-acryl.blue {
  width: 70%;
  right: -10%;
  top: 30%;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-strong) 100%);
  box-shadow: 0 8px 20px rgba(180, 220, 230, 0.5);
  z-index: 5;
}
.hero-acryl.yellow {
  width: 80%;
  right: -8%;
  bottom: 18%;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-strong) 100%);
  box-shadow: 0 8px 20px rgba(229, 244, 50, 0.5);
  z-index: 3;
}

/* ----------------------------------------------------------------
   Sections
   ---------------------------------------------------------------- */
.section { padding: clamp(70px, 8vw, 110px) 0; }
.section-tight { padding: clamp(50px, 6vw, 80px) 0; }
.section-head-center {
  text-align: center;
  margin-bottom: 60px;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}
.section-head-row h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
}
.section-head-row a {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-head-row a:hover { color: var(--pink-strong); }

/* ----------------------------------------------------------------
   Product / Box grid (3 cards)
   ---------------------------------------------------------------- */
.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.box-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.box-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
}
.box-visual {
  aspect-ratio: 1.3/1;
  border-radius: 8px;
  margin-bottom: 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.box-visual.dark {
  background: linear-gradient(170deg, #1a1a1a 0%, #050505 100%);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4);
}
.box-visual.light {
  background: linear-gradient(170deg, #ffffff 0%, #ededed 100%);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.12);
  border: 1px solid var(--line);
}
.box-visual::before {
  content: 'TAUDTMANN';
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 11px;
}
.box-visual.dark::before { color: rgba(255,255,255,0.85); }
.box-visual.light::before { color: var(--ink); }
.box-visual .acryl {
  position: absolute;
  bottom: 14%;
  height: 6px;
  border-radius: 3px;
  width: 56%;
  left: -6%;
}
.box-visual .acryl.pink { background: linear-gradient(180deg, var(--pink), var(--pink-strong)); box-shadow: 0 4px 14px rgba(236, 95, 160, 0.5); }
.box-visual .acryl.blue { background: linear-gradient(180deg, var(--blue), var(--blue-strong)); box-shadow: 0 4px 14px rgba(126, 200, 216, 0.5); }
.box-visual .acryl.yellow { background: linear-gradient(180deg, var(--yellow), var(--yellow-strong)); box-shadow: 0 4px 14px rgba(212, 230, 24, 0.5); }

.box-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.box-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.box-card .sub {
  color: var(--ink-mute);
  font-size: 14px;
}
.box-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.box-card:hover .box-arrow { background: var(--ink); color: var(--bg); }

/* ----------------------------------------------------------------
   B2B editorial section
   ---------------------------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 64px;
}
.editorial.reverse { grid-template-columns: 1.3fr 1fr; }
.editorial h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 24px;
}
.editorial-list {
  list-style: none;
  margin-bottom: 32px;
}
.editorial-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
}
.check {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
}
.check.pink { background: var(--pink); }
.check.blue { background: var(--blue); }
.check.yellow { background: var(--yellow); }

.editorial-visual {
  aspect-ratio: 1.3/1;
  border-radius: var(--radius-lg);
  position: relative;
  background: linear-gradient(160deg, #fafafa 0%, #e8e8e8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
}
.editorial-visual .stack {
  display: flex;
  gap: 18px;
  align-items: center;
  position: relative;
}
.mini-box {
  width: 120px;
  aspect-ratio: 1.3/1;
  border-radius: 6px;
  position: relative;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-box.dark { background: linear-gradient(170deg, #1a1a1a 0%, #050505 100%); }
.mini-box.light { background: linear-gradient(170deg, #ffffff 0%, #ededed 100%); border: 1px solid var(--line); }
.mini-box::before {
  content: 'TAUDTMANN';
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 8px;
}
.mini-box.dark::before { color: rgba(255,255,255,0.8); }
.mini-box.light::before { color: var(--ink); }
.mini-box .stripe {
  position: absolute;
  bottom: 14%;
  height: 4px;
  width: 70%;
  left: -8%;
  border-radius: 2px;
}
.mini-box .stripe.pink { background: linear-gradient(180deg, var(--pink), var(--pink-strong)); }
.mini-box .stripe.blue { background: linear-gradient(180deg, var(--blue), var(--blue-strong)); }
.mini-box .stripe.yellow { background: linear-gradient(180deg, var(--yellow), var(--yellow-strong)); }

/* Branding-Sektion mit Hand-Visual */
.brand-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-visual {
  aspect-ratio: 1.1/1;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-visual .open-box {
  width: 70%;
  aspect-ratio: 1.5/1;
  background: linear-gradient(170deg, #fff 0%, #eee 100%);
  border-radius: 6px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.2);
}
.brand-visual .open-box .lid {
  position: absolute;
  top: -6%; left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(170deg, #fff 0%, #efefef 100%);
  border-radius: 6px 6px 0 0;
  transform: rotate(-12deg);
  transform-origin: top left;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.brand-visual .open-box .inside {
  position: absolute;
  inset: 8% 8% 12%;
  background: var(--pink);
  border-radius: 4px;
}
.brand-visual .open-box .card {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 50%;
  aspect-ratio: 1.5/1;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
}
.brand-visual .open-box .card::before {
  content: 'TAUDTMANN';
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 9px;
  color: var(--ink);
}

/* ----------------------------------------------------------------
   Trust bar (Logos)
   ---------------------------------------------------------------- */
.trust-bar {
  text-align: center;
  padding: 50px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar .label {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 28px;
}
.trust-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.trust-logo:hover { opacity: 1; }

/* ----------------------------------------------------------------
   Inspiration / Instagram strip
   ---------------------------------------------------------------- */
.insta-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.insta-tile {
  aspect-ratio: 1;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.insta-tile::before { content: ''; position: absolute; inset: 0; transition: transform 0.4s; }
.insta-tile:hover::before { transform: scale(1.08); }
.insta-tile.t1::before { background: linear-gradient(160deg, #2a2a2a, #000); }
.insta-tile.t1::after { content: ''; position: absolute; top: 40%; left: 20%; width: 60%; height: 18%; background: linear-gradient(180deg, var(--pink), var(--pink-strong)); border-radius: 4px; opacity: 0.85; }
.insta-tile.t2::before { background: linear-gradient(160deg, #1a1a1a, #050505); }
.insta-tile.t2::after { content: ''; position: absolute; top: 45%; left: 15%; width: 70%; height: 14%; background: linear-gradient(180deg, var(--yellow), var(--yellow-strong)); border-radius: 4px; opacity: 0.85; }
.insta-tile.t3::before { background: linear-gradient(160deg, #f5f5f5, #d8d8d8); }
.insta-tile.t3::after { content: ''; position: absolute; top: 45%; left: 18%; width: 64%; height: 16%; background: linear-gradient(180deg, var(--blue), var(--blue-strong)); border-radius: 4px; opacity: 0.85; }
.insta-tile.t4::before { background: linear-gradient(160deg, #1a1a1a, #050505); }
.insta-tile.t4::after { content: ''; position: absolute; top: 50%; left: 15%; width: 70%; height: 14%; background: linear-gradient(180deg, var(--pink), var(--pink-strong)); border-radius: 4px; opacity: 0.85; }
.insta-tile.t5::before { background: linear-gradient(160deg, #fafafa, #e0e0e0); }
.insta-tile.t5::after { content: ''; position: absolute; top: 45%; left: 20%; width: 60%; height: 14%; background: linear-gradient(180deg, var(--yellow), var(--yellow-strong)); border-radius: 4px; opacity: 0.85; }
.insta-tile.t6::before { background: linear-gradient(160deg, #f0f0f0, #d0d0d0); }
.insta-tile.t6::after { content: ''; position: absolute; top: 45%; left: 18%; width: 64%; height: 16%; background: linear-gradient(180deg, var(--blue), var(--blue-strong)); border-radius: 4px; opacity: 0.85; }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 60px;
  margin-top: 0;
  background:#ffffff;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--ink);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-mute);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }
.footer-brand .logo { margin-bottom: 16px; display: block; }

.footer-newsletter input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 44px 12px 14px;
  outline: none;
  font-size: 14px;
  background: var(--bg);
  position: relative;
}
.footer-newsletter input:focus { border-color: var(--ink); }
.footer-newsletter .ns-wrap { position: relative; }
.footer-newsletter button {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.footer-bottom a { margin: 0 12px; color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--ink); }

/* ----------------------------------------------------------------
   Breadcrumb
   ---------------------------------------------------------------- */
.crumb {
  font-size: 13px;
  color: var(--ink-mute);
  padding: 24px 0;
}
.crumb a { color: var(--ink-mute); }
.crumb a:hover { color: var(--ink); }
.crumb span { margin: 0 8px; opacity: 0.5; }

/* ----------------------------------------------------------------
   Product Detail
   ---------------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 80px;
  align-items: start;
}
.pd-gallery { min-width: 0; }
.pd-main {
  aspect-ratio: 1.1/1;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.pd-main .product-box {
  width: 56%;
  aspect-ratio: 1.3/1;
  background: linear-gradient(170deg, #1a1a1a 0%, #050505 100%);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-main .product-box::before {
  content: 'TAUDTMANN';
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 13px;
}
.pd-main .product-box .stripe {
  position: absolute;
  bottom: 14%;
  height: 8px;
  width: 70%;
  left: -6%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--pink), var(--pink-strong));
  box-shadow: 0 6px 20px rgba(236, 95, 160, 0.6);
}
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pd-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--bg-soft);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-thumb.active { border-color: var(--ink); }
.pd-thumb .mini {
  width: 60%;
  aspect-ratio: 1.3/1;
  border-radius: 3px;
}
.pd-thumb.t1 .mini { background: linear-gradient(170deg, #1a1a1a, #050505); }
.pd-thumb.t2 .mini { background: linear-gradient(170deg, #fff, #e0e0e0); border: 1px solid var(--line); }
.pd-thumb.t3 .mini { background: linear-gradient(170deg, #1a1a1a, #050505); position: relative; }
.pd-thumb.t3 .mini::after { content: ''; position: absolute; bottom: 20%; left: -10%; width: 80%; height: 3px; background: var(--pink-strong); border-radius: 2px; }
.pd-thumb.t4 .mini { background: linear-gradient(170deg, #fff, #e0e0e0); border: 1px solid var(--line); position: relative; }
.pd-thumb.t4 .mini::after { content: ''; position: absolute; bottom: 20%; left: -10%; width: 80%; height: 3px; background: var(--yellow-strong); border-radius: 2px; }

.pd-info { padding-top: 6px; }
.pd-eyebrow { display: block; margin-bottom: 14px; }
.pd-title {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.pd-sub {
  color: var(--ink-mute);
  font-size: 16px;
  margin-bottom: 28px;
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.pd-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}
.pd-price-unit { color: var(--ink-mute); font-size: 13px; }
.pd-desc { color: var(--ink-mute); margin-bottom: 28px; line-height: 1.65; }

.pd-options { margin-bottom: 28px; }
.pd-option-label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}
.pd-option-row { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.pd-option {
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
}
.pd-option:hover { border-color: var(--ink); }
.pd-option.selected { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pd-color {
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  position: relative;
  display: inline-block;
}
.pd-color.selected { border-color: var(--ink); }
.pd-color.pink { background: linear-gradient(140deg, var(--pink), var(--pink-strong)); }
.pd-color.blue { background: linear-gradient(140deg, var(--blue), var(--blue-strong)); }
.pd-color.yellow { background: linear-gradient(140deg, var(--yellow), var(--yellow-strong)); }
.pd-color.black { background: linear-gradient(140deg, #3a3a3a, #000); }

.pd-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 24px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.qty-control button { width: 40px; height: 44px; font-size: 16px; color: var(--ink-mute); }
.qty-control .qty { width: 36px; text-align: center; font-size: 14px; font-weight: 500; }

.pd-features {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.pd-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pd-feature .ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.pd-feature .ico.pink { background: var(--pink); }
.pd-feature .ico.blue { background: var(--blue); }
.pd-feature .ico.yellow { background: var(--yellow); }
.pd-feature strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; }
.pd-feature span { font-size: 13px; color: var(--ink-mute); }

/* ----------------------------------------------------------------
   Cart
   ---------------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  padding: 30px 0 80px;
}
.cart-title {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 36px;
  letter-spacing: -0.025em;
}
.cart-table { border-top: 1px solid var(--line); }
.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb {
  aspect-ratio: 1;
  background: var(--bg-soft);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-thumb .mini {
  width: 65%;
  aspect-ratio: 1.3/1;
  border-radius: 3px;
  position: relative;
}
.cart-thumb.c1 .mini { background: linear-gradient(170deg, #1a1a1a, #050505); }
.cart-thumb.c1 .mini::after { content: ''; position: absolute; bottom: 18%; left: -10%; width: 80%; height: 3px; background: linear-gradient(180deg, var(--pink), var(--pink-strong)); border-radius: 2px; }
.cart-thumb.c2 .mini { background: linear-gradient(170deg, #fff, #e0e0e0); border: 1px solid var(--line); position: relative; }
.cart-thumb.c2 .mini::after { content: ''; position: absolute; bottom: 18%; left: -10%; width: 80%; height: 3px; background: linear-gradient(180deg, var(--yellow), var(--yellow-strong)); border-radius: 2px; }
.cart-thumb.c3 .mini { background: linear-gradient(170deg, #1a1a1a, #050505); position: relative; }
.cart-thumb.c3 .mini::after { content: ''; position: absolute; bottom: 18%; left: -10%; width: 80%; height: 3px; background: linear-gradient(180deg, var(--blue), var(--blue-strong)); border-radius: 2px; }

.cart-info h4 { font-weight: 700; font-size: 17px; margin-bottom: 3px; }
.cart-info .meta { color: var(--ink-mute); font-size: 13px; }
.cart-info .remove { margin-top: 6px; font-size: 12px; color: var(--ink-soft); display: inline-block; }
.cart-info .remove:hover { color: var(--ink); text-decoration: underline; }
.cart-row .price { font-weight: 600; font-size: 16px; }

.cart-summary {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  align-self: start;
  position: sticky;
  top: 110px;
}
.summary-title { font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-mute);
}
.summary-row.total {
  border-top: 1px solid var(--line-strong);
  margin-top: 14px;
  padding-top: 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}
.summary-row.total .num { font-size: 24px; }

.promo-field {
  display: flex;
  margin: 22px 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.promo-field input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
}
.promo-field button {
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.cart-continue { margin-top: 18px; text-align: center; font-size: 13px; color: var(--ink-mute); }
.cart-continue a { color: var(--ink); text-decoration: underline; font-weight: 500; }

/* ----------------------------------------------------------------
   Checkout
   ---------------------------------------------------------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 30px 0 80px;
}
.checkout-title { font-size: clamp(36px, 4vw, 44px); font-weight: 800; margin-bottom: 6px; letter-spacing: -0.025em; }
.checkout-sub { color: var(--ink-mute); margin-bottom: 32px; }
.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 14px 0;
  margin-right: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.step.active { color: var(--ink); border-bottom: 2px solid var(--ink); margin-bottom: -1px; padding-bottom: 14px; }
.step .num {
  display: inline-flex;
  width: 22px; height: 22px;
  background: var(--bg-soft);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-right: 8px;
}
.step.active .num { background: var(--ink); color: var(--bg); }

.form-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.form-section h3 { font-size: 20px; font-weight: 700; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.field input, .field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 13px 14px;
  outline: none;
  border-radius: 8px;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus { border-color: var(--ink); }

.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
  background: var(--bg);
}
.payment-option:hover { border-color: var(--ink); }
.payment-option.selected { border-color: var(--ink); background: var(--bg-soft); }
.payment-option .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
  position: relative;
}
.payment-option.selected .dot { border-color: var(--ink); }
.payment-option.selected .dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--ink);
  border-radius: 50%;
}
.payment-option .label { flex: 1; font-size: 14px; font-weight: 600; }
.payment-option .label small { display: block; color: var(--ink-mute); font-size: 12px; font-weight: 400; margin-top: 2px; }

.order-summary {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  align-self: start;
  position: sticky;
  top: 110px;
}
.order-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.order-item .thumb {
  aspect-ratio: 1;
  background: var(--bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-item .thumb .mini {
  width: 65%;
  aspect-ratio: 1.3/1;
  border-radius: 2px;
  position: relative;
}
.order-item.o1 .thumb .mini { background: linear-gradient(170deg, #1a1a1a, #050505); }
.order-item.o1 .thumb .mini::after { content: ''; position: absolute; bottom: 18%; left: -10%; width: 80%; height: 2px; background: var(--pink-strong); border-radius: 2px; }
.order-item.o2 .thumb .mini { background: linear-gradient(170deg, #fff, #e0e0e0); border: 1px solid var(--line); position: relative; }
.order-item.o2 .thumb .mini::after { content: ''; position: absolute; bottom: 18%; left: -10%; width: 80%; height: 2px; background: var(--yellow-strong); border-radius: 2px; }
.order-item.o3 .thumb .mini { background: linear-gradient(170deg, #1a1a1a, #050505); position: relative; }
.order-item.o3 .thumb .mini::after { content: ''; position: absolute; bottom: 18%; left: -10%; width: 80%; height: 2px; background: var(--blue-strong); border-radius: 2px; }
.order-item h5 { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.order-item .meta { font-size: 12px; color: var(--ink-mute); }
.order-item .p { font-size: 14px; font-weight: 600; }

/* ----------------------------------------------------------------
   Dashboard
   ---------------------------------------------------------------- */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 30px 0 80px;
}
.dash-sidebar {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.dash-greeting {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.dash-greeting .label { font-size: 12px; color: var(--ink-mute); display: block; margin-bottom: 4px; }
.dash-greeting h3 { font-size: 20px; font-weight: 700; }
.dash-nav { list-style: none; }
.dash-nav li { margin-bottom: 2px; }
.dash-nav a {
  display: block;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  border-radius: 8px;
  transition: all 0.2s;
}
.dash-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.dash-nav a.active { color: var(--ink); background: var(--bg-soft); }
.dash-logout {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.dash-main h1 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}
.dash-main .sub { color: var(--ink-mute); margin-bottom: 36px; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}
.stat {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.stat .label-top { font-size: 12px; font-weight: 600; color: var(--ink-mute); display: block; margin-bottom: 10px; }
.stat .num { font-size: 32px; font-weight: 800; line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.stat .label-bot { font-size: 13px; color: var(--ink-mute); }
.stat .badge {
  position: absolute;
  top: 24px; right: 24px;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.stat .badge.pink { background: var(--pink-strong); }
.stat .badge.blue { background: var(--blue-strong); }
.stat .badge.yellow { background: var(--yellow-strong); }

.dash-section { margin-bottom: 48px; }
.dash-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.dash-section-head h2 { font-size: 22px; font-weight: 700; }
.dash-section-head a { font-size: 13px; font-weight: 600; }
.dash-section-head a:hover { color: var(--pink-strong); }

.order-list { border-top: 1px solid var(--line); }
.order-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 14px;
}
.order-row .label { font-size: 11px; color: var(--ink-mute); font-weight: 600; display: block; margin-bottom: 4px; }
.order-row .ord-id { font-weight: 700; font-size: 15px; }
.order-row .status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 50px;
}
.status.delivered { background: var(--blue); color: #2c5660; }
.status.shipped { background: var(--yellow); color: #4a5208; }
.status.pending { background: var(--bg-card); color: var(--ink-mute); }
.order-row .action {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: all 0.2s;
}
.order-row .action:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.address-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.address-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg);
}
.address-card .badge-l {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.address-card .badge-l.pink { background: var(--pink); color: #6e1a3f; }
.address-card .badge-l.yellow { background: var(--yellow); color: #4a5208; }
.address-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.address-card address { font-style: normal; font-size: 14px; color: var(--ink-mute); line-height: 1.6; }
.address-card .actions { margin-top: 18px; display: flex; gap: 16px; font-size: 12px; font-weight: 600; }
.address-card .actions a { color: var(--ink-mute); }
.address-card .actions a:hover { color: var(--ink); }

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .header-row { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav-main { gap: 24px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .box-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial { grid-template-columns: 1fr; padding: 40px; }
  .editorial.reverse { grid-template-columns: 1fr; }
  .brand-section { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .insta-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav-main { display: none; }
  .header-icons a span { display: none; }
  .box-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .pd-features { grid-template-columns: 1fr; }
  .address-cards { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-trust { flex-direction: column; gap: 14px; }
  .insta-strip { grid-template-columns: repeat(2, 1fr); }
}


/* =================================================================
   Site Logo (WordPress Custom Logo from Customizer)
   Same minimal styling for header and footer.
   Includes backwards-compat .site-logo selector for transition.
   ================================================================= */
.site-logo,
.header-logo,
.footer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo .custom-logo-link,
.header-logo .custom-logo-link,
.footer-logo .custom-logo-link,
.site-logo .logo-text,
.header-logo .logo-text,
.footer-logo .logo-text {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.site-logo .custom-logo,
.header-logo .custom-logo,
.footer-logo .custom-logo {
  display: block;
  max-width: 200px;
  height: auto;
  width: auto;
}
.site-logo .custom-logo,
.header-logo .custom-logo {
  max-height: 56px;
}
.footer-logo .custom-logo {
  max-height: 48px;
}
.site-logo .logo-text,
.header-logo .logo-text,
.footer-logo .logo-text {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--ink);
}

@media (max-width: 768px) {
  .site-logo .custom-logo,
  .header-logo .custom-logo {
    max-height: 40px;
  }
  .site-logo .logo-text,
  .header-logo .logo-text,
  .footer-logo .logo-text {
    font-size: 18px;
  }
}


/* =================================================================
   SEARCH OVERLAY
   Full-screen slide-down overlay with live AJAX product search.
   Triggered by [data-search-trigger] in the header.
   ================================================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(15, 15, 15, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s 0.25s;
}
.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s;
}
.search-overlay-inner {
  background: var(--bg);
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
  padding: 28px 0 60px;
  transform: translateY(-30px);
  transition: transform 0.3s ease;
  position: relative;
}
.search-overlay.is-open .search-overlay-inner {
  transform: translateY(0);
}

.search-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.search-close:hover { background: var(--bg-soft); }
.search-close svg { width: 22px; height: 22px; }

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  margin: 20px 0 36px;
}
.search-form .search-icon {
  width: 22px;
  height: 22px;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.search-form input[type="search"] {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.015em;
  color: var(--ink);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.search-form input[type="search"]::placeholder {
  color: var(--ink-soft);
}
.search-form input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-submit {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.search-submit:hover { background: #2a2a2a; }

/* Results container */
.search-results {
  min-height: 100px;
}
.search-hint,
.search-loading,
.search-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--ink-mute);
  font-size: 14px;
}
.search-empty p { margin-bottom: 20px; }

.search-results-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-result-item {
  margin: 0;
}
.search-result-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}
.search-result-item a:hover { background: var(--bg-soft); }
.search-result-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.search-result-info {
  min-width: 0;
  flex: 1;
}
.search-result-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.search-result-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.search-view-all {
  display: block;
  text-align: center;
  margin-top: 28px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}
.search-view-all:hover { background: var(--line); }

@media (max-width: 720px) {
  .search-results-list {
    grid-template-columns: 1fr;
  }
  .search-form { gap: 8px; }
  .search-submit { padding: 10px 16px; font-size: 12px; }
}


/* =================================================================
   SORTIMENT MULTI-COLUMN MEGAMENU (Hornbach/Bauhaus-style)
   Click on the Sortiment menu item opens a left-anchored panel
   with the top-level categories. Clicking a category opens a SECOND
   column right next to it with its sub-categories. Clicking a
   sub-category opens a THIRD column, and so on. Active items in
   earlier columns stay highlighted.
   ================================================================= */

/* Main nav reset for the WP-menu list */
.nav-main ul.nav-main-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}
.nav-main ul.nav-main-list > li {
  list-style: none;
  position: relative;
}
.nav-main ul.nav-main-list > li > a {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}
.nav-main ul.nav-main-list > li > a:hover,
.nav-main ul.nav-main-list > li.current-menu-item > a {
  opacity: 0.65;
}

/* Overlay (semi-transparent backdrop) - starts below the header so
   the nav stays visible and the user can re-click Sortiment to close,
   or switch to another nav item. */
.megamenu-overlay {
  position: fixed;
  top: var(--megamenu-top, 80px);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9996;
  transition: opacity 0.22s ease, visibility 0s 0.22s;
}
.megamenu-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0s;
}

/* The main drawer container - positioned BELOW the header.
   Drops down full-width, columns stack horizontally inside. */
.megamenu {
  position: fixed;
  top: var(--megamenu-top, 80px); /* set dynamically by JS to header bottom */
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--line);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.2,.7,.2,1), visibility 0s 0.22s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.megamenu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.2,.7,.2,1), visibility 0s;
}

/* Constrain content to a max-width and center it; columns within
   are left-aligned starting under the Sortiment trigger area. */
.megamenu-inner-wrap {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Head: compact, just a close button on the right (since the drawer is
   visually anchored under the "Sortiment" word, no title is needed) */
.megamenu-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px 0;
  flex-shrink: 0;
}
.megamenu-title {
  display: none;
}
.megamenu-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.megamenu-close:hover { background: var(--bg-soft); }
.megamenu-close svg { width: 20px; height: 20px; }

/* The horizontal stack of columns */
.megamenu-columns {
  flex: 1;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 24px 24px;
  gap: 0;
}

/* Individual column */
.megamenu-column {
  flex-shrink: 0;
  width: 280px;
  max-width: 100vw;
  display: none;
  flex-direction: column;
  background: var(--bg);
  animation: tm-col-fade-in 0.22s ease;
  padding-right: 24px;
}
.megamenu-column:not(:last-child) {
  border-right: 1px solid var(--line);
  margin-right: 16px;
}
.megamenu-column.is-visible {
  display: flex;
}
@keyframes tm-col-fade-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Sub-column header (small caption + "alle anzeigen" link) */
.megamenu-column-head {
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.megamenu-column-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.megamenu-show-all {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.15s;
}
.megamenu-show-all:hover {
  color: var(--ink);
}

/* List of categories inside each column */
.megamenu-items {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  flex: 1;
}
.megamenu-item {
  list-style: none;
  margin: 0;
}
.megamenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.megamenu-link:hover {
  background: var(--bg-soft);
}
.megamenu-link.is-active {
  background: var(--bg-soft);
  font-weight: 600;
}
.megamenu-link:focus-visible {
  outline: 2px solid var(--pink-strong);
  outline-offset: -2px;
}
.megamenu-label {
  flex: 1;
  min-width: 0;
}
.megamenu-count {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.megamenu-chev {
  display: inline-flex;
  align-items: center;
  color: var(--ink-mute);
  flex-shrink: 0;
  transition: transform 0.15s, color 0.15s;
}
.megamenu-chev svg {
  width: 16px;
  height: 16px;
}
.megamenu-link-drill:hover .megamenu-chev,
.megamenu-link-drill.is-active .megamenu-chev {
  color: var(--ink);
  transform: translateX(2px);
}

/* Mobile: drawer takes the full remaining height under the header */
@media (max-width: 720px) {
  .megamenu-columns {
    padding: 4px 16px 16px;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .megamenu-column {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }
  .megamenu-column:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    margin-right: 0;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }
}
