/* DomShop — lightweight storefront */

:root {
  --ds-brand: #a65e38;
  --ds-brand-dark: #8b4c2c;
  --ds-peach: #fedbc8;
  --ds-peach-soft: #fff3ec;
  --ds-text: #111;
  --ds-muted: #6b6b6b;
  --ds-line: rgba(0, 0, 0, 0.08);
  --ds-bg: #fff;
  --ds-radius: 12px;
  --ds-container: 1622px;
  --ds-gutter: 24px;
  --ds-sidebar: 405px;
  --ds-card: #f8f8f8;
  --ds-gold: #ffbb00;
  --ds-ease: 0.3s ease;
  --ds-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --ds-font: "Inter", sans-serif;
  --ds-hero-text-inset: 40px;
}
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ds-font);
  font-optical-sizing: auto;
  color: var(--ds-text);
  background: var(--ds-bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 0.75rem; }
h1, h2, h3 {
  margin: 0 0 0.5rem;
  line-height: 1.2;
  font-family: var(--ds-font);
}

.ds-container {
  width: min(100% - (var(--ds-gutter) * 2), var(--ds-container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  background: #000;
  color: #fff;
  padding: 8px 12px;
}

/* Buttons */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--ds-font);
  font-weight: 500;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: background var(--ds-ease), color var(--ds-ease), background-position 0.3s ease;
}
.ds-btn--dark { background: #111; color: #fff; }
.ds-btn--dark:hover { background: var(--ds-peach); color: #000; }
.ds-btn--brand { background: var(--ds-brand); color: #fff; }
.ds-btn--brand:hover { background: #000; color: #fff; }
.ds-btn--accent { background: var(--ds-gold); color: #000; }
.ds-btn--accent:hover { background: #111; color: #fff; }

/* Hero CTAs — Pro: gradient slide top→bottom, no leftover lines */
.ds-btn--hero {
  background-color: #111;
  background-image: linear-gradient(to top, #111 50%, var(--ds-brand) 50%);
  background-size: 100% 200%;
  background-position: bottom;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 34px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background-position 0.3s ease, color 0.3s ease;
}
.ds-btn--hero:hover {
  background-position: top;
  color: #111;
}

/* Bottom banner CTA — peach → white slide (same hover animation) */
.ds-banner--wide .ds-btn--hero {
  background-color: var(--ds-peach);
  background-image: linear-gradient(to top, var(--ds-peach) 50%, #fff 50%);
  background-size: 100% 200%;
  background-position: bottom;
  background-repeat: no-repeat;
  color: #000;
}
.ds-banner--wide .ds-btn--hero:hover {
  background-position: top;
  color: #000;
}

.ds-section-title {
  text-align: center;
  font-family: var(--ds-font);
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}
.ds-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 1.75rem;
}
.ds-section-head--left { justify-content: space-between; }
.ds-section-head--left .ds-section-title { text-align: left; }

/* Header */
.ds-header { position: relative; z-index: 30; }
.ds-nav { position: relative; }
.ds-topbar {
  background: var(--ds-brand);
  color: #fff;
  font-family: var(--ds-font);
  font-size: 15px;
}
.ds-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}
.ds-topbar__text { margin: 0; }
.ds-topbar a { font-weight: 600; }

.ds-header-main {
  background: #fff;
  border-bottom: 1px solid var(--ds-line);
}
.ds-header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.ds-logo-text,
.ds-brand .custom-logo-link img {
  font-family: var(--ds-font);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-height: 52px;
  width: auto;
}

.ds-menu {
  display: flex;
  gap: 28px;
  font-weight: 500;
}
.ds-menu a {
  font-family: var(--ds-font);
  font-size: 18px;
  font-weight: 500;
  color: #000;
}
.ds-menu a:hover,
.ds-menu .current-menu-item > a { color: var(--ds-brand); }

.ds-header-actions { display: flex; gap: 10px; }
.ds-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.ds-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  display: grid;
  place-items: center;
}
.ds-badge--wish {
  background: var(--ds-brand);
  color: #fff;
}

.ds-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.ds-nav-toggle span {
  display: block;
  height: 2px;
  background: #111;
  width: 22px;
}

.ds-header-search {
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--ds-line);
}
.ds-header-search__inner {
  display: flex;
  gap: 16px;
  align-items: center;
}
.ds-hero__toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  flex-wrap: wrap;
}
.ds-header-quick {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.ds-quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--ds-ease);
}
.ds-quick-link:hover { color: var(--ds-brand); }
.ds-quick-link__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ds-peach);
  display: grid;
  place-items: center;
  font-size: 14px;
}
.ds-search {
  flex: 1;
  min-width: 0;
  display: flex;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.ds-search input {
  flex: 1;
  border: 0;
  padding: 12px 16px;
  font: inherit;
  outline: none;
}
.ds-search button {
  width: 52px;
  border: 0;
  background: var(--ds-brand);
  color: #fff;
  cursor: pointer;
  border-radius: 9px;
  margin: 4px;
  transition: background var(--ds-ease);
}
.ds-search button:hover { background: #000; }

.ds-contact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.ds-contact-pill__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ds-peach);
  display: grid;
  place-items: center;
  color: #111;
}
.ds-contact-pill__label {
  display: block;
  font-size: 12px;
  color: var(--ds-muted);
}
.ds-contact-pill__value { font-weight: 700; }

