/* ===================================================
   Fany Hosiery - Premium E-Commerce Stylesheet
   =================================================== */

:root {
  --primary: #1C2B4A;
  --primary-light: #2d4275;
  --primary-deep: #111e35;
  --accent: #C9913D;
  --accent-light: #e0a84e;
  --accent-dark: #a87232;
  --accent-pale: rgba(201,145,61,.1);
  --light-bg: #F8F6F2;
  --light-bg2: #f0f2f7;
  --white: #FFFFFF;
  --text: #1a1a2e;
  --text-body: #374151;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --border-dark: #D1D5DB;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);
  --shadow-accent: 0 8px 24px rgba(201,145,61,.3);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-body);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

.section-pad { padding: 88px 0; }
.section-pad-sm { padding: 52px 0; }

/* ---- Buttons ---- */
.btn-primary-custom {
  background: var(--btn-bg, var(--accent));
  color: var(--btn-text, #ffffff);
  border: 2px solid var(--btn-bg, var(--accent));
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
}
.btn-primary-custom:hover {
  background: var(--btn-bg-hover, var(--accent-dark));
  border-color: var(--btn-bg-hover, var(--accent-dark));
  color: var(--btn-text, #ffffff);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-white-custom {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(4px);
}
.btn-white-custom:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-2px);
}

/* ---- Section Headers ---- */
.section-header { margin-bottom: 52px; }
.badge-tag {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent);
  border: 1px solid rgba(201,145,61,.25);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
}
.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  letter-spacing: -.3px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 540px;
  font-size: 15px;
  line-height: 1.75;
}
.text-center .section-header p,
.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 14px 0 22px;
  border-radius: 2px;
}
.text-center .section-divider { margin: 14px auto 22px; }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--primary-deep);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  padding: 9px 0;
  letter-spacing: .2px;
  font-family: 'Poppins', sans-serif;
}
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--accent); }
.top-bar .top-bar-links a {
  margin-left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---- Header ---- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.logo img { height: 100%; max-height: 100%; width: auto; object-fit: contain; display: block; }

.logo {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.logo-text .brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.logo-text .brand-sub {
  font-size: 9.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

/* Search */
.header-search { flex: 1; max-width: 480px; }
.search-wrap { position: relative; }
.search-wrap input {
  width: 100%;
  padding: 11px 52px 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  background: var(--light-bg);
  transition: var(--transition);
  outline: none;
  font-family: 'Poppins', sans-serif;
}
.search-wrap input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,145,61,.1);
}
.search-wrap button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-wrap button:hover { background: var(--accent-dark); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.header-action-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  color: var(--text);
  font-size: 10.5px;
  gap: 3px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.header-action-btn:hover {
  background: var(--light-bg);
  color: var(--accent);
}
.header-action-btn i { font-size: 19px; }
.badge-count {
  position: absolute;
  top: 4px;
  right: 8px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: 'Poppins', sans-serif;
}

/* ---- Navigation ---- */
.main-nav { background: var(--primary); }
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px 18px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: var(--transition);
  position: relative;
  font-family: 'Poppins', sans-serif;
}
.nav-list > li > a:hover,
.nav-list > li.active > a { color: var(--accent); }
.nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-list > li:hover > a::after,
.nav-list > li.active > a::after { width: 70%; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  border-top: 3px solid var(--accent);
}
.has-dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu-custom a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 400;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
.dropdown-menu-custom a:hover {
  background: var(--light-bg);
  color: var(--accent);
  padding-left: 26px;
}
.dropdown-menu-custom a i { width: 16px; color: var(--accent); }

/* ---- Hero Slider ---- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .3;
}
/* Decorative rings */
.hero-slide::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 60px solid rgba(201,145,61,.06);
  pointer-events: none;
}
.hero-slide::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.04);
  pointer-events: none;
}
/* Image-only slide — no overlay, no rings, full image */
.hero-slide.image-only {
  min-height: unset;
  background: #000;
  display: block;
  line-height: 0;
}
.hero-slide.image-only::before,
.hero-slide.image-only::after { display: none; }
.hero-slide.image-only img.hero-full-img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  padding: 70px 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: white;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}
.hero-content h1 {
  font-size: 3.6rem;
  color: white;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -.5px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  line-height: 1.8;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: white;
  background: rgba(255,255,255,.12);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after { font-size: 15px; font-weight: 800; }

.hero-slider .swiper-pagination-bullet {
  background: rgba(255,255,255,.5);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: var(--transition);
}
.hero-slider .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}

