/* =========================
   KNShop — Kite Nepal E-Shop
   Custom Stylesheet
========================= */

/* =========================
   CSS VARIABLES
========================= */
:root {
  --primary: #F4A300;
  --primary-dark: #D98C00;
  --primary-light: #FFF3DF;
  --secondary: #1F2937;
  --secondary-light: #374151;
  --bg: #F8F9FA;
  --white: #FFFFFF;
  --text: #212529;
  --muted: #6C757D;
  --success: #198754;
  --danger: #DC3545;
  --border: #E9ECEF;
  --star: #FFB400;
  --shadow-sm: 0 2px 10px rgba(31, 41, 55, .06);
  --shadow-md: 0 8px 24px rgba(31, 41, 55, .10);
  --shadow-lg: 0 18px 44px rgba(31, 41, 55, .14);
  --radius: 14px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --transition: .25s ease;
}

/* =========================
   GLOBAL / BASE
========================= */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--secondary); }
a { text-decoration: none; color: var(--secondary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
::selection { background: var(--primary); color: var(--white); }

.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }

.text-brand { color: var(--primary); }
.text-muted-c { color: var(--muted); }
.bg-soft { background-color: var(--bg); }

/* Section headings */
.section-head { max-width: 640px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--primary-dark); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem;
}
.section-head .eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--primary); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5rem; }
.section-sub { color: var(--muted); }

/* =========================
   BUTTONS
========================= */
.btn { border-radius: 50rem; font-weight: 600; padding: .6rem 1.4rem; transition: all var(--transition); }
.btn-primary {
  background-color: var(--primary); border-color: var(--primary); color: var(--secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark); border-color: var(--primary-dark); color: var(--white);
}
.btn-outline-primary { border-color: var(--primary); color: var(--primary-dark); }
.btn-outline-primary:hover { background-color: var(--primary); border-color: var(--primary); color: var(--secondary); }
.btn-dark-2 { background-color: var(--secondary); border-color: var(--secondary); color: var(--white); }
.btn-dark-2:hover { background-color: var(--secondary-light); border-color: var(--secondary-light); color: var(--white); }
.btn-outline-secondary-c { border-color: var(--secondary); color: var(--secondary); }
.btn-outline-secondary-c:hover { background-color: var(--secondary); color: var(--white); }
.btn-lg { padding: .8rem 2rem; }
.btn-sm { padding: .4rem .9rem; font-size: .875rem; }
.btn:active { transform: scale(.97); }

/* =========================
   ANNOUNCEMENT BAR
========================= */
.announcement-bar {
  background-color: var(--secondary);
  color: #DDE3EA;
  font-size: .8rem;
  font-weight: 500;
  padding: .5rem 0;
}
.announcement-bar .container {
  display: flex; justify-content: center; align-items: center; gap: 2rem;
}
.announcement-bar span { display: inline-flex; align-items: center; gap: .4rem; }
.announcement-bar i { color: var(--primary); }

/* =========================
   NAVBAR
========================= */
.main-navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: .7rem 0;
}
.main-navbar .navbar-brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.35rem; color: var(--secondary);
}
.brand-logo { width: 40px; height: 40px; }
.brand-text span { color: var(--primary); }

