/**
 * Home Shine (هوم شاين) - Main Stylesheet
 * Official Brand Colors Palette:
 * - Brand Red ("HOME" + Roof): #EE3F44 / #D7262C / #A81E24
 * - Brand Blue ("SHINE"): #1E8AC1 / #0F74A8 / #0C4B6E
 * - Sparkle Star Yellow: #FDCD12 / #FFC107
 * - Pure White: #FFFFFF
 * - Soft Clean Surface: #F4F8FA / #FFFFFF
 */

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

:root {
  --primary: #1E8AC1;
  --primary-dark: #0F5B84;
  --primary-light: #38A3DB;
  --primary-deep: #0C4362;
  --accent-blue: #1E8AC1;
  --accent-red: #EE3F44;
  --accent-red-hover: #D7262C;
  --accent-red-dark: #A81E24;
  --accent-gold: #FDCD12;
  --bg-body: #F4F8FA;
  --bg-card: #FFFFFF;
  --border-color: #E1EBF0;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --success: #10B981;
  --shadow-sm: 0 2px 8px rgba(30, 138, 193, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 138, 193, 0.09);
  --shadow-lg: 0 16px 36px rgba(30, 138, 193, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #0C4362 0%, #1E8AC1 70%, #EE3F44 100%);
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-bar-links a {
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar-links a:hover {
  color: #FFFFFF;
}

/* Navbar */
.navbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: transform 0.2s ease;
}
.brand-logo:hover .header-logo-img {
  transform: scale(1.04);
}
.brand-logo .brand-badge {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: #FFFFFF;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(238, 63, 68, 0.25);
}

/* Global Search Bar in Header */
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 10px 42px 10px 18px;
  background: #EDF4F8;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.header-search input:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 138, 193, 0.15);
}
.header-search .search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-nav-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  border: none;
  position: relative;
  transition: var(--transition);
  text-decoration: none;
}

/* Live Cart Total Box & Wrapper in Header */
.nav-cart-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  padding: 4px 6px 4px 14px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.nav-cart-wrapper:hover {
  border-color: var(--primary);
  background: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 138, 193, 0.15);
}
.nav-cart-total-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.25;
}
.nav-cart-total-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}
.nav-cart-total-amount {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--primary-deep);
  white-space: nowrap;
}
.btn-nav-icon.btn-cart {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(238, 63, 68, 0.28);
}
.nav-cart-wrapper .btn-nav-icon.btn-cart {
  width: 38px;
  height: 38px;
  font-size: 17px;
  box-shadow: none;
}
.btn-nav-icon.btn-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(238, 63, 68, 0.35);
  color: #FFFFFF;
}

