/* ============================================================
   TRENDYMARKAZ.PK — Premium E-Commerce Design System
   Awwwards-level editorial e-commerce for modern Pakistan
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  background: var(--color-cream);
  color: var(--color-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--color-burgundy); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.tm-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-burgundy);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  z-index: 3000;
  transition: top 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.tm-skip-link:focus {
  top: 16px;
  outline: 3px solid var(--color-gold);
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-burgundy);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(90, 38, 51, 0.25);
}
.btn-primary:hover {
  background: #4a1e2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(90, 38, 51, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--color-charcoal);
  border: 1.5px solid rgba(23, 20, 22, 0.15);
}
.btn-ghost:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--color-champagne);
  color: var(--color-charcoal);
  box-shadow: 0 4px 16px rgba(201, 166, 107, 0.3);
}
.btn-gold:hover {
  background: #b8944f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 166, 107, 0.4);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 6px;
}

/* ---------- Section Headings ---------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
  color: var(--color-charcoal);
}
.section-header p {
  color: var(--color-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 12px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid rgba(23, 20, 22, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  z-index: 101;
}
.logo-img {
  height: 44px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.logo:hover .logo-img {
  transform: scale(1.03);
}
.logo-img-dark { display: block; }
.logo-img-light { display: none; }

.site-header.header-transparent .logo-img-dark { display: none; }
.site-header.header-transparent .logo-img-light { display: block; }

.site-header.header-transparent.scrolled .logo-img-dark { display: block; }
.site-header.header-transparent.scrolled .logo-img-light { display: none; }

.footer-brand .logo-img { height: 48px; max-width: 280px; }
.footer-brand .logo-img-dark { display: none; }
.footer-brand .logo-img-light { display: block; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--color-charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-burgundy);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-links a:hover { color: var(--color-burgundy); }
.nav-links a:hover::after { width: 100%; }
.site-header.scrolled .nav-links a {
  color: var(--color-charcoal);
}
.site-header.scrolled .nav-links a::after {
  background: var(--color-burgundy);
}
.site-header.scrolled .nav-links a:hover {
  color: var(--color-burgundy);
}
.site-header.scrolled .nav-links a:hover::after {
  width: 100%;
}
/* Header actions icons - dark by default */
.header-actions .icon {
  color: var(--color-charcoal);
}
.site-header.scrolled .header-actions .icon {
  color: var(--color-charcoal);
}
.site-header.scrolled .header-actions .icon:hover {
  color: var(--color-burgundy);
}
/* Logo - burgundy by default */
.site-header .logo {
  color: var(--color-burgundy);
}
.site-header.scrolled .logo {
  color: var(--color-burgundy);
}
/* Mobile menu button - dark by default */
.mobile-menu-btn {
  color: var(--color-charcoal);
}
.site-header.scrolled .mobile-menu-btn {
  color: var(--color-charcoal);
}
/* Deal bar - fixed at very top, header below it */
.deal-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 102;
  background: var(--color-burgundy);
  color: var(--color-white);
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  transition: transform 0.3s ease;
}
.deal-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.deal-bar-text {
  font-weight: 500;
}
.deal-bar-link {
  color: var(--color-champagne);
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.deal-bar-link:hover {
  opacity: 0.8;
}
/* When deal bar present, header sits below it */
body.has-deal-bar .site-header {
  top: 40px;
}
/* When scrolled, hide deal bar and move header to top */
body.has-deal-bar.header-scrolled .deal-bar {
  transform: translateY(-100%);
}
body.has-deal-bar.header-scrolled .site-header {
  top: 0;
}
@media (max-width: 768px) {
  .deal-bar {
    font-size: 13px;
    padding: 8px 0;
  }
  .deal-bar .container {
    flex-direction: column;
    gap: 4px;
  }
  body.has-deal-bar .site-header {
    top: 52px;
  }
}
/* Header transparent mode - for pages with dark heroes (home, deals, about) */
.site-header.header-transparent:not(.scrolled) {
  background: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}
.site-header.header-transparent:not(.scrolled) .nav-links a {
  color: #ffffff !important;
}
.site-header.header-transparent:not(.scrolled) .nav-links a::after {
  background: var(--color-gold) !important;
}
.site-header.header-transparent:not(.scrolled) .nav-links a:hover {
  color: var(--color-gold) !important;
}
.site-header.header-transparent:not(.scrolled) .header-actions .icon {
  color: #ffffff !important;
}
.site-header.header-transparent:not(.scrolled) .header-actions .icon svg {
  stroke: #ffffff !important;
}
.site-header.header-transparent:not(.scrolled) .mobile-menu-btn {
  color: #ffffff !important;
}
.site-header.header-transparent:not(.scrolled) .logo-img-dark {
  display: none !important;
}
.site-header.header-transparent:not(.scrolled) .logo-img-light {
  display: block !important;
}

/* When scrolled, header-transparent turns into a sleek solid dark background matching the dark hero theme */
.site-header.header-transparent.scrolled {
  background: rgba(23, 20, 22, 0.96) !important;
  backdrop-filter: blur(16px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4) !important;
  padding: 10px 0 !important;
}
.site-header.header-transparent.scrolled .nav-links a {
  color: #ffffff !important;
}
.site-header.header-transparent.scrolled .nav-links a::after {
  background: var(--color-gold) !important;
}
.site-header.header-transparent.scrolled .nav-links a:hover {
  color: var(--color-gold) !important;
}
.site-header.header-transparent.scrolled .logo {
  color: #ffffff !important;
}
.site-header.header-transparent.scrolled .header-actions .icon {
  color: #ffffff !important;
}
.site-header.header-transparent.scrolled .header-actions .icon svg {
  stroke: #ffffff !important;
}
.site-header.header-transparent.scrolled .mobile-menu-btn {
  color: #ffffff !important;
}
.site-header.header-transparent.scrolled .logo-img-dark {
  display: none !important;
}
.site-header.header-transparent.scrolled .logo-img-light {
  display: block !important;
}

/* Regular white header when scrolled on light/standard pages */
.site-header:not(.header-transparent).scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.8) !important;
  border-bottom: 1px solid rgba(23, 20, 22, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
  padding: 10px 0 !important;
}
.site-header:not(.header-transparent).scrolled .nav-links a {
  color: var(--color-charcoal) !important;
}
.site-header:not(.header-transparent).scrolled .nav-links a::after {
  background: var(--color-burgundy) !important;
}
.site-header:not(.header-transparent).scrolled .nav-links a:hover {
  color: var(--color-burgundy) !important;
}
.site-header:not(.header-transparent).scrolled .logo {
  color: var(--color-burgundy) !important;
}
.site-header:not(.header-transparent).scrolled .header-actions .icon {
  color: var(--color-charcoal) !important;
}
.site-header:not(.header-transparent).scrolled .header-actions .icon svg {
  stroke: var(--color-charcoal) !important;
}
.site-header:not(.header-transparent).scrolled .mobile-menu-btn {
  color: var(--color-charcoal) !important;
}
.site-header:not(.header-transparent).scrolled .logo-img-dark {
  display: block !important;
}
.site-header:not(.header-transparent).scrolled .logo-img-light {
  display: none !important;
}

