/* @import Premium Sans-Serif Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@400;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Syncopate:wght@400;700&display=swap');


/* CSS Variables & Design Tokens */
:root {
  --primary-dark: #121212;       /* #121212 - Black Premium */
  --primary-grey: #5e5e5e;       /* #5e5e5e - Slate Grey */
  --accent-leather: #8B4513;      /* #8B4513 - Saddle Leather Brown */
  --accent-leather-hover: #70350d;/* #70350d - Darker Saddle Brown */
  --brand-gold: #D4AF37;          /* #D4AF37 - Vintage Gold */
  --surface-light: #FAF9F6;       /* #FAF9F6 - Warm Off-White */
  --surface-white: #ffffff;
  --surface-grey: #efeeea;        /* #efeeea - Soft Grey */
  --text-dark: #121212;
  --text-light: #FAF9F6;
  --text-grey: #6c6c6c;          /* #6c6c6c */
  --border-color: #e5e5e5;       /* Lighter, more subtle border */
  
  /* CTA & Badge tokens — Gringa-inspired */
  --cta-primary: #1a1a1a;
  --cta-primary-hover: #333333;
  --cta-primary-text: #ffffff;
  --badge-sale: #C1272D;
  --badge-new: #2D6A4F;
  --badge-lastunits: #B8860B;
  
  /* Typography */
  --font-display: 'Outfit', 'Montserrat', Helvetica, sans-serif;
  --font-sans: 'Montserrat', Helvetica, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.15s ease-out;
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Shadows */
  --shadow-premium: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-drawer: -10px 0 40px rgba(0, 0, 0, 0.15);
  
  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  
  /* Container */
  --container-max: 1440px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--surface-light);
  color: var(--text-dark);
  font-family: var(--font-sans);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  overscroll-behavior-x: none;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Typography elements */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}

p {
  line-height: 1.75;
  font-weight: 400;
  color: var(--text-grey);
  max-width: 65ch;
}

/* Promo Bar */
.promo-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.promo-bar p {
  color: var(--text-light);
  text-align: center;
  flex: 1;
}

.promo-arrow {
  color: var(--text-light);
  font-size: 1.2rem;
  padding: 0 10px;
  transition: var(--transition-fast);
}
.promo-arrow:hover {
  color: var(--brand-gold);
}

/* Header & Nav */
.site-header {
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled .nav-shell {
  height: 65px;
  padding: 10px 40px;
}

.site-header.scrolled .header-logo-img {
  height: 32px;
}

.nav-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  height: 90px;
  transition: var(--transition-smooth);
}

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

.header-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--surface-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 100;
  padding: 40px 80px;
  box-sizing: border-box;
}

.mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.5fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.mega-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-col ul li {
  margin-bottom: 10px;
}

.mega-col ul li a {
  font-size: 0.8rem;
  color: var(--text-grey);
  transition: var(--transition-fast);
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.mega-col ul li a:hover {
  color: var(--accent-leather);
  padding-left: 4px;
}

.mega-col ul li a::after {
  display: none !important; /* No underline effect for mega menu links */
}

.mega-editorial {
  display: flex;
  gap: 20px;
  background-color: var(--surface-grey);
  padding: 20px;
  align-items: center;
}

.mega-editorial-img {
  width: 100px;
  height: 120px;
  object-fit: cover;
}

.mega-editorial-text h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.mega-editorial-text p {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-grey);
  margin-bottom: 12px;
  max-width: 180px;
}

.mega-editorial-btn {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 1.5px solid var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mega-editorial-btn:hover {
  color: var(--accent-leather);
  border-bottom-color: var(--accent-leather);
}

/* Wishlist header icon styling */
.wishlist-header-btn {
  position: relative;
}
.wishlist-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--badge-sale);
  color: var(--text-light);
  font-size: 0.6rem;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0px;
  height: 3px;
  background-color: var(--accent-leather);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent-leather);
}

.nav-links a.promo-nav {
  color: var(--accent-leather);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-word {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-grey);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 3px;
  margin-right: 10px;
  transition: var(--transition-fast);
}
.search-word:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.icon-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: var(--transition-fast);
}
.icon-button:hover {
  background-color: var(--surface-grey);
}

.nav-svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button {
  display: flex;
  align-items: center;
  position: relative;
  padding: 5px 10px;
  border-radius: 20px;
  background-color: var(--primary-dark);
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.cart-button:hover {
  background-color: var(--accent-leather);
  transform: translateY(-2px);
}

.cart-button .nav-svg {
  stroke: var(--text-light);
}

.cart-count {
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 6px;
}

/* Mobile Menu Button */
.nav-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  cursor: pointer;
}
.nav-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary-dark);
  transition: var(--transition-fast);
}

/* Search Panel overlay */
.search-panel {
  display: none;
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 40px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
  z-index: 89;
  animation: slideDown 0.3s ease-out forwards;
}

.search-panel.active {
  display: block;
}

.search-panel label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-grey);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.search-panel input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2.5px solid var(--primary-dark);
  font-size: 1.5rem;
  font-family: var(--font-display);
  outline: none;
  background: transparent;
  color: var(--primary-dark);
}

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

/* Main layouts */
main {
  min-height: calc(100vh - 200px);
}

