/* ==========================================================================
   Gomla.com - Wholesale Fashion Catalog Stylesheet
   ========================================================================== */

:root {
  --bg-page: #FBF9F5;
  --bg-card: #FFFFFF;
  --bg-dark-header: #071E18;
  --bg-dark-footer: #071E18;
  
  --color-primary-green: #0C4B3F;
  --color-primary-green-hover: #07372E;
  --color-gold: #D4AF37;
  --color-gold-hover: #B8860B;
  --color-gold-btn: #C59B27;
  
  --text-dark: #111E2E;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --border-light: #EBE5DB;
  --border-subtle: #F0EAE1;
  
  --font-serif: 'Alexandria', 'Cairo', 'Playfair Display', Georgia, serif;
  --font-sans: 'Alexandria', 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Alexandria', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(12, 75, 63, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 35px -8px rgba(12, 75, 63, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.35);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  font-family: var(--font-arabic), var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-dark);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  letter-spacing: normal;
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
  background-color: var(--bg-dark-header);
  color: #E2E8F0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.55rem 2rem;
}

.top-bar-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #CBD5E1;
}

.crown-mini {
  width: 14px;
  height: 12px;
  color: var(--color-gold);
}

/* Brand Logo (Transparent Dark-Mode Optimized) */
.top-bar-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

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

/* Right Section */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.arabic-tagline {
  font-family: var(--font-arabic);
  font-size: 0.78rem;
  color: #94A3B8;
  direction: rtl;
}

.lang-divider {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.2);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFFFFF;
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-gold);
}

