/* ==========================================================================
   SportVit — main stylesheet
   Palette: navy header + leafy-green accent (inspired by Dexons token system)
   ========================================================================== */

:root {
  /* === Accent — one accent colour for the whole site (Customizer) === */
  --sv-accent:         #2563eb;   /* primary accent / CTA (blue) */
  --sv-accent-dark:    #1d4ed8;   /* accent hover */
  --sv-accent-soft:    color-mix(in srgb, var(--sv-accent) 12%, #ffffff);
  --sv-accent-contrast:#ffffff;   /* text on accent */
  /* back-compat aliases (legacy rules still reference --sv-green*) */
  --sv-green:       var(--sv-accent);
  --sv-green-dark:  var(--sv-accent-dark);
  --sv-green-soft:  var(--sv-accent-soft);
  --sv-orange:      #0ea5e9;

  /* === Chrome (top bar / header / nav) — light & modern === */
  --sv-topbar-bg:    #eef2f7;
  --sv-topbar-text:  #51607a;
  --sv-header-bg:    #ffffff;
  --sv-header-text:  #0f1b2d;
  --sv-header-muted: #6b7a90;
  --sv-nav-bg:       #ffffff;
  --sv-nav-text:     #14212e;
  --sv-chrome-border:#e7ecf3;

  /* === Footer (light grey) === */
  --sv-footer-bg:   #f2f4f7;
  --sv-footer-text: #5a6b7b;

  /* === Dark surfaces (advantages strip, badges, dark promo) === */
  --sv-dark:        #0f1b2d;
  --sv-navy:        var(--sv-dark);          /* alias */
  --sv-navy-dark:   var(--sv-topbar-bg);     /* alias */
  --sv-navy-2:      var(--sv-nav-bg);        /* alias */

  /* Neutrals */
  --sv-bg:          #fbfcfe;
  --sv-white:       #ffffff;
  --sv-heading:     #14212e;
  --sv-text:        #5a6b7b;
  --sv-muted:       #9aa5b1;
  --sv-border:      #e7ecf3;
  --sv-line:        #eef1f5;

  /* Functional */
  --sv-price:       #14212e;
  --sv-old-price:   #aab3bd;
  --sv-star:        #f5a623;
  --sv-stock:       #1ea64a;   /* "в наявності" — green */
  --sv-badge-bg:    var(--sv-accent);
  --sv-badge-text:  #ffffff;

  /* Shape */
  --sv-radius-sm:   6px;
  --sv-radius:      10px;
  --sv-radius-lg:   16px;
  --sv-shadow:      0 6px 24px rgba(16, 38, 64, .07);
  --sv-shadow-hover:0 14px 40px rgba(16, 38, 64, .12);

  /* Layout */
  --sv-container:   1240px;
  --sv-gap:         24px;

  /* Type */
  --sv-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* --------------------------------------------------------------- base ---- */
*, *::before, *::after { box-sizing: border-box; }

body.sportvit {
  margin: 0;
  font-family: var(--sv-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--sv-text);
  background: var(--sv-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sv-green); }

/* Single default size for every inline icon — prevents mismatched icon sizes.
   Container-specific rules (e.g. .sv-iconlink svg) override this where needed. */
.sv-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.sv-seeall svg, .sv-post__more svg, .sv-promo a.link svg { width: 14px; height: 14px; }
.sv-btn svg { width: 16px; height: 16px; }
.sv-cat__go svg { width: 15px; height: 15px; }
.sv-search button svg { width: 20px; height: 20px; }

h1, h2, h3, h4 {
  font-family: var(--sv-font);
  color: var(--sv-heading);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5em;
}

.sv-container {
  width: 100%;
  max-width: var(--sv-container);
  margin: 0 auto;
  padding: 0 20px;
}

.sv-section { padding: 46px 0; }
.sv-section--tight { padding: 30px 0; }

/* section heading row */
.sv-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.sv-section-head h2 {
  font-size: 26px;
  margin: 0;
}
.sv-section-head .sv-seeall {
  color: var(--sv-green-dark);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.sv-section-head .sv-seeall svg { vertical-align: -2px; margin-left: 4px; }

/* ------------------------------------------------------------- buttons ---- */
.sv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sv-font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--sv-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.sv-btn--green { background: var(--sv-green); color: #fff; border-color: var(--sv-green); }
.sv-btn--green:hover { background: var(--sv-green-dark); border-color: var(--sv-green-dark); color: #fff; }
.sv-btn--outline { background: transparent; color: var(--sv-heading); border-color: #cdd5de; }
.sv-btn--outline:hover { border-color: var(--sv-green); color: var(--sv-green); }
.sv-btn--light { background: #fff; color: var(--sv-heading); border-color: #fff; }
.sv-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.sv-btn--ghost-light:hover { background: #fff; color: var(--sv-navy); }
.sv-btn--sm { padding: 10px 18px; font-size: 14px; }

/* =========================================================== TOP BAR ====== */
.sv-topbar {
  background: var(--sv-topbar-bg);
  color: var(--sv-topbar-text);
  font-size: 13px;
  border-bottom: 1px solid var(--sv-chrome-border);
}
.sv-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}
.sv-topbar a { color: var(--sv-topbar-text); }
.sv-topbar a:hover { color: var(--sv-accent); }
.sv-topbar__menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.sv-topbar__center { display: inline-flex; align-items: center; gap: 8px; color: var(--sv-topbar-text); font-weight: 600; }
.sv-topbar__center svg { width: 16px; height: 16px; color: var(--sv-accent); }
.sv-topbar__lang { display: inline-flex; gap: 10px; align-items: center; }
.sv-topbar__lang a.is-active { color: var(--sv-accent); font-weight: 700; }

/* =========================================================== HEADER ======= */
.sv-header { background: var(--sv-header-bg); color: var(--sv-header-text); border-bottom: 1px solid var(--sv-chrome-border); }
.sv-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}
.sv-logo { font-size: 26px; font-weight: 800; color: var(--sv-header-text); letter-spacing: .5px; }
.sv-logo img { max-height: 44px; width: auto; }

/* catalog button */
.sv-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--sv-green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--sv-radius-sm);
  white-space: nowrap;
}
.sv-catalog-btn:hover { background: var(--sv-green-dark); color: #fff; }
.sv-catalog-btn .bars { display: inline-flex; flex-direction: column; gap: 3px; }
.sv-catalog-btn .bars span { width: 18px; height: 2px; background: #fff; border-radius: 2px; }

/* search */
.sv-search { position: relative; flex: 1 1 auto; max-width: 560px; }
.sv-search form { display: flex; background: #fff; border: 1px solid var(--sv-chrome-border); border-radius: var(--sv-radius-sm); overflow: hidden; }
.sv-search input[type="search"] {
  flex: 1 1 auto;
  border: 0;
  padding: 0 18px;
  font-size: 14px;
  font-family: var(--sv-font);
  color: var(--sv-heading);
  outline: none;
  min-height: 48px;
}
.sv-search button {
  border: 0;
  background: var(--sv-green);
  color: #fff;
  width: 56px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sv-search button:hover { background: var(--sv-green-dark); }

/* ============================ Live search dropdown ========================= */
.sv-search__results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 90;
  background: #fff; border-radius: var(--sv-radius); box-shadow: var(--sv-shadow-hover);
  max-height: 420px; overflow-y: auto;
  padding: 6px 0;
}
.sv-search__list { list-style: none; margin: 0; padding: 0; }
.sv-search__list li { border-bottom: 1px solid var(--sv-line); }
.sv-search__list li:last-child { border-bottom: 0; }
.sv-search__list a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  color: var(--sv-heading);
}
.sv-search__list a:hover { background: var(--sv-bg); }
.sv-search__thumb {
  flex: 0 0 auto; width: 44px; height: 44px;
  border-radius: var(--sv-radius-sm); overflow: hidden;
  background: var(--sv-line);
  display: flex; align-items: center; justify-content: center;
}
.sv-search__thumb img { width: 100%; height: 100%; object-fit: contain; }
.sv-search__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sv-search__title {
  font-size: 14px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sv-search__price { font-size: 13px; color: var(--sv-price); font-weight: 700; }
.sv-search__all {
  display: block; text-align: center;
  padding: 12px 16px 6px;
  font-size: 14px; font-weight: 700; color: var(--sv-accent);
}
.sv-search__all:hover { color: var(--sv-accent-dark); }
.sv-search__empty { padding: 16px; margin: 0; color: var(--sv-muted); font-size: 14px; text-align: center; }

/* header right cluster */
.sv-header__right { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.sv-header__phone { line-height: 1.2; white-space: nowrap; }
.sv-header__phone .num { display: block; font-size: 18px; font-weight: 800; color: var(--sv-header-text); }
.sv-header__phone .hours { display: block; font-size: 12px; color: var(--sv-header-muted); }

.sv-iconlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sv-header-text);
  position: relative;
}
.sv-iconlink .ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}
.sv-iconlink .txt { line-height: 1.15; font-size: 13px; }
.sv-iconlink .txt b { display: block; font-size: 14px; font-weight: 700; }
.sv-iconlink .txt span { color: var(--sv-header-muted); font-size: 12px; }
.sv-iconlink .ico svg,
.sv-iconlink svg { width: 25px; height: 25px; display: block; }
.sv-badge {
  position: absolute;
  top: -8px; right: -8px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--sv-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================== NAV ======= */
.sv-nav { background: var(--sv-nav-bg); border-top: 1px solid var(--sv-chrome-border); border-bottom: 1px solid var(--sv-chrome-border); }
.sv-nav__inner { display: flex; align-items: center; }
/* nowrap + horizontal scroll — translated labels (e.g. RU) run longer than
   the UA originals; wrapping to a 2nd line would push page content down, so
   the menu scrolls sideways instead of ever breaking onto another row. */
.sv-menu {
  display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap;
  overflow-x: auto; scrollbar-width: none;
}
.sv-menu::-webkit-scrollbar { display: none; }
.sv-menu > li { flex: 1 1 0; position: relative; }
.sv-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--sv-nav-text);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  padding: 16px 12px;
}
.sv-menu > li > a:hover { color: var(--sv-accent); }
.sv-menu > li.menu-item-has-children > a::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
}
/* dropdown */
.sv-menu .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-hover);
  list-style: none;
  margin: 0; padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  z-index: 60;
}
.sv-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sv-menu .sub-menu a { display: block; padding: 9px 20px; color: var(--sv-heading); font-size: 14px; font-weight: 500; }
.sv-menu .sub-menu a:hover { background: var(--sv-green-soft); color: var(--sv-green-dark); }

/* burger (mobile) */
.sv-burger { display: none; background: none; border: 0; color: var(--sv-nav-text); cursor: pointer; padding: 8px; }
.sv-burger span { display: block; width: 24px; height: 2px; background: var(--sv-nav-text); margin: 5px 0; border-radius: 2px; }

/* =============================================================== HERO ===== */
/* Hero is a full-bleed photo "cover" (edge to edge, never wider than the
   viewport) with the title/text overlaid on top via a dark gradient — the
   photo is a background layer (.sv-hero__media, position:absolute inset:0),
   not a grid column, so it can never push the layout wider than the screen. */
.sv-hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--sv-navy);
}
.sv-hero__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
  padding: 40px 0;
}
.sv-hero--big .sv-hero__grid { min-height: 300px; padding: 40px 0; }
@media (max-width: 920px) {
  .sv-hero--big .sv-hero__grid { min-height: auto; padding: 30px 0; }
}
.sv-hero__content { position: relative; z-index: 2; max-width: 600px; }
.sv-hero__title {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: #fff;
}
.sv-hero__title .green { color: var(--sv-green); }
.sv-hero__text { font-size: 18px; color: rgba(255,255,255,.85); max-width: 460px; margin: 0 0 28px; }
.sv-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.sv-hero__media {
  position: absolute; top: 0; bottom: 0; right: 0; z-index: 0;
  width: 55%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
  mask-image: linear-gradient(to right, transparent 0%, #000 40%);
}
.sv-hero__media img {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: auto; max-width: none; height: 100%; display: block;
}
@media (max-width: 720px) {
  .sv-hero__media {
    position: static;
    width: 100%;
    margin-top: 20px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .sv-hero__media img { position: static; width: 100%; height: auto; }
  .sv-hero__content { max-width: none; }
}
.sv-hero__media::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, var(--sv-hero-bg, var(--sv-navy)) 0%, transparent 100%);
}
.sv-hero__media-fallback {
  width: 100%; height: 100%; min-height: 360px;
  background: linear-gradient(135deg, var(--sv-navy), #1b2c45);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-weight: 700; text-align: center;
}
.sv-hero__badge {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--sv-accent);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-size: 11px; font-weight: 700;
  box-shadow: var(--sv-shadow);
  line-height: 1.2;
}
.sv-hero__badge b { font-size: 20px; }

