/* ============================================================
   Nijananda Store — Custom CSS
   Theme: Yellow (#FFC107), White (#FFFFFF), Dark (#1a1a2e)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary:        #FFC107;
    --primary-dark:   #FFB300;
    --primary-darker: #FF8F00;
    --primary-light:  #FFF8E1;
    --primary-50:     rgba(255, 193, 7, 0.08);
    --primary-15:     rgba(255, 193, 7, 0.15);

    --dark:           #1a1a2e;
    --dark-2:         #16213e;
    --dark-3:         #0f3460;
    --dark-text:      #212121;

    --sidebar-width:  260px;
    --navbar-height:  60px;

    --bg:             #f4f6fc;
    --card-bg:        #ffffff;
    --border:         #e4e8f0;
    --text-muted:     #6c757d;

    --success:   #28a745;
    --info:      #17a2b8;
    --warning:   #ffc107;
    --danger:    #dc3545;

    --radius:    0.5rem;
    --shadow-sm: 0 2px 6px rgba(0,0,0,.06);
    --shadow:    0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

    --transition: 0.22s ease;
}

/* ---------- Dark Mode Variables ---------- */
[data-theme="dark"] {
    --bg:       #121212;
    --card-bg:  #1e1e2e;
    --border:   #2a2a3e;
    --dark-text:#e0e0e0;
    --text-muted:#9e9e9e;
    --shadow-sm:0 2px 6px rgba(0,0,0,.3);
    --shadow:   0 4px 16px rgba(0,0,0,.4);
    --shadow-lg:0 8px 32px rgba(0,0,0,.5);
}

[data-theme="dark"] body {
    background-color: var(--bg);
    color: var(--dark-text);
}

[data-theme="dark"] .card,
[data-theme="dark"] .admin-sidebar,
[data-theme="dark"] .table,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu {
    background-color: var(--card-bg) !important;
    border-color: var(--border) !important;
    color: var(--dark-text) !important;
}

[data-theme="dark"] .table > :not(caption) > * > * {
    background-color: var(--card-bg);
    color: var(--dark-text);
    border-color: var(--border);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: #2a2a3e;
    border-color: var(--border);
    color: var(--dark-text);
}

[data-theme="dark"] .admin-topbar {
    background-color: var(--dark) !important;
}

[data-theme="dark"] .sidebar-brand {
    border-bottom-color: #2a2a3e !important;
}

[data-theme="dark"] .nav-section-label {
    color: #555 !important;
}

[data-theme="dark"] .dropdown-item {
    color: var(--dark-text) !important;
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: var(--primary-50) !important;
    color: var(--primary) !important;
}

[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--dark-text);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: background-color var(--transition), color var(--transition);
}

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */

/* --- Topbar --- */
.admin-topbar {
    height: var(--navbar-height);
    background: var(--dark) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    position: sticky;
    top: 0;
    z-index: 1040;
}

.admin-topbar .navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--primary) !important;
}

.admin-topbar .navbar-brand span {
    color: #ffffff;
}

.topbar-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: none;
    color: #ddd;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    position: relative;
}

.topbar-icon-btn:hover {
    background: var(--primary-15);
    color: var(--primary);
}

.topbar-icon-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.6rem;
    padding: 2px 5px;
}

.topbar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* --- Wrapper --- */
.admin-wrapper {
    display: flex;
    min-height: calc(100vh - var(--navbar-height));
}

/* --- Sidebar --- */
.admin-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: var(--dark);
    height: calc(100vh - var(--navbar-height));
    position: sticky;
    top: var(--navbar-height);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
    transition: width var(--transition), min-width var(--transition);
    flex-shrink: 0;
    z-index: 100;
}

.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 99px; }

.sidebar-brand {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary) !important;
    letter-spacing: .5px;
}

.nav-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.35);
    padding: 1.1rem 1.25rem 0.35rem;
    display: block;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,.72);
    padding: 0.52rem 1.25rem;
    border-radius: var(--radius);
    margin: 1px 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: background var(--transition), color var(--transition);
    position: relative;
}

.admin-sidebar .nav-link i,
.admin-sidebar .nav-link .bi {
    font-size: 1rem;
    width: 1.15rem;
    text-align: center;
    flex-shrink: 0;
    opacity: .8;
}

.admin-sidebar .nav-link:hover {
    background: var(--primary-15);
    color: var(--primary);
}

.admin-sidebar .nav-link:hover .bi {
    opacity: 1;
}

