/* ==========================================================================
   INTERNATIONAL CLIENT UI DESIGN SYSTEM - LaptopMotherboardHouse
   ========================================================================== */

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

:root {
  --intl-primary: #0284c7;
  --intl-primary-dark: #0369a1;
  --intl-primary-light: #e0f2fe;
  --intl-accent: #f59e0b;
  --intl-accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --intl-dark: #0f172a;
  --intl-dark-surface: #1e293b;
  --intl-surface: #ffffff;
  --intl-bg: #f8fafc;
  --intl-border: #e2e8f0;
  --intl-border-focus: #38bdf8;
  --intl-text-main: #0f172a;
  --intl-text-muted: #64748b;
  --intl-text-light: #94a3b8;
  --intl-success: #10b981;
  --intl-danger: #ef4444;
  --intl-warning: #f59e0b;
  --intl-radius-sm: 6px;
  --intl-radius: 12px;
  --intl-radius-lg: 20px;
  --intl-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --intl-shadow: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
  --intl-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(15, 23, 42, 0.04);
  --intl-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --intl-mono: 'JetBrains Mono', monospace;
}

/* Global Font Apply */
body, .catalog-header, .product-card, .product-detail-grid, .flash-deals-section {
  font-family: var(--intl-font);
  color: var(--intl-text-main);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. HOMEPAGE: FLASH OFFER / DEALS BLOCK (INTERNATIONAL STANDARD)
   ========================================================================== */
.flash-deals-section {
  background: linear-gradient(180deg, #090e1a 0%, #0f172a 100%);
  color: #ffffff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.flash-deals-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0) 70%);
  pointer-events: none;
}

.flash-deals-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0) 70%);
  pointer-events: none;
}

.flash-deals-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.flash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.75rem;
}

.flash-header-left {
  max-width: 650px;
}

.flash-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.flash-pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseFlash 1.6s infinite;
}

@keyframes pulseFlash {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.flash-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.flash-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flash-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* International Countdown Timer */
.flash-countdown-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1.25rem;
  border-radius: var(--intl-radius);
  backdrop-filter: blur(10px);
}

.countdown-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.time-box {
  background: #0284c7;
  color: #ffffff;
  font-family: var(--intl-mono);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  min-width: 38px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.time-sep {
  font-weight: 800;
  color: #38bdf8;
  font-size: 1.2rem;
}

/* Flash Deals Grid / Slider */
.flash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.flash-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--intl-radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.flash-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
  background: rgba(30, 41, 59, 0.95);
}

.flash-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: var(--intl-accent-gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.flash-card-oem {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.flash-img-wrap {
  position: relative;
  background: #ffffff;
  padding: 1.5rem;
  text-align: center;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flash-img-wrap img {
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

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

.flash-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.flash-brand-tag {
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flash-part-sku {
  font-family: var(--intl-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.flash-prod-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
}

.flash-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.flash-price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8;
}

.flash-price-orig {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* Stock Progress Meter */
.flash-stock-wrap {
  margin-bottom: 1.1rem;
}

.flash-stock-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.flash-stock-claimed {
  color: #fca5a5;
}

.flash-stock-left {
  color: #94a3b8;
}

.flash-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.flash-progress-fill {
  height: 100%;
  background: var(--intl-accent-gradient);
  border-radius: 10px;
}

.flash-btn-buy {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--intl-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-decoration: none;
}

.flash-btn-buy:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

/* Flash Assurance Footer */
.flash-assurance-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flash-assurance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flash-assure-icon {
  width: 44px;
  height: 44px;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.flash-assure-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.flash-assure-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0;
}

/* ==========================================================================
   2. PRODUCT CATALOG (INTERNATIONAL CLIENT DESIGN)
   ========================================================================== */
.intl-catalog-wrapper {
  background-color: var(--intl-bg);
  padding: 2.5rem 0 5rem;
}

.intl-catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Catalog Hero Header */
.intl-catalog-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--intl-radius-lg);
  padding: 2.5rem 3rem;
  color: #ffffff;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--intl-shadow);
}

.intl-catalog-hero::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0) 70%);
  border-radius: 50%;
}

.intl-catalog-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.intl-catalog-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.intl-catalog-desc {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 700px;
  margin-bottom: 0;
}

/* Catalog Layout: Sidebar + Grid */
.intl-catalog-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991px) {
  .intl-catalog-layout {
    grid-template-columns: 1fr;
  }
}

