/* ============================================================
   ZOOЛЮКС — zoolux.css v4
   catalog/view/stylesheet/zoolux.css
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --zl-purple:      #8a38f5;
  --zl-purple-pale: rgba(138,56,245,0.10);
  --zl-orange:      #f09039;
  --zl-green:       #cef389;
  --zl-lavender:    #dac9ed;
  --zl-red:         #f34e4e;
  --zl-text:        #000;
  --zl-muted:       #a1a1a4;
  --zl-border:      #e0e0e0;
  --zl-bg:          #f2f6fa;
  --zl-white:       #fff;
  --zl-font:        'Nunito Sans', Helvetica, Arial, sans-serif;
  --zl-r-sm:   8px;
  --zl-r-md:   12px;
  --zl-r-lg:   20px;
  --zl-r-pill: 21px;
  --zl-shadow: 0 3px 13px rgba(0,0,0,0.18);
  --zl-t:      0.2s ease;
}

/* ── Base ──────────────────────────────────────────────────── */
body  { font-family: var(--zl-font) !important; }
main  { margin: 20px; }
a     { transition: color var(--zl-t); }

/* ── TOP BAR ───────────────────────────────────────────────── */
.zl-topbar         { background: #f2f2f2; padding: 10px 0; }
.zl-topbar__inner  { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.zl-topbar__left   { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.zl-topbar__item   { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--zl-purple); }
.zl-topbar__phone  { font-size: 16px; font-weight: 800; color: var(--zl-purple); text-decoration: none; }
.zl-topbar__phone:hover { opacity: .8; color: var(--zl-purple); }

/* ── HEADER ───────────────────────────────────────────────── */
.zl-header     { background: var(--zl-white); padding: 12px 0; position: sticky; top: 0; z-index: 200; }
.zl-header__row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.zl-header__logo   { flex-shrink: 0; }
.zl-header__search { flex: 1; min-width: 0; }
.zl-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.zl-logo-img  { height: 36px; width: auto; display: block; }
.zl-logo-text { font-family: var(--zl-font); font-size: 28px; font-weight: 800; color: var(--zl-text); text-decoration: none; letter-spacing: -1px; }
.zl-logo-text span { color: var(--zl-purple); }

/* Search */
.zl-header__search form,
.zl-header__search .input-group {
  border: 1.5px solid var(--zl-purple) !important;
  border-radius: var(--zl-r-sm) !important;
  overflow: hidden;
  box-shadow: none !important;
  background: var(--zl-white);
  flex-wrap: nowrap;
  margin-top: 15px;
}
.zl-header__search input[type="text"],
.zl-header__search input[type="search"] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-family: var(--zl-font) !important;
  flex: 1;
}
.zl-header__search button,
.zl-header__search .btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--zl-purple) !important;
  padding: 8px 14px !important;
  display: flex;
  align-items: center;
}

/* ── ALERTS ───────────────────────────────────────────────── */

#alert {
  position: fixed;
  top: 90px;
  right: 24px;
  left: auto;
  width: 420px;
  margin: 0;
  z-index: 9999;
  pointer-events: none;
}

#alert .alert {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 14px;
  padding: 16px 18px;

  border: 1px solid transparent;
  border-radius: var(--zl-r-md);

  background: var(--zl-white);
  color: var(--zl-text);

  box-shadow:
    0 10px 35px rgba(0,0,0,.08),
    0 3px 10px rgba(0,0,0,.04);

  backdrop-filter: blur(10px);

  pointer-events: auto;

  animation: zlAlertIn .25s ease;
}

/* Glow line */
#alert .alert::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 10px;
}

/* Success */
#alert .alert-success {
  border-color: rgba(138,56,245,.12);
  background:
    linear-gradient(
      135deg,
      rgba(138,56,245,.05),
      rgba(206,243,137,.08)
    ),
    #fff;
}

#alert .alert-success::before {
  background: linear-gradient(
    180deg,
    var(--zl-purple),
    var(--zl-green)
  );
}

/* Error */
#alert .alert-danger {
  border-color: rgba(243,78,78,.12);
  background:
    linear-gradient(
      135deg,
      rgba(243,78,78,.05),
      rgba(240,144,57,.06)
    ),
    #fff;
}

#alert .alert-danger::before {
  background: linear-gradient(
    180deg,
    var(--zl-red),
    var(--zl-orange)
  );
}

/* Icon */
#alert .alert i {
  flex-shrink: 0;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-size: 16px;
}

#alert .alert-success i {
  color: var(--zl-purple);
  background: rgba(138,56,245,.10);
}

#alert .alert-danger i {
  color: var(--zl-red);
  background: rgba(243,78,78,.10);
}

/* Text */
#alert .alert {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

/* Close button */
#alert .btn-close {
  margin-left: auto;
  flex-shrink: 0;

  opacity: .45;
  transition: all var(--zl-t);

  box-shadow: none !important;
  outline: none !important;
}

#alert .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.08);
}

/* Animation */
@keyframes zlAlertIn {
  from {
    opacity: 0;
    transform: translateX(40px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Mobile */
@media (max-width: 768px) {

  #alert {
    top: 80px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  #alert .alert {
    padding: 14px 16px;
    font-size: 14px;
  }

  #alert .alert i {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

/* ── CART DROPDOWN ────────────────────────────────────────── */

/* wrapper */
#cart.dropdown {
  position: relative;
}

/* button */
#cart .btn-dark {
  border: none !important;
  border-radius: var(--zl-r-pill) !important;
  color: var(--zl-purple) !important;
  font-family: var(--zl-font);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  box-shadow: var(--zl-shadow);
  transition: all var(--zl-t);
  display: flex;
  align-items: center;
  gap: 10px;
}

#cart .btn-dark:hover,
#cart .btn-dark:focus,
#cart .btn-dark.show {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(138,56,245,.25);
}

#cart .btn-dark i {
  font-size: 16px;
}

/* dropdown */
#cart .dropdown-menu {
  width: 420px;
  max-width: calc(100vw - 20px);
  border: none !important;
  border-radius: var(--zl-r-lg) !important;
  background: var(--zl-white);
  box-shadow: 0 10px 35px rgba(0,0,0,.16);
  padding: 18px !important;
  margin-top: 12px !important;
  overflow: hidden;
}

/* table */
#cart .table {
  margin-bottom: 0;
  vertical-align: middle;
}

#cart .table-striped > tbody > tr:nth-of-type(odd) > * {
  background: rgba(138,56,245,.03);
}

#cart .table tr {
  border-color: var(--zl-border);
}

#cart .table td {
  padding: 12px 8px;
  border-color: var(--zl-border);
  font-size: 14px;
  color: var(--zl-text);
}

/* product image */
#cart .img-thumbnail {
  border: 1px solid var(--zl-border);
  border-radius: var(--zl-r-md);
  background: var(--zl-white);
  padding: 4px;
  transition: transform var(--zl-t);
}

#cart .img-thumbnail:hover {
  transform: scale(1.04);
}

/* product title */
#cart td a {
  color: var(--zl-text);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--zl-t);
}

#cart td a:hover {
  color: var(--zl-purple);
}

/* product meta */
#cart small {
  color: var(--zl-muted);
  font-size: 12px;
  line-height: 1.3;
}

/* qty */
#cart .text-nowrap {
  font-weight: 700;
  color: var(--zl-purple);
}

/* total */
#cart td.text-end {
  font-weight: 700;
}

/* remove button */
#cart .btn-danger {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none !important;
  background: rgba(243,78,78,.1) !important;
  color: var(--zl-red) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--zl-t);
  padding: 0;
}

#cart .btn-danger:hover {
  background: var(--zl-red) !important;
  color: var(--zl-white) !important;
  transform: rotate(90deg);
}

/* totals block */
#cart .table-sm {
  margin-top: 16px;
  border-radius: var(--zl-r-md);
  overflow: hidden;
  border: 1px solid var(--zl-border);
}

#cart .table-sm td {
  background: #fafafa;
  padding: 10px 12px;
  font-size: 14px;
}

#cart .table-sm strong {
  color: var(--zl-purple);
}

/* footer links */
#cart p.text-end {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0 0;
}

#cart p.text-end a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: var(--zl-r-pill);
  font-size: 14px;
  font-weight: 800;
  transition: all var(--zl-t);
}

/* cart button */
#cart p.text-end a:first-child {
  background: rgba(138,56,245,.08);
  color: var(--zl-purple);
}

#cart p.text-end a:first-child:hover {
  background: var(--zl-purple);
  color: var(--zl-white);
}

/* checkout button */
#cart p.text-end a:last-child {
  background: var(--zl-orange);
  color: var(--zl-white);
}