.globe-icon {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   MAIN HEADER / NAVBAR
   ========================================================================== */
.main-header {
  background-color: rgba(11, 37, 31, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 2rem;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.25s ease;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Header Nav Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #F1F5F9;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-btn svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
}

.nav-btn:hover {
  color: var(--color-gold);
}

/* Center Search Bar */
.header-search-bar {
  flex: 1;
  max-width: 640px;
  display: flex;
  align-items: center;
  position: relative;
  background-color: #FFFFFF;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.header-search-bar input::placeholder {
  color: #94A3B8;
}

.search-submit-btn {
  background-color: var(--color-primary-green);
  border: none;
  width: 44px;
  height: 38px;
  margin: 2px 0 2px 3px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  transition: var(--transition);
}

.search-submit-btn:hover {
  background-color: var(--color-primary-green-hover);
}

.search-submit-btn svg {
  width: 17px;
  height: 17px;
}

/* Header User Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-action-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #F1F5F9;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.user-action-link svg {
  width: 18px;
  height: 18px;
}

.user-action-link:hover {
  color: var(--color-gold);
}

.cart-btn {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  transition: var(--transition);
}

.cart-btn svg {
  width: 22px;
  height: 22px;
}

.cart-btn:hover {
  color: var(--color-gold);
}

.cart-badge {
  position: absolute;
  top: -6px;
  left: -8px;
  background-color: var(--color-gold);
  color: #1E293B;
  font-size: 0.72rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO BANNER - PANORAMIC LUXURY EDITORIAL STYLE
   ========================================================================== */
.catalog-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  background-color: #F8F5EE;
  border-bottom: 1px solid #E6DFD3;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Edge-to-Edge Background Photograph Layer */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-bg-image.is-fading {
  opacity: 0.15;
  transform: scale(1.02);
}

.hero-fade-overlay {
  position: absolute;
  inset: 0;
  /* Soft warm architectural limestone fade behind right-side RTL text */
  background: linear-gradient(
    270deg,
    rgba(248, 245, 238, 0.99) 0%,
    rgba(248, 245, 238, 0.96) 28%,
    rgba(248, 245, 238, 0.88) 42%,
    rgba(248, 245, 238, 0.35) 58%,
    rgba(248, 245, 238, 0) 72%
  );
  pointer-events: none;
}

/* Pinned Left: Dark Emerald Curved Luxury Brand Accent with Dual Gold Arcs */
.hero-curved-accent {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 370px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.accent-svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.curved-inner-content {
  position: absolute;
  top: 50%;
  left: 155px;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 205px;
  max-width: 205px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  direction: rtl;
  pointer-events: auto;
}

.curved-words-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.curved-words-stack .c-word {
  font-family: 'Amiri', 'Playfair Display', Georgia, serif;
  font-size: 2.05rem;
  line-height: 1.3;
  letter-spacing: normal;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.curved-words-stack .word-style {
  color: #FFFFFF;
}

.curved-words-stack .word-quality {
  color: #E2B84D;
  background: linear-gradient(135deg, #FFF1CB 0%, #E2B84D 45%, #B3861B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.curved-words-stack .word-profit {
  color: #FFFFFF;
}

.curved-gold-line {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #F3DF9F, #B88924);
  margin: 0.85rem auto;
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(212, 175, 55, 0.3);
}

.curved-sub-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font-arabic);
  font-size: 0.88rem;
  line-height: 1.4;
  background: rgba(3, 20, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  max-width: 200px;
  box-sizing: border-box;
  text-align: center;
}

.curved-sub-tagline span:first-child {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.curved-sub-tagline span:last-child {
  color: #E6C673;
  font-weight: 600;
  font-size: 0.82rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Inner Container: Right-aligned RTL Hero Content */
.hero-inner-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-text-content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Live Category Pill Indicator Badge */
.hero-section-indicator-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}

.hero-section-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-arabic);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.35rem 1.05rem;
  border-radius: 999px;
  background: rgba(12, 75, 63, 0.08);
  color: #0C4B3F;
  border: 1px solid rgba(12, 75, 63, 0.22);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.35s ease;
  letter-spacing: normal;
}

/* Eyebrow with gold dash */
.hero-eyebrow-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-eyebrow {
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  font-weight: 700;
  color: #9E743A;
  letter-spacing: normal;
  transition: color 0.35s ease;
}

.hero-eyebrow-dash {
  width: 42px;
  height: 2px;
  background-color: #C59B27;
  display: inline-block;
  border-radius: 2px;
  transition: background-color 0.35s ease;
}

.hero-heading {
  font-family: 'Alexandria', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  color: #0E1F1B;
  line-height: 1.55;
  letter-spacing: normal;
  margin: 0;
  transition: color 0.35s ease;
}

.hero-hl-accent {
  display: inline-block;
  margin-top: 0.35rem;
  background: linear-gradient(135deg, #DFBF5B 0%, #C59B27 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.85;
  max-width: 530px;
  margin: 0;
}

.hero-action-row {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Gateway Return / Change Department Link */
.hero-change-dept-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 217, 203, 0.9);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-arabic);
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-change-dept-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-change-dept-btn:hover {
  background: #FFFFFF;
  color: #0C4B3F;
  border-color: #0C4B3F;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-change-dept-btn:hover svg {
  transform: translateX(-2px);
}

body.theme-men .hero-change-dept-btn:hover {
  color: #163257;
  border-color: #163257;
}

/* Rich Golden Orange Pill CTA Button */
.btn-hero-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  align-self: flex-start;
  box-shadow: 0 8px 24px -4px rgba(217, 119, 6, 0.45);
  transition: var(--transition);
}

.btn-hero-explore .btn-arrow {
  width: 19px;
  height: 19px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-explore:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 45%, #D97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(217, 119, 6, 0.65);
}

.btn-hero-explore:hover .btn-arrow {
  transform: translateX(-5px);
}

/* ==========================================================================
   DYNAMIC COLOR THEMES (WOMEN & MEN CATEGORIES)
   ========================================================================== */

/* Global transitions for silky theme switching */
body,
.top-announcement-bar,
.main-header,
.category-pill,
.btn-hero-explore,
.hero-section-indicator,
.hero-change-dept-btn,
.search-submit-btn,
.cart-badge,
.hero-curved-accent,
.curved-sub-tagline,
.trust-icon,
.sidebar-promo-card,
.btn-promo-join,
.wholesale-banner-card,
.btn-banner-browse,
.banner-subtitle,
.banner-right-badges,
.catalog-footer,
.footer-bottom-bar,
.mobile-nav-drawer,
.title-dash,
.subscribe-btn {
  transition: background-color 0.4s ease, background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

/* --------------------------------------------------------------------------
   WOMEN THEME: Exact Gateway Signature Emerald Green (#0C4B3F) & Mint Glow
   -------------------------------------------------------------------------- */
body.theme-women {
  --bg-page: #F6F9F8;
  --bg-dark-header: #05261F;
  --bg-dark-footer: #041813;
  --color-primary-green: #0C4B3F;
  --color-primary-green-hover: #07352C;
  --color-gold-btn: #0D5043;
  --shadow-hover: 0 20px 35px -8px rgba(12, 75, 63, 0.25), 0 0 0 1.5px rgba(74, 222, 128, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(12, 75, 63, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
}

body.theme-women .top-announcement-bar {
  background-color: #031410;
  border-bottom: 1px solid rgba(74, 222, 128, 0.25);
}

/* Header */
body.theme-women .main-header {
  background-color: rgba(5, 30, 25, 0.96);
  border-bottom: 1px solid rgba(74, 222, 128, 0.2);
}

body.theme-women .hero-fade-overlay {
  background: linear-gradient(
    270deg,
    rgba(246, 249, 248, 0.99) 0%,
    rgba(246, 249, 248, 0.96) 28%,
    rgba(246, 249, 248, 0.88) 42%,
    rgba(246, 249, 248, 0.35) 58%,
    rgba(246, 249, 248, 0) 72%
  );
}

body.theme-women .hero-section-indicator {
  background: rgba(12, 75, 63, 0.1);
  color: #0C4B3F;
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 2px 10px rgba(12, 75, 63, 0.08);
}

body.theme-women .hero-eyebrow {
  color: #0C4B3F;
}

body.theme-women .hero-eyebrow-dash {
  background-color: #0C4B3F;
}

body.theme-women .hero-hl-accent {
  color: #051E19;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #051E19;
}

body.theme-women .btn-hero-explore {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
  box-shadow: 0 8px 24px -4px rgba(217, 119, 6, 0.45);
}

body.theme-women .btn-hero-explore:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 45%, #D97706 100%);
  box-shadow: 0 12px 30px -4px rgba(217, 119, 6, 0.65);
}

body.theme-women .curved-sub-tagline {
  background: rgba(4, 26, 21, 0.88);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

body.theme-women .trust-icon {
  color: #0C4B3F;
}

body.theme-women .category-pill.active {
  background: linear-gradient(135deg, #0D5043 0%, #07332A 100%);
  border-color: rgba(74, 222, 128, 0.65);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(12, 75, 63, 0.35);
}

body.theme-women .search-submit-btn {
  background-color: #0C4B3F;
}
body.theme-women .search-submit-btn:hover {
  background-color: #07352C;
}

body.theme-women .cart-badge {
  background-color: #059669;
}

/* Sidebar Promo Card */
body.theme-women .sidebar-promo-card {
  background: linear-gradient(135deg, #05261F 0%, #0D4E41 100%);
  border: 1px solid rgba(74, 222, 128, 0.28);
  box-shadow: 0 10px 24px rgba(5, 38, 31, 0.28);
}
body.theme-women .btn-promo-join {
  background-color: #34D399;
  color: #041B15;
  font-weight: 700;
}
body.theme-women .btn-promo-join:hover {
  background-color: #6EE7B7;
}

/* Wholesale Promo Banner Card */
body.theme-women .wholesale-banner-card {
  background: linear-gradient(135deg, #05201A 0%, #0C4B3F 100%);
  border: 1px solid rgba(74, 222, 128, 0.3);
  box-shadow: 0 20px 45px rgba(5, 32, 26, 0.25);
}
body.theme-women .banner-subtitle {
  color: #34D399;
}
body.theme-women .btn-banner-browse {
  background: linear-gradient(135deg, #0D5043 0%, #07332A 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  box-shadow: 0 4px 14px rgba(12, 75, 63, 0.35);
  color: #FFFFFF;
}
body.theme-women .btn-banner-browse:hover {
  background: linear-gradient(135deg, #0A4036 0%, #05261F 100%);
  color: #FFFFFF;
}
body.theme-women .banner-right-badges {
  background: rgba(5, 32, 26, 0.6);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

/* Section Title Dash & Brands */
body.theme-women .title-dash {
  background-color: #10B981;
}
body.theme-women .view-all-brands-link:hover {
  color: #0C4B3F;
}
body.theme-women .brand-logo-card:hover {
  border-color: #10B981;
}

/* Footer & Drawer */
body.theme-women .catalog-footer {
  background-color: #041813;
}
body.theme-women .footer-bottom-bar {
  border-top-color: rgba(74, 222, 128, 0.12);
}
body.theme-women .mobile-nav-drawer {
  background: linear-gradient(180deg, #041813 0%, #0C4B3F 100%);
}
body.theme-women .crest-col {
  border-left-color: rgba(74, 222, 128, 0.22);
}
body.theme-women .subscribe-input-wrap {
  border-color: rgba(74, 222, 128, 0.25);
}
body.theme-women .subscribe-btn {
  background-color: #0C4B3F;
  color: #FFFFFF;
}
body.theme-women .subscribe-btn:hover {
  background-color: #10B981;
  color: #FFFFFF;
}
body.theme-women .footer-links-list a:hover {
  color: #34D399;
}
body.theme-women .social-icon-btn:hover {
  background-color: #0C4B3F;
  color: #FFFFFF;
}

/* Department-specific category option visibility */
body.theme-women .filter-opt-men {
  display: none !important;
}

/* --------------------------------------------------------------------------
   MEN THEME: Crisp Midnight Navy, Slate Blue & Ice Platinum
   -------------------------------------------------------------------------- */
body.theme-men {
  --bg-page: #F6F8FB;
  --bg-dark-header: #071526;
  --bg-dark-footer: #061426;
  --color-primary-green: #122947;
  --color-primary-green-hover: #0C1C32;
  --color-gold-btn: #163257;
  --shadow-hover: 0 20px 35px -8px rgba(18, 41, 71, 0.25), 0 0 0 1px rgba(56, 189, 248, 0.35);
  --shadow-md: 0 10px 25px -5px rgba(18, 41, 71, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
}

body.theme-men .top-announcement-bar {
  background-color: #061427;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
}

/* Header */
body.theme-men .main-header {
  background-color: rgba(7, 21, 38, 0.96);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

body.theme-men .hero-fade-overlay {
  background: linear-gradient(
    270deg,
    rgba(246, 249, 252, 0.99) 0%,
    rgba(246, 249, 252, 0.96) 28%,
    rgba(246, 249, 252, 0.88) 42%,
    rgba(246, 249, 252, 0.35) 58%,
    rgba(246, 249, 252, 0) 72%
  );
}

body.theme-men .hero-section-indicator {
  background: rgba(18, 41, 71, 0.08);
  color: #122947;
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 2px 10px rgba(18, 41, 71, 0.06);
}

body.theme-men .hero-eyebrow {
  color: #1A3E6D;
}

body.theme-men .hero-eyebrow-dash {
  background-color: #0284C7;
}

body.theme-men .hero-hl-accent {
  color: #071526;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #071526;
}

body.theme-men .btn-hero-explore {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
  box-shadow: 0 8px 24px -4px rgba(217, 119, 6, 0.45);
}

body.theme-men .btn-hero-explore:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 45%, #D97706 100%);
  box-shadow: 0 12px 30px -4px rgba(217, 119, 6, 0.65);
}

body.theme-men .curved-sub-tagline {
  background: rgba(6, 20, 39, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

body.theme-men .trust-icon {
  color: #122947;
}

body.theme-men .category-pill.active {
  background: linear-gradient(135deg, #163257 0%, #0E2038 100%);
  border-color: rgba(56, 189, 248, 0.5);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(18, 41, 71, 0.3);
}

body.theme-men .search-submit-btn {
  background-color: #122947;
}
body.theme-men .search-submit-btn:hover {
  background-color: #0C1C32;
}

body.theme-men .cart-badge {
  background-color: #0284C7;
}

/* Sidebar Promo Card */
body.theme-men .sidebar-promo-card {
  background: linear-gradient(135deg, #081B33 0%, #102F54 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 24px rgba(8, 27, 51, 0.35);
}
body.theme-men .btn-promo-join {
  background-color: #38BDF8;
  color: #061427;
  font-weight: 700;
}
body.theme-men .btn-promo-join:hover {
  background-color: #7DD3FC;
}

/* Wholesale Promo Banner Card */
body.theme-men .wholesale-banner-card {
  background: linear-gradient(135deg, #07192F 0%, #0E294A 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 45px rgba(6, 20, 38, 0.35);
}
body.theme-men .banner-subtitle {
  color: #38BDF8;
}
body.theme-men .btn-banner-browse {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  color: #FFFFFF;
}
body.theme-men .btn-banner-browse:hover {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #061427;
}
body.theme-men .banner-right-badges {
  background: rgba(6, 20, 38, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Section Title Dash & Brands */
body.theme-men .title-dash {
  background-color: #0284C7;
}
body.theme-men .view-all-brands-link:hover {
  color: #0284C7;
}
body.theme-men .brand-logo-card:hover {
  border-color: #0284C7;
}

/* Footer & Drawer */
body.theme-men .catalog-footer {
  background-color: #061426;
}
body.theme-men .footer-bottom-bar {
  border-top-color: rgba(56, 189, 248, 0.12);
}
body.theme-men .mobile-nav-drawer {
  background: linear-gradient(180deg, #061426 0%, #0E294A 100%);
}
body.theme-men .crest-col {
  border-left-color: rgba(56, 189, 248, 0.22);
}
body.theme-men .subscribe-input-wrap {
  border-color: rgba(56, 189, 248, 0.25);
}
body.theme-men .subscribe-btn {
  background-color: #0284C7;
  color: #FFFFFF;
}
body.theme-men .subscribe-btn:hover {
  background-color: #38BDF8;
  color: #061426;
}
body.theme-men .footer-links-list a:hover {
  color: #38BDF8;
}
body.theme-men .social-icon-btn:hover {
  background-color: #0284C7;
  color: #FFFFFF;
}

/* Department-specific category option visibility */
body.theme-men .filter-opt-women {
  display: none !important;
}

/* Subtle Hero Content Crossfade Animation */
.hero-text-content {
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text-content.is-fading {
  opacity: 0.2;
  transform: translateY(4px);
}

/* Minimal Luxury Trust Row */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 0.6rem;
  flex-wrap: nowrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-icon {
  width: 19px;
  height: 19px;
  color: #0C4B3F;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 18px;
  background-color: rgba(0, 0, 0, 0.16);
  flex-shrink: 0;
}

/* ==========================================================================
   MAIN CATALOG CONTAINER & CATEGORY TABS
   ========================================================================== */
.catalog-page-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem;
}

/* Category Filter Tabs (Horizontal Pill Bar) */
.category-tabs-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: -0.35rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  padding: 0.5rem 0.5rem 0.65rem 0.5rem;
}

.category-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
}

.category-pill:hover {
  border-color: var(--color-primary-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-pill.active {
  background-color: #EBF3F0;
  border-color: var(--color-primary-green);
  color: var(--color-primary-green);
  font-weight: 700;
}

.pill-icon {
  font-size: 1.15rem;
}

/* ==========================================================================
   2-COLUMN CATALOG LAYOUT: SIDEBAR + PRODUCTS
   ========================================================================== */
.catalog-main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.2rem;
  align-items: flex-start;
}

/* --------------------------------------------------------------------------
   LEFT SIDEBAR (FILTERS)
   -------------------------------------------------------------------------- */
.catalog-sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.clear-filters-btn {
  background: transparent;
  border: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--transition);
}

.clear-filters-btn:hover {
  color: var(--color-primary-green);
}

/* Accordion Filter Groups */
.filter-group {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.2rem;
}

.filter-group:last-of-type {
  border-bottom: none;
}

.filter-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  margin-bottom: 0.85rem;
  user-select: none;
  transition: color 0.15s ease;
}

.filter-title-row:hover {
  color: var(--color-primary-green);
}

.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.filter-group.open .chevron-icon {
  transform: rotate(180deg);
}

.filter-group .filter-options {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  animation: filterFadeIn 0.2s ease-in-out;
}

.filter-group.open .filter-options {
  display: flex;
}

.filter-group.open .filter-options.color-swatches-grid {
  display: flex;
  flex-wrap: wrap;
}

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

/* Custom Checkbox */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 0.2rem 0;
  transition: color 0.15s ease;
}

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

.filter-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  min-width: 17px;
  border: 1.5px solid #CBD5E1;
  border-radius: 4px;
  margin: 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.filter-checkbox input[type="checkbox"]:hover {
  border-color: var(--color-primary-green);
}

.filter-checkbox input[type="checkbox"]:checked {
  background-color: var(--color-primary-green);
  border-color: var(--color-primary-green);
}

.filter-checkbox input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cb-label {
  flex: 1;
  line-height: 1.4;
}

.cb-count {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-inline-start: auto;
}

/* Brand Search Box */
.brand-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  margin-bottom: 0.4rem;
}

.brand-search-box svg {
  width: 14px;
  height: 14px;
  color: #94A3B8;
}

.brand-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  width: 100%;
}

/* Price Range Slider */
.price-range-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary-green);
  margin-bottom: 0.4rem;
  display: block;
}

.slider-track-wrap {
  width: 100%;
  padding: 0.3rem 0;
}

.range-slider {
  width: 100%;
  accent-color: var(--color-primary-green);
  cursor: pointer;
}

/* Color Swatches Grid */
.color-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.color-swatch-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.color-swatch-dot.active {
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--color-primary-green);
}

/* Sidebar Promo Card */
.sidebar-promo-card {
  background: linear-gradient(135deg, #072620 0%, #0F493E 100%);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  color: #FFFFFF;
  margin-top: 0.5rem;
  box-shadow: 0 10px 24px rgba(7, 38, 32, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.promo-crown {
  width: 28px;
  height: 24px;
}

.promo-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.promo-card-sub {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin-bottom: 0.4rem;
}

.btn-promo-join {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-gold);
  color: #1E293B;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  transition: var(--transition);
}

.btn-promo-join svg {
  width: 14px;
  height: 14px;
}

.btn-promo-join:hover {
  background-color: #E5C365;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   RIGHT PRODUCTS SECTION
   -------------------------------------------------------------------------- */
.catalog-products-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Top Bar: Title & Controls */
.products-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products-heading-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.products-heading-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.products-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.products-count-badge {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.title-dash {
  width: 32px;
  height: 2px;
  background-color: var(--color-gold);
}

/* No Products Empty State */
.no-products-state {
  text-align: center;
  padding: 4.5rem 2rem;
  background: var(--bg-card);
  border: 2px dashed #CBD5E1;
  border-radius: 20px;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: filterFadeIn 0.3s ease-out;
}

.no-products-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(12, 75, 63, 0.08);
  color: var(--color-primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.no-products-icon svg {
  width: 34px;
  height: 34px;
}

.no-products-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.no-products-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.btn-reset-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  background: var(--color-primary-green);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(12, 75, 63, 0.25);
}

.btn-reset-filters:hover {
  background: #09382f;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 75, 63, 0.35);
}

.btn-reset-filters svg {
  width: 17px;
  height: 17px;
}

.products-controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.sort-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.sort-label {
  color: var(--text-muted);
}

.sort-dropdown {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background-color: #FFFFFF;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background-color: #FFFFFF;
  overflow: hidden;
}

.view-btn {
  background: transparent;
  border: none;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.view-btn.active {
  background-color: #F1F5F9;
  color: var(--text-dark);
}

.view-btn svg {
  width: 17px;
  height: 17px;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #F8F7F4;
  overflow: hidden;
  cursor: pointer;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
}

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

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--color-primary-green);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  z-index: 2;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #FFFFFF;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #94A3B8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  z-index: 2;
}

.wishlist-btn svg {
  width: 15px;
  height: 15px;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: #E11D48;
}

.wishlist-btn.active svg {
  fill: #E11D48;
}

/* Product Info */
.product-info {
  padding: 1.1rem 1.15rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-name {
  font-family: var(--font-arabic);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.6;
  letter-spacing: normal;
  word-spacing: normal;
  margin: 0;
  min-height: 2.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.product-name:hover {
  color: var(--color-primary-green);
}

.product-category-sub {
  font-family: var(--font-arabic);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: normal;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.25rem 0;
  line-height: 1.4;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: normal;
  white-space: nowrap;
}

.price-old {
  font-size: 0.86rem;
  color: #94A3B8;
  text-decoration: line-through;
  letter-spacing: normal;
  white-space: nowrap;
}

.moq-tag {
  font-family: var(--font-arabic);
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.5;
  letter-spacing: normal;
  margin-bottom: 0.45rem;
}

.btn-add-to-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary-green);
  color: #FFFFFF;
  border: none;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-to-cart svg {
  width: 15px;
  height: 15px;
}

.btn-add-to-cart:hover {
  background-color: var(--color-primary-green-hover);
  box-shadow: 0 4px 12px rgba(12, 75, 63, 0.3);
}

/* ==========================================================================
   MIDDLE WHOLESALE PROMO BANNER
   ========================================================================== */
.wholesale-banner-section {
  margin: 3.5rem 0 2.5rem 0;
}

.wholesale-banner-card {
  background: linear-gradient(135deg, #071E18 0%, #0D3E33 100%);
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 45px rgba(7, 30, 24, 0.18);
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr;
  align-items: center;
  padding: 2.2rem 2.8rem;
  gap: 2rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.banner-left-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.banner-subtitle {
  font-size: 0.95rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-gold);
}

.banner-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
}

.banner-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.8;
  letter-spacing: normal;
  margin-bottom: 0.6rem;
}

.btn-banner-browse {
  align-self: flex-start;
  background-color: var(--color-gold-btn);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  transition: var(--transition);
}

.btn-banner-browse:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
}

/* Center Visual */
.banner-center-visual {
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.banner-rack-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
}

.banner-center-visual:hover .banner-rack-img {
  transform: scale(1.06);
}

/* Right Value Badges */
.banner-right-badges {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
}

.banner-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
}

.badge-icon-circle {
  font-size: 1.1rem;
}

/* ==========================================================================
   TOP BRANDS SECTION
   ========================================================================== */
.top-brands-section {
  margin-bottom: 3.5rem;
}

.brands-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.brands-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brands-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
}

.view-all-brands-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.view-all-brands-link svg {
  width: 16px;
  height: 16px;
}

.view-all-brands-link:hover {
  color: var(--color-primary-green);
}

.brands-logo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.2rem;
}

.brand-logo-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.brand-logo-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.brand-text-logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #1E293B;
}

.logo-zara {
  letter-spacing: 4px;
}

.logo-hm {
  color: #DC2626;
  font-style: italic;
  font-weight: 900;
}

.logo-mango {
  letter-spacing: 3px;
}

.logo-adidas {
  font-weight: 700;
  text-transform: lowercase;
}

.logo-nike {
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
}

.logo-puma {
  font-weight: 900;
  letter-spacing: 1.5px;
}

.card-more-brands {
  background-color: #F8FAFC;
  border-style: dashed;
}

.more-brands-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.catalog-footer {
  background-color: var(--bg-dark-footer);
  color: #E2E8F0;
  padding-top: 4rem;
  transition: background-color 0.4s ease;
}

.footer-top-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem 3.5rem 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr 1.2fr;
  gap: 3rem;
}

/* Brand Col */
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.2rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-logo:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.footer-logo .brand-logo-img {
  height: 54px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.8;
  letter-spacing: normal;
  max-width: 400px;
}

/* Links Columns */
.footer-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

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

.footer-links-list a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

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

/* Newsletter & Social */
.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon-btn svg {
  width: 15px;
  height: 15px;
}

.social-icon-btn:hover {
  background-color: var(--color-gold);
  color: #1E293B;
  transform: translateY(-2px);
}

.sub-label {
  display: block;
  font-size: 0.82rem;
  color: #CBD5E1;
  margin-bottom: 0.5rem;
}

.subscribe-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  padding: 0.2rem 0.2rem 0.2rem 1rem;
}

.subscribe-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 0.82rem;
  flex: 1;
}

.subscribe-input-wrap input::placeholder {
  color: #64748B;
}

.subscribe-btn {
  background-color: var(--color-gold);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1E293B;
  transition: var(--transition);
}

.subscribe-btn svg {
  width: 14px;
  height: 14px;
}

.subscribe-btn:hover {
  background-color: #E5C365;
}

/* Crest Col (Right) */
.crest-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  border-left: 1px solid rgba(212, 175, 55, 0.2);
  padding-left: 2rem;
}

.crest-crown {
  width: 36px;
  height: 30px;
  margin-bottom: 0.8rem;
}

.crest-quote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  font-style: normal;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: #F8FAFC;
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 2rem;
  font-size: 0.82rem;
  color: #94A3B8;
}

.footer-bottom-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.footer-copyright-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.copyright-text {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.copyright-separator {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  user-select: none;
}

.thaqip-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 1;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.thaqip-brand-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}

.thaqip-logo-img {
  height: 26px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
}

.secure-badge svg {
  width: 14px;
  height: 14px;
}

.pay-icons-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pay-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Cart Toast Notification */
.cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--color-primary-green);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-icon {
  background-color: var(--color-primary-green);
  color: #FFFFFF;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.toast-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.toast-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE & TABLET DRAWER / BACKDROP BASE STYLES (Hidden on Desktop)
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
}

.mobile-nav-drawer {
  display: none;
}

.mobile-drawer-overlay {
  display: none;
}

.mobile-filter-trigger {
  display: none;
}

.sidebar-close-btn {
  display: none;
}

.sidebar-backdrop {
  display: none;
}

.sidebar-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Mobile Navigation Drawer Base */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 20, 16, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: linear-gradient(180deg, #071E18 0%, #0A2E25 100%);
  color: #FFFFFF;
  z-index: 999;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.drawer-logo-img {
  height: 38px;
  width: auto;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-gold);
}

.drawer-close-btn svg {
  width: 18px;
  height: 18px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: auto;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #F1F5F9;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  transition: var(--transition);
  min-height: 48px;
}

.drawer-nav-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.drawer-nav-item:hover,
.drawer-nav-item:active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-gold);
}

.drawer-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1.5rem;
}

