/* MotoLand — Pitstop Moto inspired design system */
:root {
  --ps-red: #ed1f27;
  --ps-red-dark: #c41920;
  --ps-black: #1a1a1a;
  --ps-nav: #0d0d0d;
  --ps-text: #212529;
  --ps-muted: #6c757d;
  --ps-border: #e5e5e5;
  --ps-bg: #ffffff;
  --ps-bg-soft: #f5f5f5;
  --ps-search: #4a4a4a;
  --font: 'BPG Nostalgia', 'Noto Sans Georgian', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'BPG WEB 002 Caps', 'Noto Sans Georgian', 'Segoe UI', system-ui, sans-serif;
  --font-card: 'BPG WEB 001', 'Noto Sans Georgian', 'Segoe UI', system-ui, sans-serif;
  --font-hero: 'BPG WEB 002', 'Noto Sans Georgian', 'Segoe UI', system-ui, sans-serif;
  --container: 1320px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ps-bg);
  color: var(--ps-text);
  line-height: 1.5;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }

img { max-width: 100%; height: auto; display: block; }

.header-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.accent { color: var(--ps-red); }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ps-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-top {
  border-bottom: 1px solid var(--ps-border);
  font-size: 13px;
}

.header-top .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
}

.header-top-left,
.header-top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-top-right a {
  color: var(--ps-text);
  font-weight: 500;
}

.header-top-right a:hover { color: var(--ps-red); }

.social-link {
  color: var(--ps-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.social-link:hover { color: var(--ps-red); }

.header-main {
  padding: 14px 0;
}

.header-main .header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.site-logo {
  font-weight: 800;
  font-size: 1.65rem;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.site-logo-img {
  max-height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.top-bar-promo {
  font-size: 12px;
  color: var(--ps-muted);
  margin-right: 1rem;
}

.logo-pit { color: var(--ps-red); }
.logo-stop { color: var(--ps-black); }

.header-search {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.header-search input {
  width: 100%;
  background: var(--ps-search);
  border: none;
  border-radius: 50px;
  padding: 12px 48px 12px 22px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font);
}

.header-search input::placeholder { color: rgba(255,255,255,0.65); }

.header-search input:focus {
  outline: 2px solid var(--ps-red);
  outline-offset: 2px;
}

.header-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon-square {
  width: 42px;
  height: 42px;
  background: var(--ps-nav);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.btn-cart-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ps-nav);
  color: #fff;
  padding: 8px 16px 8px 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
}

.btn-cart-pill:hover { background: #333; color: #fff; }

.cart-count {
  background: var(--ps-red);
  color: #fff;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-btn {
  grid-column: 3;
  justify-self: end;
  background: var(--ps-nav);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

.header-nav {
  background: var(--ps-nav);
  position: relative;
}

.header-nav-wrap {
  position: static;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}

.nav-menu > li {
  position: static;
}

.nav-link-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-link-top:hover,
.nav-item-mega.is-open > .nav-link-top {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-link-top.has-chevron .nav-chevron {
  font-size: 9px;
  color: var(--ps-red);
  transition: transform var(--transition);
}

.nav-item-mega.is-open .nav-chevron { transform: rotate(180deg); }

.nav-menu .nav-sale { color: var(--ps-red) !important; }

.nav-menu .nav-sale:hover {
  background: rgba(237, 31, 39, 0.15);
}

/* Mega dropdown panel */
.mega-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 3px solid var(--ps-red);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1100;
  pointer-events: none;
}

.nav-item-mega.is-open .mega-dropdown,
.nav-item-mega:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-dropdown-inner {
  padding: 1.5rem 20px 1.75rem;
}

.mega-dropdown-head {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ps-border);
}

.mega-view-all {
  font-weight: 700;
  font-size: 14px;
  color: var(--ps-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mega-view-all:hover { color: var(--ps-red-dark); }

.mega-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem 2rem;
}

.mega-column-title {
  margin: 0 0 0.65rem;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mega-column-title a {
  color: var(--ps-black);
}

.mega-column-title a:hover { color: var(--ps-red); }

.mega-column-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-column-links li { margin-bottom: 0.35rem; }

.mega-column-links a {
  font-size: 14px;
  color: var(--ps-muted);
  display: block;
  padding: 2px 0;
}

.mega-column-links a:hover {
  color: var(--ps-red);
  padding-left: 4px;
}

.mega-column-desc {
  font-size: 13px;
  color: var(--ps-muted);
  margin: 0 0 0.5rem;
}

.mega-column-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--ps-red);
  margin-top: 0.5rem;
  display: inline-block;
}

.mega-dropdown-brands .mega-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem 1rem;
}

.mega-brand-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ps-text);
  padding: 8px 10px;
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  text-align: center;
  transition: border-color var(--transition), color var(--transition);
}

.mega-brand-link:hover {
  border-color: var(--ps-red);
  color: var(--ps-red);
}

.mega-view-all-bottom {
  display: inline-flex;
  margin-top: 1.25rem;
}

/* Mobile mega accordion */
@media (max-width: 991px) {
  .header-main .header-container {
    grid-template-columns: auto 1fr auto;
  }
  .header-search { display: none; }
  .header-nav.collapse:not(.show) { display: none; }
  .nav-menu { flex-direction: column; align-items: stretch; }
  .nav-link-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: space-between;
  }
  .nav-item-mega { position: relative; }
  .mega-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: #1a1a1a;
    display: none;
    pointer-events: auto;
  }
  .nav-item-mega.is-open .mega-dropdown { display: block; }
  .nav-item-mega:hover .mega-dropdown { transform: none; }
  .mega-dropdown-inner { padding: 1rem 1.25rem 1.25rem; }
  .mega-column-title a,
  .mega-column-links a,
  .mega-view-all { color: rgba(255, 255, 255, 0.9); }
  .mega-column-links a { color: rgba(255, 255, 255, 0.65); }
  .mega-column-links a:hover { color: var(--ps-red); }
  .mega-brand-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
  }
  .mega-dropdown-head { border-color: rgba(255, 255, 255, 0.1); }
  .mega-columns { grid-template-columns: 1fr; gap: 1rem; }
}

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--ps-bg-soft);
}

.hero-slides {
  position: relative;
  height: clamp(320px, 45vw, 520px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center right;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 45%, transparent 70%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-slide-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--ps-black);
  max-width: 520px;
}

.hero-slide-content h1 .line-red {
  display: block;
  color: var(--ps-red);
  font-style: italic;
}

.hero-slide-content p {
  color: var(--ps-muted);
  max-width: 420px;
  margin-bottom: 1.5rem;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ps-red);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active { background: var(--ps-red); }

/* ========== BRANDS STRIP ========== */
.brands-strip {
  background: var(--ps-bg);
  border-bottom: 1px solid var(--ps-border);
  padding: 12px 0;
  overflow: hidden;
}

