/* =========================================================
   ZD TEXTILE - Professional Workwear & Uniforms E-Commerce
   Design System & Styling
========================================================= */

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

:root {
  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Color Palette - Directly extracted from ZD Textile Logo (Luminous Electric Azure, Cyan & Silver Chrome) */
  --color-primary: #0a0f1d;
  --color-primary-light: #151e32;
  --color-primary-dark: #020617;
  
  /* Logo Vibrant Brand Blues & Cyans */
  --color-brand: #0284c7;           /* Logo Deep Electric Azure */
  --color-brand-vibrant: #0ea5e9;   /* Radiant Sky Cyan */
  --color-brand-cyan: #00d2ff;      /* Specular Neon Cyan Glow */
  --color-brand-hover: #0369a1;     /* Deep Sapphire Blue */
  --color-brand-light: rgba(14, 165, 233, 0.09);
  --color-brand-glow: rgba(14, 165, 233, 0.4);
  --color-brand-dark: #075985;
  
  /* Luxury Brand Gradients */
  --color-brand-gradient: linear-gradient(135deg, #00d2ff 0%, #0ea5e9 50%, #0284c7 100%);
  --color-brand-gradient-hover: linear-gradient(135deg, #38bdf8 0%, #00d2ff 50%, #0ea5e9 100%);
  --color-brand-glow-subtle: 0 0 25px rgba(0, 210, 255, 0.35);
  
  /* Logo Metallic Chrome & Silver */
  --color-silver-light: #ffffff;
  --color-silver: #e2e8f0;
  --color-silver-dark: #94a3b8;
  --color-silver-gradient: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  
  /* High-end Gold & Amber (VIP & Safety) */
  --color-safety: #f59e0b;
  --color-safety-hover: #d97706;
  --color-safety-light: #fef3c7;
  --color-safety-glow: rgba(245, 158, 11, 0.35);
  --color-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-danger: #ef4444;
  --color-danger-light: #fee2e2;
  --color-warning: #f97316;
  
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-subtle: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-subtle: #cbd5e1;
  
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-text-white: #ffffff;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(14, 165, 233, 0.1), 0 3px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 28px -4px rgba(14, 165, 233, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 25px 50px -12px rgba(10, 15, 29, 0.25);
  --shadow-glow: 0 0 25px var(--color-brand-glow);
  --shadow-gold-glow: 0 0 25px var(--color-safety-glow);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Typography Helpers */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-brand {
  background: var(--color-brand-light);
  color: var(--color-brand);
}

.badge-safety {
  background: var(--color-safety-light);
  color: var(--color-safety-hover);
}

.badge-success {
  background: var(--color-success-light);
  color: var(--color-success);
}

.badge-danger {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

/* =========================================================
   Unified Button Design System & Alignment
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.925rem;
  line-height: 1.2;
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
}

.btn i, .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.btn-primary {
  background: var(--color-brand-gradient);
  color: #031427;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.6);
  background: var(--color-brand-gradient-hover);
  color: #020c18;
}

.btn-safety {
  background: var(--color-gold-gradient);
  color: #0f172a;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
}

.btn-safety:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.55);
  filter: brightness(1.08);
}

.btn-outline {
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-main);
  font-weight: 600;
}

.btn-outline:hover {
  border-color: var(--color-brand-vibrant);
  color: var(--color-brand);
  background: rgba(14, 165, 233, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.16);
}

.btn-glass, .btn-outline-light {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-glass:hover, .btn-outline-light:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: #00d2ff;
  color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
}

.btn-dark {
  background: var(--color-primary);
  color: var(--color-text-white);
}

.btn-dark:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 36px;
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-sm i, .btn-sm svg {
  width: 15px;
  height: 15px;
}

.btn-lg {
  min-height: 52px;
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
}

.btn-lg i, .btn-lg svg {
  width: 20px;
  height: 20px;
}

.btn-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   Header Navigation
========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--color-safety);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  border: 2px solid var(--color-safety);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  line-height: 1;
  white-space: nowrap;
}

.brand-name span {
  background: var(--color-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.35));
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-text-main);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-brand-vibrant);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #00d2ff, #0ea5e9);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.7);
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 250px;
  min-width: 150px;
  position: relative;
}

.header-search input {
  width: 100%;
  height: 42px;
  min-height: 42px;
  padding: 0 0.9rem 0 2.4rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface-subtle);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search input:focus {
  background: var(--color-surface);
  border-color: var(--color-brand-vibrant);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.header-search .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  background: var(--color-surface);
  cursor: pointer;
  padding: 0;
}

.action-btn i, .action-btn svg {
  width: 19px;
  height: 19px;
  stroke: var(--color-text-main);
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background: rgba(14, 165, 233, 0.08);
  color: var(--color-brand);
  border-color: var(--color-brand-vibrant);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.action-btn:hover i, .action-btn:hover svg {
  stroke: var(--color-brand-vibrant);
}

.action-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #00d2ff 0%, #0ea5e9 100%);
  color: #031427;
  font-size: 0.7rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 210, 255, 0.5);
  border: 1.5px solid #ffffff;
  line-height: 1;
}

.admin-switch-btn {
  height: 42px;
  min-height: 42px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--color-safety);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0 1.1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.admin-switch-btn:hover {
  background: #000000;
  border-color: var(--color-safety);
  box-shadow: 0 4px 14px var(--color-safety-glow);
  transform: translateY(-2px);
  color: #fbbf24;
}

.admin-switch-btn i, .admin-switch-btn svg {
  width: 16px;
  height: 16px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-text-main);
  cursor: pointer;
  padding: 0;
}

/* =========================================================
   Hero Section
========================================================= */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 85% 20%, rgba(14, 165, 233, 0.22) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 85%, rgba(245, 158, 11, 0.14) 0%, transparent 50%),
              linear-gradient(155deg, #060b17 0%, #0c1527 50%, #020617 100%);
  color: var(--color-text-white);
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 45%, rgba(0, 210, 255, 0.14), transparent 45%),
              radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.18), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffffff 10%, #38bdf8 45%, #00d2ff 75%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.35));
}

.hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-height: 52px;
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-safety);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item p {
  font-size: 0.825rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Hero Showcase Card */
.hero-showcase {
  position: relative;
}

.showcase-card {
  position: relative;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(14, 165, 233, 0.22);
  transition: all var(--transition-normal);
}

.showcase-card:hover {
  border-color: rgba(0, 210, 255, 0.65);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 210, 255, 0.38);
}

.showcase-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.8;
  height: auto;
  max-height: 380px;
  background: #0f172a;
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-smooth);
  pointer-events: none;
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.03);
}

.showcase-slide-next {
  animation: slideInRight 0.38s cubic-bezier(0.25, 1, 0.5, 1);
}