/* ---- Features Bar ---- */
.features-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 20px 26px 0;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,145,61,.12);
  border: 1.5px solid rgba(201,145,61,.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
  transition: all .25s;
}
.feature-item:hover .feature-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.feature-text h6 {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 3px;
}
.feature-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ---- Category Grid ---- */
.category-card-link { text-decoration: none; display: block; }

/* Horizontal one-line scroll row */
.btn-whatsapp-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(37,211,102,.32);
}
.btn-whatsapp-order:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.42); color:#fff; }
.btn-whatsapp-order i { font-size: 20px; }

.category-scroll {
  display: flex;
  flex-wrap: nowrap;
  justify-content: safe center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent, #C9913D) transparent;
}
.category-scroll::-webkit-scrollbar { height: 6px; }
.category-scroll::-webkit-scrollbar-track { background: transparent; }
.category-scroll::-webkit-scrollbar-thumb {
  background: var(--accent, #C9913D);
  border-radius: 6px;
}
.category-scroll-item {
  flex: 0 0 auto;
  width: calc((100% - 7 * 8px) / 8); /* 8 cards fit on wide screens */
  min-width: 104px;
  scroll-snap-align: start;
}
@media (max-width: 991px) {
  .category-scroll-item { min-width: 100px; width: auto; }
}
@media (max-width: 576px) {
  .category-scroll { gap: 4px; }
  .category-scroll-item { min-width: 90px; }
}

.category-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform .22s ease;
  box-shadow: none;
  min-height: 0;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

/* Icon / image badge */
.cat-icon-badge {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: #f1f5f9 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 11px;
  transition: transform .22s ease, box-shadow .22s ease;
  flex-shrink: 0;
  overflow: hidden;
}
.category-card:hover .cat-icon-badge {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* Category name */
.cat-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 5px;
}

/* Shop now link */
.cat-card-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.category-card:hover .cat-card-sub { opacity: 1; transform: translateY(0); }

@media (max-width: 576px) {
  .category-card { padding: 8px 6px 8px; }
  .cat-icon-badge { width: 82px; height: 82px; font-size: 1.9rem; border-radius: 20px; }
  .cat-card-name { font-size: 13px; }
}

/* ---- Product Cards ---- */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light-bg);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

/* Badges */
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.badge-sale {
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: .5px;
  font-family: 'Poppins', sans-serif;
}
.badge-new {
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: .5px;
  font-family: 'Poppins', sans-serif;
}
.badge-hot {
  background: #EF4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
}

