/* ============================================================
   LapGH — Shared Stylesheet  (Redesigned)
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1152d4;
    --primary-hover: #0d42af;
    --primary-light: rgba(17, 82, 212, 0.08);
    --primary-shadow: rgba(17, 82, 212, 0.25);
    --bg-light: #f8f9fb;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --emerald: #10b981;
    --amber: #f59e0b;
    --red: #ef4444;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.16,1,0.3,1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Public Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--primary);
    color: #fff;
}

/* ===== TOP BAR ===== */
.site-header {
    z-index: 1050;
}
.top-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0;
}
.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.top-bar__left {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}
.top-bar__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}
.top-bar__badge i { font-size: 0.75rem; }
.top-bar__text {
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.top-bar__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.top-bar__help {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
    white-space: nowrap;
}
.top-bar__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 0.3rem 0.875rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.top-bar__phone:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
}
.top-bar__phone--wa {
    background: rgba(37,211,102,0.4);
    border-color: rgba(37,211,102,0.5);
}
.top-bar__phone--wa:hover {
    background: rgba(37,211,102,0.6);
}
.top-bar__phone i { font-size: 0.875rem; }

/* ── Top Bar Ticker / Marquee ── */
.top-bar__ticker {
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 0.375rem;
    padding: 0.3rem 0;
    position: relative;
}
.top-bar__ticker::before,
.top-bar__ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3rem;
    z-index: 2;
    pointer-events: none;
}
.top-bar__ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}
.top-bar__ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-hover), transparent);
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}
.ticker-track:hover {
    animation-play-state: paused;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
}
.ticker-item:hover {
    color: #fff;
    opacity: 0.8;
}
.ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ticker-label--new { background: rgba(99,102,241,0.4); }
.ticker-label--hot { background: rgba(239,68,68,0.45); }
.ticker-label--sale { background: rgba(245,158,11,0.45); }
.ticker-label--feat { background: rgba(255,255,255,0.2); }
.ticker-label i { font-size: 0.625rem; }
.ticker-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticker-price {
    font-weight: 800;
    color: rgba(255,255,255,0.95);
}
.ticker-old {
    font-size: 0.625rem;
    text-decoration: line-through;
    opacity: 0.55;
}
.ticker-sep {
    color: rgba(255,255,255,0.3);
    font-size: 0.625rem;
}

/* ===== NAVBAR ===== */
.navbar-shop {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 0;
    z-index: 1050;
    transition: box-shadow var(--transition-base), background var(--transition-base);
}
.navbar-shop.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.97);
}
.navbar-shop .navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}
.navbar-shop .navbar-brand:hover { opacity: 0.85; }
.navbar-shop .navbar-brand i {
    font-size: 1.5rem;
    color: var(--primary);
}
.navbar-shop .navbar-brand .brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.navbar-shop .nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    position: relative;
}
.navbar-shop .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}
.navbar-shop .nav-link.active {
    color: var(--primary);
    font-weight: 700;
}
.nav-search {
    position: relative;
    max-width: 260px;
    width: 100%;
}
.nav-search input {
    background: #f1f5f9;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    font-size: 0.875rem;
    width: 100%;
    transition: all var(--transition-base);
}
.nav-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
}
.nav-search .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
}
.icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    cursor: pointer;
}
.icon-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-1px);
}
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
    border: 2px solid #fff;
    transition: transform var(--transition-fast);
}
.cart-badge:empty, .cart-badge[style*="display: none"] { visibility: hidden; }

/* ===== BREADCRUMB ===== */
.breadcrumb-shop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding: 0;
    list-style: none;
}
.breadcrumb-shop a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.breadcrumb-shop a:hover { color: var(--primary); }
.breadcrumb-shop .active { color: var(--text-dark); font-weight: 600; }
.breadcrumb-shop .separator { color: var(--text-light); font-size: 0.625rem; }

/* ===== CATEGORY CHIPS ===== */
.category-chips {
    display: flex;
    gap: 0.625rem;
    padding-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-chips::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    height: 38px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1.5px solid var(--border-color);
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}
.chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.chip.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-shadow);
}
.chip i { font-size: 1rem; }
.chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: rgba(0,0,0,0.08);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}
.chip.active .chip-count { background: rgba(255,255,255,0.25); }
.product-count-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== HOME PAGE — Main Layout ===== */
.home-main {
    padding: 0;
}

/* ===== HERO V2 ===== */
.hero-section {
    padding: 1rem 1rem 0;
}
@media (min-width: 992px) {
    .hero-section { padding: 1.5rem 2rem 0; }
}
.hero-v2 {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 420px;
    background: #0f172a;
}
@media (min-width: 768px) {
    .hero-v2 { min-height: 520px; }
}
@media (min-width: 1200px) {
    .hero-v2 { min-height: 580px; }
}
.hero-v2__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease-out;
    will-change: transform;
}
.carousel-item.active .hero-v2__bg {
    transform: scale(1.06);
}
.hero-v2__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.55) 50%, rgba(10,15,30,0.15) 100%);
    z-index: 1;
}
.hero-v2__overlay--blue {
    background: linear-gradient(100deg, rgba(17,82,212,0.88) 0%, rgba(17,82,212,0.45) 50%, rgba(17,82,212,0.08) 100%);
}
.hero-v2__content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: 2.5rem;
}
@media (min-width: 768px) {
    .hero-v2__content { padding: 3.5rem 4.5rem; }
}
.hero-v2__inner {
    max-width: 540px;
}
.hero-v2__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
    animation: heroFadeUp 0.5s ease both;
}
.hero-v2__badge--emerald { background: var(--emerald); }
.hero-v2__badge--amber { background: var(--amber); color: #1a1a1a; }

.hero-v2__title {
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1rem;
    letter-spacing: -0.035em;
    animation: heroFadeUp 0.6s 0.1s ease both;
}
.hero-v2__title span {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-v2__desc {
    color: rgba(226, 232, 240, 0.85);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 460px;
    line-height: 1.65;
    animation: heroFadeUp 0.6s 0.2s ease both;
}
.hero-v2__actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    animation: heroFadeUp 0.6s 0.3s ease both;
}
.hero-v2__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    text-decoration: none;
    border: none;
}
.hero-v2__btn--primary {
    background: #fff;
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-v2__btn--primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--primary-shadow);
}
.hero-v2__btn--ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}
.hero-v2__btn--ghost:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

/* Hero Indicators */
.hero-v2__indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.5rem;
}
.hero-v2__indicators button {
    width: 32px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-v2__indicators button.active {
    background: #fff;
    width: 48px;
}

/* Hero Arrows */
.hero-v2__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0;
}
.hero-section:hover .hero-v2__arrow { opacity: 1; }
.hero-v2__arrow:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.08);
}
.hero-v2__arrow--prev { left: 1.5rem; }
.hero-v2__arrow--next { right: 1.5rem; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}
.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}
.trust-bar__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.trust-bar__item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.1rem;
}
.trust-bar__item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== HOME SECTIONS ===== */
.home-section {
    padding: 2.5rem 0;
}
.home-section--products {
    padding-bottom: 3rem;
}
.home-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    gap: 1rem;
}
.home-section__eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.35rem;
}
.home-section__title {
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .home-section__title { font-size: 1.875rem; }
}
.home-section__cta {
    text-align: center;
    padding-top: 2.5rem;
}

/* ===== CATEGORY CHIPS V2 ===== */
.category-chips-v2 {
    display: flex;
    gap: 0.625rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.category-chips-v2::-webkit-scrollbar { display: none; }
.chip-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1.5px solid var(--border-color);
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.chip-v2:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-1px);
}
.chip-v2.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px var(--primary-shadow);
}
.chip-v2__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.chip-v2__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: rgba(0,0,0,0.06);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}
.chip-v2.active .chip-v2__count { background: rgba(255,255,255,0.22); }

/* ===== EXPLORE BUTTON V2 ===== */
.explore-btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2.25rem;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 9999px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9375rem;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    text-decoration: none;
}
.explore-btn-v2:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 6px 24px var(--primary-shadow);
    transform: translateY(-2px);
}
.explore-btn-v2 i {
    transition: transform 0.25s ease;
}
.explore-btn-v2:hover i {
    transform: translateX(4px);
}

