/* Rasdarps Mall Storefront & Customer Portal CSS */
:root {
    --shop-primary: #ff6b00;
    --shop-primary-hover: #e05a00;
    --shop-primary-light: #fff7ed;
    --shop-secondary: #0b1b3d;
    --shop-secondary-hover: #071126;
    --shop-secondary-light: #e8edf5;
    --shop-accent: #0b1b3d;
    --shop-accent-hover: #071126;
    --shop-dark: #0b1b3d;
    --shop-body: #1e293b;
    --shop-muted: #64748b;
    --shop-light: #f8fafc;
    --shop-border: #e2e8f0;
    --shop-card-shadow: 0 4px 6px -1px rgba(11, 27, 61, 0.05), 0 2px 4px -2px rgba(11, 27, 61, 0.05);
    --shop-card-hover: 0 10px 15px -3px rgba(11, 27, 61, 0.08), 0 4px 6px -4px rgba(11, 27, 61, 0.05);
    --shop-radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--shop-body);
    background-color: var(--shop-light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

a {
    color: var(--shop-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--shop-primary-hover);
}

/* Header & Navigation */
.shop-topbar {
    background-color: var(--shop-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 0.4rem 0;
}

.shop-topbar a {
    color: #e2e8f0;
}

.shop-topbar a:hover {
    color: var(--shop-accent, #06b6d4);
}

.shop-navbar {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.shop-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--shop-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.shop-brand-logo {
    height: 52px;
    max-height: 56px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

@media (max-width: 767.98px) {
    .shop-brand-logo {
        height: 42px;
        max-height: 44px;
    }
}

.shop-brand:hover .shop-brand-logo {
    transform: scale(1.02);
}

.shop-brand:hover {
    color: var(--shop-primary);
}

.shop-brand-badge {
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-accent));
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.shop-search-form {
    position: relative;
    max-width: 460px;
    width: 100%;
}

.shop-search-input {
    border-radius: 50px;
    padding-left: 2.75rem;
    padding-right: 1.25rem;
    border: 1px solid var(--shop-border);
    background-color: #f1f5f9;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.shop-search-input:focus {
    background-color: #ffffff;
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.shop-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--shop-muted);
}

.shop-nav-action {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--shop-dark);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    transition: background 0.2s ease;
}

.shop-nav-action:hover {
    background-color: #f1f5f9;
    color: var(--shop-primary);
}

.shop-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--shop-accent);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.15rem 0.45rem;
    line-height: 1;
}

/* Category Navigation Sub-bar */
.shop-subnav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--shop-border);
    padding: 0.5rem 0;
    font-size: 0.92rem;
    font-weight: 500;
}

.shop-subnav a {
    color: #475569;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
}

.shop-subnav a:hover,
.shop-subnav a.active {
    color: var(--shop-primary);
    background-color: var(--shop-primary-light);
}

/* Hero Section */
.shop-hero-carousel {
    border-radius: 0 0 24px 24px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background-color: #071126;
    box-shadow: 0 10px 30px rgba(7, 17, 38, 0.12);
}

.shop-hero-slide {
    min-height: 480px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.shop-hero-slide-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
}

.shop-hero-slide-overlay {
    width: 100%;
    min-height: 480px;
    padding: 4.5rem 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(7, 17, 38, 0.88) 0%, rgba(11, 27, 61, 0.7) 50%, rgba(15, 23, 42, 0.25) 100%);
    color: #ffffff;
    position: relative;
}

.shop-hero-slide-overlay.shop-hero-clean-banner {
    background: transparent;
    min-height: 440px;
}

.shop-slider-arrow {
    width: auto;
    opacity: 1;
    padding: 0 1.75rem;
    z-index: 10;
    border: none;
    background: transparent;
}