/* Hero — Pro: cats span full height; slider ~338px; bottom ~362px
   (719px on Pro is slider WIDTH, not height) */
.ds-hero {
  padding: 18px 0 10px;
  --ds-hero-h: 338px;
  --ds-bottom-h: 362px;
}
.ds-hero__layout {
  display: grid;
  grid-template-columns: var(--ds-sidebar) minmax(0, 1fr);
  grid-template-rows: auto var(--ds-hero-h) var(--ds-bottom-h);
  gap: 20px;
  align-items: stretch;
}
.ds-hero__layout > .ds-cats,
.ds-cats {
  grid-column: 1;
  grid-row: 1 / -1;
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ds-cats__list {
  flex: 1;
  overflow: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ds-cats__head {
  background: var(--ds-peach);
  font-family: var(--ds-font);
  font-size: 18px;
  font-weight: 600;
  padding: 8px 18px;
  min-height: 40px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  flex-shrink: 0;
}
.ds-cats__list li {
  border-top: 1px solid var(--ds-line);
  padding: 4px 8px;
}
.ds-cats__list a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--ds-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ds-text);
  text-decoration: none;
  transition: background var(--ds-ease), color var(--ds-ease);
}
.ds-cats__list a:hover,
.ds-cats__list li.is-active a,
.woocommerce .ds-cats__list a:hover,
.woocommerce-page .ds-cats__list a:hover,
.woocommerce .ds-cats__list li.is-active a,
.woocommerce-page .ds-cats__list li.is-active a {
  color: #fff !important;
  background: var(--ds-brand) !important;
}

.ds-hero__toolbar {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 40px;
}
.ds-hero__top {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1.56fr 1fr;
  gap: 20px;
  min-height: 0;
  height: 100%;
}