/* Hero Slider */
.wj-hero {
  position: relative;
  width: 100%;
  max-width: 1910px;
  margin: 0 auto;
  aspect-ratio: 1910 / 670;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.hero-slide.prev-active {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero progress bar styles */
.hero-progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.hero-progress-bar {
  width: 0%;
  height: 100%;
  background-color: var(--primary-dark);
  transition: width 6000ms linear;
}

.hero-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8%;
  box-sizing: border-box;
  z-index: 5;
}

.hero-content-overlay h2 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  max-width: 70%;
  word-break: break-word;
  overflow-wrap: break-word;
  text-wrap: balance;
  text-transform: uppercase;
}

.hero-content-overlay p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 25px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  max-width: 75%;
  word-break: break-word;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.hero-content-overlay .hero-btn {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cta-primary-text);
  background-color: var(--cta-primary);
  padding: 16px 36px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.hero-content-overlay .hero-btn:hover {
  background-color: var(--surface-white);
  color: var(--cta-primary);
  border-color: var(--surface-white);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-content-overlay {
    padding: 0 5%;
  }
  .hero-content-overlay h2 {
    font-size: 1.5rem !important;
  }
  .hero-content-overlay p {
    font-size: 0.7rem !important;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
  }
  .hero-content-overlay .hero-btn {
    padding: 8px 16px;
    font-size: 0.65rem;
  }
  .hero-arrow {
    display: none !important;
  }
  .promo-bar {
    font-size: 0.6rem !important;
    letter-spacing: 0.08em !important;
    padding: 8px 10px !important;
  }
  .promo-arrow {
    font-size: 1rem !important;
    padding: 0 5px !important;
  }
}


.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: var(--surface-white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}
.hero-arrow:hover {
  background-color: var(--surface-white);
  color: var(--primary-dark);
}
.hero-prev { left: 30px; }
.hero-next { right: 30px; }

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-fast);
}
.hero-dot.active {
  background-color: var(--surface-white);
  width: 24px;
  border-radius: 4px;
}

/* Collection Feature banner (Video) */
.collection-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 1588px);
  min-height: 390px;
  margin: 4px auto 0;
  gap: 4px;
  background: #ffffff;
}

.collection-video,
.collection-callout {
  min-height: 390px;
  overflow: hidden;
}

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

.collection-callout {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 52px;
  background: #9f4248;
  color: #ffffff;
  text-align: center;
}

.collection-callout span {
  display: block;
  width: min(38vw, 310px);
  height: 5px;
  background: #ffffff;
}

.collection-callout strong {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.collection-callout b {
  font-weight: 800;
}

/* Redesign Category Showcase (3.2) */
.category-showcase {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 80px;
  background-color: var(--surface-light);
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  box-sizing: border-box;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.category-showcase::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari/Opera */
}

.category-tile {
  flex: 0 0 calc(25% - 15px); /* 4 items in desktop */
  scroll-snap-align: start;
  min-height: auto;
  aspect-ratio: 3 / 4;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

.category-tile::before {
  display: none; /* Remove overlay */
}

.category-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  opacity: 1;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.category-tile:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-premium);
}

.category-tile span {
  position: relative;
  left: 0;
  bottom: 0;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 5px;
  transition: var(--transition-fast);
}

.category-tile:hover span {
  color: var(--accent-leather);
}

/* Featured Products grid */
.featured-products {
  padding: 80px 40px;
  background-color: var(--surface-light);
}

.featured-products-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.featured-products-heading {
  margin-bottom: 50px;
}
.featured-products-heading p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-leather);
  font-weight: 600;
  margin-bottom: 8px;
}
.featured-products-heading h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
}

.featured-products-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0 30px;
  scrollbar-width: none;
  box-sizing: border-box;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.featured-products-grid::-webkit-scrollbar {
  display: none;
}

/* Product Card */
.featured-product-card {
  flex: 0 0 calc(25% - 15px); /* 4 items in desktop */
  scroll-snap-align: start;
  background-color: var(--surface-white);
  border: none;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.featured-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}

.featured-product-media {
  position: relative;
  width: 100%;
  padding-top: 120%; /* 4:5 Aspect Ratio */
  overflow: hidden;
  background-color: var(--surface-grey);
}

.featured-product-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.featured-product-media .img-hover {
  opacity: 0;
}

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

.featured-product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--badge-sale);
  color: var(--text-light);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  z-index: 5;
}

.featured-product-badge.badge-new {
  background-color: var(--badge-new);
}

.featured-product-badge.badge-lastunits {
  background-color: var(--badge-lastunits);
}

.featured-product-badge.badge-soldout {
  background-color: var(--primary-grey);
}

.featured-product-badge.badge-featured {
  background-color: var(--brand-gold);
  color: var(--cta-primary-text);
}

.featured-product-heart {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--surface-white);
  color: var(--primary-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 5;
  transition: var(--transition-fast);
  cursor: pointer;
}

.featured-product-heart:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
  transform: scale(1.1);
}

.featured-product-heart.active {
  color: var(--badge-sale);
}

.featured-product-info {
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-product-info span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-grey);
  margin-bottom: 8px;
  font-weight: 500;
}

.featured-product-info h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  line-height: 1.4 !important;
  height: 2.8em !important;
}

.featured-product-old-price {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-grey);
  margin-bottom: 2px;
}

.featured-product-old-price b {
  color: var(--badge-sale);
  font-weight: 700;
  margin-left: 5px;
}

.featured-product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.featured-product-info small {
  font-size: 0.7rem;
  color: var(--text-grey);
  margin-bottom: 20px;
}

.featured-product-buy {
  margin-top: auto;
  width: 100%;
  background-color: var(--cta-primary);
  color: var(--cta-primary-text);
  padding: 14px 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: var(--transition-fast);
  border: 1px solid var(--cta-primary);
  cursor: pointer;
}