.btn-nav-icon.btn-pwa-install {
  background: rgba(30, 138, 193, 0.12);
  color: var(--primary-dark);
  border: 1.5px solid rgba(30, 138, 193, 0.3);
  display: none; /* Shown dynamically via JS */
}
.btn-nav-icon.btn-pwa-install:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-nav-icon .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FFFFFF;
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-admin-link {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.btn-admin-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Hero Section with Home Shine Brand Gradient */
.hero-banner {
  background: linear-gradient(135deg, #0C4362 0%, #1E8AC1 60%, #38A3DB 100%);
  color: #FFFFFF;
  padding: 40px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(253, 205, 18, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(238, 63, 68, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-mascot-badge {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(238, 63, 68, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  animation: pulseSoft 3s infinite;
}
.hero-mascot-badge i {
  color: var(--accent-gold);
  font-size: 16px;
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 14px;
}
.hero-title span {
  color: var(--accent-gold);
  text-shadow: 0 2px 10px rgba(253, 205, 18, 0.4);
}
.hero-subtitle {
  font-size: 16px;
  color: #E1F1FB;
  margin-bottom: 24px;
  max-width: 540px;
}
.hero-features {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-feature-item i {
  color: var(--accent-gold);
  font-size: 16px;
}
.hero-image-box {
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mascot-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(253, 205, 18, 0.25) 0%, rgba(255, 255, 255, 0.1) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero-mascot-img {
  position: relative;
  z-index: 2;
  max-height: 330px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.35));
  animation: floatMascot 4s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
}
.hero-mascot-img:hover {
  transform: scale(1.04);
}
@keyframes floatMascot {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(-16px) rotate(-1deg); }
}

/* Main Catalog Layout */
.catalog-section {
  padding: 40px 0 70px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 30px;
  align-items: flex-start;
}

/* Sidebar Filters */
.sidebar-filter {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 85px;
}
.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.filter-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-reset-filters {
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-reset-filters:hover {
  color: var(--accent-red-hover);
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 24px;
}
.filter-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-search-box {
  position: relative;
}
.filter-search-box input {
  width: 100%;
  padding: 10px 38px 10px 14px;
  background: #F4F8FA;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.filter-search-box input:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 138, 193, 0.12);
}
.filter-search-box i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Category List in Filter */
.category-filter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding-left: 4px;
}
.category-filter-list::-webkit-scrollbar {
  width: 4px;
}
.category-filter-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.category-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  border: 1px solid transparent;
}
.category-filter-item:hover {
  background: #EDF5F9;
}
.category-filter-item.active {
  background: rgba(30, 138, 193, 0.12);
  color: var(--primary-dark);
  font-weight: 800;
  border-color: rgba(30, 138, 193, 0.35);
}
.cat-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.cat-count {
  font-size: 12px;
  background: #E1EBF0;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}
.category-filter-item.active .cat-count {
  background: var(--primary);
  color: #FFFFFF;
}

/* Price Range Slider */
.price-range-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.price-input-box {
  flex: 1;
}
.price-input-box label {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.price-input-box input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
  outline: none;
}
.price-input-box input:focus {
  border-color: var(--primary);
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  user-select: none;
}
.custom-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-red);
  cursor: pointer;
}

/* Mobile Filter Trigger Button */
.mobile-filter-trigger {
  display: none;
  margin-bottom: 20px;
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Catalog Main Content Header */
.catalog-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.results-count {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}
.results-count span {
  color: var(--accent-red);
}
.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-box label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 700;
}
.sort-box select {
  padding: 8px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #F4F8FA;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}
.sort-box select:focus {
  border-color: var(--primary);
  background: #FFFFFF;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Professional & Unified Product Card */
.product-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid #E2ECF2;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 18px rgba(12, 67, 98, 0.05);
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 36px rgba(30, 138, 193, 0.15);
  border-color: rgba(30, 138, 193, 0.35);
}

/* Floating Card Badges */
.card-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
}
.badge-category {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--primary-dark);
  border: 1px solid rgba(30, 138, 193, 0.25);
}
.badge-discount {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.badge-featured {
  background: linear-gradient(135deg, var(--accent-gold), #FFB703);
  color: #000000;
}

/* Product Card Image Showcase */
.product-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Perfect 1:1 Square Ratio */
  background: #F4F8FA;
  overflow: hidden;
  border-bottom: 1px solid #EEF4F8;
}
.product-img-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-card:hover .product-thumb-img {
  transform: scale(1.06);
}

/* Out of Stock Overlay */
.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  z-index: 4;
}
.out-of-stock-overlay span {
  background: rgba(238, 63, 68, 0.9);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Product Card Body */
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}
.product-brand-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-unit-pill {
  font-size: 11px;
  color: #64748B;
  background: #EDF4F8;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}
.product-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.45;
  height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.2s ease;
}
.product-card:hover .product-title {
  color: var(--primary);
}

/* Price Section */
.product-price-box {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #E2ECF2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.price-wrapper {
  display: flex;
  flex-direction: column;
}
.price-current {
  font-size: 19px;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1.1;
}
.price-current small {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  margin-right: 2px;
}
.price-old {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
  margin-top: 2px;
}
.discount-pill {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #FECACA;
}

/* Product Card Actions */
.product-actions {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}
.btn-add-cart {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: #FFFFFF;
  border: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(238, 63, 68, 0.25);
}
.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(238, 63, 68, 0.38);
}
.btn-add-cart:active {
  transform: translateY(0);
}
.btn-add-cart:disabled {
  background: #CBD5E1;
  color: #94A3B8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-quick-view {
  background: #F0F6F9;
  color: var(--primary-dark);
  border: 1px solid #D5E5EE;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-quick-view:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Empty State */
.empty-catalog {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
}
.empty-catalog i {
  font-size: 56px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.empty-catalog h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.empty-catalog p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Product Detail Page */
.product-detail-section {
  padding: 40px 0 70px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a:hover {
  color: var(--primary);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.detail-image-box {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
}
.detail-image-box img {
  max-height: 420px;
  margin: 0 auto;
  object-fit: contain;
}
.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-category-badge {
  align-self: flex-start;
  background: rgba(30, 138, 193, 0.12);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.detail-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-deep);
  line-height: 1.3;
  margin-bottom: 16px;
}
.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.detail-current-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-red);
}
.detail-old-price {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}
.detail-description {
  font-size: 15px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 28px;
}
.quantity-control-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.quantity-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}
.quantity-picker {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #F4F8FA;
  overflow: hidden;
}
.btn-qty {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}
.btn-qty:hover {
  background: #E1EBF0;
  color: var(--primary);
}
.qty-input {
  width: 50px;
  height: 38px;
  border: none;
  background: #FFFFFF;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}
.detail-actions-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-detail-cart {
  flex: 1;
  min-width: 220px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: #FFFFFF;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(238, 63, 68, 0.3);
  transition: var(--transition);
}
.btn-detail-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(238, 63, 68, 0.4);
}
.btn-detail-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-detail-whatsapp:hover {
  background: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Cart Page & Drawer */
.cart-page-section {
  padding: 40px 0 70px;
}
.cart-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: flex-start;
}
.cart-table-card, .checkout-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.cart-table-card h3, .checkout-form-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.cart-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #F1F5F9;
  position: relative;
}
.cart-item-thumb-box {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  padding: 6px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-thumb-box .cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cart-item-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.cart-item-meta {
  flex: 1;
  min-width: 0;
}
.cart-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.35;
  word-break: break-word;
}
.cart-item-meta .product-unit {
  display: inline-block;
  font-size: 11px;
  color: var(--text-muted);
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}
.cart-item-single-price {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.cart-item-top .btn-remove-item {
  color: #94A3B8;
  font-size: 17px;
  padding: 4px 6px;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  flex-shrink: 0;
}
.cart-item-top .btn-remove-item:hover {
  color: var(--accent-red);
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cart-item-row-total {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  color: var(--accent-red);
}
.cart-item-row-total .total-label-sm {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.cart-item-row-total strong {
  font-weight: 900;
  color: var(--accent-red);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-muted);
}
.cart-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-top: 10px;
  border-top: 2px dashed var(--border-color);
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-deep);
}
.cart-total-line .total-val {
  color: var(--accent-red);
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}
.address-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: #F4F8FA;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 138, 193, 0.15);
}

