/* ==========================================================================
   Haustierwelt — styles.css
   Warm, friendly pet-shop design system (pure CSS, no framework)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #FFFBF5;
  --surface: #FFFFFF;
  --ink: #2B2118;
  --muted: #6E655A;
  --brand: #0F766E;
  --brand-dark: #0B5A54;
  --brand-soft: #E4F2EE;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --accent-soft: #FFF3E0;
  --line: #EDE3D5;
  --danger: #E5484D;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(43, 33, 24, .08);
  --shadow-lg: 0 24px 60px rgba(43, 33, 24, .16);
  --font-head: 'Baloo 2', 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  padding-top: var(--header-h);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }
body.drawer-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 800; }
s { color: var(--muted); font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(245, 158, 11, .65);
  outline-offset: 2px;
  border-radius: 4px;
}

.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding-block: clamp(60px, 8vw, 104px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-top: 14px; }
.section-sub { margin-top: 12px; color: var(--muted); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 800; font-size: .98rem; line-height: 1.2;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(15, 118, 110, .28); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 12px 26px rgba(15, 118, 110, .34); }
.btn-accent { background: var(--accent); color: #3A2A00; box-shadow: 0 8px 20px rgba(245, 158, 11, .3); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: rgba(15, 118, 110, .35); }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn.loading { opacity: .7; pointer-events: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink); transition: background .15s, transform .15s;
}
.icon-btn:hover { background: var(--accent-soft); transform: scale(1.05); }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow .icon { color: var(--accent-dark); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 251, 245, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(43, 33, 24, .07);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, #14a08d 100%);
  color: #fff; box-shadow: 0 6px 16px rgba(15, 118, 110, .3);
}
.logo-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  color: var(--ink); letter-spacing: -.02em;
}
.logo-text em { font-style: normal; color: var(--brand); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 700; font-size: .97rem;
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; }
.main-nav a.active { background: var(--brand-soft); color: var(--brand-dark); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); transition: border-color .15s, background .15s, transform .15s;
}
.cart-btn:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #3A2A00;
  font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center;
  box-shadow: 0 2px 8px rgba(245, 158, 11, .5);
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); }
.nav-toggle .icon { position: absolute; inset: 0; margin: auto; transition: opacity .15s, transform .15s; }
.nav-toggle .icon:last-child { opacity: 0; transform: rotate(-90deg); }
body.nav-open .nav-toggle .icon:first-child { opacity: 0; transform: rotate(90deg); }
body.nav-open .nav-toggle .icon:last-child { opacity: 1; transform: rotate(0); }

.nav-overlay {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
  background: rgba(43, 33, 24, .4);
  opacity: 0; transition: opacity .25s;
}
.nav-overlay.show { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 84px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(10px);
}
.hero::before { width: 480px; height: 480px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(245, 158, 11, .18), transparent 65%); }
.hero::after { width: 520px; height: 520px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(15, 118, 110, .16), transparent 65%); }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.55rem);
  font-weight: 800; margin-top: 20px;
}
.highlight {
  background: linear-gradient(transparent 60%, rgba(245, 158, 11, .38) 60%);
  border-radius: 4px; padding: 0 2px;
}
.lead { margin-top: 18px; font-size: 1.12rem; color: var(--muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.trust-row li {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .92rem; color: var(--muted);
}
.trust-row .icon { color: var(--brand); }

.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative; border-radius: 32px 110px 32px 32px;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: visible; background: var(--surface);
}
.hero-img-wrap > img {
  width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover;
  border-radius: 26px 104px 26px 26px;
}
.float-card {
  position: absolute; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 13px 17px;
  animation: floaty 6s ease-in-out infinite;
}
.rating-card { top: -22px; left: -26px; display: grid; gap: 3px; }
.rating-card strong { font-size: .95rem; }
.rating-card small, .slot-card small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.slot-card {
  bottom: 26px; right: -24px;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink); animation-delay: 1.6s; max-width: 320px;
}
.slot-card:hover { text-decoration: none; transform: translateY(-3px); transition: transform .18s; }
.slot-card strong { display: block; font-size: .9rem; }
.slot-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-dark); flex-shrink: 0;
}
.slot-card > .icon:last-child { color: var(--accent-dark); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Promises strip ---------- */
.strip { background: linear-gradient(95deg, var(--brand-dark), var(--brand) 55%, #12917f); padding-block: 20px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip-item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; font-weight: 800; font-size: .95rem; text-align: center;
}
.strip-item .icon { color: #FFC964; }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  position: relative; display: block; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 2.6; box-shadow: var(--shadow);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30, 22, 14, .72) 0%, rgba(30, 22, 14, .08) 55%, transparent 100%);
}
.category-card:hover img { transform: scale(1.07); }
.category-name {
  position: absolute; left: 22px; bottom: 18px; z-index: 1;
  color: #fff; font-family: var(--font-head); font-weight: 800;
  font-size: 1.5rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.category-card::before {
  content: "Jetzt entdecken →"; position: absolute; right: 20px; bottom: 22px; z-index: 1;
  color: #fff; font-weight: 800; font-size: .85rem;
  background: rgba(15, 118, 110, .85); padding: 7px 14px; border-radius: 999px;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s;
}
.category-card:hover::before { opacity: 1; transform: translateY(0); }

/* ---------- Shop / products ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  padding: 9px 20px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line);
  font-weight: 800; font-size: .92rem; color: var(--muted);
  transition: all .18s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(15, 118, 110, .28); }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card.hide { display: none; }
.product-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.badge-brand { background: var(--brand); color: #fff; }
.badge-new { background: var(--accent); color: #3A2A00; }
.badge-sale { background: var(--danger); color: #fff; }
.product-body { display: flex; flex-direction: column; gap: 7px; padding: 17px 18px 19px; flex: 1; }
.product-cat {
  font-size: .74rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-dark);
}
.product-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.rating { display: flex; align-items: center; gap: 8px; }
.rating small { color: var(--muted); font-weight: 700; }
.price-row { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.price-row strong { font-size: 1.18rem; color: var(--brand-dark); }
.price-row strong + s { font-size: .92rem; }
.price-row .btn { margin-left: auto; }
.price-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: .9rem; }
.price-note a { font-weight: 700; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, #F3FAF7 30%, #F3FAF7 70%, var(--bg) 100%); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-icon {
  position: absolute; left: 16px; bottom: -22px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 15px;
  background: linear-gradient(135deg, var(--brand), #14a08d); color: #fff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, .35);
}
.service-body { display: flex; flex-direction: column; gap: 11px; padding: 32px 22px 22px; flex: 1; }
.service-body h3 { font-size: 1.25rem; }
.service-body > p { color: var(--muted); font-size: .95rem; }
.check-list { display: grid; gap: 7px; margin-block: 2px; }
.check-list li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; }
.check-list .icon { color: var(--brand); background: var(--brand-soft); border-radius: 50%; padding: 3px; width: 21px; height: 21px; }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.service-price { color: var(--muted); font-size: .92rem; font-weight: 700; }
.service-price strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--brand-dark); margin-left: 3px; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: clamp(36px, 5vw, 56px); padding: 28px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.step { display: flex; gap: 15px; align-items: flex-start; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
}
.step strong { display: block; font-size: 1rem; }
.step span { color: var(--muted); font-size: .9rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.about-visual { position: relative; }
.about-visual::before {
  content: ""; position: absolute; inset: 26px -22px -22px 26px;
  background: var(--accent-soft); border-radius: var(--radius-lg); z-index: -1;
}
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; }
.about-copy h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-top: 14px; }
.about-copy > p { margin-top: 15px; color: var(--muted); }
.about-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin-top: 22px; }
.about-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: .95rem; }
.about-list .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 14px; text-align: center; box-shadow: var(--shadow);
}
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--brand-dark); }
.stat-label { color: var(--muted); font-size: .84rem; font-weight: 700; }
.about-copy .btn { margin-top: 28px; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .22s, box-shadow .22s;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.review-card blockquote { font-size: .98rem; color: var(--ink); }
.review-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-card strong { display: block; font-size: .95rem; }
.review-card small { color: var(--muted); font-weight: 600; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand-dark);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
}
.review-card:nth-child(2) .avatar { background: var(--accent-soft); color: var(--accent-dark); }
.review-card:nth-child(3) .avatar { background: #FCE7E7; color: #B33A3E; }
.review-card:nth-child(4) .avatar { background: #E7EDFC; color: #3B5BB3; }
.review-disclaimer { margin-top: 26px; text-align: center; color: var(--muted); font-size: .85rem; font-style: italic; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-wrap .section-head { text-align: center; margin-inline: auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s, border-color .2s;
}
.faq-item.open { border-color: rgba(15, 118, 110, .4); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq-q .icon { color: var(--brand); transition: transform .25s; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease;
}
.faq-a > p { overflow: hidden; padding: 0 22px; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 20px; }
.faq-a a { font-weight: 700; }

/* ---------- Newsletter ---------- */
.newsletter { padding-block: 10px 20px; }
.newsletter-card {
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 60%, #12917f 100%);
  border-radius: var(--radius-lg); color: #fff;
  padding: clamp(30px, 4.5vw, 52px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.newsletter-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
}
.newsletter-copy h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.newsletter-copy p { margin-top: 10px; color: rgba(255, 255, 255, .88); font-size: .98rem; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; position: relative; z-index: 1; }
.newsletter-form input[type="email"] {
  padding: 14px 18px; border-radius: 999px; border: none;
  background: rgba(255, 255, 255, .96); min-width: 0;
}
.newsletter-form input[type="email"]:focus { outline: 3px solid rgba(245, 158, 11, .7); }
.newsletter-form .consent-row { grid-column: 1 / -1; color: rgba(255, 255, 255, .85); }
.newsletter-form .consent-row a { color: #FFD9A0; font-weight: 700; }
.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; line-height: 1.5; color: var(--muted);
}
.consent-row input[type="checkbox"] {
  width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; cursor: pointer;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand-dark);
}
.contact-card strong { display: block; margin-bottom: 3px; }
.contact-card p { color: var(--muted); font-size: .93rem; }
.contact-card a { font-weight: 700; }

.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
  display: grid; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-weight: 800; font-size: .88rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12);
}
.form-field input.invalid, .form-field select.invalid, .form-field textarea.invalid { border-color: var(--danger); }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #221B15; color: #D9D0C5; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px); padding-block: clamp(44px, 6vw, 68px) 34px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: .93rem; color: #B4AA9D; max-width: 30rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); color: #D9D0C5;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col a, .footer-link {
  display: block; padding: 5px 0; color: #B4AA9D;
  font-size: .94rem; font-weight: 600; text-align: left;
  transition: color .15s, transform .15s;
}
.footer-col a:hover, .footer-link:hover { color: #FFC964; text-decoration: none; transform: translateX(3px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 20px 26px; font-size: .86rem; color: #B4AA9D;
}
.footer-disclaimer { font-style: italic; font-size: .8rem; opacity: .8; }