.header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.header-actions .icon {
  background: transparent;
  border: none;
  font-size: 18px;
  padding: 10px;
  border-radius: 50%;
  color: var(--color-charcoal);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-actions .icon:hover {
  background: rgba(90, 38, 51, 0.06);
  color: var(--color-burgundy);
}
.header-actions .badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--color-burgundy);
  color: var(--color-white);
  border-radius: 999px;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
  line-height: 1.2;
}
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 22px;
  padding: 8px;
  color: var(--color-charcoal);
  z-index: 101;
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 20, 22, 0.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-cream);
  z-index: 99;
  padding: 100px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -4px 0 32px rgba(23, 20, 22, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 20, 22, 0.06);
  color: var(--color-charcoal);
  transition: color 0.3s ease;
}
.mobile-nav a:hover { color: var(--color-burgundy); }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--color-charcoal);
  padding: 8px;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 20, 22, 0.6);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.search-panel {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 640px;
  box-shadow: 0 24px 64px rgba(23, 20, 22, 0.12);
  transform: translateY(-20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.search-overlay.active .search-panel { transform: translateY(0); }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--color-burgundy);
  padding-bottom: 12px;
}
.search-input-wrap input {
  flex: 1;
  border: none;
  font-size: 18px;
  font-family: var(--font-ui);
  background: transparent;
  color: var(--color-charcoal);
  outline: none;
}
.search-input-wrap button {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--color-muted);
}
.search-suggestions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.search-suggestions span {
  font-size: 13px;
  color: var(--color-muted);
  margin-right: 8px;
  align-self: center;
}
.search-suggestions button {
  background: var(--color-beige);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-charcoal);
  transition: all 0.3s ease;
}
.search-suggestions button:hover {
  background: var(--color-burgundy);
  color: var(--color-white);
}

/* ============================================================
   HERO SECTION — Fullscreen Luxury Redesign
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 680px;
  overflow: hidden;
  background: var(--color-charcoal);
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,12,13,0.88) 0%, rgba(14,12,13,0.72) 45%, rgba(14,12,13,0.4) 100%),
              radial-gradient(circle at 75% 50%, rgba(90,38,51,0.25) 0%, transparent 60%);
  z-index: 1;
}
.hero-slide .hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}
.hero-copy {
  max-width: 620px;
}
.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-copy .kicker {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-champagne);
  padding: 6px 14px;
  background: rgba(201, 166, 107, 0.16);
  border: 1px solid rgba(201, 166, 107, 0.3);
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-tag {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 66px);
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.text-champagne {
  color: var(--color-champagne);
}
.hero-copy p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-btns .btn-primary {
  background: var(--color-burgundy);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(90, 38, 51, 0.4);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 32px;
  font-size: 15px;
}
.hero-btns .btn-primary:hover {
  background: #451b25;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(90, 38, 51, 0.55);
}
.hero-btns .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: var(--color-white);
  padding: 16px 28px;
  font-size: 15px;
}
.hero-btns .btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: var(--color-white);
}
.hero-perks {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.hero-perk svg {
  color: var(--color-champagne);
  flex-shrink: 0;
}

/* Hero Media Showcase */
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-float-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.15);
  max-width: 440px;
  width: 100%;
  aspect-ratio: 4/4.2;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-float-card:hover {
  transform: translateY(-4px) scale(1.01);
}
.hero-float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-float-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(23,20,22,0.82);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hero-float-badge .badge-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
}
.hero-float-badge .badge-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-champagne);
}