.brands-strip-inner {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.brands-strip-inner::-webkit-scrollbar { display: none; }

.brand-chip {
  flex: 0 0 auto;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ps-muted);
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}

.brand-chip:hover {
  border-color: var(--ps-red);
  color: var(--ps-red);
}

/* ========== PRODUCT TABS (homepage) ========== */
.product-tabs-section {
  padding: 2.5rem 0 3rem;
}

.product-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 2px solid var(--ps-border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.product-tabs-nav button {
  background: none;
  border: none;
  padding: 12px 28px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--ps-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.product-tabs-nav button.active,
.product-tabs-nav button:hover {
  color: var(--ps-red);
}

.product-tabs-nav button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ps-red);
}

.product-tab-pane { display: none; }
.product-tab-pane.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 3rem 0;
}

.section-alt { background: var(--ps-bg-soft); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--ps-black);
}

.section-header a {
  color: var(--ps-red);
  font-weight: 600;
  font-size: 14px;
}

.section-header a:hover { text-decoration: underline; }

/* ========== PRODUCT GRID ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--ps-bg);
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  text-align: center;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.product-card-image {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: #fafafa;
  padding: 1rem;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img { transform: scale(1.04); }

.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ps-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
}

.product-card-body { padding: 1rem 1rem 1.25rem; }

.product-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  min-height: 2.7em;
}

.product-title a:hover { color: var(--ps-red); }

.product-price {
  margin-bottom: 0.75rem;
}

.price-current {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ps-black);
}

.price-old {
  text-decoration: line-through;
  color: var(--ps-muted);
  font-size: 0.9rem;
  margin-right: 6px;
}

.btn-add-cart-card {
  width: 100%;
  background: var(--ps-nav);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-add-cart-card:hover { background: var(--ps-red); }

/* ========== CATEGORIES ========== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--ps-bg);
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  border-color: var(--ps-red);
  box-shadow: 0 4px 16px rgba(237, 31, 39, 0.12);
}

.category-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }

.category-card-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
}

.category-card strong { font-size: 14px; display: block; }

.brand-chip.has-logo {
  padding: 8px 16px;
  min-width: 100px;
}

.brand-chip.has-logo img {
  max-height: 28px;
  width: auto;
  margin: 0 auto;
}

.footer-about {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--ps-red);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.65rem 1.5rem;
  font-family: var(--font);
  transition: background var(--transition);
}

.btn-primary:hover {
  background: var(--ps-red-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ps-black);
  color: var(--ps-black);
  border-radius: 4px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-family: var(--font);
}

.btn-outline:hover {
  border-color: var(--ps-red);
  color: var(--ps-red);
}

/* ========== SHOP PAGE ========== */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding: 2rem 0 3rem;
}

@media (max-width: 991px) {
  .shop-layout { grid-template-columns: 1fr; }
}

.filters-panel {
  background: var(--ps-bg);
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  padding: 1.25rem;
  height: fit-content;
  position: sticky;
  top: 160px;
}

.filters-panel h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ps-red);
  color: var(--ps-black);
}

.filter-group { margin-bottom: 1rem; }

.filter-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.filter-group select,
.filter-group input {
  width: 100%;
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
  font-family: var(--font);
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.shop-toolbar .search-form {
  position: relative;
  flex: 1;
  max-width: 360px;
}

.shop-toolbar .search-form input {
  width: 100%;
  border: 1px solid var(--ps-border);
  border-radius: 50px;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
}

.shop-toolbar .search-form button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--ps-muted);
  cursor: pointer;
}

.results-count { color: var(--ps-muted); font-size: 14px; }

/* ========== PRODUCT DETAIL ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0 3rem;
}

@media (max-width: 991px) {
  .product-detail { grid-template-columns: 1fr; }
}

.gallery-main {
  aspect-ratio: 1;
  background: #fafafa;
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.gallery-thumbs button {
  width: 72px;
  height: 72px;
  border: 2px solid var(--ps-border);
  border-radius: 4px;
  overflow: hidden;
  padding: 4px;
  cursor: pointer;
  background: #fff;
}

.gallery-thumbs button.active,
.gallery-thumbs button:hover { border-color: var(--ps-red); }

.product-info h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.product-info .price-block {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ps-red);
  margin: 1rem 0;
}

.stock-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
}

.stock-badge.in { background: #d4edda; color: #155724; }
.stock-badge.low { background: #fff3cd; color: #856404; }
.stock-badge.out { background: #f8d7da; color: #721c24; }

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  margin: 1rem 0;
}

.qty-selector button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--ps-bg-soft);
  cursor: pointer;
  font-size: 1.2rem;
}

.qty-selector input {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--ps-border);
  border-right: 1px solid var(--ps-border);
  font-family: var(--font);
}

/* ========== CART & CHECKOUT ========== */
.cart-page, .checkout-grid { padding: 2rem 0 3rem; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ps-bg);
  border: 1px solid var(--ps-border);
}

.cart-table th,
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--ps-border);
  text-align: left;
}

.cart-table th {
  background: var(--ps-bg-soft);
  font-size: 13px;
  text-transform: uppercase;
}

.cart-item-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item-product img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid var(--ps-border);
}

.cart-summary, .form-card {
  background: var(--ps-bg);
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  padding: 1.5rem;
  position: sticky;
  top: 160px;
}

.cart-summary .row-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.cart-summary .total {
  font-weight: 700;
  font-size: 1.15rem;
  border-top: 2px solid var(--ps-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

@media (max-width: 991px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font);
}

.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid var(--ps-red);
  outline-offset: 0;
  border-color: var(--ps-red);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  cursor: pointer;
  margin: 0;
}

.payment-option:has(input:checked) {
  border-color: var(--ps-red);
  background: rgba(237, 31, 39, 0.04);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.5rem;
}

.lang-switcher a.active {
  color: var(--ps-red);
  font-weight: 700;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ps-nav);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 0;
  margin-top: 2rem;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li { margin-bottom: 0.5rem; }

.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--ps-red); }

