

/* --- Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Override broken OpenCart defaults that absolutely position container/footer */
#container, body > #container { position: static !important; margin-bottom: 0 !important; }
footer, .dd-footer, body > footer { position: static !important; top: auto !important; }
main, body main { position: static !important; margin-bottom: 0 !important; }
body { margin-bottom: 0 !important; }
body {
  margin: 0;
  font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Palette / tokens ------------------------------------------------- */
:root {
  
  --bg:            #ffffff;  /* білий */
  --bg-soft:       #f1f4f9;  /* холодний сірий */
  --bg-card:       #FFFFFF;
  --text:          #141c2b;  /* майже чорний синій */
  --text-soft:     #4e5b70;
  --text-muted:    #8592a6;
  --border:        #e2e7ef;
  --border-strong: #c5cedc;

  --green:         #1d3557;  /* темно-синій — основний колір бренду */
  --green-soft:    #2c4f7c;
  --green-bg:      #e8eef8;  /* блакитний фон */
  --terracotta:    #f07c1f;  /* помаранчевий — кнопки дії */
  --terracotta-hover: #d86812;
  --sand:          #ffc15e;  /* бурштиновий акцент */
  --success:       #1f9d6b;
  --danger:        #d64545;

  /* radii and shadows */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(20,28,43, 0.04), 0 1px 3px rgba(20,28,43, 0.06);
  --shadow:    0 4px 12px rgba(20,28,43, 0.06), 0 2px 4px rgba(20,28,43, 0.04);
  --shadow-lg: 0 12px 32px rgba(20,28,43, 0.10), 0 4px 12px rgba(20,28,43, 0.06);

  /* timing */
  --ease:    cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --t-fast:  150ms;
  --t-base:  240ms;
  --t-slow:  400ms;
}

/* --- Typography ------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Unbounded', 'Golos Text', sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
a  { color: var(--green); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--green-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

/* --- Container -------------------------------------------------------- */
.dd-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) { .dd-container { padding: 0 16px; } }

/* --- Buttons ---------------------------------------------------------- */
.dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.dd-btn-primary { background: var(--terracotta); color: white; }
.dd-btn-primary:hover { background: var(--terracotta-hover); color: white; transform: translateY(-1px); box-shadow: var(--shadow); }
.dd-btn-primary:active { transform: translateY(0); }

.dd-btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border-strong); }
.dd-btn-secondary:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }

.dd-btn-ghost { background: transparent; color: var(--green); }
.dd-btn-ghost:hover { background: var(--green-bg); }

.dd-btn-lg { padding: 16px 32px; font-size: 16px; }
.dd-btn-sm { padding: 8px 16px; font-size: 14px; }

/* Ripple-ish glow on primary press */
.dd-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.dd-btn:active::after { opacity: 1; transition: none; }

/* --- Card ------------------------------------------------------------- */
.dd-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.dd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.dd-card-body { padding: 16px; }
.dd-card-title { font-size: 15px; font-weight: 600; margin: 0 0 8px; color: var(--text); line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dd-card-price { font-size: 20px; font-weight: 700; color: var(--green); }

/* --- Animations ------------------------------------------------------- */
@keyframes ddFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ddFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ddPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
@keyframes ddShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.dd-animate-fade-up { animation: ddFadeUp var(--t-slow) var(--ease-out) backwards; }
.dd-animate-fade-in { animation: ddFadeIn var(--t-slow) var(--ease-out) backwards; }
.dd-stagger > * { animation: ddFadeUp var(--t-slow) var(--ease-out) backwards; }
.dd-stagger > *:nth-child(1) { animation-delay: 0ms; }
.dd-stagger > *:nth-child(2) { animation-delay: 80ms; }
.dd-stagger > *:nth-child(3) { animation-delay: 160ms; }
.dd-stagger > *:nth-child(4) { animation-delay: 240ms; }
.dd-stagger > *:nth-child(5) { animation-delay: 320ms; }
.dd-stagger > *:nth-child(6) { animation-delay: 400ms; }
.dd-stagger > *:nth-child(7) { animation-delay: 480ms; }
.dd-stagger > *:nth-child(8) { animation-delay: 560ms; }
.dd-stagger > *:nth-child(9) { animation-delay: 640ms; }
.dd-stagger > *:nth-child(10) { animation-delay: 720ms; }

/* --- Header ----------------------------------------------------------- */
.dd-topbar {
  background: var(--green);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  padding: 8px 0;
}
.dd-topbar a { color: rgba(255,255,255,0.92); }
.dd-topbar a:hover { color: white; }
.dd-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.dd-topbar-left, .dd-topbar-right { display: flex; gap: 20px; align-items: center; }
.dd-topbar i { margin-right: 6px; opacity: 0.8; }

.dd-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: backdrop-filter var(--t-base) var(--ease), background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.dd-header.scrolled {
  background: rgba(255,255,255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-sm);
}
.dd-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 20px 0;
}
@media (max-width: 768px) {
  .dd-header-inner { grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px 0; }
}

.dd-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity var(--t-fast) var(--ease);
}
.dd-logo:hover { opacity: 0.85; color: var(--text); }
.dd-logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.dd-logo-name { display: flex; flex-direction: column; line-height: 1; }
.dd-logo-name strong { font-weight: 800; font-size: 19px; white-space: nowrap; }
.dd-logo-name .dd-logo-amp { font-weight: 500; font-style: italic; color: var(--green); font-size: 0.85em; margin: 0 1px; }
.dd-logo-name small { font-size: 11px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.06em; margin-top: 3px; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 540px) {
  .dd-logo-name strong { font-size: 16px; }
  .dd-logo-name small { font-size: 10px; }
}

/* Search */
.dd-search {
  display: flex;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.dd-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,53,87, 0.1); }
.dd-search input { flex: 1; border: none; padding: 12px 20px; font-family: inherit; font-size: 14px; outline: none; background: transparent; color: var(--text); }
.dd-search button { background: transparent; border: none; padding: 0 18px; cursor: pointer; color: var(--green); font-size: 16px; }
.dd-search button:hover { color: var(--terracotta); }


/* Cart pill */
.dd-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--green);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
}
.dd-cart-btn:hover { background: var(--green-soft); color: white; transform: translateY(-1px); box-shadow: var(--shadow); }
.dd-cart-count { background: var(--terracotta); color: white; border-radius: 999px; padding: 2px 8px; font-size: 11px; min-width: 22px; text-align: center; }

/* Main nav */
.dd-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.dd-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.dd-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.dd-nav-list a:hover { color: var(--green); border-bottom-color: var(--green); background: var(--green-bg); }
.dd-nav-list a.active { color: var(--green); border-bottom-color: var(--green); }
.dd-nav-list svg { width: 18px; height: 18px; }

/* --- Hero ------------------------------------------------------------- */
.dd-hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-bg) 0%, var(--bg) 60%, var(--bg-soft) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.dd-hero::before, .dd-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.dd-hero::before {
  width: 400px; height: 400px;
  background: var(--sand);
  top: -100px; right: -80px;
}
.dd-hero::after {
  width: 350px; height: 350px;
  background: var(--green-soft);
  bottom: -150px; left: -100px;
}
.dd-hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .dd-hero { padding: 56px 0; } .dd-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; } }
.dd-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin: 16px 0 20px;
}
.dd-hero h1 .accent { color: var(--green); }
.dd-hero p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .dd-hero p { margin: 0 auto 32px; } }
.dd-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .dd-hero-ctas { justify-content: center; } }
.dd-hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
@media (max-width: 900px) { .dd-hero-stats { justify-content: center; } }
.dd-hero-stat strong { display: block; font-size: 24px; font-weight: 800; color: var(--green); line-height: 1; }
.dd-hero-stat span { font-size: 13px; color: var(--text-muted); }
.dd-hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.dd-hero-scene { width: 100%; max-width: 520px; aspect-ratio: 1; position: relative; }
.dd-hero-scene svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 12px 32px rgba(20,28,43, 0.12)); }