/* LEFT-ALIGNED HERO CONTROLS */
.hero-controls-left {
  position: absolute;
  left: var(--spacing-lg);
  bottom: 36px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(23, 20, 22, 0.65);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.hero-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
}
.hero-arrow:hover {
  background: var(--color-burgundy);
  border-color: var(--color-burgundy);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(90, 38, 51, 0.4);
}
.hero-slide-counter {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  padding: 0 4px;
}
.counter-current {
  color: var(--color-champagne);
  font-size: 15px;
}
.counter-divider {
  opacity: 0.4;
  font-weight: 400;
}
.counter-total {
  opacity: 0.6;
  font-size: 13px;
}
.hero-progress-bar {
  width: 70px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  overflow: hidden;
}
.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-champagne);
  border-radius: 99px;
  transition: width 0.1s linear;
}
.hero-dots-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-dots-cluster .hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero-dots-cluster .hero-dot.active {
  background: var(--color-champagne);
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .hero-slide .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 60px;
    padding-bottom: 90px;
  }
  .hero-media {
    display: none;
  }
  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
  }
  .hero-slide .overlay {
    background: linear-gradient(180deg, rgba(14,12,13,0.85) 0%, rgba(14,12,13,0.75) 60%, rgba(14,12,13,0.92) 100%);
  }
  .hero-slide .hero-inner {
    padding: 90px 20px 100px;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .hero-copy p {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .hero-btns {
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost {
    padding: 13px 22px;
    font-size: 14px;
    flex: 1;
    text-align: center;
  }
  .hero-controls-left {
    bottom: 20px;
    left: 16px;
    right: 16px;
    justify-content: space-between;
    padding: 8px 16px;
    gap: 12px;
  }
  .hero-progress-bar {
    display: none;
  }
}

/* ============================================================
   CATEGORY PANELS (Section 2)
   ============================================================ */
.categories-section {
  padding: 80px 0;
  background: var(--color-cream);
}
.category-panels {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.category-panel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-panel:hover {
  transform: translateY(-6px);
}
.category-panel:first-child {
  min-height: 420px;
}
.category-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-panel:hover img {
  transform: scale(1.06);
}
.category-panel .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,20,22,0) 30%, rgba(23,20,22,0.7) 100%);
  z-index: 1;
  transition: background 0.5s ease;
}
.category-panel:hover .overlay {
  background: linear-gradient(180deg, rgba(23,20,22,0.1) 30%, rgba(23,20,22,0.75) 100%);
}
.category-panel .meta {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
}
.category-panel .cat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-champagne);
  margin-bottom: 8px;
}
.category-panel h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 8px;
}
.category-panel .meta p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 320px;
}
.category-panel .meta .btn {
  padding: 10px 20px;
  font-size: 13px;
}

/* ============================================================
   TRENDING CAROUSEL (Section 3) - FIXED
   ============================================================ */
.trending-section {
  padding: 80px 0;
  background: var(--color-cream);
}
.trending-section .section-header h2 {
  color: var(--color-charcoal);
}
.trending-section .section-header p {
  color: var(--color-muted);
}
.trending-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.trending-track {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px 4px 24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  background: transparent;
}
.trending-track:active { cursor: grabbing; }
.trending-track::-webkit-scrollbar { display: none; }
.trending-track > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}
.carousel-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid rgba(23,20,22,0.1);
  color: var(--color-charcoal);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(23,20,22,0.06);
}
.carousel-arrow:hover {
  background: var(--color-burgundy);
  color: var(--color-white);
  border-color: var(--color-burgundy);
  transform: scale(1.05);
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(23,20,22,0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 280px;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(23,20,22,0.12);
}
.product-media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--color-beige);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-media img {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-burgundy);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.product-badge.sale {
  background: var(--color-terracotta);
}
.product-badge.new {
  background: var(--color-champagne);
  color: var(--color-charcoal);
}
.wish-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border: none;
  font-size: 16px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}
