/* =========================================================
   VELEN OFFICIAL STORE — LUXURY STREETWEAR DESIGN SYSTEM
   Exact recreation based on velenofficial.com mobile app & web
   ========================================================= */

:root {
  --bg-black: #000000;
  --bg-card: #0a0a0a;
  --bg-surface: #121212;
  --bg-surface-elevated: #1a1a1a;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-light: rgba(255, 255, 255, 0.25);
  --border-active: #ffffff;
  
  --text-primary: #ffffff;
  --text-secondary: #9e9e9e;
  --text-muted: #666666;
  --text-strike: #555555;
  
  --accent-gold: #e5b95f;
  --accent-blue: #88bde6;
  --accent-sale: #ffffff;
  --accent-green: #2ecc71;
  
  --font-main: 'Plus Jakarta Sans', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Tajawal', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --header-height: 56px;
  --topbar-height: 32px;
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

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

/* English / Brand override classes */
.brand-title, .hero-brand-name, .hero-tagline, .section-title, .announcement-content, .drawer-heading, .giant-text {
  font-family: var(--font-main);
  direction: ltr;
}

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

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

input, textarea, select {
  font-family: inherit;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  border-color: #fff;
}

/* Sync Live Badge */
.sync-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #a0a0a0;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseSync 2s infinite;
}

@keyframes pulseSync {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Announcement Bar (Top) */
.announcement-bar {
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 500;
  color: #e0e0e0;
  text-transform: uppercase;
}

/* Main Navigation */
.main-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  font-size: 17px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.icon-btn:hover {
  color: #ccc;
  transform: scale(1.05);
}

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

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #ffffff;
  text-transform: capitalize;
}

.admin-portal-link {
  display: none;
}

@media (min-width: 768px) {
  .admin-portal-link {
    display: inline-flex;
  }
}

.admin-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.admin-badge:hover {
  background: #ffffff;
  color: #000000;
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  background-color: #ffffff;
  color: #000000;
  font-size: 9px;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hero Section (Matching Screenshot 4) */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 20px 60px;
  background-color: #000000;
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.92);
}

.hero-vignette-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.8) 80%,
    #000000 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  direction: ltr;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-emblem {
  margin-bottom: 12px;
}

.hero-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.hero-brand-name {
  font-size: clamp(38px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 6px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-main-heading {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #ffffff;
}

.hero-tagline {
  font-size: clamp(11px, 2vw, 13px);
  font-weight: 600;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.btn-velen-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 13px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  transition: all var(--transition-smooth);
}

.btn-velen-primary:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

/* Value Props Strip */
.value-props-bar {
  background: #090909;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-around;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.prop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #bbb;
}

.prop-item i {
  color: #fff;
  font-size: 14px;
}

/* Common Section Container */
.section-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 18px;
}

.collection-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 600;
  letter-spacing: 2.5px;
  color: #ffffff;
}

.collection-line {
  width: 40px;
  height: 2px;
  background-color: #fff;
  margin: 12px auto 0;
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.cat-pill {
  padding: 7px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  background: transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cat-pill.active, .cat-pill:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Live Toast Notification */
.live-toast {
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 13px;
  animation: fadeIn 0.4s ease;
}

/* Products Grid (Exact 2-columns mobile matching Screenshot 2) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

/* Product Card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #121212;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* SALE Badge (Matching Screenshot 2) */
.badge-sale {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: rgba(26, 26, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 8px;
  text-transform: uppercase;
  z-index: 2;
}

/* Floating White Bag Button (Matching Screenshot 2) */
.btn-floating-bag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.btn-floating-bag:hover {
  transform: scale(1.08);
  background-color: #f0f0f0;
}

/* Product Info */
.product-info {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}

.product-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
  direction: ltr;
  text-align: left;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
  direction: ltr;
  text-align: left;
}

.current-price {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.strike-price {
  font-size: 13px;
  color: var(--text-strike);
  text-decoration: line-through;
}

/* Community Section (Matching Screenshot 3) */
.community-section {
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.community-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px;
}

.community-title {
  font-size: clamp(24px, 4.5vw, 36px);
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 4px;
  direction: ltr;
  text-align: center;
}

.community-subtitle {
  font-size: 16px;
  color: #aaaaaa;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  direction: ltr;
  text-align: center;
}

.community-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 24px;
}

.community-actions-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-community-share {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-community-share:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.community-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.comm-pill {
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 11px;
  color: #888;
  transition: all var(--transition-fast);
}

.comm-pill.active, .comm-pill:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Community Feed Grid */
.community-feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .community-feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .community-feed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Community Reel / Video Card (Matching Screenshot 3) */
.comm-card {
  position: relative;
  background-color: #0d0d0d;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.comm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.comm-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 13;
  background-color: #1a1a1a;
  overflow: hidden;
}

.comm-media-wrap img, .comm-media-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comm-sound-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 3;
}

.comm-tag-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 500;
  z-index: 3;
}

.comm-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.comm-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comm-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #444;
}