/* Sun pulse */
.dd-sun { transform-origin: 370px 130px; animation: ddSunPulse 6s ease-in-out infinite; }
@keyframes ddSunPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.92; }
}

/* Trees sway */
.dd-tree { transform-origin: 92px 380px; animation: ddSway 5s ease-in-out infinite; }
.dd-tree-left { animation-delay: -1s; }
@keyframes ddSway {
  0%, 100% { transform: rotate(-1.5deg); }
  50%      { transform: rotate(1.5deg); }
}

/* House idle subtle breath */
.dd-house { transform-origin: 270px 380px; animation: ddHouseBreath 8s ease-in-out infinite; }
@keyframes ddHouseBreath {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Windows glow flicker */
.dd-window { animation: ddGlow 4s ease-in-out infinite; }
.dd-window-2 { animation-delay: -2s; }
@keyframes ddGlow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.85; }
}

/* Smoke puffs rising */
.dd-puff {
  animation: ddSmoke 4s ease-out infinite;
  transform-origin: 331px 170px;
  opacity: 0;
}
.dd-puff-1 { animation-delay: 0s; }
.dd-puff-2 { animation-delay: 1s; }
.dd-puff-3 { animation-delay: 2s; }
.dd-puff-4 { animation-delay: 3s; }
@keyframes ddSmoke {
  0%   { transform: translate(0, 0) scale(0.4); opacity: 0; }
  20%  { opacity: 0.85; }
  100% { transform: translate(-20px, -120px) scale(1.6); opacity: 0; }
}

/* Bushes wobble */
.dd-bush { transform-origin: 395px 380px; animation: ddBushWobble 4s ease-in-out infinite; }
.dd-bush-2 { transform-origin: 140px 380px; animation: ddBushWobble 4.5s ease-in-out -1.5s infinite; }
@keyframes ddBushWobble {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}

/* Floating leaves */
.dd-leaf { animation: ddLeaf 9s linear infinite; }
.dd-leaf-1 { transform: translate(60px, 200px); animation-delay: 0s; animation-duration: 11s; }
.dd-leaf-2 { transform: translate(420px, 240px); animation-delay: -2s; animation-duration: 13s; }
.dd-leaf-3 { transform: translate(120px, 320px); animation-delay: -4s; animation-duration: 10s; }
.dd-leaf-4 { transform: translate(380px, 280px); animation-delay: -6s; animation-duration: 12s; }
@keyframes ddLeaf {
  0%   { transform: translate(var(--lx, 60px), var(--ly, 200px)) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(calc(var(--lx, 60px) + 30px), calc(var(--ly, 200px) + 100px)) rotate(180deg); }
  90%  { opacity: 1; }
  100% { transform: translate(calc(var(--lx, 60px) - 20px), calc(var(--ly, 200px) + 200px)) rotate(360deg); opacity: 0; }
}
/* Without CSS vars custom prop, simpler keyframe with starting transform set above */
.dd-leaf-1 { animation-name: ddLeafA; }
.dd-leaf-2 { animation-name: ddLeafB; }
.dd-leaf-3 { animation-name: ddLeafC; }
.dd-leaf-4 { animation-name: ddLeafD; }
@keyframes ddLeafA {
  0%   { transform: translate(60px, 100px) rotate(0deg); opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: translate(90px, 220px) rotate(180deg); opacity: 1; }
  100% { transform: translate(50px, 380px) rotate(360deg); opacity: 0; }
}
@keyframes ddLeafB {
  0%   { transform: translate(430px, 80px) rotate(0deg); opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: translate(400px, 240px) rotate(-180deg); opacity: 1; }
  100% { transform: translate(440px, 380px) rotate(-360deg); opacity: 0; }
}
@keyframes ddLeafC {
  0%   { transform: translate(140px, 80px) rotate(0deg); opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: translate(110px, 230px) rotate(180deg); opacity: 1; }
  100% { transform: translate(150px, 380px) rotate(360deg); opacity: 0; }
}
@keyframes ddLeafD {
  0%   { transform: translate(380px, 100px) rotate(0deg); opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: translate(410px, 240px) rotate(-180deg); opacity: 1; }
  100% { transform: translate(370px, 380px) rotate(-360deg); opacity: 0; }
}

/* Birds flying across the sky */
.dd-bird { animation: ddBirdFly 12s linear infinite; }
.dd-bird-1 { animation-delay: 0s; }
.dd-bird-2 { animation-delay: -5s; }
@keyframes ddBirdFly {
  0%   { transform: translate(-30px, 90px) scale(0.7); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translate(250px, 70px) scale(1); }
  90%  { opacity: 1; }
  100% { transform: translate(540px, 60px) scale(0.7); opacity: 0; }
}

/* --- Section -------------------------------------------------------- */
.dd-section { padding: 80px 0; }
.dd-section-sm { padding: 48px 0; }
.dd-section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.dd-section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.dd-section-header p { font-size: 16px; color: var(--text-soft); margin: 0; }

/* --- Categories grid ------------------------------------------------- */
.dd-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.dd-cat-card {
  position: relative;
  display: block;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
}
.dd-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-bg) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.dd-cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); color: var(--text); }
.dd-cat-card:hover::before { opacity: 1; }
.dd-cat-icon {
  position: relative;
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-bg);
  border-radius: 50%;
  color: var(--green);
  font-size: 28px;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.dd-cat-card:hover .dd-cat-icon { transform: scale(1.1) rotate(-6deg); background: var(--green); color: white; }
.dd-cat-name { position: relative; font-size: 16px; font-weight: 600; }

/* --- Features -------------------------------------------------------- */
.dd-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.dd-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: all var(--t-base) var(--ease);
}
.dd-feature:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow); }
.dd-feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-bg);
  border-radius: 12px;
  color: var(--green);
  margin-bottom: 16px;
}
.dd-feature h3 { font-size: 17px; margin: 0 0 8px; }
.dd-feature p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* --- Steps ---------------------------------------------------------- */
.dd-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.dd-step { position: relative; padding: 32px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.dd-step-num {
  position: absolute;
  top: -16px; left: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow);
}
.dd-step h3 { margin-top: 8px; font-size: 17px; }
.dd-step p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* --- Manager callout ------------------------------------------------- */
.dd-help-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--green-bg) 0%, #f1f4f9 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.dd-help-callout::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,53,87,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.dd-help-callout-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(240,124,31,0.3);
  animation: ddCallPulse 2.4s ease-in-out infinite;
}
@keyframes ddCallPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(240,124,31,0.3); }
  50%      { transform: scale(1.06); box-shadow: 0 8px 24px rgba(240,124,31,0.45); }
}
.dd-help-callout-body { min-width: 0; }
.dd-help-callout-body h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.dd-help-callout-body p { margin: 0; font-size: 14px; color: var(--text-soft); }
.dd-help-callout-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.dd-help-callout-hours { font-size: 12px; color: var(--text-muted); }
@media (max-width: 768px) {
  .dd-help-callout { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; }
  .dd-help-callout-icon { margin: 0 auto; }
  .dd-help-callout-cta { align-items: center; }
}