.footer-contact i {
  width: 20px;
  color: var(--ps-red);
  margin-right: 6px;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social span { font-size: 13px; }

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-social a:hover { background: var(--ps-red); color: #fff; }

.footer-bottom {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ========== MISC ========== */
.breadcrumb-bar {
  background: var(--ps-bg-soft);
  padding: 10px 0;
  font-size: 13px;
  color: var(--ps-muted);
}

.breadcrumb-bar a:hover { color: var(--ps-red); }

/* ========== CMS INFO PAGES ========== */
.cms-page {
  padding: 2rem 0 4rem;
}

.cms-page__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.cms-page__content {
  max-width: 48rem;
  line-height: 1.75;
  color: var(--ps-text);
}

.cms-page__content p {
  margin-bottom: 1rem;
}

.cms-page__content ul,
.cms-page__content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.cms-page__content li {
  margin-bottom: 0.35rem;
}

.cms-page__content h2,
.cms-page__content h3 {
  margin: 1.75rem 0 0.75rem;
  font-weight: 700;
}

.cms-page__content a {
  color: var(--ps-red);
  text-decoration: underline;
}

.cms-page__empty {
  padding: 3rem 0;
  text-align: center;
  color: var(--ps-muted);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast-msg {
  background: var(--ps-nav);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  border-left: 4px solid var(--ps-red);
  margin-top: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2rem;
}

.pagination-wrap a,
.pagination-wrap span {
  padding: 8px 14px;
  border: 1px solid var(--ps-border);
  border-radius: 4px;
  color: var(--ps-text);
  font-size: 14px;
}

.pagination-wrap a:hover,
.pagination-wrap .active {
  background: var(--ps-red);
  border-color: var(--ps-red);
  color: #fff;
}

.success-page {
  text-align: center;
  padding: 4rem 0;
}

.success-icon {
  font-size: 4rem;
  color: #28a745;
}

.alert { border-radius: 4px; }

.container { max-width: var(--container); }

.product-description-block {
  border-top: 1px solid var(--ps-border);
  padding-top: 1.5rem;
}

/* ========================================================== */
/* DESIGN REFINEMENTS — mobile-first polish & a11y (2026-06)  */
/* (colors unchanged — client palette preserved)             */
/* ========================================================== */

/* Slightly larger base readability */
.product-title { font-size: 14.5px; line-height: 1.4; }

/* Hero paragraph contrast bump (was --ps-muted, borderline) */
.hero-slide-content p { color: #3a3a3a; }

/* Accessibility: visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.product-card a:focus-visible,
.category-card:focus-visible {
  outline: 2px solid var(--ps-red);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Smoother hero readability on wide gradient */
.hero-slide-content h1 { text-shadow: 0 1px 0 rgba(255,255,255,0.4); }

/* ---------- Tablet (≤768px) ---------- */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .header-container,
  .hero-slide-content { padding: 0 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .hero-slides { height: clamp(260px, 60vw, 360px); }
  /* hero overlay must cover full width so text stays readable on narrow screens */
  .hero-slide::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 55%, rgba(255,255,255,0.55) 100%);
  }
  .hero-slide-content p { max-width: 100%; font-size: 0.95rem; }
}

/* ---------- Phone (≤576px) ---------- */
@media (max-width: 576px) {
  .product-grid { gap: 0.7rem; }
  .product-card-body { padding: 0.75rem 0.75rem 1rem; }
  .product-title { font-size: 13.5px; min-height: 2.6em; }
  .price-current { font-size: 1rem; }
  /* bigger touch targets */
  .btn-add-cart-card { padding: 13px; font-size: 13.5px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { padding: 1.1rem 0.6rem; }
  .category-card-img { width: 64px; height: 64px; }
  .hero-slide-content h1 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .hero-dots button { width: 12px; height: 12px; }
}

/* ---------- Small phone (≤380px) ---------- */
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   DESIGN ENHANCEMENTS v2 — consolidated section polish (append-only)
   Palette constraint: ONLY --ps-* tokens, rgba() of those, and white.
   Placed after the existing "DESIGN REFINEMENTS" block so later position
   wins where specificity ties. Colors unchanged — client palette preserved.
   ========================================================================== */

/* ===========================================================
   HEADER
   =========================================================== */

/* Header scroll depth (slightly stronger than base 0,2px,12px/0.06) */
.site-header { box-shadow: 0 2px 14px rgba(26, 26, 26, 0.08); }

/* Three-column grid breathing room + search optical balance */
.header-main .header-container { gap: 1.75rem; }
.header-search { min-width: 220px; }

/* Cart + icon buttons: depth & smooth micro-interactions.
   Replaces off-palette #333 hover with --ps-red. */
.btn-cart-pill,
.btn-icon-square {
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-cart-pill:hover {
  background: var(--ps-red);
  box-shadow: 0 6px 16px rgba(237, 31, 39, 0.28);
  transform: translateY(-1px);
}
.btn-icon-square:hover {
  background: var(--ps-red);
  transform: translateY(-1px);
}
.btn-cart-pill:active,
.btn-icon-square:active { transform: translateY(0); }

/* Search field: soft red focus ring instead of hard outline.
   NOTE: dropped the proposed background:#555 (non-palette) — ring only. */
.header-search input {
  transition: box-shadow var(--transition), background var(--transition);
}
.header-search input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(237, 31, 39, 0.35);
}
.header-search button { transition: color var(--transition); }
.header-search button:hover { color: var(--ps-red); }

/* Nav: top divider + animated red active/hover underline */
.header-nav { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.nav-link-top { position: relative; }
.nav-link-top::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 3px;
  background: var(--ps-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.nav-link-top:hover::after,
.nav-item-mega.is-open > .nav-link-top::after { transform: scaleX(1); }

/* Top-bar / social / lang polish */
.social-link {
  transition: color var(--transition), background var(--transition);
}
.social-link:hover { background: var(--ps-bg-soft); }
.lang-switcher span { color: var(--ps-border); }
.lang-switcher a {
  color: var(--ps-muted);
  font-weight: 600;
  transition: color var(--transition);
}
.lang-switcher a:hover { color: var(--ps-red); }
.lang-switcher a.active { color: var(--ps-red); }

/* ===========================================================
   GLOBAL — section rhythm, headings, buttons, "view all"
   (placed before per-section so section overrides can still win)
   =========================================================== */

/* Fluid section rhythm (overrides flat 3rem) */
.section { padding: clamp(2.25rem, 4vw, 4.5rem) 0; }
.section-header { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }

/* Accent underline on every section H2 */
.section-header h2 {
  position: relative;
  letter-spacing: -0.01em;
  padding-bottom: 0.6rem;
}
.section-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--ps-red);
  border-radius: 2px;
}

/* Aligned, tactile button system (equal heights + hover lift) */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary { padding: 0.7rem 1.6rem; }
.btn-outline { padding: calc(0.7rem - 2px) calc(1.6rem - 2px); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(237, 31, 39, 0.28);
}
.btn-outline:hover {
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.12);
  transform: translateY(-2px);
}
.btn-primary:active,
.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(26, 26, 26, 0.18);
}

/* "View all" secondary link: arrow + color shift */
.section-header a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition), gap var(--transition);
}
.section-header a::after {
  content: '\2192';
  font-weight: 700;
  transition: transform var(--transition);
}
.section-header a:hover {
  color: var(--ps-red-dark);
  text-decoration: none;
}
.section-header a:hover::after { transform: translateX(3px); }

/* ===========================================================
   HERO SLIDER
   =========================================================== */

/* .btn-lg now has real large-button weight + hover lift */
.hero-slide-content .btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(237, 31, 39, 0.28);
  transition: background var(--transition), transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-slide-content .btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(237, 31, 39, 0.34);
}
.hero-slide-content .btn-lg:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(237, 31, 39, 0.26);
}

