/* ==========================================================================
   PORTOBARBER STORE — DISTRIBUIDORA OFICIAL DE BARBERÍA & SALÓN
   High-Tech Modern E-Commerce Design System (Deep Obsidian Slate & Electric Cyan)
   ========================================================================== */

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

/* ==========================================================================
   1. DESIGN TOKENS & PALETTE
   ========================================================================== */
:root {
  /* High-Tech Technical Slate Palette */
  --bg-deep: #080c14;
  --bg-surface: #0e1524;
  --bg-surface-elevated: #151f33;
  --bg-surface-hover: #1c2a44;
  --bg-card: #111a2d;
  --bg-card-light: #ffffff;
  
  /* Electric Cyan / Cyber Ice Accents (Replacing old gold) */
  --cyan: #00d2ff;
  --cyan-bright: #38bdf8;
  --cyan-soft: #7dd3fc;
  --cyan-glow: rgba(0, 210, 255, 0.28);
  --cyan-border: rgba(56, 189, 248, 0.35);

  /* Unified tokens for components */
  --gold: #00d2ff;
  --gold-bright: #38bdf8;
  --gold-soft: #7dd3fc;
  --gold-glow: rgba(0, 210, 255, 0.28);
  --gold-border: rgba(56, 189, 248, 0.35);

  /* Functional Accents */
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.15);
  --ruby: #f43f5e;
  --ruby-soft: rgba(244, 63, 94, 0.15);
  --indigo: #6366f1;
  --indigo-soft: rgba(99, 102, 241, 0.15);
  --whatsapp: #25d366;
  --whatsapp-hover: #20ba59;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #04101d;

  /* Borders & Shadows */
  --border-subtle: rgba(56, 189, 248, 0.1);
  --border-medium: rgba(56, 189, 248, 0.2);
  --border-gold: rgba(56, 189, 248, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 8px 24px rgba(0, 210, 255, 0.25);
  --shadow-cyan: 0 8px 24px rgba(0, 210, 255, 0.25);

  /* Typography Families */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', var(--font-main);
  --font-heading: 'Plus Jakarta Sans', var(--font-main);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

input, select, textarea {
  font-family: inherit;
  color: var(--text-primary);
}

/* ==========================================================================
   3. ANNOUNCEMENT BAR & TOPBAR
   ========================================================================== */
.pro-announcement {
  background: linear-gradient(90deg, #071527 0%, #0c2b4e 50%, #071527 100%);
  color: #38bdf8;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.pro-announcement span.sep {
  opacity: 0.35;
  color: var(--cyan);
}

/* Sticky Header */
.pro-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.pro-nav-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Brand Identity */
.pro-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.pro-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  color: #04101d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.pro-brand-logo svg {
  position: absolute;
  opacity: 0.18;
  width: 100%;
  height: 100%;
}
.pro-brand-monogram {
  position: relative;
  z-index: 2;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.pro-brand-text h1 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cyan-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pro-distributor-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 3px;
}

/* Location Selector */
.pro-nav-location {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.pro-nav-location:hover {
  border-color: var(--gold-border);
  background: var(--bg-surface-elevated);
}
.pro-nav-location svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.pro-loc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.pro-loc-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pro-loc-city {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Search Bar */
.pro-search-wrap {
  flex: 1;
  position: relative;
  max-width: 580px;
}
.pro-search-box {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  transition: all var(--transition-fast);
}
.pro-search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: var(--bg-surface-elevated);
}
.pro-search-box svg.search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  margin-right: 10px;
  flex-shrink: 0;
}
.pro-search-input {
  flex: 1;
  height: 42px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
}
.pro-search-input::placeholder {
  color: var(--text-muted);
}
.pro-search-clear {
  color: var(--text-muted);
  font-size: 16px;
  display: none;
  cursor: pointer;
}
.pro-search-clear.active {
  display: block;
}

/* Search Suggestions */
.pro-suggestions-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  display: none;
  z-index: 200;
  max-height: 400px;
  overflow-y: auto;
}
.pro-suggestions-panel.open {
  display: block;
}
.pro-suggest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.pro-suggest-row:hover {
  background: rgba(201, 162, 74, 0.12);
  color: var(--gold-bright);
}
.pro-suggest-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pro-suggest-left svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.pro-suggest-tag {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Right Actions */
.pro-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Direct WhatsApp Button in Navbar */
.pro-nav-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366 0%, #1eb956 100%);
  color: #fff;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.pro-nav-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.pro-nav-whatsapp-btn svg {
  width: 16px;
  height: 16px;
}

