/**
 * Minimal Slate Theme
 * Cool gray slate palette with teal accents
 */

:root {
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --bs-primary: #14b8a6;
    --bs-warning: #14b8a6;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--slate-100);
    color: var(--slate-800);
    line-height: 1.6;
}

a {
    color: var(--teal-600);
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--slate-900);
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    border: none;
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 11px 24px;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(20, 184, 166, 0.25);
}

.btn-outline-primary {
    border: 2px solid var(--teal-600);
    color: var(--teal-600);
    border-radius: var(--radius);
    padding: 10px 22px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--teal-600);
    color: var(--white);
}

.card {
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-header,
.card-body {
    background: var(--white);
}

.badge.bg-primary,
.badge.text-bg-primary {
    background: var(--teal-600) !important;
}

.navbar,
.footer {
    background: var(--white);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.navbar .nav-link,
.footer a {
    color: var(--slate-700);
}

.navbar .nav-link:hover,
.footer a:hover {
    color: var(--teal-600);
}

.hero-slider .hero-slide,
.hero-slide,
.hero-slide-card {
    background: none;
    color: inherit;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    border: none;
}

/* Elevated hero slider polish */
.elevated-hero .carousel-item {
    min-height: 420px;
}
.elevated-hero .hero-slide-card {
    border-radius: 20px;
    overflow: hidden;
    padding: 2.5rem 2.75rem;
    min-height: 360px;
}
.elevated-hero .carousel-control-prev-icon,
.elevated-hero .carousel-control-next-icon {
    background-color: rgba(15, 23, 42, 0.45);
    border-radius: 50%;
    padding: 10px;
}
.elevated-hero .carousel-control-prev,
.elevated-hero .carousel-control-next {
    width: 5%;
}
.elevated-hero .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.65);
}
.elevated-hero .carousel-indicators .active {
    background-color: #0d9488;
}
.hero-slide-card h2 {
    font-size: clamp(1.8rem, 2.6vw + 1rem, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}
.hero-slide-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
}
.hero-slide-badge {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #e5f5f3 !important;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.hero-slide-btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
    padding: 0.75rem 1.6rem !important;
}
.hero-slide-btn.btn-outline-light,
.hero-slide-btn.btn-outline-secondary {
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}
.hero-slide-btn.btn-outline-light:hover,
.hero-slide-btn.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}
.hero-slide-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-slide-card .hero-slide-image {
    filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.25));
    background: transparent !important;
    max-height: 420px;
    width: auto;
    object-fit: contain;
}
.hero-slide-image.hero-slide-image-xl {
    max-height: 480px;
    width: 100%;
    max-width: none;
}
.hero-slide-copy {
    max-width: none;
    margin-top: -18px;
}
.hero-slide-visual img {
    width: 125%;
    max-width: none;
    max-height: 560px;
    height: auto;
    transform: translateX(6%);
}
.hero-slide-visual {
    padding-right: 0 !important;
}

.hero-slide-card img,
.hero-slide img {
    background: transparent !important;
    box-shadow: none !important;
}

.hero-slide-card h1,
.hero-slide-card h2,
.hero-slide-card p {
    color: var(--white) !important;
}

