:root {
    --primary: #088178;
    --primary-hover: #067066;
    --primary-light: rgba(8, 129, 120, 0.08);
    --primary-dark: #055a52;
    --primary-shadow: rgba(8, 129, 120, 0.35);

    --topbar-bg: #088178;
    --topbar-text: #ffffff;

    --header-bg: #ffffff;
    --header-text: #1a1a2e;
    --header-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);

    --navbar-bg: #ffffff;
    --navbar-text: #1a1a2e;
    --navbar-hover: #088178;
    --navbar-border: #e8ecef;

    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #8a94a6;

    --border: #e8ecef;
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 50px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);

    --danger: #ef4444;
    --danger-dark: #dc2626;
    --danger-darker: #b91c1c;
    --danger-bg: #fef2f2;
    --danger-shadow: rgba(239, 68, 68, 0.35);

    --gray-300: #d1d5db;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-right: 0 !important;
}

/* ============================================= */
/* TOPBAR                                       */
/* ============================================= */
.topbar {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    padding: 6px 0;
    font-size: 0.72rem;
    line-height: 1;
}

.topbar a { color: inherit; text-decoration: none; }

.topbar-left { gap: 6px; }
.topbar-icon { font-size: 0.78rem; }
.topbar-phone { font-weight: 600; letter-spacing: 0.2px; }
.topbar-phone:hover { opacity: 0.8; }
.topbar-offer { font-weight: 500; opacity: 0.95; }
.topbar-divider { opacity: 0.3; margin: 0 8px; }

.topbar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.topbar-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.topbar-links a:hover { opacity: 1; }
.topbar-links a i { font-size: 0.78rem; }

/* ============================================= */
/* HEADER                                       */
/* ============================================= */
.main-header {
    background: var(--header-bg);
    padding: 10px 0;
    box-shadow: var(--header-shadow);
}

.logo img { max-height: 34px; width: auto; }

/* Search */
.search-wrapper { max-width: 560px; margin: 0 auto; padding: 0 10px; }
.search-form { position: relative; }

.search-input {
    width: 100%;
    padding: 9px 46px 9px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    background: var(--bg-light);
    transition: all 0.25s;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
    outline: none;
}

.search-input::placeholder { color: var(--text-muted); }

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.search-btn:hover { background: var(--primary-hover); transform: translateY(-50%) scale(1.05); }
.search-btn i { font-size: 1rem; }

/* Header Actions */
.header-actions { gap: 2px; }

.header-actions .btn-link {
    text-decoration: none;
    color: var(--header-text);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.header-actions .btn-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.account-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.35rem;
    text-decoration: none;
}
.account-btn::after { display: none; }
.account-text {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--header-text);
}

.account-dropdown .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    min-width: 200px;
    margin-top: 8px;
}

.account-dropdown .dropdown-item {
    padding: 9px 18px;
    font-size: 0.82rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.15s;
}

.account-dropdown .dropdown-item i {
    font-size: 1.05rem;
    color: var(--primary);
    width: 20px;
}

.account-dropdown .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.cart-btn { font-size: 1.35rem; }

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.mobile-menu-btn { font-size: 1.35rem; color: var(--header-text); }



/* ============================================= */
/* NAVBAR                                       */
/* ============================================= */
.main-navbar {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
    position: relative;
    padding: 6px 0;
}

.category-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 22px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    justify-content: center;
    box-shadow: 0 3px 12px var(--primary-shadow);
    letter-spacing: 0.02em;
}

.category-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #033a35 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px var(--primary-shadow);
}

.category-btn:focus-visible,
.category-btn.show,
.category-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 129, 120, 0.35) !important;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #033a35 100%);
    color: #fff;
}

.btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.category-btn i { font-size: 0.95rem; }

.category-btn.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 4px;
}

.category-toggle { position: relative; }

.category-dropdown {
    width: 100%;
    min-width: 0;
    padding: 6px 0;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 6px;
    background: #fff;
}

.category-dropdown .dropdown-item {
    padding: 9px 16px;
    font-size: 0.82rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.15s;
}

.category-dropdown .dropdown-item i {
    color: var(--primary);
    font-size: 0.95rem;
    width: 20px;
}

.category-dropdown .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.dropdown-submenu { position: relative; }

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -4px;
    margin-left: 0;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 6px 0;
    background: #fff;
}

.dropdown-submenu > .dropdown-item::after {
    border: none !important;
    content: '\f285';
    font-family: 'bootstrap-icons';
    vertical-align: middle;
    margin-left: auto;
    font-size: 0.7rem;
}

.dropdown-submenu:hover > .dropdown-menu { display: block; }

.navbar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-links > li > a {
    color: var(--navbar-text);
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.navbar-links > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.25s;
    transform: translateX(-50%);
}

.navbar-links > li > a:hover::before,
.navbar-links > li > a.active::before { width: 60%; }

.navbar-links > li > a:hover,
.navbar-links > li > a.active { color: var(--primary); }

.navbar-links .dropdown-toggle::after { vertical-align: middle; }

.navbar-links .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    min-width: 200px;
    margin-top: 0;
    background: #fff;
}

.navbar-links .dropdown-item {
    padding: 8px 18px;
    font-size: 0.82rem;
    color: var(--text-primary);
    transition: all 0.15s;
}

.navbar-links .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Navbar Deal Button */
.navbar-deal-btn {
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px var(--danger-shadow);
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
}

.navbar-deal-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
    transform: rotate(25deg) translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.navbar-deal-btn:hover::after {
    transform: rotate(25deg) translateX(100%);
}

.navbar-deal-btn:hover {
    background: linear-gradient(135deg, var(--danger-dark) 0%, var(--danger-darker) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--danger-shadow);
}

.navbar-deal-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--danger-shadow);
}

.navbar-deal-btn i {
    font-size: 1rem;
    animation: dealPulse 2s ease-in-out infinite;
}

@keyframes dealPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mega Menu */
.mega-menu-dropdown { position: static !important; }

.mega-menu {
    padding: 28px 24px !important;
    width: 80vw;
    left: 50% !important;
    top: calc(100% + 3px) !important;
    transform: translateX(-50%) !important;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 0;
    background: #fff;
}

.mega-menu h6 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.mega-menu ul { list-style: none; padding: 0; margin: 0; }

.mega-menu ul li { margin-bottom: 5px; }

.mega-menu ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
    display: block;
    padding: 3px 0;
}

.mega-menu ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* ============================================= */
/* SERVICE FEATURES                             */
/* ============================================= */

.service-features {
    padding: 50px 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    background: #fff;
    padding: 32px 20px 28px;
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    height: 100%;
}

.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--primary);
    background: transparent;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.service-text {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .service-features { padding: 30px 0; }
    .service-card { padding: 24px 16px 20px; }
    .service-icon { width: 40px; height: 40px; font-size: 0.95rem; }
    .service-title { font-size: 0.9rem; }
    .service-text { font-size: 0.78rem; }
}