/* Icon Buttons (Wishlist, Orders) */
.pro-icon-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  position: relative;
  transition: all var(--transition-fast);
}
.pro-icon-action-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-surface-elevated);
}
.pro-icon-action-btn svg {
  width: 18px;
  height: 18px;
}
.pro-badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--gold);
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart Button */
.pro-nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 8px 18px 8px 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pro-nav-cart-btn:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--cyan);
  transform: translateY(-1px);
}
.pro-nav-cart-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.pro-nav-cart-icon-box svg {
  width: 16px;
  height: 16px;
}
.pro-cart-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.pro-cart-info span.label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.pro-cart-info span.total {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-bright);
}

/* Secondary Sub-Navbar (Horizontal Categories) */
.pro-subnav {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  white-space: nowrap;
}
.pro-subnav::-webkit-scrollbar {
  display: none;
}
.pro-subnav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pro-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}
.pro-subnav-link:hover, .pro-subnav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.pro-subnav-link.highlight {
  color: var(--gold-bright);
}
.pro-subnav-link svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   4. TECHNICAL DISTRIBUTOR HERO BANNER
   ========================================================================== */
.pro-hero {
  position: relative;
  min-height: 440px;
  background: radial-gradient(circle at 75% 35%, rgba(0, 210, 255, 0.12) 0%, rgba(8, 12, 20, 1) 70%),
              linear-gradient(180deg, #090e18 0%, #080c14 100%);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.pro-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.pro-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(8, 12, 20, 0.4) 0%, rgba(8, 12, 20, 0.95) 100%);
}
.pro-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 24px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}
.pro-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--cyan-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.pro-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
}
.pro-hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.pro-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pro-btn-gold, .pro-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  color: #04101d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
  transition: all var(--transition-fast);
}
.pro-btn-gold:hover, .pro-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 210, 255, 0.55);
}
.pro-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 21, 36, 0.7);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.pro-btn-ghost:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--cyan-bright);
}

