/* ==================== LOGIN PAGE STYLES ==================== */
/* Full screen overlay */
#page-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Center wrapper */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Logo Styling */
.loader-logo {
    width: 300px; /* adjust if needed */
    height: auto;
    animation: logoPulse 1.5s ease-in-out infinite;
}

/* Logo animation */
@keyframes logoPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* ── Promo Marquee Bar ── */
.promo-marquee-bar {
    background: linear-gradient(90deg, #1a5c38 0%, #2e7d32 50%, #1a5c38 100%);
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    border-bottom: 2px solid #ffd700;
    position: relative;
}

.promo-marquee-bar::before,
.promo-marquee-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.promo-marquee-bar::before {
    left: 0;
    background: linear-gradient(to right, #1a5c38, transparent);
}
.promo-marquee-bar::after {
    right: 0;
    background: linear-gradient(to left, #1a5c38, transparent);
}

.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-content {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffd700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-right: 2rem;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.promo-marquee-bar:hover .marquee-track {
    animation-play-state: paused;
}

/* Dots container */
.loader-dots {
    display: flex;
    gap: 8px;
}

/* Each dot */
.loader-dots span {
    width: 10px;
    height: 10px;
    background-color: #003865; /* Alfakar blue */
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

/* Stagger animation */
.loader-dots span:nth-child(1) {
    animation-delay: -0.32s;
}
.loader-dots span:nth-child(2) {
    animation-delay: -0.16s;
}
.loader-dots span:nth-child(3) {
    animation-delay: 0s;
}

/* Bounce animation */
@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Login Container */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Login Card */
.login-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* Login Icon */
.login-icon {
    width: 64px;
    height: 64px;
    background: #f7f9fc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #4a5568;
}

/* Login Title & Subtitle */
.login-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.login-subtitle {
    font-size: 14px;
    color: black;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Login Alerts */
.login-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: left;
}

.login-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.login-alert-danger div {
    margin-bottom: 4px;
}

.login-alert-danger div:last-child {
    margin-bottom: 0;
}

/* Login Form */
.login-form {
    text-align: left;
}

/* Login Input Group */
.login-input-group {
    position: relative;
    margin-bottom: 16px;
}

.login-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #f7f9fc;
}

.login-input:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-input::placeholder {
    color: #a0aec0;
}

/* Login Input Icon */
.login-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
    z-index: 1;
}

/* Login Password Toggle */
.login-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #a0aec0;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1;
}

.login-password-toggle:hover {
    color: #4a5568;
}

/* Login Forgot Password */
.login-forgot-password {
    text-align: right;
    margin-bottom: 24px;
}

.login-forgot-link {
    font-size: 14px;
    color: #0b2492;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-forgot-link:hover {
    color: #5568d3;
}

/* Login Primary Button */
.login-btn-primary {
    width: 100%;
    padding: 1rem;
    background: #2d3748;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.login-btn-primary:hover {
    background: #0153a6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

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

/* Login Divider */
.login-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.login-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 16px;
    font-size: 13px;
    color: black;
}

/* Login Social Buttons */
.login-social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.login-social-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-social-btn:hover {
    border-color: #cbd5e0;
    background: #f7f9fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-social-btn:active {
    transform: translateY(0);
}
.btn-buy-now {
    background:#212529; color:#fff; border:2px solid #212529;
    transition:background .2s,color .2s,border-color .2s;
}
.btn-buy-now:hover:not(:disabled) { background:#ff5722; border-color:#ff5722; color:#fff; }
.btn-buy-now:disabled { opacity:.55; cursor:not-allowed; }

.support-page {
    background: #f9f7f4;
    min-height: 100vh;
}

/* ── Hero ── */
.support-hero {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.support-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,87,34,.18) 0%, transparent 70%);
    pointer-events: none;
}
.support-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 10%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,87,34,.10) 0%, transparent 70%);
    pointer-events: none;
}
.support-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.support-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.65);
    max-width: 520px;
    line-height: 1.7;
}