.featured-product-buy:hover {
  background-color: transparent;
  color: var(--cta-primary);
}

.featured-product-buy:active {
  transform: scale(0.98);
}

/* Drawers & Overlays */
.admin-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 190;
}

.admin-drawer-overlay.active {
  display: block;
}

.mobile-menu, .cart-drawer, .filter-drawer {
  position: fixed;
  top: 0;
  height: 100%;
  background-color: var(--surface-white);
  z-index: 200;
  box-shadow: var(--shadow-drawer);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.25, 1.25, 0.5, 1);
}

.mobile-menu {
  left: 0;
  width: 320px;
  transform: translateX(-100%);
}
.mobile-menu.active {
  transform: translateX(0);
}

.cart-drawer {
  right: 0;
  width: 420px;
  transform: translateX(100%);
}
.cart-drawer.active {
  transform: translateX(0);
}

/* Drawer contents */
.drawer-header {
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.drawer-close-btn {
  font-size: 1.8rem;
  color: var(--text-grey);
  transition: var(--transition-fast);
}
.drawer-close-btn:hover {
  color: var(--primary-dark);
}

/* Cart drawer specific */
.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 30px;
}

.cart-empty-message {
  text-align: center;
  padding: 40px 0;
  color: var(--text-grey);
}

.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.cart-item-image {
  width: 80px;
  height: 100px;
  object-fit: cover;
  background-color: var(--surface-grey);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-info h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-sku {
  font-size: 0.65rem;
  color: var(--text-grey);
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-control {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.qty-control button {
  width: 28px;
  height: 28px;
  background-color: var(--surface-grey);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control span {
  width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-item-remove {
  font-size: 0.75rem;
  color: var(--text-grey);
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}
.cart-item-remove:hover {
  color: var(--accent-leather);
  border-bottom-color: var(--accent-leather);
}

.cart-footer {
  padding: 30px;
  border-top: 1px solid var(--border-color);
  background-color: var(--surface-light);
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}
.cart-totals-row.grand-total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.cart-checkout-btn {
  width: 100%;
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  transition: var(--transition-fast);
}
.cart-checkout-btn:hover {
  background-color: var(--accent-leather);
}

/* Mobile navigation menu specific */
.mobile-menu-links {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu-links a {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mobile-menu-links a:hover {
  color: var(--accent-leather);
}

/* Store / Catalog styles */
.store-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 40px;
}

.store-page-title {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.store-breadcrumbs {
  font-size: 0.75rem;
  color: var(--text-grey);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}
.store-breadcrumbs span {
  color: var(--accent-leather);
  font-weight: 700;
}

.store-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}

.store-sidebar {
  border-right: 1px solid var(--border-color);
  padding-right: 30px;
}

.sidebar-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

.filter-accordion {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.filter-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  padding: 10px 0;
}

.chevron {
  transition: transform 0.3s ease;
}
.filter-accordion.active .chevron {
  transform: rotate(180deg);
}

.filter-content {
  margin-top: 15px;
  display: none;
}
.filter-accordion.active .filter-content {
  display: block;
}

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

.filter-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.filter-tag:hover, .filter-tag.active {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-color: var(--primary-dark);
}

.swatches-grid {
  display: flex;
  gap: 12px;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}
.color-swatch:hover, .color-swatch.active {
  border-color: var(--accent-leather);
  transform: scale(1.1);
}

/* Price Range Slider custom styling */
.price-range-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-input-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.price-range-slider {
  width: 100%;
  accent-color: var(--accent-leather);
}

/* Store catalog grid */
.catalog-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.catalog-info {
  font-size: 0.8rem;
  color: var(--text-grey);
}
.catalog-info strong {
  color: var(--primary-dark);
}

.sort-select-wrapper select {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  outline: none;
  background: var(--surface-white);
  cursor: pointer;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Product Detail Page */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  display: flex;
  gap: 20px;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90px;
}

.thumbnail-btn {
  width: 90px;
  height: 110px;
  border: 1.5px solid transparent;
  overflow: hidden;
  background-color: var(--surface-grey);
  transition: var(--transition-fast);
}

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

.thumbnail-btn:hover, .thumbnail-btn.active {
  border-color: var(--accent-leather);
}

.gallery-main-image {
  flex-grow: 1;
  aspect-ratio: 4/5;
  background-color: var(--surface-grey);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}
.gallery-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out, transform-origin 0s;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
}

.detail-sku {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-grey);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.detail-title {
  font-size: 2.5rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
}

.detail-price-box {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.detail-old-price {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--text-grey);
  margin-bottom: 5px;
}
.detail-old-price b {
  color: var(--accent-leather);
  font-weight: 700;
}

.detail-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.detail-desc {
  font-size: 0.95rem;
  color: var(--text-grey);
  margin-bottom: 30px;
  line-height: 1.7;
}

.detail-options-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.option-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: block;
}

.detail-add-actions {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  margin-top: 10px;
}

.detail-qty-select {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  height: 54px;
}
.detail-qty-select button {
  width: 36px;
  background-color: var(--surface-grey);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-qty-select span {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.detail-add-to-cart-btn {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  height: 54px;
  transition: var(--transition-fast);
}
.detail-add-to-cart-btn:hover {
  background-color: var(--accent-leather);
}

.detail-meta-specs {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
}
.detail-meta-specs li {
  list-style: none;
  color: var(--text-grey);
}
.detail-meta-specs li strong {
  color: var(--primary-dark);
}

/* Footer Section */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 40px 40px 40px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-gold);
  margin-bottom: 24px;
}

.footer-col p {
  color: #a0a0a0;
  max-width: 320px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li {
  list-style: none;
  font-size: 0.85rem;
  color: #a0a0a0;
}
.footer-col a {
  transition: var(--transition-fast);
}
.footer-col a:hover {
  color: var(--brand-gold);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.12);
  transition: var(--transition-fast);
}

.footer-logo-img:hover {
  opacity: 0.85;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #888888;
}

/* Global Alert styling */
.global-alert {
  position: fixed;
  bottom: -100px;
  left: 30px;
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 16px 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-left: 4px solid var(--brand-gold);
  z-index: 1000;
  font-size: 0.85rem;
  font-weight: 600;
  transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  gap: 15px;
}
.global-alert.active {
  bottom: 30px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .category-showcase {
    grid-template-columns: repeat(2, 2fr);
  }
  .category-tile {
    height: 280px;
  }
  .featured-products-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 10px 20px 20px 20px !important;
    margin: 0 -20px !important;
    scrollbar-width: none !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x pan-y !important;
  }
  .featured-products-grid::-webkit-scrollbar {
    display: none !important;
  }
  .featured-products-grid .featured-product-card {
    flex: 0 0 calc(50% - 8px) !important;
    min-width: calc(50% - 8px) !important;
    scroll-snap-align: start !important;
  }
  .store-layout-grid {
    grid-template-columns: 1fr;
  }
  .store-sidebar {
    display: none; /* In production: trigger side drawer instead */
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 2fr);
  }
}

@media (max-width: 768px) {
  .nav-shell {
    padding: 15px 20px;
    height: 70px;
  }
  .nav-links {
    display: none;
  }
  .nav-icon {
    display: flex;
  }
  .search-word {
    display: none;
  }
  .search-toggle {
    display: none !important;
  }
  .hero-slide img {
    object-fit: cover;
  }
  .category-showcase {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 30px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
  }
  .category-tile {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    min-width: 0 !important;
    scroll-snap-align: unset !important;
  }
  .category-tile img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
  }
  .featured-products {
    padding: 50px 20px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-gallery {
    flex-direction: column-reverse;
  }
  .gallery-thumbnails {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cart-drawer {
    width: 100%;
  }
}

/* =============================================================================
   ONE PAGE CHECKOUT & CONFIRMATION PAGE STYLING
   ============================================================================= */

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

.checkout-step-box {
  background-color: var(--surface-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.checkout-step-box h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-step-box h2 span {
  background-color: var(--primary-dark);
  color: var(--text-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.checkout-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
}

.checkout-form-group input,
.checkout-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  background-color: var(--surface-light);
  transition: var(--transition-fast);
}

.checkout-form-group input:focus,
.checkout-form-group select:focus {
  border-color: var(--accent-leather);
  background-color: var(--surface-white);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.checkout-form-group.error input {
  border-color: var(--semantic-error);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}

.checkout-form-group .error-msg {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--semantic-error);
  display: none;
}

.checkout-form-group.error .error-msg {
  display: block;
}

.shipping-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.shipping-method-option {
  border: 1.5px solid var(--border-color);
  padding: 16px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.shipping-method-option:hover {
  border-color: var(--accent-leather);
}

.shipping-method-option.active {
  border-color: var(--accent-leather);
  background-color: #FAF9F6; /* Soft Leather hue tint */
}

.shipping-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shipping-option-left input[type="radio"] {
  accent-color: var(--accent-leather);
  width: 18px;
  height: 18px;
}

.shipping-option-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.shipping-option-desc {
  font-size: 0.75rem;
  color: var(--text-grey);
  margin-top: 3px;
}

.shipping-option-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Payment Tabs */
.payment-method-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.payment-tab-btn {
  flex: 1;
  padding: 14px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-white);
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: center;
  transition: var(--transition-fast);
  color: var(--text-grey);
}

.payment-tab-btn:hover {
  border-color: var(--accent-leather);
  color: var(--accent-leather);
}

.payment-tab-btn.active {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-color: var(--primary-dark);
}

.payment-pane {
  display: none;
  animation: paneFadeIn 0.3s ease-out forwards;
}

.payment-pane.active {
  display: block;
}

@keyframes paneFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PIX Pane */
.pix-qr-box {
  text-align: center;
  padding: 25px;
  background-color: var(--surface-grey);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.pix-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  border: 2px solid var(--border-color);
  padding: 8px;
  background: white;
  display: block;
}

.pix-copy-paste-group {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.pix-code-input {
  flex-grow: 1;
  background-color: var(--surface-white);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--primary-dark);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Boleto Pane */
.boleto-box {
  text-align: center;
  padding: 30px;
  background-color: var(--surface-grey);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.boleto-barcode-group {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 20px auto 0 auto;
}

/* Checkout Summary Sidebar */
.summary-sticky {
  position: sticky;
  top: 110px;
}

.checkout-summary-box {
  background-color: var(--surface-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.checkout-summary-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.summary-items-list {
  margin-bottom: 24px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 5px;
}

.summary-item-row {
  display: flex;
  gap: 15px;
  border-bottom: 1px dotted var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.summary-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.summary-item-image {
  width: 55px;
  height: 68px;
  object-fit: cover;
  background-color: var(--surface-grey);
  border: 1px solid var(--border-color);
}

.summary-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.summary-item-info h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 4px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-item-sku {
  font-size: 0.65rem;
  color: var(--text-grey);
  margin-bottom: 6px;
}

.summary-item-price-qty {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.summary-coupon-form {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.summary-coupon-form input {
  flex-grow: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  outline: none;
  text-transform: uppercase;
}
.summary-coupon-form input:focus {
  border-color: var(--accent-leather);
}

.summary-coupon-form button {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 10px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: var(--transition-fast);
}
.summary-coupon-form button:hover {
  background-color: var(--accent-leather);
}

.summary-totals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.summary-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-grey);
}

.summary-totals-row b {
  color: var(--primary-dark);
}

.summary-totals-row.grand-total {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-top: 5px;
}

.checkout-submit-btn {
  width: 100%;
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 18px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.checkout-submit-btn:hover:not(:disabled) {
  background-color: var(--accent-leather);
  transform: translateY(-2px);
}
.checkout-submit-btn:active {
  transform: scale(0.98);
}
.checkout-submit-btn:disabled {
  background-color: var(--primary-grey);
  opacity: 0.6;
  cursor: not-allowed;
}

/* Timeline confirmation */
.timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 650px;
  margin: 50px auto 70px auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 17px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--accent-leather);
  z-index: 2;
  transition: width 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  position: relative;
  flex: 1;
}

.timeline-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-grey);
  border: 4px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-grey);
  transition: var(--transition-smooth);
}

.timeline-step.active .timeline-step-dot {
  background-color: var(--surface-white);
  border-color: var(--accent-leather);
  color: var(--accent-leather);
  box-shadow: 0 0 15px rgba(139, 69, 19, 0.2);
}

.timeline-step.completed .timeline-step-dot {
  background-color: var(--accent-leather);
  border-color: var(--accent-leather);
  color: var(--text-light);
}

.timeline-step-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-grey);
  text-align: center;
}

.timeline-step.active .timeline-step-label {
  color: var(--accent-leather);
}

.timeline-step.completed .timeline-step-label {
  color: var(--primary-dark);
}

/* RESPONSIVE CHECKOUT */
@media (max-width: 1024px) {
  .checkout-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .summary-sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  .checkout-step-box {
    padding: 20px;
  }
  .payment-method-tabs {
    flex-direction: column;
    gap: 10px;
  }
  .pix-copy-paste-group, .boleto-barcode-group {
    flex-direction: column;
    align-items: stretch;
  }
  .pix-code-input {
    width: 100%;
    margin-bottom: 10px;
  }
  .timeline-container {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
    padding-left: 40px;
  }
  .timeline-line {
    top: 0;
    left: 58px;
    width: 4px;
    height: 100%;
  }
  .timeline-line-progress {
    width: 100% !important;
    height: inherit;
    transition: height 1s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .timeline-step {
    flex-direction: row;
    gap: 20px;
  }
}

/* 3.5 — Brand Experience Section */
.brand-experience {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 60px auto;
  background-color: var(--surface-grey);
  border-radius: 16px;
  box-sizing: border-box;
}

.experience-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 65px 12%;
  box-sizing: border-box;
}

.experience-content span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-leather);
  margin-bottom: 15px;
}

.experience-content h2 {
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.experience-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-grey);
  margin-bottom: 35px;
  max-width: 78ch;
}

.experience-content .btn-story {
  display: inline-block;
  align-self: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cta-primary-text);
  background-color: var(--cta-primary);
  padding: 15px 35px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid var(--cta-primary);
}