.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 46px;
  transition: var(--transition);
}

.btn-drawer-login {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-drawer-login:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-gold);
}

.btn-drawer-register {
  background: var(--color-gold-btn);
  color: #111E2E;
}

.btn-drawer-register:hover {
  background: var(--color-gold);
}

/* Mobile Sidebar Drawer Base */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-close-btn {
  background: #F1F5F9;
  border: none;
  color: var(--text-dark);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-close-btn svg {
  width: 16px;
  height: 16px;
}

/* Category horizontal scroller on touch devices */
.category-tabs-bar {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs-bar::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LAPTOPS & SMALL DESKTOPS (<= 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header-search-bar {
    max-width: 480px;
  }

  .catalog-hero {
    min-height: 480px;
  }

  .hero-curved-accent {
    width: 290px;
  }

  .curved-inner-content {
    left: 125px;
    width: 175px;
    max-width: 175px;
    padding: 0;
  }

  .curved-words-stack .c-word {
    font-size: 1.8rem;
  }

  .curved-sub-tagline {
    padding: 0.35rem 0.75rem;
    max-width: 170px;
  }

  .curved-sub-tagline span:first-child {
    font-size: 0.78rem;
  }

  .curved-sub-tagline span:last-child {
    font-size: 0.72rem;
  }

  .hero-heading {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    line-height: 1.5;
  }

  .hero-text-content {
    max-width: 700px;
  }

  .hero-trust-row {
    gap: 0.85rem;
  }

  .catalog-main-layout {
    grid-template-columns: 260px 1fr;
    gap: 1.6rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .wholesale-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .btn-banner-browse {
    align-self: center;
  }
  
  .banner-center-visual {
    height: 220px;
  }
  
  .brands-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-top-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .brand-col {
    grid-column: span 2;
  }

  .newsletter-col {
    grid-column: span 2;
  }
  
  .crest-col {
    grid-column: span 2;
    border-left: none;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 1.8rem;
    padding-left: 0;
  }
}

/* --------------------------------------------------------------------------
   2. TABLETS PORTRAIT & LARGE PHONES (<= 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  /* Mobile Navigation Toggle Activation */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #FFFFFF;
    cursor: pointer;
    order: 1;
    transition: var(--transition);
  }

  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-gold);
  }

  .mobile-nav-drawer {
    display: flex;
  }

  .mobile-drawer-overlay {
    display: block;
  }

  .header-nav {
    display: none;
  }

  .main-header {
    padding: 0;
  }

  .header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 0.75rem;
    padding: 0.65rem 1rem;
  }

  .mobile-menu-toggle {
    order: 1;
  }

  .header-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .user-action-link span {
    display: none;
  }

  .user-action-link {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .cart-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .header-search-bar {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-top: 0.2rem;
  }

  /* Hero Section: High Zoom & Tablet Protection */
  .catalog-hero {
    min-height: auto;
  }

  .hero-curved-accent {
    display: none;
  }

  .hero-bg-layer {
    overflow: hidden;
  }

  /* Shift models to the left so right-aligned Arabic text does NOT cover them */
  .hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 140%;
    min-width: 1150px;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right 20%;
  }

  /* Soft warm fade over right side behind text, leaving models on the left 100% crisp */
  .hero-fade-overlay {
    background: linear-gradient(
      270deg,
      rgba(248, 245, 238, 0.98) 0%,
      rgba(248, 245, 238, 0.94) 38%,
      rgba(248, 245, 238, 0.80) 52%,
      rgba(248, 245, 238, 0.20) 68%,
      rgba(248, 245, 238, 0) 80%
    );
  }

  body.theme-women .hero-fade-overlay {
    background: linear-gradient(
      270deg,
      rgba(246, 249, 248, 0.98) 0%,
      rgba(246, 249, 248, 0.94) 38%,
      rgba(246, 249, 248, 0.80) 52%,
      rgba(246, 249, 248, 0.20) 68%,
      rgba(246, 249, 248, 0) 80%
    );
  }

  body.theme-men .hero-fade-overlay {
    background: linear-gradient(
      270deg,
      rgba(246, 249, 252, 0.98) 0%,
      rgba(246, 249, 252, 0.94) 38%,
      rgba(246, 249, 252, 0.80) 52%,
      rgba(246, 249, 252, 0.20) 68%,
      rgba(246, 249, 252, 0) 80%
    );
  }

  .hero-inner-container {
    padding: 3rem 1.25rem;
  }

  .hero-text-content {
    max-width: min(580px, 64vw);
  }

  .hero-trust-row {
    gap: 0.65rem;
  }

  .trust-badge-item {
    font-size: 0.82rem;
    gap: 0.35rem;
  }

  .trust-icon {
    width: 17px;
    height: 17px;
  }

  .hero-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.3rem);
    line-height: 1.5;
  }

  /* 1-Column Catalog Layout with Drawer Filter */
  .catalog-main-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .catalog-sidebar {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    max-width: 88vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 995;
    padding: 1.5rem;
    overflow-y: auto;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .catalog-sidebar.mobile-open {
    right: 0;
  }

  .sidebar-backdrop {
    display: block;
  }

  .sidebar-close-btn {
    display: flex;
  }

  .products-header-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .products-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
  }

  .mobile-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1.5px solid var(--border-light);
    color: var(--color-primary-green);
    border-radius: 8px;
    padding: 0.45rem 1rem;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    min-height: 42px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }

  .mobile-filter-trigger:hover {
    border-color: var(--color-primary-green);
    background: #F1F7F4;
  }

  .mobile-filter-trigger svg {
    width: 17px;
    height: 17px;
  }

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

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