/* Type scale + spacing rhythm */
.hero-slide-content h1 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
.hero-slide-content h1 .line-red { margin-top: 0.1rem; }

/* Paragraph: legibility + measure + palette-safe text-shadow.
   Overrides earlier #3a3a3a refinement with --ps-text (palette token). */
.hero-slide-content p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ps-text);
  max-width: 440px;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

/* Active-slide content entrance animation */
.hero-slide-content > div {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}
.hero-slide.active .hero-slide-content > div {
  opacity: 1;
  transform: translateY(0);
}

/* Slider dots upgraded to interactive pill control */
.hero-dots button {
  width: 9px;
  height: 9px;
  border: none;
  background: rgba(108, 117, 125, 0.5);
  transition: width 0.25s ease, background 0.2s ease, transform 0.2s ease;
}
.hero-dots button:hover {
  background: var(--ps-red);
  transform: scale(1.15);
}
.hero-dots button:focus-visible {
  outline: 2px solid var(--ps-red);
  outline-offset: 3px;
}
.hero-dots button.active {
  width: 26px;
  border-radius: 5px;
  background: var(--ps-red);
  transform: none;
}

/* ===========================================================
   BRANDS STRIP
   =========================================================== */

.brands-strip {
  position: relative;
  padding: 18px 0;
  background: var(--ps-bg);
}
.brands-strip-inner {
  gap: 1rem;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
  scroll-snap-type: x proximity;
}
.brand-chip {
  scroll-snap-align: start;
  background: var(--ps-bg-soft);
  border-color: transparent;
  border-radius: 6px;
  padding: 8px 16px;
  letter-spacing: 0.01em;
  transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.brand-chip:hover {
  background: rgba(237, 31, 39, 0.06);
  border-color: var(--ps-red);
  color: var(--ps-red);
  box-shadow: 0 4px 10px rgba(196, 25, 32, 0.14);
  transform: translateY(-1px);
}
.brand-chip:focus-visible {
  outline: none;
  border-color: var(--ps-red);
  box-shadow: 0 0 0 3px rgba(237, 31, 39, 0.25);
}

/* Logo chips: desaturate at rest, full color on hover */
.brand-chip.has-logo { padding: 8px 18px; }
.brand-chip.has-logo img {
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter var(--transition), opacity var(--transition);
}
.brand-chip.has-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ===========================================================
   PRODUCT TABS (homepage)
   =========================================================== */

.product-tabs-nav { gap: 0.25rem; margin-bottom: 2.25rem; }
.product-tabs-nav button {
  border-radius: 6px 6px 0 0;
  font-size: 16px;
  letter-spacing: 0.2px;
  padding: 12px 30px 14px;
  transition: color var(--transition), background-color var(--transition);
}
.product-tabs-nav button:hover:not(.active) {
  color: var(--ps-black);
  background-color: var(--ps-bg-soft);
}
.product-tabs-nav button.active { color: var(--ps-red); }

/* Animated underline (centered grow). Overrides base .active::after. */
.product-tabs-nav button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--ps-red);
  border-radius: 3px 3px 0 0;
  transition: left var(--transition), right var(--transition);
}
.product-tabs-nav button.active::after { left: 0; right: 0; }

/* ===========================================================
   PRODUCT CARD
   =========================================================== */

.product-card {
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.06), 0 1px 3px rgba(26, 26, 26, 0.04);
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color var(--transition);
}
.product-card:hover {
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.12), 0 2px 6px rgba(26, 26, 26, 0.06);
  transform: translateY(-4px);
  border-color: rgba(237, 31, 39, 0.25);
}

/* Left-aligned body with column rhythm */
.product-card-body {
  text-align: left;
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.product-title { margin: 0; }
.product-price { margin-bottom: 0; }

/* Price hierarchy + CTA separation */
.price-current {
  font-size: 1.15rem;
  color: var(--ps-red);
  letter-spacing: -0.01em;
}
.price-old { font-size: 0.85rem; }
.btn-add-cart-card {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
  transition: background 0.22s ease, transform 0.12s ease, box-shadow 0.22s ease;
}
.btn-add-cart-card:hover {
  background: var(--ps-red);
  box-shadow: 0 4px 12px rgba(237, 31, 39, 0.28);
}
.btn-add-cart-card:active { transform: translateY(1px); }

/* Sale badge depth */
.badge-sale {
  box-shadow: 0 2px 6px rgba(196, 25, 32, 0.35);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Image well depth on hover */
.product-card-image { transition: background 0.28s ease; }
.product-card:hover .product-card-image { background: var(--ps-bg-soft); }

/* ===========================================================
   CATEGORIES
   =========================================================== */

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  will-change: transform;
}
.category-card:hover {
  border-color: var(--ps-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(237, 31, 39, 0.16);
}
.category-card:active { transform: translateY(-1px); }

.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.1rem;
}

/* Contained image surface + hover zoom */
.category-card-img {
  display: block;
  height: 72px;
  width: 100%;
  padding: 0.5rem;
  background: var(--ps-bg-soft);
  border-radius: 6px;
  transition: transform var(--transition);
}
.category-card:hover .category-card-img { transform: scale(1.06); }

/* Label typography + hover color */
.category-card strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0.65rem;
  color: var(--ps-text);
  transition: color var(--transition);
}
.category-card:hover strong { color: var(--ps-red); }
.category-card .icon { font-size: 2rem; margin-bottom: 0.5rem; line-height: 1; }

/* ===========================================================
   FOOTER
   =========================================================== */

/* Top brand accent seam */
.site-footer { border-top: 3px solid var(--ps-red); }

/* Column layout: footer is 3-up (col-md-4) by Bootstrap — width override removed (would break to 4-up). */

/* Footer titles: red accent underline */
.site-footer .footer-title {
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.15rem;
  letter-spacing: 0.06em;
}
.site-footer .footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--ps-red);
  border-radius: 1px;
}

/* Links: smooth hover + indent affordance + looser rhythm */
.site-footer .footer-links a,
.site-footer .footer-contact a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover { transform: translateX(3px); }
.site-footer .footer-links li,
.site-footer .footer-contact li {
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

/* Social icons: hover lift + depth */
.site-footer .footer-social a {
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.site-footer .footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(237, 31, 39, 0.35);
}

/* Bottom bar refinement */
.site-footer .footer-bottom {
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===========================================================
   MEDIA QUERIES — grouped (run after base + DESIGN REFINEMENTS)
   =========================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-slide-content > div {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .category-card,
  .category-card:hover,
  .category-card:active { transform: none; }
  .category-card:hover .category-card-img { transform: none; }
}

@media (max-width: 1200px) {
  .header-main .header-container { gap: 1.25rem; }
}

/* Disable nav underline on mobile accordion */
@media (max-width: 991px) {
  .nav-link-top::after { display: none; }
}

@media (max-width: 768px) {
  /* Stronger full-width hero scrim already set by base refinements;
     reinforced here to keep paragraph legible under text-shadow. */
  .hero-slide::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.8) 55%, rgba(255,255,255,0.45) 100%);
  }
  .category-grid { gap: 0.7rem; }
  .category-card { min-height: 132px; }
}

