:root {
  --accent: #111111;
  --accent-hover: #000000;
  --accent-light: #f1f1f1;
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg-page: #ffffff;
  --bg-section: #f8f9fa;
  --bg-card: #ffffff;
  --bg-footer: #1a1a2e;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.25s ease;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent);
}

.container {
  max-width: 1280px;
}

/* ── TOP BAR ── */
#top {
  background: #f8f8f8;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  z-index: 1001;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar__link {
  color: var(--text-secondary);
  font-size: 13px;
  white-space: nowrap;
}
.top-bar__link:hover {
  color: var(--accent);
}
.top-bar__link i {
  margin-right: 4px;
}
.top-bar__sep {
  color: var(--border-color);
}
.top-bar__item {
  font-size: 13px;
}

#top .list-inline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
#top .list-inline-item {
  padding: 0;
  margin: 0;
}
#top .list-inline-item a {
  color: var(--text-secondary);
  font-size: 13px;
}
#top .list-inline-item a:hover {
  color: var(--accent);
}
#top .dropdown-toggle::after {
  display: none;
}
#top .dropdown {
  position: relative;
}
#top .dropdown-menu {
  font-size: 13px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  z-index: 1050;
}
#top .dropdown-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}

#currency-form .dropdown-toggle,
#language-form .dropdown-toggle {
  font-size: 13px;
  color: var(--text-secondary);
  border: none;
  background: none;
  padding: 0;
}
#currency-form .dropdown-toggle:hover,
#language-form .dropdown-toggle:hover {
  color: var(--accent);
}

/* ── HEADER ── */
header {
  background: var(--bg-page);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-row .row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.header-logo {
  flex: 0 0 auto;
}
.site-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-logo {
  display: block;
  width: auto;
  height: 180px;
  max-width: 100%;
  object-fit: contain;
}
.logo-text,
.logo-text a,
#logo .logo-text a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-primary);
  text-decoration: none;
}
.logo-text a:hover {
  color: var(--accent);
}

.header-search,
header .col-md-5 {
  flex: 1;
  max-width: 560px;
}
#search {
  position: relative;
}
#search input {
  width: 100%;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  padding: 10px 48px 10px 16px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
#search input:focus {
  border-color: var(--accent);
}
#search button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 46px;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 0 4px 4px 0;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: background var(--transition);
}
#search button:hover {
  background: var(--accent-hover);
}

.header-actions,
header .col-md-4,
header .col-lg-3 {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.header-action-btn::after {
  display: none;
}
.header-action-btn i {
  font-size: 20px;
}
.header-action-btn:hover {
  color: var(--accent);
}

.header-account .dropdown-toggle::after {
  display: none;
}
.header-account .dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  min-width: 180px;
}
.header-account .dropdown-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.header-cart button,
#cart > button,
#cart .btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.header-cart button:hover,
#cart > button:hover,
#cart .btn:hover {
  background: var(--accent-hover);
}

#cart .dropdown-menu {
  min-width: 340px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 16px;
}
#cart .dropdown-menu table td {
  padding: 8px 4px;
  vertical-align: middle;
  font-size: 13px;
}
#cart .dropdown-menu img {
  border-radius: 4px;
  max-width: 60px;
}
#cart .dropdown-menu .btn-danger {
  background: #ef4444;
  border-color: #ef4444;
  font-size: 12px;
  padding: 4px 8px;
}

/* ── NAVIGATION ── */
#menu {
  background: var(--bg-page);
  border-bottom: 2px solid var(--border-color);
}
#menu .navbar {
  padding: 0;
  min-height: auto;
}
#menu .nav {
  justify-content: center;
  gap: 0;
}
#menu .nav > li > a {
  display: block;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  transition:
    color var(--transition),
    background var(--transition);
}
#menu .nav > li > a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