/* ── Info Cards ── */
.support-cards {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border: 1px solid rgba(0,0,0,.05);
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.10);
}
.info-card .icon-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.info-card h6 { font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: #1a1a1a; }
.info-card p, .info-card a { font-size: .875rem; color: #6b7280; line-height: 1.6; text-decoration: none; }
.info-card a:hover { color: #0153a6; }

/* ── Body ── */
.support-body { padding: 60px 0 80px; }

/* ── FAQ ── */
.faq-section h2 { font-size: 2rem; color: #1a1a1a; margin-bottom: 8px; }
.faq-section .lead { color: #6b7280; font-size: .95rem; margin-bottom: 28px; }
.accordion-item {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}
.accordion-button {
    font-weight: 500; font-size: .95rem; color: #1a1a1a;
    background: #fff !important; box-shadow: none !important; padding: 18px 22px;
}
.accordion-button:not(.collapsed) { color: #0153a6 !important; }
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}
.accordion-body { font-size: .9rem; color: #4b5563; line-height: 1.75; padding: 4px 22px 20px; }

/* ── Form Card ── */
.form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.05);
    position: sticky;
    top: 24px;
}
.form-card h2 { font-size: 1.9rem; color: #1a1a1a; margin-bottom: 6px; }
.form-card .subtitle { font-size: .875rem; color: #9ca3af; margin-bottom: 28px; }
.form-card .form-label {
    font-size: .825rem; font-weight: 600; color: #374151;
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px;
}
.form-card .form-control,
.form-card .form-select {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: .9rem;
    color: #1a1a1a;
    background: #fcfcfc;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: #0153a6;
    box-shadow: 0 0 0 3px rgba(255,87,34,.1);
    background: #fff;
    outline: none;
}
.form-card .form-control.is-invalid { border-color: #dc3545; }
.form-card .invalid-feedback { font-size: .8rem; }
.form-card textarea { resize: vertical; min-height: 130px; }

.btn-support-submit {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 28px;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .3px;
    width: 100%;
    transition: background .2s ease, transform .15s ease;
    cursor: pointer;
}
.btn-support-submit:hover:not(:disabled) { background: #0153a6; transform: translateY(-1px); }
.btn-support-submit:active { transform: translateY(0); }
.btn-support-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.tag-pill {
    display: inline-block;
    background: rgba(255,87,34,.1);
    color: #0153a6;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 14px;
}

/* ── Success state ── */
#formSuccess {
    display: none;
    text-align: center;
    padding: 30px 0;
}
#formSuccess .success-icon {
    width: 72px; height: 72px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #065f46;
    margin: 0 auto 20px;
    animation: popIn .4s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Login Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 24px 16px;
    }

    .login-title {
        font-size: 20px;
    }

    .login-subtitle {
        font-size: 13px;
    }
}


/* Header Styles */
.top-header {
    background-color: #2c2c2c;
    font-size: 14px;
}

.top-links a {
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.top-links a:hover {
    color: #0153a6 !important;
}

.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.logo-img {
    max-width: 150px;
    /* desktop size */
    width: 100%;
    height: auto;
}


.text-orange {
    color: #0153a6;
}

.search-form .form-control {
    border: 2px solid #0153a6;
    border-right: none;
    padding: 12px 20px;
    font-size: 14px;
}

.search-form,.review-form,.login-form .form-control:focus {
    box-shadow: none;
    border-color: #0153a6;
}
.form-control:focus {
    box-shadow: none;
    border-color: #0153a6;
}

input:not([type="radio"]):not([type="checkbox"]),
textarea,
select {
    border-radius: 20px;
    border: 1px solid #bdbdbd;
}


.btn-search {
    background-color: #0153a6;
    color: white;
    border: 2px solid #0153a6;
    padding: 12px 25px;
    transition: all 0.3s;
}

.btn-search:hover {
    color: white;
    background-color: #e65a00;
    border-color: #e65a00;
}

.header-icons .icon-link {
    color: #333;
    font-size: 24px;
    margin-left: 20px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.header-icons .icon-link:hover {
    color: #0153a6;
}

.header-icons .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #0153a6;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
}

.navbar {
    padding: 0;
    background-color: #0153a6;
}

.btn-orange {
    background-color: #0153a6;
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-orange:hover {
    background-color: #0153a6;
    color: white;
}

.all-categories-btn {
    border-radius: 0;
    white-space: nowrap;
    padding: 1rem 3rem 1rem 3rem;
    background-color: #484848;
    outline: none;
    color: white;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    /* 🔥 mobile tap fix */
    -webkit-tap-highlight-color: transparent;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.navbar-nav {
    gap: 1.5rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0153a6;
    background-color: white;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 1rem 2rem 1rem 2rem;
}

/* Categories Dropdown - Hover Functionality */
.categories-wrapper {
    position: relative;
}

.categories-collapse {
    background-color: #fff;
    border: 1px solid #eee;
    position: absolute;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

/* Hover Animations */
     .category-card {
        background: #fff;
        cursor: pointer;
    }

    .category-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    }

    .category-card img {
        transition: transform 0.5s ease;
        will-change: transform;
    }
    .category-image-wrapper {
        height: 280px;
        overflow: hidden;
        position: relative;
    }

    .category-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        image-rendering: -webkit-optimize-contrast; /* sharpens on Chrome/Safari */
    }

    .category-card:hover img {
        transform: scale(1.05); /* reduce from 1.1 */
    }

    .category-card:hover .gradient-overlay {
        opacity: 0.9;
    }

    .category-card:hover .category-underline {
        width: 100px;
    }

    .category-card:hover .explore-text {
        opacity: 1;
    }

    /* Optional: Add animation on load */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .category-card {
        animation: fadeInUp 0.6s ease-out;
    }

 /* Wishlist Offcanvas Styles */
.wishlist-offcanvas {
    width: 420px !important;
}

.wishlist-count-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
}

/* Wishlist Item Card */
.wishlist-item-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.wishlist-item-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wishlist-item-card .product-image-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-item-card .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.wishlist-item-card .product-info {
    flex-grow: 1;
    min-width: 0;
}

.wishlist-item-card .product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.wishlist-item-card .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0066cc;
    margin: 0;
}

.wishlist-item-card .btn-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border: none;
    background: #f44336;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    padding: 0;
}

.wishlist-item-card .btn-remove:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Empty State */
.wishlist-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.wishlist-empty-state i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.wishlist-empty-state h6 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.wishlist-empty-state p {
    color: #999;
    font-size: 0.9rem;
}

/* ChekOut */

.step-badge {
    display:inline-flex;align-items:center;justify-content:center;
    width:26px;height:26px;background:#0153a6;color:#fff;
    border-radius:50%;font-size:13px;font-weight:700;margin-right:8px;flex-shrink:0;
}
.checkout-section-title {
    display:flex;align-items:center;font-size:17px;
    padding-bottom:10px;border-bottom:2px solid #f0f0f0;margin-bottom:18px !important;
}
.payment-option-card {
    border:2px solid #e9ecef;border-radius:10px;padding:14px 18px;
    margin-bottom:10px;cursor:pointer;transition:border-color .2s,box-shadow .2s;background:#fff;
}
.payment-option-card.selected {
    border-color:#0153a6;box-shadow:0 0 0 3px rgba(255,87,34,.08);
}
.payment-option-card label { cursor:pointer; }
.payment-icon {
    width:42px;height:42px;background:#fff4f0;border-radius:8px;
    display:flex;align-items:center;justify-content:center;
    color:#0153a6;font-size:18px;flex-shrink:0;
}
.payment-check-circle {
    width:22px;height:22px;border:2px solid #dee2e6;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    font-size:10px;color:transparent;transition:all .2s;
}
.payment-check-circle.active { background:#0153a6;border-color:#0153a6;color:#fff; }
.bank-info-box { background:#f8f9fa; }
.order-summary-card {
    background:#fff;border:1px solid #e9ecef;border-radius:14px;
    overflow:hidden;box-shadow:0 2px 16px rgba(0,0,0,.06);
}
.order-summary-header {
    background:#f8f9fa;padding:16px 20px;border-bottom:1px solid #e9ecef;
    display:flex;align-items:center;justify-content:space-between;
}
.order-items { padding:12px 20px;max-height:340px;overflow-y:auto; }
.order-item-row {
    display:flex;align-items:center;gap:12px;
    padding:10px 0;border-bottom:1px solid #f5f5f5;
}
.order-item-row:last-child { border-bottom:none; }
.order-item-img-wrap { position:relative;flex-shrink:0; }
.order-item-img {
    width:60px;height:60px;object-fit:contain;
    border-radius:8px;border:1px solid #eee;background:#f8f9fa;padding:4px;
}
.order-item-qty-badge {
    position:absolute;top:-6px;right:-6px;
    background:#0153a6;color:#fff;border-radius:50%;
    width:20px;height:20px;font-size:11px;font-weight:700;
    display:flex;align-items:center;justify-content:center;
}
.order-item-details { flex:1;min-width:0; }
.order-item-name {
    font-size:13px;font-weight:600;line-height:1.3;
    overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.order-item-price { font-size:13px;font-weight:700;white-space:nowrap;color:#212529; }
.order-totals { padding:14px 20px;border-top:1px solid #e9ecef;background:#f8f9fa; }
.total-line {
    display:flex;justify-content:space-between;align-items:center;
    padding:5px 0;font-size:14px;color:#555;
}
.total-line.grand {
    font-size:17px;font-weight:700;color:#212529;
    border-top:2px solid #dee2e6;margin-top:8px;padding-top:10px;
}
.total-line .value { font-weight:600; }

.success-icon-wrap {
    animation: fadeInDown 0.6s ease;
}

.success-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ddffdf 0%, #2e7d32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
    animation: scaleIn 0.5s ease 0.3s backwards;
    color: white;
}

.success-circle i {
    font-size: 40px;
    color: white;
    animation: checkMark 0.8s ease 0.5s backwards;
}

.order-confirm-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.confirm-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 16px;
}

.conf-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-total-block {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes checkMark {
    0% {
        transform: scale(0) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}
/* ══════════════════════════════════════════════════
   LISTING PAGE
══════════════════════════════════════════════════ */

.listing-page {
    background: #f9f9f9;
    min-height: 100vh;
}

/* ── Breadcrumb ── */
.listing-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    padding: 12px 0;
}
.listing-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 13px;
}
.listing-breadcrumb .breadcrumb-item a {
    color: #0153a6;
    text-decoration: none;
}
.listing-breadcrumb .breadcrumb-item.active {
    color: #888;
}
.listing-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #ebebeb;
}

/* ══════════════════════════════════════════════════
   FILTER SIDEBAR
══════════════════════════════════════════════════ */

.filter-panel {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    position: sticky;
    top: 20px;
}

.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #ebebeb;
}

.filter-panel-header h6 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.filter-panel-header h6 i {
    color: #0153a6;
    font-size: 12px;
}

.filter-clear-all {
    font-size: 11px;
    font-weight: 600;
    color: #0153a6;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #ffc4b0;
    background: #fff3ef;
    transition: all .2s ease;
}
.filter-clear-all:hover {
    background: #0153a6;
    color: #fff;
    border-color: #0153a6;
}

/* ── Filter Section ── */
.filter-section {
    padding: 18px 20px;
    border-bottom: 1px solid #ebebeb;
}
.filter-section:last-of-type {
    border-bottom: none;
}

.filter-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #888;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-section-title i {
    color: #0153a6;
    font-size: 10px;
}

/* ── Price Display ── */
.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 8px;
}

.price-badge {
    background: #f9f9f9;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

/* ── noUiSlider overrides ── */
.noUi-target {
    background: #ebebeb;
    border: none;
    box-shadow: none;
    height: 4px;
    border-radius: 2px;
    margin: 0 4px;
}
.noUi-connect {
    background: #0153a6 !important;
}
.noUi-handle {
    width: 18px !important;
    height: 18px !important;
    right: -9px !important;
    top: -7px !important;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #0153a6;
    box-shadow: 0 2px 8px rgba(255,87,34,.25);
    cursor: grab;
}
.noUi-handle:active {
    cursor: grabbing;
}
.noUi-handle::before,
.noUi-handle::after {
    display: none;
}

/* ── Color Swatches ── */
.color-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-filter-swatch {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    outline: none;
    padding: 0;
    flex-shrink: 0;
}

.color-filter-swatch:hover {
    transform: scale(1.12);
}

.color-filter-swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0153a6;
}

/* ── Checkboxes ── */
.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    border-radius: 6px;
}

.filter-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0153a6;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.filter-check-label {
    font-size: 13px;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin: 0;
}

/* ── Apply Button ── */
.filter-apply-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 16px 20px;
    padding: 10px;
    background: #0153a6;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
}
.filter-apply-btn:hover {
    background: #0153a6;
    transform: translateY(-1px);
}

/* ── Mobile filter button ── */
.mobile-filter-btn {
    background: #fff;
    border: 1px solid #ebebeb;
    color: #1a1a1a;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    cursor: pointer;
    transition: all .2s ease;
    margin-bottom: 12px;
}
.mobile-filter-btn:hover {
    border-color: #0153a6;
    color: #0153a6;
}

/* ══════════════════════════════════════════════════
   TOOLBAR
══════════════════════════════════════════════════ */

.listing-toolbar {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.toolbar-title h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.toolbar-title small {
    font-size: 12px;
    color: #888;
}

.sort-select {
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 13px;
    color: #1a1a1a;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: all .2s ease;
}
.sort-select:focus {
    border-color: #0153a6;
    box-shadow: 0 0 0 3px rgba(255,87,34,.1);
}

/* ── Active Filter Chips ── */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0153a6;
    border: 1px solid;
    border-radius: 20px;
    padding: 4px 12px 4px 14px;
    font-size: 12px;
    font-weight: 600;
}

.filter-chip-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0153a6;
    color: white;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    transition: all .2s ease;
}
.filter-chip-remove:hover {
    background: #0153a6;
    color: #fff;
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #ebebeb;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #888;
}