/* ===================================================== HERO TRUST STRIP ==== */
/* Own section right under the hero, light background (not inside the hero's
   dark photo — this text is dark, meant for a light bg). */
.sv-hero__trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sv-trust-item { display: flex; align-items: center; gap: 12px; }
.sv-hero__trust > .sv-trust-item:first-child { margin-left: 10px; }
.sv-trust-item .ic {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sv-green-soft);
  color: var(--sv-green-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.sv-trust-item .ic svg { width: 20px; height: 20px; }
.sv-trust-item b { display: block; color: var(--sv-heading); font-size: 14px; }
.sv-trust-item span { font-size: 12.5px; color: var(--sv-muted); }

/* ========================================================== CATEGORIES ===== */
/* Horizontal card: image left, name + arrow on the right — per reference. */
.sv-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sv-cat {
  background: #fff;
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 128px;
  transition: all .2s ease;
}
.sv-cat:hover { box-shadow: var(--sv-shadow-hover); transform: translateY(-3px); }
.sv-cat__img {
  flex: 0 0 auto;
  width: 72px; height: 72px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.sv-cat__img img { width: 72px; height: 72px; object-fit: contain; }
.sv-cat__img svg { width: 34px; height: 34px; color: var(--sv-green-dark); }
.sv-cat__img svg.sv-icon--big { width: 56px; height: 56px; color: var(--sv-navy); }
.sv-cat__body { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; flex: 1; min-width: 0; }
.sv-cat__name { color: var(--sv-heading); font-weight: 700; font-size: 16px; line-height: 1.3; }
.sv-cat__go {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sv-green);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  align-self: center;
}
.sv-cat:hover .sv-cat__go { background: var(--sv-green-dark); }

/* ============================================================== BRANDS ===== */
.sv-brands { background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius); padding: 8px 28px; position: relative; }
.sv-brands .swiper-slide { display: flex; align-items: center; justify-content: center; height: 96px; }
.sv-brand {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 60px;
  filter: grayscale(1); opacity: .65;
  transition: all .25s ease;
  font-weight: 800; color: var(--sv-heading); font-size: 17px; text-align: center;
}
.sv-brand:hover { filter: none; opacity: 1; }
.sv-brand img { max-height: 50px; width: auto; object-fit: contain; }
.sv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid var(--sv-border);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--sv-heading); z-index: 4;
}
.sv-arrow:hover { background: var(--sv-green); color: #fff; border-color: var(--sv-green); }
.sv-arrow--prev { left: -18px; }
.sv-arrow--next { right: -18px; }

/* ============================================================ PRODUCTS ===== */
.sv-products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.sv-product {
  background: #fff;
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .2s ease;
  min-width: 0;
}
.sv-product:hover { box-shadow: var(--sv-shadow-hover); transform: translateY(-3px); }
.sv-product__thumb {
  position: relative;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fafbfc;
}
.sv-product__thumb img { width: 100%; height: 100%; object-fit: contain; }
.sv-product__discount {
  position: absolute; top: 8px; right: 8px;
  background: var(--sv-badge-bg);
  color: var(--sv-badge-text);
  font-size: 12px; font-weight: 700;
  padding: 3px 8px; border-radius: var(--sv-radius-sm);
}
/* TI Wishlist button — floating heart, top-left of the thumbnail */
.sv-product__wishlist { position: absolute; top: 8px; left: 8px; z-index: 2; }
.sv-product__wishlist .tinvwl_add_to_wishlist_button {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; box-shadow: var(--sv-shadow);
  display: flex; align-items: center; justify-content: center;
}
.sv-product__wishlist .tinvwl_add_to_wishlist-text { display: none; }
.sv-product__wishlist svg, .sv-product__wishlist img { width: 16px; height: 16px; }
.sv-product__brand { font-size: 12px; color: var(--sv-muted); margin-bottom: 4px; }
.sv-product__title {
  font-size: 14px; font-weight: 700; color: var(--sv-heading);
  line-height: 1.3; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 36px;
}
.sv-product__title a { color: inherit; }
.sv-product__title a:hover { color: var(--sv-green); }
.sv-rating { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.sv-rating .stars { color: var(--sv-star); font-size: 13px; letter-spacing: 1px; }
.sv-rating .count { color: var(--sv-muted); font-size: 12px; }
.sv-product__price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sv-product__price .now { font-size: 18px; font-weight: 800; color: var(--sv-price); }
.sv-product__price .old { font-size: 13px; color: var(--sv-old-price); text-decoration: line-through; }
/* Add-to-cart hidden until hover (clean cards like the reference). */
.sv-product__cart {
  width: 100%;
  justify-content: center;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .2s ease, margin-top .25s ease, padding .25s ease;
}
.sv-product:hover .sv-product__cart {
  max-height: 60px;
  margin-top: 12px;
  padding-top: 11px;
  padding-bottom: 11px;
  opacity: 1;
}

/* ========================================================== ADVANTAGES ===== */
.sv-advstrip {
  background: var(--sv-navy);
  border-radius: var(--sv-radius-lg);
  color: #fff;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sv-adv { display: flex; align-items: center; gap: 16px; }
.sv-adv .ic { color: var(--sv-green); flex: 0 0 auto; }
.sv-adv .ic svg { width: 34px; height: 34px; }
.sv-adv b { display: block; color: #fff; font-size: 16px; }
.sv-adv span { color: rgba(255,255,255,.65); font-size: 13px; }

/* ============================================================== PROMO ====== */
.sv-promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sv-promo {
  border-radius: var(--sv-radius-lg);
  padding: 30px;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sv-promo--dark  { background: linear-gradient(120deg, #0f1b2d, #1e3a63); }
.sv-promo--green { background: linear-gradient(120deg, #1d4ed8, #3b82f6); }
.sv-promo--orange{ background: linear-gradient(120deg, #0284c7, #38bdf8); }
.sv-promo--has-image { background-size: cover; background-position: center; }
.sv-promo--has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,27,45,.75), rgba(15,27,45,.25));
}
.sv-promo--has-image .kicker, .sv-promo--has-image .big, .sv-promo--has-image h3, .sv-promo--has-image a.link {
  position: relative; z-index: 1;
}
.sv-promo .kicker { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: .85; margin-bottom: 6px; }
.sv-promo .big { font-size: 34px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.sv-promo h3 { color: #fff; font-size: 21px; margin: 0 0 16px; max-width: 80%; }
.sv-promo a.link { color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.sv-promo a.link:hover { gap: 10px; }

/* ===================================================== BLOG + REVIEWS ====== */
/* Two-column band: blog (left, 3 cards) + reviews (right) — per reference. */
.sv-bottom { display: grid; grid-template-columns: 2.6fr 1fr; gap: 30px; align-items: start; }
.sv-bottom .sv-section-head { margin-bottom: 18px; min-height: 34px; }
.sv-bottom .sv-section-head h2 { font-size: 20px; }
.sv-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sv-post {
  background: #fff;
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
}
.sv-post:hover { box-shadow: var(--sv-shadow-hover); transform: translateY(-2px); }
.sv-post__thumb { display: block; }
.sv-post__thumb img,
.sv-post__thumb .ph { width: 100%; height: 150px; object-fit: cover; background: var(--sv-green-soft); display: block; }
.sv-post__body { padding: 16px; }
.sv-post__body h3 { font-size: 15px; margin: 0 0 8px; line-height: 1.3; }
.sv-post__body h3 a { color: var(--sv-heading); }
.sv-post__body h3 a:hover { color: var(--sv-green); }
.sv-post__body p { font-size: 12.5px; color: var(--sv-text); margin: 0 0 12px; }
.sv-post__more { color: var(--sv-green-dark); font-weight: 700; font-size: 12.5px; }

.sv-reviews-head h2 { font-size: 22px; }
.sv-reviews-head p { font-size: 13px; margin: 6px 0 0; }
.sv-review {
  background: #fff;
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius);
  padding: 24px;
  box-shadow: var(--sv-shadow);
  margin-top: 0;
}
.sv-review .stars { color: var(--sv-star); font-size: 16px; letter-spacing: 2px; }
.sv-review .score { color: var(--sv-muted); font-size: 13px; margin-left: 8px; }
.sv-review p { font-size: 14px; color: var(--sv-heading); margin: 12px 0 16px; }
.sv-review .author { display: flex; align-items: center; gap: 12px; }
.sv-review .author .ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--sv-green-soft); }
.sv-review .author b { color: var(--sv-heading); }

/* ============================================================= FOOTER ====== */
.sv-footer { background: var(--sv-footer-bg); color: var(--sv-footer-text); margin-top: 50px; border-top: 1px solid var(--sv-border); }
.sv-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding: 50px 0 36px; }
.sv-footer h4 { color: var(--sv-heading); font-size: 16px; margin: 0 0 18px; }
.sv-footer ul { list-style: none; margin: 0; padding: 0; }
.sv-footer ul li { margin-bottom: 10px; }
.sv-footer a { color: var(--sv-footer-text); font-size: 14px; }
.sv-footer a:hover { color: var(--sv-accent); }
.sv-footer__about p { font-size: 14px; line-height: 1.7; }
.sv-footer__social { display: flex; gap: 10px; margin-top: 16px; }
.sv-footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sv-bg);
  border: 1px solid var(--sv-border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--sv-heading);
}
.sv-footer__social a:hover { background: var(--sv-accent); border-color: var(--sv-accent); color: #fff; }
.sv-newsletter form { display: flex; background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius-sm); overflow: hidden; margin-top: 4px; }
.sv-newsletter input { flex: 1; border: 0; background: transparent; color: var(--sv-heading); padding: 0 16px; min-height: 46px; outline: none; }
.sv-newsletter input::placeholder { color: var(--sv-muted); }
.sv-newsletter button { border: 0; background: var(--sv-accent); color: #fff; padding: 0 18px; font-weight: 700; cursor: pointer; }
.sv-newsletter button:hover { background: var(--sv-accent-dark); }
.sv-footer__bottom { border-top: 1px solid var(--sv-border); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; gap: 16px; }

/* ============================================== WooCommerce loop overrides == */
.woocommerce ul.products,
.woocommerce-page ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce .sv-page-products { padding: 40px 0; }
.woocommerce-store-notice, p.demo_store { background: var(--sv-navy); }

/* generic page content */
.sv-page { padding: 40px 0 20px; }
.sv-page__title { font-size: 30px; margin-bottom: 20px; }
.sv-entry p { margin: 0 0 1em; }
.sv-entry img { max-width: 100%; height: auto; border-radius: var(--sv-radius); }
/* Gutenberg "wide"/"full width" image alignment — breaks the image out of the
   normal article column so it can span the whole site width. */
.sv-entry .alignwide { width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; }
.sv-entry .alignfull {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  border-radius: 0;
}
.sv-entry .alignfull img { width: 100%; border-radius: 0; }
.sv-breadcrumb { font-size: 13px; color: var(--sv-muted); padding: 16px 0; }
.sv-breadcrumb a { color: var(--sv-text); }

/* ========================================================== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .sv-cats     { grid-template-columns: repeat(3, 1fr); }
  .sv-products { grid-template-columns: repeat(3, 1fr); }
  .sv-hero__trust { grid-template-columns: repeat(2, 1fr); }
  .sv-bottom   { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .sv-header__phone, .sv-iconlink .txt { display: none; }
}
@media (max-width: 920px) {
  .sv-hero__title { font-size: 42px; }
  .sv-advstrip { grid-template-columns: repeat(2, 1fr); }
  .sv-promos   { grid-template-columns: 1fr; }
  .sv-posts    { grid-template-columns: repeat(2, 1fr); }
  .sv-footer__top { grid-template-columns: 1fr 1fr; }
  .sv-topbar__menu { display: none; }
  .sv-search { display: none; }
}
@media (max-width: 720px) {
  .sv-cats     { grid-template-columns: repeat(2, 1fr); }
  .sv-products { grid-template-columns: repeat(2, 1fr); }
  .sv-posts    { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .sv-menu { display: none; }
  .sv-burger { display: block; }
  .sv-nav__inner { justify-content: space-between; }
  .sv-header__inner { flex-wrap: wrap; min-height: auto; padding: 12px 0; gap: 14px; }
  .sv-hero__title { font-size: 34px; }
  .sv-footer__top { grid-template-columns: 1fr; }
  .sv-advstrip { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sv-cats { grid-template-columns: 1fr; }
  .sv-products { grid-template-columns: repeat(2, 1fr); }
  .sv-hero__trust { grid-template-columns: 1fr; }
  .sv-section-head h2 { font-size: 21px; }
}

/* mobile menu (toggled) */
.sv-mobile-menu { display: none; }
.sv-mobile-menu.is-open { display: block; background: var(--sv-nav-bg); border-top: 1px solid var(--sv-chrome-border); }
.sv-mobile-menu ul { list-style: none; margin: 0; padding: 8px 0; }
.sv-mobile-menu a { display: block; color: var(--sv-nav-text); padding: 12px 20px; border-bottom: 1px solid var(--sv-line); }

/* ============================================================ MEGA MENU ==== */
/* Full-width catalog mega-menu (DIGITA-style), opens under the nav bar. */
.sv-nav { position: relative; }
.sv-catalog-btn { cursor: pointer; }
.sv-megamenu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--sv-border);
  box-shadow: var(--sv-shadow-hover);
  z-index: 70;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.sv-megamenu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.sv-megamenu__inner {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.5fr 1.25fr;
  gap: 34px;
  padding: 28px 0 32px;
}
.sv-mm-col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--sv-heading);
  margin: 0 0 14px;
}
.sv-mm-col h4.mt { margin-top: 24px; }
.sv-mm-list { list-style: none; margin: 0; padding: 0; }
.sv-mm-list li { margin-bottom: 9px; }
.sv-mm-list a { color: var(--sv-text); font-size: 14px; }
.sv-mm-list a:hover { color: var(--sv-green); }

/* feature-by-category circles */
.sv-mm-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; }
.sv-mm-cat { text-align: center; display: block; }
.sv-mm-cat .circ {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--sv-bg);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  color: var(--sv-green-dark);
  transition: background .2s ease;
}
.sv-mm-cat .circ svg { width: 26px; height: 26px; }
.sv-mm-cat .circ img { width: 62px; height: 62px; object-fit: contain; border-radius: 50%; }
.sv-mm-cat span { display: block; font-size: 12.5px; color: var(--sv-heading); font-weight: 600; line-height: 1.25; }
.sv-mm-cat:hover .circ { background: var(--sv-green-soft); }
.sv-mm-cat:hover span { color: var(--sv-green-dark); }

/* promo card */
.sv-mm-promo {
  border-radius: var(--sv-radius);
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(135deg, #0f1b2d, #1e3a63);
  color: #fff;
  padding: 26px;
  display: flex; flex-direction: column; justify-content: center;
}
.sv-mm-promo .k { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: .85; margin-bottom: 6px; }
.sv-mm-promo h3 { color: #fff; font-size: 21px; margin: 0 0 8px; line-height: 1.2; }
.sv-mm-promo .price { font-size: 15px; margin-bottom: 16px; }
.sv-mm-promo .price b { color: #fff; }
.sv-mm-promo .price del { opacity: .6; margin-left: 6px; }
.sv-mm-promo .sv-btn { align-self: flex-start; }

/* hide mega on tablet/mobile — burger menu is used instead */
@media (max-width: 1100px) {
  .sv-megamenu { display: none !important; }
}

/* ===================================================== SINGLE PRODUCT ====== */
.sv-single { padding: 24px 0 10px; }
.sv-single__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 18px;
}
/* gallery */
.sv-gallery { display: grid; grid-template-columns: 86px 1fr; gap: 14px; align-items: start; }
.sv-gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.sv-gallery__thumb {
  width: 86px; height: 86px;
  border: 1px solid var(--sv-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  padding: 4px;
  transition: border-color .2s ease;
}
.sv-gallery__thumb.is-active { border-color: var(--sv-green); }
.sv-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.sv-gallery__main {
  position: relative;
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius);
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.sv-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.sv-gallery__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--sv-green); color: #fff;
  font-weight: 700; font-size: 13px;
  padding: 4px 10px; border-radius: var(--sv-radius-sm);
}
/* summary */
.sv-summary__brand { color: var(--sv-muted); font-size: 13px; margin-bottom: 6px; }
.sv-summary__title { font-size: 28px; line-height: 1.25; margin: 0 0 12px; }
.sv-summary__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.sv-summary__rating .stars { color: var(--sv-star); font-size: 16px; letter-spacing: 2px; }
.sv-summary__rating .count { color: var(--sv-muted); font-size: 13px; }
.sv-summary__rating .count:hover { color: var(--sv-green); }
.sv-summary__price { font-size: 30px; font-weight: 800; color: var(--sv-heading); margin-bottom: 12px; }
.sv-summary__price del { color: var(--sv-old-price); font-size: 18px; font-weight: 600; margin-right: 10px; }
.sv-summary__price ins { text-decoration: none; color: var(--sv-heading); }
.sv-summary__stock { display: inline-block; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.sv-summary__stock.in { color: var(--sv-stock); }
.sv-summary__stock.out { color: #c0392b; }
/* native Woo stock text (qty in stock) → green too */
.sv-single .stock.in-stock,
.sv-single p.stock,
.sv-summary .stock { color: var(--sv-stock) !important; font-weight: 700; }
.sv-summary__excerpt { color: var(--sv-text); margin-bottom: 18px; }
.sv-summary__excerpt p { margin: 0 0 .6em; }

/* add to cart form */
.sv-summary form.cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 20px; }
.sv-summary .quantity {
  display: inline-flex; align-items: center;
  border: 1px solid var(--sv-border); border-radius: var(--sv-radius-sm);
  overflow: hidden; height: 50px;
}
.sv-summary .quantity input.qty {
  border: 0; height: 48px; width: 56px; text-align: center;
  font-size: 15px; font-weight: 600; color: var(--sv-heading);
  -moz-appearance: textfield; outline: none;
}
.sv-summary .quantity input.qty::-webkit-outer-spin-button,
.sv-summary .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sv-qty-btn { width: 42px; height: 50px; border: 0; background: #fff; color: var(--sv-heading); font-size: 20px; cursor: pointer; }
.sv-qty-btn:hover { background: var(--sv-bg); color: var(--sv-green-dark); }
.sv-summary .single_add_to_cart_button {
  background: var(--sv-green); color: #fff; border: 2px solid var(--sv-green);
  border-radius: var(--sv-radius-sm); height: 50px; padding: 0 30px;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: all .2s ease;
}
.sv-summary .single_add_to_cart_button:hover { background: var(--sv-green-dark); border-color: var(--sv-green-dark); }
.sv-buy-now {
  background: transparent; color: var(--sv-navy);
  border: 2px solid var(--sv-navy); border-radius: var(--sv-radius-sm);
  height: 50px; padding: 0 26px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .2s ease;
}
.sv-buy-now:hover { background: var(--sv-navy); color: #fff; }
/* variations table from WC */
.sv-summary .variations { width: 100%; margin: 0 0 12px; }
.sv-summary .variations td { padding: 4px 0; }
.sv-summary .reset_variations { font-size: 13px; }

.sv-summary__meta { border-top: 1px solid var(--sv-line); padding-top: 14px; font-size: 14px; color: var(--sv-text); }
.sv-summary__meta div { margin-bottom: 6px; }
.sv-summary__meta span { color: var(--sv-muted); }
.sv-summary__meta a { color: var(--sv-text); }
.sv-summary__meta a:hover { color: var(--sv-green); }

.sv-summary__benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.sv-summary__benefits .ben { display: flex; gap: 12px; align-items: center; background: var(--sv-bg); border-radius: var(--sv-radius); padding: 12px 14px; }
.sv-summary__benefits .ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--sv-green-soft); color: var(--sv-green-dark); display: inline-flex; align-items: center; justify-content: center; }
.sv-summary__benefits .ic svg { width: 20px; height: 20px; }
.sv-summary__benefits b { display: block; color: var(--sv-heading); font-size: 13px; }
.sv-summary__benefits span span,
.sv-summary__benefits .ben > span { font-size: 12.5px; color: var(--sv-muted); }
.sv-summary__benefits .ben > span b { color: var(--sv-heading); }

/* tabs */
.sv-single__tabs { margin-top: 40px; }
.sv-tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--sv-border); margin-bottom: 22px; flex-wrap: wrap; }
.sv-tabs__btn {
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 12px 10px; font-family: var(--sv-font); font-weight: 700; font-size: 16px;
  color: var(--sv-text); cursor: pointer; margin-bottom: -1px;
}
.sv-tabs__btn:hover { color: var(--sv-heading); }
.sv-tabs__btn.is-active { color: var(--sv-heading); border-color: var(--sv-green); }
.sv-tabs__panel { display: none; }
.sv-tabs__panel.is-active { display: block; }
.sv-tabs__panel p { margin: 0 0 1em; }
.sv-tabs__panel .woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.sv-tabs__panel .woocommerce-product-attributes th,
.sv-tabs__panel .woocommerce-product-attributes td { border: 1px solid var(--sv-border); padding: 11px 14px; text-align: left; font-size: 14px; }
.sv-tabs__panel .woocommerce-product-attributes th { background: var(--sv-bg); width: 32%; color: var(--sv-heading); font-weight: 700; }

/* related */
.sv-single .related.products,
.sv-single .upsells.products { margin-top: 44px; }
.sv-single .related.products > h2,
.sv-single .upsells.products > h2 { font-size: 24px; margin: 0 0 20px; }

@media (max-width: 920px) {
  .sv-single__top { grid-template-columns: 1fr; gap: 24px; }
  .sv-gallery { grid-template-columns: 1fr; }
  .sv-gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .sv-gallery__thumb { width: 70px; height: 70px; flex: 0 0 auto; }
  .sv-gallery__main { order: 1; }
  .sv-summary__title { font-size: 23px; }
}
@media (max-width: 480px) {
  .sv-summary__benefits { grid-template-columns: 1fr; }
  .sv-summary form.cart .single_add_to_cart_button,
  .sv-summary form.cart .sv-buy-now { flex: 1 1 100%; }
}

/* ====================================== Shop / category archive ============ */
.sv-shop__titlebar { background: #fff; border-bottom: 1px solid var(--sv-border); padding: 8px 0 24px; }
.sv-shop__titlebar .sv-breadcrumb { padding: 14px 0 4px; }
.sv-shop__title { font-size: 30px; margin: 6px 0 0; line-height: 1.15; }
.sv-shop__desc { margin-top: 10px; color: var(--sv-text); max-width: 760px; font-size: 15px; }

.sv-shop__layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 30px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 54px;
}

/* ---- Filter sidebar ---- */
.sv-shop__sidebar { display: flex; flex-direction: column; }
.sv-fwidget { background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius); padding: 16px 18px; margin-bottom: 16px; }
.sv-fwidget--head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.sv-fwidget__h { font-size: 17px; margin: 0; }
.sv-fwidget__reset { font-size: 13px; font-weight: 600; color: var(--sv-green-dark); }
.sv-fwidget__reset:hover { text-decoration: underline; }
.sv-fwidget__title { font-size: 15px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--sv-line); }