/* Iraqi Phone Input with Country Code */
.iq-phone-group {
  display: flex;
  align-items: center;
  direction: ltr !important;
  background: #F4F8FA;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.iq-phone-group:focus-within {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 138, 193, 0.15);
}
.iq-phone-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 48px;
  background: #E2E8F0;
  border-right: 1.5px solid var(--border-color);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--text-main);
  user-select: none;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.iq-phone-code .iq-flag {
  font-size: 18px;
  line-height: 1;
}
.iq-phone-input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 48px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  direction: ltr !important;
  text-align: left !important;
  color: var(--text-main) !important;
  width: 100% !important;
}
.iq-phone-input:focus {
  outline: none !important;
  box-shadow: none !important;
}
.iq-phone-hint {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
  line-height: 1.4;
}
.btn-whatsapp-order, .btn-confirm-order {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: #FFFFFF;
  border: none;
  padding: 15px 20px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  box-shadow: 0 6px 18px rgba(238, 63, 68, 0.35);
  transition: var(--transition);
}
.btn-whatsapp-order:hover, .btn-confirm-order:hover {
  background: linear-gradient(135deg, var(--accent-red-hover), var(--accent-red-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(238, 63, 68, 0.45);
}

/* Multi-Step Checkout Progress Bar */
.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.checkout-steps-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.step-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}
.step-badge .step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  transition: var(--transition);
}
.step-badge.active {
  color: var(--primary-dark);
  font-weight: 800;
}
.step-badge.active .step-number {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(30, 138, 193, 0.35);
}
.step-connector {
  width: 32px;
  height: 2px;
  background: #E2E8F0;
  transition: var(--transition);
}
.step-connector.active {
  background: var(--primary);
}

/* =========================================================
   Professional Invoice System Styling
   ========================================================= */