.showcase-slide-prev {
  animation: slideInLeft 0.38s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideInRight {
  0% {
    opacity: 0.3;
    transform: translateX(40px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0.3;
    transform: translateX(-40px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.showcase-mini-progress {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.showcase-info-bar,
.floating-pill {
  position: relative;
  margin-top: 0.85rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 2;
}

.pill-info {
  flex: 1;
  min-width: 0;
}

.pill-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 0.2rem 0;
}

.pill-info span {
  font-size: 0.8rem;
  color: var(--color-safety);
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.showcase-dots-bar {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 0.4rem 0 0 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  z-index: 2;
  box-shadow: none;
  margin-top: 0.35rem;
}

.showcase-mini-dash {
  width: 10px;
  height: 3.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.showcase-mini-dash:hover {
  background: rgba(255, 255, 255, 0.75);
}

.showcase-mini-dash.active {
  width: 22px;
  background: var(--color-safety);
  box-shadow: 0 0 8px var(--color-safety);
}

.floating-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--color-safety);
  color: #0f172a;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-gold-glow);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: pulseFloat 3s infinite ease-in-out;
}

@keyframes pulseFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =========================================================
   Category Bar & Badges (with Arrow Controls)
========================================================= */
.section-categories {
  padding: 2.5rem 0 1.5rem 0;
}

.category-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.category-arrow-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  z-index: 5;
  flex-shrink: 0;
}

.category-arrow-btn:hover {
  background: var(--color-primary);
  color: var(--color-safety);
  border-color: var(--color-primary);
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.category-arrow-btn:active {
  transform: scale(0.95);
}

.category-arrow-btn i {
  width: 18px;
  height: 18px;
}

.category-scroll {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.4rem 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 42px;
  min-height: 42px;
  padding: 0 1.25rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-main);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  user-select: none;
  cursor: pointer;
}

.cat-btn:hover {
  border-color: var(--color-brand-vibrant);
  color: var(--color-brand);
  background: rgba(14, 165, 233, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.18);
}

.cat-btn.active {
  background: var(--color-brand-gradient);
  color: #031427;
  font-weight: 800;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.45);
}

.cat-btn.active .cat-count {
  background: rgba(3, 20, 39, 0.2);
  color: #031427;
  font-weight: 900;
}

.cat-count {
  background: var(--color-surface-subtle);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  height: 22px;
  min-width: 24px;
  padding: 0 0.45rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* =========================================================
   Features Banner (Interactive Cards)
========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.feature-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.18);
  border-color: rgba(14, 165, 233, 0.45);
}

.feature-box:active {
  transform: translateY(-1px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.feature-box:hover .feature-icon {
  background: var(--color-brand-gradient);
  color: #031427;
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.45);
}

.feature-info {
  flex: 1;
  min-width: 0;
}

.feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.feature-head h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0;
  transition: color var(--transition-fast);
}

.feature-box:hover .feature-head h4 {
  color: var(--color-brand);
}

.feature-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-surface-subtle);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.feature-arrow i {
  width: 14px;
  height: 14px;
}

.feature-box:hover .feature-arrow {
  background: var(--color-brand);
  color: #ffffff;
  transform: translateX(3px);
}

.feature-info p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.feature-link-hint {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-brand);
  opacity: 0.85;
  transition: all var(--transition-fast);
}

.feature-box:hover .feature-link-hint {
  opacity: 1;
  color: var(--color-brand-dark);
  text-decoration: underline;
}

/* Feature Info Modal */
.feature-info-modal-card {
  max-width: 620px;
  width: 92%;
  padding: 2.25rem 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.feature-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.feature-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(245, 158, 11, 0.15) 100%);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.feature-modal-icon i {
  width: 32px;
  height: 32px;
  color: var(--color-brand);
}

.feature-modal-title h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.feature-modal-title p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.feature-modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.feature-modal-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: 1.5;
}

.feature-modal-item i {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feature-modal-actions .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

/* =========================================================
   Catalog Section
========================================================= */
.section-catalog {
  padding: 3rem 0 5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-title-wrap h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.section-title-wrap p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-select {
  padding: 0.6rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-select:hover, .filter-select:focus {
  border-color: var(--color-brand);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-xs);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(14, 165, 233, 0.2), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: rgba(14, 165, 233, 0.45);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  background: #f8fafc;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-smooth);
}

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

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-brand-gradient);
  color: #031427;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
}

.card-season-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text-main);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  z-index: 2;
}

.card-quick-actions {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 3;
}

.product-card:hover .card-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn {
  flex: 1;
  height: 38px;
  min-height: 38px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.quick-view-btn svg {
  width: 15px;
  height: 15px;
  stroke: #ffffff;
  flex-shrink: 0;
}

.quick-view-btn:hover {
  background: var(--color-brand-gradient);
  color: #031427;
  border-color: rgba(255, 255, 255, 0.4);
}

.quick-view-btn:hover svg {
  stroke: #031427;
}

.wishlist-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--color-text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.wishlist-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wishlist-btn:hover, .wishlist-btn.active {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}

/* Card Content */
.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-brand-vibrant);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
  max-height: 2.7rem;
}

.card-title:hover {
  color: var(--color-brand-vibrant);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  font-weight: 700;
}

.card-reviews-tag {
  color: var(--color-brand);
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--color-brand-light);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.card-reviews-tag:hover {
  background: rgba(14, 165, 233, 0.2);
}

.card-fabric {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  gap: 0.5rem;
  min-height: 56px;
}

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

.current-price {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.old-price {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}

.add-cart-btn {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.12), rgba(14, 165, 233, 0.18));
  color: var(--color-brand);
  border: 1.5px solid rgba(14, 165, 233, 0.35);
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.add-cart-btn svg {
  width: 19px;
  height: 19px;
  stroke: var(--color-brand);
  transition: transform var(--transition-fast);
}

.add-cart-btn:hover {
  background: var(--color-brand-gradient);
  color: #031427;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45);
}

.add-cart-btn:hover svg {
  stroke: #031427;
  transform: scale(1.1);
}

/* Empty Catalog */
.empty-catalog {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--color-border);
}

.empty-catalog i {
  font-size: 3rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

/* =========================================================
   Corporate Branding Section
========================================================= */
.section-corporate {
  background: radial-gradient(circle at 95% 5%, rgba(14, 165, 233, 0.25) 0%, transparent 55%),
              radial-gradient(circle at 5% 95%, rgba(245, 158, 11, 0.16) 0%, transparent 45%),
              linear-gradient(145deg, #070e1c 0%, #0c1527 50%, #020617 100%);
  color: var(--color-text-white);
  padding: 4.5rem 2.5rem;
  border-radius: var(--radius-xl);
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(14, 165, 233, 0.16);
}

.corporate-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.corporate-info {
  min-width: 0;
}

.corp-badge {
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.25);
}

.corporate-info h2 {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.corporate-info p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.corp-features-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.corp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.925rem;
  min-width: 0;
}

.corp-feature-item i {
  color: #00d2ff;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.5));
}

.corp-feature-item span {
  word-break: break-word;
}

.corp-action-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.corp-action-btns .btn {
  white-space: normal;
}

/* Branding Calculator Form */
.corporate-calculator {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-width: 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(14, 165, 233, 0.15);
}

.calc-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
  min-width: 0;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-glow);
  background: rgba(15, 23, 42, 0.85);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* =========================================================
   Partners & Clients Section (Interactive Showcase)
========================================================= */
.section-partners {
  padding: 4.5rem 0;
  text-align: center;
}

.partners-title-wrap {
  margin-bottom: 2.25rem;
}

.partners-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.partners-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.partner-card-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.partner-card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-safety));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.partner-card-btn:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
}

.partner-card-btn:hover::before {
  opacity: 1;
}

.p-brand-logo-pill {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-fast);
}

.partner-card-btn:hover .p-brand-logo-pill {
  transform: scale(1.08);
}

.p-brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.partner-card-btn:hover .p-brand-name {
  color: var(--color-brand);
}

.p-brand-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-brand);
  background: var(--color-brand-light);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.p-brand-status {
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.p-brand-hint {
  font-size: 0.73rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  margin-top: 0.15rem;
}

.partner-card-btn:hover .p-brand-hint {
  color: var(--color-brand);
}

.partner-switch-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.5rem 0 0.85rem;
  margin-bottom: 0.75rem;
  scrollbar-width: thin;
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.partner-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.partner-chip.active {
  background: var(--color-brand);
  color: #ffffff;
  border-color: var(--color-brand);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* =========================================================
   Partner Showcase & Certificates Modal
========================================================= */
.partner-modal-card {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  max-width: 950px;
  width: 94%;
  padding: 2rem;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.partner-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.partner-modal-logo-badge {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--color-safety);
  letter-spacing: 0.5px;
}

.partner-modal-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.partner-tab-btn {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.partner-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.partner-tab-btn.active {
  background: var(--color-brand);
  color: #ffffff;
}

.partner-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

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

.partner-stat-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.partner-stat-card .p-stat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.partner-stat-card .p-stat-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
}

/* Gallery Section inside modal */
.partner-gallery-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .partner-gallery-layout {
    grid-template-columns: 1fr;
  }
}

.partner-gallery-main {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #020617;
}

.partner-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.partner-gallery-main:hover img {
  transform: scale(1.03);
}

.partner-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.9) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

