.zoohub-product-showcase {
  /* Theme tokens */
  --zh-bg: #fff7ee;
  --zh-surface: #ffffff;
  --zh-surface-2: #fffdf9;
  --zh-border: #ead8c7;
  --zh-border-2: #f1e4d8;
  --zh-text: #2b2a28;
  --zh-muted: #7a6d62;

  --zh-accent: #ff6b7a;
  --zh-accent-2: #6aa9ff;
  --zh-accent-3: #ffd36a;

  --zh-shadow: 0 12px 30px rgba(35, 20, 5, 0.10);
  --zh-shadow-soft: 0 10px 22px rgba(35, 20, 5, 0.08);

  --zh-radius-xl: 22px;
  --zh-radius-lg: 18px;
  --zh-radius-md: 14px;

  --zh-gap: 18px;

  background: radial-gradient(1200px 700px at 15% 0%, rgba(255, 107, 122, 0.12), transparent 55%),
              radial-gradient(1200px 700px at 95% 15%, rgba(106, 169, 255, 0.14), transparent 55%),
              var(--zh-bg);
  color: var(--zh-text);
  padding: 14px 0 26px;
}

.zoohub-product-showcase,
.zoohub-product-showcase * {
  box-sizing: border-box;
}

.zoohub-container {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
}

/* =========================================================
   Breadcrumbs — новый дизайн (chips + градиент)
   ========================================================= */

.zoohub-breadcrumb-trail {
  margin: 8px 0 14px;
}

.zoohub-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.zoohub-breadcrumb-item {
  display: flex;
  align-items: center;
}

.zoohub-breadcrumb-link,
.zoohub-breadcrumb-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 2px solid var(--zh-border);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255, 252, 247, 0.9));
  box-shadow: 0 6px 14px rgba(35, 20, 5, 0.06);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.1;
  color: var(--zh-text);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.zoohub-breadcrumb-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 107, 122, 0.55);
  box-shadow: 0 10px 22px rgba(35, 20, 5, 0.10);
}

.zoohub-breadcrumb-paw,
.zoohub-breadcrumb-bone {
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.10));
}

.zoohub-breadcrumb-current {
  background: linear-gradient(135deg, rgba(255, 107, 122, 0.14), rgba(106, 169, 255, 0.12)),
              rgba(255,255,255,0.9);
  border-color: rgba(106, 169, 255, 0.45);
}

/* =========================================================
   Layout / Main grid
   ========================================================= */

.zoohub-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--zh-gap);
}

.zoohub-main {
  min-width: 0;
}

/* Product grid: gallery + info */
.zoohub-product-jungle {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--zh-gap);
  align-items: start;
}

/* =========================================================
   Gallery
   ========================================================= */

.zoohub-gallery-den {
  background: linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255, 252, 247, 0.86));
  border: 2px solid var(--zh-border);
  border-radius: var(--zh-radius-xl);
  box-shadow: var(--zh-shadow-soft);
  padding: 16px;
}

.zoohub-gallery-main {
  display: grid;
  gap: 14px;
}

.zoohub-image-frame {
  position: relative;
  border-radius: var(--zh-radius-xl);
  border: 2px solid var(--zh-border-2);
  background: radial-gradient(900px 420px at 30% 20%, rgba(255, 211, 106, 0.18), transparent 55%),
              radial-gradient(900px 420px at 80% 30%, rgba(106, 169, 255, 0.16), transparent 55%),
              var(--zh-surface);
  overflow: hidden;

  /* Главное: убираем лишнюю высоту */
  aspect-ratio: 1 / 1;
  max-height: 520px;
}

.zoohub-gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;          /* чтобы не обрезать товар */
  object-position: center;
  padding: 10px;               /* убирает ощущение “прилипло к рамке” */
  transition: opacity .12s ease;
  user-select: none;
  -webkit-user-drag: none;
}

/* стрелки */
.zoohub-gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  pointer-events: none;
}

.zoohub-gallery-nav-btn {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid var(--zh-border);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 20px rgba(35, 20, 5, 0.10);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--zh-text);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.zoohub-gallery-nav-btn:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(255, 107, 122, 0.55);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 14px 26px rgba(35, 20, 5, 0.14);
}

/* лапки на фоне (декор) */
.zoohub-image-paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
}

.zoohub-paw {
  position: absolute;
  font-size: 22px;
  filter: blur(0.3px);
}

.zoohub-paw-1 { left: 16px; top: 16px; transform: rotate(-12deg); }
.zoohub-paw-2 { right: 18px; top: 26px; transform: rotate(16deg); }
.zoohub-paw-3 { left: 18px; bottom: 22px; transform: rotate(14deg); }
.zoohub-paw-4 { right: 18px; bottom: 18px; transform: rotate(-10deg); }