.invoice-view-wrapper {
  animation: fadeInInvoice 0.4s ease-out;
  max-width: 900px;
  margin: 0 auto;
}
@keyframes fadeInInvoice {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Success Header Banner */
.invoice-success-banner {
  background: linear-gradient(135deg, #0C4362 0%, #1E8AC1 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.banner-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.banner-text-box h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 6px;
}
.banner-text-box p {
  font-size: 14px;
  color: #E1F1FB;
  line-height: 1.5;
  margin: 0;
}

/* Invoice Actions Bar */
.invoice-actions-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
  align-items: stretch;
}
.btn-invoice-action {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn-invoice-action i {
  font-size: 19px;
  line-height: 1;
}
.btn-invoice-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-invoice-whatsapp:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #169E4C 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}
.btn-invoice-pdf {
  background: #FFFFFF;
  color: var(--primary-deep);
  border: 1.5px solid #CBD5E1;
  box-shadow: var(--shadow-sm);
}
.btn-invoice-pdf:hover {
  background: #EDF5F9;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 138, 193, 0.18);
}
.btn-invoice-print {
  background: var(--bg-card);
  color: var(--primary-dark);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-invoice-print:hover {
  background: #EDF5F9;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-invoice-copy {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-invoice-copy:hover {
  background: #F8FAFC;
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.btn-invoice-new {
  background: #F8FAFC;
  color: var(--primary-deep);
  border: 1.5px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
}
.btn-invoice-new:hover {
  background: #FFFFFF;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 67, 98, 0.12);
}

.large-pulse {
  animation: pulseGreenGlow 2.5s infinite;
}
@keyframes pulseGreenGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Printable Invoice Document Card */
.invoice-document-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid #CBD5E1;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(12, 67, 98, 0.08);
  position: relative;
}

/* Invoice Header */
.invoice-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.invoice-brand-info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.invoice-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.invoice-brand-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-deep);
  margin-bottom: 2px;
}
.invoice-brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.invoice-brand-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.invoice-brand-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.invoice-brand-meta i {
  color: var(--primary);
}

.invoice-meta-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
[dir="rtl"] .invoice-meta-info {
  align-items: flex-end;
  text-align: right;
}
.invoice-type-pill {
  background: var(--primary-deep);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.invoice-meta-row {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-label {
  color: var(--text-muted);
  font-weight: 600;
}
.meta-val {
  color: var(--primary-deep);
  font-weight: 800;
}
.badge-invoice-status {
  background: #FEF3C7;
  color: #92400E;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #FDE68A;
}

.invoice-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #CBD5E1, transparent);
  margin: 24px 0;
}

.invoice-section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
}
.invoice-section-title i {
  color: var(--primary);
  font-size: 17px;
}

/* Customer Card */
.invoice-customer-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.invoice-customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.customer-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}
.customer-info-item.full-width {
  grid-column: 1 / -1;
}
.info-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.info-val {
  color: var(--text-main);
  font-weight: 700;
  font-size: 14px;
}

/* Invoice Items Table */
.invoice-items-card {
  margin-bottom: 24px;
}
.invoice-table-responsive {
  width: 100%;
  overflow-x: auto;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.invoice-table thead th {
  background: #F1F5F9;
  color: var(--primary-deep);
  font-weight: 800;
  padding: 12px 14px;
  border-top: 1px solid #E2E8F0;
  border-bottom: 2px solid #CBD5E1;
  font-size: 13px;
}
.invoice-table tbody td {
  padding: 14px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}
.invoice-table tbody tr:hover {
  background: #FAFCFE;
}
.inv-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.inv-prod-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  object-fit: contain;
  padding: 2px;
  flex-shrink: 0;
}
.inv-prod-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.inv-prod-title {
  font-weight: 800;
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.4;
}
.inv-prod-unit {
  font-size: 11px;
  color: var(--text-muted);
}
.inv-qty-badge {
  background: #EDF5F9;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 13px;
}

/* Totals and Terms */
.invoice-totals-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding-top: 10px;
  align-items: flex-start;
}
.invoice-notes-terms {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 12px;
}
.invoice-notes-terms h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.invoice-notes-terms ul {
  padding-right: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.invoice-financial-table {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.fin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px dashed #E2E8F0;
}
.fin-row:last-child {
  border-bottom: none;
}
.fin-row.grand-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 2px solid var(--primary);
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-deep);
}
.grand-total-price {
  color: var(--accent-red);
  font-size: 20px;
  font-weight: 900;
}