/* Hover action buttons */
.product-actions {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  transform: translateX(12px);
  transition: var(--transition);
  z-index: 2;
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-action-btn {
  width: 38px;
  height: 38px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}
.product-action-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: var(--shadow-accent);
}
.product-action-btn.in-wishlist {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Hover overlay: two-button */
.product-add-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 2;
  overflow: hidden;
}
.product-card:hover .product-add-overlay { transform: translateY(0); }
.pcard-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 11px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background .18s;
  white-space: nowrap;
}
.pcard-atc { background: var(--primary); color: #fff; }
.pcard-atc:hover { background: #162039; color: #fff; }
.pcard-buy { background: var(--accent); color: #fff; }
.pcard-buy:hover { background: #b07e32; color: #fff; }
.pcard-divider { width: 1px; background: rgba(255,255,255,.2); flex-shrink: 0; }

/* Product body */
.product-body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 10.5px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}
.product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.45;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--accent); }

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.product-rating .stars { color: #F59E0B; font-size: 11.5px; letter-spacing: 1px; }
.product-rating .count { font-size: 11.5px; color: var(--text-muted); font-family: 'Poppins', sans-serif; }

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.price-current {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  letter-spacing: -.3px;
}
.price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-family: 'Poppins', sans-serif;
}
.price-discount {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: rgba(16,185,129,.1);
  padding: 3px 8px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
}

/* ---- Promo Banner ---- */
.promo-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
}
.promo-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.promo-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,43,74,.66);
}
.promo-banner-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 44px 40px;
}
.promo-banner-content .tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
}
.promo-banner-content h3 {
  color: white;
  font-size: 1.7rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.promo-banner-content p {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  margin-bottom: 22px;
  font-family: 'Poppins', sans-serif;
}

/* ---- Why Choose Us cards ---- */
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
  text-align: center;
}
.why-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.why-icon {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 28px;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(28,43,74,.2);
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--accent);
  color: white;
  transform: rotate(-5deg);
}
.why-card h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
}
.why-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ---- Stats ---- */
.stats-section {
  background: var(--primary-deep);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 50px solid rgba(255,255,255,.03);
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 40px solid rgba(201,145,61,.08);
}
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .3px;
  font-family: 'Poppins', sans-serif;
}
.stat-separator {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.1);
  margin: auto;
  display: none;
}
@media (min-width: 768px) { .stat-separator { display: block; } }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 5rem;
  color: var(--accent);
  opacity: .12;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.testimonial-stars { color: #F59E0B; margin-bottom: 16px; font-size: 13px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-info h6 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--primary);
}
.testimonial-info small {
  color: var(--text-muted);
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
}

/* ---- Newsletter ---- */
.newsletter-section {
  background: var(--primary);
  padding: 72px 0;
}
.newsletter-section .badge-tag {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.2);
}
.newsletter-section h2 { color: white; }
.newsletter-section p { color: rgba(255,255,255,.7); }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  outline: none;
  font-family: 'Poppins', sans-serif;
  background: rgba(255,255,255,.95);
}
.newsletter-form button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  letter-spacing: .5px;
}
.newsletter-form button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,.7);
  padding-top: 72px;
}
.footer-brand .logo-icon { background: rgba(255,255,255,.08); }
.footer-brand .brand-name { color: white; }
.footer-about {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.6);
  margin: 18px 0 22px;
  font-family: 'Poppins', sans-serif;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: white; }

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  letter-spacing: .3px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-links a i { font-size: 11px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}
.footer-contact-item i {
  color: var(--accent);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  margin-top: 52px;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  font-family: 'Poppins', sans-serif;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Shop Page ---- */
.page-banner {
  background: var(--primary-deep);
  padding: 44px 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.04);
}
.page-banner h1 { color: white; font-size: 2.1rem; margin: 0 0 6px; }
.breadcrumb-custom { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); list-style: none; padding: 0; margin: 0; font-family: 'Poppins', sans-serif; }
.breadcrumb-custom a { color: rgba(255,255,255,.6); }
.breadcrumb-custom a:hover { color: var(--accent); }
.breadcrumb-custom li::before { content: '/'; margin-right: 8px; }
.breadcrumb-custom li:first-child::before { display: none; }

.shop-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-section {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child { border-bottom: none; }
.sidebar-title {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.sidebar-title i { font-size: 11px; transition: var(--transition); }

.category-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-body);
  border-bottom: 1px solid rgba(0,0,0,.04);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
.category-filter-item:hover { color: var(--accent); }
.category-filter-item.active { color: var(--accent); font-weight: 600; }
.category-filter-item .count {
  background: var(--light-bg);
  color: var(--text-muted);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 50px;
}

.price-range-inputs { display: flex; gap: 8px; align-items: center; }
.price-input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 13px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
.price-input:focus { border-color: var(--accent); outline: none; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.results-count { font-size: 13.5px; color: var(--text-muted); font-family: 'Poppins', sans-serif; }
.sort-select {
  padding: 9px 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-body);
  cursor: pointer;
  outline: none;
  background: white;
  font-family: 'Poppins', sans-serif;
}
.sort-select:focus { border-color: var(--accent); }

/* ---- Product Detail ---- */
.product-gallery { position: sticky; top: 90px; }
.main-image-wrap {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-bg);
  margin-bottom: 12px;
  cursor: zoom-in;
}
.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.main-image-wrap:hover img { transform: scale(1.04); }