/* ============================================= */
/* HERO / SLIDER                                */
/* ============================================= */
.hero-section { padding: 20px 0 40px; }

.hero-slider-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: #fff;
}

.hero-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-slide {
    position: relative;
    display: none;
}

.hero-slide.active {
    display: block;
    animation: heroFadeIn 0.6s ease;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: scale(1.03); }
    to   { opacity: 1; transform: scale(1); }
}

.hero-slide-bg {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 100%);
}

.hero-slide-text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 45%;
}

.hero-slide-text .hero-badge {
    display: inline-block;
    background: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero-slide-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.15;
}

.hero-slide-text p {
    font-size: 0.92rem;
    opacity: 0.9;
    margin-bottom: 14px;
}

.hero-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-btn:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 129, 120, 0.4);
}

.hero-btn:active {
    transform: translateY(0);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--topbar-text);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--topbar-text);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 18px rgba(8, 129, 120, 0.4);
}

/* Dots - Inline Badge */
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.6);
}

.dot.active {
    background: #fff;
    width: 28px;
    border-radius: 99px;
    border-color: #fff;
}

.dot:hover {
    background: #fff;
    opacity: 0.8;
}

/* ============================================= */
/* PROMO BANNERS                                */
/* ============================================= */
.promo-banners { display: flex; flex-direction: column; gap: 16px; height: 100%; }

.promo-banner {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.promo-banner-content { height: 100%; }

.promo-banner-bg {
    position: relative;
    height: 100%;
    min-height: 202px;
    overflow: hidden;
}

.promo-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 100%);
}

.promo-banner-text {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #fff;
}

.promo-banner-text .promo-badge {
    display: inline-block;
    background: var(--danger);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.promo-banner-text h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.promo-banner-text p { font-size: 0.72rem; opacity: 0.9; margin-bottom: 5px; }

.promo-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.promo-link:hover { color: var(--primary); gap: 7px; }

/* ============================================= */
/* FEATURE CATEGORIES                            */
/* ============================================= */
.feature-categories-section {
    padding: 10px 0 24px;
}

.feature-cat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-cat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px var(--primary-shadow);
    transform: translateY(-3px);
}

.feature-cat-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}

.feature-cat-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-cat-card:hover .feature-cat-name {
    color: var(--primary);
}

/* ============================================= */
/* OFFCANVAS                                    */
/* ============================================= */
.offcanvas { font-family: var(--font); border-radius: 16px !important; height: calc(100% - 24px); margin: 12px 12px 12px auto; overflow: hidden; }

.offcanvas-header {
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
}

.offcanvas-header .offcanvas-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.offcanvas-header .offcanvas-title i { color: var(--primary); }

.offcanvas-body { padding: 18px; }

.offcanvas-body .form-label {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.offcanvas-body .form-control {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 9px 12px;
    font-size: 0.82rem;
    transition: all 0.2s;
}

.offcanvas-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.offcanvas-body .btn-primary {
    background: var(--primary);
    border: none;
    padding: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.25s;
}

.offcanvas-body .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--primary-shadow);
}

.offcanvas-body .btn-primary:active {
    transform: translateY(0);
}



/* ============================================= */
/* AUTH OFFCANVAS - Premium Overrides            */
/* ============================================= */
:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) {
    --auth-pad: 28px;
    max-width: 420px;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .offcanvas-header {
    padding: 20px var(--auth-pad);
    border-bottom: 1px solid var(--border);
    position: relative;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .offcanvas-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: var(--auth-pad);
    right: var(--auth-pad);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover), transparent);
    border-radius: 1px;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .offcanvas-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .offcanvas-title i {
    font-size: 1.1rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px;
    border-radius: 8px;
    margin-right: 2px;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .offcanvas-body {
    padding: var(--auth-pad);
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .mb-3 {
    margin-bottom: 20px !important;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    transition: color 0.25s;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .form-control {
    height: 48px;
    padding: 12px 16px;
    font-size: 0.88rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fafbfc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    box-sizing: border-box;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .form-control:hover {
    border-color: #c8ced6;
    background: #fff;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light), 0 2px 12px rgba(0, 0, 0, 0.04);
    background: #fff;
    outline: none;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
    transition: all 0.3s;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .form-control:focus::placeholder {
    opacity: 0.25;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .btn-primary {
    height: 48px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 14px var(--primary-shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
    transform: rotate(25deg) translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .btn-primary:hover::after {
    transform: rotate(25deg) translateX(100%);
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--primary-shadow);
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--primary-shadow);
}

/* ── Checkbox ── */
#loginOffcanvas .form-check {
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: auto;
    margin-bottom: 20px !important;
}

#loginOffcanvas .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 5px;
    border: 2px solid var(--border);
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.25s;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#loginOffcanvas .form-check-input:checked {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px var(--primary-shadow);
}

#loginOffcanvas .form-check-input:checked::after {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

#loginOffcanvas .form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

#loginOffcanvas .form-check-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    font-weight: 500;
}

/* ── Navigation Links (Forgot, Create Account, etc.) ── */
:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .text-center.mt-3 {
    margin-top: 18px !important;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .text-center.mt-3 a {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .text-center.mt-3 a::after {
    content: '\F138';
    font-family: 'bootstrap-icons';
    font-size: 0.7rem;
    transition: transform 0.25s;
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .text-center.mt-3 a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

:is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .text-center.mt-3 a:hover::after {
    transform: translateX(3px);
}

/* ── Description text (Forgot & OTP) ── */
:is(#forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .offcanvas-body > form > .text-muted:first-child {
    font-size: 0.82rem;
    color: var(--text-secondary) !important;
    line-height: 1.7;
    margin-bottom: 24px;
    padding: 14px 16px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

/* ── OTP Input ── */
#otpOffcanvas .form-control {
    text-align: center;
    font-size: 1.6rem !important;
    font-weight: 700;
    letter-spacing: 14px;
    height: 56px !important;
    font-family: 'Courier New', Courier, monospace;
    caret-color: var(--primary);
}

#otpOffcanvas .form-control:placeholder-shown {
    letter-spacing: 2px;
    font-size: 0.88rem !important;
    font-family: var(--font);
}

#otpOffcanvas .form-control:not(:placeholder-shown) {
    border-color: var(--primary);
    background: #fff;
}

/* ── Responsive ── */
@media (max-width: 575.98px) {
    :is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) {
        --auth-pad: 20px;
    }

    :is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .form-control {
        height: 44px;
        font-size: 0.84rem;
        padding: 10px 14px;
    }

    :is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas) .btn-primary {
        height: 44px;
        font-size: 0.84rem;
    }

    #otpOffcanvas .form-control {
        font-size: 1.3rem !important;
        letter-spacing: 10px;
        height: 50px !important;
    }
}

/* ============================================= */
/* BUTTON UTILITIES                             */
/* ============================================= */

.btn-shine {
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 35%, rgba(255, 255, 255, 0.15) 50%, transparent 65%);
    transform: rotate(25deg) translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.btn-shine:hover::after {
    transform: rotate(25deg) translateX(100%);
}

.btn-shine:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--primary-shadow);
}