/* ── HOMEPAGE ── */
.home-page {
  padding: 0;
}
#common-home {
  padding: 0;
}
#common-home #content {
  padding: 0;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  padding: 24px 0;
  min-height: 420px;
}
.home-hero__main {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.home-hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.home-lead {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 480px;
}
.home-hero__actions {
  display: flex;
  gap: 12px;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition:
    background var(--transition),
    transform var(--transition);
  display: inline-block;
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.home-hero__sidebar,
.home-hero__cats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-cat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #111;
  background-size: cover;
  background-position: center top;
  color: #fff;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  min-height: 220px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  transition: background var(--transition);
}
.hero-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.hero-cat-card:hover .hero-cat-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
.hero-cat-card__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero-cat-card__name {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-top: 6px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.hero-cat-card__count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ── TRUST PERKS ── */
.home-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}
.home-perk {
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-perk__icon {
  font-size: 24px;
  color: var(--accent);
  width: 32px;
  text-align: center;
}
.home-perk__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.home-perk__sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── SECTIONS ── */
.home-section {
  padding: 40px 0;
}
.home-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.home-section__head h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}
.home-section__head .btn-outline-dark {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 500;
  transition: all var(--transition);
}
.home-section__head .btn-outline-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── PRODUCT CARDS ── */
.product-thumb {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-thumb:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.product-thumb .image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f5f5f5;
}
.product-thumb .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-thumb:hover .image img {
  transform: scale(1.05);
}

.product-thumb .sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  z-index: 2;
}

.product-thumb .product-actions,
.product-thumb .button {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 6px;
  opacity: 0;
  transition:
    opacity var(--transition),
    transform var(--transition);
  z-index: 3;
}
.product-thumb:hover .product-actions,
.product-thumb:hover .button {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.product-thumb .product-actions button,
.product-thumb .button button,
.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.product-thumb .product-actions button:hover,
.product-thumb .button button:hover,
.product-action-btn:hover {
  background: var(--accent);
  color: #fff;
}

.product-thumb .description {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-thumb .description h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-thumb .description h4 a {
  color: var(--text-primary);
}
.product-thumb .description h4 a:hover {
  color: var(--accent);
}

.product-thumb .price {
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.product-thumb .price .price-new {
  color: var(--accent);
  font-weight: 700;
}
.product-thumb .price .price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  margin-left: 8px;
}
.row > [class*="col"] .product-thumb {
  margin-bottom: 16px;
}

/* ── BRAND SLIDER ── */
.brand-slider {
  position: relative;
  overflow: hidden;
  margin: 0 -8px;
}
.brand-slider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
  scrollbar-width: none;
}
.brand-slider__track::-webkit-scrollbar {
  display: none;
}
.brand-slide {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 20px 20px;
  text-decoration: none;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.brand-slide:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.brand-slide--soon {
  opacity: 1;
}
.brand-slide--soon:hover {
  opacity: 1;
}
.brand-slide__logo {
  width: 240px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.brand-slide__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.brand-slide__logo--zara img,
.brand-slide__logo--bershka img,
.brand-slide__logo--new-yorker img {
  width: auto;
  height: 100%;
}
.brand-slide--soon .brand-slide__tag {
  background: rgba(255, 255, 255, 0.75);
}
.brand-slide__info {
  text-align: center;
}
.brand-slide__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  background: #f1f1f1;
  color: var(--text-muted);
}
.brand-slide__tag--active {
  background: #e8f5e9;
  color: #2e7d32;
}
.brand-slide__desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}
.brand-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.brand-slider__arrow:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.brand-slider__arrow--left {
  left: 0;
}
.brand-slider__arrow--right {
  right: 0;
}

/* ── NEWSLETTER ── */
.home-newsletter {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 20% 80%,
      rgba(99, 102, 241, 0.15),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(168, 85, 247, 0.12),
      transparent 50%
    ),
    linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  color: #fff;
  text-align: center;
  padding: 64px 32px;
  border-radius: 20px;
  margin: 48px 0;
}
.home-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.5;
}
.home-newsletter > * {
  position: relative;
  z-index: 1;
}
.home-newsletter h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -0.02em;
}
.home-newsletter p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.newsletter-form:focus-within {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow:
    0 0 0 4px rgba(99, 102, 241, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.2);
}
.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-form button {
  border-radius: 999px;
  padding: 12px 28px;
  margin: 4px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* ── FOOTER ── */
footer {
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 0;
  margin-top: 40px;
}
footer h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
footer ul {
  padding: 0;
  list-style: none;
}
footer ul li {
  margin-bottom: 10px;
}
footer ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color var(--transition);
}
footer ul li a:hover {
  color: var(--accent);
}