.thumb-gallery { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb-item {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.thumb-item.active, .thumb-item:hover { border-color: var(--accent); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.product-sku { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; font-family: 'Poppins', sans-serif; }
.product-detail-name { font-size: 1.9rem; margin-bottom: 12px; }
.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.product-detail-rating .stars { color: #F59E0B; font-size: 15px; }
.product-detail-price {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.detail-price-current { font-size: 2.1rem; font-weight: 700; color: var(--primary); font-family: 'Poppins', sans-serif; }
.detail-price-original { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; font-family: 'Poppins', sans-serif; }
.detail-price-discount {
  background: rgba(16,185,129,.12);
  color: var(--success);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.option-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}
.size-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.size-btn {
  position: relative;
  min-width: 46px;
  height: 46px;
  border: 1.5px solid var(--border-dark);
  background: white;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
}
.size-btn:hover { border-color: var(--accent); color: var(--accent); }
.size-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.size-btn:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.size-off-tag {
  position: absolute;
  top: -8px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 6px;
  white-space: nowrap;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 44px;
  height: 44px;
  background: var(--light-bg);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--primary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--primary); color: white; }
.qty-input {
  width: 58px;
  height: 44px;
  border: none;
  border-left: 1.5px solid var(--border-dark);
  border-right: 1.5px solid var(--border-dark);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

.product-meta-list { list-style: none; padding: 0; margin: 20px 0; }
.product-meta-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(0,0,0,.04);
  font-family: 'Poppins', sans-serif;
}
.product-meta-list li strong { min-width: 100px; color: var(--primary); font-weight: 600; }

/* ---- Cart ---- */
.cart-table { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.cart-table table { margin: 0; }
.cart-table thead th {
  background: var(--primary);
  color: white;
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 16px;
  border: none;
  font-family: 'Poppins', sans-serif;
}
.cart-table tbody td { padding: 16px; vertical-align: middle; border-color: var(--border); }
.cart-product-info { display: flex; align-items: center; gap: 14px; }
.cart-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light-bg);
}
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-name { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 3px; font-family: 'Poppins', sans-serif; }
.cart-product-meta { font-size: 12px; color: var(--text-muted); font-family: 'Poppins', sans-serif; }

.cart-summary-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  font-family: 'Poppins', sans-serif;
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.coupon-form { display: flex; gap: 8px; margin-top: 14px; }
.coupon-input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: 50px;
  font-size: 13px;
  text-transform: uppercase;
  outline: none;
  font-family: 'Poppins', sans-serif;
}
.coupon-input:focus { border-color: var(--accent); }

/* ---- Checkout ---- */
.checkout-section-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.checkout-section-title .step-num {
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}

.form-label-custom {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
  font-family: 'Poppins', sans-serif;
}
.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
  background: white;
  font-family: 'Poppins', sans-serif;
}
.form-control-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,145,61,.1);
}

