/* ==========================================================================
   Becky Mode - CSS Stylesheet
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
  /* Color Palette */
  --color-bg: #ffffff;
  --color-text-primary: #111111;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-border: #e5e5e5;
  --color-bg-alt: #f8f8f8;
  --color-primary: #235435;
  --color-primary-hover: #193d27;
  --color-primary-light: #f1f6f3;
  --color-accent-red: #235435;
  --color-accent-red-hover: #193d27;
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Fonts */
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Layout Constants */
  --header-height: 80px;
  --announcement-height: 40px;
  --max-width: 1400px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.15s ease;
  
  /* Z-index map */
  --z-sticky: 100;
  --z-drawer-overlay: 200;
  --z-drawer: 300;
  --z-toast: 400;
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--color-text-muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-primary);
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-primary:hover {
  background-color: var(--color-text-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
  background-color: var(--color-text-primary);
  color: var(--color-white);
  border: 1px solid var(--color-text-primary);
}
.btn-secondary:hover {
  background-color: transparent;
  color: var(--color-text-primary);
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* --- TOP ANNOUNCEMENT BAR --- */
.announcement-bar {
  height: var(--announcement-height);
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
  z-index: calc(var(--z-sticky) + 1);
}

.announcement-track {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.announcement-text {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-primary);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.announcement-text.active {
  opacity: 1;
  transform: translateY(0);
}

.announcement-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: var(--transition-fast);
}
.announcement-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.announcement-btn span {
  font-size: 16px;
}

/* --- MAIN HEADER --- */
.main-header {
  height: var(--header-height);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: var(--transition-smooth);
}

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

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Navigation Toggle (Hamburger button on top bar left) */
.menu-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle-btn span {
  font-size: 26px;
}

/* Desktop Navigation (Moved inside drawer menu) */
.desktop-nav {
  display: none;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown-icon {
  font-size: 16px;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  padding: 16px 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-text-primary);
  padding-left: 28px;
}

/* Logo */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.brand-logo:hover {
  opacity: 0.8;
}
.logo-img {
  height: 36px;
  width: auto;
  max-height: 42px;
  object-fit: contain;
  display: block;
}

/* Right Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
  transition: var(--transition-fast);
}
.control-btn:hover {
  opacity: 0.7;
}
.control-btn span {
  font-size: 22px;
}

.cart-count-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 9px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  line-height: 1;
  padding: 0;
}

/* Currency Selector */
.currency-selector {
  position: relative;
  cursor: pointer;
  padding: 8px 0;
  user-select: none;
}

.currency-selected {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.currency-selected .flag-icon {
  font-size: 14px;
}

.currency-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  padding: 8px 0;
  z-index: 10;
}

.currency-selector:hover .currency-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.currency-option {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  transition: var(--transition-fast);
}
.currency-option:hover {
  background-color: var(--color-bg-alt);
}

/* ==========================================================================
   SECTIONS & LAYOUTS
   ========================================================================== */

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  height: calc(100vh - var(--header-height) - var(--announcement-height));
  min-height: 500px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.03);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 6s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.05); /* very light tint */
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero-content {
  max-width: 600px;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 32px;
}

/* Animations on Hero load */
.animate-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content h1.animate-text { animation-delay: 0.2s; }
.hero-content p.animate-text { animation-delay: 0.4s; }
.hero-content a.animate-text { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Carousel Navigation Controls */
.hero-controls {
  position: absolute;
  bottom: 40px;
  right: 80px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 5;
}

.hero-indicator {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 2px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.hero-nav-btns {
  display: flex;
  gap: 12px;
}

.hero-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.hero-nav-btn:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.hero-nav-btn span {
  font-size: 20px;
}

/* --- FEATURED COLLECTIONS --- */
.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

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

.collection-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: pointer;
}

.card-image-wrapper {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: var(--transition-smooth);
}

.card-title {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Card Hover States */
.collection-card:hover .card-image-wrapper {
  transform: scale(1.05);
}

.collection-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0) 100%);
}

/* --- NEW RELEASES --- */
.releases-section {
  background-color: var(--color-white);
}

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

.section-header .section-title {
  margin-bottom: 0;
}

.view-all-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: var(--transition-fast);
}
.view-all-link:hover {
  border-color: var(--color-text-primary);
}
.view-all-link span {
  font-size: 16px;
}

/* Product Carousel & Snap Grid */
.products-carousel-container {
  position: relative;
  overflow: hidden;
}

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

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #faf8f5;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background-color: #faf8f5;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 2px;
  z-index: 2;
  text-transform: uppercase;
}

.discount-tag {
  background-color: var(--color-accent-red);
  color: var(--color-white);
}

.quick-add-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition-smooth);
  z-index: 3;
}
.quick-add-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.quick-add-btn span {
  font-size: 18px;
}

/* Show Quick Add on Product Card Hover */
.product-card:hover .product-img {
  transform: scale(1.04);
}
.product-card:hover .quick-add-btn {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 12px 0;
}

.product-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.original-price {
  font-size: 12px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Newsletter row */
.footer-newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}

.newsletter-info h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.newsletter-info p {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  background-color: var(--color-white);
  transition: var(--transition-fast);
}
.newsletter-form input:focus {
  border-color: var(--color-text-primary);
}