/* ── Pagination ── */
.pagination .page-link {
    border-radius: 6px !important;
    margin: 0 2px;
    border-color: #ebebeb;
    color: #1a1a1a;
    font-size: 13px;
}
.pagination .page-item.active .page-link {
    background: #0153a6;
    border-color: #0153a6;
    color: #fff;
}
.pagination .page-link:hover {
    color: #0153a6;
    border-color: #0153a6;
    background: #fff3ef;
}

/* order tracking */
/* ══════════════════════════════════════════════════
   ORDER TRACKING PAGES
══════════════════════════════════════════════════ */

.tracking-page {
    background: #f9f9f9;
    min-height: 80vh;
    padding: 60px 0;
}

/* ── Index hero ── */
.tracking-hero {
    margin-bottom: 32px;
}

.tracking-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff3ef;
    border: 2px solid #ffc4b0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 18px;
}

.tracking-hero-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.tracking-hero-sub {
    color: #888;
    font-size: 15px;
    margin: 0;
}

/* ── Search card ── */
.tracking-search-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ebebeb;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    padding: 36px;
}

.tracking-error-alert {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-left: 4px solid #c62828;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #c62828;
}

.tracking-field {
    margin-bottom: 20px;
}

.tracking-label {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 8px;
    letter-spacing: .3px;
}