/* thumbs */
.zoohub-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.zoohub-gallery-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  min-width: 0;
}

.zoohub-thumb-frame {
  position: relative;
  border-radius: 16px;
  border: 2px solid var(--zh-border-2);
  background: var(--zh-surface);
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(35, 20, 5, 0.06);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  aspect-ratio: 1 / 1;
}

.zoohub-gallery-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.zoohub-thumb-animal {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(234,216,199,0.8);
  border-radius: 999px;
  padding: 2px 6px;
}

.zoohub-gallery-thumb:hover .zoohub-thumb-frame {
  transform: translateY(-2px);
  border-color: rgba(106, 169, 255, 0.55);
  box-shadow: 0 14px 22px rgba(35, 20, 5, 0.10);
}

.zoohub-gallery-thumb--active .zoohub-thumb-frame {
  border-color: rgba(255, 107, 122, 0.70);
  box-shadow: 0 16px 26px rgba(255, 107, 122, 0.16);
}

/* =========================================================
   Info block
   ========================================================= */

.zoohub-info-sanctuary {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255, 252, 247, 0.9));
  border: 2px solid var(--zh-border);
  border-radius: var(--zh-radius-xl);
  box-shadow: var(--zh-shadow-soft);
  padding: 18px;
}

.zoohub-product-title {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 26px;
  line-height: 1.1;
}

.zoohub-rating-forest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.zoohub-rating-paws {
  display: inline-flex;
  gap: 6px;
}

.zoohub-rating-paw {
  display: inline-flex;
  filter: grayscale(20%);
  opacity: 0.55;
}
.zoohub-rating-paw--active {
  opacity: 1;
  filter: none;
}

.zoohub-rating-link {
  text-decoration: none;
  font-weight: 800;
  color: var(--zh-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.zoohub-rating-link:hover {
  text-decoration: underline;
}

/* quick facts */
.zoohub-quick-facts {
  margin: 12px 0 14px;
}

.zoohub-facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.zoohub-fact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--zh-surface);
  border: 2px solid var(--zh-border-2);
  border-radius: var(--zh-radius-lg);
  padding: 12px 14px;
  min-height: 66px; /* ровнее по высоте */
  box-shadow: 0 8px 16px rgba(35, 20, 5, 0.06);
}

.zoohub-fact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 107, 122, 0.14), rgba(106, 169, 255, 0.14));
  border: 2px solid rgba(234,216,199,0.85);
  flex: 0 0 auto;
}

.zoohub-fact-label {
  display: block;
  font-size: 12px;
  color: var(--zh-muted);
  font-weight: 800;
  margin-bottom: 2px;
}

.zoohub-fact-value {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.zoohub-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(106, 169, 255, 0.12);
  border: 2px solid rgba(106, 169, 255, 0.28);
}

.zoohub-stock-badge--out-of-stock {
  background: rgba(255, 107, 122, 0.12);
  border-color: rgba(255, 107, 122, 0.32);
}

/* price */
.zoohub-price-meadow {
  border-radius: var(--zh-radius-xl);
  border: 2px solid var(--zh-border-2);
  background: radial-gradient(900px 420px at 30% 30%, rgba(255, 107, 122, 0.10), transparent 55%),
              radial-gradient(900px 420px at 80% 30%, rgba(106, 169, 255, 0.12), transparent 55%),
              var(--zh-surface);
  padding: 14px 16px;
  box-shadow: 0 10px 22px rgba(35, 20, 5, 0.07);
  margin: 10px 0 14px;
}

.zoohub-price-current {
  font-weight: 1000;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.zoohub-price-old {
  opacity: 0.6;
  text-decoration: line-through;
  font-weight: 900;
  margin-bottom: 4px;
}

.zoohub-price-savings {
  margin-top: 8px;
  font-weight: 900;
  color: var(--zh-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* wishlist / compare */
.zoohub-action-buttons {
  margin: 10px 0 12px;
}

.zoohub-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.zoohub-wishlist-btn,
.zoohub-compare-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 2px solid var(--zh-border);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 18px rgba(35, 20, 5, 0.08);
  cursor: pointer;
  font-weight: 900;
  color: var(--zh-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.zoohub-wishlist-btn:hover,
.zoohub-compare-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 107, 122, 0.55);
  box-shadow: 0 16px 26px rgba(35, 20, 5, 0.12);
}

.zoohub-btn-text { font-size: 14px; }

/* purchase */
.zoohub-purchase-nest {
  margin-top: 12px;
  border-top: 1px dashed rgba(234,216,199,0.9);
  padding-top: 14px;
}

.zoohub-action-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}

.zoohub-quantity-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--zh-surface);
  border: 2px solid var(--zh-border-2);
  border-radius: var(--zh-radius-lg);
  padding: 12px 14px;
  box-shadow: 0 8px 16px rgba(35, 20, 5, 0.06);
}