.btn-shine:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--primary-shadow);
}

.btn-xs {
    padding: 5px 12px;
    font-size: 0.7rem;
    border-radius: 5px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.78rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: 10px;
}

.btn-xl {
    padding: 17px 40px;
    font-size: 1.05rem;
    border-radius: 12px;
}

/* ============================================= */
/* CART OFFCANVAS                               */
/* ============================================= */
.cart-offcanvas { max-width: 400px; }

.cart-body {
    padding: 14px 18px;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    transition: box-shadow 0.2s;
}

.cart-item:hover { box-shadow: var(--shadow-md); }

.cart-item-image {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-light);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details { flex: 1; min-width: 0; }

.cart-item-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-attributes {
    display: flex;
    gap: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.cart-item-attributes span {
    background: var(--bg-light);
    padding: 1px 6px;
    border-radius: 3px;
}

.cart-item-pricing {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.cart-item-pricing .original {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.cart-item-pricing .discounted {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quantity-control { display: flex; align-items: center; gap: 4px; }

.qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #fff;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.qty-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.qty-value {
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 22px;
    text-align: center;
}

.item-actions { display: flex; gap: 4px; }

.delete-btn {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 50%;
    background: var(--danger-bg);
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.72rem;
}

.delete-btn:hover { background: var(--danger); border-color: var(--danger); color: #fff; box-shadow: 0 4px 10px var(--danger-shadow); }

.cart-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    background: #fff;
    position: sticky;
    bottom: 0;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cart-subtotal .subtotal-amount {
    color: var(--primary);
    font-size: 1rem;
}

.cart-buttons { display: flex; flex-direction: column; gap: 8px; }

.btn-view-cart {
    padding: 12px;
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.btn-view-cart:hover { background: var(--primary); color: #fff; }

.btn-checkout {
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px var(--primary-shadow);
    text-decoration: none;
}

/* ============================================= */
/* MOBILE OFFCANVAS                             */
/* ============================================= */
/* MOBILE OFFCANVAS                             */
/* ============================================= */
.mobile-offcanvas { max-width: 300px; }

.mobile-nav-list { list-style: none; padding: 0; margin: 0 0 16px; }

.mobile-nav-list > li { border-bottom: 1px solid var(--border); }

.mobile-nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 11px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    gap: 10px;
    transition: color 0.15s;
}

.mobile-nav-list > li > a i:first-child {
    width: 22px;
    color: var(--primary);
}

.mobile-nav-list > li > a i.bi-chevron-down {
    margin-left: auto;
    transition: transform 0.25s;
}

.mobile-nav-list > li > a[aria-expanded="true"] i.bi-chevron-down { transform: rotate(180deg); }
.mobile-nav-list > li > a:hover { color: var(--primary); }
.mobile-nav-list > li > a.active { color: var(--primary); }

.mobile-submenu { padding-left: 32px; }

.mobile-submenu ul {
    list-style: none;
    padding: 6px 0 10px;
    margin: 0;
}

.mobile-submenu ul li { margin-bottom: 3px; }

.mobile-submenu ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
    padding: 5px 0;
    transition: all 0.15s;
}

.mobile-submenu ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.mobile-submenu ul li a strong { color: var(--text-primary); }

/* Mobile menu category tree (mirrors shop filter) */
.mobile-cat-list li { margin-bottom: 2px; }
.mobile-cat-item .mobile-cat-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.15s;
}
.mobile-cat-item .mobile-cat-link:hover { color: var(--primary); }
.mobile-subcat-list li a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    padding: 3px 0;
    transition: all 0.15s;
}
.mobile-subcat-list li a:hover { color: var(--primary); padding-left: 4px; }

.mobile-bottom-links {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    transition: color 0.15s;
}

.mobile-bottom-links a i { width: 22px; color: var(--primary); }
.mobile-bottom-links a:hover { color: var(--primary); }

/* ============================================= */
/* RESPONSIVE                                    */
/* ============================================= */
@media (max-width: 575.98px) {
    .topbar { font-size: 0.6rem; padding: 4px 0; }
    .topbar-icon, .topbar-links a i { font-size: 0.65rem; }
    .topbar-links a { padding: 0 2px; }
    .topbar-divider { margin: 0 4px; }

    .main-header { padding: 8px 0; }
    .logo img { max-height: 26px; }
    .search-wrapper { padding: 0 4px; }
    .search-input {
        height: 34px;
        font-size: 0.72rem;
        padding: 6px 40px 6px 12px;
    }
    .search-input::placeholder { font-size: 0.68rem; }
    .search-btn { width: 30px; height: 30px; }
    .search-btn i { font-size: 0.85rem; }
    .header-actions { gap: 2px; }
    .account-btn, .cart-btn, .mobile-menu-btn { font-size: 1.1rem; padding: 2px 4px !important; }
    .cart-badge { width: 15px; height: 15px; font-size: 0.45rem; top: -1px; right: -1px; }

    .hero-section { padding: 10px 0 16px; }
    .hero-slide-bg { min-height: 240px; }
    .hero-slide-bg img { min-height: 240px; }
    .hero-slide-text { left: 5%; max-width: 75%; }
    .hero-slide-text h2 { font-size: 1.1rem; }
    .hero-slide-text p { font-size: 0.65rem; margin-bottom: 8px; }
    .hero-slide-text .hero-badge { font-size: 0.5rem; padding: 2px 10px; margin-bottom: 5px; }
    .hero-btn { padding: 6px 16px; font-size: 0.65rem; }
    .slider-arrow { width: 32px; height: 32px; font-size: 0.85rem; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    .slider-dots { padding: 5px 12px; gap: 5px; }
    .dot { width: 6px; height: 6px; }
    .dot.active { width: 18px; }
@media (max-width: 575.98px) {
    .mobile-offcanvas { max-width: 260px; }
    .mobile-nav-list > li > a { font-size: 0.78rem; padding: 9px 0; }
    .cart-offcanvas { max-width: calc(100vw - 24px); }
    :is(#loginOffcanvas, #registerOffcanvas, #forgotOffcanvas, #otpOffcanvas, #setPasswordOffcanvas, #cartOffcanvas, #wishlistOffcanvas) { max-width: calc(100vw - 24px); }
}
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .topbar { font-size: 0.62rem; padding: 4px 0; }
    .main-header { padding: 9px 0; }
    .logo img { max-height: 30px; }
    .search-input { height: 38px; font-size: 0.78rem; }
    .hero-slide-bg { min-height: 300px; }
    .hero-slide-bg img { min-height: 300px; }
    .hero-slide-text h2 { font-size: 1.5rem; }
    .hero-slide-text p { font-size: 0.8rem; }
    .hero-btn { padding: 8px 22px; font-size: 0.75rem; }
    .slider-arrow { width: 34px; height: 34px; }
    .mobile-offcanvas { max-width: 280px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .search-wrapper { max-width: 380px; }
    .hero-slide-bg { min-height: 340px; }
    .hero-slide-bg img { min-height: 340px; }
    .hero-slide-text h2 { font-size: 1.6rem; }
    .promo-banner-bg { min-height: 162px; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .search-wrapper { max-width: 460px; }
    .hero-slide-bg { min-height: 380px; }
    .hero-slide-bg img { min-height: 380px; }
    .hero-slide-text h2 { font-size: 1.8rem; }
    .promo-banner-bg { min-height: 182px; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .search-wrapper { max-width: 500px; }
    .hero-slide-bg { min-height: 440px; }
    .hero-slide-bg img { min-height: 440px; }
    .hero-slide-text h2 { font-size: 1.9rem; }
    .hero-slide-text { left: 8%; max-width: 42%; }
    .promo-banner-bg { min-height: 212px; }
    .promo-banner-text h5 { font-size: 0.9rem; }
}

@media (min-width: 1400px) {
    .hero-slide-bg { min-height: 500px; }
    .hero-slide-bg img { min-height: 500px; }
    .hero-slide-text h2 { font-size: 2.4rem; }
    .hero-slide-text p { font-size: 1rem; }
    .promo-banner-bg { min-height: 242px; }
    .promo-banner-text h5 { font-size: 1.1rem; }
}

/* ============================================= */
/* UTILITIES                                     */
/* ============================================= */
.container-fluid { padding-left: 16px; padding-right: 16px; }

@media (min-width: 1400px) {
    .container-fluid { padding-left: 28px; padding-right: 28px; }
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

@media (max-width: 767.98px) {
    .topbar-left, .topbar-right { justify-content: center !important; }
}

/* ============================================= */
/* TESTIMONIALS                                 */
/* ============================================= */

.testimonials-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.testimonials-section .section-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    position: relative;
}

.testimonials-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.testimonials-section .section-header .section-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonials-section {
    padding: 50px 0;
}

.testimonial-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: 14px;
    border: 1.5px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.testimonial-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.testimonial-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.testimonial-role {
    font-size: 0.78rem;
    color: #9ca3af;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-track.no-transition {
    transition: none !important;
}

.testimonial-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 8px;
}

@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 33.333333%;
    }
}

@media (max-width: 767px) {
    .testimonials-section { padding: 30px 0; }
    .testimonial-card { padding: 24px 18px; }
    .testimonial-text { font-size: 0.82rem; }
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

#testimonialCarousel .carousel-control-prev { left: 10px; }
#testimonialCarousel .carousel-control-next { right: 10px; }

#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover { opacity: 1; }

#testimonialCarousel .carousel-indicators {
    position: static;
    margin-top: 20px;
    justify-content: center;
}

#testimonialCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    margin: 0 4px;
}

#testimonialCarousel .carousel-indicators button.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* ============================================= */
/* NEWSLETTER                                   */
/* ============================================= */

.newsletter-section {
    padding: 80px 0 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.newsletter-wrap {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 129, 120, 0.2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 18px;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.newsletter-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    justify-content: center;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 5px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group .bi-envelope {
    color: #9ca3af;
    font-size: 1.1rem;
    padding-left: 18px;
    flex-shrink: 0;
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 12px;
    font-size: 0.88rem;
    color: #1a1a2e;
    background: transparent;
    min-width: 0;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-btn {
    padding: 12px 28px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-btn:hover {
    box-shadow: 0 4px 14px var(--primary-shadow);
    transform: translateY(-1px);
}

@media (max-width: 575px) {
    .newsletter-section { padding: 40px 0 30px; }
    .newsletter-title { font-size: 1.2rem; }
    .newsletter-text { font-size: 0.82rem; }
    .newsletter-input-group { flex-wrap: wrap; border-radius: 12px; padding: 5px 5px 10px; }
    .newsletter-input-group .bi-envelope { display: none; }
    .newsletter-input { padding: 10px 14px; text-align: center; }
    .newsletter-btn { width: calc(100% - 10px); margin: 0 5px; border-radius: 8px; }
}

/* ============================================= */
/* FOOTER                                       */
/* ============================================= */
.site-footer {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    padding: 48px 0 0;
    font-size: 0.82rem;
}

.footer-logo img {
    max-height: 34px;
    width: auto;
    margin-bottom: 12px;
}

.footer-about-text {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: 0.8rem;
}

.footer-heading {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    margin-top: 6px;
    color: var(--topbar-text);
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--topbar-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--topbar-text);
    color: var(--topbar-bg);
    transform: translateY(-3px);
}

.footer-apps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-app-link {
    display: inline-flex;
    transition: all 0.25s;
}

.footer-app-link img {
    height: 38px;
    width: auto;
    display: block;
}

.footer-app-link:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 7px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--topbar-text);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.85;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-contact li i {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--topbar-text);
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover { text-decoration: underline; }

.footer-payments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-partners-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.footer-bottom {
    margin-top: 36px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

/* ============================================= */
/* SCROLLBAR                                     */
/* ============================================= */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }

html { scrollbar-width: thin; scrollbar-color: #c1c1c1 #f1f1f1; }

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.75rem;
}

@media (max-width: 767.98px) {
    .site-footer { padding: 32px 0 0; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-apps { justify-content: center; }
    .footer-payments { justify-content: center; }
    .footer-contact li { justify-content: center; }
}

/* ============================================= */
/* FLOATING CART WIDGET                          */
/* ============================================= */

.floating-cart-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--text-primary);
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 62px;
    border: 1px solid var(--border);
    border-right: none;
    overflow: hidden;
}

.floating-cart-widget:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transform: translateY(-50%) translateX(-2px);
}

.floating-cart-widget:active {
    transform: translateY(-50%) scale(0.96);
}

.floating-cart-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px 6px;
    gap: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.floating-cart-top i {
    font-size: 1.15rem;
    color: #fff;
}

.floating-cart-count {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.floating-cart-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px 8px;
    background: #fff;
}

.floating-cart-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.01em;
}

.price-taka {
    font-size: 1.05rem;
    font-weight: 800;
    margin-right: 1px;
}

@media (max-width: 575.98px) {
    .floating-cart-widget {
        min-width: 52px;
        border-radius: 8px;
        right: 6px;
    }
    .floating-cart-top { padding: 8px 10px 5px; gap: 2px; }
    .floating-cart-top i { font-size: 1rem; }
    .floating-cart-count { font-size: 0.5rem; }
    .floating-cart-bottom { padding: 5px 10px 6px; }
    .floating-cart-price { font-size: 0.75rem; }
    .price-taka { font-size: 0.9rem; }
}

/* ============================================= */
/* BACK TO TOP                                   */
/* ============================================= */

.floating-widgets {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.back-to-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px var(--primary-shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.92);
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px var(--primary-shadow);
}

.back-to-top:active {
    transform: translateY(0) scale(0.98);
}

.floating-chat {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: wa-pulse 2s infinite;
}

.floating-chat::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #25D366;
    animation: wa-ring 2s infinite;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4); }
}