.wish-btn:hover {
  background: var(--color-white);
  color: #e74c3c;
  transform: scale(1.1);
}
.wish-btn.active {
  color: #e74c3c;
}
.quick-view-btn {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-charcoal);
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 2;
  white-space: nowrap;
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 6px;
}
.product-name-link {
  text-decoration: none;
  color: inherit;
}
.product-card .product-name,
.product-name-link h3,
.product-name {
  font-family: var(--font-display), 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  font-size: 1.15rem;
  font-weight: 400;
  color: #171416;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}
.product-name-link:hover .product-name,
.product-name-link:hover h3,
.product-name:hover {
  color: #5a2633;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.product-rating .stars {
  color: var(--color-champagne);
  font-size: 13px;
  letter-spacing: 1px;
}
.product-rating .review-count {
  font-size: 12px;
  color: var(--color-muted);
}
.product-price-row, .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}
.price-current, .price .current {
  font-weight: 800;
  font-size: 17px;
  color: var(--color-burgundy);
}
.price-old, .price .old {
  font-size: 13px;
  color: var(--color-muted);
  text-decoration: line-through;
}
.product-card-actions, .product-cta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  width: 100%;
}
.add-cart-btn, .btn-add-cart {
  flex: 1;
  background: var(--color-burgundy);
  color: var(--color-white);
  border: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(90,38,51,0.2);
}
.add-cart-btn:hover, .btn-add-cart:hover {
  background: #451b25;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(90,38,51,0.35);
}
.buy-now-btn, .btn-buy-now, .buy-now-card-btn {
  flex: 1;
  background: var(--color-terracotta, #d9534f);
  color: var(--color-white);
  border: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(217,83,79,0.2);
}
.buy-now-btn:hover, .btn-buy-now:hover, .buy-now-card-btn:hover {
  background: #c0392b;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(217,83,79,0.35);
}
.product-view-btn {
  display: block;
  text-align: center;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-burgundy);
  background: var(--color-cream, #faf7f2);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(23,20,22,0.04);
}
.product-view-btn:hover {
  background: var(--color-burgundy);
  color: var(--color-white);
}

/* ============================================================
   EDITORIAL STORY (Section 4)
   ============================================================ */
.editorial {
  padding: 100px 0;
  background: var(--color-white);
}
.editorial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.editorial-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.editorial-media:hover img {
  transform: scale(1.04);
}
.editorial-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90,38,51,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.editorial-copy .section-kicker {
  margin-bottom: 16px;
}
.editorial-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-charcoal);
}
.editorial-copy p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}

/* ============================================================
   FEATURED COLLECTION (Section 5)
   ============================================================ */
.featured-collection {
  padding: 100px 0;
  background: var(--color-cream);
}
.featured-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}
.featured-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-main:hover img {
  transform: scale(1.04);
}
.glass-card {
  position: absolute;
  right: 24px; bottom: 24px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(23,20,22,0.1);
  max-width: 320px;
  z-index: 2;
}
.glass-card .glass-name {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--color-charcoal);
}
.glass-card .glass-desc {
  color: var(--color-muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mini-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--color-white);
  padding: 12px;
  border-radius: 12px;
  transition: all 0.35s ease;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(23,20,22,0.04);
}
.mini-card:hover {
  background: var(--color-white);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(23,20,22,0.08);
}
.mini-card img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.mini-meta .mini-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--color-charcoal);
}
.mini-meta .mini-price {
  color: var(--color-burgundy);
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   NEW ARRIVALS (Section 6)
   ============================================================ */
.just-in {
  padding: 100px 0;
  background: var(--color-white);
}
.just-in-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-item.in-view {
  opacity: 1;
  transform: none;
}
.just-in .product-card {
  width: 100%;
}

/* ============================================================
   PROMO BANNER (Section 7)
   ============================================================ */
.promo-banner {
  padding: 100px 0;
  background: var(--color-cream);
}
.promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, #fdf6ee 0%, #f9efe2 100%);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.promo-inner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,166,107,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.promo-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-copy {
  position: relative;
  z-index: 2;
}
.promo-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-charcoal);
}
.promo-copy p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}
.promo-floating-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-burgundy);
  z-index: 2;
}

/* ============================================================
   TRUST SECTION (Section 8)
   ============================================================ */
.trust {
  padding: 80px 0;
  background: var(--color-white);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--color-cream);
  padding: 28px 24px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.4s ease;
  border: 1px solid rgba(23,20,22,0.04);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(23,20,22,0.08);
  border-color: rgba(23,20,22,0.08);
  background: var(--color-white);
}
.pillar .pillar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(90,38,51,0.08), rgba(201,166,107,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.pillar h4 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-charcoal);
}
.pillar p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   SHOP BY MOOD (Section 9)
   ============================================================ */
.shop-mood {
  padding: 100px 0;
  background: var(--color-cream);
}
.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mood-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  transition: all 0.5s ease;
}
.mood-card:hover {
  transform: translateY(-4px);
}
.mood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mood-card:hover img {
  transform: scale(1.06);
}
.mood-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,20,22,0) 40%, rgba(23,20,22,0.65) 100%);
  z-index: 1;
}
.mood-label {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-charcoal);
  z-index: 2;
  transition: all 0.35s ease;
}
.mood-card:hover .mood-label {
  background: var(--color-burgundy);
  color: var(--color-white);
  transform: translateY(-4px);
}

/* ============================================================
   TESTIMONIALS (Section 10)
   ============================================================ */
