/* ==========================================================================
   SportZone — Main Stylesheet
   Single file for all frontend pages. Do not add page-specific rules here;
   page-only styles belong in the relevant HTML file's <style> block ONLY if
   they are truly unique (e.g. hero, profile panels). Nav + responsive go here.
   ========================================================================== */

/* ── 1. CSS Variables ─────────────────────────────────────────────────────── */
:root {
  /* Brand — Light Green Theme (No dark greens) */
  --sz-primary:      #81C784;
  --sz-primary-dark: #66BB6A;
  --sz-secondary:    #A5D6A7;
  --sz-accent:       #FF8A65;
  /* UI */
  --sz-light:     #F8F9FA;
  --sz-dark:      #212529;
  --sz-gray:      #6c757d;
  --sz-border:    #e9ecef;
  --sz-radius:    10px;
  /* Mega-nav palette (set by inline :root overrides on each page too) */
  --primary:        #81C784;
  --primary-dark:   #66BB6A;
  --primary-light:  #E8F5E9;
  --accent:         #FF8A65;
  --dark-bg:        #1A1A1A;
  --light-surface:  #FFFFFF;
  --text-main:      #2D3748;
  --text-muted:     #718096;
  --border-color:   #E2E8F0;
  --shadow:         0 4px 6px -1px rgba(0,0,0,0.1);
  /* Elevation */
  --sz-shadow-sm: 0 2px 8px rgba(33,37,41,0.06);
  --sz-shadow:    0 8px 24px rgba(33,37,41,0.1);
  --sz-shadow-lg: 0 16px 40px rgba(33,37,41,0.16);
  /* Motion */
  --sz-transition: all 0.3s ease;
}

[data-theme="dark"] {
  --light-surface: #1E1E1E;
  --text-main:     #F7FAFC;
  --text-muted:    #A0AEC0;
  --border-color:  #2D3748;
  --primary-light: #1A3A1A;
}

/* ==================== ADD TO CART BUTTON STYLES ==================== */
.add-to-cart-btn {
    transition: all 0.3s ease;
    position: relative;
}

.add-to-cart-btn.in-cart {
    background: #28a745 !important;
    color: #fff !important;
    border-color: #28a745 !important;
}

.add-to-cart-btn.in-cart:hover {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
}

.add-to-cart-btn.in-cart:hover .fa-check {
    display: none;
}

.add-to-cart-btn.in-cart:hover::after {
    content: ' Remove';
}

/* Wishlist button active state */
.wishlist-btn.active {
    color: #dc3545 !important;
}

.wishlist-btn.active i {
    color: #dc3545;
}

/* Cart badge styling */
.cart-count-badge,
.wishlist-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e31837;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    line-height: 1;
    transition: all 0.3s ease;
}

.sz-action-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #2D3748;
    transition: all 0.2s;
    text-decoration: none;
}

.sz-action-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #e31837;
}

/* ==================== ADD/REMOVE ACTION ANIMATIONS ====================
   Short, one-shot keyframe animations layered on top of buttons/icons
   right after a successful add-to-cart, remove-from-cart, wishlist-add,
   or wishlist-remove action. Triggered by JS adding the class, and
   removed beforehand (with a forced reflow) so the animation can replay
   on every click rather than only firing once. */
@keyframes szPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.16); }
  70%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}
@keyframes szHeartBeat {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.35); }
  50%  { transform: scale(0.92); }
  75%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}
@keyframes szShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
@keyframes szBadgeBump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.55); }
  100% { transform: scale(1); }
}
@keyframes szIconBump {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(1.28) rotate(-10deg); }
  60%  { transform: scale(0.92) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.sz-anim-pop   { animation: szPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sz-anim-heart { animation: szHeartBeat 0.55s ease; }
.sz-anim-shake { animation: szShake 0.4s ease; }
.sz-badge-bump { animation: szBadgeBump 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sz-icon-bump  { animation: szIconBump 0.5s ease; }

.sz-wish-btn, .add-to-cart-btn, .sz-add-cart, .move-to-cart-btn, .wishlist-btn {
  will-change: transform;
}

/* ── 2. Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--sz-dark);
  background-color: #fff;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; font-weight: 600; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Utility weights */
.fw-300 { font-weight: 300; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Color utilities */
.text-primary-sz   { color: var(--sz-primary)   !important; }
.text-secondary-sz { color: var(--sz-secondary)  !important; }
.text-accent-sz    { color: var(--sz-accent)     !important; }
.bg-primary-sz     { background-color: var(--sz-primary)   !important; }
.bg-secondary-sz   { background-color: var(--sz-secondary)  !important; }
.bg-accent-sz      { background-color: var(--sz-accent)     !important; }
.bg-light-sz       { background-color: var(--sz-light)      !important; }

/* Section spacing */
.section-padding { padding: 64px 0; }

/* Section heading decorators */
.section-title    { position: relative; margin-bottom: 8px; font-weight: 700; }
.section-subtitle { color: var(--sz-gray); margin-bottom: 36px; }
.title-bar {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--sz-primary), var(--sz-secondary));
  border-radius: 4px; margin-bottom: 16px;
}
.mx-auto.title-bar { margin-left: auto; margin-right: auto; }

/* Misc utilities */
.divider-sm    { width: 100%; height: 1px; background: var(--sz-border); margin: 24px 0; }
.object-fit-cover { object-fit: cover; }
.rounded-sz    { border-radius: var(--sz-radius) !important; }
.shadow-sz     { box-shadow: var(--sz-shadow) !important; }
.cursor-pointer{ cursor: pointer; }
::selection    { background: var(--sz-primary); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: var(--sz-light); }
::-webkit-scrollbar-thumb { background: var(--sz-primary); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--sz-primary-dark); }

/* ── 3. Buttons ───────────────────────────────────────────────────────────── */
.btn { font-weight: 500; border-radius: 8px; transition: var(--sz-transition); }
.btn:active { transform: scale(0.97); }

.btn-primary-sz {
  background-color: var(--sz-primary); border-color: var(--sz-primary); color: #fff;
}
.btn-primary-sz:hover {
  background-color: var(--sz-primary-dark); border-color: var(--sz-primary-dark);
  color: #fff; transform: translateY(-2px); box-shadow: var(--sz-shadow);
}
.btn-accent-sz {
  background-color: var(--sz-accent); border-color: var(--sz-accent); color: #fff;
}
.btn-accent-sz:hover {
  background-color: #e05f00; border-color: #e05f00;
  color: #fff; transform: translateY(-2px); box-shadow: var(--sz-shadow);
}
.btn-outline-primary-sz {
  border: 1.5px solid var(--sz-primary); color: var(--sz-primary); background: transparent;
}
.btn-outline-primary-sz:hover {
  background-color: var(--sz-primary); color: #fff; transform: translateY(-2px);
}
.btn-secondary-sz {
  background-color: var(--sz-secondary); border-color: var(--sz-secondary); color: #fff;
}
.btn-secondary-sz:hover {
  background-color: #81C784; border-color: #81C784;
  color: #fff; transform: translateY(-2px); box-shadow: var(--sz-shadow);
}
.btn-icon-circle {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--sz-transition);
}