@keyframes wa-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.floating-chat:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
    color: #fff;
    animation: none;
}

.floating-chat:hover::before {
    display: none;
}

@media (max-width: 575.98px) {
    .floating-widgets { bottom: 18px; right: 18px; gap: 8px; }
    .back-to-top { width: 40px; height: 40px; font-size: 1rem; }
    .floating-chat { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ============================================= */
/* PRODUCT CARD                                  */
/* ============================================= */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* ── Image ── */
.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-light);
}

.product-card-image a { display: block; width: 100%; height: 100%; }

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.12) rotate(6deg);
}

/* ── Badge ── */
.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    z-index: 2;
    line-height: 1.4;
}

/* ── Action Icons (hover) ── */
.product-card-btn-row {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.product-card-wishlist {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Body ── */
.product-card-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    min-height: 2.46em;
}

.product-card:hover .product-card-title {
    color: var(--primary);
}

.product-card-title a { color: inherit; text-decoration: none; }

/* ── Rating ── */
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
}

.product-card-rating .stars {
    color: #f5a623;
    letter-spacing: 1px;
}

.product-card-rating .count {
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Price ── */
.product-card-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card-price .current {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}

.product-card-price .original {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ── Add to Cart Button ── */
.product-card-btn {
    padding: 9px 0;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.02em;
    width: 100%;
    box-shadow: 0 4px 12px var(--primary-shadow);
}

.product-card-btn:hover {
    box-shadow: 0 6px 18px var(--primary-shadow);
    transform: translateY(-2px);
}

/* ── Section ── */
.products-section {
    padding: 30px 0;
}

.products-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.products-section .section-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    position: relative;
}

.products-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.products-section .section-header .section-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .product-card-body { padding: 10px 10px 12px; gap: 5px; }
    .product-card-title { font-size: 0.75rem; min-height: 2.25em; }
    .product-card-price .current { font-size: 0.85rem; }
    .product-card-price .original { font-size: 0.65rem; }
    .product-card-btn { font-size: 0.65rem; padding: 5px 0; box-shadow: none; }
    .product-card-wishlist { width: 28px; height: 28px; font-size: 0.65rem; }
    .product-card-btn-row { gap: 4px; }
    .products-section { padding: 20px 0; }
    .products-section .section-header,
    .testimonials-section .section-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .products-section .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .products-section .section-header h2 { font-size: 1.05rem; }
    .cart-footer .btn { padding: 8px; font-size: 0.7rem; }
    .offcanvas-body .btn-primary { padding: 8px; font-size: 0.72rem; }
    .offcanvas-body .form-control { padding: 6px 12px; font-size: 0.75rem; }
    .offcanvas-body .form-label { font-size: 0.75rem; margin-bottom: 3px; }
}