.admin-sidebar .nav-link.active {
    background: var(--primary) !important;
    color: #000 !important;
    font-weight: 600;
}

.admin-sidebar .nav-link.active .bi {
    opacity: 1;
}

/* Sub-menu (collapse) */
.admin-sidebar .sub-nav {
    padding-left: 2.25rem;
    border-left: 2px solid rgba(255,193,7,.3);
    margin: 0.15rem 0.5rem 0.15rem 2rem;
}

.admin-sidebar .sub-nav .nav-link {
    padding: 0.38rem 0.75rem;
    margin: 0;
    font-size: 0.835rem;
    border-radius: calc(var(--radius) - 2px);
    color: rgba(255,255,255,.6);
}

.admin-sidebar .sub-nav .nav-link:hover {
    background: var(--primary-15);
    color: var(--primary);
}

.admin-sidebar .sub-nav .nav-link.active {
    background: var(--primary-15) !important;
    color: var(--primary) !important;
    font-weight: 600;
}

/* Collapse toggle arrow */
.sidebar-toggle-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform var(--transition);
}

[aria-expanded="true"] .sidebar-toggle-arrow {
    transform: rotate(180deg);
}

/* --- Main Content --- */
.admin-main {
    flex: 1;
    min-width: 0;
    padding: 1.5rem;
    background: var(--bg);
    transition: background-color var(--transition);
}

/* --- Admin Footer --- */
.admin-footer {
    background: var(--dark);
    color: rgba(255,255,255,.5);
    font-size: 0.8rem;
    padding: 0.9rem 1.5rem;
    text-align: center;
}

/* --- Page Header --- */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header .page-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.page-header .breadcrumb {
    margin: 0;
    font-size: 0.8rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition), background-color var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    padding: 0.9rem 1.25rem;
}

/* --- Stat Cards --- */
.stat-card {
    border: none;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-card .stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.stat-card .stat-change {
    font-size: 0.78rem;
    font-weight: 600;
}

.stat-bg-yellow {
    background: linear-gradient(135deg, #FFC107, #FFB300);
    color: #000;
}

.stat-bg-dark {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
}

.stat-bg-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
}

.stat-bg-info {
    background: linear-gradient(135deg, #17a2b8, #0dcaf0);
    color: #fff;
}

.stat-bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
}

.stat-bg-purple {
    background: linear-gradient(135deg, #6f42c1, #9b59b6);
    color: #fff;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary-dark);
    color: #000 !important;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-darker);
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(255,193,7,.35);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary-dark);
    color: #000 !important;
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: var(--dark-2);
    border-color: var(--dark-2);
}

/* ============================================================
   PRODUCT CARDS (Frontend)
   ============================================================ */
.product-card {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--card-bg);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
}

.product-card .product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

.product-card .product-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.25s, transform 0.25s;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card .product-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.product-card .product-action-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.badge-offer {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--primary);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .3px;
}

.badge-new {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--dark);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.product-card .product-body {
    padding: 0.85rem;
}

.product-card .product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text);
}

.product-card .product-price .old-price {
    font-size: 0.8rem;
    font-weight: 400;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 5px;
}