/* ===== PROMO STRIP ===== */
.promo-strip {
    padding: 0 0 3rem;
}
.promo-strip__inner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}
.promo-strip__inner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17,82,212,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.promo-strip__content { max-width: 520px; }
.promo-strip__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255,255,255,0.1);
    color: #60a5fa;
    border: 1px solid rgba(96,165,250,0.2);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.promo-strip__title {
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}
.promo-strip__desc {
    color: rgba(203,213,225,0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 420px;
}
.promo-strip__visual {
    flex-shrink: 0;
    display: none;
}
@media (min-width: 768px) {
    .promo-strip__visual { display: flex; }
}
.promo-strip__circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(17,82,212,0.3);
    animation: promoPulse 3s ease-in-out infinite;
}
.promo-strip__percent {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.promo-strip__off {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* ===== SECTION HEADER (legacy compat) ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}
.section-header h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin-bottom: 0.125rem;
}
.section-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}
.sort-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: transparent;
    border-radius: 0.5rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}
.sort-btn:hover { background: #fff; color: var(--primary); border-color: var(--primary); }

/* ===== PRODUCT CARD — Home variant ===== */
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(226,232,240,0.6);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}
.product-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    transform: translateY(-6px);
    border-color: transparent;
}
.product-card-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.product-card-link:hover .product-name {
    color: var(--primary);
}
.product-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8fafc;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}
.fav-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    backdrop-filter: blur(8px);
    z-index: 2;
    opacity: 0;
    transform: scale(0.85);
}
.product-card:hover .fav-btn {
    opacity: 1;
    transform: scale(1);
}
.fav-btn:hover { color: var(--red); transform: scale(1.15) !important; }
.fav-btn.active { color: var(--red); opacity: 1; transform: scale(1); }
.fav-btn.active i { font-weight: 700; }
.product-badge {
    position: absolute;
    padding: 0.2rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}
.badge-bestseller {
    bottom: 0.75rem;
    left: 0.75rem;
    background: var(--primary);
    color: #fff;
}
.badge-discount {
    top: 0.75rem;
    left: 0.75rem;
    background: var(--red);
    color: #fff;
}
.product-body { padding: 0.875rem 1rem 1rem; }
.product-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
    gap: 0.5rem;
}
.product-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
    margin: 0;
    transition: color var(--transition-fast);
}
.product-price {
    font-size: 1.0625rem;
    font-weight: 900;
    color: var(--primary);
    white-space: nowrap;
}
.price-old {
    font-size: 0.625rem;
    color: var(--text-light);
    text-decoration: line-through;
    display: block;
    text-align: right;
}
.product-category {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.375rem;
    display: block;
}
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.rating i { color: var(--amber); font-size: 0.8125rem; }
.rating-score {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
}
.rating-count {
    font-size: 0.75rem;
    color: var(--text-light);
}
.stock-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}
.stock-in_stock {
    color: var(--emerald);
    background: rgba(16,185,129,0.1);
}
.stock-in {
    color: var(--emerald);
    background: rgba(16,185,129,0.1);
}
.stock-low_stock {
    color: var(--amber);
    background: rgba(245,158,11,0.1);
}
.stock-low {
    color: var(--amber);
    background: rgba(245,158,11,0.1);
}
.stock-out_of_stock {
    color: var(--red);
    background: rgba(239,68,68,0.1);
}

/* ===== OUT OF STOCK CARD STATE ===== */
.product-card--oos {
    position: relative;
    cursor: default;
    pointer-events: none;
}
.product-card--oos .product-img-wrap img {
    filter: grayscale(100%) brightness(0.85);
}
.product-card--oos:hover {
    transform: none;
    box-shadow: var(--shadow-xs);
}
.product-card--oos:hover .product-img-wrap img {
    transform: none;
}
.oos-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
    border-radius: var(--radius-md);
    pointer-events: none;
}
.oos-watermark {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    background: rgba(239, 68, 68, 0.85);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    transform: rotate(-18deg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    white-space: nowrap;
}
.product-card--oos .add-cart-btn {
    pointer-events: auto;
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
}
.product-card--oos .add-cart-btn:hover {
    background: #cbd5e1;
    box-shadow: none;
}
.add-cart-btn {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.625rem 1rem;
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.product-card:hover .add-cart-btn,
.add-cart-btn:hover {
    background: var(--primary);
    box-shadow: 0 4px 16px var(--primary-shadow);
    transform: translateY(-1px);
}

/* ===== PRODUCT BADGES — Multiple Display ===== */
.product-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 3;
}
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}
.product-badge i {
    font-size: 0.7rem;
    line-height: 1;
}
.badge-bestseller {
    background: var(--primary);
}
.badge-discount {
    background: var(--red);
}
.badge-new {
    background: #22c55e;
}

/* ===== PRODUCT NAME LINK ===== */
.product-name-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.product-name-link:hover {
    color: var(--primary);
}
.product-card:hover .product-name-link {
    color: var(--primary);
}

/* ===== ADD TO CART BUTTON STATES ===== */
.add-cart-btn-enabled {
    pointer-events: auto;
    cursor: pointer;
    background: var(--text-dark);
    color: #fff;
}
.add-cart-btn-enabled:hover {
    background: var(--primary);
    box-shadow: 0 4px 16px var(--primary-shadow);
    transform: translateY(-1px);
}
.add-cart-btn-disabled {
    pointer-events: none;
    cursor: not-allowed;
    background: #cbd5e1;
    color: #64748b;
    opacity: 0.7;
}
.add-cart-btn-disabled:hover {
    background: #cbd5e1;
    box-shadow: none;
    transform: none;
}

/* ===== PRODUCT CARD — Scroll Reveal (home page only) ===== */
.home-main #productGrid .product-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease;
}
.home-main #productGrid .product-card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PRODUCT CARD — All-Products variant ===== */
.page-products .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.page-products .product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.page-products .product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}
.page-products .product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-category-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}
.product-rating-inline {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.product-rating-inline i { color: var(--amber); font-size: 0.75rem; }
.product-rating-inline span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}
.page-products .product-name {
    font-size: 1.0625rem;
    max-width: 100%;
    white-space: normal;
    margin: 0.35rem 0 0.5rem;
    line-height: 1.3;
}
.page-products .product-price {
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.page-products .add-cart-btn {
    margin-top: auto;
    background: var(--primary);
    font-size: 0.8125rem;
}
.page-products .add-cart-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 16px var(--primary-shadow);
}

/* ===== EXPLORE BTN ===== */
.explore-btn {
    padding: 0.875rem 2.5rem;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 800;
    color: var(--text-dark);
    font-size: 0.9375rem;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
}
.explore-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* ===== SIDEBAR FILTERS (All-Products) ===== */
.sidebar-filter {
    position: sticky;
    top: 5rem;
}
.filter-section { margin-bottom: 2rem; }
.filter-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.15s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}
.category-item:hover { background: #f1f5f9; }
.category-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}
.category-item i {
    font-size: 1.15rem;
    color: var(--text-light);
    width: 24px;
    text-align: center;
}
.category-item.active i { color: var(--primary); }
.price-range {
    width: 100%;
    accent-color: var(--primary);
    cursor: pointer;
}
.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
.rating-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}
.rating-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 0.25rem;
    border: 1.5px solid var(--border-color);
    accent-color: var(--primary);
    cursor: pointer;
}
.rating-stars {
    display: flex;
    gap: 1px;
}
.rating-stars i { color: var(--amber); font-size: 0.8rem; }
.rating-stars i.empty { color: var(--text-light); }
.rating-label { font-size: 0.75rem; color: var(--text-muted); }
.apply-filters-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.apply-filters-btn:hover { background: var(--primary-hover); }

/* ===== PAGE HEADER (All-Products) ===== */
.page-title {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.page-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}
.sort-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: #fff;
    font-size: 0.875rem;
    color: var(--text-dark);
    cursor: pointer;
    appearance: auto;
    transition: border-color 0.2s;
}
.sort-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-shadow);
}