.partner-thumbs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.partner-thumbs-list::-webkit-scrollbar {
  width: 5px;
}

.partner-thumbs-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.partner-thumb-item {
  position: relative;
  height: 125px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: #020617;
}

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

.partner-thumb-item:hover, .partner-thumb-item.active {
  border-color: var(--color-brand);
  transform: scale(1.02);
}

.partner-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.35rem 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  font-size: 0.72rem;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Certificate Cards */
.partner-certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .partner-certs-grid {
    grid-template-columns: 1fr;
  }
}

.partner-cert-box {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.partner-cert-box:hover {
  border-color: var(--color-safety);
  background: rgba(30, 41, 59, 1);
  transform: translateY(-2px);
}

.partner-cert-seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid var(--color-safety);
  color: var(--color-safety);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.partner-cert-info h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.partner-cert-info p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.partner-cert-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Quick Partner Switch Bar */
.partner-switch-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.partner-chip {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.partner-chip:hover, .partner-chip.active {
  background: var(--color-brand);
  color: #ffffff;
}

/* =========================================================
   Size Guide Modal / Section
========================================================= */
.size-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.custom-table th {
  background: var(--color-surface-subtle);
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border);
}

.custom-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.custom-table tr:hover td {
  background: var(--color-brand-light);
}

/* =========================================================
   Footer
========================================================= */
.footer {
  background: var(--color-primary-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Compact Corporate Banner inside Footer */
.footer-corporate-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.footer-corporate-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  bottom: 0;
  background: linear-gradient(180deg, var(--color-safety), var(--color-brand));
}

.footer-corporate-banner .banner-content {
  flex: 1;
}

.footer-corporate-banner .corp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--color-safety);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 0.65rem;
}

.footer-corporate-banner h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.footer-corporate-banner p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
  max-width: 600px;
}

.footer-corporate-banner .banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-corporate-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .footer-corporate-banner .banner-actions {
    width: 100%;
  }

  .footer-corporate-banner .banner-actions .btn {
    flex: 1;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.footer-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-social-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.footer-social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.footer-social-btn.telegram:hover {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.footer-social-btn.phone:hover {
  background: var(--color-safety);
  color: #ffffff;
  border-color: var(--color-safety);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

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

.footer-contact li {
  margin-bottom: 0.65rem;
}

.footer-phone-link-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  color: #ffffff;
}

.footer-phone-link-wrap:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--color-safety);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.footer-phone-link-wrap.secondary {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.footer-phone-link-wrap.secondary:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--color-safety);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-safety);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon.secondary {
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-safety);
}

.footer-phone-main {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.footer-phone-sub {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.footer-info-link-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.footer-info-link-wrap:hover {
  color: var(--color-safety);
}

/* =========================================================
   Aloqa Unified Radiant Golden Glow Highlight (Synchronous)
========================================================= */
@keyframes phoneFocusGlow {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    border-color: rgba(245, 158, 11, 0.25);
  }
  20% {
    transform: translateY(-4px);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.6), 0 10px 30px rgba(245, 158, 11, 0.45);
    border-color: #fbbf24;
    background: rgba(245, 158, 11, 0.22);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.4), 0 8px 22px rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.16);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.08);
  }
}

.footer-phone-link-wrap.phone-beacon-active,
.footer-phone-link-wrap.secondary.phone-beacon-active {
  animation: phoneFocusGlow 2.2s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* =========================================================
   Modals & Slide-over Drawer
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

#category-showcase-modal {
  z-index: 1040;
}

#product-detail-modal {
  z-index: 1050;
}

#checkout-modal,
#direct-order-modal {
  z-index: 1060;
}

.modal-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  position: relative;
}

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-surface-subtle);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

/* Product Detail Modal */
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  padding: 2.25rem;
}

.modal-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.modal-details h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.modal-specs-list {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.modal-spec-item {
  font-size: 0.825rem;
}

.modal-spec-item strong {
  color: var(--color-primary);
  display: block;
}

.modal-spec-item span {
  color: var(--color-text-muted);
}

.size-selector {
  margin: 1.25rem 0;
}

.size-selector label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.size-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-btn {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--color-surface);
  transition: all var(--transition-fast);
}

.size-btn:hover, .size-btn.selected {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: #ffffff;
}

.qty-counter {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-subtle);
  font-weight: 700;
  color: var(--color-primary);
}

.qty-input {
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* =========================================================
   Product Modal Rating & Reviews System
========================================================= */
.modal-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-rating-pill:hover {
  background: #fde68a;
  transform: translateY(-1px);
}

.modal-nav-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.25rem;
  margin-top: 0.75rem;
}

.modal-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-tab-btn:hover {
  color: var(--color-brand);
}

.modal-tab-btn.active {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand);
}

/* Reviews Summary Card */
.reviews-summary-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.reviews-big-score {
  text-align: center;
  min-width: 110px;
}