.comm-author-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.comm-stars {
  color: #ffca28;
  font-size: 11px;
  display: flex;
  gap: 2px;
}

.comm-comment {
  font-size: 12px;
  color: #d0d0d0;
  line-height: 1.45;
}

.comm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #777;
}

.comm-like-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #aaa;
  font-size: 12px;
  transition: color var(--transition-fast);
}

.comm-like-btn:hover {
  color: #ff4757;
}

/* Text-only Community Card (Optional media review) */
.comm-card-text {
  background: linear-gradient(145deg, #141414 0%, #090909 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.comm-card-text .comm-text-header {
  padding: 18px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comm-card-text .quote-icon {
  font-size: 24px;
  color: var(--accent-gold);
  opacity: 0.85;
}

.comm-verified-pill {
  font-size: 10px;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #2ecc71;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.comm-text-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.comm-text-body .comm-text-comment {
  font-size: 13px;
  font-weight: 500;
  color: #f5f5f5;
  line-height: 1.6;
}

.comm-text-brand-watermark {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: auto;
}

/* About / Story Section */
.about-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.about-p {
  font-size: 15px;
  line-height: 1.8;
  color: #bbb;
  margin: 16px 0 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.feature-card .num {
  font-size: 11px;
  font-weight: 800;
  color: #666;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
}

.feature-card h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 12px;
  color: #888;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-quote {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
  color: #ccc;
}

/* Footer (Matching Screenshot 5) */
.main-footer {
  background-color: #000000;
  padding: 60px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
  }
}

.footer-heading {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 18px;
}

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

.footer-menu a {
  font-size: 14px;
  color: #888;
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: #ffffff;
}

.admin-secret-link {
  color: #e5b95f !important;
  font-weight: 600;
}

.footer-note {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
  margin-bottom: 14px;
}

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

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: #fff;
  color: #000;
}

/* Newsletter Input with Arrow (Screenshot 5) */
.footer-form, .newsletter-form {
  display: flex;
  position: relative;
}

.footer-form input, .newsletter-form input {
  width: 100%;
  padding-left: 44px;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
}