.zoohub-quantity-label {
  font-weight: 900;
  color: var(--zh-muted);
}

.zoohub-quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.zoohub-quantity-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid var(--zh-border);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(35, 20, 5, 0.08);
}

.zoohub-quantity-input {
  width: 80px;
  height: 44px;
  text-align: center;
  border-radius: 14px;
  border: 2px solid var(--zh-border);
  background: rgba(255,255,255,0.92);
  font-weight: 1000;
  font-size: 16px;
  outline: none;
}

.zoohub-cart-button {
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
  border: 0;
  cursor: pointer;
  font-weight: 1000;
  font-size: 16px;
  color: #1b1b1b;
  background: linear-gradient(135deg, rgba(255, 107, 122, 0.85), rgba(106, 169, 255, 0.85));
  box-shadow: 0 18px 34px rgba(35, 20, 5, 0.16);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  position: relative;
  overflow: hidden;
}

.zoohub-cart-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 24px 42px rgba(35, 20, 5, 0.18);
}

.zoohub-cart-button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.zoohub-button-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.zoohub-button-loader {
  display: none;
}

.zoohub-minimum-alert {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 2px solid rgba(255, 211, 106, 0.55);
  background: rgba(255, 211, 106, 0.16);
  font-weight: 900;
  color: #6a5632;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   Tabs
   ========================================================= */

.zoohub-tabs-savannah {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid var(--zh-border);
  border-radius: var(--zh-radius-xl);
  box-shadow: var(--zh-shadow-soft);
  overflow: hidden;
}

.zoohub-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 2px solid var(--zh-border-2);
  background: linear-gradient(135deg, rgba(255, 107, 122, 0.10), rgba(106, 169, 255, 0.10));
}

.zoohub-tab-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 1000;
  color: var(--zh-text);
  transition: background .15s ease, transform .15s ease, filter .15s ease;
  position: relative;
  min-height: 54px;
}

.zoohub-tab-btn:hover {
  background: rgba(255,255,255,0.55);
}

.zoohub-tab-btn--active {
  background: rgba(255,255,255,0.9);
}

.zoohub-tab-icon { font-size: 18px; }
.zoohub-tab-animal { font-size: 18px; }

.zoohub-tabs-content {
  padding: 16px;
}

.zoohub-tab-pane { display: none; }
.zoohub-tab-pane--active { display: block; }

/* description / tags */
.zoohub-description-content {
  line-height: 1.55;
  color: #2c2c2b;
}

.zoohub-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.zoohub-tag {
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  color: var(--zh-text);
  padding: 7px 10px;
  border-radius: 999px;
  border: 2px solid var(--zh-border-2);
  background: rgba(255,255,255,0.9);
}

.zoohub-tag:hover {
  border-color: rgba(106, 169, 255, 0.55);
}

/* specs */
.zoohub-specification-grid {
  display: grid;
  gap: 14px;
}

.zoohub-spec-group {
  background: var(--zh-surface);
  border: 2px solid var(--zh-border-2);
  border-radius: var(--zh-radius-xl);
  padding: 14px;
  box-shadow: 0 10px 18px rgba(35, 20, 5, 0.06);
}

.zoohub-spec-group-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 1000;
}

.zoohub-spec-item-detailed {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 1fr minmax(120px, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed rgba(234,216,199,0.9);
}

.zoohub-spec-item-detailed:first-child { border-top: 0; }

.zoohub-spec-name { font-weight: 900; color: var(--zh-muted); }
.zoohub-spec-dots { border-bottom: 2px dotted rgba(234,216,199,1); align-self: center; opacity: .9; }
.zoohub-spec-value { font-weight: 900; }

/* pickup / stores */
.zoohub-stores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.zoohub-store-card {
  background: var(--zh-surface);
  border: 2px solid var(--zh-border-2);
  border-radius: var(--zh-radius-xl);
  padding: 14px;
  box-shadow: 0 12px 22px rgba(35, 20, 5, 0.07);
}

.zoohub-store-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.zoohub-store-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 107, 122, 0.14), rgba(106, 169, 255, 0.14));
  border: 2px solid rgba(234,216,199,0.9);
}

.zoohub-store-name {
  margin: 0;
  font-weight: 1000;
  letter-spacing: -0.01em;
}