.ds-slider {
  position: relative;
  height: 100%;
  min-height: 0;
  border-radius: var(--ds-radius);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.ds-slider.is-dragging {
  cursor: grabbing;
}
.ds-slide {
  display: none;
  position: relative;
  height: 100%;
  padding: 50px 48px;
  background: #f3efe9;
  animation: dsFade 0.45s ease;
  box-sizing: border-box;
  overflow: hidden;
}
.ds-slide__media,
.ds-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ds-slide__img,
.ds-slide__video,
.ds-banner__img,
.ds-banner__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ds-slide__content,
.ds-banner__content {
  position: relative;
  z-index: 1;
}
@keyframes dsFade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
.ds-slide.is-active {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ds-slide__content,
.ds-hero-copy {
  max-width: 340px;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 8px;
}
.ds-slide.is-active .ds-hero-copy {
  margin-left: 50%;
  max-width: min(340px, 46%);
}
.ds-slide__content a,
.ds-slide__content button,
.ds-hero-copy a,
.ds-hero-copy button {
  user-select: auto;
}
.ds-hero-copy {
  --ds-color-discount: #fedbc8;
  --ds-color-eyebrow: #ffffff;
  --ds-color-title: #ffffff;
  --ds-color-text: #ffffff;
}
.ds-slide__discount {
  font-family: var(--ds-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--ds-color-discount);
  margin: 0;
  line-height: 1.2;
}
.ds-eyebrow {
  font-family: var(--ds-font);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.ds-hero-copy .ds-eyebrow {
  color: var(--ds-color-eyebrow);
}
.ds-slide__title,
.ds-hero-copy .ds-banner__title {
  font-family: var(--ds-font);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--ds-color-title);
}
.ds-slide__text,
.ds-hero-copy .ds-banner__text {
  font-family: var(--ds-font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-color-text);
  max-width: 34ch;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ds-slide__content .ds-btn,
.ds-hero-copy .ds-btn { margin-top: 4px; }

.ds-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.ds-slider__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background var(--ds-ease), transform var(--ds-ease);
}
.ds-slider__dots button.is-active {
  background: var(--ds-brand);
  transform: scale(1.15);
}

.ds-banner {
  position: relative;
  border-radius: var(--ds-radius);
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}
.ds-banner--side {
  height: 100%;
  min-height: 0;
  padding: 36px 28px;
}
.ds-banner--side .ds-hero-copy {
  margin-left: 40%;
  max-width: min(280px, 54%);
}
.ds-banner--wide {
  grid-column: 2;
  grid-row: 3;
  height: 100%;
  padding: 40px 48px 40px var(--ds-hero-text-inset);
}
.ds-banner--wide .ds-hero-copy {
  margin-left: 0;
  max-width: min(480px, 52%);
}
.ds-banner__content {
  max-width: 280px;
  width: 100%;
}
.ds-banner--wide .ds-banner__content {
  max-width: 480px;
}
.ds-banner__content h2,
.ds-banner__title {
  font-family: var(--ds-font);
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.ds-banner--side .ds-btn { margin-top: 6px; }

/* Mid-page CTA banner */
.ds-cta {
  padding: 36px 0 18px;
}
.ds-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  padding: 44px 48px;
  border-radius: var(--ds-radius);
  background-color: var(--ds-cta-bg, #f3f3f3);
  overflow: hidden;
}
.ds-cta__inner--image {
  background-image: var(--ds-cta-bg-image, none);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.ds-cta__copy {
  position: relative;
  z-index: 1;
  max-width: min(520px, 48%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.ds-cta__eyebrow {
  margin: 0;
  font-family: var(--ds-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ds-cta-eyebrow, var(--ds-brand));
}
.ds-cta__title {
  margin: 0;
  font-family: var(--ds-font);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ds-cta-title, #111);
}
.ds-cta__text {
  margin: 0;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ds-cta-text, #6b6b6b);
}
.ds-cta__btn {
  margin-top: 8px;
}
.ds-cta__media {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 0;
  pointer-events: none;
}
.ds-cta__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Testimonials */
.ds-testimonials { padding: 36px 0 10px; }
.ds-testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ds-testimonial {
  background: #fff;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
  padding: 24px;
}
.ds-testimonial__quote { margin-bottom: 10px; }
.ds-testimonial__text { color: var(--ds-muted); font-size: 14px; }
.ds-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.ds-testimonial__author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.ds-testimonial__author span {
  display: block;
  color: var(--ds-muted);
  font-size: 13px;
}

/* Akcija / Deal of the Day */
.ds-akcija {
  position: relative;
  padding: 28px 0 18px;
  overflow: hidden;
}
.ds-akcija__inner {
  position: relative;
  z-index: 1;
  background-color: var(--ds-akcija-bg, #fff3ec);
  background-image: var(--ds-akcija-bg-image, none);
  background-size: cover;
  background-position: center;
  border-radius: var(--ds-radius);
  padding: 28px 28px 24px;
  overflow: hidden;
}
.ds-akcija--has-video .ds-akcija__inner {
  background-image: none;
}
.ds-akcija__bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}
.ds-akcija__bg-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ds-akcija__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--ds-akcija-overlay-opacity, 0.4);
  border-radius: inherit;
}
.ds-akcija__head,
.ds-akcija__grid {
  position: relative;
  z-index: 2;
}
.ds-akcija__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.ds-akcija__title {
  margin: 0 0 4px;
  font-family: var(--ds-font);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ds-akcija-title, #111);
}
.ds-akcija__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--ds-akcija-text, #6b6b6b);
}
.ds-akcija__timer {
  display: flex;
  gap: 10px;
}
.ds-akcija__unit {
  min-width: 64px;
  padding: 10px 12px;
  background: var(--ds-akcija-timer-bg, #fff);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.ds-akcija__digit {
  display: block;
  font-family: var(--ds-font);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ds-akcija-timer-digit, #111);
  font-variant-numeric: tabular-nums;
}
.ds-akcija__label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ds-akcija-timer-label, #6b6b6b);
}
.ds-akcija__grid {
  grid-template-columns: repeat(4, 1fr);
}
.ds-akcija.is-expired .ds-akcija__timer {
  opacity: 0.55;
}

/* Thematic overlays (painted on inner::before) */
.ds-akcija--none .ds-akcija__inner::before { opacity: 0; }
.ds-akcija--nova-godina .ds-akcija__inner::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 62%, rgba(255,255,255,0.8) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 48% 22%, rgba(255,215,120,0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 48%, rgba(255,255,255,0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 16%, rgba(255,215,120,0.65) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 90% 72%, rgba(255,255,255,0.85) 0 2px, transparent 3px),
    linear-gradient(160deg, rgba(20, 40, 80, 0.18), rgba(160, 30, 40, 0.12));
}
.ds-akcija--leto .ds-akcija__inner::before {
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(255, 200, 80, 0.45), transparent 70%),
    radial-gradient(ellipse 40% 35% at 8% 90%, rgba(255, 140, 60, 0.28), transparent 70%),
    linear-gradient(120deg, rgba(255, 236, 179, 0.35), transparent 55%);
}
.ds-akcija--zima .ds-akcija__inner::before {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 55%, rgba(255,255,255,0.75) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 70% 25%, rgba(255,255,255,0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 70%, rgba(255,255,255,0.7) 0 1.5px, transparent 2.5px),
    linear-gradient(180deg, rgba(180, 210, 240, 0.45), rgba(230, 240, 255, 0.2));
}
.ds-akcija--skola .ds-akcija__inner::before {
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 14px,
      rgba(166, 94, 56, 0.08) 14px,
      rgba(166, 94, 56, 0.08) 15px
    ),
    linear-gradient(135deg, rgba(255, 214, 170, 0.35), rgba(120, 160, 90, 0.18));
}
.ds-akcija--valentinovo .ds-akcija__inner::before {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 120, 150, 0.35) 0 18px, transparent 19px),
    radial-gradient(circle at 72% 22%, rgba(255, 90, 130, 0.28) 0 14px, transparent 15px),
    radial-gradient(circle at 55% 75%, rgba(255, 150, 170, 0.3) 0 22px, transparent 23px),
    linear-gradient(160deg, rgba(255, 220, 230, 0.45), rgba(255, 180, 200, 0.15));
}
.ds-akcija--black-friday .ds-akcija__inner::before {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 187, 0, 0.25), transparent 40%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(30, 30, 30, 0.35));
}
.ds-akcija--custom .ds-akcija__inner::before {
  background-image: var(--ds-akcija-custom-overlay, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Products */
.ds-products { padding: 48px 0 10px; }
.ds-product-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Same shell on homepage + archives; beat WooCommerce defaults */
.ds-product-card,
.woocommerce ul.products li.product.ds-product-card,
.woocommerce-page ul.products li.product.ds-product-card {
  background: var(--ds-card) !important;
  color: var(--ds-text) !important;
  border-radius: 10px;
  overflow: hidden;
  padding: 12px;
  position: relative;
  list-style: none;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  transition: background var(--ds-ease), color var(--ds-ease), box-shadow var(--ds-ease);
}
.ds-product-card__body {
  color: var(--ds-text);
}
.ds-product-card__media {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 12px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-product-card__media img,
.woocommerce ul.products li.product.ds-product-card img {
  width: 100%;
  max-height: 220px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: transform 0.7s ease;
}

/* Hover only with a real mouse — avoids “always hovered” look on archives */
@media (hover: hover) and (pointer: fine) {
  .ds-product-card:hover,
  .woocommerce ul.products li.product.ds-product-card:hover {
    background: var(--ds-brand) !important;
    color: #fff !important;
    box-shadow: var(--ds-shadow);
  }
  .ds-product-card:hover .ds-product-card__title,
  .ds-product-card:hover .ds-product-card__excerpt,
  .ds-product-card:hover .ds-product-card__price,
  .ds-product-card:hover .ds-product-card__price .amount,
  .ds-product-card:hover .ds-product-card__price ins,
  .ds-product-card:hover .ds-product-card__price del,
  .ds-product-card:hover .amount,
  .woocommerce ul.products li.product.ds-product-card:hover .ds-product-card__price,
  .woocommerce ul.products li.product.ds-product-card:hover .ds-product-card__price .amount,
  .woocommerce ul.products li.product.ds-product-card:hover .ds-product-card__price ins,
  .woocommerce ul.products li.product.ds-product-card:hover .ds-product-card__price ins .amount,
  .woocommerce ul.products li.product.ds-product-card:hover .ds-product-card__price del,
  .woocommerce ul.products li.product.ds-product-card:hover .ds-product-card__price del .amount,
  .woocommerce-page ul.products li.product.ds-product-card:hover .ds-product-card__price,
  .woocommerce-page ul.products li.product.ds-product-card:hover .ds-product-card__price .amount {
    color: #fff !important;
  }
  .ds-product-card:hover .ds-product-card__media img {
    transform: scale(1.14);
  }
  .ds-product-card:hover .ds-product-card__actions {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* Sale ribbon — top-left corner */
.ds-sale-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 78px;
  height: 78px;
  overflow: hidden;
  pointer-events: none;
}
.ds-sale-ribbon__text {
  position: absolute;
  top: 14px;
  left: -28px;
  width: 110px;
  padding: 4px 0;
  background: #e31c23;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Top-right badges stack (New, Featured) */
.ds-product-card__badges {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: calc(100% - 90px);
}
.ds-badge-tag {
  position: static;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 4px;
}
.ds-badge-tag--feat {
  background: var(--ds-gold);
  color: #000;
}
.ds-badge-tag--new {
  background: #ff2929;
  color: #fff;
}

/* Bottom-left stock */
.ds-product-card__stock {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  max-width: calc(100% - 70px);
}

/* Bottom-right hover actions — clear of badges & ribbon */
.ds-product-card__actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--ds-ease), transform var(--ds-ease);
  pointer-events: none;
}
/* Add to cart — always + icon, never text flash */
.ds-product-card__action--cart .button,
.ds-product-card__action--cart a.button,
.ds-product-card__action--cart .add_to_cart_button {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #111 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
  text-indent: 0 !important;
}
.ds-product-card__action--cart .button::before,
.ds-product-card__action--cart a.button::before,
.ds-product-card__action--cart .add_to_cart_button::before {
  content: "+" !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #fff !important;
  speak: never;
}
.ds-product-card__action--cart .button > *,
.ds-product-card__action--cart a.button > * {
  display: none !important;
}

/* Wishlist — outline by default, filled when in list */
.ds-product-card__action--wish {
  position: relative;
  width: 36px;
  height: 36px;
}
.ds-product-card__action--wish .yith-wcwl-add-to-wishlist,
.ds-product-card__action--wish .yith-add-to-wishlist-button-block {
  margin: 0 !important;
  line-height: 0;
  width: 36px;
  height: 36px;
}
.ds-product-card__action--wish .yith-wcwl-add-button,
.ds-product-card__action--wish .yith-wcwl-wishlistaddedbrowse,
.ds-product-card__action--wish .yith-wcwl-wishlistexistsbrowse {
  margin: 0 !important;
  width: 36px;
  height: 36px;
  position: relative;
}
.ds-product-card__action--wish .yith-wcwl-tooltip,
.ds-product-card__action--wish .separator,
.ds-product-card__action--wish .feedback,
.ds-product-card__action--wish .view-wishlist,
.ds-product-card__action--wish .yith-wcwl-add-to-wishlist-button__label {
  display: none !important;
}
.ds-product-card__action--wish a,
.ds-product-card__action--wish button {
  display: grid !important;
  place-items: center;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: transparent !important;
  text-decoration: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
/* Hide YITH's own icon nodes — we draw outline/filled via ::before */
.ds-product-card__action--wish a > *,
.ds-product-card__action--wish button > *,
.ds-product-card__action--wish .yith-wcwl-icon,
.ds-product-card__action--wish svg,
.ds-product-card__action--wish img,
.ds-product-card__action--wish i {
  display: none !important;
}
/* Default: outline heart */
.ds-product-card__action--wish a::before,
.ds-product-card__action--wish button::before,
.ds-product-card__action--wish .yith-wcwl-wishlistaddedbrowse::before,
.ds-product-card__action--wish .yith-wcwl-wishlistexistsbrowse::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12.1 20.3S4 15.2 4 9.5A4.5 4.5 0 0 1 12 7a4.5 4.5 0 0 1 8 2.5c0 5.7-8.1 10.8-8.1 10.8z' stroke='%23111111' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* In wishlist: same black color, but filled heart */
.ds-product-card__action--wish.is-in-wishlist a,
.ds-product-card__action--wish .yith-wcwl-add-to-wishlist.exists a,
.ds-product-card__action--wish .yith-wcwl-wishlistaddedbrowse,
.ds-product-card__action--wish .yith-wcwl-wishlistexistsbrowse {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.ds-product-card__action--wish.is-in-wishlist a::before,
.ds-product-card__action--wish .yith-wcwl-add-to-wishlist.exists a::before,
.ds-product-card__action--wish .yith-wcwl-wishlistaddedbrowse::before,
.ds-product-card__action--wish .yith-wcwl-wishlistexistsbrowse::before,
.ds-product-card__action--wish .yith-wcwl-wishlistaddedbrowse a::before,
.ds-product-card__action--wish .yith-wcwl-wishlistexistsbrowse a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23111111' d='M12.1 20.3S4 15.2 4 9.5A4.5 4.5 0 0 1 12 7a4.5 4.5 0 0 1 8 2.5c0 5.7-8.1 10.8-8.1 10.8z'/%3E%3C/svg%3E");
}
.ds-product-card__action--wish .yith-wcwl-wishlistaddedbrowse,
.ds-product-card__action--wish .yith-wcwl-wishlistexistsbrowse {
  display: grid !important;
  place-items: center;
}
.ds-product-card__action--wish .yith-wcwl-wishlistaddedbrowse > a,
.ds-product-card__action--wish .yith-wcwl-wishlistexistsbrowse > a {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ds-product-card__title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--ds-text) !important;
  transition: color var(--ds-ease);
}
.ds-product-card__excerpt {
  font-size: 14px;
  color: #666 !important;
  margin: 0 0 8px;
  transition: color var(--ds-ease);
}
.ds-product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ds-product-card__price,
.woocommerce ul.products li.product .ds-product-card__price,
.woocommerce ul.products li.product .ds-product-card__price .amount,
.woocommerce ul.products li.product .ds-product-card__price ins,
.woocommerce ul.products li.product .ds-product-card__price ins .amount {
  font-weight: 700;
  color: #111 !important;
  font-size: 16px;
}
.ds-product-card__price del,
.woocommerce ul.products li.product .ds-product-card__price del,
.woocommerce ul.products li.product .ds-product-card__price del .amount {
  color: #999 !important;
  font-size: 13px;
  margin-left: 4px;
  font-weight: 500;
}
.ds-product-card__rating { color: var(--ds-gold); font-size: 14px; font-weight: 600; }
.ds-empty { text-align: center; color: var(--ds-muted); }

.ds-benefits { padding: 28px 0 10px; }
.ds-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ds-benefit {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  position: relative;
}
.ds-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #111;
}
.ds-benefit h3 { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.ds-benefit p { margin: 0; font-size: 14px; color: var(--ds-muted); }
.ds-benefit__icon { color: #111; flex-shrink: 0; }

.ds-newsletter {
  padding: 40px 0;
}
.ds-newsletter__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--ds-peach-soft);
  border-radius: 16px;
  padding: 36px 40px;
}
.ds-newsletter__form {
  display: flex;
  gap: 10px;
}
.ds-newsletter__form input {
  flex: 1;
  border: 0;
  border-radius: 4px;
  padding: 12px 14px;
  font: inherit;
}

/* Blog */
.ds-blog { padding: 20px 0 50px; }
.ds-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ds-blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--ds-shadow);
  overflow: hidden;
}
.ds-blog-card__media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.ds-blog-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ds-muted);
  padding: 12px 14px 0;
}
.ds-blog-card__title {
  font-size: 1rem;
  padding: 8px 14px 16px;
}
.ds-blog-card__title a:hover { color: var(--ds-brand); }