.footer-col {
  margin-bottom: 32px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-brand__logo {
  display: block;
  width: auto;
  height: 140px;
  max-width: 100%;
  object-fit: contain;
}
.footer-contact {
  list-style: none;
  padding: 0;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}
.footer-contact i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 16px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-payments {
  display: flex;
  gap: 12px;
}
.footer-payments i {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}
.footer-payments i:hover {
  color: rgba(255, 255, 255, 0.8);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 0;
}

/* ── UTILITIES ── */
.breadcrumb {
  padding: 12px 0;
  margin-bottom: 20px;
  font-size: 13px;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--accent);
}

.pagination > li > a,
.pagination > li > span {
  color: var(--text-primary);
  border-radius: var(--radius);
  margin: 0 2px;
  border-color: var(--border-color);
  font-size: 14px;
  padding: 8px 14px;
}
.pagination > .active > a,
.pagination > .active > span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pagination > li > a:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

.alert {
  border-radius: var(--radius);
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn-dark {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #fff;
}
.btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.list-group-item.active {
  background: var(--accent);
  border-color: var(--accent);
}

#cookie-banner {
  background: var(--bg-footer);
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
#cookie-banner .btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .home-hero__sidebar,
  .home-hero__cats {
    flex-direction: row;
  }
  .hero-cat-card {
    min-height: 140px;
  }
  .home-perks {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-row .row {
    flex-wrap: wrap;
  }
  header .col-md-5 {
    order: 3;
    flex: 1 0 100%;
    margin-top: 8px;
    max-width: 100%;
  }
  #menu .nav > li > a {
    padding: 12px 16px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .container,
  .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }
  .row {
    margin-left: -8px;
    margin-right: -8px;
  }
  .row > [class*="col"] {
    padding-left: 8px;
    padding-right: 8px;
  }
  .home-hero__main {
    padding: 32px 24px;
  }
  .home-hero h1 {
    font-size: 26px;
  }
  .home-hero__sidebar,
  .home-hero__cats {
    flex-direction: column;
  }
  .home-perks {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .home-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .home-section {
    padding: 40px 16px;
  }
  .home-brands {
    padding-left: 16px;
    padding-right: 16px;
  }
  .home-newsletter {
    padding: 40px 16px;
    border-radius: 14px;
  }
  .newsletter-form {
    flex-direction: column;
    border-radius: 14px;
    gap: 8px;
    padding: 6px;
  }
  .newsletter-form input {
    border-radius: 999px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
  }
  .newsletter-form button {
    border-radius: 999px;
    margin: 0;
    padding: 14px 24px;
  }
  .top-bar {
    font-size: 12px;
  }
  .top-bar__left {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .site-logo {
    height: 132px;
  }
  .footer-brand__logo {
    height: 104px;
  }
  footer .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-row {
    flex-wrap: wrap;
  }
  .header-search {
    order: 3;
    flex: 1 0 100%;
    margin-top: 8px;
  }
  #content {
    padding-left: 8px;
    padding-right: 8px;
  }
  .brand-slide {
    flex: 0 0 180px;
    padding: 20px 16px 16px;
  }
  .brand-slide__logo {
    width: 180px;
    height: 72px;
    margin-bottom: 12px;
  }
  .brand-slider__arrow {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-logo {
    height: 150px;
  }

  .footer-brand__logo {
    height: 120px;
  }

  .brand-slide__logo {
    width: 200px;
    height: 84px;
  }
}

@media (max-width: 575px) {
  .home-perks {
    grid-template-columns: 1fr;
  }
  .hero-cat-card {
    min-height: 120px;
  }
  #menu .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #menu .nav > li > a {
    white-space: nowrap;
    padding: 12px 14px;
  }
  .brand-slide {
    flex: 0 0 160px;
  }
}

/* ===== Mobile overflow fix ===== */
body,
html {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ===== Hide compare feature globally ===== */
button[formaction*="compare"],
a[href*="product/compare"],
a[href*="compare"],
button[onclick*="compare"],
[data-oc-target*="compare"],
.product-thumb .product-actions button:nth-child(3),
.product-thumb button[title*="Compare"],
.product-thumb button[title*="compare"],
.product-thumb button[title*="Сравнить"],
.product-thumb button[title*="Compară"] {
  display: none !important;
}