.footer-divider {
  height: 1px;
  background-color: var(--color-border);
  margin-bottom: 48px;
}

/* Links Columns */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}
.footer-col a:hover {
  color: var(--color-text-primary);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  transition: var(--transition-smooth);
}
.footer-socials a:hover {
  background-color: var(--color-text-primary);
  color: var(--color-white);
  border-color: var(--color-text-primary);
  transform: translateY(-2px);
  padding-left: 0;
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-payment-icons {
  display: flex;
  gap: 12px;
  font-size: 16px;
}

/* ==========================================================================
   OVERLAYS, ACCORDIONS, AND DRAWERS
   ========================================================================== */

/* --- CART DRAWER --- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.4);
  z-index: var(--z-drawer-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: var(--color-white);
  z-index: var(--z-drawer);
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h2 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
}
.cart-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.cart-close-btn span {
  font-size: 24px;
}

/* Empty view */
.cart-empty-message {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}
.empty-cart-icon {
  font-size: 48px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.cart-empty-message p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* Content view */
.cart-content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
}

.cart-item-img-wrapper {
  aspect-ratio: 3/4;
  background-color: var(--color-bg-alt);
  overflow: hidden;
}
.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.qty-number {
  font-size: 12px;
  font-weight: 700;
  padding: 0 8px;
}

.cart-item-remove-btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 1px solid transparent;
}
.cart-item-remove-btn:hover {
  color: var(--color-accent-red);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cart-tax-shipping-note {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.checkout-btn {
  width: 100%;
  border-radius: 50px;
}

/* --- MOBILE NAV DRAWER --- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.4);
  z-index: var(--z-drawer-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background-color: var(--color-white);
  z-index: var(--z-drawer);
  box-shadow: 10px 0 30px rgba(0,0,0,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav-title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.5px;
}
.mobile-nav-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.mobile-nav-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

.mobile-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: 40px;
  padding: 10px 16px;
  margin-bottom: 24px;
}
.mobile-search-bar span {
  font-size: 18px;
  color: var(--color-text-muted);
}
.mobile-search-bar input {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  width: 100%;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-links > li > a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mobile-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}
.mobile-accordion-header span.material-symbols-outlined {
  transition: transform 0.2s ease;
}
.mobile-accordion-header.active span.material-symbols-outlined {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  padding-left: 16px;
}
.mobile-submenu.active {
  display: flex;
}

.mobile-submenu a {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.mobile-nav-divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 24px 0;
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-currency-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
}
.mobile-currency-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

/* --- FULLSCREEN SEARCH OVERLAY --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: var(--z-drawer-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.search-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-close-btn span {
  font-size: 32px;
}

.search-overlay-container {
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
}

.search-overlay-form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-text-primary);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.search-overlay-form input {
  flex-grow: 1;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  outline: none;
  width: 100%;
}

.search-submit-btn span {
  font-size: 30px;
}

.search-popular-categories {
  font-size: 13px;
  color: var(--color-text-secondary);
  display: flex;
  gap: 16px;
}
.search-popular-categories a {
  font-weight: 600;
  color: var(--color-text-primary);
  border-bottom: 1px solid transparent;
}
.search-popular-categories a:hover {
  border-color: var(--color-text-primary);
}

/* --- TOAST POPUP NOTIFICATION --- */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 16px 20px;
  z-index: var(--z-toast);
  transform: translateY(120px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
  transform: translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-check-icon {
  color: #4caf50;
  font-size: 24px;
}

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

.toast-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.toast-message {
  font-size: 11px;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* --- DESKTOP (Large viewports) --- */
@media (min-width: 1025px) {
  /* Scroll Snap grid for releases on desktop could scroll but snap is better for mobile */
}

/* --- TABLETS (Up to 1024px) --- */
@media (max-width: 1024px) {
  .hero-overlay {
    padding: 0 40px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-controls {
    right: 40px;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- MOBILE (Up to 768px) --- */
@media (max-width: 768px) {
  /* Hide all scrollbars globally on mobile */
  ::-webkit-scrollbar {
    display: none !important;
  }

  html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  :root {
    --header-height: 60px;
  }

  .main-header.scrolled {
    height: 60px;
  }

  .header-container {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 16px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle-btn {
    display: flex;
    order: 1;
  }

  .logo-container {
    order: 2;
    justify-content: center;
    padding-left: 0;
  }

  .brand-logo {
    font-size: 27px;
    letter-spacing: 1.5px;
  }

  .header-controls {
    order: 3;
    gap: 4px;
  }
  
  .currency-selector, 
  #profileBtn, 
  #searchOpenBtn {
    display: none; /* Hide profile/search/currency on mobile top header, integrated in mobile menu drawer */
  }

  /* Hero Section Mobile */
  .hero-section {
    height: 480px;
    min-height: auto;
  }
  .hero-overlay {
    padding: 0 20px;
    align-items: flex-end;
    padding-bottom: 80px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .hero-controls {
    bottom: 20px;
    right: 20px;
    gap: 16px;
  }
  .hero-nav-btn {
    width: 36px;
    height: 36px;
  }

  /* Featured Section Mobile */
  .section-container {
    padding: 40px 16px;
  }
  .section-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .collection-card {
    aspect-ratio: 4 / 3;
  }
  .card-overlay {
    padding: 20px;
  }
  .card-title {
    font-size: 16px;
  }

  /* New Releases Mobile - Vertical Grid (2 columns) */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
    padding: 0;
    overflow-x: visible;
  }
  .products-grid::-webkit-scrollbar {
    display: none;
  }
  .product-card {
    width: 100%;
    scroll-snap-align: none;
  }
  .product-image-wrapper {
    aspect-ratio: 3 / 4;
  }
  .product-info {
    padding: 6px 0 0;
  }
  .product-collection-text {
    font-size: 8px;
    margin: 2px 0;
  }
  .product-title {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
  }
  .product-price-row .price {
    font-size: 12px;
    font-weight: 700;
  }
  .product-price-row .original-price {
    font-size: 10px;
  }
  .quick-add-btn {
    opacity: 1;
    transform: translateY(0);
    width: 32px;
    height: 32px;
    bottom: 8px;
    right: 8px;
  }
  .quick-add-btn span {
    font-size: 16px;
  }

  /* Newsletter Mobile */
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
  .newsletter-form {
    max-width: 100%;
  }

  /* Footer Links Grid Mobile */
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  .footer-col h4 {
    margin-bottom: 16px;
  }

  /* Footer Bottom Mobile */
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  

}

/* ==========================================================================
   TABS AND TRANSITIONS STYLING
   ========================================================================== */

.category-tabs-bar {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 80px;
  z-index: 99;
  transition: var(--transition-smooth);
}

/* Sub Header Logo (Centred Logo Head below category buttons) */
.sub-header-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px 0;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sub-header-logo-img {
  height: 95px;
  width: auto;
  max-height: 115px;
  object-fit: contain;
  display: block;
}

.main-header.scrolled + .category-tabs-bar {
  top: 70px; /* Adjust if header shrinks when scrolled */
}

@media (max-width: 768px) {
  .main-header.scrolled + .category-tabs-bar {
    top: 60px; /* Mobile header stays 60px when scrolled */
  }
}

.tabs-container {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: var(--max-width);
  justify-content: center;
  padding: 0 24px;
}

.tab-btn {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  color: var(--color-text-secondary);
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.tab-btn:hover {
  border-color: var(--color-text-primary);
  color: var(--color-text-primary);
  transform: translateY(-1px);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(35,84,53,0.22);
}

.tab-btn:active {
  transform: scale(0.97) translateY(0);
}

/* Page Content Transition styles */
.tab-content-fade {
  transition: opacity 0.35s ease, transform 0.35s ease;
  opacity: 1;
  transform: translateY(0);
}

.tab-content-fade.fade-out {
  opacity: 0;
}

@media (max-width: 768px) {
  .category-tabs-bar {
    top: 60px;
    padding: 10px 0;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }
  
  .tabs-container {
    gap: 4px;
    padding: 0 4px;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
  }
  
  .tab-btn {
    font-size: 8.5px;
    padding: 8px 4px;
    letter-spacing: 0px;
    text-align: center;
    white-space: nowrap;
  }

  .tab-btn[data-tab="all-catalog"] {
    flex: 0.7;
  }
  .tab-btn[data-tab="ready-to-wear"] {
    flex: 1.3;
  }
  .tab-btn[data-tab="thrift-store"] {
    flex: 1.0;
  }
  .tab-btn[data-tab="accessories"] {
    flex: 1.2;
  }
}

/* ==========================================================================
   SUB-CATEGORY FILTER BAR STYLING
   ========================================================================== */

.sub-category-bar {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  margin-top: 16px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 14px;
}

.filter-btn {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  position: relative;
  padding: 4px 0;
  transition: var(--transition-smooth);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -15px; /* lines up perfectly with border-bottom */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: left;
}

.filter-btn:hover {
  color: var(--color-primary);
}

.filter-btn.active {
  color: var(--color-primary);
}

.filter-btn.active::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .sub-category-bar {
    gap: 20px;
    margin-bottom: 24px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  .sub-category-bar::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  .filter-btn {
    font-size: 10px;
  }
  .filter-btn::after {
    bottom: -11px;
  }
}

/* ==========================================================================
   HALF-HEIGHT HERO & SIMPLIFIED COLLECTIONS BUTTONS
   ========================================================================== */

.hero-section.half-height {
  height: 45vh;
  min-height: 280px;
}

.hero-section.half-height .hero-controls {
  display: none !important;
}

.collections-buttons-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  margin-top: 8px;
}

.collection-btn-link {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-primary);
  border: 1px solid var(--color-text-primary);
  padding: 10px 28px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.collection-btn-link:hover {
  background-color: var(--color-text-primary);
  color: var(--color-white);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.collection-btn-link.active {
  background-color: #2c2c2c;
  color: var(--color-white);
  border-color: #2c2c2c;
}

@media (max-width: 768px) {
  .hero-section.half-height {
    height: 35vh;
    min-height: 220px;
  }
  .collections-buttons-list {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }
  .collection-btn-link {
    font-size: 11px;
    padding: 8px 18px;
  }
}

/* ==========================================================================
   OCCASIONS NAVIGATION BAR (below banner)
   ========================================================================== */

.occasions-nav-bar {
  background: #111;
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 5;
}

.occasions-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 0;
}

.occasion-btn {
  background: #111;
  color: rgba(255, 255, 255, 0.75);
  border: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 16px 28px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.occasion-btn:last-child {
  border-right: none;
}

.occasion-btn:hover {
  background: #222;
  color: #fff;
}

.occasion-btn.active {
  background: #1a1a1a;
  color: #fff;
  font-weight: 700;
  position: relative;
}

.occasion-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* "Découvrez nos styles" — same dark style as other occasion buttons */
.occasion-btn[data-occasion="all"] {
  border-right: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .occasions-nav-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
  }
  .occasions-nav-inner::-webkit-scrollbar { display: none; }
  .occasion-btn {
    padding: 14px 20px;
    font-size: 10px;
  }
}

/* ==========================================================================
   OUTFIT / COMPLETE LOOK CARDS
   ========================================================================== */

.outfits-section {
  padding: 16px 0 20px;
  background: var(--color-white);
}

.outfits-section:not([style*="display: none"]) + .releases-section .section-container {
  padding-top: 20px;
}

.outfits-section .section-header {
  display: none;
}

.outfits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 40px;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.outfit-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.outfit-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
  transform: translateY(-5px);
}

.outfit-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  overflow: hidden;
  background-color: #faf8f5;
}

.outfit-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background-color: #faf8f5;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.outfit-badges-container {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 3;
}

.outfit-badge {
  display: inline-block;
  background: var(--color-primary);
  backdrop-filter: blur(6px);
  color: white;
  font-family: var(--font-primary);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(35, 84, 53, 0.25);
}

.outfit-badge-type {
  display: inline-block;
  backdrop-filter: blur(6px);
  color: white;
  font-family: var(--font-primary);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.outfit-badge-type.rtw {
  background: #fdfaf2;
  color: #4a3e3d;
  border: 1px solid #d4c2b9;
}

.outfit-badge-type.thrift {
  background: #8f9779;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.outfit-collection-text {
  display: block;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.outfit-collection-text.rtw {
  color: #a3907c;
}

.outfit-collection-text.thrift {
  color: #8f9779;
}

.outfit-info {
  padding: 24px;
}

.outfit-name {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  font-style: italic;
}

.outfit-items-squares {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.outfit-items-squares::-webkit-scrollbar {
  display: none;
}

.outfit-square-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  width: 58px;
  transition: transform 0.2s ease;
}
.outfit-square-item:hover {
  transform: translateY(-2px);
}

.outfit-square-img-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e0e0e0;
}

.outfit-square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outfit-square-price {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  white-space: nowrap;
}

.outfit-bundle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.outfit-bundle-price {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.outfit-orig-price {
  font-size: 14px;
  color: #aaa;
  text-decoration: line-through;
}

.outfit-items-count-badge {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  margin-left: auto;
}

.outfit-shipping-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.outfit-shipping-badge {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.outfit-savings {
  font-size: 11px;
  color: #888;
}

.outfit-buy-btn {
  width: 100%;
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.outfit-buy-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(35,84,53,0.25);
}

.outfit-buy-btn.confirm-delivery,
.modal-action-btn.confirm-delivery {
  background: #16a34a !important;
  color: #ffffff !important;
  border: 1px solid #15803d !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.45) !important;
  animation: pulseDeliveryBtn 1.8s infinite;
}

@keyframes pulseDeliveryBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.delivery-pay-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 5px 10px;
  margin-top: -6px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.outfit-toggle-btn {
  width: 100%;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 16px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.outfit-toggle-btn:hover {
  border-color: #2c2c2c;
  color: #2c2c2c;
}

.outfit-toggle-icon {
  font-size: 18px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.outfit-toggle-btn.open .outfit-toggle-icon {
  transform: rotate(180deg);
}

.outfit-items-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.outfit-items-panel.open {
  max-height: 800px;
}

.outfit-items-list {
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outfit-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #f7f7f7;
  transition: background 0.2s;
}

.outfit-item-row:hover {
  background: #f0f0ee;
}

.outfit-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.outfit-item-details {
  flex: 1;
  min-width: 0;
}

.outfit-item-name {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.outfit-item-price {
  font-family: var(--font-primary);
  font-size: 12px;
  color: #777;
}

.outfit-item-add-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.outfit-item-add-btn:hover {
  background: var(--color-primary-hover);
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .outfits-section {
    padding: 12px 0 12px;
  }
  .outfits-section:not([style*="display: none"]) + .releases-section .section-container {
    padding-top: 12px;
  }
  .outfits-grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 24px;
  }
  .outfits-section .section-header {
    padding: 0;
  }
  .outfit-image-wrapper {
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .outfit-info {
    padding: 16px 12px;
  }
}

/* ==========================================================================
   STYLES OVERVIEW SECTION (Découvrez nos styles landing page)
   ========================================================================== */

.styles-overview-section {
  padding: 60px 0 80px;
  background: #fafafa;
}

.styles-overview-header {
  text-align: center;
  padding: 0 40px;
  margin-bottom: 48px;
}

.styles-overview-subtitle {
  font-family: var(--font-primary);
  font-size: 14px;
  color: #999;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

.styles-overview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.occasion-overview-card {
  grid-column: span 2;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  height: 420px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

/* Last 2 cards span 3 cols each → centered bottom row */
.occasion-overview-card:nth-child(4),
.occasion-overview-card:nth-child(5) {
  grid-column: span 3;
}

.occasion-overview-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
  transform: translateY(-4px);
}

.occasion-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.occasion-overview-card:hover .occasion-card-bg {
  transform: scale(1.06);
}

.occasion-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  transition: background 0.3s ease;
}

.occasion-overview-card:hover .occasion-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.1) 100%);
}

.occasion-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.occasion-card-title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.occasion-card-subtitle {
  font-family: var(--font-primary);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 18px;
}

.occasion-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
  align-self: flex-start;
}

.occasion-card-cta:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.6);
}

@media (max-width: 1024px) {
  .styles-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }
  .occasion-overview-card,
  .occasion-overview-card:nth-child(4),
  .occasion-overview-card:nth-child(5) {
    grid-column: span 1;
    height: 340px;
  }
}

@media (max-width: 640px) {
  .styles-overview-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 12px;
  }
  .occasion-overview-card,
  .occasion-overview-card:nth-child(4),
  .occasion-overview-card:nth-child(5) {
    grid-column: span 1;
    height: 280px;
  }
  .styles-overview-header {
    padding: 0 20px;
  }
}

/* ==========================================================================
   PRODUCT DETAIL MODAL (Pop-up)
   ========================================================================== */

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.product-modal-content {
  position: relative;
  width: 92%;
  max-width: 420px;
  height: 600px;
  max-height: 90vh;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 10001;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-modal.open .product-modal-content {
  transform: translateY(0);
}

.product-modal-content::-webkit-scrollbar {
  display: none;
}

/* Image Section */
.modal-image-section {
  position: relative;
  width: 100%;
  height: 520px; /* Tall by default (collapsed text area) */
  max-height: 58vh;
  flex-shrink: 0;
  background: #faf8f5;
  transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-modal-content.expanded .modal-image-section {
  height: 260px; /* Shrinks to show expanded text area */
}

.modal-image-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.modal-image-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #faf8f5;
}

.modal-image-slide img,
.modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #faf8f5;
  pointer-events: none;
  display: block;
}

/* ── Swipe dot indicators ────────────────────────────────────────────────── */
.modal-swipe-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 20;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.swipe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              background 0.25s ease,
              opacity 0.25s ease;
  flex-shrink: 0;
}

.swipe-dot.active {
  width: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s, transform 0.2s;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

/* Share button — now lives in info section header row */
.modal-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4f4f4;
  border: 1px solid #e8e8e8;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.2s;
}

.modal-share-btn .material-symbols-outlined {
  font-size: 18px;
}

.modal-share-btn:hover {
  background: #ebebeb;
  transform: scale(1.05);
}

/* Vertical Thumbnails on right side of Card */
/* Vertical Thumbnails Container on right side of Card */
.modal-vertical-thumbs-container {
  position: absolute;
  top: 12px;           /* Starts from near the top — share btn gone */
  right: 10px;
  bottom: 36px;        /* Sits comfortably above curved details border */
  width: 52px;
  z-index: 15;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: auto;
  transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1), bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-modal-content.expanded .modal-vertical-thumbs-container {
  top: 12px;
  bottom: 24px;
}

.modal-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  justify-content: flex-start;
  width: 100%;
}