/* Filter Sidebar */
.intl-filter-card {
  background: var(--intl-surface);
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--intl-shadow-sm);
}

.intl-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--intl-border);
}

.intl-filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--intl-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.intl-filter-clear {
  background: none;
  border: none;
  color: var(--intl-primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.intl-filter-clear:hover {
  text-decoration: underline;
}

.intl-filter-search {
  position: relative;
  margin-bottom: 1rem;
}

.intl-filter-search input {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.2rem;
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius-sm);
  font-size: 0.85rem;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.intl-filter-search input:focus {
  border-color: var(--intl-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.intl-filter-search i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Category & Brand list items */
.intl-filter-list {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.intl-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  border-radius: var(--intl-radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.875rem;
  color: var(--intl-text-main);
  user-select: none;
}

.intl-filter-item:hover {
  background-color: #f1f5f9;
}

.intl-filter-item.active {
  background-color: var(--intl-primary-light);
  color: var(--intl-primary-dark);
  font-weight: 600;
}

.intl-check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  margin-right: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.intl-filter-item.active .intl-check-box {
  background-color: var(--intl-primary);
  border-color: var(--intl-primary);
  color: #ffffff;
}

.intl-count-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
}

.intl-filter-item.active .intl-count-badge {
  background: rgba(2, 132, 199, 0.2);
  color: var(--intl-primary-dark);
}

/* Price Range Slider */
.intl-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.intl-price-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius-sm);
  padding: 0.4rem 0.6rem;
  background: #f8fafc;
}

.intl-price-field span {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  margin-right: 0.35rem;
}

.intl-price-field input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--intl-text-main);
}

/* Main Products Header Toolbar */
.intl-catalog-toolbar {
  background: var(--intl-surface);
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--intl-shadow-sm);
}

.intl-toolbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--intl-text-muted);
}

.intl-toolbar-left strong {
  color: var(--intl-text-main);
}

.intl-toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.intl-select-custom {
  padding: 0.5rem 2.2rem 0.5rem 0.85rem;
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--intl-text-main);
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.intl-select-custom:focus {
  border-color: var(--intl-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

/* View Mode Toggler (Grid vs List) */
.intl-view-toggle {
  display: flex;
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius-sm);
  overflow: hidden;
}

.intl-view-btn {
  background: #ffffff;
  border: none;
  padding: 0.45rem 0.75rem;
  color: #64748b;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.15s;
}

.intl-view-btn.active {
  background: var(--intl-primary);
  color: #ffffff;
}

/* Product Cards (International Grid) */
.intl-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.intl-product-card {
  background: var(--intl-surface);
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--intl-shadow-sm);
  cursor: pointer;
}

.intl-product-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--intl-shadow-lg);
}

