/* ============================================================
   STORE - MAIN STYLESHEET
   E-Commerce: Furniture & Accessories
   ============================================================ */

/* Variables */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --accent: #f59e0b;
  --success: #22c55e;
  --danger: #ef4444;
  --dark: #1e293b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Cairo', 'Poppins', 'Segoe UI', sans-serif;
  color: var(--dark);
  background-color: #fff;
  line-height: 1.7;
  scroll-behavior: smooth;
}

.ltr-body { font-family: 'Poppins', sans-serif; }

a { color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar { font-size: 0.8rem; position: relative; z-index: 1030; overflow: visible; }
.topbar a { color: rgba(255,255,255,.8); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ── Currency Switcher ── */
.currency-switcher-wrap { position: relative; }
.currency-toggle {
  background: rgba(255,255,255,.1) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  color: #fff !important;
  transition: background .18s, border-color .18s;
  gap: .35rem;
  font-size: .78rem;
  padding: .22rem .65rem .22rem .55rem !important;
  line-height: 1.4;
}
.currency-toggle:hover, .currency-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,.2) !important;
  border-color: rgba(255,255,255,.4) !important;
}
.currency-sym {
  font-weight: 800;
  color: #fbbf24;
  font-size: .82rem;
  min-width: 14px;
  text-align: center;
}
.currency-code { font-weight: 700; letter-spacing: .04em; font-size: .76rem; opacity: .95; }
.currency-toggle .fa-chevron-down { font-size: .48rem !important; opacity: .55; margin-top: 2px; transition: transform .2s; }
.currency-toggle[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.currency-dropdown {
  min-width: 210px;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: .4rem 0;
  z-index: 1035 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.14) !important;
  margin-top: .4rem !important;
  overflow: hidden;
}
.currency-dropdown .dropdown-item {
  padding: .5rem 1rem;
  font-size: .82rem;
  transition: background .12s;
  border-radius: 0;
}
.currency-dropdown .dropdown-item:hover { background: #f0f4ff; }
.currency-dropdown .dropdown-item.active {
  background: var(--primary, #6c63ff);
  color: #fff;
}
.currency-dropdown .dropdown-item.active .currency-item-name { color: rgba(255,255,255,.75) !important; }
.currency-dropdown .dropdown-item.active .currency-item-sym  { color: #fff !important; }
.currency-item-sym {
  min-width: 28px;
  font-size: .88rem;
  font-weight: 800;
  color: var(--primary, #6c63ff);
  text-align: center;
}
.currency-item-code { font-weight: 700; font-size: .82rem; }
.currency-item-name { font-size: .72rem; margin-inline-start: auto; opacity: .65; }

/* ============================================================
   HEADER
   ============================================================ */
.main-header { z-index: 1000; }

.store-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.header-icon {
  color: var(--dark);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: var(--transition);
}
.header-icon:hover { color: var(--primary); }

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Search Form */
.search-form .form-control {
  border-radius: var(--radius) 0 0 var(--radius);
  border-color: var(--border);
  background: #f8fafc;
}
.rtl-body .search-form .form-control {
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Navbar */
.navbar-nav .nav-link {
  font-weight: 600;
  padding: 0.6rem 1rem;
  color: var(--dark);
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); }
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider { position: relative; overflow: hidden; }

.hero-slide {
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(30,41,59,.8) 0%, rgba(30,41,59,.3) 100%);
  position: absolute;
  inset: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.hero-subtitle { font-size: 1.1rem; opacity: 0.9; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.rtl-body .section-title::after { left: auto; right: 0; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.rtl-body .product-badges { right: auto; left: 10px; }

.badge-new { background: var(--success) !important; }
.badge-sale { background: var(--danger) !important; }
.badge-featured { background: var(--accent) !important; color: #fff !important; }

.product-actions {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
  z-index: 2;
}

.rtl-body .product-actions {
  left: auto;
  right: 10px;
  transform: translateX(10px);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.product-action-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.product-card-body { padding: 1rem; }

.product-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
}
.product-card-title a:hover { color: var(--primary); }

.product-card-price { margin-bottom: 0.5rem; }

.price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.price-original {
  font-size: 0.85rem;
  color: var(--secondary);
  text-decoration: line-through;
  margin-inline-start: 0.4rem;
}

.price-discount {
  font-size: 0.75rem;
  background: #fef2f2;
  color: var(--danger);
  padding: 2px 6px;
  border-radius: 4px;
  margin-inline-start: 0.4rem;
}

.add-to-cart-btn {
  width: 100%;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

/* Stock Indicator */
.stock-indicator {
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stock-indicator.in-stock { color: var(--success); }
.stock-indicator.out-of-stock { color: var(--danger); }
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img { transform: scale(1.08); }

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.category-card-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

/* ============================================================
   FILTERS SIDEBAR
   ============================================================ */
.filters-sidebar .card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

.filter-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-gallery { position: sticky; top: 80px; }

.main-product-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: #f8fafc;
}

.main-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.product-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.product-thumb.active,
.product-thumb:hover { border-color: var(--primary); }

.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { }

.product-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-rating { display: flex; align-items: center; gap: 8px; }

.price-block {
  background: #f8fafc;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
}

.price-main {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.qty-input {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  color: var(--dark);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: #fff; }

.qty-field {
  width: 50px;
  text-align: center;
  border: none;
  border-inline: 1px solid var(--border);
  font-weight: 600;
  height: 36px;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-table th {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary);
  background: #f8fafc;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border);
}

.cart-summary {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-summary-row:last-child { border-bottom: none; }

.cart-total-row {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.checkout-step-header {
  background: #f8fafc;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkout-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.checkout-step-title { font-weight: 700; margin: 0; }

.checkout-step-body { padding: 1.5rem; }

.payment-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.payment-option:hover,
.payment-option.selected {
  border-color: var(--primary);
  background: #eff6ff;
}

.shipping-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.shipping-option:hover,
.shipping-option.selected {
  border-color: var(--primary);
  background: #eff6ff;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
  border-color: var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.form-label .text-danger { font-size: 0.75rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  padding: 0.55rem 1.2rem;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-sidebar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  position: sticky;
  top: 90px;
}
.account-sidebar .list-group-item.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* Avatar */
.account-avatar-img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  display: block; margin: 0 auto;
}
.account-avatar-initials {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  font-size: 1.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  letter-spacing: 1px;
}

/* Sidebar nav links */
.account-nav-link {
  border-radius: 8px;
  color: #374151;
  padding: .5rem .75rem;
  transition: background .15s, color .15s;
  display: flex; align-items: center;
}
.account-nav-link:hover { background: #f3f4f6; color: var(--primary); }
.account-nav-link.active { background: var(--primary); color: #fff !important; }

/* Dashboard stat cards */
.acc-stat-card {
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  color: #fff;
  min-height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.acc-stat-blue   { background: linear-gradient(135deg,#3b82f6,#2563eb); }
.acc-stat-green  { background: linear-gradient(135deg,#10b981,#059669); }
.acc-stat-red    { background: linear-gradient(135deg,#ef4444,#dc2626); }
.acc-stat-yellow { background: linear-gradient(135deg,#f59e0b,#d97706); }
.acc-stat-value  { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.acc-stat-label  { font-size: .78rem; opacity: .85; margin-top: .25rem; }

.order-status-badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.newsletter-form .form-control {
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0.75rem 1rem;
}
.rtl-body .newsletter-form .form-control {
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer { background: #0f172a; }

.footer-title {
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.rtl-body .footer-title::after { left: auto; right: 0; }

.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #fff;
  padding-inline-start: 4px;
}

.footer-contact li {
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.social-links { display: flex; gap: 8px; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.85rem;
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-md);
  border-radius: 50% !important;
  padding: 0;
}
.rtl-body .back-to-top { right: auto; left: 25px; }
.back-to-top.visible { display: flex; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
  background: #f8fafc;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--secondary); }
.rtl-body .breadcrumb-item + .breadcrumb-item::before { content: "\\"; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-card {
  max-width: 480px;
  margin: 3rem auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--secondary);
  margin: 1.2rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   ORDER SUCCESS
   ============================================================ */
.order-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

/* ============================================================
   STARS
   ============================================================ */
.stars .fa-star,
.stars .fa-star-half-alt { color: #f59e0b; }
.stars .far.fa-star { color: #d1d5db; }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .product-gallery { position: static; }
  .cart-summary { position: static; }
  .checkout-step-body { padding: 1rem; }
}

@media (max-width: 767.98px) {
  .hero-slide { min-height: 300px; }
  .hero-title { font-size: 1.5rem; }
  .section-title { font-size: 1.4rem; }
  .auth-card { margin: 1rem; padding: 1.5rem; }
  .topbar { display: none !important; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp { animation: fadeInUp 0.5s ease forwards; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.btn-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; }

.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); transition: var(--transition); }

.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-pad { padding: 4rem 0; }
.section-pad-sm { padding: 2.5rem 0; }

.bg-light-gray { background: #f8fafc; }

.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* Sticky Sidebar */
.sticky-sidebar { position: sticky; top: 90px; }

/* Product loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