/* ===== PAGINATION (All-Products) ===== */
.pagination-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}
.page-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.15s;
}
.page-btn:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
}
.page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 700;
}
.page-btn.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}
.page-ellipsis {
    padding: 0 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== MOBILE FILTER TOGGLE (All-Products) ===== */
.filter-toggle-btn {
    display: none;
    padding: 0.5rem 1.125rem;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    gap: 0.5rem;
    align-items: center;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.filter-toggle-btn i { font-size: 1rem; }
.filter-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
@media (max-width: 991.98px) {
    .filter-toggle-btn { display: inline-flex; }
}

/* ===== FILTER OFFCANVAS (Mobile) ===== */
.filter-offcanvas {
    max-width: 320px;
}
.filter-offcanvas .offcanvas-header {
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
}
.filter-offcanvas .offcanvas-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}
.filter-offcanvas .offcanvas-title i {
    color: var(--primary);
    font-size: 1.125rem;
}
.filter-offcanvas .offcanvas-body {
    padding: 1.25rem 1.5rem;
}
.filter-offcanvas .filter-section {
    margin-bottom: 2rem;
}
.filter-offcanvas .category-item {
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
}
.filter-offcanvas .apply-filters-btn {
    border-radius: var(--radius-sm);
}

/* ===== PRODUCT DETAILS — Gallery ===== */
.gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: #f1f5f9;
    margin-bottom: 1rem;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.25s ease;
}
.gallery-main:hover img { transform: scale(1.05); }
.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
}
.gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    background: #f1f5f9;
}
.gallery-thumb:hover { opacity: 0.8; }
.gallery-thumb.active {
    border-color: var(--primary);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== PRODUCT DETAILS — Info ===== */
.detail-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.detail-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.detail-rating .stars { display: flex; gap: 2px; }
.detail-rating .stars i { color: var(--amber); font-size: 1rem; }
.detail-rating .stars i.empty { color: var(--text-light); }
.detail-rating .count {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.detail-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.detail-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
}
.detail-price-old {
    font-size: 1.125rem;
    color: var(--text-light);
    text-decoration: line-through;
}
.detail-price-save {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--emerald);
    background: rgba(16,185,129,0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
}
/* Status Row — Stock + Delivery */
.detail-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.875rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.detail-stock-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
}
.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.stock-dot.in-stock { background: var(--emerald); }
.stock-dot.low-stock { background: var(--amber); }
.stock-dot.out-of-stock { background: var(--red); }
.detail-delivery-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.detail-delivery-info i { color: var(--primary); font-size: 1.1rem; }
.detail-highlights {
    margin-bottom: 1.5rem;
}
.detail-highlights h6 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.detail-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.detail-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.detail-highlights li i {
    color: var(--primary);
    font-size: 1rem;
}

/* ===== PRODUCT DETAILS — Actions ===== */
.detail-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}
.qty-selector button {
    width: 44px;
    height: 44px;
    border: none;
    background: #fff;
    font-size: 1.125rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-selector button:hover { background: #f1f5f9; }
.qty-selector span {
    width: 48px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    line-height: 44px;
}
.detail-add-cart {
    flex: 1;
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.detail-add-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.detail-fav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}
.detail-fav-btn:hover, .detail-fav-btn.active {
    border-color: var(--red);
    color: var(--red);
}

/* ===== PRODUCT DETAILS — Tabs ===== */
.detail-tabs {
    border-bottom: 2px solid var(--border-color);
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
}
.detail-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s;
}
.detail-tab:hover { color: var(--text-dark); }
.detail-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Tab content typography */
.tab-content-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.tab-content-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Specs table */
.specs-table { max-width: 600px; }
.specs-table .table { font-size: 0.875rem; margin-bottom: 0; }
.specs-table .table td { padding: 0.75rem 1rem; }
.specs-table .table tr:nth-child(even) td { background: #f8fafc; }
.spec-label {
    color: var(--text-muted);
    font-weight: 600;
    width: 40%;
    white-space: nowrap;
}

/* View all reviews link */
.view-all-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-top: 0.5rem;
    transition: gap 0.2s;
}
.view-all-reviews:hover { gap: 0.75rem; color: var(--primary-hover); }

/* ===== PRODUCT DETAILS — Reviews ===== */
.review-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}
.review-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-dark);
}
.review-date {
    font-size: 0.75rem;
    color: var(--text-light);
}
.review-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}
.review-stars { display: flex; gap: 2px; margin-bottom: 0.5rem; }
.review-stars i { color: var(--amber); font-size: 0.8rem; }
.review-stars i.empty { color: var(--text-light); }
.review-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== PRODUCT DETAILS — Sidebar Cards ===== */
.info-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.info-card h5 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.info-item:last-child { margin-bottom: 0; }
.info-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.info-item h6 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.15rem;
}
.info-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}
.promo-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 1.25rem;
    overflow: hidden;
}
.promo-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.promo-text {
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.promo-code {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px dashed var(--primary);
    border-radius: 0.375rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}
.promo-banner {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-top: 0.5rem;
}
.promo-banner img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* ===== FOOTER ===== */
.footer-shop {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 0;
    margin-top: 2rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    text-decoration: none;
}
.footer-brand i { font-size: 1.5rem; color: var(--primary); }
.footer-brand .footer-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}
.footer-brand span {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--text-dark);
}
.footer-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 280px;
    line-height: 1.7;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-base);
}
.footer-social a:hover {
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}
.footer-heading {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.newsletter-input {
    display: flex;
    gap: 0.5rem;
}
.newsletter-input input {
    flex: 1;
    padding: 0.6rem 1rem;
    background: var(--bg-light);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: all var(--transition-base);
}
.newsletter-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
}
.newsletter-input button {
    padding: 0.6rem 1.25rem;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-base);
}
.newsletter-input button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid #f1f5f9;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
}
.footer-legal a {
    font-size: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.footer-legal a:hover { color: var(--primary); }

/* ===== TOAST NOTIFICATION ===== */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.shop-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--text-dark);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.4s cubic-bezier(0.16,1,0.3,1);
    pointer-events: auto;
    max-width: 360px;
}
.shop-toast i { color: var(--emerald); font-size: 1.25rem; flex-shrink: 0; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(16px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== POPUP ALERT ANIMATIONS ===== */
@keyframes popupSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes popupFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes popupScaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* ===== SEARCH MODAL ===== */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    z-index: 9998;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5rem;
}
.search-overlay.show { display: flex; }
.search-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 90%;
    max-width: 520px;
    box-shadow: var(--shadow-lg);
    animation: searchIn 0.35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes searchIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.search-modal input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-base);
}
.search-modal input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.search-results-list { margin-top: 0.75rem; max-height: 300px; overflow-y: auto; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
}
.search-result-item:hover { background: var(--primary-light); }
.search-result-item img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; }
.search-result-item .sr-name { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); }
.search-result-item .sr-price { font-size: 0.8125rem; color: var(--primary); font-weight: 700; }

/* ===== CART OFFCANVAS ENHANCEMENTS ===== */
.cart-item { display: flex; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid #f1f5f9; }
.cart-item img { width: 64px; height: 64px; border-radius: 0.5rem; object-fit: cover; }
.cart-item-name { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.15rem; }
.cart-item-price { font-size: 0.8125rem; color: var(--primary); font-weight: 700; }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.35rem; }
.cart-item-qty button {
    width: 26px; height: 26px; border-radius: 0.35rem; border: 1px solid var(--border-color);
    background: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem; cursor: pointer; transition: all 0.15s;
}
.cart-item-qty button:hover { border-color: var(--primary); color: var(--primary); }
.cart-item-qty span { font-size: 0.8125rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-remove { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 1rem; margin-left: auto; transition: color 0.15s; }
.cart-remove:hover { color: var(--red); }
.cart-summary { border-top: 2px solid var(--border-color); padding-top: 1rem; margin-top: 1rem; }
.cart-summary .total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; }
.checkout-btn {
    width: 100%; padding: 0.75rem; background: var(--primary); color: #fff; border: none;
    border-radius: 0.5rem; font-weight: 700; font-size: 0.9375rem; cursor: pointer; margin-top: 1rem; transition: background 0.2s;
}
.checkout-btn:hover { background: var(--primary-hover); }
.empty-cart { text-align: center; padding: 3rem 1rem; color: var(--text-light); }
.empty-cart i { font-size: 3rem; margin-bottom: 0.75rem; display: block; }