.payment-option {
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.payment-option:hover { border-color: var(--accent); }
.payment-option.selected { border-color: var(--primary); background: rgba(28,43,74,.04); }
.payment-option input[type=radio] { accent-color: var(--primary); }

/* ---- Order Status ---- */
.order-timeline { position: relative; padding-left: 28px; }
.order-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--border);
}
.timeline-item.done .timeline-dot { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.timeline-item.active .timeline-dot { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.timeline-title { font-size: 14px; font-weight: 600; color: var(--primary); font-family: 'Poppins', sans-serif; }
.timeline-date { font-size: 12px; color: var(--text-muted); font-family: 'Poppins', sans-serif; }

/* ---- Auth pages ---- */
.auth-page {
  min-height: 100vh;
  background: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 34px; }
.auth-title { font-size: 1.7rem; text-align: center; margin-bottom: 6px; }
.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}
.auth-divider {
  text-align: center;
  margin: 22px 0;
  position: relative;
  color: var(--text-muted);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span { background: white; padding: 0 14px; position: relative; z-index: 1; }

/* ---- Upgraded split auth layout ---- */
.auth-split {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 940px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 600px;
}
.auth-brand-panel {
  background: var(--primary);
  border-right: 4px solid var(--accent);
  padding: 96px 42px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-brand-logo { display: flex; align-items: center; gap: 12px; position: absolute; top: 42px; left: 42px; z-index: 1; }
.auth-brand-logo .lg-ic {
  width: 50px; height: 50px;
  background: var(--accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
  font-family: 'Poppins', sans-serif;
}
.auth-brand-logo .lg-name { font-size: 20px; font-weight: 700; line-height: 1.1; }
.auth-brand-logo .lg-sub { font-size: 11px; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; }
.auth-brand-headline {
  position: relative; z-index: 1;
  margin: 36px 0 8px;
}
.auth-brand-headline h2 { font-size: 1.9rem; font-weight: 700; line-height: 1.2; color: #fff; }
.auth-brand-headline p { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 10px; line-height: 1.6; }
.auth-feature-list { position: relative; z-index: 1; margin-top: 30px; list-style: none; padding: 0; }
.auth-feature-list li {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.auth-feature-list li i {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
}
.auth-form-panel { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-form-panel .auth-title { text-align: left; }
.auth-form-panel .auth-subtitle { text-align: left; margin-bottom: 26px; }

/* Google button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  background: #fff;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.btn-google:hover {
  border-color: #C9913D;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transform: translateY(-1px);
  color: var(--text);
}
.btn-google img, .btn-google svg { width: 19px; height: 19px; }

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; max-width: 460px; min-height: 0; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { padding: 40px 32px; }
}
@media (max-width: 480px) {
  .auth-form-panel { padding: 32px 22px; }
}

/* ---- Order status tracker ---- */
.otrack {
  padding: 20px 18px 6px;
  border-bottom: 1px solid var(--border);
  background: var(--light-bg);
}
.otrack-steps {
  display: flex;
  align-items: flex-start;
}
.otrack-step {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.otrack-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-dark, #d8dce3);
  color: #b6bdc8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  position: relative;
  z-index: 2;
  transition: all .25s;
}
.otrack-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 7px;
  line-height: 1.2;
}
.otrack-bar {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: var(--border-dark, #d8dce3);
  z-index: 1;
}
/* done */
.otrack-step.is-done .otrack-dot {
  background: var(--success, #2e9c5a);
  border-color: var(--success, #2e9c5a);
  color: #fff;
}
.otrack-step.is-done .otrack-bar { background: var(--success, #2e9c5a); }
.otrack-step.is-done .otrack-label { color: var(--text); }
/* active */
.otrack-step.is-active .otrack-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px var(--accent-pale, rgba(201,145,61,.2));
}
.otrack-step.is-active .otrack-label { color: var(--accent); font-weight: 700; }

.otrack-cancelled {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dc2626;
  font-weight: 600;
  font-size: 13.5px;
}
.otrack-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--text);
  padding-bottom: 6px;
}
.otrack-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.otrack-btn i { font-size: 10px; }
.otrack-btn:hover { color: var(--accent-dark, var(--accent)); }
.otrack-toggle { background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; }

/* live status pill */
.otrack-live {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--success, #2e9c5a);
  border-radius: 8px;
  font-size: 12.5px;
}
.otrack-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success, #2e9c5a);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(46,156,90,.5);
  animation: otrack-pulse 1.8s infinite;
}
@keyframes otrack-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,156,90,.5); }
  70% { box-shadow: 0 0 0 7px rgba(46,156,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,156,90,0); }
}
.otrack-live-txt { color: var(--text); }
.otrack-etd { color: var(--text-muted); margin-left: auto; }

/* activity timeline */
.otrack-timeline {
  margin-top: 12px;
  padding: 14px 4px 6px 6px;
  border-top: 1px dashed var(--border);
}
.otrack-tl-item {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}
.otrack-tl-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px; top: 14px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.otrack-tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #cbd2dc;
  flex-shrink: 0;
  margin-top: 2px;
  z-index: 1;
}
.otrack-tl-item.is-latest .otrack-tl-dot {
  background: var(--success, #2e9c5a);
  box-shadow: 0 0 0 3px rgba(46,156,90,.18);
}
.otrack-tl-act { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.4; }
.otrack-tl-item.is-latest .otrack-tl-act { color: var(--primary); }
.otrack-tl-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.otrack-tl-meta span { margin-left: 8px; }

@media (max-width: 480px) {
  .otrack-label { font-size: 10px; }
  .otrack-dot { width: 30px; height: 30px; font-size: 11px; }
  .otrack-bar { top: 14px; }
}

/* ---- Breadcrumb ---- */
.breadcrumb { margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,.65); font-size: 13px; font-family: 'Poppins', sans-serif; }
.breadcrumb-item.active { color: rgba(255,255,255,.85); font-size: 13px; font-family: 'Poppins', sans-serif; }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---- Utility ---- */
.text-accent { color: var(--accent) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }
.bg-light-custom { background: var(--light-bg) !important; }

.spinner-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 2.4rem; }
  .hero-slide { min-height: 420px; }
  .header-search { max-width: 280px; }
  .section-pad { padding: 60px 0; }
  .main-nav { display: none; }
  .mobile-nav-toggle { display: block !important; }
}

@media (max-width: 767px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-slide { min-height: 340px; }
  .hero-content p { font-size: 14px; }
  .section-header h2 { font-size: 1.75rem; }
  .header-search { display: none; }
  .newsletter-form { flex-direction: column; }
  .auth-card { padding: 36px 24px; }
  .logo-text { display: none; }
  /* features-bar handled separately at 576px with horizontal scroll */
  .stat-number { font-size: 2.2rem; }
  .why-card { padding: 28px 20px; }
  .promo-banner-content { padding: 32px 24px; }
}

/* ---- Mobile Nav ---- */
.mobile-nav-toggle { display: none; }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  background: var(--primary);
  z-index: 2001;
  transform: translateX(-100%);
  transition: var(--transition);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-close {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}
.mobile-nav-list { list-style: none; padding: 12px 0; margin: 0; }
.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
.mobile-nav-list li a:hover { background: rgba(255,255,255,.08); color: var(--accent); }
.mobile-search { padding: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-search input {
  width: 100%;
  padding: 11px 16px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

/* ---- Product tabs ---- */
.product-tabs .nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'Poppins', sans-serif;
}
.product-tabs .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: none;
}

/* ---- Stock indicator ---- */
.stock-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; font-family: 'Poppins', sans-serif; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; }
.in-stock .stock-dot { background: var(--success); }
.low-stock .stock-dot { background: var(--warning); }
.out-stock .stock-dot { background: var(--danger); }
.in-stock { color: var(--success); }
.low-stock { color: var(--warning); }
.out-stock { color: var(--danger); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---- Loading skeleton ---- */
.skeleton {
  background: #ececec;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-loading {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* ---- Back to top ---- */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-md);
  z-index: 999;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-accent); }