.footer-form button, .newsletter-form button {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.footer-form button:hover, .newsletter-form button:hover {
  transform: translateX(-4px);
}

/* Giant Velen Official Brand (Screenshot 5) */
.footer-giant-brand {
  text-align: center;
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.giant-text {
  font-size: clamp(34px, 7vw, 68px);
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff;
  text-transform: capitalize;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #666;
}

@media (min-width: 600px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

/* ================= DRAWERS & MODALS ================= */

/* Navigation Drawer (Full-screen mobile drawer matching screenshot 5) */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: #000000;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.nav-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.drawer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.drawer-body {
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.drawer-heading {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

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

.drawer-link {
  font-size: 15px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition-fast);
}

.drawer-link:hover, .drawer-link.highlight-link {
  color: #ffffff;
}

.new-pill {
  background: #ff4757;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  margin-right: 6px;
}

.admin-nav-item {
  color: #e5b95f !important;
}

.social-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #bbb;
}

.social-pill:hover {
  background: #fff;
  color: #000;
}

.newsletter-label {
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
}

.drawer-bottom-brand {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-bottom-brand h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.origin-tag {
  font-size: 12px;
  color: #666;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background-color: #0a0a0a;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: left var(--transition-smooth);
}

.cart-drawer.open {
  left: 0;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-drawer-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.delivery-progress-wrap {
  padding: 12px 20px;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.delivery-meter-text {
  font-size: 11px;
  color: #4cd137;
  font-weight: 600;
  margin-bottom: 6px;
}

.delivery-bar {
  width: 100%;
  height: 4px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
}

.delivery-bar-fill {
  height: 100%;
  background: #4cd137;
  transition: width 0.4s ease;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-msg {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-cart-msg i {
  font-size: 40px;
  margin-bottom: 14px;
  display: block;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-img {
  width: 70px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #151515;
}

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

.cart-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.cart-item-meta {
  font-size: 11px;
  color: #888;
}

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

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ccc;
}

.cart-item-qty span {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0d0d;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.free-tag {
  color: #4cd137;
  font-weight: 600;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-checkout-now {
  width: 100%;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.btn-checkout-now:hover {
  background: #e0e0e0;
}

/* Modals (Product, Community, Checkout) */
.product-modal, .community-modal, .checkout-modal, .success-modal, .search-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.product-modal.active, .community-modal.active, .checkout-modal.active, .success-modal.active, .search-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-dialog, .community-modal-dialog, .checkout-modal-dialog, .success-dialog {
  background-color: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.modal-close-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 18px;
  color: #888;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.modal-close-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* Product Modal Layout */
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .product-modal-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.modal-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #181818;
}

.modal-product-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  direction: ltr;
  text-align: left;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  direction: ltr;
  text-align: left;
}

.modal-price-current {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.modal-price-strike {
  font-size: 16px;
  color: #666;
  text-decoration: line-through;
}

.size-selector-label {
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.size-boxes {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.size-box {
  min-width: 46px;
  height: 48px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 4px 6px;
  transition: all var(--transition-fast);
}

.size-box.selected, .size-box:not(.out-of-stock):hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.size-box.out-of-stock {
  opacity: 0.3;
  cursor: not-allowed;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.03);
}

.size-box.out-of-stock .size-letter {
  text-decoration: line-through;
}

.stock-sub-badge {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.stock-sub-badge.low {
  color: #e5b95f;
}

.size-box.selected .stock-sub-badge.low {
  color: #b8860b;
}

.btn-add-to-bag {
  width: 100%;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  padding: 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.btn-add-to-bag:hover {
  background: #e0e0e0;
}

.product-specs {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Community Modal Styles */
.modal-head {
  text-align: center;
  margin-bottom: 24px;
}

.modal-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.modal-head h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-head p {
  font-size: 12px;
  color: #888;
}

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

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #ccc;
}

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

.rating-selector-group {
  background: #141414;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.star-btn {
  font-size: 24px;
  color: #444;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.star-btn.active {
  color: #ffca28;
}

.star-btn:hover {
  transform: scale(1.2);
}

.rating-label {
  font-size: 12px;
  color: #ffca28;
  font-weight: 600;
  margin-right: 12px;
}

.upload-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-fast);
}

.upload-dropzone:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.upload-icon {
  font-size: 32px;
  color: #aaa;
  margin-bottom: 8px;
}

.upload-dropzone p {
  font-size: 13px;
  font-weight: 600;
  color: #eee;
}

.upload-hint {
  font-size: 11px;
  color: #777;
}

.upload-preview-area {
  margin-top: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-height: 180px;
  background: #000;
}

.upload-preview-area img, .upload-preview-area video {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.url-fallback-wrap {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.or-separator {
  font-size: 11px;
  color: #777;
}

.btn-submit-look {
  width: 100%;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 13px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  transition: all var(--transition-fast);
}

.btn-submit-look:hover {
  background: #ddd;
}

/* Checkout Form Layout */
.checkout-head {
  text-align: center;
  margin-bottom: 24px;
}

.checkout-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.checkout-head h3 {
  font-size: 18px;
  font-weight: 700;
}

.checkout-head p {
  font-size: 12px;
  color: #888;
}

.checkout-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 680px) {
  .checkout-body-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.checkout-summary-box {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-summary-box h4 {
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.checkout-items-mini {
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.total-line.final {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-confirm-order {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.safe-checkout-note {
  font-size: 10px;
  color: #666;
  text-align: center;
}

/* Success Modal */
.success-dialog {
  text-align: center;
  max-width: 480px;
}

.success-icon {
  font-size: 54px;
  color: #4cd137;
  margin-bottom: 14px;
}

.success-dialog h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.order-id-label {
  font-size: 14px;
  color: #ffca28;
  margin-bottom: 12px;
  display: block;
}

.success-sub {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 24px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-whatsapp-track {
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.btn-continue-shopping {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

/* Search Modal */
.search-modal-container {
  width: 100%;
  max-width: 600px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.search-icon {
  font-size: 16px;
  color: #888;
}

.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 16px;
  padding: 8px 0;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-height: 60vh;
  overflow-y: auto;
}

/* Toast Messages */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success { border-color: #4cd137; }
.toast.info { border-color: #88bde6; }

@keyframes slideInToast {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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