.experience-content .btn-story:hover {
  background-color: transparent;
  color: var(--cta-primary);
}

.experience-media {
  position: relative;
  width: 100%;
  height: 400px;
  max-height: 400px;
  overflow: hidden;
}

.experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.experience-media:hover img {
  transform: scale(1.04);
}

.experience-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0.45) 0%, rgba(15, 15, 15, 0.2) 30%, rgba(15, 15, 15, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  box-sizing: border-box;
}

.experience-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-gold, #D4AF37);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.experience-badge svg {
  color: var(--brand-gold, #D4AF37);
}

.experience-card-info {
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 3px solid var(--accent-leather);
  padding: 18px 22px;
  border-radius: 10px;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.experience-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.experience-card-info p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
}

.experience-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-chips .chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(139, 69, 19, 0.35);
  color: var(--surface-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 3.6 — Editorial Banner Parallax & Push */
.editorial-banner {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.editorial-banner-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.85;
  transform: translateY(var(--parallax-y, 0px)) scale(1.08);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  will-change: transform;
}

.editorial-banner:hover .editorial-banner-bg {
  transform: translateY(var(--parallax-y, 0px)) scale(1.16);
  opacity: 0.98;
}

/* Sombreamento na divisa inferior da imagem */
.editorial-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.35) 50%, rgba(0, 0, 0, 0.7) 80%, rgba(0, 0, 0, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.editorial-banner-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  color: var(--surface-white);
  padding: 0 20px;
  box-sizing: border-box;
}