/* Hero Stats Card */
.pro-hero-stats {
  background: rgba(14, 21, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.pro-stat-item h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-bright);
  line-height: 1;
}
.pro-stat-item p {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ==========================================================================
   5. BRAND PILLS FILTER CAROUSEL
   ========================================================================== */
.pro-brand-carousel {
  max-width: 1440px;
  margin: 20px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
}
.pro-brand-carousel::-webkit-scrollbar {
  display: none;
}
.pro-brand-chip {
  padding: 8px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pro-brand-chip:hover {
  border-color: var(--gold);
  color: var(--text-primary);
}
.pro-brand-chip.active {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  color: var(--text-dark);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(0, 210, 255, 0.4);
}

/* ==========================================================================
   6. MAIN STORE LAYOUT (FILTERS & PRODUCT GRID)
   ========================================================================== */
.pro-main-container {
  max-width: 1440px;
  margin: 30px auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

/* Left Filter Sidebar */
.pro-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.pro-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}
.pro-sidebar-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}
.pro-reset-filters-btn {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.pro-reset-filters-btn:hover {
  color: var(--gold);
}

.pro-filter-group {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.pro-filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.pro-filter-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pro-filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}
.pro-checkbox-item:hover {
  color: var(--gold);
}
.pro-checkbox-item input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Price Range Inputs */
.pro-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pro-price-input {
  width: 100%;
  height: 34px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0 10px;
  font-size: 12px;
  color: var(--text-primary);
  outline: none;
}
.pro-price-input:focus {
  border-color: var(--gold);
}
.pro-price-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  padding: 0 14px;
  height: 34px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 11px;
  color: var(--gold);
  cursor: pointer;
}
.pro-price-btn:hover {
  background: var(--gold);
  color: var(--text-dark);
}

/* Right Content Area */
.pro-content-area {
  display: flex;
  flex-direction: column;
}

.pro-results-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.pro-results-count {
  font-size: 13px;
  color: var(--text-secondary);
}
.pro-results-count strong {
  color: var(--gold-bright);
}
.pro-sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pro-sort-wrap label {
  font-size: 12px;
  color: var(--text-muted);
}
.pro-sort-select {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.pro-sort-select:focus {
  border-color: var(--gold);
}

/* Active Filter Chips */
.pro-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.pro-chip {
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--cyan-border);
  color: var(--cyan-bright);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pro-chip button {
  color: var(--text-muted);
}
.pro-chip button:hover {
  color: var(--ruby);
}

/* ==========================================================================
   7. PRODUCT CARDS & GRID
   ========================================================================== */
.pro-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.pro-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}
.pro-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(201, 162, 74, 0.2);
}

/* Card Badges */
.pro-card-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pro-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.pro-badge.new {
  background: var(--emerald);
  color: var(--text-dark);
}
.pro-badge.bestseller {
  background: var(--gold);
  color: var(--text-dark);
}
.pro-badge.deal {
  background: var(--ruby);
  color: #fff;
}

/* Wishlist Heart */
.pro-card-fav-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.pro-card-fav-btn:hover, .pro-card-fav-btn.active {
  color: var(--ruby);
  background: rgba(230, 57, 70, 0.15);
  transform: scale(1.15);
}
.pro-card-fav-btn svg {
  width: 16px;
  height: 16px;
}

/* Product Card Image */
.pro-card-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 14px;
}
.pro-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.pro-card:hover .pro-card-img {
  transform: scale(1.06);
}

/* Quick View Overlay */
.pro-card-quickview-btn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.pro-card:hover .pro-card-quickview-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pro-card-quickview-btn:hover {
  background: var(--gold);
  color: var(--text-dark);
}

/* Product Info */
.pro-card-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.pro-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  cursor: pointer;
  min-height: 38px;
}
.pro-card-title:hover {
  color: var(--gold-bright);
}

/* Star Rating */
.pro-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.pro-stars {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
}
.pro-rating-score {
  font-size: 11px;
  color: var(--text-muted);
}

/* Price Box */
.pro-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.pro-card-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.pro-card-price-original {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.pro-discount-pill {
  background: var(--ruby-soft);
  color: var(--ruby);
  border: 1px solid rgba(230, 57, 70, 0.3);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Wholesale Scale Tag */
.pro-tier-hint {
  background: rgba(201, 162, 74, 0.08);
  border: 1px solid rgba(201, 162, 74, 0.25);
  border-radius: var(--radius-xs);
  padding: 4px 8px;
  font-size: 10px;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 12px;
}

/* Variant Pills */
.pro-card-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}
.pro-variant-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pro-variant-chip:hover, .pro-variant-chip.active {
  background: rgba(201, 162, 74, 0.15);
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* Card Actions */
.pro-card-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.pro-qty-stepper {
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  height: 36px;
  overflow: hidden;
}
.pro-qty-stepper button {
  width: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
}
.pro-qty-stepper button:hover {
  background: rgba(201, 162, 74, 0.1);
}
.pro-qty-stepper span {
  width: 26px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.pro-btn-add {
  flex: 1;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.pro-btn-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 162, 74, 0.4);
}

/* ==========================================================================
   8. PRODUCT DETAIL MODAL (QUICK VIEW & SPECS)
   ========================================================================== */
.pro-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pro-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pro-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.pro-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}
.pro-modal-close:hover {
  color: var(--ruby);
  border-color: var(--ruby);
}

.pro-modal-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  padding: 32px;
}