.main-navbar .nav-link {
  font-weight: 500; color: var(--text);
  padding: .55rem .95rem; border-radius: 50rem;
}
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--primary-dark); background: var(--primary-light); }
.navbar-actions { display: flex; align-items: center; gap: .35rem; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  border: none; background: transparent;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.25rem;
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--primary-light); color: var(--primary-dark); }
.count-badge {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 50px; background: var(--primary); color: var(--white);
  font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.navbar-toggler { border: none; box-shadow: none !important; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

.search-form { position: relative; }
.search-form .form-control {
  border-radius: 50rem; border: 1px solid var(--border);
  background: var(--bg); padding: .55rem 3rem .55rem 1.1rem; font-size: .9rem;
}
.search-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(244, 163, 0, .18); }
.search-form .search-btn {
  position: absolute; right: 4px; top: 4px; bottom: 4px;
  width: 38px; border: none; border-radius: 50%;
  background: var(--primary); color: var(--secondary);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.search-form .search-btn:hover { background: var(--primary-dark); color: var(--white); }
.navbar-search { width: 280px; }

.mobile-search { display: none; background: var(--white); padding: .8rem 0; border-top: 1px solid var(--border); }
.mobile-search.open { display: block; }
.mobile-search .search-form .form-control { background: var(--white); border-color: var(--border); }

.navbar-account .btn { border-radius: 50rem; }

/* =========================
   HERO
========================= */
.hero {
  background: linear-gradient(180deg, #FFF9EC 0%, var(--bg) 100%);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 420px; height: 420px; background: rgba(244, 163, 0, .1); top: -140px; right: -120px; }
.hero::after { width: 300px; height: 300px; background: rgba(244, 163, 0, .08); bottom: -120px; left: -100px; }

.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1px solid var(--border);
  color: var(--primary-dark); font-weight: 600; font-size: .82rem;
  padding: .45rem 1rem; border-radius: 50rem; box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 800; line-height: 1.15; margin: 1.2rem 0 1rem;
  color: var(--secondary);
}
.hero h1 .highlight { color: var(--primary); position: relative; }
.hero p.lead { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-stats .stat strong { font-size: 1.25rem; color: var(--secondary); display: block; }
.hero-stats .stat span { color: var(--muted); font-size: .85rem; }

.hero-media { position: relative; }
.hero-media img.hero-img { border-radius: 28px; box-shadow: var(--shadow-lg); width: 100%; }

.hero-media .carousel-indicators { bottom: 16px; margin-bottom: 0; }
.hero-media .carousel-indicators [data-bs-target] {
  width: 26px; height: 6px; border: 0; border-radius: 4px;
  background: rgba(31, 41, 55, .35); opacity: 1; transition: all var(--transition);
}
.hero-media .carousel-indicators [data-bs-target].active { width: 38px; background: var(--primary); }
.hero-media .carousel-control-prev,
.hero-media .carousel-control-next {
  width: 44px; height: 44px; top: 50%; transform: translateY(-50%); bottom: auto;
  background: var(--white); border-radius: 50%; box-shadow: var(--shadow-md); opacity: 1;
}
.hero-media .carousel-control-prev { left: 14px; }
.hero-media .carousel-control-next { right: 14px; }
.hero-media .carousel-control-prev i,
.hero-media .carousel-control-next i { color: var(--secondary); font-size: 1.15rem; }
.hero-media .carousel-control-prev:hover,
.hero-media .carousel-control-next:hover { background: var(--primary); }
.hero-media .carousel-control-prev:hover i,
.hero-media .carousel-control-next:hover i { color: var(--white); }
.hero-float {
  position: absolute; background: var(--white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: .7rem 1rem; display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 600; color: var(--secondary);
  animation: floaty 4s ease-in-out infinite;
}
.hero-float i { color: var(--primary); font-size: 1.3rem; }
.hero-float.f1 { top: 24px; left: -18px; }
.hero-float.f2 { bottom: 30px; right: -14px; animation-delay: 1.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================
   CATEGORY CARDS
========================= */
.category-card {
  display: block; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; text-align: center; height: 100%;
  transition: all var(--transition);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.category-card .cat-img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; margin-bottom: .9rem; }
.category-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card:hover .cat-img img { transform: scale(1.07); }
.category-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.category-card p { font-size: .82rem; color: var(--muted); margin: 0; }
.category-card .cat-link { color: var(--primary-dark); font-weight: 600; font-size: .85rem; display: inline-block; margin-top: .45rem; }
.category-card .cat-link i { transition: transform var(--transition); display: inline-block; }
.category-card:hover .cat-link i { transform: translateX(4px); }

/* Large category cards (categories page) */
.category-card.large .cat-img { aspect-ratio: 4/3; }
.category-card.large h3 { font-size: 1.2rem; }

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

.product-media {
  position: relative; overflow: hidden; background: var(--white);
  aspect-ratio: 1/1;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-media img { transform: scale(1.07); }

.discount-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--danger); color: var(--white);
  font-size: .75rem; font-weight: 700; padding: .25rem .6rem;
  border-radius: 50rem;
}
.badge-new {
  position: absolute; top: 12px; right: 56px; z-index: 2;
  background: var(--success); color: var(--white);
  font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 50rem;
}

.wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: var(--white); color: var(--muted); font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.wishlist-btn:hover { color: var(--danger); transform: scale(1.1); }
.wishlist-btn.on { color: var(--danger); }
.wishlist-btn.on i { color: var(--danger); }

.quick-view {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  background: var(--secondary); color: var(--white); border: none;
  border-radius: 50rem; padding: .45rem; font-size: .85rem; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: all var(--transition);
}
.product-card:hover .quick-view { opacity: 1; transform: translateY(0); }
.quick-view:hover { background: var(--primary); color: var(--secondary); }

.product-body { padding: 1rem 1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.product-title {
  font-size: .95rem; font-weight: 600; color: var(--secondary);
  margin: .3rem 0 .35rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-title a { color: var(--secondary); }
.product-title a:hover { color: var(--primary-dark); }
.product-rating { display: flex; align-items: center; gap: .35rem; margin-bottom: .5rem; }
.product-rating .stars { color: var(--star); font-size: .85rem; }
.product-rating span { font-size: .78rem; color: var(--muted); }

.product-price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.product-price .current { font-weight: 800; font-size: 1.05rem; color: var(--secondary); }
.product-price .old { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.product-price .save { color: var(--success); font-size: .75rem; font-weight: 600; }

.add-cart-btn {
  margin-top: .8rem; border-radius: 50rem; width: 100%;
  background: var(--primary-light); border: 1px solid var(--primary);
  color: var(--primary-dark); font-weight: 600; font-size: .9rem;
  padding: .55rem; transition: all var(--transition);
}
.add-cart-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--secondary); }

/* =========================
   PROMOTIONAL BANNERS
========================= */
.promo-banner {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(110deg, var(--primary), var(--primary-dark));
  padding: 3rem; min-height: 300px;
  display: flex; align-items: center;
}
.promo-banner img.promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.promo-banner .promo-content { position: relative; z-index: 1; max-width: 520px; }
.promo-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .6rem; }
.promo-banner p { font-size: 1.02rem; opacity: .9; margin-bottom: 1.4rem; }
.promo-banner.promo-dark { background: linear-gradient(110deg, var(--secondary), var(--secondary-light)); }
.promo-banner.promo-teal { background: linear-gradient(110deg, #43C6AC, #1E6B5C); }
.promo-banner .btn { box-shadow: var(--shadow-sm); }

/* =========================
   TRUST / FEATURES
========================= */
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center;
  height: 100%; transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.feature-card p { color: var(--muted); font-size: .88rem; margin: 0; }

/* =========================
   OFFERS
========================= */
.offer-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  padding: 2rem; color: var(--white); height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: all var(--transition);
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.offer-card .offer-tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.offer-card h3 { color: var(--white); font-size: 1.5rem; font-weight: 800; margin: .4rem 0 .2rem; }
.offer-card p { opacity: .9; font-size: .9rem; }
.offer-card .offer-cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--white); }
.offer-card .offer-cta:hover { color: #fff; }
.offer-1 { background: linear-gradient(130deg, #FF7E5F, #EB5B34); }
.offer-2 { background: linear-gradient(130deg, #43C6AC, #1E6B5C); }
.offer-3 { background: linear-gradient(130deg, #66A6FF, #2B5876); }
.offer-4 { background: linear-gradient(130deg, #9B8CFF, #5B4BCE); }

.flash-sale {
  background: linear-gradient(130deg, var(--secondary), var(--secondary-light));
  border-radius: 22px; padding: 2.5rem; color: var(--white);
  display: flex; flex-direction: column; gap: 1.2rem; height: 100%;
}
.flash-sale h2 { color: var(--white); font-size: 1.6rem; font-weight: 800; }
.flash-sale p { opacity: .85; margin: 0; }
.countdown { display: flex; gap: .8rem; }
.countdown .cd-item {
  background: rgba(255, 255, 255, .12); border-radius: var(--radius-sm);
  padding: .7rem .9rem; text-align: center; min-width: 68px;
}
.countdown .cd-item strong { font-size: 1.5rem; display: block; }
.countdown .cd-item span { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }

/* =========================
   TESTIMONIALS
========================= */
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem; height: 100%;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-card .quote-icon { color: var(--primary); font-size: 1.8rem; }
.testimonial-card .review-stars { color: var(--star); margin-bottom: .8rem; }
.testimonial-card .review-text { color: var(--secondary); font-size: .95rem; font-weight: 500; }
.testimonial-card .reviewer { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.testimonial-card .reviewer img { width: 46px; height: 46px; border-radius: 50%; }
.testimonial-card .reviewer strong { display: block; font-size: .92rem; }
.testimonial-card .reviewer span { font-size: .8rem; color: var(--muted); }

/* =========================
   NEWSLETTER
========================= */
.newsletter {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  border-radius: 22px; padding: 3rem; text-align: center; position: relative; overflow: hidden;
}
.newsletter::before, .newsletter::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.newsletter::before { width: 260px; height: 260px; top: -90px; right: -70px; }
.newsletter::after { width: 200px; height: 200px; bottom: -70px; left: -50px; }
.newsletter h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); }
.newsletter p { color: rgba(255,255,255,.92); max-width: 520px; margin: .5rem auto 1.6rem; }
.newsletter .newsletter-form { max-width: 460px; margin: 0 auto; }
.newsletter .form-control {
  border-radius: 50rem; padding: .8rem 1.4rem; border: none; font-size: .95rem;
}
.newsletter .form-control:focus { box-shadow: 0 0 0 .25rem rgba(255,255,255,.35); }
.newsletter .btn { background: var(--secondary); border-color: var(--secondary); color: var(--white); padding: .8rem 1.8rem; }
.newsletter .btn:hover { background: var(--secondary-light); border-color: var(--secondary-light); }

/* =========================
   FOOTER
========================= */
.site-footer { background: var(--secondary); color: #CBD5E1; padding-top: 4rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.35rem; color: var(--white); }
.footer-brand span { color: var(--primary); }
.site-footer p { color: #94A3B8; font-size: .9rem; }
.site-footer h5 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer ul li a { color: #94A3B8; font-size: .9rem; }
.site-footer ul li a:hover { color: var(--primary); }
.site-footer .contact-list li { display: flex; gap: .6rem; font-size: .9rem; color: #94A3B8; margin-bottom: .6rem; }
.site-footer .contact-list i { color: var(--primary); margin-top: .15rem; }
.social-links { display: flex; gap: .6rem; margin-top: 1rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--secondary); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.1rem 0;
}
.footer-bottom p { margin: 0; font-size: .85rem; }
.footer-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #94A3B8; font-size: .85rem; }
.footer-links a:hover { color: var(--primary); }

/* =========================
   BREADCRUMB + PAGE HEADER
========================= */
.page-header {
  background: var(--white); padding: 2.2rem 0; border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.page-header h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: .4rem; }
.breadcrumb { margin: 0; --bs-breadcrumb-divider: '>'; }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb .active { color: var(--primary-dark); font-weight: 600; }

/* =========================
   SHOP / SIDEBAR FILTERS
========================= */
.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem;
}
.sidebar-card + .sidebar-card { margin-top: 1.2rem; }
.sidebar-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.filter-group .form-check { margin-bottom: .55rem; }
.filter-group .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.filter-group .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(244,163,0,.2); border-color: var(--primary); }
.filter-group .form-check-label { font-size: .9rem; color: var(--secondary); cursor: pointer; }

.shop-toolbar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .9rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.shop-toolbar .result-count { font-size: .9rem; color: var(--muted); }
.shop-toolbar .form-select { width: auto; border-radius: 50rem; border-color: var(--border); font-size: .9rem; }
.filter-trigger { display: none; }

/* =========================
   PAGINATION
========================= */
.pagination .page-link {
  color: var(--secondary); border-radius: 10px; margin: 0 3px;
  border: 1px solid var(--border); min-width: 42px; text-align: center;
  font-weight: 600;
}
.pagination .page-link:hover { color: var(--primary-dark); background: var(--primary-light); border-color: var(--primary); }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: var(--secondary); }

/* =========================
   PRODUCT DETAIL
========================= */
.product-gallery { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; position: sticky; top: 100px; }
.product-gallery .main-img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; margin-bottom: .9rem; }
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.gallery-thumbs button {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; padding: 0; background: none; aspect-ratio: 1/1; cursor: pointer;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--primary); }

.product-info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.product-info-card h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: .7rem; }
.product-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; margin-bottom: .9rem; }
.product-meta .review-link { font-size: .85rem; color: var(--muted); }
.product-sku { font-size: .82rem; color: var(--muted); }
.product-price-big { display: flex; align-items: center; gap: .8rem; margin: .6rem 0 1rem; }
.product-price-big .current { font-size: 1.9rem; font-weight: 800; color: var(--secondary); }
.product-price-big .old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.product-price-big .discount-pill { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; font-size: .85rem; padding: .3rem .7rem; border-radius: 50rem; }
.stock-status { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; }
.stock-status.in-stock { color: var(--success); }
.stock-status i { font-size: .9rem; }
.short-desc { color: var(--muted); font-size: .93rem; line-height: 1.6; }

.qty-selector { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 50rem; overflow: hidden; }
.qty-selector button {
  width: 42px; height: 42px; border: none; background: var(--bg);
  font-size: 1.1rem; color: var(--secondary); transition: all var(--transition);
}
.qty-selector button:hover { background: var(--primary-light); color: var(--primary-dark); }
.qty-selector input {
  width: 56px; height: 42px; border: none; text-align: center; font-weight: 700;
  background: var(--white); -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button, .qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; }

.buy-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.buy-actions .btn { flex: 1 1 150px; }

.info-sheet { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.info-sheet li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.info-sheet i { color: var(--success); }

.desc-block {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
}
.desc-block h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.desc-block p, .desc-block li { color: var(--muted); font-size: .95rem; line-height: 1.7; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); font-size: .92rem; }
.spec-table th { color: var(--secondary); font-weight: 600; width: 40%; background: var(--bg); }
.spec-table td { color: var(--muted); }

.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.review-card .reviewer img { width: 44px; height: 44px; border-radius: 50%; }
.review-card .reviewer strong { display: block; }
.review-card .reviewer span { font-size: .8rem; color: var(--muted); }
.review-card .review-text { color: var(--muted); font-size: .93rem; margin: .8rem 0 0; }
.review-stars { color: var(--star); }

/* =========================
   CART
========================= */
.cart-table { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table .table { margin: 0; }
.cart-table .table thead th {
  background: var(--secondary); color: var(--white); border: none;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .05em;
  padding: .9rem 1.2rem; white-space: nowrap;
}
.cart-table .table td { vertical-align: middle; padding: 1.1rem 1.2rem; border-color: var(--border); }
.cart-item-img { width: 74px; height: 74px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; color: var(--secondary); font-size: .93rem; }
.cart-item-name small { display: block; color: var(--muted); font-weight: 500; margin-top: .2rem; }
.remove-item-btn { color: var(--danger); background: none; border: none; font-size: 1.15rem; }
.remove-item-btn:hover { opacity: .75; }
.cart-item-price, .cart-item-subtotal { font-weight: 700; color: var(--secondary); white-space: nowrap; }

.cart-summary-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem;
  position: sticky; top: 100px;
}
.cart-summary-card h4 { font-size: 1.1rem; margin-bottom: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; font-size: .92rem; padding: .55rem 0; color: var(--muted); }
.summary-row strong { color: var(--secondary); }
.summary-row.total {
  border-top: 1px dashed var(--border); margin-top: .6rem; padding-top: 1rem;
  font-size: 1.15rem; color: var(--secondary);
}
.summary-row .free { color: var(--success); font-weight: 600; }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .empty-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 2.4rem; margin-bottom: 1.2rem;
}
.empty-state h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.empty-state p { color: var(--muted); }

/* =========================
   CHECKOUT
========================= */
.checkout-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem;
  margin-bottom: 1.4rem;
}
.checkout-card h4 { font-size: 1.1rem; margin-bottom: 1.4rem; display: flex; align-items: center; gap: .6rem; }
.checkout-card h4 .step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: var(--secondary);
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800;
}
.payment-option { border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; cursor: pointer; transition: all var(--transition); }
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-option .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }

.order-summary-items { max-height: 320px; overflow-y: auto; }
.order-summary-item { display: flex; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.order-summary-item img { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; }
.order-summary-item .os-name { font-size: .86rem; font-weight: 600; color: var(--secondary); }
.order-summary-item .os-price { font-size: .82rem; color: var(--muted); }

/* =========================
   FORMS
========================= */
.form-label { font-weight: 600; font-size: .88rem; color: var(--secondary); }
.form-control, .form-select {
  border-radius: var(--radius-sm); border-color: var(--border);
  padding: .65rem 1rem; font-size: .92rem;
}
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(244,163,0,.18); }
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { font-size: .8rem; }
.password-strength { height: 6px; border-radius: 6px; background: var(--border); margin-top: .5rem; overflow: hidden; }
.password-strength .bar { height: 100%; width: 0; background: var(--danger); transition: all .3s ease; }
.password-strength-text { font-size: .78rem; color: var(--muted); margin-top: .3rem; }

/* =========================
   AUTH CARDS
========================= */
.auth-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 2.2rem; max-width: 460px; margin: 0 auto;
}
.auth-card h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: .4rem; }
.auth-card .auth-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.6rem; }
.auth-alt { text-align: center; margin-top: 1.4rem; font-size: .9rem; color: var(--muted); }
.auth-alt a { color: var(--primary-dark); font-weight: 600; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(244,163,0,.2); border-color: var(--primary); }

/* =========================
   ACCOUNT DASHBOARD
========================= */
.account-wrap { display: flex; gap: 1.6rem; align-items: flex-start; }
.account-sidebar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem; width: 260px; flex-shrink: 0;
  position: sticky; top: 100px;
}
.account-sidebar .account-user { text-align: center; padding: .6rem 0 1.2rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.account-sidebar .avatar-lg { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto .7rem; background: var(--primary-light); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; }
.account-sidebar h5 { margin: 0; font-size: 1rem; }
.account-sidebar p { font-size: .82rem; color: var(--muted); margin: 0; }
.account-nav { list-style: none; padding: 0; margin: 0; }
.account-nav .nav-link-custom {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .9rem; border-radius: var(--radius-sm);
  color: var(--secondary); font-weight: 500; font-size: .92rem;
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  transition: all var(--transition);
}
.account-nav .nav-link-custom i { width: 20px; color: var(--muted); }
.account-nav .nav-link-custom:hover { background: var(--bg); color: var(--primary-dark); }
.account-nav .nav-link-custom.active { background: var(--primary-light); color: var(--primary-dark); }
.account-nav .nav-link-custom.active i { color: var(--primary-dark); }
.account-panel { flex: 1; min-width: 0; }
.account-panel .panel-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.account-panel .panel-card h4 { font-size: 1.05rem; margin-bottom: 1.2rem; }
.stat-tile { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; height: 100%; }
.stat-tile .stat-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .8rem; }
.stat-tile strong { font-size: 1.5rem; display: block; }
.stat-tile span { color: var(--muted); font-size: .85rem; }

/* Admin stat cards */
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; height: 100%; display: flex; align-items: center; gap: 1rem; }
.stat-card .stat-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-card .stat-value { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat-card .stat-label { color: var(--muted); font-size: .85rem; }

/* =========================
   ORDERS
========================= */
.order-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.order-card .order-head {
  background: var(--bg); padding: 1rem 1.4rem; border-bottom: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem;
}
.order-card .order-head strong { font-size: .95rem; }
.order-card .order-head span { font-size: .82rem; color: var(--muted); }
.order-status { font-size: .78rem; font-weight: 700; padding: .3rem .7rem; border-radius: 50rem; text-transform: uppercase; letter-spacing: .03em; }
.order-status.delivered { background: #D1F2E2; color: var(--success); }
.order-status.processing { background: #FFF1CC; color: #B87B00; }
.order-status.shipped { background: #D6E8FF; color: #2B5876; }
.order-status.cancelled { background: #FBDCDC; color: var(--danger); }
.order-body { padding: 1.2rem 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.order-body .order-items { display: flex; gap: .6rem; }
.order-body .order-items img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; }
.order-total { font-weight: 800; color: var(--secondary); }
.order-total small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }

/* =========================
   FAQ / LEGAL / CONTENT PAGES
========================= */
.accordion-button:not(.collapsed) { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(244,163,0,.2); }
.accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F4A300'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm) !important; margin-bottom: .8rem; overflow: hidden; }
.accordion-item .accordion-button { font-weight: 600; color: var(--secondary); }

.legal-page { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.legal-page h2 { font-size: 1.3rem; margin: 1.8rem 0 .8rem; }
.legal-page h2:first-child { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.8; font-size: .95rem; }

.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; height: 100%; }
.contact-card .contact-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .9rem; }
.contact-card h5 { font-size: 1rem; margin-bottom: .4rem; }
.contact-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.map-placeholder {
  background: linear-gradient(120deg, var(--secondary), var(--secondary-light));
  border-radius: var(--radius); min-height: 320px; color: #CBD5E1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center;
}
.map-placeholder i { font-size: 2.6rem; color: var(--primary); }
.map-placeholder strong { color: var(--white); font-size: 1.1rem; }

.about-stats { background: var(--secondary); border-radius: 22px; padding: 2.5rem; color: var(--white); }
.about-stats .stat strong { font-size: 2rem; color: var(--primary); display: block; }
.about-stats .stat span { font-size: .88rem; color: #CBD5E1; }
.about-values .value-item { display: flex; gap: 1rem; }
.about-values .value-item i { color: var(--primary); font-size: 1.5rem; margin-top: .2rem; }
.about-values .value-item h4 { font-size: 1.05rem; }
.about-values .value-item p { color: var(--muted); font-size: .92rem; }

/* =========================
   TOASTS
========================= */
.toast { border: none; border-radius: 12px; box-shadow: var(--shadow-md); overflow: hidden; }
.toast .toast-body { display: flex; align-items: center; gap: .7rem; font-weight: 500; font-size: .9rem; padding: .9rem 1.1rem; }
.toast-success .toast-body { color: var(--success); }
.toast-danger .toast-body { color: var(--danger); }
.toast-default .toast-body { color: var(--secondary); }

/* =========================
   OFFERS COUNTDOWN / FLASH
========================= */
.flash-grid .product-card { background: var(--white); }

/* =========================
   BACK TO TOP
========================= */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 1040;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: var(--secondary); border: none;
  font-size: 1.2rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); color: var(--white); }

/* =========================
   OFFCANVAS (mobile filters)
========================= */
.offcanvas-header { background: var(--white); }
.offcanvas { background: var(--bg); }
.offcanvas .sidebar-card { border: none; border-radius: 0; border-bottom: 1px solid var(--border); padding: 1.3rem 1.4rem; margin: 0 !important; }

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

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
  .navbar-search { width: 220px; }
}

@media (max-width: 991.98px) {
  .section { padding: 3.2rem 0; }
  .navbar-collapse {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 1rem; box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius);
  }
  .main-navbar .nav-link { padding: .7rem 1rem; }
  .navbar-search { display: none; }
  .filter-trigger { display: inline-flex; }
  .shop-sidebar-desktop { display: none; }
  .hero-float.f1 { left: 10px; }
  .hero-float.f2 { right: 10px; }
  .account-wrap { flex-direction: column; }
  .account-sidebar { width: 100%; position: static; }
}