#cart p.text-end a:last-child:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(240,144,57,.3);
}

/* empty cart */
#cart .dropdown-menu li.text-center {
  color: var(--zl-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 40px 10px !important;
}

/* scrollbar */
#cart .dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

#cart .dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(138,56,245,.25);
  border-radius: 20px;
}

/* mobile */
@media (max-width: 576px) {
  #cart .dropdown-menu {
    width: 100%;
    min-width: 100%;
    border-radius: var(--zl-r-md) !important;
  }

  #cart p.text-end {
    flex-direction: column;
  }

  #cart .btn-dark {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Actions */
.zl-nav-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 300;
  color: var(--zl-text) !important;
  text-decoration: none !important;
  transition: color var(--zl-t);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--zl-font);
  padding: 0;
}
.zl-nav-action:hover                    { color: var(--zl-purple) !important; }
.zl-nav-action.dropdown-toggle::after  { display: none !important; }

.zl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1.5px solid var(--zl-purple) !important;
  border-radius: var(--zl-r-pill);
  font-size: 15px;
  font-weight: 700;
  color: var(--zl-purple) !important;
  text-decoration: none !important;
  font-family: var(--zl-font);
  transition: background var(--zl-t);
  flex-shrink: 0;
  white-space: nowrap;
}
.zl-btn-outline:hover { background: var(--zl-purple-pale); }

/* Cart */
.zl-cart-wrap { position: relative; }
.zl-cart-wrap #cart-total,
.zl-cart-wrap > a,
.zl-cart-wrap .btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  color: var(--zl-text) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--zl-font) !important;
}
.zl-cart-wrap .btn:hover { color: var(--zl-purple) !important; }

/* Dropdown */
/*.zl-dropdown-menu {
  border: 1.5px solid var(--zl-border) !important;
  border-radius: var(--zl-r-md) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
  padding: 8px !important;
  min-width: 200px;
}
.zl-dropdown-menu .dropdown-item {
  border-radius: 8px;
  font-size: 15px;
  padding: 8px 12px;
  color: var(--zl-text) !important;
  transition: all var(--zl-t);
}
.zl-dropdown-menu .dropdown-item:hover {
  background: var(--zl-purple-pale) !important;
  color: var(--zl-purple) !important;
}*/

/* ── Account nav trigger ───────────────────────────────────── */
.zl-nav-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 300;
  color: var(--zl-text) !important;
  text-decoration: none !important;
  transition: color var(--zl-t);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--zl-font);
  padding: 0;
}
.zl-nav-action:hover                    { color: var(--zl-purple) !important; }
.zl-nav-action.dropdown-toggle::after  { display: none !important; }

/* ── Account Dropdown Menu ─────────────────────────────────── */
.zl-dropdown-menu {
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13) !important;
  padding: 12px !important;
  min-width: 260px;
  background: #fff !important;
}

/* ── User profile card at top ──────────────────────────────── */
.zl-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--zl-lavender);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
  text-decoration: none !important;
  transition: background var(--zl-t);
}
.zl-user-card:hover {
  background: #cbb8e0;
}

/* Avatar circle with SVG person icon */
.zl-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}
.zl-user-avatar img,
.zl-user-avatar svg {
  width: 32px;
  height: 32px;
  display: block;
}

.zl-user-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--zl-text);
  font-family: var(--zl-font);
  flex: 1;
}

.zl-user-card__arrow {
  color: #888;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Menu Items ────────────────────────────────────────────── */
.zl-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  padding: 11px 14px;
  color: var(--zl-text) !important;
  transition: background var(--zl-t), color var(--zl-t);
  font-family: var(--zl-font);
  text-decoration: none !important;
}
.zl-dropdown-menu .dropdown-item:hover {
  background: rgba(138,56,245,0.07) !important;
  color: var(--zl-purple) !important;
}
.zl-dropdown-menu .dropdown-item:hover .zl-menu-icon {
  color: var(--zl-purple);
}
.zl-dropdown-menu .dropdown-item:hover .zl-menu-icon svg path,
.zl-dropdown-menu .dropdown-item:hover .zl-menu-icon svg circle,
.zl-dropdown-menu .dropdown-item:hover .zl-menu-icon svg rect {
  stroke: var(--zl-purple);
}

/* Icon wrapper */
.zl-menu-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #b0b0b8;
  transition: color var(--zl-t);
}
.zl-menu-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Divider */
.zl-dropdown-menu .dropdown-divider {
  margin: 6px 0 !important;
  border-color: #f0f0f0 !important;
}

/* Logout item */
.zl-dropdown-menu .dropdown-item--logout {
  color: #e05252 !important;
  margin-top: 2px;
}
.zl-dropdown-menu .dropdown-item--logout:hover {
  background: rgba(240,80,80,0.07) !important;
  color: #c93939 !important;
}
.zl-dropdown-menu .dropdown-item--logout .zl-menu-icon {
  color: #e05252;
}

/* ── Guest state: register/login links ─────────────────────── */
.zl-dropdown-menu .zl-guest-header {
  font-size: 14px;
  color: var(--zl-muted);
  font-family: var(--zl-font);
  padding: 8px 14px 4px;
  display: block;
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .zl-dropdown-menu {
    min-width: 240px !important;
  }
}


/* ── HAMBURGER BUTTON ──────────────────────────────────────── */
.zl-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.zl-hamburger__bar { width: 22px; height: 2px; background: var(--zl-purple); border-radius: 2px; display: block; }

/* ── MOBILE SLIDE-IN MENU (aside#zlMobileMenu) ─────────────── */
.zl-mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 900;
}
.zl-mob-overlay.is-open { display: block; }

.zl-mob-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100%;
  background: var(--zl-white);
  z-index: 910;
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,.15);
  overflow-y: auto;
}
.zl-mob-menu.is-open { transform: translateX(0); }

.zl-mob-menu__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--zl-border);
  flex-shrink: 0;
}
.zl-mob-menu__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  border-radius: 50%;
}
.zl-mob-menu__close:hover { background: #f5f5f5; }
.zl-mob-menu__body        { padding: 12px 0; flex: 1; }
.zl-mob-link {
  display: block;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--zl-text);
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
}
.zl-mob-link:hover { color: var(--zl-purple); background: var(--zl-purple-pale); }

/* ══════════════════════════════════════════════════════════
   CATEGORY NAV BAR
══════════════════════════════════════════════════════════ */

.zl-catnav-wrap { background: var(--zl-orange); border-radius: var(--zl-r-sm); margin: 4px 0 0; }

.zl-catnav {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  position: relative;
}