/* ---------- Cart drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(43, 33, 24, .5);
  opacity: 0; transition: opacity .28s;
}
.drawer-overlay.show { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(420px, 94vw);
  background: var(--bg); box-shadow: -18px 0 60px rgba(43, 33, 24, .25);
  transform: translateX(105%); transition: transform .32s cubic-bezier(.22, .8, .3, 1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 1.3rem; }
.ship-progress { padding: 16px 22px 6px; }
.ship-progress p { font-size: .88rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.ship-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ship-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #FBBF24);
  transition: width .4s ease;
}
.cart-items { flex: 1; overflow-y: auto; padding: 14px 22px; display: grid; gap: 14px; align-content: start; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 13px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 11px;
}
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-name { font-weight: 800; font-size: .88rem; line-height: 1.3; }
.cart-price { color: var(--muted); font-size: .82rem; font-weight: 700; margin-top: 2px; }
.qty-controls { display: inline-flex; align-items: center; gap: 9px; margin-top: 7px; }
.qty-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
.qty-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.qty-val { min-width: 18px; text-align: center; font-weight: 800; font-size: .92rem; }
.cart-line-total { font-weight: 800; color: var(--brand-dark); font-size: .95rem; text-align: right; }
.cart-remove {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--danger); font-size: .76rem; font-weight: 700; margin-top: 7px;
}
.cart-remove:hover { text-decoration: underline; }
.cart-empty {
  flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; color: var(--muted); padding: 30px;
}
.cart-empty .icon { color: var(--line); }
.cart-drawer.is-empty .cart-items, .cart-drawer.is-empty .cart-foot { display: none; }
.cart-drawer.is-empty .cart-empty { display: flex; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; display: grid; gap: 10px; background: var(--surface); }
.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 1.05rem; }
.cart-total strong { font-family: var(--font-head); font-size: 1.45rem; color: var(--brand-dark); }
.cart-note { font-size: .8rem; color: var(--muted); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(43, 33, 24, .55);
  opacity: 0; transition: opacity .25s;
}
.modal.show { opacity: 1; }
.modal-card {
  position: relative; width: min(500px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 32px 30px 26px; box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: transform .25s;
}
.modal.show .modal-card { transform: translateY(0) scale(1); }
.modal-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.modal-card > p { color: var(--muted); font-size: .95rem; }
.modal-close { position: absolute; top: 16px; right: 16px; }
.checkout-steps { margin: 16px 0; padding-left: 4px; display: grid; gap: 8px; counter-reset: cs; }
.checkout-steps li {
  counter-increment: cs; display: flex; gap: 11px; align-items: flex-start;
  font-weight: 600; font-size: .93rem;
}
.checkout-steps li::before {
  content: counter(cs);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark);
  font-weight: 800; font-size: .8rem;
}
.checkout-summary {
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
  font-size: .9rem; max-height: 180px; overflow-y: auto;
}
.checkout-summary div { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.checkout-summary div strong { white-space: nowrap; }
.modal-actions { display: grid; gap: 10px; }
.modal-note { margin-top: 14px; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: flex; justify-content: center;
  animation: rise .45s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.cookie-card {
  width: min(760px, 100%);
  display: flex; align-items: center; gap: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 24px;
}
.cookie-text h3 { font-size: 1.1rem; margin-bottom: 4px; }
.cookie-text p { font-size: .86rem; color: var(--muted); }
.cookie-text a { font-weight: 800; }
.cookie-actions { display: flex; flex-direction: column; gap: 9px; flex-shrink: 0; }

/* ---------- Toasts ---------- */
.toast-stack {
  position: fixed; left: 16px; bottom: 16px; z-index: 100;
  display: grid; gap: 10px; max-width: min(360px, 90vw);
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--ink); color: #fff;
  border-radius: 14px; padding: 13px 17px;
  font-size: .92rem; font-weight: 600; box-shadow: var(--shadow-lg);
  animation: rise .3s ease;
}
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }
.toast .icon { color: #FFC964; margin-top: 2px; }
.toast.error .icon { color: #FF8A8E; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }

/* ---------- Image fallback ---------- */
.img-fallback {
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--accent-soft) 100%) !important;
}
.img-fallback::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%230F766E' fill-opacity='.35'%3E%3Cellipse cx='12' cy='15.8' rx='4.8' ry='4.2'/%3E%3Cellipse cx='4.6' cy='11.2' rx='2.1' ry='2.9'/%3E%3Cellipse cx='9.2' cy='6.8' rx='2.1' ry='2.9'/%3E%3Cellipse cx='14.8' cy='6.8' rx='2.1' ry='2.9'/%3E%3Cellipse cx='19.4' cy='11.2' rx='2.1' ry='2.9'/%3E%3C/g%3E%3C/svg%3E") center / 64px no-repeat;
}
.product-media.img-fallback, .service-media.img-fallback, .category-card.img-fallback { position: relative; }
.category-card.img-fallback img { visibility: hidden; }
.product-media.img-fallback img, .service-media.img-fallback img { display: none; }
.hero-img-wrap.img-fallback { aspect-ratio: 1 / 1.02; }
.about-visual.img-fallback { aspect-ratio: 5 / 4; border-radius: var(--radius-lg); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff; padding: clamp(40px, 6vw, 72px) 0;
}
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.legal-hero p { margin-top: 10px; color: rgba(255, 255, 255, .85); }
.legal-wrap { max-width: 820px; margin-inline: auto; padding-block: clamp(36px, 5vw, 60px); }
.legal-wrap h2 { font-size: 1.45rem; margin: 34px 0 12px; }
.legal-wrap h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.legal-wrap p, .legal-wrap li { color: #4A4238; font-size: .97rem; margin-bottom: 10px; }
.legal-wrap ul { list-style: disc; padding-left: 22px; }
.legal-wrap a { font-weight: 700; }
.legal-wrap table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .92rem; }
.legal-wrap th, .legal-wrap td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.legal-wrap th { background: var(--brand-soft); font-weight: 800; }
.legal-updated { color: var(--muted); font-size: .88rem; }
.notice {
  background: var(--accent-soft); border: 1px solid rgba(217, 119, 6, .3);
  border-radius: 14px; padding: 16px 18px; margin: 18px 0;
  font-size: .9rem; color: #7C5200;
}
.notice strong { color: #5E3D00; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 36px; }
  .rating-card { left: -10px; }
  .slot-card { right: -8px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 18px 5% 26px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 13px 16px; font-size: 1.05rem; }
  .nav-cta-mobile { display: inline-flex; margin-top: 10px; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .rating-card { top: -18px; left: -6px; }
  .slot-card { right: -6px; bottom: -20px; }
  .hero-img-wrap { margin-top: 10px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .newsletter-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .strip-item { justify-content: flex-start; font-size: .86rem; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { aspect-ratio: 16 / 8; }
  .trust-row { gap: 8px 18px; }
  .float-card { padding: 10px 13px; }
  .rating-card { display: none; }
  .slot-card { max-width: 300px; }
  .about-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .btn { width: 100%; }
  .cookie-card { flex-direction: column; align-items: stretch; }
  .cookie-actions { flex-direction: row; }
  .cookie-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal-card { padding: 26px 20px 22px; }
  .hero-cta .btn { flex: 1; min-width: 200px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.price-row strong { white-space: nowrap; }
