/* NovaShop storefront bundle — regenerate when adding nova-*.css to _Layout */
/* --- nova-storefront-layout.css --- */
/* Storefront layout: full width when body has .nova-storefront-full-width (admin setting) */
body.nova-storefront-full-width #novaStorefrontHeader .container,
body.nova-storefront-full-width main .container,
body.nova-storefront-full-width footer .container,
body.nova-storefront-full-width .nova-discount-vouchers .container,
body.nova-storefront-full-width .nova-discount-vouchers .container-fluid {
    max-width: 100%;
    width: 100%;
    padding-left: clamp(12px, 2.5vw, 40px);
    padding-right: clamp(12px, 2.5vw, 40px);
}

body.nova-storefront-full-width .container-fluid {
    max-width: 100%;
    padding-left: clamp(12px, 2.5vw, 40px);
    padding-right: clamp(12px, 2.5vw, 40px);
}


/* --- nova-menu-swipe.css --- */
/* Horizontal swipe menu rail — RTL-aware */
.nova-menu-swipe {
    position: relative;
    padding: 0.5rem 0 0.75rem;
    background: linear-gradient(180deg, var(--bs-body-bg) 0%, color-mix(in srgb, var(--bs-body-bg) 92%, var(--bs-secondary-bg)) 100%);
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.nova-menu-swipe__inner {
    position: relative;
    max-width: 100%;
}

.nova-menu-swipe__track {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 2.75rem;
    mask-image: linear-gradient(90deg, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%);
}

.nova-menu-swipe__track::-webkit-scrollbar {
    display: none;
}

.nova-menu-swipe__chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nova-menu-swipe__chip:hover {
    transform: translateY(-2px);
    color: inherit;
}

.nova-menu-swipe__chip--pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.nova-menu-swipe__chip--pill.is-active,
.nova-menu-swipe__chip--pill:hover {
    border-color: color-mix(in srgb, var(--bs-primary) 55%, var(--bs-border-color));
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.nova-menu-swipe__chip--card {
    width: 5.5rem;
    text-align: center;
}

.nova-menu-swipe__chip-thumb {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 0.35rem;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bs-secondary-bg);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.nova-menu-swipe__chip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nova-menu-swipe__chip-label {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 5.5rem;
    margin: 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nova-menu-swipe__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-body-bg);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    color: var(--bs-body-color);
    opacity: 0.92;
}

.nova-menu-swipe__btn:hover {
    opacity: 1;
    background: var(--bs-primary);
    color: var(--bs-primary-color, #fff);
}

.nova-menu-swipe__btn--prev {
    inset-inline-start: 0.35rem;
}

.nova-menu-swipe__btn--next {
    inset-inline-end: 0.35rem;
}

[dir="rtl"] .nova-menu-swipe__btn--prev i.bi-chevron-left::before {
    content: "\f285";
}

[dir="rtl"] .nova-menu-swipe__btn--next i.bi-chevron-right::before {
    content: "\f284";
}

@media (max-width: 575.98px) {
    .nova-menu-swipe__btn {
        display: none;
    }

    .nova-menu-swipe__track {
        padding-inline: 1rem;
    }
}


/* --- nova-category-bubbles.css --- */
/* Homepage category circle slider — Bukhamsen-style bubbles, RTL-aware */
.nova-category-bubbles {
    padding: 0.75rem 0 1rem;
    background: var(--bs-body-bg);
}

.nova-category-bubbles__nav.nova-menu-swipe {
    padding: 0;
    background: transparent;
    border-bottom: 0;
}

.nova-category-bubbles__nav .nova-menu-swipe__track {
    gap: 1rem;
    padding: 0.35rem 2.75rem;
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 1.5rem,
        #000 calc(100% - 1.5rem),
        transparent 100%
    );
}

.nova-category-bubbles__item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 5.75rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.nova-category-bubbles__item:hover {
    transform: translateY(-3px);
    color: inherit;
}

.nova-category-bubbles__circle {
    --bubble-bg: #0d9488;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 0.45rem;
    border-radius: 50%;
    background: var(--bubble-bg);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--bubble-bg) 45%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.35rem;
    border: 3px solid color-mix(in srgb, #fff 88%, var(--bubble-bg));
}

.nova-category-bubbles__circle--photo {
    padding: 0;
    background: #f1f5f9;
    border-color: #fff;
}

.nova-category-bubbles__circle--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: none;
}

.nova-category-bubbles__circle--icon {
    /* colored --bubble-bg from inline style */
    background: var(--bubble-bg);
}

.nova-category-bubbles__circle--icon .nova-category-bubbles__fallback-icon,
.nova-category-bubbles__circle--icon > i {
    font-size: 1.65rem;
    color: #fff;
}

.nova-category-bubbles__fallback-icon {
    pointer-events: none;
}

.nova-category-bubbles__circle--all {
    background: linear-gradient(145deg, #1e3a5f, #2563eb);
}

.nova-category-bubbles__label {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 5.75rem;
    margin: 0 auto;
    color: var(--bs-body-color);
}

.nova-category-bubbles__nav .nova-menu-swipe__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

@media (max-width: 575.98px) {
    .nova-category-bubbles__circle {
        width: 4.5rem;
        height: 4.5rem;
    }

    .nova-category-bubbles__item {
        width: 4.85rem;
    }

    .nova-category-bubbles__nav .nova-menu-swipe__track {
        padding-inline: 1rem;
    }
}

/* Mobile app preview (admin iframe) — tighter, cleaner, more "native" */
body.mobile-app-preview-mode .nova-category-bubbles {
    padding: 0.5rem 0 0.75rem;
    background: #fff;
}

body.mobile-app-preview-mode .nova-category-bubbles__nav .nova-menu-swipe__track {
    gap: 0.75rem;
    padding: 0.25rem 1rem;
    scroll-snap-type: x proximity;
    mask-image: none;
}

body.mobile-app-preview-mode .nova-category-bubbles__item {
    width: 4.65rem;
}

body.mobile-app-preview-mode .nova-category-bubbles__circle {
    width: 4.1rem;
    height: 4.1rem;
    border-width: 2px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

body.mobile-app-preview-mode .nova-category-bubbles__label {
    font-size: 0.7rem;
    font-weight: 800;
    max-width: 4.65rem;
}


/* --- nova-discount-vouchers.css --- */
/* Homepage discount voucher carousel (Eidiya-style) */
.nova-discount-vouchers {
    padding: 1.25rem 0 1.5rem;
    background: #fff;
    width: 100%;
}

.nova-discount-vouchers__nav {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.nova-discount-vouchers__track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.25rem 1rem 0.5rem;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
}

.nova-discount-vouchers__item {
    flex: 0 0 auto;
    width: 118px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.nova-discount-vouchers__item:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.nova-discount-vouchers__card {
    --dv-card-bg: #0d5563;
    --dv-accent: #f4c430;
    background: var(--dv-card-bg);
    border-radius: 4px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 0.35rem 0.4rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 85, 99, 0.25);
}

.nova-discount-vouchers__headline {
    font-size: 0.72rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 0.15rem;
    letter-spacing: 0.02em;
}

.nova-discount-vouchers__label {
    font-size: 0.7rem;
    opacity: 0.95;
    margin-bottom: 0.1rem;
}

.nova-discount-vouchers__amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.12rem;
    line-height: 1;
    margin: 0.05rem 0;
}

.nova-discount-vouchers__value {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--dv-accent);
    letter-spacing: -0.02em;
}