/* --------------------------------------------------------------------------
   3. TABLETS PORTRAIT & PHABLETS (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Top Bar */
  .top-announcement-bar {
    padding: 0.45rem 1rem;
  }

  .top-bar-container {
    position: relative;
    padding: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .top-bar-left {
    display: none;
  }

  .top-bar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .top-bar-right {
    margin-right: auto;
  }

  .arabic-tagline {
    display: none;
  }

  .lang-divider {
    display: none;
  }

  .top-logo-link img {
    height: 32px;
  }

  /* Hero Banner */
  .catalog-hero {
    padding: 1rem 0;
  }

  .hero-inner-container {
    padding: 2.5rem 1rem 2rem 1rem;
  }

  .hero-heading {
    font-size: clamp(1.65rem, 5.5vw, 2.1rem);
    line-height: 1.5;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .btn-hero-explore {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 0.85rem 1.8rem;
  }

  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .trust-divider {
    display: none;
  }

  /* Products Controls Bar */
  .products-header-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .products-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
  }

  .products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  .sort-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
  }

  .sort-label {
    white-space: nowrap;
    font-size: 0.88rem;
    color: var(--text-muted);
  }

  .sort-dropdown {
    flex: 1;
    width: 100%;
    min-height: 42px;
    font-size: 0.88rem;
  }

  .view-toggle {
    flex-shrink: 0;
  }

  .view-btn {
    width: 42px;
    height: 42px;
  }

  /* Middle Wholesale Card */
  .wholesale-banner-card {
    padding: 2rem 1.25rem;
  }

  .banner-title {
    font-size: 1.6rem;
  }

  .banner-desc {
    font-size: 0.92rem;
  }

  .banner-center-visual {
    height: 180px;
  }

  .banner-right-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    text-align: right;
  }

  .btn-banner-browse {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }

  /* Brands Section */
  .brands-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .brands-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Footer: Quick Links & Customer Service Side by Side */
  .footer-top-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem 1.25rem;
    padding: 0 1.25rem 2.5rem 1.25rem;
  }

  .brand-col {
    grid-column: span 2;
  }

  .newsletter-col {
    grid-column: span 2;
  }

  .crest-col {
    grid-column: span 2;
    border-left: none;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 1.5rem;
    padding-left: 0;
  }

  .footer-heading {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .footer-links-list {
    gap: 0.65rem;
  }

  .footer-links-list a {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
  }

  .newsletter-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    justify-content: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
  }

  .pay-icons-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* --------------------------------------------------------------------------
   4. MOBILE PHONES (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .catalog-page-container {
    padding: 1rem 0.75rem;
  }

  /* Top Announcement Bar */
  .top-bar-left span {
    font-size: 0.74rem;
  }

  .lang-switch span {
    font-size: 0.74rem;
  }

  /* Hero Section */
  .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
  }

  .hero-fade-overlay {
    background: linear-gradient(
      270deg,
      rgba(248, 245, 238, 0.97) 0%,
      rgba(248, 245, 238, 0.92) 55%,
      rgba(248, 245, 238, 0.86) 100%
    );
  }

  body.theme-women .hero-fade-overlay {
    background: linear-gradient(
      270deg,
      rgba(246, 249, 248, 0.97) 0%,
      rgba(246, 249, 248, 0.92) 55%,
      rgba(246, 249, 248, 0.86) 100%
    );
  }

  body.theme-men .hero-fade-overlay {
    background: linear-gradient(
      270deg,
      rgba(246, 249, 252, 0.97) 0%,
      rgba(246, 249, 252, 0.92) 55%,
      rgba(246, 249, 252, 0.86) 100%
    );
  }

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

  .hero-inner-container {
    padding: 2.2rem 0.75rem 1.8rem 0.75rem;
  }

  .hero-eyebrow {
    font-size: 0.8rem;
  }

  .hero-eyebrow-dash {
    width: 28px;
  }

  .hero-heading {
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  /* Category Tabs */
  .category-pill {
    padding: 0.5rem 1rem;
    font-size: 0.84rem;
  }

  /* Products Header & Controls Bar */
  .products-title {
    font-size: 1.22rem;
    gap: 0.35rem;
  }

  .products-count-badge {
    font-size: 0.78rem;
  }

  .mobile-filter-trigger {
    padding: 0.38rem 0.8rem;
    font-size: 0.82rem;
    min-height: 38px;
    gap: 0.4rem;
  }

  .mobile-filter-trigger svg {
    width: 15px;
    height: 15px;
  }

  .sort-label {
    font-size: 0.82rem;
  }

  .sort-dropdown {
    min-height: 38px;
    font-size: 0.82rem;
    padding: 0.35rem 0.6rem;
  }

  .view-btn {
    width: 38px;
    height: 38px;
    padding: 0.35rem;
  }

  .view-btn svg {
    width: 15px;
    height: 15px;
  }

  /* Products Grid: 2 Clean Mobile Columns */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .product-image-box {
    height: 160px;
  }

  .product-info {
    padding: 0.7rem 0.6rem;
    gap: 0.35rem;
  }

  .product-name {
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .product-brand-tag {
    font-size: 0.72rem;
  }

  .product-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .current-price {
    font-size: 1.05rem;
  }

  .original-price {
    font-size: 0.76rem;
  }

  .moq-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
  }

  .product-card-footer {
    padding: 0.6rem;
  }

  .btn-add-to-cart {
    padding: 0.5rem 0.45rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }

  .btn-add-to-cart svg {
    width: 14px;
    height: 14px;
  }

  /* Promo Banner Badges */
  .banner-right-badges {
    grid-template-columns: 1fr;
  }

  /* Cart Toast Notification */
  .cart-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: calc(100% - 24px);
    padding: 0.85rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   5. ULTRA-COMPACT SCREENS (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .hero-heading {
    font-size: 1.55rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image-box {
    height: 200px;
  }
}