@media (max-width: 576px) {
  /* Header / section */
  .section-header h2 { font-size: 1.3rem; padding-bottom: 0.5rem; }
  .section-header h2::after { width: 32px; }

  /* Hero */
  .hero-slide-content .btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 0.98rem;
  }
  .hero-slide-content p {
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
  }
  .hero-slide-content h1 { margin-bottom: 0.6rem; }
  /* Re-assert dot pill (base ≤576 refinement set width:12px) */
  .hero-dots button { width: 9px; height: 9px; }
  .hero-dots button.active { width: 26px; }

  /* Brands strip */
  .brands-strip { padding: 12px 0; }
  .brands-strip-inner { gap: 0.6rem; }
  .brand-chip { padding: 7px 13px; font-size: 11px; }

  /* Product tabs: scrollable tablist */
  .product-tabs-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 1.5rem;
  }
  .product-tabs-nav::-webkit-scrollbar { display: none; }
  .product-tabs-nav button {
    flex: 0 0 auto;
    padding: 11px 20px 13px;
    font-size: 15px;
  }

  /* Product card */
  .product-card-body { padding: 0.7rem 0.7rem 0.85rem; gap: 0.4rem; }
  .price-current { font-size: 1.05rem; }

  /* Categories */
  .category-card { min-height: 120px; }
  .category-card-img { height: 60px; }

  /* Footer center-align */
  .site-footer { padding-top: 2.25rem; text-align: center; }
  .site-footer .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .site-footer .footer-social { justify-content: center; }
}

/* ==========================================================
   CHECKOUT — refined layout + payment method icon tabs
   ========================================================== */
.checkout-title {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.4px;
  margin: 0 0 1.5rem;
}
.checkout-section-title {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 1rem; font-weight: 700; color: var(--ps-black);
  margin: 1.75rem 0 0.9rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ps-border);
}
.checkout-section-title:first-of-type { margin-top: 0; }
.checkout-section-title i { color: var(--ps-red); }

.form-card { padding: 1.75rem; }
.form-card input, .form-card textarea, .form-card select {
  border-radius: 8px; padding: 0.7rem 0.85rem; transition: border-color .15s, box-shadow .15s;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: none; border-color: var(--ps-red);
  box-shadow: 0 0 0 3px rgba(237,31,39,0.12);
}

/* ---- Payment method icon tabs ---- */
.pay-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}
.pay-tab {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.35rem;
  padding: 1.1rem 0.85rem;
  border: 2px solid var(--ps-border);
  border-radius: 12px;
  cursor: pointer;
  background: var(--ps-bg);
  transition: border-color .18s, background .18s, transform .12s, box-shadow .18s;
}
.pay-tab input { position: absolute; opacity: 0; pointer-events: none; }
.pay-tab__icon { font-size: 1.6rem; color: var(--ps-muted); transition: color .18s; }
.pay-tab__title { font-weight: 700; font-size: 0.95rem; color: var(--ps-black); }
.pay-tab__desc { font-size: 11.5px; color: var(--ps-muted); line-height: 1.3; }
.pay-tab__check {
  position: absolute; top: 8px; right: 8px;
  color: var(--ps-red); font-size: 1rem; opacity: 0; transform: scale(0.5);
  transition: opacity .18s, transform .18s;
}
.pay-tab:hover { border-color: rgba(237,31,39,0.45); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.07); }
.pay-tab:has(input:checked) {
  border-color: var(--ps-red);
  background: rgba(237,31,39,0.05);
  box-shadow: 0 4px 14px rgba(237,31,39,0.14);
}
.pay-tab:has(input:checked) .pay-tab__icon { color: var(--ps-red); }
.pay-tab:has(input:checked) .pay-tab__check { opacity: 1; transform: scale(1); }
.pay-tab:focus-within { box-shadow: 0 0 0 3px rgba(237,31,39,0.2); }

#bogMonthsWrap select { max-width: 100%; }