.nova-discount-vouchers__currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dv-accent);
}

.nova-discount-vouchers__terms {
    font-size: 0.48rem;
    line-height: 1.2;
    opacity: 0.88;
    margin-top: 0.2rem;
    max-width: 100%;
}

.nova-discount-vouchers__caption {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
    color: #1a1a1a;
    font-weight: 500;
}

@media (min-width: 768px) {
    .nova-discount-vouchers__item {
        width: 132px;
    }

    .nova-discount-vouchers__value {
        font-size: 1.85rem;
    }
}

body.mobile-app-preview-mode .nova-discount-vouchers__track {
    padding-inline: 0.5rem;
}

body.mobile-app-preview-mode .nova-discount-vouchers__item {
    width: 108px;
}


/* --- nova-flash-sale-countdown.css --- */
.nova-countdown-section {
    background: linear-gradient(135deg, #0b1220 0%, #1e293b 100%);
}

.nova-countdown-section .nova-countdown-badge {
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nova-countdown-section .nova-timer-card {
    min-width: 80px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nova-countdown-section .nova-timer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.nova-countdown-section .nova-countdown-cta {
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nova-countdown-section .nova-countdown-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

@media (max-width: 575.98px) {
    .nova-countdown-section .nova-timer-card {
        min-width: 64px;
        padding: 0.65rem !important;
    }

    .nova-countdown-section .nova-timer-card .h2 {
        font-size: 1.35rem;
    }
}


/* --- nova-hero-slider.css --- */
/* Hero slider — banner ratio 8:3 (1600×600 / 1920×720), sharp contain by default */
.nova-hero-carousel .carousel-inner {
    border-radius: 0;
}

.nova-hero-carousel .carousel-item {
    position: relative;
    aspect-ratio: var(--nova-hero-aspect, 8 / 3);
    max-height: min(37.5vw, 720px);
    min-height: 200px;
    overflow: hidden;
    background: #0b1220;
}

.nova-hero-carousel .carousel-item > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--nova-hero-fit, contain);
    object-position: center;
}

/* Section-level modifiers (from homepage builder settings) */
.nova-hero-carousel--aspect-banner .carousel-item {
    --nova-hero-aspect: 8 / 3;
    max-height: min(37.5vw, 720px);
}

.nova-hero-carousel--aspect-wide .carousel-item {
    --nova-hero-aspect: 16 / 9;
    max-height: min(56.25vw, 640px);
}

.nova-hero-carousel--aspect-cinema .carousel-item {
    --nova-hero-aspect: 21 / 9;
    max-height: min(42.86vw, 560px);
}

.nova-hero-carousel--fit-cover .carousel-item > img {
    --nova-hero-fit: cover;
}

.nova-hero-carousel--fit-contain .carousel-item > img {
    --nova-hero-fit: contain;
}

.nova-hero-carousel .carousel-caption {
    bottom: 1.25rem;
    left: 1rem;
    right: 1rem;
    text-align: start;
    padding-bottom: 0;
    pointer-events: none;
}

.nova-hero-carousel .carousel-caption .btn-nova-hero {
    font-weight: 700;
    padding: 0.55rem 1.35rem;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}

@media (max-width: 767.98px) {
    .nova-hero-carousel .carousel-item {
        max-height: none;
        min-height: 160px;
    }

    .nova-hero-carousel .carousel-caption {
        display: block !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
        padding: 2.5rem 1rem 1rem;
        margin: 0;
    }

    .nova-hero-carousel .carousel-caption h5 {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 0.35rem;
    }

    .nova-hero-carousel .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 0.65rem;
    }
}


/* --- nova-promo-banners.css --- */
/* Promotional / main / two-column homepage banners */
.nova-promo-banners {
    overflow-x: clip;
}

.nova-promo-banners__grid {
    --nova-promo-aspect: 16 / 9;
}

.nova-promo-banners__card {
    display: block;
    border: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nova-promo-banners__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.nova-promo-banners__media {
    position: relative;
    width: 100%;
    aspect-ratio: var(--nova-promo-aspect);
    max-height: min(42vw, 280px);
    background: #f1f5f9;
}

.nova-promo-banners__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .nova-promo-banners__media {
        max-height: min(28vw, 320px);
    }
}

@media (min-width: 1200px) {
    .nova-promo-banners__media {
        max-height: 280px;
    }
}


/* --- nova-triple-feature-promo.css --- */
/* Triple Feature Promo — three equal promo banners in a row (Bukhamsen-style) */
.nova-triple-feature-promo {
    overflow-x: clip;
}

.nova-triple-feature-promo__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--nova-triple-promo-gap, 12px);
}

.nova-triple-feature-promo__card {
    display: block;
    border: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nova-triple-feature-promo__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.nova-triple-feature-promo__media {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 6;
    max-height: min(72vw, 420px);
    background: #1e293b;
}

.nova-triple-feature-promo__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 576px) {
    .nova-triple-feature-promo__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nova-triple-feature-promo__media {
        aspect-ratio: 4 / 5;
        max-height: min(48vw, 360px);
    }
}

@media (min-width: 992px) {
    .nova-triple-feature-promo__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nova-triple-feature-promo__media {
        aspect-ratio: 5 / 6;
        max-height: min(32vw, 340px);
    }
}

@media (min-width: 1200px) {
    .nova-triple-feature-promo__media {
        max-height: 320px;
    }
}


/* --- nova-product-card-bukhamsen.css --- */
/* Bukhamsen-style product grid card */
.nova-pcard-bukhamsen {
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.nova-pcard-bukhamsen:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.nova-pcard-bukhamsen__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem 0;
}

.nova-pcard-bukhamsen__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nova-pcard-bukhamsen__icon-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 0.85rem;
}