.reviews-big-score .score-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.reviews-big-score .stars-row {
  display: flex;
  gap: 0.15rem;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.reviews-rating-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.rating-bar-row .bar-track {
  flex: 1;
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.rating-bar-row .bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: var(--radius-full);
}

/* Add Review Box */
.add-review-box {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.interactive-star-selector {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.25rem 0.6rem;
}

.star-rate-btn {
  background: none;
  border: none;
  padding: 0.15rem;
  cursor: pointer;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.star-rate-btn.active, .star-rate-btn:hover {
  color: #f59e0b;
  fill: #f59e0b;
}

.star-rate-btn.active i {
  fill: #f59e0b;
}

/* Single Review Card */
.single-review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-safety) 0%, var(--color-brand) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.review-date {
  font-size: 0.725rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #166534;
  background: #dcfce7;
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.review-stars {
  display: flex;
  gap: 0.1rem;
}

.review-text {
  font-size: 0.85rem;
  color: var(--color-text-main);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.review-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px dashed var(--color-border);
  padding-top: 0.5rem;
  margin-top: 0.35rem;
}

.review-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: #f8fafc;
  color: var(--color-text-muted);
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.review-like-btn:hover {
  background: #eff6ff;
  color: var(--color-brand);
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.review-like-btn.liked {
  background: #dbeafe;
  color: var(--color-brand);
  border-color: var(--color-brand);
  font-weight: 700;
}

.review-like-btn.liked i {
  fill: var(--color-brand);
}

/* =========================================================
   Cart Slide-Over Drawer
========================================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--color-surface);
  z-index: 160;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
}

.cart-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

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

.drawer-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

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

.cart-item-img {
  width: 75px;
  height: 75px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}

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

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

.cart-item-title {
  font-size: 0.925rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-brand);
}

.cart-item-remove {
  color: var(--color-text-light);
  transition: color var(--transition-fast);
  padding: 0.25rem;
}

.cart-item-remove:hover {
  color: var(--color-danger);
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-subtle);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.drawer-total span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.drawer-total h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* =========================================================
   ADMIN PANEL STYLES
========================================================= */
.admin-view {
  display: none;
  min-height: 100vh;
  background: #0b1329;
  color: #f8fafc;
}

.admin-view.active {
  display: block;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Admin Sidebar */
.admin-sidebar {
  background: #070d1e;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(37, 99, 235, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.admin-nav-item i {
  font-size: 1.1rem;
}

.exit-admin-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  font-weight: 700;
  border: 1px solid rgba(239, 68, 68, 0.3);
  transition: all var(--transition-fast);
}

.exit-admin-btn:hover {
  background: var(--color-danger);
  color: #ffffff;
}

/* Admin Main Content */
.admin-main {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  max-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-title h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-title p {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Admin Stats Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: #111e38;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.admin-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-brand);
}

.admin-stat-card.gold::after {
  background: var(--color-safety);
}

.admin-stat-card.green::after {
  background: var(--color-success);
}

.admin-stat-card.purple::after {
  background: #a855f7;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.stat-header span {
  font-size: 0.825rem;
  color: #94a3b8;
  font-weight: 600;
}

.stat-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
}

.admin-stat-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-sub {
  font-size: 0.78rem;
  color: #64748b;
}

/* Charts Section */
.admin-charts-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.chart-card {
  background: #111e38;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.chart-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Admin Table Containers */
.admin-section-box {
  background: #111e38;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.admin-section-box .box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-search-input {
  padding: 0.55rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.85rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.admin-table th {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.table-product-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.table-prod-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #0f172a;
}

.status-badge {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge.new {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.status-badge.accepted {
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-safety);
}

.status-badge.delivering {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.status-badge.completed {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* Admin Login Modal */
.admin-login-card {
  background: #0f172a;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.15);
  color: #ffffff;
  max-width: 440px;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
}

.admin-lock-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 2px solid var(--color-safety);
  color: var(--color-safety);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.admin-login-error {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--color-danger);
  color: #fca5a5;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: left;
}

.password-input-wrap {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn:hover {
  color: #ffffff;
}

.shake-animation {
  animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Delivery Type Selector */
.delivery-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.delivery-option-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-surface);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.delivery-option-card:hover {
  border-color: var(--color-brand);
  background: var(--color-brand-light);
}

.delivery-option-card.selected {
  border-color: var(--color-brand);
  background: #eff6ff;
  box-shadow: 0 0 0 2px var(--color-brand-glow);
}

.delivery-option-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.delivery-option-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.pickup-info-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: #166534;
}

.pickup-info-box p {
  margin-bottom: 0.35rem;
}

.pickup-info-box p:last-child {
  margin-bottom: 0;
}

.pickup-badge-tag {
  display: inline-block;
  background: #166534;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.5rem;
}

.delivery-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.delivery-type-badge.delivery {
  background: rgba(37, 99, 235, 0.15);
  color: #38bdf8;
}

.delivery-type-badge.pickup {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-brand);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success {
  border-left-color: var(--color-success);
}

.toast.warning {
  border-left-color: var(--color-warning);
}

.toast.danger {
  border-left-color: var(--color-danger);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* =========================================================
   Responsive Breakpoints
========================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .corporate-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-layout {
    grid-template-columns: 1fr;
  }
  
  .admin-sidebar {
    display: none;
  }
  
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .nav-menu {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .header-search {
    max-width: 170px;
  }
  .header-inner {
    gap: 0.75rem;
  }
  .account-btn-label {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-search-wrapper {
    display: block;
  }

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

  .toast-container {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .top-bar {
    display: none;
  }
  
  .nav-menu {
    display: none;
  }
  
  .header-search {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }

  .account-btn-label {
    display: none;
  }
  
  /* Hero Section */
  .hero {
    padding: 2.5rem 0 3rem 0;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.8rem 0.65rem;
    font-size: 0.875rem;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-item {
    text-align: center;
  }

  .stat-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-safety);
    margin-bottom: 0.2rem;
  }

  .stat-item p {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.25;
  }

  .showcase-card {
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .showcase-img-wrap {
    height: auto;
    aspect-ratio: 4 / 3.6;
    max-height: 320px;
    border-radius: var(--radius-md);
  }

  .floating-badge {
    top: 10px;
    right: 10px;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
  }

  .floating-pill,
  .showcase-info-bar {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 0.65rem;
    padding: 0.65rem 0.85rem;
  }

  /* Features Grid - 2x2 */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
  }

  .feature-box {
    padding: 1.15rem 1rem;
    gap: 0.75rem;
  }

  /* Categories Bar */
  .section-categories {
    padding: 1.5rem 0 0.75rem 0;
  }

  .category-arrow-btn {
    display: none !important;
  }

  .category-scroll {
    gap: 0.5rem;
    padding: 0.35rem 0.25rem 0.75rem 0.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .category-scroll::-webkit-scrollbar {
    display: none;
  }

  .cat-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.825rem;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  /* Catalog */
  .section-catalog {
    padding: 2rem 0 3.5rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
    gap: 1rem;
  }

  .section-title-wrap h2 {
    font-size: 1.6rem;
  }

  .catalog-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    width: 100%;
  }

  .filter-select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.825rem;
  }

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

  .card-img-wrap {
    aspect-ratio: 3 / 4;
    height: auto;
  }

  .card-content {
    padding: 0.9rem;
  }

  .card-title {
    font-size: 0.9rem;
    height: 2.4rem;
    margin-bottom: 0.35rem;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  /* Corporate Section Mobile */
  .section-corporate {
    padding: 2.25rem 1.25rem;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
  }

  .corporate-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }

  .corporate-info h2 {
    font-size: 1.65rem;
    line-height: 1.3;
  }

  .corporate-info p {
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
  }

  .corp-features-list {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
  }

  .corp-action-btns {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .corp-action-btns .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.925rem;
  }

  .corporate-calculator {
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .partners-grid {
    gap: 1rem;
  }

  .partner-logo {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .header-actions .account-header-btn,
  .header-actions #wishlist-btn {
    display: none;
  }

  .hero {
    padding: 2rem 0 2.25rem 0;
  }

  .hero-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .hero-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    justify-content: center;
    border-radius: var(--radius-md);
  }

  .hero-actions .btn i {
    width: 16px;
    height: 16px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding-top: 1.15rem;
    margin-bottom: 1.25rem;
  }

  .stat-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.15rem;
  }

  .stat-item p {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .showcase-card {
    padding: 0.75rem;
  }

  .showcase-img-wrap {
    height: auto;
    aspect-ratio: 4 / 3.6;
    max-height: 260px;
    border-radius: var(--radius-md);
  }

  .floating-badge {
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
  }

  .floating-pill,
  .showcase-info-bar {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 0.5rem;
    padding: 0.5rem 0.65rem;
    gap: 0.5rem;
  }

  .pill-info h5 {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pill-info span {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .floating-pill .btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }

  .category-slider-wrap {
    gap: 0;
  }

  .catalog-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    width: 100%;
  }

  .filter-select {
    width: 100%;
    padding: 0.5rem 0.45rem;
    font-size: 0.75rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin: 1.25rem 0;
  }

  .feature-box {
    padding: 0.85rem 0.65rem;
    flex-direction: column;
    gap: 0.4rem;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
  }

  .feature-icon i {
    width: 18px;
    height: 18px;
  }

  .feature-info h4 {
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
  }

  .feature-info p {
    font-size: 0.68rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

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

  .card-img-wrap {
    aspect-ratio: 3 / 4;
    height: auto;
    min-height: 190px;
  }

  .card-content {
    padding: 0.65rem 0.55rem;
  }

  .card-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    top: 0.4rem;
    left: 0.4rem;
  }

  .card-season-badge {
    font-size: 0.6rem;
    padding: 0.18rem 0.35rem;
    top: 0.4rem;
    right: 0.4rem;
  }

  .card-category {
    font-size: 0.65rem;
    margin-bottom: 0.15rem;
  }

  .card-title {
    font-size: 0.8rem;
    height: 2.1rem;
    margin-bottom: 0.25rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-meta {
    font-size: 0.68rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-reviews-tag {
    display: none !important;
  }

  .section-catalog {
    padding-bottom: 85px;
  }

  .card-fabric {
    display: none;
  }

  .current-price {
    font-size: 0.85rem;
    font-weight: 800;
  }

  .old-price {
    font-size: 0.68rem;
  }

  .add-cart-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .quick-view-btn {
    display: none;
  }

  /* Modals as bottom-sheet on mobile */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-card {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 92vh;
    border-radius: 22px 22px 0 0 !important;
    padding: 1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) 1rem !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-modal-grid {
    padding: 0;
    gap: 1.25rem;
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
  }

  .section-corporate {
    padding: 1.75rem 0.85rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
  }

  .corporate-info h2 {
    font-size: 1.35rem;
  }

  .corp-badge {
    font-size: 0.75rem;
  }

  .corporate-calculator {
    padding: 1rem 0.75rem;
  }

  .calc-title {
    font-size: 1.1rem;
  }

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

  .partner-card-btn {
    padding: 0.85rem 0.6rem;
  }

  .p-brand-name {
    font-size: 0.92rem;
  }

  .p-brand-badge {
    font-size: 0.68rem;
  }

  .p-brand-hint {
    font-size: 0.62rem;
  }
}

/* =========================================================
   Customer Account, Order Tracking & Liked Items System
========================================================= */

.account-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem !important;
  width: auto !important;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.account-header-btn:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-brand-light);
}

.account-btn-label {
  font-size: 0.825rem;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Account Tabs */
.account-nav-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-subtle);
  padding: 0 1.5rem;
  gap: 0.5rem;
  overflow-x: auto;
}

.account-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.account-tab-btn:hover {
  color: var(--color-brand);
}

.account-tab-btn.active {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand);
  background: var(--color-surface);
}

.account-tab-badge {
  background: var(--color-brand-light);
  color: var(--color-brand);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.account-tab-btn.active .account-tab-badge {
  background: var(--color-brand);
  color: #ffffff;
}

.account-content-body {
  padding: 2rem 2.25rem;
}

/* Client Order Card & Tracking Progress */
.client-order-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.client-order-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.order-id-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.order-id-title span {
  color: var(--color-brand);
}

.order-date-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Order Tracker Progress Bar */
.order-tracker-container {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  margin-bottom: 1.25rem;
}

.order-tracker-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
}

.tracker-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  transition: all var(--transition-normal);
  border: 2px solid #cbd5e1;
}

.tracker-step.completed .tracker-circle {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #ffffff;
}

.tracker-step.current .tracker-circle {
  background: var(--color-brand);
  border-color: #93c5fd;
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--color-brand-glow);
  animation: pulseProgress 2s infinite;
}

@keyframes pulseProgress {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.tracker-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}

.tracker-step.completed .tracker-title {
  color: var(--color-success);
}

.tracker-step.current .tracker-title {
  color: var(--color-brand);
  font-weight: 800;
}

.tracker-line {
  position: absolute;
  top: 18px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.tracker-line-fill {
  height: 100%;
  background: var(--color-brand);
  transition: width var(--transition-smooth);
}

/* Order ETA Highlight Box */
.order-eta-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.eta-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eta-left i {
  color: var(--color-brand);
  font-size: 1.25rem;
}

.eta-time {
  font-weight: 800;
  color: #1e3a8a;
  font-size: 0.95rem;
}

.eta-sub {
  font-size: 0.78rem;
  color: #3b82f6;
}

.eta-tag {
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Order Items Preview inside card */
.order-preview-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.order-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--color-border);
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Liked Items Grid in Account */
.account-liked-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.account-liked-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.account-liked-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.liked-card-img {
  height: 160px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

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

.liked-card-body {
  padding: 1rem;
}

.liked-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.liked-card-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

/* =========================================================
   Mobile Search Bar
========================================================= */
.mobile-search-wrapper {
  display: none;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.mobile-search-icon {
  position: absolute;
  left: 0.85rem;
  color: #94a3b8;
  pointer-events: none;
  z-index: 2;
}

.mobile-search-inner input {
  width: 100%;
  padding: 0.65rem 2.4rem 0.65rem 2.5rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  outline: none;
}

.mobile-search-inner input::placeholder {
  color: #94a3b8;
  font-size: 0.825rem;
}

.mobile-search-inner input:focus {
  border-color: #00d2ff;
  background: rgba(30, 41, 59, 1);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.25);
}

.mobile-search-clear-btn {
  position: absolute;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.mobile-search-clear-btn:hover {
  background: rgba(239, 68, 68, 0.8);
}

/* =========================================================
   Mobile App Bottom Navigation Bar
========================================================= */
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(60px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(10, 15, 29, 0.97);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.6), 0 -1px 15px rgba(14, 165, 233, 0.1);
  align-items: center;
  justify-content: space-around;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

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

.mobile-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94a3b8;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  border-radius: 8px;
  transition: all 0.18s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav-item span {
  font-size: 0.675rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1;
}

.bnav-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.bnav-icon-wrap i, .bnav-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: all 0.18s ease;
}

.bnav-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--color-brand-gradient);
  color: #031427;
  font-size: 0.62rem;
  font-weight: 900;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid #0a0f1d;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item.active {
  color: #00d2ff;
}

.mobile-bottom-nav-item.active .bnav-icon-wrap i,
.mobile-bottom-nav-item.active .bnav-icon-wrap svg {
  stroke: #00d2ff;
  filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.7));
  transform: scale(1.15);
}

.mobile-bottom-nav-item:active {
  transform: scale(0.92);
}

/* =========================================================
   Mobile Navigation Drawer
========================================================= */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-surface);
  z-index: 160;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-links {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  background: var(--color-brand-light);
  color: var(--color-brand);
}

.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-subtle);
}

