/* ZooMag r29 shell bundle. Source order is intentionally preserved. */

/* ===== catalog/view/stylesheet/zoomag/zoomag_premium_2026_upgrade.css ===== */

:root {
  --zm-premium-bg-1: radial-gradient(circle at top left, rgba(118, 191, 255, 0.18), transparent 30%),
                      radial-gradient(circle at top right, rgba(255, 178, 122, 0.18), transparent 30%),
                      linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  --zm-premium-card: rgba(255, 255, 255, 0.82);
  --zm-premium-border: rgba(114, 145, 195, 0.18);
  --zm-premium-shadow: 0 20px 50px rgba(47, 72, 115, 0.14);
  --zm-premium-shadow-soft: 0 12px 32px rgba(47, 72, 115, 0.08);
  --zm-premium-accent: #49a5ff;
  --zm-premium-accent-2: #ff8b57;
  --zm-premium-text: #18324f;
  --zm-premium-text-soft: #5f7898;
  --zm-premium-success: #42b883;
  --zm-premium-radius-xl: 28px;
  --zm-premium-radius-lg: 22px;
  --zm-premium-radius-md: 18px;
}

body {
  background: var(--zm-premium-bg-1);
}

.main-menu {
  position: relative;
  z-index: 20;
}

.main-menu .menu-list {
  gap: 10px;
  flex-wrap: wrap;
}

.main-menu .menu-item {
  position: relative;
}

.main-menu .menu-link,
.main-menu .mobile-menu-link {
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 10px 28px rgba(56, 90, 138, 0.08);
}

.main-menu .menu-link:hover,
.main-menu .menu-link:focus-visible,
.main-menu .mobile-menu-link:hover,
.main-menu .mobile-menu-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(56, 90, 138, 0.14);
}

.zm-menu-count,
.zm-submenu-count,
.zm-sidebar-count,
.zm-subcategory-count,
.zm-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
}

.zm-menu-count,
.zm-sidebar-count,
.zm-subcategory-count,
.zm-category-chip {
  background: linear-gradient(135deg, var(--zm-premium-accent), #7fbcff);
  color: #fff;
  box-shadow: 0 10px 20px rgba(73, 165, 255, 0.28);
}

.zm-submenu-count {
  background: rgba(73, 165, 255, 0.12);
  color: var(--zm-premium-accent);
  min-width: 26px;
  height: 26px;
  box-shadow: none;
}

.submenu-item .submenu-link {
  gap: 12px;
}

.submenu-item .submenu-text-wrap,
.zm-subcategory-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.submenu-item .submenu-caption,
.zm-sidebar-caption,
.zm-subcategory-caption {
  font-size: 12px;
  color: var(--zm-premium-text-soft);
  line-height: 1.35;
}

.zm-sidebar-nav {
  position: sticky;
  top: 110px;
  padding: 22px;
  background: var(--zm-premium-card);
  border: 1px solid var(--zm-premium-border);
  border-radius: var(--zm-premium-radius-xl);
  box-shadow: var(--zm-premium-shadow-soft);
  backdrop-filter: blur(18px);
}

.zm-sidebar-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.zm-sidebar-nav__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: var(--zm-premium-text);
}

.zm-sidebar-nav__note {
  font-size: 13px;
  color: var(--zm-premium-text-soft);
}

.zm-sidebar-tree,
.zm-sidebar-children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zm-sidebar-tree {
  display: grid;
  gap: 12px;
}

.zm-sidebar-item {
  border-radius: var(--zm-premium-radius-lg);
  border: 1px solid rgba(110, 140, 188, .14);
  overflow: hidden;
  background: rgba(255,255,255,.76);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.zm-sidebar-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(56, 90, 138, 0.08);
  border-color: rgba(73, 165, 255, 0.22);
}

.zm-sidebar-item.is-active {
  border-color: rgba(73, 165, 255, 0.28);
  box-shadow: 0 16px 30px rgba(73, 165, 255, 0.12);
}

.zm-sidebar-link,
.zm-sidebar-child-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.zm-sidebar-link {
  padding: 14px 16px;
}

.zm-sidebar-child-link {
  padding: 10px 14px;
  border-top: 1px solid rgba(110, 140, 188, .09);
}

.zm-sidebar-icon,
.zm-sidebar-child-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(73,165,255,.16), rgba(255,139,87,.16));
  color: var(--zm-premium-text);
  font-size: 18px;
}

.zm-sidebar-child-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 16px;
}

.zm-sidebar-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.zm-sidebar-name,
.zm-sidebar-child-name {
  font-weight: 800;
  color: var(--zm-premium-text);
  line-height: 1.3;
}

.zm-sidebar-children {
  background: rgba(245, 249, 255, .78);
}

.zoomag-category-header,
.zoomag-controls-panel,
.zoomag-subcategories-section,
.zoomag-category-accordion,
.zoomag-filter-sidebar,
.zoomag-filter-sidebar-container .zoomag-filter-sidebar {
  background: var(--zm-premium-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--zm-premium-border);
  border-radius: var(--zm-premium-radius-xl);
  box-shadow: var(--zm-premium-shadow);
}

.zoomag-category-header {
  overflow: hidden;
}

.zoomag-category-header::before,
.zoomag-controls-panel::before,
.zoomag-subcategories-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(73,165,255,.07), rgba(255,139,87,.06), transparent 60%);
  pointer-events: none;
}

.zoomag-category-title {
  position: relative;
}

.zoomag-category-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--zm-premium-accent), var(--zm-premium-accent-2));
  box-shadow: 0 8px 20px rgba(73, 165, 255, 0.24);
}

.zoomag-subcategory-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 140, 188, .15);
  background: rgba(255,255,255,.9);
  box-shadow: var(--zm-premium-shadow-soft);
}

.zoomag-subcategory-card:hover {
  transform: translateY(-5px) scale(1.01);
}

.zoomag-subcategory-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.zoomag-products-count {
  font-weight: 900;
}

.zoomag-control-group .zoomag-compare-btn,
.zoomag-view-toggle,
.zoomag-select-wrapper,
.zoomag-select,
.zoomag-select-group,
.zoomag-btn,
.zoomag-summary-pill,
.zoomag-filter-group-compact,
.zoomag-filter-footer,
.zoomag-header-meta,
.zoomag-active-filters-compact,
.zoomag-search-container,
.zoomag-filter-option-compact,
.zoomag-group-toggle-compact,
.zoomag-group-content-compact {
  border-radius: var(--zm-premium-radius-md);
}

.zoomag-filter-sidebar {
  padding: 20px;
}

.zoomag-filter-option-compact {
  background: rgba(248, 251, 255, .9);
  border: 1px solid rgba(110, 140, 188, .1);
}

.zoomag-filter-option-compact:hover {
  border-color: rgba(73,165,255,.24);
  box-shadow: 0 12px 20px rgba(73,165,255,.08);
}

.zoomag-mobile-toggle,
.zoomag-btn-primary,
.zoomag-btn-secondary {
  transition: transform .2s ease, box-shadow .2s ease;
}

.zoomag-mobile-toggle:hover,
.zoomag-btn-primary:hover,
.zoomag-btn-secondary:hover {
  transform: translateY(-2px);
}

.zoomag-animated-background .zoomag-animal,
.floating-pets-container .floating-pet {
  filter: drop-shadow(0 12px 20px rgba(31, 58, 90, 0.15));
}

.zoomag-category-page.is-premium-ready .zoomag-category-header,
.zoomag-category-page.is-premium-ready .zoomag-controls-panel,
.zoomag-category-page.is-premium-ready .zoomag-subcategories-section {
  position: relative;
}

@media (max-width: 991.98px) {
  .zm-sidebar-nav {
    position: static;
    top: auto;
    margin-bottom: 20px;
  }

  .zoomag-category-title::after {
    width: 84px;
  }
}


/* ===== catalog/view/stylesheet/zoomag/zoomag_banner_refit_20260328.css ===== */
/* Скрываем тестовый hero-блок, если он где-то остался в кеше шаблонов */
.zoomag-home-hero-banner,
.zoomag-home-contact-grid {
  display: none !important;
}

/* Унифицируем компактные банерные шапки на страницах брендов */
.zoomag-brands-main-header,
.zoo-brands-header {
  position: relative;
  overflow: hidden;
  padding: 24px 26px !important;
  border-radius: 26px !important;
}

.zoomag-brands-main-header::after,
.zoo-brands-header::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -44px;
  width: 220px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.16), rgba(249,115,22,0.02) 68%, transparent 72%);
  pointer-events: none;
}

.zoomag-brands-main-title,
.zoo-main-title {
  position: relative;
  z-index: 1;
}

.zoomag-brands-subtitle,
.zoo-brand-description {
  position: relative;
  z-index: 1;
  margin-top: 12px !important;
}

/* Чистим перегруженную шапку статьи и делаем её похожей на современный банер */
#cms-blog .title-decoration,
#cms-blog .image-badge,
#cms-blog .floating-element {
  display: none !important;
}

#cms-blog .zoo-article-dark-container {
  background: linear-gradient(135deg, #fffdf9 0%, #fff6ec 55%, #fffdf9 100%) !important;
  border: 1px solid rgba(180, 118, 54, 0.14) !important;
  box-shadow: 0 18px 40px rgba(43, 28, 11, 0.08) !important;
  padding: 30px !important;
  border-radius: 28px !important;
}

#cms-blog .article-title {
  color: #1f2937 !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08 !important;
  margin-bottom: 22px !important;
}

#cms-blog .article-hero-image {
  position: relative !important;
  margin-top: 10px !important;
  margin-bottom: 24px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 6.4 !important;
  max-height: 320px !important;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,0.35), transparent 20%),
    linear-gradient(135deg, #fff2df, #fff9f2) !important;
  box-shadow: 0 16px 34px rgba(43, 28, 11, 0.10) !important;
}

#cms-blog .article-hero-image::after {
  content: "";
  position: absolute;
  inset: auto -6% -10% -6%;
  height: 42%;
  background:
    radial-gradient(68% 100% at 12% 100%, rgba(255,255,255,0.64) 0%, rgba(255,255,255,0.00) 72%),
    radial-gradient(72% 100% at 42% 100%, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.00) 70%),
    radial-gradient(64% 100% at 74% 100%, rgba(255,255,255,0.50) 0%, rgba(255,255,255,0.00) 72%);
  pointer-events: none;
}

#cms-blog .article-main-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

#cms-blog .article-meta-info {
  margin-top: 0 !important;
}

@media (max-width: 767.98px) {
  .zoomag-brands-main-header,
  .zoo-brands-header,
  #cms-blog .zoo-article-dark-container {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  #cms-blog .article-hero-image {
    aspect-ratio: 16 / 8 !important;
    max-height: 220px !important;
    border-radius: 20px !important;
  }
}