.checkout-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.checkout-secure {
  text-align: center; font-size: 12.5px; color: var(--ps-muted);
  margin: 0.75rem 0 0; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.checkout-secure i { color: #28a745; }

/* ---- Summary card ---- */
.cart-summary { padding: 1.5rem; border-radius: 12px; }
.cart-summary h3 {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.05rem; font-weight: 700; margin: 0 0 1rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--ps-border);
}
.cart-summary h3 i { color: var(--ps-red); }
.cart-summary .row-item { padding: 0.15rem 0; }
.cart-summary .total { font-size: 1.25rem; }

@media (max-width: 575px) {
  .pay-tabs { grid-template-columns: 1fr; }
  .pay-tab { flex-direction: row; text-align: left; gap: 0.75rem; padding: 0.9rem 1rem; }
  .pay-tab__icon { font-size: 1.3rem; }
  .pay-tab__desc { font-size: 11px; }
}

/* ==========================================================
   BOG INSTALLMENT PANEL — Bank of Georgia branded (orange)
   ========================================================== */
:root { --bog-orange: #FF6A00; --bog-orange-2: #FF8A00; }
.bog-panel {
  margin-top: 1rem;
  position: relative;
  border: 1px solid #ffd9b8;
  border-radius: 16px;
  padding: 1.35rem 1.35rem 1.1rem;
  background: linear-gradient(180deg, #fff8f1 0%, #ffffff 60%);
  box-shadow: 0 6px 22px rgba(255, 106, 0, 0.10);
}
.bog-panel__head {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 800; font-size: 1rem; color: var(--bog-orange);
  margin-bottom: 1.25rem;
}
.bog-panel__head i { font-size: 1.1rem; }

/* segmented stepper */
.bog-steps { list-style: none; display: flex; padding: 0; margin: 0 0 1.35rem; }
.bog-steps li {
  flex: 1; text-align: center; position: relative;
  font-size: 11px; color: #a0a0a0;
}
.bog-steps li::before {
  content: ''; position: absolute; top: 14px; left: -50%;
  width: 100%; height: 4px; background: #ececec; border-radius: 2px; z-index: 1;
}
.bog-steps li:first-child::before { display: none; }
.bog-steps li.is-active::before, .bog-steps li.is-done::before {
  background: linear-gradient(90deg, var(--bog-orange-2), var(--bog-orange));
}
.bog-steps__dot {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #f0f0f0; color: #a0a0a0; font-weight: 700; font-size: 13px;
  border: 3px solid #fff8f1; transition: all .2s;
}
.bog-steps li em { display: block; margin-top: 7px; font-style: normal; font-weight: 600; }
.bog-steps li.is-active .bog-steps__dot, .bog-steps li.is-done .bog-steps__dot {
  background: linear-gradient(135deg, var(--bog-orange-2), var(--bog-orange));
  color: #fff; box-shadow: 0 3px 10px rgba(255, 106, 0, 0.45);
}
.bog-steps li.is-active em { color: var(--bog-orange); }

.bog-label { font-size: 13px; font-weight: 700; color: #1a1a1a; display: block; margin-bottom: 0.4rem; }
.bog-select {
  width: 100%; padding: 0.7rem 0.85rem; border-radius: 10px;
  border: 1.5px solid #ffd9b8; background: #fff; font-family: var(--font); font-weight: 600;
}
.bog-select:focus { outline: none; border-color: var(--bog-orange); box-shadow: 0 0 0 3px rgba(255,106,0,.15); }
.bog-note { font-size: 12.5px; color: #8a7a6a; margin: 0.6rem 0 0; display: flex; align-items: flex-start; gap: 0.4rem; }
.bog-note i { color: var(--bog-orange); margin-top: 2px; }

.bog-panel__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.1rem; padding-top: 0.85rem; border-top: 1px dashed #ffd9b8;
}
.bog-badge { display: block; height: 32px; width: auto; }
.bog-secure { font-size: 12px; font-weight: 600; color: #28a745; display: inline-flex; align-items: center; gap: 0.35rem; }

@media (max-width: 480px) {
  .bog-steps li em { font-size: 10px; }
  .bog-steps__dot { width: 26px; height: 26px; font-size: 12px; }
}

/* ==========================================================
   BOG INSTALLMENT MODAL
   ========================================================== */
.bog-modal { position: fixed; inset: 0; z-index: 2000; display: none; }
.bog-modal.is-open { display: block; }
.bog-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 12, 4, 0.55); backdrop-filter: blur(3px);
  animation: bogFade .2s ease;
}
.bog-modal__dialog {
  position: relative; z-index: 1;
  width: calc(100% - 2rem); max-width: 440px;
  margin: 7vh auto 0;
  background: linear-gradient(180deg, #fff8f1 0%, #ffffff 55%);
  border-radius: 18px;
  border-top: 4px solid var(--bog-orange);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  padding: 1.75rem 1.5rem 1.25rem;
  animation: bogPop .25s cubic-bezier(.2,.8,.3,1.2);
}
@keyframes bogFade { from { opacity: 0; } }
@keyframes bogPop { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.bog-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: #f3ece5; color: #8a7a6a; cursor: pointer; font-size: 15px;
  transition: background .15s, color .15s;
}
.bog-modal__close:hover { background: var(--bog-orange); color: #fff; }
.bog-modal__head {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem;
}
.bog-modal__head i { font-size: 1.35rem; color: var(--bog-orange); }
.bog-modal__head h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: #1a1a1a; }
.bog-modal__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.4rem; padding-top: 1rem; border-top: 1px dashed #ffd9b8;
}
.bog-modal__logo { height: 30px; width: auto; display: block; }
.bog-modal__continue {
  background: linear-gradient(135deg, var(--bog-orange-2), var(--bog-orange));
  color: #fff; border: none; padding: 0.65rem 1.5rem; border-radius: 10px;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,106,0,.4); transition: transform .12s, box-shadow .2s;
}
.bog-modal__continue:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,106,0,.5); }
.bog-modal__continue:active { transform: translateY(0); }

@media (max-width: 480px) {
  .bog-modal__dialog { margin-top: 4vh; padding: 1.5rem 1.1rem 1rem; }
  .bog-modal__logo { height: 26px; }
}

/* BOG installment — segmented term chips (replaces select) */
.bog-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 0.55rem; margin-bottom: 0.4rem; }
.bog-term {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0.7rem 0.4rem; border: 2px solid #ffd9b8; border-radius: 12px;
  background: #fff; cursor: pointer; font-family: var(--font);
  transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
}
.bog-term__m { font-weight: 800; font-size: 0.95rem; color: #1a1a1a; line-height: 1.1; }
.bog-term__p { font-size: 11px; color: #8a7a6a; }
.bog-term:hover { border-color: var(--bog-orange); transform: translateY(-2px); }
.bog-term.is-active {
  background: linear-gradient(135deg, var(--bog-orange-2), var(--bog-orange));
  border-color: transparent; box-shadow: 0 6px 16px rgba(255,106,0,.4);
}
.bog-term.is-active .bog-term__m, .bog-term.is-active .bog-term__p { color: #fff; }
.bog-term:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,106,0,.3); }

/* ==========================================================
   HEADER refinement v3 — top bar icons, prominent search
   ========================================================== */
.header-top { background: var(--ps-bg-soft); border-bottom: 1px solid var(--ps-border); }
.top-bar-promo { display: inline-flex; align-items: center; gap: 6px; color: var(--ps-text); font-weight: 500; font-size: 12.5px; margin-right: 0.75rem; }
.top-bar-promo i { color: var(--ps-red); }
.header-top-right { gap: 1.1rem; }
.top-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ps-text); }
.top-phone i { color: var(--ps-red); font-size: 0.82em; }
.top-link { display: inline-flex; align-items: center; gap: 6px; }
.top-link i { font-size: 0.82em; opacity: 0.85; }
.top-link--btn { background: var(--ps-red); color: #fff !important; padding: 5px 13px; border-radius: 6px; font-weight: 600; transition: background .15s, transform .12s; }
.top-link--btn:hover { background: var(--ps-red-dark); color: #fff !important; transform: translateY(-1px); }
.lang-switcher span { color: var(--ps-border); }

/* Search — light field + prominent red round button */
.header-search input {
  background: #fff;
  border: 1.5px solid var(--ps-border);
  color: var(--ps-text);
  padding: 11px 50px 11px 20px;
  transition: border-color .15s, box-shadow .15s;
}
.header-search input::placeholder { color: var(--ps-muted); }
.header-search input:focus {
  outline: none;
  border-color: var(--ps-red);
  box-shadow: 0 0 0 3px rgba(237,31,39,.12);
}
.header-search button {
  right: 5px;
  width: 38px; height: 38px;
  background: var(--ps-red);
  color: #fff;
  border-radius: 50%;
  transition: background .15s, transform .12s;
}
.header-search button:hover { background: var(--ps-red-dark); }
.header-search button:active { transform: translateY(-50%) scale(0.94); }

/* Logo + cart subtle polish */
.site-logo:hover { opacity: 0.9; }
.btn-cart-pill { transition: background .18s, box-shadow .18s, transform .12s; }
.btn-cart-pill:hover { transform: translateY(-1px); }

/* Nav active/hover underline (uses .nav-link-top::after from v2) */
.header-nav { box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* ==========================================================
   HERO SLIDER — modernized (arrows, progress, ken-burns)
   ========================================================== */
.hero-slider { position: relative; }
.hero-slides { overflow: hidden; }

.hero-slide { transition: opacity 0.7s ease; will-change: opacity; }

/* prev / next arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255,255,255,0.9); color: var(--ps-black);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  opacity: 0; transition: opacity .2s, background .2s, color .2s, transform .15s;
}
.hero-slider:hover .hero-arrow { opacity: 1; }
.hero-arrow--prev { left: 22px; }
.hero-arrow--next { right: 22px; }
.hero-arrow:hover { background: var(--ps-red); color: #fff; transform: translateY(-50%) scale(1.08); }
.hero-arrow:focus-visible { opacity: 1; outline: 2px solid var(--ps-red); outline-offset: 3px; }

/* autoplay progress bar */
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,0.12); z-index: 5; }
.hero-progress__bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ps-red), var(--ps-red-dark)); }

