:root {
  --bg: #ffffff;
  --text: #22304f;
  --muted: #5f6980;
  --red: #e11616;
  --blue: #1051cf;
  --cyan: #18d4ef;
  --violet: #b317d8;
  --navy: #1f3f7e;
  --footer-text: #f4f7ff;
  --shadow: 0 18px 50px rgba(24, 48, 95, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

body.products-page {
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.promo-bar {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  overflow: hidden;
  border-radius: 18px;
}

.promo-track {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
}

.promo-marquee {
  display: inline-flex;
  min-width: 100%;
  animation: marquee 18s linear infinite;
}

.promo-marquee span {
  flex: 0 0 auto;
  padding: 8px 24px;
}

.site-header {
  background: var(--bg);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(31, 63, 126, 0.08);
  overflow-x: clip;
}

.header-top {
  padding: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.promo-bar-inline {
  flex: 1 1 auto;
}

.brand-mark {
  width: clamp(150px, 18vw, 240px);
  min-width: 150px;
  height: clamp(52px, 6vw, 76px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark.has-image {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 16px;
  min-width: 0;
}

.menu-button {
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  display: none;
  gap: 0;
  padding: 0;
  cursor: pointer;
  color: #1f2a44;
  text-align: center;
}

.menu-button::after {
  content: none;
}

.menu-button .menu-label {
  display: none;
}

.menu-button .menu-icon {
  display: block;
  width: 56px;
  height: 56px;
  fill: #1f2a44;
  stroke: #1f2a44;
}

.menu-button .menu-icon-close {
  display: none;
}

.menu-button.is-open .menu-icon-open {
  display: none;
}

.menu-button.is-open .menu-icon-close {
  display: block;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  font-weight: 500;
  color: #1f2a44;
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}.nav-item {
  position: relative;
  padding: 0;
  flex: 0 0 auto;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  font-size: 1.02rem;
}

.nav-item > a::after {
  display: none;
}

.nav-item-all {
  min-width: 132px;
  position: static;
}

.all-categories-link {
  gap: 12px;
}

.all-categories-icon {
  display: inline-grid;
  gap: 5px;
  width: 28px;
}

.all-categories-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #1f2a44;
}

.all-categories-label {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.all-categories-label strong {
  font-size: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 210px;
  max-width: min(980px, calc(100vw - 40px));
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 45px rgba(24, 48, 95, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 20;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.dropdown-menu a {
  color: var(--muted);
}

.dropdown-menu a:hover {
  color: var(--blue);
}

.dropdown-group-title {
  font-weight: 800;
  color: #1e2a45;
  margin-top: 4px;
}

.dropdown-menu-all {
  left: 0;
  width: min(980px, 100%);
  min-width: 0;
  max-width: min(980px, 100%);
  max-height: min(70vh, 520px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
  gap: 18px 22px;
  overflow: auto;
  padding: 20px;
}

.mega-menu-group {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.mega-menu-links {
  display: grid;
  gap: 10px;
}

.nav-item-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-section {
  padding-top: 10px;
}

.hero-slider {
  position: relative;
}

.hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  min-height: clamp(240px, 32vw, 600px);
  background:
    linear-gradient(90deg, rgba(16, 42, 95, 0.12) 0%, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0.55) 70%, rgba(176, 24, 81, 0.12) 100%),
    linear-gradient(135deg, rgba(16, 42, 95, 0.08), rgba(176, 24, 81, 0.08));
  border-radius: 30px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  display: grid;
  place-items: center;
  background:
      radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 48%),
      linear-gradient(135deg, rgba(16, 42, 95, 0.16), rgba(176, 24, 81, 0.16));
}

.hero-slide.is-contained::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-slide-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: blur(28px) saturate(0.9);
  opacity: 0.42;
}

.hero-slide.is-contained::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 42, 95, 0.14), rgba(255, 255, 255, 0.28) 24%, rgba(255, 255, 255, 0.28) 76%, rgba(176, 24, 81, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.12));
}

.hero-slide.is-full-bleed {
  background: transparent;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translateZ(0);
  filter: drop-shadow(0 18px 30px rgba(20, 35, 70, 0.12));
}

.hero-slide.is-contained .hero-banner-image {
  width: auto;
  height: auto;
  max-width: min(72%, 1180px);
  max-height: 88%;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(23, 40, 79, 0.18);
}

.hero-slide.is-contained.is-wide-contained .hero-banner-image {
  max-width: min(78%, 1280px);
  max-height: 82%;
}

.hero-slide.is-contained.is-square .hero-banner-image {
  max-width: min(34%, 430px);
  max-height: 84%;
}

.hero-slide.is-contained.is-portrait .hero-banner-image {
  max-width: min(28%, 360px);
  max-height: 88%;
}

.hero-slide.is-full-bleed .hero-banner-image {
  object-fit: cover;
  filter: none;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 4.2vw, 60px);
  height: clamp(44px, 4.2vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1e335e;
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 16px 36px rgba(18, 34, 74, 0.18);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.slider-control:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 42px rgba(18, 34, 74, 0.22);
  color: #102a5f;
}

.slider-control:active {
  transform: translateY(-50%) scale(0.98);
}

.slider-control.prev {
  left: clamp(12px, 1.8vw, 24px);
}

.slider-control.next {
  right: clamp(12px, 1.8vw, 24px);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2vw, 24px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 29, 59, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, width 0.22s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.slider-dot.is-active {
  width: 28px;
  background: #ffffff;
}

.category-section {
  padding: 44px 0 60px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-image-link {
  display: block;
  min-height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.category-image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.category-title-link {
  display: inline-block;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 800;
}

.category-title-link:hover {
  color: var(--red);
}

.campaign-note {
  margin: 12px 0 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #52617f;
  letter-spacing: 0.02em;
}

.site-footer {
  margin-top: 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--violet));
  color: #f4f7ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  margin: 0 0 10px;
  color: var(--footer-text);
}

.products-main {
  padding: 28px 0 64px;
}

.products-toolbar {
  padding-bottom: 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #7a8498;
  font-size: 0.95rem;
}

.breadcrumb strong {
  color: var(--red);
}

.toolbar-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sort-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #51607f;
}

.sort-box select {
  min-width: 180px;
  height: 42px;
  border: 1px solid #d6dcea;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  color: #2c3855;
  font: inherit;
}

.products-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #525f7d;
  font-weight: 600;
}

.products-summary strong {
  color: var(--text);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  border: 1px solid #e0e5f0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(31, 63, 126, 0.06);
}

.product-image {
  position: relative;
  aspect-ratio: 2 / 3;
  min-height: 0;
  background: #f5f5f5;
}

.product-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 3;
}

.product-image-link {
  display: block;
}

.product-zoom-button {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(12, 21, 39, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2a44;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.15);
}

.product-zoom-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.product-corner-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #e03131;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  font-size: 20px;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.product-corner-badge.is-star {
  color: #f5a623;
}

.product-corner-badge:hover {
  background: #ffffff;
  color: #ff4d6d;
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
}

.product-corner-badge.is-star:hover {
  color: #ffbf47;
}

.product-thumbs {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.thumb-dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.thumb-dot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-dot.is-active {
  outline: 2px solid #ff7c43;
  outline-offset: 1px;
}

.product-hover-meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 52px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.product-hover-brand {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.product-hover-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-mobile-meta {
  display: none;
  margin: 2px 0 2px;
  padding: 0;
}

.product-size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d9e1ef;
  color: #33415c;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card:hover .product-hover-meta,
.product-card:focus-within .product-hover-meta {
  opacity: 1;
  transform: translateY(0);
}

.product-thumbs {
  transition: transform 0.2s ease;
}

.product-card:hover .product-thumbs,
.product-card:focus-within .product-thumbs {
  transform: translateX(-50%) scale(1.02);
}

.product-info {
  padding: 10px 12px 14px;
}

.product-info h3 {
  margin: 0 0 2px;
  font-size: 0.9rem;
  color: var(--text);
}

.product-title-link:hover {
  color: #d92d35;
}

.product-info p {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--red);
}

.loading-indicator {
  padding: 22px 0 6px;
  text-align: center;
  color: #65728e;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.loading-indicator.is-visible {
  opacity: 1;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.product-lightbox[hidden] {
  display: none !important;
}

.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 27, 0.82);
}

.product-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1400px);
  height: min(96vh, 1100px);
  padding: 52px 70px 44px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}

.product-lightbox-image-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.product-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(10, 16, 30, 0.72);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(10, 16, 30, 0.72);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.product-lightbox-nav.is-prev {
  left: 10px;
}

.product-lightbox-nav.is-next {
  right: 10px;
}

body.lightbox-open {
  overflow: hidden;
}

.scroll-sentinel {
  height: 2px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes brand-logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1000px);
  }

  .header-top {
    align-items: center;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .main-nav {
    gap: 14px;
    font-size: 0.95rem;
  }

  .dropdown-menu {
    min-width: 180px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-mark {
    width: 100px;
    min-width: 100px;
    height: 52px;
    border-radius: 16px;
  }

  .promo-bar-inline {
    flex: 1 1 auto;
    min-width: 0;
  }

  .promo-bar {
    border-radius: 14px;
  }

  .promo-marquee span {
    padding: 7px 18px;
    font-size: 0.78rem;
  }

  .hero-slide {
      border-radius: 24px;
    }

  .hero-track {
      min-height: 180px;
      border-radius: 24px;
    }

  .hero-banner-image {
      width: 100%;
      height: 100%;
    }

  .hero-slide.is-contained .hero-banner-image {
        max-width: min(72%, 620px);
        max-height: 78%;
        border-radius: 18px;
      }

  .hero-slide.is-contained.is-wide-contained .hero-banner-image {
    max-width: min(76%, 660px);
    max-height: 76%;
  }

  .hero-slide.is-contained.is-square .hero-banner-image {
    max-width: min(42%, 320px);
    max-height: 76%;
  }

  .hero-slide.is-contained.is-portrait .hero-banner-image {
    max-width: min(34%, 250px);
    max-height: 84%;
  }

  .slider-control {
      width: 44px;
      height: 44px;
      font-size: 1.4rem;
    }

  .slider-dots {
    bottom: 12px;
    gap: 8px;
    padding: 6px 10px;
  }

  .slider-dot {
    width: 9px;
    height: 9px;
  }

  .slider-dot.is-active {
    width: 24px;
  }

  .campaign-note {
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 34px 0;
  }

  .nav-row {
    padding-bottom: 10px;
  }

  .menu-button {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 9px 7px;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 0;
  }

  .main-nav.is-open {
    display: flex;
  }.nav-item {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #e7ebf4;
  }

  .nav-item > a {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    display: none;
    margin-bottom: 12px;
    padding: 10px 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: #f7f9ff;
  }

  .nav-item:hover .dropdown-menu {
    display: grid;
  }

  .toolbar-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .product-hover-meta {
    opacity: 1;
    transform: translateY(0);
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px 11px;
    gap: 6px;
    border-radius: 14px;
  }

  .product-hover-brand {
    font-size: 0.8rem;
  }

  .product-size-chip {
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .product-thumbs {
    display: none;
  }
}

.hero-banner-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(20px, 3vw, 36px);
  position: relative;
  z-index: 2;
}

.hero-slide.is-full-bleed .hero-banner-link {
  padding: 0;
}

@media (max-width: 720px) {
  .nav-item.is-open .dropdown-menu {
    display: grid;
  }

  .main-nav .dropdown-menu {
    max-height: 50vh !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    box-shadow: inset 0 -18px 18px -18px rgba(15, 27, 51, 0.35);
  }
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(39, 92, 214, 0.14), transparent 28%),
    linear-gradient(180deg, #f4f7fd 0%, #ecf1f9 100%);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 28px 20px;
  background: linear-gradient(180deg, #132746 0%, #1b3560 100%);
  color: #fff;
  box-shadow: 18px 0 38px rgba(12, 28, 58, 0.14);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #21d4fd, #275bd6);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 30px rgba(9, 21, 53, 0.34);
}

.admin-sidebar h1 {
  margin: 0 0 6px;
  font-size: 1.9rem;
}

.admin-sidebar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 0 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateX(2px);
}

.admin-content {
  padding: 30px;
}

.admin-topbar,
.admin-panel-section {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(213, 223, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(25, 46, 86, 0.08);
  backdrop-filter: blur(10px);
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 26px 28px;
  margin-bottom: 22px;
}

.admin-topbar h2,
.section-heading h3 {
  margin: 0 0 6px;
}

.admin-topbar p {
  margin: 0;
  color: #63708c;
}

.admin-actions,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.admin-panel-section {
  padding: 22px;
  margin-bottom: 20px;
}

.admin-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-editor-grid > .admin-table-wrap {
  grid-column: 1 / -1;
  width: 100%;
}

.admin-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid #dde4f0;
  border-radius: 16px;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #f8fbff;
  color: #61708d;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-table tbody tr:hover {
  background: #fafcff;
}

.admin-table-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e4eaf4;
  background: #f3f6fb;
}

.admin-table-actions {
  display: flex;
  gap: 10px;
}

.admin-icon-button,
.admin-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.admin-icon-button {
  background: #1b8be0;
  color: #fff;
}

.admin-delete-button {
  background: #fff1f1;
  color: #cb2d2d;
}

.admin-bulk-button {
  width: auto;
  min-width: 130px;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #42b95c;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-card {
  border: 1px solid #dde4f0;
  border-radius: 18px;
  padding: 16px;
  background: #fbfcff;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.admin-settings-section-title {
  grid-column: 1 / -1;
  margin: 6px 0 4px;
  padding: 8px 12px;
  background: #eef3fb;
  border: 1px solid #d6e0f0;
  border-radius: 10px;
  font-weight: 700;
  color: #1f3f7e;
}

.admin-card-full {
  grid-column: 1 / -1;
}

.admin-card h3 {
  margin: 0 0 8px;
}

.admin-card-meta {
  margin: 0 0 8px;
  color: #64718d;
}

.admin-preview {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #eef2fa;
}

.admin-preview-tall {
  height: 240px;
}

.admin-field {
  display: block;
  margin-bottom: 12px;
}

.admin-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #4e5b79;
}

