/* ==========================================================================
   DI NEMARCO - LUXURY APPAREL DESIGN SYSTEM
   Modern Dark Luxury Aesthetic | Glassmorphism | Fluid Micro-Animations
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #07080a;
  --bg-secondary: #0e1015;
  --bg-tertiary: #161820;
  --bg-card: rgba(18, 20, 28, 0.75);
  --bg-card-hover: rgba(26, 30, 42, 0.85);
  --bg-glass: rgba(14, 16, 22, 0.85);

  /* Gold & Metallic Accents */
  --gold-50: #fbf8eb;
  --gold-100: #f5eed0;
  --gold-200: #ebdba5;
  --gold-300: #dec373;
  --gold-400: #d4af37;
  --gold-500: #b89225;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-gradient: linear-gradient(135deg, #f7e6a7 0%, #d4af37 50%, #aa820a 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.03) 100%);

  /* Neutrals & Text */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-dim: #525f75;

  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-glow: rgba(212, 175, 55, 0.6);
  --border-card: rgba(255, 255, 255, 0.08);

  /* Functional Colors */
  --accent-success: #10b981;
  --accent-danger: #ef4444;
  --accent-warning: #f59e0b;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-glow: rgba(37, 211, 102, 0.3);

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.25);
  --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
  overflow-x: hidden !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
  overscroll-behavior-x: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  position: relative;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(30, 58, 138, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-400);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   HEADER & NAVIGATION (WITH SMOOTH SCROLLSPY)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(7, 8, 10, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  height: 72px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-monogram {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #07080a;
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s ease;
}

.brand-logo-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand-logo:hover .logo-monogram {
  transform: rotate(5deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.65rem;
  letter-spacing: 3.5px;
  color: var(--gold-400);
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold-300);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

.action-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--border-gold);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-gradient);
  color: #07080a;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  animation: pulse-badge 2s infinite;
}

.admin-link-btn {
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.admin-link-btn:hover {
  background: var(--gold-gradient);
  color: #07080a;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.25rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: float-orb 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -50px;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  bottom: 50px;
  left: -100px;
  animation-delay: -7s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  width: fit-content;
  color: var(--gold-300);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  animation: float-subtle 4s ease-in-out infinite;
}

.hero-badge .sparkle-icon {
  color: var(--gold-400);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.hero-title .gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #07080a;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 16px 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg);
  transition: 0.6s all;
  opacity: 0;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover::after {
  opacity: 1;
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-300);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Hero Showcase Card Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: var(--hero-card-max-width, 440px);
  aspect-ratio: var(--hero-card-ratio, 1 / 1);
  transition: max-width 0.3s ease, aspect-ratio 0.3s ease;
}

.hero-main-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transform: var(--hero-card-tilt, none);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.35);
}

.hero-card-backdrop {
  position: absolute;
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  object-fit: cover;
  filter: blur(35px) brightness(0.35) saturate(1.3);
  transform: scale(1.1);
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

.hero-main-card img.hero-card-foreground,
.hero-main-card img:not(.hero-card-backdrop) {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: var(--hero-fit, contain);
  object-position: var(--hero-pos, center center);
  padding: var(--hero-pad, 12px);
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), object-position 0.25s ease;
  transform-origin: center center;
  transform: scale(var(--hero-zoom, 1));
}

.hero-main-card:hover img.hero-card-foreground,
.hero-main-card:hover img:not(.hero-card-backdrop) {
  transform: scale(calc(var(--hero-zoom, 1) * 1.02));
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 24px;
  background: linear-gradient(to top, rgba(7, 8, 10, 0.95) 0%, rgba(7, 8, 10, 0.5) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.hero-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-300);
}