/* ============================================= */
/* PRODUCT DETAILS PAGE                          */
/* ============================================= */
.pd-breadcrumb { padding: 24px 0 0; }

.pd-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pd-breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.pd-breadcrumb-nav a:hover { color: var(--primary); }
.pd-breadcrumb-sep { color: #c3c9d4; }
.pd-breadcrumb-current { color: var(--primary); font-weight: 600; }

.product-details-section { padding: 24px 0 40px; }

/* ── Gallery ── */
.product-gallery {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.product-gallery-thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    order: 2;
    flex: none;
    width: 100%;
}

.product-gallery-main {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #f7f8fa;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    flex: 1;
    width: auto;
    max-width: 585px;
    cursor: crosshair;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.35);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gallery-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.pd-zoom-lens {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: #fff no-repeat;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%);
}

.pd-zoom-lens.visible { opacity: 1; visibility: visible; }

.gallery-thumb {
    width: 109px;
    height: 109px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    background: #f7f8fa;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
    flex: none;
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb:hover { border-color: var(--primary); opacity: 0.85; }

@media (min-width: 992px) {
    .product-gallery-thumbs {
        flex-direction: column;
        flex-wrap: nowrap;
        width: 109px;
        max-height: 710px;
        overflow-y: auto;
        scrollbar-width: thin;
        margin-top: 0;
        order: 1;
    }

    .product-gallery-main { order: 2; }
}

/* ── Info Card ── */
.product-info-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background: #fff;
}

.pd-info-sale-badge {
    display: inline-block;
    margin-bottom: 10px;
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px 4px 14px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.pd-info-new {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.pd-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }

.pd-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.pd-wishlist-btn {
    width: 38px;
    height: 38px;
    flex: none;
    border: 1px solid var(--border);
    background: #f7f8fa;
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.pd-wishlist-btn:hover { color: var(--danger); border-color: var(--danger); }
.pd-wishlist-btn.active { color: var(--danger); border-color: var(--danger); background: #fff; }

.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pd-rating .stars { color: #f5a623; letter-spacing: 1px; font-size: 0.85rem; }
.pd-rating .count { color: var(--text-muted); font-size: 0.78rem; }

.pd-price { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pd-price .pd-current { font-size: 1.28rem; font-weight: 800; color: var(--primary); }
.pd-price .pd-old { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }

.pd-price .pd-off {
    font-size: 0.72rem;
    font-weight: 800;
    color: #1a1a2e;
    background: #ffc107;
    padding: 3px 10px 3px 12px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.pd-variation-block {
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    padding: 14px 0;
    margin-bottom: 14px;
}

.pd-variation { margin-bottom: 14px; }
.pd-variation:last-child { margin-bottom: 0; }

.pd-variation-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pd-variation-title span { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.pd-variation-title strong { font-weight: 700; color: var(--primary); }
.pd-size-guide { font-size: 0.78rem; color: var(--primary); text-decoration: none; }
.pd-size-guide:hover { text-decoration: underline; }

.pd-color-swatches { display: flex; gap: 8px; }

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--swatch);
    transition: all 0.3s;
}

.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 2px #fff;
}

.pd-size-pills { display: flex; gap: 8px; flex-wrap: wrap; }

.size-pill {
    min-width: 40px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.size-pill:hover { border-color: var(--primary); color: var(--primary); }
.size-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.pd-qty-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }

.pd-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    background: #fff;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.qty-btn:hover { color: var(--primary); background: var(--primary-light); }
.qty-input {
    width: 38px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: transparent;
    outline: none;
}

.pd-buy-now-btn,
.pd-add-cart-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 16px;
    border-radius: 100px;
    border: none;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.pd-buy-now-btn { background: #ffc107; color: #1a1a2e; box-shadow: 0 4px 12px rgba(255, 193, 7, 0.35); }
.pd-buy-now-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 193, 7, 0.45); }

.pd-add-cart-btn { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; box-shadow: 0 4px 12px var(--primary-shadow); }
.pd-add-cart-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px var(--primary-shadow); }

.pd-share-compare { display: flex; align-items: center; gap: 20px; margin-bottom: 12px; }

.pd-share-compare a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.pd-share-compare a + a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: var(--border);
}

.pd-share-compare a:hover { color: var(--primary-dark); }

.pd-meta { display: flex; flex-direction: column; gap: 6px; }
.pd-meta-row { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; }
.pd-meta-label { font-weight: 700; color: var(--text-primary); min-width: 130px; }
.pd-meta-value { color: var(--text-secondary); }

/* ── Tabs ── */
.product-tabs-section { padding: 0 0 40px; }

.product-tabs {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.pd-tab-nav {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 16px;
    margin: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}

.pd-tab-nav button {
    border: none;
    background: #f1f3f6;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: 100px;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: all 0.3s;
}

.pd-tab-nav button:hover { color: var(--primary); background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }

.pd-tab-nav button.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 14px var(--primary-shadow);
}

.pd-tab-panel { display: none; padding: 24px; animation: pdFadeIn 0.4s ease; }
.pd-tab-panel.active { display: block; }

@keyframes pdFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.pd-tab-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.pd-tab-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 14px; }
.pd-tab-content h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }

.pd-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-feature-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pd-feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-spec-table { width: 100%; border-collapse: collapse; }

.pd-spec-table th {
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    width: 220px;
    padding: 10px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
}

.pd-spec-table td {
    padding: 10px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pd-spec-table tbody tr:last-child th,
.pd-spec-table tbody tr:last-child td { border-bottom: none; }

/* ── Reviews ── */
.pd-review-overview { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
.pd-rating-summary { text-align: center; padding: 10px 0; }
.pd-rating-summary h2 { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin: 0 0 4px; }
.pd-rating-summary .stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }
.pd-rating-summary p { color: var(--text-muted); font-size: 0.8rem; margin: 6px 0 0; }

.pd-rating-bars { display: flex; flex-direction: column; gap: 12px; padding: 14px 0; }

.pd-rating-bar-row { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; }
.pd-rating-bar-row > span:first-child { font-weight: 600; color: var(--text-primary); width: 56px; flex: none; }
.pd-rating-bar-row > span:last-child { color: var(--text-muted); width: 36px; text-align: right; flex: none; }

.pd-rating-bars .progress { height: 6px; flex: 1; background: #eef0f4; border-radius: 100px; }
.pd-rating-bars .progress-bar { background: var(--primary); border-radius: 100px; }

.pd-rating-write { display: flex; align-items: center; justify-content: center; padding: 14px 0; height: 100%; }

.pd-write-review-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 100px;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pd-write-review-btn:hover { background: var(--primary); color: #fff; }

.pd-comment-form-wrap { border-top: 1px solid var(--border); padding-top: 20px; }

.pd-comment-respond {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background: #fbfcfd;
}

.pd-comment-respond h5 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.pd-comment-stars { font-size: 1.3rem; color: #d1d5db; cursor: pointer; margin-bottom: 14px; letter-spacing: 2px; }
.pd-comment-stars span { transition: color 0.2s; }
.pd-comment-stars span.active { color: #f5a623; }

.pd-comment-form .form-control {
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-color: var(--border);
}

.pd-comment-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem var(--primary-light); }

.pd-comment-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-comment-actions .btn { border-radius: 100px; font-size: 0.8rem; font-weight: 600; padding: 8px 20px; }

.pd-comment-list { padding-top: 24px; }

.pd-comment-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.pd-comment-list-header h5 { font-size: 1rem; font-weight: 700; margin: 0; }

.pd-comment-list-header .form-select {
    width: auto;
    border-radius: 100px;
    font-size: 0.8rem;
    border-color: var(--border);
    padding: 6px 32px 6px 14px;
}

.pd-comment-list-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }

.pd-comment { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }

.pd-comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pd-comment-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.pd-comment-author { font-size: 0.92rem; font-weight: 700; margin: 0; color: var(--text-primary); }
.pd-comment-date { font-size: 0.75rem; color: var(--text-muted); }

.pd-comment-stars-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.8rem; }
.pd-comment-stars-row .stars { color: #f5a623; letter-spacing: 1px; }
.pd-comment-stars-row .score { font-weight: 700; color: var(--text-primary); }

.pd-comment-stars-row .verified {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pd-comment-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }

.pd-comment-footer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.8rem; }
.pd-comment-footer .helpful-label { color: var(--text-muted); }

.pd-comment-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: color 0.3s;
}

.pd-comment-footer a:hover { color: var(--primary); }

.pd-pagination { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 22px 0 0; padding: 0; }

.pd-pagination li a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.pd-pagination li a:hover,
.pd-pagination li.active a { background: var(--primary); border-color: var(--primary); color: #fff; }
.pd-pagination li.disabled a { opacity: 0.4; pointer-events: none; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .product-gallery { flex-direction: column; }
    .product-gallery-main { width: 100%; max-width: none; }
    .product-info-card { margin-top: 4px; }
}

@media (max-width: 575.98px) {
    .product-details-section { padding: 16px 0 30px; }
    .product-info-card { padding: 18px; }
    .pd-title { font-size: 0.95rem; }
    .pd-price .pd-current { font-size: 1.2rem; }
    .pd-buy-now-btn,
    .pd-add-cart-btn { min-width: 120px; padding: 10px 14px; font-size: 0.78rem; }
    .pd-tab-panel { padding: 18px; }
    .pd-spec-table th { width: 120px; }
    .gallery-thumb { width: 64px; height: 64px; }
}

/* ── CART PAGE ── */
.cart-section { padding: 30px 0 40px; }

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cart-head-left { display: flex; align-items: baseline; gap: 10px; }
.cart-head h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    padding-bottom: 8px;
}
.cart-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.cart-count { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

.cart-remove-all {
    border: none;
    background: transparent;
    color: var(--danger);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-remove-all:hover { text-decoration: underline; }

.cart-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    overflow-x: auto;
}

.cart-table { width: 100%; border-collapse: collapse; min-width: 640px; }

.cart-table th {
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    background: #f9fafb;
    white-space: nowrap;
}

.cart-table th:nth-child(n+2),
.cart-table td:nth-child(n+2) { text-align: right; }

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table tr:last-child td { border-bottom: none; }

.cart-product { display: flex; align-items: center; gap: 14px; }

.cart-product-img {
    width: 90px;
    height: 90px;
    flex: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
}

.cart-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cart-product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px;
    line-height: 1.4;
}

.cart-product-title a { color: inherit; text-decoration: none; }
.cart-product-title a:hover { color: var(--primary); }

.cart-product-meta { font-size: 0.75rem; color: var(--text-muted); margin: 0 0 3px; }
.cart-product-stock { font-size: 0.72rem; color: var(--primary); font-weight: 600; margin: 0; }

.cart-price { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.cart-price .old { color: var(--text-muted); font-weight: 400; text-decoration: line-through; font-size: 0.75rem; margin-left: 4px; }

.cart-row .pd-quantity { display: inline-flex; }

.cart-line-total { font-size: 0.95rem; font-weight: 800; color: var(--primary); white-space: nowrap; }

.cart-remove-btn {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 50%;
    background: var(--danger-bg);
    color: var(--danger);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}

.cart-remove-btn:hover { background: var(--danger); border-color: var(--danger); color: #fff; transform: scale(1.08); box-shadow: 0 4px 10px var(--danger-shadow); }

.wishlist-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.wishlist-add-cart-btn {
    border: none;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 7px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    box-shadow: 0 3px 8px var(--primary-shadow);
    white-space: nowrap;
}

.wishlist-add-cart-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 5px 14px var(--primary-shadow); }

.cart-empty { display: none; text-align: center; padding: 40px 16px; }
.cart-empty i { font-size: 2.5rem; color: var(--border); }
.cart-empty p { font-size: 0.9rem; color: var(--text-muted); margin: 10px 0 18px; }

.cart-empty-btn { width: auto; display: inline-flex; margin-top: 0; }

.cart-summary-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    position: sticky;
    top: 20px;
}

.cart-summary-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 8px 0;
}