.sv-fcats, .sv-fchecks, .sv-fswatches, .sv-fcats__sub { list-style: none; margin: 0; padding: 0; }
.sv-fcats > li > a,
.sv-fcats__sub > li > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; color: var(--sv-heading); font-size: 14px; font-weight: 500; }
.sv-fcats a:hover .nm,
.sv-fcats li.is-current > a .nm { color: var(--sv-green-dark); }
.sv-fcats li.is-current > a .nm { font-weight: 700; }
.sv-fcats .cnt { color: var(--sv-muted); font-size: 12px; font-weight: 600; }
.sv-fcats__sub { margin: 2px 0 4px 4px; border-left: 1px solid var(--sv-line); padding-left: 12px; }
.sv-fcats__sub > li > a { padding: 5px 0; font-weight: 400; }

.sv-fchecks li a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--sv-heading); }
.sv-fcheck .box { width: 18px; height: 18px; border: 1.5px solid #cdd5de; border-radius: 5px; flex: none; position: relative; transition: .15s; }
.sv-fcheck:hover .box { border-color: var(--sv-green); }
.sv-fcheck.is-active .box { background: var(--sv-green); border-color: var(--sv-green); }
.sv-fcheck.is-active .box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sv-fcheck .lbl { flex: 1; }
.sv-fcheck.is-active .lbl { font-weight: 600; }
.sv-fcheck .cnt { color: var(--sv-muted); font-size: 12px; font-weight: 600; }

.sv-fswatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-fswatch span { display: block; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--sv-border); }
.sv-fswatch.is-active { outline: 2px solid var(--sv-green); outline-offset: 2px; border-radius: 50%; }