.product-card .product-rating .bi-star-fill {
    color: var(--primary);
    font-size: 0.75rem;
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.badge-status {
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 99px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.badge-pending    { background: #fff3cd; color: #856404; }
.badge-confirmed  { background: #cfe2ff; color: #084298; }
.badge-packed     { background: #d1ecf1; color: #0c5460; }
.badge-shipped    { background: #e2d9f3; color: #432874; }
.badge-delivered  { background: #d1e7dd; color: #0a3622; }
.badge-cancelled  { background: #f8d7da; color: #842029; }
.badge-returned   { background: #f5c6cb; color: #721c24; }
.badge-processing { background: #cff4fc; color: #055160; }
.badge-paid       { background: #d1e7dd; color: #0a3622; }
.badge-unpaid     { background: #f8d7da; color: #842029; }
.badge-partial    { background: #fff3cd; color: #856404; }
.badge-active     { background: #d1e7dd; color: #0a3622; }
.badge-inactive   { background: #e2e3e5; color: #41464b; }
.badge-low-stock  { background: #fff3cd; color: #856404; }
.badge-out-stock  { background: #f8d7da; color: #842029; }

/* ============================================================
   TABLES
   ============================================================ */
.table-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.table-card .table {
    margin: 0;
}

.table thead th {
    background: var(--primary-light);
    color: var(--dark-text);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid var(--primary);
    padding: 0.85rem 1rem;
    white-space: nowrap;
}

.table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 0.875rem;
    border-color: var(--border);
}

.table tbody tr:hover {
    background: var(--primary-50);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control,
.form-select {
    border-color: var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,193,7,.2);
}

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.35rem;
}

/* ============================================================
   ALERTS / FLASH MESSAGES
   ============================================================ */
.flash-message {
    border-radius: var(--radius);
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alert-success { background: #d1e7dd; color: #0a3622; }
.alert-danger   { background: #f8d7da; color: #842029; }
.alert-warning  { background: #fff3cd; color: #664d03; }
.alert-info     { background: #cff4fc; color: #055160; }

/* ============================================================
   FRONTEND NAVBAR
   ============================================================ */
.frontend-navbar {
    background: var(--dark) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.frontend-navbar .navbar-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary) !important;
}

.frontend-navbar .navbar-brand span {
    color: #fff;
}

.frontend-navbar .nav-link {
    color: rgba(255,255,255,.8) !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.frontend-navbar .nav-link:hover,
.frontend-navbar .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-15);
}

.frontend-search .form-control {
    border-radius: 99px 0 0 99px;
    border-right: none;
    padding-left: 1.1rem;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
    color: #fff;
}

.frontend-search .form-control::placeholder { color: rgba(255,255,255,.5); }
.frontend-search .form-control:focus { background: rgba(255,255,255,.15); border-color: var(--primary); box-shadow: none; }

.frontend-search .btn-search {
    border-radius: 0 99px 99px 0;
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
}

.frontend-search .btn-search:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.announcement-bar {
    background: var(--primary);
    color: #000;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    padding: 7px 1rem;
    letter-spacing: .3px;
}

.announcement-bar a { color: #000; text-decoration: underline; }

/* Sub-navigation bar */
.frontend-subnav {
    background: var(--dark-2);
    border-top: 1px solid rgba(255,255,255,.06);
}

.frontend-subnav .nav-link {
    color: rgba(255,255,255,.75) !important;
    font-size: 0.84rem;
    font-weight: 500;
    padding: 0.55rem 1rem !important;
    transition: color var(--transition);
}

.frontend-subnav .nav-link:hover,
.frontend-subnav .nav-link.active {
    color: var(--primary) !important;
}

/* ============================================================
   FRONTEND FOOTER
   ============================================================ */
.frontend-footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding-top: 3rem;
    padding-bottom: 1rem;
    font-size: 0.875rem;
}

.frontend-footer h6 {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1rem;
}

.frontend-footer .footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary) !important;
}

.frontend-footer .footer-logo span {
    color: #fff;
}

.frontend-footer .footer-link {
    color: rgba(255,255,255,.65);
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.845rem;
    transition: color var(--transition), padding-left var(--transition);
}

.frontend-footer .footer-link:hover {
    color: var(--primary);
    padding-left: 6px;
}

.frontend-footer .footer-divider {
    border-color: rgba(255,255,255,.1);
    margin: 1.5rem 0 1rem;
}

.frontend-footer .footer-bottom {
    color: rgba(255,255,255,.45);
    font-size: 0.8rem;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    margin: 0.25rem 0.25rem 0 0;
    cursor: default;
    transition: background var(--transition);
}

.payment-badge:hover {
    background: rgba(255,255,255,.16);
}

/* ============================================================
   AUTH LAYOUT
   ============================================================ */
.auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,193,7,.12) 0%, transparent 70%);
    pointer-events: none;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,193,7,.08) 0%, transparent 70%);
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: calc(var(--radius) + 8px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.auth-card-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 2rem;
    text-align: center;
}

.auth-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary) !important;
    letter-spacing: .5px;
}

.auth-logo span {
    color: #fff;
}

.auth-card-body {
    padding: 2rem;
}

.auth-footer-text {
    color: rgba(255,255,255,.5);
    font-size: 0.78rem;
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 14px rgba(255,193,7,.45);
    transition: background var(--transition), transform var(--transition);
}

#backToTop:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

#backToTop.show {
    display: flex;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner-primary {
    color: var(--primary) !important;
}

.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ============================================================
   CHART AREA
   ============================================================ */
.chart-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

/* ============================================================
   QUICK ACTION CARDS
   ============================================================ */
.quick-action-card {
    border: 2px dashed var(--border);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    background: var(--card-bg);
    text-decoration: none;
    display: block;
    color: var(--dark-text);
}

.quick-action-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
    color: var(--dark-text);
}

.quick-action-card .qa-icon {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.quick-action-card .qa-label {
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============================================================
   MOBILE / RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .admin-sidebar {
        position: fixed;
        top: var(--navbar-height);
        left: -var(--sidebar-width);
        transform: translateX(calc(-1 * var(--sidebar-width)));
        z-index: 1035;
        transition: transform var(--transition);
        height: calc(100vh - var(--navbar-height));
    }

    .admin-sidebar.show {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 1034;
        top: var(--navbar-height);
    }

    .sidebar-overlay.show {
        display: block;
    }

    .admin-main {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .stat-card .stat-value {
        font-size: 1.3rem;
    }

    .admin-main {
        padding: 0.75rem;
    }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary { color: var(--primary) !important; }
.bg-primary   { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }

.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.rounded-xl { border-radius: calc(var(--radius) + 8px) !important; }

.cursor-pointer { cursor: pointer; }

/* Fade-in animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.4s ease both;
}

/* Pulse for notifications */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

.pulse {
    animation: pulse 1.6s ease-in-out infinite;
}

/* Yellow highlight */
.highlight-yellow {
    background: var(--primary);
    color: #000;
    padding: 0 4px;
    border-radius: 3px;
}

/* ============================================================
   FONT WEIGHT UTILITIES
   ============================================================ */
.fw-800 { font-weight: 800 !important; }

/* ============================================================
   ADMIN CARD (reused in frontend about/contact pages)
   ============================================================ */
.admin-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   FRONTEND HERO SLIDE
   ============================================================ */
.hero-slide {
    min-height: 540px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.28) 65%, transparent 100%);
    pointer-events: none;
}

.hero-slide .container {
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 767.98px) {
    .hero-slide { min-height: 380px; }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 0.65rem;
    margin-bottom: 0;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.35rem 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    text-decoration: none;
    color: var(--dark-text);
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    gap: 0.6rem;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
    color: var(--dark-text);
}

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: var(--primary-dark);
    transition: background 0.22s, color 0.22s;
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: #000;
}

/* ============================================================
   PRODUCT CARD (Frontend classes used in partials)
   ============================================================ */
.product-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
}

.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img-wrap img {
    transform: scale(1.07);
}

.product-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    z-index: 1;
}

.product-wishlist-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 1;
    font-size: 1rem;
    color: #666;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.product-wishlist-btn:hover {
    background: #fff;
    transform: scale(1.12);
    color: #dc3545;
}

.product-card-body {
    padding: 0.9rem;
}

.product-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-text);
}

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

.btn-cart {
    width: 100%;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.48rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.22s, color 0.22s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

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

/* ============================================================
   RATING STARS
   ============================================================ */
.rating-stars .bi-star-fill { color: var(--primary); font-size: 0.82rem; }
.rating-stars .bi-star       { color: #dee2e6; font-size: 0.82rem; }

/* ============================================================
   STATS COUNTER SECTION
   ============================================================ */
.home-stats {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #0f3460 100%);
    padding: 3rem 0;
}

.home-stat-item {
    text-align: center;
    padding: 1rem;
}

.home-stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.35rem;
    letter-spacing: -1px;
}

.home-stat-lbl {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   PROMOTIONAL BANNER CARDS
   ============================================================ */
.promo-card {
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    position: relative;
    min-height: 210px;
    display: flex;
    align-items: center;
    padding: 2rem 2.25rem;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    transition: transform 0.28s, box-shadow 0.28s;
}

.promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.44);
    transition: background 0.28s;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.promo-card:hover::before {
    background: rgba(0,0,0,0.32);
}

.promo-card-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.promo-card-content .promo-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    margin-bottom: 0.5rem;
    background: rgba(255,193,7,0.15);
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid rgba(255,193,7,0.35);
}

.promo-card-content h3 {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    line-height: 1.2;
}

.promo-card-content p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1.1rem;
}

/* ============================================================
   BRAND LOGOS STRIP
   ============================================================ */
.brands-section {
    background: #f8f9fa;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-align: center;
    min-height: 64px;
    cursor: default;
}

.brand-item:hover {
    border-color: var(--primary);
    color: var(--dark-text);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* ============================================================
   TESTIMONIALS SECTION  – v2 Premium Slider
   ============================================================ */

/* Section */
.testimonials-section {
    background: linear-gradient(135deg, #0d0d1a 0%, #16213e 55%, #0f3460 100%);
    padding: 5.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

/* Ambient glow orbs */
.testi-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.testi-glow-1 {
    width: 680px; height: 680px;
    background: radial-gradient(circle, rgba(255,193,7,.13) 0%, transparent 65%);
    top: -220px; left: -220px;
}
.testi-glow-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,193,7,.07) 0%, transparent 65%);
    bottom: -180px; right: -150px;
}
.testi-glow-3 {
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(15,52,96,.55) 0%, transparent 70%);
    top: 40%; left: 45%;
    transform: translate(-50%,-50%);
}

/* Header */
.testi-header {
    position: relative;
    z-index: 1;
    margin-bottom: 3.5rem;
}
.testi-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,193,7,.12);
    color: #FFC107;
    border: 1px solid rgba(255,193,7,.28);
    padding: 5px 18px;
    border-radius: 99px;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.testi-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .55rem;
    line-height: 1.2;
}
.testi-subtitle {
    color: rgba(255,255,255,.48);
    font-size: .93rem;
    margin-bottom: 1.6rem;
}
.testi-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 24px;
    border-radius: 99px;
    font-size: .84rem;
    color: rgba(255,255,255,.6);
}
.testi-stars-display { color: #FFC107; font-size: 1rem; letter-spacing: 2px; }
.testi-rating-val   { font-weight: 800; font-size: 1.05rem; color: #fff; }

/* Slider shell */
.testi-slider-outer {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 64px;
    padding-right: 64px;
}
.testi-slider-window {
    overflow: hidden;
    padding: 1.75rem 0; /* let card shadow breathe */
}
@media (max-width: 767px) {
    .testi-slider-outer { padding-left: 44px; padding-right: 44px; }
}
.testi-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.testi-track.no-anim {
    transition: none !important;
}

/* Cards */
.testi-card {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    padding: 2rem 1.75rem 1.6rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    opacity: .62;
    transform: scale(.95);
    transition: transform .42s ease, opacity .42s ease, box-shadow .42s ease, border-color .42s ease;
}
.testi-card.testi-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(255,193,7,.22);
    border-color: rgba(255,193,7,.22);
}
/* Top accent bar on active */
.testi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,193,7,.7) 50%, transparent 100%);
    opacity: 0;
    transition: opacity .42s ease;
}
.testi-card.testi-active::before { opacity: 1; }