/* ===== PRODUCT DETAILS — Enhanced ===== */

/* Color Selector */
.detail-option-group {
    margin-bottom: 1.25rem;
}
.detail-option-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}
.color-selector {
    display: flex;
    gap: 0.625rem;
}
.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    outline: 2px solid transparent;
    outline-offset: 2px;
    padding: 0;
}
.color-dot:hover {
    outline-color: var(--text-light);
}
.color-dot.active {
    outline-color: var(--primary);
}

/* Trust Badges Row */
.detail-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    margin-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}
.trust-badge-item i {
    font-size: 1rem;
    color: var(--primary);
}

/* Share Section */
.detail-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.share-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 600;
}
.share-icons {
    display: flex;
    gap: 0.5rem;
}
.share-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.share-icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Gallery Zoom Hint */
.gallery-zoom-hint {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.gallery-main {
    position: relative;
}
.gallery-main:hover .gallery-zoom-hint {
    opacity: 1;
}

/* Review Summary Bar */
.review-summary-bar {
    display: flex;
    gap: 2rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #f1f5f9;
}
.review-avg {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.review-avg-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
}
.review-avg .stars i {
    color: var(--amber);
    font-size: 0.875rem;
}
.review-bars {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    justify-content: center;
    min-width: 0;
}
.review-bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}
.review-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.review-bar-fill {
    height: 100%;
    background: var(--amber);
    border-radius: 3px;
}

/* ===== PRODUCT DETAILS — Review Form ===== */
.review-form-section {
    margin-top: 2rem;
    padding: 1.75rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}
.review-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #6366f1, var(--primary));
    border-radius: 1rem 1rem 0 0;
}
.review-form-header {
    margin-bottom: 1.5rem;
}
.review-form-header h5 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.review-form-header h5 i {
    color: var(--primary);
}
.review-form-header p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}
.review-form-group {
    margin-bottom: 1.25rem;
}
.review-form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.review-form-label .required {
    color: #ef4444;
}
.review-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.star-rating-input i {
    font-size: 1.5rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
}
.star-rating-input i:hover,
.star-rating-input i.hovered {
    color: var(--amber);
    transform: scale(1.15);
}
.star-rating-input i.active {
    color: var(--amber);
}
.star-rating-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 0.5rem;
    transition: color 0.2s;
}

/* Review Input Wrap */
.review-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.review-input-wrap > i {
    position: absolute;
    left: 0.875rem;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}
.review-input-wrap input {
    width: 100%;
    padding: 0.65rem 0.875rem 0.65rem 2.5rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-family: 'Public Sans', sans-serif;
    color: var(--text-dark);
    background: #f8fafc;
    transition: all 0.25s ease;
}
.review-input-wrap input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
}
.review-input-wrap input::placeholder {
    color: #94a3b8;
}

/* Textarea */
.review-form-group textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-family: 'Public Sans', sans-serif;
    color: var(--text-dark);
    background: #f8fafc;
    resize: vertical;
    min-height: 100px;
    transition: all 0.25s ease;
}
.review-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
}
.review-form-group textarea::placeholder {
    color: #94a3b8;
}
.review-textarea-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.35rem;
    font-weight: 600;
}
.review-textarea-counter.warning { color: var(--amber); }
.review-textarea-counter.danger { color: #ef4444; }

/* Recommend Buttons */
.review-recommend-options {
    display: flex;
    gap: 0.75rem;
}
.review-recommend-btn {
    cursor: pointer;
}
.review-recommend-btn input {
    display: none;
}
.review-recommend-btn span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.125rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted);
    background: #f8fafc;
    transition: all 0.25s ease;
}
.review-recommend-btn input:checked + span {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}
.review-recommend-btn:hover span {
    border-color: var(--primary);
}

/* Submit / Cancel Buttons */
.review-form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.review-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.75rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'Public Sans', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}
.review-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(17,82,212,0.3);
}
.review-submit-btn:active {
    transform: translateY(0);
}
.review-cancel-btn {
    padding: 0.7rem 1.25rem;
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid #e2e8f0;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Public Sans', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}
.review-cancel-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-dark);
}

/* Review Success Message */
.review-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.03));
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    animation: reviewSuccessIn 0.4s cubic-bezier(0.16,1,0.3,1);
}
.review-success i {
    font-size: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
}
.review-success span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #065f46;
}
@keyframes reviewSuccessIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* User-submitted review card with delete */
.review-card .review-delete-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.25rem;
    margin-left: 0.5rem;
    transition: color 0.2s;
    opacity: 0;
}
.review-card:hover .review-delete-btn {
    opacity: 1;
}
.review-card .review-delete-btn:hover {
    color: #ef4444;
}
.review-card .review-recommend-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    margin-top: 0.5rem;
}
.review-card .review-title-text {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

/* Mobile Sticky Add to Cart */
.mobile-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.mobile-sticky-cart.visible {
    transform: translateY(0);
}

/* Related Section */
.related-section {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

/* ===== CHECKOUT PAGES ===== */

/* Container */
.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Progress Steps */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}
.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s;
}
.checkout-step.active .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
.checkout-step.completed .step-circle {
    border-color: var(--emerald);
    background: var(--emerald);
    color: #fff;
}
.step-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}
.checkout-step.active .step-label {
    color: var(--primary);
}
.checkout-step.completed .step-label {
    color: var(--emerald);
}
.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 0.75rem;
    margin-bottom: 1.75rem;
    transition: background 0.3s;
}
.step-line.active {
    background: var(--emerald);
}

/* Checkout Card */
.checkout-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.checkout-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.checkout-card-header i {
    font-size: 1.25rem;
    color: var(--primary);
}
.checkout-card-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-dark);
}

/* Checkout Form Elements */
.checkout-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}
.checkout-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Public Sans', sans-serif;
}
.checkout-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.checkout-input.is-invalid {
    border-color: var(--red);
}
.checkout-input.has-icon {
    padding-left: 2.5rem;
}
.invalid-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--red);
    margin-top: 0.25rem;
}
.checkout-input.is-invalid ~ .invalid-msg,
.input-icon-wrap:has(.is-invalid) ~ .invalid-msg {
    display: block;
}
.input-icon-wrap {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
}
.input-icon-right {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    cursor: help;
}
.checkout-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.checkout-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 0.25rem;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Checkout Navigation Buttons */
.checkout-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.checkout-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}
.checkout-btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
}
.checkout-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9375rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.checkout-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Order Summary Card */
.order-summary-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    position: sticky;
    top: 5rem;
}
.order-summary-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.order-summary-divider {
    border-top: 1px solid var(--border-color);
    margin: 0.75rem 0;
}
.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.order-row.order-total {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
}
.order-row.order-total span:last-child {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Order Item */
.order-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8fafc;
}
.order-item:last-child { border-bottom: none; }
.order-item-img {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}
.order-item-info {
    flex: 1;
    min-width: 0;
}
.order-item-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-item-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0 0 0.125rem;
}
.order-item-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.payment-option {
    position: relative;
    display: block;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}
.payment-option:hover {
    border-color: rgba(17, 82, 212, 0.3);
}
.payment-option.active {
    border-color: var(--primary);
    background: var(--primary-light);
}
.payment-option input[type="radio"] {
    display: none;
}
.payment-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Paystack Icon Badge */
.paystack-icon {
    color: #00C3F7;
    transition: color 0.2s;
}
.payment-option.active .paystack-icon {
    color: var(--primary);
}

/* Paystack Info Panel */
.paystack-info-panel,
.cod-info-panel {
    background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
    border: 1px solid #e0f2fe;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.paystack-info-header,
.cod-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.paystack-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0a3d62;
}
.paystack-logo-wrap i {
    font-size: 1.5rem;
    color: #00C3F7;
}
.cod-info-header {
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0a3d62;
    justify-content: flex-start;
}
.cod-info-header i {
    font-size: 1.5rem;
    color: var(--emerald);
}
.paystack-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.paystack-info-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}
.paystack-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.paystack-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
}
.paystack-feature i {
    color: var(--emerald);
    font-size: 0.875rem;
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .paystack-features {
        grid-template-columns: 1fr;
    }
}