.sv-fprice__row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sv-fprice__row .sep { color: var(--sv-muted); }
.sv-fprice input { width: 100%; border: 1px solid var(--sv-border); border-radius: var(--sv-radius-sm); padding: 9px 10px; font-family: inherit; font-size: 14px; color: var(--sv-heading); }
.sv-fprice input:focus { outline: none; border-color: var(--sv-green); }
.sv-fprice button { width: 100%; }

/* ---- Main column ---- */
.sv-shop__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius); padding: 12px 16px; margin-bottom: 18px; }
.sv-shop__toolbar .woocommerce-result-count { margin: 0; color: var(--sv-text); font-size: 14px; }
.sv-shop__toolbar .woocommerce-ordering { margin: 0; }
.sv-shop__toolbar select.orderby { border: 1px solid var(--sv-border); border-radius: var(--sv-radius-sm); padding: 9px 14px; font-family: inherit; font-size: 14px; color: var(--sv-heading); background: #fff; cursor: pointer; }
.sv-shop__toolbar select.orderby:focus { outline: none; border-color: var(--sv-green); }

.sv-shop__main ul.products { grid-template-columns: repeat(3, 1fr); }

.sv-shop__empty { background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius); padding: 48px 30px; text-align: center; }
.sv-shop__empty p { margin: 0 0 18px; color: var(--sv-text); }