/* Footer */
.ds-footer {
  background: #fafafa;
  padding: 48px 0 0;
}
.ds-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}
.ds-footer-about__card {
  background: var(--ds-peach-soft);
  border-radius: 18px;
  padding: 22px;
}
.ds-footer h2 { font-size: 1.15rem; margin-bottom: 14px; }
.ds-footer-menu { display: grid; gap: 8px; }
.ds-footer-menu a:hover { color: var(--ds-brand); }
.ds-footer-contact {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  margin: 12px 0;
}
.ds-footer-meta { font-size: 14px; color: var(--ds-muted); }
.ds-payment-icons { display: flex; gap: 8px; margin-top: 12px; }
.ds-payment-icons img { height: 28px; width: auto; }
.ds-footer-bar {
  margin-top: 36px;
  background: var(--ds-brand);
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
}
.ds-footer-bar p { margin: 0; }

/* Generic pages */
.ds-page,
.ds-shop-wrap {
  padding: 32px 0 56px;
}
.ds-page-title { font-size: 2rem; margin-bottom: 1.25rem; }
.entry-content > * + * { margin-top: 1rem; }

.widget { margin-bottom: 24px; }
.widget-title { font-size: 1.1rem; margin-bottom: 10px; }

/* Shop / category archives — sidebar + product grid */
.ds-shop-wrap--archive .woocommerce-products-header,
.ds-shop-wrap--archive .page-title {
  margin-bottom: 20px;
}
.ds-shop-wrap--archive .woocommerce-products-header .woocommerce-products-header__title,
.ds-shop-wrap--archive .woocommerce-products-header .page-title,
.ds-shop-wrap--archive > .page-title {
  font-size: 2rem;
  margin: 0 0 20px;
}
.ds-shop-wrap--archive .woocommerce-result-count {
  margin: 0 0 20px;
  float: left;
  color: var(--ds-muted);
  font-size: 14px;
  line-height: 42px;
}
.ds-shop-wrap--archive .woocommerce-ordering {
  float: right;
  margin: 0 0 20px;
}
.ds-shop-wrap--archive .woocommerce-ordering select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
/* Shop / category archives — cats sidebar, cards wrap beside then under */
.ds-shop-flow {
  --ds-shop-gap: 20px;
  --ds-shop-cols: 4;
  --ds-shop-side-rows: 3;
  clear: both;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.ds-shop-flow > .ds-cats {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: stretch;
  min-height: 0;
  height: auto;
  max-height: none;
  width: auto;
  position: relative;
  z-index: 2;
}
.ds-shop-flow > ul.products {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
}
.ds-shop-flow > ul.products::before,
.ds-shop-flow > ul.products::after {
  display: none !important;
  content: none !important;
}
.woocommerce .ds-shop-flow ul.products li.product,
.woocommerce-page .ds-shop-flow ul.products li.product {
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}
.ds-shop-flow--empty > .ds-shop-empty {
  grid-column: 2 / -1;
  grid-row: 1 / span 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--ds-card);
  border-radius: 10px;
  color: var(--ds-muted);
  text-align: center;
}
.ds-shop-empty .woocommerce-info {
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  box-shadow: none;
}
.ds-shop-empty .woocommerce-info::before {
  display: none;
}
.ds-shop-wrap--archive > .page-title:empty {
  display: none;
}
.ds-shop-wrap--archive .woocommerce-pagination {
  clear: both;
  margin-top: 28px;
  text-align: center;
}
.ds-shop-wrap--archive .woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ds-shop-wrap--archive .woocommerce-pagination ul.page-numbers li {
  margin: 0;
}
.ds-shop-wrap--archive .woocommerce-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--ds-line);
  background: #fff;
  font-weight: 600;
  transition: background var(--ds-ease), color var(--ds-ease), border-color var(--ds-ease);
}
.ds-shop-wrap--archive .woocommerce-pagination .page-numbers:hover,
.ds-shop-wrap--archive .woocommerce-pagination .page-numbers.current {
  background: var(--ds-brand);
  border-color: var(--ds-brand);
  color: #fff;
}