/* Classic layout slider colors for Minimal Slate */
body.layout-classic .hero-slide-card {
    background: linear-gradient(135deg, #0f172a 0%, #0d9488 70%) !important;
    color: #e5f5f3 !important;
}
body.layout-classic .hero-slide-card .hero-slide-badge,
body.layout-classic .hero-slide-card .badge {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #e5f5f3 !important;
}
body.layout-classic .hero-slide-card .hero-slide-btn {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #0f172a !important;
    background: #e5f5f3 !important;
}

.layout-elevated .product-card,
.layout-elevated .product-card .card {
    position: relative;
    border: 1px solid rgba(13, 148, 136, 0.18);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    background: linear-gradient(145deg, #f8fafc 0%, #e5f2ef 60%, #f8fafc 100%);
}
.layout-elevated .product-card {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}
.layout-elevated .product-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(13, 148, 136, 0.14), transparent 50%),
                radial-gradient(circle at 80% 0%, rgba(15, 23, 42, 0.08), transparent 45%);
    opacity: 0.7;
    pointer-events: none;
}
.layout-elevated .product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
}
.layout-elevated .product-card .card-img-top {
    padding: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: radial-gradient(circle at 25% 25%, rgba(13, 148, 136, 0.12), transparent 55%), #f9fbfc;
    border-radius: 16px 16px 0 0;
}
.layout-elevated .product-card .card-body {
    padding: 12px 13px 14px;
}
.layout-elevated .product-card .badge {
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 700;
}
.layout-elevated .product-card .product-title {
    font-weight: 700;
    font-size: 11px;
    line-height: 1.2;
}
.layout-elevated .product-card .price {
    font-weight: 800;
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .layout-elevated .product-card .badge {
        padding: 2px 7px;
        font-size: 8px;
        font-weight: 700;
    }
    .layout-elevated .product-card .product-title {
        font-size: 10px;
        line-height: 1.15;
        font-weight: 700;
    }
    .layout-elevated .product-card .price {
        font-size: 12px;
        font-weight: 800;
    }
    .layout-elevated .product-card .old-price {
        font-size: 10px;
    }
    .layout-elevated .product-card .btn {
        padding: 8px 10px;
        font-size: 12px;
    }
}
.layout-elevated .product-card .old-price {
    color: rgba(15, 23, 42, 0.55);
}
.layout-elevated .product-card .btn {
    border-radius: 14px;
    font-weight: 800;
    padding: 9px 11px;
}
.layout-elevated .product-card .btn-outline-primary {
    border-color: rgba(13, 148, 136, 0.45);
    color: #0d9488;
}
.layout-elevated .product-card .btn-outline-primary:hover {
    background: #0d9488;
    color: #fff;
}

.layout-elevated .product-slider-wrapper {
    position: relative;
    padding: 16px 48px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(13, 148, 136, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.layout-elevated .product-slider {
    gap: 18px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 0;
}
.layout-elevated .product-slider::-webkit-scrollbar {
    display: none;
}
.layout-elevated .product-card-slide {
    min-width: 200px;
    max-width: 220px;
    flex: 0 0 auto;
}
@media (min-width: 768px) {
    .layout-elevated .product-card-slide {
        min-width: 220px;
        max-width: 240px;
    }
}
@media (min-width: 1200px) {
    .layout-elevated .product-card-slide {
        min-width: 240px;
        max-width: 260px;
    }
}
.layout-elevated .product-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
.layout-elevated .product-slider-nav.prev {
    left: 10px;
}
.layout-elevated .product-slider-nav.next {
    right: 10px;
}
.layout-elevated .product-slider-nav:hover {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.25);
}
.layout-elevated .product-slider-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.hero-slide .badge,
.hero-slide .hero-slide-badge,
.hero-slide-card .hero-slide-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #e0f7f3;
}

.hero-slide .btn.hero-slide-btn,
.hero-slide-card .btn.hero-slide-btn,
.hero-slide .btn.btn-primary,
.hero-slide-card .btn.btn-primary {
    background: #e0f2f1;
    color: #0f172a;
    border: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.hero-slide .btn.hero-slide-btn:hover,
.hero-slide-card .btn.hero-slide-btn:hover,
.hero-slide .btn.btn-primary:hover,
.hero-slide-card .btn.btn-primary:hover {
    background: #c5e9e4;
    color: #0b1220;
}

/* Promo banner override (force Minimal Slate even when inline styles exist) */
.promo-banner {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.75rem 2rem !important;
    background: linear-gradient(135deg, #0f172a 0%, #14b8a6 100%) !important;
    color: var(--white) !important;
    border-radius: 22px;
    min-height: 360px !important;
    max-height: 360px !important;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    isolation: isolate;
}

.promo-banner::before,
.promo-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
    z-index: 0;
}

.promo-banner::before {
    width: 240px;
    height: 240px;
    top: -90px;
    right: -60px;
}

.promo-banner::after {
    width: 280px;
    height: 280px;
    bottom: -140px;
    left: -80px;
}

.promo-banner .promo-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white) !important;
}

.promo-banner .promo-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #e0f7f3 !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.promo-banner .promo-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    color: var(--white) !important;
    line-height: 1.2;
}

.promo-banner .promo-title span {
    color: #c8fff4;
}

.promo-banner .promo-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
}

.promo-banner .btn.btn-promo {
    background: #e0f2f1 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0.7rem 1.15rem !important;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.promo-banner .btn.btn-promo:hover {
    background: #c5e9e4 !important;
    color: #0b1220 !important;
}

.promo-decoration .promo-circle {
    background: rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 991.98px) {
    .promo-banner {
        min-height: 320px !important;
        max-height: none !important;
    }
}

.brands-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    padding: 3rem 0;
}