.sv-shop__main .woocommerce-pagination { margin-top: 30px; }
.sv-shop__main .woocommerce-pagination ul { border: 0; }

/* ================================ Pagination (shop + blog), modernised ==== */
.sv-shop__main .woocommerce-pagination ul,
.sv-pagination .nav-links {
  display: flex; flex-wrap: wrap; gap: 10px; list-style: none;
  margin: 0; padding: 0; justify-content: center; align-items: center;
}
.sv-shop__main .woocommerce-pagination ul li { margin: 0; border: 0; }
.sv-shop__main .woocommerce-pagination a,
.sv-shop__main .woocommerce-pagination span,
.sv-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 14px;
  border: 1px solid var(--sv-border); border-radius: 999px;
  background: #fff; color: var(--sv-heading); font-weight: 700; font-size: 14px;
  transition: all .18s ease;
}
.sv-shop__main .woocommerce-pagination a:hover,
.sv-pagination a.page-numbers:hover {
  border-color: var(--sv-accent); color: var(--sv-accent); box-shadow: var(--sv-shadow);
  transform: translateY(-1px);
}
.sv-shop__main .woocommerce-pagination span.current,
.sv-pagination .page-numbers.current {
  background: var(--sv-accent); border-color: var(--sv-accent); color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.28);
}
.sv-pagination { margin-top: 40px; }
.sv-pagination .page-numbers.dots { border: 0; background: none; box-shadow: none; color: var(--sv-muted); }
.sv-pagination .page-numbers.prev,
.sv-pagination .page-numbers.next { padding: 0 18px; font-weight: 600; }