/* --- Trust strip ---------------------------------------------------- */
.dd-trust-strip {
  background: var(--green);
  color: white;
  padding: 24px 0;
}
.dd-trust-strip-inner { display: flex; justify-content: space-around; gap: 32px; flex-wrap: wrap; text-align: center; }
.dd-trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.dd-trust-item i { font-size: 22px; opacity: 0.9; }
.dd-trust-item strong { font-weight: 600; }

/* --- Footer --------------------------------------------------------- */
.dd-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
  margin-top: 80px;
}
.dd-footer a { color: rgba(255,255,255,0.7); transition: color var(--t-fast) var(--ease); }
.dd-footer a:hover { color: white; }
.dd-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 768px) { .dd-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.dd-footer-col h4 { color: white; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 600; }
.dd-footer-col ul { list-style: none; padding: 0; margin: 0; }
.dd-footer-col li { margin-bottom: 10px; }
.dd-footer-col li a { font-size: 14px; }
.dd-footer-brand { font-size: 13px; line-height: 1.6; }
.dd-footer .dd-logo { color: white; }
.dd-footer .dd-logo small { color: rgba(255,255,255,0.5); }
.dd-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.dd-footer-bottom-right { display: flex; gap: 24px; }

/* --- Reveal on scroll DISABLED — sections always visible (no scroll-wait) - */
.dd-reveal { opacity: 1; transform: none; }

/* --- Category page --------------------------------------------------- */
.category-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin: 24px 0 8px;
  color: var(--text);
}

/* Modern pill breadcrumb — full reset of OC4 styles */
.breadcrumb, ul.breadcrumb, nav .breadcrumb {
  all: unset !important;
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 20px 0 12px !important;
  padding: 6px 10px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
  border: 1px solid var(--border) !important;
  border-radius: 999px !important;
  font-family: 'Golos Text', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  box-shadow: var(--shadow-sm) !important;
  list-style: none !important;
}
.breadcrumb > .breadcrumb-item,
ul.breadcrumb > li.breadcrumb-item {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  position: relative !important;
}
.breadcrumb-item::before,
.breadcrumb-item::after,
ul.breadcrumb li::before,
ul.breadcrumb li::after {
  all: unset !important;
}
.breadcrumb-item a,
ul.breadcrumb li a {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  padding: 6px 12px !important;
  color: var(--text-soft) !important;
  text-decoration: none !important;
  border-radius: 999px !important;
  transition: all var(--t-fast) var(--ease) !important;
  white-space: nowrap !important;
  cursor: pointer;
}
.breadcrumb-item a:hover {
  color: var(--green) !important;
  background: var(--green-bg) !important;
}
.breadcrumb-item:first-child a {
  color: var(--green) !important;
}
/* Active (last) item — bold pill */
.breadcrumb-item:last-child:not(:first-child) {
  padding: 6px 14px !important;
  background: var(--green-bg) !important;
  border-radius: 999px !important;
  color: var(--text) !important;
  font-weight: 600 !important;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}
/* Chevron separator between items (inserted as separate span via JS) */
.breadcrumb-item + .breadcrumb-item {
  margin-left: 6px !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  all: unset !important;
  content: '' !important;
  display: inline-block !important;
  width: 5px !important;
  height: 5px !important;
  margin-right: 8px !important;
  border-top: 1.5px solid var(--border-strong) !important;
  border-right: 1.5px solid var(--border-strong) !important;
  transform: rotate(45deg) !important;
  flex-shrink: 0 !important;
  background: none !important;
  position: static !important;
}

.category-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-top: 24px;
}
@media (max-width: 900px) { .category-layout { grid-template-columns: 1fr; } }

.category-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.sidebar-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin: 0 0 12px; }
.subcategories-list { list-style: none; padding: 0; margin: 0; }
.subcategories-list li { margin-bottom: 8px; }
.subcategories-list a { color: var(--text); font-size: 14px; padding: 6px 10px; display: block; border-radius: 6px; transition: all var(--t-fast) var(--ease); }
.subcategories-list a:hover { background: var(--green-bg); color: var(--green); transform: translateX(2px); }

.category-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.results-count { color: var(--text-muted); font-size: 14px; }
.sort-control { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sort-select { padding: 8px 32px 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: white; font-size: 14px; font-family: inherit; color: var(--text); cursor: pointer; transition: border-color var(--t-fast); }
.sort-select:hover { border-color: var(--green); }
.sort-select:focus { outline: 2px solid var(--green); outline-offset: 1px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
@media (max-width: 600px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }

.card-image { aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); position: relative; }
.card-image a { display: block; width: 100%; height: 100%; }
.card-image img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform 500ms var(--ease); }
.product-card:hover .card-image img { transform: scale(1.06); }

.card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-title { font-size: 14px; font-weight: 500; line-height: 1.4; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--text); text-decoration: none; transition: color var(--t-fast); }
.card-title a:hover { color: var(--green); }

.card-price-block { margin-top: auto; }
.card-price-block form { display: flex; flex-direction: column; gap: 10px; }
.card-price { font-size: 20px; font-weight: 800; color: var(--text); display: inline-block; }
.card-price.sale { color: var(--terracotta); }
.card-price-old { font-size: 14px; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }

.card-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
}
.card-cart-btn:hover { background: var(--terracotta); transform: translateY(-1px); }

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 32px 0 16px;
  justify-content: center;
}
.pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}
.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover { background: var(--green); color: white; border-color: var(--green); }

/* --- QuickOrder modal -------------------------------------------------- */
.quickorder-modal-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999;
  background: rgba(20,28,43, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  max-width: 100vw;
  overflow-x: hidden;
  animation: ddOverlayFade .25s ease-out;
}
.quickorder-modal-overlay.active { display: flex; }
@keyframes ddOverlayFade { from { opacity: 0; } to { opacity: 1; } }

.quickorder-modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: ddModalPop .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes ddModalPop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.quickorder-modal .close-btn {
  position: absolute;
  top: 12px; right: 14px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all var(--t-fast);
}
.quickorder-modal .close-btn:hover { background: var(--bg-soft); color: var(--text); }
.quickorder-modal h3 { font-size: 20px; margin-bottom: 6px; padding-right: 32px; }
.quickorder-modal .subtitle { color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }
.quickorder-modal .product-info { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--bg-soft); border-radius: var(--radius); margin-bottom: 18px; }
.quickorder-modal .product-info img { max-width: 60px !important; max-height: 60px !important; width: 60px !important; height: 60px !important; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.quickorder-modal .product-info-text { flex: 1; min-width: 0; }
.quickorder-modal .product-info-text > div:first-child { font-size: 13px; font-weight: 500; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.quickorder-modal .product-info-text > div:last-child { color: var(--green); font-weight: 700; font-size: 16px; margin-top: 4px; }
#quickOrderForm img { max-width: 100% !important; height: auto !important; }
.quickorder-modal label,
#quickOrderForm label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; margin-top: 12px; }
.quickorder-modal input { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; outline: none; background: white; transition: border-color var(--t-fast); }
.quickorder-modal input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,53,87,0.1); }
.quickorder-modal .qo-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.quickorder-modal .qo-buttons button { padding: 12px 20px; border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; cursor: pointer; }