/* Woo single */
.ds-shop-wrap--single {
  padding-top: 8px;
  padding-bottom: 48px;
}

.woocommerce div.product.ds-single-product {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  align-items: start;
  width: 100%;
}

/* Kill WC float/48% widths — columns must fill their grid cells */
.woocommerce div.product.ds-single-product::before,
.woocommerce div.product.ds-single-product::after {
  display: none !important;
  content: none !important;
}

.woocommerce div.product.ds-single-product .ds-single-product__gallery,
.woocommerce div.product.ds-single-product .ds-single-product__summary,
.woocommerce div.product.ds-single-product div.images,
.woocommerce div.product.ds-single-product div.summary,
.woocommerce div.product.ds-single-product .woocommerce-product-gallery {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0;
}

/* Large screens: equal 520px columns, centered as a pair */
@media (min-width: 1200px) {
  .woocommerce div.product.ds-single-product {
    grid-template-columns: minmax(0, 1fr) 520px 520px minmax(0, 1fr);
    column-gap: 32px;
  }

  .ds-single-product__gallery {
    grid-column: 2;
  }

  .ds-single-product__summary {
    grid-column: 3;
  }

  .ds-single-product .related.products,
  .ds-single-product .upsells.products {
    grid-column: 1 / -1;
  }
}