.look-item-thumb-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-thumbnail {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  opacity: 0.6;
  transform: scale(0.92);
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}

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

.modal-thumbnail:hover {
  opacity: 0.85;
  transform: scale(1.0);
  border-color: rgba(255, 255, 255, 1);
}

.modal-thumbnail.active {
  opacity: 1;
  border-color: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
}

/* Sub-angles container */
.sub-angles-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.3s ease;
  flex-shrink: 0;
}

.look-item-thumb-group.active .sub-angles-container {
  max-height: 130px; /* Sized for up to 3 sub-angles */
  opacity: 1;
  margin-top: 2px;
}

/* Sub-angle thumbnail styles */
.sub-angle-thumb {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transform: scale(0.92);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}

.sub-angle-thumb:hover {
  opacity: 0.85;
  transform: scale(1.0);
  border-color: rgba(255, 255, 255, 1);
}

.sub-angle-thumb.active {
  opacity: 1;
  border-color: #000;
  transform: scale(1.08);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

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

/* Info Section */
.modal-info-section {
  position: relative;
  background: #fff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  margin-top: 0;
  z-index: 2;
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.04);
  flex-grow: 1;
  justify-content: flex-start;
  cursor: pointer;
}

/* Expand Arrow Indicator */
.modal-expand-arrow {
  width: 50px;
  height: 16px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.modal-expand-arrow::before,
.modal-expand-arrow::after {
  content: '';
  width: 14px;
  height: 3px;
  background: #ccc;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.2s;
}

.modal-expand-arrow::before {
  transform: rotate(-22deg) translateX(1px);
}

.modal-expand-arrow::after {
  transform: rotate(22deg) translateX(-1px);
}

.modal-expand-arrow:hover::before,
.modal-expand-arrow:hover::after {
  background: #999;
}

/* Morph to pointing DOWN when expanded */
.product-modal-content.expanded .modal-expand-arrow::before {
  transform: rotate(22deg) translateX(1px);
}

.product-modal-content.expanded .modal-expand-arrow::after {
  transform: rotate(-22deg) translateX(-1px);
}

/* Expandable top half */
.modal-info-expandable {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.3s ease,
              margin-bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  margin-bottom: 0;
}

.product-modal-content.expanded .modal-info-expandable {
  max-height: 520px;
  overflow-y: auto;
  opacity: 1;
  margin-bottom: 6px;
  padding-right: 4px;
}

.modal-info-expandable::-webkit-scrollbar {
  width: 4px;
}
.modal-info-expandable::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

.modal-info-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Modal Description Section Styling */
.modal-description-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fdfbf7;
  border: 1px solid #ede8df;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 4px;
}

