/* ============================================================
   ShopVibe - Premium Ecommerce Template
   CSS Stylesheet
   Author: AymanInfotechs
   Email: aymaninfotechs@gmail.com
   ============================================================ */

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

/* ---- CSS Variables ---- */
:root {
  --primary:       #FF6B2C;
  --primary-dark:  #e05520;
  --primary-light: #fff0ea;
  --secondary:     #1A1A2E;
  --accent:        #0066FF;
  --white:         #ffffff;
  --light:         #f8f9fa;
  --light-2:       #f1f3f5;
  --border:        #e5e7eb;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --success:       #22c55e;
  --danger:        #ef4444;
  --warning:       #f59e0b;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 10px 40px rgba(0,0,0,.14);
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --transition:    all .3s cubic-bezier(.4,0,.2,1);
  --navbar-h:      72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
section { overflow: hidden; }

/* ---- Utilities ---- */
.text-primary   { color: var(--primary) !important; }
.text-accent    { color: var(--accent) !important; }
.text-muted     { color: var(--text-muted) !important; }
.bg-light-2     { background-color: var(--light-2) !important; }
.section-pad    { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.section-title  { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: .4rem; }
.section-sub    { font-size: 1rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.divider {
  display: inline-block; width: 52px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px; margin-bottom: .8rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: 'Inter', sans-serif; font-size: .92rem; font-weight: 600;
  border-radius: 50px; padding: .65rem 1.6rem; border: none;
  cursor: pointer; transition: var(--transition); line-height: 1;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 14px rgba(255,107,44,.35);
}
.btn-primary:hover {
  background: var(--primary-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,107,44,.45);
}
.btn-outline-primary {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary); color: var(--white); transform: translateY(-2px);
}
.btn-dark {
  background: var(--secondary); color: var(--white);
  box-shadow: 0 4px 14px rgba(26,26,46,.25);
}
.btn-dark:hover {
  background: #2d2d50; color: var(--white); transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-light:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-sm { padding: .45rem 1.1rem; font-size: .82rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1rem; }
.btn-icon {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; padding: 0;
  background: var(--light-2); color: var(--text); border: 1px solid var(--border);
  transition: var(--transition);
}
.btn-icon:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---- Badges ---- */
.badge-custom {
  display: inline-block; padding: .22rem .65rem;
  border-radius: 50px; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge-sale   { background: var(--danger); color: #fff; }
.badge-new    { background: var(--success); color: #fff; }
.badge-hot    { background: var(--warning); color: #fff; }
.badge-free   { background: var(--accent); color: #fff; }

/* ====================================
   NAVBAR
==================================== */
.navbar {
  height: var(--navbar-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 1050;
}
.navbar.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.98);
}
.navbar-brand .brand-logo {
  display: flex; align-items: center; gap: .5rem;
  font-size: 1.4rem; font-weight: 800; color: var(--text);
}
.navbar-brand .brand-logo span { color: var(--primary); }
.brand-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.navbar .nav-link {
  font-size: .88rem; font-weight: 500; color: var(--text) !important;
  padding: .45rem .85rem !important; border-radius: 8px;
  transition: var(--transition); position: relative;
}
.navbar .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--primary); border-radius: 2px;
  transition: var(--transition);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { left: .85rem; right: .85rem; }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--primary) !important; background: var(--primary-light); }
.navbar-icons { display: flex; align-items: center; gap: .5rem; }
.navbar-icons .nav-icon {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 1.05rem; border: 1px solid var(--border);
  transition: var(--transition); background: var(--light);
}
.navbar-icons .nav-icon:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--primary); color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.search-bar {
  position: relative; display: flex;
}
.search-bar input {
  border: 1.5px solid var(--border); border-radius: 50px;
  padding: .45rem 1rem .45rem 2.6rem; font-size: .85rem; width: 220px;
  outline: none; transition: var(--transition); background: var(--light);
  font-family: 'Inter', sans-serif;
}
.search-bar input:focus { border-color: var(--primary); background: var(--white); width: 260px; }
.search-bar .search-icon {
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.top-bar {
  background: var(--secondary); color: rgba(255,255,255,.85);
  font-size: .78rem; padding: .45rem 0; display: flex;
  align-items: center; justify-content: space-between;
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: var(--primary); }

/* ====================================
   HERO SECTION
==================================== */
.hero-section {
  min-height: calc(100vh - var(--navbar-h));
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 80px 0;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="30" fill="rgba(255,107,44,0.06)"/><circle cx="80" cy="80" r="40" fill="rgba(0,102,255,0.05)"/></svg>');
  background-size: 600px; pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,107,44,.18); color: var(--primary);
  border: 1px solid rgba(255,107,44,.3); border-radius: 50px;
  padding: .35rem 1rem; font-size: .8rem; font-weight: 600; margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: #fff;
  line-height: 1.1; margin-bottom: 1.2rem;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--primary), #ff9f43);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.72); margin-bottom: 2rem; max-width: 480px; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; }
.hero-img-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-img-wrap img {
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,.4);
  max-height: 540px; object-fit: cover; width: 100%;
}
.hero-float-card {
  position: absolute; background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  padding: .9rem 1.2rem; color: #fff;
  animation: floatCard 3s ease-in-out infinite;
}
.hero-float-card.card-1 { bottom: 20%; left: -10%; animation-delay: 0s; }
.hero-float-card.card-2 { top: 15%; right: -8%; animation-delay: 1.5s; }
.hero-float-card .fc-icon {
  width: 36px; height: 36px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem;
  margin-bottom: .35rem;
}
.hero-float-card .fc-icon.orange { background: rgba(255,107,44,.3); }
.hero-float-card .fc-icon.blue   { background: rgba(0,102,255,.3); }
.hero-float-card strong { font-size: .95rem; display: block; }
.hero-float-card span   { font-size: .72rem; opacity: .7; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ====================================
   CATEGORIES
==================================== */
.category-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  cursor: pointer; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .5s ease;
}
.category-card:hover img { transform: scale(1.07); }
.category-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.8) 0%, transparent 60%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 1.2rem;
}
.category-overlay h6 {
  font-size: .92rem; font-weight: 700; color: #fff; margin-bottom: .2rem;
}
.category-overlay span { font-size: .75rem; color: rgba(255,255,255,.75); }
.category-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-bottom: .65rem;
}
/* Fallback category card when no image */
.cat-card-fallback {
  border-radius: var(--radius); padding: 2rem 1rem; text-align: center;
  transition: var(--transition); cursor: pointer; background: var(--white);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
}
.cat-card-fallback:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.cat-card-fallback .cat-img {
  width: 100%; height: 160px; border-radius: var(--radius-sm);
  margin-bottom: 1rem; object-fit: cover;
}