.testimonials {
  padding: 100px 0;
  background: var(--color-white);
}
.testi-slider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testi-track-wrapper {
  flex: 1;
  overflow: hidden;
}
.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testi {
  min-width: 100%;
  background: var(--color-cream);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(23,20,22,0.04);
  border: 1px solid rgba(23,20,22,0.04);
}
.testi .t-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.testi .t-head img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-champagne);
}
.testi .t-head strong {
  font-size: 15px;
  color: var(--color-charcoal);
}
.testi .t-head .t-cat {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}
.testi .t-stars {
  color: var(--color-champagne);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testi .t-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-charcoal);
  font-style: italic;
}
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(23,20,22,0.15);
  border: none;
  transition: all 0.3s ease;
  padding: 0;
}
.testi-dot.active {
  background: var(--color-burgundy);
  width: 28px;
  border-radius: 999px;
}

/* ============================================================
   GALLERY (Section 11)
   ============================================================ */
.gallery {
  padding: 100px 0;
  background: var(--color-cream);
}
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.masonry-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.masonry-item:nth-child(1) { grid-row: span 2; }
.masonry-item:nth-child(3) { grid-row: span 2; }
.masonry-item:nth-child(5) { grid-column: span 2; }
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.masonry-item:hover img {
  transform: scale(1.06);
}
.gallery-cta {
  text-align: center;
  margin-top: 32px;
}