/* ---- Mobile filter toggle ---- */
.sv-shop__filter-toggle { display: none; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius-sm); padding: 11px 18px; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--sv-heading); cursor: pointer; }
.sv-shop__filter-toggle svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .sv-shop__main ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .sv-shop__layout { grid-template-columns: 1fr; }
  .sv-shop__filter-toggle { display: inline-flex; margin-bottom: 16px; }
  .sv-shop__sidebar { display: none; order: 2; margin-top: 16px; }
  .sv-shop__sidebar.is-open { display: flex; }
  .sv-shop__main ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .sv-shop__main ul.products { grid-template-columns: repeat(2, 1fr); }
  .sv-shop__toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .sv-shop__toolbar .woocommerce-ordering select.orderby { width: 100%; }
  .sv-shop__title { font-size: 25px; }
}
@media (max-width: 420px) {
  .sv-shop__main ul.products { grid-template-columns: 1fr; }
}

/* ====================================== Brands index (A–Z) ================= */
.sv-brandspage { padding-top: 26px; padding-bottom: 54px; }
.sv-brands-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; }
.sv-brands-az a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 9px; border: 1px solid var(--sv-border); border-radius: var(--sv-radius-sm); background: #fff; color: var(--sv-heading); font-weight: 700; font-size: 14px; }
.sv-brands-az a:hover { border-color: var(--sv-green); color: var(--sv-green-dark); }