/* ── 4. Mega Navbar ───────────────────────────────────────────────────────── */
.sz-topbar {
  background: var(--dark-bg, #1A1A1A);
  color: white; text-align: center;
  font-size: 13px; padding: 7px 0; font-weight: 500;
}
.sz-mega-header {
  position: sticky; top: 0; z-index: 1040;
  background: var(--light-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.sz-nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.sz-logo {
  font-size: 24px; font-weight: 800; color: var(--primary);
  letter-spacing: -1px; text-decoration: none; white-space: nowrap;
}
.sz-logo span { color: var(--text-main); }
.sz-nav-links {
  display: flex; align-items: center;
  height: 100%; list-style: none; margin: 0; padding: 0;
}
.sz-nav-item {
  height: 68px; display: flex; align-items: center; position: relative;
}
.sz-nav-item > a,
.sz-nav-item > span {
  font-weight: 600; font-size: 14px; color: var(--text-main);
  text-decoration: none; padding: 0 13px; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  height: 100%; transition: color 0.2s;
  white-space: nowrap; position: relative;
}
.sz-nav-item > a:hover,
.sz-nav-item > span:hover { color: var(--primary); }
/* Yonex-style underline on hover */
.sz-nav-item > a::after,
.sz-nav-item > span::after {
  content: ''; position: absolute; bottom: 0;
  left: 13px; right: 13px; height: 2px;
  background: var(--primary); transform: scaleX(0);
  transition: transform 0.2s ease;
}
.sz-nav-item:hover > a::after,
.sz-nav-item:hover > span::after { transform: scaleX(1); }

/* Mega menu dropdown */
.sz-mega-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  max-width: 95vw; background: var(--light-surface);
  border: 1px solid var(--border-color);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.13);
  padding: 24px 28px; display: grid; gap: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1050;
}
.sz-nav-item:hover .sz-mega-menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.sz-mega-col h4 {
  font-size: 10.5px; font-weight: 700; color: var(--text-muted);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 1.5px solid var(--border-color); padding-bottom: 7px;
}
.sz-mega-col ul { list-style: none; margin: 0; padding: 0; }
.sz-mega-col ul li { margin-bottom: 7px; }
.sz-mega-col ul li a {
  font-size: 13px; color: var(--text-main); text-decoration: none;
  display: block; padding: 1px 0; transition: color 0.15s, transform 0.15s;
}
.sz-mega-col ul li a:hover { color: var(--primary); transform: translateX(3px); }

/* Search */
.sz-search-box {
    position: relative;
    width: 320px;
}

.sz-search-box input {
    width: 100%;
    padding: 7px 12px 7px 30px;
    background: #F8F9FA;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s;
}
.sz-search-box input:focus { border-color: var(--primary); }
.sz-search-box i {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 12px;
}

/* Nav action icons */
.sz-nav-actions { display: flex; align-items: center; gap: 12px; }
.sz-action-icon {
  font-size: 18px; position: relative; color: var(--text-main);
  cursor: pointer; transition: color 0.2s; text-decoration: none;
  display: inline-flex; align-items: center;
}
.sz-action-icon:hover { color: var(--primary); }
.sz-cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 16px;
  height: 16px;
  background: var(--accent, #FF8A65);
  border-radius: 50%;
  color: white;
  font-size: 9px;
  font-weight: 700;

  /* ✅ THE FIX: line-height = height */
  line-height: 16px;
  text-align: center;
  display: block;                 /* Simple! */

  /* Font rendering control */
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  word-spacing: 0;

  /* Reset & Visibility */
  margin: 0;
  padding: 0;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.sz-hamburger { display: none; font-size: 22px; cursor: pointer; color: var(--text-main); }

/* Mobile offcanvas accordion */
.sz-mob-section { border-bottom: 1px solid var(--border-color); }
.sz-mob-heading {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; font-weight: 700; font-size: 15px;
  color: var(--text-main); cursor: pointer; user-select: none;
}
.sz-mob-heading i { transition: transform 0.25s; font-size: 11px; color: var(--text-muted); }
.sz-mob-section.open .sz-mob-heading i { transform: rotate(180deg); }
.sz-mob-sub { display: none; padding-bottom: 6px; }
.sz-mob-section.open .sz-mob-sub { display: block; }
.sz-mob-sub a {
  display: block; padding: 7px 0 7px 10px;
  font-size: 13.5px; color: var(--text-muted); font-weight: 500; text-decoration: none;
}
.sz-mob-sub a:hover { color: var(--primary); }
.sz-mobile-offcanvas .offcanvas-body > a {
  display: block; padding: 12px 0; font-weight: 700; font-size: 15px;
  color: var(--text-main); text-decoration: none;
  border-bottom: 1px solid var(--border-color);
}
.sz-mobile-offcanvas .offcanvas-body > a:hover { color: var(--primary); }

/* Dark mode nav overrides */
[data-theme="dark"] .sz-mega-header { background: #1E1E1E; border-color: #2D3748; }
[data-theme="dark"] .sz-mega-menu   { background: #1E1E1E; border-color: #2D3748; }

/* ── 5. Legacy Bootstrap navbar (used on some inner pages) ───────────────── */
.navbar-sz {
  background-color: #fff; box-shadow: var(--sz-shadow-sm);
  padding-top: 14px; padding-bottom: 14px; transition: var(--sz-transition);
}
.navbar-brand-sz {
  font-weight: 700; font-size: 1.6rem;
  color: var(--sz-primary) !important; letter-spacing: -0.5px;
}
.navbar-brand-sz span { color: var(--sz-accent); }
.navbar-sz .nav-link {
  font-weight: 500; color: var(--sz-dark); padding: 0.5rem 0.9rem !important; position: relative;
}
.navbar-sz .nav-link:hover,
.navbar-sz .nav-link.active { color: var(--sz-primary); }
.navbar-sz .nav-link.active::after {
  content: ''; position: absolute; left: 0.9rem; right: 0.9rem;
  bottom: 0.15rem; height: 2px; background: var(--sz-accent);
}
.navbar-sz .dropdown-menu {
  border: none; box-shadow: var(--sz-shadow);
  border-radius: var(--sz-radius); margin-top: 6px;
}
.navbar-sz .dropdown-item:hover { background-color: var(--sz-light); color: var(--sz-primary); }
.nav-icon-btn {
  position: relative; font-size: 1.3rem; color: var(--sz-dark);
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: var(--sz-transition);
}
.nav-icon-btn:hover { background-color: var(--sz-light); color: var(--sz-primary); }
.nav-icon-btn .badge-count {
  position: absolute; top: -2px; right: -2px;
  font-size: 0.6rem; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--sz-accent); color: #fff; font-weight: 600;
}

/* ── 6. Page Banner / Breadcrumb ─────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(120deg, rgba(129,199,132,.95), rgba(102,187,106,.95));
  padding: 50px 0 30px; color: #fff;
}
.page-banner h1 { font-weight: 700; }
.page-banner .breadcrumb { margin-bottom: 0; }
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb-item.active { color: #fff; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.6); }

/* ── 7. Cards / Generic ──────────────────────────────────────────────────── */
.hover-lift { transition: var(--sz-transition); }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--sz-shadow-lg); }

/* Product Card */
.product-card {
  border: 1px solid var(--sz-border); border-radius: var(--sz-radius);
  overflow: hidden; background: #fff; transition: var(--sz-transition);
  height: 100%; position: relative;
}
.product-card:hover { box-shadow: var(--sz-shadow-lg); transform: translateY(-6px); border-color: transparent; }
.product-card .product-img-wrap {
  position: relative; overflow: hidden; background: var(--sz-light); aspect-ratio: 1/1;
}
.product-card .product-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 18px; box-sizing: border-box; transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-size: 0.72rem; font-weight: 600; padding: 4px 10px;
  border-radius: 50px; color: #fff;
}
.product-badge.badge-sale { background: var(--sz-accent); }
.product-badge.badge-new  { background: var(--sz-secondary); }
.product-card .wishlist-btn {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--sz-dark); transition: var(--sz-transition);
}
.product-card .wishlist-btn:hover,
.product-card .wishlist-btn.active { color: var(--sz-accent); }
.product-card .wishlist-btn.active i::before { content: "\f415"; }
.product-card .quick-view-btn {
  position: absolute; left: 0; right: 0; bottom: -50px;
  margin: 0 10px; z-index: 3; opacity: 0; transition: var(--sz-transition);
}
.product-card:hover .quick-view-btn { bottom: 10px; opacity: 1; }
.product-card .product-body { padding: 14px 16px 16px; }
.product-card .product-brand {
  font-size: 0.75rem; color: var(--sz-gray);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.product-card .product-name {
  font-weight: 500; font-size: 0.95rem; margin: 2px 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.product-card .product-name a { color: var(--sz-dark); }
.product-card .product-name a:hover { color: var(--sz-primary); }
.rating-stars  { color: var(--sz-accent); font-size: 0.85rem; }
.rating-count  { color: var(--sz-gray); font-size: 0.78rem; }
.price-current { font-weight: 700; font-size: 1.05rem; color: var(--sz-dark); }
.price-old     { font-size: 0.85rem; color: var(--sz-gray); text-decoration: line-through; }
.price-discount{ color: var(--sz-secondary); font-size: 0.82rem; font-weight: 600; }
.add-cart-btn {
  width: 100%; background: var(--sz-light); border: 1px solid var(--sz-border);
  color: var(--sz-dark); font-weight: 500; font-size: 0.9rem;
  border-radius: 8px; padding: 8px; transition: var(--sz-transition);
}
.add-cart-btn:hover { background: var(--sz-primary); color: #fff; border-color: var(--sz-primary); }

/* Category Card */
.category-card {
  text-align: center; padding: 28px 14px; border-radius: var(--sz-radius);
  background: var(--sz-light); transition: var(--sz-transition); height: 100%;
}
.category-card:hover { background: #fff; box-shadow: var(--sz-shadow-lg); transform: translateY(-6px); }
.category-card .category-icon-wrap {
  width: 80px; height: 80px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 2rem; color: var(--sz-primary);
  box-shadow: var(--sz-shadow-sm); transition: var(--sz-transition); overflow: hidden;
}
.category-card:hover .category-icon-wrap { background: var(--sz-primary); color: #fff; transform: rotateY(180deg); }
.category-card h6 { font-weight: 600; margin-bottom: 0; }

/* Category Page Card */
.category-page-card {
  border-radius: var(--sz-radius); overflow: hidden; box-shadow: var(--sz-shadow-sm);
  display: block; background: #fff; border: 1px solid var(--sz-border);
  color: var(--sz-dark); transition: var(--sz-transition);
}
.category-page-card .cat-img-wrap {
  height: 200px;
  background: var(--sz-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.category-page-card .cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-page-card .cat-overlay { padding: 18px; text-align: center; }
.category-page-card .cat-overlay h4 { color: var(--sz-dark); }
.category-page-card:hover .cat-img-wrap img { transform: scale(1.12); }
.category-page-card:hover { transform: translateY(-6px); box-shadow: var(--sz-shadow-lg); border-color: transparent; }
.category-page-card .cat-count { color: var(--sz-gray); font-size: 0.85rem; }

/* Sport Card */
.sport-card {
  border-radius: var(--sz-radius); overflow: hidden; display: block;
  background: #fff; border: 1px solid var(--sz-border);
  box-shadow: var(--sz-shadow-sm); transition: var(--sz-transition);
}
.sport-card .sport-card-img-wrap {
  height: 150px; background: var(--sz-light);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.sport-card .sport-card-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.sport-card .sport-card-label { padding: 14px 12px; text-align: center; }
.sport-card .sport-card-label h5 { margin: 0; font-weight: 600; color: var(--sz-dark); }
.sport-card .sport-card-label small { color: var(--sz-gray); }
.sport-card:hover .sport-card-img-wrap img { transform: scale(1.1); }
.sport-card:hover { box-shadow: var(--sz-shadow-lg); transform: translateY(-6px); border-color: transparent; }

/* Feature icon card */
.feature-icon-card {
  text-align: center; padding: 32px 18px; border-radius: var(--sz-radius);
  transition: var(--sz-transition); height: 100%;
}
.feature-icon-card:hover { transform: translateY(-6px); }
.feature-icon-card .feature-icon {
  width: 86px; height: 86px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--sz-primary), var(--sz-secondary));
  color: #fff; transition: var(--sz-transition);
}
.feature-icon-card:hover .feature-icon { transform: rotate(8deg) scale(1.08); }

/* Testimonial */
.testimonial-card {
  background: var(--sz-light); border-radius: var(--sz-radius);
  padding: 36px; text-align: center; max-width: 720px; margin: 0 auto;
}
.testimonial-card .testimonial-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 3px solid #fff; box-shadow: var(--sz-shadow-sm);
}
.testimonial-card .stars { color: var(--sz-accent); }
.testimonial-card p.quote { font-size: 1.05rem; font-style: italic; color: var(--sz-gray); }

/* ── 8. Newsletter ────────────────────────────────────────────────────────── */
.sz-newsletter{
	 background:linear-gradient(90deg,rgba(129, 199, 132, 0.85) 0%, rgba(129, 199, 132, 0.85) 100%),
    url('../images/newsletter.png') center/cover no-repeat !important;
}
.newsletter-section {
  background: linear-gradient(120deg, var(--sz-primary), var(--sz-primary-dark));
  color: #fff; border-radius: var(--sz-radius); padding: 48px;
}
.newsletter-section .form-control { border-radius: 50px; padding: 12px 20px; border: none; }
.newsletter-section .btn         { border-radius: 50px; padding: 12px 28px; }

/* ── 9. Footer ────────────────────────────────────────────────────────────── */
.footer-sz { background: var(--sz-dark); color: #c9ccd0; }
.footer-sz h6 { color: #fff; font-weight: 600; margin-bottom: 18px; }
.footer-sz a  { color: #c9ccd0; transition: var(--sz-transition); display: inline-block; }
.footer-sz a:hover { color: var(--sz-accent); transform: translateX(3px); }
.footer-sz .footer-links li { margin-bottom: 10px; }
.footer-sz .social-icons a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px; color: #fff;
}
.footer-sz .social-icons a:hover { background: var(--sz-primary); transform: translateY(-4px); }
.footer-bottom { background: #181b1e; padding: 16px 0; font-size: 0.85rem; color: #9aa0a6; }
.footer-payment-icons i { font-size: 1.6rem; margin-left: 10px; color: #c9ccd0; }

/* ── 10. Back to top ──────────────────────────────────────────────────────── */
.btn-back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sz-primary); color: #fff;
  display: none; align-items: center; justify-content: center;
  z-index: 999; box-shadow: var(--sz-shadow); transition: var(--sz-transition); border: none;
}
.btn-back-to-top:hover { background: var(--sz-accent); transform: translateY(-4px); }
.btn-back-to-top.show  { display: flex; }

/* ── 11. Products filter sidebar ─────────────────────────────────────────── */
.filter-sidebar {
  background: #fff; border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius); padding: 20px;
}
.filter-sidebar .filter-block { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--sz-border); }
.filter-sidebar .filter-block:last-child { border-bottom: none; margin-bottom: 0; }
.filter-sidebar .filter-title { font-weight: 600; margin-bottom: 12px; font-size: 0.95rem; }
.filter-sidebar .form-check { margin-bottom: 8px; }
.filter-sidebar .form-check-label { font-size: 0.9rem; color: #495057; }
/* Filter toggle button (mobile) */
.filter-toggle-btn {
  display: none; width: 100%; margin-bottom: 12px;
  background: var(--sz-primary); color: #fff; border: none;
  border-radius: 8px; padding: 11px 16px; font-size: 14px; font-weight: 600;
  cursor: pointer; align-items: center; gap: 8px; justify-content: space-between;
}
.color-swatch {
  width: 22px; height: 22px; border-radius: 50%; display: inline-block;
  border: 2px solid #fff; outline: 1px solid var(--sz-border);
  cursor: pointer; transition: var(--sz-transition);
}
.color-swatch.active { outline: 2px solid var(--sz-primary); transform: scale(1.15); }
.size-box {
  width: 42px; height: 38px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--sz-border); border-radius: 6px;
  font-size: 0.85rem; cursor: pointer; transition: var(--sz-transition); margin: 0 4px 8px 0;
}
.size-box:hover, .size-box.active { border-color: var(--sz-primary); background: var(--sz-primary); color: #fff; }
.toolbar-sz { background: var(--sz-light); border-radius: var(--sz-radius); padding: 12px 18px; }

/* ── 12. Product Details ──────────────────────────────────────────────────── */
.pd-thumb {
  width: 100%; aspect-ratio: 1/1; object-fit: contain; background: var(--sz-light);
  padding: 8px; box-sizing: border-box; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; transition: var(--sz-transition);
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--sz-primary); }
.pd-main-img-wrap {
  border-radius: var(--sz-radius); overflow: hidden; background: var(--sz-light); aspect-ratio: 1/1;
}
.pd-main-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 28px; box-sizing: border-box; }
.qty-selector { display: inline-flex; align-items: center; border: 1px solid var(--sz-border); border-radius: 8px; overflow: hidden; }
.qty-selector button { width: 40px; height: 42px; background: var(--sz-light); border: none; font-size: 1.1rem; color: var(--sz-dark); }
.qty-selector button:hover { background: var(--sz-primary); color: #fff; }
.qty-selector input { width: 50px; height: 42px; text-align: center; border: none; border-left: 1px solid var(--sz-border); border-right: 1px solid var(--sz-border); }
.size-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 42px; padding: 0 12px;
  border: 1px solid var(--sz-border); border-radius: 50px;
  margin: 0 6px 8px 0; cursor: pointer; transition: var(--sz-transition); font-size: 0.9rem;
}
.size-pill:hover, .size-pill.active { background: var(--sz-primary); border-color: var(--sz-primary); color: #fff; }
.nav-tabs-sz .nav-link { border: none; font-weight: 500; color: var(--sz-gray); padding: 12px 22px; }
.nav-tabs-sz .nav-link.active { color: var(--sz-primary); border-bottom: 3px solid var(--sz-primary); background: none; }
.review-item { border-bottom: 1px solid var(--sz-border); padding: 18px 0; }
.review-item:last-child { border-bottom: none; }

/* ── 13. Cart ─────────────────────────────────────────────────────────────── */
.cart-table img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.cart-summary-box { background: var(--sz-light); border-radius: var(--sz-radius); padding: 24px; }
.remove-item-btn { color: #dc3545; background: none; border: none; font-size: 1.1rem; }
.remove-item-btn:hover { color: #a71d2a; }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-state i { font-size: 5rem; color: var(--sz-border); }

/* ── 14. Checkout / Payment ───────────────────────────────────────────────── */
.checkout-step-box, .payment-card {
  background: #fff; border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius); padding: 24px; margin-bottom: 24px;
}
.payment-method-option {
  border: 1px solid var(--sz-border); border-radius: var(--sz-radius);
  padding: 14px 18px; margin-bottom: 12px; cursor: pointer; transition: var(--sz-transition);
}
.payment-method-option:hover        { border-color: var(--sz-primary); }
.payment-method-option.active       { border-color: var(--sz-primary); background: rgba(129,199,132,.04); }
.order-summary-box {
  background: var(--sz-light); border-radius: var(--sz-radius);
  padding: 22px; position: sticky; top: 100px;
}
.checkout-progress { display: flex; align-items: center; justify-content: center; margin-bottom: 30px; }
.checkout-progress .step { display: flex; align-items: center; color: var(--sz-gray); font-weight: 500; font-size: 0.9rem; }
.checkout-progress .step .circle {
  width: 34px; height: 34px; border-radius: 50%; background: var(--sz-light);
  border: 1px solid var(--sz-border); display: flex; align-items: center; justify-content: center;
  margin-right: 8px; font-weight: 600;
}
.checkout-progress .step.active         { color: var(--sz-primary); }
.checkout-progress .step.active .circle { background: var(--sz-primary); color: #fff; border-color: var(--sz-primary); }
.checkout-progress .step.done .circle   { background: var(--sz-secondary); color: #fff; border-color: var(--sz-secondary); }
.checkout-progress .divider-line { width: 60px; height: 2px; background: var(--sz-border); margin: 0 12px; }
.payment-tabs .nav-link {
  border: 1px solid var(--sz-border); border-radius: 8px;
  margin-right: 8px; margin-bottom: 8px; color: var(--sz-dark); font-weight: 500;
}
.payment-tabs .nav-link.active { background: var(--sz-primary); color: #fff; border-color: var(--sz-primary); }
.qr-placeholder {
  width: 220px; height: 220px; margin: 0 auto;
  background: repeating-linear-gradient(45deg, #f1f3f5, #f1f3f5 10px, #e9ecef 10px, #e9ecef 20px);
  border: 1px solid var(--sz-border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--sz-gray); font-size: 3rem;
}
.netbanking-bank, .wallet-option {
  border: 1px solid var(--sz-border); border-radius: 8px; padding: 14px; text-align: center; cursor: pointer; transition: var(--sz-transition);
}
.netbanking-bank:hover, .wallet-option:hover,
.netbanking-bank.active, .wallet-option.active { border-color: var(--sz-primary); box-shadow: var(--sz-shadow-sm); }

/* ── 15. Success Page ─────────────────────────────────────────────────────── */
.success-icon-circle {
  width: 110px; height: 110px; border-radius: 50%;
  background: rgba(129,199,132,0.1); color: var(--sz-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; margin: 0 auto 24px; animation: pop-in 0.5s ease;
}
@keyframes pop-in { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ── 16. Auth Pages ───────────────────────────────────────────────────────── */
.auth-wrapper { min-height: calc(100vh - 380px); display: flex; align-items: center; }
.auth-card { border-radius: var(--sz-radius); overflow: hidden; box-shadow: var(--sz-shadow); }
.auth-side-banner {
  background: linear-gradient(135deg, var(--sz-primary), var(--sz-secondary));
  color: #fff; padding: 50px 40px; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.social-btn { border: 1px solid var(--sz-border); border-radius: 8px; padding: 10px; font-weight: 500; transition: var(--sz-transition); }
.social-btn:hover { background: var(--sz-light); transform: translateY(-2px); }
.password-toggle { cursor: pointer; }

/* ── 17. About ────────────────────────────────────────────────────────────── */
.stat-box { text-align: center; padding: 20px; }
.stat-box .stat-number { font-size: 2.6rem; font-weight: 700; color: var(--sz-primary); }
.team-card { text-align: center; border-radius: var(--sz-radius); overflow: hidden; box-shadow: var(--sz-shadow-sm); }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.team-card .team-info { padding: 18px; }
.team-card .social-mini a {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sz-light); color: var(--sz-primary); margin: 0 3px;
}
.team-card .social-mini a:hover { background: var(--sz-primary); color: #fff; }
.certification-badge { text-align: center; padding: 24px; border: 1px solid var(--sz-border); border-radius: var(--sz-radius); }
.certification-badge i { font-size: 2.6rem; color: var(--sz-secondary); }

/* ── 18. Contact ──────────────────────────────────────────────────────────── */
.contact-info-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--sz-radius); background: var(--sz-light); margin-bottom: 18px; }
.contact-info-card .icon-box {
  width: 50px; height: 50px; min-width: 50px; border-radius: 50%;
  background: var(--sz-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.map-placeholder {
  height: 320px; border-radius: var(--sz-radius);
  background: var(--sz-light);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--sz-gray); border: 1px solid var(--sz-border);
}
.map-placeholder i { font-size: 3rem; color: var(--sz-primary); }

/* ── 19. Pagination / Accordion / Toast ──────────────────────────────────── */
.pagination .page-link { color: var(--sz-dark); border-radius: 8px; margin: 0 3px; border: 1px solid var(--sz-border); }
.pagination .page-item.active .page-link { background: var(--sz-primary); border-color: var(--sz-primary); }
.pagination .page-link:hover { background: var(--sz-light); color: var(--sz-primary); }
.accordion-sz .accordion-button:not(.collapsed) { background: rgba(129,199,132,0.06); color: var(--sz-primary); box-shadow: none; }
.accordion-sz .accordion-button:focus { box-shadow: none; border-color: var(--sz-border); }
.toast-container { z-index: 1080; }

/* ── 20. Admin Panel ──────────────────────────────────────────────────────── */
body.admin-body { background: #f4f6f9; }
.admin-sidebar {
  width: 260px; min-height: 100vh; background: #14181d; color: #cfd3d8;
  position: fixed; top: 0; left: 0; z-index: 1040; transition: margin-left 0.3s ease;
}
.admin-sidebar .sidebar-brand { padding: 20px; font-size: 1.4rem; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar .sidebar-brand span { color: var(--sz-accent); }
.admin-sidebar .nav-link { color: #cfd3d8; padding: 12px 22px; font-size: 0.92rem; font-weight: 500; border-left: 3px solid transparent; transition: var(--sz-transition); }
.admin-sidebar .nav-link i { width: 22px; margin-right: 10px; }
.admin-sidebar .nav-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-sidebar .nav-link.active { background: rgba(129,199,132,0.15); color: #fff; border-left-color: var(--sz-primary); }
.admin-main { margin-left: 260px; min-height: 100vh; transition: margin-left 0.3s ease; }
.admin-topbar { background: #fff; box-shadow: var(--sz-shadow-sm); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.admin-content { padding: 24px; }
.admin-stat-card { background: #fff; border-radius: var(--sz-radius); padding: 22px; box-shadow: var(--sz-shadow-sm); display: flex; align-items: center; gap: 16px; transition: var(--sz-transition); }
.admin-stat-card:hover { transform: translateY(-4px); box-shadow: var(--sz-shadow); }
.admin-stat-card .stat-icon { width: 56px; height: 56px; min-width: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; }
.admin-stat-card .stat-value { font-size: 1.5rem; font-weight: 700; margin: 0; }
.admin-stat-card .stat-label { color: var(--sz-gray); font-size: 0.85rem; margin: 0; }
.admin-card { background: #fff; border-radius: var(--sz-radius); padding: 22px; box-shadow: var(--sz-shadow-sm); }
.chart-placeholder { height: 280px; border-radius: 8px; background: var(--sz-light); display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--sz-gray); gap: 10px; }
.chart-placeholder i { font-size: 2.6rem; color: var(--sz-primary); }
.bar-chart-mock { display: flex; align-items: flex-end; gap: 10px; height: 220px; width: 100%; padding: 0 10px; }
.bar-chart-mock .bar { flex: 1; background: linear-gradient(180deg, var(--sz-primary), var(--sz-secondary)); border-radius: 6px 6px 0 0; position: relative; transition: var(--sz-transition); }
.bar-chart-mock .bar:hover { opacity: 0.8; }
.line-chart-mock { width: 100%; height: 220px; }
.admin-table thead th { background: var(--sz-light); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.4px; color: var(--sz-gray); font-weight: 600; border-bottom: none; }
.admin-table td { vertical-align: middle; font-size: 0.9rem; }
.admin-table img.table-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }

/* ── 21. Animations ───────────────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease both; }

/* ── 22. Responsive ───────────────────────────────────────────────────────── */
/* Navbar breakpoints */
@media (max-width: 1199px) { .sz-nav-actions { gap: 8px; } }
@media (max-width: 991px) {
  .sz-nav-links  { display: none !important; }
  .sz-search-box { display: none !important; }
  .sz-hamburger  { display: block !important; }
  .sz-mega-menu  { display: none !important; }
  .admin-sidebar { margin-left: -260px; }
  .admin-sidebar.show { margin-left: 0; }
  .admin-main    { margin-left: 0; }
  .filter-sidebar { position: static !important; margin-bottom: 0; }
  .filter-toggle-btn { display: flex; }
  .filter-sidebar.filter-collapsed { display: none; }
  .order-summary-box { position: static !important; top: auto; margin-top: 20px; }
}
@media (max-width: 767px) {
  .sz-logo          { font-size: 20px !important; }
  .sz-nav-inner     { height: 58px; }
  .section-padding  { padding: 40px 0; }
  .newsletter-section { padding: 30px 20px; }
  .auth-side-banner { display: none !important; }
  .auth-wrapper     { min-height: auto; padding: 24px 0 36px; align-items: flex-start; }
  .auth-card        { box-shadow: none; }
  .checkout-progress .step { font-size: 0.76rem; }
  .checkout-progress .step .circle { width: 28px; height: 28px; font-size: 11px; margin-right: 4px; }
  .checkout-progress .divider-line  { width: 20px; margin: 0 4px; }
  .map-placeholder  { height: 240px; }
  .cart-table img   { width: 60px !important; height: 60px !important; }
  .cart-summary-box { margin-top: 20px; }
  .page-banner      { padding: 28px 0 16px; }
  .page-banner h1   { font-size: 1.5rem; }
  .footer-sz        { padding-top: 36px !important; }
  .footer-bottom    { font-size: 12px; }
}
@media (max-width: 575px) {
  .sz-nav-inner     { height: 54px; }
  .sz-nav-actions   { gap: 5px !important; }
  .sz-action-icon   { font-size: 16px !important; }
  .sz-topbar        { font-size: 11px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sz-logo          { font-size: 18px !important; }
  /* Products single-column horizontal card on phones */
  #productsGrid .col-6, #wishlistGrid .col-6 {
    width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important;
  }
  #productsGrid .product-card, #wishlistGrid .product-card {
    display: grid !important; grid-template-columns: 110px 1fr; height: auto !important;
  }
  #productsGrid .product-img-wrap, #wishlistGrid .product-img-wrap { height: 110px; width: 110px; }
  #productsGrid .quick-view-btn,  #wishlistGrid .quick-view-btn   { display: none; }
  #productsGrid .product-body,    #wishlistGrid .product-body     { padding: 10px 10px 10px 0; }
  #productsGrid .product-name,    #wishlistGrid .product-name     { font-size: 0.82rem; min-height: auto; }
  /* Checkout circles only */
  .checkout-progress .step > span:not(.circle) { display: none; }
  .checkout-progress .step .circle { margin-right: 0; width: 26px; height: 26px; font-size: 10px; }
  .checkout-progress .divider-line { width: 12px; margin: 0 3px; }
  .section-padding  { padding: 28px 0 !important; }
  .page-banner      { padding: 20px 0 12px; }
  .page-banner h1   { font-size: 1.2rem; }
  .empty-state      { padding: 48px 16px; }
  .empty-state i    { font-size: 3.5rem; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none !important; }
  .map-placeholder  { height: 200px; }
  .contact-info-card { flex-direction: column; }
  .success-icon-circle { width: 80px; height: 80px; font-size: 2.5rem; }
  .admin-card .border-end { border-right: none !important; border-bottom: 1px solid var(--sz-border); padding-bottom: 10px; margin-bottom: 10px; }
}
@media (max-width: 400px) {
  body { font-size: 13px; }
  .btn { font-size: 12px; }
}

/* ==========================================================================
   ── INDEX PAGE — Hero / Home Sections ──────────────────────────────────────
   ========================================================================== */
.sz-hero {
  height: 620px;
  background:linear-gradient(90deg,rgba(129, 199, 132, 1) 0%, rgba(129, 199, 132, 0.23) 100%),
    url('../images/banner-2.png') center/cover no-repeat;
  display: flex; align-items: center; color: white;background-position:center center;
}
.sz-hero-content { max-width: 620px; }
.sz-hero h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 18px; text-transform: uppercase; letter-spacing: -1px; }
.sz-hero p  { font-size: 17px; margin-bottom: 30px; opacity: 0.92; }
.sz-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.sz-btn-white {
  background: white; color: var(--primary); font-weight: 700; padding: 13px 28px;
  border-radius: 8px; border: none; font-size: 15px; cursor: pointer; transition: all 0.25s; text-decoration: none;
}
.sz-btn-white:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateY(-2px); }
.sz-btn-outline-white {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.8);
  font-weight: 700; padding: 13px 28px; border-radius: 8px; font-size: 15px; cursor: pointer; transition: all 0.25s; text-decoration: none;
}
.sz-btn-outline-white:hover { background: rgba(255,255,255,0.15); color: white; transform: translateY(-2px); }
.sz-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.sz-section-header h2 { font-size: 26px; font-weight: 800; border-left: 5px solid var(--primary); padding-left: 12px; margin: 0; color: var(--text-main); }
.sz-view-all { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; border: 1.5px solid var(--primary); padding: 6px 14px; border-radius: 6px; transition: all 0.2s; }
.sz-view-all:hover { background: var(--primary); color: white; }
.sz-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 14px; margin-bottom: 60px; }
.sz-cat-card { background: var(--light-surface); border: 1px solid var(--border-color); border-radius: 10px;text-align: center; font-weight: 600; font-size: 13px; color: var(--text-main); text-decoration: none; transition: all 0.25s; box-shadow: var(--shadow); display: block;border-radius:10px;overflow:hidden;padding-bottom:10px;background:#81c784; }
.sz-cat-card img{padding-bottom:10px;}
.sz-cat-card i { font-size: 28px; color: var(--primary); margin-bottom: 10px; display: block; }
.sz-cat-card:hover { transform: translateY(-5px); background: var(--primary); color: white; border-color: var(--primary); }
.sz-cat-card:hover i { color: white; }
.sz-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 24px; margin-bottom: 60px; }
.sz-product-card { background: var(--light-surface); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; position: relative; transition: all 0.25s; display: flex; flex-direction: column; }
.sz-product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.sz-prod-img { position: relative; background: #f5f5f5; height: 240px; overflow: hidden; }
.sz-prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; position: relative; z-index: 1; }
.sz-product-card:hover .sz-prod-img img { transform: scale(1.06); }
.sz-wish-btn { position: absolute; top: 10px; right: 10px; background: white; border: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); cursor: pointer; color: var(--text-muted); transition: all 0.2s; font-size: 15px; z-index: 5; }
.sz-wish-btn:hover, .sz-wish-btn.active { color: var(--accent); transform: scale(1.1); }
.sz-prod-badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 5; }
.sz-badge-sale { background: var(--accent); color: white; }
.sz-badge-new  { background: var(--primary); color: white; }
.sz-prod-body  { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; }
.sz-prod-brand { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.sz-prod-name  { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; color: var(--text-main); text-decoration: none; }
.sz-prod-name:hover { color: var(--primary); }
.sz-prod-stars { color: #f0a500; font-size: 12px; margin-bottom: 10px; }
.sz-prod-stars span { color: var(--text-muted); margin-left: 4px; font-weight: 500; }
.sz-prod-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border-color); flex-wrap: nowrap; }
.sz-prod-price { font-size: 19px; font-weight: 800; color: var(--text-main); }
.sz-prod-old   { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-left: 6px; }
.sz-add-cart {
  background: var(--primary);
  color: white;
  border: none;
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, width 0.2s, padding 0.2s;
  flex-shrink: 0;
}
.sz-add-cart:hover { background: var(--primary-dark); }
.sz-add-cart i { font-size: 15px; }
.sz-add-cart.in-cart { background: #198754; }
.sz-add-cart.in-cart:hover { background: #dc3545; }
.sz-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin: 40px 0 60px; }
.sz-feature-box { background: var(--primary-light); padding: 22px; border-radius: 10px; display: flex; gap: 14px; align-items: flex-start; }
.sz-feature-box i { font-size: 26px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.sz-feature-box h5 { font-weight: 700; margin-bottom: 4px; font-size: 15px; color: var(--text-main); }
.sz-feature-box p  { font-size: 13px; color: var(--text-muted); margin: 0; }
/* Index custom footer */
.sz-footer { background: var(--dark-bg,#1A1A1A); color: #E2E8F0; padding: 56px 0 24px; border-top: 4px solid var(--primary); margin-top: 60px; font-size: 14px; }
.sz-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 36px; margin-bottom: 40px; }
.sz-footer-col h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.sz-footer-col ul { list-style: none; margin: 0; padding: 0; }
.sz-footer-col ul li { margin-bottom: 9px; }
.sz-footer-col ul li a { color: #A0AEC0; text-decoration: none; transition: color 0.2s; }
.sz-footer-col ul li a:hover { color: white; }
.sz-social-row { display: flex; gap: 10px; margin-top: 14px; }
.sz-social-btn { width: 34px; height: 34px; background: #2D3748; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 14px; transition: background 0.2s; }
.sz-social-btn:hover { background: var(--primary); }
.sz-footer-bottom { border-top: 1px solid #2D3748; padding-top: 20px; text-align: center; color: #718096; font-size: 13px; }
.sz-back-top { position: fixed; bottom: 28px; right: 28px; background: var(--primary); color: white; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 999; border: none; font-size: 16px; }
.sz-back-top.show { opacity: 1; pointer-events: auto; }
.sz-back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
/* Index responsive */
@media (max-width: 767px) {
  .sz-hero { height: auto; padding: 56px 0 44px; }
  .sz-hero h1 { font-size: 28px; }
  .sz-hero p  { font-size: 14px; }
  .sz-hero-btns { flex-direction: column; gap: 10px; }
  .sz-btn-white, .sz-btn-outline-white { width: 100%; text-align: center; }
  .sz-product-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .sz-prod-img { height: 160px; }
  .sz-features { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .sz-footer-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
}
@media (max-width: 575px) {
  .sz-hero h1 { font-size: 22px; }
  .sz-cat-grid { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .sz-cat-card {font-size: 10px; }
  .sz-cat-card i { font-size: 20px; }
  .sz-product-grid { grid-template-columns: 1fr; }
  .sz-prod-img { height: 200px; }
  .sz-footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ── PROFILE PAGE ───────────────────────────────────────────────────────────
   ========================================================================== */
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 32px 0 64px; align-items: start; }
.profile-sidebar { background: var(--light-surface,#fff); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.04); position: sticky; top: 90px; }
.profile-avatar-block { background: linear-gradient(135deg,#81C784,#66BB6A); padding: 32px 24px; text-align: center; }
.avatar-ring { width: 88px; height: 88px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.3); margin: 0 auto 14px; overflow: hidden; position: relative; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.avatar-initials { font-size: 30px; font-weight: 800; color: white; }
.avatar-edit { position: absolute; bottom: 0; right: 0; background: white; color: var(--sz-primary,#81C784); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.2); transition: transform 0.2s; }
.avatar-edit:hover { transform: scale(1.1); }
.profile-avatar-block h5 { color: white; font-weight: 700; font-size: 17px; margin: 0 0 3px; }
.profile-avatar-block p  { color: rgba(255,255,255,0.75); font-size: 13px; margin: 0 0 14px; }
.profile-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.2); color: white; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.profile-nav { padding: 12px 0; }
.profile-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 22px; font-size: 14px; font-weight: 600; color: var(--sz-gray,#6c757d); cursor: pointer; transition: all 0.2s; border-left: 3px solid transparent; text-decoration: none; }
.profile-nav-item i { width: 18px; font-size: 15px; text-align: center; }
.profile-nav-item:hover  { color: var(--sz-primary,#81C784); background: #E8F5E9; }
.profile-nav-item.active { color: var(--sz-primary,#81C784); background: #E8F5E9; border-left-color: var(--sz-primary,#81C784); }
.profile-nav-divider { height: 1px; background: var(--sz-border,#e9ecef); margin: 8px 0; }
.profile-panel { display: none; }
.profile-panel.active { display: block; }
.pcard { background: var(--light-surface,#fff); border-radius: 16px; padding: 28px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.04); }
.pcard-title { font-size: 17px; font-weight: 700; color: var(--sz-dark,#212529); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--sz-border,#e9ecef); display: flex; align-items: center; gap: 10px; }
.pcard-title i { color: var(--sz-primary,#81C784); font-size: 16px; }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 20px; }
.stat-tile { background: #E8F5E9; border-radius: 12px; padding: 18px 16px; text-align: center; }
.stat-tile .num { font-size: 26px; font-weight: 800; color: var(--sz-primary,#81C784); line-height: 1; }
.stat-tile .lbl { font-size: 12px; font-weight: 600; color: var(--sz-gray,#6c757d); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-save { background: var(--sz-primary,#81C784); color: white; border: none; padding: 11px 28px; border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.btn-save:hover { background: #66BB6A; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(129,199,132,0.3); }
.btn-danger-soft { background: #FFF5F5; color: #C53030; border: 1.5px solid #FED7D7; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.btn-danger-soft:hover { background: #FED7D7; }
.btn-track { background: transparent; border: 1.5px solid var(--sz-primary,#81C784); color: var(--sz-primary,#81C784); padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-track:hover { background: var(--sz-primary,#81C784); color: white; }
/* Order cards */
.order-card { border: 1.5px solid var(--sz-border,#e9ecef); border-radius: 14px; margin-bottom: 16px; overflow: hidden; transition: box-shadow 0.2s; }
.order-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.order-card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px 20px; background: #FAFBFC; border-bottom: 1px solid var(--sz-border,#e9ecef); }
.order-id   { font-size: 13px; font-weight: 700; color: var(--sz-primary,#81C784); }
.order-date { font-size: 12px; color: var(--sz-gray,#6c757d); }
.order-status-badge { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.status-delivered  { background: #C6F6D5; color: #276749; }
.status-shipped    { background: #BEE3F8; color: #2A69AC; }
.status-processing { background: #FEFCBF; color: #975A16; }
.status-cancelled  { background: #FED7D7; color: #9B2C2C; }
.order-card-body   { padding: 16px 20px; }
.order-items-row   { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.order-item-thumb  { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--sz-border,#e9ecef); }
.order-item-more   { width: 56px; height: 56px; border-radius: 10px; background: #E8F5E9; color: var(--sz-primary,#81C784); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.order-meta        { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.order-total       { font-size: 16px; font-weight: 800; color: var(--sz-dark,#212529); }
.order-items-count { font-size: 13px; color: var(--sz-gray,#6c757d); }
/* Address */
.address-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 14px; }
.address-card { border: 1.5px solid var(--sz-border,#e9ecef); border-radius: 12px; padding: 18px; position: relative; transition: all 0.2s; }
.address-card.default { border-color: var(--sz-primary,#81C784); background: #E8F5E9; }
.address-card:hover   { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.address-default-tag  { position: absolute; top: -1px; right: 12px; background: var(--sz-primary,#81C784); color: white; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 0 0 6px 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.address-name    { font-size: 14px; font-weight: 700; color: var(--sz-dark,#212529); margin-bottom: 6px; }
.address-line    { font-size: 13px; color: var(--sz-gray,#6c757d); line-height: 1.5; }
.address-actions { display: flex; gap: 8px; margin-top: 12px; }
.address-btn { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px; cursor: pointer; border: 1px solid var(--sz-border,#e9ecef); background: white; color: var(--sz-dark,#212529); transition: all 0.2s; }
.address-btn:hover { border-color: var(--sz-primary,#81C784); color: var(--sz-primary,#81C784); }
.add-address-card { border: 1.5px dashed var(--sz-border,#e9ecef); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer; min-height: 120px; transition: all 0.2s; color: var(--sz-gray,#6c757d); }
.add-address-card:hover { border-color: var(--sz-primary,#81C784); color: var(--sz-primary,#81C784); background: #E8F5E9; }
.add-address-card i    { font-size: 22px; margin-bottom: 6px; }
.add-address-card span { font-size: 13px; font-weight: 600; }
/* Profile wishlist mini-grid */
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 14px; }
.wish-item { border: 1.5px solid var(--sz-border,#e9ecef); border-radius: 12px; overflow: hidden; transition: all 0.2s; position: relative; }
.wish-item:hover  { box-shadow: 0 4px 14px rgba(0,0,0,0.1); transform: translateY(-2px); }
.wish-img    { width: 100%; height: 130px; object-fit: cover; display: block; }
.wish-body   { padding: 10px 12px; }
.wish-name   { font-size: 12px; font-weight: 700; color: var(--sz-dark,#212529); margin-bottom: 4px; line-height: 1.3; }
.wish-price  { font-size: 13px; font-weight: 800; color: var(--sz-primary,#81C784); }
.wish-remove { position: absolute; top: 6px; right: 6px; background: white; border: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; cursor: pointer; color: var(--sz-accent,#FF8A65); box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.wish-remove:hover { transform: scale(1.15); }
/* Tracking modal */
.track-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(3px); }
.track-modal-overlay.open { display: flex; }
.track-modal { background: var(--light-surface,#fff); border-radius: 20px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; animation: slideUp 0.3s cubic-bezier(0.4,0,0.2,1); }
@keyframes slideUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.track-modal-header { padding: 22px 26px 18px; border-bottom: 1px solid var(--sz-border,#e9ecef); display: flex; align-items: flex-start; justify-content: space-between; }
.track-modal-header h5 { font-weight: 800; font-size: 17px; margin: 0 0 3px; }
.track-modal-header p  { font-size: 13px; color: var(--sz-gray,#6c757d); margin: 0; }
.track-modal-close { background: #F7FAFC; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--sz-gray,#6c757d); font-size: 14px; flex-shrink: 0; }
.track-modal-close:hover { background: var(--sz-border,#e9ecef); }
.track-modal-body { padding: 24px 26px; }
.delivery-bar { background: #E8F5E9; border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.delivery-bar i   { font-size: 22px; color: var(--sz-primary,#81C784); flex-shrink: 0; }
.delivery-bar .lbl { font-size: 12px; color: var(--sz-gray,#6c757d); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.delivery-bar .val { font-size: 15px; font-weight: 800; color: var(--sz-primary,#81C784); }
.track-timeline { position: relative; padding-left: 36px; }
.track-timeline::before { content:''; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--sz-border,#e9ecef); }
.track-step { position: relative; margin-bottom: 28px; }
.track-step:last-child { margin-bottom: 0; }
.track-dot { position: absolute; left: -36px; top: 2px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; z-index: 1; }
.track-dot.done   { background: var(--sz-primary,#81C784); color: white; box-shadow: 0 0 0 4px #E8F5E9; }
.track-dot.active { background: #FF8A65; color: white; box-shadow: 0 0 0 4px #FFF3CD; animation: pulse 1.6s ease-in-out infinite; }
.track-dot.pending{ background: var(--sz-border,#e9ecef); color: var(--sz-gray,#6c757d); }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 4px #FFF3CD;} 50%{box-shadow:0 0 0 8px rgba(255,138,101,0.15);} }
.track-step-title { font-size: 14px; font-weight: 700; color: var(--sz-dark,#212529); margin-bottom: 2px; }
.track-step-title.muted { color: var(--sz-gray,#6c757d); font-weight: 600; }
.track-step-desc  { font-size: 12px; color: var(--sz-gray,#6c757d); }
.track-step-time  { font-size: 11px; color: var(--sz-gray,#6c757d); margin-top: 2px; font-style: italic; }
.modal-order-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sz-border,#e9ecef); }
.modal-order-item:last-child { border-bottom: none; }
.modal-order-item img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; border: 1px solid var(--sz-border,#e9ecef); }
.item-name  { font-size: 13px; font-weight: 600; }
.item-meta  { font-size: 12px; color: var(--sz-gray,#6c757d); }
.item-price { font-size: 14px; font-weight: 700; margin-left: auto; flex-shrink: 0; }
/* Security section */
.security-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--sz-border,#e9ecef); }
.security-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.security-label { font-size: 13px; font-weight: 700; color: var(--sz-dark,#212529); margin-bottom: 2px; }
.security-hint  { font-size: 12px; color: var(--sz-gray,#6c757d); margin-bottom: 12px; }
/* Profile responsive */
@media (max-width: 991px) { .profile-layout { grid-template-columns: 1fr; } .profile-sidebar { position: static; } }
@media (max-width: 575px) {
  .stats-row { gap: 8px; }
  .stat-tile .num { font-size: 18px; }
  .order-card-head { flex-direction: column; align-items: flex-start; }
  .order-meta { flex-direction: column; align-items: flex-start; }
  .address-grid { grid-template-columns: 1fr; }
  .wish-grid { grid-template-columns: repeat(2,1fr); }
  .track-modal { border-radius: 12px; }
  .track-modal-header, .track-modal-body { padding: 16px 18px; }
}

/* ==========================================================================
   ── ADMIN PAGE-SPECIFIC STYLES ─────────────────────────────────────────────
   ========================================================================== */
/* Image upload zones (admin/categories + admin/products) */
.image-upload-zone { border: 2px dashed #dee2e6; border-radius: 10px; padding: 20px; text-align: center; background: #f8f9fa; cursor: pointer; transition: all 0.25s ease; position: relative; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.image-upload-zone:hover, .image-upload-zone.dragging { border-color: #81C784; background: #E8F5E9; }
.image-upload-zone.has-image  { padding: 10px; background: #fff; }
.image-upload-zone .upload-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(129,199,132,0.1); color: #81C784; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 4px; }
.image-upload-zone .upload-title    { font-weight: 600; font-size: 14px; color: #212529; margin: 0; }
.image-upload-zone .upload-subtitle { font-size: 12px; color: #6c757d; margin: 0; }
.image-upload-zone .upload-formats  { font-size: 11px; color: #adb5bd; margin-top: 4px; }
.image-upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-preview-wrap { position: relative; width: 100%; max-width: 200px; margin: 0 auto; }
.image-preview-wrap img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; display: block; }
.image-preview-wrap .remove-image-btn { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(220,53,69,0.9); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: transform 0.2s; }
.image-preview-wrap .remove-image-btn:hover { transform: scale(1.1); background: #dc3545; }
.image-preview-wrap .image-info { margin-top: 8px; padding: 6px 10px; background: #f8f9fa; border-radius: 6px; font-size: 12px; color: #495057; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.image-preview-wrap .image-info .file-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.image-preview-wrap .image-info .file-size { color: #6c757d; white-space: nowrap; }
/* Admin dashboard */
.chart-wrap { position: relative; width: 100%; height: 220px; overflow: hidden; }
.chart-wrap canvas { width: 100% !important; height: 100% !important; }
.chart-wrap-sm { height: 200px; max-height: 200px; }
.chart-wrap-sm canvas { max-height: 200px; }
.metric-period-btn { padding: 2px 8px; font-size: 10px; border-radius: 6px; border: 1px solid #e9ecef; background: #fff; color: #6c757d; cursor: pointer; transition: all 0.2s; }
.metric-period-btn:hover  { border-color: #81C784; color: #81C784; }
.metric-period-btn.active { background: #81C784; border-color: #81C784; color: #fff; }
.qa-card { transition: all 0.25s ease; text-decoration: none; color: inherit; }
.qa-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); border-color: #81C784 !important; color: inherit; }
.qa-card:hover .qa-arrow { transform: translateX(4px); color: #81C784; }
.qa-arrow { transition: transform 0.2s; }
.sl-bar-fill { transition: width 0.4s ease; }
/* Admin login */
body.admin-login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#212529,#66BB6A); }
.admin-login-card { width: 100%; max-width: 420px; background: #fff; border-radius: 10px; box-shadow: 0 16px 40px rgba(33,37,41,0.16); padding: 40px; }
.admin-login-logo { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg,#81C784,#A5D6A7); display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.8rem; margin: 0 auto 16px; }
/* Admin marketing */
.marketing-nav .nav-link { color: #495057; font-weight: 500; border: none; border-bottom: 2px solid transparent; border-radius: 0; padding: .75rem 1.25rem; white-space: nowrap; }
.marketing-nav .nav-link:hover { color: #81C784; border-bottom-color: rgba(129,199,132,.3); background: transparent; }
.marketing-nav .nav-link.active { color: #81C784; border-bottom-color: #81C784; background: transparent; }
.coupon-code { font-family: 'Courier New',monospace; background: #f8f9fa; padding: 4px 10px; border-radius: 4px; border: 1px dashed #dee2e6; font-weight: 600; letter-spacing: 1px; font-size: .85rem; }
.progress-thin { height: 6px; }
.seo-score-circle { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-pill.active    { background: rgba(25,135,84,.12); color: #198754; }
.status-pill.active .dot { background: #198754; box-shadow: 0 0 0 3px rgba(25,135,84,.2); }
.status-pill.inactive  { background: rgba(108,117,125,.12); color: #6c757d; }
.status-pill.inactive .dot { background: #6c757d; }
.status-pill.scheduled { background: rgba(255,193,7,.18); color: #856404; }
.status-pill.scheduled .dot { background: #ffc107; }
.status-pill.expired   { background: rgba(220,53,69,.12); color: #dc3545; }
.status-pill.expired .dot { background: #dc3545; }
.status-pill.live      { background: rgba(220,53,69,.12); color: #dc3545; }
.status-pill.live .dot { background: #dc3545; box-shadow: 0 0 0 3px rgba(220,53,69,.2); }
.status-pill.ended, .status-pill.archived { background: rgba(108,117,125,.12); color: #6c757d; }
.status-pill.ended .dot, .status-pill.archived .dot { background: #6c757d; }
.status-pill.paused, .status-pill.sent { background: rgba(13,202,240,.15); color: #0aa2c0; }
.status-pill.paused .dot, .status-pill.sent .dot { background: #0dcaf0; }
.status-pill.pending   { background: rgba(255,193,7,.18); color: #856404; }
.status-pill.pending .dot { background: #ffc107; }
.status-pill.recovered, .status-pill.published { background: rgba(25,135,84,.12); color: #198754; }
.status-pill.recovered .dot, .status-pill.published .dot { background: #198754; }
.status-pill.draft     { background: rgba(255,193,7,.18); color: #856404; }
.status-pill.draft .dot { background: #ffc107; }
.modal-status-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid #e9ecef; border-radius: 8px; background: #f8f9fa; }
.form-switch-lg .form-check-input { width: 2.8em; height: 1.4em; cursor: pointer; }
/* Admin orders */
.order-detail-section { padding: 14px; border: 1px solid #e9ecef; border-radius: 8px; background: #f8f9fa; height: 100%; }
.order-detail-section h6 { font-size: 13px; font-weight: 600; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.order-detail-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #e9ecef; }
.order-detail-row:last-child { border-bottom: none; }
.order-detail-row .label { color: #6c757d; }
.order-detail-row .value { font-weight: 500; color: #212529; text-align: right; max-width: 60%; }
.order-item-card { display: flex; gap: 12px; padding: 12px; border: 1px solid #e9ecef; border-radius: 8px; background: #fff; margin-bottom: 8px; }
.order-item-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.order-item-card .item-info { flex: 1; min-width: 0; }
.order-item-card .item-name  { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.order-item-card .item-meta  { font-size: 12px; color: #6c757d; }
.order-item-card .item-price { font-weight: 600; font-size: 14px; color: #212529; white-space: nowrap; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: #e9ecef; }
.timeline-item { position: relative; padding-bottom: 16px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -22px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #dee2e6; }
.timeline-item.completed::before { background: #198754; border-color: #198754; }
.timeline-item.active::before    { background: #81C784; border-color: #81C784; box-shadow: 0 0 0 4px rgba(129,199,132,0.2); }
.timeline-item.cancelled::before { background: #dc3545; border-color: #dc3545; }
.timeline-item .tl-title { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.timeline-item .tl-time  { font-size: 11px; color: #6c757d; }
.timeline-item .tl-desc  { font-size: 12px; color: #495057; margin-top: 2px; }
.order-summary-box { background: linear-gradient(135deg,#E8F5E9,#fff); border: 1px solid #C8E6C9; border-radius: 8px; padding: 14px; }
.order-summary-box .summary-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; }
.order-summary-box .summary-row.total { border-top: 1px dashed #dee2e6; margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 15px; color: #81C784; }
.address-box { font-size: 13px; line-height: 1.6; color: #495057; }
.address-box strong { color: #212529; display: block; margin-bottom: 2px; }
.detail-tabs .nav-link { color: #495057; font-weight: 500; font-size: 13px; padding: 8px 14px; border-radius: 6px; }
.detail-tabs .nav-link.active { background: #81C784; color: #fff; }
.detail-tabs .nav-link:hover:not(.active) { background: #f8f9fa; }
.status-progress { display: flex; align-items: center; gap: 0; margin: 10px 0; }
.status-progress .step { flex: 1; text-align: center; position: relative; }
.status-progress .step .dot { width: 28px; height: 28px; border-radius: 50%; background: #e9ecef; color: #6c757d; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-size: 13px; position: relative; z-index: 2; }
.status-progress .step.done .dot     { background: #198754; color: #fff; }
.status-progress .step.current .dot  { background: #81C784; color: #fff; box-shadow: 0 0 0 4px rgba(129,199,132,0.2); }
.status-progress .step.cancelled .dot{ background: #dc3545; color: #fff; }
.status-progress .step .step-label   { font-size: 11px; font-weight: 500; color: #6c757d; }
.status-progress .step.done .step-label,
.status-progress .step.current .step-label { color: #212529; font-weight: 600; }
.status-progress .step::before { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: #e9ecef; z-index: 1; }
.status-progress .step:first-child::before { display: none; }
.status-progress .step.done::before, .status-progress .step.current::before { background: #198754; }
/* Admin reports */
.static-list-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.static-list-item:last-child { border-bottom: none; }
.static-list-dot   { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.static-list-label { flex: 1; font-size: 13px; font-weight: 500; color: #495057; }
.static-list-value { font-size: 13px; font-weight: 600; color: #212529; min-width: 50px; text-align: right; }
.static-list-bar   { flex: 1; height: 6px; background: #f1f3f5; border-radius: 3px; overflow: hidden; }
.static-list-bar-fill { height: 100%; border-radius: 3px; transition: width 0.4s ease; }
.static-list-row   { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; background: #f8f9fa; margin-bottom: 6px; }
.static-list-row:last-child { margin-bottom: 0; }
.static-list-row .static-list-bar { flex: 2; }
/* Products admin — coupon dropdown */
.coupon-select-wrap { position: relative; }
.coupon-select-trigger { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 38px; padding: 6px 10px; border: 1px solid #dee2e6; border-radius: 6px; background: #fff; cursor: pointer; transition: border-color 0.2s; }
.coupon-select-trigger:hover { border-color: #81C784; }
.coupon-select-trigger.open  { border-color: #81C784; box-shadow: 0 0 0 0.2rem rgba(129,199,132,0.15); }
.coupon-select-trigger .placeholder-text { color: #6c757d; font-size: 14px; }
.coupon-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; background: rgba(129,199,132,0.1); color: #81C784; border-radius: 12px; font-size: 12px; font-weight: 500; font-family: 'Courier New',monospace; letter-spacing: 0.5px; animation: chipIn 0.2s ease; }
@keyframes chipIn { from{transform:scale(0.7);opacity:0;} to{transform:scale(1);opacity:1;} }
.coupon-chip .chip-remove { background: none; border: none; color: #81C784; padding: 0; margin-left: 2px; font-size: 14px; line-height: 1; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.coupon-chip .chip-remove:hover { opacity: 1; }
.coupon-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid #dee2e6; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.1); z-index: 1050; max-height: 260px; overflow-y: auto; display: none; animation: dropdownIn 0.2s ease; }
@keyframes dropdownIn { from{opacity:0;transform:translateY(-4px);} to{opacity:1;transform:translateY(0);} }
.coupon-dropdown.show { display: block; }
.coupon-dropdown .coupon-search-input { position: sticky; top: 0; background: #fff; padding: 8px; border-bottom: 1px solid #e9ecef; z-index: 1; }
.coupon-dropdown .coupon-search-input input { border: 1px solid #e9ecef; border-radius: 4px; padding: 5px 10px; font-size: 13px; width: 100%; }
.coupon-dropdown .coupon-search-input input:focus { outline: none; border-color: #81C784; }
.coupon-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; transition: background 0.15s; border-bottom: 1px solid #f8f9fa; }
.coupon-option:hover { background: #E8F5E9; }
.coupon-option:last-child { border-bottom: none; }
.coupon-option .form-check-input { margin: 0; cursor: pointer; }
.coupon-option .coupon-info { flex: 1; min-width: 0; }
.coupon-option .coupon-code-label { font-family: 'Courier New',monospace; font-weight: 600; font-size: 13px; color: #212529; letter-spacing: 0.5px; }
.coupon-option .coupon-desc { font-size: 11px; color: #6c757d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coupon-option .coupon-badge { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.coupon-option.disabled-option { opacity: 0.5; cursor: not-allowed; }
.coupon-option.disabled-option:hover { background: transparent; }
.coupon-empty { padding: 20px; text-align: center; color: #6c757d; font-size: 13px; }
.coupon-status-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.coupon-status-pill.active-c    { background: rgba(25,135,84,.1); color: #198754; }
.coupon-status-pill.expired-c   { background: rgba(220,53,69,.1); color: #dc3545; }
.coupon-status-pill.scheduled-c { background: rgba(255,193,7,.15); color: #856404; }
.coupon-status-pill.inactive-c  { background: rgba(108,117,125,.1); color: #6c757d; }
.coupon-select-actions { display: flex; gap: 8px; padding: 8px 12px; border-top: 1px solid #e9ecef; background: #f8f9fa; border-radius: 0 0 8px 8px; }
.image-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(48px,1fr)); gap: 4px; margin-top: 4px; }
.image-gallery-item { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; border: 1px solid #e9ecef; }
.image-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.image-gallery-item .gallery-remove { position: absolute; top: 1px; right: 1px; width: 16px; height: 16px; border-radius: 50%; background: rgba(220,53,69,0.9); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 9px; cursor: pointer; }
.modal-section-tabs { display: none; background: #fff; border-bottom: 1px solid #dee2e6; position: sticky; top: 0; z-index: 5; }
.modal-section-tabs .tab-btn { flex: 1; padding: 10px 8px; background: transparent; border: none; border-bottom: 2px solid transparent; color: #6c757d; font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; }
.modal-section-tabs .tab-btn i { font-size: 16px; }
.modal-section-tabs .tab-btn.active { color: #81C784; border-bottom-color: #81C784; background: rgba(129,199,132,.04); }
.modal-section-tabs .tab-btn .tab-check { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #198754; color: #fff; font-size: 9px; display: none; align-items: center; justify-content: center; }
.modal-section-tabs .tab-btn.completed .tab-check { display: flex; }
.modal-progress { height: 3px; background: #f1f3f5; position: relative; overflow: hidden; }
.modal-progress-bar { height: 100%; background: linear-gradient(90deg,#81C784,#A5D6A7); width: 0%; transition: width 0.4s ease; }
.form-section { animation: sectionIn 0.25s ease; }
@keyframes sectionIn { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:translateY(0);} }
.mobile-save-bar { display: none; position: sticky; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #dee2e6; padding: 10px 16px; z-index: 100; box-shadow: 0 -4px 12px rgba(0,0,0,0.05); }
.mobile-save-bar .save-btn { width: 100%; padding: 12px; font-size: 15px; font-weight: 600; border-radius: 10px; border: none; background: linear-gradient(135deg,#81C784,#A5D6A7); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; box-shadow: 0 4px 12px rgba(129,199,132,0.3); }
.mobile-save-bar .save-btn:active   { transform: scale(0.97); }
.mobile-save-bar .save-btn:disabled { background: #dee2e6; color: #6c757d; box-shadow: none; cursor: not-allowed; }
.image-zoom-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.image-zoom-overlay.show { display: flex; }
.image-zoom-overlay img { max-width: 100%; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.image-zoom-overlay .zoom-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; border: none; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(10px); }
.section-header-mobile { display: none; padding: 12px 0 8px; margin-bottom: 12px; border-bottom: 1px solid #f1f3f5; }
.section-header-mobile h6 { margin: 0; font-size: 16px; font-weight: 600; color: #212529; }
.section-header-mobile p  { margin: 2px 0 0; font-size: 12px; color: #6c757d; }
.stat-card-inner { gap: 0.75rem; }
/* Admin responsive */
@media (max-width: 767.98px) {
  #productModal .modal-dialog  { margin: 0 !important; max-width: 100% !important; height: 100vh !important; height: 100dvh !important; }
  #productModal .modal-content { height: 100vh; height: 100dvh; border-radius: 0; border: none; display: flex; flex-direction: column; }
  #productModal .modal-header  { padding: 12px 16px; position: sticky; top: 0; background: #fff; border-bottom: 1px solid #dee2e6; z-index: 10; flex-shrink: 0; }
  #productModal .modal-body    { padding: 0; overflow-y: auto; flex: 1; }
  #productModal .modal-footer  { display: none !important; }
  .modal-section-tabs { display: flex; }
  .mobile-save-bar    { display: block; }
  .form-section       { display: none; padding: 16px; }
  .form-section.active{ display: block; }
  .image-upload-zone  { min-height: 100px; padding: 12px; }
  .image-preview-wrap { max-width: 140px; }
  .image-preview-wrap img { height: 100px; }
  .coupon-select-trigger { min-height: 44px; padding: 10px 12px; }
  .image-gallery      { grid-template-columns: repeat(auto-fill,minmax(60px,1fr)); gap: 6px; }
  .seo-score-circle   { width: 56px; height: 56px; font-size: 1.1rem; }
  .marketing-nav .nav-link { padding: .6rem 1rem; font-size: .9rem; }
  .section-header-mobile { display: block; }
  .stat-card-inner .stat-icon  { width: 38px !important; height: 38px !important; font-size: 1rem !important; }
  .stat-card-inner .stat-value { font-size: 1.25rem !important; line-height: 1.1; }
  .stat-card-inner .stat-label { font-size: 0.7rem !important; margin-bottom: 0 !important; }
}
@media (min-width: 768px) {
  .form-section { display: block !important; }
}

/* ==========================================================================
   ── MOBILE OFFCANVAS — RICH HEADER + QUICK ACTION CARDS ───────────────────
   ========================================================================== */
.sz-mobile-offcanvas { width: 320px; max-width: 88vw; }

/* Header block: gradient background + white close button, replacing the
   plain white bar that used to sit above the link list. */
.sz-mobile-offcanvas .offcanvas-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 22px 20px;
  border-bottom: none;
}
.sz-mobile-offcanvas .offcanvas-header .offcanvas-title {
  font-weight: 800; font-size: 20px; color: #fff; margin: 0;
}
.sz-mobile-offcanvas .offcanvas-header .offcanvas-title span { color: rgba(255,255,255,0.75); }
.sz-mobile-offcanvas .offcanvas-header .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.9;
}
.sz-mobile-offcanvas .offcanvas-header .btn-close:hover { opacity: 1; }

/* Logged-in user block — avatar, name, email, tappable through to profile */
.sz-mob-user-block {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--primary-light);
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  transition: background 0.2s;
}
.sz-mob-user-block:hover { background: rgba(129,199,132,0.18); }
.sz-mob-user-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: var(--shadow); flex-shrink: 0;
}
.sz-mob-user-name { font-weight: 700; font-size: 14px; color: var(--text-main); line-height: 1.3; }
.sz-mob-user-email {
  font-size: 11.5px; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px;
}

/* Guest CTA block (replaces the user block when logged out) */
.sz-mob-guest-cta {
  padding: 18px 20px;
  background: var(--primary-light);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.sz-mob-section-heading {
  padding: 16px 20px 6px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text-muted);
}

/* Colored category icons inside the accordion headings — solid vibrant
   circle with a white icon, so each category reads as a bright, distinct
   chip rather than a plain gray row. --cat-color is set per-icon inline
   in the markup. */
.sz-mob-heading span { display: flex; align-items: center; gap: 10px; }
.sz-mob-cat-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  background: var(--cat-color, var(--primary));
  color: #fff;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--cat-color, var(--primary)) 45%, transparent);
}

/* The plain "Home" link keeps its existing .sz-mob-section /
   .sz-mob-heading styling from earlier in this file — only tightening
   its top spacing. */
.sz-mobile-offcanvas .offcanvas-body > a:first-of-type {
  margin-top: 4px;
  display: flex;
  align-items: center;
}

/* Quick action card grid — Wishlist / Cart / Profile / Support Tickets /
   Dashboard / Logout, now placed at the bottom of the menu. Each type
   gets its own solid, saturated background with a white icon, so the
   grid reads bright and punchy instead of pastel/washed out. */
.sz-mob-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px 20px 20px;
}
.sz-mob-quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px 14px;
  background: var(--light-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.sz-mob-quick-card:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--sz-shadow-sm, 0 2px 8px rgba(33,37,41,0.1));
}

/* Solid, bright icon circle behind each card's icon. */
.qc-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  color: #fff;
  transition: transform 0.2s;
}
.sz-mob-quick-card:hover .qc-icon-wrap { transform: scale(1.1); }
.sz-mob-quick-card .qc-label { font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; }

/* Bright, saturated per-card colors */
.qc-wishlist .qc-icon-wrap { background: #FF1744; box-shadow: 0 4px 10px rgba(255,23,68,0.35); }
.qc-cart     .qc-icon-wrap { background: #FF6D00; box-shadow: 0 4px 10px rgba(255,109,0,0.35); }
.qc-profile  .qc-icon-wrap { background: #2979FF; box-shadow: 0 4px 10px rgba(41,121,255,0.35); }
.qc-support  .qc-icon-wrap { background: #9C27FF; box-shadow: 0 4px 10px rgba(156,39,255,0.35); }
.qc-admin    .qc-icon-wrap { background: #212529; box-shadow: 0 4px 10px rgba(33,37,41,0.35); }
.qc-logout   .qc-icon-wrap { background: #E53935; box-shadow: 0 4px 10px rgba(229,57,53,0.35); }
.qc-guest    { width: 50px; height: 50px; margin: 0 auto; background: var(--primary); box-shadow: 0 4px 10px rgba(129,199,132,0.4); font-size: 24px; }

.qc-wishlist:hover { background: #FFF1F3; }
.qc-cart:hover     { background: #FFF4E8; }
.qc-profile:hover  { background: #EDF4FF; }
.qc-support:hover  { background: #F6EDFF; }
.qc-admin:hover    { background: #F0F0F0; }
.qc-logout:hover   { background: #FDEDED; }

.sz-mob-quick-card .qc-badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--accent, #FF8A65);
  color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--light-surface);
}

/* Logout is a <button> inside a <form>, so it needs button resets. */
.sz-mob-quick-card.qc-logout { width: 100%; }
form.d-contents { display: contents; }

/* ==========================================================================
   ── WISHLIST — OUT OF STOCK STATE ──────────────────────────────────────────
   ========================================================================== */
/* Applied to the whole product card when the wishlisted item is out of
   stock, so it reads as visually distinct from purchasable items in the
   same grid rather than only being called out by a small text line. */
.sz-product-card.wish-out-of-stock {
  opacity: 0.72;
}
.sz-product-card.wish-out-of-stock:hover {
  transform: none;
  box-shadow: none;
}
.sz-product-card.wish-out-of-stock .sz-prod-img img {
  filter: grayscale(65%);
}
.sz-product-card.wish-out-of-stock:hover .sz-prod-img img {
  transform: none;
}

/* Ribbon-style badge, matching the visual weight of sz-badge-sale /
   sz-badge-new but in a neutral "unavailable" gray-red rather than an
   accent color, so it doesn't compete with real promotional badges. */
.sz-badge-oos {
  background: #6c757d;
  color: #fff;
}

.wish-oos-text {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #dc3545;
  margin-bottom: 6px;
}

/* Out-of-stock action buttons stay visible but visibly inert, instead of
   just being disabled with no other visual signal. */
.sz-product-card.wish-out-of-stock .sz-add-cart:disabled,
.sz-product-card.wish-out-of-stock .move-to-cart-btn:disabled {
  background: #e9ecef !important;
  border-color: #e9ecef !important;
  color: #adb5bd !important;
  cursor: not-allowed;
}

/* ==========================================================================
   ── BRAND HOVER OVERRIDE — BUTTONS TURN BLACK ON HOVER ────────────────────
   Matches the LOVE ALL SPORTS logo's black wordmark. Placed last in the
   cascade and uses !important where the existing rule also uses
   !important (e.g. .add-to-cart-btn.in-cart), so this reliably wins over
   every earlier green/accent hover rule in this file without having to
   edit each one individually.
   ========================================================================== */
:root {
  --sz-hover-black: #1A1A1A;
}

/* Core site buttons */
.btn-primary-sz:hover,
.btn-secondary-sz:hover,
.btn-accent-sz:hover,
.btn-outline-primary-sz:hover,
.btn-save:hover,
.btn-track:hover,
.sz-btn-white:hover,
.sz-view-all:hover,
.sz-add-cart:hover,
.add-cart-btn:hover,
.filter-toggle-btn:hover,
.mobile-save-bar .save-btn:not(:disabled):hover,
.btn-primary:hover,
.btn-back-to-top:hover,
.sz-back-top:hover {
  background-color: var(--sz-hover-black) !important;
  border-color: var(--sz-hover-black) !important;
  color: #fff !important;
}

/* Outline-white hero buttons need a black fill + white text on hover,
   not just a border tint, to match the same rule. */
.sz-btn-outline-white:hover {
  background-color: var(--sz-hover-black) !important;
  border-color: var(--sz-hover-black) !important;
  color: #fff !important;
}

/* "In cart" add-to-cart buttons keep their own red hover (signals
   "click to remove") — that's a functional color cue, not a generic
   brand hover, so it's intentionally excluded from this override. */

/* Category / product / cart mini icon buttons */
.sz-cat-card:hover,
.category-card:hover .category-icon-wrap,
.sz-wish-btn:hover,
.product-card .wishlist-btn:hover,
.sz-action-icon:hover,
.nav-icon-btn:hover,
.btn-icon-circle:hover {
  background-color: var(--sz-hover-black) !important;
  color: #fff !important;
}
.sz-cat-card:hover i { color: #fff !important; }

/* Pagination + accordion active/hover states */
.pagination .page-link:hover {
  background-color: var(--sz-hover-black) !important;
  color: #fff !important;
}

/* Generic Bootstrap primary buttons used inline across admin/customer
   pages (e.g. "Save", "Update", "Submit" buttons that rely on Bootstrap
   defaults rather than the *-sz classes above). */
.btn-primary:not(:disabled):hover,
.btn-primary-sz:not(:disabled):hover {
  background-color: var(--sz-hover-black) !important;
  border-color: var(--sz-hover-black) !important;
}

/* Size pills / color swatches / qty stepper buttons — small interactive
   controls that also carry the primary-green hover today. */
.size-pill:hover,
.qty-selector button:hover,
.size-box:hover {
  background: var(--sz-hover-black) !important;
  border-color: var(--sz-hover-black) !important;
  color: #fff !important;
}
/* ==========================================================================
   ── CATEGORIES DROPDOWN (replaces per-category hover mega-menus) ─────────
   With a variable, potentially large number of categories, one hover menu
   per top-level category either overflowed the page or overlapped
   adjacent menus. A single "Categories" trigger opening one wide panel
   scales to any number of categories without either problem — the panel
   has its own max-height + scroll, and the nav bar itself never grows
   past a fixed set of items.
   ========================================================================== */
.sz-nav-inner {
  min-width: 0;
}
.sz-logo {
  flex-shrink: 0;
}
.sz-nav-actions {
  flex-shrink: 0;
}
.sz-nav-links {
  flex-shrink: 0; /* fixed small set of items now — Home, Categories, etc. */
}

.sz-cat-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 720px;
  max-width: min(720px, calc(100vw - 32px));
  max-height: 70vh;
  overflow-y: auto;
  background: var(--light-surface);
  border: 1px solid var(--border-color);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.13);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1050;
}
.sz-nav-item.sz-cat-trigger:hover .sz-cat-dropdown-panel,
.sz-cat-dropdown-panel.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sz-cat-dropdown-panel .sz-cat-group {
  min-width: 0;
}
.sz-cat-dropdown-panel .sz-cat-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 7px;
}
.sz-cat-dropdown-panel .sz-cat-group h4 i {
  color: var(--primary);
  font-size: 12px;
}
.sz-cat-dropdown-panel .sz-cat-group h4 a {
  color: inherit;
  text-decoration: none;
}
.sz-cat-dropdown-panel .sz-cat-group h4 a:hover {
  color: var(--primary);
}
.sz-cat-dropdown-panel .sz-cat-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sz-cat-dropdown-panel .sz-cat-group ul li {
  margin-bottom: 6px;
}
.sz-cat-dropdown-panel .sz-cat-group ul li a {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 1px 0;
  transition: color 0.15s, transform 0.15s;
}
.sz-cat-dropdown-panel .sz-cat-group ul li a:hover {
  color: var(--primary);
  transform: translateX(3px);
}
.sz-cat-dropdown-panel .sz-cat-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 20px 0;
}
[data-theme="dark"] .sz-cat-dropdown-panel {
  background: #1E2433;
  border-color: #2D3748;
}
[data-theme="dark"] .sz-cat-dropdown-panel .sz-cat-group h4 {
  color: #E2E8F0;
  border-color: #2D3748;
}
[data-theme="dark"] .sz-cat-dropdown-panel .sz-cat-group ul li a {
  color: #94A3B8;
}

@media (max-width: 991px) {
  .sz-cat-dropdown-panel { display: none !important; }
}

/* ==========================================================================
   ── BACK-TO-TOP vs SUPPORT WIDGET — FIX OVERLAP ───────────────────────────
   Both buttons are fixed to the bottom-right corner at nearly identical
   offsets (support-widget-btn: bottom 28px; btn-back-to-top / sz-back-top:
   bottom 24-28px), so they render stacked directly on top of one another.
   Pushing the back-to-top button up above the support button (which is
   64px tall + 28px offset = 92px from the bottom) keeps them clearly
   separated at every breakpoint the support widget defines.
   ========================================================================== */
.btn-back-to-top,
.sz-back-top {
  bottom: 100px; /* clears the 64px-tall support button + its own 28px offset + gap */
  right: 28px;
}

@media (max-width: 576px) {
  /* support-widget-btn shrinks to 54px tall and sits at bottom:20px on
     mobile (see partials/support-widget.blade.php's own media query),
     so the back-to-top button's clearance shrinks to match. */
  .btn-back-to-top,
  .sz-back-top {
    bottom: 84px;
    right: 20px;
  }
}