/* ============================================================
   FINAL CTA (Section 12)
   ============================================================ */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-burgundy) 0%, #3d1a26 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,166,107,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.final-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.final-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-white);
  margin-bottom: 14px;
  line-height: 1.15;
}
.final-copy p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}
.final-copy .btn-primary {
  background: var(--color-white);
  color: var(--color-burgundy);
}
.final-copy .btn-primary:hover {
  background: var(--color-champagne);
  color: var(--color-charcoal);
}
.final-newsletter {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  min-width: 320px;
}
.final-newsletter h4 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}
.final-newsletter p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}
.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}
.newsletter-form input:focus {
  border-color: var(--color-champagne);
}
.newsletter-form button {
  background: var(--color-champagne);
  color: var(--color-charcoal);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--color-white);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  color: var(--color-white);
  font-size: 22px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  padding: 4px 0;
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: var(--color-champagne);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}
.footer-socials a:hover {
  background: var(--color-burgundy);
  color: var(--color-white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .category-panels {
    grid-template-columns: 1fr 1fr;
  }
  .category-panel:first-child {
    grid-column: span 2;
    min-height: 320px;
  }
  .featured-inner {
    grid-template-columns: 1fr;
  }
  .featured-main { aspect-ratio: 16/9; }
  .just-in-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mood-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .masonry-item:nth-child(5) { grid-column: span 1; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .editorial-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .editorial-media { aspect-ratio: 16/10; }
  .promo-inner {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .final-inner {
    flex-direction: column;
    text-align: center;
  }
  .final-copy { align-items: center; display: flex; flex-direction: column; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { min-height: 600px; }
  .hero-slide .hero-inner {
    flex-direction: column;
    gap: 24px;
    padding-top: 80px;
  }
  .hero-copy h1 { font-size: 32px; }
  .hero-media { min-height: 240px; }
  .hero-media img { max-width: 80%; }
  .hero-controls { bottom: 20px; }
  .category-panels {
    grid-template-columns: 1fr;
  }
  .category-panel:first-child {
    grid-column: span 1;
    min-height: 320px;
  }
  .category-panel { min-height: 320px; }
  .product-card { width: 260px; }
  .product-media { height: 240px; }
  .just-in-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .mood-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .section-header { margin-bottom: 32px; }
  .editorial, .featured-collection, .just-in, .shop-mood, .testimonials, .gallery, .final-cta { padding: 64px 0; }
  .categories-section, .trending-section, .trust, .promo-banner { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 28px; }
  .hero-copy p { font-size: 15px; }
  .hero-copy .btn { padding: 12px 20px; font-size: 13px; }
  .product-card { width: 220px; }
  .product-media { height: 200px; }
  .just-in-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .mood-grid { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr; }
  .masonry-item:nth-child(1),
  .masonry-item:nth-child(3) { grid-row: span 1; }
  .promo-inner { padding: 24px; }
  .final-newsletter { min-width: auto; }
  .newsletter-form { flex-direction: column; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: none;
}

/* Deal Bar */
.deal-bar {
  background: var(--color-burgundy);
  color: var(--color-white);
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
}
.deal-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.deal-bar-text {
  font-weight: 500;
}
.deal-bar-link {
  color: var(--color-champagne);
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.deal-bar-link:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .deal-bar .container {
    flex-direction: column;
    gap: 4px;
  }
  .deal-bar {
    font-size: 13px;
    padding: 8px 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TRENDYMARKAZ NAMESPACED COMPONENT SYSTEM (.tm-*)
   ============================================================ */

/* Toast Container & Notifications */
.tm-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100vw - 48px);
  pointer-events: none;
}
.tm-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--color-charcoal);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.tm-toast--active {
  transform: translateY(0);
  opacity: 1;
}
.tm-toast--leaving {
  transform: translateY(10px);
  opacity: 0;
}
.tm-toast--success { border-left: 4px solid var(--color-success); }
.tm-toast--error { border-left: 4px solid var(--color-error); }
.tm-toast--warning { border-left: 4px solid var(--color-warning); }
.tm-toast--info { border-left: 4px solid var(--color-champagne); }

.tm-toast__icon { font-size: 16px; flex-shrink: 0; }
.tm-toast__message { flex-grow: 1; line-height: 1.4; }
.tm-toast__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.tm-toast__close:hover { color: #fff; }

/* Namespaced Accessible Modal (.tm-modal) */
.tm-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(23, 20, 22, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.tm-modal--active {
  opacity: 1; pointer-events: auto;
}
.tm-modal__content {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 520px; width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.tm-modal--active .tm-modal__content {
  transform: scale(1);
}

/* Form Field Accessibility Errors */
.tm-input--invalid {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}
.tm-field-error {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-error);
  margin-top: 6px;
}

/* Namespaced Badges */
.tm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.tm-badge--burgundy { background: rgba(90, 38, 51, 0.1); color: var(--color-burgundy); }
.tm-badge--gold { background: rgba(201, 166, 107, 0.15); color: var(--color-burgundy); }
.tm-badge--success { background: rgba(39, 174, 96, 0.12); color: #27ae60; }

/* Skeleton Loader */
.tm-skeleton {
  background: linear-gradient(90deg, #f0ede6 25%, #e8e3d8 50%, #f0ede6 75%);
  background-size: 200% 100%;
  animation: tmSkeletonShimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes tmSkeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE UX & VIEWPORT ADAPTATION (320px – 1920px)
   ============================================================ */

/* 1. Touch Target Accessibility (< 768px) */
@media (max-width: 768px) {
  .header-actions .icon,
  .mobile-menu-btn,
  .quantity-selector button,
  .gallery-thumb {
    min-width: var(--touch-target-min, 44px);
    min-height: var(--touch-target-min, 44px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .cart-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* 2. Small Smartphone Viewports (320px – 375px) */
@media (max-width: 375px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-inner {
    gap: 8px;
  }
  .logo-img {
    max-width: 170px;
    height: auto;
  }
  .product-name, .page-title {
    font-size: 22px !important;
  }
  .price-current {
    font-size: 20px !important;
  }
  .btn {
    padding: 12px 18px !important;
    font-size: 13px !important;
  }
}

/* 3. Ultra Wide Desktop (>= 1440px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1380px;
  }
}

/* ============================================================
   GLOBAL SECTION HEADER & SPACING POLISH
   ============================================================ */
.section-header {
  margin-bottom: 24px !important;
}
.section-kicker, .kicker, .section-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--color-champagne, #c9a66b) !important;
  margin-bottom: 4px !important;
  display: inline-block !important;
}
.section-title, .section-header h2 {
  font-family: var(--font-display, 'DM Serif Display', Georgia, serif) !important;
  font-size: clamp(26px, 3.2vw, 36px) !important;
  color: var(--color-charcoal, #171416) !important;
  line-height: 1.15 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.01em !important;
}
.section-subtitle, .section-header p {
  color: var(--color-muted, #7f8c8d) !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   GLOBAL PRODUCT CARD BUTTON OVERRIDES & UI FIXES
   ============================================================ */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: var(--color-white, #ffffff) !important;
  border-radius: 18px !important;
  border: 1px solid rgba(23, 20, 22, 0.08) !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(23, 20, 22, 0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(23, 20, 22, 0.12) !important;
  border-color: rgba(90, 38, 51, 0.2) !important;
}

.product-card .product-info {
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.product-card .product-category {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: var(--color-terracotta, #c05c46) !important;
  margin-bottom: 4px !important;
}

.product-card .product-name,
.product-name-link h3,
.product-name {
  font-family: var(--font-display), 'DM Serif Display', Georgia, serif !important;
  font-size: 18px !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
  color: #171416 !important;
  line-height: 1.3 !important;
  margin-bottom: 6px !important;
  min-height: 2.6em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  letter-spacing: -0.01em !important;
  transition: color 0.25s ease !important;
}

.product-card .product-name-link:hover .product-name,
.product-card .product-name-link:hover h3,
.product-card .product-name:hover,
.product-name-link:hover h3 {
  color: #5a2633 !important;
}

.product-card .product-rating {
  margin-bottom: 8px !important;
  font-size: 11.5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.product-card .product-price-row,
.product-card .price {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin-top: auto !important;
  margin-bottom: 10px !important;
}

.product-card .price-current,
.product-card .price .current {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: var(--color-burgundy, #5a2633) !important;
}

.product-card .price-old,
.product-card .price .old {
  font-size: 12px !important;
  color: var(--color-muted, #7f8c8d) !important;
  text-decoration: line-through !important;
}

.product-card .product-card-actions,
.product-card .product-cta {
  display: flex !important;
  flex-direction: row !important;
  gap: 6px !important;
  width: 100% !important;
  margin-bottom: 8px !important;
  align-items: center !important;
}

.product-card .add-cart-btn,
.product-card .btn-add-cart,
.product-card .buy-now-btn,
.product-card .btn-buy-now,
.product-card .buy-now-card-btn {
  flex: 1 1 50% !important;
  width: 50% !important;
  min-width: 0 !important;
  height: 36px !important;
  border: none !important;
  outline: none !important;
  padding: 0 6px !important;
  border-radius: 8px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* ADD TO CART BUTTON — Burgundy */
.product-card .add-cart-btn,
.product-card .btn-add-cart {
  background: var(--color-burgundy, #5a2633) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(90, 38, 51, 0.18) !important;
}
.product-card .add-cart-btn:hover,
.product-card .btn-add-cart:hover {
  background: #401a24 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(90, 38, 51, 0.3) !important;
}

/* BUY NOW BUTTON — Terracotta Warm Red/Brown */
.product-card .buy-now-btn,
.product-card .btn-buy-now,
.product-card .buy-now-card-btn {
  background: var(--color-terracotta, #c05c46) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(192, 92, 70, 0.18) !important;
}
.product-card .buy-now-btn:hover,
.product-card .btn-buy-now:hover,
.product-card .buy-now-card-btn:hover {
  background: #a34833 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(192, 92, 70, 0.3) !important;
}

/* VIEW PRODUCT BUTTON — Full Width Subtle Link */
.product-card .product-view-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 32px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: var(--color-burgundy, #5a2633) !important;
  background: var(--color-cream, #faf7f2) !important;
  border: 1px solid rgba(90, 38, 51, 0.12) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}
.product-card .product-view-btn:hover {
  background: var(--color-burgundy, #5a2633) !important;
  color: #ffffff !important;
}

/* ============================================================
   PRODUCT GRID LAYOUT VARIANTS (4-Col, 3-Col, 2-Col & List View)
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
}

.product-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
}

.product-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.product-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
}

/* Description snippet default hidden in grid, shown in list view */
.product-description {
  display: none;
}

.product-grid.grid-1,
.product-grid.grid-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
}

.product-grid.grid-1 > div,
.product-grid.grid-1 > [role="listitem"],
.product-grid.grid-list > div,
.product-grid.grid-list > [role="listitem"] {
  width: 100% !important;
  grid-column: 1 / -1 !important;
  display: block !important;
}

.product-grid.grid-1 .product-card,
.product-grid.grid-list .product-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 170px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(23, 20, 22, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.product-grid.grid-1 .product-card:hover,
.product-grid.grid-list .product-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07) !important;
}

.product-grid.grid-1 .product-media,
.product-grid.grid-list .product-media {
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  height: 100% !important;
  min-height: 170px !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
  background: #171416 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.product-grid.grid-1 .product-media-link,
.product-grid.grid-list .product-media-link {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
}

.product-grid.grid-1 .product-media img,
.product-grid.grid-list .product-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  flex: 1 1 auto !important;
  display: block !important;
}

.product-grid.grid-1 .product-info,
.product-grid.grid-list .product-info {
  padding: 20px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.product-grid.grid-1 .product-category,
.product-grid.grid-list .product-category {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  color: #c9a66b !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}

.product-grid.grid-1 .product-name,
.product-grid.grid-list .product-name {
  font-family: var(--font-display), 'DM Serif Display', Georgia, serif !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  color: #171416 !important;
  margin-bottom: 4px !important;
}

.product-grid.grid-1 .product-description,
.product-grid.grid-list .product-description {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 13px !important;
  color: #636e72 !important;
  line-height: 1.45 !important;
  margin: 6px 0 10px !important;
  max-width: 650px !important;
}

.product-grid.grid-1 .product-price-row,
.product-grid.grid-list .product-price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin-top: 2px !important;
  margin-bottom: 0 !important;
}

.product-grid.grid-1 .price-current,
.product-grid.grid-list .price-current {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #5a2633 !important;
}

.product-grid.grid-1 .price-old,
.product-grid.grid-list .price-old {
  font-size: 14px !important;
  color: #95a5a6 !important;
  text-decoration: line-through !important;
}

/* HIDE BUTTONS IN LIST VIEW PER USER DIRECTIVE */
.product-grid.grid-1 .product-card-actions,
.product-grid.grid-list .product-card-actions,
.product-grid.grid-1 .product-view-btn,
.product-grid.grid-list .product-view-btn,
.product-grid.grid-1 .quick-view-btn,
.product-grid.grid-list .quick-view-btn {
  display: none !important;
}

@media (max-width: 1350px) {
  .shop-layout .product-grid.grid-4 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 1024px) {
  .shop-layout .product-grid.grid-4,
  .shop-layout .product-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .product-grid.grid-4,
  .product-grid.grid-3,
  .product-grid.grid-2 {
    grid-template-columns: 1fr !important;
  }
  .product-grid.grid-1 .product-card,
  .product-grid.grid-list .product-card {
    flex-direction: column !important;
  }
  .product-grid.grid-1 .product-media,
  .product-grid.grid-list .product-media {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 240px !important;
    border-radius: 18px 18px 0 0 !important;
  }
}

/* ============================================================
   GLOBAL MODAL SYSTEM (.tm-modal)
   ============================================================ */
.tm-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease !important;
}

.tm-modal.tm-modal--active,
.tm-modal.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.tm-modal__content {
  background: #ffffff !important;
  padding: 28px !important;
  border-radius: 16px !important;
  max-width: 520px !important;
  width: 90% !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(20px) !important;
  transition: transform 0.25s ease !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.tm-modal.tm-modal--active .tm-modal__content,
.tm-modal.active .tm-modal__content {
  transform: translateY(0) !important;
}

/* ============================================================
   SECTION 2 — CATEGORY INNER CUBES FIX
   ============================================================ */
.category-panels {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.category-panel {
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  height: 460px !important;
  min-height: 460px !important;
  display: flex !important;
  align-items: flex-end !important;
  border: 1px solid rgba(23, 20, 22, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
}

.category-panel img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.category-panel:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 48px rgba(90, 38, 51, 0.18) !important;
}

.category-panel:hover img {
  transform: scale(1.08) !important;
}

/* ============================================================
   SECTION 10 — REDESIGNED LUXURY BUTTONS
   ============================================================ */
.testi-buttons-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 36px !important;
  flex-wrap: wrap !important;
}

.testi-btn-primary {
  background: #5a2633 !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 16px rgba(90, 38, 51, 0.25) !important;
  border: 1px solid rgba(201, 166, 107, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.testi-btn-primary:hover {
  background: #401a24 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(90, 38, 51, 0.35) !important;
}

.testi-btn-secondary {
  background: #faf7f2 !important;
  color: #171416 !important;
  padding: 14px 26px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  border: 1px solid rgba(23, 20, 22, 0.12) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.testi-btn-secondary:hover {
  background: #ffffff !important;
  border-color: #5a2633 !important;
  color: #5a2633 !important;
  transform: translateY(-2px) !important;
}

/* ============================================================
   ENTERPRISE MULTI-DEVICE RESPONSIVE UX ENGINE (320px – 1920px+)
   ============================================================ */

/* Tablet & Mobile Nav Trigger (< 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* 1. Mobile Small & Medium (320px – 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Header & Navigation */
  .site-header {
    height: 70px !important;
  }
  .header-inner {
    padding: 0 12px !important;
  }
  .logo-img {
    max-width: 150px !important;
    height: auto !important;
  }
  .header-actions {
    gap: 4px !important;
  }
  .header-actions .icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }

  /* Hero Section Adaptivity */
  .hero {
    min-height: 500px !important;
    height: auto !important;
  }
  .hero-slide {
    padding: 85px 0 50px !important;
    background-position: center center !important;
  }
  .hero-slide .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 12px !important;
  }
  .hero-copy {
    max-width: 100% !important;
    text-align: left !important;
  }
  .hero-copy h1 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }
  .hero-copy p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
  }
  .hero-btns {
    gap: 8px !important;
  }
  .hero-btns .btn {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
  }
  .hero-media {
    display: none !important;
  }
  .hero-controls-left {
    bottom: 12px !important;
    left: 12px !important;
    padding: 6px 12px !important;
    gap: 8px !important;
  }
  .hero-arrow {
    width: 32px !important;
    height: 32px !important;
  }

  /* 2-Column Product Grid for Mobile Phones */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-card {
    border-radius: 12px !important;
  }
  .product-card .product-media {
    aspect-ratio: 1/1 !important;
  }
  .product-card .product-info {
    padding: 10px 8px !important;
  }
  .product-card .product-category {
    font-size: 10.5px !important;
    margin-bottom: 2px !important;
  }
  .product-card .product-name {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    height: 32px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 4px !important;
  }
  .product-card .product-rating {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }
  .product-card .price-current,
  .product-card .price .current {
    font-size: 13.5px !important;
  }
  .product-card .price-old,
  .product-card .price .old {
    font-size: 11px !important;
  }
  .product-card .product-cta {
    gap: 4px !important;
    margin-bottom: 6px !important;
  }
  .product-card .add-cart-btn,
  .product-card .btn-add-cart,
  .product-card .buy-now-card-btn {
    height: 34px !important;
    font-size: 11px !important;
    padding: 0 4px !important;
    border-radius: 6px !important;
  }
  .product-card .product-view-btn {
    height: 30px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
  }

  /* Section 2 Category Panels */
  .category-panels {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .category-panel {
    height: 270px !important;
    min-height: 270px !important;
    border-radius: 14px !important;
  }

  /* Customer Portal Mobile Layout */
  .account-summary-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .summary-card {
    padding: 14px !important;
    border-radius: 12px !important;
  }
  .summary-card-val {
    font-size: 22px !important;
  }
  .summary-card-lbl {
    font-size: 12px !important;
  }

  /* Footer Layout */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* 2. Tablets (481px – 900px) */
@media (min-width: 481px) and (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  .category-panels {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .hero-slide .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hero-media {
    max-width: 360px !important;
    margin: 0 auto !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
}

/* 3. Laptops & Standard Desktop (901px – 1439px) */
@media (min-width: 901px) and (max-width: 1439px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
}

/* 4. Large Screens & 4K Displays (>= 1440px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1440px !important;
  }
  .product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
  }
}