.zoohub-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(106, 169, 255, 0.12);
  border: 2px solid rgba(106, 169, 255, 0.28);
  font-weight: 900;
  font-size: 12px;
  color: #2a4160;
}

.zoohub-store-detail {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed rgba(234,216,199,0.9);
}

.zoohub-store-detail:first-of-type { border-top: 0; }

.zoohub-store-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.zoohub-store-btn {
  min-height: 48px;
  border-radius: 16px;
  border: 2px solid var(--zh-border);
  background: rgba(255,255,255,0.92);
  font-weight: 1000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: 0 10px 18px rgba(35, 20, 5, 0.08);
  color: var(--zh-text);
}

.zoohub-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(35, 20, 5, 0.12);
}

.zoohub-store-btn--primary {
  background: linear-gradient(135deg, rgba(255, 211, 106, 0.85), rgba(255, 107, 122, 0.65));
  border-color: rgba(255, 211, 106, 0.65);
}

.zoohub-store-btn--secondary {
  background: linear-gradient(135deg, rgba(106, 169, 255, 0.65), rgba(255, 255, 255, 0.92));
  border-color: rgba(106, 169, 255, 0.45);
}

.zoohub-map-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(234,216,199,0.9);
}

.zoohub-map-title {
  margin: 0 0 10px;
  font-weight: 1000;
  font-size: 16px;
}

.zoohub-map-container {
  width: 100%;
  height: 360px;
  border-radius: var(--zh-radius-xl);
  border: 2px solid var(--zh-border-2);
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 22px rgba(35, 20, 5, 0.07);
}

/* =========================================================
   Notifications (если используешь)
   ========================================================= */