.cart-summary-row span:last-child { font-weight: 600; color: var(--text-primary); }

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--border);
    margin-top: 8px;
    padding-top: 14px;
    margin-bottom: 16px;
}

.cart-summary-total > span:first-child { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.cart-total-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }

.cart-checkout-btn {
    width: 100%;
    border: none;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px var(--primary-shadow);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.cart-checkout-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
    transform: rotate(25deg) translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.cart-checkout-btn:hover:not(:disabled)::after {
    transform: rotate(25deg) translateX(100%);
}

.cart-checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--primary-shadow);
}

.cart-checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

.cart-continue-btn {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: #fff;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 11px 18px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.cart-continue-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================= */
/* CHECKOUT                                      */
/* ============================================= */
.checkout-section { padding: 30px 0 40px; }

.checkout-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 14px;
}

.shipping-card { display: none; }

.checkout-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-primary);
}

.checkout-card-title i { color: var(--primary); font-size: 1.1rem; }

.checkout-card label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    display: block;
}

.checkout-card .req { color: var(--danger); }

.checkout-card .form-control,
.checkout-card .form-select {
    font-size: 0.85rem;
    border-color: var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    color: var(--text-primary);
}

.checkout-card .form-control:focus,
.checkout-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-light);
}

.ship-different-check {
    margin: 2px 0 14px;
    padding: 0 4px;
}

.ship-different-check .form-check-input { cursor: pointer; border-color: var(--border); }
.ship-different-check .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.ship-different-check .form-check-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    padding-left: 4px;
}

/* Payment method options */
.payment-options { display: flex; flex-direction: column; gap: 10px; }

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.25s;
    background: #fff;
}

.payment-option:hover { border-color: var(--primary); }

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 1px var(--primary);
}

.payment-option-body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.payment-option-body > i { font-size: 1.35rem; color: var(--primary); flex: none; }
.payment-option-body strong { display: block; font-size: 0.88rem; color: var(--text-primary); }
.payment-option-body small { color: var(--text-muted); font-size: 0.75rem; }

/* Right sidebar */
.checkout-side { position: sticky; top: 20px; }

.checkout-summary-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 14px;
}

.checkout-cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-light);
}

.checkout-cart-items::-webkit-scrollbar { width: 2px; }
.checkout-cart-items::-webkit-scrollbar-track { background: var(--bg-light); border-radius: 10px; }
.checkout-cart-items::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }
.checkout-cart-items::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.checkout-cart-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

.checkout-cart-items li:last-child { border-bottom: none; padding-bottom: 0; }

.checkout-cart-img {
    width: 42px;
    height: 42px;
    flex: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
}

.checkout-cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.checkout-cart-info { flex: 1; min-width: 0; }
.checkout-cart-info h6 {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.checkout-cart-info h6 a { color: inherit; text-decoration: none; }
.checkout-cart-info h6 a:hover { color: var(--primary); }
.checkout-cart-info span { font-size: 0.75rem; color: var(--text-muted); }
.checkout-cart-info em { font-style: normal; color: var(--text-secondary); }
.checkout-cart-variant {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-cart-total { font-size: 0.8rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; }

.checkout-discount { color: var(--success); }

/* Coupon */
.coupon-box {
    position: relative;
    display: flex;
    align-items: center;
}

.coupon-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    padding: 8px 100px 8px 16px;
    background: #fff;
    transition: all 0.3s;
}

.coupon-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-light);
    outline: none;
}

.coupon-apply-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 8px var(--primary-shadow);
    transition: all 0.3s;
}

.coupon-apply-btn:hover {
    transform: translateY(-50%) scale(1.03);
    box-shadow: 0 5px 14px var(--primary-shadow);
}

@media (max-width: 991.98px) {
    .checkout-side { position: static; }
}

@media (max-width: 575.98px) {
    .checkout-section { padding: 20px 0 30px; }
    .checkout-card { padding: 16px; }
    .coupon-input { padding: 8px 84px 8px 14px; font-size: 0.8rem; }
    .coupon-apply-btn { padding: 5px 12px; font-size: 0.78rem; }
}

@media (max-width: 991.98px) {
    .cart-summary-card { position: static; margin-top: 8px; }
    .cart-product-img { width: 80px; height: 80px; }
}

@media (max-width: 575.98px) {
    .cart-section { padding: 20px 0 30px; }
    .cart-head { margin-bottom: 14px; }
    .cart-head h2 { font-size: 1.1rem; }
    .cart-table { min-width: 560px; }
    .cart-table th { padding: 10px 12px; font-size: 0.68rem; }
    .cart-table td { padding: 10px 12px; }
    .cart-product { gap: 10px; }
    .cart-product-img { width: 56px; height: 56px; }
    .cart-product-title { font-size: 0.76rem; }
    .cart-product-meta { display: none; }
    .cart-product-stock { font-size: 0.68rem; }
    .cart-price { font-size: 0.78rem; }
    .cart-price .old { display: none; }
    .cart-line-total { font-size: 0.84rem; }
    .cart-remove-btn { width: 26px; height: 26px; font-size: 0.72rem; }
    .wishlist-add-cart-btn { font-size: 0.68rem; padding: 5px 10px; }
    .wishlist-actions { gap: 7px; }
    .cart-row .pd-quantity { padding: 2px; }
    .cart-row .pd-quantity .qty-btn { width: 22px; height: 22px; font-size: 0.78rem; }
    .cart-row .pd-quantity .qty-input { width: 26px; font-size: 0.8rem; }
    .cart-summary-card { padding: 16px; }
}

/* ── SHOP PAGE ── */
.shop-section { padding: 30px 0 40px; }