/* ====================================
   PRODUCT CARDS
==================================== */
.product-card {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img-wrap {
  position: relative; overflow: hidden; background: var(--light-2);
  height: 240px; display: flex; align-items: center; justify-content: center;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 1rem;
  transition: transform .45s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
/* SVG placeholder */
.product-img-placeholder {
  width: 100%; height: 240px; display: flex; align-items: center;
  justify-content: center; background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  font-size: 4rem; color: var(--text-muted); flex-direction: column; gap: .5rem;
}
.product-img-placeholder span { font-size: .8rem; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.product-actions {
  position: absolute; top: .8rem; right: .8rem;
  display: flex; flex-direction: column; gap: .4rem;
  opacity: 0; transform: translateX(10px); transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-badge { position: absolute; top: .8rem; left: .8rem; z-index: 2; }
.product-body { padding: 1.1rem; }
.product-category { font-size: .72rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.product-name {
  font-size: .95rem; font-weight: 600; color: var(--text);
  margin-bottom: .5rem; line-height: 1.35; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-rating { display: flex; align-items: center; gap: .35rem; margin-bottom: .65rem; }
.product-rating .stars { color: var(--warning); font-size: .8rem; }
.product-rating .count { font-size: .75rem; color: var(--text-muted); }
.product-price { display: flex; align-items: center; gap: .7rem; margin-bottom: .85rem; }
.product-price .price-now { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.product-price .price-old { font-size: .88rem; color: var(--text-muted); text-decoration: line-through; }
.product-price .price-save { font-size: .72rem; background: var(--primary-light); color: var(--primary); padding: .15rem .5rem; border-radius: 50px; font-weight: 600; }
.btn-cart {
  width: 100%; background: var(--secondary); color: var(--white);
  border: none; border-radius: 8px; padding: .65rem; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: 'Inter', sans-serif;
}
.btn-cart:hover { background: var(--primary); }
.btn-cart.added { background: var(--success); }

/* ====================================
   SPECIAL OFFERS
==================================== */
.offers-section {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%);
  padding: 90px 0; position: relative; overflow: hidden;
}
.offers-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,107,44,.15) 0%, transparent 60%);
  pointer-events: none;
}
.offer-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,107,44,.2); color: var(--primary);
  border: 1px solid rgba(255,107,44,.35); border-radius: 50px;
  padding: .35rem 1rem; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.2rem;
}
.offer-title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 1rem;
}
.offer-title span { color: var(--primary); }
.offer-sub { color: rgba(255,255,255,.7); font-size: 1rem; margin-bottom: 1.8rem; }
.countdown { display: flex; gap: 1.2rem; margin-bottom: 2rem; }
.countdown-item {
  text-align: center; background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); padding: .9rem 1.2rem; min-width: 70px;
}
.countdown-item .time { font-size: 2rem; font-weight: 900; color: #fff; display: block; line-height: 1; }
.countdown-item .label { font-size: .65rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }
.offer-img-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 1rem; height: 380px;
}
.offer-img-item {
  border-radius: var(--radius-sm); overflow: hidden;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.offer-img-item.large { grid-row: span 2; }
.offer-img-item img { width: 100%; height: 100%; object-fit: cover; }

/* ====================================
   FEATURES STRIP
==================================== */
.features-strip { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-item { display: flex; align-items: center; gap: 1rem; }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  background: var(--primary-light); color: var(--primary);
}
.feature-item h6 { font-size: .9rem; font-weight: 700; margin-bottom: .1rem; }
.feature-item p  { font-size: .78rem; color: var(--text-muted); margin: 0; }

/* ====================================
   TESTIMONIALS
==================================== */
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial-stars { color: var(--warning); font-size: .9rem; margin-bottom: .8rem; }
.testimonial-text { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; font-weight: 700; flex-shrink: 0;
}
.author-name  { font-size: .88rem; font-weight: 700; }
.author-role  { font-size: .75rem; color: var(--text-muted); }

/* ====================================
   NEWSLETTER
==================================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 0;
}
.newsletter-title { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.newsletter-sub   { color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 1.5rem; }
.newsletter-form  { display: flex; gap: .6rem; max-width: 440px; }
.newsletter-form input {
  flex: 1; border: none; border-radius: 50px; padding: .75rem 1.4rem;
  font-size: .9rem; outline: none; font-family: 'Inter', sans-serif;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form button {
  background: var(--secondary); color: #fff; border: none; border-radius: 50px;
  padding: .75rem 1.6rem; font-weight: 700; cursor: pointer; transition: var(--transition);
  white-space: nowrap; font-family: 'Inter', sans-serif;
}
.newsletter-form button:hover { background: #2d2d50; }

/* ====================================
   FOOTER
==================================== */
.footer {
  background: var(--secondary); color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.footer-brand span { color: var(--primary); }
.footer-desc  { font-size: .85rem; line-height: 1.7; margin-bottom: 1.5rem; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: .5rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .85rem; transition: var(--transition);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-title { font-size: .92rem; font-weight: 700; color: #fff; margin-bottom: 1.2rem; letter-spacing: .04em; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a  { font-size: .85rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .7rem;
}
.footer-contact li i { color: var(--primary); margin-top: .15rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; margin-top: 3rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }
.footer-bottom a { color: var(--primary); }
.payment-icons { display: flex; gap: .5rem; align-items: center; }
.payment-icon {
  background: rgba(255,255,255,.12); border-radius: 6px;
  padding: .25rem .6rem; font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.15);
}

/* ====================================
   SHOP PAGE
==================================== */
.shop-hero {
  background: linear-gradient(135deg, var(--light-2), var(--white));
  padding: 50px 0; border-bottom: 1px solid var(--border);
}
.shop-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: .3rem; }
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb-item { font-size: .84rem; color: var(--text-muted); }
.breadcrumb-item.active { color: var(--primary); font-weight: 600; }
.breadcrumb-item+.breadcrumb-item::before { color: var(--text-muted); }
.filter-sidebar { position: sticky; top: calc(var(--navbar-h) + 20px); }
.filter-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.2rem;
}
.filter-title { font-size: .92rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.filter-option { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.filter-option label { font-size: .85rem; cursor: pointer; display: flex; align-items: center; gap: .5rem; color: var(--text); }
.filter-option .count { font-size: .75rem; color: var(--text-muted); }
.filter-option input[type=checkbox] { accent-color: var(--primary); width: 15px; height: 15px; }
.price-range-wrap { padding: .5rem 0; }
.price-range-wrap input[type=range] { width: 100%; accent-color: var(--primary); }
.price-values { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-muted); }
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; flex-wrap: wrap; gap: .7rem;
}
.shop-toolbar .results { font-size: .85rem; color: var(--text-muted); }
.shop-toolbar select {
  border: 1px solid var(--border); border-radius: 8px; padding: .4rem .8rem;
  font-size: .85rem; color: var(--text); outline: none; background: var(--white);
  font-family: 'Inter', sans-serif; cursor: pointer;
}
.view-toggle button {
  border: 1px solid var(--border); background: var(--white); border-radius: 6px;
  padding: .35rem .65rem; color: var(--text-muted); cursor: pointer; transition: var(--transition);
}
.view-toggle button.active,
.view-toggle button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page-link {
  border-radius: 8px; border: 1.5px solid var(--border);
  color: var(--text); font-size: .85rem; font-weight: 500;
  padding: .5rem .85rem; margin: 0 .15rem; transition: var(--transition);
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ====================================
   PRODUCT DETAIL PAGE
==================================== */
.product-gallery { position: sticky; top: calc(var(--navbar-h) + 20px); }
.gallery-main {
  border-radius: var(--radius); overflow: hidden; background: var(--light-2);
  height: 440px; display: flex; align-items: center; justify-content: center;
  margin-bottom: .8rem; cursor: zoom-in;
}
.gallery-main img { max-height: 100%; object-fit: contain; padding: 1.5rem; width: 100%; }
.gallery-thumbs { display: flex; gap: .6rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--border); cursor: pointer; background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: .3rem; }
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--primary); }
.product-detail-name { font-size: 1.6rem; font-weight: 800; margin-bottom: .7rem; line-height: 1.25; }
.product-detail-price .price-now { font-size: 2rem; font-weight: 900; color: var(--primary); }
.product-detail-price .price-old { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; margin-left: .5rem; }
.product-detail-price .price-badge {
  background: var(--danger); color: #fff; border-radius: 50px;
  padding: .2rem .7rem; font-size: .8rem; font-weight: 700; margin-left: .5rem;
}
.qty-selector {
  display: flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--border); border-radius: 50px; padding: .2rem;
  width: fit-content;
}
.qty-selector button {
  width: 36px; height: 36px; border: none; background: transparent;
  border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--text);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.qty-selector button:hover { background: var(--primary); color: #fff; }
.qty-selector span { min-width: 36px; text-align: center; font-weight: 700; font-size: .95rem; }
.spec-table td, .spec-table th { font-size: .85rem; padding: .6rem .8rem; border-color: var(--border); vertical-align: middle; }
.spec-table th { font-weight: 600; background: var(--light-2); width: 40%; color: var(--text-muted); }
.color-swatches { display: flex; gap: .5rem; align-items: center; }
.color-swatch {
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  border: 3px solid transparent; transition: var(--transition);
}
.color-swatch:hover, .color-swatch.active { border-color: var(--primary); transform: scale(1.1); }
.size-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.size-btn {
  padding: .35rem .85rem; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .82rem; font-weight: 600; cursor: pointer; transition: var(--transition); background: var(--white);
  font-family: 'Inter', sans-serif;
}
.size-btn:hover, .size-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.stock-indicator { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.5} }
.product-tabs .nav-tabs .nav-link {
  color: var(--text-muted); font-weight: 500; font-size: .9rem;
  border: none; border-bottom: 2px solid transparent; padding: .75rem 1.2rem;
  border-radius: 0; transition: var(--transition);
}
.product-tabs .nav-tabs .nav-link.active,
.product-tabs .nav-tabs .nav-link:hover {
  color: var(--primary); border-bottom-color: var(--primary); background: transparent;
}
.product-tabs .nav-tabs { border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.product-tabs .tab-content { font-size: .9rem; color: var(--text-muted); line-height: 1.8; }

/* ====================================
   CART PAGE
==================================== */
.cart-section { padding: 60px 0; background: var(--light-2); min-height: 70vh; }
.cart-table-wrap {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm);
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: var(--light-2); padding: 1rem 1.2rem;
  font-size: .78rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--border);
}
.cart-table td { padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-item-img {
  width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: contain;
  background: var(--light-2); padding: .4rem;
}
.cart-item-img-placeholder {
  width: 70px; height: 70px; border-radius: var(--radius-sm);
  background: var(--light-2); display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.cart-item-name { font-size: .9rem; font-weight: 600; margin-bottom: .2rem; }
.cart-item-sku  { font-size: .75rem; color: var(--text-muted); }
.cart-qty {
  display: flex; align-items: center; gap: .3rem;
  border: 1.5px solid var(--border); border-radius: 8px; padding: .2rem .3rem; width: fit-content;
}
.cart-qty button {
  width: 28px; height: 28px; border: none; background: transparent;
  border-radius: 6px; cursor: pointer; font-size: 1.1rem; display: flex;
  align-items: center; justify-content: center; transition: var(--transition);
}
.cart-qty button:hover { background: var(--primary); color: #fff; }
.cart-qty input {
  width: 40px; text-align: center; border: none; outline: none;
  font-size: .9rem; font-weight: 700; font-family: 'Inter', sans-serif; background: transparent;
}
.cart-price { font-size: 1rem; font-weight: 700; color: var(--primary); }
.cart-remove {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  padding: .3rem; border-radius: 6px; transition: var(--transition); font-size: 1rem;
}
.cart-remove:hover { color: var(--danger); background: #fef2f2; }
.cart-summary {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 1.5rem; box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--navbar-h) + 20px);
}
.cart-summary h5   { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.4rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.summary-row       { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; font-size: .9rem; }
.summary-row.total { font-size: 1.1rem; font-weight: 800; color: var(--primary); border-top: 1px solid var(--border); padding-top: .8rem; margin-top: .3rem; }
.summary-row .label { color: var(--text-muted); }
.coupon-input { display: flex; gap: .4rem; margin: 1rem 0; }
.coupon-input input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 8px; padding: .55rem .9rem;
  font-size: .85rem; outline: none; font-family: 'Inter', sans-serif;
}
.coupon-input input:focus { border-color: var(--primary); }
.coupon-input button {
  background: var(--secondary); color: #fff; border: none; border-radius: 8px;
  padding: .55rem 1rem; font-size: .82rem; font-weight: 700; cursor: pointer; transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.coupon-input button:hover { background: var(--primary); }
.empty-cart { text-align: center; padding: 5rem 2rem; }
.empty-cart .empty-icon { font-size: 5rem; color: var(--border); margin-bottom: 1rem; }
.empty-cart h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.empty-cart p  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ====================================
   CHECKOUT PAGE
==================================== */
.checkout-section { padding: 60px 0; background: var(--light-2); min-height: 70vh; }
.checkout-card {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 2rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.checkout-card h5 { font-size: 1rem; font-weight: 800; margin-bottom: 1.4rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.form-label-custom { font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; display: block; }
.form-control-custom {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: .65rem .95rem; font-size: .9rem; outline: none;
  transition: var(--transition); font-family: 'Inter', sans-serif; color: var(--text);
}
.form-control-custom:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,44,.12); }
.payment-method {
  display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer;
  transition: var(--transition); margin-bottom: .7rem;
}
.payment-method:hover,
.payment-method.active { border-color: var(--primary); background: var(--primary-light); }
.payment-method input[type=radio] { accent-color: var(--primary); }
.payment-method label { cursor: pointer; font-size: .88rem; font-weight: 500; flex: 1; }
.payment-icon-img { font-size: 1.3rem; }
.order-item   { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.order-item-img {
  width: 56px; height: 56px; border-radius: 8px; background: var(--light-2);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.order-item-name { font-size: .85rem; font-weight: 600; }
.order-item-qty  { font-size: .75rem; color: var(--text-muted); }
.order-item-price { font-size: .9rem; font-weight: 700; color: var(--primary); margin-left: auto; }

/* ====================================
   CONTACT PAGE
==================================== */
.contact-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d2d50 100%);
  padding: 80px 0; color: #fff; text-align: center;
}
.contact-hero h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: .5rem; }
.contact-hero p  { color: rgba(255,255,255,.7); font-size: 1rem; }
.contact-section { padding: 80px 0; }
.contact-card {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 2rem; box-shadow: var(--shadow-sm);
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 48px; height: 48px; background: var(--primary-light); color: var(--primary);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.contact-info-item h6   { font-size: .88rem; font-weight: 700; margin-bottom: .2rem; }
.contact-info-item span { font-size: .85rem; color: var(--text-muted); }
.contact-form .form-control-custom { margin-bottom: 1rem; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; height: 300px; background: var(--light-2); display: flex; align-items: center; justify-content: center; margin-top: 1.5rem; }
.map-placeholder { text-align: center; color: var(--text-muted); }
.map-placeholder i { font-size: 3rem; margin-bottom: .5rem; color: var(--primary); }

/* ====================================
   SCROLL TO TOP
==================================== */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; background: var(--primary); color: #fff;
  border: none; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(255,107,44,.4); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px); transition: var(--transition); pointer-events: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ====================================
   TOAST NOTIFICATION
==================================== */
.toast-container { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 9999; }
.toast-notification {
  background: var(--secondary); color: #fff; border-radius: 50px;
  padding: .7rem 1.5rem; font-size: .88rem; font-weight: 500;
  display: flex; align-items: center; gap: .5rem; box-shadow: var(--shadow-lg);
  animation: slideUp .3s ease; white-space: nowrap;
}
.toast-notification .toast-icon { color: var(--success); }
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* ====================================
   RESPONSIVE
==================================== */
@media (max-width: 991px) {
  .hero-float-card { display: none; }
  .filter-sidebar { position: static; }
  .product-gallery { position: static; }
  .hero-stats { gap: 1rem; }
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }
}
@media (max-width: 767px) {
  .section-pad { padding: 60px 0; }
  .hero-section { padding: 60px 0; text-align: center; }
  .hero-sub { max-width: 100%; margin: 0 auto 1.5rem; }
  .hero-stats { justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input,
  .newsletter-form button { border-radius: 8px; }
  .countdown { gap: .6rem; }
  .countdown-item { min-width: 56px; padding: .7rem .8rem; }
  .countdown-item .time { font-size: 1.5rem; }
  .top-bar .hide-mobile { display: none !important; }
  .search-bar input { width: 160px; }
  .search-bar input:focus { width: 180px; }
  .cart-table th:nth-child(4),
  .cart-table td:nth-child(4) { display: none; }
  .offer-img-grid { height: 280px; }
  .checkout-card { padding: 1.2rem; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .cart-table th:nth-child(5),
  .cart-table td:nth-child(5) { display: none; }
}

/* ====================================
   LOADING SPINNER
==================================== */
.page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease, visibility .4s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ====================================
   WISHLIST BUTTON ACTIVE STATE
==================================== */
.btn-icon.wished { background: #fef2f2; color: var(--danger); border-color: var(--danger); }

/* ====================================
   MISC ANIMATIONS
==================================== */
.fade-in-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