.editorial-banner-content span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--brand-gold);
  margin-bottom: 12px;
}

.editorial-banner-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.editorial-banner-content .btn-explore {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  background-color: var(--surface-white);
  padding: 15px 35px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid var(--surface-white);
}

.editorial-banner-content .btn-explore:hover {
  background-color: transparent;
  color: var(--surface-white);
}

/* 3.8 — Testimonials / Social Proof */
.testimonials-section {
  padding: 80px 40px;
  background-color: var(--surface-light);
}

.testimonials-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-heading {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-heading p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-leather);
  font-weight: 600;
  margin: 0 auto 8px;
}

.testimonials-heading h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
}

.testimonials-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.testimonials-track-container {
  overflow: hidden;
  width: 100%;
  padding: 10px 0 20px;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: calc((100% - 60px) / 3);
  background-color: var(--surface-white);
  padding: 36px 30px;
  box-sizing: border-box;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.stars {
  color: var(--brand-gold, #D4AF37);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dark);
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-leather);
}

.author-info h4 {
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-grey);
}

/* Nav Buttons & Dots para o Slider de Depoimentos */
.t-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-white, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--primary-dark, #121212);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.t-nav-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.8px;
  transition: transform 0.25s ease;
}

.t-nav-btn:hover {
  background: var(--primary-dark, #121212);
  color: #ffffff;
  border-color: var(--primary-dark, #121212);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.t-prev {
  left: -28px;
}

.t-next {
  right: -28px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.t-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--accent-leather);
}

/* 3.9 — Marcas na Closet Section */
.brands-section {
  padding: 80px 40px;
  background-color: var(--surface-light, #faf9f6);
  border-top: 1px solid var(--border-color, #e5e5e5);
}

.brands-header {
  max-width: 1400px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brands-header h2 {
  font-size: 2.2rem;
  color: var(--primary-dark, #121212);
  margin: 0;
}

.btn-all-brands {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-leather, #9e6f41);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease;
}

.btn-all-brands:hover {
  transform: translateX(4px);
}

.brands-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  background: var(--surface-white, #ffffff);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  border-radius: 12px;
  padding: 18px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-leather, #9e6f41);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.brand-card img {
  max-width: 80%;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.75);
  transition: filter 0.3s ease;
}

.brand-card:hover img {
  filter: grayscale(0%) opacity(1);
}

/* 3.9 — Brands Marquee */
.brands-marquee {
  width: 100%;
  padding: 40px 0;
  background-color: var(--surface-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.brands-marquee-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-grey);
  margin-bottom: 30px;
}

.brands-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 60px;
  width: 100%;
  position: relative;
}

.brands-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 60px;
  min-width: 100%;
  animation: marquee 25s linear infinite;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-grey);
  text-transform: uppercase;
  opacity: 0.6;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.brand-logo:hover {
  opacity: 1;
  color: var(--primary-dark);
}

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

/* 3.10 — Trust Badges */
.trust-badges-section {
  padding: 60px 40px;
  background-color: var(--surface-light);
  border-bottom: 1px solid var(--border-color);
}

.trust-badges-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  color: var(--primary-dark);
}

.trust-badge-item h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
}