.ds-single-product__gallery,
.ds-single-product__summary {
  min-width: 0;
}

.ds-single-product .related.products,
.ds-single-product .upsells.products {
  grid-column: 1 / -1;
}
.woocommerce span.onsale {
  background: var(--ds-brand);
  color: #fff;
  border-radius: 4px;
  padding: 4px 8px;
}

/* Related / upsells — same DomShop cards as homepage */
.woocommerce .related.products,
.woocommerce .upsells.products {
  margin-top: 48px;
  clear: both;
  width: 100%;
}
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
  font-size: 1.75rem;
  margin: 0 0 20px;
  text-align: center;
}
.woocommerce .related.products > ul.products,
.woocommerce .upsells.products > ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.woocommerce .related.products > ul.products::before,
.woocommerce .related.products > ul.products::after,
.woocommerce .upsells.products > ul.products::before,
.woocommerce .upsells.products > ul.products::after {
  display: none !important;
  content: none !important;
}
/* Hide default WC sale badge — DomShop cards use ds-sale-ribbon */
.woocommerce .related.products span.onsale,
.woocommerce .upsells.products span.onsale {
  display: none;
}

/* Responsive — boxed 1622 → tablet → mobile */
@media (max-width: 1400px) {
  :root { --ds-sidebar: 360px; }
  .ds-hero {
    --ds-hero-h: 300px;
    --ds-bottom-h: 300px;
  }
  .ds-menu { gap: 20px; }
  .ds-menu a { font-size: 16px; }
  .ds-product-card__media { min-height: 200px; }
  .ds-product-card__media img,
  ul.products li.product img {
    max-height: 200px;
  }
}

