/* ===================================================
   VÊTEMENTS ORIGINAL - EDITORIAL BOUTIQUE STYLESHEET
   Clean, Minimalist, Premium Fashion Typography & Design
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Editorial Neutral Palette */
  --bg-main: #fbfbfa;
  --bg-surface: #ffffff;
  --bg-card: #f4f3f0;
  --bg-dark: #0f1012;
  --bg-dark-surface: #18191c;
  
  --text-main: #121316;
  --text-muted: #646569;
  --text-light: #94969c;
  --text-inverse: #fbfbfa;

  --border-light: #e7e6e2;
  --border-medium: #d4d3ce;
  --border-dark: #27282b;

  --accent-gold: #9e8555;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #1ebc59;

  --font-latin: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-height: 72px;
  --container-max: 1360px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-latin);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

/* Arabic RTL adjustments */
html[lang="ar"] body,
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

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

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

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ===================================================
   TOP ANNOUNCEMENT BAR
   =================================================== */
.announcement-bar {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  font-size: 0.8125rem;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-dark);
}

.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

/* ===================================================
   SITE HEADER & NAVIGATION
   =================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 251, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

.brand-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-logo .brand-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3px 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 14px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-btn.active-lang {
  background-color: var(--bg-surface);
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lang-sep {
  color: var(--border-medium);
  padding: 0 2px;
}

/* Cart Icon Button */
.cart-header-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: var(--text-main);
  color: var(--text-inverse);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.cart-header-btn:hover {
  opacity: 0.9;
}

.cart-icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.cart-count-badge {
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-count-badge.hidden {
  display: none;
}

/* Hamburger button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

/* ===================================================
   MOBILE DRAWER NAVIGATION
   =================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  transition: visibility var(--transition-smooth);
}

.mobile-drawer:not(.hidden) {
  visibility: visible;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.drawer-content {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background-color: var(--bg-surface);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth);
}

/* LTR position */
html[dir="ltr"] .drawer-content {
  left: 0;
  transform: translateX(-100%);
}
/* RTL position */
html[dir="rtl"] .drawer-content {
  right: 0;
  transform: translateX(100%);
}

.mobile-drawer.drawer-open .drawer-overlay {
  opacity: 1;
}

.mobile-drawer.drawer-open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.close-drawer-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 1.5rem;
  line-height: 1;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.drawer-nav-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===================================================
   HERO SECTION (FASHION EDITORIAL)
   =================================================== */
.hero-section {
  position: relative;
  padding: 48px 0 64px 0;
  background-color: var(--bg-main);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 4px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-main);
  color: var(--text-inverse);
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background-color: #27282b;
  border-color: #27282b;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--text-main);
  padding: 14px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--bg-card);
  border-color: var(--text-main);
}

.btn-whatsapp {
  background-color: var(--accent-whatsapp);
  color: #ffffff;
  border-color: var(--accent-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--accent-whatsapp-hover);
  border-color: var(--accent-whatsapp-hover);
  color: #ffffff;
}

/* Tasteful Hero Visual Placeholder */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 580px;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(18, 19, 22, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #ffffff;
}

.hero-visual-badge {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 4px;
}

.hero-visual-caption {
  font-size: 1.125rem;
  font-weight: 700;
}

/* ===================================================
   PERKS / GUARANTEES BAR
   =================================================== */
.perks-bar {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0;
}

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

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

.perk-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-main);
}

.perk-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.perk-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===================================================
   CATEGORY CAROUSEL / SHORTCUTS
   =================================================== */
.categories-nav-section {
  padding: 40px 0 20px 0;
}