/* =========================================================
   Dedicated Customer Profile Page Styles
========================================================= */
.profile-page-view {
  min-height: 100vh;
  background: #f8fafc;
}

.profile-header-center {
  display: flex;
  align-items: center;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumb-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-brand);
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.breadcrumb-home-link:hover {
  background: var(--color-brand-light);
  color: var(--color-brand-dark);
}

.breadcrumb-home-link i {
  color: var(--color-safety);
}

.breadcrumb-sep {
  color: var(--color-text-muted);
  opacity: 0.5;
  font-weight: 600;
}

.breadcrumb-trail .current {
  color: var(--color-primary);
  font-weight: 700;
}

/* Header Home Return Button */
.btn-home-return-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  transition: all var(--transition-fast);
}

.btn-home-return-header:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  border-color: var(--color-safety);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
  color: #ffffff;
}

.btn-home-return-header i {
  color: var(--color-safety);
  transition: transform var(--transition-fast);
}

.btn-home-return-header:hover i {
  transform: scale(1.15);
}

.profile-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-page-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.profile-page-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Profile Page Sidebar */
.profile-page-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.profile-user-card {
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.profile-user-card:hover {
  background: var(--color-surface-subtle);
  transform: translateY(-2px);
}

.profile-avatar-large {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-safety) 0%, var(--color-brand) 100%);
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
}

.profile-user-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.profile-user-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.profile-membership-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Profile Nav Menu */
.profile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.profile-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.profile-nav-btn .nav-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-nav-btn:hover {
  background: var(--color-brand-light);
  color: var(--color-brand);
}

/* Dedicated Home Return Item in Profile Sidebar */
.profile-home-nav-btn {
  background: rgba(37, 99, 235, 0.07);
  border: 1px dashed rgba(37, 99, 235, 0.35);
  color: var(--color-brand);
  margin-bottom: 0.35rem;
}

.profile-home-nav-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--color-brand);
  color: #1e3a8a;
  transform: translateX(3px);
}