/* Glass shimmer overlay */
.testi-card.testi-active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255,255,255,.03) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
}

/* Card top row */
.testi-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.testi-stars {
    color: #FFC107;
    font-size: .95rem;
    letter-spacing: 2px;
    line-height: 1;
}
.testi-quote-glyph {
    font-size: 4rem;
    color: rgba(255,193,7,.18);
    line-height: .55;
    font-family: Georgia, serif;
    font-weight: 900;
    pointer-events: none;
    margin-top: .2rem;
}

/* Review text */
.testi-review-text {
    font-size: .87rem;
    color: rgba(255,255,255,.76);
    line-height: 1.82;
    margin-bottom: 1.15rem;
    font-style: italic;
    flex-grow: 1;
}

/* Verified badge */
.testi-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .7rem;
    font-weight: 600;
    color: #4ade80;
    margin-bottom: 1.2rem;
    letter-spacing: .2px;
}

/* Author row */
.testi-author-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.1rem;
    margin-top: auto;
}
.testi-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,193,7,.45);
    background: rgba(255,255,255,.08);
}
.testi-author-name {
    font-weight: 700;
    font-size: .87rem;
    color: #fff;
    line-height: 1.25;
}
.testi-author-meta {
    font-size: .71rem;
    color: rgba(255,255,255,.48);
    margin-top: 2px;
}
.testi-author-meta .bi-geo-alt-fill { color: rgba(255,193,7,.7); }