/* ===== catalog/view/stylesheet/Common/header.css ===== */
body {
  background: linear-gradient(135deg, #fef9f3 0%, #fcf5eb 50%, #f9ecdd 100%);
  min-height: 100vh;
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  padding: 0;
}

/* ===== УБИРАЕМ ВСЕ ТОЧКИ У СПИСКОВ ===== */
.zoomag_currency_list,
.zoomag_nav_buttons_list,
.zoomag_account_dropdown_menu {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

.zoomag_currency_item,
.zoomag_nav_button_item {
  list-style: none !important;
}

/* ===== АНИМАЦИОННЫЕ ЗВЕРЯТА ПО ВСЕМУ САЙТУ ===== */
.floating-pets-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-pet {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.15;
  animation: floatPet 15s ease-in-out infinite;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

@keyframes floatPet {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1); 
    opacity: 0.1; 
  }
  25% { 
    transform: translateY(-20px) rotate(5deg) scale(1.1); 
    opacity: 0.2; 
  }
  50% { 
    transform: translateY(-10px) rotate(-3deg) scale(0.95); 
    opacity: 0.15; 
  }
  75% { 
    transform: translateY(-15px) rotate(2deg) scale(1.05); 
    opacity: 0.18; 
  }
}

/* Расположение зверят */
.pet-1 { top: 10%; left: 5%; animation-delay: 0s; color: #FF8E53; }
.pet-2 { top: 25%; right: 8%; animation-delay: 3s; color: #6ED3CF; }
.pet-3 { bottom: 30%; left: 10%; animation-delay: 6s; color: #FFDA83; }
.pet-4 { bottom: 15%; right: 15%; animation-delay: 9s; color: #06D6A0; }
.pet-5 { top: 60%; left: 20%; animation-delay: 12s; color: #FF6B6B; }

/* ===== ГЛАВНАЯ ШАПКА ВСЕГО САЙТА ===== */
.zoomag_main_container {
  position: relative;
}

.zoomag_top_panel {
  background: linear-gradient(135deg, #4b2624 0%, #da4f49 100%);
  color: #fff;
  padding: 8px 0;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: relative;
}

/* ===== ПРОПОРЦИОНАЛЬНОЕ РАСПОЛОЖЕНИЕ ВЕРХНЕЙ ПАНЕЛИ ===== */
.zoomag_top_panel .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
}

.zoomag_currency_language_block {
  flex: 0 0 30%;
  display: flex;
  justify-content: flex-start;
}

.zoomag_navigation_buttons_block {
  flex: 0 0 70%;
  display: flex;
  justify-content: flex-end;
}

/* ===== БЛОК ВАЛЮТЫ И ЯЗЫКА ===== */
.zoomag_currency_language_block .zoomag_currency_list {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
}

.zoomag_currency_language_block .zoomag_currency_item {
  margin-bottom: 0 !important;
}

.zoomag_currency_language_block .zoomag_currency_toggle {
  color: #fff !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 4px;
}

.zoomag_currency_language_block .zoomag_currency_toggle:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* ===== ОСНОВНЫЕ КНОПКИ НАВИГАЦИИ ===== */
.zoomag_navigation_buttons_block .zoomag_nav_buttons_list {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px;
}

.zoomag_nav_button_item {
  margin-bottom: 0 !important;
  white-space: nowrap;
}

/* КНОПКИ ШАПКИ САЙТА */
.zoomag_header_nav_button {
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 15px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #FF6B35, #4ECDC4);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  min-width: auto;
  justify-content: center;
  height: 36px;
  font-family: 'Quicksand', sans-serif;
}

.zoomag_header_nav_button:hover {
  color: #FFE66D !important;
  background: linear-gradient(135deg, #4ECDC4, #FF6B35);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ПРОПОРЦИОНАЛЬНЫЕ РАЗМЕРЫ ИКОНОК */
.zoomag_header_icon {
  font-size: 0.9em;
  transition: transform 0.3s ease;
  width: 16px;
  text-align: center;
}
.zoomag_header_nav_button:hover .zoomag_header_icon {
  transform: scale(1.1);
}
.zoomag_header_caret {
  transition: transform 0.3s ease;
  font-size: 0.8em;
}
.zoomag_account_dropdown.active .zoomag_header_caret {
  transform: rotate(180deg);
}

/* ВЫПАДАЮЩЕЕ МЕНЮ ЛИЧНОГО КАБИНЕТА */
.zoomag_account_dropdown {
  position: relative;
  z-index: 99;
}
.zoomag_account_dropdown_menu {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(250,255,252,0.98)) !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(110,211,207,0.3) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  padding: 8px 0;
  margin-top: 0 !important;
  min-width: 190px;
  position: absolute !important;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  bottom: auto;
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 90;
}
.zoomag_account_dropdown.active .zoomag_account_dropdown_menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.zoomag_account_menu_item {
  color: #2c5530 !important;
  font-weight: 500;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
  border-radius: 5px;
  margin: 2px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  font-family: 'Quicksand', sans-serif;
  text-decoration: none !important;
}
.zoomag_account_menu_item:hover {
  background: linear-gradient(135deg, #4ECDC4, #FF6B35);
  color: white !important;
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.2);
}
.zoomag_account_menu_icon {
  font-size: 0.85em;
  width: 16px;
  text-align: center;
}

/* ===== ОСНОВНОЙ БЛОК ШАПКИ С ЛОГОТИПОМ ===== */
.zoomag_main_header_block {
  background: linear-gradient(135deg, #ffdab2, rgb(193 39 28));
  border-bottom: 1px solid #4ECDC4;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  padding: 35px 0;
  position: relative;
}

/* ===== ПРОПОРЦИОНАЛЬНОЕ РАСПОЛОЖЕНИЕ ОСНОВНОЙ ШАПКИ ===== */
.zoomag_header_layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* ЛОГОТИП - 25% ШИРИНЫ */
.zoomag_logo_section {
  flex: 0 0 25%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* ПОИСК - 50% ШИРИНЫ (ЦЕНТРАЛЬНАЯ ЧАСТЬ) */
.zoomag_search_section {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* КОРЗИНА - 25% ШИРИНЫ */
.zoomag_cart_section {
  flex: 0 0 25%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* КОНТЕЙНЕР ЛОГОТИПА С МОНЕТАМИ */
.zoomag_logo_with_coins {
  position: relative;
  display: inline-block;
  width: 210px;
  height: 210px;
  z-index: 90;
}

/* Основной логотип */
.zoomag_logo_image {
  width: 210px;
  height: 210px;
  border-radius: 30%;
  border: 3px solid transparent;
  position: absolute;
  transition: all 0.3s ease;
  object-fit: contain;
  top: 0;
  left: 0;
  max-width: 150%;
  left:-100%;
  z-index: 90;
}

/* Анимированные монеты */
.coin {
  max-width: 150%;
  position: absolute;
  width: 197px;
  height: 197px;
  background: url('https://zoomag.by/image/catalog/logo-coins.webp') center/contain no-repeat;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
  border-radius: 30%;
  opacity: 0;
  top: 0;
  left: 0;
  overflow: hidden;
  left:-95%;
  z-index: 1;
}

/* НОВАЯ АНИМАЦИЯ БЛЕСКА */
.coin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 30%;
  animation: coinPulse 4s ease-in-out infinite;
  opacity: 0;
  transform: scale(1.2);
  z-index: 1;
}

@keyframes coinPulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1.2);
  }
  25% {
    opacity: 0.7;
    transform: scale(1.1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.15);
  }
  75% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* АНИМАЦИЯ ВРАЩАЮЩИХСЯ ЛУЧЕЙ */
.coin::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 215, 0, 0.3) 30deg,
    rgba(255, 255, 255, 0.6) 50deg,
    rgba(255, 215, 0, 0.3) 70deg,
    transparent 90deg,
    transparent 180deg,
    rgba(255, 215, 0, 0.2) 210deg,
    rgba(255, 255, 255, 0.4) 230deg,
    rgba(255, 215, 0, 0.2) 250deg,
    transparent 270deg
  );
  animation: coinRotate 8s linear infinite;
  opacity: 0.3;
  z-index: 1;
}

@keyframes coinRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* НОВАЯ АНИМАЦИЯ МОНЕТЫ - ОДИН ПЛАВНЫЙ ДВИЖЕНИЕ */
.coin-slide-right {
  animation: coinSlideRight 180s ease-in-out infinite;
  animation-delay: 5s;
  z-index: 1;
}

@keyframes coinSlideRight {
  /* Начало - монета скрыта */
  0%, 1% {
    opacity: 0;
    transform: translateX(0) scale(0.9);
  }
  /* ПЛАВНОЕ ПОЯВЛЕНИЕ И ДВИЖЕНИЕ */
  2% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  /* ОДНО ПЛАВНОЕ ДВИЖЕНИЕ ДО КОНЕЧНОЙ ТОЧКИ */
  5% {
    opacity: 1;
    transform: translateX(200px) scale(1);
  }
  /* ПАУЗА НА 3 МИНУТЫ (90% времени) */
  6%, 94% {
    opacity: 1;
    transform: translateX(200px) scale(1);
  }
  /* ПЛАВНОЕ ВОЗВРАЩЕНИЕ */
  95% {
    opacity: 1;
    transform: translateX(200px) scale(1);
  }
  98% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  99% {
    opacity: 0;
    transform: translateX(0) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translateX(0) scale(0.9);
  }
}

/* Эффект при наведении */
.zoomag_logo_with_coins:hover .zoomag_logo_image {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(78,205,196,0.4);
  border-color: #4ECDC4;
}

.zoomag_logo_with_coins:hover .coin-slide-right {
  filter: drop-shadow(2px 2px 8px rgba(255, 215, 0, 0.8));
}

.zoomag_logo_with_coins:hover .coin::before {
  animation-duration: 2s;
}

.zoomag_logo_with_coins:hover .coin::after {
  animation-duration: 4s;
  opacity: 0.5;
}

/* БЛОК ЛОГОТИПА */
.zoomag_logo_block {
  display: flex;
  align-items: center;
  height: 150%;
}
.zoomag_logo_block a {
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Текстовое сопровождение логотипа */
.zoomag_logo_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  left: 80px;
}

.zoomag_logo_title {
  margin: 0;
  font-size: 3.4rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #FF6B35, #4ECDC4, #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  animation: logoGlow 3s ease-in-out infinite alternate;
  line-height: 1.1;
}
@keyframes logoGlow {
  from {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1), 0 0 10px rgba(255,107,53,0.3);
  }
  to {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1), 0 0 20px rgba(78,205,196,0.5);
  }
}

.zoomag_logo_subtitle {
  color: #666;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.6rem;
  margin-top: 10px;
  font-weight: 600;
}

/* БЛОК КОРЗИНЫ */
.zoomag_cart_block {
  background: transparent !important;
  border-radius: 20px;
  padding: 20px;
  box-shadow: none !important;
  transition: all 0.3s ease;
  border: none !important;
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  width: 100%;
  max-width: 300px;
  z-index: 1000; /* Базовый z-index для контейнера корзины */
}
.zoomag_cart_block:hover {
  transform: translateY(-3px);
}
.zoomag_cart_icon {
  font-size: 1.8rem;
  margin-right: 12px;
  color: #4ECDC4;
  transition: transform 0.3s ease;
}
.zoomag_cart_block:hover .zoomag_cart_icon {
  transform: scale(1.2) rotate(5deg);
}

/* Исправление проблемы с z-index для выпадающей корзины */
#cart > .dropdown-menu {
  z-index: 10001 !important; /* Высокий z-index для выпадающего меню корзины */
  position: absolute !important; /* Убедимся, что позиционирование абсолютное */
}

/* БЛОК ПОИСКА */
.zoomag_search_block {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ ===== */

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1200px) {
  .zoomag_logo_with_coins,
  .zoomag_logo_image,
  .coin {
    width: 200px;
    height: 200px;
      left:-10%;

  }
  
  .coin {
    width: 200px;
    height: 200px;
  }
  
  .zoomag_logo_title {
    font-size: 3rem;
  }
  .zoomag_logo_subtitle {
    font-size: 1.4rem;
  }
  
  .zoomag_search_block {
    max-width: 500px;
  }
  
  @keyframes coinSlideRight {
    0%, 1% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    2% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    5% {
      opacity: 1;
      transform: translateX(252px) scale(1);
    }
    6%, 94% {
      opacity: 1;
      transform: translateX(252px) scale(1);
    }
    95% {
      opacity: 1;
      transform: translateX(252px) scale(1);
    }
    98% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    99% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    100% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
  }
}

/* Большие планшеты */
@media (max-width: 992px) {
  .zoomag_main_header_block {
    padding: 25px 0;
  }
  
  .zoomag_header_layout {
    flex-direction: column;
    gap: 25px;
  }
  
  .zoomag_logo_section,
  .zoomag_search_section,
  .zoomag_cart_section {
    flex: 1;
    width: 100%;
    justify-content: center;
  }
  
  .zoomag_logo_with_coins,
  .zoomag_logo_image,
  .coin {
    width: 200px;
    height: 200px;
  }
  
  .coin {
    width: 187px;
    height: 187px;
  }
  
  .zoomag_logo_title {
    font-size: 3.2rem;
  }
  
  .zoomag_logo_subtitle {
    font-size: 1.5rem;
  }
  
  .zoomag_search_block {
    max-width: 500px;
  }
  
  .zoomag_cart_block {
    max-width: 220px;
    padding: 15px;
  }
  
  @keyframes coinSlideRight {
    0%, 1% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    2% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    5% {
      opacity: 1;
      transform: translateX(252px) scale(1);
    }
    6%, 94% {
      opacity: 1;
      transform: translateX(252px) scale(1);
    }
    95% {
      opacity: 1;
      transform: translateX(252px) scale(1);
    }
    98% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    99% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    100% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
  }
  
  /* Скрываем плавающих зверят на планшетах */
  .floating-pet {
    display: none;
  }
  
  /* Адаптация верхней панели */
  .zoomag_top_panel .container {
    flex-direction: column;
    gap: 8px;
  }
  
  .zoomag_currency_language_block,
  .zoomag_navigation_buttons_block {
    flex: 1;
    width: 100%;
    justify-content: center;
  }
}

/* Планшеты и большие телефоны */
@media (max-width: 768px) {
  .zoomag_main_header_block {
    padding: 20px 0;
  }
  
  .zoomag_top_panel {
    padding: 6px 0;
  }
  
  .zoomag_header_nav_button {
    padding: 6px 12px;
    font-size: 0.8rem;
    height: 32px;
  }
  
  /* Скрываем текст кнопок на мобильных */
  .zoomag_header_nav_button span.d-none.d-md-inline {
    display: none !important;
  }
  
  .zoomag_account_dropdown_menu {
    min-width: 160px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
  }
  
  .zoomag_account_dropdown.active .zoomag_account_dropdown_menu {
    transform: translateX(-50%) translateY(0);
  }
  
  .zoomag_logo_with_coins,
  .zoomag_logo_image,
  .coin {
    width: 196px;
    height: 196px;
  }
  
  .coin {
    width: 182px;
    height: 182px;
  }
  
  .zoomag_logo_title {
    font-size: 3.36rem;
    text-align: center;
    margin-bottom: 5px;
  }
  
  .zoomag_logo_subtitle {
    font-size: 1.68rem;
    text-align: center;
  }
  
  /* НОВАЯ СТРУКТУРА ДЛЯ МОБИЛЬНЫХ */
  .zoomag_header_layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .zoomag_logo_section {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
  }
  
  .zoomag_logo_block {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }
  
  .zoomag_logo_block a {
    flex-direction: column;
    gap: 10px;
  }
  
  .zoomag_logo_text {
    left: 0;
    align-items: center;
    margin-top: 10px;
  }
  
  .zoomag_search_section {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
  }
  
  .zoomag_cart_section {
    order: 3;
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }
  
  .zoomag_search_block {
    max-width: 100%;
    width: 100%;
  }
  
  .zoomag_cart_block {
    max-width: 300px;
    width: 100%;
    min-height: 70px;
    padding: 15px 20px;
  }
  
  /* Скрываем корзину при активном меню на мобильных */
  .zoomag_account_dropdown.active ~ .zoomag_cart_section .zoomag_cart_block {
    display: none;
  }
  
  /* Скрываем корзину при активном основном меню на мобильных */
  .navbar-menu-active .zoomag_cart_block {
    display: none !important;
  }
  
  /* ИСПРАВЛЕНИЕ: Анимация монеты для мобильных */
  .coin-slide-right {
    animation: coinSlideRightMobile 180s ease-in-out infinite !important;
    animation-delay: 5s !important;
  }
  
  /* Анимация монеты для мобильных */
  @keyframes coinSlideRightMobile {
    0%, 1% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    2% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    5% {
      opacity: 1;
      transform: translateX(168px) scale(1);
    }
    6%, 94% {
      opacity: 1;
      transform: translateX(168px) scale(1);
    }
    95% {
      opacity: 1;
      transform: translateX(168px) scale(1);
    }
    98% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    99% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    100% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
  }
  
  .zoomag_nav_buttons_list {
    justify-content: center !important;
    flex-wrap: wrap;
  }
  
  /* Адаптация верхней панели для мобильных */
  .zoomag_top_panel .container {
    flex-direction: column;
    gap: 8px;
  }
  
  .zoomag_currency_language_block,
  .zoomag_navigation_buttons_block {
    flex: 1;
    width: 100%;
    justify-content: center;
  }
  
  .zoomag_currency_language_block .zoomag_currency_list {
    justify-content: center;
  }
  
  /* Скрываем плавающих зверят на мобильных */
  .floating-pet {
    display: none;
  }
}

/* Телефоны */

@media (max-width: 576px) {
  .zoomag_main_header_block {
    padding: 15px 0;
  }
  
  .zoomag_currency_language_block, 
  .zoomag_navigation_buttons_block {
    text-align: center !important;
  }
  
  .zoomag_nav_buttons_list {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .zoomag_header_nav_button {
    padding: 5px 10px;
    font-size: 0.75rem;
    height: 30px;
  }
  
  .zoomag_logo_with_coins,
  .zoomag_logo_image,
  .coin {
    width: 168px;
    height: 168px;
  }
  
  .coin {
    width: 156px;
    height: 156px;
  }
  
  .zoomag_logo_title {
    font-size: 2.8rem;
  }
  
  .zoomag_logo_subtitle {
    font-size: 1.4rem;
  }
  
  .zoomag_cart_block {
    max-width: 280px;
    padding: 12px 15px;
    min-height: 60px;
  }
  
  .zoomag_search_block {
    max-width: 100%;
  }
  
  /* Скрываем корзину при активном меню на телефонах */
  .zoomag_account_dropdown.active ~ .zoomag_cart_section .zoomag_cart_block {
    display: none;
  }
  
  /* Скрываем корзину при активном основном меню на телефонах */
  .navbar-menu-active .zoomag_cart_block {
    display: none !important;
  }
  
  /* Анимация монеты для маленьких телефонов */
  @keyframes coinSlideRightMobile {
    0%, 1% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    2% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    5% {
      opacity: 1;
      transform: translateX(140px) scale(1);
    }
    6%, 94% {
      opacity: 1;
      transform: translateX(140px) scale(1);
    }
    95% {
      opacity: 1;
      transform: translateX(140px) scale(1);
    }
    98% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    99% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    100% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
  }
}

/* Очень маленькие телефоны */
@media (max-width: 480px) {
  .zoomag_main_header_block {
    padding: 12px 0;
  }
  
  .zoomag_logo_with_coins,
  .zoomag_logo_image {
    width: 140px;
    height: 140px;
  }
  
  .coin {
    width: 130px;
    height: 130px;
  }
  
  .zoomag_logo_title {
    font-size: 2.4rem;
  }
  
  .zoomag_logo_subtitle {
    font-size: 1.2rem;
  }
  
  .zoomag_cart_block {
    max-width: 260px;
    padding: 10px 12px;
    min-height: 55px;
  }
  
  .zoomag_cart_icon {
    font-size: 1.5rem;
    margin-right: 8px;
  }
  
  /* Скрываем корзину при активном меню на очень маленьких телефонах */
  .zoomag_account_dropdown.active ~ .zoomag_cart_section .zoomag_cart_block {
    display: none;
  }
  
  /* Скрываем корзину при активном основном меню на очень маленьких телефонах */
  .navbar-menu-active .zoomag_cart_block {
    display: none !important;
  }
  
  /* Анимация монеты для очень маленьких телефонов */
  @keyframes coinSlideRightMobile {
    0%, 1% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    2% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    5% {
      opacity: 1;
      transform: translateX(112px) scale(1);
    }
    6%, 94% {
      opacity: 1;
      transform: translateX(112px) scale(1);
    }
    95% {
      opacity: 1;
      transform: translateX(112px) scale(1);
    }
    98% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    99% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    100% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
  }
}

/* Ландшафтная ориентация телефонов */
@media (max-width: 768px) and (orientation: landscape) {
  .zoomag_main_header_block {
    padding: 15px 0;
  }
  
  .zoomag_header_layout {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
  }
  
  .zoomag_logo_section {
    flex: 0 0 40%;
    order: 1;
    justify-content: flex-start;
  }
  
  .zoomag_logo_block {
    flex-direction: row;
    text-align: left;
  }
  
  .zoomag_logo_text {
    align-items: flex-start;
    margin-top: 0;
    margin-left: 10px;
  }
  
  .zoomag_search_section {
    flex: 0 0 35%;
    order: 2;
  }
  
  .zoomag_cart_section {
    flex: 0 0 25%;
    order: 3;
    margin-top: 0;
    justify-content: flex-end;
  }
  
  .zoomag_logo_with_coins,
  .zoomag_logo_image {
    width: 100px;
    height: 100px;
  }
  
  .coin {
    width: 93px;
    height: 93px;
  }
  
  .zoomag_logo_title {
    font-size: 2rem;
  }
  
  .zoomag_logo_subtitle {
    font-size: 1rem;
  }
  
  .zoomag_cart_block {
    max-width: 140px;
    padding: 8px 10px;
    min-height: 50px;
  }
  
  /* Скрываем корзину при активном меню в ландшафтной ориентации */
  .zoomag_account_dropdown.active ~ .zoomag_cart_section .zoomag_cart_block {
    display: none;
  }
  
  /* Скрываем корзину при активном основном меню в ландшафтной ориентации */
  .navbar-menu-active .zoomag_cart_block {
    display: none !important;
  }
  
  /* Анимация для ландшафта */
  @keyframes coinSlideRightMobile {
    0%, 1% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    2% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    5% {
      opacity: 1;
      transform: translateX(98px) scale(1);
    }
    6%, 94% {
      opacity: 1;
      transform: translateX(98px) scale(1);
    }
    95% {
      opacity: 1;
      transform: translateX(98px) scale(1);
    }
    98% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    99% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    100% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
  }
}

/* Высокие телефоны */
@media (max-width: 480px) and (min-height: 700px) {
  .zoomag_main_header_block {
    padding: 20px 0;
  }
  
  .zoomag_logo_with_coins,
  .zoomag_logo_image {
    width: 160px;
    height: 160px;
  }
  
  .coin {
    width: 149px;
    height: 149px;
  }
  
  .zoomag_logo_title {
    font-size: 2.8rem;
  }
  
  .zoomag_logo_subtitle {
    font-size: 1.4rem;
  }
  
  .zoomag_cart_block {
    max-width: 280px;
    padding: 15px 20px;
    min-height: 65px;
  }
  
  /* Скрываем корзину при активном меню на высоких телефонах */
  .zoomag_account_dropdown.active ~ .zoomag_cart_section .zoomag_cart_block {
    display: none;
  }
  
  /* Скрываем корзину при активном основном меню на высоких телефонах */
  .navbar-menu-active .zoomag_cart_block {
    display: none !important;
  }
  
  /* Анимация для высоких телефонов */
  @keyframes coinSlideRightMobile {
    0%, 1% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    2% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    5% {
      opacity: 1;
      transform: translateX(168px) scale(1);
    }
    6%, 94% {
      opacity: 1;
      transform: translateX(168px) scale(1);
    }
    95% {
      opacity: 1;
      transform: translateX(168px) scale(1);
    }
    98% {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
    99% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
    100% {
      opacity: 0;
      transform: translateX(0) scale(0.9);
    }
  }
}

/* =========================================================
   Mobile header priority fix
   Search -> Menu -> Cart, logo after actions
   ========================================================= */
.zoomag_mobile_menu_slot {
  display: none;
}

@media (max-width: 991px) {
  .zoomag_header_layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
  }

  .zoomag_search_section {
    order: 1;
    flex: 0 0 100%;
    width: 100%;
  }

  .zoomag_mobile_menu_slot {
    display: flex;
    order: 2;
    flex: 1 1 calc(50% - 7px);
    width: calc(50% - 7px);
    min-width: 0;
    align-items: stretch;
  }

  .zoomag_cart_section {
    order: 3;
    flex: 1 1 calc(50% - 7px);
    width: calc(50% - 7px);
    min-width: 0;
    margin-top: 0;
  }

  .zoomag_logo_section {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
  }

  .zoomag_mobile_menu_slot .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    border: none;
    border-radius: 16px;
    background: rgba(255, 248, 239, 0.96);
    color: #5a4534;
    box-shadow: 0 14px 28px rgba(103, 70, 35, 0.14);
    font-weight: 800;
    min-height: 58px;
  }

  .zoomag_mobile_menu_slot .toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  .zoomag_mobile_menu_slot .toggle-icon .bar {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #5a4534;
  }

  .zoomag_cart_section .zoomag_cart_block {
    width: 100%;
    max-width: none;
    min-height: 58px;
    justify-content: center;
  }

  body.navbar-menu-active .zoomag_cart_section,
  html.navbar-menu-active .zoomag_cart_section {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 575px) {
  .zoomag_mobile_menu_slot,
  .zoomag_cart_section {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* =========================================================
   Final mobile header hierarchy:
   logo + text, then search + cart, then menu below.
   The coin stays attached to the logo on adaptive screens.
   ========================================================= */
@media (max-width: 991px) {
  .zoomag_main_header_block {
    padding: 14px 0 12px !important;
  }

  .zoomag_header_layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "logo logo"
      "search cart" !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .zoomag_logo_section {
    grid-area: logo !important;
    order: 1 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .zoomag_logo_block,
  .zoomag_logo_block a {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .zoomag_logo_with_coins {
    width: 148px !important;
    height: 148px !important;
    max-width: 148px !important;
    max-height: 148px !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin: 0 auto !important;
    overflow: visible !important;
    z-index: 3 !important;
  }

  .zoomag_logo_image {
    width: 148px !important;
    height: 148px !important;
    max-width: 148px !important;
    max-height: 148px !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    position: absolute !important;
    object-fit: contain !important;
    z-index: 4 !important;
  }

  .coin {
    width: 138px !important;
    height: 138px !important;
    max-width: 138px !important;
    max-height: 138px !important;
    top: 5px !important;
    left: 5px !important;
    right: auto !important;
    position: absolute !important;
    z-index: 2 !important;
  }

  .zoomag_logo_text {
    position: static !important;
    left: auto !important;
    margin: 0 !important;
    align-items: center !important;
  }

  .zoomag_logo_title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .zoomag_logo_subtitle {
    font-size: clamp(.95rem, 4vw, 1.35rem) !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .zoomag_search_section {
    grid-area: search !important;
    order: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    justify-content: stretch !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 2147483608 !important;
  }

  .zoomag_cart_section {
    grid-area: cart !important;
    order: 3 !important;
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 2147483634 !important;
  }

  .zoomag_mobile_menu_slot {
    display: none !important;
  }

  .zoomag_search_block {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .zoomag-magic-search {
    padding: 0 !important;
  }

  .magic-search-input-wrapper {
    min-height: 34px !important;
    padding: 3px !important;
    border-width: 1px !important;
    box-shadow: 0 5px 14px rgba(75, 38, 36, 0.12) !important;
  }

  .magic-search-input {
    min-height: 30px !important;
    padding: 6px 54px 6px 30px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .magic-search-btn {
    right: 4px !important;
    padding: 5px 9px !important;
    min-height: 26px !important;
    font-size: 11px !important;
    border-radius: 999px !important;
    box-shadow: 0 5px 12px rgba(255, 107, 53, 0.18) !important;
  }

  .zoomag_cart_block {
    width: auto !important;
    max-width: none !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  body.navbar-menu-active .zoomag_cart_section,
  html.navbar-menu-active .zoomag_cart_section,
  .navbar-menu-active .zoomag_cart_block {
    opacity: 1 !important;
    display: flex !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 480px) {
  .zoomag_logo_with_coins,
  .zoomag_logo_image {
    width: 126px !important;
    height: 126px !important;
    max-width: 126px !important;
    max-height: 126px !important;
  }

  .coin {
    width: 118px !important;
    height: 118px !important;
    max-width: 118px !important;
    max-height: 118px !important;
    top: 4px !important;
    left: 4px !important;
  }

  .magic-search-input {
    padding-right: 46px !important;
    padding-left: 22px !important;
    font-size: 11px !important;
  }

  .magic-search-btn {
    padding: 5px 7px !important;
    font-size: 10px !important;
  }
}


/* =========================================================
   FINAL TOUCH 2026-05-02: compact adaptive search button
   Does not change the approved mobile hierarchy.
   ========================================================= */
@media (max-width: 991px) {
  .zoomag_search_section .magic-search-input-wrapper { min-height: 28px !important; padding: 2px !important; border-radius: 14px !important; }
  .zoomag_search_section .magic-search-input { min-height: 24px !important; padding: 4px 36px 4px 20px !important; font-size: 10.5px !important; line-height: 1.15 !important; }
  .zoomag_search_section .magic-search-btn { right: 3px !important; min-height: 20px !important; height: 20px !important; padding: 3px 6px !important; font-size: 9px !important; line-height: 1 !important; border-radius: 999px !important; }
}
@media (max-width: 480px) {
  .zoomag_search_section .magic-search-input { padding-right: 32px !important; padding-left: 16px !important; font-size: 10px !important; }
  .zoomag_search_section .magic-search-btn { min-height: 18px !important; height: 18px !important; padding: 2px 5px !important; font-size: 8.5px !important; }
}


/* ===== catalog/view/stylesheet/zoomag/zm-mobile-header-search-cart-v3-20260519.css ===== */
/* ZooMag mobile header/search/cart hard fix v3 — 2026-05-19
   Loads after search.twig and cart.twig CSS, so it deliberately overrides older compact rules. */

@media (max-width: 991.98px) {
  body.zoomag-2026 .zoomag_main_header_block,
  .zoomag_main_header_block {
    padding: 10px 0 12px !important;
    overflow: visible !important;
  }

  body.zoomag-2026 .zoomag_main_header_block .container,
  .zoomag_main_header_block .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.zoomag-2026 .zoomag_header_layout,
  .zoomag_header_layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 50px !important;
    grid-template-areas:
      "search cart"
      "menu menu"
      "logo logo" !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body.zoomag-2026 .zoomag_search_section,
  .zoomag_search_section {
    grid-area: search !important;
    order: unset !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    justify-content: stretch !important;
    align-items: center !important;
  }

  body.zoomag-2026 .zoomag_search_block,
  .zoomag_search_block,
  body.zoomag-2026 .zoomag-magic-search,
  .zoomag-magic-search {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.zoomag-2026 .zoomag_cart_section,
  .zoomag_cart_section {
    grid-area: cart !important;
    order: unset !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-end !important;
    align-items: center !important;
    overflow: visible !important;
  }

  body.zoomag-2026 .zoomag_mobile_menu_slot,
  .zoomag_mobile_menu_slot {
    grid-area: menu !important;
    order: unset !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body.zoomag-2026 .zoomag_logo_section,
  .zoomag_logo_section {
    grid-area: logo !important;
    order: unset !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body.zoomag-2026 .zoomag_cart_block,
  .zoomag_cart_block {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 0 !important;
    height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    overflow: visible !important;
  }

  body.zoomag-2026 .zoomag_cart_icon,
  .zoomag_cart_icon {
    display: none !important;
  }

  body.zoomag-2026 .floating-cart-wrapper,
  .floating-cart-wrapper,
  body.zoomag-2026 .cloud-cart-container,
  .cloud-cart-container {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.zoomag-2026 .zoomag_cart_section .cloud-cart-btn,
  body.zoomag-2026 .zoomag_cart_section .cloud-cart-btn.dropdown-toggle,
  body.zoomag-2026 .zoomag_cart_section #cart .cloud-cart-btn,
  .zoomag_cart_section .cloud-cart-btn,
  .zoomag_cart_section .cloud-cart-btn.dropdown-toggle,
  .zoomag_cart_section #cart .cloud-cart-btn {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 !important;
    border-radius: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    transform: none !important;
  }

  body.zoomag-2026 .zoomag_cart_section .cloud-cart-price,
  .zoomag_cart_section .cloud-cart-price {
    display: none !important;
  }

  body.zoomag-2026 .zoomag_cart_section .cloud-cart-icon,
  .zoomag_cart_section .cloud-cart-icon {
    font-size: 17px !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 1 !important;
  }

  body.zoomag-2026 .zoomag_cart_section .cart-badge-cloud,
  body.zoomag-2026 .zoomag_cart_section #cart .cart-badge-cloud,
  .zoomag_cart_section .cart-badge-cloud,
  .zoomag_cart_section #cart .cart-badge-cloud {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    top: -7px !important;
    right: -8px !important;
    font-size: 9px !important;
    border-width: 1px !important;
    line-height: 1 !important;
  }

  body.zoomag-2026 .magic-search-input-wrapper,
  body.zoomag-2026 .zoomag_search_section .magic-search-input-wrapper,
  .magic-search-input-wrapper,
  .zoomag_search_section .magic-search-input-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 3px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  body.zoomag-2026 .magic-search-input,
  body.zoomag-2026 .zoomag_search_section .magic-search-input,
  .magic-search-input,
  .zoomag_search_section .magic-search-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 43px 0 14px !important;
    font-size: 13px !important;
    line-height: 36px !important;
    border-radius: 13px !important;
    text-overflow: ellipsis !important;
  }

  body.zoomag-2026 .magic-search-input::placeholder,
  .magic-search-input::placeholder {
    font-size: 12px !important;
    opacity: .9 !important;
  }

  body.zoomag-2026 .magic-search-btn,
  body.zoomag-2026 .zoomag_search_section .magic-search-btn,
  .magic-search-btn,
  .zoomag_search_section .magic-search-btn {
    position: absolute !important;
    top: 50% !important;
    right: 4px !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  body.zoomag-2026 .magic-search-btn span,
  .magic-search-btn span {
    font-size: 0 !important;
    line-height: 1 !important;
  }

  body.zoomag-2026 .magic-search-btn span::before,
  .magic-search-btn span::before {
    content: "🔍" !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }

  body.zoomag-2026 .magic-glow,
  body.zoomag-2026 .floating-particles,
  body.zoomag-2026 .orbit-paws,
  body.zoomag-2026 .btn-sparkles,
  .magic-glow,
  .floating-particles,
  .orbit-paws,
  .btn-sparkles {
    display: none !important;
  }

  body.zoomag-2026 .magic-loupe,
  .magic-loupe {
    display: none !important;
  }

  body.zoomag-2026 .magic-results-dropdown,
  .magic-results-dropdown,
  body.zoomag-2026 #magic-results-dropdown,
  #magic-results-dropdown {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: 0 !important;
    border-radius: 16px !important;
  }

  body.zoomag-2026 #alert,
  #alert {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    z-index: 2147483600 !important;
  }

  body.zoomag-2026 #alert .alert,
  #alert .alert {
    border-radius: 14px !important;
    padding: 10px 38px 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .20) !important;
  }
}

@media (max-width: 430px) {
  body.zoomag-2026 .zoomag_header_layout,
  .zoomag_header_layout {
    grid-template-columns: minmax(0, 1fr) 46px !important;
    gap: 7px !important;
  }

  body.zoomag-2026 .zoomag_cart_section,
  .zoomag_cart_section,
  body.zoomag-2026 .zoomag_cart_block,
  .zoomag_cart_block {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
  }

  body.zoomag-2026 .magic-search-input,
  body.zoomag-2026 .zoomag_search_section .magic-search-input,
  .magic-search-input,
  .zoomag_search_section .magic-search-input {
    font-size: 12.5px !important;
    padding-left: 12px !important;
    padding-right: 41px !important;
  }
}

@media (max-width: 360px) {
  body.zoomag-2026 .zoomag_header_layout,
  .zoomag_header_layout {
    grid-template-columns: minmax(0, 1fr) 44px !important;
  }

  body.zoomag-2026 .zoomag_cart_section,
  .zoomag_cart_section,
  body.zoomag-2026 .zoomag_cart_block,
  .zoomag_cart_block,
  body.zoomag-2026 .floating-cart-wrapper,
  .floating-cart-wrapper,
  body.zoomag-2026 .cloud-cart-container,
  .cloud-cart-container {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }

  body.zoomag-2026 .zoomag_cart_section .cloud-cart-btn,
  .zoomag_cart_section .cloud-cart-btn,
  .zoomag_cart_section .cloud-cart-btn.dropdown-toggle,
  .zoomag_cart_section #cart .cloud-cart-btn {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }

  body.zoomag-2026 .magic-search-input::placeholder,
  .magic-search-input::placeholder {
    font-size: 11.5px !important;
  }
}


/* ===== catalog/view/stylesheet/zoomag/zm-mobile-header-level-v4-20260519.css ===== */
/* ZooMag adaptive header level fix v4 — 2026-05-19
   Only adaptive devices. Restores approved mobile hierarchy:
   logo first, then search + cart on one even line. */

@media (max-width: 991.98px) {
  body.zoomag-2026 .zoomag_main_header_block,
  .zoomag_main_header_block {
    padding: 12px 0 12px !important;
    overflow: visible !important;
  }

  body.zoomag-2026 .zoomag_main_header_block .container,
  .zoomag_main_header_block .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.zoomag-2026 .zoomag_header_layout,
  .zoomag_header_layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 50px !important;
    grid-template-areas:
      "logo logo"
      "search cart" !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 10px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.zoomag-2026 .zoomag_logo_section,
  .zoomag_logo_section {
    grid-area: logo !important;
    order: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body.zoomag-2026 .zoomag_search_section,
  .zoomag_search_section {
    grid-area: search !important;
    order: unset !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    align-self: center !important;
    justify-content: stretch !important;
    align-items: center !important;
    position: relative !important;
    z-index: 30 !important;
  }

  body.zoomag-2026 .zoomag_cart_section,
  .zoomag_cart_section {
    grid-area: cart !important;
    order: unset !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    align-self: center !important;
    justify-content: flex-end !important;
    align-items: center !important;
    position: relative !important;
    z-index: 31 !important;
  }

  body.zoomag-2026 .zoomag_mobile_menu_slot,
  .zoomag_mobile_menu_slot {
    display: none !important;
    grid-area: auto !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.zoomag-2026 .zoomag_search_block,
  .zoomag_search_block,
  body.zoomag-2026 .zoomag-magic-search,
  .zoomag-magic-search,
  body.zoomag-2026 .magic-search-input-wrapper,
  .magic-search-input-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.zoomag-2026 .magic-search-input-wrapper,
  body.zoomag-2026 .zoomag_search_section .magic-search-input-wrapper,
  .magic-search-input-wrapper,
  .zoomag_search_section .magic-search-input-wrapper {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 3px !important;
    border-radius: 16px !important;
  }

  body.zoomag-2026 .magic-search-input,
  body.zoomag-2026 .zoomag_search_section .magic-search-input,
  .magic-search-input,
  .zoomag_search_section .magic-search-input {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 43px 0 14px !important;
    font-size: 13px !important;
    line-height: 36px !important;
    border-radius: 13px !important;
  }

  body.zoomag-2026 .magic-search-btn,
  body.zoomag-2026 .zoomag_search_section .magic-search-btn,
  .magic-search-btn,
  .zoomag_search_section .magic-search-btn {
    position: absolute !important;
    top: 50% !important;
    right: 4px !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
  }

  body.zoomag-2026 .magic-search-btn span,
  .magic-search-btn span {
    font-size: 0 !important;
  }

  body.zoomag-2026 .magic-search-btn span::before,
  .magic-search-btn span::before {
    content: "🔍" !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }

  body.zoomag-2026 .zoomag_cart_block,
  .zoomag_cart_block,
  body.zoomag-2026 .floating-cart-wrapper,
  .floating-cart-wrapper,
  body.zoomag-2026 .cloud-cart-container,
  .cloud-cart-container {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  body.zoomag-2026 .zoomag_cart_section .cloud-cart-btn,
  body.zoomag-2026 .zoomag_cart_section .cloud-cart-btn.dropdown-toggle,
  body.zoomag-2026 .zoomag_cart_section #cart .cloud-cart-btn,
  .zoomag_cart_section .cloud-cart-btn,
  .zoomag_cart_section .cloud-cart-btn.dropdown-toggle,
  .zoomag_cart_section #cart .cloud-cart-btn {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 !important;
    transform: none !important;
  }

  body.zoomag-2026 .zoomag_cart_section .cloud-cart-price,
  .zoomag_cart_section .cloud-cart-price,
  body.zoomag-2026 .zoomag_cart_icon,
  .zoomag_cart_icon {
    display: none !important;
  }

  body.navbar-menu-active .zoomag_cart_section,
  html.navbar-menu-active .zoomag_cart_section,
  .navbar-menu-active .zoomag_cart_block {
    opacity: 1 !important;
    display: flex !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 430px) {
  body.zoomag-2026 .zoomag_header_layout,
  .zoomag_header_layout {
    grid-template-columns: minmax(0, 1fr) 46px !important;
    gap: 9px 7px !important;
  }

  body.zoomag-2026 .zoomag_cart_section,
  .zoomag_cart_section,
  body.zoomag-2026 .zoomag_cart_block,
  .zoomag_cart_block,
  body.zoomag-2026 .floating-cart-wrapper,
  .floating-cart-wrapper,
  body.zoomag-2026 .cloud-cart-container,
  .cloud-cart-container {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
  }
}

@media (max-width: 360px) {
  body.zoomag-2026 .zoomag_header_layout,
  .zoomag_header_layout {
    grid-template-columns: minmax(0, 1fr) 44px !important;
  }

  body.zoomag-2026 .zoomag_cart_section,
  .zoomag_cart_section,
  body.zoomag-2026 .zoomag_cart_block,
  .zoomag_cart_block,
  body.zoomag-2026 .floating-cart-wrapper,
  .floating-cart-wrapper,
  body.zoomag-2026 .cloud-cart-container,
  .cloud-cart-container {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }
}


/* ===== catalog/view/stylesheet/zoomag/zm-responsive-layout-round7.css ===== */
/* ========================================================================== 
   ZooMag responsive layout guard — Round 7 (2026-07-15)
   Purpose:
   - structural layout uses Grid/Flex instead of positional offsets;
   - decorative absolute/fixed elements remain decorative;
   - prevent horizontal overflow in custom product/category HTML;
   - stabilize header, banner, cards and floating widgets from 320px upward.
   Loaded LAST in <head>.
   ========================================================================== */

:root {
  --zm-r7-site-max: 1440px;
  --zm-r7-gutter: clamp(10px, 2.2vw, 28px);
  --zm-r7-gap: clamp(10px, 1.8vw, 24px);
  --zm-r7-radius: clamp(16px, 2vw, 28px);
}

html {
  max-width: 100%;
  overflow-x: clip;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

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

img, picture, video, canvas, svg, iframe {
  max-width: 100%;
}

img, video {
  height: auto;
}

body :where(.container) {
  width: min(calc(100% - (var(--zm-r7-gutter) * 2)), var(--zm-r7-site-max));
  max-width: var(--zm-r7-site-max);
  margin-inline: auto;
}

:where(
  .zoomag_main_container,
  .zoomag_main_content,
  .zoomag-category-page,
  .zoomag-category-content,
  .zoohub-product-showcase,
  .zoohub-container,
  .zoohub-layout,
  .zoohub-main,
  #content,
  main,
  section,
  article
) {
  min-width: 0;
}

:where(h1, h2, h3, h4, h5, h6, p, a, button, label, span, strong, small) {
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Header: remove structural left offsets and fixed 210px blocks
   -------------------------------------------------------------------------- */
.zoomag_top_panel .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  min-height: 0 !important;
}

.zoomag_currency_language_block,
.zoomag_navigation_buttons_block {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.zoomag_navigation_buttons_block {
  margin-left: auto !important;
}

.zoomag_nav_buttons_list,
.zoomag_currency_list {
  max-width: 100% !important;
}

.zoomag_main_header_block {
  padding: clamp(12px, 2vw, 24px) 0 !important;
}

.zoomag_header_layout {
  display: grid !important;
  grid-template-columns: minmax(230px, .9fr) minmax(320px, 1.75fr) minmax(150px, .55fr) !important;
  grid-template-areas: "logo search cart" !important;
  align-items: center !important;
  gap: var(--zm-r7-gap) !important;
  width: 100% !important;
}

.zoomag_logo_section,
.zoomag_search_section,
.zoomag_cart_section {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  flex: none !important;
}

.zoomag_logo_section { grid-area: logo !important; }
.zoomag_search_section { grid-area: search !important; }
.zoomag_cart_section { grid-area: cart !important; }

.zoomag_logo_block,
.zoomag_logo_block > a {
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(8px, 1.4vw, 16px) !important;
}

.zoomag_logo_with_coins {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 clamp(86px, 8vw, 126px) !important;
  width: clamp(86px, 8vw, 126px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  max-width: 126px !important;
  max-height: 126px !important;
  margin: 0 !important;
  overflow: visible !important;
}

.zoomag_logo_image {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  top: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
}

.zoomag_logo_with_coins .coin {
  position: absolute !important;
  inset: 4% !important;
  left: 4% !important;
  top: 4% !important;
  width: 92% !important;
  height: 92% !important;
  max-width: none !important;
  max-height: none !important;
  pointer-events: none !important;
}

.zoomag_logo_text {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  align-items: flex-start !important;
}

.zoomag_logo_title {
  font-size: clamp(1.45rem, 2.4vw, 2.55rem) !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

.zoomag_logo_subtitle {
  margin-top: 4px !important;
  font-size: clamp(.76rem, 1.25vw, 1.08rem) !important;
  line-height: 1.25 !important;
}

.zoomag_search_block,
.zoomag-magic-search,
.magic-search-input-wrapper {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.zoomag_cart_block {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 8px !important;
}

#cart > .dropdown-menu,
.zoomag_account_dropdown_menu {
  max-width: min(420px, calc(100vw - 20px)) !important;
}

/* Tablet/mobile hierarchy: compact logo, search and cart remain usable. */
@media (max-width: 991.98px) {
  .zoomag_top_panel {
    padding-block: 6px !important;
  }

  .zoomag_top_panel .container {
    flex-wrap: nowrap !important;
  }

  .zoomag_currency_language_block {
    flex: 0 0 auto !important;
  }

  .zoomag_navigation_buttons_block {
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .zoomag_nav_buttons_list {
    justify-content: flex-end !important;
    gap: 5px !important;
  }

  .zoomag_header_nav_button {
    min-width: 34px !important;
    height: 34px !important;
    padding: 6px 9px !important;
  }

  .zoomag_header_layout {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "logo logo"
      "search cart" !important;
    gap: 9px !important;
  }

  .zoomag_logo_block,
  .zoomag_logo_block > a {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 9px !important;
  }

  .zoomag_logo_with_coins {
    flex-basis: clamp(68px, 13vw, 92px) !important;
    width: clamp(68px, 13vw, 92px) !important;
    max-width: 92px !important;
    max-height: 92px !important;
  }

  .zoomag_logo_text {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .zoomag_logo_title {
    font-size: clamp(1.35rem, 5.8vw, 2rem) !important;
    text-align: left !important;
  }

  .zoomag_logo_subtitle {
    font-size: clamp(.72rem, 3.2vw, .98rem) !important;
    text-align: left !important;
  }

  .zoomag_cart_block {
    width: auto !important;
    min-width: 42px !important;
    padding: 0 !important;
  }

  #cart > .dropdown-menu {
    position: fixed !important;
    top: auto !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    width: auto !important;
    max-width: none !important;
    max-height: min(72dvh, 620px) !important;
    overflow: auto !important;
  }
}

@media (max-width: 575.98px) {
  .zoomag_main_header_block {
    padding: 9px 0 !important;
  }

  .zoomag_header_layout {
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 7px !important;
  }

  .zoomag_logo_with_coins {
    flex-basis: 62px !important;
    width: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
  }

  .zoomag_logo_title {
    font-size: clamp(1.2rem, 7vw, 1.65rem) !important;
  }

  .zoomag_logo_subtitle {
    max-width: 210px !important;
    font-size: .72rem !important;
  }

  .magic-search-input-wrapper {
    min-height: 38px !important;
    border-radius: 14px !important;
  }

  .magic-search-input {
    min-height: 34px !important;
    font-size: 16px !important; /* prevents iOS zoom */
  }
}

/* --------------------------------------------------------------------------
   Main banner: normal flow only, no header overlap, no fixed desktop width.
   -------------------------------------------------------------------------- */
#common-home .zoomag-banner-shell.zoomag-main-hero-slider {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: min(100%, 1180px) !important;
  margin: clamp(10px, 1.7vw, 22px) auto clamp(18px, 2.5vw, 32px) !important;
  aspect-ratio: 3 / 1 !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  border-radius: var(--zm-r7-radius) !important;
}

#common-home .zoomag-banner-shell.zoomag-main-hero-slider :where(
  .zoomag-banner-stage,
  .zoomag-banner-track,
  .carousel-inner,
  .carousel-item,
  .zoomag-banner-slide,
  .zoomag-banner-media,
  .zoomag-banner-figure,
  .zoomag-banner-link
) {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
}

#common-home .zoomag-banner-shell.zoomag-main-hero-slider .zoomag-banner-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}

@media (max-width: 575.98px) {
  #common-home .zoomag-banner-shell.zoomag-main-hero-slider {
    width: 100% !important;
    aspect-ratio: 16 / 7 !important;
    border-radius: 15px !important;
  }
}

/* --------------------------------------------------------------------------
   Menu and overlays: viewport-safe panels, no hard-coded overflow.
   -------------------------------------------------------------------------- */
.main-menu,
.main-menu .menu-list,
.main-menu .submenu-container,
.main-menu .menu-container,
.main-menu .mobile-submenu-panel {
  max-width: 100% !important;
}

.main-menu .menu-list {
  width: min(100%, var(--zm-r7-site-max)) !important;
  margin-inline: auto !important;
}

.main-menu .menu-link,
.main-menu .submenu-link,
.main-menu .mobile-menu-link,
.main-menu .mobile-submenu-link {
  min-width: 0 !important;
}

.main-menu .menu-text,
.main-menu .submenu-text,
.main-menu .mobile-menu-text,
.main-menu .mobile-submenu-text {
  min-width: 0 !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}

@media (max-width: 991.98px) {
  .main-menu .menu-container {
    width: min(420px, calc(100vw - 14px)) !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
  }

  .main-menu .mobile-submenu-panel {
    width: min(420px, calc(100vw - 20px)) !important;
    max-height: calc(100dvh - 20px) !important;
  }
}

/* --------------------------------------------------------------------------
   Category and product structure: fluid columns, cards and media.
   -------------------------------------------------------------------------- */
.zoomag-category-page,
.zoohub-container {
  width: min(calc(100% - (var(--zm-r7-gutter) * 2)), var(--zm-r7-site-max)) !important;
  max-width: var(--zm-r7-site-max) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.zoomag-category-header,
.zoomag-controls-panel,
.zoomag-products-footer,
.zoomag-category-accordion,
.zoomag-subcategories-section,
.zoohub-gallery-den,
.zoohub-info-sanctuary,
.zoohub-tabs-savannah {
  max-width: 100% !important;
  min-width: 0 !important;
}

.zoomag-subcategories-grid,
.zoomag-products-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)) !important;
  gap: var(--zm-r7-gap) !important;
}

.zoomag-product-item,
.zoomag-subcategory-card,
.zoomag-subcategory-inner,
.product-thumb {
  min-width: 0 !important;
  max-width: 100% !important;
}

.zoomag-subcategory-image,
.zoomag-product-image,
.product-thumb .image {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
}

.zoomag-subcategory-img,
.zoomag-product-image img,
.product-thumb .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.zoomag-controls-panel .row,
.zoomag-products-footer .row {
  row-gap: 12px !important;
}

.zoomag-select-wrapper,
.zoomag-select,
.zoomag-control-group {
  max-width: 100% !important;
  min-width: 0 !important;
}

.zoohub-product-jungle {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr) !important;
  gap: clamp(14px, 2.2vw, 32px) !important;
  align-items: start !important;
}

.zoohub-gallery-den,
.zoohub-info-sanctuary,
.zoohub-gallery-habitat,
.zoohub-gallery-main,
.zoohub-image-petting-zone,
.zoohub-image-frame {
  width: 100% !important;
  min-width: 0 !important;
}

.zoohub-image-frame {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
}

.zoohub-gallery-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.zoohub-facts-grid,
.zoohub-conversion-trust,
.zoohub-specification-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)) !important;
}

.zoohub-action-buttons,
.zoohub-btn-group,
.zoohub-quantity-section {
  max-width: 100% !important;
  min-width: 0 !important;
  flex-wrap: wrap !important;
}

@media (max-width: 1050px) {
  .zoohub-product-jungle {
    grid-template-columns: 1fr !important;
  }

  .zoohub-gallery-den {
    max-width: 760px !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 767.98px) {
  .zoomag-subcategories-grid,
  .zoomag-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .zoomag-category-header .row,
  .zoomag-controls-panel .row,
  .zoomag-products-footer .row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .zoomag-category-header .text-lg-end {
    text-align: left !important;
  }

  .zoohub-product-title,
  .zoomag-category-title {
    font-size: clamp(1.4rem, 7vw, 2.1rem) !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 420px) {
  .zoomag-subcategories-grid,
  .zoomag-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   Imported rich descriptions: contain old positional CSS without flattening
   decorative absolute elements. Structural overflow is corrected dynamically
   by zm-responsive-layout-round7.js only when it actually exceeds viewport.
   -------------------------------------------------------------------------- */
[data-zm-product-description],
.zoomag-description-content,
.zm-ui-content-readable {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

[data-zm-product-description] *,
.zoomag-description-content *,
.zm-ui-content-readable * {
  max-width: 100%;
  box-sizing: border-box;
}

[data-zm-product-description] :where(table),
.zoomag-description-content :where(table),
.zm-ui-content-readable :where(table) {
  max-width: 100% !important;
}

[data-zm-product-description] :where(.table-wrap, [class*="table-wrap"]),
.zoomag-description-content :where(.table-wrap, [class*="table-wrap"]),
.zm-ui-content-readable :where(.table-wrap, [class*="table-wrap"]) {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.zm-r7-flow-fix {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  transform: none !important;
  margin-inline: 0 !important;
}

.zm-r7-width-fix {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* --------------------------------------------------------------------------
   Floating helpers: respect viewport and mobile safe areas.
   -------------------------------------------------------------------------- */
#zoomag-ai-assistant.zoomag-ai-assistant {
  right: max(10px, env(safe-area-inset-right)) !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
}

.zm-ai-panel,
.zm-ai-feedback,
.zm-ai-tooltip {
  max-width: min(680px, calc(100vw - 24px)) !important;
  max-height: min(86dvh, 760px) !important;
}

@media (max-width: 575.98px) {
  .zm-ai-panel,
  .zm-ai-feedback,
  .zm-ai-tooltip {
    position: fixed !important;
    inset: auto 8px calc(68px + env(safe-area-inset-bottom)) 8px !important;
    width: auto !important;
    max-width: none !important;
    max-height: 72dvh !important;
  }
}

/* --------------------------------------------------------------------------
   Motion/accessibility and layout debug mode.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .floating-pets-container,
  .coin {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .floating-pets-container {
    display: none !important;
  }
}

html.zm-r7-layout-debug .zm-r7-overflow-source {
  outline: 3px solid #e11d48 !important;
  outline-offset: 2px !important;
}

html.zm-r7-layout-debug::after {
  content: "ZooMag layout debug: red outline = horizontal overflow";
  position: fixed;
  z-index: 2147483647;
  left: 8px;
  bottom: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font: 700 12px/1.3 system-ui, sans-serif;
  pointer-events: none;
}


/* ===== catalog/view/stylesheet/zoomag/zm-site-wide-r19.css ===== */
/* ZooMag R19 — safe large-screen expansion for the whole storefront.
   Mobile/tablet layout is untouched; overrides begin at 1400px. */
:root{--zm-r19-site-max:1680px;--zm-r19-page-gutter:clamp(22px,2vw,40px)}
@media (min-width:1400px){
  body .zoomag_top_panel>.container,
  body .zoomag_main_header_block>.container,
  body .zoomag_main_container>.container,
  body .zoomag_main_container>main.container,
  body .zoomag_main_container>#common-home,
  body .zoohub-container,
  body #product-category.zoomag-category-page,
  body #product-manufacturer.container,
  body #product-search.container,
  body #information-information.zm-info-unique-container,
  body #information-contact.container,
  body #information-sitemap.container,
  body #account-account.container,
  body #checkout-cart.container,
  body #checkout-checkout.container,
  body #cms-blog.container,
  body #cms-blog-info.container{
    width:min(calc(100vw - (var(--zm-r19-page-gutter)*2)),var(--zm-r19-site-max))!important;
    max-width:var(--zm-r19-site-max)!important;
    margin-left:auto!important;margin-right:auto!important;
  }
  body .main-menu .menu-list,
  body.zoomag-2026 .main-menu .menu-list{
    width:min(calc(100vw - (var(--zm-r19-page-gutter)*2)),var(--zm-r19-site-max))!important;
    max-width:var(--zm-r19-site-max)!important;
  }
  body .zoomag_header_layout{grid-template-columns:minmax(260px,.82fr) minmax(520px,1.9fr) minmax(150px,.42fr)!important;gap:clamp(20px,2vw,38px)!important}
  body .magic-search-input-wrapper{max-width:none!important}
  body #common-home .zoomag-banner-shell.zoomag-main-hero-slider,
  body #common-home .zoomag-banner-shell{max-width:100%!important}
  body #product-category.zoomag-category-page,
  body #information-information.zm-info-unique-container,
  body #information-sitemap.zm-sitemap-2026,
  body #checkout-cart .zm-cart{max-width:var(--zm-r19-site-max)!important}
  body #product-category .zoomag-products-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))!important;gap:22px!important}
}
@media (min-width:1900px){:root{--zm-r19-site-max:1800px;--zm-r19-page-gutter:42px}}
@media (min-width:2400px){:root{--zm-r19-site-max:2160px;--zm-r19-page-gutter:56px}}
@media (min-width:3200px){:root{--zm-r19-site-max:2440px;--zm-r19-page-gutter:72px}}


/* ===== catalog/view/stylesheet/zoomag/zm-site-balance-r26.css ===== */
/* ZooMag R26 — site-wide proportional balance
   Purpose: stop ultra-wide layouts from becoming visually stretched while
   preserving fluid behaviour on normal desktop/tablet/mobile widths. */

:root {
  --zm-r26-content-max: 1560px;
  --zm-r26-gutter: clamp(14px, 2vw, 32px);
}

/* R19 expands to 1800/2160/2440px. Keep the storefront readable instead. */
@media (min-width: 1400px) {
  :root {
    --zm-r19-site-max: 1560px !important;
    --zm-r19-page-gutter: clamp(24px, 2vw, 36px) !important;
  }
}

@media (min-width: 1900px) {
  :root {
    --zm-r19-site-max: 1640px !important;
    --zm-r19-page-gutter: 40px !important;
  }
}

@media (min-width: 2400px) {
  :root {
    --zm-r19-site-max: 1720px !important;
    --zm-r19-page-gutter: 48px !important;
  }
}

@media (min-width: 3200px) {
  :root {
    --zm-r19-site-max: 1840px !important;
    --zm-r19-page-gutter: 64px !important;
  }
}

html,
body {
  max-width: 100%;
}

/* Universal text safety for the commercial UI, without flattening rich content. */
:is(.zoomag-category-page, .zoohub-product-showcase, .product-related)
:is(h1, h2, h3, h4, a, button, label, strong, span) {
  overflow-wrap: break-word;
}

:is(.zoomag-category-page, .zoohub-product-showcase, .product-related)
:is(.row, [class*="col-"], .col, .card, section, article, main, aside) {
  min-width: 0;
}

@media (max-width: 575.98px) {
  :root { --zm-r26-gutter: 10px; }
}


/* ===== catalog/view/stylesheet/zoomag/zm-coin-animation-restore-round7.css ===== */
/* ========================================================================== 
   ZooMag logo + coin medium sizing — Round 7.3 (2026-07-15)
   About 1.5x smaller than Round 7.2 while preserving the same animation.
   ========================================================================== */

.zoomag_main_header_block {
  padding-block: clamp(14px, 1.55vw, 22px) !important;
  overflow: visible !important;
}

.zoomag_header_layout {
  grid-template-columns: minmax(390px, 1.12fr) minmax(340px, 1fr) minmax(105px, .3fr) !important;
  gap: clamp(14px, 1.25vw, 22px) !important;
  min-height: clamp(155px, 10vw, 195px) !important;
  overflow: visible !important;
}

.zoomag_logo_section,
.zoomag_logo_block,
.zoomag_logo_block > a {
  overflow: visible !important;
}

.zoomag_logo_block > a,
.zoomag_logo_block a {
  gap: clamp(12px, 1vw, 18px) !important;
}

.zoomag_logo_with_coins {
  /* Round 7.2: 225–276 px. Round 7.3: 150–184 px. */
  --zm-coin-logo-size: clamp(150px, 9.6vw, 184px);
  --zm-coin-stage-gap: clamp(8px, .55vw, 11px);
  --zm-coin-travel: calc(var(--zm-coin-logo-size) * .72 + var(--zm-coin-stage-gap));
  --zm-coin-stage-width: calc(var(--zm-coin-logo-size) * 1.72 + var(--zm-coin-stage-gap));

  position: relative !important;
  inset: auto !important;
  display: block !important;
  flex: 0 0 var(--zm-coin-stage-width) !important;
  width: var(--zm-coin-stage-width) !important;
  height: var(--zm-coin-logo-size) !important;
  min-width: var(--zm-coin-stage-width) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  isolation: isolate;
}

.zoomag_logo_with_coins .zoomag_logo_image {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  left: 0 !important;
  top: 0 !important;
  display: block !important;
  width: var(--zm-coin-logo-size) !important;
  height: var(--zm-coin-logo-size) !important;
  min-width: var(--zm-coin-logo-size) !important;
  max-width: var(--zm-coin-logo-size) !important;
  max-height: var(--zm-coin-logo-size) !important;
  object-fit: contain !important;
  transform: none !important;
  z-index: 3 !important;
}

.zoomag_logo_with_coins .coin.coin-slide-right {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--zm-coin-logo-size) !important;
  height: var(--zm-coin-logo-size) !important;
  min-width: var(--zm-coin-logo-size) !important;
  max-width: var(--zm-coin-logo-size) !important;
  max-height: var(--zm-coin-logo-size) !important;
  margin: 0 !important;
  pointer-events: none !important;
  transform-origin: center center !important;
  will-change: transform, opacity;
  z-index: 2 !important;
  animation: zmCoinSlideRightPreservedMedium 180s ease-in-out 5s infinite !important;
}

@keyframes zmCoinSlideRightPreservedMedium {
  0%, 1% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(.9);
  }
  2% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  5%, 94% {
    opacity: 1;
    transform: translate3d(var(--zm-coin-travel), 0, 0) scale(1);
  }
  95% {
    opacity: 1;
    transform: translate3d(var(--zm-coin-travel), 0, 0) scale(1);
  }
  98% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  99%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(.9);
  }
}

.zoomag_logo_with_coins:hover .coin.coin-slide-right {
  filter: drop-shadow(3px 5px 14px rgba(255, 215, 0, .85));
}

.zoomag_logo_title {
  font-size: clamp(1.65rem, 2vw, 2.35rem) !important;
}

.zoomag_logo_subtitle {
  font-size: clamp(.78rem, .9vw, 1rem) !important;
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .zoomag_header_layout {
    grid-template-columns: minmax(360px, 1.05fr) minmax(310px, 1fr) minmax(100px, .28fr) !important;
    min-height: 155px !important;
  }

  .zoomag_logo_with_coins {
    --zm-coin-logo-size: clamp(130px, 10.5vw, 149px);
  }
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .zoomag_header_layout {
    grid-template-columns: minmax(0, 1fr) minmax(130px, auto) !important;
    grid-template-areas:
      "logo logo"
      "search cart" !important;
    min-height: 0 !important;
  }

  .zoomag_logo_section {
    justify-self: center !important;
  }

  .zoomag_logo_with_coins {
    --zm-coin-logo-size: clamp(100px, 12vw, 127px);
    --zm-coin-stage-gap: 6px;
  }
}

@media (max-width: 767.98px) {
  .zoomag_header_layout {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "logo logo"
      "search cart" !important;
    min-height: 0 !important;
  }

  .zoomag_logo_section {
    justify-self: center !important;
    width: 100% !important;
  }

  .zoomag_logo_block > a,
  .zoomag_logo_block a {
    justify-content: center !important;
  }

  .zoomag_logo_with_coins {
    --zm-coin-logo-size: clamp(76px, 19vw, 98px);
    --zm-coin-stage-gap: 4px;
  }

  .zoomag_logo_text {
    max-width: min(40vw, 165px) !important;
  }

  .zoomag_logo_title {
    font-size: clamp(1.35rem, 5.8vw, 1.9rem) !important;
  }

  .zoomag_logo_subtitle {
    font-size: clamp(.64rem, 2.8vw, .82rem) !important;
    white-space: normal !important;
  }
}

@media (max-width: 420px) {
  .zoomag_logo_with_coins {
    --zm-coin-logo-size: clamp(64px, 17vw, 76px);
    --zm-coin-stage-gap: 3px;
  }

  .zoomag_logo_text {
    max-width: 126px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zoomag_logo_with_coins .coin.coin-slide-right {
    display: none !important;
    animation: none !important;
  }
}


/* ===== catalog/view/stylesheet/zoomag/zm-header-balance-r262.css ===== */
/* ZooMag r26.2 — desktop header balance
   Scope: logo / coin / title / search proportions only.
   Loaded AFTER zm-coin-animation-restore-round7.css intentionally. */

@media (min-width: 1200px) {
  body .zoomag_main_header_block {
    padding-block: 12px !important;
  }

  body .zoomag_main_header_block > .container {
    width: min(calc(100vw - 40px), 1680px) !important;
    max-width: 1680px !important;
    margin-inline: auto !important;
  }

  body .zoomag_header_layout {
    display: grid !important;
    grid-template-columns: minmax(390px, 455px) minmax(520px, 1fr) minmax(92px, 120px) !important;
    gap: clamp(16px, 1.4vw, 26px) !important;
    align-items: center !important;
    min-height: 126px !important;
    overflow: visible !important;
  }

  body .zoomag_logo_section {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  body .zoomag_logo_block,
  body .zoomag_logo_block > a,
  body .zoomag_logo_block a {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
  }

  /* Reserve only the real logo+coin animation width. The old stage was too wide. */
  body .zoomag_logo_with_coins {
    --zm-coin-logo-size: clamp(122px, 7.4vw, 148px) !important;
    --zm-coin-stage-gap: 3px !important;
    --zm-coin-travel: calc(var(--zm-coin-logo-size) * .61 + var(--zm-coin-stage-gap)) !important;
    --zm-coin-stage-width: calc(var(--zm-coin-logo-size) * 1.61 + var(--zm-coin-stage-gap)) !important;
    flex: 0 0 var(--zm-coin-stage-width) !important;
    width: var(--zm-coin-stage-width) !important;
    min-width: var(--zm-coin-stage-width) !important;
    height: var(--zm-coin-logo-size) !important;
    margin: 0 !important;
  }

  /* Critical fix: header.css had position:relative + left:80px. */
  body .zoomag_logo_text {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 170px !important;
    margin: 0 0 0 -2px !important;
    padding: 0 !important;
    align-items: flex-start !important;
    justify-content: center !important;
    z-index: 4 !important;
  }

  body .zoomag_logo_title {
    margin: 0 !important;
    font-size: clamp(1.62rem, 1.55vw, 2rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.02em !important;
    white-space: nowrap !important;
  }

  body .zoomag_logo_subtitle {
    margin: 4px 0 0 !important;
    max-width: 158px !important;
    font-size: clamp(.72rem, .72vw, .88rem) !important;
    line-height: 1.18 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }

  body .zoomag_search_section {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: stretch !important;
    position: relative !important;
    z-index: 3 !important;
  }

  body .zoomag_search_block,
  body .zoomag_search_section .zoomag-magic-search,
  body .zoomag_search_section .magic-search-input-wrapper {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }

  body .zoomag_cart_section {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: flex-end !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  body .zoomag_header_layout {
    grid-template-columns: minmax(340px, 385px) minmax(430px, 1fr) minmax(88px, 105px) !important;
    gap: 14px !important;
    min-height: 116px !important;
  }

  body .zoomag_logo_with_coins {
    --zm-coin-logo-size: clamp(108px, 8.5vw, 124px) !important;
  }

  body .zoomag_logo_text {
    max-width: 142px !important;
  }

  body .zoomag_logo_title {
    font-size: clamp(1.45rem, 1.7vw, 1.7rem) !important;
  }

  body .zoomag_logo_subtitle {
    max-width: 136px !important;
    font-size: .7rem !important;
  }
}

/* Tablet/mobile hierarchy from Round 7 stays intact; only kill the legacy left offset. */
@media (max-width: 1199.98px) {
  body .zoomag_logo_text {
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
}


/* ===== catalog/view/stylesheet/zoomag/zm-header-scale-r263.css ===== */
/* ZooMag r26.3 — make desktop header feel normal-sized and readable */
@media (min-width: 1200px) {
  body .zoomag_main_header_block > .container {
    width: min(calc(100vw - 32px), 1760px) !important;
    max-width: 1760px !important;
  }

  body .zoomag_header_layout {
    grid-template-columns: minmax(430px, 520px) minmax(620px, 1fr) minmax(106px, 138px) !important;
    gap: clamp(18px, 1.5vw, 28px) !important;
    min-height: 138px !important;
  }

  body .zoomag_logo_with_coins {
    --zm-coin-logo-size: clamp(132px, 7.8vw, 160px) !important;
    --zm-coin-stage-gap: 4px !important;
  }

  body .zoomag_logo_text {
    max-width: 225px !important;
    margin-left: 4px !important;
  }

  body .zoomag_logo_title {
    font-size: clamp(1.9rem, 1.75vw, 2.3rem) !important;
    line-height: 1.02 !important;
    font-weight: 900 !important;
  }

  body .zoomag_logo_subtitle {
    max-width: 205px !important;
    margin-top: 6px !important;
    font-size: clamp(.88rem, .88vw, 1rem) !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
    color: rgba(50,55,58,.88) !important;
  }

  body .zoomag_search_section .magic-search-input-wrapper,
  body .zoomag_search_section .zoomag-magic-search {
    min-height: 66px !important;
  }

  body .zoomag_search_section input[type="text"],
  body .zoomag_search_section input[type="search"],
  body .zoomag_search_section .form-control {
    font-size: 17px !important;
    line-height: 1.25 !important;
    padding-left: 24px !important;
  }

  body .zoomag_search_section .btn,
  body .zoomag_search_section button {
    font-size: 16px !important;
    min-height: 54px !important;
    padding-inline: 24px !important;
  }

  body .zoomag_cart_section .zoomag-mini-cart,
  body .zoomag_cart_section .cart-icon,
  body .zoomag_cart_section .wishlist-icon,
  body .zoomag_cart_section .cart-toggle {
    transform: scale(1.06) !important;
    transform-origin: center right !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  body .zoomag_header_layout {
    grid-template-columns: minmax(390px, 460px) minmax(540px, 1fr) minmax(98px, 124px) !important;
    min-height: 128px !important;
  }

  body .zoomag_logo_text {
    max-width: 190px !important;
  }

  body .zoomag_logo_title {
    font-size: clamp(1.7rem, 1.8vw, 2rem) !important;
  }

  body .zoomag_logo_subtitle {
    max-width: 180px !important;
    font-size: .84rem !important;
  }
}


/* ===== catalog/view/stylesheet/zoomag/zm-native-polish-r28.css ===== */
/* ZooMag r28 — native OpenCart polish. Mild global layer; custom catalogue/product layouts keep precedence. */
:root{
  --zm-ui-bg:#fffaf6;--zm-ui-surface:#fff;--zm-ui-border:#ecdccf;--zm-ui-text:#302d2a;
  --zm-ui-muted:#7a6e65;--zm-ui-accent:#ff7c62;--zm-ui-accent2:#55c9c1;--zm-ui-radius:16px;
  --zm-ui-shadow:0 10px 28px rgba(86,55,38,.08);
}
body{color:var(--zm-ui-text)}
main:not(.zoohub-main), [id^="account-"], [id^="checkout-"], [id^="information-"], #common-success, #error-not-found{
  --bs-border-color:var(--zm-ui-border);
}
.card:not(.product-thumb):not([class*="zoomag"]):not([class*="zoohub"]){border:1px solid var(--zm-ui-border);border-radius:var(--zm-ui-radius);background:var(--zm-ui-surface);box-shadow:var(--zm-ui-shadow);overflow:hidden}
.card:not(.product-thumb) .card-header{background:linear-gradient(135deg,#fff8f2,#f7fffe);border-bottom:1px solid var(--zm-ui-border);font-weight:800;padding:14px 18px}
.card:not(.product-thumb) .card-body{padding:18px}
.form-control,.form-select,select.form-control,textarea.form-control{min-height:44px;border:1px solid #e6d7cc;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(67,48,37,.035);font-size:14px;transition:border-color .2s,box-shadow .2s}
textarea.form-control{min-height:110px}.form-control:focus,.form-select:focus{border-color:#64cfc7;box-shadow:0 0 0 4px rgba(85,201,193,.14)}
.form-label,label.col-form-label{font-weight:750;color:#51473f;margin-bottom:6px}
.btn:not([class*="zoohub"]):not([class*="zoomag"]){border-radius:12px;font-weight:750;min-height:42px;padding:.55rem 1rem;box-shadow:none;transition:transform .15s,box-shadow .15s}
.btn:not([class*="zoohub"]):not([class*="zoomag"]):hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,#ff8068,#ff9b69);border-color:#ff8068}.btn-secondary{background:#fff;border-color:#decfc3;color:#51473f}
.table{--bs-table-bg:transparent;border-color:#eaded5}.table>thead>tr>th{background:#fff6ef;color:#584d45;font-weight:800;border-bottom-width:1px}.table>:not(caption)>*>*{padding:.8rem .85rem;vertical-align:middle}
.alert{border:0;border-radius:14px;box-shadow:0 7px 22px rgba(70,50,38,.06);padding:13px 16px}.alert-info{background:#eefcfb;color:#285e5a}.alert-success{background:#effaf1;color:#2d6737}.alert-danger{background:#fff1f0;color:#8a342f}.alert-warning{background:#fff8e8;color:#77591b}
.breadcrumb:not(.zoohub-breadcrumb){padding:10px 14px;border:1px solid #eee1d8;border-radius:14px;background:rgba(255,255,255,.9);box-shadow:0 5px 18px rgba(80,55,40,.05)}
.pagination{gap:6px}.pagination .page-link{border:1px solid #e8d9ce;border-radius:10px!important;color:#65584f;min-width:38px;text-align:center}.pagination .active>.page-link{background:linear-gradient(135deg,#ff8269,#55c9c1);border-color:transparent}
.dropdown-menu{border:1px solid #eaded5;border-radius:14px;box-shadow:0 18px 40px rgba(65,43,31,.14);padding:8px}.dropdown-item{border-radius:9px;padding:9px 11px}.dropdown-item:hover{background:#fff3ec}
.modal-content{border:0;border-radius:20px;box-shadow:0 24px 70px rgba(45,30,20,.22)}.modal-header{border-bottom:1px solid #eee2da}.modal-footer{border-top:1px solid #eee2da}
.accordion-item{border:1px solid #eaded5!important;border-radius:14px!important;overflow:hidden;margin-bottom:9px}.accordion-button{font-weight:800}.accordion-button:not(.collapsed){color:#554a43;background:#fff5ef;box-shadow:none}
.nav-tabs{border-bottom-color:#eaded5}.nav-tabs .nav-link{border-radius:12px 12px 0 0;font-weight:750;color:#71645b}.nav-tabs .nav-link.active{color:#342f2b;border-color:#eaded5 #eaded5 #fff;background:#fff}
@media(max-width:767.98px){.card:not(.product-thumb) .card-body{padding:14px}.table-responsive{border-radius:12px}.btn{min-height:44px}}
/* Standard OpenCart content areas that still use the default Bootstrap skin. */
#content>h1,#content>h2:not([class*="zoomag"]):not([class*="zoohub"]){color:#302d2a;font-weight:850;letter-spacing:-.02em}
#content>h1{font-size:clamp(1.7rem,2.4vw,2.35rem);margin-bottom:18px}
main .list-group:not([class*="zoomag"]) {border:1px solid var(--zm-ui-border);border-radius:14px;overflow:hidden;box-shadow:0 8px 22px rgba(72,50,37,.055)}
main .list-group:not([class*="zoomag"]) .list-group-item{border:0;border-bottom:1px solid #f0e6df;padding:11px 14px;color:#5d5149;background:#fff;transition:background .16s,color .16s}
main .list-group:not([class*="zoomag"]) .list-group-item:last-child{border-bottom:0}
main .list-group:not([class*="zoomag"]) .list-group-item:hover,main .list-group:not([class*="zoomag"]) .list-group-item.active{background:#fff5ef;color:#3e6f6a}
.input-group-text{border-color:#e6d7cc;background:#fff7f1;color:#6c5d53;border-radius:12px}
.form-check-input{border-color:#d9c8bc;box-shadow:none}.form-check-input:checked{background-color:#55c9c1;border-color:#55c9c1}.form-check-input:focus{border-color:#55c9c1;box-shadow:0 0 0 4px rgba(85,201,193,.14)}
fieldset{border-radius:16px}legend{font-size:1.05rem;font-weight:850;color:#51473f;margin-bottom:12px}
.badge:not([class*="zoomag"]):not([class*="zoohub"]){border-radius:999px;padding:.42em .68em;font-weight:750}
#account-account #content .row>[class*="col"],#account-address #content .row>[class*="col"],#account-order #content .row>[class*="col"]{min-width:0}