/* Invoice Doc Footer */
.invoice-doc-footer {
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #E2E8F0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Bottom CTA Reminder */
.invoice-bottom-cta {
  display: none;
  margin-top: 24px;
}

/* =========================================================
   Print Optimization Media Query
   ========================================================= */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .navbar, .top-bar, .footer, .floating-whatsapp, .toast-container,
  .checkout-steps-bar, .invoice-success-banner, .invoice-actions-bar,
  .invoice-bottom-cta, .btn-remove-item, button {
    display: none !important;
  }
  .cart-page-section {
    padding: 0 !important;
  }
  .invoice-view-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
  }
  .invoice-document-card {
    border: 1px solid #000000 !important;
    box-shadow: none !important;
    padding: 20px !important;
    border-radius: 0 !important;
  }
  .invoice-customer-card, .invoice-financial-table, .invoice-notes-terms {
    background: transparent !important;
    border-color: #999999 !important;
  }
  .invoice-table thead th {
    background: #EEEEEE !important;
    color: #000000 !important;
    border-color: #000000 !important;
  }
  .invoice-table tbody td {
    border-color: #CCCCCC !important;
    color: #000000 !important;
  }
  .grand-total-price, .inv-prod-title, .meta-val, .info-val {
    color: #000000 !important;
  }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25D366;
  color: #FFFFFF;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
  animation: pulseGreen 2s infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
  border-right: 4px solid var(--accent-red);
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer (Minimal Bottom Bar with Social Media) */
.footer {
  background: #0C4362;
  color: #E2E8F0;
  padding: 14px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copyright {
  font-size: 13px;
  font-weight: 600;
  color: #B5D7E8;
  margin: 0;
}
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.social-btn.social-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}
.social-btn.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.4);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-features {
    justify-content: center;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-filter {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    overflow-y: auto;
    border-radius: 0;
  }
  .sidebar-filter.open {
    display: block;
  }
  .mobile-filter-trigger {
    display: flex;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .cart-grid {
    grid-template-columns: 1fr;
  }
  .hero-banner {
    display: none !important;
  }
  .catalog-section {
    padding: 16px 0 50px;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .navbar-content {
    padding: 6px 0;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .brand-logo {
    gap: 6px;
    flex-shrink: 0;
  }
  .header-logo-img {
    height: 38px;
    max-height: 40px;
    width: auto;
  }
  .brand-logo .brand-badge {
    display: none;
  }
  .header-nav-menu {
    gap: 4px;
    flex-shrink: 1;
  }
  .header-nav-offers {
    padding: 6px 8px;
    font-size: 12px;
    border-radius: var(--radius-full);
    gap: 4px;
  }
  .header-nav-offers .nav-pulse-dot {
    display: none;
  }
  .nav-actions {
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
  }
  .lang-dropdown-wrapper .btn-lang-toggle {
    height: 36px;
    padding: 4px 8px;
    gap: 4px;
    font-size: 11.5px;
    border-radius: 10px;
  }
  .btn-lang-toggle .lang-label {
    display: none;
  }
  .btn-lang-toggle .lang-code-short {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-main);
  }
  .btn-lang-toggle .lang-flag {
    font-size: 14px;
  }
  .btn-lang-toggle .lang-chevron {
    font-size: 9px;
  }
  .btn-nav-icon.btn-pwa-install {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .nav-cart-wrapper {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 0;
  }
  .nav-cart-total-box {
    display: none !important;
  }
  .nav-cart-wrapper .btn-nav-icon.btn-cart {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(238, 63, 68, 0.28);
  }
  .btn-nav-icon .cart-badge {
    min-width: 18px;
    height: 18px;
    font-size: 9.5px;
    top: -3px;
    right: -3px;
  }
  html[dir="ltr"] .btn-nav-icon .cart-badge {
    right: auto;
    left: -3px;
  }

  /* Products Grid on Phone */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-body {
    padding: 10px 8px 8px;
  }
  .product-title {
    font-size: 12.5px;
    height: 36px;
  }
  .price-current {
    font-size: 14.5px;
  }
  .btn-add-cart {
    font-size: 11px;
    padding: 8px 6px;
  }

  /* Cart & Checkout Cards */
  .cart-table-card, .checkout-form-card {
    padding: 16px 12px;
    border-radius: var(--radius-md);
  }
  .cart-item-row {
    gap: 12px;
    padding: 12px 0;
  }
  .cart-item-thumb-box {
    width: 64px;
    height: 64px;
    padding: 4px;
    border-radius: var(--radius-sm);
  }
  .cart-item-main {
    gap: 8px;
  }
  .cart-item-title {
    font-size: 13.5px;
  }
  .cart-item-single-price {
    font-size: 12px;
  }
  .cart-item-bottom {
    gap: 8px;
  }
  .cart-item-bottom .quantity-picker {
    border-radius: 8px;
  }
  .cart-item-bottom .btn-qty {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .cart-item-bottom .qty-input {
    width: 38px;
    height: 30px;
    font-size: 13px;
  }
  .cart-item-row-total {
    font-size: 13.5px;
    gap: 4px;
  }
  .cart-item-row-total .total-label-sm {
    font-size: 11px;
  }

  /* Checkout Steps Bar */
  .checkout-steps-bar {
    gap: 10px;
    margin-bottom: 16px;
  }
  .checkout-steps-bar .breadcrumb {
    font-size: 12px;
  }
  .checkout-steps-indicator {
    width: 100%;
    justify-content: space-between;
    padding: 6px 12px;
  }
  .step-badge {
    font-size: 12px;
    gap: 6px;
  }
  .step-badge .step-number {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .step-connector {
    width: 24px;
  }
  .address-row {
    grid-template-columns: 1fr !important;
  }

  /* Invoice Document Elements */
  .invoice-actions-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .btn-invoice-action {
    padding: 10px 4px;
    font-size: 11px;
    gap: 4px;
  }
  .btn-invoice-action i {
    font-size: 14px;
  }
  .invoice-document-card {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }
  .invoice-doc-header {
    flex-direction: column;
    gap: 16px;
  }
  .invoice-meta-info {
    width: 100%;
    align-items: flex-start !important;
    text-align: right !important;
  }
  html[dir="ltr"] .invoice-meta-info {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .invoice-customer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .invoice-totals-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .invoice-success-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .header-nav-offers .nav-offers-text {
    display: none;
  }
  .header-nav-offers {
    padding: 6px 8px;
    gap: 0;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .navbar-content {
    gap: 4px;
  }
  .header-logo-img {
    height: 32px;
    max-height: 34px;
  }
  .nav-actions {
    gap: 4px;
  }
  .lang-dropdown-wrapper .btn-lang-toggle {
    height: 32px;
    padding: 2px 5px;
    gap: 3px;
  }
  .btn-lang-toggle .lang-code-short {
    font-size: 10px;
  }
  .btn-nav-icon.btn-pwa-install {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .nav-cart-wrapper .btn-nav-icon.btn-cart {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .cart-item-thumb-box {
    width: 56px;
    height: 56px;
  }
}

/* ============================================================= */
/* TIMED FREE DELIVERY PROMO BAR & HEADER NAVIGATION             */
/* ============================================================= */
.promo-announcement-bar {
  background: linear-gradient(135deg, #0C4362 0%, #115E59 50%, #059669 100%);
  color: #FFFFFF;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-size: 13.5px;
}
.promo-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.promo-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.promo-pulse-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #FDCD12;
  animation: promoPulse 2s infinite ease-in-out;
}
@keyframes promoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); background: rgba(253, 205, 18, 0.3); }
}
.promo-countdown-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.countdown-label {
  font-size: 12px;
  color: #E2E8F0;
  font-weight: 600;
}
.countdown-digits {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}
.digit-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.digit-unit strong {
  font-size: 14px;
  font-weight: 900;
  color: #FDCD12;
  min-width: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.digit-unit small {
  font-size: 10px;
  color: #CBD5E1;
  font-weight: 600;
}
.digit-sep {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 800;
  font-size: 12px;
}
.btn-promo-cta {
  background: #FDCD12;
  color: #0F172A;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.btn-promo-cta:hover {
  background: #F59E0B;
  color: #000;
  transform: translateY(-1px);
}

/* Header Nav Menu */
.header-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.header-nav-item:hover {
  background: rgba(30, 138, 193, 0.08);
  color: var(--primary);
}
.header-nav-item.active {
  background: var(--primary);
  color: #FFFFFF;
}
.header-nav-offers {
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid #FECDD3;
  position: relative;
}
.header-nav-offers:hover {
  background: #FFE4E6;
  color: #BE123C;
}
.header-nav-offers.active {
  background: #E11D48;
  color: #FFFFFF;
  border-color: #E11D48;
}
.nav-offers-fire {
  color: #E11D48;
  font-size: 16px;
  animation: fireFlicker 1.5s infinite alternate;
}
.header-nav-offers.active .nav-offers-fire {
  color: #FDCD12;
}
@keyframes fireFlicker {
  0% { transform: scale(1) rotate(-3deg); }
  100% { transform: scale(1.15) rotate(3deg); }
}
.nav-pulse-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============================================================= */
/* OFFERS PAGE HERO & CATALOG STYLES                             */
/* ============================================================= */
.offers-hero-section {
  padding: 30px 0 20px;
}
.offers-hero-card {
  background: linear-gradient(135deg, #0C4362 0%, #13587E 50%, #1E8AC1 100%);
  border-radius: var(--radius-lg);
  padding: 40px 45px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.offers-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(238, 63, 68, 0.25);
  border: 1px solid rgba(238, 63, 68, 0.5);
  color: #FFC0C3;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.offers-badge-pill i {
  color: #FDCD12;
}
.offers-hero-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 12px;
}
.offers-hero-title span {
  color: #FDCD12;
}
.offers-hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #E2E8F0;
  max-width: 580px;
  margin-bottom: 20px;
}
.offers-delivery-highlight {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 18px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.del-icon-box {
  width: 40px;
  height: 40px;
  background: #10B981;
  color: #FFFFFF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.del-text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.del-text-box strong {
  font-size: 14px;
  color: #FFFFFF;
}
.del-text-box span {
  font-size: 12px;
  color: #A7F3D0;
}
.offers-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.offers-mascot-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(253, 205, 18, 0.25) 0%, rgba(253, 205, 18, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.offers-hero-img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Offers Navigation Pills */
.offers-nav-pills-wrap {
  margin: 30px 0 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.offers-nav-pills {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
}
.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.offer-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.offer-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(30, 138, 193, 0.3);
}
.pill-count {
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
}
.offer-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Section Block Header */
.offers-section-block {
  margin-bottom: 40px;
}
.offers-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border-color);
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-icon {
  font-size: 28px;
}
.section-title-wrap h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-deep);
  margin: 0;
}
.section-title-wrap p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 2px 0 0;
}
.results-badge {
  background: #EFF6FF;
  color: #1E40AF;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ============================================================= */
/* BUNDLE CARD COMPONENT                                         */
/* ============================================================= */
.offers-bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.offer-bundle-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}
.offer-bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #BEE3F8;
}
.bundle-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.badge-offer-promo {
  background: linear-gradient(135deg, #EE3F44 0%, #D7262C 100%);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(238, 63, 68, 0.35);
}
.badge-offer-savings {
  background: #10B981;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}
.badge-offer-category {
  background: #0C4362;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.bundle-image-wrap {
  width: 100%;
  height: 220px;
  background: #F8FAFC;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bundle-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.offer-bundle-card:hover .bundle-thumb-img {
  transform: scale(1.05);
}
.bundle-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bundle-header {
  margin-bottom: 14px;
}
.bundle-type-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.bundle-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 6px;
}
.bundle-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.bundle-items-wrapper {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.bundle-items-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bundle-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bundle-items-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-main);
}
.item-bullet {
  color: #10B981;
  font-size: 14px;
  line-height: 1;
}
.item-name-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 6px;
}
.item-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-qty-tag {
  background: #E2E8F0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Pricing box */
.bundle-pricing-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
}
.pricing-main {
  display: flex;
  flex-direction: column;
}
.bundle-price-current {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-deep);
  line-height: 1.2;
}
.bundle-price-current small {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.bundle-price-old {
  font-size: 13px;
  text-decoration: line-through;
  color: var(--text-light);
  font-weight: 600;
}
.bundle-discount-badge {
  background: #FEE2E2;
  color: #991B1B;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 12px;
}

/* Button */
.btn-add-bundle-cart {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(30, 138, 193, 0.25);
}
.btn-add-bundle-cart:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 138, 193, 0.35);
}
.btn-add-bundle-cart:disabled {
  background: #CBD5E1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================= */
/* MOBILE OVERRIDES FOR OFFERS & PROMO BAR                       */
/* ============================================================= */
@media (max-width: 768px) {
  .promo-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .promo-bar-info {
    font-size: 12.5px;
    justify-content: center;
  }
  .promo-countdown-box {
    width: 100%;
    justify-content: center;
  }
  .btn-promo-cta {
    width: 100%;
    justify-content: center;
  }
  .offers-hero-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
  .offers-hero-title {
    font-size: 22px;
  }
  .offers-hero-visual {
    display: none;
  }
  .offers-bundles-grid {
    grid-template-columns: 1fr;
  }
  .header-nav-menu {
    gap: 4px;
  }
  .header-nav-item {
    padding: 6px 10px;
    font-size: 12.5px;
  }
  .bundle-card-actions {
    flex-direction: column;
  }
}

/* ============================================================= */
/* BUNDLE CARD INTERACTIONS & DETAIL PAGE STYLES                 */
/* ============================================================= */
.bundle-img-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}
.bundle-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.bundle-title a:hover {
  color: var(--primary);
}