/* Card Details Form */
.card-details-form {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

/* Promo Code */
.promo-input-group {
    display: flex;
    gap: 0.5rem;
}
.promo-input-group .checkout-input {
    flex: 1;
}
.promo-apply-btn {
    padding: 0.625rem 1.25rem;
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.promo-apply-btn:hover {
    background: var(--primary);
}
.promo-apply-btn:disabled {
    background: var(--emerald);
    cursor: default;
}

/* Security Badges */
.checkout-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.checkout-security i {
    color: var(--primary);
    font-size: 1rem;
}
.checkout-payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Place Order Button */
.place-order-btn {
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.15s;
}
.place-order-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.place-order-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* Trust List */
.checkout-trust-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Review Page Info Cards */
.review-info-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.review-info-card h5 {
    font-size: 0.9375rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-dark);
}
.review-edit-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}
.review-edit-link:hover {
    color: var(--primary-hover);
}
.review-info-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}
.payment-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Review Items */
.review-items-list {
    display: flex;
    flex-direction: column;
}
.review-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f8fafc;
}
.review-item:last-child { border-bottom: none; }
.review-item-img {
    width: 72px;
    height: 72px;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.review-item-info {
    flex: 1;
    min-width: 0;
}
.review-item-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
}
.review-item-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}
.review-item-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    flex-shrink: 0;
}
.review-item-price-inline {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.25rem 0 0;
}

/* Confirmation Page */
.confirmation-hero {
    padding: 2rem 0;
}
.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d1fae5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 8px #ecfdf5;
}
.confirmation-icon i {
    font-size: 2.5rem;
    color: var(--emerald);
    font-weight: 900;
}
.confirmation-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.confirmation-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.confirm-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}
.shipping-address-box {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 3px solid var(--primary);
}
.shipping-address-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: block;
}
.payment-method-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

/* Nav Steps (combined checkout.html) */
.nav-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-light);
}
.nav-step.active .nav-step-num {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}
.nav-step-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-light);
}
.nav-step.active .nav-step-text {
    color: var(--primary);
}
.nav-step-divider {
    width: 2rem;
    height: 1px;
    background: var(--border-color);
}

/* Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* ===== RESPONSIVE — Checkout ===== */
@media (max-width: 767.98px) {
    .checkout-progress {
        max-width: 100%;
        gap: 0;
    }
    .step-label { font-size: 0.6875rem; }
    .step-circle { width: 34px; height: 34px; font-size: 0.75rem; }
    .checkout-card { padding: 1.25rem; }
    .checkout-card-header h2 { font-size: 1.125rem; }
    .checkout-nav {
        flex-direction: column-reverse;
    }
    .checkout-btn-primary,
    .checkout-btn-outline {
        width: 100%;
        justify-content: center;
    }
    .order-summary-card {
        position: static;
    }
    .confirmation-title { font-size: 1.5rem; }
    .review-summary-bar {
        flex-direction: column;
        gap: 1rem;
    }
    .review-summary-bar .review-avg {
        justify-content: center;
    }
    .review-form-row {
        grid-template-columns: 1fr;
    }
    .review-form-section {
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .detail-trust-row {
        gap: 0.5rem;
    }
    .trust-badge-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
    .review-item {
        flex-wrap: wrap;
    }
    .review-item-price {
        width: 100%;
        text-align: right;
    }
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
}
.hero-carousel .carousel-item .hero-banner {
    margin-bottom: 0;
    border-radius: 0;
}
.hero-carousel .hero-bg {
    background-size: cover;
    background-position: center;
}
.hero-carousel .carousel-indicators {
    margin-bottom: 1.5rem;
    gap: 4px;
}
.hero-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    opacity: 0.6;
    transition: all 0.3s;
    margin: 0 4px;
}
.hero-carousel .carousel-indicators button.active {
    background: #fff;
    border-color: #fff;
    opacity: 1;
    width: 28px;
    border-radius: 9999px;
}
.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    transition: background 0.2s;
}
.carousel-nav-btn:hover {
    background: rgba(255,255,255,0.3);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    opacity: 0;
    transition: opacity 0.3s;
}
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

/* ===== WISHLIST PAGE ===== */
.wishlist-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-xs);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.wishlist-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}
.wishlist-card-oos {
    opacity: 0.72;
    filter: grayscale(0.3);
}
.wishlist-card-img {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f8fafc;
}
.wishlist-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.wishlist-card:hover .wishlist-card-img img {
    transform: scale(1.06);
}
.wishlist-remove-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all var(--transition-base);
    z-index: 2;
    backdrop-filter: blur(4px);
}
.wishlist-remove-btn:hover {
    background: var(--red);
    color: #fff;
    transform: scale(1.1) rotate(90deg);
}
.wishlist-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.5625rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 2;
}
.wishlist-badge.badge-stock {
    background: var(--primary);
    color: #fff;
}
.wishlist-badge.badge-bestseller {
    background: var(--primary);
    color: #fff;
}
.wishlist-badge.badge-discount {
    background: var(--red);
    color: #fff;
}
.wishlist-badge.badge-shipping {
    background: var(--emerald);
    color: #fff;
}
.wishlist-oos-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    backdrop-filter: blur(2px);
}
.wishlist-oos-label {
    color: #fff;
    font-weight: 900;
    font-size: 0.8125rem;
    border: 2.5px solid #fff;
    padding: 0.3rem 1rem;
    transform: rotate(-12deg);
    letter-spacing: 0.08em;
    border-radius: 4px;
}
.wishlist-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.wishlist-rating {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-bottom: 0.375rem;
}
.wishlist-rating i {
    color: var(--amber);
    font-size: 0.6875rem;
}
.wishlist-review-count {
    font-size: 0.625rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}
.wishlist-card-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition-fast);
}
.wishlist-card:hover .wishlist-card-name { color: var(--primary); }
.wishlist-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.4;
}
.wishlist-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    margin-top: auto;
}
.wishlist-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
}
.wishlist-old-price {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-decoration: line-through;
}
.wishlist-add-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
}
.wishlist-add-btn:hover {
    background: var(--primary);
    box-shadow: 0 4px 12px var(--primary-shadow);
}
.wishlist-notify-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: #f1f5f9;
    color: var(--text-muted);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
}
.wishlist-notify-btn:hover {
    background: var(--border-color);
    color: var(--text-dark);
}

/* ===== CART PAGE ===== */
.cart-page-item {
    display: flex;
    gap: 1rem;
    background: #fff;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
}
.cart-page-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-color);
}
.cart-page-item-img {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
}
.cart-page-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cart-page-item:hover .cart-page-item-img img {
    transform: scale(1.05);
}
.cart-page-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cart-page-item-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.125rem;
    line-height: 1.3;
}
.cart-page-item-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}
.cart-page-remove-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.cart-page-remove-btn:hover {
    color: var(--red);
    background: rgba(239,68,68,0.08);
}
.cart-page-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.cart-page-qty button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: none;
    font-size: 0.875rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.cart-page-qty button:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.cart-page-qty span {
    width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9375rem;
}
.cart-page-item-price {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}
.cart-summary-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 5.5rem;
}

/* ===== SUGGESTED / RECOMMENDED PRODUCTS ===== */
.suggested-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
    cursor: pointer;
}
.suggested-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.suggested-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
}
.suggested-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.suggested-item:hover .suggested-img img {
    transform: scale(1.08);
}
.suggested-info {
    min-width: 0;
}
.suggested-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.suggested-price {
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--primary);
    margin: 0;
}

/* ===== RESPONSIVE — Cart & Wishlist ===== */
@media (max-width: 575.98px) {
    .cart-page-item {
        padding: 1rem;
    }
    .cart-page-item-img {
        width: 80px;
        height: 80px;
    }
    .cart-page-item-name {
        font-size: 0.9375rem;
    }
    .cart-page-item-price {
        font-size: 1rem;
    }
    .wishlist-oos-label {
        font-size: 0.6875rem;
        padding: 0.2rem 0.5rem;
        border-width: 2px;
    }
    .wishlist-card-name {
        font-size: 0.8125rem;
    }
    .wishlist-price {
        font-size: 1.0625rem;
    }
}