/* Product chip */
.testi-product-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,193,7,.1);
    border: 1px solid rgba(255,193,7,.2);
    color: rgba(255,193,7,.8);
    font-size: .67rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    margin-top: .7rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nav arrows */
.testi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background .22s, border-color .22s, color .22s, transform .22s;
    outline: none;
}
.testi-arrow:hover {
    background: #FFC107;
    border-color: #FFC107;
    color: #111;
    transform: translateY(-50%) scale(1.1);
}
.testi-arrow:active { transform: translateY(-50%) scale(.96); }
.testi-prev { left: 10px; }
.testi-next { right: 10px; }
@media (min-width:768px) {
    .testi-prev { left: 10px; }
    .testi-next { right: 10px; }
}

/* Dots */
.testi-dots-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}
.testi-dot {
    width: 8px; height: 8px;
    border-radius: 99px;
    background: rgba(255,255,255,.22);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width .32s, background .32s;
    outline: none;
}
.testi-dot.active {
    width: 26px;
    background: #FFC107;
}

/* Responsive card visibility */
@media (max-width:575px) {
    .testi-card { padding: 1.6rem 1.4rem 1.35rem; }
    .testi-arrow { width: 36px; height: 36px; font-size: .85rem; }
}

/* Dark-mode friendly (section already dark, no changes needed) */

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #0f3460 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,193,7,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-form .form-control {
    border-radius: 99px 0 0 99px !important;
    border-right: none;
    height: 50px;
    padding-left: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.9rem;
}