.bundle-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}
.btn-view-bundle-detail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--primary-deep);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-view-bundle-detail:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #F0F9FF;
  transform: translateY(-2px);
}
.bundle-card-actions .btn-add-bundle-cart {
  flex: 1.3;
  padding: 10px 14px;
  font-size: 13.5px;
}

/* Bundle Details Page Layout */
.bundle-detail-items-card {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}
.bundle-detail-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.bundle-detail-items-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bundle-detail-items-count {
  background: #E0F2FE;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
}
.bundle-detail-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bundle-detail-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}
.bundle-detail-item-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.bundle-item-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background: #F4F8FA;
  flex-shrink: 0;
}
.bundle-item-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #EFF6FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.bundle-item-info {
  flex: 1;
  min-width: 0;
}
.bundle-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}
.bundle-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.bundle-item-qty {
  background: #F1F5F9;
  color: #334155;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.bundle-item-price-tag {
  color: var(--text-muted);
}
.btn-bundle-view-product {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-bundle-view-product:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* Savings Summary Box */
.bundle-savings-summary-box {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1.5px solid #6EE7B7;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.savings-summary-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  color: #065F46;
}
.savings-summary-amount {
  font-size: 16px;
  font-weight: 900;
  color: #047857;
}

/* Guarantees Box */
.bundle-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.bundle-guarantee-item {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.bundle-guarantee-item i {
  font-size: 20px;
  color: var(--primary);
}
.bundle-guarantee-item span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
}

/* ============================================================= */
/* Multilingual Switcher & LTR Support (AR / EN / KU)            */
/* ============================================================= */

/* Language Dropdown Switcher */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.btn-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  height: 44px;
}
.btn-lang-toggle:hover {
  border-color: var(--primary);
  background: #F8FAFC;
}
.lang-flag {
  font-size: 16px;
  line-height: 1;
}
.lang-code-short {
  display: none;
}
.lang-chevron {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.lang-dropdown-wrapper.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #E2E8F0;
  min-width: 140px;
  padding: 6px;
  z-index: 1000;
  display: none;
}
html[dir="ltr"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}
.lang-dropdown-wrapper.open .lang-dropdown-menu {
  display: block;
}
.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.15s ease;
}
.lang-dropdown-item:hover {
  background: #F1F5F9;
  color: var(--primary);
}
.lang-dropdown-item.active {
  background: #E0F2FE;
  color: var(--primary-dark);
  font-weight: 800;
}
.lang-item-check {
  margin-right: auto;
  color: var(--primary);
  font-size: 14px;
}
html[dir="ltr"] .lang-item-check {
  margin-right: 0;
  margin-left: auto;
}