/* --- Reduce motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* === hero & category banner photo overlays (responsive) === */
.dd-hero--photo{position:relative;background-size:cover;background-position:center right;background-repeat:no-repeat;overflow:hidden;}
.dd-hero--photo::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 34%,rgba(255,255,255,.55) 52%,rgba(255,255,255,.12) 72%,rgba(255,255,255,0) 100%);pointer-events:none;z-index:0;}
.dd-hero--photo>*{position:relative;z-index:1;}
.dd-cat-banner{position:relative;background-size:cover;background-position:center right;background-repeat:no-repeat;border-radius:16px;overflow:hidden;padding:34px 34px;min-height:190px;display:flex;flex-direction:column;justify-content:center;margin-bottom:18px;box-shadow:0 10px 30px rgba(20,28,43,.08);}
.dd-cat-banner::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.9) 30%,rgba(255,255,255,.5) 54%,rgba(255,255,255,.08) 80%,rgba(255,255,255,0) 100%);pointer-events:none;z-index:0;}
.dd-cat-banner>*{position:relative;z-index:1;}
@media (max-width:768px){
  .dd-hero--photo{background-position:center center;}
  .dd-hero--photo::before{background:linear-gradient(180deg,rgba(255,255,255,.86) 0%,rgba(255,255,255,.62) 42%,rgba(255,255,255,.80) 100%);}
  .dd-cat-banner{background-position:center center;min-height:140px;padding:22px 20px;}
  .dd-cat-banner::before{background:linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.80) 100%);}
}

/* hero photo fills visual column */
.dd-hero-photo-img{width:100%;height:460px;object-fit:cover;object-position:center right;border-radius:24px;box-shadow:0 22px 55px rgba(20,28,43,.18);display:block;}
@media (max-width:900px){ .dd-hero-visual{min-height:auto;} .dd-hero-photo-img{height:280px;border-radius:18px;object-position:center;} }

/* hero: text on photo, light text + dark scrim */
.dd-hero--photo{position:relative;background-size:cover;background-position:center right;background-repeat:no-repeat;overflow:hidden;min-height:520px;display:flex;align-items:center;}
.dd-hero--photo::after{display:none !important;}
.dd-hero--photo::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,28,43,.82) 0%,rgba(20,28,43,.64) 34%,rgba(20,28,43,.30) 58%,rgba(20,28,43,0) 85%);pointer-events:none;z-index:0;}
.dd-hero--photo>*{position:relative;z-index:1;width:100%;}
.dd-hero--photo .dd-hero-inner{grid-template-columns:1fr;}
.dd-hero--photo .dd-hero-inner>div{max-width:640px;}
.dd-hero--photo .eyebrow{color:rgba(255,255,255,.9);}
.dd-hero--photo h1{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.32);}
.dd-hero--photo h1 .accent{color:#ffd796;}
.dd-hero--photo p{color:rgba(255,255,255,.93);text-shadow:0 1px 10px rgba(0,0,0,.30);}
.dd-hero--photo .dd-hero-stat strong{color:#fff;}
.dd-hero--photo .dd-hero-stat span{color:rgba(255,255,255,.8);}
.dd-hero--photo .dd-btn-secondary{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.5);}
.dd-hero--photo .dd-btn-secondary:hover{background:rgba(255,255,255,.26);color:#fff;}
@media (max-width:900px){
  .dd-hero--photo{min-height:460px;background-position:center;}
  .dd-hero--photo::before{background:linear-gradient(180deg,rgba(20,28,43,.5) 0%,rgba(20,28,43,.7) 100%);}
  .dd-hero--photo .dd-hero-inner>div{max-width:none;}
}

/* universal JS scroll-reveal + hover (category cards) */
.dd-cat-card{transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .35s,border-color .3s,background .3s,opacity .6s ease;}
.dd-cat-icon{transition:transform .4s cubic-bezier(.34,1.56,.64,1),background .3s,color .3s;}
.dd-js .dd-cat-card{opacity:0;transform:translateY(30px);}
.dd-js .dd-cat-card.dd-in{opacity:1;transform:none;}
@media (prefers-reduced-motion: reduce){.dd-js .dd-cat-card{opacity:1 !important;transform:none !important;}}

/* === 3D category icons v22 === */
.dd-cat-icon{width:92px;height:92px;background:transparent;border-radius:20px;overflow:hidden;color:inherit;font-size:0;}
.dd-cat-icon img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .4s cubic-bezier(.34,1.56,.64,1);}
.dd-cat-card:hover .dd-cat-icon{transform:none;background:transparent;color:inherit;}
.dd-cat-card:hover .dd-cat-icon img{transform:scale(1.1);}
@media (max-width:600px){.dd-cat-icon{width:76px;height:76px;}}

/* === category grid mobile v23 === */
@media (max-width:600px){
  .dd-cat-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .dd-cat-card{padding:18px 10px;}
  .dd-cat-icon{width:64px;height:64px;margin-bottom:10px;}
  .dd-cat-name{font-size:13px;line-height:1.25;}
}

/* === photo category tiles v24 === */
.dd-cat-card.dd-cat-photo{padding:0;border:none;aspect-ratio:4/3;position:relative;overflow:hidden;border-radius:var(--radius);background:#111827;}
.dd-cat-photo::before{display:none;}
.dd-cat-photo .dd-cat-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1);}
.dd-cat-photo::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(12,20,35,.82) 0%,rgba(12,20,35,.30) 40%,rgba(12,20,35,0) 72%);}
.dd-cat-photo .dd-cat-name{position:absolute;left:16px;right:16px;bottom:13px;z-index:2;margin:0;color:#fff;font-size:18px;font-weight:700;text-align:left;text-shadow:0 2px 10px rgba(0,0,0,.45);}
.dd-cat-card.dd-cat-photo:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border:none;}
.dd-cat-photo:hover .dd-cat-bg{transform:scale(1.07);}
@media (max-width:600px){.dd-cat-photo .dd-cat-name{font-size:15px;left:12px;right:12px;bottom:10px;}}