.nova-pcard-bukhamsen__icon-btn:hover {
    background: #f8fafc;
    color: var(--color-primary, #004b87);
}

.nova-pcard-bukhamsen__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
}

.nova-pcard-bukhamsen__rating .bi-star-fill {
    color: #f59e0b;
    font-size: 0.7rem;
}

.nova-pcard-bukhamsen__media-wrap {
    position: relative;
    padding: 0 0.65rem;
    flex-shrink: 0;
}

.nova-pcard-bukhamsen__media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nova-pcard-bukhamsen__badge-discount {
    position: absolute;
    top: 0.35rem;
    inset-inline-start: 0.85rem;
    z-index: 2;
    min-width: 52px;
    min-height: 52px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.25rem;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.nova-pcard-bukhamsen__badge-tag {
    position: absolute;
    top: 0.5rem;
    inset-inline-end: 0.85rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
}

.nova-pcard-bukhamsen__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.nova-pcard-bukhamsen__thumbs {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    min-height: 36px;
}

.nova-pcard-bukhamsen__thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    object-fit: contain;
    background: #f8fafc;
}

.nova-pcard-bukhamsen__body {
    padding: 0.65rem 0.75rem 0.75rem;
}

.nova-pcard-bukhamsen__title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6em;
    margin-bottom: 0.5rem;
}

.nova-pcard-bukhamsen__title a {
    color: inherit;
    text-decoration: none;
}

.nova-pcard-bukhamsen__title a:hover {
    color: var(--color-primary, #004b87);
}

.nova-pcard-bukhamsen__price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary, #004b87);
    line-height: 1.2;
}

.nova-pcard-bukhamsen__price-was {
    font-size: 0.75rem;
    color: #dc2626;
    text-decoration: line-through;
}

.nova-pcard-bukhamsen__tax {
    font-size: 0.68rem;
    color: #94a3b8;
}

.nova-pcard-bukhamsen__payments {
    margin-top: 0.5rem;
    padding-top: 0.45rem;
    border-top: 1px solid #f1f5f9;
}

.nova-pcard-bukhamsen__payments .nova-payment-icons {
    justify-content: flex-start;
    gap: 0.35rem;
}

.nova-pcard-bukhamsen__footer {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.65rem;
}

.nova-pcard-bukhamsen__buy {
    flex: 1 1 auto;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    white-space: nowrap;
}

.nova-pcard-bukhamsen__details {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary, #004b87);
    text-decoration: none;
    white-space: nowrap;
}

.nova-pcard-bukhamsen__details:hover {
    text-decoration: underline;
}

.nova-pcard-bukhamsen__brand {
    max-width: 42%;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-align: end;
}

.nova-pcard-bukhamsen__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    margin-top: 0.45rem;
    padding: 0 0.25rem;
}

.nova-pcard-bukhamsen__spec-chip {
    font-size: 0.65rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    line-height: 1.2;
}

.nova-pcard-bukhamsen__footer--dual {
    gap: 0.5rem;
}

.nova-pcard-bukhamsen__buy-outline {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 0.35rem;
    border-radius: 8px;
    white-space: nowrap;
}

.nova-payment-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.nova-payment-icons__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    background: #fff;
    border-radius: 4px;
}

.product-slider-item:has(.nova-pcard-bukhamsen) {
    width: min(300px, 78vw) !important;
}

@media (min-width: 992px) {
    .product-listing-bukhamsen .col-bukhamsen-card {
        flex: 0 0 auto;
        width: 20%;
        max-width: 20%;
    }
}

@media (max-width: 575.98px) {
    .product-listing-bukhamsen .col-bukhamsen-card {
        width: 50%;
    }
}


/* --- nova-best-sellers-ranked.css --- */
/* Best Sellers Ranked — Bukhamsen-style homepage block */
.nova-best-sellers-ranked {
    --bsr-accent: #004071;
}

.nova-bsr-header {
    background: var(--bsr-accent);
    color: #fff;
}

.nova-bsr-header__title {
    font-weight: 800;
    color: #fff;
}

.nova-bsr-header__link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.nova-bsr-header__link:hover {
    color: #fff;
    text-decoration: underline;
}

.nova-bsr-tab {
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease;
}

.nova-bsr-tab:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.nova-bsr-tab.is-active {
    background: #fff;
    color: var(--bsr-accent);
    border-color: #fff;
}