.pro-modal-img-box {
  width: 100%;
  aspect-ratio: 1;
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pro-modal-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Modal Right Specs */
.pro-modal-details {
  display: flex;
  flex-direction: column;
}
.pro-modal-brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.pro-modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.pro-modal-price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

/* Volume Tiers Table */
.pro-tiers-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-deep);
  border-radius: var(--radius-xs);
  overflow: hidden;
  margin: 16px 0;
  font-size: 12px;
}
.pro-tiers-table th, .pro-tiers-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.pro-tiers-table th {
  background: rgba(0, 210, 255, 0.1);
  color: var(--cyan-bright);
  text-transform: uppercase;
  font-size: 10px;
}

/* ==========================================================================
   9. SHOPPING CART DRAWER
   ========================================================================== */
.pro-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.pro-cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pro-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 90vw;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-medium);
  z-index: 2501;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.pro-cart-drawer.open {
  transform: translateX(0);
}

.pro-cart-header {
  padding: 18px 20px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pro-cart-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}

/* Free Shipping Meter */
.pro-free-shipping-meter {
  padding: 12px 20px;
  background: rgba(0, 210, 255, 0.08);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
.pro-shipping-meter-text {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.pro-shipping-meter-text strong {
  color: var(--cyan-bright);
}
.pro-meter-track {
  width: 100%;
  height: 6px;
  background: var(--bg-deep);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.pro-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--emerald) 100%);
  transition: width 0.35s ease;
}

/* Cart Items */
.pro-cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pro-cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.pro-cart-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-xs);
  padding: 4px;
}
.pro-cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.pro-cart-item-size {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.pro-cart-item-price {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-bright);
  text-align: right;
}

/* Cart Footer */
.pro-cart-footer {
  padding: 20px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}
.pro-cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.pro-cart-row.total {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold-bright);
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.pro-btn-checkout {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  transition: all var(--transition-fast);
}
.pro-btn-checkout:hover {
  box-shadow: 0 4px 16px rgba(201, 162, 74, 0.4);
}

.pro-btn-whatsapp-cart {
  width: 100%;
  height: 42px;
  background: linear-gradient(135deg, #25d366, #1eb956);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   10. CHECKOUT MODAL
   ========================================================================== */
.pro-checkout-card {
  max-width: 700px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.pro-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pro-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pro-form-group.full {
  grid-column: 1 / -1;
}
.pro-form-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.pro-form-group input, .pro-form-group select, .pro-form-group textarea {
  height: 40px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0 12px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
}
.pro-form-group input:focus, .pro-form-group select:focus, .pro-form-group textarea:focus {
  border-color: var(--gold);
}

/* ==========================================================================
   11. TOAST NOTIFICATIONS
   ========================================================================== */
.pro-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.pro-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   12. LUXURY FOOTER
   ========================================================================== */
.pro-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 30px;
  color: var(--text-muted);
}
.pro-footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}
.pro-footer-col h4 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 14px;
}
.pro-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-footer-col a {
  color: var(--text-secondary);
  font-size: 13px;
  transition: color var(--transition-fast);
}
.pro-footer-col a:hover {
  color: var(--gold);
}
.pro-footer-bottom {
  max-width: 1440px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

/* Database Status Widget in Footer */
.pro-db-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.pro-db-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ruby);
}
.pro-db-dot.connected {
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .pro-main-container {
    grid-template-columns: 1fr;
  }
  .pro-sidebar {
    display: none;
  }
  .pro-hero-container {
    grid-template-columns: 1fr;
  }
  .pro-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pro-nav-main {
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 10px;
  }
  .pro-search-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .pro-modal-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .pro-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .pro-card {
    padding: 10px;
  }
}