.nav-icon-home-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.profile-home-nav-btn:hover .nav-icon-home-box {
  background: var(--color-brand);
  color: #ffffff;
}

.profile-nav-btn.active {
  background: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--color-brand-glow);
}

.profile-nav-btn.logout {
  margin-top: 0.75rem;
  color: #ef4444;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  padding-top: 0.9rem;
}

.profile-nav-btn.logout:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.profile-pill-badge {
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.profile-nav-btn.active .profile-pill-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Profile Main Content Area */
.profile-page-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
  min-height: 520px;
}

.profile-section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.profile-section-title-wrap h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.profile-section-title-wrap p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.profile-form-card {
  max-width: 520px;
}

.profile-liked-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Profile Empty State */
.profile-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--color-text-muted);
}

.profile-empty-state .empty-state-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  color: var(--color-border);
}

.profile-empty-state h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.profile-empty-state p {
  font-size: 0.85rem;
  max-width: 400px;
  margin: 0 auto 1.25rem auto;
}

/* Profile Auth Prompt on dedicated page */
.profile-auth-prompt-card {
  max-width: 480px;
  margin: 3rem auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
  .profile-page-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .profile-page-sidebar {
    position: static;
  }
  .profile-liked-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .profile-header-center {
    display: none;
  }

  .profile-page-container {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .profile-page-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Compact Profile Sidebar Card on Mobile */
  .profile-page-sidebar {
    padding: 1rem 0.9rem;
    border-radius: var(--radius-lg);
    position: static;
  }

  .profile-user-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
  }

  .profile-avatar-large {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.25rem;
    margin: 0;
    border-width: 2px;
  }

  .profile-user-meta {
    flex: 1;
    min-width: 0;
  }

  .profile-user-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .profile-user-card p {
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .profile-membership-badge {
    padding: 0.15rem 0.5rem;
    font-size: 0.68rem;
    gap: 0.25rem;
  }

  /* Compact Grid Tab Buttons for Mobile */
  .profile-nav-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .profile-home-nav-btn {
    grid-column: 1 / -1;
    margin-bottom: 0.2rem;
  }

  .profile-nav-btn {
    padding: 0.55rem 0.65rem;
    font-size: 0.8rem;
    border-radius: var(--radius-md);
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
  }

  .profile-nav-btn .nav-item-left {
    gap: 0.4rem;
  }

  .profile-nav-btn i {
    width: 15px;
    height: 15px;
  }

  .profile-pill-badge {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
  }

  .profile-nav-btn.active {
    background: var(--color-brand);
    color: #ffffff;
    border-color: var(--color-brand);
  }

  .profile-nav-btn.logout {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
    border-top: 1px solid #fee2e2;
    padding: 0.55rem 0.65rem;
    background: #fff1f2;
  }

  /* Compact Content Area */
  .profile-page-content {
    padding: 1.15rem 1rem;
    border-radius: var(--radius-lg);
    min-height: auto;
  }

  .profile-section-title-wrap {
    padding-bottom: 0.65rem;
    margin-bottom: 0.85rem;
    gap: 0.5rem;
  }

  .profile-section-title-wrap h2 {
    font-size: 1.15rem;
  }

  .profile-section-title-wrap p {
    font-size: 0.78rem;
  }

  .profile-liked-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (max-width: 480px) {
  .profile-page-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.65rem;
  }

  .profile-page-sidebar {
    padding: 0.8rem 0.75rem;
  }

  .profile-user-card {
    gap: 0.65rem;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
  }

  .profile-avatar-large {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 1.1rem;
  }

  .profile-user-card h3 {
    font-size: 0.95rem;
  }

  .profile-user-card p {
    font-size: 0.72rem;
  }

  .profile-nav-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

  .profile-nav-btn {
    padding: 0.5rem 0.5rem;
    font-size: 0.74rem;
  }

  .profile-nav-btn > div {
    gap: 0.3rem;
  }

  .profile-nav-btn i {
    width: 14px;
    height: 14px;
  }

  .profile-page-content {
    padding: 0.9rem 0.75rem;
  }

  .profile-section-title-wrap h2 {
    font-size: 1.05rem;
  }
}

/* =========================================================
   Admin High-Quality Image Upload Dropzone
========================================================= */
.admin-image-dropzone {
  background: rgba(0, 0, 0, 0.35);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.admin-image-dropzone:hover,
.admin-image-dropzone.drag-active {
  border-color: var(--color-safety);
  background: rgba(249, 115, 22, 0.1);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.dropzone-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  transition: all var(--transition-fast);
}

.admin-image-dropzone:hover .dropzone-icon {
  transform: scale(1.1);
  background: rgba(249, 115, 22, 0.25);
}

.dropzone-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-preview-image {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.dropzone-preview-overlay {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  right: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================================
   Branding & Logo Studio Modal System
========================================================= */
.branding-modal-card {
  max-width: 860px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.15);
}

.branding-studio-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.branding-studio-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.branding-studio-header p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0;
}

.branding-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .branding-grid-layout {
    grid-template-columns: 1fr;
  }
  .branding-modal-card {
    padding: 1.25rem;
  }
}

.branding-step-section {
  margin-bottom: 1.5rem;
}

.branding-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.branding-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--color-brand);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
}

/* Selectable Cards */
.branding-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
}

.branding-option-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.branding-option-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(30, 41, 59, 0.95);
  transform: translateY(-2px);
}

.branding-option-card.selected {
  border-color: var(--color-brand);
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.branding-option-card .opt-icon {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  display: block;
}

.branding-option-card .opt-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.branding-option-card .opt-subtitle {
  font-size: 0.68rem;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

/* Logo Upload Area */
.branding-upload-dropzone {
  border: 2px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.5);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.branding-upload-dropzone:hover {
  border-color: var(--color-brand);
  background: rgba(245, 158, 11, 0.06);
}

.branding-upload-dropzone input[type="file"] {
  display: none;
}

.branding-logo-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.branding-logo-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #090e17;
  padding: 2px;
}

/* Quantity Chips */
.qty-chips-wrap {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.qty-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qty-chip:hover, .qty-chip.active {
  background: var(--color-brand);
  color: #000000;
  border-color: var(--color-brand);
}

/* Live Calc Summary Card */
.branding-summary-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: fit-content;
  position: sticky;
  top: 0;
}

.branding-summary-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.branding-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.branding-summary-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.branding-summary-list li strong {
  color: #ffffff;
}

.branding-price-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.branding-price-box .price-label {
  font-size: 0.75rem;
  color: #fcd34d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.branding-price-box .price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.2rem 0;
}

.branding-price-box .price-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.branding-price-box .price-sub strong {
  color: #38bdf8;
  font-weight: 700;
}

/* =========================================================
   Category Quick Showcase Modal (Variants, Sizes, Prices)
========================================================= */
.category-modal-card {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  max-width: 980px;
  width: 95%;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.category-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-modal-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.category-variants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .category-variants-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.variant-card-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.variant-card-box:hover {
  border-color: var(--color-brand);
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}

.variant-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #020617;
}

.variant-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.variant-card-box:hover .variant-img-wrap img {
  transform: scale(1.04);
}

.variant-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.variant-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.variant-pricing-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.variant-price-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-safety);
}

.variant-oldprice-val {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.variant-sizes-section {
  margin: 0.75rem 0;
}

.variant-sizes-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: space-between;
}

.variant-sizes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.variant-size-pill {
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.variant-size-pill:hover, .variant-size-pill.selected {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
}

.variant-specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.75rem 0;
}