@media (max-width: 1200px) {
  :root { --ds-sidebar: 300px; }
  .ds-hero {
    --ds-hero-h: 280px;
    --ds-bottom-h: 280px;
  }
  .ds-hero__top { grid-template-columns: 1.4fr 1fr; }
  .ds-banner--wide { padding: 32px 32px 32px var(--ds-hero-text-inset); }
  .ds-blog-grid { grid-template-columns: repeat(3, 1fr); }
  .ds-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .ds-footer__grid > :last-child { grid-column: 1 / -1; }
  .ds-akcija__inner { padding: 22px 18px 18px; }
  .ds-akcija__unit { min-width: 56px; padding: 8px 10px; }
  .ds-akcija__digit { font-size: 1.15rem; }
  .ds-akcija__grid,
  .ds-product-grid,
  ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
  .woocommerce .related.products > ul.products,
  .woocommerce .upsells.products > ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ds-shop-flow {
    --ds-shop-cols: 3;
    --ds-shop-side-rows: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ds-shop-flow > .ds-cats {
    grid-row: 1 / span 3;
  }
  .ds-product-card__media { min-height: 180px; padding: 16px; }
  .ds-product-card__media img,
  ul.products li.product img {
    max-height: 180px;
  }
  .ds-slide { padding: 40px 36px; }
}

@media (max-width: 1024px) {
  :root {
    --ds-gutter: 20px;
    --ds-sidebar: 260px;
  }
  .ds-hero {
    --ds-hero-h: 300px;
    --ds-bottom-h: 260px;
  }
  .ds-nav-toggle { display: flex; }
  .ds-menu {
    display: none;
    position: absolute;
    left: var(--ds-gutter);
    right: var(--ds-gutter);
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 12px;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    z-index: 40;
    box-shadow: var(--ds-shadow);
  }
  .ds-menu a {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 8px;
  }
  .ds-menu a:hover { background: var(--ds-peach-soft); }
  .ds-nav.is-open .ds-menu { display: flex; }
  .ds-hero__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto var(--ds-hero-h) var(--ds-bottom-h) auto;
  }
  .ds-hero__toolbar { grid-column: 1; grid-row: 1; gap: 12px; }
  .ds-hero__top { grid-column: 1; grid-row: 2; }
  .ds-banner--wide { grid-column: 1; grid-row: 3; }
  .ds-cats {
    grid-column: 1;
    grid-row: 4;
  }
  .ds-header-quick { width: 100%; justify-content: space-between; }
  .ds-benefits__grid { grid-template-columns: 1fr 1fr; }
  .ds-benefit:nth-child(2n)::after { display: none; }
  .ds-cta__inner {
    min-height: 280px;
    padding: 28px 24px;
  }
  .ds-cta__inner--image {
    background-position: center center;
    background-size: cover;
  }
  .ds-cta__copy {
    max-width: 100%;
  }
  .ds-cta__media {
    inset: auto 0 0 0;
    height: 46%;
  }
  .ds-cta__video {
    object-position: center bottom;
  }
  .ds-testimonials__track { grid-template-columns: 1fr 1fr; }
  .ds-newsletter__inner {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .woocommerce div.product.ds-single-product { grid-template-columns: 1fr; }
  .ds-shop-flow {
    --ds-shop-cols: 3;
    --ds-shop-side-rows: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ds-shop-flow > .ds-cats {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 900px) {
  .ds-hero {
    --ds-hero-h: auto;
    --ds-bottom-h: auto;
    --ds-hero-text-inset: 32px;
  }
  .ds-hero__layout { grid-template-rows: auto auto auto auto; }
  .ds-hero__top {
    grid-template-columns: 1fr;
    height: auto;
  }
  .ds-slider,
  .ds-banner--side {
    height: 300px;
  }
  .ds-banner--wide { height: 240px; }
  .ds-slide,
  .ds-banner--side,
  .ds-banner--wide {
    padding: 32px var(--ds-hero-text-inset);
  }
  .ds-slide.is-active .ds-hero-copy,
  .ds-banner--side .ds-hero-copy,
  .ds-banner--wide .ds-hero-copy {
    margin-left: 0;
    max-width: min(100%, 420px);
  }
  .ds-akcija__head { align-items: flex-start; }
  .ds-akcija__timer { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .ds-akcija__grid { grid-template-columns: repeat(2, 1fr); }
  .ds-product-grid,
  ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .woocommerce .related.products > ul.products,
  .woocommerce .upsells.products > ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .ds-shop-flow {
    --ds-shop-cols: 2;
    --ds-shop-gap: 14px;
    --ds-shop-side-rows: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .ds-shop-flow > .ds-cats {
    grid-column: 1 / -1;
    grid-row: auto;
    max-height: 280px;
  }
  .ds-shop-flow--empty > .ds-shop-empty {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .ds-product-card,
  ul.products li.product { padding: 10px; }
  .ds-product-card__media { min-height: 160px; padding: 14px; }
  .ds-product-card__media img,
  ul.products li.product img {
    max-height: 160px;
  }
  .ds-blog-grid { grid-template-columns: 1fr 1fr; }
  .ds-footer__grid { grid-template-columns: 1fr 1fr; }
  .ds-footer__grid > :last-child { grid-column: auto; }
  .ds-section-title { font-size: 28px; }
  .ds-quick-link span:not(.ds-quick-link__icon) { display: none; }
  .ds-contact-pill__label { display: none; }
}

@media (max-width: 760px) {
  :root {
    --ds-gutter: 16px;
    --ds-hero-text-inset: 24px;
  }
  .ds-topbar { font-size: 13px; }
  .ds-topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 8px;
    min-height: 0;
  }
  .ds-header-main__inner { min-height: 64px; gap: 12px; }
  .ds-logo-text { font-size: 26px; }
  .ds-header-search { padding: 12px 0; }
  .ds-header-search__inner,
  .ds-hero__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .ds-header-quick {
    display: none;
  }
  .ds-contact-pill { justify-content: flex-start; }
  .ds-hero { padding: 12px 0 8px; }
  .ds-cats__head { padding: 7px 14px; min-height: 36px; font-size: 16px; }
  .ds-cats__list a { padding: 8px 10px; font-size: 14px; }
  .ds-benefits__grid,
  .ds-testimonials__track,
  .ds-blog-grid,
  .ds-footer__grid,
  .ds-newsletter__form {
    grid-template-columns: 1fr;
  }
  .ds-benefit:not(:last-child)::after { display: none; }
  .ds-benefit { padding: 14px 0; }
  .ds-newsletter__form { flex-direction: column; }
  .ds-slider,
  .ds-banner--side { height: 260px; }
  .ds-banner--wide { height: 220px; }
  .ds-slide,
  .ds-banner--side,
  .ds-banner--wide {
    padding: 24px var(--ds-hero-text-inset);
  }
  .ds-slide__content,
  .ds-banner__content { max-width: 100%; }
  .ds-slide__title { font-size: 1.45rem; }
  .ds-slide__discount { font-size: 16px; }
  .ds-products { padding: 32px 0 8px; }
  .ds-section-title { font-size: 24px; }
  .ds-page-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .ds-product-grid,
  ul.products {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .woocommerce .related.products > ul.products,
  .woocommerce .upsells.products > ul.products {
    grid-template-columns: 1fr;
  }
  .ds-shop-flow {
    --ds-shop-cols: 1;
    --ds-shop-side-rows: 1;
    grid-template-columns: 1fr;
  }
  .ds-shop-wrap--archive .woocommerce-result-count,
  .ds-shop-wrap--archive .woocommerce-ordering {
    float: none;
    display: block;
    width: 100%;
  }
  .ds-shop-wrap--archive .woocommerce-ordering { margin-bottom: 16px; }
  .ds-shop-wrap--archive .woocommerce-ordering select { width: 100%; }
  .ds-product-card__media { min-height: 220px; }
  .ds-product-card__media img,
  ul.products li.product img {
    max-height: 220px;
  }
  .ds-icon-btn { width: 36px; height: 36px; }
}