.brands-section .section-title {
    color: var(--slate-800);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.brands-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a, #14b8a6);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.28);
}

.brand-logo {
    padding: 1.75rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-logo img {
    max-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.08));
}

.brand-logo h5 {
    color: var(--slate-600);
    margin: 0;
    font-weight: 700;
}

.brand-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20, 184, 166, 0.16);
    border-color: rgba(20, 184, 166, 0.2);
}

.brands-section .row.g-4 {
    row-gap: 1.5rem !important;
}

.brands-section a {
    text-decoration: none;
}

.hero-slide .carousel-control-prev-icon,
.hero-slide .carousel-control-next-icon {
    background-color: rgba(15, 23, 42, 0.35);
}

.layout-elevated .main-header {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.layout-elevated .main-header .navbar-nav .nav-link {
    padding: 0.7rem 0.85rem;
}

.layout-elevated .search-form .form-control {
    border-radius: 999px 0 0 999px;
    padding-left: 1.1rem;
}

.layout-elevated .search-form .btn {
    border-radius: 0 999px 999px 0;
}

.layout-elevated .hero-slider .hero-slide-card,
.layout-elevated .hero-slide {
    border-radius: 20px;
    min-height: 420px;
}

.layout-elevated .hero-slider .carousel-item {
    padding: 0 4px;
}

.layout-elevated .product-card .card-body {
    padding: 0.85rem;
}

.layout-elevated .product-card .product-thumb {
    max-height: 180px;
}

.layout-elevated .product-card .product-title {
    font-size: 0.95rem;
}

.elevated-utility {
    background: linear-gradient(90deg, #0f172a, #0d9488);
}

.elevated-main-header {
    background: var(--white);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.elevated-category-chips .chip,
.elevated-categories .chip {
    background: #f8fafc;
    color: var(--slate-800);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.elevated-categories .container {
    max-width: 100%;
}

.elevated-category-chips .chip:hover,
.elevated-categories .chip:hover {
    background: rgba(20, 184, 166, 0.1);
    color: var(--teal-600);
    border-color: rgba(20, 184, 166, 0.25);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.elevated-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.elevated-hero .carousel,
.elevated-hero .carousel-inner,
.elevated-hero .carousel-item,
.elevated-hero .hero-slide-card {
    min-height: 360px;
}
.elevated-hero .carousel,
.elevated-hero .carousel-inner,
.elevated-hero .carousel-item {
    display: flex;
}
.elevated-hero .carousel-item {
    align-items: center;
}
.elevated-hero .hero-slide-card {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18);
    position: relative;
}
.elevated-hero .hero-slide-card .row {
    align-items: center;
    width: 100%;
}
.elevated-hero .hero-slide-copy {
    text-align: center;
}
@media (min-width: 992px) {
    .elevated-hero .hero-slide-copy {
        text-align: left;
    }
}
.elevated-hero .hero-slide-visual {
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
}
.elevated-hero .hero-slide-image {
    max-height: 360px;
    object-fit: contain;
    width: auto;
    margin: 0 auto;
}
.elevated-hero .hero-slide-image-xl {
    max-width: 100%;
}
.elevated-hero .hero-slide-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 24%, rgba(255,255,255,0.16), transparent 45%), radial-gradient(circle at 82% 78%, rgba(20,184,166,0.18), transparent 45%);
    opacity: 0.9;
    pointer-events: none;
}
.elevated-hero .hero-slide-card::after {
    content: '';
    position: absolute;
    top: -34px;
    left: -46px;
    width: 230px;
    height: 115px;
    background: linear-gradient(135deg, rgba(20,184,166,0.88), rgba(34,211,238,0.88));
    transform: rotate(-12deg);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.15);
    opacity: 0.95;
    pointer-events: none;
    border-radius: 20px;
}
.elevated-hero .hero-slide-badge {
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}
.elevated-hero .hero-slide-btn {
    background: linear-gradient(135deg, #14b8a6, #22d3ee);
    border: none;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(20,184,166,0.28);
}
.elevated-hero .hero-slide-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(20,184,166,0.34);
}
.elevated-hero .hero-slide-image {
    animation: heroFloatSlate 8s ease-in-out infinite;
}
.elevated-hero .hero-slide-visual::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    right: -34px;
    bottom: -34px;
    background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 72%);
    filter: blur(10px);
    z-index: 0;
}
.elevated-hero .hero-slide-visual {
    position: relative;
    z-index: 1;
}
.hero-slide-copy {
    position: relative;
    z-index: 1;
}
.elevated-hero .carousel-control-prev-icon,
.elevated-hero .carousel-control-next-icon {
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.28));
}