/* LTR Adjustments for English */
html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html[dir="ltr"] .card-badges {
  right: auto;
  left: 12px;
}
html[dir="ltr"] .bundle-badges {
  right: auto;
  left: 12px;
}
html[dir="ltr"] .floating-whatsapp {
  left: auto;
  right: 24px;
}
html[dir="ltr"] .nav-pulse-dot {
  margin-right: 0;
  margin-left: 6px;
}
html[dir="ltr"] .iq-phone-group {
  direction: ltr;
}
html[dir="ltr"] .iq-phone-group .iq-phone-code {
  border-left: none;
  border-right: 1.5px solid var(--border-color);
  border-radius: 12px 0 0 12px;
}
html[dir="ltr"] .iq-phone-group .iq-phone-input {
  border-radius: 0 12px 12px 0;
  direction: ltr;
  text-align: left;
}
html[dir="ltr"] .price-wrapper {
  flex-direction: row;
}
html[dir="ltr"] .bundle-items-list li .item-bullet {
  margin-left: 0;
  margin-right: 8px;
}
html[dir="ltr"] .hero-features {
  justify-content: flex-start;
}
html[dir="ltr"] .sort-box {
  flex-direction: row;
}
html[dir="ltr"] .catalog-content-header {
  flex-direction: row;
}