/* Строка "Категории + бургер" — видна только на мобиле */
.zl-catnav__mob-row {
  display: none; /* скрыта по умолчанию, показывается на мобиле */
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.zl-catnav__mob-label {
  color: #fff;
  font-weight: 700;
  padding: 14px 12px;
  font-size: 15px;
  flex: 1;
}

/* Кнопка-бургер */
.zl-catnav__toggler {
  display: none; /* показывается только на мобиле */
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

/* Список категорий — десктоп: горизонтальный flex */
.zl-catnav__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.zl-catnav__items {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.zl-catnav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.2;
  border-radius: 6px;
  transition: background var(--zl-t);
  font-family: var(--zl-font);
}
.zl-catnav__link:hover,
.zl-catnav__link:focus               { background: rgba(255,255,255,.18); color: #fff !important; }
.zl-catnav__link.dropdown-toggle::after { display: none !important; }
.zl-catnav__link--promo              { gap: 6px; }
.zl-catnav__link--excl               { font-size: 13px; text-align: right; line-height: 1.3; padding: 8px 12px; margin-left: auto; }

/* Dropdown десктоп */
.zl-catnav__dropdown {
  border: none !important;
  border-radius: var(--zl-r-md) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.14) !important;
  padding: 16px !important;
  background: var(--zl-white);
  margin-top: 4px !important;
}
.zl-catnav__dropdown .dropdown-item       { font-size: 14px !important; color: #333 !important; padding: 5px 8px !important; border-radius: 6px !important; }
.zl-catnav__dropdown .dropdown-item:hover { background: var(--zl-purple-pale) !important; color: var(--zl-purple) !important; }

/* ── SHARED UTILITIES ──────────────────────────────────────── */
.zl-section-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
  font-family: var(--zl-font);
  color: var(--zl-text);
}
.zl-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: var(--zl-white);
  border-radius: var(--zl-r-pill);
  font-size: 16px;
  font-weight: 400;
  color: var(--zl-purple);
  text-decoration: none;
  box-shadow: 0 0 4px rgba(0,0,0,.2);
  transition: all var(--zl-t);
  font-family: var(--zl-font);
}
.zl-btn-pill:hover { background: var(--zl-purple); color: #fff; }

/* ── CONTENT MODULES ───────────────────────────────────────── */
.zl-content-top,
.zl-content-bottom  { display: flex; flex-direction: column; }
.zl-module-wrap     { margin-bottom: 40px; }
.zl-module-wrap:last-child { margin-bottom: 0; }

.zl-module-wrap h3,
.zl-content-top h3,
.zl-content-bottom h3 {
  font-weight: 400;
  color: var(--zl-text);
  margin-bottom: 20px;
  font-family: var(--zl-font);
}

.zl-module-wrap .product-thumb {
  border-radius: var(--zl-r-md);
  border: none;
  box-shadow: var(--zl-shadow);
  transition: box-shadow var(--zl-t), transform var(--zl-t);
  overflow: hidden;
}
.zl-module-wrap .product-thumb:hover      { box-shadow: 0 6px 24px rgba(138,56,245,.18); transform: translateY(-2px); }
.zl-module-wrap .product-thumb .caption  { padding: 12px; }
.zl-module-wrap .product-thumb h4 a      { font-size: 15px; font-weight: 600; color: var(--zl-text); font-family: var(--zl-font); }
.zl-module-wrap .product-thumb h4 a:hover { color: var(--zl-purple); }
.zl-module-wrap .price                   { font-size: 16px; font-weight: 800; color: var(--zl-purple); font-family: var(--zl-font); }
.zl-module-wrap .price-new               { color: var(--zl-red); }
.zl-module-wrap .price-old               { color: var(--zl-muted); text-decoration: line-through; font-weight: 400; }
.zl-module-wrap .btn-cart,
.zl-module-wrap .btn-primary {
  background: var(--zl-purple) !important;
  border-color: var(--zl-purple) !important;
  border-radius: var(--zl-r-pill) !important;
  font-family: var(--zl-font) !important;
  font-weight: 400 !important;
}
.zl-module-wrap .btn-cart:hover,
.zl-module-wrap .btn-primary:hover { background: #7528e0 !important; border-color: #7528e0 !important; }

/* ── BANNER SLIDER ─────────────────────────────────────────── */
.zl-fullwidth-banner { overflow: hidden; }

.zl-fullwidth-banner .zl-content-top,
.zl-fullwidth-banner .zl-module-wrap {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.zl-fullwidth-banner .row,
.zl-fullwidth-banner [class*="col-"] {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.zl-banner-carousel,
.zl-banner-carousel .carousel-inner,
.zl-banner-carousel .carousel-item {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
}

.zl-banner-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.zl-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
}

.zl-banner-prev,
.zl-banner-next {
  width: 44px !important;
  height: 44px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  background: rgba(255,255,255,0.92) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease !important;
}
.zl-banner-prev { margin-left: 16px; }
.zl-banner-next { margin-right: 16px; }
.zl-banner-prev:hover,
.zl-banner-next:hover { background: var(--zl-purple) !important; opacity: 1 !important; }
.zl-banner-prev .fa-chevron-left,
.zl-banner-next .fa-chevron-right { color: #333 !important; font-size: 14px !important; }
.zl-banner-prev:hover .fa-chevron-left,
.zl-banner-next:hover .fa-chevron-right { color: #fff !important; }

.zl-banner-carousel .carousel-indicators {
  bottom: 16px !important;
  margin: 0 !important;
  gap: 4px;
  align-items: center;
}
.zl-banner-carousel .carousel-indicators [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: rgb(138, 56, 245);
  opacity: 1 !important;
  margin: 0 3px;
  transition: all 0.25s ease;
  border:none;
}
.zl-banner-carousel .carousel-indicators .active {
  width: 20px !important;
  border-radius: 4px !important;
}

/* ── PROMO CAROUSEL ────────────────────────────────────────── */
.zl-promo-section   { padding: 32px 0; }
.zl-promo-carousel  { position: relative; overflow: hidden; border-radius: var(--zl-r-md); }
.zl-promo-track     { display: flex; transition: transform .4s ease; }
.zl-promo-slide     { flex: 0 0 100%; }
.zl-promo-img       { width: 100%; height: auto; display: block; border-radius: var(--zl-r-md); max-height: 468px; object-fit: cover; }
.zl-promo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--zl-text);
  z-index: 10;
  transition: all var(--zl-t);
}
.zl-promo-btn:hover    { background: var(--zl-purple); color: #fff; }
.zl-promo-btn--prev    { left: 12px; }
.zl-promo-btn--next    { right: 12px; }
.zl-promo-dots         { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.zl-promo-dot          { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; padding: 0; transition: all var(--zl-t); }
.zl-promo-dot--active  { background: #fff; width: 20px; border-radius: 4px; }

/* ── TOP CATEGORIES WALL ───────────────────────────────────── */
.zl-cats-wall { padding: 28px 0 0; }
.zl-cats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 24px;
}
.zl-cat {
  position: relative;
  border-radius: var(--zl-r-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  text-decoration: none !important;
  transition: transform var(--zl-t);
}
.zl-cat:hover             { transform: scale(1.025); }
.zl-cat--wide             { grid-column: 1; grid-row: 1/3; }
.zl-cat--tall             { grid-column: 4; grid-row: 1/3; }
.zl-cat--wide-sm          { grid-column: 2/4; }
.zl-cat--orange           { background: #f0a56c; }
.zl-cat--green            { background: #cef389; }
.zl-cat--purple           { background: #dac9ed; }
.zl-cat--purple-wide      { background: #dac9ed; }
.zl-cat__label {
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 300;
  color: var(--zl-text);
  font-family: var(--zl-font);
  white-space: nowrap;
  z-index: 2;
  position: relative;
  line-height: 1.3;
}
.zl-cat__img       { position: absolute; bottom: 0; right: 8px; height: 85%; width: auto; object-fit: contain; pointer-events: none; }
.zl-cat__img--vet  { height: 75%; right: 0; }

/* ── CATEGORY WALL ─────────────────────────────────────────── */
.zl-cwall            { padding: 28px 0 32px; }
.zl-cwall-title      { font-size: 32px; font-weight: 400; color: #000; margin-bottom: 20px; font-family: var(--zl-font); }
.zl-cwall__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 20px;
}
.zl-cwall-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 14px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zl-cwall-card:hover { transform: scale(1.025); box-shadow: 0 8px 28px rgba(0,0,0,0.14); text-decoration: none !important; }
.zl-cwall-card__label {
  background: #fff;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 17px;
  font-weight: 400;
  color: #222;
  font-family: var(--zl-font);
  line-height: 1.25;
  position: relative;
  z-index: 3;
  max-width: 80%;
  display: inline-block;
}
.zl-cwall-card__animal {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 90%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}
.zl-cwall-card__decor {
  position: absolute;
  bottom: 0;
  left: 0;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
  z-index: 1;
  height: 88%;
}
.zl-cwall-card .card-img-top,
.zl-cwall-card .card-body,
.zl-cwall-card .card-title,
.zl-cwall-card .card-text,
.zl-cwall-card .list-group { display: none !important; }

.zl-cwall__grid > a:nth-child(1) { grid-column: 1/3; grid-row: 1; background: #f0a56c; }
.zl-cwall__grid > a:nth-child(1) .zl-cwall-card__animal { height: 130%; right: 82px; bottom: -31px; }
.zl-cwall__grid > a:nth-child(2) { grid-column: 3;   grid-row: 1; background: #cef389; }
.zl-cwall__grid > a:nth-child(2) .zl-cwall-card__animal { height: 70%; right: 6px; bottom: 12px; }
.zl-cwall__grid > a:nth-child(3) { grid-column: 4;   grid-row: 1; background: #cef389; }
.zl-cwall__grid > a:nth-child(3) .zl-cwall-card__animal { height: 95%; right: 5px; bottom: -28px; }
.zl-cwall__grid > a:nth-child(4) { grid-column: 1;   grid-row: 2; background: #cef389; }
.zl-cwall__grid > a:nth-child(4) .zl-cwall-card__animal { height: 110%; right: 0; bottom: -25px; }
.zl-cwall__grid > a:nth-child(5) { grid-column: 2/4; grid-row: 2; background: #dac9ed; }
.zl-cwall__grid > a:nth-child(5) .zl-cwall-card__animal { height: 180%; right: -10px; bottom: -80px; }
.zl-cwall__grid > a:nth-child(6) { grid-column: 4;   grid-row: 2; background: #f0a56c; }
.zl-cwall__grid > a:nth-child(6) .zl-cwall-card__animal { height: 136%; right: 0; bottom: -56px; }
.zl-cwall__grid > a:nth-child(7) { grid-column: 5;   grid-row: 1/3; background: #dac9ed; }
.zl-cwall__grid > a:nth-child(7) .zl-cwall-card__animal { height: 75%; right: 0; bottom: 0; width: 100%; object-fit: cover; object-position: right bottom; }
.zl-cwall__grid > a:nth-child(7) .zl-cwall-card__label  { max-width: 95%; font-size: 15px; }

/* ── GIFT CERTIFICATE ──────────────────────────────────────── */
.zl-gift {
  border-radius: var(--zl-r-md);
  overflow: hidden;
  margin: 32px 0;
  background: radial-gradient(ellipse at 70% 50%, #e8b4f0 0%, #c4b8f5 30%, #a8b8f8 90%);
  position: relative;
  min-height: 228px;
}
.zl-gift__inner   { display: flex; align-items: center; justify-content: space-between; padding: 40px 80px; min-height: 228px; position: relative; }
.zl-gift__content { position: relative; z-index: 2; }
.zl-gift__title   { font-size: 48px; font-weight: 800; color: #fff; line-height: 1.01; margin-bottom: 20px; font-family: var(--zl-font); }
.zl-gift__btn     { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 20px; background: #fff; border-radius: var(--zl-r-pill); font-size: 18px; color: var(--zl-purple); text-decoration: none; font-family: var(--zl-font); transition: all var(--zl-t); }
.zl-gift__btn:hover { background: var(--zl-purple); color: #fff; }
.zl-gift__pets    { height: 120%; max-height: 280px; object-fit: contain; position: absolute; right: 40px; bottom: 0; top: -30px;}

/* ── CARE ──────────────────────────────────────────────────── */
.zl-care { position: relative; padding: 40px 0; margin: 32px 0; overflow: hidden; background: rgba(138,56,245,.15); border-radius: var(--zl-r-md); }
.zl-care__bg      { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.zl-care__pattern { width: 100%; height: 100%; object-fit: cover; opacity: .08; }
.zl-care__head    { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 32px; margin-bottom: 28px; position: relative; z-index: 2; }
.zl-care__title   { font-size: 40px; font-weight: 800; color: var(--zl-purple); font-family: var(--zl-font); line-height: 1; }
.zl-care__sub     { font-size: 14px; font-weight: 700; color: var(--zl-text); margin: 4px 0 0; font-family: var(--zl-font); }
.zl-care-carousel-wrap { position: relative; padding: 0 32px; }
.zl-care-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.zl-care-track::-webkit-scrollbar { display: none; }
.zl-care-card { flex: 0 0 180px; background: #fff; border-radius: var(--zl-r-md); box-shadow: var(--zl-shadow); overflow: hidden; scroll-snap-align: start; }
.zl-care-card__img  { height: 184px; background-color: #f0f0f0; background-size: contain; background-repeat: no-repeat; background-position: center bottom; }
.zl-care-card__body { padding: 12px; }
.zl-care-card__name { font-size: 15px; font-weight: 400; color: var(--zl-text); line-height: 1.3; margin-bottom: 12px; font-family: var(--zl-font); }
.zl-care-card__btn  { width: 100%; height: 28px; background: var(--zl-purple); color: #fff; border-radius: var(--zl-r-pill); font-size: 15px; font-weight: 400; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; transition: background var(--zl-t); font-family: var(--zl-font); }
.zl-care-card__btn:hover { background: #7528e0; color: #fff; }
.zl-care-nav { position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 32px; height: 32px; background: #fff; border: none; border-radius: 50%; box-shadow: 0 0 4px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--zl-text); transition: all var(--zl-t); z-index: 5; }
.zl-care-nav:hover { background: var(--zl-purple); color: #fff; }

.zl-advantages {
  background:
    radial-gradient(ellipse at 15% 40%, rgba(255,255,255,0.35) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(255,255,255,0.25) 0%, transparent 40%),
    linear-gradient(135deg, #a78bfa 0%, #9061f9 30%, #7c3aed 60%, #8b5cf6 80%, #a855f7 100%);
  border-radius: var(--zl-r-md);
  padding: 36px;
  margin: 32px 0;
}
 
.zl-advantages__title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
  font-family: var(--zl-font);
}
 
.zl-advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
 
/* Карточка преимущества */
.zl-adv-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--zl-r-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
 
/* Иконка — цветной квадрат с закруглениями */
.zl-adv-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 
.zl-adv-card__icon-wrap--orange { background: rgba(245,166,35,0.15); }
.zl-adv-card__icon-wrap--red    { background: rgba(232,93,93,0.12);  }
.zl-adv-card__icon-wrap--teal   { background: rgba(34,197,197,0.12); }
.zl-adv-card__icon-wrap--pink   { background: rgba(192,132,252,0.15);}
 
/* Старый .zl-adv-card__icon оставляем для совместимости */
.zl-adv-card__icon { width: 50px; height: 46px; }
 
.zl-adv-card__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--zl-text);
  font-family: var(--zl-font);
  line-height: 1.3;
}
 
.zl-adv-card__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  font-family: var(--zl-font);
}
 
/* ── Адаптив ────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .zl-advantages__grid { grid-template-columns: repeat(2, 1fr); }
}
 
@media (max-width: 991px) {
  .zl-advantages__title { font-size: 32px; }
}
 
@media (max-width: 767px) {
  .zl-advantages { padding: 24px 16px; }
  .zl-advantages__title { font-size: 26px; margin-bottom: 20px; }
  .zl-advantages__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .zl-adv-card { padding: 16px 14px; gap: 10px; }
  .zl-adv-card__title { font-size: 14px; }
  .zl-adv-card__desc  { font-size: 13px; }
}
 
@media (max-width: 479px) {
  .zl-advantages__grid { grid-template-columns: 1fr; }
}


/* Общий градиент для обоих блоков — один и тот же фон */
.zl-b2b-gradient {
  background:
    radial-gradient(ellipse at 20% 60%, rgba(255,180,120,0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255,160,100,0.45) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(200,140,240,0.5) 0%, transparent 60%),
    linear-gradient(135deg, #f5c5a0 0%, #e8a8d0 35%, #c9a0f0 65%, #d4b0f5 100%);
}

.zl-b2b-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.zl-b2b-card {
  border-radius: var(--zl-r-md);
  min-height: 220px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  /* Единый градиент для обоих блоков */
  background:
    radial-gradient(ellipse at 15% 65%, rgba(255,185,130,0.6) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 25%, rgba(255,165,110,0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(195,135,245,0.55) 0%, transparent 58%),
    linear-gradient(140deg, #f5c8a8 0%, #e8aad5 40%, #c8a2f2 70%, #d6b5f8 100%);
}

/* Левый блок — flex-row чтобы разместить фото справа */
.zl-b2b-card--wholesale {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 0 40px; /* нижний padding = 0 чтобы фото касалось низа */
}

/* Контентная часть левого блока */
.zl-b2b-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  padding-bottom: 36px;
}

/* Фото партнёров */
.zl-b2b-card__photo {
  height: 280px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  align-self: flex-end;
  flex-shrink: 0;
  display: block;
  margin-right: 50px;
}

/* Заголовки — фиолетовые как на макете */
.zl-b2b-card__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--zl-purple);
  line-height: 1.1;
  margin-bottom: 12px;
  font-family: var(--zl-font);
}
.zl-b2b-card__title--sm { font-size: 28px; }

/* Описание — тёмное на светлом фоне */
.zl-b2b-card__desc {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  max-width: 380px;
  line-height: 1.5;
  margin-bottom: 24px;
  font-family: var(--zl-font);
}
.zl-b2b-card__desc--sm { font-size: 14px; }

/* Кнопка — белая с тенью */
.zl-b2b-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  background: #fff;
  border-radius: var(--zl-r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--zl-text);
  text-decoration: none;
  width: fit-content;
  font-family: var(--zl-font);
  transition: all var(--zl-t);
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  border: none;
}
.zl-b2b-card__btn:hover {
  background: var(--zl-purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(138,56,245,0.3);
}

/* ── Адаптив ────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .zl-b2b-grid { grid-template-columns: 1fr; }
  .zl-b2b-card--wholesale { padding: 28px 0 0 28px; }
  .zl-b2b-card__photo { height: 180px; }
  .zl-b2b-card__title { font-size: 28px; }
}

@media (max-width: 767px) {
  .zl-b2b-card {
    padding: 24px;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .zl-b2b-card--wholesale { padding: 24px; }
  .zl-b2b-card__content { padding-bottom: 0; }
  .zl-b2b-card__photo {
    height: 160px;
    width: 100%;
    object-position: center bottom;
    margin-top: 16px;
    align-self: center;
  }
  .zl-b2b-card__title { font-size: 24px; }
  .zl-b2b-card__title--sm { font-size: 22px; }
}

/* ── MAP ───────────────────────────────────────────────────── */
.zl-map         { padding: 32px 0 48px; }
.zl-map__title  { font-size: 32px; font-weight: 400; margin-bottom: 20px; font-family: var(--zl-font); }
.zl-map__frame  { border-radius: var(--zl-r-md); overflow: hidden; height: 375px; }

/* ── BREADCRUMBS ───────────────────────────────────────────── */
.breadcrumb-item a                        { color: var(--zl-purple); }
.breadcrumb-item+.breadcrumb-item::before { color: var(--zl-muted); }
#alert .alert                             { border-radius: var(--zl-r-md); }

/* ── BLOG CARDS ────────────────────────────────────────────── */
.zl-module-wrap .row.row-cols-1,
.zl-content-bottom .row.row-cols-1 { display: grid !important; grid-template-columns: repeat(2,1fr) !important; gap: 20px !important; padding: 0 !important; margin: 0 !important; }
.zl-module-wrap .row.row-cols-1 > .col,
.zl-content-bottom .row.row-cols-1 > .col { margin-bottom: 0 !important; padding: 0 !important; width: 100% !important; max-width: 100% !important; }
.zl-module-wrap .blog-thumb,
.zl-content-bottom .blog-thumb { position: relative !important; border-radius: 16px !important; overflow: hidden !important; box-shadow: none !important; background: #1a1a2e !important; aspect-ratio: 16/9; display: block !important; cursor: pointer; transform: none !important; }
.zl-module-wrap .blog-thumb:hover,
.zl-content-bottom .blog-thumb:hover { transform: scale(1.02) !important; box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important; }
.zl-module-wrap .blog-thumb .image,
.zl-content-bottom .blog-thumb .image { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; }
.zl-module-wrap .blog-thumb .image a,
.zl-content-bottom .blog-thumb .image a { display: block; width: 100%; height: 100%; }
.zl-module-wrap .blog-thumb .image img,
.zl-content-bottom .blog-thumb .image img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; border-radius: 0 !important; }
.zl-module-wrap .blog-thumb .content,
.zl-content-bottom .blog-thumb .content { position: absolute !important; bottom: 0 !important; left: 0 !important; right: 0 !important; padding: 20px !important; background: linear-gradient(0deg,rgba(0,0,0,0.55) 0%,transparent 100%) !important; z-index: 2 !important; }
.zl-module-wrap .blog-thumb .description,
.zl-content-bottom .blog-thumb .description { background: rgba(138,56,245,0.4); border-radius: 10px; padding: 12px 16px; margin-bottom: 12px !important; backdrop-filter: blur(4px); width: 65%;}
.zl-module-wrap .blog-thumb h4,
.zl-content-bottom .blog-thumb h4 { font-size: 40px; width: 70%; margin-bottom: 8px !important; line-height: 1.2 !important; font-family: var(--zl-font) !important; }
.zl-module-wrap .blog-thumb h4 a,
.zl-content-bottom .blog-thumb h4 a { color: #fff; text-decoration: none !important; }
.zl-module-wrap .blog-thumb .description p,
.zl-content-bottom .blog-thumb .description p { font-size: 18px; color: white; line-height: 1.5 !important; margin-bottom: 0 !important; display: -webkit-box !important; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.zl-module-wrap .blog-thumb .content a.btn,
.zl-content-bottom .blog-thumb .content a.btn { display: inline-flex !important; align-items: center !important; height: 32px !important; padding: 0 16px !important; background: #fff !important; border-radius: 21px !important; font-size: 14px !important; font-weight: 600 !important; color: var(--zl-purple) !important; text-decoration: none !important; border: none !important; box-shadow: none !important; transition: all 0.2s ease !important; }
.zl-module-wrap .blog-thumb .content a.btn:hover,
.zl-content-bottom .blog-thumb .content a.btn:hover { background: var(--zl-purple) !important; color: #fff !important; }
.zl-module-wrap .blog-thumb .content::after,
.zl-content-bottom .blog-thumb .content::after { content: 'Подробнее'; display: inline-flex; align-items: center; height: 32px; padding: 0 16px; background: #fff; border-radius: 21px; font-size: 14px; font-weight: 600; color: var(--zl-purple); font-family: var(--zl-font); cursor: pointer; margin-top: 8px; }
.zl-module-wrap .blog-thumb .content:has(a.btn)::after,
.zl-content-bottom .blog-thumb .content:has(a.btn)::after { display: none; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

@media (max-width: 1199px) {
  .zl-cats-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .zl-cat--wide    { grid-column: 1/3; grid-row: 1; }
  .zl-cat--tall    { grid-column: 4;   grid-row: 1/3; }
  .zl-cat--wide-sm { grid-column: 2/4; }
  .zl-advantages__grid { grid-template-columns: 1fr 1fr; }
  .zl-footer__grid { grid-template-columns: 180px repeat(3,1fr); }
  .zl-footer__contacts { grid-column: 1/-1; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .zl-catnav__link { padding: 12px 9px; font-size: 14px; }
}

@media (max-width: 1100px) {
  .zl-cwall__grid { grid-template-rows: 160px 160px; gap: 14px; }
  .zl-cwall-card__label { font-size: 15px; padding: 6px 10px; }
}

@media (min-width: 992px) {
  .zl-catnav__mob-row  { display: none !important; }
  .zl-catnav__toggler  { display: none !important; }

  #navbar-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100%;
  }

  .zl-catnav__list  { flex-direction: row; align-items: center; }
  .zl-catnav__items { flex-direction: row; }
}

@media (max-width: 991px) {
  /* Строка "Категории + бургер" в одну линию */
  .zl-catnav__mob-row {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
  }

  .zl-catnav__mob-label {
    padding: 14px 12px;
  }

  /* Кнопка бургера */
  .zl-catnav__toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    flex-shrink: 0;
  }

  /* nav — вертикальный, mob-row сверху, collapse снизу */
  .zl-catnav {
    flex-direction: column;
    align-items: stretch;
  }

  /* Открытое меню */
  #navbar-menu.show {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
    padding: 4px 0 8px;
  }

  /* Анимация раскрытия */
  #navbar-menu.collapsing {
    display: block !important;
  }

  .zl-catnav__list  { flex-direction: column; align-items: flex-start; width: 100%; }
  .zl-catnav__items { flex-direction: column !important; width: 100%; }

  .zl-catnav__link {
    width: 100%;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    border-radius: 0;
    white-space: normal;
  }
  .zl-catnav__link--excl { margin-left: 0 !important; text-align: left; font-size: 14px; }

  /* Dropdown на мобиле — статический */
  .zl-catnav__dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: rgba(0,0,0,0.12) !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    border: none !important;
    width: 100%;
  }
  .zl-catnav__dropdown .dropdown-item {
    color: #fff !important;
    padding: 8px 32px !important;
  }
  .zl-catnav__dropdown .dropdown-item:hover {
    background: rgba(255,255,255,0.15) !important;
  }

  /* Прочие layout */
  .zl-cats-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
  .zl-cat--wide    { grid-column: 1/3; grid-row: 1; }
  .zl-cat--tall    { grid-column: 2;   grid-row: 2/4; }
  .zl-cat--wide-sm { grid-column: 1; }
  .zl-b2b-grid { grid-template-columns: 1fr; }
  .zl-advantages__title { font-size: 28px; }
  .zl-gift__inner { padding: 32px 40px; }
  .zl-gift__title { font-size: 36px; }
  .zl-footer__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .zl-footer__brand { grid-column: 1/-1; }
}

@media (max-width: 860px) {
  .zl-cwall__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4,155px); gap: 12px; }
  .zl-cwall__grid > a:nth-child(1), .zl-cwall__grid > a:nth-child(2),
  .zl-cwall__grid > a:nth-child(3), .zl-cwall__grid > a:nth-child(4),
  .zl-cwall__grid > a:nth-child(5), .zl-cwall__grid > a:nth-child(6),
  .zl-cwall__grid > a:nth-child(7) { grid-column: auto; grid-row: auto; }
  .zl-cwall__grid > a:nth-child(1), .zl-cwall__grid > a:nth-child(5) { grid-column: 1/3; }
  .zl-cwall__grid > a .zl-cwall-card__animal { height: 85%; right: 4px; bottom: 0; }
  .zl-cwall__grid > a:nth-child(1) .zl-cwall-card__animal,
  .zl-cwall__grid > a:nth-child(5) .zl-cwall-card__animal { height: 95%; }
  .zl-module-wrap .row.row-cols-1, .zl-content-bottom .row.row-cols-1 { grid-template-columns: 1fr !important; }
  .zl-module-wrap .product-thumb, .zl-content-bottom .product-thumb  { aspect-ratio: 16/7; }
}

@media (max-width: 767px) {
  .zl-topbar { display: none; }
  .zl-header__search { display: none; }
  .zl-cats-grid { grid-template-columns: 1fr 1fr; gap: 12px; grid-template-rows: 150px 150px 150px; }
  .zl-cat--wide-sm { grid-column: 1/3; }
  .zl-cat__label   { font-size: 15px; padding: 6px 10px; }
  .zl-gift__inner  { padding: 24px; flex-direction: column; }
  .zl-gift__title  { font-size: 28px; }
  .zl-gift__pets   { position: static; height: 120px; margin-top: 12px; }
  .zl-advantages__grid { grid-template-columns: 1fr 1fr; }
  .zl-b2b-card { padding: 24px; min-height: 180px; }
  .zl-b2b-card__title { font-size: 26px; }
  .zl-footer__grid { grid-template-columns: 1fr; }
  .zl-banner-carousel { border-radius: 0; }
  .zl-banner-prev { margin-left: 8px; }
  .zl-banner-next { margin-right: 8px; }
  .zl-banner-prev, .zl-banner-next { width: 36px !important; height: 36px !important; }
}

@media (max-width: 520px) {
  .zl-cwall__grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 10px; }
  .zl-cwall__grid > a:nth-child(n) { grid-column: auto !important; grid-row: auto !important; min-height: 140px; }
  .zl-cwall-card__animal { height: 75%; }
  .zl-module-wrap .product-thumb, .zl-content-bottom .product-thumb { aspect-ratio: 4/3; border-radius: 12px !important; }
  .zl-module-wrap .product-thumb .description h4,
  .zl-content-bottom .product-thumb .description h4 { font-size: 16px !important; }
}

@media (max-width: 479px) {
  .zl-cats-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .zl-cat--wide, .zl-cat--tall, .zl-cat--wide-sm { grid-column: auto; grid-row: auto; }
  .zl-cat { min-height: 130px; }
  .zl-advantages__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CAROUSEL — .zl-pc
   Используется в featured.twig, special.twig, bestseller.twig,
   latest.twig
══════════════════════════════════════════════════════════════ */

/* Секция: заголовок + кнопка "В каталог" */
.zl-products-section {
  margin: 40px 0;
}

.zl-products-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.zl-products-section__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--zl-text);
  font-family: var(--zl-font);
  margin: 0;
  display: inline;
  padding: 2px 0;
  border-radius: 4px;
  position: relative;
  isolation: isolate;
}

.zl-products-section__title > span {
  position: relative;
  display: inline-block;
}

.zl-products-section__title > span::before {
  content: "";
  position: absolute;
  inset: 0px -10px;
  background: radial-gradient(circle, #FFBF62 90%);
  filter: blur(12px);
  z-index: -1;  /* теперь под текстом, но НАД фоном страницы */
  border-radius: 50%;
  pointer-events: none;
}

.zl-products-section__title > span.glow-purple::before {
  background: radial-gradient(circle, #c084fc 90%);
}

.zl-products-section__more {
  flex-shrink: 0;
}

/* Обёртка карусели — position:relative для стрелок */
.zl-pc {
  position: relative;
}

/* Трек — горизонтальный скролл без полосы */
.zl-pc__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 24px;
}
.zl-pc__track::-webkit-scrollbar { display: none; }

/* Элемент карусели — фиксированная ширина */
.zl-pc__item {
  flex: 0 0 204px;
  scroll-snap-align: start;
}

/* Кнопки-стрелки */
.zl-pc__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--zl-white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--zl-text);
  z-index: 10;
  transition: all var(--zl-t);
}
.zl-pc__nav:hover { background: var(--zl-purple); color: #fff; }
.zl-pc__nav--prev { left: -18px; }
.zl-pc__nav--next { right: -18px; }

/* ── PRODUCT CARD — .product-card ──────────────────────────── */
.product-grid__item {
  margin-bottom: 15px;
}

.product-card {
  background: var(--zl-white);
  border-radius: var(--zl-r-md);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--zl-t), transform var(--zl-t);
  position: relative;
}
.product-card:hover {
  box-shadow: 0 6px 24px rgba(138,56,245,0.16);
}

/* Область изображения */
.product-card__image-wrap {
  position: relative;
  background: #f8f8f8;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Бейдж (Рекомендуем / Лучшая цена / Новинка) */
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--zl-font);
  display: inline-flex;
  align-items: center;
  z-index: 2;
  white-space: nowrap;
}
.product-card__badge--rec  { background: var(--zl-green); color: #2a6000; }
.product-card__badge--sale { background: var(--zl-red);   color: #fff; }
.product-card__badge--new  { background: var(--zl-purple); color: #fff; }

/* Кнопка избранного */
.product-card__wishlist-form {
  position: absolute;
  top: 8px;
  right: 8px;
  margin: 0;
  padding: 0;
}
.product-card__image-wrap {position: relative;}
.product-card__wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: var(--zl-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #bbb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: all var(--zl-t);
  z-index: 2;
  padding: 0;
}
.product-card__wishlist:hover,
.product-card__wishlist--active { color: var(--zl-red); }
.product-card__wishlist--active svg path { fill: var(--zl-red); stroke: var(--zl-red); }

/* Тело карточки */
.product-card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

/* Цены */
.product-card__pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-card__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--zl-text);
  font-family: var(--zl-font);
  line-height: 1;
}
.product-card__price--sale { color: var(--zl-red); }
.product-card__price--old  {
  font-size: 14px;
  font-weight: 400;
  color: var(--zl-muted);
  text-decoration: line-through;
}

/* Название */
.product-card__name {
  font-size: 13px;
  font-weight: 400;
  color: var(--zl-text);
  font-family: var(--zl-font);
  line-height: 1.4;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__name a {
  color: inherit;
  text-decoration: none;
}
.product-card__name a:hover { color: var(--zl-purple); }

/* Рейтинг */
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-family: var(--zl-font);
}
.product-card__rating-score { font-weight: 700; color: var(--zl-text); }
.product-card__rating-count { color: var(--zl-muted); }

/* Кнопка "В корзину" */
.product-card__add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 36px;
  background: var(--zl-purple);
  color: #fff;
  border: none;
  border-radius: var(--zl-r-pill);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--zl-font);
  cursor: pointer;
  transition: background var(--zl-t);
  margin-top: auto;
  padding: 0;
}
.product-card__add-to-cart:hover { background: #7528e0; }

/* ── Адаптив карусели ──────────────────────────────────────── */
@media (max-width: 991px) {
  .zl-pc__item      { flex: 0 0 185px; }
  .zl-pc__nav--prev { left: -10px; }
  .zl-pc__nav--next { right: -10px; }
  .zl-products-section__title { font-size: 26px; }
}

@media (max-width: 767px) {
  .zl-pc__item      { flex: 0 0 160px; }
  .zl-pc__nav       { width: 30px; height: 30px; }
  .zl-pc__nav--prev { left: -6px; }
  .zl-pc__nav--next { right: -6px; }
  .zl-products-section__title { font-size: 22px; }
  .product-card__price        { font-size: 16px; }
  .product-card__add-to-cart  { font-size: 13px; height: 32px; }
}

@media (max-width: 479px) {
  .zl-pc__item { flex: 0 0 148px; }
  .zl-products-section__head { flex-wrap: wrap; }
}

.zl-brands-section {
  margin: 32px 0;
}

.zl-brands-section__title {
  font-size: 32px;
  font-weight: 400;
  color: var(--zl-text);
  font-family: var(--zl-font);
  margin-bottom: 20px;
}

.zl-brands {
  position: relative;
}

.zl-brands__track {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0;
}
.zl-brands__track::-webkit-scrollbar { display: none; }

.zl-brands__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Логотип — без рамки, просто картинка */
.zl-brands__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  text-decoration: none;
  transition: opacity var(--zl-t);
}
.zl-brands__link:hover { opacity: 0.75; }

.zl-brands__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 20px;
}

/* Стрелки брендов */
.zl-brands__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--zl-white);
  border: 1px solid var(--zl-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--zl-text);
  z-index: 5;
  transition: all var(--zl-t);
  padding: 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}
.zl-brands__nav:hover {
  background: var(--zl-purple);
  border-color: var(--zl-purple);
  color: #fff;
}
.zl-brands__nav--prev { left: -16px; }
.zl-brands__nav--next { right: -16px; }

/* ── PROMO BANNER CAROUSEL (Акции и Скидки) ────────────────────
   Этот блок выводится через home.twig как zl-promo-section.
   Стилизуем заголовок и обёртку.
──────────────────────────────────────────────────────────── */

/* Заголовок секции "Акции и Скидки" */
.zl-promo-section .zl-section-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}

/* Слайды — отображаем несколько в ряд через overflow */
.zl-promo-track {
  gap: 16px; /* переопределяем если было 0 */
}

.zl-promo-slide {
  flex: 0 0 calc(33.333% - 11px); /* 3 слайда в ряд */
  border-radius: var(--zl-r-md);
  overflow: hidden;
}

.zl-promo-img {
  border-radius: var(--zl-r-md);
  aspect-ratio: 16/9;
  object-fit: cover;
  max-height: none;
}

/* Стрелка — только справа, как на макете */
.zl-promo-btn--prev { display: none; } /* скрываем левую */
.zl-promo-btn--next {
  right: -16px;
  background: var(--zl-white) !important;
  border: 1px solid var(--zl-border);
  color: var(--zl-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.zl-promo-btn--next:hover {
  background: var(--zl-purple) !important;
  border-color: var(--zl-purple);
  color: #fff;
}

/* Скрываем точки у промо-карусели (не нужны при нескольких видимых) */
.zl-promo-dots { display: none; }

/* ── Адаптив брендов и промо ───────────────────────────────── */
@media (max-width: 991px) {
  .zl-promo-slide { flex: 0 0 calc(50% - 8px); }
  .zl-brands__link { width: 100px; height: 52px; }
}

@media (max-width: 767px) {
  .zl-promo-slide { flex: 0 0 calc(80%); }
  .zl-promo-btn--prev { display: flex; left: -6px; }
  .zl-promo-btn--next { right: -6px; }
  .zl-brands__link { width: 90px; height: 44px; }
  .zl-brands__nav--prev { left: -8px; }
  .zl-brands__nav--next { right: -8px; }
  .zl-brands-section__title { font-size: 26px; }
}

@media (max-width: 479px) {
  .zl-promo-slide { flex: 0 0 85%; }
}

.zl-footer {
  background: var(--zl-bg);
  padding: 48px 0 0;
  margin-top: 48px;
}
 
/* Сетка: бренд + 4 колонки навигации */
.zl-footer__grid {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}
 
/* ── Колонка бренда ─────────────────────────────────────────── */
.zl-footer__brand { display: flex; flex-direction: column; gap: 16px; }
 
.zl-footer__brand-card {
  
}
 
.zl-footer__brand-tagline {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  font-family: var(--zl-font);
}
 
/* Соцсети */
.zl-footer__social { display: flex; gap: 10px; }
 
.zl-footer__soc-link {
  width: 38px;
  height: 38px;
  background: var(--zl-white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zl-purple);
  text-decoration: none;
  transition: all var(--zl-t);
  border: 1.5px solid var(--zl-border);
}
.zl-footer__soc-link:hover {
  background: var(--zl-purple);
  color: var(--zl-white);
  border-color: var(--zl-purple);
}
 
/* Копирайт под соцсетями на мобиле */
.zl-footer__copy-mobile { display: none; }
 
/* ── Колонки навигации ─────────────────────────────────────── */
.zl-footer__col-hd {
  font-size: 15px;
  font-weight: 600;
  color: var(--zl-text);
  margin-bottom: 18px;
  font-family: var(--zl-font);
}
 
.zl-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.zl-footer__col ul li a {
  font-size: 14px;
  font-weight: 400;
  color: var(--zl-muted);
  text-decoration: none;
  transition: color var(--zl-t);
  font-family: var(--zl-font);
}
.zl-footer__col ul li a:hover { color: var(--zl-purple); }
 
/* ── Строка контактов (под сеткой) ─────────────────────────── */
.zl-footer__contacts-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px 0;
}
 
.zl-footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--zl-purple);
  text-decoration: none;
  font-family: var(--zl-font);
  transition: opacity var(--zl-t);
}
.zl-footer__contact:hover { opacity: 0.8; }
 
.zl-footer__contact-ico {
  width: 30px;
  height: 30px;
  background: var(--zl-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 
/* ── Нижняя строка ─────────────────────────────────────────── */
.zl-footer__bottom {
  padding: 14px 0;
}
.zl-footer__bottom p {
  font-size: 14px;
  font-weight: 400;
  color: var(--zl-muted);
  margin: 0;
  font-family: var(--zl-font);
}
 
/* ── Адаптив футера ────────────────────────────────────────── */
@media (max-width: 1199px) {
  .zl-footer__grid {
    grid-template-columns: 180px repeat(3, 1fr);
  }
  /* Каталог переносим в новую строку */
  .zl-footer__grid > nav:last-child {
    grid-column: 2 / -1;
  }
}
 
@media (max-width: 991px) {
  .zl-footer__grid {
    grid-template-columns: 160px 1fr 1fr;
    gap: 20px;
  }
  .zl-footer__brand { grid-row: 1 / 3; }
  .zl-footer__grid > nav:last-child { grid-column: auto; }
  .zl-footer__contacts-row { gap: 20px; }
}
 
@media (max-width: 767px) {
  .zl-footer {
    padding: 32px 0 0;
    border-top-width: 3px;
  }
  .zl-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .zl-footer__brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .zl-footer__brand-card { min-height: 80px; flex: 0 0 140px; }
  .zl-footer__copy-mobile {
    display: block;
    font-size: 13px;
    color: var(--zl-muted);
    margin: 0;
    font-family: var(--zl-font);
  }
  .zl-footer__contacts-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .zl-footer__bottom { display: none; } /* на мобиле копирайт показываем в brand */
}
 
@media (max-width: 479px) {
  .zl-footer__grid { grid-template-columns: 1fr; }
  .zl-footer__brand { flex-direction: column; }
  .zl-footer__brand-card { flex: none; min-height: 100px; }
}

/* ── Product page layout ─────────────────────────────────── */
.zl-product-layout {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

/* ── Gallery ─────────────────────────────────────────────── */
.zl-product-gallery {
  background: var(--zl-white);
  border-radius: var(--zl-r-md);
  box-shadow: var(--zl-shadow);
  padding: 16px;
  position: sticky;
  top: 80px;
}

.zl-product-gallery__main {
  border-radius: var(--zl-r-sm);
  overflow: hidden;
  background: #f8f8f8;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.zl-product-gallery__main-link {
  display: block;
  width: 100%;
  height: 100%;
}

.zl-product-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--zl-t);
}
.zl-product-gallery__main-link:hover .zl-product-gallery__main-img {
  transform: scale(1.03);
}

/* Thumbnails row */
.zl-product-gallery__thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.zl-gallery-thumbs-track {
  display: flex;
  gap: 8px;
  overflow: hidden;
  flex: 1;
}

.zl-gallery-thumb {
  flex: 0 0 68px;
  height: 68px;
  border-radius: var(--zl-r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--zl-t);
  cursor: pointer;
  display: block;
}
.zl-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zl-gallery-thumb--active,
.zl-gallery-thumb:hover {
  border-color: var(--zl-purple);
}

.zl-gallery-nav {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--zl-white);
  border: 1.5px solid var(--zl-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--zl-text);
  font-size: 12px;
  transition: all var(--zl-t);
  padding: 0;
}
.zl-gallery-nav:hover {
  background: var(--zl-purple);
  border-color: var(--zl-purple);
  color: #fff;
}

/* ── Info panel ──────────────────────────────────────────── */
.zl-product-info {
  background: var(--zl-white);
  border-radius: var(--zl-r-md);
  box-shadow: var(--zl-shadow);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.zl-product-info__title {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--zl-font);
  line-height: 1.2;
  margin: 25px 0px;
}

/* Meta chips */
.zl-product-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.zl-product-meta-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: var(--zl-purple);
  color: #fff;
  border-radius: var(--zl-r-pill);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--zl-font);
  text-decoration: none;
  transition: background var(--zl-t);
}
.zl-product-meta-badge:hover { background: #7528e0; color: #fff; }

.zl-product-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  background: var(--zl-purple-pale);
  color: var(--zl-text);
  border-radius: var(--zl-r-pill);
  font-size: 13px;
  font-family: var(--zl-font);
}
.zl-product-meta-chip__label { color: var(--zl-muted); font-size: 12px; }

/* Rating */
.zl-product-info__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.zl-star { font-size: 14px; color: #ddd; }
.zl-star--on { color: #f5a623; }
.zl-product-info__review-link {
  margin-left: 8px;
  font-size: 13px;
  color: var(--zl-purple);
  text-decoration: none;
}
.zl-product-info__review-link:hover { text-decoration: underline; }

/* Pricing */
.zl-product-info__pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.zl-product-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--zl-text);
  font-family: var(--zl-font);
  line-height: 1;
}
.zl-product-price--sale { color: var(--zl-red); }
.zl-product-price--old  { font-size: 18px; font-weight: 400; color: var(--zl-muted); text-decoration: line-through; }
.zl-product-price__tax  { font-size: 12px; color: var(--zl-muted); font-family: var(--zl-font); align-self: center; }

/* Discounts */
.zl-product-discounts {
  background: #fafafa;
  border-radius: var(--zl-r-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zl-product-discount-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--zl-muted);
  font-family: var(--zl-font);
}
.zl-product-discount-price { font-weight: 700; color: var(--zl-purple); }

/* Availability */
.zl-product-availability {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.zl-availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--zl-font);
  padding: 6px 12px;
  border-radius: var(--zl-r-pill);
}
.zl-availability--in  { background: #e8fde8; color: #2a6000; }
.zl-availability--out { background: #fde8e8; color: #c00; }
.zl-notify-link {
  font-size: 13px;
  color: var(--zl-purple);
  text-decoration: underline;
  cursor: pointer;
}

/* Options */
.zl-product-options { display: flex; flex-direction: column; gap: 16px; }

.zl-option-group { display: flex; flex-direction: column; gap: 6px; }
.zl-option-label { font-size: 14px; font-weight: 700; color: var(--zl-text); font-family: var(--zl-font); }
.zl-option-select { border-color: var(--zl-border) !important; border-radius: var(--zl-r-sm) !important; font-family: var(--zl-font) !important; font-size: 14px !important; }
.zl-option-select:focus { border-color: var(--zl-purple) !important; box-shadow: 0 0 0 3px var(--zl-purple-pale) !important; }

.zl-option-radio-list { display: flex; flex-wrap: wrap; gap: 8px; }
.zl-option-radio-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--zl-border);
  border-radius: var(--zl-r-pill);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--zl-font);
  transition: all var(--zl-t);
}
.zl-option-radio-input { display: none; }
.zl-option-radio-input:checked + .zl-option-radio-img,
.zl-option-radio-item:has(.zl-option-radio-input:checked) {
  border-color: var(--zl-purple);
  background: var(--zl-purple-pale);
  color: var(--zl-purple);
}
.zl-option-radio-img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.zl-option-radio-name { font-size: 13px; }

.zl-option-check-list { display: flex; flex-wrap: wrap; gap: 8px; }
.zl-option-check-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid var(--zl-border);
  border-radius: var(--zl-r-pill);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--zl-font);
  transition: all var(--zl-t);
}
.zl-option-check-input { accent-color: var(--zl-purple); }
.zl-option-check-img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }

/* Cart row */
.zl-product-cart-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.zl-product-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--zl-border);
  border-radius: var(--zl-r-pill);
  overflow: hidden;
  height: 46px;
  flex-shrink: 0;
}
.zl-qty-btn {
  width: 40px;
  height: 100%;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--zl-purple);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--zl-t);
  font-family: var(--zl-font);
  line-height: 1;
}
.zl-qty-btn:hover { background: var(--zl-purple-pale); }
.zl-qty-input {
  width: 52px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--zl-border);
  border-right: 1px solid var(--zl-border);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--zl-font);
  height: 100%;
  outline: none;
  -moz-appearance: textfield;
}
.zl-qty-input::-webkit-outer-spin-button,
.zl-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.zl-btn-cart {
  flex: 1;
  min-width: 160px;
  height: 46px;
  padding: 0 24px;
  background: var(--zl-purple);
  color: #fff;
  border: none;
  border-radius: var(--zl-r-pill);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--zl-font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--zl-t), box-shadow var(--zl-t);
}
.zl-btn-cart:hover {
  background: #7528e0;
  box-shadow: 0 4px 16px rgba(138,56,245,0.35);
}

.zl-btn-preorder {
  width: 100%;
  height: 44px;
  background: var(--zl-orange);
  color: #fff;
  border: none;
  border-radius: var(--zl-r-pill);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--zl-font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--zl-t);
}
.zl-btn-preorder:hover { opacity: .85; }

/* Wishlist / Compare */
.zl-product-actions form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.zl-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: none;
  border: 1.5px solid var(--zl-border);
  border-radius: var(--zl-r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--zl-text);
  cursor: pointer;
  font-family: var(--zl-font);
  transition: all var(--zl-t);
}
.zl-action-btn:hover {
  border-color: var(--zl-purple);
  color: var(--zl-purple);
  background: var(--zl-purple-pale);
}