@keyframes heroFloatSlate {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.elevated-hero .carousel-indicators {
    bottom: 12px;
}
.elevated-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.8);
    opacity: 0.7;
}
.elevated-hero .carousel-indicators .active {
    opacity: 1;
    background-color: #fff;
}
.elevated-hero .carousel-control-prev,
.elevated-hero .carousel-control-next {
    width: 4%;
}

.elevated-hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #14b8a6 100%) !important;
    color: var(--white);
    border-radius: 22px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.elevated-hero-blob {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
    filter: blur(6px);
}

.elevated-hero-image {
    max-height: 220px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.2));
}

.elevated-hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #e5f5f3;
    letter-spacing: 0.06em;
}

.elevated-hero-title {
    font-size: 2rem;
    font-weight: 800;
}

.elevated-hero-text {
    color: rgba(255, 255, 255, 0.9);
}

.elevated-promo {
    background: linear-gradient(135deg, #0f172a 0%, #14b8a6 100%) !important;
    color: var(--white) !important;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.elevated-featured .product-card .card-body {
    padding: 0.85rem;
}

.elevated-featured .section-title {
    margin-bottom: 0;
}
.product-card .card-body {
    background: var(--white);
}

.product-price {
    color: var(--teal-600);
    font-weight: 700;
}

/* Newsletter (Subscribe to Our Newsletter) */
.newsletter-section {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.22), transparent 35%), 
                radial-gradient(circle at 80% 10%, rgba(15, 23, 42, 0.18), transparent 32%), 
                linear-gradient(135deg, #0f172a 0%, #14b8a6 100%);
    color: var(--white);
    padding: 3.5rem 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 60%);
    z-index: 0;
}

.newsletter-section .container {
    position: relative;
    z-index: 1;
}

.newsletter-section .mega-navbar {
    position: relative;
    z-index: 2005;
}

.header-account {
    position: relative;
    z-index: 2006;
}

.header-account .dropdown-menu {
    z-index: 2007;
}
.header-actions {
    position: relative;
    z-index: 2006;
}
.header-actions .dropdown-menu,
.header-notification .dropdown-menu,
.header-currency .dropdown-menu {
    z-index: 2007;
}

.newsletter-section .section-title {
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.newsletter-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-inline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.newsletter-inline .form-control {
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-right: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 999px 0 0 999px;
    padding: 14px 18px;
    min-height: 52px;
}

.newsletter-inline .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-inline .btn {
    border-radius: 0 999px 999px 0;
    padding: 0 24px;
    background: linear-gradient(135deg, #0b1220, #0f172a);
    color: #e5f5f3;
    font-weight: 700;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.28);
    letter-spacing: 0.01em;
}

.newsletter-inline .btn:hover {
    background: linear-gradient(135deg, #0f172a, #0d9488);
    color: #e8fffb;
}

.newsletter-btn {
    background: linear-gradient(135deg, #0b1220, #0f172a) !important;
    color: #e5f5f3 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.26);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #0f172a, #0d9488) !important;
    color: #e8fffb !important;
}

.newsletter-section .input-group .input-group-text {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #e5f5f3;
    border-radius: 999px 0 0 999px;
    border-right: none;
}

.newsletter-section .input-group .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.newsletter-section .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer - Minimal Slate */
.footer {
    position: relative;
    background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%) !important;
    color: var(--white) !important;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.18), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 45%);
    opacity: 0.9;
    pointer-events: none;
}

.footer-top,
.footer-middle,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.footer-social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e0f7f3;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.footer-social:hover {
    background: rgba(20, 184, 166, 0.18);
    color: #c8fff4;
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.2);
}

.footer-widget h5 {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #e8f1ff;
    margin-bottom: 0.9rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s ease, padding-left 0.18s ease;
}

.footer-links a:hover {
    color: #c8fff4;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.footer-contact i {
    color: #14b8a6;
}

.footer-middle {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.76);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #c8fff4 !important;
}

.footer .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 12px;
}

.footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991.98px) {
    .footer-bottom {
        text-align: center;
    }
}

