/* ============================================
   APPLAUSE - Men's Fashion Store
   Smoky Black & Olive Drab Theme
   ============================================ */

/* CSS Variables */
:root {
  --gold: #D8CFBC;
  --gold-dark: #565449;
  --gold-light: #FFFBF4;
  --gold-glow: rgba(216, 207, 188, 0.3);
  --dark: #11120D;
  --text: #FFFBF4;
  --muted: #D8CFBC;
  --white: #FFFBF4;
  --off-white: #11120D;
  --card-bg: #565449;
  --success: #2ECC71;
  --danger: #E74C3C;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(216,207,188,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

input, select, textarea {
  font-family: var(--font-body);
  outline: none;
  border: none;
}

ul { list-style: none; }

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   NAVBAR - Dark Pill Style
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 251, 244, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 251, 244, 0.2);
  padding: 0 20px;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 180px;
  width: auto;
}

.navbar-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #11120D;
  letter-spacing: 2px;
}

.navbar-logo-text span {
  color: var(--gold);
}

/* Dark Pill Nav Bar */
.navbar-pill {
  display: flex;
  align-items: center;
  background: #111111;
  border-radius: 50px;
  padding: 6px;
  position: relative;
  gap: 4px;
}

.navbar-pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  color: #11120D;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 2;
  white-space: nowrap;
  cursor: pointer;
}

.navbar-pill-item svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: var(--transition);
}

.navbar-pill-item .pill-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.navbar-pill-item.active {
  background: rgba(17, 18, 13, 0.15);
}

.navbar-pill-item.active .pill-label {
  max-width: 120px;
  opacity: 1;
  margin-left: 2px;
}

.navbar-pill-item:hover:not(.active) {
  background: rgba(255,255,255,0.08);
}

.navbar-pill-item .cart-badge-pill {
  position: absolute;
  top: 4px;
  right: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  padding: 8px;
  border: none;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: #11120D;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 3px;
  display: block;
}

.hamburger span:nth-child(1) {
  width: 28px;
}

.hamburger span:nth-child(2) {
  width: 22px;
}

.hamburger span:nth-child(3) {
  width: 16px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  width: 28px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  width: 28px;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: #11120D;
  z-index: 1001;
  padding: 80px 24px 24px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--card-bg);
}

.mobile-nav a:hover {
  color: var(--gold);
  padding-left: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFBF4 0%, #D8CFBC 50%, #565449 100%);
  padding-top: 70px;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    45deg,
    var(--gold) 0,
    var(--gold) 1px,
    transparent 1px,
    transparent 40px
  );
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17,18,13,0.08);
  border: 1px solid rgba(17,18,13,0.15);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #11120D;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #565449;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #11120D;
  margin-bottom: 8px;
  line-height: 1.1;
}

.hero-title .gold {
  color: #565449;
  position: relative;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #565449;
  font-style: italic;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.05rem;
  color: #11120D;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,164,90,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--dark);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--dark);
}

.btn-secondary:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(17,18,13,0.15);
}

.hero-stat h3 {
  font-size: 1.8rem;
  color: #11120D;
  font-family: var(--font-body);
  font-weight: 700;
}

.hero-stat p {
  font-size: 0.8rem;
  color: #565449;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img,
.hero-image-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Shop Now Button */
.mobile-shop-btn {
  display: none;
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  background: rgba(17, 18, 13, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(216, 207, 188, 0.3);
  border-radius: 50px;
  padding: 10px 16px 10px 12px;
  color: #FFFBF4;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 8px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(216, 207, 188, 0.4);
  animation: pulseGlow 2.5s ease-in-out infinite, slideInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-shop-btn:active {
  transform: scale(0.92);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 0 0 8px rgba(216, 207, 188, 0.2);
}

.mobile-shop-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #D8CFBC, #565449);
  border-radius: 50%;
  color: #11120D;
  animation: iconBounce 2s ease-in-out infinite;
}

.mobile-shop-btn .btn-text {
  letter-spacing: 0.5px;
}

.mobile-shop-btn .btn-arrow {
  font-size: 0.9rem;
  animation: arrowSlide 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(216, 207, 188, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 8px rgba(216, 207, 188, 0);
  }
}

@keyframes iconBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes arrowSlide {
  0%, 100% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(4px);
    opacity: 0.7;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
}

.hero-image-float.top-right {
  top: 20px;
  right: -20px;
}

.hero-image-float.bottom-left {
  bottom: 40px;
  left: -20px;
  animation-delay: -3s;
}

.hero-image-float .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200,164,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-image-float .label {
  font-size: 0.75rem;
  color: #565449;
}

.hero-image-float .value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .overline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}

.section-header p {
  color: #565449;
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ============================================
   VIDEO SHOWCASE SECTION
   ============================================ */
.video-showcase-section {
  background: var(--off-white);
  padding: 60px 0 80px;
}

.video-showcase-box {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 16/9;
  position: relative;
}

.video-showcase-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories {
  background: var(--off-white);
}

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

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--card-bg), var(--gold-light));
  transition: var(--transition);
}