.sv-brands-index { display: flex; flex-direction: column; gap: 26px; }
.sv-brands-group { scroll-margin-top: 90px; }
.sv-brands-group__letter { font-size: 22px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--sv-green); display: inline-block; min-width: 42px; }
.sv-brands-group__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sv-brands-group__list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius); padding: 12px 14px; color: var(--sv-heading); font-weight: 500; font-size: 14px; transition: .15s; }
.sv-brands-group__list a:hover { border-color: var(--sv-green); color: var(--sv-green-dark); box-shadow: var(--sv-shadow); }
.sv-brands-group__list .cnt { color: var(--sv-muted); font-size: 12px; font-weight: 600; }
.sv-brands-empty { background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius); padding: 40px; text-align: center; color: var(--sv-text); }
.sv-brands-note { color: var(--sv-muted); font-size: 13px; margin: 0 0 16px; }
.sv-brand-tile { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--sv-border); border-radius: var(--sv-radius); padding: 14px; color: var(--sv-heading); font-weight: 600; font-size: 14px; text-align: center; }

/* mega-menu extras */
.sv-mm-col h4 a { color: inherit; }
.sv-mm-col h4 a:hover { color: var(--sv-green); }
.sv-mm-all { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--sv-green-dark); }
.sv-mm-all svg { width: 13px; height: 13px; }
.sv-mm-promo__brands { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #fff; font-size: 13px; font-weight: 600; }
.sv-mm-promo__brands svg { width: 13px; height: 13px; }

@media (max-width: 900px) {
  .sv-brands-group__list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .sv-brands-group__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .sv-brands-group__list { grid-template-columns: 1fr; }
}

/* ====================================== Certificates strip ================= */
.sv-hits { display: flex; gap: 20px; }
.sv-hit {
  display: block; flex: 1 1 0; min-width: 0; border-radius: var(--sv-radius-lg); overflow: hidden;
  line-height: 0; transition: transform .2s ease, box-shadow .2s ease;
}
.sv-hit img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.sv-hit:hover { transform: translateY(-3px); box-shadow: var(--sv-shadow-hover); }
.sv-hit--empty {
  flex: 1 1 0; min-width: 0;
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: var(--sv-bg); border: 1px dashed var(--sv-border); color: var(--sv-muted);
  font-size: 13px; text-align: center; padding: 20px;
}
@media (max-width: 720px) {
  .sv-hits { flex-direction: column; }
}

/* ====================================== About + FAQ ======================= */
.sv-about-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sv-about h2, .sv-faq h2 { font-size: 26px; margin: 0 0 16px; }
.sv-about p { color: var(--sv-text); font-size: 15px; line-height: 1.8; margin: 0 0 14px; }
.sv-about .sv-btn { margin-top: 6px; }
.sv-faq__item { border: 1px solid var(--sv-border); border-radius: var(--sv-radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
.sv-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: 0; cursor: pointer; padding: 16px 18px; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--sv-heading); text-align: left; }
.sv-faq__plus { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.sv-faq__plus::before, .sv-faq__plus::after { content: ""; position: absolute; background: var(--sv-accent); border-radius: 2px; transition: transform .2s ease; }
.sv-faq__plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.sv-faq__plus::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.sv-faq__item.is-open .sv-faq__plus::after { transform: scaleY(0); }
.sv-faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.sv-faq__a p { margin: 0; padding: 0 18px 16px; color: var(--sv-text); font-size: 14px; line-height: 1.7; }
@media (max-width: 900px) {
  .sv-about-faq { grid-template-columns: 1fr; gap: 28px; }
  .sv-certs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sv-certs { grid-template-columns: 1fr; }
}

/* ============================== Product gallery: arrows + zoom ============= */
.sv-gallery__main img { cursor: zoom-in; }
.sv-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--sv-border);
  color: var(--sv-heading); font-size: 22px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
}
.sv-gallery__nav:hover { background: var(--sv-accent); border-color: var(--sv-accent); color: #fff; }
.sv-gallery__nav--prev { left: 10px; }
.sv-gallery__nav--next { right: 10px; }

.sv-lightbox { position: fixed; inset: 0; background: rgba(8,15,28,.92); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 40px; }
.sv-lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 8px; background: #fff; }
.sv-lb__close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.sv-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--sv-accent); border: 0; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.sv-lb__nav:hover { background: var(--sv-accent-dark); }
.sv-lb__prev { left: 24px; }
.sv-lb__next { right: 24px; }
@media (max-width: 600px) {
  .sv-gallery__nav { width: 34px; height: 34px; font-size: 18px; }
  .sv-lb__nav { width: 42px; height: 42px; font-size: 26px; left: 10px; }
  .sv-lb__next { right: 10px; }
}