/* ---- Toast notifications ---- */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; }
.toast-custom {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 360px;
  animation: toastIn .3s ease;
  font-family: 'Poppins', sans-serif;
}
.toast-custom.success { border-left: 4px solid var(--success); }
.toast-custom.error { border-left: 4px solid var(--danger); }
.toast-custom.info { border-left: 4px solid var(--primary); }
@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---- Section divider variant ---- */
.section-header.d-flex .section-divider { margin: 14px 0 0; }

/* ==========================================================
   MOBILE-FIRST RESPONSIVE — EXTENDED BREAKPOINTS
   ========================================================== */

/* ── 576px: tablets / large phones ─────────────────────── */
@media (max-width: 576px) {
  .section-pad { padding: 52px 0; }
  .section-pad-sm { padding: 36px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.6rem; }

  /* Features bar — 4 equal columns, no scroll */
  .features-bar .container { padding-left: 0; padding-right: 0; }
  .features-bar .row { display: flex; flex-wrap: nowrap; gap: 0; }
  .features-bar .col-md-3, .features-bar .col-6 {
    flex: 1 1 0 !important;
    width: 25% !important;
    min-width: 0;
    border-right: 1px solid var(--border) !important;
  }
  .features-bar .col-md-3:last-child { border-right: none !important; }
  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 14px 6px !important;
    gap: 8px;
    width: 100%;
  }
  .feature-icon { width: 38px; height: 38px; font-size: 15px; border-radius: 10px; flex-shrink: 0; }
  .feature-text h6 { font-size: 10px; line-height: 1.3; word-break: break-word; }
  .feature-text p { font-size: 9.5px; line-height: 1.35; }

  /* Hero */
  .hero-slide::before, .hero-slide::after { display: none; }
  .hero-content { padding: 48px 0; }
  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev { width: 38px; height: 38px; }
  .hero-slider .swiper-button-next::after,
  .hero-slider .swiper-button-prev::after { font-size: 12px; }

  /* Product gallery — un-stick on mobile so it doesn't overlap */
  .product-gallery { position: static !important; top: auto !important; }

  /* Cart table — horizontal scroll instead of cut-off */
  .cart-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cart-table table { min-width: 520px; }

  /* Shop sidebar mobile — hidden until toggled */
  .shop-sidebar-collapse { display: none !important; }
  .shop-sidebar-collapse.open { display: block !important; }
  .shop-filter-toggle {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    justify-content: space-between;
  }
  .shop-sidebar { border-radius: var(--radius-lg); overflow: hidden; }

  /* Page banner */
  .page-banner { padding: 32px 0; }
  .page-banner h1 { font-size: 1.7rem; }

  /* Auth card */
  .auth-card { padding: 32px 20px; }

  /* Promo banner */
  .promo-banner-content { padding: 28px 20px; }
  .promo-banner-content h3 { font-size: 1.4rem; }

  /* Newsletter */
  .newsletter-section { padding: 52px 0; }

  /* Footer bottom: stack on mobile */
  .footer-bottom .d-flex { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom .d-flex .d-flex { flex-wrap: wrap; justify-content: center; }

  /* Stats section */
  .stats-section { padding: 52px 0; }

  /* Toast full-width on mobile */
  .toast-container { top: 10px; right: 10px; left: 10px; }
  .toast-custom { min-width: unset; max-width: 100%; width: 100%; }

  /* Back to top button */
  #back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 14px; }

  /* Product tabs — scrollable */
  .product-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; white-space: nowrap; }
  .product-tabs .nav-link { padding: 10px 16px; font-size: 13px; }

  /* Summary box */
  .cart-summary-box { padding: 20px 16px; }
}