.zl-product-points {
  font-size: 13px;
  color: var(--zl-muted);
  font-family: var(--zl-font);
}

.zl-product-actions {
  display: flex;
  gap: 5px;
}

.zl-action-btn.product-card__wishlist--active {
  border-color: #f34e4e;
  color: #f34e4e;
  background: #fde8e8;
}
.zl-action-btn.product-card__wishlist--active .zl-heart-icon {
  font-weight: 900; /* fa-solid */
}

/* ── Tabs ─────────────────────────────────────────────────── */
.zl-tabs-nav {
  border-bottom: 2px solid var(--zl-border);
  gap: 4px;
  flex-wrap: wrap;
}
.zl-tabs-nav .nav-link {
  color: var(--zl-muted);
  font-weight: 600;
  font-family: var(--zl-font);
  font-size: 15px;
  padding: 10px 20px;
  border-radius: var(--zl-r-sm) var(--zl-r-sm) 0 0;
  border: none;
  transition: all var(--zl-t);
}
.zl-tabs-nav .nav-link:hover { color: var(--zl-purple); background: var(--zl-purple-pale); }
.zl-tabs-nav .nav-link.active {
  color: var(--zl-purple);
  background: var(--zl-white);
  border-bottom: 2px solid var(--zl-purple);
  margin-bottom: -2px;
}