.category-card:hover .category-card-bg {
  transform: scale(1.05);
}

.category-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  z-index: 2;
}

.category-card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.category-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.category-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

.category-card .arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transform: translate(10px, -10px);
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}

.category-card:hover .arrow {
  transform: translate(0, 0);
  opacity: 1;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--card-bg);
}

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

.product-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .product-img-main {
  opacity: 0;
}

.product-card:hover .product-img-hover {
  opacity: 1;
}

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

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: var(--transition);
  z-index: 2;
}

.product-card-wishlist:hover,
.product-card-wishlist.active {
  color: var(--danger);
  background: var(--white);
  transform: scale(1.1);
}

.product-card-info {
  padding: 16px;
}

.product-card-category {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card-price .current {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.product-card-price .original {
  font-size: 0.85rem;
  color: #565449;
  text-decoration: line-through;
}

.product-card-price .discount {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

.product-card-sizes {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.product-card-sizes span {
  font-size: 0.7rem;
  padding: 3px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #565449;
}

/* ============================================
   TRENDING CAROUSEL
   ============================================ */
.trending-section {
  background: var(--off-white);
}

.trending-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.trending-carousel::-webkit-scrollbar {
  display: none;
}

.trending-carousel .product-card {
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trending-carousel {
    gap: 12px;
    padding-bottom: 12px;
  }
  .trending-carousel .product-card {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
  }
}

/* ============================================
   INSTAGRAM SECTION
   ============================================ */
.instagram-section {
  background: var(--white);
  text-align: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 20px;
  padding: 12px 28px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.instagram-link:hover {
  background: var(--gold);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  text-align: center;
  font-size: 0.8rem;
  margin-top: 48px;
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.shipping-banner {
  display: none !important;
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 8px;
  right: 8px;
  background: rgba(17, 18, 13, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px 16px 0 0;
  border-top: 1px solid rgba(216, 207, 188, 0.2);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
  z-index: 998;
  padding: 10px 0;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  background: none;
  color: #D8CFBC;
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-item svg {
  stroke: #555;
  fill: none;
  transition: var(--transition);
}

.mobile-nav-item.active {
  color: #FFFBF4;
}

.mobile-nav-item.active svg {
  stroke: #FFFBF4;
  filter: drop-shadow(0 0 8px rgba(216, 207, 188, 0.6));
}

.mobile-nav-item:active {
  transform: scale(0.92);
}

.mobile-nav-item:active svg {
  filter: drop-shadow(0 0 12px rgba(216, 207, 188, 0.8));
}

.mobile-nav-item .label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

/* Elevated Cart Button */
.mobile-nav-item.cart-center {
  position: relative;
  margin-top: -28px;
}

.cart-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D8CFBC, #565449);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(216,207,188,0.5), 0 0 0 4px rgba(17,18,13,0.8);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.cart-circle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(200,164,90,0.6), 0 0 0 4px #ffffff;
}

.cart-circle:active {
  transform: scale(0.95);
}

.cart-circle svg {
  stroke: #ffffff !important;
  fill: #ffffff !important;
  width: 24px;
  height: 24px;
}

.cart-badge-center {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e74c3c;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.cart-badge-center:empty,
.cart-badge-center[data-count="0"] {
  display: none;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-hero {
  padding: 120px 0 40px;
  background: var(--off-white);
  text-align: center;
}

.shop-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.shop-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--card-bg);
  margin-bottom: 32px;
}

.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--card-bg);
  color: var(--text);
  transition: var(--transition);
  border: 1px solid transparent;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #ddd;
  font-size: 0.85rem;
  background: var(--white);
  color: #11120D;
  cursor: pointer;
}

.search-bar {
  position: relative;
  flex: 1;
  max-width: 300px;
}

.search-bar input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 50px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  background: var(--white);
  transition: var(--transition);
}

.search-bar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.search-bar .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
  padding: 100px 0 60px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 90px;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #565449;
  margin-bottom: 16px;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
}

.product-thumbnail {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  background: #565449;
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: #D8CFBC;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-size: 1.8rem;
  color: #11120D;
  margin-bottom: 8px;
}

.product-info .product-category-tag {
  display: inline-block;
  background: rgba(17,18,13,0.08);
  color: #565449;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #D8CFBC;
}

.product-price-block .price {
  font-size: 2rem;
  font-weight: 700;
  color: #11120D;
}

.product-price-block .original-price {
  font-size: 1.1rem;
  color: #565449;
  text-decoration: line-through;
}

.product-price-block .save {
  background: rgba(46,204,113,0.1);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-description {
  color: #11120D;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.size-selector {
  margin-bottom: 28px;
}

.size-selector label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #11120D;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.size-option {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 2px solid #D8CFBC;
  background: #FFFBF4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #11120D;
  cursor: pointer;
  transition: var(--transition);
}

.size-option:hover {
  border-color: #565449;
}

.size-option.active {
  border-color: #565449;
  background: #565449;
  color: #FFFBF4;
}

.size-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}

.quantity-selector label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #11120D;
  margin-right: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #D8CFBC;
  background: #FFFBF4;
  font-size: 1.1rem;
  font-weight: 600;
  color: #11120D;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:first-of-type {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.qty-btn:last-of-type {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.qty-btn:hover {
  border-color: #565449;
  color: #565449;
}

.qty-value {
  width: 50px;
  height: 40px;
  border-top: 2px solid #D8CFBC;
  border-bottom: 2px solid #D8CFBC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: #11120D;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-add-cart {
  flex: 1;
  padding: 16px 32px;
  background: #565449;
  color: #FFFBF4;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(86,84,73,0.3);
  border: none;
  cursor: pointer;
}

.btn-add-cart:hover {
  background: #11120D;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.btn-add-cart:active {
  transform: scale(0.97);
}

.btn-buy-now {
  padding: 16px 32px;
  background: #11120D;
  color: #FFFBF4;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-buy-now:hover {
  background: #565449;
  transform: translateY(-2px);
}

.payment-info {
  background: #565449;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.payment-info h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFBF4;
}

.payment-methods {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #FFFBF4;
}

.payment-method .icon {
  font-size: 1.2rem;
}

.cod-notice {
  font-size: 0.8rem;
  color: #D8CFBC;
  font-weight: 500;
  margin-top: 8px;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
  background: linear-gradient(135deg, var(--off-white), var(--card-bg));
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.auth-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .subtitle {
  text-align: center;
  color: #565449;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
  background: #FFFBF4;
  color: #11120D;
}

.form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: var(--white);
}

.form-group input.error {
  border-color: var(--danger);
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 4px;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
  box-shadow: var(--shadow-gold);
}

.auth-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #565449;
}