.trust-badge-item p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-grey);
  max-width: 25ch;
  margin: 0 auto;
}

/* 3.11 — Newsletter */
.newsletter-section {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.newsletter-inner h2 {
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.newsletter-inner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  width: 100%;
  margin-top: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 8px;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  padding: 8px 12px;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-submit-btn {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-submit-btn:hover {
  color: var(--brand-gold);
}

/* 3.12 — Footer redesign */
.site-footer {
  background-color: var(--surface-light);
  padding: 80px 40px 30px;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-grey);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-grey);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-leather);
  padding-left: 3px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-dark, #121212);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.social-icon-btn svg,
.social-icon-btn .social-icon-img {
  width: 22px;
  height: 22px;
  fill: currentColor;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-icon-btn.social-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
}

.social-icon-btn.social-facebook:hover {
  background: #1877f2;
  color: #ffffff;
}

.social-icon-btn.social-whatsapp:hover {
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.footer-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.payment-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  background-color: var(--surface-grey);
  color: var(--text-grey);
  border: 1px solid var(--border-color);
}

.footer-bottom {
  max-width: 1400px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-grey);
  margin: 0;
}

/* Scroll reveal properties */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE ADDITIONS FOR HOMEPAGE */
@media (max-width: 1024px) {
  .brand-experience {
    grid-template-columns: 1fr;
  }
  .experience-media {
    height: 380px;
    max-height: 400px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-badges-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .experience-media {
    height: 320px;
    max-height: 400px;
  }
  .experience-media-overlay {
    padding: 20px;
  }
  .experience-badge {
    font-size: 0.68rem;
    padding: 8px 14px;
  }
  .experience-card-info {
    padding: 18px 20px;
  }
  .experience-card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
  .experience-card-info p {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .experience-chips .chip {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .t-nav-btn {
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }
  .t-nav-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 3.5px !important;
  }
  .t-prev { left: -15px !important; }
  .t-next { right: -15px !important; }
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .brand-experience {
    margin: 40px auto;
  }
  .experience-content {
    padding: 40px 20px;
  }
  .experience-content h2 {
    font-size: 1.8rem;
  }
  .editorial-banner {
    height: 440px;
  }
  .editorial-banner-content h2 {
    font-size: 1.8rem;
  }
  .newsletter-inner h2 {
    font-size: 1.6rem;
  }
}

/* Mobile Filter Chips (4.2) */
.mobile-filter-chips {
  display: none;
  gap: 10px;
  overflow-x: auto;
  padding: 15px 20px;
  scrollbar-width: none;
  background-color: var(--surface-white);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
  box-sizing: border-box;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

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

.filter-chip {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  background-color: var(--surface-grey);
  color: var(--text-grey);
  border: 1px solid transparent;
  transition: var(--transition-fast);
  cursor: pointer;
}

.filter-chip.active {
  background-color: var(--cta-primary);
  color: var(--cta-primary-text);
}

@media (max-width: 1024px) {
  .mobile-filter-chips {
    display: flex;
  }
}

/* Lightbox modal (4.6) */
.lightbox-modal {
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  animation: zoomLightbox 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomLightbox {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--brand-gold);
  text-decoration: none;
}

/* PDP Tabs (4.7) */
.pdp-tabs-container {
  margin-top: 35px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.pdp-tab-headers {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.pdp-tab-btn {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-grey);
  border: none;
  background: transparent;
  padding: 5px 0;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.pdp-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 0px;
  height: 2px;
  background-color: var(--cta-primary);
  transition: var(--transition-fast);
}

.pdp-tab-btn.active {
  color: var(--primary-dark);
}

.pdp-tab-btn.active::after {
  width: 100%;
}

.pdp-tab-content {
  display: none;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-grey);
  animation: fadeInTab 0.3s ease-out;
}

.pdp-tab-content.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sticky CTA Mobile (4.8) */
.sticky-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--surface-white);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  box-sizing: border-box;
  z-index: 150;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.sticky-cta-mobile.active {
  transform: translateY(0);
}

.sticky-cta-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-cta-info img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  background-color: var(--surface-grey);
}

.sticky-cta-info h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta-info span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-leather);
}