.shop-slider-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-slider-arrow:hover .shop-slider-arrow-btn {
    background: var(--shop-primary, #ff6b00);
    color: #ffffff;
    border-color: var(--shop-primary, #ff6b00);
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

.shop-carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
    gap: 8px;
    z-index: 8;
}

.shop-carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0.8;
    transition: all 0.3s ease;
    margin: 0;
}

.shop-carousel-indicators button.active {
    width: 34px;
    border-radius: 8px;
    background-color: var(--shop-primary, #ff6b00);
    border-color: #ffffff;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .shop-hero-slide,
    .shop-hero-slide-overlay {
        min-height: 380px;
        padding: 3rem 0;
    }
    .shop-hero-slide-overlay.shop-hero-clean-banner {
        min-height: 260px;
    }
    .shop-slider-arrow {
        padding: 0 0.75rem;
    }
    .shop-slider-arrow-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .shop-hero-slide,
    .shop-hero-slide-overlay {
        min-height: 340px;
        padding: 2.5rem 0;
    }
    .shop-hero-slide-overlay.shop-hero-clean-banner {
        min-height: 200px;
    }
    .shop-slider-arrow {
        padding: 0 0.4rem;
    }
    .shop-slider-arrow-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

.shop-hero {
    background: linear-gradient(135deg, #071126 0%, #0b1b3d 50%, #152c5b 100%);
    color: #ffffff;
    padding: 4.5rem 0;
    border-radius: 0 0 24px 24px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.shop-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.shop-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.shop-hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 540px;
}

.btn-shop-primary {
    background-color: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    transition: all 0.2s ease;
}

.btn-shop-primary:hover {
    background-color: var(--shop-primary-hover);
    border-color: var(--shop-primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4);
}

.btn-shop-outline {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.btn-shop-outline:hover {
    background-color: #ffffff;
    color: var(--shop-dark);
}

/* ==========================================================================
   Homepage Call-To-Action (Can't Find What You're Looking For) Section
   ========================================================================== */
.shop-cta-section {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, #071126 0%, #0c1a3b 50%, #152c5b 100%);
    color: #ffffff;
    padding: 3.75rem 2rem;
    overflow: hidden;
    margin: 3.5rem 0;
    box-shadow: 0 20px 45px -12px rgba(7, 17, 38, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.shop-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.shop-cta-watermark {
    position: absolute;
    right: -20px;
    bottom: -35px;
    font-size: 240px;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    line-height: 1;
    z-index: 1;
    user-select: none;
}

.shop-cta-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.shop-cta-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.shop-cta-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.6px;
    margin-bottom: 1rem;
    color: #ffffff;
}

.shop-cta-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 1.75rem;
    max-width: 640px;
}

.shop-cta-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.shop-cta-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-shop-cta-primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.85rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-shop-cta-primary:hover {
    background: linear-gradient(135deg, #e66000 0%, #ff6b00 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.5);
}

.btn-shop-cta-whatsapp {
    background: #25D366;
    border: 1px solid #20bd5a;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-shop-cta-whatsapp:hover {
    background: #1faa51;
    border-color: #1faa51;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.45);
}

.btn-shop-cta-call {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-shop-cta-call:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .shop-cta-section {
        padding: 2.75rem 1.25rem;
        margin: 2.5rem 0;
        border-radius: 18px;
    }
    .shop-cta-title {
        font-size: 1.75rem;
    }
    .shop-cta-desc {
        font-size: 0.95rem;
    }
    .shop-cta-perks {
        gap: 0.65rem;
    }
    .shop-cta-perk-item {
        font-size: 0.78rem;
    }
    .shop-cta-watermark {
        display: none;
    }
}

/* Feature Value Props */
.shop-features {
    margin-bottom: 3.5rem;
}

.feature-box {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--shop-radius);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shop-card-shadow);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--shop-dark);
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--shop-muted);
    margin: 0;
}

/* Category Cards */
.category-card {
    background: #ffffff;
    border-radius: var(--shop-radius);
    border: 1px solid var(--shop-border);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shop-card-shadow);
    transition: all 0.25s ease;
    display: block;
    color: inherit;
    height: 100%;
}

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

.category-img-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-img-wrap img {
    transform: scale(1.08);
}

.category-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.8rem;
    color: var(--shop-muted);
}

/* ==========================================================================
   Category Rounded Slider (Browse / Shop by Category)
   ========================================================================== */
.category-slider-section {
    position: relative;
    margin-bottom: 3.5rem;
}

.category-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.category-slider-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--shop-dark, #0f172a);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.category-slider-subtitle {
    font-size: 0.95rem;
    color: var(--shop-muted, #64748b);
    margin-bottom: 0;
}

.category-slider-wrapper {
    position: relative;
    padding: 0 4px;
}