/* ---- Filter card ---- */
.shop-filter-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.shop-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    background: #f9fafb;
}

.shop-filter-header h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.shop-filter-header h3 i { color: var(--primary); }

.shop-filter-reset-all {
    border: none;
    background: var(--danger-bg);
    color: var(--danger);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-filter-reset-all:hover { background: var(--danger); color: #fff; }

.shop-filter-reset-wrap { padding: 14px 18px; border-top: 1px solid var(--border); }
.shop-filter-reset-wrap .shop-filter-reset-all { width: 100%; padding: 9px 14px; font-size: 0.8rem; }

.shop-filter-body { padding: 6px 0; }

.shop-filter-group { padding: 13px 16px; border-bottom: 1px dashed var(--border); }
.shop-filter-group:last-child { border-bottom: none; }

.shop-filter-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.shop-filter-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-filter-title i { color: var(--primary); font-size: 0.78rem; }

.shop-filter-reset {
    width: 27px;
    height: 27px;
    border: 1px solid var(--danger);
    background: #fff;
    color: var(--danger);
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: all 0.3s;
    flex: none;
}

.shop-filter-reset:hover { background: var(--danger); color: #fff; }

/* ---- Search ---- */
.shop-search { position: relative; }

.shop-search > i {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.8rem;
    pointer-events: none;
}

.shop-search input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 12px 8px 32px;
    font-size: 0.8rem;
    outline: none;
    background: #fff;
    transition: all 0.3s;
}

.shop-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem var(--primary-light); }

/* ---- Category tree ---- */
.shop-cat-list { list-style: none; margin: 0; padding: 0; }
.shop-cat-list li { margin-bottom: 2px; }

.shop-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.shop-cat-item > label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    flex: 1;
}

.shop-cat-item > label:hover { color: var(--primary); }

.shop-cat-count { font-size: 0.68rem; color: var(--text-muted); }

.shop-cat-toggle {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    transition: all 0.3s;
    flex: none;
}

.shop-cat-toggle:hover { color: var(--primary); border-color: var(--primary); }
.shop-cat-toggle.open { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }

.shop-subcat-list {
    list-style: none;
    margin: 4px 0 2px;
    padding-left: 26px;
    display: none;
}

.shop-subcat-list.open { display: block; }
.shop-subcat-list label { font-size: 0.78rem; color: var(--text-muted); }

/* ---- Checkbox list (brand/size) ---- */
.shop-check-list { display: flex; flex-direction: column; gap: 7px; }
.shop-check-list .form-check { margin: 0; padding-left: 24px; min-height: auto; }
.shop-check-list .form-check-input { cursor: pointer; margin-top: 0.18em; }
.shop-check-list .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.shop-check-list .form-check-label { font-size: 0.82rem; color: var(--text-secondary); cursor: pointer; }

/* Size = horizontal pills */
.shop-size-group .shop-check-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.shop-size-group .form-check { position: relative; padding: 0; }
.shop-size-group .form-check-input { position: absolute; opacity: 0; pointer-events: none; margin: 0; }
.shop-size-group .form-check-label {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}
.shop-size-group .form-check-input:checked + .form-check-label {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

/* ---- Price range ---- */
.shop-range-slider { position: relative; height: 18px; margin-bottom: 14px; }

.shop-range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-light);
    border-radius: 100px;
}

.shop-range-track-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 100px;
}

.shop-range-slider input[type="range"] {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 18px;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.shop-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    cursor: grab;
    pointer-events: auto;
}

.shop-range-slider input[type="range"]::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    cursor: grab;
    pointer-events: auto;
}

.shop-price-inputs { display: flex; align-items: center; gap: 8px; }

.shop-price-input {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
}

.shop-price-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 0.2rem var(--primary-light); }

.shop-price-input span { padding-left: 10px; color: var(--text-muted); font-size: 0.78rem; }
.shop-price-input input {
    width: 100%;
    border: none;
    outline: none;
    padding: 7px 8px 7px 4px;
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
    background: transparent;
}

.shop-price-sep { color: var(--text-muted); font-size: 0.8rem; }

/* ---- Color radio ---- */
.shop-color-list { display: flex; flex-wrap: wrap; gap: 10px 14px; }

.shop-color-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin: 0;
}

.shop-color-opt input { display: none; }

.shop-color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--swatch, #000);
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex: none;
}

.shop-color-opt input:checked + .shop-color-swatch { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary); }
.shop-color-opt input:checked ~ span { color: var(--primary); font-weight: 600; }

/* ---- Toolbar ---- */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    margin-bottom: 16px;
}

.shop-showing { margin: 0; font-size: 0.82rem; color: var(--text-muted); }
.shop-showing span { font-weight: 700; color: var(--text-primary); }

.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort label { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }

.shop-sort .form-select {
    width: auto;
    min-width: 170px;
    font-size: 0.8rem;
    border-color: var(--border);
    border-radius: 100px;
    padding: 6px 30px 6px 14px;
    color: var(--text-primary);
    cursor: pointer;
    background-position: right 12px center;
}

.shop-sort .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem var(--primary-light); }

.shop-toolbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.shop-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 7px 18px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-filter-toggle:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 18px var(--primary-shadow);
}

/* ---- Filter off-canvas (mobile) ---- */
.shop-filter-offcanvas { width: 320px; max-width: 90vw; }
.shop-filter-offcanvas .offcanvas-header {
    background: #fff;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
}
.shop-filter-offcanvas .offcanvas-title { font-size: 1.05rem; font-weight: 800; }
.shop-filter-offcanvas .offcanvas-title i { color: var(--primary); }
.shop-filter-offcanvas .offcanvas-body { padding: 0; }
.shop-filter-offcanvas .shop-filter-card {
    border: 0;
    border-radius: 0;
    position: static !important;
    box-shadow: none;
}
.shop-filter-offcanvas .shop-filter-body { padding: 16px 18px; }

/* ---- Products grid / load more ---- */
.shop-products-row .shop-product-col.shop-hidden { display: none; }

@media (min-width: 992px) {
    .shop-products-row > .shop-product-col { flex: 0 0 20%; max-width: 20%; }
}

.shop-loadmore-wrap { text-align: center; margin-top: 24px; }

.shop-loadmore-btn {
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 28px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.shop-loadmore-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 18px var(--primary-shadow);
}

@media (max-width: 991.98px) {
    .shop-filter-card { position: static; margin-bottom: 16px; }
    .shop-toolbar { padding: 10px 12px; }
}

@media (max-width: 575.98px) {
    .shop-section { padding: 20px 0 30px; }
    .shop-toolbar { align-items: stretch; }
    .shop-toolbar-actions { width: 100%; justify-content: space-between; }
    .shop-sort { width: auto; flex: 1; min-width: 0; justify-content: space-between; }
    .shop-sort .form-select { flex: 1; min-width: 0; }
    .shop-filter-toggle { padding: 7px 14px; }
}

