/* ============================================================
   Racing Center Theme — Main Stylesheet
   Dark motorsport design inspired by MOZA Racing
   ============================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-text:        'Barlow', sans-serif;
  --font-heading:     'Barlow Condensed', sans-serif;
  --color-brand:      #c9af89;
  --color-brand-2:    #a8874e;
  --color-bg-dark:    #0d0d0d;
  --color-bg-surface: #1a1a1a;
  --color-bg-card:    #161616;
  --color-border:     #2a2a2a;
  --color-text:       #cccccc;
  --color-heading:    #ffffff;
  --color-muted:      #888888;
  --color-danger:     #e63946;
  --color-success:    #22c55e;
  --color-warning:    #f59e0b;
  --rc-radius:        4px;
  --rc-transition:    0.25s ease;
  --rc-container:     1320px;
  --rc-header-h:      64px;
  --rc-topbar-h:      36px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  background-color: var(--color-bg-dark);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--rc-transition); }
a:hover { color: var(--color-brand); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* ── Container ─────────────────────────────────────────────── */
.rc-container {
  max-width: var(--rc-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.rc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--rc-transition);
  white-space: nowrap;
}
.rc-btn--accent      { background: var(--color-brand); color: #0d0d0d; border-color: var(--color-brand); }
.rc-btn--accent:hover{ background: var(--color-brand-2); border-color: var(--color-brand-2); color: #fff; }
.rc-btn--outline-gold{ background: transparent; color: var(--color-brand); border-color: var(--color-brand); }
.rc-btn--outline-gold:hover { background: var(--color-brand); color: #0d0d0d; }
.rc-btn--outline-white{ background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.rc-btn--outline-white:hover{ background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.rc-btn--ghost       { background: transparent; color: var(--color-muted); border-color: var(--color-border); }
.rc-btn--ghost:hover { color: #fff; border-color: var(--color-text); }
.rc-btn--shop        { background: var(--color-brand); color: #0d0d0d; padding: 7px 18px; border-radius: 50px; font-weight: 600; font-size: 13px; }
.rc-btn--shop:hover  { background: var(--color-brand-2); color: #fff; }

/* ── Section titles ────────────────────────────────────────── */
.rc-section-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rc-section-title--center { text-align: center; }
.rc-section-header { display: flex; justify-content: center; margin-bottom: 32px; }
.rc-section-actions { display: flex; justify-content: center; margin-top: 40px; }
.rc-section__header { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.rc-section__desc { color: var(--color-muted); margin-top: -24px; margin-bottom: 32px; text-align: center; }

/* ── Preloader ─────────────────────────────────────────────── */
#rc-preloader {
  position: fixed; inset: 0; background: var(--color-bg-dark);
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#rc-preloader.hidden { opacity: 0; visibility: hidden; }
.rc-preloader__inner { text-align: center; }
.rc-preloader__logo  { max-height: 60px; margin: 0 auto 20px; }
.rc-preloader__text  { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--color-brand); letter-spacing: 0.1em; }
.rc-preloader__bar   { width: 200px; height: 2px; background: var(--color-border); margin: 16px auto 0; border-radius: 2px; overflow: hidden; }
.rc-preloader__progress { height: 100%; width: 0; background: var(--color-brand); animation: rcPreload 1.6s ease forwards; }
@keyframes rcPreload { to { width: 100%; } }

/* ── Header ────────────────────────────────────────────────── */
.rc-topbar {
  background: #000;
  height: var(--rc-topbar-h);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rc-topbar__inner {
  max-width: var(--rc-container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rc-topbar__links { display: flex; gap: 24px; }
.rc-topbar__link  { font-size: 12px; color: var(--color-muted); letter-spacing: 0.05em; }
.rc-topbar__link:hover { color: var(--color-brand); }
.rc-topbar__right { display: flex; align-items: center; gap: 16px; }
.rc-topbar__currency { position: relative; font-size: 12px; color: var(--color-muted); cursor: pointer; }
.rc-topbar__currency-active:hover { color: var(--color-brand); }
.rc-topbar__dropdown { display: none; position: absolute; right: 0; top: 100%; background: var(--color-bg-surface); border: 1px solid var(--color-border); padding: 8px 0; border-radius: var(--rc-radius); min-width: 100px; z-index: 100; }
.rc-topbar__currency:hover .rc-topbar__dropdown { display: block; }
.rc-topbar__dropdown li a { display: block; padding: 6px 16px; font-size: 12px; color: var(--color-text); }
.rc-topbar__dropdown li a:hover { color: var(--color-brand); }

.rc-header {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.rc-header.scrolled { background: rgba(10,10,10,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.rc-header__main { position: relative; }
.rc-header__inner {
  max-width: var(--rc-container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--rc-header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.rc-header__logo { flex-shrink: 0; }
.rc-logo { height: 36px; width: auto; }
.rc-logo-text { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 0.1em; text-transform: uppercase; }

/* Nav */
.rc-nav { flex: 1; justify-content: center; }
.rc-nav__list { display: flex; align-items: center; gap: 4px; }
.rc-nav__item { position: relative; }
.rc-nav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color var(--rc-transition);
}
.rc-nav__link:hover,
.rc-nav__item--active > .rc-nav__link { color: var(--color-brand); }
.rc-nav__arrow { font-size: 10px; margin-left: 2px; transition: transform var(--rc-transition); }
.rc-nav__item--dropdown:hover > .rc-nav__link .rc-nav__arrow { transform: rotate(180deg); }

/* Dropdown */
.rc-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #1a1a1a;
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-brand);
  border-radius: 0 0 var(--rc-radius) var(--rc-radius);
  z-index: 200;
  padding: 8px 0;
}
.rc-nav__item--dropdown:hover > .rc-nav__dropdown { display: block; }
.rc-nav__dropdown-item { position: relative; }
.rc-nav__dropdown-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--color-text);
  transition: all var(--rc-transition);
}
.rc-nav__dropdown-link:hover { color: var(--color-brand); background: rgba(201,175,137,0.06); }
.rc-nav__sub-dropdown {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 180px;
  background: #1a1a1a;
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-brand);
  padding: 8px 0;
  z-index: 201;
}
.rc-nav__dropdown-item--has-child:hover > .rc-nav__sub-dropdown { display: block; }
.rc-nav__sub-dropdown li a { display: block; padding: 8px 20px; font-size: 13px; color: var(--color-text); }
.rc-nav__sub-dropdown li a:hover { color: var(--color-brand); }

/* Header actions */
.rc-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.rc-icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  transition: color var(--rc-transition);
  border-radius: 50%;
}
.rc-icon-btn:hover { color: var(--color-brand); background: rgba(201,175,137,0.08); }
.rc-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  background: var(--color-brand);
  color: #0d0d0d;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Cart dropdown */
.rc-cart-wrap { position: relative; }
.rc-cart-dropdown {
  display: none;
  position: absolute;
  right: 0; top: 100%;
  padding-top: 8px;
  width: 320px;
  z-index: 300;
}
.rc-cart-dropdown__inner {
  background: var(--color-bg-surface);
  border: 1px solid var(--rc-border);
  border-radius: var(--rc-radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.rc-cart-wrap:hover .rc-cart-dropdown { display: block; }
/* Cart panel inner */
.rc-cart-panel__items { list-style: none; margin: 0; padding: 12px; max-height: 280px; overflow-y: auto; }
.rc-cart-panel__item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rc-border); }
.rc-cart-panel__item:last-child { border-bottom: none; }
.rc-cart-panel__img img { width: 54px; height: 54px; object-fit: cover; border-radius: 3px; }
.rc-cart-panel__info { flex: 1; min-width: 0; }
.rc-cart-panel__name { display: block; color: #fff; font-size: 13px; line-height: 1.3; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-cart-panel__name:hover { color: var(--color-brand); }
.rc-cart-panel__attrs { color: #888; font-size: 11px; }
.rc-cart-panel__price { color: var(--color-brand); font-size: 13px; font-weight: 600; }
.rc-cart-panel__price del { color: #666; font-weight: 400; margin-left: 4px; }
.rc-cart-panel__remove { color: #666; flex-shrink: 0; margin-top: 2px; font-size: 14px; }
.rc-cart-panel__remove:hover { color: var(--color-danger, #e63946); }
.rc-cart-panel__footer { padding: 12px; border-top: 1px solid var(--rc-border); }
.rc-cart-panel__total { margin-bottom: 10px; font-size: 13px; color: #aaa; display: flex; flex-direction: column; gap: 4px; }
.rc-cart-panel__grand { color: #fff; font-size: 14px; }
.rc-cart-panel__actions { display: flex; gap: 8px; }
.rc-cart-panel__btn { flex: 1; text-align: center; padding: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; border-radius: var(--rc-radius); background: var(--color-brand); color: #000; }
.rc-cart-panel__btn:hover { background: var(--color-brand-2, #a8874e); color: #000; }
.rc-cart-panel__btn--outline { background: transparent; border: 1px solid var(--rc-border); color: #ccc; }
.rc-cart-panel__btn--outline:hover { border-color: var(--color-brand); color: var(--color-brand); }
.rc-cart-panel__empty { padding: 20px; text-align: center; color: #666; font-size: 13px; margin: 0; }

/* Search bar */
.rc-search-bar {
  display: none;
  background: #0d0d0d;
  border-top: 1px solid var(--color-border);
  padding: 12px 0;
}
.rc-search-bar.active { display: block; }
.rc-search-bar__inner {
  max-width: var(--rc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rc-search-form { flex: 1; position: relative; }
.rc-search-form__input {
  width: 100%;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 10px 48px 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}
.rc-search-form__input:focus { border-color: var(--color-brand); }
.rc-search-form__btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--color-muted); cursor: pointer; font-size: 16px;
}
.rc-search-bar__close { background: none; border: none; color: var(--color-muted); cursor: pointer; font-size: 20px; padding: 4px; }
.rc-search-bar__close:hover { color: #fff; }
.panel--search-result {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 300;
  max-height: 400px;
  overflow-y: auto;
}

/* Burger */
.rc-burger { background: none; border: none; cursor: pointer; width: 38px; height: 38px; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; }
.rc-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: all 0.25s ease; }

/* Mobile sidebar */
.rc-mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1100;
}
.rc-mobile-overlay.active { display: block; }
.rc-mobile-menu {
  position: fixed; top: 0; left: -320px; bottom: 0;
  width: 300px;
  background: #111;
  z-index: 1200;
  overflow-y: auto;
  transition: left 0.3s ease;
  display: flex; flex-direction: column;
}
.rc-mobile-menu.active { left: 0; }
.rc-mobile-menu__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}
.rc-mobile-menu__close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.rc-mobile-menu__search { padding: 12px 20px; border-bottom: 1px solid var(--color-border); }
.rc-mobile-menu__search input { width: 100%; background: var(--color-bg-surface); border: 1px solid var(--color-border); color: #fff; padding: 8px 12px; border-radius: 4px; font-size: 14px; }
.rc-mobile-menu__nav { flex: 1; padding: 8px 0; }
.rc-mobile-nav { }
.rc-mobile-nav__item { border-bottom: 1px solid var(--color-border); }
.rc-mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.rc-mobile-nav__link:hover { color: var(--color-brand); }
.rc-mobile-nav__toggle { background: none; border: none; color: inherit; cursor: pointer; }
.rc-mobile-nav__sub { background: var(--color-bg-surface); }
.rc-mobile-nav__sub li a { display: block; padding: 10px 32px; font-size: 13px; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.rc-mobile-nav__sub li a:hover { color: var(--color-brand); }
.rc-mobile-menu__footer { padding: 20px; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 12px; }
.rc-mobile-menu__social { display: flex; gap: 12px; }
.rc-mobile-menu__social a { color: var(--color-muted); font-size: 18px; }
.rc-mobile-menu__social a:hover { color: var(--color-brand); }
.rc-mobile-menu__account { font-size: 13px; color: var(--color-text); display: flex; align-items: center; gap: 8px; }

/* ── Main layouts ──────────────────────────────────────────── */
.rc-main { min-height: 70vh; }
.rc-main--inner { padding: 0 0 60px; }
.rc-page-content { padding-top: 32px; }
.rc-row--sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 32px; margin-top: 32px; }
.rc-row--sidebar-left { grid-template-columns: 300px 1fr; }
@media (max-width: 991px) {
  .rc-row--sidebar,
  .rc-row--sidebar-left { grid-template-columns: 1fr; }
  .rc-row--sidebar-left .rc-col-sidebar { order: 2; }
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.rc-breadcrumb {
  background: #0a0a0a;
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.rc-breadcrumb__list { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; }
.rc-breadcrumb__link { color: var(--color-muted); }
.rc-breadcrumb__link:hover { color: var(--color-brand); }
.rc-breadcrumb__sep { color: var(--color-border); font-size: 10px; margin: 0 4px; }
.rc-breadcrumb__item--active { color: var(--color-text); }

/* ── Hero Slider ───────────────────────────────────────────── */
.rc-hero { position: relative; overflow: hidden; }
.rc-hero__slider { }
.rc-hero__slide { position: relative; min-height: 80vh; display: flex; align-items: center; }
.rc-hero__slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.rc-hero__slide-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0.2) 100%);
}
.rc-hero__slide-content {
  position: relative; z-index: 2;
  max-width: var(--rc-container);
  margin: 0 auto;
  padding: 80px 24px;
  max-width: 680px;
}
.rc-hero__label {
  display: inline-block;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-brand);
  margin-bottom: 16px;
  border-left: 3px solid var(--color-brand);
  padding-left: 12px;
}
.rc-hero__title { font-size: clamp(36px, 5vw, 72px); font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.1; }
.rc-hero__highlight { display: block; color: var(--color-brand); }
.rc-hero__desc { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 480px; }
.rc-hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Slick overrides */
.rc-hero__slider .slick-dots { bottom: 24px; }
.rc-hero__slider .slick-dots li button:before { display: none; }
.rc-hero__slider .slick-prev { left: 24px; }
.rc-hero__slider .slick-next { right: 24px; }

/* ── Ecosystem Section ─────────────────────────────────────── */
.rc-ecosystem { padding: 80px 0; background: var(--color-bg-dark); }
.rc-ecosystem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
@media (max-width: 767px) { .rc-ecosystem__grid { grid-template-columns: 1fr; } }
.rc-ecosystem__card { position: relative; overflow: hidden; cursor: pointer; }
.rc-ecosystem__img-wrap { overflow: hidden; aspect-ratio: 16/9; }
.rc-ecosystem__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rc-ecosystem__card:hover .rc-ecosystem__img { transform: scale(1.04); }
.rc-ecosystem__body { padding: 28px 32px 36px; background: #111; }
.rc-ecosystem__title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.rc-ecosystem__desc { font-size: 14px; color: var(--color-muted); margin-bottom: 20px; line-height: 1.7; }

/* ── Collections Gallery ───────────────────────────────────── */
.rc-gallery { padding: 0; }
.rc-gallery__grid { display: grid; gap: 2px; }
.rc-gallery__grid--4, .rc-gallery__grid--5, .rc-gallery__grid--6 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.rc-gallery__grid--4 .rc-gallery__item:nth-child(1) { grid-row: span 2; }
.rc-gallery__grid--6 .rc-gallery__item:nth-child(1),
.rc-gallery__grid--6 .rc-gallery__item:nth-child(4) { grid-row: span 2; }
.rc-gallery__item { position: relative; overflow: hidden; }
.rc-gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; min-height: 200px; }
.rc-gallery__item:hover .rc-gallery__img { transform: scale(1.04); }
.rc-gallery__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%); }
.rc-gallery__label { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: #fff; text-transform: uppercase; }
@media (max-width: 767px) {
  .rc-gallery__grid--4,
  .rc-gallery__grid--5,
  .rc-gallery__grid--6 { grid-template-columns: 1fr; }
  .rc-gallery__grid .rc-gallery__item { grid-row: span 1 !important; }
}

/* ── Sim Setups / Tabs ─────────────────────────────────────── */
.rc-sim-setups { padding: 80px 0; }
.rc-sim-setups__desc { text-align: center; color: var(--color-muted); margin-bottom: 24px; font-size: 14px; }
.rc-sim-setups__view-all { text-align: center; margin-top: 32px; }

.rc-tabs { }
.rc-tabs__nav { display: flex; gap: 4px; margin-bottom: 32px; justify-content: center; flex-wrap: wrap; }
.rc-tabs__btn {
  padding: 8px 24px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  border-radius: 50px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all var(--rc-transition);
}
.rc-tabs__btn:hover { color: var(--color-brand); border-color: var(--color-brand); }
.rc-tabs__btn--active { background: var(--color-brand); color: #0d0d0d; border-color: var(--color-brand); font-weight: 600; }
.rc-tabs__pane { display: none; }
.rc-tabs__pane--active { display: block; }

/* ── Media Banner Shortcode ────────────────────────────────── */
/* Title above media */
.rc-media-banner__header {
    padding: 48px 0 20px;
    text-align: left;
}
.rc-media-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 800;
    color: var(--color-heading);
    letter-spacing: .02em;
    margin-bottom: 8px;
}
.rc-media-banner__subtitle {
    font-size: 16px;
    color: var(--color-muted);
    margin: 0;
}
/* Media container */
.rc-media-banner__wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0d0d0d;
}
/* Entire banner clickable */
.rc-media-banner__link {
    position: absolute; inset: 0;
    z-index: 10;
    display: block;
}
/* Overlay */
.rc-media-banner__overlay {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.rc-media-banner__overlay--dark  { background: rgba(0,0,0,.45); }
.rc-media-banner__overlay--light { background: rgba(255,255,255,.18); }
/* Image */
.rc-media-banner__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
/* Video */
.rc-media-banner__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
/* iFrame embed (YouTube/Vimeo) */
.rc-media-banner__iframe {
    position: absolute;
    /* Oversized to hide letterbox bars */
    top: 50%; left: 50%;
    width: 177.78vh;   /* 16/9 × 100vh */
    height: 56.25vw;   /* 9/16 × 100vw */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}
/* Inner text overlay */
.rc-media-banner__inner-text {
    position: absolute; bottom: 0; left: 0; right: 0;
    z-index: 5; padding: 32px 40px;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
}
.rc-media-banner__inner-text .rc-media-banner__title  { color: #fff; }
.rc-media-banner__inner-text .rc-media-banner__subtitle { color: rgba(255,255,255,.75); }
/* Placeholder when no media set */
.rc-media-banner__placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; color: var(--color-muted); font-size: 14px;
    border: 2px dashed var(--rc-border);
}
.rc-media-banner__placeholder i { font-size: 48px; opacity: .4; }
/* Height variants */
.rc-media-banner--small  .rc-media-banner__wrap { height: 260px; }
.rc-media-banner--medium .rc-media-banner__wrap { height: 420px; }
.rc-media-banner--large  .rc-media-banner__wrap { height: 580px; }
.rc-media-banner--full   .rc-media-banner__wrap { height: 100vh; }
@media (max-width: 767px) {
    .rc-media-banner--large .rc-media-banner__wrap { height: 320px; }
    .rc-media-banner--full  .rc-media-banner__wrap { height: 60vh; }
    .rc-media-banner__header { padding: 32px 0 16px; }
    .rc-media-banner__inner-text { padding: 20px; }
}

/* ── Events Section ────────────────────────────────────────── */
.rc-events { padding: 80px 0; background: #0a0a0a; }
/* Fixed grid height so featured + side column are always equal */
.rc-events__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 480px;   /* total height of both columns */
    gap: 3px;
    margin-top: 32px;
}
@media (max-width: 767px) {
    .rc-events__grid { grid-template-columns: 1fr; grid-template-rows: none; }
}
/* Featured column fills full row height */
.rc-events__featured { height: 100%; }
.rc-events__card--featured { height: 100%; }
/* Side column: flex column so cards divide height equally */
.rc-events__side { display: flex; flex-direction: column; gap: 3px; height: 100%; }
.rc-events__card--side { flex: 1; min-height: 0; }   /* flex: 1 = equal share */
/* Card base */
.rc-events__card { position: relative; overflow: hidden; display: block; }
/* Images fill the card using absolute positioning — eliminates height mismatch */
.rc-events__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.rc-events__card:hover .rc-events__img { transform: scale(1.04); }
.rc-events__card-body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
    z-index: 1;
}
.rc-events__prize {
    font-family: var(--font-heading);
    font-size: 28px; font-weight: 800;
    color: var(--color-brand); line-height: 1; margin-bottom: 6px;
}
.rc-events__prize--sm { font-size: 18px; margin-bottom: 4px; }
.rc-events__card-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; line-height: 1.25; }
.rc-events__card--side .rc-events__card-title { font-size: 15px; }
.rc-events__card-subtitle { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; }
/* Mobile: restore natural heights */
@media (max-width: 767px) {
    .rc-events__featured, .rc-events__card--featured { height: auto; }
    .rc-events__card--featured .rc-events__img { position: relative; inset: auto; height: 260px; }
    .rc-events__side { height: auto; }
    .rc-events__card--side { flex: none; }
    .rc-events__card--side .rc-events__img { position: relative; inset: auto; height: 180px; }
    .rc-events__card-body { position: relative; background: rgba(0,0,0,0.8); }
}

/* ── News Section ──────────────────────────────────────────── */
.rc-news { padding: 80px 0; }
.rc-news__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1199px) { .rc-news__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .rc-news__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .rc-news__grid { grid-template-columns: 1fr; } }
.rc-news__card { }
.rc-news__img-wrap { display: block; overflow: hidden; border-radius: var(--rc-radius); margin-bottom: 16px; aspect-ratio: 16/10; }
.rc-news__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.rc-news__img-wrap:hover .rc-news__img { transform: scale(1.04); }
.rc-news__body { }
.rc-news__meta { margin-bottom: 8px; }
.rc-news__date { font-size: 12px; color: var(--color-muted); display: flex; align-items: center; gap: 6px; }
.rc-news__title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 12px; line-height: 1.4; }
.rc-news__title a:hover { color: var(--color-brand); }
.rc-news__read-more { font-size: 13px; color: var(--color-brand); display: flex; align-items: center; gap: 6px; }

/* ── Compatibility List ────────────────────────────────────── */
.rc-compat { padding: 80px 0; background: #090909; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.rc-compat__subtitle { text-align: center; color: var(--color-muted); font-size: 14px; margin-bottom: 40px; }
.rc-compat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 32px; margin-bottom: 48px; }
@media (max-width: 991px)  { .rc-compat__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .rc-compat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .rc-compat__grid { grid-template-columns: 1fr; } }
.rc-compat__col { }
.rc-compat__game { font-size: 14px; color: var(--color-text); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.rc-compat__game:last-child { border-bottom: none; }
.rc-compat__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Product Cards ─────────────────────────────────────────── */
.rc-product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--rc-radius);
  overflow: hidden;
  transition: all var(--rc-transition);
}
.rc-product-card:hover { border-color: rgba(201,175,137,0.3); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.rc-product-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 1; background: #111; }
.rc-product-card__img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform 0.4s ease; }
.rc-product-card:hover .rc-product-card__img { transform: scale(1.05); }
.rc-product-card__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 8px; border-radius: 2px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.rc-product-card__badge--sale { background: var(--color-danger); color: #fff; }
.rc-product-card__badge--new  { background: var(--color-brand); color: #0d0d0d; }
.rc-product-card__actions {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transition: opacity var(--rc-transition);
}
.rc-product-card:hover .rc-product-card__actions { opacity: 1; }
.rc-product-card__action {
  width: 32px; height: 32px;
  background: rgba(20,20,20,0.9);
  border: 1px solid var(--color-border);
  color: #fff; font-size: 13px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--rc-transition);
}
.rc-product-card__action:hover { background: var(--color-brand); color: #0d0d0d; border-color: var(--color-brand); }
.rc-product-card__body { padding: 14px; }
.rc-product-card__cat { font-size: 11px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.rc-product-card__name { font-size: 14px; font-weight: 500; color: var(--color-heading); margin-bottom: 8px; line-height: 1.4; }
.rc-product-card__name a:hover { color: var(--color-brand); }
.rc-product-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rc-product-card__price--old     { font-size: 12px; color: var(--color-muted); text-decoration: line-through; }
.rc-product-card__price--sale    { font-size: 16px; font-weight: 700; color: var(--color-brand); }
.rc-product-card__price--regular { font-size: 16px; font-weight: 700; color: var(--color-heading); }
.rc-product-card__stars { display: flex; gap: 2px; margin-top: 6px; }
.rc-product-card__stars .fa-star { font-size: 11px; color: var(--color-brand); }
.rc-star--empty { color: var(--color-border) !important; }

/* Sliders */
.rc-products-slider .slick-track { display: flex; gap: 16px; }
.rc-products-slider .slick-slide { padding: 0 8px; }
.rc-products-slider .slick-arrow {
  width: 36px; height: 36px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  z-index: 5;
}
.rc-products-slider .slick-arrow:hover { background: var(--color-brand); border-color: var(--color-brand); }
.rc-products-slider .slick-prev { left: -18px; }
.rc-products-slider .slick-next { right: -18px; }

/* Products Grid */
.rc-products-grid { display: grid; gap: 20px; }
.rc-products-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199px) { .rc-products-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .rc-products-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .rc-products-grid--4 { grid-template-columns: 1fr; } }

/* ── Featured Categories ───────────────────────────────────── */
.rc-featured-cats { padding: 60px 0; }
.rc-featured-cats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 991px)  { .rc-featured-cats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .rc-featured-cats__grid { grid-template-columns: repeat(2, 1fr); } }
.rc-featured-cats__item { display: block; border: 1px solid var(--color-border); border-radius: var(--rc-radius); overflow: hidden; transition: all var(--rc-transition); }
.rc-featured-cats__item:hover { border-color: var(--color-brand); transform: translateY(-2px); }
.rc-featured-cats__img-wrap { aspect-ratio: 4/3; overflow: hidden; background: #111; }
.rc-featured-cats__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.rc-featured-cats__item:hover .rc-featured-cats__img { transform: scale(1.06); }
.rc-featured-cats__footer { padding: 12px 16px; background: var(--color-bg-card); display: flex; align-items: center; justify-content: space-between; }
.rc-featured-cats__name { font-size: 13px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Category Icons Row ─────────────────────────────────────── */
.rc-cat-icons { padding: 32px 0; border-bottom: 1px solid var(--color-border); }
.rc-cat-icons__grid { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; justify-content: center; flex-wrap: wrap; }
.rc-cat-icons__item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--rc-radius); transition: background var(--rc-transition); min-width: 80px; }
.rc-cat-icons__item:hover { background: rgba(201,175,137,0.06); }
.rc-cat-icons__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.rc-cat-icons__icon img { max-width: 40px; max-height: 40px; object-fit: contain; filter: brightness(0.8); transition: filter var(--rc-transition); }
.rc-cat-icons__item:hover .rc-cat-icons__icon img { filter: brightness(1); }
.rc-cat-icons__icon i { font-size: 28px; color: var(--color-muted); transition: color var(--rc-transition); }
.rc-cat-icons__item:hover .rc-cat-icons__icon i { color: var(--color-brand); }
.rc-cat-icons__label { font-size: 12px; font-weight: 500; color: var(--color-muted); text-align: center; white-space: nowrap; transition: color var(--rc-transition); }
.rc-cat-icons__item:hover .rc-cat-icons__label { color: var(--color-brand); }

/* ── Why Buy ───────────────────────────────────────────────── */
.rc-why-buy { padding: 60px 0; }
.rc-why-buy__grid { display: grid; gap: 24px; }
.rc-why-buy__grid--4 { grid-template-columns: repeat(4, 1fr); }
.rc-why-buy__grid--5 { grid-template-columns: repeat(5, 1fr); }
.rc-why-buy__grid--6 { grid-template-columns: repeat(6, 1fr); }
.rc-why-buy__grid--8 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px)  { .rc-why-buy__grid--4,.rc-why-buy__grid--6,.rc-why-buy__grid--8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .rc-why-buy__grid--4,.rc-why-buy__grid--6,.rc-why-buy__grid--8 { grid-template-columns: 1fr; } }
.rc-why-buy__item { text-align: center; padding: 24px 16px; border: 1px solid var(--color-border); border-radius: var(--rc-radius); background: var(--color-bg-card); transition: all var(--rc-transition); }
.rc-why-buy__item:hover { border-color: rgba(201,175,137,0.3); background: #1a1a1a; }
.rc-why-buy__icon { margin-bottom: 16px; }
.rc-why-buy__icon img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto; }
.rc-why-buy__icon i { font-size: 36px; color: var(--color-brand); }
.rc-why-buy__title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.rc-why-buy__desc { font-size: 12px; color: var(--color-muted); line-height: 1.6; }

/* ── Site features strip ───────────────────────────────────── */
.rc-site-features { background: var(--color-bg-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 28px 0; }
.rc-site-features__grid { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.rc-site-features__item { display: flex; align-items: center; gap: 12px; }
.rc-site-features__icon i { font-size: 28px; color: var(--color-brand); }
.rc-site-features__title { font-size: 14px; font-weight: 600; color: #fff; }
.rc-site-features__desc { font-size: 12px; color: var(--color-muted); }

/* ── Flash Sale ────────────────────────────────────────────── */
.rc-flash-sale { padding: 60px 0; background: var(--color-bg-surface); }
.rc-flash-sale__header { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.rc-flash-sale__label { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.rc-flash-sale__label .fa-bolt { color: var(--color-warning); }
.rc-countdown { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--color-brand); letter-spacing: 0.05em; }

/* ── Brands ────────────────────────────────────────────────── */
.rc-brands { padding: 48px 0; }
.rc-brands__logo { filter: brightness(0.5); transition: filter var(--rc-transition); margin: 0 auto; max-height: 48px; object-fit: contain; }
.rc-brands__item:hover .rc-brands__logo { filter: brightness(1); }

/* ── Newsletter ────────────────────────────────────────────── */
.rc-newsletter-section { padding: 60px 0; text-align: center; background: var(--color-bg-surface); }
.rc-newsletter-section__title { font-size: 28px; margin-bottom: 8px; }
.rc-newsletter-section__desc { color: var(--color-muted); margin-bottom: 24px; }
.rc-newsletter-form--standalone { max-width: 480px; margin: 0 auto; }
.rc-newsletter-form__group { display: flex; gap: 0; }
.rc-newsletter-form__input {
  flex: 1; padding: 12px 20px;
  background: var(--color-bg-dark); border: 1px solid var(--color-border);
  color: #fff; font-size: 14px;
  border-radius: 50px 0 0 50px; outline: none;
}
.rc-newsletter-form__input:focus { border-color: var(--color-brand); }
.rc-newsletter-form__btn {
  padding: 12px 20px;
  background: var(--color-brand); color: #0d0d0d;
  border: none; border-radius: 0 50px 50px 0;
  cursor: pointer; font-size: 16px;
  transition: background var(--rc-transition);
}
.rc-newsletter-form__btn:hover { background: var(--color-brand-2); color: #fff; }

/* ── Footer ────────────────────────────────────────────────── */
.rc-footer { background: #0a0a0a; border-top: 1px solid var(--color-border); }

.rc-footer__newsletter {
  background: #111;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}
.rc-footer__newsletter-inner {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 32px; flex-wrap: wrap;
}
@media (max-width: 991px) {
  .rc-footer__newsletter-inner { grid-template-columns: 1fr; gap: 20px; }
}
.rc-footer__newsletter-title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.rc-footer__newsletter-desc  { font-size: 13px; color: var(--color-muted); }
.rc-footer__social { display: flex; gap: 16px; align-items: center; }
.rc-footer__social-link { font-size: 18px; color: var(--color-muted); transition: color var(--rc-transition); }
.rc-footer__social-link:hover { color: var(--color-brand); }

.rc-footer__main { padding: 56px 0 40px; }
.rc-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 767px) { .rc-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rc-footer__grid { grid-template-columns: 1fr; } }
.rc-footer__col-title { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.rc-footer__col-links li { margin-bottom: 10px; }
.rc-footer__col-links a { font-size: 13px; color: var(--color-muted); transition: color var(--rc-transition); }
.rc-footer__col-links a:hover { color: var(--color-brand); }

.rc-footer__bottom { border-top: 1px solid var(--color-border); padding: 20px 0; }
.rc-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.rc-footer__copyright { font-size: 12px; color: var(--color-muted); }
.rc-footer__bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rc-footer__payment { max-height: 24px; }
.rc-footer__currency { position: relative; font-size: 12px; color: var(--color-muted); cursor: pointer; }
.rc-footer__currency-active:hover { color: var(--color-brand); }
.rc-footer__currency-dropdown { display: none; position: absolute; bottom: 100%; right: 0; background: var(--color-bg-surface); border: 1px solid var(--color-border); padding: 8px 0; border-radius: var(--rc-radius); min-width: 100px; z-index: 100; }
.rc-footer__currency:hover .rc-footer__currency-dropdown { display: block; }
.rc-footer__currency-dropdown li a { display: block; padding: 6px 16px; font-size: 12px; color: var(--color-text); }

/* ── Scroll to top ─────────────────────────────────────────── */
.rc-scroll-up {
  position: fixed; right: 20px; bottom: 20px;
  width: 40px; height: 40px;
  background: var(--color-brand);
  color: #0d0d0d;
  display: none; align-items: center; justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: background var(--rc-transition);
}
.rc-scroll-up:hover { background: var(--color-brand-2); }
.rc-scroll-up.visible { display: flex; }

/* ── Sidebar ───────────────────────────────────────────────── */
.rc-sidebar { padding-top: 0; }
.rc-sidebar .widget { margin-bottom: 32px; padding: 24px; background: var(--color-bg-surface); border: 1px solid var(--color-border); border-radius: var(--rc-radius); }
.rc-sidebar .widget-title { font-size: 16px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--color-brand); }

/* ── FAQ Accordion ─────────────────────────────────────────── */
.rc-accordion__item { border-bottom: 1px solid var(--color-border); }
.rc-accordion__trigger {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; background: none; border: none; color: #fff; font-size: 15px; font-weight: 500; cursor: pointer;
}
.rc-accordion__trigger:hover { color: var(--color-brand); }
.rc-accordion__icon { transition: transform var(--rc-transition); flex-shrink: 0; }
.rc-accordion__item.open .rc-accordion__icon { transform: rotate(180deg); }
.rc-accordion__content { display: none; padding: 0 0 16px; color: var(--color-text); font-size: 14px; line-height: 1.7; }
.rc-accordion__item.open .rc-accordion__content { display: block; }

/* ── Search results ────────────────────────────────────────── */
.rc-search-result-item__link { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.rc-search-result-item__link:hover { background: rgba(255,255,255,0.04); }
.rc-search-result-item__img-wrap { width: 48px; height: 48px; flex-shrink: 0; }
.rc-search-result-item__img { width: 100%; height: 100%; object-fit: contain; }
.rc-search-result-item__name { font-size: 13px; color: var(--color-heading); }
.rc-search-result-item__price { font-size: 13px; color: var(--color-brand); margin-top: 2px; }
.rc-search-result-item--empty { padding: 16px; font-size: 13px; color: var(--color-muted); text-align: center; }

/* ── Alerts ────────────────────────────────────────────────── */
#alert-container { position: fixed; top: 80px; right: 20px; z-index: 9999; max-width: 360px; }
.alert { padding: 14px 20px; border-radius: var(--rc-radius); margin-bottom: 10px; font-size: 14px; border-left: 3px solid; }
.alert-success { background: rgba(34,197,94,0.1); border-color: var(--color-success); color: var(--color-success); }
.alert-danger  { background: rgba(230,57,70,0.1);  border-color: var(--color-danger);  color: var(--color-danger);  }

/* ── Modal ─────────────────────────────────────────────────── */
.rc-modal .modal-content { background: #1a1a1a !important; border: 1px solid #2a2a2a; color: var(--color-text); }
.rc-modal .modal-body { background: #1a1a1a; padding: 28px; }
.rc-modal .btn-close { filter: invert(1); position: absolute; top: 14px; right: 14px; z-index: 10; }
.rc-modal .modal-dialog { max-width: 960px; }
#quick-view-modal .modal-content { position: relative; }
/* Strip CMS content white backgrounds inside quick-view */
.quick-view-content { background: transparent !important; color: #ccc; }
.quick-view-content p, .quick-view-content span, .quick-view-content div:not([class*="rc-"]) { background: transparent !important; color: #ccc; }
.quick-view-content .rc-quick-view__desc, .quick-view-content .rc-quick-view__desc * { background: transparent !important; color: #ccc !important; }

/* ── Cart page dark theme ───────────────────────────────────── */
.section--shopping-cart { color: var(--color-text); }
.table--cart, .table--cart th, .table--cart td { color: var(--color-text) !important; border-color: var(--rc-border) !important; background: transparent !important; }
.table--cart thead th { color: var(--color-heading) !important; border-bottom: 2px solid var(--rc-border) !important; }
.table--cart a { color: var(--color-text); }
.table--cart a:hover { color: var(--color-brand); }
.cart-totals { background: var(--color-bg-surface) !important; border-color: var(--rc-border) !important; color: var(--color-text); }
.cart-totals table td, .cart-totals table th { color: var(--color-text) !important; border-color: var(--rc-border) !important; background: transparent !important; }
.cart_total_amount .text-brand { color: var(--color-brand) !important; }
.coupon input { background: var(--color-bg-surface) !important; border: 1px solid var(--rc-border) !important; color: var(--color-text) !important; border-radius: var(--rc-radius); padding: 8px 12px; width: 100%; }
.detail-qty { display: inline-flex; align-items: center; border: 1px solid var(--rc-border); border-radius: var(--rc-radius); overflow: hidden; }
.detail-qty a { padding: 6px 10px; color: var(--color-text); }
.detail-qty a:hover { color: var(--color-brand); }
.detail-qty .qty-input { width: 50px; text-align: center; background: transparent; border: none; color: var(--color-text); }
.text-muted.remove-cart-button { color: #666 !important; }
.text-muted.remove-cart-button:hover { color: var(--color-danger) !important; }
/* Cart page buttons */
.section--shopping-cart .btn,
.section--shopping-cart .btn-rounded,
.section--shopping-cart .btn-apply-coupon-code {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: var(--rc-radius);
    background: var(--color-bg-surface); color: var(--color-text) !important;
    border: 1px solid var(--rc-border); font-size: 14px; cursor: pointer;
    text-decoration: none; transition: border-color .2s, color .2s;
}
.section--shopping-cart .btn:hover,
.section--shopping-cart .btn-rounded:hover,
.section--shopping-cart .btn-apply-coupon-code:hover { border-color: var(--color-brand); color: var(--color-brand) !important; }
.section--shopping-cart button[name="checkout"] {
    background: var(--color-brand); color: #000 !important;
    border-color: var(--color-brand); font-weight: 700;
}
.section--shopping-cart button[name="checkout"]:hover { background: var(--color-brand-2); border-color: var(--color-brand-2); }
/* Cart image bg */
.table--cart .product-thumbnail img { background: var(--color-bg-surface); border-radius: var(--rc-radius); }
/* Divider icon */
.divider.center_icon { text-align: center; color: var(--color-brand); margin: 20px 0; font-size: 16px; }
.divider.center_icon i { font-size: 18px; }
/* Font brand color override for totals */
.font-lg.fw-900.text-brand, .font-xl.fw-900.text-brand { color: var(--color-brand) !important; }
/* ── Compare page ───────────────────────────────────────────── */
.table__compare { overflow-x: auto; }
.table__compare .table { border-collapse: collapse; min-width: 600px; }
.table__compare .table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--rc-border);
    vertical-align: middle;
    color: var(--color-text);
    background: transparent !important;
    font-size: 14px;
}
/* Label column */
.table__compare .table td:first-child {
    width: 140px; min-width: 120px;
    color: var(--color-muted);
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
    background: rgba(255,255,255,.02) !important;
    border-right: 1px solid var(--rc-border);
}
/* Product image */
.table__compare .row_img img {
    width: 120px; height: 120px; object-fit: contain;
    background: #111; border-radius: var(--rc-radius);
    padding: 8px; border: 1px solid var(--rc-border);
}
/* Product name */
.table__compare .product_name h5 { margin: 0; }
.table__compare .product_name h5 a { font-size: 16px; font-weight: 700; color: var(--color-heading); }
.table__compare .product_name h5 a:hover { color: var(--color-brand); }
/* Price */
.table__compare .product_price .price { font-size: 18px; font-weight: 700; color: var(--color-brand); }
.table__compare .product_price del { color: var(--color-muted); font-size: 13px; margin-left: 6px; }
.table__compare .product_price small { color: var(--color-danger); font-size: 12px; }
/* Description */
.table__compare .row_text p { margin: 0; color: var(--color-muted) !important; font-size: 13px; line-height: 1.6; background: transparent !important; }
.table__compare .row_text p * { background: transparent !important; color: inherit !important; }
/* Add to cart */
.table__compare .row_btn .add-to-cart-button {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; border-radius: var(--rc-radius);
    background: var(--color-brand); color: #000 !important;
    font-size: 13px; font-weight: 700; transition: background .2s;
    white-space: nowrap;
}
.table__compare .row_btn .add-to-cart-button:hover { background: var(--color-brand-2); }
/* Ensure product columns have a minimum width so buttons don't wrap */
.table__compare .table td:not(:first-child) { min-width: 180px; }
/* Remove */
.table__compare .row_remove a {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--color-muted);
    border: 1px solid var(--rc-border); padding: 7px 14px;
    border-radius: var(--rc-radius); transition: color .2s, border-color .2s;
}
.table__compare .row_remove a:hover { color: var(--color-danger); border-color: var(--color-danger); }
/* Alternate row shading */
.table__compare .table tr:nth-child(even) td { background: rgba(255,255,255,.015) !important; }
/* Wishlist page table */
.shopping-summery { width: 100%; border-collapse: collapse; }
.shopping-summery th { color: var(--color-muted) !important; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--rc-border) !important; background: transparent !important; }
.shopping-summery td { color: var(--color-text) !important; padding: 14px 12px; border-bottom: 1px solid var(--rc-border) !important; background: transparent !important; vertical-align: middle; }
.shopping-summery a { color: var(--color-text); }
.shopping-summery a:hover { color: var(--color-brand); }
.shopping-summery .product-thumbnail img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--rc-radius); background: var(--color-bg-surface); }
.shopping-summery .add-to-cart-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--color-brand); color: #000 !important; border-radius: var(--rc-radius); font-size: 13px; font-weight: 600; }
.shopping-summery .add-to-cart-button:hover { background: var(--color-brand-2); }
.shopping-summery .js-remove-from-wishlist-button { color: #555; font-size: 16px; }
.shopping-summery .js-remove-from-wishlist-button:hover { color: var(--color-danger); }
/* Wishlist page pagination */
.pagination { display: flex; gap: 4px; list-style: none; padding: 0; margin: 20px 0; justify-content: center; }
.pagination .page-item .page-link { background: var(--color-bg-surface); border: 1px solid var(--rc-border); color: var(--color-text); padding: 6px 12px; border-radius: var(--rc-radius); }
.pagination .page-item.active .page-link { background: var(--color-brand); border-color: var(--color-brand); color: #000; }
.pagination .page-item.disabled .page-link { opacity: .4; pointer-events: none; }

/* ── Products page — sort bar ──────────────────────────────── */
.shop-product-filter { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--rc-border); margin-bottom: 20px; font-size: 14px; color: var(--color-text); }
.total-product p { margin: 0; color: var(--color-muted); }
.sort-by-product-area { display: flex; align-items: center; gap: 12px; }
.sort-by-cover { position: relative; }
.sort-by-product-wrap { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 14px; background: var(--color-bg-surface); border: 1px solid var(--rc-border); border-radius: var(--rc-radius); font-size: 13px; color: var(--color-text); user-select: none; }
.sort-by-product-wrap:hover { border-color: var(--color-brand); color: var(--color-brand); }
.sort-by-dropdown { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: var(--color-bg-surface); border: 1px solid var(--rc-border); border-radius: var(--rc-radius); z-index: 200; min-width: 160px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.sort-by-cover:hover .sort-by-dropdown,
.sort-by-cover.open .sort-by-dropdown { display: block; }
.sort-by-dropdown ul { list-style: none; margin: 0; padding: 6px 0; }
.sort-by-dropdown ul li a { display: block; padding: 8px 16px; font-size: 13px; color: var(--color-text); }
.sort-by-dropdown ul li a:hover,
.sort-by-dropdown ul li a.active { color: var(--color-brand); background: rgba(255,255,255,.04); }
.shop-filter-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-muted); cursor: pointer; margin-bottom: 10px; }
.shop-filter-toggle:hover { color: var(--color-brand); }

/* ── Products page — product-cart-wrap card ────────────────── */
.product-grid { row-gap: 28px; }
.product-cart-wrap { background: var(--color-bg-surface); border: 1px solid var(--rc-border); border-radius: var(--rc-radius); overflow: hidden; position: relative; transition: border-color .25s, box-shadow .25s; }
.product-cart-wrap:hover { border-color: var(--color-brand); box-shadow: 0 4px 24px rgba(0,0,0,.4); }

/* Image area */
.product-img-action-wrap { position: relative; overflow: hidden; background: #111; }
.product-img { display: block; }
.product-img img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: contain; padding: 12px; }
.product-img .hover-img { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.product-cart-wrap:hover .hover-img { opacity: 1; }

/* Hover action icons (quick-view, wishlist, compare) */
.product-action-1:not(.show) {
    position: absolute; right: 8px; top: 8px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(12px);
    transition: opacity .25s, transform .25s;
    z-index: 2;
}
.product-cart-wrap:hover .product-action-1:not(.show) { opacity: 1; transform: translateX(0); }

/* Bottom "Add to Cart" action */
.product-action-1.show { display: flex; flex-direction: row; gap: 0; padding: 8px 12px 10px; }
.product-action-1.show .action-btn { width: 100%; border-radius: var(--rc-radius); justify-content: center; gap: 6px; font-size: 13px; background: transparent; border-color: var(--rc-border); color: var(--color-muted); }
.product-action-1.show .action-btn:hover { background: var(--color-brand); border-color: var(--color-brand); color: #000; }

/* Icon buttons */
.action-btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: rgba(17,17,17,.85); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: #ddd; font-size: 14px; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.action-btn:hover { background: var(--color-brand); border-color: var(--color-brand); color: #000; }

/* Badges */
.product-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.product-badges span { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px; background: var(--color-brand); color: #000; letter-spacing: .04em; }
.product-badges .badge-oos { background: #444; color: #ccc; }
/* Override any inline black badge bg */
.product-badges span[style*="background-color: #000"],
.product-badges span[style*="background-color:#000"] { background-color: #444 !important; color: #ccc !important; }

/* Card content */
.product-content-wrap { padding: 12px 14px 0; }
.product-category { margin-bottom: 4px; }
.product-category a { font-size: 11px; color: var(--color-brand); text-transform: uppercase; letter-spacing: .06em; }
.product-content-wrap h2 { font-size: 15px; font-weight: 600; color: var(--color-heading); margin: 0 0 6px; line-height: 1.3; }
.product-content-wrap h2 a { color: inherit; }
.product-content-wrap h2 a:hover { color: var(--color-brand); }
.product-price { display: flex; gap: 8px; align-items: center; font-size: 16px; font-weight: 700; color: var(--color-brand); margin-bottom: 4px; }
.product-price .old-price { font-size: 13px; color: var(--color-muted); font-weight: 400; text-decoration: line-through; }

/* Star rating */
.rating_wrap { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.rating { position: relative; display: inline-block; font-size: 13px; line-height: 1; color: transparent; }
.rating::before { content: '★★★★★'; color: var(--rc-border); }
.product_rate { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; }
.product_rate::before { content: '★★★★★'; color: var(--color-brand); }
.rating_num { font-size: 12px; color: var(--color-muted); }

/* ── Language switcher ─────────────────────────────────────── */
.rc-lang-switcher { position: relative; }
.rc-lang-switcher__active { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-muted); cursor: pointer; }
.rc-lang-switcher__active:hover { color: var(--color-brand); }
.rc-lang-switcher__dropdown { display: none; position: absolute; top: 100%; right: 0; background: var(--color-bg-surface); border: 1px solid var(--color-border); border-radius: var(--rc-radius); padding: 8px 0; z-index: 300; min-width: 140px; }
.rc-lang-switcher:hover .rc-lang-switcher__dropdown { display: block; }
.rc-lang-switcher__dropdown li a { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 13px; color: var(--color-text); }
.rc-lang-switcher__dropdown li a:hover { color: var(--color-brand); background: rgba(255,255,255,0.03); }

/* ── Utilities ─────────────────────────────────────────────── */
.d-none    { display: none !important; }
.d-flex    { display: flex !important; }
.d-block   { display: block !important; }
.lazyload  { }
.lazyloaded { }
@media (min-width: 992px) {
  .d-lg-flex   { display: flex !important; }
  .d-lg-block  { display: block !important; }
  .d-lg-none   { display: none !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
}
@media (max-width: 991px) {
  .d-lg-none   { display: none !important; }
}

/* ── Slick base fixes ──────────────────────────────────────── */
.slick-slider { position: relative; display: block; user-select: none; touch-action: pan-y; }
.slick-list   { overflow: hidden; position: relative; display: block; margin: 0; padding: 0; }
.slick-track  { display: flex; position: relative; top: 0; left: 0; }
.slick-slide  { float: left; height: 100%; min-height: 1px; }
/* ── Slick: Arrows ──────────────────────────────────────────── */
.slick-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; cursor: pointer; border: none; outline: none;
  font-size: 0 !important; line-height: 0 !important; color: transparent !important;
  overflow: hidden; text-indent: -9999px;
  display: flex !important; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}
.slick-arrow:hover { background: var(--color-brand) !important; border-color: var(--color-brand) !important; }
.slick-arrow:before { display: none !important; }
/* CSS chevron arrows */
.slick-prev::after, .slick-next::after {
  content: ''; display: block; position: absolute;
  width: 10px; height: 10px;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.slick-prev::after { transform: rotate(-135deg); margin-left: 3px; }
.slick-next::after { transform: rotate(45deg); margin-right: 3px; }
.slick-arrow:hover::after { border-color: #111; }

/* ── Slick: Dots ────────────────────────────────────────────── */
.slick-dots {
  position: absolute; bottom: 0; width: 100%; padding: 0; margin: 0;
  display: flex !important; justify-content: center; gap: 6px; align-items: center;
  list-style: none !important;
}
.slick-dots li {
  width: auto !important; height: auto !important; margin: 0 !important;
  list-style: none !important; display: inline-block;
}
.slick-dots li::marker, .slick-dots li::before { display: none !important; content: none !important; }
.slick-dots li button {
  display: block; width: 8px; height: 8px; padding: 0;
  font-size: 0 !important; line-height: 0 !important; color: transparent !important;
  text-indent: -9999px; overflow: hidden;
  background: rgba(255,255,255,0.3); border: none; border-radius: 50%; cursor: pointer;
  transition: all 0.25s ease;
}
.slick-dots li button:before { display: none !important; }
.slick-dots li.slick-active button { background: var(--color-brand); width: 24px; border-radius: 4px; }

/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Gallery ─────────────────────────────────────────────────── */
.detail-gallery { position: relative; }
/* Force dark bg on every element inside the main slider */
.product-image-slider,
.product-image-slider *,
.product-image-slider .slick-list,
.product-image-slider .slick-track,
.product-image-slider .slick-slide,
.product-image-slider .slick-slide > div,
.product-image-slider figure,
.product-image-slider figure a { background: #111 !important; }
.product-image-slider { border-radius: var(--rc-radius); overflow: hidden; position: relative; }
.product-image-slider figure { margin: 0; display: flex !important; align-items: center; justify-content: center; min-height: 340px; }
.product-image-slider figure a { display: flex !important; align-items: center; justify-content: center; width: 100%; }
.product-image-slider img { width: 100%; max-height: 480px; object-fit: contain; padding: 16px; display: block; background: #111 !important; }
/* When not yet slick-initialized: hide all but first figure */
.product-image-slider:not(.slick-initialized) figure + figure { display: none; }
/* Arrows: keep inside slider bounds */
.product-image-slider .slick-prev { left: 10px !important; }
.product-image-slider .slick-next { right: 10px !important; }
/* Thumbnail strip — plain flex row, no slick */
.slider-nav-thumbnails {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: 10px; padding: 8px;
    background: #111; border-radius: var(--rc-radius);
}
/* Thumbnail cells */
.slider-nav-thumbnails > div {
    width: 76px; flex-shrink: 0;
    background: #111 !important;
    border: 2px solid var(--rc-border);
    border-radius: var(--rc-radius);
    overflow: hidden; cursor: pointer;
    transition: border-color .2s;
}
.slider-nav-thumbnails > div.rc-thumb-active,
.slider-nav-thumbnails > div:hover { border-color: var(--color-brand); }
.slider-nav-thumbnails img { width: 100%; height: 68px; object-fit: contain; background: #111 !important; padding: 4px; display: block; }
/* Social share */
.single-social-share p { color: var(--color-muted); font-size: 13px; }
.mobile-social-icon { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-social-icon a { display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; font-size: 14px; font-weight: 600;
    background: var(--color-bg-surface); border: 1px solid var(--rc-border); color: var(--color-text);
    transition: background .2s, border-color .2s, color .2s; }
.mobile-social-icon a.facebook:hover  { background: #1877f2; border-color: #1877f2; color: #fff; }
.mobile-social-icon a.twitter:hover   { background: #1da1f2; border-color: #1da1f2; color: #fff; }
.mobile-social-icon a.linkedin:hover  { background: #0077b5; border-color: #0077b5; color: #fff; }
.mail-to-friend { font-size: 13px; color: var(--color-muted); }
.mail-to-friend:hover { color: var(--color-brand); }

/* ── Detail info panel ───────────────────────────────────────── */
.detail-info { padding-left: 8px; }
.title-detail { font-size: 26px; font-weight: 800; color: var(--color-heading); margin-bottom: 10px; line-height: 1.2; font-family: var(--font-heading); letter-spacing: .01em; }
/* Brand + rating row */
.product-detail-rating { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pro-details-brand { font-size: 13px; color: var(--color-muted); }
.pro-details-brand a { color: var(--color-brand); font-weight: 600; }
.pro-details-brand a:hover { color: var(--color-brand-2); }
/* Price */
.product-price-cover { margin-bottom: 4px; }
.product-price-cover .product-price { display: flex; gap: 12px; align-items: baseline; margin-bottom: 0; }
.product-price-cover .text-brand { font-size: 28px; font-weight: 800; color: var(--color-brand); }
.product-price-cover .old-price { font-size: 16px; color: var(--color-muted); text-decoration: line-through; font-weight: 400; }
.product-price-cover .save-price { font-size: 13px; color: var(--color-success); font-weight: 600; }
.product-price-cover ins { text-decoration: none; }
/* Divider */
.bt-1.border-color-1 { border-top: 1px solid var(--rc-border); }
/* Short description — force all text visible regardless of CMS inline styles */
.short-desc { font-size: 14px; color: var(--color-text); line-height: 1.7; }
.short-desc,
.short-desc p,
.short-desc span,
.short-desc div,
.short-desc li,
.short-desc ul,
.short-desc ol,
.short-desc strong,
.short-desc em,
.short-desc b,
.short-desc i,
.short-desc td,
.short-desc th { color: var(--color-text) !important; background: transparent !important; }
.short-desc a { color: var(--color-brand) !important; background: transparent !important; }
.short-desc h1,.short-desc h2,.short-desc h3,.short-desc h4,.short-desc h5 { color: var(--color-heading) !important; background: transparent !important; }

/* ── Qty + Buttons row ───────────────────────────────────────── */
.detail-extralink { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.detail-qty { display: inline-flex; align-items: center; gap: 0; background: var(--color-bg-surface); border: 1px solid var(--rc-border); border-radius: var(--rc-radius); overflow: hidden; height: 44px; }
.detail-qty a { display: flex; align-items: center; justify-content: center; width: 36px; height: 44px; color: var(--color-muted); font-size: 16px; transition: color .2s, background .2s; cursor: pointer; }
.detail-qty a:hover { color: var(--color-brand); background: rgba(255,255,255,.05); }
.detail-qty .qty-val { width: 48px; text-align: center; background: transparent; border: none; color: var(--color-heading); font-size: 15px; font-weight: 600; outline: none; height: 44px; -moz-appearance: textfield; }
.detail-qty .qty-val::-webkit-outer-spin-button,
.detail-qty .qty-val::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
/* Add to cart / Buy Now buttons */
.product-extra-link2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button.button-add-to-cart,
.button.button-buy-now {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 28px; border-radius: var(--rc-radius);
    font-size: 14px; font-weight: 700; font-family: var(--font-heading);
    letter-spacing: .05em; text-transform: uppercase;
    border: 2px solid transparent; cursor: pointer;
    transition: background .2s, border-color .2s, color .2s; white-space: nowrap;
}
.button.button-add-to-cart { background: var(--color-brand); border-color: var(--color-brand); color: #000 !important; }
.button.button-add-to-cart:hover:not(:disabled) { background: var(--color-brand-2); border-color: var(--color-brand-2); color: #000 !important; }
.button.button-buy-now { background: transparent; border-color: var(--color-brand); color: var(--color-brand) !important; }
.button.button-buy-now:hover:not(:disabled) { background: var(--color-brand); color: #000 !important; }
.button.btn-disabled,
.button:disabled { opacity: .45; cursor: not-allowed; }
/* Wishlist/compare icon buttons in detail row */
.product-extra-link2 .action-btn { width: 42px; height: 42px; font-size: 16px; border-radius: 50%; flex-shrink: 0; }

/* ── Product meta (SKU / Categories / Availability) ─────────── */
.product-meta { list-style: none; padding: 0; margin-top: 20px !important; }
.product-meta li { font-size: 13px; color: var(--color-muted); }
.product-meta li span { color: var(--color-text); }
.product-meta li a { color: var(--color-text); }
.product-meta li a:hover { color: var(--color-brand); }
.product-meta .in-stock { color: var(--color-success) !important; }
.product-meta .text-danger { color: var(--color-danger) !important; }

/* ── Tabs (Description / Reviews) ───────────────────────────── */
.tab-style3 { margin-top: 40px; border-top: 1px solid var(--rc-border); padding-top: 8px; }
.tab-style3 .nav-tabs { border-bottom: 2px solid var(--rc-border); padding: 0; margin: 0 0 24px; display: flex; gap: 0; list-style: none; }
.tab-style3 .nav-tabs .nav-item { margin-bottom: -2px; }
.tab-style3 .nav-tabs .nav-link {
    display: block; padding: 12px 24px;
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    font-family: var(--font-heading);
    color: var(--color-muted); background: transparent; border: none;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: color .2s, border-color .2s; cursor: pointer;
}
.tab-style3 .nav-tabs .nav-link:hover { color: var(--color-brand); }
.tab-style3 .nav-tabs .nav-link.active { color: var(--color-brand); border-bottom-color: var(--color-brand); }
/* Tab content — force ALL text visible including CMS inline color styles */
.shop_info_tab { color: var(--color-text); }
.shop_info_tab .ck-content { color: var(--color-text); line-height: 1.8; font-size: 14px; }
.shop_info_tab .ck-content,
.shop_info_tab .ck-content p,
.shop_info_tab .ck-content span,
.shop_info_tab .ck-content div,
.shop_info_tab .ck-content li,
.shop_info_tab .ck-content ul,
.shop_info_tab .ck-content ol,
.shop_info_tab .ck-content strong,
.shop_info_tab .ck-content em,
.shop_info_tab .ck-content b,
.shop_info_tab .ck-content i,
.shop_info_tab .ck-content td { color: var(--color-text) !important; background: transparent !important; }
.shop_info_tab .ck-content h1,.shop_info_tab .ck-content h2,
.shop_info_tab .ck-content h3,.shop_info_tab .ck-content h4 { color: var(--color-heading) !important; background: transparent !important; margin-top: 1.2em; }
.shop_info_tab .ck-content a { color: var(--color-brand) !important; background: transparent !important; }
.shop_info_tab .ck-content table { width: 100%; border-collapse: collapse; }
.shop_info_tab .ck-content table th,
.shop_info_tab .ck-content table td { border: 1px solid var(--rc-border); padding: 8px 12px; }
.shop_info_tab .ck-content table th { background: var(--color-bg-surface) !important; color: var(--color-heading) !important; }
.shop_info_tab .ck-content img { max-width: 100%; border-radius: var(--rc-radius); }

/* ── Reviews tab ─────────────────────────────────────────────── */
/* Target all form controls inside the reviews tab broadly */
#Reviews .form-control,
#Reviews textarea,
#Reviews input[type="text"],
#Reviews input[type="email"],
#Reviews input[type="number"],
.comment-form .form-control,
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.shop_info_tab textarea,
.shop_info_tab input[type="text"],
.shop_info_tab input[type="email"],
.shop_info_tab .form-control {
    background: var(--color-bg-surface) !important;
    border: 1px solid var(--rc-border) !important;
    color: var(--color-text) !important;
    border-radius: var(--rc-radius) !important;
    padding: 10px 14px !important;
}
#Reviews .form-control:focus,
.comment-form .form-control:focus,
.shop_info_tab .form-control:focus { border-color: var(--color-brand) !important; outline: none !important; box-shadow: none !important; }
#Reviews label,
.comment-form label { color: var(--color-muted); font-size: 13px; margin-bottom: 4px; display: block; }
#Reviews h2, #Reviews h3, #Reviews h4,
.comment-form h2, .comment-form h3, .comment-form h4 { color: var(--color-heading); }
#Reviews p, .comment-form p { color: var(--color-text); font-size: 14px; }
#Reviews .text-danger { color: var(--color-danger) !important; font-size: 13px; }
/* Review submit button */
#Reviews .button,
.comment-form .button { background: var(--color-brand) !important; color: #000 !important; padding: 10px 24px; border-radius: var(--rc-radius); font-weight: 700; border: none; cursor: pointer; }
#Reviews .button:hover,
.comment-form .button:hover { background: var(--color-brand-2) !important; }
/* Upload photo widget */
.review-images-widget { border: 2px dashed var(--rc-border); border-radius: var(--rc-radius); padding: 12px; display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: var(--color-muted); font-size: 12px; cursor: pointer; background: var(--color-bg-surface); min-width: 80px; min-height: 80px; }
.review-images-widget:hover { border-color: var(--color-brand); color: var(--color-brand); }
/* Info notice box */
#Reviews .alert-info,
.shop_info_tab .alert-info { background: rgba(14,165,233,.1) !important; border: 1px solid rgba(14,165,233,.25) !important; color: var(--color-text) !important; border-radius: var(--rc-radius); padding: 10px 14px; font-size: 13px; }
/* Review items */
.comment-list .comment .the-comment { background: var(--color-bg-surface); border: 1px solid var(--rc-border); border-radius: var(--rc-radius); padding: 16px; margin-bottom: 16px; }
.comment-list .comment .the-comment .author-name { color: var(--color-heading); font-weight: 600; }
.comment-list .comment .the-comment .comment-date,
.comment-list .comment .the-comment p { color: var(--color-muted); font-size: 13px; }

/* ── Section titles (Related / Cross-sell) ───────────────────── */
.section-title.style-1 {
    font-size: 22px; font-weight: 800; color: var(--color-heading);
    font-family: var(--font-heading); letter-spacing: .04em; text-transform: uppercase;
    position: relative; padding-bottom: 10px;
}
.section-title.style-1::after {
    content: ''; display: block; width: 40px; height: 3px;
    background: var(--color-brand); border-radius: 2px;
    position: absolute; bottom: 0; left: 0;
}

/* ── Product swatches (variations) ──────────────────────────── */
.pr_switch_wrap { margin-bottom: 16px; }
.swatch-wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.swatch-wrap .swatch-label { font-size: 13px; color: var(--color-muted); margin-right: 4px; }
.swatch-item {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 2px solid var(--rc-border); border-radius: var(--rc-radius);
    font-size: 13px; color: var(--color-text); cursor: pointer; transition: .2s;
    background: var(--color-bg-surface);
}
.swatch-item:hover, .swatch-item.active { border-color: var(--color-brand); color: var(--color-brand); }
.swatch-item.disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }
/* Color swatch circle variant */
.swatch-item.swatch-color { width: 28px; height: 28px; padding: 0; border-radius: 50%; min-width: 28px; }

/* ── Number items available notice ──────────────────────────── */
.number-items-available { font-size: 13px; }

/* ── Customisation box ───────────────────────────────────────── */
.bg-light { background: var(--color-bg-surface) !important; }
.text-muted { color: var(--color-muted) !important; }
.rounded-3 { border-radius: 6px !important; }
.border { border: 1px solid var(--rc-border) !important; }
.badge.bg-secondary { background: #555 !important; color: #ddd !important; font-size: 11px; padding: 3px 8px; border-radius: 3px; }

/* ═══════════════════════════════════════════════════════════════════════
   Shop The Look — shoppable image with product hotspots
   ═══════════════════════════════════════════════════════════════════════ */
.rc-stl { }
.rc-stl__header { padding: 40px 0 20px; text-align: center; }
.rc-stl__title  { font-size: 2rem; font-weight: 700; color: var(--color-heading); margin: 0; }

/* Canvas */
.rc-stl__canvas { position: relative; width: 100%; line-height: 0; }
.rc-stl__img    { display: block; width: 100%; height: auto; }

/* ── Hotspot dot ─────────────────────────────────────────────── */
.rc-stl__dot {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    background: none; border: none; padding: 0;
    cursor: pointer; z-index: 10;
}
/* Pulsing outer ring */
.rc-stl__dot-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 44px; height: 44px;
    border: 2px solid rgba(255,255,255,.7);
    border-radius: 50%;
    transform: translate(-50%,-50%) scale(.5);
    animation: rc-stl-pulse 2.2s ease-out infinite;
}
/* Solid white inner core */
.rc-stl__dot-core {
    position: absolute;
    top: 50%; left: 50%;
    width: 14px; height: 14px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 0 3px rgba(255,255,255,.3);
    transition: transform .2s;
}
.rc-stl__dot:hover .rc-stl__dot-core { transform: translate(-50%,-50%) scale(1.25); }

@keyframes rc-stl-pulse {
    0%   { transform: translate(-50%,-50%) scale(.45); opacity: 1; }
    80%  { transform: translate(-50%,-50%) scale(1.2);  opacity: 0; }
    100% { transform: translate(-50%,-50%) scale(1.2);  opacity: 0; }
}

/* ── Tooltip ─────────────────────────────────────────────────── */
.rc-stl__tooltip {
    position: absolute;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 10px;
    display: flex; align-items: center; gap: 10px;
    width: 220px;
    opacity: 0; pointer-events: none;
    transition: opacity .18s;
    z-index: 100;
    text-align: left;
}
.rc-stl__dot:hover .rc-stl__tooltip { opacity: 1; }

/* Default: show above & centered */
.rc-stl__tooltip--up {
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
}
/* Near left edge: show to the right of dot */
.rc-stl__tooltip--right {
    top: 50%;
    left: calc(100% + 10px);
    bottom: auto;
    transform: translateY(-50%);
}
/* Near right edge: show to the left of dot */
.rc-stl__tooltip--left {
    top: 50%;
    right: calc(100% + 10px);
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
}

.rc-stl__tooltip img {
    width: 52px; height: 52px;
    object-fit: cover; border-radius: 4px; flex-shrink: 0;
}
.rc-stl__tooltip-body  { min-width: 0; }
.rc-stl__tooltip-name  { display: block; font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-stl__tooltip-price { display: block; font-size: 12px; color: var(--color-brand); margin-top: 3px; }

/* ── Modal ───────────────────────────────────────────────────── */
.rc-stl__modal .modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
}
.rc-stl__modal .modal-header  { padding: 16px 20px 10px; }
.rc-stl__modal .modal-title   { font-size: 1.05rem; font-weight: 700; color: #fff; }
.rc-stl__modal .modal-body    { padding: 12px 20px 20px; }
.rc-stl__modal .btn-close     { filter: invert(1) brightness(1.5); }

.rc-stl__modal-item {
    display: flex; align-items: center; gap: 14px; padding: 10px 0;
}
.rc-stl__modal-thumb { flex-shrink: 0; }
.rc-stl__modal-thumb img {
    width: 72px; height: 72px;
    object-fit: cover; border-radius: 6px;
}
.rc-stl__modal-info    { flex: 1; min-width: 0; }
.rc-stl__modal-name    {
    display: block; font-size: 14px; font-weight: 600;
    color: #fff; text-decoration: none; margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rc-stl__modal-name:hover  { color: var(--color-brand); }
.rc-stl__modal-price       { font-size: 14px; color: var(--color-brand); }
.rc-stl__modal-old-price   { font-size: 12px; color: #888; text-decoration: line-through; margin-left: 6px; }
.rc-stl__modal-oos         { font-size: 12px; color: #e74c3c; margin-top: 2px; display: block; }
.rc-stl__modal-add {
    background: var(--color-brand); color: #fff !important;
    border: none; border-radius: 6px;
    padding: 7px 16px; font-size: 13px;
    white-space: nowrap; flex-shrink: 0;
    transition: opacity .15s;
}
.rc-stl__modal-add:hover { opacity: .85; }
.rc-stl__divider { border-color: rgba(255,255,255,.08); margin: 0; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 576px) {
    .rc-stl__title { font-size: 1.4rem; }
    .rc-stl__tooltip { width: 170px; }
    .rc-stl__tooltip img { width: 40px; height: 40px; }
    .rc-stl__modal-thumb img { width: 56px; height: 56px; }
}

/* ── Shop The Look: grid layout ─────────────────────────────── */
.rc-stl__grid {
    display: grid;
    grid-template-columns: repeat(var(--stl-cols, 2), 1fr);
    gap: 2px;
    width: 100%;
}
.rc-stl__panel { position: relative; }
/* Single-column = full width image, preserve original canvas behavior */
.rc-stl__grid[style*="--stl-cols:1"] .rc-stl__canvas { max-height: 600px; overflow: hidden; }

@media (max-width: 640px) {
    .rc-stl__grid { grid-template-columns: 1fr; }
}

/* ── Shop The Look: Auto Fill mode ──────────────────────────── */
.rc-stl__grid--fill             { align-items: stretch; grid-auto-rows: 1fr; }
.rc-stl__grid--fill .rc-stl__panel  { display: flex; flex-direction: column; }
.rc-stl__grid--fill .rc-stl__canvas { flex: 1; position: relative; min-height: 180px; }
.rc-stl__grid--fill .rc-stl__img    { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── Featured layout: first panel spans 2 rows (MOZA style) ─────────── */
.rc-stl__grid--featured .rc-stl__panel:first-child {
    grid-row: span 2;
    display: flex; flex-direction: column;
}
.rc-stl__grid--featured .rc-stl__panel:first-child .rc-stl__canvas {
    flex: 1; position: relative; min-height: 300px;
}
.rc-stl__grid--featured .rc-stl__panel:first-child .rc-stl__img,
.rc-stl__grid--featured .rc-stl__panel:not(:first-child) .rc-stl__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.rc-stl__grid--featured .rc-stl__panel:not(:first-child) {
    display: flex; flex-direction: column;
}
.rc-stl__grid--featured .rc-stl__panel:not(:first-child) .rc-stl__canvas {
    flex: 1; position: relative; min-height: 200px;
}
@media (max-width: 640px) {
    .rc-stl__grid--featured { grid-template-columns: 1fr !important; }
    .rc-stl__grid--featured .rc-stl__panel:first-child { grid-row: span 1; }
}