@media (max-width: 767.98px) {
  .announcement-bar .container { gap: 1rem; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .promo-banner { padding: 2rem; min-height: 240px; }
  .newsletter { padding: 2rem 1.4rem; }
  .product-gallery { position: static; }
  .cart-summary-card { position: static; }
  .footer-links { gap: .9rem; }
}

@media (max-width: 575.98px) {
  .section { padding: 2.6rem 0; }
  .btn-lg { padding: .7rem 1.4rem; }
  .hero-stats { gap: 1.2rem; }
  .hero-stats .stat strong { font-size: 1.05rem; }
  .product-price .current { font-size: .98rem; }
  .cart-table .table td, .cart-table .table thead th { padding: .8rem .6rem; }
  .cart-item-img { width: 58px; height: 58px; }
  .order-body { flex-direction: column; align-items: flex-start; }
  .auth-card { padding: 1.6rem; }
  .promo-banner { padding: 1.6rem; }
  .countdown .cd-item { min-width: 58px; padding: .5rem .6rem; }
}

/* =========================
   NOTIFICATION BELL + DROPDOWN
========================= */
.notif-menu { width: 340px; max-width: 86vw; padding: .4rem 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.notif-menu .notif-head { padding: .7rem 1rem; font-weight: 700; font-size: .9rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.notif-menu .notif-head small { font-weight: 500; color: var(--muted); cursor: pointer; }
.notif-menu .notif-empty { text-align: center; padding: 1.6rem 1rem; color: var(--muted); font-size: .85rem; }
.notif-menu .notif-empty i { display: block; font-size: 1.6rem; color: var(--border); margin-bottom: .4rem; }
.notif-item { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem 1rem; white-space: normal; }
.notif-item:hover { background: var(--bg); }
.notif-item i { font-size: 1.05rem; color: var(--primary); margin-top: .15rem; }
.notif-item > div { display: flex; flex-direction: column; }
.notif-item span { font-size: .84rem; color: var(--secondary); line-height: 1.35; }
.notif-item small { font-size: .74rem; color: var(--muted); }
.notif-item.unread { background: #FFF8E8; }

/* =========================
   CHECKOUT PAYMENT PANEL / QR
========================= */
.pay-panel { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.pay-panel h5 { font-weight: 700; }
.qr-box { width: 230px; height: 230px; margin: 0 auto 1rem; padding: .5rem; border: 2px dashed var(--border); border-radius: var(--radius); background: var(--white); }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.pay-amount { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.bank-details { text-align: left; background: var(--bg); border-radius: var(--radius-sm); padding: 1rem; font-size: .86rem; }
.bank-details div { display: flex; justify-content: space-between; padding: .25rem 0; border-bottom: 1px dashed var(--border); }
.bank-details div:last-child { border-bottom: 0; }
.bank-details span { color: var(--muted); }
.bank-details strong { color: var(--secondary); }
.proof-upload { border: 2px dashed var(--border); border-radius: var(--radius); padding: 1.4rem; text-align: center; cursor: pointer; transition: all var(--transition); }
.proof-upload:hover, .proof-upload.have-file { border-color: var(--primary); background: #FFF9EE; }
.proof-upload i { font-size: 2rem; color: var(--primary); }
.proof-upload p { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); }
.proof-upload .file-name { font-weight: 600; color: var(--secondary); word-break: break-all; }

/* =========================
   INVOICE / BILL
========================= */
.invoice { max-width: 680px; margin: 0 auto; }
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; border-bottom: 2px solid var(--secondary); padding-bottom: 1rem; margin-bottom: 1rem; }
.invoice-brand { font-size: 1.4rem; font-weight: 800; }
.invoice-brand span { color: var(--primary); }
.invoice-meta { font-size: .82rem; color: var(--muted); text-align: right; }
.invoice-meta strong { color: var(--secondary); }
.invoice-billto { font-size: .86rem; }
.invoice-billto strong { color: var(--secondary); }
.invoice-table { width: 100%; font-size: .88rem; }
.invoice-table th { background: var(--bg); color: var(--secondary); }
.invoice-table th, .invoice-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--border); }
.invoice-totals { margin-left: auto; width: 260px; font-size: .88rem; }
.invoice-totals .row { display: flex; justify-content: space-between; padding: .3rem .5rem; }
.invoice-totals .grand { font-weight: 800; font-size: 1rem; color: var(--secondary); border-top: 2px solid var(--secondary); margin-top: .3rem; padding-top: .5rem; }
.invoice-note { font-size: .78rem; color: var(--muted); margin-top: 1.4rem; border-top: 1px dashed var(--border); padding-top: .8rem; }

/* =========================
   ORDER STATUSES (new flow)
========================= */
.order-status.under-review { background: #FFF1CC; color: #B87B00; }
.order-status.confirmed { background: #D6E8FF; color: #2B5876; }
.order-status.shipping { background: #D6E8FF; color: #1F4E79; }
.order-status.delivered { background: #D1F2E2; color: var(--success); }
.eta-timer { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--secondary); font-size: .84rem; }
.eta-timer i { color: var(--primary); }
.receive-btn { margin-top: .6rem; }

/* =========================
   REVIEW RATING STARS
========================= */
.rate-stars { display: flex; gap: .15rem; }
.rate-stars button { background: none; border: 0; font-size: 1.6rem; color: var(--border); padding: 0 .1rem; cursor: pointer; transition: color var(--transition); }
.rate-stars button.on { color: var(--star); }
.review-criteria { background: var(--bg); border-radius: var(--radius-sm); padding: .9rem 1rem; margin-bottom: .8rem; }
.review-criteria .d-flex { align-items: center; }
.review-criteria label { font-weight: 600; color: var(--secondary); }
.review-summary .rs-label { font-size: .78rem; color: var(--muted); }

/* =========================
   ADMIN PANEL
========================= */
.admin-wrap { max-width: 960px; margin: 0 auto; }
.admin-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); margin-bottom: 1.1rem; overflow: hidden; }
.admin-card .admin-head { padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); background: var(--bg); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; }
.admin-card .admin-body { padding: 1rem 1.2rem; font-size: .88rem; }
.admin-meta { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: .7rem; font-size: .82rem; color: var(--muted); }
.admin-meta strong { color: var(--secondary); }
.admin-items { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.admin-items img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; }
.admin-proof { margin-top: .7rem; padding: .6rem; background: var(--bg); border-radius: var(--radius-sm); display: flex; align-items: center; gap: .7rem; }
.admin-proof img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.admin-proof .bi-file-earmark-pdf { font-size: 2.2rem; color: var(--danger); }
.admin-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.eta-inputs { display: flex; gap: .6rem; }
.eta-inputs .form-control { max-width: 110px; }
.admin-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