/* Header / Mega menu (match original layout) */
.mega-navbar {
    background: var(--white);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.mega-navbar .nav-link {
    padding: 0.9rem 1rem;
    color: var(--slate-800);
    position: relative;
    transition: color 0.18s ease, box-shadow 0.18s ease;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.2;
}

.mega-navbar .nav-link:hover,
.mega-navbar .nav-link:focus {
    color: var(--teal-600);
    background: rgba(20, 184, 166, 0.08);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.14);
}

.mega-navbar .nav-link.active {
    color: var(--teal-600);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.18), 0 6px 18px rgba(13, 148, 136, 0.12);
    background: rgba(20, 184, 166, 0.08);
}

.mega-dropdown .dropdown-toggle::after {
    display: none;
}

.mega-dropdown .dropdown-menu.mega-menu {
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    margin-top: 2px;
    border: none;
    border-radius: 18px;
    padding: 1.5rem 2rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    background: var(--white);
    transform: none !important;
}

.mega-menu .mega-menu-heading h6 {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--slate-900);
    margin-bottom: 0.35rem;
}

.mega-menu .mega-menu-heading .mega-menu-view-all {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--teal-600);
}

.mega-menu .mega-menu-list li {
    margin-bottom: 8px;
}

.mega-menu .mega-menu-link {
    color: var(--slate-800);
    text-decoration: none;
    transition: color 0.18s ease, padding-left 0.18s ease;
}

.mega-menu .mega-menu-link:hover {
    color: var(--teal-600);
    padding-left: 4px;
}

.mega-menu .mega-menu-banner {
    background: rgba(15, 23, 42, 0.02);
    border: 1px dashed rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    padding: 1.5rem;
}

.mega-menu .row {
    align-items: stretch;
}

@media (min-width: 992px) {
    .mega-dropdown:hover > .dropdown-menu {
        display: block;
    }
}
@media (max-width: 767.98px) {
    .newsletter-inline {
        flex-direction: column;
        border-radius: 18px;
        gap: 10px;
        padding: 10px;
    }

    .newsletter-inline .form-control,
    .newsletter-inline .btn {
        border-radius: 12px;
        border: 2px solid rgba(255, 255, 255, 0.25);
        width: 100%;
    }

    .newsletter-inline .form-control {
        border-right: 2px solid rgba(255, 255, 255, 0.25);
    }
}

.section-title::after {
    background: linear-gradient(90deg, var(--teal-500), var(--teal-600));
}

.bg-primary,
.card-header.bg-primary,
.filters-card .card-header,
.auth-card .card-header {
    background: linear-gradient(135deg, #0f172a, #14b8a6) !important;
    color: #ffffff !important;
    border: none;
}

.text-primary {
    color: var(--teal-600) !important;
}

.btn-outline-secondary {
    border-color: rgba(15, 23, 42, 0.25);
    color: var(--slate-800);
}

.btn-outline-secondary:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: var(--teal-600);
    color: var(--slate-900);
}

.wizard-progress-step {
    color: var(--slate-500, #64748b);
}

.wizard-progress-step.text-primary {
    color: var(--teal-600) !important;
}

.progress-bar.bg-primary {
    background: linear-gradient(135deg, #0f172a, #14b8a6) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
    border: none !important;
    color: var(--white) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d9488, #0b1220) !important;
    color: #e8fffb !important;
}

/* Inputs */
.form-control,
.form-select {
    border-radius: 10px;
    border-color: rgba(51, 65, 85, 0.2);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal-600);
    box-shadow: 0 0 0 0.15rem rgba(20, 184, 166, 0.25);
}

/* Pills / filters */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: var(--teal-600);
}

.nav-pills .nav-link {
    border-radius: 999px;
    color: var(--slate-700);
}

/* Tables */
.table > :not(caption) > * > * {
    padding: 0.9rem 1rem;
    vertical-align: middle;
}

.table thead th {
    background: var(--slate-200);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

/* --- Shop by Category slider fixes --- */
.featured-categories {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.category-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.category-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(25% - 12px);
    gap: 16px;
    transition: transform 0.4s ease;
    will-change: transform;
}

@media (max-width: 991.98px) {
    .category-slider {
        grid-auto-columns: calc(33.333% - 12px);
    }
}

@media (max-width: 575.98px) {
    .category-slider {
        grid-auto-columns: calc(50% - 10px);
    }
}

.category-slide {
    height: 100%;
}

.category-card .card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 10px;
}

.category-card .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(13, 148, 136, 0.18);
}

.category-card .card:hover img {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.22), 0 0 0 8px rgba(20, 184, 166, 0.1);
}