.modal-desc-heading {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 800;
  color: #13392E;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-desc-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #374151;
  margin: 0;
}

.modal-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.modal-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e5e0d6;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11px;
  color: #1f2937;
}

.modal-spec-item .spec-icon {
  font-size: 15px;
  color: #1B4D3E;
  flex-shrink: 0;
}

.modal-spec-item .spec-label {
  font-weight: 700;
  color: #111;
  margin-right: 2px;
}

/* Modal Look Items Section Styling */
.modal-look-items-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.look-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.look-items-title {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.look-items-count-badge {
  font-size: 10.5px;
  font-weight: 700;
  background: #eef7f2;
  color: #13392E;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #bce6cf;
}

.look-items-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.look-item-breakdown-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
}

.look-item-breakdown-img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e0d8cc;
}

.look-item-breakdown-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.look-item-breakdown-name {
  font-weight: 600;
  color: #111827;
  font-size: 12px;
}

.look-item-breakdown-meta {
  display: flex;
  gap: 8px;
  font-size: 10.5px;
  color: #6b7280;
}

.item-avail-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.item-avail-badge.in-stock {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.item-avail-badge.out-of-stock {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Product Card Description & Tags */
.product-card-desc {
  font-size: 11px;
  line-height: 1.35;
  color: #4b5563;
  margin: 3px 0 5px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.tag-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.tag-pill.tag-unique {
  background: #fef9c3;
  color: #854d0e;
  border-color: #fef08a;
}

/* Outfit Card Meta and Summary */
.outfit-card-meta {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.outfit-article-badge {
  font-size: 10px;
  font-weight: 700;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 2px 7px;
  border-radius: 6px;
}

.outfit-card-summary {
  font-size: 11px;
  line-height: 1.4;
  color: #4b5563;
  margin: 4px 0 8px 0;
}

.look-items-horizontal {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.look-items-horizontal::-webkit-scrollbar {
  display: none;
}

.look-item-thumb-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 58px;
  flex-shrink: 0;
  cursor: pointer;
}

.look-item-thumb-img-box {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #e5e5e5;
  background: #fafafa;
  transition: all 0.2s ease;
}

.look-item-thumb-wrapper.active .look-item-thumb-img-box {
  border-color: #111;
}

.look-item-thumb-wrapper.deselected .look-item-thumb-img-box {
  opacity: 0.35;
  border-color: #e0e0e0;
}

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

.look-item-thumb-price {
  font-family: var(--font-primary);
  font-size: 9px;
  font-weight: 700;
  color: #555;
}

.look-item-toggle-btn {
  position: absolute;
  top: -4px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  z-index: 5;
}

.look-item-toggle-btn.remove-btn {
  background: #e74c3c;
  color: #fff;
}

.look-item-toggle-btn.add-btn {
  background: #2ecc71;
  color: #fff;
}

.look-item-toggle-btn span {
  font-size: 11px;
  font-weight: 800;
}

.modal-badges {
  position: absolute;
  bottom: 34px;
  left: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
  pointer-events: none;
}

.modal-badge {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: #fdf0ea;
  color: #f45b36;
}

.badge-discount {
  background: #e6f9ed;
  color: #2ecc71;
}

.modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.modal-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-title-action-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-secondary);
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.25;
}

.modal-subtitle {
  font-family: var(--font-primary);
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-wishlist-btn {
  background: none;
  border: none;
  color: #111;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

.modal-wishlist-btn:hover {
  color: #e74c3c;
  transform: scale(1.1);
}

.modal-wishlist-btn.active {
  color: #e74c3c;
}

/* Size Selector */
.modal-size-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.size-title {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-guide-link {
  font-family: var(--font-primary);
  font-size: 11px;
  color: #888;
  text-decoration: underline;
  letter-spacing: 0.2px;
}

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

.size-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.size-btn:hover {
  border-color: #111;
  background: #fbfbfb;
}

.size-btn.active {
  background: #111;
  border-color: #111;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Qty & Price Row */
.modal-qty-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

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

.qty-title {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qty-selector {
  display: flex;
  align-items: center;
  background: #f2f2f2;
  border-radius: 30px;
  padding: 4px;
  gap: 12px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s;
}

.qty-btn:hover {
  background: #e8e8e8;
}

.qty-val {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: #111;
  min-width: 14px;
  text-align: center;
}

.price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.price-title {
  font-family: var(--font-primary);
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-val-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-orig {
  font-family: var(--font-primary);
  font-size: 13px;
  color: #aaa;
  text-decoration: line-through;
  line-height: 1.2;
}

.price-final {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.look-summary-info {
  margin-top: 4px;
  font-family: var(--font-primary);
  font-size: 11px;
  color: #666;
  text-align: right;
}

.look-summary-info strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Action Buttons */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.modal-action-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  border: none;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.modal-action-btn.primary-btn {
  background: #111;
  color: #fff;
}

.modal-action-btn.primary-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.modal-action-btn.secondary-btn {
  background: #f5f5f5;
  color: #111;
  border: 1px solid #e5e5e5;
}

.modal-action-btn.secondary-btn:hover {
  background: #ededed;
  transform: translateY(-2px);
}

/* ==========================================================================
   TINY ROUNDED SQUARES ON OUTFIT CARDS
   ========================================================================== */

.outfit-items-squares {
  display: flex;
  gap: 10px;
  margin: 18px 0;
  padding: 2px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.outfit-items-squares::-webkit-scrollbar {
  display: none;
}

.outfit-square-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 58px;
  flex-shrink: 0;
}

.outfit-square-img-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #e5e5e5;
  background: #fafafa;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.outfit-square-item:hover .outfit-square-img-wrapper {
  border-color: #111;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.outfit-square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outfit-square-label {
  font-family: var(--font-primary);
  font-size: 8px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* ==========================================================================
   Admin Panel & Google Auth Styles
   ========================================================================== */
.admin-panel-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.admin-panel-link:hover {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.admin-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal {
  background-color: var(--color-bg);
  width: 90%;
  max-width: 850px;
  height: 80vh;
  max-height: 700px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.admin-modal-overlay.active .admin-modal {
  transform: scale(1);
}

.admin-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
  z-index: 10;
}

.admin-modal-close:hover {
  color: var(--color-text-primary);
}

/* Login View */
.admin-login-view {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.admin-modal-title {
  font-family: var(--font-secondary);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.admin-modal-subtitle {
  color: var(--color-text-secondary);
  font-size: 14px;
  max-width: 400px;
  margin-bottom: 40px;
}

.google-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--color-white);
  color: #5f6368;
  border: 1px solid #dadce0;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.google-login-btn:hover {
  background-color: #f8f9fa;
  border-color: #d2d4d7;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

/* Dashboard View */
.admin-dashboard-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.admin-dashboard-header {
  padding: 24px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-dashboard-header h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-user-info span {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* Tabs */
.admin-tabs {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #fafafa;
}

.admin-tab-btn {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.admin-tab-btn:hover {
  color: var(--color-text-primary);
  background-color: rgba(0, 0, 0, 0.02);
}

.admin-tab-btn.active {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-text-primary);
  background-color: var(--color-white);
}

/* Tab Contents */
.admin-tab-content {
  display: none;
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

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

.admin-action-row {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-end;
}

/* Items List */
.admin-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.admin-item-row:hover {
  border-color: rgba(0, 0, 0, 0.12);
}

.admin-item-info-col {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 0;
}

.admin-item-thumbnail {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f9f9f9;
}

.admin-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-item-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-item-meta {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 2px;
  display: flex;
  gap: 8px;
}

.admin-item-price-col {
  font-weight: 700;
  font-size: 14px;
  margin: 0 20px;
  white-space: nowrap;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.admin-btn {
  background: none;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 6px 12px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-btn.edit-btn:hover {
  background-color: rgba(0,0,0,0.04);
  border-color: #888;
}

.admin-btn.delete-btn {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.2);
}

.admin-btn.delete-btn:hover {
  background-color: rgba(231, 76, 60, 0.05);
  border-color: #e74c3c;
}

/* Admin Form */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
}

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

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.form-group input,
.form-group select {
  padding: 10px 14px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-text-primary);
}

.helper-text {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.success-message {
  background-color: rgba(46, 204, 113, 0.1);
  color: #27ae60;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(46, 204, 113, 0.2);
  margin-top: 20px;
  line-height: 1.4;
}

/* Google Auth Selector Overlay */
.google-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.google-auth-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.google-auth-modal {
  background-color: var(--color-white);
  width: 90%;
  max-width: 420px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.google-auth-overlay.active .google-auth-modal {
  transform: translateY(0);
}

.google-auth-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.google-auth-header span {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #3c4043;
}

.google-auth-body p {
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 20px;
}

.google-accounts-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #dadce0;
  border-radius: 8px;
  overflow: hidden;
}

.google-account-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #dadce0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.google-account-item:last-child {
  border-bottom: none;
}

.google-account-item:hover {
  background-color: #f8f9fa;
}

.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1a73e8;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.google-account-item:nth-child(2) .account-avatar {
  background-color: #7f8c8d;
}

.account-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.account-name {
  font-size: 13px;
  font-weight: 600;
  color: #3c4043;
}

.account-email {
  font-size: 11px;
  color: #5f6368;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Edit Product Modal */
.product-edit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-edit-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.product-edit-modal {
  background-color: var(--color-bg);
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.product-edit-overlay.active .product-edit-modal {
  transform: scale(1);
}

.product-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 14px;
}

.product-edit-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.product-edit-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

/* ==========================================================================
   OUT OF STOCK & ADMIN STOCK MANAGEMENT STYLES
   ========================================================================== */
.out-of-stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(217, 83, 79, 0.95);
  color: white;
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(217, 83, 79, 0.4);
}

.product-card.out-of-stock .product-img {
  filter: grayscale(35%);
  opacity: 0.88;
}

.product-card.out-of-stock .quick-add-btn {
  background: #999 !important;
  cursor: not-allowed;
  pointer-events: none;
}

.outfit-card.out-of-stock .outfit-img {
  filter: grayscale(35%);
  opacity: 0.88;
}

.outfit-card.out-of-stock .outfit-buy-btn {
  background: #999 !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
}

.outfit-square-item.out-of-stock {
  position: relative;
  opacity: 0.8;
}

.outfit-square-item.out-of-stock .outfit-square-img-wrapper {
  border-color: #d9534f;
}

.outfit-square-item.out-of-stock::after {
  content: 'ÉPUISÉ';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #d9534f;
  color: white;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.size-btn.out-of-stock {
  opacity: 0.45;
  text-decoration: line-through;
  cursor: not-allowed;
  background: #f2f2f2 !important;
  border-color: #e0e0e0 !important;
  color: #999 !important;
}

.admin-stock-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-stock-badge.in-stock {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.admin-stock-badge.out-of-stock {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.outfit-tag-icon {
  position: absolute;
  top: 0;
  right: 16px;
  width: 48px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  transform-origin: top center;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.outfit-card:hover .outfit-tag-icon {
  transform: rotate(3deg) translateY(2px);
}

.product-badges-container {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 3;
}

.product-badge-type {
  display: inline-block;
  backdrop-filter: blur(6px);
  color: white;
  font-family: var(--font-primary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.product-badge-type.rtw {
  background: #fdfaf2;
  color: #4a3e3d;
  border: 1px solid #d4c2b9;
}

.product-badge-type.thrift {
  background: #8f9779;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-collection-text {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.product-collection-text.rtw {
  color: #a3907c;
}

.product-collection-text.thrift {
  color: #8f9779;
}

.modal-collection-text {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.modal-collection-text.rtw {
  background: #fdfaf2;
  color: #4a3e3d;
  border: 1px solid #d4c2b9;
}

.modal-collection-text.thrift {
  background: #eef1ea;
  color: #5c624d;
  border: 1px solid #c2c9b4;
}

/* ==========================================================================
   MOBILE NATIVE BOTTOM SHEET & COMPACT LAYOUT OVERRIDES
   ========================================================================== */
.modal-drag-handle {
  display: none;
}

@media (max-width: 768px) {
  /* Centered Floating Card Modal */
  .product-modal {
    align-items: center;
    justify-content: center;
    padding: 12px;
  }

  .product-modal-content {
    width: 100%;
    max-width: 420px;
    height: 92vh;
    max-height: 92vh;
    border-radius: 24px;
    transform: translateY(120%);
    margin: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }

  /* Drag handle hidden — not functional yet */
  .modal-drag-handle {
    display: none;
  }

  /* Adjusted collapsed and expanded heights for 85vh screen */
  .modal-image-section {
    height: 340px;
  }

  .product-modal-content.expanded .modal-image-section {
    height: 200px;
  }

  /* Compact Cart Drawer layout for mobile screen width optimization */
  .cart-header {
    padding: 16px 20px;
  }

  .cart-empty-message {
    padding: 32px 20px;
  }

  .cart-items {
    padding: 16px;
    gap: 16px;
  }

  .cart-item {
    gap: 12px;
  }

  .cart-item-details {
    padding-right: 4px;
  }

  .cart-footer {
    padding: 16px 20px;
  }
}

/* ============================================================
   BECKY MODE — APK Section & Auto-Update Styles
   ============================================================ */
.becky-apk-section {
  padding: 40px 16px;
  background: #0f172a;
  display: flex;
  justify-content: center;
}

.becky-apk-inner {
  width: 100%;
  max-width: 720px;
}

.becky-apk-card {
  background: linear-gradient(135deg, #064e3b, #022c22);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(2, 44, 34, 0.4);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.becky-apk-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.becky-apk-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  flex-shrink: 0;
}

.becky-apk-titles { flex: 1; }

.becky-apk-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.becky-apk-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.becky-apk-subtitle {
  font-size: 0.82rem;
  color: #a7f3d0;
  line-height: 1.4;
}

.becky-apk-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.becky-apk-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.becky-apk-alert {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

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

@media (min-width: 580px) {
  .becky-apk-actions {
    flex-direction: row;
  }
}

.becky-apk-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.becky-apk-btn.download-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.becky-apk-btn.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

.becky-apk-btn.update-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.becky-apk-btn.update-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.sync-icon.is-spinning {
  animation: spinBecky 1s linear infinite;
}

@keyframes spinBecky {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* GEPR-Style App Download Card (Static Block Before Footer) */
.gepr-download-banner-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 24px auto;
  padding: 0 16px;
  z-index: 10;
}

.gepr-download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  border-radius: 22px;
  background: rgba(230, 230, 230, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.gepr-download-card:hover {
  background: rgba(240, 240, 240, 0.98);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}

.gepr-card-icon-box {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gepr-card-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gepr-card-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.gepr-card-badge-title {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  color: #1e293b;
  white-space: nowrap;
  line-height: 1.2;
}

.gepr-card-sub-desc {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gepr-card-arrow {
  margin-left: auto;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.gepr-download-card:hover .gepr-card-arrow {
  transform: translateX(4px);
}

body.is-native-app .gepr-download-banner-wrapper {
  display: none !important;
}