/* === burger nav v25 === */
.dd-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;padding:9px;border:none;background:transparent;cursor:pointer;}
.dd-burger span{display:block;height:2.5px;width:100%;background:var(--green,#1d3557);border-radius:2px;transition:transform .3s,opacity .2s;}
.dd-burger.is-open span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.dd-burger.is-open span:nth-child(2){opacity:0;}
.dd-burger.is-open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}
@media (max-width:768px){
  .dd-burger{display:flex;}
  .dd-nav{display:none;border-bottom:none;}
  .dd-nav.dd-nav-open{display:block;border-bottom:1px solid var(--border);animation:ddNavIn .25s ease;}
  .dd-nav.dd-nav-open .dd-nav-list{flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start;padding:6px 0;}
  .dd-nav.dd-nav-open .dd-nav-list li{width:100%;}
  .dd-nav.dd-nav-open .dd-nav-list a{width:100%;padding:14px 6px;border-bottom:1px solid var(--border);border-radius:0;font-size:15px;}
  .dd-nav.dd-nav-open .dd-nav-list li:last-child a{border-bottom:none;}
}
@keyframes ddNavIn{from{opacity:0;transform:translateY(-6px);}to{opacity:1;transform:none;}}

/* === hero mobile crop v26 === */
@media (max-width:900px){.dd-hero--photo{background-position:82% center;}}

/* === info pages v27 === */
.dd-info-page{background:var(--bg-soft,#eef1f6);padding:34px 0 64px;}
.dd-info-page .dd-breadcrumb{margin-bottom:18px;font-size:14px;}
.dd-info-page .dd-breadcrumb a{color:var(--text-soft,#4e5b70);text-decoration:none;}
.dd-info-page .dd-breadcrumb a:hover{color:var(--green,#1d3557);}
.dd-info-page .dd-bc-sep{margin:0 8px;color:#b6c0d0;}
.dd-info-card{background:#fff;border:1px solid var(--border,#e2e7ef);border-radius:18px;padding:40px 44px;box-shadow:0 12px 32px rgba(20,28,43,.06);}
.dd-info-title{font-size:32px;font-weight:800;color:var(--text-deep,#141c2b);margin:0 0 22px;letter-spacing:-.5px;line-height:1.2;}
.dd-info-content{color:#334155;font-size:16px;line-height:1.75;}
.dd-info-content .lead{font-size:18.5px;line-height:1.6;color:var(--text-soft,#4b5870);margin:0 0 22px;}
.dd-info-content h2{font-size:22px;font-weight:700;color:var(--green,#1d3557);margin:34px 0 12px;letter-spacing:-.2px;}
.dd-info-content h2:first-child{margin-top:0;}
.dd-info-content h3{font-size:18px;font-weight:700;color:var(--text-deep,#141c2b);margin:24px 0 10px;}
.dd-info-content p{margin:0 0 14px;}
.dd-info-content ul,.dd-info-content ol{margin:0 0 16px;padding-left:24px;}
.dd-info-content li{margin:8px 0;}
.dd-info-content a{color:var(--green,#1d3557);text-decoration:underline;}
.dd-info-content strong{color:var(--text-deep,#141c2b);font-weight:700;}
.dd-info-help{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:24px;background:var(--green-tint,#e8eef8);border:1px solid var(--green-bg,#d5e0f0);border-radius:16px;padding:22px 28px;}
.dd-info-help-text strong{display:block;font-size:18px;color:var(--text-deep,#141c2b);}
.dd-info-help-text span{color:var(--text-soft,#4b5870);font-size:14px;}
.dd-info-help-btn{white-space:nowrap;}
@media (max-width:600px){.dd-info-card{padding:26px 20px;}.dd-info-title{font-size:25px;}.dd-info-content{font-size:15.5px;}.dd-info-help{padding:18px 20px;}}


@media (max-width: 768px) {
  .breadcrumb,
  ul.breadcrumb,
  nav .breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
  }
  .breadcrumb::-webkit-scrollbar { display: none; }
  .breadcrumb > .breadcrumb-item,
  ul.breadcrumb > li.breadcrumb-item { flex: 0 0 auto; }
  .breadcrumb > .breadcrumb-item.active,
  ul.breadcrumb > li.breadcrumb-item.active {
    max-width: 60vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* ── смуга категорій ──────────────────────────────────────────── */
.dd-nav { position: relative; }
.dd-nav-list { display: flex; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.dd-nav-item { position: static; }

.dd-nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 14px; font-weight: 600; font-size: 14.5px;
  color: var(--text, #16202f); text-decoration: none; white-space: nowrap;
  border-radius: 10px 10px 0 0; transition: background .18s, color .18s;
}
.dd-nav-link > i:first-child { font-size: 15px; opacity: .78; }
.dd-nav-caret { font-size: 10px; opacity: .5; transition: transform .18s; }
.dd-nav-link:hover, .dd-nav-link:focus-visible,
.dd-nav-item:hover > .dd-nav-link { background: var(--green-bg, #eaf1fb); color: var(--green, #1d3557); }
.dd-nav-item:hover > .dd-nav-link .dd-nav-caret { transform: rotate(180deg); }
.dd-nav-link.active { color: var(--green, #1d3557); }

/* ── панель мега-меню ─────────────────────────────────────────── */
.dd-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 900;
  background: #fff; border-top: 2px solid var(--green, #1d3557);
  box-shadow: 0 18px 44px rgba(15,30,55, .16);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  max-height: min(72vh, 620px); overflow-y: auto;
}
.dd-nav-item:hover > .dd-mega,
.dd-nav-item:focus-within > .dd-mega { opacity: 1; visibility: visible; transform: translateY(0); }

.dd-mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 24px 0 28px; }
.dd-mega-cols { columns: 4; column-gap: 26px; }
@media (max-width: 1200px) { .dd-mega-cols { columns: 3; } .dd-mega-inner { grid-template-columns: 1fr 260px; } }
@media (max-width: 992px)  { .dd-mega-inner { grid-template-columns: 1fr; } .dd-mega-rail { display: none; } }

.dd-mega-group { break-inside: avoid; margin: 0 0 16px; }
.dd-mega-title {
  display: block; font-weight: 700; font-size: 14px; line-height: 1.3;
  color: var(--text, #16202f); text-decoration: none; margin-bottom: 5px;
}
.dd-mega-title:hover { color: var(--green, #1d3557); }
.dd-mega-hints { list-style: none; margin: 0; padding: 0; }
.dd-mega-hints a {
  display: block; font-size: 12.8px; line-height: 1.55; color: #5f6b80;
  text-decoration: none; padding: 1px 0;
}
.dd-mega-hints a:hover { color: var(--green, #1d3557); }

/* права колонка з фото розділу */
.dd-mega-rail { border-left: 1px solid #eceff5; padding-left: 26px; }
.dd-mega-rail img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; display: block; }
.dd-mega-rail-body { padding-top: 12px; }
.dd-mega-rail-body strong { display: block; font-size: 16px; color: var(--text, #16202f); }
.dd-mega-rail-body span { display: block; font-size: 13px; color: #7f8aa0; margin-top: 2px; }
.dd-mega-all {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-weight: 600; font-size: 13.5px; color: var(--green, #1d3557); text-decoration: none;
}
.dd-mega-all:hover { gap: 11px; }
.dd-mega-all i { font-size: 11px; transition: transform .18s; }

/* на вужчих екранах ховаємо іконки, щоб 6 пунктів лишились в один ряд */
@media (max-width: 1199px) { .dd-nav-link > i:first-child { display: none; } .dd-nav-link { padding: 13px 11px; } }

/* ── плитки підкатегорій на сторінці категорії ────────────────── */
.dd-subnav { margin: 4px 0 22px; }
.dd-subnav-head {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px;
}
.dd-subnav-head h2 { font-size: 16px; font-weight: 700; margin: 0; color: var(--text, #16202f); }
.dd-subnav-head span { font-size: 13px; color: #7f8aa0; }
.dd-subnav-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 10px;
}
.dd-subcat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; background: #fff; border: 1px solid #e7ebf2; border-radius: 12px;
  color: var(--text, #16202f); text-decoration: none; font-size: 14px; font-weight: 500;
  line-height: 1.35; min-height: 52px; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.dd-subcat:hover {
  border-color: var(--green, #1d3557); box-shadow: 0 6px 18px rgba(29,53,87, .12);
  transform: translateY(-1px); color: var(--green, #1d3557);
}
.dd-subcat i { font-size: 11px; opacity: .35; flex-shrink: 0; }
.dd-subnav-more { margin-top: 10px; }
.dd-subnav-more > summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-size: 13.5px; font-weight: 600; color: var(--green, #1d3557);
  padding: 8px 14px; border: 1px dashed #c4d1e5; border-radius: 999px; background: #fbfcfe;
}
.dd-subnav-more > summary::-webkit-details-marker { display: none; }
.dd-subnav-more[open] > summary { margin-bottom: 10px; }

/* ── чипси-сусіди на кінцевих сторінках ───────────────────────── */
.dd-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; margin: 0 0 14px; scrollbar-width: none; }
.dd-chips::-webkit-scrollbar { display: none; }
.dd-chip {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; font-size: 13.5px;
  background: #f2f5fa; color: #3e4c63; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: all .18s;
}
.dd-chip:hover { background: var(--green-bg, #eaf1fb); color: var(--green, #1d3557); }
.dd-chip.is-active { background: var(--green, #1d3557); color: #fff; }

/* ── порожня категорія ────────────────────────────────────────── */
.dd-empty {
  text-align: center; padding: 44px 24px; border-radius: 16px;
  background: linear-gradient(160deg, var(--green-bg, #eaf1fb), #f6f8fc);
  border: 1px solid #e1e8f3; margin: 8px 0 24px;
}
.dd-empty-icon {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 20px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(20,40,70, .08);
}
.dd-empty-icon i { font-size: 34px; color: var(--green, #1d3557); }
.dd-empty h2 { font-size: 20px; margin: 0 0 8px; color: var(--text, #16202f); }
.dd-empty p { color: #5f6b80; max-width: 460px; margin: 0 auto 20px; line-height: 1.55; }
.dd-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── хлібні крихти на глибині ─────────────────────────────────── */
@media (min-width: 1024px) {
  .breadcrumb > .breadcrumb-item:not(.active) { max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 1023px) {
  .breadcrumb > .breadcrumb-item { display: none; }
  .breadcrumb > .breadcrumb-item:nth-last-child(2) { display: inline-flex; }
  .breadcrumb > .breadcrumb-item:nth-last-child(2)::before { content: '‹'; margin-right: 6px; opacity: .6; }
  .breadcrumb > .breadcrumb-item.active { display: none; }
}

/* ── мобільна шухляда ─────────────────────────────────────────── */
.dd-scrim {
  position: fixed; inset: 0; background: rgba(12,20,35, .45); z-index: 1400;
  opacity: 0; transition: opacity .22s;
}
.dd-scrim.is-open { opacity: 1; }
.dd-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(88vw, 360px); z-index: 1500;
  background: #fff; transform: translateX(-100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: 4px 0 26px rgba(0,0,0,.18);
}
.dd-drawer.is-open { transform: translateX(0); }
.dd-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; background: var(--green, #1d3557); color: #fff;
  font-weight: 700; font-size: 16px; position: sticky; top: 0;
}
.dd-drawer-close { background: none; border: 0; color: #fff; font-size: 21px; cursor: pointer; padding: 4px 8px; }
.dd-drawer-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 24px; }

.dd-acc { border-bottom: 1px solid #eff2f7; }
.dd-acc > summary {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px;
  cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; color: var(--text, #16202f);
}
.dd-acc > summary::-webkit-details-marker { display: none; }
.dd-acc > summary > i:first-child { width: 20px; text-align: center; color: var(--green, #1d3557); opacity: .8; }
.dd-acc > summary > span { flex: 1; }
.dd-acc-caret { font-size: 11px; opacity: .45; transition: transform .2s; }
.dd-acc[open] > summary { color: var(--green, #1d3557); background: var(--green-bg, #eaf1fb); }
.dd-acc[open] .dd-acc-caret { transform: rotate(180deg); }
.dd-acc-sub { list-style: none; margin: 0; padding: 4px 0 10px; background: #fbfcfe; }
.dd-acc-sub a {
  display: block; min-height: 46px; line-height: 46px; padding: 0 18px 0 50px;
  font-size: 14px; color: #3e4c63; text-decoration: none;
}
.dd-acc-sub a:active, .dd-acc-sub a:hover { background: #f1f4f9; color: var(--green, #1d3557); }
.dd-acc-all { font-weight: 600; color: var(--green, #1d3557) !important; }

body.dd-locked { overflow: hidden; }

/* смуга категорій ховається на мобільному — там шухляда */
@media (max-width: 991px) { .dd-nav { display: none; } }
@media (min-width: 992px) { .dd-drawer, .dd-scrim { display: none !important; } }


/* сторінка категорії без сайдбара: контент на всю ширину (+1 колонка товарів) */
.category-layout--full { display: block !important; }
.category-layout--full .category-content { width: 100%; max-width: 100%; }



.dd-searchbox { position: relative; width: 100%; max-width: 520px; margin: 0 auto; min-width: 0; }
.dd-searchbox .dd-search { max-width: none; margin: 0; }

/* На мобільному поле пошуку раніше просто ховали (display:none) — а це
   основний спосіб знайти товар для більшості відвідувачів. Тепер шапка
   має два рядки: [бургер | лого | кошик] і [пошук на всю ширину]. */
@media (max-width: 768px) {
  .dd-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "burger logo cart" "search search search";
    gap: 10px 10px;
    padding: 12px 0;
  }
  .dd-burger    { grid-area: burger; }
  .dd-logo      { grid-area: logo; min-width: 0; }
  .dd-cart-btn  { grid-area: cart; }
  .dd-searchbox { grid-area: search; max-width: none; }
  .dd-search    { display: flex; }
  .dd-search input { padding: 10px 16px; font-size: 16px; } /* 16px — щоб iOS не зумив сторінку на focus */
  .dd-search button { padding: 0 14px; }
}
@media (max-width: 400px) {
  .dd-cart-btn { padding: 10px 12px; }
  .dd-logo-mark { width: 32px; height: 32px; }
}

/* Випадайка підказок */
.dd-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 300;
  background: #fff; border: 1px solid var(--border, #e1e8f3); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(20,40,70, .16);
  overflow-y: auto; overscroll-behavior: contain;
  max-height: min(60vh, 380px);
}
.dd-suggest[hidden] { display: none; }
.dd-suggest-head {
  padding: 9px 16px 5px; font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-muted, #6e7a90); background: #ffffff;
}
.dd-suggest-item {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 16px;
  text-decoration: none; color: var(--text, #16202f); border-top: 1px solid #eef1f6;
}
.dd-suggest-item:hover, .dd-suggest-item.is-active { background: var(--green-bg, #eaf1fb); color: var(--green, #1d3557); }
.dd-suggest-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.dd-suggest-name b { color: var(--green, #1d3557); }
.dd-suggest-path { font-size: 11.5px; color: var(--text-muted, #6e7a90); }

/* Сторінка пошуку */
.dd-search-page { max-width: 560px; margin: 0 0 18px; }
.dd-searchcats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.dd-searchcats-label { font-size: 13px; font-weight: 700; color: var(--text-muted, #6e7a90); }
.dd-searchcats--wide { justify-content: center; margin-top: -6px; }
#product-search .results-count { font-size: 14px; color: var(--text-muted, #6e7a90); }
/* На мобільному поле пошуку вже стоїть окремим рядком у шапці — дублювати
   його ще й на сторінці результатів немає сенсу, лише з'їдає перший екран. */
@media (max-width: 768px) { .dd-search-page { display: none; } }

/* =====================================================================
   «МІЙ ДІМ І САД» — власні блоки (.m-*): шапка, меню, головна, підвал,
   інфосторінки. Усе нижче перекриває спільні правила вище.
   ===================================================================== */
body.mds { background: #fff; }
.mds h1, .mds h2, .mds h3 { font-family: 'Unbounded', 'Golos Text', sans-serif; font-weight: 600; letter-spacing: -0.02em; }
.mds .dd-btn { border-radius: 999px; }
.mds .dd-btn-primary { background: var(--terracotta); }
.mds .dd-btn-primary:hover { background: var(--terracotta-hover); box-shadow: none; }

/* --- Кнопки й посилання --- */
.m-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .15s, transform .15s; }
.m-btn-accent { background: var(--terracotta); color: #fff; }
.m-btn-accent:hover { background: var(--terracotta-hover); color: #fff; transform: translateY(-1px); }
.m-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); }
.m-link i { font-size: 12px; transition: transform .15s; }
.m-link:hover i { transform: translateX(3px); }
.m-muted { color: var(--text-soft); }

/* --- Шапка: темно-синя смуга --- */
.m-head.dd-header { background: var(--green); border-bottom: 0; }
.m-head.dd-header.scrolled { background: rgba(29,53,87,.96); box-shadow: 0 6px 18px rgba(12,20,35,.18); }
.m-head-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 28px; align-items: center; padding: 14px 24px; }
.m-head .dd-burger { display: none; }
.m-head .dd-burger span { background: #fff; }
.m-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.m-logo:hover { color: #fff; opacity: .92; }
.m-logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.m-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.m-logo-text b { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 18px; white-space: nowrap; letter-spacing: -0.01em; }
.m-logo-text small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 4px; white-space: nowrap; }
.m-logo-dark { color: var(--text); }
.m-logo-dark:hover { color: var(--text); }

.m-search { max-width: 640px; }
.m-head .dd-search { border: 0; border-radius: 10px; background: #fff; }
.m-head .dd-search:focus-within { box-shadow: 0 0 0 3px rgba(255,193,94,.55); }
.m-head .dd-search input { padding: 13px 18px; font-size: 15px; }
.m-head .dd-search button { background: var(--terracotta); color: #fff; font-weight: 600; font-size: 14px; padding: 0 22px; border-radius: 0 10px 10px 0; }
.m-head .dd-search button:hover { background: var(--terracotta-hover); color: #fff; }

.m-head-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.m-head-phone:hover { color: var(--sand); }
.m-head-phone i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 14px; }
.m-head-phone span { display: flex; flex-direction: column; line-height: 1.2; }
.m-head-phone b { font-weight: 600; font-size: 15px; white-space: nowrap; }
.m-head-phone small { font-size: 12px; opacity: .7; }

.m-cart { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; text-decoration: none; transition: background .15s; }
.m-cart:hover { background: rgba(255,255,255,.18); color: #fff; }
.m-cart i { font-size: 18px; }
.m-cart-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--terracotta); font-size: 12px; }

@media (max-width: 1100px) { .m-head-phone span { display: none; } .m-head-row { gap: 18px; } }
@media (max-width: 768px) {
  .m-head-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "burger logo cart" "search search search"; gap: 10px; padding: 10px 16px 12px; }
  .m-head .dd-burger { display: flex; grid-area: burger; }
  .m-logo { grid-area: logo; min-width: 0; }
  .m-logo-mark { width: 36px; height: 36px; }
  .m-logo-text b { font-size: 15px; }
  .m-logo-text small { display: none; }
  .m-search { grid-area: search; max-width: none; }
  .m-head .dd-search input { font-size: 16px; padding: 11px 14px; }
  .m-head .dd-search button { padding: 0 16px; }
  .m-head-phone { display: none; }
  .m-cart { grid-area: cart; padding: 9px 12px; }
  .m-cart-label { display: none; }
}

/* --- Смуга каталогу --- */
.m-nav.dd-nav { background: #fff; border-bottom: 1px solid var(--border); }
.m-nav .dd-nav-list { justify-content: flex-start; gap: 0; }
.m-nav .dd-nav-list > li > a { padding: 15px 18px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text); border-bottom: 3px solid transparent; }
.m-nav .dd-nav-list > li:first-child > a { padding-left: 0; }
.m-nav .dd-nav-item:hover > .dd-nav-link, .m-nav .dd-nav-list a:hover { background: transparent; color: var(--green); border-bottom-color: var(--terracotta); }
.m-nav .dd-mega { border-top: 1px solid var(--border); box-shadow: 0 24px 40px rgba(20,28,43,.12); }
.m-nav .dd-mega-title { font-weight: 700; }
.m-rail-icon { height: 150px; border-radius: 12px; display: grid; place-items: center; background: var(--green-bg); color: var(--green); font-size: 54px; }
.m-nav .dd-mega-all { color: var(--terracotta); }
@media (max-width: 768px) { .m-nav .dd-nav-list > li > a { text-transform: none; letter-spacing: 0; padding-left: 6px; } }

/* --- Головна: перший екран --- */
.m-hero { background: var(--green); color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden; }
.m-hero::after { content: ""; position: absolute; right: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(240,124,31,.35), transparent 65%); pointer-events: none; }
.m-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.m-kicker { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 500; }
.m-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; margin: 20px 0 18px; }
.m-hero p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 560px; margin: 0 0 28px; }
.m-hero-search { display: flex; align-items: center; max-width: 560px; background: #fff; border-radius: 12px; padding: 6px 6px 6px 18px; gap: 10px; }
.m-hero-search i { color: var(--text-muted); }
.m-hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--text); background: transparent; padding: 10px 0; }
.m-hero-search button { border: 0; border-radius: 9px; background: var(--terracotta); color: #fff; font: inherit; font-weight: 600; padding: 12px 22px; cursor: pointer; }
.m-hero-search button:hover { background: var(--terracotta-hover); }
.m-hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 0; margin: 28px 0 0; color: rgba(255,255,255,.75); font-size: 14px; }
.m-hero-facts b { display: block; font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 26px; color: var(--sand); line-height: 1.1; }
.m-hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.m-ht { aspect-ratio: 1 / .82; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform .2s; }
.m-ht:hover { transform: translateY(-4px); }
.m-ht i { font-size: 34px; }
.m-ht span { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 17px; }
.m-ht-1 { background: #ffc15e; color: #3d2600; }
.m-ht-2 { background: #fff; color: var(--green); }
.m-ht-3 { background: #9fd8b8; color: #0f3d27; }
.m-ht-4 { background: #f07c1f; color: #fff; }
.m-ht-1:hover { color: #3d2600; } .m-ht-2:hover { color: var(--green); } .m-ht-3:hover { color: #0f3d27; } .m-ht-4:hover { color: #fff; }
@media (max-width: 900px) {
  .m-hero { padding: 36px 0 44px; }
  .m-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .m-hero p { font-size: 16px; }
  .m-hero-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .m-ht { aspect-ratio: auto; padding: 12px 8px; align-items: center; gap: 8px; border-radius: 12px; }
  .m-ht i { font-size: 22px; } .m-ht span { font-size: 11px; }
}

/* --- Секції головної --- */
.m-sec { padding: 64px 0; }
.m-sec-soft { background: var(--bg-soft); }
.m-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.m-sec-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.m-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.m-cat { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.m-cat:hover { border-color: var(--green); box-shadow: 0 10px 24px rgba(20,28,43,.08); color: var(--text); }
.m-cat-ico { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 24px; }
.m-cat-1 .m-cat-ico { background: #fff1dc; color: #b45f06; }
.m-cat-2 .m-cat-ico { background: #fff7d6; color: #a67c00; }
.m-cat-3 .m-cat-ico { background: #e8eef8; color: #1d3557; }
.m-cat-4 .m-cat-ico { background: #e3f5ea; color: #1f7a4d; }
.m-cat-5 .m-cat-ico { background: #fde8e1; color: #c2410c; }
.m-cat-6 .m-cat-ico { background: #eceff5; color: #334155; }
.m-cat-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-cat-body b { font-size: 17px; font-weight: 600; }
.m-cat-body small { color: var(--text-muted); font-size: 13px; }
.m-cat-go { color: var(--border-strong); transition: color .15s, transform .15s; }
.m-cat:hover .m-cat-go { color: var(--terracotta); transform: translateX(3px); }
@media (max-width: 900px) { .m-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .m-cats { grid-template-columns: 1fr; gap: 10px; } .m-cat { padding: 14px; } .m-sec { padding: 44px 0; } }

.m-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m-steps li { background: #fff; border-radius: 14px; padding: 24px; border-top: 4px solid var(--green); }
.m-steps li:last-child { border-top-color: var(--terracotta); }
.m-steps span { font-family: 'Unbounded', sans-serif; font-weight: 600; color: var(--terracotta); font-size: 14px; }
.m-steps h3 { font-size: 18px; margin: 10px 0 8px; }
.m-steps p { color: var(--text-soft); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .m-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .m-steps { grid-template-columns: 1fr; } }

.m-duo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.m-card-info { border: 1px solid var(--border); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; }
.m-card-info > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--green-bg); color: var(--green); font-size: 20px; margin-bottom: 16px; }
.m-card-info h3 { font-size: 19px; margin: 0 0 8px; }
.m-card-info p { color: var(--text-soft); flex: 1; }
@media (max-width: 900px) { .m-duo { grid-template-columns: 1fr; } }

.m-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.m-faq-wrap h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 900px) { .m-faq-wrap { grid-template-columns: 1fr; gap: 20px; } }
.m-faq { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; }
.m-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--terracotta); }
.m-faq[open] summary::after { content: "–"; }
.m-faq p { padding: 0 20px 18px; margin: 0; color: var(--text-soft); }

.m-cta { background: var(--terracotta); color: #fff; padding: 44px 0; }
.m-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.m-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.m-cta p { margin: 0; opacity: .9; max-width: 620px; }
.m-cta .m-btn-accent { background: var(--green); }
.m-cta .m-btn-accent:hover { background: #142640; }

/* --- Підвал: світлий --- */
.m-foot { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 24px; color: var(--text-soft); font-size: 15px; }
.m-foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.m-foot-brand p { margin: 16px 0; max-width: 320px; }
.m-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.m-pay span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--border); color: var(--text); }
.m-foot-col h4 { font-family: 'Golos Text', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin: 0 0 14px; }
.m-foot-col ul { list-style: none; padding: 0; margin: 0; }
.m-foot-col li { margin-bottom: 9px; }
.m-foot-col a { color: var(--text-soft); }
.m-foot-col a:hover { color: var(--terracotta); }
.m-foot-phone { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 17px; color: var(--text) !important; }
.m-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
@media (max-width: 900px) { .m-foot-top { grid-template-columns: 1fr 1fr; } .m-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .m-foot-top { grid-template-columns: 1fr; } }

/* --- Інфосторінки --- */
.m-page { padding: 40px 0 64px; }
.m-page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.m-page-side { position: sticky; top: 96px; }
.m-page-side h4 { font-family: 'Golos Text', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 0 0 10px; }
.m-page-side ul { list-style: none; padding: 0; margin: 0 0 20px; border-left: 2px solid var(--border); }
.m-page-side a { display: block; padding: 8px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text-soft); font-weight: 500; }
.m-page-side a:hover { color: var(--green); }
.m-page-side a.is-active { color: var(--green); border-left-color: var(--terracotta); font-weight: 700; }
.m-page-help { background: var(--green); color: #fff; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.m-page-help a { color: #fff; font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 16px; }
.m-page-help small { opacity: .7; }
.m-crumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.m-crumbs a { color: var(--text-muted); }
.m-page-body h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 24px; }
.m-prose { font-size: 16.5px; line-height: 1.75; color: var(--text); max-width: 760px; }
.m-prose h2 { font-size: 20px; margin: 32px 0 10px; }
.m-prose ul, .m-prose ol { padding-left: 22px; }
.m-prose li { margin-bottom: 6px; }
.m-prose .m-lead { font-size: 19px; color: var(--text-soft); border-left: 4px solid var(--terracotta); padding-left: 18px; }
.m-prose .m-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.m-prose .m-table th, .m-prose .m-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.m-prose .m-table th { background: var(--bg-soft); font-weight: 600; }
.m-prose .m-req { list-style: none; padding: 18px 20px; background: var(--bg-soft); border-radius: 12px; }
@media (max-width: 900px) { .m-page-grid { grid-template-columns: 1fr; gap: 24px; } .m-page-side { position: static; order: 2; } }

/* --- Картка товару: факти під кнопками --- */
.m-buy-facts { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px dashed var(--border-strong); display: grid; gap: 10px; }
.m-buy-facts li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-soft); }
.m-buy-facts i { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--green-bg); color: var(--green); font-size: 14px; }
.m-buy-facts b { color: var(--text); font-weight: 600; margin-right: 4px; }

/* --- Каталог: крихти, заголовок, підрозділи, картки --- */
.mds .breadcrumb, .mds ul.breadcrumb { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; backdrop-filter: none; margin: 22px 0 14px !important; }
.mds .breadcrumb-item a, .mds ul.breadcrumb li a { padding: 2px 0 !important; border-radius: 0 !important; background: transparent !important; }
.mds .breadcrumb-item a:hover { background: transparent !important; text-decoration: underline !important; }
.mds .breadcrumb-item:last-child:not(:first-child) { background: transparent !important; padding: 2px 0 !important; }
.mds .breadcrumb-item + .breadcrumb-item { margin-left: 10px !important; }

.m-cat-head { background: var(--green); color: #fff; border-radius: 14px; padding: 28px 30px; margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.m-cat-head .category-title { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.m-cat-head-note { font-size: 14px; color: rgba(255,255,255,.72); }
@media (max-width: 600px) { .m-cat-head { padding: 20px 18px; border-radius: 12px; } }

.m-subnav .dd-subnav-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.m-subnav .dd-subcat { flex: 0 1 auto; border-radius: 999px; padding: 9px 16px; background: var(--bg-soft); border: 1px solid transparent; font-size: 14px; font-weight: 500; }
.m-subnav .dd-subcat:hover { background: #fff; border-color: var(--green); color: var(--green); }
.m-subnav .dd-subcat i { display: none; }

.mds .product-card { border-radius: 12px; border-color: var(--border); }
.mds .product-card:hover { transform: none; box-shadow: 0 0 0 2px var(--green); border-color: transparent; }
.mds .card-image { background: #fff; border-bottom: 1px solid var(--border); }
.mds .product-card:hover .card-image img { transform: none; }
.mds .card-price { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 18px; color: var(--green); }
.mds .card-cart-btn { background: var(--terracotta); border-radius: 999px; }
.mds .card-cart-btn:hover { background: var(--terracotta-hover); }

/* --- Картка товару --- */
.mds .product-title { font-family: 'Golos Text', sans-serif !important; font-weight: 700; font-size: 24px; letter-spacing: -0.01em; line-height: 1.3; }
.mds .product-price { font-family: 'Unbounded', sans-serif; font-weight: 600; color: var(--green); }
.mds .btn-buy, .mds #button-cart { background: var(--terracotta) !important; border-color: var(--terracotta) !important; border-radius: 999px !important; }
.mds .btn-buy:hover, .mds #button-cart:hover { background: var(--terracotta-hover) !important; border-color: var(--terracotta-hover) !important; }
.mds .btn-quickorder { border-radius: 999px !important; }
.m-page-help a { padding: 0; margin: 0; border: 0; }
.mds #sticky-buy-btn { background: var(--terracotta) !important; border-color: var(--terracotta) !important; border-radius: 999px; text-transform: none; }
.mds #sticky-product-bar .dd-buybar-price { color: var(--green); font-family: "Unbounded", sans-serif; font-weight: 600; }