.variant-spec-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.variant-actions-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.variant-actions-row .btn {
  min-height: 44px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.variant-actions-row .btn-safety {
  flex: 1;
}

.variant-actions-row .btn-glass {
  padding: 0 1rem;
}

/* =========================================================
   Telegram Choice / Selector Modal System (Kanal & Bot)
========================================================= */
.telegram-choice-card {
  width: 100%;
  max-width: 580px;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 30px rgba(14, 165, 233, 0.2);
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
}

.tg-choice-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-choice-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.tg-choice-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tg-option-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.tg-option-box:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.25);
}

.tg-option-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tg-option-icon-box.channel-icon {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.tg-option-icon-box.bot-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.tg-option-icon-box.manager-icon {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.tg-option-info {
  flex: 1;
  min-width: 0;
}

.tg-option-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 0.35rem;
}

.tg-option-badge.bot-badge {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
}

.tg-option-badge.manager-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.tg-option-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tg-option-title span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #38bdf8;
}

.tg-option-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #94a3b8;
  margin: 0;
}

.tg-option-action {
  flex-shrink: 0;
}

.tg-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tg-option-box:hover .tg-action-btn {
  background: #38bdf8;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}

@media (max-width: 640px) {
  .telegram-choice-card {
    padding: 1.5rem 1.15rem;
    max-width: 95%;
  }
  .tg-option-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }
  .tg-option-action {
    width: 100%;
  }
  .tg-action-btn {
    width: 100%;
  }
}

/* =========================================================
   Contact & Phone Numbers Modal System (Aloqa Markazi)
========================================================= */
.contact-card-modal {
  width: 100%;
  max-width: 550px;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #0f172a;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.2);
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
}

.contact-card-modal .modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.contact-card-modal .modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.contact-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-modal-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.contact-modal-phones {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-phone-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.contact-phone-card:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.2);
}

.contact-phone-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 0.35rem;
}

.contact-phone-badge.corporate {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.contact-phone-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.contact-phone-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.contact-phone-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-phone-action {
  flex: 1;
  min-width: 100px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-phone-action.call-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.btn-phone-action.call-btn:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
}

.btn-phone-action.tg-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.btn-phone-action.tg-btn:hover {
  background: #38bdf8;
  color: #0f172a;
}

.btn-phone-action.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-phone-action.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-modal-meta {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .contact-card-modal {
    padding: 1.5rem 1.15rem;
    max-width: 95%;
  }
  .contact-phone-actions {
    flex-direction: column;
  }
  .contact-nav-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Map & Navigation Buttons System */
.nav-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 41, 59, 0.8);
  color: #f1f5f9;
  text-align: center;
}

.nav-map-btn:hover {
  transform: translateY(-2px);
}

.nav-map-btn.yandex {
  border-color: rgba(252, 63, 29, 0.4);
  background: linear-gradient(135deg, rgba(252, 63, 29, 0.12), rgba(255, 204, 0, 0.08));
}
.nav-map-btn.yandex:hover {
  background: linear-gradient(135deg, rgba(252, 63, 29, 0.25), rgba(255, 204, 0, 0.15));
  box-shadow: 0 4px 12px rgba(252, 63, 29, 0.25);
}

.nav-map-btn.google {
  border-color: rgba(66, 133, 244, 0.4);
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.12), rgba(52, 168, 83, 0.08));
}
.nav-map-btn.google:hover {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.25), rgba(52, 168, 83, 0.15));
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.25);
}

.nav-map-btn.twogis {
  border-color: rgba(46, 204, 113, 0.4);
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(39, 174, 96, 0.08));
}
.nav-map-btn.twogis:hover {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.25), rgba(39, 174, 96, 0.15));
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.25);
}

/* =========================================================
   STANDALONE PRODUCT PAGE STYLES (product.html)
   ========================================================= */

.product-page-wrapper {
  padding: 1.5rem 0 4rem 0;
  background: var(--color-background);
  min-height: 80vh;
}

.product-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.product-breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.product-breadcrumbs a:hover {
  color: var(--color-brand);
}

.product-breadcrumbs span.separator {
  opacity: 0.4;
  font-size: 0.75rem;
}

.product-breadcrumbs span.current {
  color: var(--color-text-main);
  font-weight: 600;
}

.product-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .product-main-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Product Gallery */
.product-gallery-box {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  position: sticky;
  top: 90px;
}

.product-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .product-gallery-main {
    aspect-ratio: 3 / 4;
    height: auto;
    max-height: 420px;
  }
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.product-gallery-main:hover img {
  transform: scale(1.04);
}

.product-gallery-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.product-gallery-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  gap: 0.75rem;
}

/* Product Info */
.product-info-box {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

@media (max-width: 600px) {
  .product-info-box {
    padding: 1.25rem;
  }
}

.product-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-title-h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .product-title-h1 {
    font-size: 1.45rem;
  }
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.product-price-card {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

.product-price-current {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.product-price-old {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-left: 0.75rem;
}

.product-size-section {
  margin-bottom: 1.5rem;
}

.product-size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.product-size-chip {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-size-chip:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.product-size-chip.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

.product-action-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.product-qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  height: 48px;
}

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

.product-qty-btn:hover {
  background: var(--color-surface-subtle);
}

.product-qty-val {
  width: 45px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-primary);
}

.btn-add-cart-large {
  flex: 1;
  min-width: 180px;
  height: 48px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.product-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 600px) {
  .product-trust-badges {
    grid-template-columns: 1fr;
  }
}

.product-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.product-trust-item i {
  color: var(--color-safety);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Tabs & Content Sections */
.product-tabs-container {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 600px) {
  .product-tabs-container {
    padding: 1.25rem;
  }
}

.product-tabs-nav {
  display: flex;
  gap: 0.75rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.product-tab-link {
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-tab-link.active {
  color: var(--color-brand);
}

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

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

.product-specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.product-specs-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  width: 35%;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  background: var(--color-surface-subtle);
}

.product-specs-table td {
  padding: 0.85rem 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.related-products-box {
  margin-top: 3.5rem;
}

.related-products-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-thumb-item {
  transition: all 0.2s ease;
}

.product-thumb-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand) !important;
}

.product-thumb-item.active {
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
}

@media (max-width: 900px) {
  .product-main-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-gallery-box {
    position: static;
  }
}

/* =========================================================
   MARKETPLACE FEATURES (Uzum, WB, Ozon, Alibaba Standards)
   ========================================================= */

/* 1. B2B Wholesale Pricing Tiers (Alibaba Style) */
.wholesale-tiers-box {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s ease;
}

.wholesale-tiers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wholesale-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .wholesale-tiers-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.wholesale-tier-item {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wholesale-tier-item:hover {
  border-color: var(--color-brand);
  transform: translateY(-2px);
}

.wholesale-tier-item.active {
  border-color: var(--color-brand);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.tier-range {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.tier-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.tier-badge-save {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-top: 0.35rem;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.tier-badge-save.best {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.tier-status {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

/* 2. Uzum & Ozon Style Delivery & Return Trust Box */
.uzum-trust-card {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.trust-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-info {
  flex: 1;
}

.trust-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.trust-sub {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
  line-height: 1.35;
}

/* 3. Branding Studio Product Callout Banner */
.branding-product-callout {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.branding-callout-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branding-callout-text {
  flex: 1;
  min-width: 200px;
}

.branding-callout-text h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 0.25rem 0;
}

.branding-callout-text p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* 4. Sticky Mobile Purchase Bar (Uzum & Wildberries Mobile Standard) */
.sticky-mobile-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  animation: slideUpBuyBar 0.3s ease-out;
}

@keyframes slideUpBuyBar {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  body.has-sticky-bar {
    padding-bottom: 70px;
  }
  .sticky-mobile-buy-bar.show {
    display: flex;
  }
  /* On product page, hide default mobile bottom nav when sticky buy bar is active */
  body.product-page-body .mobile-bottom-nav {
    display: none !important;
  }
}

.sticky-bar-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.sticky-bar-info img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--color-border);
  background: #0f172a;
  flex-shrink: 0;
}

.sticky-bar-details {
  min-width: 0;
}

.sticky-bar-price {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff !important;
  white-space: nowrap;
  line-height: 1.2;
}

.sticky-bar-size {
  font-size: 0.72rem;
  color: #38bdf8 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sticky-bar-actions .btn {
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .sticky-mobile-buy-bar {
    padding: 0.5rem 0.65rem;
    gap: 0.45rem;
  }
  .sticky-bar-info img {
    width: 34px;
    height: 34px;
  }
  .sticky-bar-price {
    font-size: 0.86rem;
  }
  .sticky-bar-size {
    font-size: 0.68rem;
  }
  .sticky-bar-actions {
    gap: 0.3rem;
  }
  .sticky-bar-actions .btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }
  .sticky-bar-actions .btn i,
  .sticky-bar-actions .btn svg {
    width: 13px !important;
    height: 13px !important;
  }
}

@media (max-width: 360px) {
  .sticky-bar-info img {
    display: none;
  }
}

/* =========================================================
   Clean Light Form Controls for All Modal Cards
========================================================= */
.modal-card .form-control,
.modal-overlay .form-control {
  background: #f8fafc !important;
  color: var(--color-primary) !important;
  border: 1.5px solid var(--color-border) !important;
}

.modal-card .form-control::placeholder,
.modal-overlay .form-control::placeholder {
  color: #94a3b8 !important;
}

.modal-card .form-control:focus,
.modal-overlay .form-control:focus {
  background: #ffffff !important;
  border-color: var(--color-brand-vibrant) !important;
  box-shadow: 0 0 0 3px var(--color-brand-light) !important;
}

/* =========================================================
   Floating Telegram Quick Action Button
========================================================= */
.floating-telegram-widget {
  position: fixed;
  bottom: 74px; /* Above mobile bottom nav */
  right: 16px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

@media (min-width: 769px) {
  .floating-telegram-widget {
    bottom: 28px;
    right: 28px;
  }
}

@media (max-width: 768px) {
  body.product-page-body .floating-telegram-widget {
    display: none !important;
  }
}

.floating-telegram-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45), 0 0 0 0 rgba(0, 210, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.4);
  position: relative;
  animation: tgPulse 2.4s infinite;
}

.floating-telegram-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.6), 0 0 25px rgba(0, 210, 255, 0.8);
}

.floating-telegram-btn:active {
  transform: scale(0.95);
}

.floating-telegram-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.floating-telegram-tooltip {
  background: rgba(10, 15, 29, 0.95);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.3);
  white-space: nowrap;
  pointer-events: none;
  display: none;
}

@media (min-width: 640px) {
  .floating-telegram-tooltip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
}

@keyframes tgPulse {
  0% {
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45), 0 0 0 0 rgba(0, 210, 255, 0.6);
  }
  70% {
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45), 0 0 0 14px rgba(0, 210, 255, 0);
  }
  100% {
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45), 0 0 0 0 rgba(0, 210, 255, 0);
  }
}