.intl-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.intl-badge-oem {
  background: #0f172a;
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.intl-badge-tested {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.intl-card-image-wrap {
  position: relative;
  background: #ffffff;
  padding: 1.5rem;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.intl-card-image-wrap img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.intl-product-card:hover .intl-card-image-wrap img {
  transform: scale(1.06);
}

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

.intl-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.intl-card-brand {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--intl-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.intl-card-sku {
  font-family: var(--intl-mono);
  font-size: 0.72rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.intl-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--intl-text-main);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
}

.intl-card-cat-pill {
  display: inline-block;
  font-size: 0.72rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.intl-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.intl-card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--intl-text-main);
}

.intl-card-price .cur {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--intl-primary);
  margin-right: 0.15rem;
}

.intl-card-stock {
  font-size: 0.72rem;
  font-weight: 600;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.intl-card-stock.low {
  color: #d97706;
}

.intl-card-stock.out {
  color: #dc2626;
}

.intl-btn-add {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--intl-primary-light);
  color: var(--intl-primary);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.intl-btn-add:hover {
  background: var(--intl-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* International List View Styles */
.intl-product-grid.list-view {
  grid-template-columns: 1fr;
}

.intl-product-grid.list-view .intl-product-card {
  flex-direction: row;
}

.intl-product-grid.list-view .intl-card-image-wrap {
  width: 240px;
  height: 100%;
  border-bottom: none;
  border-right: 1px solid #f1f5f9;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .intl-product-grid.list-view .intl-product-card {
    flex-direction: column;
  }
  .intl-product-grid.list-view .intl-card-image-wrap {
    width: 100%;
    height: 200px;
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }
}

/* ==========================================================================
   3. PRODUCT DETAIL PAGE (INTERNATIONAL LUXURY TECH & ENTERPRISE STANDARD)
   ========================================================================== */
.intl-detail-wrapper {
  background-color: #ffffff;
  padding: 2rem 0 5rem;
}

.intl-detail-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* International Breadcrumb */
.intl-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.75rem;
}

.intl-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.intl-breadcrumb a:hover {
  color: var(--intl-primary);
}

.intl-breadcrumb-sep {
  color: #cbd5e1;
}

.intl-breadcrumb-current {
  color: var(--intl-text-main);
  font-weight: 600;
}

/* Detail Main Grid */
.intl-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
  .intl-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Gallery Showcase */
.intl-gallery-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intl-main-image-stage {
  background: #ffffff;
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius);
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--intl-shadow-sm);
}

.intl-main-image-stage img {
  max-height: 400px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.intl-stage-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.intl-thumb-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.intl-thumb-box {
  width: 80px;
  height: 80px;
  border: 2px solid var(--intl-border);
  border-radius: var(--intl-radius-sm);
  background: #ffffff;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.intl-thumb-box:hover {
  border-color: #94a3b8;
}

.intl-thumb-box.active {
  border-color: var(--intl-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.intl-thumb-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Purchase & Technical Command Column */
.intl-info-panel {
  display: flex;
  flex-direction: column;
}

.intl-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.intl-brand-pill {
  background: #0f172a;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.intl-part-pill {
  font-family: var(--intl-mono);
  font-size: 0.78rem;
  color: #475569;
  background: #f1f5f9;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.intl-detail-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--intl-text-main);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

/* International Quality & Rating summary */
.intl-ratings-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--intl-border);
  font-size: 0.85rem;
}

.intl-stars {
  color: #f59e0b;
  display: flex;
  gap: 0.15rem;
}

.intl-tested-check {
  color: #059669;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Detail Price Box */
.intl-detail-price-box {
  background: #f8fafc;
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.intl-main-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

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

.intl-detail-price-large .cur {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--intl-primary);
}

.intl-price-tax-note {
  font-size: 0.78rem;
  color: #64748b;
}

/* Volume Discount Table */
.intl-volume-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.intl-volume-table th {
  background: #e2e8f0;
  color: #334155;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  text-align: left;
  border-radius: 4px 4px 0 0;
}

.intl-volume-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.intl-volume-table td strong {
  color: #059669;
}

/* Stock & Ready-to-Ship Bar */
.intl-stock-ready-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--intl-radius-sm);
  color: #065f46;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

/* Quantity & Action Buttons */
.intl-action-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.intl-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--intl-border);
  border-radius: var(--intl-radius-sm);
  background: #ffffff;
  overflow: hidden;
  height: 48px;
}

.intl-qty-btn {
  background: none;
  border: none;
  width: 40px;
  height: 100%;
  font-size: 1.2rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.intl-qty-btn:hover {
  background: #f1f5f9;
  color: var(--intl-text-main);
}

.intl-qty-input {
  width: 50px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  outline: none;
  color: var(--intl-text-main);
}

.intl-btn-primary-cart {
  flex: 1;
  height: 48px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--intl-radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.intl-btn-primary-cart:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.intl-btn-whatsapp-quote {
  height: 48px;
  padding: 0 1.25rem;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: var(--intl-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.intl-btn-whatsapp-quote:hover {
  background: #059669;
  color: #ffffff;
}

/* International Assurance Box */
.intl-assurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid var(--intl-border);
  border-radius: var(--intl-radius);
  padding: 1.25rem;
}

.intl-assurance-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.intl-assurance-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--intl-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.intl-assurance-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--intl-text-main);
  line-height: 1.3;
}

/* Detail Navigation Tabs */
.intl-tabs-container {
  margin-top: 2rem;
}

.intl-tabs-nav {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid var(--intl-border);
  margin-bottom: 2rem;
}

.intl-tab-btn {
  background: none;
  border: none;
  padding: 0.85rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.intl-tab-btn:hover {
  color: var(--intl-text-main);
}

.intl-tab-btn.active {
  color: var(--intl-primary);
  font-weight: 700;
}

.intl-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--intl-primary);
  border-radius: 3px 3px 0 0;
}