.auth-switch a {
  color: var(--gold);
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-page {
  padding: 100px 0 60px;
  min-height: 100vh;
}

.cart-page h1 {
  font-size: 1.8rem;
  color: #11120D;
  margin-bottom: 32px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 20px;
  background: #FFFBF4;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cart-item:hover {
  box-shadow: var(--shadow-md);
}

.cart-item-image {
  width: 100px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--card-bg);
}

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

.cart-item-details {
  flex: 1;
}

.cart-item-details h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #11120D;
  margin-bottom: 4px;
}

.cart-item-details .item-size {
  font-size: 0.8rem;
  color: #565449;
  margin-bottom: 8px;
}

.cart-item-details .item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #11120D;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-item-remove {
  background: none;
  color: #565449;
  font-size: 1.2rem;
  padding: 4px;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-summary {
  background: #FFFBF4;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}

.cart-summary h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: #11120D;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #D8CFBC;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #11120D;
}

.summary-row.total {
  border-top: 2px solid #11120D;
  margin-top: 12px;
  padding-top: 16px;
  font-weight: 700;
  font-size: 1.1rem;
}

.summary-row .cod-extra {
  color: #565449;
  font-weight: 500;
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty .icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-empty h2 {
  font-size: 1.5rem;
  color: #11120D;
  margin-bottom: 8px;
}

.cart-empty p {
  color: #565449;
  margin-bottom: 24px;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page {
  padding: 100px 0 60px;
  min-height: 100vh;
}

.checkout-page h1 {
  font-size: 1.8rem;
  margin-bottom: 32px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.checkout-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.checkout-form h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.payment-option {
  border: 2px solid #eee;
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.payment-option:hover {
  border-color: var(--gold);
}

.payment-option.active {
  border-color: var(--gold);
  background: rgba(200,164,90,0.05);
}

.payment-option .icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.payment-option .name {
  font-size: 0.85rem;
  font-weight: 600;
}

.payment-option .desc {
  font-size: 0.75rem;
  color: #565449;
  margin-top: 2px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #11120D;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  animation: slideInRight 0.4s ease;
  border-left: 4px solid #D8CFBC;
  pointer-events: auto;
}

.toast.success { border-left-color: #2ECC71; }
.toast.error { border-left-color: #E74C3C; }

.toast .icon { font-size: 1.2rem; color: #FFFBF4; }
.toast .message { font-size: 0.9rem; font-weight: 500; color: #FFFBF4; }

/* ============================================
   LOADING SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--card-bg) 25%, #eee 50%, var(--card-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.skeleton-image {
  aspect-ratio: 3/4;
  width: 100%;
}

.skeleton-text {
  height: 14px;
  margin: 12px 16px;
  width: 70%;
}

.skeleton-text-short {
  height: 12px;
  margin: 0 16px 16px;
  width: 40%;
}

/* ============================================
   CINEMATIC PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 99999;
  overflow: hidden;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.preloader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
  z-index: 5;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.preloader-strip {
  position: relative;
  width: 100%;
  height: 100%;
}

.preloader-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.6) saturate(1.2);
  transform: scale(1.05); /* Start slightly zoomed for smooth effect */
  will-change: transform, opacity;
}

/* Brand overlay during zoom phase */
.preloader-brand {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.preloader-brand.visible {
  opacity: 1;
}

.preloader-brand-logo {
  width: 220px;
  max-width: 60vw;
  height: auto;
  filter: invert(1) hue-rotate(180deg) drop-shadow(0 4px 20px rgba(0,0,0,0.8));
  animation: pulseLogo 3s infinite alternate ease-in-out;
}

@keyframes pulseLogo {
  0% { transform: scale(1); filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
  100% { transform: scale(1.08); filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 30px rgba(255,255,255,0.7)); }
}

/* Progress bar */
.preloader-progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 20;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.1s linear;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

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

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

  .hero-image {
    order: -1;
  }

  .hero-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

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

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: static;
  }

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

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
  .preloader-brand-text {
    font-size: 1.5rem;
    letter-spacing: 5px;
  }

  .navbar-pill {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-image-float {
    display: none;
  }

  .mobile-shop-btn {
    display: flex;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat h3 {
    font-size: 1.4rem;
  }

  .video-showcase-box {
    aspect-ratio: 9/16;
    max-width: 320px;
  }

  .section {
    padding: 50px 0;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    aspect-ratio: 1;
  }

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

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

  .product-card-name {
    font-size: 0.85rem;
  }

  .product-card-price .current {
    font-size: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .navbar-logo-text {
    font-size: 1.05rem;
    letter-spacing: 1px;
  }

  .navbar-logo img {
    height: 100px;
  }

  .container {
    padding: 0 16px;
  }

  .mobile-bottom-nav {
    display: block;
  }

  body {
    padding-bottom: 75px;
  }

  .shop-hero {
    padding: 100px 0 24px;
  }

  .shop-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 0;
    margin-bottom: 20px;
  }

  /* order: search first, then category chips, then sort */
  .search-bar {
    order: 1;
    max-width: 100%;
  }

  .filter-chips {
    order: 2;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 -16px;
    padding: 4px 16px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.82rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .sort-select {
    order: 3;
    width: 100%;
  }

  #noResults {
    padding: 40px 20px !important;
  }

  #noResults > div:first-child {
    font-size: 2.5rem !important;
    line-height: 1;
  }

  .footer {
    position: relative;
    z-index: 2;
    padding-bottom: 120px;
  }

  .cart-item {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-item-image {
    width: 100%;
    height: 160px;
  }

  .cart-item-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
  }

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

  .payment-options {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .auth-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .products-grid {
    gap: 10px;
  }

  .product-card-sizes {
    display: none;
  }
}

.testimonials-section {
  background: var(--dark);
}
 
.testimonials-section .section-header h2,
.testimonials-section .section-header p {
  color: var(--white);
}
 
.testimonials-section .section-header .overline {
  color: var(--gold);
}
 
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
 
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
 
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
 
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
 
.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  min-height: 60px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
 
.testimonial-text.text-revealed {
  opacity: 1;
  transform: translateY(0);
}
 
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
 
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
 
.testimonial-footer h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 2px;
}
 
.testimonial-footer span {
  font-size: 0.78rem;
  color: var(--gold);
}
 
.no-testimonials {
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
  padding: 40px 0;
}
 
/* Testimonial Submission Form */
.testimonial-form-wrapper {
  display: flex;
  justify-content: center;
}
 
.testimonial-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
 
.testimonial-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
 
.testimonial-form-card .form-subtext {
  color: var(--gold-dark);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
 
.testimonial-form-card input,
.testimonial-form-card textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--gold-light);
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 16px;
  resize: none;
  font-family: var(--font-body);
}
 
.testimonial-form-card input:focus,
.testimonial-form-card textarea:focus {
  border-color: var(--gold-dark);
}
 
.star-input {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 2rem;
  color: var(--gold-dark);
  margin-bottom: 16px;
  cursor: pointer;
}
 
.star-input span {
  transition: transform 0.2s ease, color 0.2s ease;
}
 
.star-input span:hover,
.star-input span.active {
  color: #E8B923;
  transform: scale(1.15);
}
 
.testimonial-form-card .form-note {
  font-size: 0.78rem;
  color: var(--gold-dark);
  margin-top: 12px;
}
 
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-form-card { padding: 28px 20px; }
}