.nova-bsr-slider {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nova-bsr-slider::-webkit-scrollbar {
    display: none;
}

.nova-bsr-card-slot {
    position: relative;
    width: min(280px, 78vw);
    scroll-snap-align: start;
    padding-top: 14px;
}

.nova-bsr-rank {
    position: absolute;
    top: 0;
    inset-inline-end: 12px;
    z-index: 5;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 8px 8px 0 0;
    background: #fff;
    color: #f97316;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 36px;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(15, 23, 42, 0.08);
}

.nova-bsr-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    color: var(--bsr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nova-bsr-nav--prev {
    inset-inline-start: -12px;
}

.nova-bsr-nav--next {
    inset-inline-end: -12px;
}

.nova-bsr-card-slot .nova-pcard-bukhamsen--ranked {
    border-color: #dbe4ee;
}

.nova-bsr-card-slot .nova-pcard-bukhamsen--ranked .nova-pcard-bukhamsen__price-current {
    color: #0f172a;
}

@media (min-width: 1200px) {
    .nova-bsr-card-slot {
        width: calc((100% - 3rem) / 5);
        max-width: none;
    }

    .nova-bsr-slider {
        overflow-x: visible;
        flex-wrap: nowrap;
    }

    .nova-bsr-nav {
        display: none !important;
    }
}

@media (max-width: 1199.98px) {
    .nova-bsr-slider-wrap {
        padding-inline: 4px;
    }
}


/* --- nova-brand-grid-slider.css --- */
/* Brand logo grid — Bukhamsen-style 2-row carousel */
.nova-brand-grid-section {
    --nbg-cols: 6;
    --nbg-rows: 2;
    --nbg-gap: 0.65rem;
    --nbg-card-h: 72px;
}

.nova-brand-grid-panel {
    background: #f0f2f5;
    border-radius: 16px;
    padding: 1.1rem 1.25rem 1.25rem;
}

.nova-brand-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nova-brand-grid-header__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.nova-brand-grid-header__link {
    color: #111827;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.nova-brand-grid-header__link:hover {
    text-decoration: underline;
    color: #111827;
}

.nova-brand-grid-wrap {
    position: relative;
    padding-inline: 4px;
}

.nova-brand-grid-slider {
    display: grid;
    grid-template-rows: repeat(var(--nbg-rows), var(--nbg-card-h));
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--nbg-cols) - 1) * var(--nbg-gap)) / var(--nbg-cols));
    gap: var(--nbg-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.nova-brand-grid-slider::-webkit-scrollbar {
    display: none;
}

.nova-brand-grid-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--nbg-card-h);
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.5rem 0.65rem;
    text-decoration: none;
    scroll-snap-align: start;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.nova-brand-grid-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.nova-brand-grid-card__logo {
    display: block;
    max-width: 92%;
    max-height: calc(var(--nbg-card-h) - 16px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.nova-brand-grid-card__fallback {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nova-brand-grid-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nova-brand-grid-nav:hover {
    color: #111827;
}

.nova-brand-grid-nav--prev {
    inset-inline-start: -10px;
}

.nova-brand-grid-nav--next {
    inset-inline-end: -10px;
}

@media (max-width: 1199.98px) {
    .nova-brand-grid-section {
        --nbg-cols: 5;
    }
}

@media (max-width: 991.98px) {
    .nova-brand-grid-section {
        --nbg-cols: 4;
    }
}

@media (max-width: 767.98px) {
    .nova-brand-grid-section {
        --nbg-cols: 3;
        --nbg-card-h: 64px;
    }

    .nova-brand-grid-panel {
        padding: 1rem;
    }

    .nova-brand-grid-nav {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 575.98px) {
    .nova-brand-grid-section {
        --nbg-cols: 2;
    }
}

@media (min-width: 1200px) {
    .nova-brand-grid-wrap:has(.nova-brand-grid-slider:not([data-overflow="true"])) .nova-brand-grid-nav {
        display: none !important;
    }
}


/* --- nova-product-grid-slider.css --- */
/* Product grid slider — Bukhamsen panel + 2-row carousel (row-major pages) */
.nova-product-grid-section {
    --npg-cols: 4;
    --npg-rows: 2;
    --npg-gap: 0.75rem;
}

.nova-product-grid-panel {
    background: #f0f2f5;
    border-radius: 16px;
    padding: 1.1rem 1.25rem 1.25rem;
}

.nova-product-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nova-product-grid-header__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.nova-product-grid-header__link {
    color: #111827;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.nova-product-grid-header__link:hover {
    text-decoration: underline;
    color: #111827;
}

.nova-product-grid-wrap {
    position: relative;
    padding-inline: 4px;
}

.nova-product-grid-slider {
    display: flex;
    flex-direction: row;
    gap: var(--npg-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.nova-product-grid-slider::-webkit-scrollbar {
    display: none;
}

.nova-product-grid-page {
    flex: 0 0 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(var(--npg-cols), minmax(0, 1fr));
    grid-template-rows: repeat(var(--npg-rows), auto);
    gap: var(--npg-gap);
    scroll-snap-align: start;
    align-items: stretch;
}

.nova-product-grid-card-slot {
    min-width: 0;
    height: 100%;
}

.nova-product-grid-card-slot .nova-pcard-bukhamsen {
    height: 100%;
}

.nova-product-grid-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nova-product-grid-nav:hover {
    color: #111827;
}

.nova-product-grid-nav--prev {
    inset-inline-start: -10px;
}

.nova-product-grid-nav--next {
    inset-inline-end: -10px;
}

@media (max-width: 1199.98px) {
    .nova-product-grid-section {
        --npg-cols: 3;
    }
}

@media (max-width: 767.98px) {
    .nova-product-grid-section {
        --npg-cols: 2;
    }

    .nova-product-grid-panel {
        padding: 1rem;
    }
}

@media (min-width: 1200px) {
    .nova-product-grid-wrap:has(.nova-product-grid-slider:not([data-overflow="true"])) .nova-product-grid-nav {
        display: none !important;
    }
}


/* --- novaluxe-theme.css --- */
/* Nova Luxe Theme — modern luxury e-commerce (RTL/LTR ready) */

:root{
  --color-primary: #111827;
  --color-secondary: #D4AF37;
  --color-accent: #2563EB;
  --color-bg: #F9FAFB;
  --color-card: #FFFFFF;
  --color-text: #111827;
  --color-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-success: #16A34A;
  --color-danger: #DC2626;
  --color-warning: #F59E0B;

  --admin-sidebar-bg: #0b1220;
  --admin-sidebar-bg2: #111827;
  --admin-sidebar-text: #CBD5E1;
  --admin-sidebar-muted: rgba(203, 213, 225, 0.55);
  --admin-active: #D4AF37;
  --admin-bg: #f1f5f9;
  --admin-bg-pattern: radial-gradient(ellipse 120% 80% at 100% -20%, rgba(212, 175, 55, 0.06), transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(37, 99, 235, 0.04), transparent 45%);
  --admin-card: #FFFFFF;
  --admin-topbar-bg: rgba(255, 255, 255, 0.92);

  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(17,24,39,.06);
  --shadow-md: 0 10px 30px rgba(17,24,39,.08);
}

html[lang="en"] body{ font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
html[lang="ar"] body{ font-family: "Cairo", "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif; }

body{
  background: var(--color-bg);
  color: var(--color-text);
}

.nova-announcement{
  background: var(--color-primary);
  color: #fff;
  font-size: .9rem;
  /* Keep top bar above <main> (later sibling paints on top by default). */
  position: relative;
  z-index: 1050;
}
.nova-announcement a{ color: var(--color-secondary); text-decoration: none; }

/* Storefront chrome: announcement + navbar stick together (Tpl.header → sticky) */
.nova-storefront-header,
header.nova-navbar{
  isolation: isolate;
}

/* WooCommerce / pasted HTML must never recreate header or catalog sidebar inside <main> */
main[role="main"] .nova-announcement,
main[role="main"] .nova-storefront-header,
main[role="main"] header.nova-navbar,
main[role="main"] .nova-mega,
main[role="main"] .nova-mainnav-underline,
main[role="main"] .nova-mainnav-centered,
main[role="main"] .nova-mainnav-pills,
main[role="main"] .nova-mainnav-minimal,
main[role="main"] .nova-mainnav-pillstrip,
main[role="main"] #mobileSearchBarForm,
main[role="main"] .site-header,
main[role="main"] #masthead,
main[role="main"] .elementor-location-header{
  display: none !important;
}

.nova-storefront-header{
  position: relative;
  z-index: 1050;
}
.nova-storefront-header--sticky{
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 1px 0 var(--color-border);
  overflow: visible;
}
body.nova-has-admin-bar .nova-storefront-header--sticky{
  top: var(--nova-admin-bar-height, 52px);
}

.nova-navbar{
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

/* Storefront template: header → SettingsJson (Tpl.header) */
.nova-navbar.nova-navbar--glass{
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
/* Legacy class: sticky is applied on .nova-storefront-header--sticky, not the navbar alone */
.nova-navbar.nova-navbar--sticky-top{
  position: relative;
  top: auto;
}

html{
  scroll-padding-top: var(--nova-header-offset, 0px);
}
body.nova-header-sticky main[role="main"] .breadcrumb{
  scroll-margin-top: var(--nova-header-offset, 120px);
}

/* Bootstrap dropdowns are z-index 1000; bump inside header so mini-cart clears carousel transforms. */
header.nova-navbar .dropdown-menu{
  z-index: 1060;
}

/* Pasted WooCommerce / theme HTML inside product descriptions must not recreate storefront chrome */
.product-html-content iframe:not([src*="youtube.com/embed"]):not([src*="youtube-nocookie.com/embed"]):not([src*="player.vimeo.com/video"]),
.product-html-content .nova-announcement,
.product-html-content .nova-storefront-header,
.product-html-content header.nova-navbar,
.product-html-content .nova-mega,
.product-html-content #filterSidebar,
.product-html-content #filterForm,
.product-short-desc .nova-announcement,
.product-short-desc .nova-storefront-header,
.product-short-desc header.nova-navbar,
.product-short-desc .nova-mega,
.product-short-desc #filterSidebar,
.product-short-desc #filterForm {
  display: none !important;
}

.nova-brand{
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--color-primary) !important;
}
.nova-brand--logo{
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}
.nova-brand-logo{
  display: block;
  max-height: 48px;
  max-width: min(200px, 42vw);
  width: auto;
  height: auto;
  object-fit: contain;
}
.nova-brand .mark{
  color: var(--color-secondary);
}

.nova-search{
  position: relative;
  overflow: visible;
  z-index: 2;
}
.nova-search .form-control{
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
}
.nova-search .form-control:focus{
  box-shadow: 0 0 0 .25rem rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.5);
}

/* Search autocomplete dropdown */
.nova-search-suggest{
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
  z-index: 1070;
  max-height: min(420px, 70vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nova-search-suggest.is-open{
  display: block;
}
.nova-search-suggest-item{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s ease;
}
.nova-search-suggest-item:hover,
.nova-search-suggest-item:focus{
  background: #f9fafb;
  color: inherit;
}
.nova-search-suggest-thumb{
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.nova-search-suggest-thumb--empty{
  display: block;
  background: #f3f4f6;
}
.nova-search-suggest-body{
  min-width: 0;
  flex: 1;
}
.nova-search-suggest-name{
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nova-search-suggest-price{
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
}
.nova-search-suggest-disc{
  background: var(--color-danger);
  color: #fff;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 999px;
}
.nova-search-suggest-footer{
  display: block;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
  border-top: 1px solid #f3f4f6;
}
.nova-search-suggest-footer:hover{
  background: #f9fafb;
  color: var(--color-accent);
}
.nova-search-suggest-msg{
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  text-align: center;
}
.nova-search-suggest-loading{
  color: var(--color-muted);
}
.nova-search-suggest-host{
  position: relative;
  overflow: visible;
}

.nova-icon-btn{
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  text-decoration: none;
}
.nova-icon-btn:hover{
  border-color: rgba(212,175,55,.6);
  box-shadow: var(--shadow-sm);
}

.nova-header-row{
  min-width: 0;
}
.nova-header-actions{
  min-width: 0;
  margin-inline-start: auto;
}

.nova-mega{
  border-top: 1px solid var(--color-border);
  background: #fff;
}
.nova-mega .nav-link{
  color: var(--color-text);
  font-weight: 600;
}
.nova-mega .nav-link:hover{
  color: var(--color-accent);
}

@media (max-width: 991.98px){
  .nova-navbar > .container{
    max-width: 100%;
  }
  .nova-navbar .container.py-3{
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
  }
  .nova-mega{
    display: none !important;
  }
  .nova-header-row{
    gap: .5rem !important;
    flex-wrap: nowrap;
  }
  header.nova-navbar > .container > .d-flex.align-items-center{
    gap: .5rem !important;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .nova-header-actions{
    gap: .35rem !important;
    flex: 0 0 auto;
  }
  header.nova-navbar > .container > .d-flex.align-items-center > .d-flex.align-items-center.gap-2{
    gap: .35rem !important;
    flex: 0 0 auto;
    margin-inline-start: auto;
    min-width: 0;
  }
  .nova-brand{
    max-width: min(44vw, 260px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nova-icon-btn{
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
  .nova-mobile-drawer{
    z-index: 1085 !important;
  }
  .nova-mobile-overlay{
    z-index: 1080 !important;
  }
}

@media (max-width: 575.98px){
  .nova-announcement .container{
    flex-direction: column;
    align-items: flex-start !important;
    gap: .35rem;
  }
  .nova-announcement .small{
    font-size: .75rem;
    line-height: 1.35;
  }
  /* Language + extras live in mobile drawer (المزيد); keep header compact */
  .nova-header-lang,
  .nova-header-secondary,
  .nova-header-notifications,
  header.nova-navbar .nova-icon-btn[href="/wishlist"],
  header.nova-navbar #navCompareLink,
  header.nova-navbar #storeNotifBell{
    display: none !important;
  }
  .nova-brand{
    max-width: calc(100vw - 178px);
    font-size: 1rem;
  }
  header.nova-navbar > .container > .d-flex.align-items-center > .navbar-brand{
    max-width: calc(100vw - 178px);
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nova-header-actions{
    gap: .25rem !important;
  }
  .nova-icon-btn{
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: .9rem;
  }
  .nova-search-suggest-host{
    padding-inline: .75rem !important;
  }
}

.nova-card{
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.nova-card:hover{
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  transition: .2s ease;
}

.nova-price-old{
  color: var(--color-muted);
  text-decoration: line-through;
}
.nova-price{
  font-weight: 800;
  color: var(--color-primary);
}

.nova-badge{
  border-radius: 999px;
  font-weight: 700;
  padding: .35rem .6rem;
  font-size: .75rem;
  border: 1px solid rgba(255,255,255,.35);
}
.nova-badge-sale{ background: var(--color-danger); color: #fff; }
.nova-badge-coupon{ background: var(--color-success); color: #fff; }
.nova-badge-flash{ background: var(--color-warning); color: #111827; }
.nova-badge-new{ background: var(--color-accent); color: #fff; }
.nova-badge-best{ background: #111827; color: #fff; }
.nova-badge-low{ background: #fff7ed; color: #9a3412; border-color: #fed7aa; }

.btn-nova{
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 700;
}
.btn-nova:hover{
  background: #0b1220;
  border-color: #0b1220;
  color: #fff;
}
.btn-nova-secondary{
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #111827;
  border-radius: 999px;
  font-weight: 800;
}

.nova-footer{
  border-top: 1px solid var(--color-border);
  background: #fff;
}
.nova-footer a{ color: var(--color-muted); text-decoration: none; }
.nova-footer a:hover{ color: var(--color-accent); }

.nova-footer--themed{
  background: var(--footer-bg, #fff);
  color: var(--footer-fg, #111827);
  border-top-color: var(--footer-border, var(--color-border));
}
.nova-footer--themed a{
  color: var(--footer-muted, var(--color-muted));
}
.nova-footer--themed a:hover{
  color: var(--footer-accent, var(--color-accent));
}
.nova-footer--themed .form-control{
  border-color: var(--footer-border, #e5e7eb);
  background: color-mix(in srgb, var(--footer-bg, #fff) 92%, #000 8%);
  color: var(--footer-fg, #111827);
}

/* Admin layout */
.admin-shell{
  min-height: 100vh;
  background-color: var(--admin-bg);
  background-image: var(--admin-bg-pattern);
  background-attachment: fixed;
}
.admin-layout{
  position: relative;
}
.admin-sidebar{
  background: linear-gradient(180deg, var(--admin-sidebar-bg) 0%, var(--admin-sidebar-bg2) 55%, #0a0f18 100%);
  color: var(--admin-sidebar-text);
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
}
@media (min-width: 992px) {
  .admin-sidebar.offcanvas-lg{
    width: 288px;
    max-width: 288px;
    flex-shrink: 0;
    position: relative;
    transform: none !important;
    visibility: visible !important;
    min-height: 100vh;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .admin-sidebar.offcanvas-lg > .offcanvas-body{
    flex: 1 1 auto;
    min-height: 0;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
  }
}
@media (max-width: 991.98px) {
  .admin-sidebar.offcanvas-lg{
    --bs-offcanvas-bg: #111827;
    background: linear-gradient(180deg, var(--admin-sidebar-bg) 0%, var(--admin-sidebar-bg2) 55%, #0a0f18 100%) !important;
  }
}
.admin-sidebar a{
  color: var(--admin-sidebar-text);
  text-decoration: none;
}
.admin-sidebar-brand{
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-sidebar-brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.admin-sidebar-brand-title{
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #f8fafc;
  line-height: 1.2;
}
.admin-sidebar-brand-sub{
  font-size: 0.72rem;
  color: var(--admin-sidebar-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-top: 0.15rem;
}
.admin-sidebar-external-link{
  opacity: 0.72;
  transition: opacity 0.15s ease;
}
.admin-sidebar-external-link:hover{
  opacity: 1;
  color: #fff !important;
}
.admin-sidebar-scroll{
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.admin-sidebar-scroll::-webkit-scrollbar{
  width: 6px;
}
.admin-sidebar-scroll::-webkit-scrollbar-thumb{
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.admin-nav-section-label{
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--admin-sidebar-muted);
  padding: 0.35rem 0.75rem 0.5rem;
}
.admin-sidebar .nav-link{
  border-radius: 10px;
  padding: .55rem .8rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.admin-sidebar .nav-link:hover{
  background: rgba(255,255,255,.07);
  color: #fff;
}
.admin-sidebar .nav-link.active{
  background: rgba(212,175,55,.16);
  color: #fff;
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08);
}
.admin-sidebar hr{
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 1;
}
.admin-content{
  background: transparent;
  min-width: 0;
}
.admin-topbar{
  background: var(--admin-topbar-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 20px rgba(15, 23, 42, 0.04);
  min-height: 56px;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.admin-main{
  max-width: 1600px;
  margin-inline: auto;
  width: 100%;
}
.admin-card{
  background: var(--admin-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

/*
  Admin chrome toggles html[data-bs-theme=dark] (sidebar/topbar). Main content still uses light "paper"
  cards (.admin-card). Bootstrap's dark card color variables would otherwise paint light text on those
  white cards — looks like a blank page. Force readable body copy and form controls in .admin-main.
*/
html[data-bs-theme="dark"] body.admin-shell .admin-main{
  color: var(--color-text);
}
/* Page chrome + rows outside .admin-card still inherit Bootstrap dark body colors — fix contrast on light admin canvas. */
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-page-header,
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-title,
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-subtitle,
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-page-title,
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-page-subtitle,
html[data-bs-theme="dark"] body.admin-shell .admin-main .breadcrumb,
html[data-bs-theme="dark"] body.admin-shell .admin-main .breadcrumb-item,
html[data-bs-theme="dark"] body.admin-shell .admin-main .form-label{
  color: var(--color-text);
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-breadcrumb .breadcrumb-item a{
  color: var(--color-muted);
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-breadcrumb .breadcrumb-item.active{
  color: var(--color-text);
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-card{
  --bs-card-color: var(--color-text);
  color: var(--color-text);
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-card .form-control,
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-card .form-select{
  color: var(--color-text);
  background-color: #fff;
  border-color: var(--color-border);
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .admin-card .form-control::placeholder{
  color: #6b7280;
  opacity: 1;
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .text-muted{
  color: var(--color-muted) !important;
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .form-check-label{
  color: var(--color-text);
}
/* Outline / ghost buttons: keep label readable on patterned admin background. */
html[data-bs-theme="dark"] body.admin-shell .admin-main .btn-outline-primary,
html[data-bs-theme="dark"] body.admin-shell .admin-main .btn-outline-secondary,
html[data-bs-theme="dark"] body.admin-shell .admin-main .btn-outline-danger{
  color: var(--color-text);
  border-color: var(--color-border);
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .btn-outline-primary:hover,
html[data-bs-theme="dark"] body.admin-shell .admin-main .btn-outline-secondary:hover{
  color: #fff;
}
html[data-bs-theme="dark"] body.admin-shell .admin-main .alert:not(.alert-danger):not(.alert-success):not(.alert-warning):not(.alert-info){
  color: var(--color-text);
  background-color: var(--admin-card);
  border-color: var(--color-border);
}

/* Stale admin sidebar backdrops only — do not affect storefront side cart */
@media (min-width: 992px){
  body.admin-shell .offcanvas-backdrop{
    display: none !important;
    pointer-events: none !important;
  }
}

/* Main menu template variants (Storefront Templates → main_menu) */
.nova-mainnav-pills .nav-link{
  border-radius: 999px;
  padding: .4rem 1rem;
  color: var(--color-text);
}
.nova-mainnav-pills .nav-link:hover{
  background: rgba(37, 99, 235, .1);
  color: var(--color-accent);
}

.nova-mainnav-underline .nav-link{
  position: relative;
  color: var(--color-text);
  padding-bottom: .55rem;
}
.nova-mainnav-underline .nav-link:hover,
.nova-mainnav-underline .nav-link:focus{
  color: var(--color-accent);
}
.nova-mainnav-underline .nav-link::after{
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .15rem;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nova-mainnav-underline .nav-link:hover::after,
.nova-mainnav-underline .nav-link:focus::after{
  transform: scaleX(1);
}

.nova-mainnav-centered .nav-link{
  font-weight: 600;
  color: var(--color-text);
}
.nova-mainnav-centered .nav-link:hover{
  color: var(--color-accent);
}
.nova-mainnav-centered-accent{
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  opacity: .9;
}

.nova-mainnav-minimal .nav-link{
  color: var(--color-muted);
}
.nova-mainnav-minimal .nav-link:hover{
  color: var(--color-text);
}

.nova-mainnav-pillstrip{
  background: #f8fafc;
}
.nova-mainnav-pillstrip .nav-link{
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .875rem;
  color: var(--color-text);
}
.nova-mainnav-pillstrip .nav-link:hover{
  border-color: var(--color-secondary);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* RTL tweaks */
html[dir="rtl"] .nova-search .input-group > :first-child{ border-top-right-radius: 999px; border-bottom-right-radius: 999px; }
html[dir="rtl"] .nova-search .input-group > :last-child{ border-top-left-radius: 999px; border-bottom-left-radius: 999px; }
html[dir="rtl"] .nova-mainnav-underline .nav-link::after{
  left: .75rem;
  right: .75rem;
}

/* PDP: HTML descriptions from admin / imports */
.product-html-content,
.product-short-desc {
  line-height: 1.65;
  color: var(--color-text);
}
.product-html-content img,
.product-short-desc img {
  max-width: 100%;
  height: auto;
}
.product-html-content table {
  max-width: 100%;
}
.product-html-content p:last-child,
.product-short-desc p:last-child {
  margin-bottom: 0;
}

/* Product compare (storefront) */
.js-compare-toggle.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* In-app notifications (storefront + admin) */
.nova-notif-menu { max-height: min(70vh, 420px); overflow: hidden; }
.nova-notif-list { max-height: min(55vh, 320px); overflow-y: auto; }
.nova-notif-item { white-space: normal; padding: .65rem 1rem; border-bottom: 1px solid var(--color-border, #eee); }
.nova-notif-item:last-child { border-bottom: 0; }
.nova-notif-item--unread { background: rgba(37, 99, 235, .06); }
.nova-notif-item__img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.nova-notif-item__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(0,0,0,.05); color: var(--color-primary, #2563eb);
}
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* --- nova-live-search.css --- */
/* Almanea-style live search mega panel */
.nova-search {
  position: relative;
}
.nova-search-input-group {
  position: relative;
}
.nova-search-clear {
  position: absolute;
  inset-inline-end: 5.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  border-radius: 999px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nova-search-clear:hover {
  background: #f3f4f6;
  color: inherit;
}
.nova-search-input-group .nova-search-input {
  padding-inline-end: 2.25rem;
}
#mobileSearchBarForm .nova-search-clear {
  inset-inline-end: 2.75rem;
}

.nova-live-search-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  z-index: 1045;
}
.nova-live-search-backdrop.is-open {
  display: block;
}

.nova-live-search-panel {
  display: none;
  position: fixed;
  inset-inline: 0;
  top: var(--nova-live-search-top, 72px);
  z-index: 1060;
  max-height: calc(100vh - var(--nova-live-search-top, 72px));
  overflow: hidden;
  pointer-events: none;
}
.nova-live-search-panel.is-open {
  display: block;
  pointer-events: auto;
}
.nova-live-search-panel__shell {
  background: #fff;
  border-block-start: 1px solid var(--color-border);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  max-height: inherit;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nova-live-search-panel__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.25rem 1rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.nova-live-search-sidebar {
  border-inline-end: 1px solid #f3f4f6;
  padding-inline-end: 1rem;
}
.nova-live-search-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary, #b91c1c);
  margin: 0 0 0.5rem;
}
.nova-live-search-section + .nova-live-search-section {
  margin-top: 1.25rem;
}
.nova-live-search-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.nova-live-search-link-list a {
  color: inherit;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.35;
  display: block;
  padding: 0.15rem 0;
}
.nova-live-search-link-list a:hover {
  color: var(--color-accent);
}
.nova-live-search-brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nova-live-search-brand-pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
}
.nova-live-search-brand-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.nova-live-search-main-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-primary, #b91c1c);
}
.nova-live-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}
.nova-live-search-product {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 10px;
  transition: background 0.12s ease;
}
.nova-live-search-product:hover {
  background: #f9fafb;
  color: inherit;
}
.nova-live-search-product__img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #f9fafb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nova-live-search-product__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}
.nova-live-search-product__disc {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  background: #2563eb;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-start-end-radius: 6px;
}
.nova-live-search-tabby {
  display: inline-block;
  align-self: flex-start;
  background: #fef08a;
  color: #713f12;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}
.nova-live-search-product__brand {
  font-size: 0.72rem;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nova-live-search-product__title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.1em;
}
.nova-live-search-product__price {
  font-size: 0.95rem;
  font-weight: 800;
  color: inherit;
}
.nova-live-search-product__was {
  font-size: 0.72rem;
  color: var(--color-muted);
  text-decoration: line-through;
}
.nova-live-search-footer {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}
.nova-live-search-footer:hover {
  text-decoration: underline;
}
.nova-live-search-msg {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  grid-column: 1 / -1;
}

body.nova-live-search-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .nova-live-search-panel__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0.75rem 1.25rem;
  }
  .nova-live-search-sidebar {
    border-inline-end: 0;
    padding-inline-end: 0;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
  }
  .nova-live-search-link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
  }
  .nova-live-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .nova-live-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

/* Catalog sidebar keeps compact dropdown */
.nova-search-suggest--compact {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
  z-index: 1070;
  max-height: min(420px, 70vh);
  overflow-y: auto;
}
.nova-search-suggest--compact.is-open {
  display: block;
}


/* --- mobile-app.css --- */
/* ── NovaShop Premium Mobile App-like CSS ──────────────────────────────── */

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Compact Sticky Mobile Header */
  .nova-storefront-header--sticky {
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.05);
  }

  header.nova-navbar {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  }

  /* On small phones keep announcement but allow language link via drawer */
  @media (max-width: 480px) {
    .nova-announcement .d-flex.align-items-center.gap-3 {
      display: none !important;
    }
  }

  /* Sticky Bottom Navigation Bar */
  .nova-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1050;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.06);
  }

  .nova-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: none;
    background: transparent;
    padding: 4px 0;
  }

  .nova-mobile-nav-item i {
    font-size: 1.35rem;
    margin-bottom: 1px;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .nova-mobile-nav-item:active i {
    transform: scale(0.85);
  }

  .nova-mobile-nav-item:hover,
  .nova-mobile-nav-item.active {
    color: var(--color-primary);
  }

  .nova-mobile-nav-item.active i {
    color: var(--color-secondary);
    transform: translateY(-2px);
  }

  /* Cart Badge Overlay */
  .nova-mobile-nav-item .badge {
    position: absolute;
    top: 5px;
    left: 55%;
    padding: 0.25em 0.5em;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(220, 38, 38, 0.3);
  }

  /* Modern Slide-out Menu Mobile Drawer */
  .nova-mobile-drawer {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: min(290px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 1.25rem 1rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1085;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05), 10px 0 40px rgba(0, 0, 0, 0.3);
    border-radius: 0 24px 24px 0;
  }

  html[dir="rtl"] .nova-mobile-drawer {
    transform: translateX(105%);
    border-radius: 24px 0 0 24px;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.05), -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nova-mobile-drawer--open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) !important;
  }

  .nova-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1080;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
  }

  .nova-mobile-overlay--open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }

  body.nova-mobile-drawer-open {
    overflow: hidden;
  }

  .nova-mobile-drawer__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nova-mobile-drawer__lang {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nova-mobile-drawer__lang-label {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .nova-mobile-drawer__section {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.55);
    padding: 0.35rem 0.5rem 0.5rem;
  }

  .nova-mobile-drawer__nav a {
    color: #e2e8f0 !important;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 12px;
    transition: all 0.2s ease;
  }

  .nova-mobile-drawer__nav a:hover,
  .nova-mobile-drawer__nav a:active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    transform: translateX(4px);
  }

  html[dir="rtl"] .nova-mobile-drawer__nav a:hover,
  html[dir="rtl"] .nova-mobile-drawer__nav a:active {
    transform: translateX(-4px);
  }

  .nova-mobile-drawer__nav a i {
    font-size: 1.15rem;
    color: var(--color-secondary);
  }

  .nova-mobile-drawer .btn-close-white {
    opacity: 0.8;
  }

  /* Custom Search Input on Mobile */
  .nova-search-suggest-host input {
    border-radius: 12px !important;
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    background-color: #f1f5f9 !important;
    padding: 0.5rem 1rem !important;
  }

  .nova-search-suggest-host input:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
    border-color: var(--color-secondary) !important;
  }
}

/* ── Stepper/Timeline for Order Status Redesign ─────────────────────── */
.nova-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.nova-stepper::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}

.nova-stepper-progress {
  position: absolute;
  top: 25px;
  left: 5%;
  height: 4px;
  background: var(--color-success);
  z-index: 1;
  transition: width 0.4s ease;
}

.nova-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.nova-step-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 4px solid #fff;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nova-step.active .nova-step-icon {
  background: var(--color-success);
  color: #fff;
  box-shadow: 0 6px 15px rgba(22, 163, 74, 0.3);
}

.nova-step.current .nova-step-icon {
  background: var(--color-success);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.2), 0 6px 15px rgba(22, 163, 74, 0.3);
  animation: pulse-step 2s infinite;
}

.nova-step.cancelled .nova-step-icon {
  background: var(--color-danger);
  color: #fff;
  box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

.nova-step-label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-align: center;
}

.nova-step.active .nova-step-label,
.nova-step.current .nova-step-label {
  color: var(--color-primary);
}

.nova-step.cancelled .nova-step-label {
  color: var(--color-danger);
}

@keyframes pulse-step {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4), 0 4px 10px rgba(0, 0, 0, 0.05); }
  70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0), 0 4px 10px rgba(0, 0, 0, 0.05); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0), 0 4px 10px rgba(0, 0, 0, 0.05); }
}

/* Vertical stepper on small devices */
@media (max-width: 767.98px) {
  .nova-stepper {
    flex-direction: column;
    padding: 0;
    margin-bottom: 1.5rem;
    gap: 1.25rem;
  }

  .nova-stepper::before {
    top: 0;
    bottom: 0;
    left: 27px;
    width: 4px;
    height: 100%;
  }

  html[dir="rtl"] .nova-stepper::before {
    left: auto;
    right: 27px;
  }

  .nova-stepper-progress {
    display: none;
  }

  .nova-step {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }

  .nova-step-label {
    margin-top: 0;
    text-align: start;
    font-size: 0.9rem;
  }
}

/* ── Modern Premium Cards for Order Details ───────────────────────── */
.order-details-card {
  border: none;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.order-details-header {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.5rem;
}

.order-details-body {
  padding: 1.5rem;
}

.info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

.info-item-content {
  min-width: 0;
}

.info-item-title {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.info-item-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ── Realtime Toast Notification Styling ──────────────────────────── */
.nova-toast-push {
  min-width: 280px;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15) !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(10px);
  color: #fff !important;
  overflow: hidden;
}

.nova-toast-push-header {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-secondary) !important;
  padding: 0.6rem 1rem;
}

.nova-toast-push-body {
  padding: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ── Premium Enhancements: Cart, Tracking, Dashboard & Payment selections ── */

@keyframes bounce-effect {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}
.animate-bounce {
  animation: bounce-effect 0.8s infinite alternate;
}

.hover-grow {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}
.hover-grow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Tracking SVG animations */
.tracking-road {
  stroke-dasharray: 8;
  animation: dash 35s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}
.pulse-glow {
  animation: pulse-glow-anim 2s infinite;
}
@keyframes pulse-glow-anim {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* Glassmorphism Profile styles */
.profile-gradient-avatar {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.dashboard-stat-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.dashboard-stat-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--color-secondary) !important;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.08) !important;
}

/* Payment Selectable Cards */
.payment-grid-card {
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: var(--color-card);
}
.payment-grid-card:hover {
  border-color: var(--color-secondary);
  background: rgba(212, 175, 55, 0.01);
}
.payment-grid-card input[type="radio"]:checked + .payment-card-content {
  color: var(--color-primary);
}
.payment-grid-card:has(input[type="radio"]:checked) {
  border-color: var(--color-secondary) !important;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
  background: rgba(212, 175, 55, 0.03);
}

.payment-card-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 30px;
}
html[dir="rtl"] .payment-card-badge {
  right: auto;
  left: 15px;
}