@media (max-width: 768px) {
  .hero-arrow { opacity: 1; width: 40px; height: 40px; font-size: 0.9rem; background: rgba(255,255,255,0.8); }
  .hero-arrow--prev { left: 10px; } .hero-arrow--next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active { animation: none; }
}

/* ==========================================================
   PRODUCT CARD / CATEGORY / FEATURED — design upgrade
   ========================================================== */
.product-card { display: flex; flex-direction: column; }
.product-card-body { flex: 1; }
.product-card .btn-add-cart-card { margin-top: auto; }

/* badges + brand chip on image */
.product-card-image { position: relative; }
.product-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.product-badges .badge-sale { position: static; }
.badge-stock { font-size: 10.5px; font-weight: 700; padding: 4px 8px; border-radius: 4px; line-height: 1; align-self: flex-start; }
.badge-stock--out { background: rgba(26,26,26,0.85); color: #fff; }
.badge-stock--low { background: #fff3cd; color: #92400e; }
.product-card-brand {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ps-muted); background: rgba(255,255,255,0.9); padding: 3px 7px; border-radius: 4px;
}
.product-card.is-out .product-card-image img { opacity: 0.5; filter: grayscale(0.35); }

/* 2-line title clamp */
.product-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em;
}
.price-current { font-weight: 800; }

/* disabled add button */
.btn-add-cart-card[disabled] { background: #e8e8e8; color: #9a9a9a; cursor: not-allowed; }
.btn-add-cart-card[disabled]:hover { background: #e8e8e8; box-shadow: none; }

/* section header icon */
.section-header h2 { display: inline-flex; align-items: center; gap: 0.55rem; }
.section-header h2 i { color: var(--ps-red); font-size: 0.88em; }

/* ---------- Categories as modern tiles ---------- */
.category-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.1rem; }
.category-card {
  position: relative; overflow: hidden; padding: 0;
  display: flex; flex-direction: column; min-height: 0;
  border-radius: 12px;
}
.category-card__media {
  aspect-ratio: 4 / 3; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 0.85rem;
}
.category-card-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .35s ease; }
.category-card:hover .category-card-img { transform: scale(1.06); }
.category-card .icon { font-size: 2.4rem; color: var(--ps-muted); margin: 0; }
.category-card strong { padding: 0.85rem 1rem; font-size: 0.98rem; text-align: left; }
.category-card__go {
  position: absolute; right: 12px; bottom: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ps-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
  opacity: 0; transform: translateY(8px) scale(0.8); transition: opacity .2s, transform .2s;
}
.category-card:hover { transform: translateY(-4px); }
.category-card:hover .category-card__go { opacity: 1; transform: none; }