/* ============================== Equal product card sizes =================== */
.woocommerce ul.products,
.sv-products,
.sv-shop__main ul.products { align-items: stretch; }
.woocommerce ul.products li.product { display: flex; }
.woocommerce ul.products li.product > .sv-product { width: 100%; }
.sv-products .sv-product,
.woocommerce ul.products li.product .sv-product { height: 100%; }

/* ============================== Mobile polish ============================= */
@media (max-width: 991px) {
  .sv-header__inner { gap: 14px; min-height: 70px; flex-wrap: wrap; }
  .sv-catalog-btn { order: 3; }
  .sv-search { order: 4; flex: 1 1 100%; max-width: none; }
}
@media (max-width: 600px) {
  .sv-logo { font-size: 22px; }
  .sv-hero__title { font-size: 30px; }
  .sv-summary__title { font-size: 21px; }
  .sv-summary__price { font-size: 25px; }
  .sv-shop__title { font-size: 22px; }
  .sv-section { padding: 32px 0; }
  .sv-section-head h2 { font-size: 20px; }
  .sv-gallery { grid-template-columns: 1fr; }
  .sv-gallery__thumbs { flex-direction: row; flex-wrap: wrap; }
  .sv-summary form.cart { gap: 10px; }
}

/* ============================ WooCommerce buttons → accent ================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce #place_order,
.woocommerce button#place_order,
.woocommerce .checkout-button,
.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout a.button,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wp-block-woocommerce-checkout button,
.sv-summary .single_add_to_cart_button {
  background: var(--sv-accent) !important;
  color: var(--sv-accent-contrast) !important;
  border: 1px solid var(--sv-accent) !important;
  border-radius: var(--sv-radius-sm);
  font-family: var(--sv-font);
  font-weight: 700;
  box-shadow: none;
  text-shadow: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover,
.woocommerce .checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a.button:hover,
.wc-block-components-button:hover,
.sv-summary .single_add_to_cart_button:hover {
  background: var(--sv-accent-dark) !important;
  border-color: var(--sv-accent-dark) !important;
  color: #fff !important;
}
/* "Купити зараз" — secondary (outline blue) */
.sv-summary .sv-buy-now.button,
.sv-buy-now {
  background: #fff !important;
  color: var(--sv-accent) !important;
  border: 2px solid var(--sv-accent) !important;
  border-radius: var(--sv-radius-sm);
  font-weight: 700;
}
.sv-summary .sv-buy-now.button:hover,
.sv-buy-now:hover { background: var(--sv-accent) !important; color: #fff !important; }
/* misc WC accents → blue */
.woocommerce span.onsale,
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background: var(--sv-accent) !important; color: #fff; }
.woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce .sv-summary__price ins { color: var(--sv-heading); }

/* ===================== Fixes round (empty first cell, scrollbar, logo) ===== */
/* WooCommerce clearfix ::before/::after become phantom GRID cells → first tile
   appeared empty and shifted products right. Kill them on our grids. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.sv-shop__main ul.products::before,
.sv-shop__main ul.products::after,
.sv-single .related.products::before,
.sv-single .related.products::after,
.sv-products::before,
.sv-products::after { content: none !important; display: none !important; }

/* Wide logo support (logo can be wide/tall). */
.sv-logo img { max-height: 60px; max-width: 260px; width: auto; }
@media (max-width: 600px){ .sv-logo img { max-height: 46px; max-width: 180px; } }

/* Subtle gray scrollbar on long pages. */
html { scrollbar-width: thin; scrollbar-color: #c4cdd8 transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c4cdd8; border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #9aa5b1; background-clip: content-box; }

/* ============================ Per-tab mega-dropdowns ====================== */
/* .sv-mega is positioned against .sv-nav (position:relative, full-bleed bar),
   not against the tab <li> itself, so the panel spans the whole nav width
   regardless of which tab triggered it — same technique as .sv-megamenu.
   The base ".sv-menu > li { position: relative }" rule above (for regular
   .sub-menu dropdowns) would otherwise make THIS <li> the containing block
   instead — override it back to static so .sv-mega's absolute positioning
   bubbles up past it to .sv-nav. */
.sv-menu > li.sv-has-mega { position: static; }
.sv-menu > li.sv-has-mega > a::after {
  content: ""; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6; margin-left: 4px;
}
.sv-mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 80;
  background: #fff; border-top: 1px solid var(--sv-border);
  box-shadow: var(--sv-shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  max-height: 70vh;
  overflow-y: auto;
}
.sv-mega > .sv-container { padding-top: 26px; padding-bottom: 30px; }
.sv-menu > li.sv-has-mega:hover .sv-mega { opacity: 1; visibility: visible; transform: none; }
.sv-mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 28px; }
.sv-mega__cols--brands { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.sv-mega__link {
  display: block;
  padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--sv-heading);
  border-bottom: 1px solid var(--sv-line);
}
.sv-mega__cols--brands .sv-mega__link { border-bottom: 0; padding: 6px 0; }
.sv-mega__link:hover { color: var(--sv-accent); }
@media (max-width: 1100px) { .sv-mega { display: none !important; } }

/* ============================ TI Wishlist page polish ====================== */
.tinv-wishlist .tinv-header h2 { display: none; } /* "Default wishlist" — plugin's multi-list label, irrelevant with a single list */
.tinvwl-table-manage-list { border-collapse: collapse; width: 100%; }
.tinvwl-table-manage-list th {
  padding: 12px 10px;
  border-bottom: 2px solid var(--sv-border);
  text-align: left;
}
.tinvwl-table-manage-list td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--sv-line);
  vertical-align: middle;
}
.tinvwl-table-manage-list .product-remove button {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sv-line); color: var(--sv-text);
  font-family: var(--sv-font); border: 0;
}
.tinvwl-table-manage-list .product-remove button:hover { background: var(--sv-border); color: var(--sv-heading); }
.tinvwl-table-manage-list .product-thumbnail img { border-radius: var(--sv-radius-sm); }
.tinvwl-table-manage-list .product-name a { color: var(--sv-heading); font-weight: 600; }
.tinvwl-table-manage-list .product-stock { color: var(--sv-stock); }
.tinv-wishlist select { border-radius: var(--sv-radius-sm); border-color: var(--sv-border); font-family: var(--sv-font); }