/* ===== AUTH PAGES (Sign In / Sign Up) ===== */
.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8ecf4 50%, var(--bg-light) 100%);
    min-height: calc(100vh - 120px);
    position: relative;
    overflow: hidden;
}
.auth-main::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17,82,212,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.auth-main::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 540px;
    background: var(--card-bg);
    padding: 2.75rem 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(226,232,240,0.6);
    position: relative;
    z-index: 1;
    animation: authCardIn 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}
.auth-icon-circle:hover { transform: scale(1.05); }
.auth-icon-circle i {
    font-size: 1.5rem;
    color: var(--primary);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
}
.auth-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.auth-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}
.auth-label i {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.auth-input {
    border: 1.5px solid var(--border-color);
    border-radius: 0.625rem;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--card-bg);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.auth-input::placeholder {
    color: var(--text-light);
}

.auth-toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    color: var(--text-light);
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
    border-radius: 4px;
}
.auth-toggle-pw:hover {
    color: var(--primary);
}

.auth-forgot-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.auth-forgot-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.auth-submit-btn {
    padding: 0.875rem;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 16px var(--primary-shadow);
    transition: all var(--transition-base);
}
.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--primary-shadow);
}
.auth-submit-btn:active {
    transform: translateY(0);
}
.auth-submit-btn .spinner-border {
    width: 1.1rem;
    height: 1.1rem;
    border-width: 2px;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.75rem 0;
}
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}
.auth-divider span {
    position: relative;
    background: var(--card-bg);
    padding: 0 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.5px solid var(--border-color);
    border-radius: 0.625rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--card-bg);
    transition: all var(--transition-base);
}
.auth-social-btn:hover {
    background: var(--bg-light);
    border-color: #cbd5e1;
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

/* Google Auth Button */
.google-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: #fff;
    border: 1.5px solid #dadce0;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #3c4043;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.google-auth-btn:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.google-auth-btn:active {
    transform: translateY(0);
}
.google-auth-btn i {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Google button text */
.google-auth-btn-text {
    font-weight: 600;
    color: #3c4043;
}
.auth-social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.auth-social-icon-bs {
    font-size: 1.25rem;
    line-height: 1;
}

.auth-terms {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1.75rem;
    margin-bottom: 0;
    line-height: 1.5;
}
.auth-terms a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.auth-terms a:hover {
    text-decoration: underline;
}

.auth-footer {
    padding: 1.5rem;
    text-align: center;
    background: transparent;
}
.auth-footer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* Password strength bar */
.auth-strength-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
    overflow: hidden;
}
.auth-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
}
.auth-strength-fill.weak   { width: 25%; background: var(--red); }
.auth-strength-fill.fair    { width: 50%; background: var(--amber); }
.auth-strength-fill.good    { width: 75%; background: #22c55e; }
.auth-strength-fill.strong  { width: 100%; background: var(--emerald); }

/* Form check primary */
.auth-main .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 575.98px) {
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-lg);
    }
    .auth-title {
        font-size: 1.5rem;
    }
}

/* ===== FORGOT PASSWORD ===== */
.forgot-code-inputs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}
.forgot-code-digit {
    width: 60px;
    height: 64px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--card-bg);
    transition: var(--transition-base);
    outline: none;
    caret-color: var(--primary);
}
.forgot-code-digit:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-shadow);
}
.auth-back-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}
.auth-back-link:hover {
    color: var(--primary);
}
.auth-resend-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.auth-resend-link:hover {
    text-decoration: underline;
}
.auth-icon-circle--success {
    background: rgba(16, 185, 129, 0.1) !important;
    color: var(--emerald) !important;
}
@media (max-width: 575.98px) {
    .forgot-code-digit {
        width: 52px;
        height: 56px;
        font-size: 1.25rem;
    }
    .forgot-code-inputs {
        gap: 0.5rem;
    }
}

/* ===== UTILITIES ===== */
.fill-star::before { content: "\F586"; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* ===== WHATSAPP CHAT WIDGET ===== */
.wa-widget { position: fixed; bottom: 28px; right: 28px; z-index: 9999; }
.whatsapp-fab {
    width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative; z-index: 2;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }
.whatsapp-fab svg { display: block; transition: opacity .2s, transform .2s; }
.whatsapp-fab .wa-fab-close { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.5); }
.wa-open .whatsapp-fab .wa-fab-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }
.wa-open .whatsapp-fab .wa-fab-close { opacity: 1; transform: rotate(0) scale(1); }

/* Popup card */
.wa-popup {
    position: absolute; bottom: 72px; right: 0;
    width: 360px; border-radius: 16px; overflow: hidden;
    background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.wa-open .wa-popup { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

/* Header */
.wa-popup-header {
    background: #075E54; color: #fff; padding: 16px 18px;
    display: flex; align-items: center; justify-content: space-between;
}
.wa-popup-header-info { display: flex; align-items: center; gap: 12px; }
.wa-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wa-popup-name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.wa-popup-status { font-size: 12px; opacity: 0.8; margin-top: 2px; }
.wa-popup-close {
    background: none; border: none; color: #fff; font-size: 26px; line-height: 1;
    cursor: pointer; padding: 0 2px; opacity: 0.8; transition: opacity .2s;
}
.wa-popup-close:hover { opacity: 1; }

/* Body */
.wa-popup-body {
    background: #e5ddd5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.65' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    padding: 20px 18px; min-height: 140px; overflow-y: auto; max-height: 300px;
}
.wa-msg-bubble {
    background: #fff; border-radius: 0 10px 10px 10px; padding: 10px 14px;
    max-width: 85%; box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 14px; line-height: 1.5; position: relative;
}
.wa-msg-bubble p { margin: 0; }
.wa-msg-bubble p + p { margin-top: 4px; }
.wa-msg-bubble.wa-msg-user {
    background: #DCF8C6; border-radius: 10px 0 10px 10px;
    margin-left: auto; margin-right: 0;
}
.wa-msg-time {
    display: block; text-align: right; font-size: 11px;
    color: #999; margin-top: 4px;
}

/* Footer input */
.wa-popup-footer { padding: 10px 12px; background: #f0f0f0; }
.wa-input-form { display: flex; gap: 8px; align-items: center; }
.wa-input {
    flex: 1; border: none; border-radius: 24px; padding: 10px 16px;
    font-size: 14px; background: #fff; outline: none;
    font-family: inherit;
}
.wa-input::placeholder { color: #999; }
.wa-send-btn {
    width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background .2s;
}
.wa-send-btn:hover { background: #1ebe5b; }

@media (max-width: 575.98px) {
    .wa-widget { display: none !important; }
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}
.preloader-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    animation: preloaderPulse 1.6s ease-in-out infinite;
}
.preloader-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e9ecef;
    border-top-color: var(--primary, #4f46e5);
    border-radius: 50%;
    animation: preloaderSpin 0.75s linear infinite;
}
@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.96); }
}

/* ========== MOBILE BOTTOM NAV ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid var(--border-color);
    padding: 0.375rem 0 env(safe-area-inset-bottom, 0.25rem);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
}
.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.125rem;
    padding: 0.375rem 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}
.bottom-nav__item i {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease;
}
.bottom-nav__item.active,
.bottom-nav__item:hover {
    color: var(--primary);
}
.bottom-nav__item.active i {
    transform: scale(1.1);
}
.bottom-nav__item.active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 25%;
    right: 25%;
    height: 2.5px;
    border-radius: 0 0 4px 4px;
    background: var(--primary);
}
/* Elevated cart button */
.bottom-nav__item--cart .bottom-nav__cart-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    margin-top: -1.25rem;
    box-shadow: 0 4px 14px var(--primary-shadow);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bottom-nav__item--cart:hover .bottom-nav__cart-ring,
.bottom-nav__item--cart.active .bottom-nav__cart-ring {
    transform: scale(1.08);
    box-shadow: 0 6px 20px var(--primary-shadow);
}
.bottom-nav__item--cart .bottom-nav__cart-ring i {
    font-size: 1.125rem;
    color: #fff;
    transform: none;
}
.bottom-nav__item--cart.active::before { display: none; }
.bottom-nav__item--cart span:last-child {
    margin-top: 0.125rem;
}
.bottom-nav__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 800;
    border-radius: 9999px;
    padding: 0 4px;
    border: 2px solid #fff;
    line-height: 1;
}