.sticky-cta-btn {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cta-primary-text);
  background-color: var(--cta-primary);
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sticky-cta-btn:hover {
  background-color: var(--cta-primary-hover);
}

@media (min-width: 769px) {
  .sticky-cta-mobile {
    display: none !important;
  }
}

/* Quick View Button on Card (4.9) */
.featured-product-quickview {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.95);
  color: var(--text-light);
  border: none;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 10px;
  text-align: center;
  z-index: 10;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.featured-product-card:hover .featured-product-quickview {
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .featured-product-quickview {
    display: none !important;
  }
}

/* Quick View Modal Styles (4.9) */
.quickview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.quickview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.quickview-wrapper {
  position: relative;
  width: 90%;
  max-width: 900px;
  background-color: var(--surface-white);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  z-index: 2;
  animation: qvScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes qvScale {
  from { transform: scale(0.9) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}

.quickview-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--primary-dark);
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.quickview-close-btn:hover {
  color: var(--accent-leather);
}

.quickview-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.quickview-media {
  position: relative;
  background-color: var(--surface-grey);
  display: flex;
  flex-direction: column;
}

.quickview-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.qv-thumbs {
  display: flex;
  gap: 10px;
  padding: 15px;
  background-color: var(--surface-white);
}

.qv-thumb {
  width: 50px;
  height: 50px;
  border: 1px solid var(--border-color);
  padding: 0;
  cursor: pointer;
  background: transparent;
}

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

.qv-thumb.active {
  border-color: var(--primary-dark);
}

.quickview-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.qv-sku {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-grey);
  margin-bottom: 10px;
}

.qv-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin-bottom: 15px;
  line-height: 1.2;
}

.qv-price-box {
  margin-bottom: 20px;
}

.qv-old-price {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-grey);
  margin-bottom: 3px;
}

.qv-badge {
  color: var(--badge-sale);
  margin-left: 5px;
}

.qv-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.qv-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-grey);
  margin-bottom: 25px;
  max-width: 45ch;
}

.qv-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 0.8rem;
  color: var(--text-grey);
}

.qv-add-btn {
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cta-primary-text);
  background-color: var(--cta-primary);
  border: 1px solid var(--cta-primary);
  padding: 15px 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.qv-add-btn:hover {
  background-color: transparent;
  color: var(--cta-primary);
}

@media (max-width: 768px) {
  .quickview-wrapper {
    width: 95%;
    max-height: 90%;
    overflow-y: auto;
  }
  .quickview-layout {
    grid-template-columns: 1fr;
  }
  .quickview-info {
    padding: 20px;
  }
}

/* Recently Viewed Section (5.2) */
.recently-viewed-section {
  padding: 80px 20px;
  background-color: var(--surface-grey);
  border-top: 1px solid var(--border-color);
  box-sizing: border-box;
}

.recently-viewed-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.recently-viewed-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  margin-bottom: 40px;
  text-align: center;
}

.recently-viewed-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .recently-viewed-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 568px) {
  .recently-viewed-carousel {
    grid-template-columns: 1fr;
  }
}

/* Cart Free Shipping Bar (5.3) */
.cart-shipping-bar {
  padding: 15px 20px;
  background-color: var(--surface-grey);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
  box-sizing: border-box;
}

.cart-shipping-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--primary-dark);
  margin-bottom: 8px;
  text-align: center;
}

.cart-shipping-progress {
  width: 100%;
  height: 5px;
  background-color: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.cart-shipping-progress-fill {
  height: 100%;
  background-color: var(--cta-primary);
  border-radius: 10px;
  width: 0px;
  transition: width 0.4s ease-out;
}

/* ==========================================================================
   QUICK VIEW MODAL (Espiada Rápida) - Premium Luxury Styling
   ========================================================================== */
.quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s ease;
}

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