/* Shop filter toggle — hidden on desktop */
.shop-filter-toggle { display: none; }

/* ── 480px: small phones (iPhone SE, older Android) ─────── */
@media (max-width: 479px) {
  body { font-size: 14px; }
  .section-pad { padding: 44px 0; }
  .section-pad-sm { padding: 28px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.4rem; }

  /* Header — compact */
  .header-inner { height: 62px; gap: 6px; }
  .logo-icon { width: 38px; height: 38px; font-size: 17px; border-radius: 8px; }
  .header-action-btn { padding: 6px 8px; font-size: 9px; gap: 2px; }
  .header-action-btn i { font-size: 17px; }
  .badge-count { right: 2px; top: 2px; }

  /* Hero */
  .hero-slide { min-height: 270px; }
  .hero-content { padding: 36px 0; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 13px; margin-bottom: 22px; }
  .hero-actions { gap: 8px; }
  .btn-primary-custom, .btn-white-custom, .btn-outline-custom { padding: 10px 20px; font-size: 12px; letter-spacing: .4px; }

  /* Features bar handled at 576px */

  /* Product cards — always show action buttons on touch */
  .product-actions { opacity: 1; transform: translateX(0); }
  .product-add-overlay { transform: translateY(0); }
  .pcard-btn { font-size: 10px; padding: 10px 6px; }

  /* Category cards */
  .category-body { padding: 12px 14px 16px; }
  .category-body h5 { font-size: 13px; }

  /* Promo banner */
  .promo-banner { min-height: 180px; }
  .promo-banner-content { padding: 22px 16px; }
  .promo-banner-content h3 { font-size: 1.2rem; }
  .promo-banner-content p { font-size: 13px; margin-bottom: 16px; }

  /* Why cards */
  .why-card { padding: 22px 16px; }
  .why-icon { width: 58px; height: 58px; font-size: 22px; border-radius: 16px; margin-bottom: 16px; }
  .why-card h5 { font-size: 14px; }
  .why-card p { font-size: 12.5px; }

  /* Stats */
  .stat-number { font-size: 1.9rem; }
  .stats-section { padding: 44px 0; }

  /* Testimonials */
  .testimonial-card { padding: 24px 20px; }

  /* Newsletter */
  .newsletter-section { padding: 44px 0; }
  .newsletter-form input { padding: 12px 18px; font-size: 13px; }
  .newsletter-form button { padding: 12px 20px; font-size: 12px; }

  /* Footer */
  .site-footer { padding-top: 44px; }
  .footer-heading { font-size: 13px; margin-bottom: 16px; }
  .footer-links a { font-size: 12.5px; }
  .footer-about { font-size: 12.5px; margin: 14px 0 18px; }

  /* Auth */
  .auth-card { padding: 26px 16px; border-radius: var(--radius-lg); }
  .auth-title { font-size: 1.4rem; }
  .auth-subtitle { font-size: 13px; }

  /* Page banner */
  .page-banner { padding: 26px 0; }
  .page-banner h1 { font-size: 1.4rem; }

  /* Product detail page */
  .product-detail-name { font-size: 1.4rem; }
  .detail-price-current { font-size: 1.6rem; }
  .detail-price-original { font-size: 1rem; }
  .thumb-item { width: 58px; height: 58px; }
  .size-btn { min-width: 40px; height: 40px; font-size: 12px; padding: 0 10px; }

  /* Cart */
  .cart-img { width: 58px; height: 58px; }
  .cart-product-name { font-size: 13px; }
  .cart-summary-box { padding: 18px 14px; }

  /* Checkout */
  .checkout-section-title { font-size: 1rem; }

  /* Qty selector */
  .qty-btn { width: 38px; height: 38px; }
  .qty-input { width: 50px; height: 38px; font-size: 14px; }

  /* Shop toolbar */
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .sort-select { width: 100%; }
}

/* ── 360px: very small phones ───────────────────────────── */
@media (max-width: 360px) {
  .header-action-btn span { display: none; }
  .hero-content h1 { font-size: 1.25rem; }
  .section-header h2 { font-size: 1.2rem; }
  .auth-card { padding: 22px 12px; }
  .promo-banner-content h3 { font-size: 1.1rem; }
  .detail-price-current { font-size: 1.35rem; }
  .btn-primary-custom, .btn-white-custom, .btn-outline-custom { padding: 9px 16px; font-size: 11px; }
  .page-banner h1 { font-size: 1.2rem; }
  .newsletter-form button { padding: 12px 14px; font-size: 11px; }
}