/* =============================================================
   RESPONSIVE — Global System
   ============================================================= */

/* ─── TABLET  (max-width: 991.98px) ─── */
@media (max-width: 991.98px) {
    /* Top bar */
    .top-bar__help { display: none; }
    .top-bar__text { font-size: 0.75rem; }
    .top-bar__phone { font-size: 0.75rem; padding: 0.25rem 0.625rem; }
    .top-bar__badge { font-size: 0.5625rem; padding: 0.2rem 0.5rem; }
    .ticker-item { font-size: 0.6875rem; gap: 0.375rem; }
    .ticker-name { max-width: 150px; }

    /* Hero */
    .hero-v2 { min-height: 380px; }
    .hero-v2__content { padding: 2rem 2.5rem; }
    .hero-v2__desc { font-size: 0.9375rem; }
    .hero-v2__arrow { display: none; }

    /* Trust bar */
    .trust-bar__grid { gap: 1rem; }
    .trust-bar__icon { width: 40px; height: 40px; min-width: 40px; font-size: 1.1rem; }
    .trust-bar__item strong { font-size: 0.75rem; }
    .trust-bar__item span { font-size: 0.6875rem; }

    /* Home sections */
    .home-section { padding: 2rem 0; }
    .home-section--products { padding-bottom: 2rem; }
    .home-section__title { font-size: 1.5rem; }

    /* Promo strip */
    .promo-strip__inner { padding: 2.5rem 2rem; }
    .promo-strip__title { font-size: clamp(1.25rem, 3vw, 1.75rem); }

    /* Product detail */
    .detail-title { font-size: 1.5rem; }
    .detail-price { font-size: 1.75rem; }
    .gallery-thumbs { gap: 0.5rem; }
    .gallery-thumb { width: 60px; height: 60px; }

    /* Footer */
    .footer-shop { padding: 2.5rem 0 0; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* All-products sidebar → collapses via bootstrap d-none d-lg-block */
    .sidebar-filter { position: static; }

    /* Cart page */
    .cart-summary-card { position: static; }

    /* Checkout */
    .order-summary-card { position: static; }
}

/* ─── MOBILE-LARGE  (max-width: 767.98px) ─── */
@media (max-width: 767.98px) {
    /* Top bar */
    .top-bar { padding: 0.375rem 0; }
    .top-bar__inner { flex-direction: column; gap: 0.25rem; text-align: center; }
    .top-bar__left { justify-content: center; gap: 0.5rem; }
    .top-bar__right { justify-content: center; gap: 0.625rem; }
    .top-bar__text { font-size: 0.6875rem; }
    .top-bar__badge { font-size: 0.5rem; padding: 0.15rem 0.5rem; }
    .top-bar__phone { font-size: 0.6875rem; padding: 0.2rem 0.5rem; }
    .top-bar__help { display: none; }
    .top-bar__ticker { margin-top: 0.25rem; }
    .ticker-item { font-size: 0.625rem; }
    .ticker-name { max-width: 120px; }
    .ticker-track { gap: 1rem; }

    /* Bottom nav: body needs padding to avoid content hidden behind it */
    body { padding-bottom: 4.5rem; }
    /* Hide hamburger toggle — bottom nav replaces it */
    .navbar-toggler { display: none !important; }
    /* Hide nav icons duplicated by bottom nav */
    .navbar-shop [aria-label="Wishlist"],
    .navbar-shop [aria-label="Cart"],
    .navbar-shop [aria-label="Account"],
    .navbar-shop .dropdown { display: none !important; }
    /* Hide free-delivery section on mobile, show phone numbers instead */
    .top-bar__left { display: none; }
    .top-bar__right { display: flex; }
    .top-bar__inner { flex-direction: row; justify-content: center; }
    /* Footer bottom padding above bottom nav */
    .footer-shop { padding-bottom: 1rem; }

    /* Hero */
    .hero-v2 { min-height: 340px; }
    .hero-v2__content { padding: 1.75rem 1.5rem; }
    .hero-v2__title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .hero-v2__desc { font-size: 0.875rem; margin-bottom: 1.5rem; max-width: 100%; }
    .hero-v2__badge { font-size: 0.625rem; padding: 0.3rem 0.75rem; margin-bottom: 1rem; }
    .hero-v2__btn { padding: 0.65rem 1.25rem; font-size: 0.8125rem; }
    .hero-v2__indicators { bottom: 1.25rem; }
    .hero-section { padding: 0.75rem 0.75rem 0; }

    /* Trust bar */
    .trust-bar { padding: 1.25rem 0; }
    .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
    .trust-bar__icon { width: 36px; height: 36px; min-width: 36px; font-size: 1rem; border-radius: var(--radius-sm); }
    .trust-bar__item { gap: 0.625rem; }

    /* Home sections */
    .home-section__header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .home-section__title { font-size: 1.375rem; }
    .home-section__eyebrow { font-size: 0.625rem; }
    .home-section__cta { padding-top: 1.75rem; }
    .explore-btn-v2 { padding: 0.75rem 1.75rem; font-size: 0.875rem; }

    /* Category chips */
    .chip-v2 { padding: 0.5rem 1rem; font-size: 0.75rem; }

    /* Promo strip */
    .promo-strip { padding: 0 0 2rem; }
    .promo-strip__inner { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
    .promo-strip__content { max-width: 100%; }
    .promo-strip__desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .promo-strip__title { font-size: 1.25rem; }
    .promo-strip__visual { display: flex !important; justify-content: center; }
    .promo-strip__circle { width: 100px; height: 100px; }
    .promo-strip__percent { font-size: 1.75rem; }
    .promo-strip__off { font-size: 0.75rem; }

    /* Product card body */
    .product-body { padding: 0.75rem; }
    .product-name { font-size: 0.8125rem; max-width: 55%; }
    .product-price { font-size: 0.9375rem; }
    .add-cart-btn { padding: 0.5rem 0.75rem; font-size: 0.6875rem; margin-top: 0.5rem; }
    .fav-btn { opacity: 1; transform: scale(1); width: 30px; height: 30px; font-size: 0.875rem; }

    /* Page title (all-products) */
    .page-title { font-size: 1.5rem; }
    .page-subtitle { font-size: 0.8125rem; }

    /* Product detail */
    .detail-title { font-size: 1.375rem; }
    .detail-price { font-size: 1.5rem; }
    .detail-price-old { font-size: 1rem; }
    .detail-actions { flex-direction: column; }
    .detail-actions .qty-selector { width: 100%; justify-content: center; }
    .detail-add-cart { width: 100%; }
    .detail-fav-btn { width: 100%; }
    .detail-tabs { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .detail-tabs::-webkit-scrollbar { display: none; }
    .detail-tab { padding: 0.625rem 1rem; font-size: 0.8125rem; }
    .gallery-thumbs { gap: 0.375rem; }
    .gallery-thumb { width: 56px; height: 56px; }
    .detail-status-row { font-size: 0.8125rem; }
    .detail-stock-info { font-size: 0.8125rem; }
    .detail-delivery-info { font-size: 0.8125rem; }

    /* Footer */
    .footer-shop { padding: 2rem 0 0; }
    .footer-desc { max-width: 100%; }
    .footer-heading { margin-bottom: 1rem; }
    .footer-bottom { margin-top: 2rem; padding: 1rem 0; }

    /* Cart page */
    .cart-page-item { gap: 0.75rem; padding: 1rem; }
    .cart-page-item-img { width: 80px; height: 80px; }

    /* Navbar search on mobile */
    .nav-search { max-width: 100%; }

    /* Review form */
    .review-form-row { grid-template-columns: 1fr; }
    .review-form-section { padding: 1.25rem; }

    /* Review summary */
    .review-summary-bar { flex-direction: column; gap: 1rem; }
    .review-avg { justify-content: center; }

    /* Checkout */
    .checkout-progress { max-width: 100%; }
    .step-label { font-size: 0.6875rem; }
    .step-circle { width: 34px; height: 34px; font-size: 0.75rem; }
    .checkout-card { padding: 1.25rem; }
    .checkout-card-header h2 { font-size: 1.125rem; }
    .checkout-nav { flex-direction: column-reverse; }
    .checkout-btn-primary, .checkout-btn-outline { width: 100%; justify-content: center; }
    .confirmation-title { font-size: 1.5rem; }

    /* Toast */
    .toast-container { right: 1rem; left: 1rem; bottom: 1rem; }
    .shop-toast { max-width: 100%; font-size: 0.8125rem; padding: 0.75rem 1rem; }

    /* Search modal */
    .search-overlay { padding-top: 2rem; }
    .search-modal { width: 95%; padding: 1.25rem; }
}

/* ─── MOBILE-SMALL  (max-width: 575.98px) ─── */
@media (max-width: 575.98px) {
    /* Top bar — compact single-line on small mobile */
    .top-bar { padding: 0.3rem 0; }
    .top-bar__inner { flex-direction: row; flex-wrap: nowrap; gap: 0.5rem; }
    .top-bar__left { flex: 1; min-width: 0; }
    .top-bar__badge { display: none; }
    .top-bar__text { font-size: 0.625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .top-bar__right { gap: 0.375rem; }
    .top-bar__phone { font-size: 0.5625rem; padding: 0.15rem 0.375rem; gap: 0.2rem; }
    .top-bar__phone span { display: none; }
    .top-bar__ticker { margin-top: 0.15rem; padding: 0.2rem 0; }
    .ticker-item { font-size: 0.5625rem; gap: 0.25rem; }
    .ticker-label { font-size: 0.5rem; padding: 0.1rem 0.375rem; }
    .ticker-name { max-width: 100px; }
    .ticker-track { gap: 0.75rem; animation-duration: 30s; }

    /* Hero */
    .hero-v2 { min-height: 280px; border-radius: var(--radius-md); }
    .hero-v2__content { padding: 1.5rem 1.25rem; }
    .hero-v2__inner { max-width: 100%; }
    .hero-v2__title { font-size: clamp(1.25rem, 6vw, 1.75rem); margin-bottom: 0.625rem; }
    .hero-v2__desc { font-size: 0.8125rem; line-height: 1.5; margin-bottom: 1.25rem; }
    .hero-v2__actions { gap: 0.5rem; }
    .hero-v2__btn { padding: 0.55rem 1rem; font-size: 0.75rem; }
    .hero-v2__btn--ghost { display: none; }
    .hero-section { padding: 0.5rem 0.5rem 0; }

    /* Trust bar */
    .trust-bar__grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .trust-bar__item strong { font-size: 0.6875rem; }
    .trust-bar__item span { font-size: 0.625rem; }
    .trust-bar { padding: 1rem 0; }

    /* Home sections */
    .home-section { padding: 1.5rem 0; }
    .home-section--products { padding-bottom: 1.5rem; }
    .home-section__title { font-size: 1.25rem; }

    /* Category chips */
    .category-chips-v2 { gap: 0.5rem; }
    .chip-v2 { padding: 0.4rem 0.875rem; font-size: 0.6875rem; border-radius: var(--radius-sm); }
    .chip-v2__count { min-width: 18px; height: 18px; font-size: 0.625rem; }

    /* Product card */
    .product-body { padding: 0.625rem 0.625rem 0.75rem; }
    .product-name { font-size: 0.75rem; }
    .product-price { font-size: 0.875rem; }
    .product-category { font-size: 0.5625rem; margin-bottom: 0.25rem; }
    .add-cart-btn { padding: 0.4375rem 0.5rem; font-size: 0.625rem; gap: 0.375rem; margin-top: 0.375rem; }
    .add-cart-btn i { font-size: 0.75rem; }
    .fav-btn { top: 0.5rem; right: 0.5rem; width: 28px; height: 28px; font-size: 0.75rem; }
    .product-badge { font-size: 0.5625rem; padding: 0.15rem 0.5rem; }
    .badge-bestseller { bottom: 0.5rem; left: 0.5rem; }
    .badge-discount { top: 0.5rem; left: 0.5rem; }
    .price-old { font-size: 0.5625rem; }
    .product-pricing-row { gap: 0.25rem; }

    /* Promo strip */
    .promo-strip__inner { padding: 1.5rem 1.25rem; border-radius: var(--radius-md); }
    .promo-strip__badge { font-size: 0.625rem; padding: 0.25rem 0.625rem; }
    .promo-strip__desc { font-size: 0.8125rem; }
    .promo-strip__circle { width: 80px; height: 80px; }
    .promo-strip__percent { font-size: 1.5rem; }
    .promo-strip__off { font-size: 0.625rem; }

    /* Explore button */
    .explore-btn-v2 { padding: 0.625rem 1.5rem; font-size: 0.8125rem; }

    /* Page title */
    .page-title { font-size: 1.25rem; }

    /* Product detail */
    .detail-title { font-size: 1.25rem; }
    .detail-price { font-size: 1.375rem; }
    .detail-price-box { gap: 0.5rem; }
    .detail-badge { font-size: 0.625rem; padding: 0.2rem 0.625rem; }
    .detail-trust-row { gap: 0.5rem; }
    .trust-badge-item { flex: 0 0 calc(50% - 0.5rem); font-size: 0.6875rem; }
    .detail-highlights li { font-size: 0.8125rem; }
    .info-card { padding: 1rem; }
    .info-card h5 { font-size: 0.9375rem; }
    .gallery-thumb { width: 48px; height: 48px; }

    /* Section header (legacy) */
    .section-header h2 { font-size: 1.25rem; }

    /* Pagination */
    .page-btn { width: 34px; height: 34px; font-size: 0.8125rem; }

    /* Cart page */
    .cart-page-item-img { width: 70px; height: 70px; }
    .cart-page-item-name { font-size: 0.875rem; }
    .cart-page-item-price { font-size: 0.9375rem; }
    .cart-page-qty button { width: 30px; height: 30px; }

    /* Wishlist */
    .wishlist-card-name { font-size: 0.8125rem; }
    .wishlist-price { font-size: 1.0625rem; }
    .wishlist-oos-label { font-size: 0.6875rem; padding: 0.2rem 0.5rem; border-width: 2px; }

    /* Auth pages */
    .auth-card { padding: 2rem 1.5rem; border-radius: var(--radius-lg); }
    .auth-title { font-size: 1.5rem; }
    .forgot-code-digit { width: 52px; height: 56px; font-size: 1.25rem; }
    .forgot-code-inputs { gap: 0.5rem; }

    /* Checkout */
    .review-item { flex-wrap: wrap; }
    .review-item-price { width: 100%; text-align: right; }
    .review-item-img { width: 60px; height: 60px; }
    .review-item-name { font-size: 0.8125rem; }
    .confirmation-icon { width: 64px; height: 64px; }
    .confirmation-icon i { font-size: 2rem; }
    .confirmation-title { font-size: 1.25rem; }

    /* Navbar */
    .navbar-shop .navbar-brand { font-size: 1.125rem; }
    .navbar-shop .navbar-brand .brand-logo { height: 28px; }
    .icon-btn { width: 34px; height: 34px; font-size: 1.125rem; }
    .cart-badge { min-width: 16px; height: 16px; font-size: 9px; }

    /* Footer */
    .footer-shop { padding: 1.5rem 0 0; }
    .footer-brand span { font-size: 1rem; }
    .footer-desc { font-size: 0.8125rem; }
    .footer-heading { font-size: 0.875rem; }
    .footer-links a { font-size: 0.8125rem; }
    .newsletter-input { flex-direction: column; }
    .newsletter-input button { width: 100%; }
    .footer-bottom { padding: 1rem 0; }
    .footer-bottom p { font-size: 0.6875rem; }
    .footer-legal a { font-size: 0.6875rem; }

    /* Offcanvas mobile menu */
    .offcanvas .nav-link { font-size: 1rem; padding: 0.625rem 0.5rem !important; }

    /* WA widget — hidden on mobile */
    .wa-widget { display: none !important; }

    /* Search modal */
    .search-overlay { padding-top: 1rem; }
    .search-modal { width: 96%; padding: 1rem; }
    .search-modal input { padding: 0.75rem 0.875rem 0.75rem 2.5rem; font-size: 0.9375rem; }

    /* Paystack features */
    .paystack-features { grid-template-columns: 1fr; }

    /* Mobile sticky cart (product detail) */
    .mobile-sticky-cart { padding: 0.625rem 0.75rem; }
}