.admin-input,
.admin-textarea,
.admin-file {
  width: 100%;
  border: 1px solid #d4dceb;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.admin-textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-primary-button,
.admin-secondary-button,
.admin-danger-button {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-primary-button {
  background: #164ec9;
  color: #fff;
}

#save-data-button {
  display: none;
}

.admin-edit-page #save-data-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-link-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  margin-bottom: 10px;
}

.admin-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
}

.admin-checkbox input {
  margin: 0;
}

.admin-assignment-list {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-assignment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-inline-delete {
  min-width: 68px;
  padding-inline: 14px;
}

.admin-helper-text {
  margin: 0;
  color: #64718d;
}

.admin-image-manager {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.admin-image-card {
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
  cursor: grab;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-image-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(24, 48, 95, 0.08);
}

.admin-image-card.is-cover {
  border-color: #1d63d8;
  box-shadow: 0 0 0 3px rgba(29, 99, 216, 0.1);
}

.admin-image-card.is-drag-over {
  border-color: #ff8b3d;
  background: #fff8f2;
}

.admin-image-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-drag-handle {
  color: #64718d;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-cover-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #164ec9;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-image-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: #eef2fa;
}

.admin-image-actions {
  display: flex;
  gap: 8px;
}

.admin-image-button {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
}

.admin-secondary-button {
  background: #edf2ff;
  color: #29447c;
}

.admin-filter-select {
  min-width: 220px;
}

.admin-color-input {
  padding: 6px;
  height: 48px;
}

.admin-danger-button {
  width: 100%;
  background: #fff1f1;
  color: #cb2d2d;
}

@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-editor-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-assignment-row {
    grid-template-columns: 1fr;
  }
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-nav-card {
  display: block;
  padding: 22px;
  border: 1px solid #dde4f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcff, #f2f6ff);
}

.admin-nav-card h3 {
  margin: 0 0 8px;
  color: #21355e;
}

.admin-nav-card p {
  margin: 0;
  color: #64718d;
}

@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin: 0 0 8px;
}

.admin-login-card p {
  margin: 0 0 16px;
  color: #63708c;
}

.admin-login-form {
  display: grid;
  gap: 12px;
}

.admin-login-submit {
  width: 100%;
}

.admin-login-error {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1f1;
  color: #cb2d2d;
  font-weight: 700;
}

.admin-login-note {
  margin-top: 14px;
  font-size: 0.92rem;
}







.admin-topbar-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(39, 91, 214, 0.1);
  color: #2149b8;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.admin-dashboard-section {
  display: grid;
  gap: 20px;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-overview-card {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid #e1e8f4;
}

.admin-overview-label {
  display: block;
  margin-bottom: 10px;
  color: #64718d;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-overview-value {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #152847;
}

.admin-overview-note {
  margin: 10px 0 0;
  color: #7a859d;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-nav-card {
  position: relative;
  display: block;
  padding: 24px;
  border: 1px solid #dfe7f4;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-nav-card:hover {
  transform: translateY(-3px);
  border-color: #cfdcf3;
  box-shadow: 0 18px 38px rgba(21, 40, 71, 0.09);
}

.admin-nav-card-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #21d4fd, #275bd6);
  color: #fff;
  font-weight: 800;
}

.admin-nav-card h3 {
  margin: 0 0 10px;
  color: #1b2d4a;
}

.admin-nav-card p {
  margin: 0 0 18px;
  color: #64718d;
  line-height: 1.6;
}

.admin-nav-card-link {
  display: inline-flex;
  align-items: center;
  color: #1b4fc9;
  font-weight: 800;
}

.admin-table-wrap,
.admin-card {
  box-shadow: 0 14px 30px rgba(29, 48, 89, 0.04);
}

.admin-table th {
  background: linear-gradient(180deg, #f9fbff, #f2f6fd);
}

.admin-input,
.admin-textarea,
.admin-file {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-input:focus,
.admin-textarea:focus,
.admin-file:focus {
  outline: none;
  border-color: #2b5ed6;
  box-shadow: 0 0 0 4px rgba(43, 94, 214, 0.12);
}

@media (max-width: 1180px) {
  .admin-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}











/* Admin premium polish */
.admin-content {
  padding: 34px;
}

.admin-topbar,
.admin-panel-section {
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(19, 37, 71, 0.08);
}

.admin-topbar {
  padding: 28px 30px;
}

.admin-topbar h2 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  color: #1b2d4a;
}

.admin-topbar p {
  max-width: 680px;
  line-height: 1.6;
}

.admin-panel-section {
  padding: 24px;
}

.admin-sidebar {
  padding: 30px 22px;
  background: linear-gradient(180deg, #10233f 0%, #17325b 52%, #21457b 100%);
}

.admin-sidebar a {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-sidebar-title {
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.admin-sidebar-badge {
  box-shadow: 0 14px 26px rgba(33, 96, 214, 0.34);
}

.admin-overview-card {
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(26, 46, 86, 0.06);
}

.admin-overview-value {
  letter-spacing: -0.03em;
}

.admin-nav-card {
  padding: 26px;
}

.admin-nav-card-link::after {
  content: " ->";
  margin-left: 6px;
}

.admin-card {
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.admin-card h3 {
  margin-bottom: 10px;
  color: #213556;
}

.admin-card-meta {
  line-height: 1.6;
}

.admin-field {
  margin-bottom: 14px;
}

.admin-field span {
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: #445573;
}

.admin-input,
.admin-textarea,
.admin-file {
  min-height: 50px;
  border-radius: 14px;
  border-color: #d8e1ee;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.admin-textarea {
  min-height: 120px;
}

.admin-input::placeholder,
.admin-textarea::placeholder {
  color: #8b97af;
}

.admin-primary-button,
.admin-secondary-button,
.admin-danger-button,
.admin-icon-button,
.admin-delete-button {
  min-height: 46px;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.admin-primary-button {
  background: linear-gradient(135deg, #1d59d6, #1545b4);
  box-shadow: 0 14px 28px rgba(21, 69, 180, 0.22);
}

.admin-primary-button:hover,
.admin-secondary-button:hover,
.admin-danger-button:hover,
.admin-icon-button:hover,
.admin-delete-button:hover {
  transform: translateY(-1px);
}

.admin-secondary-button {
  background: linear-gradient(180deg, #f4f7ff, #e9f0ff);
  color: #24437d;
}

.admin-danger-button,
.admin-delete-button {
  background: linear-gradient(180deg, #fff7f7, #ffecec);
  color: #c23232;
}

.admin-icon-button,
.admin-delete-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #dde5f1;
  background: #fff;
  font-weight: 700;
}

.admin-table-wrap {
  margin-top: 20px;
  border-radius: 20px;
  border-color: #e1e8f3;
}

.admin-table {
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table tbody tr {
  transition: background 0.18s ease, transform 0.18s ease;
}

.admin-table tbody tr:hover {
  background: #f8fbff;
}

.admin-table-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.admin-table-actions {
  gap: 12px;
}

.admin-filter-select {
  min-width: 250px;
}

.admin-helper-text {
  color: #6b7893;
  line-height: 1.6;
}

.admin-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f5fd;
  border: 1px solid #dbe5f6;
  color: #26437b;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-chip:hover {
  transform: translateY(-1px);
  border-color: #b9caec;
  box-shadow: 0 10px 20px rgba(20, 46, 95, 0.08);
}

@media (max-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-content {
    padding: 20px;
  }

  .admin-topbar,
  .admin-panel-section {
    border-radius: 22px;
  }

  .admin-table {
    min-width: 680px;
  }
}

.admin-icon-button {
  color: #1b4fc9;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border-color: #d7e3f8;
  box-shadow: 0 8px 18px rgba(28, 79, 201, 0.08);
}

.admin-icon-button:hover {
  background: linear-gradient(180deg, #f7faff, #edf4ff);
  color: #143f9f;
}




/* Site color overrides from panel */
body,
body.products-page,
.site-header {
  background: var(--bg);
  color: var(--text);
}

.dropdown-menu a,
.products-summary,
.product-info p,
.loading-indicator,
.category-title-link,
.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--muted);
}

.dropdown-menu a:hover,
.category-title-link:hover {
  color: var(--blue);
}

.products-summary strong,
.product-info h3,
.main-nav a,
.dropdown-group-title {
  color: var(--text);
}

.breadcrumb strong,
.promo-bar {
  color: #fff;
}

.breadcrumb strong {
  color: var(--red);
}

.site-footer {
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--violet));
}

.brand-mark {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.site-footer h3,
.site-footer h4 {
  color: var(--footer-text);
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--footer-text);
}









.admin-product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.admin-product-sidebar-column {
  position: sticky;
  top: 24px;
}
.admin-product-media-card,
.admin-product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 252, 0.94) 100%);
  border: 1px solid rgba(212, 223, 240, 0.92);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(17, 37, 74, 0.08);
}
.admin-product-media-card {
  padding: 18px;
}
.admin-product-media-frame {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef3fb 0%, #dde7f7 100%);
  border: 1px solid rgba(206, 219, 239, 0.9);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.admin-product-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-product-media-empty {
  padding: 18px;
  text-align: center;
  color: #70809d;
  font-weight: 700;
}
.admin-product-media-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.admin-product-media-meta strong {
  color: #1b2d4a;
  font-size: 1rem;
}
.admin-product-media-meta span,
.admin-product-hint span {
  color: #6c7b95;
  line-height: 1.55;
  font-size: 0.92rem;
}
.admin-product-main {
  display: grid;
  gap: 18px;
}
.admin-product-card {
  padding: 22px;
}
.admin-product-card-head {
  margin-bottom: 16px;
}
.admin-product-card-head h3 {
  margin: 0 0 6px;
  color: #1b2d4a;
  font-size: 1.1rem;
}
.admin-product-card-head p {
  margin: 0;
  color: #6c7b95;
  line-height: 1.6;
}
.admin-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.admin-product-grid .admin-field {
  margin-bottom: 0;
}
.admin-product-grid-redirect {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
}
.admin-checkbox-boxed {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(206, 219, 239, 0.95);
  background: #fff;
}
.admin-checkbox-boxed span {
  margin: 0;
}
.admin-input,
.admin-textarea,
.admin-file {
  min-height: 46px;
  border-radius: 12px;
}
.admin-file {
  padding-top: 10px;
  padding-bottom: 10px;
}
.admin-assignment-list {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-assignment-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 88px;
}
.admin-image-manager-compact {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}
.admin-image-card {
  border-radius: 18px;
}
.admin-image-thumb {
  height: 136px;
}
.admin-inline-delete,
.admin-image-button {
  min-height: 40px;
}
@media (max-width: 1180px) {
  .admin-product-layout {
    grid-template-columns: 1fr;
  }
  .admin-product-sidebar-column {
    position: static;
  }
}
@media (max-width: 780px) {
  .admin-product-card,
  .admin-product-media-card {
    padding: 18px;
    border-radius: 18px;
  }
  .admin-product-grid,
  .admin-product-grid-redirect {
    grid-template-columns: 1fr;
  }
  .admin-assignment-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}






.admin-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.admin-check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 48, 79, 0.12);
  border-radius: 14px;
  background: #f7f9ff;
  color: #22304f;
  font-weight: 600;
}
.admin-check-option input {
  margin: 0;
  width: 16px;
  height: 16px;
}

.admin-size-dropdown {
  position: relative;
}

.admin-size-dropdown-toggle {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid #d8e1ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  color: #22304f;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-size-dropdown-toggle:hover,
.admin-size-dropdown-toggle:focus-visible,
.admin-size-dropdown.is-open .admin-size-dropdown-toggle {
  outline: none;
  border-color: #2b5ed6;
  box-shadow: 0 0 0 4px rgba(43, 94, 214, 0.12);
}

.admin-size-token-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.admin-size-token {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(43, 94, 214, 0.08);
  color: #3159a6;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.admin-size-placeholder {
  color: #6d7891;
  font-size: 0.95rem;
}

.admin-size-dropdown-arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #8b8f97;
  border-bottom: 2px solid #8b8f97;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.admin-size-dropdown.is-open .admin-size-dropdown-arrow {
  transform: rotate(-135deg) translateY(-1px);
}

.admin-size-dropdown-panel {
  margin-top: 6px;
  border: 1px solid #d8e1ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(17, 37, 74, 0.1);
  overflow: hidden;
}

.admin-size-select-all,
.admin-size-dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.96rem;
}

.admin-size-select-all {
  border-bottom: 1px solid #e4e8ef;
  background: #fbfcff;
  font-weight: 500;
}

.admin-size-search-wrap {
  padding: 8px 12px;
  border-bottom: 1px solid #e4e8ef;
}

.admin-size-search {
  min-height: 38px;
  border-radius: 0;
  border-width: 0 0 1px 0;
  padding: 6px 0;
  background: transparent;
  box-shadow: none;
}

.admin-size-search:focus {
  box-shadow: none;
  border-color: #2b5ed6;
}

.admin-size-dropdown-list {
  max-height: 220px;
  overflow-y: auto;
}

.admin-size-dropdown-option {
  cursor: pointer;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
}

.admin-size-dropdown-option:last-child {
  border-bottom: 0;
}

.admin-size-dropdown-option:hover {
  background: #f7faff;
}

.admin-size-dropdown-option.is-selected {
  color: #1848a3;
  background: rgba(43, 94, 214, 0.05);
}

.admin-size-dropdown-option input,
.admin-size-select-all input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #3f7fc1;
}

.admin-size-empty {
  margin: 0;
  padding: 12px;
}



.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 6px 6px;
}

.admin-pagination-summary {
  flex: 1 1 280px;
  min-width: 220px;
  color: #5a6786;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.55;
}