/* Fixed Number of Items Per Screen Size */
.category-slider-track {
    --cat-items: 6; /* Desktop: exactly 6 items */
    --cat-gap: 24px;
    display: flex;
    gap: var(--cat-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    padding: 0.75rem 0.25rem 0.75rem 0.25rem;
    scroll-snap-type: x proximity;
}

.category-slider-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.category-slider-item {
    /* Exact calculation: (100% - total gap space) / item count */
    flex: 0 0 calc((100% - (var(--cat-gap) * (var(--cat-items) - 1))) / var(--cat-items));
    max-width: calc((100% - (var(--cat-gap) * (var(--cat-items) - 1))) / var(--cat-items));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--shop-dark, #0f172a);
    transition: transform 0.25s ease;
    user-select: none;
    scroll-snap-align: start;
}

.category-slider-item:hover {
    transform: translateY(-4px);
    color: var(--shop-primary, #ff6b00);
}

.category-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f8fafc 70%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.75rem;
    padding: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.category-slider-item:hover .category-circle {
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.18);
    border-color: var(--shop-primary, #ff6b00);
    background: #ffffff;
}

.category-circle img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-slider-item:hover .category-circle img {
    transform: scale(1.12);
}

.category-circle-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-primary, #ff6b00);
    font-size: 2.25rem;
    opacity: 0.85;
}

.category-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.category-slider-item:hover .category-label {
    color: var(--shop-primary, #ff6b00);
}

/* Floating Navigation Arrows */
.category-slider-arrow {
    position: absolute;
    top: 76px; /* Centers with 130px circle */
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    outline: none;
    font-size: 0.95rem;
}

.category-slider-arrow:hover {
    background-color: #ffffff;
    color: var(--shop-primary, #ff6b00);
    border-color: var(--shop-primary, #ff6b00);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.category-slider-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.category-slider-arrow.prev {
    left: -16px;
}

.category-slider-arrow.next {
    right: -16px;
}

.category-slider-arrow.is-hidden {
    display: none !important;
}

/* Screen Breakpoints for Fixed Category Counts */

/* Small Desktop / Laptop (992px to 1199px): Fixed 5 items */
@media (max-width: 1199px) {
    .category-slider-track {
        --cat-items: 5;
        --cat-gap: 20px;
    }
    .category-circle {
        width: 120px;
        height: 120px;
        padding: 16px;
    }
    .category-slider-arrow {
        top: 72px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .category-slider-arrow.prev {
        left: -12px;
    }
    .category-slider-arrow.next {
        right: -12px;
    }
}

/* Tablet (768px to 991px): Fixed 4 items */
@media (max-width: 991px) {
    .category-slider-track {
        --cat-items: 4;
        --cat-gap: 18px;
    }
    .category-circle {
        width: 110px;
        height: 110px;
        padding: 14px;
    }
    .category-slider-arrow {
        top: 67px;
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    .category-slider-arrow.prev {
        left: -8px;
    }
    .category-slider-arrow.next {
        right: -8px;
    }
}

/* Mobile Landscape / Phablet (576px to 767px): Fixed 3 items */
@media (max-width: 767px) {
    .category-slider-track {
        --cat-items: 3;
        --cat-gap: 16px;
    }
    .category-circle {
        width: 98px;
        height: 98px;
        padding: 12px;
    }
    .category-slider-arrow {
        top: 61px;
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .category-slider-arrow.prev {
        left: -6px;
    }
    .category-slider-arrow.next {
        right: -6px;
    }
}

/* Mobile Phone (< 576px): Fixed 3 items */
@media (max-width: 575px) {
    .category-slider-track {
        --cat-items: 3;
        --cat-gap: 12px;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    .category-circle {
        width: 88px;
        height: 88px;
        padding: 10px;
    }
    .category-label {
        font-size: 0.82rem;
    }
    .category-slider-arrow {
        top: 56px;
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }
    .category-slider-arrow.prev {
        left: -4px;
    }
    .category-slider-arrow.next {
        right: -4px;
    }
}

/* Extra small phones (< 380px): Fixed 2 items */
@media (max-width: 380px) {
    .category-slider-track {
        --cat-items: 2;
        --cat-gap: 12px;
    }
    .category-circle {
        width: 95px;
        height: 95px;
    }
}

/* Product Cards */
.product-card {
    background: #ffffff;
    border-radius: var(--shop-radius);
    border: 1px solid var(--shop-border);
    overflow: hidden;
    box-shadow: var(--shop-card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shop-card-hover);
    border-color: #cbd5e1;
}

.product-badge-group {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 2;
}

.product-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    line-height: 1;
}

.product-badge-sale {
    background-color: #ef4444;
    color: #ffffff;
}

.product-badge-featured {
    background-color: var(--shop-accent);
    color: #ffffff;
}

.product-badge-outofstock {
    background-color: #64748b;
    color: #ffffff;
}

.product-img-wrapper {
    aspect-ratio: 1 / 1;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-img-link img,
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img-link img,
.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

/* Hover Action Icons */
.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transform: translateX(12px);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

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

/* Touch device fallback: always show softly */
@media (hover: none) {
    .product-card-actions {
        opacity: 0.95;
        transform: translateX(0);
        pointer-events: auto;
    }
}

.product-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    outline: none;
    padding: 0;
}

/* Stagger hover entrance */
.product-card-actions .product-action-btn:nth-child(1) { transition-delay: 0s; }
.product-card-actions .product-action-btn:nth-child(2) { transition-delay: 0.04s; }
.product-card-actions .product-action-btn:nth-child(3) { transition-delay: 0.08s; }

.product-action-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Wishlist button hover / active */
.product-action-btn.btn-wishlist-toggle:hover {
    background-color: #fef2f2;
    color: #ef4444;
    border-color: #fecaca;
}

.product-action-btn.btn-wishlist-toggle.is-wishlisted {
    background-color: #fef2f2;
    color: #ef4444;
    border-color: #fca5a5;
}

.product-action-btn.btn-wishlist-toggle.is-wishlisted i {
    font-weight: 900;
}

/* View Details button hover */
.product-action-btn.btn-view-details:hover {
    background-color: var(--shop-secondary, #0b1b3d);
    color: #ffffff;
    border-color: var(--shop-secondary, #0b1b3d);
}

/* Quick Add to Cart button hover */
.product-action-btn.btn-quick-cart:hover {
    background-color: var(--shop-primary, #ff6b00);
    color: #ffffff;
    border-color: var(--shop-primary, #ff6b00);
}

.product-action-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f1f5f9;
}

.product-img-placeholder {
    font-size: 3rem;
    color: #cbd5e1;
}

.product-card-body {
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--shop-dark);
    margin-bottom: 0.25rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7rem;
}

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

.product-price-row {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-current-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--shop-dark);
}

.product-compare-price {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-card-action {
    margin-top: 0.85rem;
}

.btn-shop-sm {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* Product Detail Page */
.product-detail-wrap {
    background: #ffffff;
    border-radius: var(--shop-radius);
    border: 1px solid var(--shop-border);
    padding: 2.25rem;
    box-shadow: var(--shop-card-shadow);
    margin-bottom: 2.5rem;
}

.product-main-image-box {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8fafc;
    border: 1px solid var(--shop-border);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumb-item {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    background-color: #f1f5f9;
}

.thumb-item.active {
    border-color: var(--shop-primary);
}

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

.product-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--shop-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.product-detail-sku {
    font-size: 0.85rem;
    color: var(--shop-muted);
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--shop-dark);
}

.product-options-group {
    margin: 1.5rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--shop-border);
    border-bottom: 1px solid var(--shop-border);
}

.option-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
    color: var(--shop-dark);
}

.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.option-chip {
    padding: 0.45rem 1.1rem;
    border: 1.5px solid var(--shop-border);
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

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

.option-chip.active {
    background-color: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #ffffff;
}

.option-chip.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

.quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--shop-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.stepper-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--shop-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.stepper-btn:hover {
    background-color: #f1f5f9;
}

.stepper-input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    outline: none;
}

/* Specifications Table */
.spec-table {
    margin-bottom: 0;
}

.spec-table th {
    width: 30%;
    color: var(--shop-muted);
    font-weight: 600;
    font-size: 0.9rem;
    background-color: #f8fafc;
    border-color: var(--shop-border);
}

.spec-table td {
    color: var(--shop-dark);
    font-weight: 500;
    font-size: 0.9rem;
    border-color: var(--shop-border);
}

/* Trust Card / Box */
.trust-badges-card {
    background-color: #f8fafc;
    border: 1px dashed var(--shop-border);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--shop-body);
}

.trust-item i {
    color: var(--shop-primary);
    font-size: 1.1rem;
}

/* Catalog Sidebar Filter */
.filter-card {
    background: #ffffff;
    border-radius: var(--shop-radius);
    border: 1px solid var(--shop-border);
    padding: 1.5rem;
    box-shadow: var(--shop-card-shadow);
    margin-bottom: 1.5rem;
}

.filter-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--shop-dark);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.filter-list-item {
    margin-bottom: 0.5rem;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    color: #475569;
    font-size: 0.9rem;
}

.filter-link:hover,
.filter-link.active {
    background-color: var(--shop-primary-light);
    color: var(--shop-primary);
    font-weight: 600;
}

/* Footer */
.shop-footer {
    background-color: var(--shop-dark);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    font-size: 0.92rem;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   New Arrivals Infinite Auto-Scroll Carousel
   ========================================================================== */
.new-arrivals-section {
    position: relative;
    margin-bottom: 3.5rem;
}

.new-arrivals-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--shop-dark, #0f172a);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.new-arrivals-subtitle {
    font-size: 0.95rem;
    color: var(--shop-muted, #64748b);
    margin-bottom: 0;
}

.new-arrivals-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0.25rem 1rem 0.25rem;
}

/* Track holding the product cards */
.new-arrivals-track {
    --arrival-gap: 20px;
    --arrival-items: 4.5; /* Shows 4-5 products visible on desktop */
    display: flex;
    gap: var(--arrival-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    cursor: grab;
    user-select: none;
    padding-bottom: 0.5rem;
}

.new-arrivals-track:active {
    cursor: grabbing;
}

.new-arrivals-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Individual product card container in the track */
.new-arrival-item {
    flex: 0 0 calc((100% - (var(--arrival-gap) * (var(--arrival-items) - 1))) / var(--arrival-items));
    max-width: calc((100% - (var(--arrival-gap) * (var(--arrival-items) - 1))) / var(--arrival-items));
    display: flex;
    flex-direction: column;
}

.new-arrival-item .product-card {
    height: 100%;
}

/* Header Navigation Buttons */
.arrival-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    outline: none;
}

.arrival-nav-btn:hover {
    background-color: #ffffff;
    color: var(--shop-primary, #ff6b00);
    border-color: var(--shop-primary, #ff6b00);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
    transform: scale(1.06);
}

.arrival-nav-btn:active {
    transform: scale(0.96);
}

/* Responsive Breakpoints for Showing 4-5 Products */
@media (min-width: 1400px) {
    .new-arrivals-track {
        --arrival-items: 4.8; /* 4-5 products visible */
        --arrival-gap: 22px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .new-arrivals-track {
        --arrival-items: 4.2; /* 4-5 products visible */
        --arrival-gap: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .new-arrivals-track {
        --arrival-items: 3.5;
        --arrival-gap: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .new-arrivals-track {
        --arrival-items: 2.8;
        --arrival-gap: 16px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .new-arrivals-track {
        --arrival-items: 2.2;
        --arrival-gap: 14px;
    }
}

@media (max-width: 575px) {
    .new-arrivals-track {
        --arrival-items: 1.5;
        --arrival-gap: 12px;
    }
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .shop-hero-title {
        font-size: 2.15rem;
    }
    .product-detail-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    .shop-hero {
        padding: 3rem 0;
    }
    .shop-hero-title {
        font-size: 1.75rem;
    }
    .product-detail-wrap {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   Customer Authentication & Account Portal Styling
   ========================================================================== */
.customer-auth-wrapper {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.customer-auth-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    padding: 2.25rem 2rem;
    position: relative;
}

.customer-auth-modal .modal-dialog {
    max-width: 480px;
}

.customer-auth-modal .modal-content {
    border-radius: 22px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.75rem;
}

.customer-auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.customer-auth-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--shop-dark);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.customer-auth-subtitle {
    font-size: 0.95rem;
    color: var(--shop-muted);
    margin-bottom: 0;
}

.customer-auth-tabs {
    display: flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 1.5rem;
}

.customer-auth-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.customer-auth-tab:hover {
    color: var(--shop-dark);
}

.customer-auth-tab.active {
    background: #ffffff;
    color: var(--shop-dark);
    border-color: #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.customer-auth-form .form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.customer-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.customer-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 3;
}

.customer-input {
    width: 100%;
    height: 48px;
    padding: 0.65rem 1rem 0.65rem 40px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.customer-input:focus {
    outline: none;
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.customer-input.has-toggle {
    padding-right: 42px;
}

.customer-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease;
    z-index: 4;
}

.customer-password-toggle:hover {
    color: var(--shop-dark);
}

/* Password Strength & Criteria */
.strength-bar-container {
    display: flex;
    gap: 6px;
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
}

.strength-segment {
    flex: 1;
    height: 4px;
    border-radius: 3px;
    background: #e2e8f0;
    transition: background-color 0.25s ease;
}

.strength-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
}

.strength-text {
    font-size: 0.78rem;
    font-weight: 700;
    margin-left: auto;
    color: #64748b;
    transition: color 0.25s ease;
}

.criteria-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    margin-top: 0.6rem;
    padding-left: 0;
    list-style: none;
}

.criteria-item {
    font-size: 0.78rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.criteria-item.met {
    color: var(--shop-primary-hover, #e05a00);
    font-weight: 600;
}

.criteria-item .criteria-icon {
    font-size: 0.85rem;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.criteria-item.met .criteria-icon {
    color: var(--shop-primary);
}

.customer-auth-btn {
    width: 100%;
    height: 50px;
    background-color: var(--shop-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.customer-auth-btn:hover {
    background-color: var(--shop-primary-hover);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
    transform: translateY(-1px);
}

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

.customer-auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #64748b;
}

.customer-auth-footer a {
    color: var(--shop-primary);
    font-weight: 700;
    text-decoration: none;
}

.customer-auth-footer a:hover {
    color: var(--shop-primary-hover);
    text-decoration: underline;
}

/* Account Dashboard Layout */
.account-wrapper {
    padding: 2.5rem 0 4rem;
}

.account-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.account-user-badge {
    padding: 1.5rem;
    background: linear-gradient(135deg, #071126 0%, #0b1b3d 100%);
    color: #ffffff;
    text-align: center;
}

.account-avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    border: 2px solid #ff6b00;
}

.account-nav-list {
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
}

.account-nav-item a,
.account-nav-item button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
    background: transparent;
    border-top: none;
    border-right: none;
    border-bottom: none;
    width: 100%;
    text-align: left;
}

.account-nav-item a:hover,
.account-nav-item button:hover {
    background: #f8fafc;
    color: var(--shop-primary);
    border-left-color: var(--shop-primary);
}

.account-nav-item.active a {
    background: var(--shop-primary-light, #fff7ed);
    color: var(--shop-primary);
    border-left-color: var(--shop-primary);
}

.account-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Notiflix Overlay & Modal High-ZIndex Guarantee
   Ensures notifications & loading spinners always float above Bootstrap 5
   modals (1055), backdrops (1050), and offcanvas drawers (1045).
   ========================================================================== */
[id^=NotiflixNotifyWrap],
[id^=NotiflixLoadingWrap],
[id^=NotiflixReportWrap],
[id^=NotiflixConfirmWrap],
[id^=NotiflixBlockWrap] {
    z-index: 99999 !important;
    pointer-events: auto !important;
}

[id^=NotiflixNotifyWrap] > div {
    pointer-events: auto !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   Paystack Action Button & Color Utility Styles (Rasdarps Mall Theme)
   ========================================================================== */
.btn-paystack-now {
    background: linear-gradient(135deg, var(--shop-primary, #ff6b00) 0%, var(--shop-primary-hover, #e05a00) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 0.85rem 1.5rem !important;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    letter-spacing: 0.01em;
}

.btn-paystack-now:hover,
.btn-paystack-now:focus {
    background: linear-gradient(135deg, var(--shop-primary-hover, #e05a00) 0%, #c44d00 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 107, 0, 0.45) !important;
}

.btn-paystack-now:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3) !important;
}

/* Color utilities - mapped to Rasdarps Mall theme */
.text-teal {
    color: var(--shop-primary, #ff6b00) !important;
}

.bg-teal {
    background-color: var(--shop-primary, #ff6b00) !important;
    color: #ffffff !important;
}

.bg-teal-subtle {
    background-color: var(--shop-primary-light, #fff7ed) !important;
    color: var(--shop-primary-hover, #e05a00) !important;
}

.border-teal {
    border-color: var(--shop-primary, #ff6b00) !important;
}

.btn-teal {
    background-color: var(--shop-primary, #ff6b00) !important;
    border-color: var(--shop-primary, #ff6b00) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 0.65rem 1.25rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25) !important;
}

.btn-teal:hover,
.btn-teal:focus {
    background-color: var(--shop-primary-hover, #e05a00) !important;
    border-color: var(--shop-primary-hover, #e05a00) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35) !important;
}

.btn-outline-teal {
    color: var(--shop-primary, #ff6b00) !important;
    border-color: var(--shop-primary, #ff6b00) !important;
    background-color: transparent !important;
    transition: all 0.2s ease !important;
}

.btn-outline-teal:hover,
.btn-outline-teal:focus {
    color: #ffffff !important;
    background-color: var(--shop-primary, #ff6b00) !important;
    border-color: var(--shop-primary, #ff6b00) !important;
}

/* -------------------------------------------------------------
   CUSTOMER EMAIL OTP VERIFICATION STYLES
   ------------------------------------------------------------- */
.customer-otp-panel {
    animation: fadeIn 0.25s ease-in-out;
}

.customer-otp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--shop-primary-light, #fff7ed);
    color: var(--shop-primary, #ff6b00);
    font-size: 28px;
    margin: 0 auto 14px;
    border: 2px solid #fed7aa;
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.15);
}

.otp-inputs-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 24px;
}

.otp-digit-input {
    width: 58px;
    height: 64px;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    color: var(--shop-primary-hover, #e05a00);
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    caret-color: var(--shop-primary, #ff6b00);
}

.otp-digit-input:focus {
    background: #ffffff;
    border-color: var(--shop-primary, #ff6b00);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.2);
    transform: translateY(-2px);
}

.otp-digit-input.is-filled {
    border-color: var(--shop-primary, #ff6b00);
    background: var(--shop-primary-light, #fff7ed);
}

.otp-digit-input.is-invalid {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    color: #b91c1c !important;
    animation: otpShake 0.35s ease-in-out;
}

@keyframes otpShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

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

/* ==========================================================================
   Modern FAQ / Knowledge Base Styles
   ========================================================================== */
.faq-hero-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    margin-bottom: 2rem;
}

.faq-hero-box h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.faq-hero-box p {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.faq-search-bar {
    max-width: 540px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 6px 8px 6px 18px;
    transition: all 0.2s ease;
}

.faq-search-bar:focus-within {
    background: #ffffff;
    border-color: var(--shop-primary, #ff6b00);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.faq-search-bar input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.95rem;
    color: #0f172a;
    padding: 6px 8px;
}

.faq-search-bar input::placeholder {
    color: #94a3b8;
}

.faq-search-bar .btn-clear {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 4px 8px;
    cursor: pointer;
    display: none;
    font-size: 14px;
}

.faq-search-bar .btn-clear:hover {
    color: #0f172a;
}

.faq-search-bar .btn-search {
    background: var(--shop-primary, #ff6b00);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.15s ease;
}

.faq-search-bar .btn-search:hover {
    background: var(--shop-primary-hover, #e05a00);
}

/* Category Sidebar */
.faq-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-sidebar-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
}

.faq-category-nav {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.faq-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

.faq-category-link:hover {
    background: #f8fafc;
    color: var(--shop-primary, #ff6b00);
    border-left-color: var(--shop-primary, #ff6b00);
}

.faq-category-link.active {
    background: var(--shop-primary-light, #fff7ed);
    color: var(--shop-primary, #ff6b00);
    border-left-color: var(--shop-primary, #ff6b00);
}

.faq-category-link .badge-count {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
}

.faq-category-link.active .badge-count {
    background: #ffedd5;
    color: var(--shop-primary-hover, #e05a00);
}

/* Accordion FAQ Items */
.faq-accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
    overflow: hidden;
}

.faq-accordion-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.faq-accordion-item.is-active {
    border-color: var(--shop-primary, #ff6b00);
}

.faq-btn-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.4rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    gap: 1rem;
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    outline: none;
    transition: color 0.15s ease;
}

.faq-btn-trigger:hover {
    color: var(--shop-primary, #ff6b00);
}

.faq-btn-trigger:not(.collapsed) {
    color: var(--shop-primary, #ff6b00);
}

.faq-chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-btn-trigger:not(.collapsed) .faq-chevron {
    transform: rotate(180deg);
    background-color: var(--shop-primary, #ff6b00);
    border-color: var(--shop-primary, #ff6b00);
    color: #ffffff;
}

.faq-body-text {
    padding: 0 1.4rem 1.25rem 1.4rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
}

.faq-body-text p:last-child {
    margin-bottom: 0;
}

.faq-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: #64748b;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Contact Box */
.faq-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-contact-card h6 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.faq-contact-card p {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.btn-whatsapp-chat {
    background: #25d366;
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.15s ease;
}

.btn-whatsapp-chat:hover {
    background: #1eb857;
    color: #ffffff;
}