.category-chips-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.category-chip {
  padding: 8px 18px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-chip:hover,
.category-chip.active {
  background-color: var(--text-main);
  color: var(--text-inverse);
  border-color: var(--text-main);
}

/* ===================================================
   SECTION HEADERS
   =================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.section-action-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  transition: transform var(--transition-smooth);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

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

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

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

.product-badges {
  position: absolute;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

/* LTR / RTL position for badges */
html[dir="ltr"] .product-badges { left: 10px; }
html[dir="rtl"] .product-badges { right: 10px; }

.badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-size {
  background-color: rgba(18, 19, 22, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.badge-ref {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

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

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
}

.product-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-product-view {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  transition: all var(--transition-fast);
}

.product-card:hover .btn-product-view {
  color: var(--text-main);
  border-color: var(--text-main);
  background-color: var(--bg-card);
}

/* ===================================================
   ABOUT BRAND SECTION
   =================================================== */
.about-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.about-quote {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.about-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #c4c5ca;
  margin-bottom: 16px;
}

.about-meta-box {
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px;
}

.about-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.about-stat-item h5 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-inverse);
  line-height: 1;
}

.about-stat-item p {
  font-size: 0.8125rem;
  color: #8c8e94;
  margin-top: 4px;
}

/* ===================================================
   PRODUCT DETAILS PAGE
   =================================================== */
.product-page-section {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 80px;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.breadcrumb a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

/* Gallery Component */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.gallery-main-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.gallery-arrow:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }

.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-dot.active {
  width: 24px;
  background-color: #ffffff;
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gallery-thumb {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: var(--bg-card);
  flex-shrink: 0;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--text-main);
  opacity: 1;
}

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

/* Product Info Block */
.detail-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.detail-category {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.detail-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  word-break: break-word;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.detail-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.detail-ref-badge {
  font-size: 0.8125rem;
  background-color: var(--bg-card);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.detail-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Options / Size & Qty */
.option-block {
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.option-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  display: block;
}

.size-selector-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.size-btn {
  min-width: 52px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid var(--border-medium);
  background-color: var(--bg-surface);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.size-btn.active,
.size-btn:not(:disabled):not(.disabled):hover {
  background-color: var(--text-main);
  color: var(--text-inverse);
  border-color: var(--text-main);
}

.size-btn:disabled,
.size-btn.disabled {
  background-color: var(--bg-card);
  color: var(--text-muted);
  border-color: var(--border-light);
  cursor: not-allowed;
  opacity: 0.55;
  position: relative;
}

.size-btn:disabled span:first-child,
.size-btn.disabled span:first-child {
  text-decoration: line-through;
}

.size-out-tag {
  font-size: 0.625rem;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-block;
  line-height: 1;
  color: var(--color-danger, #d32f2f);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.qty-val {
  width: 44px;
  text-align: center;
  font-weight: 700;
}

.detail-actions-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 32px;
}

.detail-perks-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-perk-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===================================================
   CART & ORDER SUMMARY
   =================================================== */
.cart-page-section {
  padding: 48px 0 80px 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.cart-table-wrap {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  background-color: var(--bg-card);
  padding: 14px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-align: inherit;
  border-bottom: 1px solid var(--border-light);
}

.cart-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-thumb {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  flex-shrink: 0;
}

.cart-item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cart-mobile-meta {
  display: none;
}

.cart-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #c93b2b;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px;
  transition: opacity var(--transition-fast);
}

.cart-remove-btn:hover {
  opacity: 0.7;
}

.cart-footer-actions {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  background-color: var(--bg-card);
}

.cart-summary-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.summary-row.total {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.empty-cart-state {
  text-align: center;
  padding: 80px 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.empty-cart-state h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-cart-state p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===================================================
   ORDER FORM & CHECKOUT
   =================================================== */
.order-page-section {
  padding: 48px 0 80px 0;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.order-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  color: var(--text-main);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--text-main);
  background-color: #ffffff;
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
}

.order-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

/* Modal Confirmation */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.modal-content {
  background-color: var(--bg-surface);
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

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

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #e8f7ed;
  color: #1a9e4e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 2rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ===================================================
   TOAST NOTIFICATIONS
   =================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-message {
  background-color: var(--text-main);
  color: var(--text-inverse);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition-smooth);
}

.toast-message.toast-show {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   SITE FOOTER
   =================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-dark);
  color: #8c8e94;
  padding: 64px 0 32px 0;
  border-top: 1px solid var(--border-dark);
}

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

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-inverse);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-inverse);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: #9d9fa5;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-inverse);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.project-download-banner {
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.project-download-banner span {
  font-size: 0.875rem;
  color: #d1d2d6;
}

/* ===================================================
   STICKY FLOATING "ADD TO CART" BAR ON SCROLL
   =================================================== */
.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  padding: 10px 0;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.sticky-cart-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cart-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.sticky-cart-thumb {
  width: 46px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.sticky-cart-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-cart-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.sticky-cart-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.sticky-cart-price {
  font-weight: 700;
  color: var(--text-main);
}

.sticky-cart-size-badge {
  background-color: var(--bg-card);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-medium);
  white-space: nowrap;
}

.sticky-cart-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sticky-qty-control {
  transform: scale(0.9);
  transform-origin: center;
}

.sticky-add-btn {
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 46px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background-color: var(--text-main);
  color: var(--text-inverse);
  border: 1px solid var(--text-main);
  transition: all var(--transition-fast);
}

.sticky-add-btn:hover {
  background-color: #27282b;
}

.sticky-add-btn.btn-added {
  background-color: #1a9e4e !important;
  border-color: #1a9e4e !important;
  color: #ffffff !important;
}

.sticky-whatsapp-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: var(--accent-whatsapp);
  color: #ffffff;
  border: 1px solid var(--accent-whatsapp);
  transition: all var(--transition-fast);
}

.sticky-whatsapp-btn:hover {
  background-color: var(--accent-whatsapp-hover);
  border-color: var(--accent-whatsapp-hover);
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES & MOBILE OPTIMIZATIONS
   =================================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-grid {
    gap: 32px;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cart-layout,
  .order-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

  /* Compact container padding for mobile screen real estate */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Announcement Bar */
  .announcement-bar {
    font-size: 0.75rem;
    padding: 6px 12px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Header */
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    width: 44px;
    height: 44px;
  }
  .brand-logo {
    font-size: 1.125rem;
  }
  .cart-header-btn {
    padding: 8px 12px;
  }

  /* Hero Section */
  .hero-section {
    padding: 36px 0 28px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-title {
    font-size: clamp(2.15rem, 8.5vw, 3rem);
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions a {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .hero-visual {
    max-height: 380px;
  }

  /* Perks Bar */
  .perks-bar {
    padding: 24px 0;
  }
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .perk-item {
    gap: 10px;
  }
  .perk-icon-wrap {
    width: 38px;
    height: 38px;
  }
  .perk-text h4 {
    font-size: 0.8125rem;
  }
  .perk-text p {
    font-size: 0.72rem;
  }

  /* Category carousel swipe */
  .category-chips-wrap {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    gap: 8px;
  }
  .category-chips-wrap::-webkit-scrollbar {
    display: none;
  }
  .category-chip {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  /* Product Grid: 2 columns on mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
  .product-card-body {
    padding: 12px 10px;
  }
  .product-card-title {
    font-size: 0.875rem;
  }
  .product-card-price {
    font-size: 0.875rem;
  }

  /* Product Detail Page */
  .product-page-section {
    padding-top: 20px;
    padding-bottom: 96px;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .product-detail-layout {
    gap: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .gallery-main-frame {
    max-height: 440px;
  }
  .gallery-arrow {
    width: 44px;
    height: 44px;
    opacity: 1;
  }
  .gallery-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .gallery-thumbnails::-webkit-scrollbar {
    display: none;
  }
  .gallery-thumb {
    width: 60px;
    height: 75px;
    flex-shrink: 0;
  }
  .detail-title {
    font-size: 1.5rem;
  }
  .detail-actions-row {
    width: 100%;
  }
  .detail-actions-row button {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  /* Sticky Cart Bar Mobile */
  .sticky-qty-control {
    display: none;
  }
  .sticky-cart-title {
    max-width: 170px;
    font-size: 0.875rem;
  }
  .sticky-cart-inner {
    gap: 10px;
  }
  .sticky-add-btn {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  /* Cart Mobile Table to Card List */
  .cart-table thead {
    display: none;
  }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .cart-table tr {
    position: relative;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .cart-table td {
    padding: 0;
  }
  .cart-table .cart-cell-product {
    padding-inline-end: 36px;
  }
  .cart-mobile-meta {
    display: inline-block;
    margin-top: 6px;
  }
  .cart-table .cart-cell-size {
    display: none;
  }
  .cart-table .cart-cell-qty {
    display: flex;
    align-items: center;
    padding-inline-start: 76px;
  }
  .cart-table .cart-cell-remove {
    position: absolute;
    top: 16px;
    inset-inline-end: 14px;
    width: auto;
  }
  .cart-thumb {
    width: 64px;
    height: 80px;
  }
  .cart-footer-actions {
    flex-direction: column;
    gap: 12px;
  }
  .cart-footer-actions button,
  .cart-footer-actions a {
    width: 100%;
    text-align: center;
    min-height: 46px;
  }

  /* Order Page Mobile */
  .order-page-section {
    padding: 24px 0 60px 0;
  }
  .order-card {
    padding: 20px 16px;
  }
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    min-height: 48px;
  }
  .order-btn-stack button {
    min-height: 50px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .project-download-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .announcement-bar {
    font-size: 0.6875rem;
    padding: 5px 8px;
  }
  .brand-logo {
    font-size: 1rem;
  }
  .brand-tagline {
    display: none;
  }
  .cart-label {
    display: none;
  }
  .cart-header-btn {
    padding: 8px 10px;
  }
  .perks-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sticky-cart-inner {
    padding: 0 0.75rem;
    gap: 8px;
  }
  .sticky-cart-product {
    gap: 8px;
    min-width: 0;
    overflow: hidden;
  }
  .sticky-cart-thumb {
    width: 38px;
    height: 48px;
    flex-shrink: 0;
  }
  .sticky-cart-title {
    display: none; /* Hide product title on narrow vertical screens to prevent wrapping and layout squishing */
  }
  .sticky-cart-sub {
    font-size: 0.75rem;
    gap: 3px;
    flex-direction: column;
    align-items: flex-start;
  }
  .sticky-cart-dot {
    display: none;
  }
  .sticky-cart-price {
    font-size: 0.875rem;
    font-weight: 800;
  }
  .sticky-cart-size-badge {
    font-size: 0.7rem;
    padding: 1px 5px;
  }
  .sticky-cart-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .sticky-add-btn {
    padding: 9px 12px;
    font-size: 0.8125rem;
    min-height: 42px;
  }
  .sticky-whatsapp-btn {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }
}