.admin-pagination-controls {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-pagination-pages {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-pagination-button {
  border: 1px solid #d7e2f1;
  background: #ffffff;
  color: #33415c;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-pagination-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 65, 187, 0.12);
  border-color: #9eb9ff;
}

.admin-pagination-button.is-active {
  background: linear-gradient(135deg, #ff8f2f, #ff6a00);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.2);
}

.admin-pagination-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-pagination-ellipsis {
  color: #7a87a6;
  font-weight: 700;
  padding: 0 4px;
}

.admin-pagination-size {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  color: #5a6786;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-pagination-size .admin-input {
  width: auto;
  min-width: 86px;
  height: 40px;
  padding-right: 38px;
}

@media (max-width: 980px) {
  .admin-pagination {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .admin-pagination-summary,
  .admin-pagination-controls,
  .admin-pagination-size {
    width: 100%;
    justify-content: center;
  }
}

.admin-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-list-search {
  flex: 1 1 280px;
  max-width: 420px;
}

.admin-list-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(31, 63, 126, 0.12);
  background: #f8fbff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-list-search-input:focus {
  border-color: rgba(16, 81, 207, 0.36);
  box-shadow: 0 0 0 4px rgba(16, 81, 207, 0.12);
  background: #fff;
}

.admin-list-toolbar-extra {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .admin-list-toolbar {
    align-items: stretch;
  }

  .admin-list-search {
    max-width: none;
  }
}

.admin-products-table .admin-inline-price {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.admin-inline-input {
  width: 104px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d7e3f8;
  background: #f8fbff;
  color: var(--text);
  font: inherit;
  outline: none;
}

.admin-inline-input:focus {
  border-color: rgba(16, 81, 207, 0.36);
  box-shadow: 0 0 0 4px rgba(16, 81, 207, 0.12);
  background: #fff;
}

.admin-inline-save {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d7e3f8;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  color: #1b4fc9;
  font-weight: 700;
  cursor: pointer;
}

.admin-inline-save.is-done {
  color: #177245;
  border-color: rgba(23, 114, 69, 0.22);
  background: rgba(23, 114, 69, 0.08);
}

@media (max-width: 980px) {
  .admin-sidebar {
    position: static;
    min-height: auto;
    padding: 18px 16px 14px;
    box-shadow: none;
  }

  .admin-sidebar-brand {
    padding: 0 4px 10px;
    margin-bottom: 10px;
  }

  .admin-sidebar > a {
    display: inline-flex;
    min-height: 42px;
    margin: 0 8px 8px 0;
    padding: 0 14px;
  }

  .admin-content {
    padding: 16px;
  }

  .admin-topbar,
  .admin-panel-section {
    padding: 18px;
    border-radius: 20px;
  }

  .admin-actions {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .admin-actions > * {
    flex: 1 1 180px;
  }

  .section-heading {
    gap: 12px;
  }

  .admin-table {
    min-width: 680px;
  }
}

@media (max-width: 640px) {
  .admin-sidebar {
    border-radius: 0 0 20px 20px;
  }

  .admin-sidebar > a {
    width: calc(50% - 8px);
    justify-content: center;
    text-align: center;
  }

  .admin-topbar h2 {
    font-size: 1.45rem;
  }

  .admin-topbar p,
  .section-heading p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .admin-table {
    min-width: 560px;
  }

  .admin-filter-select,
  .admin-list-search,
  .admin-actions > *,
  .admin-primary-button,
  .admin-secondary-button,
  .admin-danger-button {
    width: 100%;
    min-width: 0;
    flex-basis: 100%;
    justify-content: center;
  }

  .admin-products-table .admin-inline-price {
    min-width: 150px;
  }

  .admin-inline-input {
    width: 90px;
  }
}

@media (max-width: 980px) {
  .admin-sidebar {
    position: static;
    min-height: auto;
    padding: 16px 14px 12px;
    box-shadow: none;
    border-radius: 0 0 22px 22px;
  }

  .admin-sidebar-brand {
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 12px;
  }

  .admin-sidebar > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 8px 8px 0;
    padding: 0 14px;
    border-radius: 14px;
  }

  .admin-content {
    padding: 16px;
  }

  .admin-topbar,
  .admin-panel-section,
  .admin-card {
    padding: 18px;
    border-radius: 20px;
  }

  .admin-actions {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .admin-actions > * {
    flex: 1 1 180px;
  }

  .admin-filter-select,
  .admin-list-search {
    width: 100%;
    max-width: none;
  }

  .admin-table {
    min-width: 720px;
  }
}

@media (max-width: 640px) {
  .admin-sidebar > a {
    width: calc(50% - 8px);
    margin-right: 8px;
    text-align: center;
  }

  .admin-topbar h2 {
    font-size: 1.55rem;
  }

  .admin-topbar p,
  .section-heading p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .admin-actions > * {
    flex: 1 1 100%;
  }

  .admin-panel-section,
  .admin-card,
  .admin-topbar {
    padding: 16px;
  }

  .admin-products-table .admin-inline-price {
    min-width: 168px;
    flex-wrap: wrap;
  }

  .admin-inline-input,
  .admin-inline-save {
    width: 100%;
  }

  .admin-pagination {
    gap: 14px;
  }
}

.admin-drag-col {
  width: 56px;
}

.admin-drag-cell {
  width: 56px;
  text-align: center;
}

.admin-table td.admin-drag-cell,
.admin-table th.admin-drag-col {
  padding-left: 10px;
  padding-right: 10px;
}

.admin-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #d8e3f3;
  background: linear-gradient(180deg, #ffffff, #f5f8fe);
  color: #64718d;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: grab;
  touch-action: none;
}

.admin-draggable-row.is-dragging {
  opacity: 0.55;
}

.admin-draggable-row.is-drag-over {
  outline: 2px dashed rgba(37, 93, 214, 0.34);
  outline-offset: -6px;
}

.admin-draggable-row.is-dragging .admin-drag-handle {
  cursor: grabbing;
}

@media (max-width: 640px) {
  .admin-drag-col,
  .admin-drag-cell {
    width: 48px;
  }

  .admin-drag-handle {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.82rem;
  }
}


/* Navigation repair overrides */
.nav-all-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f2a44;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-all-toggle:hover,
.nav-all-toggle:focus-visible {
  color: var(--red);
  outline: none;
}

.nav-all-toggle:hover .all-categories-icon span,
.nav-all-toggle:focus-visible .all-categories-icon span {
  background: var(--red);
}

.dropdown-menu-all {
  width: min(980px, calc(100vw - 40px));
  max-width: min(980px, calc(100vw - 40px));
}

.dropdown-group {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.dropdown-group a {
  display: block;
  line-height: 1.35;
  color: var(--muted);
  font-size: 0.96rem;
  white-space: normal;
  word-break: break-word;
}

.dropdown-group-title {
  display: block;
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e2a45;
}
/* Product card interaction repair */
.product-thumb,
.thumb-dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.product-thumb img,
.thumb-dot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb.is-active,
.thumb-dot.is-active {
  outline: 2px solid #ff7c43;
  outline-offset: 1px;
}

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-thumbs {
  z-index: 6;
}

.product-hover-meta {
  z-index: 5;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-hover-meta,
  .product-card:focus-within .product-hover-meta {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Mobile header layout repair */
@media (max-width: 720px) {
  .header-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0 10px;
  }

  .brand {
    display: block;
    max-width: 84px;
  }

  .brand-mark {
    width: 84px;
    min-width: 84px;
    height: 84px;
    border-radius: 22px;
    padding: 8px;
  }

  .promo-bar-inline {
    min-width: 0;
  }

  .promo-bar {
    border-radius: 14px;
  }

  .promo-marquee span {
    font-size: 0.72rem;
    padding: 8px 14px;
  }

  .nav-row {
    display: block;
    padding: 8px 0 12px;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
  }

  .main-nav {
    display: none !important;
    width: 100%;
    flex-direction: column !important;
    gap: 0 !important;
    background: #fff;
    border: 1px solid rgba(31, 63, 126, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(17, 35, 71, 0.08);
    overflow: hidden;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .nav-item,
  .nav-item-all {
    width: 100%;
    border-bottom: 1px solid #eef2f8;
  }

  .nav-item:last-child,
  .nav-item-all:last-child {
    border-bottom: 0;
  }

  .nav-item > a,
  .nav-all-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    font-size: 0.98rem;
  }

  .all-categories-label {
    text-align: left;
  }

  .dropdown-menu,
  .dropdown-menu-all {
    position: static !important;
    display: none;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0;
    padding: 4px 0 10px;
    border: 0;
    border-top: 1px solid #eef2f8;
    border-radius: 0;
    box-shadow: none;
    background: #f7f9fd;
  }

  .nav-item.is-open > .dropdown-menu,
  .nav-item-all.is-open > .dropdown-menu-all {
    display: grid !important;
  }

  .dropdown-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 16px 2px;
  }

  .dropdown-group-title,
  .dropdown-menu a {
    display: block;
    padding: 8px 0;
    white-space: normal;
    word-break: break-word;
  }

  .main-nav,
  .nav-links-window {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .nav-item > a,
  .nav-all-toggle,
  .dropdown-menu a,
  .dropdown-group-title {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .all-categories-label {
    justify-items: start;
    text-align: left !important;
  }
}
/* Slider and banner ratio repair */
.hero-slider {
  overflow: hidden;
}

.hero-track {
  aspect-ratio: 3 / 1;
  min-height: 0;
}

.hero-slide,
.hero-slide.is-full-bleed,
.hero-slide.is-contained {
  border-radius: 30px;
  overflow: hidden;
}

.hero-banner-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-position: center;
}

.hero-slide.is-full-bleed .hero-banner-image {
  object-fit: cover;
}

.hero-slide.is-contained .hero-banner-image {
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 20px;
  border-radius: 0;
  box-shadow: none;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.brand-logo-strip {
  margin: 0 0 14px;
  padding: 8px 0 10px;
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
}

.brand-logo-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: brand-logo-marquee 26s linear infinite;
}

.brand-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.brand-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 38px;
  cursor: pointer;
  touch-action: manipulation;
}

.brand-logo-item img {
  display: block;
  max-height: 34px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
}

.brand-logo-strip:hover .brand-logo-track {
  animation-play-state: paused;
}

.home-videos {
  position: relative;
  margin: 20px 0 16px;
  padding: 0 10px;
}

.home-videos-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.home-videos-track::-webkit-scrollbar {
  display: none;
}

.home-video-card {
  position: relative;
  flex: 0 0 320px;
  width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #111;
}

.home-video-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.28) 35%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.home-video-card-media {
  position: absolute;
  inset: 0;
}

.home-video-card-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.home-gallery-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.home-video-card-link-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.home-video-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px 12px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(1.4px);
  -webkit-backdrop-filter: blur(1.4px);
  display: grid;
  gap: 8px;
  z-index: 3;
}

.home-video-card-overlay h3 {
  margin: 0;
  color: #fff;
  font-family: "Barlow", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.22;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.home-video-card-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  width: 100%;
  background: #fff;
  color: #1a1f31;
  border-radius: 8px;
  font-family: "Barlow", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  z-index: 4;
}

.home-videos-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #121a2a;
  box-shadow: 0 8px 24px rgba(15, 28, 57, 0.22);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-videos-nav-prev {
  left: -2px;
}

.home-videos-nav-next {
  right: -2px;
}

.banner-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 42, 95, 0.08), rgba(176, 24, 81, 0.08));
  box-shadow: 0 14px 30px rgba(16, 42, 95, 0.10);
}

.banner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-track {
    aspect-ratio: 3 / 1;
    border-radius: 22px;
  }

  .hero-slide,
  .hero-slide.is-full-bleed,
  .hero-slide.is-contained {
    border-radius: 22px;
  }

  .hero-slide.is-contained .hero-banner-image {
    padding: 10px;
  }

  .banner-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .brand-logo-strip {
    margin: 0 0 10px;
    padding: 6px 0 8px;
  }

  .brand-logo-track,
  .brand-logo-group {
    gap: 22px;
    padding-right: 22px;
  }

  .brand-logo-item {
    min-width: 72px;
    height: 30px;
  }

  .brand-logo-item img {
    max-height: 26px;
    max-width: 100px;
  }

  .home-videos {
    margin: 18px 0 12px;
    padding: 0;
  }

  .home-videos-track {
    gap: 12px;
  }

  .home-video-card {
    flex-basis: 76vw;
    width: 76vw;
    max-width: 320px;
    min-width: 220px;
  }

  .home-videos-nav-prev {
    left: -8px;
  }

  .home-videos-nav-next {
    right: -8px;
  }

  .home-videos-nav {
    display: inline-flex;
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
    opacity: 0.96;
  }

  .home-videos-nav-prev {
    left: 4px;
  }

  .home-videos-nav-next {
    right: 4px;
  }
}

@media (max-width: 560px) {
  .home-video-card {
    flex-basis: 82vw;
    width: 82vw;
  }

  .home-videos-track {
    gap: 12px;
  }

  .home-videos-nav {
    display: inline-flex;
  }

  .banner-card {
    border-radius: 18px;
  }
}

/* Final stable navigation model */
@media (min-width: 901px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .site-header {
    overflow: visible !important;
    z-index: 1000;
  }

  .nav-row,
  .main-nav {
    min-width: 0;
    max-width: 100%;
    overflow: visible !important;
  }

  .main-nav {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
  }

  .nav-item-all {
    position: static !important;
    z-index: 4;
  }

  .nav-links-window {
    display: flex !important;
    align-items: center;
    gap: clamp(14px, 1.25vw, 24px);
    min-width: 0;
    max-width: 100%;
    overflow: hidden !important;
    white-space: nowrap;
  }

  .nav-links-window > .nav-item {
    flex: 0 0 auto;
  }

  .nav-links-window > .nav-item:nth-child(n + 8) {
    display: none !important;
  }

  .nav-links-window > .nav-item > a {
    display: inline-flex;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links-window > .nav-item > .dropdown-menu {
    display: none !important;
  }

  .dropdown-menu-all {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 12px) !important;
    width: min(1120px, calc(100vw - 80px)) !important;
    max-width: min(1120px, calc(100vw - 80px)) !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px 20px;
    padding: 20px;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    z-index: 5000 !important;
  }

  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .nav-links-window > .nav-item:nth-child(n + 6) {
    display: none !important;
  }
}

/* Navigation emergency hard reset - 2026-04-11
   Keeps the header stable even with many categories. Closed menus are removed
   from layout completely, so they cannot overlay or corrupt the page render. */
@media (min-width: 901px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .site-header,
  .header-top,
  .nav-row,
  .main-nav {
    max-width: 100%;
    min-width: 0;
    overflow: visible !important;
  }

  .site-header {
    position: relative;
    z-index: 1000;
  }

  .nav-row {
    position: relative;
    z-index: 1001;
  }

  .main-nav {
    position: relative;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    width: 100%;
  }

  .nav-item-all {
    position: relative !important;
    flex: 0 0 auto;
    z-index: 2;
  }

  .nav-links-window {
    display: flex !important;
    align-items: center;
    gap: clamp(14px, 1.25vw, 24px);
    min-width: 0;
    max-width: 100%;
    overflow: hidden !important;
    white-space: nowrap;
  }

  .nav-links-window > .nav-item {
    display: flex !important;
    flex: 0 0 auto;
    min-width: 0;
  }

  .nav-links-window > .nav-item:nth-child(n + 7) {
    display: none !important;
  }

  .nav-links-window > .nav-item > a {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links-window > .nav-item > .dropdown-menu,
  .nav-links-window > .nav-item:hover > .dropdown-menu,
  .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .nav-links-window > .nav-item.is-open > .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .dropdown-menu-all,
  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all {
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .nav-item-all.is-open > .dropdown-menu-all {
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 10px) !important;
    display: grid !important;
    width: min(1080px, calc(100vw - 72px)) !important;
    max-width: min(1080px, calc(100vw - 72px)) !important;
    max-height: min(68vh, 520px) !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px 20px;
    padding: 20px !important;
    overflow: auto !important;
    border: 1px solid rgba(31, 63, 126, 0.08);
    border-radius: 22px;
    background: #fff !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
    z-index: 6000 !important;
  }

  .dropdown-menu-all::before {
    display: none !important;
  }

  .dropdown-menu-all .dropdown-group,
  .dropdown-menu-all .mega-menu-group {
    display: grid !important;
    align-content: start;
    gap: 8px;
    min-width: 0;
  }

  .dropdown-menu-all a {
    display: block;
    color: #475569;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
  }

  .dropdown-menu-all .dropdown-group-title {
    color: #172033;
    font-weight: 800;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .nav-links-window > .nav-item:nth-child(n + 5) {
    display: none !important;
  }
}

/* Slider hard containment - 2026-04-11 */
.hero-slider,
.hero-track,
.hero-slide {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.hero-slider {
  position: relative !important;
  isolation: isolate;
}

.hero-track {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 600px !important;
}

.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
}

.hero-slide.is-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.hero-slide > a,
.hero-banner-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.hero-banner-image,
.hero-slide.is-full-bleed .hero-banner-image,
.hero-slide.is-contained .hero-banner-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

.banner-grid {
  max-width: 100% !important;
  overflow: hidden !important;
}

.banner-card {
  aspect-ratio: 2 / 1 !important;
  overflow: hidden !important;
}

.banner-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Final category navigation simplification - 2026-04-11
   One reliable entry point: all categories. Prevents overflow completely. */
@media (min-width: 901px) {
  .main-nav {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .nav-links-window {
    display: none !important;
  }

  .nav-item-all {
    position: relative !important;
    display: inline-block !important;
    width: auto !important;
  }

  .nav-all-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    color: #1f2a44;
    cursor: pointer;
  }

  .dropdown-menu-all,
  .nav-item-all > .dropdown-menu-all {
    display: none !important;
    position: absolute !important;
    left: 0 !important;
    top: calc(100% + 10px) !important;
    width: min(1080px, calc(100vw - 56px)) !important;
    max-width: min(1080px, calc(100vw - 56px)) !important;
    max-height: min(68vh, 520px) !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px 20px;
    padding: 20px !important;
    overflow: auto !important;
    border: 1px solid rgba(31, 63, 126, 0.08) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    z-index: 7000 !important;
  }

  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    display: grid !important;
  }
}

/* Product card hard containment - 2026-04-11 */
img {
  max-width: 100%;
}

.products-grid {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.product-card {
  position: relative !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.product-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #f5f5f5 !important;
}

.product-image-link {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.product-main-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

.product-corner-badge,
.product-thumbs,
.product-hover-meta {
  position: absolute !important;
}

@media (max-width: 720px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .product-image {
    aspect-ratio: 2 / 3 !important;
  }
}
/* Image flow safety override - 2026-04-11
   Do not let product or slider images escape their own boxes. */
.hero-slide > a,
.hero-banner-link,
.product-image-link {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.hero-banner-image,
.product-main-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.product-image,
.hero-slide,
.hero-track {
  contain: layout paint;
}
/* Slider automatic fit restore - 2026-04-11
   1800x600 fills the slider; other ratios stay proportional and centered. */
.hero-slider {
  overflow: hidden !important;
}

.hero-track {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 1 !important;
  min-height: 0 !important;
  max-height: 600px !important;
  overflow: hidden !important;
  border-radius: 30px !important;
  background:
    linear-gradient(90deg, rgba(16, 42, 95, 0.12), rgba(255, 255, 255, 0.58) 36%, rgba(255, 255, 255, 0.58) 64%, rgba(176, 24, 81, 0.14)),
    #f3f5f9 !important;
    margin-bottom:25px;
}

.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
}

.hero-slide.is-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.hero-slide > a,
.hero-banner-link {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 1;
}

.hero-slide.is-full-bleed .hero-banner-image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  box-shadow: none !important;
}

.hero-slide.is-contained {
  background:
    linear-gradient(90deg, rgba(16, 42, 95, 0.16), rgba(255, 255, 255, 0.48) 32%, rgba(255, 255, 255, 0.48) 68%, rgba(176, 24, 81, 0.18)),
    #f4f5fa !important;
}

.hero-slide.is-contained::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: var(--hero-slide-image);
  background-size: cover;
  background-position: center;
  filter: blur(30px) saturate(0.85);
  opacity: 0.34;
  transform: scale(1.08);
}

.hero-slide.is-contained::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 247, 252, 0.25), rgba(255,255,255,0.08), rgba(245, 229, 239, 0.25));
}