.hero-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.hero-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-pill {
  position: absolute;
  background: rgba(18, 20, 28, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float-slow 6s ease-in-out infinite alternate;
}

.floating-pill.pill-top {
  top: 30px;
  left: -35px;
}

.floating-pill.pill-bottom {
  bottom: 40px;
  right: -30px;
  animation-delay: -3s;
}

.pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pill-text {
  display: flex;
  flex-direction: column;
}

.pill-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pill-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MARQUEE BANNER
   ========================================================================== */
.marquee-wrapper {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.marquee-star {
  color: var(--gold-400);
  font-size: 0.9rem;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   CATEGORY SHOWCASE CARDS (LANDING PAGE)
   ========================================================================== */
.categories-section {
  padding: 90px 0;
  position: relative;
}

.categories-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.category-showcase-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.category-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 10, 0.95) 0%, rgba(7, 8, 10, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transition: all 0.3s ease;
}

.cat-showcase-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-showcase-arrow {
  color: var(--gold-400);
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.cat-showcase-count {
  font-size: 0.8rem;
  color: var(--gold-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-showcase-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.category-showcase-card:hover img {
  transform: scale(1.08);
}

.category-showcase-card:hover .cat-showcase-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   FEATURED ITEMS (LANDING PAGE)
   ========================================================================== */
.featured-section {
  padding: 90px 0;
  background: var(--bg-secondary);
  position: relative;
}

/* ==========================================================================
   DEDICATED SHOP / CLOTHING PAGE (shop.html)
   ========================================================================== */
.shop-banner {
  padding: calc(var(--header-height) + 50px) 0 40px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--gold-400);
}

.catalog-section {
  padding: 60px 0 100px;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.category-filter-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin-bottom: 36px;
}

.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.category-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tab:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--border-gold);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.category-tab.active {
  background: var(--gold-gradient);
  color: #07080a;
  border-color: var(--gold-400);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  font-weight: 700;
}

.category-count {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.category-tab.active .category-count {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

/* Search and Sort Toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.catalog-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 18px 12px 44px;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.25s ease;
}

.search-input:focus {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.sort-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.sort-select:focus {
  border-color: var(--gold-400);
}

.sort-select option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.results-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRODUCT GRID & CARDS
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-secondary);
  overflow: hidden;
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.product-img-secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-card:hover .product-img-secondary {
  opacity: 1;
  transform: scale(1.05);
}

/* Card Badges */
.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-gradient);
  color: #07080a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.card-badge.sale {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
}

.card-badge.stock-out,
.card-badge.out-of-stock {
  background: rgba(26, 28, 35, 0.95);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.product-card.is-out-of-stock .product-img {
  filter: grayscale(25%) opacity(0.85);
}

/* Quick Action Overlay */
.card-quick-actions {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.product-card:hover .card-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Card Favorite (Heart) Button */
.card-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  font-size: 1.05rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  -webkit-tap-highlight-color: transparent;
}

.card-fav-btn:hover {
  transform: scale(1.15);
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

.card-fav-btn.active {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ef4444;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

.fav-badge {
  background: #ef4444 !important;
  color: #ffffff !important;
  font-weight: 700;
}

.modal-fav-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.modal-fav-action-btn:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

.modal-fav-action-btn.active {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.quick-btn {
  flex: 1;
  background: rgba(14, 16, 22, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.quick-btn:hover {
  background: var(--gold-gradient);
  color: #07080a;
  border-color: var(--gold-400);
}

.quick-btn.disabled,
.quick-btn:disabled {
  background: rgba(22, 24, 32, 0.85) !important;
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.65;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.product-title:hover {
  color: var(--gold-300);
}

.product-sizes-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.size-chip-mini {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-percent {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Empty State */
.empty-catalog {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
}

.empty-icon {
  font-size: 3rem;
  color: var(--gold-400);
  margin-bottom: 16px;
}

/* ==========================================================================
   ABOUT & FEATURES
   ========================================================================== */
.features-section {
  padding: 90px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT & STORE INFO
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  background: var(--bg-secondary);
}

.contact-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-detail-val {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 2px;
}

.direct-actions-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  border-radius: var(--radius-md);
}

.btn-whatsapp-large {
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.btn-whatsapp-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  background: #22bf5b;
}

.btn-call-large {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-call-large:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-gold);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   MODALS & DRAWERS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #151824;
  border: 2px solid var(--gold-400);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.9), 0 0 16px rgba(212, 175, 55, 0.5);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.modal-close-btn svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2.8;
  display: block;
}

.modal-close-btn:hover,
.modal-close-btn:active {
  background: #dc2626;
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.6);
}

.modal-bottom-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.modal-bottom-close-btn:hover,
.modal-bottom-close-btn:active {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

.modal-bottom-close-btn svg {
  stroke: currentColor;
}

/* Quick View Modal Structure */
.quick-view-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  padding: 36px;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-preview-img-wrap {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--border-gold);
  position: relative;
  cursor: zoom-in;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-preview-backdrop {
  position: absolute;
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  object-fit: cover;
  filter: blur(28px) brightness(0.35) saturate(1.2);
  transform: scale(1.1);
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

.main-preview-img-wrap img#modalMainImage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, transform-origin;
  pointer-events: none;
}

.img-zoom-hint {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-preview-img-wrap.is-zoomed .img-zoom-hint {
  opacity: 0;
}

.thumbnails-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-item {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.thumb-item.active, .thumb-item:hover {
  opacity: 1;
  border-color: var(--gold-400);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-product-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.size-selector-wrap {
  margin: 10px 0;
}

.size-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.size-label-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.size-guide-link {
  font-size: 0.8rem;
  color: var(--gold-400);
  cursor: pointer;
  text-decoration: underline;
}

.sizes-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.size-chip-btn:hover {
  border-color: var(--gold-400);
  background: rgba(212, 175, 55, 0.1);
}

.size-chip-btn.selected {
  background: var(--gold-gradient);
  color: #07080a;
  border-color: var(--gold-400);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
  font-weight: 700;
}

/* Modal Actions */
.modal-order-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.modal-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.modal-stock-badge.in-stock {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.modal-stock-badge.out-of-stock {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

#modalAddToCartBtn.disabled,
#modalAddToCartBtn:disabled {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  opacity: 0.65;
}

/* ==========================================================================
   CART SLIDE-OUT DRAWER
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-tertiary);
  border-left: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2200;
}

.cart-drawer-backdrop.active .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Free Shipping Meter */
.free-shipping-meter {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 24px;
}

.meter-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.meter-text span {
  color: var(--gold-300);
  font-weight: 700;
}

.meter-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Cart Items Container */
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: 12px;
}

.cart-item-img {
  width: 70px;
  height: 85px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--gold-400);
  font-weight: 600;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qty-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2px 6px;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.remove-item-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s;
}

.remove-item-btn:hover {
  color: #ef4444;
}

/* Cart Footer */
.cart-drawer-footer {
  padding: 22px 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 16, 22, 0.9);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-summary-row.total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.cart-summary-row.total .total-amount {
  color: var(--gold-300);
  font-family: var(--font-heading);
}

/* ==========================================================================
   CHECKOUT FORM MODAL
   ========================================================================== */
.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.07);
}

/* Size Guide Table */
.size-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.size-table th {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-300);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-gold);
  font-weight: 700;
}

.size-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(18, 20, 28, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: auto;
  animation: slide-in-toast 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s ease;
}

.toast.hide {
  opacity: 0;
  transform: translateX(100%);
}

.toast-icon {
  color: var(--gold-400);
  font-size: 1.2rem;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

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

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes slide-in-toast {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET OPTIMIZATION)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .floating-pill.pill-top {
    left: 10px;
    top: 20px;
  }

  .floating-pill.pill-bottom {
    right: 10px;
    bottom: 25px;
  }

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

  .contact-card-wrap {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .site-header,
  .site-header.scrolled {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--header-height) !important;
  }

  .header-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
  }

  .site-header nav {
    display: contents;
  }

  .hero-bg-lights {
    display: none !important;
  }

  .hero-main-card {
    transform: none !important;
  }

  .marquee-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: paint;
  }

  .btn-primary, .btn-secondary, .btn-whatsapp-large, .btn-call-large {
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    word-break: break-word;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
    justify-content: flex-start;
    text-align: left;
  }

  .brand-logo-image {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .brand-logo .logo-text {
    text-align: left;
    min-width: 0;
    overflow: hidden;
  }

  .brand-logo .logo-title {
    font-size: 1.05rem;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-logo .logo-subtitle {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
  }

  .action-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .admin-link-btn span:last-child {
    display: none; /* Icon only on mobile header */
  }

  .admin-link-btn {
    padding: 8px 10px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background: rgba(14, 16, 22, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-gold);
    padding: 24px 20px;
    flex-direction: column;
    gap: 18px;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    align-items: center;
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
    animation: slideDownMenu 0.3s ease;
  }

  @keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-menu .nav-link {
    display: block;
    text-align: center;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .hero-section {
    overflow: hidden;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .hero-card-stack {
    max-width: 100%;
  }

  .floating-pill.pill-top {
    left: 8px;
    top: 14px;
    padding: 8px 12px;
  }

  .floating-pill.pill-bottom {
    right: 8px;
    bottom: 18px;
    padding: 8px 12px;
  }

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

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

  .modal-backdrop {
    padding: max(14px, env(safe-area-inset-top, 14px)) 10px max(24px, env(safe-area-inset-bottom, 24px)) 10px;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-dialog {
    margin: 0 auto 24px;
    max-height: calc(100dvh - 36px);
    max-width: calc(100vw - 16px);
    border-radius: var(--radius-md);
    transform: none !important;
  }

  .modal-backdrop.active .modal-dialog {
    transform: none !important;
  }

  .quick-view-content {
    grid-template-columns: 1fr;
    padding: 62px 16px 20px 16px;
    gap: 18px;
  }

  .modal-close-btn {
    position: fixed;
    top: max(14px, env(safe-area-inset-top, 14px));
    right: 14px;
    width: 48px;
    height: 48px;
    background: #141724;
    border: 2.5px solid #d4af37;
    color: #ffffff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 0 20px rgba(212, 175, 55, 0.7);
    z-index: 3000;
  }

  .modal-close-btn svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    stroke-width: 2.8;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-wrap {
    padding: 24px 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cart-drawer {
    max-width: 100vw;
  }

  .shop-banner {
    padding: calc(var(--header-height) + 24px) 0 24px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .shop-banner .section-title {
    font-size: 1.75rem;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.25;
  }

  .shop-banner .section-subtitle {
    font-size: 0.92rem;
    padding: 0 4px;
  }

  .catalog-section {
    padding: 28px 0 60px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .category-filter-wrapper {
    margin-bottom: 24px;
    padding-bottom: 4px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    box-sizing: border-box;
  }

  .category-filter-wrapper::-webkit-scrollbar {
    display: none;
  }

  .category-filter-bar {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: max-content;
    min-width: 100%;
    padding: 2px 4px 6px;
    box-sizing: border-box;
  }

  .category-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .search-box {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .catalog-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    box-sizing: border-box;
  }

  .sort-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .results-info {
    text-align: center;
    width: 100%;
  }

  .product-pricing {
    flex-wrap: wrap;
    gap: 4px 6px;
    align-items: center;
  }

  .current-price {
    font-size: 1.02rem;
    white-space: nowrap;
  }

  .old-price {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .discount-percent {
    font-size: 0.7rem;
    padding: 1px 4px;
    white-space: nowrap;
  }

  .product-card {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .product-info {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .product-title {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 540px) {
  .product-info {
    padding: 12px 10px;
  }

  .product-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .current-price {
    font-size: 1.05rem;
  }

  .old-price {
    font-size: 0.8rem;
  }

  .card-quick-actions {
    display: none; /* On small touch screens, click opens Quick View modal */
  }

  .product-sizes-preview {
    display: none; /* Keep card compact on mobile */
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 12px;
  }

  .brand-logo .logo-title {
    font-size: 0.95rem;
    letter-spacing: 0.8px;
  }

  .brand-logo-image {
    width: 34px;
    height: 34px;
  }

  .action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .shop-banner .section-title {
    font-size: 1.55rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.95rem;
    text-align: center;
  }

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

  .categories-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

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

  .product-title {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .current-price {
    font-size: 0.98rem;
  }

  .old-price {
    font-size: 0.78rem;
  }

  .floating-pill {
    padding: 6px 10px;
    gap: 8px;
  }

  .pill-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .pill-title {
    font-size: 0.75rem;
  }

  .pill-sub {
    font-size: 0.65rem;
  }
}

.legal-page {
  max-width: 820px;
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-page h1 {
  margin: 36px 0 24px;
}

.legal-page h2 {
  margin: 28px 0 10px;
  color: var(--gold-300);
}

.legal-page p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   MOBILE LANDSCAPE ORIENTATION ADAPTATION
   ========================================================================== */
@media (orientation: landscape) and (max-height: 550px) {
  :root {
    --header-height: 56px;
  }

  .site-header {
    height: 56px;
  }

  .nav-menu {
    top: 56px;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding: 14px 20px;
    gap: 10px;
  }

  .hero-section {
    min-height: auto;
    padding: calc(var(--header-height) + 16px) 0 36px;
  }

  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .modal-backdrop {
    align-items: flex-start;
    padding: 8px 10px;
  }

  .modal-dialog {
    margin: 0 auto 16px;
    max-height: calc(100dvh - 16px);
    max-width: 96vw;
  }

  .quick-view-content {
    grid-template-columns: 1fr 1.2fr;
    padding: 24px 16px 16px;
    gap: 16px;
  }

  .main-preview-img-wrap {
    max-height: 220px;
  }

  .modal-close-btn {
    position: fixed;
    top: 10px;
    right: 12px;
    width: 42px;
    height: 42px;
    z-index: 3000;
  }

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

  .categories-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}