/* Smooth size section highlight when tapped from sticky bar */
.highlight-size-pulse {
  animation: sizeSectionPulse 1.4s ease-out;
}
@keyframes sizeSectionPulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.4); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); transform: scale(1); }
}

/* =========================================================
   CUSTOMER AUTH MODAL & DEDICATED PROFILE PAGE REFINEMENTS
   ========================================================= */

/* Customer Auth Modal */
.customer-auth-card {
  background: #ffffff;
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.customer-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-brand-gradient);
}

.account-header-btn.logged-in {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.account-header-btn.logged-in:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
}

/* Dedicated Profile Page Polish */
.profile-auth-prompt-card {
  max-width: 580px;
  margin: 3rem auto;
  background: #ffffff;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  text-align: center;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  position: relative;
}

.profile-auth-prompt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gold-gradient);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.customer-auth-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem auto;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Profile Layout */
@media (max-width: 992px) {
  .profile-page-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .profile-page-sidebar {
    width: 100% !important;
    position: static !important;
  }

  .profile-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .profile-nav-btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }

  .profile-auth-benefits {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
}

@media (max-width: 640px) {
  .profile-nav-btn {
    flex: 1 1 100%;
  }

  .profile-auth-prompt-card {
    padding: 1.75rem 1.25rem;
    margin: 1.5rem auto;
  }
}

/* Section scroll-margin to prevent sticky header overlap */
#home,
#catalog,
#features,
#reviews,
#contact,
#size-guide,
section[id] {
  scroll-margin-top: 90px;
}

/* Global mobile overflow prevention */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.hero,
.hero-showcase,
.showcase-card {
  overflow: hidden !important;
}

/* Mobile Header, Hero Buttons & Stats Fixes */
@media (max-width: 768px) {
  .header-actions .account-header-btn,
  .header-actions #wishlist-btn {
    display: none !important;
  }

  .header-actions {
    gap: 0.5rem !important;
  }

  .hero-tag {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.75rem !important;
    max-width: 100%;
    white-space: normal !important;
    text-align: center;
    line-height: 1.35;
  }

  .hero-title {
    font-size: clamp(1.45rem, 5.8vw, 1.95rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.5px;
    margin-bottom: 0.85rem;
    overflow-wrap: break-word;
  }

  .hero-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
    padding: 0 0.25rem;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
  }

  .hero-actions .btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
  }

  .header-inner {
    padding: 0.75rem 0.5rem !important;
  }

  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.85rem 0 !important;
  }

  .hero-stats .stat-item {
    padding: 0.35rem 0.1rem !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .hero-stats .stat-item h4 {
    font-size: clamp(0.85rem, 3.4vw, 1.05rem) !important;
    white-space: nowrap !important;
    letter-spacing: -0.5px;
  }

  .hero-stats .stat-item p {
    font-size: 0.64rem !important;
    line-height: 1.2 !important;
    word-break: break-word;
  }
}

/* Header Telegram Quick Action Button */
.header-tg-action-btn {
  background: linear-gradient(135deg, #0088cc, #229ED9);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
  transition: all var(--transition-fast);
}

.header-tg-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.55);
}

.btn-tg-hero {
  background: linear-gradient(135deg, #0088cc, #229ED9) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.35) !important;
  transition: all var(--transition-normal);
}

.btn-tg-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(34, 158, 217, 0.55) !important;
}

@media (max-width: 640px) {
  .header-tg-action-btn {
    padding: 0.45rem;
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 50%;
  }
  .header-tg-action-btn .header-tg-label {
    display: none;
  }
}

/* =========================================================
   MAINTENANCE & SYSTEM UPDATE OVERLAY
========================================================= */
#zd-maintenance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999999;
  background: radial-gradient(circle at 50% 20%, #0f172a 0%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.maintenance-box {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(14, 165, 233, 0.2);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 2.2rem 1.8rem;
  text-align: center;
  color: #ffffff;
  animation: fadeInDown 0.4s ease-out;
}

.maintenance-icon {
  font-size: 3.2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  animation: bounce 2s infinite;
}

.maintenance-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #f59e0b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.maintenance-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #ffffff;
  line-height: 1.3;
}

.maintenance-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.maintenance-contacts {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  margin-bottom: 1.25rem;
}

.maintenance-contact-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.85rem;
}

.maintenance-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.m-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.m-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.m-btn-bot {
  background: #229ED9;
}

.m-btn-manager {
  background: #0284c7;
}

.m-btn-corp {
  background: #0ea5e9;
}

.m-btn-channel {
  background: #0369a1;
}

.m-phone-link {
  color: #f59e0b;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
}

.m-admin-bypass-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.5rem;
}

.m-admin-bypass-btn:hover {
  color: #94a3b8;
}