.category-card .card-body img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(20, 184, 166, 0.16), rgba(15, 23, 42, 0.05));
    padding: 10px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12), 0 0 0 5px rgba(20, 184, 166, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-slider-controls .slider-btn {
    border-color: var(--slate-300, #cbd5e1);
    color: var(--slate-700);
    background: var(--white);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.category-slider-controls .slider-btn:hover {
    background: var(--teal-600);
    color: var(--white);
    border-color: var(--teal-600);
}

/* Footer top band */
.footer .newsletter {
    background: linear-gradient(135deg, var(--slate-800), var(--slate-700));
    color: var(--white);
    border-radius: var(--radius);
}

/* Top bar - Minimal Slate */
.custom-top-bar .top-bar {
    background: linear-gradient(90deg, #0f172a 0%, #0d9488 50%, #0b1220 100%) !important;
    color: #e5f5f3 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.custom-top-bar .top-bar a,
.custom-top-bar .top-bar small,
.custom-top-bar .top-bar .btn-link,
.custom-top-bar .top-bar .dropdown-toggle {
    color: #e5f5f3 !important;
}

/* --- Seller Spotlight (Grow faster) --- */
.seller-spotlight {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(15, 23, 42, 0.04) 100%);
    overflow: hidden;
    padding: 0.8rem 0 !important;
}

.seller-spotlight::before,
.seller-spotlight::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 70%);
    z-index: 0;
}

.seller-spotlight::before {
    width: 320px;
    height: 320px;
    top: -160px;
    right: 5%;
}

.seller-spotlight::after {
    width: 260px;
    height: 260px;
    bottom: -130px;
    left: 10%;
}

.seller-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #14b8a6 0%, #0f172a 100%);
    color: var(--white);
    border-radius: 22px;
    padding: 12px 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.seller-feature-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    margin: 6px 0;
}

.seller-card-inner {
    position: relative;
    z-index: 2;
    max-width: 440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
}

.seller-card::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.35;
}

.seller-card-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 65%);
    opacity: 0.25;
    z-index: 1;
    filter: blur(10px);
}

.seller-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.seller-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 5px 0 5px;
}

.seller-title span {
    color: #c8fff4;
}

.seller-text {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 400px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 6px 0;
}

.metric {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 7px 6px;
}

.metric-value {
    font-size: 1.18rem;
    color: #fff;
    margin-bottom: 1px;
}

.metric-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
    margin: 0;
}

.seller-actions .btn {
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
    padding: 0.38rem 0.8rem;
    font-size: 0.86rem;
}

.seller-actions .btn.btn-light {
color: var(--slate-800);
}

.account-quick-actions .btn.btn-outline-info {
color: #0ea5e9;
border-color: rgba(14, 165, 233, 0.4);
}

.account-stats-row .card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(20, 184, 166, 0.08));
    color: var(--slate-900) !important;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.account-stats-row .card .card-body,
.account-stats-row .card .small {
    color: var(--slate-800) !important;
}
.account-stats-row .card h3,
.account-stats-row .card p,
.account-stats-row .card i,
.account-stats-row .card .small {
    color: var(--slate-900) !important;
}
.account-stats-row .card.bg-primary,
.account-stats-row .card.bg-warning,
.account-stats-row .card.bg-success,
.account-stats-row .card.bg-danger {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(15, 23, 42, 0.1)) !important;
}

.seller-showcase {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
}

.seller-showcase-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.seller-feature-grid .seller-feature {
    background: var(--white);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.seller-feature {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    background: #ffffff;
    border-radius: 14px;
    padding: 8px 10px;
    box-shadow: 0 6px 16px rgba(30, 48, 68, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.1);
}

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.12);
    color: var(--teal-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-content h5 {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 3px;
    line-height: 1.3;
    color: var(--slate-800);
}

.feature-content p {
    margin-bottom: 4px;
    color: var(--slate-600);
    font-size: 0.82rem;
    line-height: 1.45;
}

.feature-link {
    color: var(--teal-600);
    font-weight: 700;
    font-size: 0.82rem;
}

.feature-link:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .seller-showcase-inner {
        grid-template-columns: 1fr;
    }

    .seller-showcase {
        padding: 16px;
    }
}

@media (max-width: 575.98px) {
    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-card {
        padding: 16px;
    }

    .seller-feature-grid {
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .seller-showcase .seller-illustration {
        max-width: 240px;
        margin-top: 10px;
    }

    .seller-showcase {
        padding: 14px;
    }
}