.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary);
    box-shadow: none;
    color: #fff;
}

.newsletter-form .btn-subscribe {
    border-radius: 0 99px 99px 0 !important;
    background: var(--primary);
    border: 1px solid var(--primary-dark);
    color: #000;
    font-weight: 700;
    height: 50px;
    padding: 0 1.75rem;
    font-size: 0.88rem;
    transition: background 0.2s;
}

.newsletter-form .btn-subscribe:hover {
    background: var(--primary-dark);
}

/* ============================================================
   ABOUT PAGE ENHANCEMENTS
   ============================================================ */
.about-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #0f3460 100%);
    padding: 4rem 0;
    color: #fff;
}

.team-card {
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-bg);
    transition: transform 0.22s, box-shadow 0.22s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.team-card .team-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
}

.team-card .team-body {
    padding: 1.25rem;
}

.team-card .team-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.team-card .team-role {
    font-size: 0.76rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.team-card .team-bio {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.why-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: box-shadow 0.22s, transform 0.22s;
}

.why-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.why-card .why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

/* ============================================================
   PAGE BREADCRUMB
   ============================================================ */
.page-breadcrumb .breadcrumb-item a {
    color: var(--primary-dark);
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item.active {
    color: var(--text-muted);
}

/* ============================================================
   CONTACT PAGE ENHANCEMENTS
   ============================================================ */
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--primary-50);
    border: 1px solid var(--primary-15);
    margin-bottom: 0.75rem;
}

.contact-info-item .contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #000;
    flex-shrink: 0;
}

/* ============================================================
   CUSTOMER DASHBOARD IMPROVEMENTS
   ============================================================ */
.account-sidebar-card {
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
}

.account-sidebar-card .sidebar-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 1.5rem;
    text-align: center;
    color: #fff;
}

.account-sidebar-card .avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    border: 3px solid rgba(255,255,255,0.2);
}

/* ============================================================
   OFFERS PAGE
   ============================================================ */
.offer-countdown {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.offer-countdown .countdown-block {
    background: var(--dark);
    color: var(--primary);
    border-radius: var(--radius);
    padding: 0.35rem 0.6rem;
    text-align: center;
    min-width: 46px;
}

.offer-countdown .countdown-block .count-num {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.offer-countdown .countdown-block .count-lbl {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* ============================================================
   SHOP PAGINATION  (custom nija-page-link styles)
   ============================================================ */
.nija-pagination { margin-top: .25rem; }

.nija-page-link {
    min-width: 38px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--dark-text);
    font-size: .85rem;
    font-weight: 600;
    padding: 0 .6rem;
    transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
    text-decoration: none;
}
.nija-page-link:hover {
    background: var(--primary);
    border-color: var(--primary-dark);
    color: #111;
    box-shadow: 0 2px 8px rgba(255,193,7,.35);
}
.nija-page-active,
.page-item.active .nija-page-link {
    background: var(--primary) !important;
    border-color: var(--primary-dark) !important;
    color: #111 !important;
    box-shadow: 0 2px 8px rgba(255,193,7,.4);
}
.page-item.disabled .nija-page-link {
    background: var(--card-bg);
    border-color: var(--border);
    color: var(--text-muted);
    opacity: .55;
    cursor: not-allowed;
}
.nija-page-dots {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--text-muted) !important;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ============================================================
   TESTIMONIALS – supplemental fixes
   ============================================================ */
/* Suppress card scale/opacity transition during silent-jump */
.testi-track.no-anim .testi-card {
    transition: none !important;
}
/* Prevent FOUC: hide slider until JS positions it */
.testi-slider-window { visibility: hidden; }
.testi-slider-window.testi-ready { visibility: visible; }