.tracking-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a1a;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
    background: #fff;
}

.tracking-input:focus {
    border-color: #0153a6;
    box-shadow: 0 0 0 3px rgba(255,87,34,.08);
}

.tracking-submit-btn {
    width: 100%;
    background: #0153a6;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s, transform .15s;
}

.tracking-submit-btn:hover {
    background: #0153a6;
    transform: translateY(-1px);
}

.tracking-hint {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    margin: 20px 0 0;
}

/* ── Result page ── */
.tracking-back-link {
    margin-bottom: 24px;
}

.tracking-back-link a {
    color: #0153a6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity .2s;
}

.tracking-back-link a:hover { opacity: .75; }

.tracking-result-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ebebeb;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    overflow: hidden;
}

/* ── Status banner ── */
.tracking-status-banner {
    padding: 28px 32px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-banner-pending    { background: #fff8e1; border-bottom-color: #fde68a; }
.status-banner-confirmed  { background: #e3f2fd; border-bottom-color: #bbdefb; }
.status-banner-processing { background: #e8eaf6; border-bottom-color: #c5cae9; }
.status-banner-shipped    { background: #f3e5f5; border-bottom-color: #e1bee7; }
.status-banner-delivered  { background: #e8f5e9; border-bottom-color: #c8e6c9; }
.status-banner-cancelled  { background: #ffebee; border-bottom-color: #ffcdd2; }
.status-banner-refunded   { background: #fce4ec; border-bottom-color: #f8bbd0; }

.tracking-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.6);
}

.tracking-status-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #888;
    margin-bottom: 4px;
}

.tracking-status-headline {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.tracking-status-msg {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ── Order meta row ── */
.tracking-meta-row {
    padding: 20px 32px;
    border-bottom: 1px solid #f0f0f0;
}

.tracking-meta-label {
    font-size: 11px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.tracking-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.tracking-accent { color: #0153a6; }
.tracking-accent-icon { color: #0153a6; }

/* ── Timeline section ── */
.tracking-timeline-section {
    padding: 24px 32px;
    border-bottom: 1px solid #f0f0f0;
}

.tracking-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #999;
    margin-bottom: 20px;
}

/* Desktop timeline */
.tracking-timeline-desktop {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.timeline-step-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-connector {
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.timeline-step-wrap.last .timeline-connector { display: none; }
.timeline-connector.filled { background: #0153a6; }

.timeline-dot-desktop {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    transition: all .2s;
}

.timeline-step-wrap.done .timeline-dot-desktop   { background: #0153a6; }
.timeline-step-wrap.current .timeline-dot-desktop {
    background: #0153a6;
    box-shadow: 0 0 0 4px rgba(255,87,34,.2);
}

.timeline-step-label {
    font-size: 12px;
    font-weight: 500;
    color: #aaa;
    text-align: center;
}

.timeline-step-wrap.done .timeline-step-label    { color: #1a1a1a; font-weight: 600; }
.timeline-step-wrap.current .timeline-step-label { color: #0153a6; font-weight: 700; }

/* Mobile timeline */
.tracking-timeline-mobile { padding: 0; }

.timeline-mobile-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.timeline-mobile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-dot-mobile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-mobile-step.done .timeline-dot-mobile     { background: #0153a6; }
.timeline-mobile-step.current .timeline-dot-mobile  {
    background: #0153a6;
    box-shadow: 0 0 0 3px rgba(255,87,34,.2);
}

.timeline-mobile-line {
    width: 2px;
    height: 32px;
    background: #e0e0e0;
    margin: 4px 0;
}

.timeline-mobile-line.filled { background: #0153a6; }

.timeline-mobile-content {
    padding-top: 6px;
    padding-bottom: 20px;
}

.timeline-mobile-label {
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
}

.timeline-mobile-step.done .timeline-mobile-label    { color: #1a1a1a; font-weight: 600; }
.timeline-mobile-step.current .timeline-mobile-label { color: #0153a6; font-weight: 700; }

.timeline-mobile-sub {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* ── Cancelled / Refunded notice ── */
.tracking-cancelled-notice {
    margin: 20px 32px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.tracking-cancelled-cancelled {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.tracking-cancelled-refunded {
    background: #fce4ec;
    color: #c2185b;
    border: 1px solid #f8bbd0;
}

/* ── Card header ── */
.tracking-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
}

/* ── Item rows ── */
.tracking-item-row {
    padding: 16px 24px;
    border-bottom: 1px solid #f8f8f8;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tracking-item-row:last-of-type { border-bottom: none; }

.tracking-item-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #f9f9f9;
    padding: 4px;
    flex-shrink: 0;
}

.tracking-item-info { flex: 1; }

.tracking-item-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.tracking-item-color {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.tracking-color-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.tracking-item-qty {
    font-size: 12px;
    color: #aaa;
}

.tracking-item-total {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    white-space: nowrap;
}

/* ── Totals ── */
.tracking-totals {
    padding: 16px 24px;
    background: #fafafa;
}

.tracking-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.tracking-total-row.shipping span:last-child { color: #388e3c; font-weight: 600; }
.tracking-total-row.discount span:last-child { color: #c62828; font-weight: 600; }

.tracking-total-row.grand {
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
    margin-top: 4px;
    margin-bottom: 0;
}

.tracking-total-row.grand span:first-child {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.tracking-total-row.grand span:last-child {
    font-size: 17px;
    font-weight: 800;
    color: #0153a6;
}

/* ── Address card ── */
.tracking-address-card {
    padding: 24px;
}

.tracking-address-body {
    font-size: 14px;
    color: #555;
    line-height: 1.9;
    margin-top: 10px;
}

.tracking-address-body strong { color: #1a1a1a; font-size: 15px; }

.tracking-phone {
    color: #888;
    font-size: 13px;
}

/* ── Help note ── */
.tracking-help-note {
    text-align: center;
    margin-top: 28px;
    font-size: 13px;
    color: #aaa;
    padding-bottom: 10px;
}

.tracking-help-note a {
    color: #0153a6;
    text-decoration: none;
    font-weight: 600;
}

.tracking-help-note a:hover { text-decoration: underline; }

/* order tracking */
/* Responsive */
@media (max-width: 576px) {
    .wishlist-offcanvas {
        width: 100% !important;
    }
    
    .wishlist-item-card .product-image-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .wishlist-item-card .product-name {
        font-size: 0.9rem;
    }
    
    .wishlist-item-card .product-price {
        font-size: 1rem;
    }
}


/* Show on hover - Desktop only */
@media (min-width: 992px) {
    .categories-wrapper:hover .categories-collapse {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show class for mobile toggle */
.categories-collapse.show {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

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

.categories-list li {
    border-bottom: 1px solid #f0f0f0;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.categories-list a:hover {
    background-color: #0153a6;
    color: white;
    padding-left: 30px;
}

.categories-list a i {
    margin-right: 10px;
    width: 20px;
}

/* Navbar Collapse - Mobile */
#navbarNav {
    transition: all 0.3s ease-in-out;
}

@media (max-width: 991.98px) {
    #navbarNav {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }

    #navbarNav.show {
        max-height: 500px;
        opacity: 1;
        overflow: visible;
    }

    .categories-wrapper:hover .categories-collapse {
        display: none;
    }
}

.all-categories-btn,
.all-categories-btn:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler {
    border: 1px solid white;
    outline: none;
}

.navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
    filter: invert(1);
}

.all-categories-btn:focus,
.all-categories-btn:active,
.all-categories-btn.active {
    background-color: #484848 !important;
    color: #ffffff !important;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

@media (max-width: 768px) {
    .logo-img {
        max-width: 120px;
        /* smaller on mobile */
    }

    .header-icons .icon-link {
        margin-left: 10px;
        font-size: 18px;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
    }

    .header-icons {
        margin-top: 1rem;
    }
}

/* Demo content */
.demo-content {
    min-height: 400px;
    padding: 40px 0;
    background: #f8f9fa;
}



/* Footer */


/* Footer Styles */
.footer {
    margin-top: 50px;
}

.services-section {
    background-color: #f8f9fa;
}

.service-item {
    padding: 20px;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    color: #0153a6;
}

.service-item h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.footer-main {
    background-color: #1a1a1a !important;
}

.footer-main h4,
.footer-main h5 {
    font-weight: 600;
}

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

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

.footer-links a,
.footer-text {
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.text-color {
    color: black;
}

.footer-links a:hover {
    color: #0153a6;
    padding-left: 5px;
}

.newsletter-form .form-control {
    background-color: #2c2c2c;
    border: 1px solid #444;
    color: #fff;
    padding: 12px 15px;
}

.newsletter-form .form-control:focus {
    background-color: #333;
    border-color: #0153a6;
    color: #fff;
    box-shadow: none;
}

.newsletter-form .form-control::placeholder {
    color: #777;
}

.newsletter-form .btn-orange {
    border-radius: 0 4px 4px 0;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #2c2c2c;
    color: #fff;
    margin-right: 10px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #0153a6;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #0d0d0d !important;
}

.bg-darker {
    background-color: #0d0d0d;
}

.payment-methods img {
    max-height: 30px;
}

@media (max-width: 768px) {
    .footer-main .col-md-3 {
        margin-bottom: 30px;
    }

    .footer-bottom .col-md-6 {
        text-align: center !important;
        margin-bottom: 15px;
    }

    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
}


/* Home/Index page */

/* Home Page Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Section Titles */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.section-title span {
    color: #0153a6;
}

/* Product Cards */
.product-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #0153a6;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ff3b3b;
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.hot {
    background-color: #ff3b3b;
}

.product-badge.sale {
    background-color: #0153a6;
}

.product-badge.new {
    background-color: #28a745;
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.product-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    padding: 0px !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #0153a6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.product-action-btn:hover {
    background-color: #0153a6;
    color: white;
    transform: translateY(-3px);
}

.product-action-btn i {
    font-size: 18px;
}

.product-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
    min-height: 42px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: #0153a6;
}

.product-rating {
    color: #ffc107;
    font-size: 13px;
    margin-bottom: 12px;
}

.product-rating i {
    margin: 0 1px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #0153a6;
    margin-bottom: 18px;
}

.product-price .old-price {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 500;
}

.btn-add-cart {
    background-color: #0153a6;
    color: white;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.product-card:hover .btn-add-cart {
    opacity: 1;
    transform: translateY(0);
}

.btn-add-cart:hover {
    background-color: #0153a6;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}


/* Color option label */
.color-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;        /* ← centers everything horizontally */
    justify-content: center;    /* ← centers everything vertically */
    gap: 4px;
    cursor: pointer;
    padding: 7px 9px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.2s ease;
    min-width: 62px;
    text-align: center;
    user-select: none;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.color-option-label:hover {
    border-color: #0066cc;
    background: #f0f6ff;
}
.color-option-label.color-selected {
    border-color: #0066cc;
    background: #e8f0fe;
}
.color-option-label.color-out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
}
.color-option-label.color-out-of-stock:hover {
    border-color: transparent;
    background: #fff;
}

/* Color circle — MUST be flex to center the cross icon inside */
.color-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;              /* ← was "block", changed to flex */
    align-items: center;        /* ← centers cross icon vertically */
    justify-content: center;    /* ← centers cross icon horizontally */
    border: 2px solid rgba(0,0,0,0.12);
    position: relative;
    flex-shrink: 0;
    margin: 0 auto;             /* ← centers the circle within the label */
}

/* Cross overlay for out-of-stock */
.color-cross {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.65);
    border-radius: 50%;
    color: #dc3545;
    font-size: 11px;
}

/* Color name */
.color-label-name {
    font-size: 0.72rem;
    color: #555;
    font-weight: 500;
    white-space: nowrap;
    display: block;
    text-align: center;
    width: 100%;
}

/* Small stock indicator dot */
.stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;             /* ← centers the dot */
}
.dot-green { background: #28a745; }
.dot-red   { background: #dc3545; }

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.feature-card.computer {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.feature-card.smart-watch {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.feature-card.black-friday {
    background-color: #0153a6;
    color: white;
}

.feature-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card .price {
    font-size: 28px;
    font-weight: 700;
    margin: 15px 0;
}

/* Banner Section */
.banner-card {
    overflow: hidden;
}

/* ---- SLIDER ---- */
.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---- DOT INDICATORS ---- */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 22px 0 26px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    width: 14px;
    height: 14px;
    background: #1a6dd4;
    box-shadow: 0 0 0 3px rgba(26, 109, 212, 0.25);
}

.dot:hover:not(.active) {
    background: #999;
}

/* Tabs */
.product-tabs {
    margin-bottom: 30px;
}

.nav-tabs {
    border-bottom: 2px solid #eee;
}

.nav-tabs .nav-link {
    color: #666;
    font-weight: 600;
    border: none;
    padding: 15px 25px;
    transition: all 0.3s;
}

.nav-tabs .nav-link:hover {
    color: #0153a6;
}

.nav-tabs .nav-link.active {
    color: #0153a6;
    border-bottom: 3px solid #0153a6 !important;
    background-color: #e3e3e3;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}



/* ════════════════════════════════════════════
   CSS VARIABLES
   ════════════════════════════════════════════ */
:root {
    --blue: #0153a6;
    --blue-hover: #0166cc;
    --blue-light: #e8f1fb;
    --dark: #484848;
    --dark-light: #6b6b6b;
    --border: #e9ecef;
    --bg-card: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(1, 83, 166, .10);
    --shadow-md: 0 4px 20px rgba(1, 83, 166, .14);
    --radius: 10px;
    --radius-sm: 6px;
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

/* ── Demo trigger button ── */
.demo-trigger {
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background var(--transition), transform .15s;
    font-family: inherit;
}

.demo-trigger:hover {
    background: var(--blue-hover);
}

.demo-trigger:active {
    transform: scale(.96);
}

.demo-trigger i {
    margin-right: 8px;
}


/* ════════════════════════════════════════════
   OFFCANVAS SHELL
   ════════════════════════════════════════════ */
.offcanvas-end {
    width: 400px !important;
    max-width: 92vw;
    box-shadow: -8px 0 40px rgba(1, 83, 166, .18);
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

/* ── Header ── */
.offcanvas-header {
    background: var(--blue);
    padding: 22px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offcanvas-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .2px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offcanvas-title i {
    font-size: 16px;
    opacity: .85;
}

/* item-count pill */
.cart-count-pill {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: .3px;
}

/* close btn override */
.offcanvas-header .btn-close {
    filter: invert(1);
    opacity: .7;
    transition: opacity var(--transition);
    margin: 0;
}

.offcanvas-header .btn-close:hover {
    opacity: 1;
}

/* ── Body ── */
.offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 74px);
    /* full height minus header */
}

/* ── Scrollable cart list ── */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
    scrollbar-width: thin;
    scrollbar-color: var(--blue) transparent;
}

.cart-items::-webkit-scrollbar {
    width: 5px;
}

.cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 3px;
}


/* ════════════════════════════════════════════
   SINGLE CART ITEM ROW
   ════════════════════════════════════════════ */
.cart-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow var(--transition), border-color var(--transition);
    animation: fadeSlideIn .28s ease both;
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(1, 83, 166, .2);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Thumbnail */
.cart-item-img {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--blue-light);
    flex-shrink: 0;
}

/* Info block */
.cart-item-info {
    flex: 1;
    min-width: 0;
    /* allows text-overflow to work */
}

.cart-item-info h6 {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.cart-item-info .item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
}

/* Quantity row: controls left, delete right */
.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

/* +/− controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
    font-family: inherit;
    line-height: 1;
}

.qty-btn:hover {
    background: var(--blue);
    color: var(--white);
}

.qty {
    width: 34px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    background: var(--white);
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    line-height: 30px;
    user-select: none;
}

/* Delete (trash) button */
.btn-delete {
    width: 32px;
    height: 32px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--dark-light);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    padding: 0;
}

.btn-delete:hover {
    background: #fff0f0;
    border-color: #f5c6cb;
    color: #d32f2f;
}


/* ════════════════════════════════════════════
   EMPTY STATE
   ════════════════════════════════════════════ */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 60px 20px;
    text-align: center;
    color: var(--dark-light);
}

.cart-empty .empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cart-empty .empty-icon i {
    font-size: 30px;
    color: var(--blue);
}

.cart-empty h6 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.cart-empty p {
    font-size: 13px;
    color: var(--dark-light);
    line-height: 1.55;
    max-width: 220px;
}


/* ════════════════════════════════════════════
   FOOTER – SUBTOTAL + CHECKOUT
   ════════════════════════════════════════════ */
.cart-footer {
    padding: 18px 22px 24px;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* Subtotal row */
.subtotal-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
}

.subtotal-row .label {
    font-size: 13px;
    color: var(--dark-light);
    font-weight: 500;
}

.subtotal-row .amount {
    font-size: 13px;
    color: var(--dark-light);
    font-weight: 500;
}

/* Total row */
.total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.total-row .label {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.total-row .amount {
    font-size: 19px;
    font-weight: 700;
    color: var(--blue);
}

/* Checkout button */
.btn-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition), transform .13s, box-shadow var(--transition);
    box-shadow: 0 3px 12px rgba(1, 83, 166, .3);
}

.btn-checkout:hover {
    background: var(--blue-hover);
    box-shadow: 0 5px 18px rgba(1, 83, 166, .38);
}

.btn-checkout:active {
    transform: scale(.965);
}

.btn-checkout i {
    margin-right: 7px;
}

/* hide footer when empty */
.cart-footer.d-none {
    display: none !important;
}




/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

/* Buttons */
.general-button{
    background-color: #0153a6 !important;
    border-color: #0153a6 !important;
    color: white;
}

.general-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 110, 109, 0.3);
}


.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
    transform: translateY(-2px);
}


/* Social Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #0153a6 !important;
    transform: scale(1.2);
}

/* Thumbnail Images */
.thumbnail-item {
    transition: all 0.3s ease;
    border: 2px solid #dee2e6 !important;
    width: 80px; height: 80px; cursor: pointer;
    
}

.thumbnail-item:hover {
    border-color: #0153a6 !important;
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: #0153a6 !important;
}

.existing-image-item.marked-for-delete img {
    opacity: 0.35;
    filter: grayscale(100%);
}
.existing-image-item.marked-for-delete::after {
    content: 'Will be removed';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(220,53,69,0.82);
    color: #fff;
    font-size: 0.6rem;
    text-align: center;
    padding: 2px 0;
    border-radius: 0 0 4px 4px;
}
.delete-image-btn.undo-mode {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Quantity Input */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    opacity: 1;
}

.quantity-minus,
.quantity-plus {
    transition: all 0.2s ease;
}

.quantity-minus:active,
.quantity-plus:active {
    transform: scale(0.95);
}

.product-details,
.tab-content {
    animation: fadeIn 0.5s ease-in-out;
}

.technical-specs, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    background-color: #f8f9fa !important;
}
.product_color{
    border: 1px solid;
}
/* ═══════════════════════════════════════════════════════════
   REVIEWS TAB — Component styles only
   Layout handled by Bootstrap row/col utilities
   ═══════════════════════════════════════════════════════════ */

/* ── Section Wrapper ── */
.reviews-section {
    background: #f7f6f3;
    border-radius: 20px;
    padding: 40px;
    margin-top: 10px;
}

/* ── Score Panel (dark card) ── */
.score-panel {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 28px 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.score-panel::after {
    content: '"';
    position: absolute;
    top: -24px;
    right: 16px;
    font-size: 160px;
    line-height: 1;
    color: rgba(255,255,255,.04);
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}
.score-big {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffc107;
    letter-spacing: -2px;
}
.score-big span {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255,255,255,.35);
    letter-spacing: 0;
}

/* Breakdown bars */
.breakdown-bar-wrap {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 99px;
    overflow: hidden;
}
.breakdown-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 99px;
    transition: width .8s cubic-bezier(.4,0,.2,1);
}

/* ── Write a Review Panel ── */
.write-review-panel {
    background: #fff;
    border-radius: 16px;
    padding: 26px 28px;
    border: 1.5px solid #ede9e2;
    display: flex;
    flex-direction: column;
}

/* ── Star Rating Widget ── */
.star-rating-widget {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-bottom: 4px;
}
.star-rating-widget .star-btn {
    font-size: 1.65rem;
    cursor: pointer;
    color: #e0ddd6;
    transition: color .1s, transform .15s;
    background: none;
    border: none;
    padding: 0 3px;
    line-height: 1;
    user-select: none;
}
.star-rating-widget .star-btn:hover  { transform: scale(1.25); }
.star-rating-widget .star-btn.filled { color: #ffc107; }

.form-label-small {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #a0998e;
    margin-bottom: 6px;
    display: block;
}
.field-error { font-size: 11.5px; }
#ratingError { font-size: 11.5px; }

/* ── Form Inputs ── */
.write-review-panel .form-control {
    border: 1.5px solid #ede9e2;
    border-radius: 10px;
    font-size: .875rem;
    padding: 10px 13px;
    background: #fafaf8;
    color: #1a1a1a;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.write-review-panel .form-control::placeholder { color: #c8c4bc; }
.write-review-panel .form-control:focus {
    border-color: #0153a6;
    box-shadow: 0 0 0 3px rgba(255,87,34,.09);
    background: #fff;
    outline: none;
}
.write-review-panel .form-control.is-invalid {
    border-color: #b01818;
    box-shadow: 0 0 0 3px rgba(239,68,68,.07);
}
.write-review-panel textarea.form-control {
    resize: vertical;
    min-height: 92px;
}

/* ── Photo Upload Label ── */
.photo-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1.5px dashed #ddd8ce;
    border-radius: 10px;
    cursor: pointer;
    background: #fafaf8;
    font-size: .82rem;
    color: #9ca3af;
    transition: border-color .2s, background .2s, color .2s;
}
.photo-upload-label:hover {
    border-color: #0153a6;
    background: #fff7f5;
    color: #0153a6;
}
.photo-upload-label i { font-size: 1rem; }

/* ── Submit Button ── */
.btn-review-submit {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: .875rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background .2s, transform .15s;
    letter-spacing: .3px;
    margin-top: auto;
}
.btn-review-submit:hover:not(:disabled) {
    background: #0153a6;
    transform: translateY(-1px);
}
.btn-review-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ── Inline Alert Messages ── */
.review-inline-msg {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: .83rem;
    margin-bottom: 14px;
    display: none;
}

/* ── Review Photo Hover ── */
#reviewsWrapper img:hover {
    opacity: .88;
    transform: scale(1.05);
    transition: transform .2s, opacity .2s;
}

/* ── Empty State ── */
.reviews-empty {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1.5px dashed #e0dbd0;
}
.reviews-empty .empty-icon {
    font-size: 2.6rem;
    color: #ddd8ce;
    display: block;
    margin-bottom: 14px;
}
.reviews-empty p {
    font-size: .875rem;
    color: #a0998e;
    margin: 0;
}

/* ── Pagination ── */
#reviewsWrapper .pagination {
    justify-content: center;
    gap: 4px;
    margin-top: 28px;
    flex-wrap: wrap;
}
#reviewsWrapper .pagination .page-item .page-link {
    border-radius: 8px !important;
    border: 1.5px solid #e8e5de;
    color: #4b5563;
    font-size: .82rem;
    font-weight: 600;
    padding: 7px 13px;
    transition: all .2s;
    background: #fff;
}
#reviewsWrapper .pagination .page-item.active .page-link {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
#reviewsWrapper .pagination .page-item:not(.active) .page-link:hover {
    background: #0153a6;
    border-color: #0153a6;
    color: #fff;
} 
#reviewsWrapper > .small{
    display: none;
}

#reviewsWrapper .pagination .page-item.disabled .page-link {
    opacity: .4;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .reviews-section { padding: 24px 18px; }
}
@media (max-width: 575px) {
    .score-big { font-size: 3.2rem; }
}

/*product search */
/* ── Dropdown wrapper ── */
.live-search-dropdown {
    display: none;                    /* JS shows/hides this */
    position: absolute;
    top: 100%;                        /* sits right below the search input */
    left: 0;
    right: 0;
    z-index: 99999;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 2px solid #0d6efd;   /* blue top accent line */
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    max-height: 460px;
    overflow-y: auto;
}

/* Smooth scrollbar */
.live-search-dropdown::-webkit-scrollbar       { width: 4px; }
.live-search-dropdown::-webkit-scrollbar-track { background: #f5f5f5; }
.live-search-dropdown::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

/* ── Each product row ── */
.lsd-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.12s ease;
}

.lsd-item:last-of-type {
    border-bottom: none;
}

.lsd-item:hover,
.lsd-item.lsd-active {
    background: #f0f6ff;
    text-decoration: none;
}

/* ── Product image ── */
.lsd-img {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #ebebeb;
}

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

/* ── Product text info ── */
.lsd-info {
    flex: 1;
    min-width: 0;
}

.lsd-cat {
    font-size: 0.68rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
}

.lsd-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    line-height: 1.3;
}

.lsd-item:hover .lsd-name,
.lsd-item.lsd-active .lsd-name {
    color: #0d6efd;
}

/* Highlighted matched text in yellow */
.lsd-name mark {
    background: #fff176;
    color: #222;
    border-radius: 2px;
    padding: 0 1px;
    font-style: normal;
}

/* ── Price row ── */
.lsd-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lsd-price {
    font-weight: 700;
    font-size: 0.88rem;
    color: #0d6efd;
}

.lsd-old-price {
    font-size: 0.76rem;
    color: #bbb;
    text-decoration: line-through;
}

/* ── New / Best Seller badge ── */
.lsd-badge {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lsd-new { background: #d4edda; color: #155724; }
.lsd-hot { background: #fff3cd; color: #856404; }

/* ── Stock indicator ── */
.lsd-stock {
    flex-shrink: 0;
    font-size: 1rem;
}

.lsd-in-stock  { color: #28a745; }
.lsd-out-stock { color: #dc3545; }

/* ── Loading / no results message ── */
.lsd-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 14px;
    font-size: 0.88rem;
    color: #777;
}

.lsd-message i {
    font-size: 1.1rem;
    color: #ccc;
}

/* ── Spinner ── */
.lsd-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: lsdSpin 0.55s linear infinite;
    flex-shrink: 0;
}
/*product search */


/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
    }

    .banner-content h2 {
        font-size: 24px;
    }

    .banner-content .price {
        font-size: 32px;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .countdown-item {
        flex: 1 1 45%;
    }
}

/* ─── Desktop: show desktop row, hide mobile rows ─── */
@media (min-width: 768px) {
    .mobile-row {
        display: none !important;
    }

    .desktop-row {
        display: flex !important;
    }
}

/* ─── Mobile: hide desktop row, show mobile rows ─── */
@media (max-width: 767px) {
    .navbar-nav {
        gap: 0.3rem !important;
    }

    .nav-item {
        margin-top: 1rem;
    }

    .desktop-row {
        display: none !important;
    }

    .mobile-row {
        display: flex;
    }

    /* Row 1: Logo left ←──→ Icons right */
    .mobile-top-row {
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 8px 0;
    }

    /* Row 2: Full-width search bar below */
    .mobile-search-row {
        width: 100%;
        padding-bottom: 8px;
    }

    .mobile-search-row .search-form,
    .mobile-search-row .input-group {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .product-details h1 {
        font-size: 1.5rem;
    }

    .product-details h2 {
        font-size: 1.75rem;
    }


    #mainImageContainer {
        min-height: 300px;
    }

    #mainProductImage {
        max-height: 300px;
    }

    .thumbnail-item {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 576px) {
    .product-details h1 {
        font-size: 1.25rem;
    }

    .product-details h2 {
        font-size: 1.5rem;
    }

    .btn-danger {
        font-size: 14px;
        padding: 0.75rem 1rem !important;
    }

    .thumbnail-item {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lsdSpin {
    to { transform: rotate(360deg); }
}

/* ── Mobile tweaks ── */
@media (max-width: 767px) {
    .live-search-dropdown {
        max-height: 360px;
        border-radius: 0 0 8px 8px;
    }

    .lsd-img {
        width: 50px;
        height: 50px;
    }

    .lsd-name {
        font-size: 0.82rem;
    }
}