.zl-tabs-body {
  padding: 24px 0;
}

.zl-tab-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--zl-text);
  font-family: var(--zl-font);
}

/* Tags */
.zl-product-tags {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.zl-product-tags__label { font-size: 13px; color: var(--zl-muted); font-family: var(--zl-font); }
.zl-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  background: var(--zl-purple-pale);
  color: var(--zl-purple);
  border-radius: var(--zl-r-pill);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--zl-font);
  transition: background var(--zl-t);
}
.zl-tag:hover { background: var(--zl-purple); color: #fff; }

/* Specs */
.zl-specs-table { display: flex; flex-direction: column; gap: 24px; }
.zl-specs-group__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--zl-purple);
  font-family: var(--zl-font);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--zl-purple-pale);
}
.zl-specs-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  font-family: var(--zl-font);
}
.zl-specs-row__key { flex: 0 0 200px; font-size: 14px; color: var(--zl-muted); }
.zl-specs-row__val { font-size: 14px; font-weight: 600; color: var(--zl-text); flex: 1; }
.zl-spec-link { color: var(--zl-purple); text-decoration: none; }
.zl-spec-link:hover { text-decoration: underline; }

/* ── Modals ───────────────────────────────────────────────── */
.zl-modal-content  { border: none !important; border-radius: var(--zl-r-md) !important; box-shadow: 0 16px 48px rgba(0,0,0,0.18) !important; }
.zl-modal-header   { border-bottom: 1.5px solid var(--zl-border); padding: 20px 24px; }
.zl-modal-header .modal-title { font-family: var(--zl-font); font-weight: 700; }
.zl-modal-footer   { border-top: 1.5px solid var(--zl-border); padding: 16px 24px; gap: 10px; }