/* Specs Table */
.intl-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.intl-specs-table tr {
  border-bottom: 1px solid var(--intl-border);
}

.intl-specs-table tr:nth-child(even) {
  background: #f8fafc;
}

.intl-specs-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
}

.intl-specs-table td.spec-name {
  width: 30%;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
}

.intl-specs-table td.spec-val {
  color: var(--intl-text-main);
}

/* ==========================================================================
   MODAL & BACKDROP SUPPRESSION (Prevents accidental overlays)
   ========================================================================== */
.modal:not(.show),
#user-login-modal:not(.show),
#user-registration-modal:not(.show),
.modal-backdrop:not(.show) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* ==========================================================================
   CATEGORY PRODUCT SCROLL SECTIONS & MULTI-COLOR THEMES
   ========================================================================== */
.cat-scroll-section {
  padding: 3.75rem 0;
  position: relative;
}

/* Category Section Themes */
.cat-theme-blue {
  background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
  border-top: 1px solid #dbeafe;
  --theme-accent: #0284c7;
  --theme-light: #e0f2fe;
}
.cat-theme-emerald {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
  border-top: 1px solid #d1fae5;
  --theme-accent: #059669;
  --theme-light: #d1fae5;
}
.cat-theme-amber {
  background: linear-gradient(180deg, #fefce8 0%, #f8fafc 100%);
  border-top: 1px solid #fef08a;
  --theme-accent: #d97706;
  --theme-light: #fef3c7;
}
.cat-theme-purple {
  background: linear-gradient(180deg, #faf5ff 0%, #f8fafc 100%);
  border-top: 1px solid #f3e8ff;
  --theme-accent: #7c3aed;
  --theme-light: #ede9fe;
}
.cat-theme-cyan {
  background: linear-gradient(180deg, #ecfeff 0%, #f8fafc 100%);
  border-top: 1px solid #cffafe;
  --theme-accent: #0891b2;
  --theme-light: #cffafe;
}
.cat-theme-rose {
  background: linear-gradient(180deg, #fff1f2 0%, #f8fafc 100%);
  border-top: 1px solid #ffe4e6;
  --theme-accent: #e11d48;
  --theme-light: #ffe4e6;
}

/* Category Section Header */
.cat-scroll-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.cat-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--theme-light, #e0f2fe);
  color: var(--theme-accent, #0284c7);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.cat-scroll-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--intl-text-main);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.cat-scroll-sub {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

/* Category Scroll Container & Track */
.cat-scroll-carousel-wrap {
  position: relative;
}

.cat-scroll-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.75rem 0.25rem 1.5rem 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cat-scroll-track::-webkit-scrollbar {
  display: none;
}

/* Scroll Navigation Controls */
.cat-carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cat-nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--intl-border);
  color: var(--intl-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--intl-shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-nav-arrow:hover {
  background: var(--theme-accent, #0284c7);
  color: #ffffff;
  border-color: var(--theme-accent, #0284c7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.cat-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--theme-accent, #0284c7);
  text-decoration: none;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--intl-radius-sm);
  border: 1px solid var(--intl-border);
  transition: all 0.2s ease;
}

.cat-view-all-link:hover {
  background: var(--theme-accent, #0284c7);
  color: #ffffff;
  border-color: var(--theme-accent, #0284c7);
}

/* Category Card Fixed Width in Track */
.cat-scroll-track .intl-product-card {
  flex: 0 0 280px;
  width: 280px;
}

@media (max-width: 768px) {
  .cat-scroll-track .intl-product-card {
    flex: 0 0 240px;
    width: 240px;
  }
  .cat-scroll-title {
    font-size: 1.5rem;
  }
}