.zoohub-notification {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  background: rgba(255,255,255,0.92);
  border: 2px solid var(--zh-border);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(35,20,5,0.16);
  transform: translateY(12px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
  max-width: min(420px, calc(100% - 36px));
}

.zoohub-notification--show {
  transform: translateY(0);
  opacity: 1;
}

.zoohub-notification-content {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.zoohub-notification--success { border-color: rgba(106, 169, 255, 0.55); }
.zoohub-notification--warning { border-color: rgba(255, 211, 106, 0.65); }
.zoohub-notification--error   { border-color: rgba(255, 107, 122, 0.65); }

/* =========================================================
   Animations referenced in JS
   ========================================================= */

@keyframes zoohubAnimalBounce {
  0% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  70% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

@keyframes zoohubPawFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes zoohubShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@keyframes zoohubAnimalPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@keyframes zoohubBasketSwing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991px) {
  .zoohub-tabs-nav {
    grid-template-columns: 1fr 1fr;
  }

  .zoohub-gallery-thumbnails {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .zoohub-map-container {
    height: 320px;
  }

  .zoohub-btn-group {
    grid-template-columns: 1fr;
  }

  .zoohub-store-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .zoohub-gallery-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .zoohub-product-title {
    font-size: 22px;
  }

  .zoohub-price-current {
    font-size: 22px;
  }

  .zoohub-map-container {
    height: 280px;
  }
}

@media (min-width: 992px) {
  .zoohub-layout {
    grid-template-columns: 1fr;
  }

  .zoohub-product-jungle {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 20px;
  }

  /* Больше воздуха и крупнее элементы для ПК */
  .zoohub-gallery-den { padding: 18px; }
  .zoohub-info-sanctuary { padding: 20px; }

  .zoohub-product-title { font-size: 32px; }

  .zoohub-facts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .zoohub-fact-value { font-size: 15px; }

  .zoohub-wishlist-btn,
  .zoohub-compare-btn {
    min-height: 52px;
    font-size: 15px;
  }

  .zoohub-cart-button {
    min-height: 60px;
    font-size: 18px;
  }

  .zoohub-quantity-input { width: 92px; height: 48px; font-size: 17px; }
  .zoohub-quantity-btn { width: 48px; height: 48px; }

  .zoohub-tabs-content { padding: 18px; }

  .zoohub-stores-grid {
    grid-template-columns: 1fr 1fr;
  }

  .zoohub-map-container { height: 420px; }
}

/* ============================================================================
   ZM v8 — FINAL FIX: Equal width blocks (2026-03-03)
   Goal: Gallery and info blocks exactly same width
   ============================================================================ */

/* Reset all conflicting rules */
.zoohub-product-showcase .zoohub-product-jungle {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100% !important;
}

/* Force both blocks to have exactly the same width */
.zoohub-product-showcase .zoohub-gallery-den,
.zoohub-product-showcase .zoohub-info-sanctuary {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
}

/* Gallery container */
.zoohub-product-showcase .zoohub-gallery-den {
  display: flex !important;
  flex-direction: column !important;
  padding: 16px !important;
}

/* Info container */
.zoohub-product-showcase .zoohub-info-sanctuary {
  display: flex !important;
  flex-direction: column !important;
  padding: 18px !important;
}

/* Gallery main area */
.zoohub-product-showcase .zoohub-gallery-main {
  width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* Featured image container */
.zoohub-product-showcase .zoohub-gallery-featured {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: auto !important;
}

/* Image frame */
.zoohub-product-showcase .zoohub-image-frame {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1/1 !important;
  max-height: 520px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 10px !important;
}

/* Main image */
.zoohub-product-showcase .zoohub-gallery-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  max-height: 100% !important;
  padding: 0 !important;
}

/* Thumbnails */
.zoohub-product-showcase .zoohub-gallery-thumbnails {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
}

/* Fix for desktop */
@media (min-width: 992px) {
  /* Override all previous grid rules */
  .zoohub-product-showcase .zoohub-layout {
    grid-template-columns: 1fr !important;
  }
  
  .zoohub-product-showcase .zoohub-main {
    width: 100% !important;
  }
  
  .zoohub-product-showcase .zoohub-product-jungle {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  
  /* Equal height */
  .zoohub-product-showcase .zoohub-gallery-den,
  .zoohub-product-showcase .zoohub-info-sanctuary {
    min-height: 600px !important;
    height: auto !important;
  }
  
  /* Larger image frame on desktop */
  .zoohub-product-showcase .zoohub-image-frame {
    max-height: 580px !important;
  }
  
  /* More thumbnails on desktop */
  .zoohub-product-showcase .zoohub-gallery-thumbnails {
    grid-template-columns: repeat(6, 1fr) !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .zoohub-product-showcase .zoohub-product-jungle {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
  
  .zoohub-product-showcase .zoohub-image-frame {
    max-height: 400px !important;
  }
  
  .zoohub-product-showcase .zoohub-gallery-thumbnails {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .zoohub-product-showcase .zoohub-product-jungle {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .zoohub-product-showcase .zoohub-image-frame {
    max-height: 380px !important;
  }
  
  .zoohub-product-showcase .zoohub-gallery-thumbnails {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Remove all conflicting rules */
.zoohub-product-showcase .zoohub-image-petting-zone {
  max-width: none !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Fix navigation arrows */
.zoohub-product-showcase .zoohub-gallery-nav {
  padding: 0 10px !important;
}

.zoohub-product-showcase .zoohub-gallery-nav-btn {
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
}

/* Ensure info block content fills space */
.zoohub-product-showcase .zoohub-info-sanctuary > * {
  width: 100% !important;
}

.zoohub-product-showcase .zoohub-purchase-nest {
  margin-top: auto !important;
}

/* Remove any width restrictions from previous hotfixes */
.zoohub-product-showcase [class*="hotfix"],
.zoohub-product-showcase [class*="override"] {
  all: revert !important;
}

/* ===== Zoomag 2026: switches between product weights / volumes ===== */
.zoohub-variant-switches {
  margin: 0 0 1.35rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,245,238,.94));
  border: 1px solid rgba(255, 131, 92, 0.16);
  box-shadow: 0 14px 32px rgba(32, 30, 67, 0.08);
}
.zoohub-variant-switches__header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .85rem;
  font-weight: 800;
  color: #1f2940;
}
.zoohub-variant-switches__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff875d, #ff5f6d);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 102, 88, 0.24);
}
.zoohub-variant-switches__grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.zoohub-variant-chip {
  display: inline-flex;
  flex-direction: column;
  gap: .18rem;
  min-width: 108px;
  padding: .82rem .95rem;
  border-radius: 18px;
  text-decoration: none;
  color: #25324b;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(95, 114, 255, 0.14);
  box-shadow: 0 12px 24px rgba(33, 35, 73, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.zoohub-variant-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 108, 88, 0.35);
  box-shadow: 0 18px 30px rgba(33, 35, 73, 0.12);
  color: #1c2638;
}
.zoohub-variant-chip--active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #6b7cff 0%, #8d5cf7 55%, #ff6f61 100%);
  box-shadow: 0 18px 34px rgba(104, 92, 247, 0.28);
}
.zoohub-variant-chip__label {
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.15;
}
.zoohub-variant-chip__price {
  font-size: .83rem;
  opacity: .86;
  font-weight: 700;
}
@media (max-width: 767px) {
  .zoohub-variant-switches {
    padding: .9rem;
  }
  .zoohub-variant-switches__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zoohub-variant-chip {
    min-width: 0;
  }
}