/* ── Write review link ────────────────────────────────────── */
.zl-write-review-link { font-size: 13px; color: var(--zl-purple); margin-left: 6px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .zl-product-layout { grid-template-columns: 360px 1fr; gap: 24px; }
  .zl-product-info__title { font-size: 24px; }
  .zl-product-price { font-size: 28px; }
}

@media (max-width: 860px) {
  .zl-product-layout { grid-template-columns: 1fr; }
  .zl-product-gallery { position: static; }
  .zl-product-gallery__main { max-height: 380px; }
  .zl-product-info { padding: 20px; }
}

@media (max-width: 575px) {
  .zl-product-info { padding: 16px; gap: 16px; }
  .zl-product-info__title { font-size: 20px; }
  .zl-product-price { font-size: 24px; }
  .zl-product-cart-row { flex-direction: column; align-items: stretch; }
  .zl-btn-cart { min-width: unset; }
  .zl-product-qty { align-self: flex-start; }
  .zl-specs-row__key { flex: 0 0 130px; }
}

/* ── Account page layout ─────────────────────────────────── */
.zl-account-page {
  padding-top: 16px;
  padding-bottom: 48px;
}

.page-wishlist,
.zl-account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 25px;
}

/* ── Right content ───────────────────────────────────────── */
.zl-account-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}