/* ---------- Featured section distinction ---------- */
.section--featured { background: linear-gradient(180deg, #ffffff 0%, var(--ps-bg-soft) 100%); }
.section--featured .section-header h2 i { color: #f5a623; }
.section--featured .product-card { border-color: #ececec; }
.section--featured .product-card:hover { border-color: rgba(237,31,39,0.35); }

@media (max-width: 575px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card strong { padding: 0.6rem 0.7rem; font-size: 0.88rem; }
}

/* ==========================================================
   MOBILE FIXES — BOG modal scroll + checkout buttons reachable
   ========================================================== */
/* modal must scroll on small/short screens so footer (Continue) is always reachable */
.bog-modal { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.bog-modal__dialog { max-height: 92vh; overflow-y: auto; }

@media (max-width: 575px) {
  .bog-modal__dialog {
    margin: 2.5vh auto;
    width: calc(100% - 1.4rem);
    max-width: none;
    max-height: 95vh;
    padding: 1.4rem 1rem 1rem;
  }
  .bog-modal__head h3 { font-size: 1.1rem; }
  .bog-terms { grid-template-columns: repeat(2, 1fr); }
  .bog-modal__foot { flex-wrap: wrap; gap: 0.75rem; }
  .bog-modal__continue { width: 100%; order: 2; }
  .bog-modal__logo { order: 1; }

  /* keep the main checkout CTA full-width and never clipped */
  .checkout-submit, .btn.btn-lg.w-100 { width: 100%; }
  .form-card { overflow: visible; }
}

/* FIX: on mobile the checkout columns stack — disable sticky so the
   cart-summary can't overlap/cover the submit button */
@media (max-width: 991px) {
  .checkout-grid .form-card,
  .checkout-grid .cart-summary { position: static; top: auto; }
}

/* ==========================================================
   BOG MODAL — proper centered overlay (fix full-width stretch)
   flex-centers both axes, caps width, scrolls if tall
   ========================================================== */
.bog-modal.is-open {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}
.bog-modal__dialog {
  margin: 0 !important;
  width: 100% !important;
  max-width: 420px !important;
  max-height: 92vh;
  overflow-y: auto;
}
@media (max-width: 575px) {
  .bog-modal.is-open { padding: 0.85rem; align-items: center; }
  .bog-modal__dialog { max-width: 400px !important; margin: 0 !important; }
}

/* ==========================================================
   MOBILE: kill horizontal overflow (was breaking fixed modal)
   root cause = top bar right side too wide on phones
   ========================================================== */
html, body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 768px) {
  .header-top-right { gap: 0.55rem; flex-wrap: wrap; justify-content: flex-end; }
  .top-bar-promo { display: none; }
  .header-top-left .social-link { display: none; }
}
@media (max-width: 575px) {
  /* compact utility bar: language + register only */
  .top-phone, .top-link:not(.top-link--btn) { display: none; }
  .top-link--btn { padding: 4px 10px; font-size: 12px; }
  .lang-switcher { font-size: 12px; }
  .header-top .header-container { min-height: 30px; gap: 0.5rem; }
}

/* ==========================================================
   MOBILE HEADER MAIN — logo + cart + menu on row 1,
   search full-width on row 2 (was collapsing search to 0)
   ========================================================== */
@media (max-width: 991px) {
  .header-main .header-container {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas:
      "logo . actions menu"
      "search search search search";
    row-gap: 0.7rem;
    column-gap: 0.6rem;
    align-items: center;
  }
  .header-main .site-logo { grid-area: logo; }
  .header-main .header-actions { grid-area: actions; }
  .header-main .mobile-menu-btn { grid-area: menu; }
  .header-main .header-search { grid-area: search; display: block; max-width: 100%; margin: 0; width: 100%; }
}
@media (max-width: 575px) {
  .site-logo { font-size: 1.4rem; }
  .btn-cart-pill .cart-label { display: none; }   /* cart icon + badge only on small phones */
  .btn-cart-pill { padding: 8px 12px; }
}

/* ---- Hero slider mobile: STABLE height across all photos ----
   Slides stay absolutely stacked (the base rule) so the box height is
   FIXED and identical for every slide — it never jumps between photos.
   Content is vertically centered; title+text are line-clamped so long
   copy can never overflow or alter the box height. ---- */
@media (max-width: 768px) {
  .hero-slides { height: clamp(300px, 56vw, 380px); }
  .hero-slide-content { padding-bottom: 2.6rem; }   /* room for dots + progress bar */
  .hero-slide-content > div { max-width: 100%; }
  .hero-slide-content h1 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem); margin-bottom: 0.55rem;
    line-height: 1.2; max-width: 100%;
  }
  .hero-slide-content p {
    font-size: 0.9rem; margin-bottom: 0.85rem; line-height: 1.45; max-width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .hero-slide-content .btn-lg { padding: 0.6rem 1.3rem; font-size: 0.92rem; }
}
@media (max-width: 575px) {
  .hero-slides { height: clamp(290px, 74vw, 340px); }
  .hero-slide-content h1 { font-size: clamp(1.25rem, 5.5vw, 1.55rem); }
  .hero-slide-content p { -webkit-line-clamp: 2; font-size: 0.85rem; }
}

/* ---- Product tabs: fit all 3 tabs on phones (was overflowing) ---- */
@media (max-width: 575px) {
  .product-tabs-nav { width: 100%; padding: 4px; gap: 3px; align-items: stretch; }
  .product-tabs-nav button {
    padding: 8px 4px; font-size: 12px; flex: 1 1 0; min-width: 0;
    white-space: normal; text-align: center; line-height: 1.2;
    display: flex; align-items: center; justify-content: center;
  }
}
@media (max-width: 360px) {
  .product-tabs-nav button { font-size: 11px; }
}

/* ===========================================================
   GEORGIAN TYPOGRAPHY (BPG web fonts — cdn.web-fonts.ge)
   --font          BPG Nostalgia      body / ყველა დანარჩენი
   --font-display  BPG WEB 002 Caps   სექციების სათაურები და ტოლფასი
   --font-card     BPG WEB 001        ბარათების დასახელებები
   --font-hero     BPG WEB 002        hero სლაიდერის სათაურები
   =========================================================== */

/* Section headings & equivalents */
h1, h2,
.section-header h2,
.footer-title,
.product-tabs-nav button {
  font-family: var(--font-display);
}

/* Card titles & equivalents */
.product-title,
.product-title a,
.category-card strong,
.product-card-brand {
  font-family: var(--font-card);
}

/* Hero slider headings (overrides generic h1 rule above) */
.hero-slide-content h1 {
  font-family: var(--font-hero);
}

/* ===========================================================
   PRODUCT TABS — pill / segmented redesign
   =========================================================== */

.product-tabs-nav {
  border-bottom: none;
  gap: 6px;
  background: var(--ps-bg-soft);
  border: 1px solid var(--ps-border);
  border-radius: 999px;
  padding: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 2.25rem;
}

.product-tabs-nav button {
  border-radius: 999px;
  padding: 10px 26px 12px;
  font-size: 15px;
  color: var(--ps-muted);
  background: none;
  transition: color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.product-tabs-nav button:hover:not(.active) {
  color: var(--ps-black);
  background-color: #ffffff;
}

.product-tabs-nav button.active {
  color: #ffffff;
  background: var(--ps-red);
  box-shadow: 0 4px 14px rgba(237, 31, 39, 0.35);
}

/* kill the old underline indicator */
.product-tabs-nav button::after { display: none; }

@media (max-width: 768px) {
  .product-tabs-nav {
    width: auto;
    border-radius: 999px;
    padding: 5px;
  }
  .product-tabs-nav button {
    padding: 9px 18px 10px;
    font-size: 14px;
    border-radius: 999px;
  }
}

/* ===========================================================
   PRODUCT CARD — refreshed 2.0 (modern, softer, more depth)
   This block is intentionally last so it wins the cascade.
   =========================================================== */
.product-card {
  border: 1px solid #ececef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,16,18,0.05);
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(237,31,39,0.28);
  box-shadow: 0 16px 36px rgba(16,16,18,0.14), 0 3px 8px rgba(16,16,18,0.06);
}

/* image well — soft radial backdrop, hairline divider */
.product-card-image {
  aspect-ratio: 1;
  padding: 1.15rem;
  background: radial-gradient(125% 125% at 50% 0%, #ffffff 0%, #f5f5f8 100%);
  border-bottom: 1px solid #f1f1f3;
}
.product-card:hover .product-card-image {
  background: radial-gradient(125% 125% at 50% 0%, #ffffff 0%, #eef0f4 100%);
}
.product-card:hover .product-card-image img { transform: scale(1.07); }

/* sale badge — gradient pill with glow */
.product-badges .badge-sale {
  background: linear-gradient(135deg, #ed1f27 0%, #c41920 100%);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 3px 9px rgba(196,25,32,0.34);
}
/* stock badges — pill */
.badge-stock { border-radius: 999px; padding: 4px 10px; font-size: 10px; }
.badge-stock--low { background: #fff3cd; color: #92400e; border: 1px solid #f6e0a0; }
.badge-stock--out { background: rgba(20,20,22,0.88); color: #fff; }

/* brand chip — frosted pill */
.product-card-brand {
  top: 11px; right: 11px;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 9.5px; letter-spacing: 0.05em; color: #6b6b73;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* body rhythm */
.product-card-body { padding: 0.95rem 1rem 1.1rem; gap: 0.55rem; }
.product-title { font-size: 14px; line-height: 1.35; min-height: 2.7em; font-weight: 600; }
.product-title a { color: var(--ps-black); }
.product-title a:hover { color: var(--ps-red); }

/* price row — baseline aligned */
.product-price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin: 0; }
.price-current { font-size: 1.22rem; font-weight: 800; color: var(--ps-red); line-height: 1; letter-spacing: -0.01em; }
.price-old { font-size: 0.85rem; color: #9a9aa2; }

/* CTA — rounded pill, lift on hover */
.btn-add-cart-card {
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 13px; font-weight: 700;
  background: var(--ps-nav);
}
.btn-add-cart-card:hover {
  background: var(--ps-red);
  box-shadow: 0 6px 16px rgba(237,31,39,0.30);
  transform: translateY(-1px);
}
.btn-add-cart-card[disabled] { background: #ededf0; color: #9a9aa2; }

@media (max-width: 575px) {
  .product-card { border-radius: 13px; }
  .product-card-image { padding: 0.85rem; }
  .price-current { font-size: 1.08rem; }
}