.hero-slide.is-contained .hero-banner-image {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(78%, 1180px) !important;
  max-height: 86% !important;
  padding: 0 !important;
  border-radius: 22px !important;
  object-fit: contain !important;
  object-position: center center !important;
  box-shadow: 0 24px 58px rgba(23, 40, 79, 0.18) !important;
}

.hero-slide.is-contained.is-wide-contained .hero-banner-image {
  max-width: min(78%, 1280px) !important;
  max-height: 82% !important;
}

.hero-slide.is-contained.is-square .hero-banner-image {
  max-width: min(36%, 460px) !important;
  max-height: 84% !important;
}

.hero-slide.is-contained.is-portrait .hero-banner-image {
  max-width: min(30%, 380px) !important;
  max-height: 88% !important;
}

@media (max-width: 720px) {
  .hero-track {
    border-radius: 22px !important;
  }

  .hero-slide.is-contained .hero-banner-image {
    max-width: 82% !important;
    max-height: 82% !important;
    border-radius: 16px !important;
  }

  .hero-slide.is-contained.is-square .hero-banner-image {
    max-width: 44% !important;
  }

  .hero-slide.is-contained.is-portrait .hero-banner-image {
    max-width: 36% !important;
  }
}

/* Bizimbutik-style stable menu restore - 2026-04-11 */
@media (min-width: 901px) {
  .site-header {
    overflow: visible !important;
    z-index: 2000 !important;
  }

  .nav-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .main-nav {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .nav-item,
  .nav-item-all {
    position: relative !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .nav-links-window {
    display: flex !important;
    align-items: center !important;
    gap: clamp(20px, 2.1vw, 42px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .nav-links-window > .nav-item {
    display: flex !important;
  }

  .nav-links-window > .nav-item[hidden] {
    display: none !important;
  }

  .nav-links-window > .nav-item > a,
  .nav-all-toggle {
    color: #1459e8 !important;
    font-weight: 700 !important;
    letter-spacing: 0.015em;
    min-height: 52px !important;
    white-space: nowrap !important;
  }

  .nav-links-window > .nav-item > a {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 190px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .nav-all-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
  }

  .dropdown-menu,
  .dropdown-menu-all,
  .nav-links-window > .nav-item > .dropdown-menu,
  .nav-item-all > .dropdown-menu-all {
    position: absolute !important;
    top: calc(100% + 0px) !important;
    left: 0 !important;
    display: grid !important;
    min-width: 220px !important;
    max-width: min(980px, calc(100vw - 56px)) !important;
    padding: 16px !important;
    border: 1px solid rgba(31, 63, 126, 0.08) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 55px rgba(24, 48, 95, 0.14) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
    z-index: 7000 !important;
  }

  .dropdown-menu::before,
  .dropdown-menu-all::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -14px !important;
    height: 14px !important;
  }

  .nav-links-window > .nav-item:hover > .dropdown-menu,
  .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .nav-links-window > .nav-item.is-open > .dropdown-menu,
  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .dropdown-menu a,
  .dropdown-menu-all a {
    display: block !important;
    color: #1459e8 !important;
    padding: 6px 0 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .dropdown-menu a:hover,
  .dropdown-menu-all a:hover {
    color: #e11616 !important;
  }

  .dropdown-menu-all,
  .nav-item-all > .dropdown-menu-all {
    width: min(1080px, calc(100vw - 64px)) !important;
    max-height: min(68vh, 520px) !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 14px 24px !important;
    overflow: auto !important;
  }

  .mega-menu-group,
  .dropdown-group {
    display: grid !important;
    gap: 8px !important;
    align-content: start !important;
  }

  .dropdown-group-title {
    color: #172033 !important;
    font-weight: 800 !important;
  }
}

/* Final menu fix - 2026-04-11
   Overrides old nth-child hiding and lets dropdowns escape the nav row. */
@media (min-width: 901px) {
  .site-header,
  .header-top,
  .nav-row,
  .main-nav,
  .nav-links-window {
    overflow: visible !important;
  }

  .main-nav {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: clamp(18px, 2vw, 34px) !important;
    align-items: center !important;
  }

  .nav-links-window {
    display: flex !important;
    align-items: center !important;
    gap: clamp(20px, 2vw, 40px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .nav-links-window > .nav-item,
  .nav-links-window > .nav-item:nth-child(n),
  .nav-links-window > .nav-item:nth-child(n + 5),
  .nav-links-window > .nav-item:nth-child(n + 6),
  .nav-links-window > .nav-item:nth-child(n + 7),
  .nav-links-window > .nav-item:nth-child(n + 8) {
    display: flex !important;
  }

  .nav-links-window > .nav-item[hidden],
  .nav-links-window > .nav-item[hidden]:nth-child(n) {
    display: none !important;
  }

  .nav-links-window > .nav-item > .dropdown-menu,
  .nav-links-window > .nav-item:hover > .dropdown-menu,
  .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .nav-links-window > .nav-item.is-open > .dropdown-menu {
    display: grid !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-links-window > .nav-item:hover > .dropdown-menu,
  .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .nav-links-window > .nav-item.is-open > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .nav-links-window > .nav-item > .dropdown-menu {
    top: calc(100% + 0px) !important;
    left: 0 !important;
    min-width: 220px !important;
    width: max-content !important;
    max-width: min(360px, calc(100vw - 56px)) !important;
  }

  .nav-item-all > .dropdown-menu-all,
  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    display: grid !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-item-all:hover > .dropdown-menu-all,
  .nav-item-all:focus-within > .dropdown-menu-all,
  .nav-item-all.is-open > .dropdown-menu-all {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* Stable desktop category menu - final override 2026-04-11 */
@media (min-width: 901px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header,
  .header-top,
  .nav-row,
  .main-nav,
  .main-nav .nav-item,
  .main-nav .nav-item-all,
  .main-nav .nav-links-window {
    overflow: visible !important;
  }

  .main-nav {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: clamp(16px, 1.7vw, 28px) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .main-nav .nav-links-window {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(18px, 1.75vw, 32px) !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .main-nav .nav-links-window > .nav-item,
  .main-nav .nav-links-window > .nav-item:nth-child(n),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 4),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 5),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 6),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 7),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 8),
  .main-nav .nav-links-window > .nav-item:nth-child(n + 9) {
    display: flex !important;
    flex: 0 0 auto !important;
    position: relative !important;
  }

  .main-nav .nav-links-window > .nav-item[hidden],
  .main-nav .nav-links-window > .nav-item[hidden]:nth-child(n),
  .main-nav .nav-links-window > .nav-item[style*="display: none"] {
    display: none !important;
  }

  .main-nav .nav-links-window > .nav-item > a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 52px !important;
    max-width: clamp(92px, 10vw, 170px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .main-nav .dropdown-menu,
  .main-nav .dropdown-menu-all,
  .main-nav .nav-links-window > .nav-item > .dropdown-menu,
  .main-nav .nav-item-all > .dropdown-menu-all {
    display: grid !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease !important;
    z-index: 9000 !important;
  }

  .main-nav .nav-links-window > .nav-item > .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 0px) !important;
    left: 0 !important;
    min-width: 220px !important;
    width: max-content !important;
    max-width: min(420px, calc(100vw - 48px)) !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(31,63,126,0.08) !important;
    box-shadow: 0 24px 55px rgba(24,48,95,0.14) !important;
  }

  .main-nav .nav-item-all > .dropdown-menu-all {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: min(1080px, calc(100vw - 56px)) !important;
    max-height: min(68vh, 520px) !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 14px 24px !important;
    padding: 20px !important;
    overflow: auto !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(31,63,126,0.08) !important;
    box-shadow: 0 28px 70px rgba(15,23,42,0.18) !important;
  }

  .main-nav .nav-links-window > .nav-item:hover > .dropdown-menu,
  .main-nav .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .main-nav .nav-links-window > .nav-item.is-open > .dropdown-menu,
  .main-nav .nav-item-all:hover > .dropdown-menu-all,
  .main-nav .nav-item-all:focus-within > .dropdown-menu-all,
  .main-nav .nav-item-all.is-open > .dropdown-menu-all {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .main-nav .dropdown-menu a,
  .main-nav .dropdown-menu-all a {
    display: block !important;
    padding: 7px 0 !important;
    color: #1459e8 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }
}

/* Hard locked menu behavior - 2026-04-11 */
@media (min-width: 901px) {
  .main-nav .nav-links-window {
    gap: clamp(12px, 1.25vw, 24px) !important;
    overflow: visible !important;
  }

  .main-nav .nav-links-window > .nav-item > a {
    max-width: clamp(82px, 8.5vw, 142px) !important;
    font-size: clamp(13px, 0.88vw, 16px) !important;
  }

  .main-nav .nav-item-all {
    z-index: 9100 !important;
  }

  .main-nav .nav-links-window > .nav-item {
    z-index: 9050 !important;
  }

  .main-nav .nav-links-window > .nav-item > .dropdown-menu,
  .main-nav .nav-item-all > .dropdown-menu-all {
    clip: auto !important;
    contain: none !important;
  }

  .main-nav .nav-links-window > .nav-item.is-open > .dropdown-menu,
  .main-nav .nav-links-window > .nav-item:hover > .dropdown-menu,
  .main-nav .nav-links-window > .nav-item:focus-within > .dropdown-menu,
  .main-nav .nav-item-all.is-open > .dropdown-menu-all,
  .main-nav .nav-item-all:hover > .dropdown-menu-all,
  .main-nav .nav-item-all:focus-within > .dropdown-menu-all {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .main-nav .nav-item-all > .dropdown-menu-all {
    left: 0 !important;
    right: auto !important;
  }
}

/* Mobile header promo alignment - 2026-04-11 */
@media (max-width: 720px) {
  .site-header .header-top {
    display: grid !important;
    grid-template-columns: 42px auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

.site-header .menu-button {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 78px !important;
  height: 78px !important;
  margin: 0 !important;
  align-self: center !important;
  justify-self: start !important;
  color: var(--text) !important;
}

.menu-button .menu-label {
  display: none !important;
}

.menu-button .menu-bar {
  display: none !important;
}

  .site-header .brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  .site-header .brand-mark {
    width: clamp(82px, 23vw, 124px) !important;
    min-width: clamp(82px, 23vw, 124px) !important;
    height: 50px !important;
    border-radius: 14px !important;
  }

  .site-header .brand-mark.has-image {
    height: 50px !important;
    padding: 0 !important;
  }

  .site-header .brand-logo-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  .site-header .promo-bar-inline {
    grid-column: 3 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  .site-header .promo-bar {
    height: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .site-header .promo-track {
    width: 100% !important;
  }

.site-header .promo-marquee span {
    font-size: clamp(12px, 3vw, 14px) !important;
    line-height: 1 !important;
    padding-right: 26px !important;
  }
}

.site-header {
  position: sticky !important;
  top: 0;
  z-index: 3000 !important;
}

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.site-header + main {
  padding-top: 0 !important;
}

@media (max-width: 420px) {
  .site-header .header-top {
    grid-template-columns: 38px auto minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .site-header .menu-button {
    width: 56px !important;
    height: 56px !important;
  }

  .site-header .brand-mark,
  .site-header .brand-mark.has-image {
    width: clamp(76px, 22vw, 96px) !important;
    min-width: clamp(76px, 22vw, 96px) !important;
    height: 44px !important;
  }

.site-header .promo-bar {
      height: 40px !important;
      min-height: 40px !important;
      border-radius: 14px !important;
    }
  }

@media (max-width: 900px) {
  .main-nav .nav-item-all {
    display: none !important;
  }
}
/* Panel theme binding - 2026-04-11 */
.site-header,
.nav-row,
.main-nav,
.dropdown-menu,
.dropdown-panel,
.all-categories-panel {
  background-color: var(--bg);
  color: var(--text);
}
.main-nav a,
.main-nav button,
.dropdown-menu a,
.dropdown-panel a,
.all-categories-panel a,
.breadcrumb,
.product-card,
.product-card-title,
.product-code,
.section-heading,
.page-title {
  color: var(--text);
}
.product-code,
.breadcrumb,
.empty-state,
.product-count,
.section-subtitle {
  color: var(--muted);
}
.nav-item:hover > a,
.nav-item:hover > button,
.dropdown-menu a:hover,
.dropdown-panel a:hover,
.all-categories-panel a:hover {
  color: var(--red);
}
.promo-bar {
  background-color: var(--red);
  color: #fff;
}
.product-price {
  color: var(--red);
}
.site-footer {
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--violet));
  color: var(--footer-text);
}
.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--footer-text);
}
/* Menu color follows logo accent - 2026-04-11 */
.main-nav a,
.main-nav button,
.dropdown-menu a,
.dropdown-panel a,
.all-categories-panel a,
.nav-item > a,
.nav-item > button,
.all-categories-label,
.all-categories-label strong,
.all-categories-label span {
  color: var(--cyan);
}
.nav-item:hover > a,
.nav-item:hover > button,
.dropdown-menu a:hover,
.dropdown-panel a:hover,
.all-categories-panel a:hover,
.main-nav a.is-active {
  color: var(--cyan);
}
/* All menu category text follows logo accent - 2026-04-11 */
.site-header .main-nav,
.site-header .main-nav *,
.site-header .dropdown-menu,
.site-header .dropdown-menu *,
.site-header .dropdown-menu-all,
.site-header .dropdown-menu-all *,
.site-header .dropdown-group,
.site-header .dropdown-group *,
.site-header .mega-menu-group,
.site-header .mega-menu-group *,
.site-header .nav-links-window,
.site-header .nav-links-window *,
.site-header .all-categories-label,
.site-header .all-categories-label *,
.site-header .nav-all-toggle,
.site-header .nav-all-toggle * {
  color: var(--cyan) !important;
}
/* Scoped menu color from panel logo accent - 2026-04-11 */
html body .site-header .main-nav,
html body .site-header .main-nav a,
html body .site-header .main-nav button,
html body .site-header .main-nav span,
html body .site-header .main-nav strong,
html body .site-header .dropdown-menu a,
html body .site-header .dropdown-menu-all a,
html body .site-header .dropdown-group-title,
html body .site-header .all-categories-label,
html body .site-header .all-categories-label strong,
html body .site-header .all-categories-label span {
    color: var(--menu-color, var(--cyan)) !important;
  }

/* Large subcategory dropdowns: keep usable */
@media (min-width: 901px) {
  .site-header .dropdown-menu {
    max-height: 60vh !important;
    overflow-y: auto !important;
    padding-right: 10px !important;
    scrollbar-gutter: stable;
  }
  .site-header .dropdown-menu a {
    break-inside: avoid;
  }
}

@media (min-width: 901px) {
  .main-nav .nav-item,
  .main-nav .nav-item-all {
    padding-bottom: 14px !important;
    margin-bottom: -14px !important;
  }

  .main-nav .nav-links-window > .nav-item > .dropdown-menu,
  .main-nav .nav-item-all > .dropdown-menu-all {
    top: calc(100% - 4px) !important;
  }

  .main-nav .dropdown-menu::before,
  .main-nav .dropdown-menu-all::before {
    top: -18px !important;
    height: 18px !important;
  }
}
/* Banner title under image - 2026-04-11 */
.banner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}
.banner-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 42, 95, 0.08), rgba(176, 24, 81, 0.08));
  box-shadow: 0 14px 30px rgba(16, 42, 95, 0.10);
}
.banner-card .banner-image-wrap img,
.banner-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-title {
  display: block;
  padding: 0 4px;
  color: var(--text);
  font-weight: 800;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.25;
}
/* Product lazy reveal - 2026-04-11 */
.product-card.is-lazy-hidden {
  display: none !important;
}

/* Quality pass - 2026-04-12 */
.products-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.products-header h1 {
  margin: 0;
  line-height: 1.15;
}

.home-featured-products {
  margin: 22px 0 18px;
}

.home-featured-products .products-header h2 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.products-header p {
  margin: 8px 0 0;
}

.products-grid {
  align-items: stretch;
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
}

.product-info h3,
.product-card-title {
  min-height: 2.4em;
}

.product-price-row,
.product-actions {
  margin-top: auto;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  min-width: 720px;
}

/* Admin products table fit tune */
.admin-products-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.admin-products-table th,
.admin-products-table td {
  padding: 12px 10px;
  vertical-align: middle;
}

.admin-products-table th:nth-child(1),
.admin-products-table td:nth-child(1) {
  width: 44px;
}

.admin-products-table th:nth-child(2),
.admin-products-table td:nth-child(2) {
  width: 36px;
}

.admin-products-table th:nth-child(3),
.admin-products-table td:nth-child(3) {
  width: 72px;
}

.admin-products-table th:nth-child(5),
.admin-products-table td:nth-child(5) {
  width: 96px;
}

.admin-products-table th:nth-child(6),
.admin-products-table td:nth-child(6) {
  width: 160px;
}

.admin-products-table th:nth-child(7),
.admin-products-table td:nth-child(7) {
  width: 100px;
}

.admin-products-table th:nth-child(8),
.admin-products-table td:nth-child(8) {
  width: 190px;
}

.admin-products-table th:nth-child(9),
.admin-products-table td:nth-child(9) {
  width: 180px;
}

.admin-products-table td strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-products-table td:nth-child(8) {
  font-size: 0.86rem;
  line-height: 1.35;
  word-break: break-word;
}

.admin-products-table .admin-table-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.admin-products-table .admin-inline-price {
  min-width: 0;
  gap: 6px;
}

.admin-products-table .admin-inline-input {
  width: 82px;
  min-height: 34px;
  padding: 0 8px;
}

.admin-products-table .admin-inline-save {
  min-height: 34px;
  padding: 0 8px;
  font-size: 0.82rem;
}

.admin-products-table .admin-table-actions {
  gap: 6px;
  flex-wrap: wrap;
}

.admin-products-table .admin-icon-button,
.admin-products-table .admin-delete-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.82rem;
}

/* Desktop nav fit guard for many categories */
@media (min-width: 901px) {
  .main-nav .nav-links-window {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
    gap: 2px clamp(8px, 1.05vw, 16px) !important;
    white-space: normal !important;
  }

  .main-nav .nav-links-window > .nav-item {
    display: flex !important;
    flex: 0 0 auto !important;
  }

  .main-nav .nav-links-window > .nav-item.nav-item-brands {
    order: 9999 !important;
  }

  .main-nav .nav-links-window > .nav-item > a {
    min-height: 38px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    line-height: 1.15 !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .main-nav .nav-links-window > .nav-item:hover,
  .main-nav .nav-links-window > .nav-item.is-open,
  .main-nav .nav-item-all:hover,
  .main-nav .nav-item-all.is-open {
    z-index: 12050 !important;
  }

  .main-nav .nav-links-window > .nav-item > .dropdown-menu,
  .main-nav .nav-item-all > .dropdown-menu-all {
    z-index: 12060 !important;
  }
}

/* Mobile nav long-list stability */
@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .main-nav .nav-links-window {
    display: flex;
    flex-direction: column;
  }

  .main-nav .nav-links-window > .nav-item.nav-item-brands {
    display: flex !important;
    order: 9999 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .main-nav.is-open {
    max-height: calc(100vh - 130px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open .dropdown-menu,
  .main-nav.is-open .dropdown-menu-all {
    max-height: 42vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.admin-list-toolbar {
  gap: 12px;
}

.admin-actions {
  flex-wrap: wrap;
}

.admin-filter-select {
  min-width: 220px;
}

@media (max-width: 980px) {
  .admin-topbar {
    gap: 14px;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions > * {
    flex: 1 1 180px;
  }
}

@media (max-width: 720px) {
  .products-header {
    align-items: start;
    margin-bottom: 18px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .product-info {
    padding: 10px 10px 14px;
  }

  .product-info h3,
  .product-card-title {
    min-height: 2.6em;
    font-size: 0.95rem;
  }

  .admin-topbar,
  .section-heading {
    align-items: stretch;
  }

  .section-heading {
    gap: 12px;
  }

  .admin-actions > * {
    width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .products-grid {
    gap: 12px !important;
  }

  .product-info h3,
  .product-card-title {
    min-height: 2.8em;
    font-size: 0.92rem;
  }
}

.product-code {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  margin-top: 10px;
  padding: 0 10px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(92, 56, 82, 0.18);
  border-radius: 8px;
  background: rgba(92, 56, 82, 0.06);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-card-cta .cta-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.product-card-cta .cta-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.product-card-cta .cta-label-desktop {
  display: inline;
}

.product-card-cta .cta-label-mobile {
  display: none;
}

@media (max-width: 720px) {
  .product-card-cta .cta-label-desktop {
    display: none;
  }
  .product-card-cta .cta-label-mobile {
    display: inline;
  }
}

.product-card-cta.is-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.product-card-cta.is-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #ffffff;
}

@media (min-width: 721px) {
  .product-card-cta.is-whatsapp {
    font-size: 0.92rem;
  }
}

.product-card-cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.content-page {
  padding: 28px 0 42px;
}

.content-page-section {
  margin-bottom: 22px;
  padding: 24px 0;
}

.content-page-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-page h1 {
  margin: 0 0 14px;
  max-width: 16ch;
  line-height: 1.08;
}

.content-page-section > p {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.7;
}

.content-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-page-grid > article {
  border: 1px solid rgba(31, 63, 126, 0.08);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(24, 48, 95, 0.06);
}

.content-page-grid h2 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.content-page-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.content-page-cta:hover {
  filter: brightness(0.96);
}

@media (max-width: 900px) {
  .content-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .product-hover-meta {
    display: none !important;
  }

  .product-mobile-meta {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
  }

  .product-mobile-meta .product-hover-brand {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
  }

  .product-mobile-meta .product-hover-sizes {
    gap: 6px;
  }

  .product-thumbs {
    display: flex !important;
    left: 50% !important;
    right: auto !important;
    bottom: 10px !important;
    transform: translateX(-50%) !important;
    z-index: 6 !important;
  }
}

.admin-sidebar-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(39, 91, 214, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #2149b8;
  box-shadow: 0 10px 24px rgba(33, 73, 184, 0.12);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.admin-sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.admin-sidebar-backdrop {
  display: none;
}

@media (max-width: 980px) {
  .admin-shell {
    position: relative;
    overflow-x: hidden;
  }

  .admin-sidebar-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .admin-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: min(320px, calc(100vw - 36px));
    height: 100vh;
    min-height: 100vh !important;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform 0.22s ease;
    border-radius: 0 22px 22px 0 !important;
    box-shadow: 18px 0 38px rgba(12, 28, 58, 0.22) !important;
    z-index: 1200;
  }

  .admin-sidebar > a {
    display: flex !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .admin-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1100;
    border: 0;
    padding: 0;
    background: rgba(9, 19, 38, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar-open .admin-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-topbar {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .admin-sidebar {
    width: min(300px, calc(100vw - 24px));
    border-radius: 0 18px 18px 0 !important;
  }
}

/* Lightbox fit fix for tall product images (1200x1800 and similar) */
html body .product-lightbox .product-lightbox-dialog {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  padding: 64px 92px 46px !important;
}

html body .product-lightbox .product-lightbox-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 210px) !important;
  max-height: calc(100vh - 128px) !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  html body .product-lightbox .product-lightbox-dialog {
    padding: 58px 64px 34px !important;
  }

  html body .product-lightbox .product-lightbox-image {
    max-width: calc(100vw - 152px) !important;
    max-height: calc(100vh - 112px) !important;
  }
}

@media (max-width: 720px) {
  html body .product-lightbox .product-lightbox-dialog {
    padding: 54px 16px 22px !important;
  }

  html body .product-lightbox .product-lightbox-image {
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 96px) !important;
  }
}

.admin-video-preview {
  width: min(300px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin-bottom: 12px;
}

.admin-video-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.site-header.modern-shell {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #f4f5f7 !important;
  border-bottom: 1px solid #e1e5ea;
  box-shadow: 0 2px 16px rgba(18, 28, 45, 0.06);
}

.site-header.modern-shell .header-top {
  padding: 12px 0 8px !important;
}

.site-header.modern-shell .header-main {
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 520px) auto;
  align-items: center;
  gap: 14px;
}

.site-header.modern-shell .brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.site-header.modern-shell .brand-mark {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-header.modern-shell .brand-logo-image {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.site-header.modern-shell .header-shortcuts {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header.modern-shell .header-shortcuts a {
  text-decoration: none;
  color: #151e2f;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header.modern-shell .header-shortcuts a:hover {
  background: #e8edf3;
  color: #0d1b33;
}

.site-header.modern-shell .header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid #cfd6df;
  border-radius: 999px;
  background: #fff;
  min-height: 48px;
  padding: 0 16px;
  box-shadow: inset 0 1px 1px rgba(20, 28, 40, 0.03);
}

.site-header.modern-shell .header-search-icon {
  font-size: 1rem;
  line-height: 1;
  color: #637188;
}

.site-header.modern-shell .header-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 0.95rem;
  color: #1a2436;
  background: transparent;
}

.site-header.modern-shell .menu-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #c8d0da;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20, 28, 40, 0.08);
}

.site-header.modern-shell .menu-icon {
  fill: #1a2436;
  stroke: #1a2436;
}

.site-header.modern-shell .promo-bar-inline {
  margin-top: 8px;
}

.site-header.modern-shell .promo-bar {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.site-header.modern-shell .promo-track {
  border-radius: 999px;
  background: #f7f9fc;
  border: 1px solid #dde3eb;
  min-height: 36px;
}

.site-header.modern-shell .nav-row {
  padding: 10px 0 14px;
}

.site-header.modern-shell .main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-header.modern-shell .nav-links-window {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.site-header.modern-shell .nav-links-window::-webkit-scrollbar {
  height: 6px;
}

.site-header.modern-shell .nav-links-window::-webkit-scrollbar-thumb {
  background: #c8d0da;
  border-radius: 999px;
}

.site-header.modern-shell .nav-item {
  flex: 0 0 auto;
}

.site-header.modern-shell .nav-item > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #1f2736;
  background: #f4f5f7;
  color: #1f2736;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
}

.site-header.modern-shell .nav-item > a::after {
  display: none !important;
}

.site-header.modern-shell .nav-item > a:hover {
  background: #fff;
}

.site-header.modern-shell .nav-item-all {
  flex: 0 0 auto;
}

.site-header.modern-shell .all-categories-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #1f2736;
  background: #f4f5f7;
}

.site-header.modern-shell .all-categories-icon {
  width: 16px;
  height: 12px;
}

.site-header.modern-shell .dropdown-menu,
.site-header.modern-shell .dropdown-menu-all {
  border: 1px solid #d9e0ea;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(15, 24, 40, 0.12);
}

.listing-page,
.homepage {
  background: #eef1f5;
  border-radius: 14px;
  padding-top: 22px;
  padding-bottom: 28px;
}

.products-header h1 {
  font-size: 2rem;
  letter-spacing: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: #fff !important;
  border: 1px solid #dce3ec !important;
  border-radius: 12px !important;
  box-shadow: 0 5px 18px rgba(19, 29, 48, 0.08) !important;
  overflow: hidden;
}

.product-image {
  aspect-ratio: 16 / 10;
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 14px 14px 16px !important;
}

.product-info h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.product-code {
  font-size: 0.86rem;
  color: #67748a;
}

.product-price {
  font-size: 1.12rem;
  color: #111827;
  margin-top: 8px;
}

.product-card-cta {
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header.modern-shell .header-main {
    grid-template-columns: auto 1fr auto;
  }

  .site-header.modern-shell .header-shortcuts {
    display: none;
  }

  .site-header.modern-shell .header-search {
    min-height: 44px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .site-header.modern-shell .menu-button {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .site-header.modern-shell .header-main {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .site-header.modern-shell .brand {
    min-width: 0;
  }

  .site-header.modern-shell .header-search {
    grid-column: 1 / -1;
  }

  .site-header.modern-shell .main-nav {
    display: none !important;
  }

  .site-header.modern-shell .main-nav.is-open {
    display: block !important;
    padding: 10px;
    border: 1px solid #d6deea !important;
    border-radius: 12px;
    background: #fff !important;
  }

  .site-header.modern-shell .main-nav.is-open .nav-links-window {
    flex-wrap: wrap;
    overflow: visible;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Modern Content Pages + Footer */
.content-page {
  margin-top: 18px;
  margin-bottom: 24px;
  display: grid;
  gap: 18px;
}

.content-page .content-page-section {
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(19, 29, 48, 0.06);
}

.content-page .content-page-section:first-child {
  background: linear-gradient(145deg, #ffffff 0%, #f6f9fc 100%);
  border-color: #d5dee9;
}

.content-page .content-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ccd7e5;
  background: #f3f7fc;
  color: #3a4a63;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.content-page h1 {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  color: #16233a;
}

.content-page .content-page-section > p {
  color: #4e5d76;
  font-size: 1rem;
  line-height: 1.65;
}

.content-page .content-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.content-page .content-page-grid > article {
  border: 1px solid #dde4ee;
  border-radius: 12px;
  background: #f9fbfe;
  padding: 16px;
}

.content-page .content-page-grid h2 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  color: #15233a;
}

.content-page .content-page-grid p {
  margin: 0;
  color: #576782;
  line-height: 1.55;
}

.content-page .content-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid #0e8f63;
  background: #10a36f;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(16, 163, 111, 0.24);
}

.content-page .content-page-cta:hover {
  background: #0d9868;
  border-color: #0b865b;
}

.site-footer {
  margin-top: 26px;
  background: #0f1726;
  border-top: 1px solid #263248;
  border-radius: 14px 14px 0 0;
  padding-top: 26px;
  padding-bottom: 30px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 20px;
}

.site-footer .footer-grid > div {
  background: #141f31;
  border: 1px solid #25324a;
  border-radius: 12px;
  padding: 16px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #f3f7ff;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: #b8c3d7;
  font-size: 0.94rem;
  line-height: 1.6;
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .content-page .content-page-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .content-page .content-page-section {
    padding: 16px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

body.modern-market-theme {
  background: #eceff3;
  color: #1b2434;
}

body.modern-market-theme .container {
  width: min(1540px, 96vw);
}

body.modern-market-theme .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #f8f9fb;
  border-bottom: 1px solid #d7dce5;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

body.modern-market-theme .site-header .header-top {
  padding-top: 12px;
  padding-bottom: 10px;
}

body.modern-market-theme .site-header .promo-bar-inline {
  margin-top: 8px;
}

body.modern-market-theme .site-header .promo-bar {
  background: #eef2f7;
  border: 1px solid #d8deea;
  color: #4c5b74;
}

body.modern-market-theme .site-header .header-shortcuts a {
  border-radius: 22px;
  border: 1px solid #d4dbe8;
  background: #ffffff;
  font-weight: 600;
}

body.modern-market-theme .site-header .header-search {
  border: 1px solid #ccd5e4;
  background: #ffffff;
  border-radius: 999px;
}

body.modern-market-theme .site-header .nav-row {
  padding-top: 10px;
  padding-bottom: 12px;
}

body.modern-market-theme .site-header .main-nav {
  background: #e9edf3;
  border: 1px solid #d4dce8;
  border-radius: 16px;
  padding: 10px 14px;
}

body.modern-market-theme .site-header .nav-item > a {
  background: #f8fafe;
  border: 1px solid #cfd8e7;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 16px;
  color: #1e2a3d;
  font-weight: 600;
}

body.modern-market-theme .site-header .nav-item > a:hover {
  background: #ffffff;
  border-color: #b7c4d9;
}

body.modern-market-theme .site-header .all-categories-link {
  border-radius: 999px;
  border: 1px solid #cfd8e7;
  background: #ffffff;
}

body.modern-market-theme .hero-slider,
body.modern-market-theme .banner-grid,
body.modern-market-theme .products-header {
  border-radius: 12px;
  border: 1px solid #d8dfe9;
  background: #f7f9fc;
}

body.modern-market-theme .products-grid {
  gap: 18px;
}

body.modern-market-theme .product-card {
  border: 1px solid #d2dae7;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

body.modern-market-theme .product-image {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid #e6ebf3;
}

body.modern-market-theme .product-info {
  padding: 14px 14px 16px;
}

body.modern-market-theme .product-info h3,
body.modern-market-theme .product-title-link {
  font-size: 1.04rem;
  font-weight: 700;
  color: #152138;
}

body.modern-market-theme .profile-meta {
  margin: 6px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5a6a84;
  font-size: 0.88rem;
  line-height: 1.4;
}

body.modern-market-theme .profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 8px;
}

body.modern-market-theme .profile-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4e5f7b;
  font-size: 0.86rem;
}

body.modern-market-theme .profile-rating strong {
  color: #13213a;
  font-size: 0.9rem;
  font-weight: 700;
}

body.modern-market-theme .profile-rating-star {
  color: #f2a100;
  font-size: 0.95rem;
  line-height: 1;
}

body.modern-market-theme .profile-verified {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #c9e5da;
  border-radius: 999px;
  background: #ecfaf4;
  color: #0f7d57;
  font-size: 0.75rem;
  font-weight: 700;
}

body.modern-market-theme .profile-sep {
  color: #a4b0c4;
}

body.modern-market-theme .profile-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

body.modern-market-theme .profile-specialty-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d4dceb;
  border-radius: 999px;
  background: #f6f9fd;
  color: #2d3b54;
  font-size: 0.8rem;
  font-weight: 600;
}

body.modern-market-theme .product-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f1726;
}

body.modern-market-theme .product-card-cta {
  border-radius: 10px;
  border: 1px solid #c8d2e2;
  background: #f2f6fb;
  color: #15253d;
  font-weight: 700;
}

body.modern-market-theme .product-card-cta:hover {
  background: #eaf1fa;
}

@media (max-width: 900px) {
  body.modern-market-theme .site-header {
    position: static;
  }

  body.modern-market-theme .site-header .main-nav {
    border-radius: 12px;
  }

  body.modern-market-theme .products-grid {
    gap: 14px;
  }
}

/* Soft Glass Theme */
body.soft-glass-theme {
  background:
    radial-gradient(1200px 700px at 8% -12%, rgba(150, 199, 255, 0.38), transparent 60%),
    radial-gradient(1000px 620px at 92% 0%, rgba(169, 229, 255, 0.34), transparent 58%),
    linear-gradient(180deg, #edf5ff 0%, #e8f0ff 42%, #e5effb 100%);
  color: #162238;
}

body.soft-glass-theme .container {
  width: min(1520px, 95vw);
}

body.soft-glass-theme .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(245, 250, 255, 0.62);
  border-bottom: 1px solid rgba(146, 170, 205, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.soft-glass-theme .site-header .header-shortcuts a,
body.soft-glass-theme .site-header .nav-item > a,
body.soft-glass-theme .site-header .all-categories-link {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(141, 170, 206, 0.36);
  border-radius: 999px;
  color: #1a2b45;
  backdrop-filter: blur(10px);
}

body.soft-glass-theme .site-header .header-search {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(140, 168, 205, 0.34);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

body.soft-glass-theme .site-header .main-nav {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(137, 163, 198, 0.34);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

body.soft-glass-theme .site-header .promo-bar-inline,
body.soft-glass-theme .site-header .promo-bar {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(137, 163, 198, 0.34);
  color: #3c5577;
  text-shadow: none;
}

body.soft-glass-theme .site-header .promo-marquee {
  animation: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.soft-glass-theme .site-header .promo-marquee span + span {
  display: none;
}

body.soft-glass-theme .site-header .brand-title,
body.soft-glass-theme .site-header .brand-mark {
  color: #173158;
}

body.soft-glass-theme .site-header .header-search input::placeholder {
  color: #5a7193;
}

body.soft-glass-theme .hero-slider,
body.soft-glass-theme .banner-grid,
body.soft-glass-theme .products-header {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(132, 161, 199, 0.3);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(17, 35, 64, 0.12);
  backdrop-filter: blur(8px);
}

body.soft-glass-theme .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 360px));
  justify-content: center;
  gap: 22px;
}

body.soft-glass-theme .homepage #home-banners {
  display: none;
}

body.soft-glass-theme .product-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.62) 0%, rgba(249, 252, 255, 0.44) 100%);
  border: 1px solid rgba(126, 156, 196, 0.34);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(16, 30, 58, 0.14);
  backdrop-filter: blur(8px);
}

body.soft-glass-theme .product-image {
  border-bottom: 1px solid rgba(130, 161, 201, 0.25);
}

body.soft-glass-theme .product-info h3,
body.soft-glass-theme .product-title-link {
  color: #10213a;
}

body.soft-glass-theme .profile-meta,
body.soft-glass-theme .product-info p {
  color: #4a607f;
}

body.soft-glass-theme .product-price {
  color: #0b1a2f;
}

body.soft-glass-theme .profile-specialty-chip,
body.soft-glass-theme .product-card-cta {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(132, 161, 199, 0.34);
  color: #15314f;
}

body.soft-glass-theme .product-card-cta.is-whatsapp {
  background: linear-gradient(135deg, rgba(20, 92, 199, 0.94), rgba(58, 118, 221, 0.94));
  border: 1px solid rgba(20, 92, 199, 0.6);
  color: #fff;
}

body.soft-glass-theme .product-card-cta.is-whatsapp:hover {
  filter: brightness(1.06);
}

.admin-page {
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(145, 197, 255, 0.34), transparent 60%),
    radial-gradient(850px 520px at 88% -6%, rgba(157, 224, 255, 0.28), transparent 58%),
    linear-gradient(180deg, #eaf2ff 0%, #e5eefb 100%);
}

.admin-page .admin-sidebar {
  background: rgba(12, 33, 64, 0.78);
  border-right: 1px solid rgba(140, 170, 209, 0.28);
  backdrop-filter: blur(14px);
}

.admin-page .admin-sidebar a {
  border-radius: 12px;
}

.admin-page .admin-topbar,
.admin-page .admin-panel-section,
.admin-page .admin-product-card,
.admin-page .admin-product-media-card {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(132, 161, 199, 0.32);
  box-shadow: 0 16px 40px rgba(14, 31, 58, 0.12);
  backdrop-filter: blur(12px);
}

.admin-page .admin-input,
.admin-page .admin-file,
.admin-page textarea {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(130, 160, 198, 0.4);
}

.admin-page .admin-primary-button {
  background: linear-gradient(135deg, #1f59ce, #3470e3);
  border-color: rgba(25, 78, 185, 0.85);
}

/* Masoz kartlari icin 1080x1350 (4:5) gorsel orani */
.product-image {
  aspect-ratio: 4 / 5 !important;
}

.product-image-link,
.product-main-image {
  width: 100%;
  height: 100%;
}

.product-main-image {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  body.soft-glass-theme .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  body.soft-glass-theme .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Fanatik-inspired menu shell */
.site-header.fanatik-menu {
  position: sticky;
  top: 0;
  z-index: 140;
  background: #f31625;
  border-bottom: 0;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.16);
  overflow: visible;
}

.site-header.fanatik-menu .container {
  width: min(1560px, 100% - 32px);
}

.site-header.fanatik-menu .header-top {
  min-height: 88px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header.fanatik-menu .brand {
  min-width: clamp(170px, 16vw, 255px);
  color: #fff;
  position: relative;
  z-index: 1;
}

.site-header.fanatik-menu .brand-mark {
  width: auto;
  min-width: clamp(150px, 15vw, 230px);
  height: 58px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: skew(-12deg);
  text-transform: uppercase;
}

.site-header.fanatik-menu .brand-mark.has-image {
  transform: none;
}

.site-header.fanatik-menu .brand-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.site-header.fanatik-menu .promo-bar-inline {
  flex: 1 1 auto;
  max-width: 520px;
  margin-left: auto;
  border-radius: 0;
  background: #fff;
  color: #ec1727;
  clip-path: polygon(10% 0, 92% 0, 100% 100%, 0 100%);
  box-shadow: none;
}

.site-header.fanatik-menu .promo-track {
  min-height: 88px;
  align-items: center;
}

.site-header.fanatik-menu .promo-marquee span {
  padding: 0 54px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.site-header.fanatik-menu .fanatik-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 4px;
  color: #fff;
}

.site-header.fanatik-menu .fanatik-action-button,
.site-header.fanatik-menu .fanatik-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.site-header.fanatik-menu .fanatik-action-button {
  width: 50px;
  padding: 0;
  border-radius: 12px;
  font-size: 0;
}

.site-header.fanatik-menu .fanatik-action-button::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 11px 11px 0 -8px currentColor;
  transform: rotate(-18deg);
}

.site-header.fanatik-menu .fanatik-login-button {
  background: rgba(255, 255, 255, 0.08);
}

.site-header.fanatik-menu .fanatik-action-button:hover,
.site-header.fanatik-menu .fanatik-login-button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.site-header.fanatik-menu .nav-row {
  width: 100%;
  padding: 0;
  background: linear-gradient(180deg, #424242 0%, #353535 100%);
}

.site-header.fanatik-menu .main-nav {
  min-height: 60px;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 20px;
  color: #f7f7f7;
  font-weight: 900;
  text-transform: uppercase;
}

.site-header.fanatik-menu .nav-links-window {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-header.fanatik-menu .nav-links-window::-webkit-scrollbar {
  display: none;
}

.site-header.fanatik-menu .nav-item {
  display: flex;
  align-items: stretch;
}

.site-header.fanatik-menu .nav-item > a {
  min-height: 60px;
  padding: 0 28px;
  color: #f6f6f6;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  position: relative;
}

.site-header.fanatik-menu .nav-item > a::after {
  content: '';
  display: block;
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: #f31625;
  opacity: 0.9;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-25deg);
}

.site-header.fanatik-menu .nav-item:first-child > a {
  color: #ff1d2d;
}

.site-header.fanatik-menu .nav-item:first-child > a::before {
  content: '';
  position: absolute;
  inset: 0 10px 0 -8px;
  background: rgba(0, 0, 0, 0.12);
  transform: skew(-24deg);
  z-index: -1;
}

.site-header.fanatik-menu .nav-item > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.fanatik-menu .nav-item-all {
  min-width: auto;
  position: relative;
}

.site-header.fanatik-menu .all-categories-link {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  background: #f31625;
  color: #fff;
}

.site-header.fanatik-menu .all-categories-icon span {
  background: #fff;
}

.site-header.fanatik-menu .dropdown-menu,
.site-header.fanatik-menu .dropdown-menu-all {
  top: calc(100% + 8px);
  border-radius: 0 0 14px 14px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(14, 20, 32, 0.22);
  color: #232323;
  text-transform: none;
}

@media (max-width: 1100px) {
  .site-header.fanatik-menu .promo-bar-inline {
    display: none;
  }

  .site-header.fanatik-menu .header-top {
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .site-header.fanatik-menu {
    position: sticky;
  }

  .site-header.fanatik-menu .header-top {
    min-height: 72px;
    gap: 12px;
  }

  .site-header.fanatik-menu .menu-button {
    display: inline-flex;
    order: 3;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .site-header.fanatik-menu .menu-icon,
  .site-header.fanatik-menu .menu-icon text {
    fill: #fff;
    stroke: #fff;
  }

  .site-header.fanatik-menu .brand {
    min-width: 130px;
  }

  .site-header.fanatik-menu .brand-mark {
    min-width: 130px;
    height: 48px;
    font-size: 1.85rem;
  }

  .site-header.fanatik-menu .fanatik-header-actions {
    margin-left: auto;
  }

  .site-header.fanatik-menu .fanatik-login-button {
    display: none;
  }

  .site-header.fanatik-menu .nav-row {
    background: #353535;
  }

  .site-header.fanatik-menu .main-nav {
    display: none;
    min-height: auto;
    padding: 10px 16px 16px;
  }

  .site-header.fanatik-menu .main-nav.is-open {
    display: block;
  }

  .site-header.fanatik-menu .nav-links-window {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .site-header.fanatik-menu .nav-item > a {
    min-height: 46px;
    width: 100%;
    padding: 0 14px;
  }

  .site-header.fanatik-menu .nav-item > a::after {
    display: none;
  }

  .site-header.fanatik-menu .nav-item-all {
    margin-bottom: 8px;
  }
}

/* Fanatik exact pass: full-width ticker + clean red menu */
.site-header.fanatik-menu {
  background: #f31625;
  box-shadow: 0 8px 22px rgba(12, 12, 12, 0.18);
}

.site-header.fanatik-menu .fanatik-header-actions,
.site-header.fanatik-menu .fanatik-action-button,
.site-header.fanatik-menu .fanatik-login-button {
  display: none !important;
}

.site-header.fanatik-menu .promo-bar-inline {
  display: block !important;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  clip-path: none;
  background: #2f2f2f;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.fanatik-menu .promo-track {
  min-height: 38px;
  align-items: center;
}

.site-header.fanatik-menu .promo-marquee {
  animation-duration: 22s;
}

.site-header.fanatik-menu .promo-marquee span {
  padding: 0 48px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header.fanatik-menu .header-top {
  position: absolute;
  left: 0;
  right: 0;
  min-height: 0;
  height: 0;
  padding: 0;
  z-index: 3;
  pointer-events: none;
}

.site-header.fanatik-menu .header-top .brand,
.site-header.fanatik-menu .header-top .menu-button {
  pointer-events: auto;
}

.site-header.fanatik-menu .brand {
  position: absolute;
  top: 0;
  left: max(16px, calc((100vw - 1560px) / 2 + 16px));
  min-width: 230px;
  height: 76px;
  display: inline-flex;
  align-items: center;
}

.site-header.fanatik-menu .brand-mark {
  min-width: 220px;
  height: 64px;
  color: #fff;
  font-size: clamp(2.35rem, 3.2vw, 3.65rem);
  line-height: 1;
  letter-spacing: -0.1em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.site-header.fanatik-menu .brand-logo-image {
  filter: brightness(0) invert(1);
}

.site-header.fanatik-menu .nav-row {
  background: #f31625;
  border: 0;
  box-shadow: none;
}

.site-header.fanatik-menu .main-nav {
  min-height: 76px;
  max-width: 1560px;
  padding: 0 18px 0 270px;
  gap: 0;
  background: transparent;
  color: #fff;
}

.site-header.fanatik-menu .nav-links-window {
  height: 76px;
  align-items: center;
}

.site-header.fanatik-menu .nav-item > a {
  min-height: 76px;
  padding: 0 22px;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 900;
}

.site-header.fanatik-menu .nav-item > a::after {
  background: rgba(255, 255, 255, 0.3);
  height: 20px;
}

.site-header.fanatik-menu .nav-item:first-child > a {
  color: #fff;
  padding-left: 34px;
  padding-right: 36px;
  z-index: 1;
}

.site-header.fanatik-menu .nav-item:first-child > a::before {
  inset: 0 8px 0 -8px;
  background: #b81d29;
  transform: skew(-28deg);
}

.site-header.fanatik-menu .nav-item > a:hover {
  background: rgba(0, 0, 0, 0.12);
}

.site-header.fanatik-menu .nav-item-all {
  order: 50;
  margin-left: auto;
}

.site-header.fanatik-menu .all-categories-link {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.fanatik-menu .dropdown-menu,
.site-header.fanatik-menu .dropdown-menu-all {
  top: calc(100% + 0px);
  border-radius: 0 0 12px 12px;
}

@media (max-width: 1200px) {
  .site-header.fanatik-menu .brand {
    min-width: 190px;
  }

  .site-header.fanatik-menu .brand-mark {
    min-width: 180px;
    font-size: 2.45rem;
  }

  .site-header.fanatik-menu .main-nav {
    padding-left: 220px;
  }

  .site-header.fanatik-menu .nav-item > a {
    padding: 0 16px;
    font-size: 0.96rem;
  }
}

@media (max-width: 900px) {
  .site-header.fanatik-menu .promo-track {
    min-height: 34px;
  }

  .site-header.fanatik-menu .promo-marquee span {
    padding: 0 28px;
    font-size: 0.82rem;
  }

  .site-header.fanatik-menu .header-top {
    position: relative;
    height: 66px;
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    background: #f31625;
    padding: 0 14px;
  }

  .site-header.fanatik-menu .brand {
    position: static;
    min-width: 150px;
    height: 66px;
  }

  .site-header.fanatik-menu .brand-mark {
    min-width: 150px;
    height: 52px;
    font-size: 2rem;
  }

  .site-header.fanatik-menu .menu-button {
    position: static;
    display: inline-flex;
    margin-left: auto;
  }

  .site-header.fanatik-menu .nav-row {
    background: #3a3a3a;
  }

  .site-header.fanatik-menu .main-nav {
    min-height: auto;
    padding: 10px 14px 16px;
  }

  .site-header.fanatik-menu .nav-links-window {
    height: auto;
  }

  .site-header.fanatik-menu .nav-item > a,
  .site-header.fanatik-menu .nav-item:first-child > a {
    min-height: 46px;
    padding: 0 14px;
  }

  .site-header.fanatik-menu .nav-item:first-child > a::before {
    display: none;
  }

  .site-header.fanatik-menu .nav-item-all {
    order: -1;
    margin-left: 0;
  }
}

/* Fanatik-inspired listing cards */
.products-grid {
  gap: 22px;
  align-items: start;
}

.product-card {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #d2d2d2 !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.10) !important;
}

.product-image {
  aspect-ratio: 16 / 9 !important;
  border-bottom: 4px solid #f31625;
  background: #d9d9d9;
}

.product-image::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 100%);
  opacity: 0.72;
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.product-card:hover .product-main-image {
  transform: scale(1.045);
}

.product-corner-badge {
  top: 12px;
  right: 12px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  background: #f31625;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.20);
}

.product-info {
  padding: 13px 14px 15px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-info::before {
  content: 'PROFIL';
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  background: #f31625;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.product-info h3 {
  margin: 0 !important;
  font-size: clamp(1.05rem, 1.2vw, 1.22rem) !important;
  line-height: 1.14 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em;
  color: #191919;
}

.product-title-link {
  color: #191919 !important;
  text-decoration: none;
}

.product-title-link:hover {
  color: #f31625 !important;
}

.profile-top {
  margin: 0 !important;
  padding-top: 2px;
}

.profile-rating,
.profile-verified,
.profile-meta,
.product-code,
.product-mobile-meta,
.product-info p {
  font-family: Arial, Helvetica, sans-serif;
}

.profile-meta {
  margin: 0 !important;
  color: #606060 !important;
  font-size: 0.84rem !important;
  line-height: 1.35 !important;
  font-weight: 700;
}

.profile-location {
  color: #343434;
}

.profile-sep {
  color: #b9b9b9;
}

.profile-specialties {
  gap: 6px !important;
  margin: 0 !important;
}

.profile-specialty-chip {
  min-height: 24px !important;
  padding: 0 7px !important;
  border-radius: 0 !important;
  border: 1px solid #e1e1e1 !important;
  background: #f5f5f5 !important;
  color: #444 !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
}

.product-code,
.product-mobile-meta {
  margin: 0 !important;
  color: #777 !important;
  font-size: 0.78rem !important;
  font-weight: 700;
}

.product-price {
  margin: 2px 0 0 !important;
  color: #f31625 !important;
  font-size: 1.18rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

.product-card-cta {
  margin-top: 4px !important;
  min-height: 40px;
  border-radius: 0 !important;
  border: 0 !important;
  background: #f31625 !important;
  color: #fff !important;
  font-size: 0.88rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.product-card-cta:hover {
  background: #c91522 !important;
  color: #fff !important;
}

.product-card-cta.is-whatsapp {
  background: #202020 !important;
}

.product-card-cta.is-whatsapp:hover {
  background: #f31625 !important;
}

.product-thumbs,
.product-hover-meta,
.product-zoom-button {
  border-radius: 0 !important;
}

.products-header {
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 0 !important;
  border: 1px solid #e2e2e2 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.products-header h1 {
  color: #202020;
  font-weight: 900;
  letter-spacing: -0.04em;
}

@media (max-width: 760px) {
  .products-grid {
    gap: 16px;
  }

  .product-info {
    padding: 12px !important;
  }

  .product-info h3 {
    font-size: 1.04rem !important;
  }
}

/* SEO product detail page */
.product-detail-page {
  padding-top: 28px;
  padding-bottom: 34px;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
  background: #fff;
  border: 1px solid #e1e1e1;
  padding: 18px;
}

.product-detail-media {
  display: grid;
  gap: 12px;
}

.product-detail-main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 5px solid #f31625;
  background: #e5e5e5;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-detail-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #ececec;
}

.product-detail-content {
  font-family: Arial, Helvetica, sans-serif;
  padding: 8px 8px 12px;
}

.product-detail-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  margin: 0 0 12px;
  background: #f31625;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-detail-content h1,
.product-detail-empty h1 {
  margin: 0 0 18px;
  color: #181818;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.product-detail-description {
  color: #252525;
  font-size: 1.05rem;
  line-height: 1.72;
}

.product-detail-description h2,
.product-detail-description h3,
.product-detail-description h4 {
  margin: 24px 0 10px;
  color: #161616;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.product-detail-description p,
.product-detail-description ul,
.product-detail-description ol,
.product-detail-description blockquote {
  margin: 0 0 16px;
}

.product-detail-description a {
  color: #f31625;
  font-weight: 800;
  text-decoration: underline;
}

.product-detail-description blockquote {
  border-left: 4px solid #f31625;
  padding-left: 16px;
  color: #4a4a4a;
  font-weight: 700;
}

.product-detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 22px;
  background: #f31625;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-detail-cta:hover {
  background: #c91522;
}

.product-detail-empty {
  background: #fff;
  border: 1px solid #e1e1e1;
  padding: 28px;
}

@media (max-width: 900px) {
  .product-detail-shell {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .product-detail-content h1,
  .product-detail-empty h1 {
    font-size: clamp(1.8rem, 12vw, 3rem);
  }
}

/* Content management public pages */
.content-detail-page {
  padding-top: 28px;
  padding-bottom: 34px;
}

.content-detail-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 42px);
  background: #fff;
  border: 1px solid #e1e1e1;
  font-family: Arial, Helvetica, sans-serif;
}

.content-detail-shell h1 {
  margin: 0 0 20px;
  color: #181818;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.content-list-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.content-list-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid #e4e4e4;
  background: #fafafa;
}

.content-list-card strong {
  color: #171717;
  font-size: 1.15rem;
  font-weight: 900;
}

.content-list-card span {
  color: #5d5d5d;
  line-height: 1.55;
}

.content-list-card:hover {
  border-color: #f31625;
}

/* Category homepage banners - 2026-05-04 */
.banner-grid .category-banner-card.is-horizontal {
  grid-column: 1 / -1;
}

.banner-grid .category-banner-card.is-horizontal .banner-image-wrap {
  aspect-ratio: 16 / 5;
}

.banner-grid .category-banner-card.is-vertical .banner-image-wrap {
  aspect-ratio: 3 / 4;
}

.category-banner-card .banner-title {
  color: #111827;
  letter-spacing: 0.01em;
}

body.soft-glass-theme .homepage #home-banners {
  display: grid;
}

@media (max-width: 720px) {
  .banner-grid .category-banner-card.is-horizontal .banner-image-wrap {
    aspect-ratio: 16 / 7;
  }
}

/* Category page-specific media - 2026-05-04 */
.category-page-media {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
}

.category-page-banners {
  display: grid;
  gap: 14px;
}

.category-page-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.category-page-slide,
.category-page-banner {
  overflow: hidden;
  border-radius: 18px;
  background: #111827;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.category-page-slide {
  aspect-ratio: 16 / 5;
  scroll-snap-align: start;
}

.category-page-banner {
  aspect-ratio: 16 / 4.5;
}

.category-page-slide img,
.category-page-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
  .category-page-slider {
    grid-auto-columns: 92%;
  }

  .category-page-slide,
  .category-page-banner {
    aspect-ratio: 16 / 7;
    border-radius: 14px;
  }
}

.category-footer-content {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #dedede;
  border-radius: 16px;
  background: #ffffff;
  color: #252525;
  line-height: 1.72;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.category-footer-content h2,
.category-footer-content h3,
.category-footer-content h4 {
  margin: 0 0 12px;
  color: #111111;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.category-footer-content p,
.category-footer-content ul,
.category-footer-content ol,
.category-footer-content blockquote {
  margin: 0 0 14px;
}

.category-footer-content a {
  color: #ef1a26;
  font-weight: 800;
}

.site-footer-custom {
  padding: 34px 0;
}

.footer-custom-content {
  color: inherit;
  line-height: 1.7;
}

.footer-custom-content h2,
.footer-custom-content h3,
.footer-custom-content h4 {
  margin: 0 0 12px;
  color: inherit;
  font-weight: 900;
}

.footer-custom-content p,
.footer-custom-content ul,
.footer-custom-content ol,
.footer-custom-content blockquote {
  margin: 0 0 14px;
}

.footer-custom-content a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.opening-ad-visible,
.opening-ad-visible body {
  overflow: hidden;
}

.opening-ad-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.opening-ad-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(2px);
}

.opening-ad-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 520px);
  max-height: min(88vh, 780px);
  border-radius: 14px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.opening-ad-dialog img {
  display: block;
  width: 100%;
  max-height: min(88vh, 780px);
  object-fit: contain;
  background: #111827;
}

.opening-ad-link {
  display: block;
}

.opening-ad-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.9);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.site-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 8px;
}

.pagination-button,
.pagination-ellipsis {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #161616;
  font-weight: 900;
  text-decoration: none;
}

.pagination-button.is-active {
  border-color: #ef1a26;
  background: #ef1a26;
  color: #ffffff;
}

.pagination-button.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pagination-ellipsis {
  border-color: transparent;
  background: transparent;
}

@media (max-width: 720px) {
  .opening-ad-modal {
    padding: 14px;
  }

  .opening-ad-dialog {
    width: min(94vw, 420px);
  }
}

/* UI/UX cleanup pass - 2026-05-04 */
.site-header.fanatik-menu {
  isolation: isolate;
}

.site-header.fanatik-menu .nav-links-window {
  scroll-behavior: smooth;
}

.site-header.fanatik-menu .nav-item > a {
  white-space: nowrap;
}

.site-header.fanatik-menu .dropdown-menu,
.site-header.fanatik-menu .dropdown-menu-all {
  max-height: min(68vh, 620px);
  overflow-y: auto;
}

.products-header {
  margin-bottom: 22px;
  padding: clamp(18px, 2.5vw, 28px) !important;
}

.products-header p {
  color: #575757;
  font-weight: 800;
}

.products-header strong {
  color: #f31625;
}

.product-card {
  min-height: 100%;
}

.product-image {
  overflow: hidden;
}

.product-main-image {
  display: block;
}

.content-category-page {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: 44px;
}

.content-category-shell {
  max-width: 1180px;
  border-radius: 0;
}

.content-category-shell .product-detail-description {
  max-width: 820px;
}

.content-category-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-top: 20px;
  padding: 0 12px;
  background: #f31625;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.content-category-count strong {
  font-size: 1.08rem;
}

.content-list-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.content-list-card {
  position: relative;
  min-height: 138px;
  padding: 18px 18px 48px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.content-list-card::after {
  content: 'OKU';
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #f31625;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.content-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.content-empty-state {
  margin-top: 16px;
  padding: 22px;
  border: 1px dashed #d7d7d7;
  background: #fafafa;
  color: #555;
  font-weight: 800;
}

.category-page-slider,
.category-page-banners {
  margin-top: 18px;
}

.category-page-slide,
.category-page-banner {
  border-radius: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.site-pagination {
  padding-top: 6px;
}

.pagination-button {
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.pagination-button:hover {
  border-color: #f31625;
  color: #f31625;
  transform: translateY(-1px);
}

.pagination-button.is-active:hover {
  color: #fff;
}

.admin-sidebar {
  max-height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.admin-content {
  max-width: 1500px;
  width: 100%;
}

.admin-topbar {
  position: relative;
  overflow: hidden;
}

.admin-topbar::after {
  content: '';
  position: absolute;
  inset: auto 24px 0 auto;
  width: 160px;
  height: 5px;
  background: linear-gradient(90deg, #f31625, #ffb300);
}

.admin-card,
.admin-table-wrap,
.admin-nav-card {
  box-shadow: 0 10px 26px rgba(25, 46, 86, 0.05);
}

.admin-input:focus,
.admin-textarea:focus {
  border-color: #f31625;
  box-shadow: 0 0 0 3px rgba(243, 22, 37, 0.12);
  outline: none;
}

.admin-primary-button {
  background: #f31625;
}

.admin-primary-button:hover,
.admin-icon-button:hover,
.admin-secondary-button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.admin-primary-button,
.admin-icon-button,
.admin-secondary-button,
.admin-danger-button {
  transition: filter 0.16s ease, transform 0.16s ease;
}

.tox-tinymce {
  border-radius: 14px !important;
  border-color: #d4dceb !important;
}

@media (max-width: 760px) {
  .products-header {
    margin-bottom: 16px;
  }

  .content-detail-shell h1 {
    letter-spacing: -0.045em;
  }

  .content-list-grid {
    grid-template-columns: 1fr;
  }

  .site-pagination {
    justify-content: flex-start;
  }

  .pagination-button,
  .pagination-ellipsis {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
  }
}

/* Filled-site visual tuning - 2026-05-04 */
.site-header.fanatik-menu {
  position: sticky !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
}

.homepage {
  padding-top: 12px;
}

.hero-track {
  aspect-ratio: 16 / 4.2 !important;
  min-height: clamp(220px, 24vw, 420px) !important;
  max-height: 430px !important;
  border-radius: 0 !important;
}

.hero-slide,
.hero-slide.is-full-bleed,
.hero-slide.is-contained {
  border-radius: 0 !important;
}

.hero-slide.is-full-bleed .hero-banner-image,
.hero-slide.is-contained .hero-banner-image {
  object-fit: fill !important;
}

.slider-control {
  width: 52px;
  height: 52px;
}

.banner-grid {
  gap: 16px !important;
  margin-top: 18px;
}

.banner-card {
  position: relative;
  border-radius: 0 !important;
  overflow: hidden;
  background: #111827;
}

.banner-card .banner-image-wrap {
  aspect-ratio: 16 / 5.2 !important;
}

.banner-card .banner-image-wrap img {
  object-fit: fill !important;
}

.banner-card .banner-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 36px);
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  background: #f31625;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.banner-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.product-card .product-main-image {
  object-fit: fill !important;
  object-position: center;
}

.product-info::before {
  content: 'PROFİL';
}

.product-price:empty,
.product-price:has(> span:empty) {
  display: none;
}

.loading-indicator {
  min-height: 52px;
  margin-top: 18px;
  border-top: 1px solid #dedede;
}

.home-empty-state {
  max-width: 920px;
  margin: 18px auto;
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  border: 1px solid #dedede;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.home-empty-state span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  background: #f31625;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-empty-state h1 {
  margin: 18px 0 10px;
  color: #181818;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.home-empty-state p {
  max-width: 620px;
  margin: 0 auto 22px;
  color: #555;
  line-height: 1.65;
}

.home-empty-state a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #202020;
  color: #fff;
  font-weight: 900;
}

@media (max-width: 760px) {
  .hero-track {
    aspect-ratio: 16 / 7 !important;
    min-height: 220px !important;
  }

  .banner-grid {
    grid-template-columns: 1fr !important;
  }

  .banner-card .banner-image-wrap {
    aspect-ratio: 16 / 7 !important;
  }
}

/* Category-first menu polish - 2026-05-04 */
.site-header.fanatik-menu .nav-row {
  overflow: visible !important;
}

.site-header.fanatik-menu .main-nav {
  overflow: visible !important;
}

.site-header.fanatik-menu .nav-links-window {
  gap: 0 !important;
  overflow: visible !important;
}

.site-header.fanatik-menu .nav-item > a,
.site-header.fanatik-menu .nav-section-label {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-header.fanatik-menu .nav-item-masoz-category > a {
  color: #fff !important;
}

.site-header.fanatik-menu .nav-item-content-category > a {
  color: #ffe9ea !important;
}

.site-header.fanatik-menu .nav-section-label {
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #252525 !important;
  background: #fff;
  transform: skew(-22deg);
  margin: 0 10px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
}

.site-header.fanatik-menu .nav-section-label::first-letter {
  color: inherit;
}

.site-header.fanatik-menu .dropdown-menu,
.site-header.fanatik-menu .dropdown-menu-all {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 0 16px 16px !important;
  box-shadow: 0 24px 54px rgba(16, 24, 40, 0.2) !important;
  padding: 18px !important;
}

.site-header.fanatik-menu .dropdown-menu a,
.site-header.fanatik-menu .dropdown-menu-all a {
  color: #263241 !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

.site-header.fanatik-menu .dropdown-menu a:hover,
.site-header.fanatik-menu .dropdown-menu-all a:hover {
  color: #f31625 !important;
}

.site-header.fanatik-menu .dropdown-group-title {
  color: #f31625 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

.site-header.fanatik-menu .dropdown-group-content .dropdown-group-title {
  color: #222 !important;
}

.site-header.fanatik-menu .nav-item-all {
  flex: 0 0 auto;
}

.site-header.fanatik-menu .all-categories-link {
  background: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 900px) {
  .site-header.fanatik-menu .nav-section-label {
    min-height: 34px;
    width: 100%;
    margin: 8px 0 4px;
    padding: 0 14px;
    transform: none;
    border-radius: 8px;
    font-size: 0.82rem;
  }

  .site-header.fanatik-menu .nav-item > a,
  .site-header.fanatik-menu .nav-item:first-child > a {
    color: #fff !important;
    border-radius: 8px;
  }
}