.quickview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.quickview-wrapper {
  position: relative;
  width: 92%;
  max-width: 920px;
  max-height: 88vh;
  background: var(--surface-white, #ffffff);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.25);
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE e Edge */
  z-index: 2;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quickview-wrapper::-webkit-scrollbar {
  display: none;
  width: 0px;
  height: 0px;
}

.quickview-modal.active .quickview-wrapper {
  transform: scale(1) translateY(0);
}

.quickview-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--primary-dark, #121212);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.quickview-close-btn:hover {
  background: var(--primary-dark, #121212);
  color: #ffffff;
  transform: rotate(90deg);
  border-color: var(--primary-dark, #121212);
}

.quickview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 36px;
}

.quickview-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qv-main-img-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f9f8f6;
  border: 1px solid var(--border-color, #e5e5e5);
  display: flex;
  align-items: center;
  justify-content: center;
}

#qv-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.qv-main-img-container:hover #qv-main-img {
  transform: scale(1.05);
}

.qv-thumbs {
  display: flex;
  gap: 12px;
}

.qv-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  background: #f9f8f6;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

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

.qv-thumb.active,
.qv-thumb:hover {
  border-color: var(--accent-leather, #8B4513);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
}

.quickview-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qv-sku {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-gold, #D4AF37);
  margin-bottom: 8px;
}

.qv-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark, #121212);
  line-height: 1.3;
  margin-bottom: 14px;
}

.qv-price-box {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qv-old-price {
  font-size: 0.95rem;
  color: var(--text-grey, #6c6c6c);
  text-decoration: line-through;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.qv-badge {
  background: var(--badge-sale, #C1272D);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.05em;
}

.qv-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark, #121212);
  letter-spacing: -0.02em;
}

.qv-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--primary-grey, #5e5e5e);
  padding: 14px 0;
  border-top: 1px solid var(--border-color, #ececec);
  border-bottom: 1px solid var(--border-color, #ececec);
  margin-bottom: 18px;
}

.qv-specs {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  background: #faf9f6;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 0.85rem;
  color: var(--text-grey);
}

.qv-specs strong {
  color: var(--primary-dark);
}

.qv-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qv-add-btn {
  width: 100%;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--cta-primary, #1a1a1a);
  color: #ffffff;
  border: 1px solid var(--cta-primary, #1a1a1a);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qv-add-btn:hover:not(:disabled) {
  background: var(--accent-leather, #8B4513);
  border-color: var(--accent-leather, #8B4513);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.qv-detail-link {
  display: inline-block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-leather, #8B4513);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 4px;
}

.qv-detail-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .quickview-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }
  .qv-main-img-container {
    max-height: 280px;
  }
  .qv-title {
    font-size: 1.3rem;
  }
  .qv-price {
    font-size: 1.5rem;
  }
  .quickview-wrapper {
    max-height: 85vh;
  }
}

/* ==========================================================================
   BRANDS SECTION (Marcas na Closet - Gringa Inspired)
   ========================================================================== */
.brands-section {
  width: 100%;
  max-width: 1440px;
  margin: 110px auto 80px auto;
  padding: 50px 40px 0 40px;
  box-sizing: border-box;
}

.brands-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.brands-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.btn-all-brands {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--accent-leather, #8B4513);
  color: var(--accent-leather, #8B4513);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-all-brands:hover {
  background: var(--accent-leather, #8B4513);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 95px;
  background-color: #f6f3ee;
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  padding: 14px 20px;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-card img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.85);
  transition: all 0.3s ease;
}

.brand-card:hover {
  background-color: #ffffff;
  border-color: var(--brand-gold, #D4AF37);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.brand-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}

@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .brands-section {
    padding: 30px 20px 0 20px;
    margin: 60px auto 40px auto;
  }
  .brands-header h2 {
    font-size: 1.5rem;
  }
  .btn-all-brands {
    padding: 6px 14px !important;
    font-size: 0.68rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    gap: 4px !important;
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .brand-card {
    height: 75px;
    padding: 10px 14px;
    border-radius: 12px;
  }
  .brand-card img {
    max-height: 36px;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Atendimento Flutuante)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 99998;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  animation: whatsappPulse 3s infinite ease-in-out;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.12) translateY(-4px);
  background-color: #20ba5a;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--primary-dark, #121212);
  color: #ffffff;
  font-family: var(--font-sans, 'Montserrat', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.floating-whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--primary-dark, #121212);
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 10px 28px rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 10px 28px rgba(37, 211, 102, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 28px rgba(37, 211, 102, 0.45);
  }
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .floating-whatsapp-img {
    width: 30px;
    height: 30px;
  }
  .floating-whatsapp-tooltip {
    display: none;
  }
}

/* Accessibility / SEO helper classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Stripe Elements input styles */
.stripe-input-element {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--surface-grey);
  box-sizing: border-box;
  min-height: 45px;
  display: flex;
  align-items: center;
}
.stripe-input-element.StripeElement--focus {
  border-color: var(--primary-dark);
}
.stripe-input-element.StripeElement--invalid {
  border-color: #ef4444;
}

/* Acesso Administrativo Oculto no Rodapé */
.admin-backdoor {
  opacity: 0 !important;
  margin-left: 6px !important;
  transition: opacity 0.2s ease, color 0.2s ease !important;
  color: inherit !important;
  display: inline-block !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.admin-backdoor:hover {
  opacity: 0.95 !important;
  color: #D4A373 !important;
}

@media (max-width: 768px) {
  .admin-backdoor {
    opacity: 0 !important; /* Totalmente invisível no mobile */
    padding: 12px 10px !important; /* Área de toque invisível ampliada */
    margin-left: 2px !important;
  }
}

/* ==========================================================================
   INDICADOR MINIMALISTA DE CLIENTE LOGADO NO HEADER
   ========================================================================== */
.user-status-badge {
  position: absolute;
  top: -1px;
  right: -2px;
  width: 9px;
  height: 9px;
  background-color: #10b981; /* Verde esmeralda brilhante */
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: pulseStatusBadge 2.2s infinite ease-in-out;
}

@keyframes pulseStatusBadge {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
