/* ==========================================================================
   RAINZON — HEADER 7 "Aurora" (unique floating-glass style)
   Scoped to <header class="... rz-h7 ..."> so no other header style is touched.
   The shell stays transparent; the bar itself is a floating frosted pill with a
   gradient hairline, pill nav items and gradient icon chips. A small scroll
   script toggles .rz-h7-scrolled to tighten it while scrolling.
   ========================================================================== */

:root {
    --rz-h7-1: #FB7701;
    --rz-h7-2: #FF4800;
    --rz-h7-3: #FFB800;
    --rz-h7-ink: #1A1A1A;
    --rz-h7-line: rgba(255, 255, 255, .65);
}

/* ---------------------------------------------------------------- the shell */
.aiz-nexa header.rz-h7 {
    background: transparent !important;
    /* bottom padding keeps the floating pill from overlapping the content below */
    padding: 8px 16px 12px !important;
    top: 8px !important;
    transition: padding .25s ease, top .25s ease;
}
.aiz-nexa header.rz-h7.rz-h7-scrolled {
    padding: 4px 16px 10px !important;
    top: 4px !important;
}

/* ----------------------------------------------------------------- the pill */
.aiz-nexa header.rz-h7 .header-content-wrapper {
    background: rgba(255, 255, 255, .86) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid var(--rz-h7-line) !important;
    border-bottom-color: rgba(255, 255, 255, .5) !important;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(46, 22, 0, .10),
        0 2px 8px rgba(46, 22, 0, .05),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    padding: 10px 16px !important;
    transition: box-shadow .25s ease, padding .25s ease;
}
.aiz-nexa header.rz-h7.rz-h7-scrolled .header-content-wrapper {
    padding: 6px 16px !important;
    box-shadow:
        0 14px 34px rgba(46, 22, 0, .16),
        0 2px 8px rgba(46, 22, 0, .06),
        inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* aurora hairline under the pill */
.aiz-nexa header.rz-h7 .header-content-wrapper::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -2px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rz-h7-1), var(--rz-h7-2) 32%, var(--rz-h7-3) 68%, var(--rz-h7-1) 100%);
    background-size: 200% 100%;
    opacity: .95;
    animation: rz-h7-flow 9s linear infinite;
    pointer-events: none;
}
@keyframes rz-h7-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .aiz-nexa header.rz-h7 .header-content-wrapper::after { animation: none; }
}

/* soft aurora glow behind the whole strip */
.aiz-nexa header.rz-h7::before {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 140px;
    background:
        radial-gradient(600px 120px at 12% 0%, rgba(251, 119, 1, .16), transparent 70%),
        radial-gradient(560px 120px at 88% 0%, rgba(255, 72, 0, .13), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* -------------------------------------------------------------------- logo */
.aiz-nexa header.rz-h7 .navbar-logo img {
    max-height: 38px;
    transition: transform .25s ease;
}
.aiz-nexa header.rz-h7:hover .navbar-logo img { transform: translateY(-1px); }

/* ---------------------------------------------------------------- nav items */
.aiz-nexa header.rz-h7 .nav-menu-list .nav-link {
    position: relative;
    padding: 9px 14px !important;
    border-radius: 999px;
    font-weight: 700 !important;
    letter-spacing: -.1px;
    color: #2B2B2B;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.aiz-nexa header.rz-h7 .nav-menu-list .nav-link:hover,
.aiz-nexa header.rz-h7 .nav-menu-list .nav-item:hover > .nav-link {
    background: linear-gradient(135deg, rgba(251, 119, 1, .12), rgba(255, 72, 0, .08));
    color: var(--rz-h7-1) !important;
    transform: translateY(-1px);
}
.aiz-nexa header.rz-h7 .nav-menu-list .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--rz-h7-1), var(--rz-h7-2));
    transform: translateX(-50%);
    transition: width .22s ease;
}
.aiz-nexa header.rz-h7 .nav-menu-list .nav-link:hover::after { width: 22px; }

/* the "All Category" pill gets the gradient treatment */
.aiz-nexa header.rz-h7 .nav-menu-list .dropdown-toggle .las.la-bars {
    color: var(--rz-h7-1);
}

/* ------------------------------------------------------------- search area */
.aiz-nexa header.rz-h7 .btn-search-trigger {
    background: linear-gradient(135deg, var(--rz-h7-1), var(--rz-h7-2)) !important;
    box-shadow: 0 8px 18px rgba(251, 119, 1, .32);
    transition: transform .2s ease, box-shadow .2s ease;
}
.aiz-nexa header.rz-h7 .btn-search-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(251, 119, 1, .42);
}
.aiz-nexa header.rz-h7 .btn-search-trigger svg { fill: #fff !important; }

/* the expanding search field */
.aiz-nexa header.rz-h7 #search,
.aiz-nexa header.rz-h7 #search-mobile {
    height: 54px;
    border: 2px solid #FFE0C7 !important;
    border-radius: 999px !important;
    padding-left: 22px !important;
    font-weight: 500;
    background: #fff;
    box-shadow: 0 10px 28px rgba(46, 22, 0, .10) !important;
}
.aiz-nexa header.rz-h7 #search:focus,
.aiz-nexa header.rz-h7 #search-mobile:focus {
    border-color: var(--rz-h7-1) !important;
    box-shadow: 0 0 0 4px rgba(251, 119, 1, .14), 0 10px 28px rgba(46, 22, 0, .10) !important;
}
.aiz-nexa header.rz-h7 .typed-search-box {
    border-radius: 18px !important;
    border: 1px solid #F1E7DF;
    box-shadow: 0 18px 40px rgba(46, 22, 0, .14) !important;
    overflow: hidden;
}

/* --------------------------------------------------------- icon chips (right) */
.aiz-nexa header.rz-h7 .user-icon-circle,
.aiz-nexa header.rz-h7 .login-nav-item .w-40px,
.aiz-nexa header.rz-h7 .w-40px.rounded-circle,
.aiz-nexa header.rz-h7 .h-40px.rounded-circle {
    border: 1px solid #F1E4DA !important;
    background: linear-gradient(180deg, #FFFFFF, #FFF7F1);
    box-shadow: 0 4px 12px rgba(46, 22, 0, .06);
    color: #4A4A4A !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.aiz-nexa header.rz-h7 .user-icon-circle:hover,
.aiz-nexa header.rz-h7 .login-nav-item .w-40px:hover,
.aiz-nexa header.rz-h7 .w-40px.rounded-circle:hover {
    transform: translateY(-2px);
    border-color: #FFD3AF !important;
    box-shadow: 0 10px 20px rgba(251, 119, 1, .18);
    color: var(--rz-h7-1) !important;
}
.aiz-nexa header.rz-h7 .login-nav-item a {
    font-weight: 700 !important;
    color: #3A3A3A !important;
}
.aiz-nexa header.rz-h7 .login-nav-item a:hover { color: var(--rz-h7-1) !important; }

/* the little menu button on mobile */
.aiz-nexa header.rz-h7 > .header-content-wrapper button.border-0 {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #FFFFFF, #FFF7F1);
    border: 1px solid #F1E4DA !important;
}
.aiz-nexa header.rz-h7 > .header-content-wrapper button.border-0:hover {
    color: var(--rz-h7-1);
    border-color: #FFD3AF !important;
}

/* cart / wishlist counters as gradient badges */
.aiz-nexa header.rz-h7 .position-absolute.badge,
.aiz-nexa header.rz-h7 .badge.badge-primary {
    background: linear-gradient(135deg, var(--rz-h7-1), var(--rz-h7-2)) !important;
    border: 2px solid #fff;
    font-weight: 800;
}

/* megamenu card */
.aiz-nexa header.rz-h7 .mega-dropdown-menu {
    border: 1px solid #F3EAE3 !important;
    border-radius: 20px !important;
    margin-top: 10px;
    box-shadow: 0 22px 50px rgba(46, 22, 0, .16) !important;
    overflow: hidden;
}

/* --------------------------------------------------------------- mobile */
@media (max-width: 1199.98px) {
    .aiz-nexa header.rz-h7 { padding: 6px 10px 10px !important; }
    .aiz-nexa header.rz-h7 .header-content-wrapper {
        padding: 8px 12px !important;
        border-radius: 16px;
    }
    .aiz-nexa header.rz-h7 .karima {
        border-radius: 16px;
    }
    .aiz-nexa header.rz-h7 .header-content-wrapper::after { left: 12px; right: 12px; height: 2px; }
    .aiz-nexa header.rz-h7::before { height: 110px; }
}

/* --------------------------------------------------------------- cart pill */
.aiz-nexa header.rz-h7 #cart_items > a.d-flex.align-items-center {
    padding: 0 16px !important;
    height: 44px;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--rz-h7-1), var(--rz-h7-2));
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(251, 119, 1, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.aiz-nexa header.rz-h7 #cart_items > a.d-flex.align-items-center:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(251, 119, 1, .40);
}
.aiz-nexa header.rz-h7 #cart_items > a svg,
.aiz-nexa header.rz-h7 #cart_items > a i { color: #fff !important; }
.aiz-nexa header.rz-h7 #cart_items > a svg path { fill: #fff !important; }
.aiz-nexa header.rz-h7 #cart_items > a .badge,
.aiz-nexa header.rz-h7 #cart_items > a span.badge,
.aiz-nexa header.rz-h7 #cart_items > a .rounded-circle {
    background: #fff !important;
    color: var(--rz-h7-1) !important;
    border: 0 !important;
    font-weight: 800;
}
.aiz-nexa header.rz-h7 #cart_items .dropdown-menu {
    border: 1px solid #F3EAE3 !important;
    border-radius: 18px !important;
    margin-top: 12px;
    box-shadow: 0 22px 50px rgba(46, 22, 0, .16) !important;
    overflow: hidden;
}

/* ------------------------------------------------------------- hover shine */
.aiz-nexa header.rz-h7 .header-content-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, .6) 50%, transparent 68%);
    background-size: 260% 100%;
    background-position: 130% 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.aiz-nexa header.rz-h7 .header-content-wrapper:hover::before {
    opacity: 1;
    animation: rz-h7-shine 1.1s ease;
}
@keyframes rz-h7-shine {
    from { background-position: 130% 0; }
    to { background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .aiz-nexa header.rz-h7 .header-content-wrapper:hover::before { animation: none; opacity: 0; }
}

/* the megamenu / search toggle squares take the pill language */
.aiz-nexa header.rz-h7 .header-content-wrapper .btn-search-trigger { border-radius: 999px !important; }
.aiz-nexa header.rz-h7 .header-content-wrapper button[data-toggle="dropdown"] { border-radius: 14px !important; }

/* ==========================================================================
   AURORA — dropdown surfaces, offcanvas menu and a scroll progress bar
   ========================================================================== */

/* every dropdown inside the header gets the same rounded card language */
.aiz-nexa header.rz-h7 .dropdown-menu {
    border: 1px solid #F3EAE3 !important;
    border-radius: 18px !important;
    margin-top: 12px;
    box-shadow: 0 22px 50px rgba(46, 22, 0, .16) !important;
    overflow: hidden;
}
.aiz-nexa header.rz-h7 .dropdown-menu .dropdown-item {
    padding: 10px 16px;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
}
.aiz-nexa header.rz-h7 .dropdown-menu .dropdown-item:hover {
    background: #FFF3EA;
    color: var(--rz-h7-1);
    padding-left: 20px;
}

/* mega menu: gradient cap + rounded media + tinted links */
.aiz-nexa header.rz-h7 .mega-dropdown-menu::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--rz-h7-1), var(--rz-h7-2) 45%, var(--rz-h7-3));
}
.aiz-nexa header.rz-h7 .mega-dropdown-menu .img-aspect-ratio-200px,
.aiz-nexa header.rz-h7 .mega-dropdown-menu .img-aspect-ratio-200px img { border-radius: 14px; }
.aiz-nexa header.rz-h7 .mega-dropdown-menu ul li a {
    font-weight: 600;
    transition: color .18s ease, padding-left .18s ease;
}
.aiz-nexa header.rz-h7 .mega-dropdown-menu ul li a:hover {
    color: var(--rz-h7-1);
    padding-left: 3px;
}
.aiz-nexa header.rz-h7 .mega-dropdown-menu .fs-16.fw-700 a { color: var(--rz-h7-ink); }

/* cart dropdown */
.aiz-nexa header.rz-h7 #cart_items .dropdown-menu { max-height: 70vh; overflow-y: auto; }
.aiz-nexa header.rz-h7 #cart_items .dropdown-menu .btn {
    border-radius: 12px !important;
    font-weight: 700;
}
.aiz-nexa header.rz-h7 #cart_items .dropdown-menu img { border-radius: 10px; }

/* ------------------------------------------------------------- offcanvas */
#leftOffcanvas {
    border-radius: 0 22px 22px 0;
    box-shadow: 0 30px 70px rgba(46, 22, 0, .28);
}
#leftOffcanvas .offcanvas-header-area {
    background: linear-gradient(135deg, #FFF8F2, #FFFFFF 70%);
    border-bottom: 1px dashed #F2E6DC !important;
}
#leftOffcanvas .offcanvas-header-area img {
    box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(46, 22, 0, .16);
}
#leftOffcanvas .left-offcanvas-body { padding-top: 4px; }
#leftOffcanvas .left-offcanvas-body ul > li > a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 11px 14px !important;
    margin: 2px 0;
    border-radius: 12px;
    font-weight: 700 !important;
    color: #33302E;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
#leftOffcanvas .left-offcanvas-body ul > li > a::before {
    content: '';
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rz-h7-1), var(--rz-h7-2));
    opacity: .85;
}
#leftOffcanvas .left-offcanvas-body ul > li > a:hover {
    background: #FFF3EA;
    color: var(--rz-h7-1);
    transform: translateX(2px);
}
#leftOffcanvas .left-offcanvas-body ul.border-top {
    border-top: 1px dashed #F2E6DC !important;
    border-bottom: 1px dashed #F2E6DC !important;
    margin: 10px 0;
    padding-top: 10px;
    padding-bottom: 10px;
}
#leftOffcanvasOverlay {
    background: rgba(26, 15, 5, .38) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

/* -------------------------------------------------- scroll progress bar */
.rz-h7-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 2000;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(90deg, var(--rz-h7-1), var(--rz-h7-2) 50%, var(--rz-h7-3));
    box-shadow: 0 0 12px rgba(251, 119, 1, .45);
    transition: width .12s linear;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .rz-h7-progress { transition: none; }
}

/* ==========================================================================
   FLAT MODE — the bar is edge-to-edge and square (no floating pill)
   Appended last so it wins over the earlier floating rules.
   ========================================================================== */
.aiz-nexa header.rz-h7,
.aiz-nexa header.rz-h7.rz-h7-scrolled {
    padding: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.aiz-nexa header.rz-h7 .header-content-wrapper {
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(46, 22, 0, .07) !important;
    background: #ffffff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 12px 0 !important;
    box-shadow: 0 6px 20px rgba(46, 22, 0, .05) !important;
}
.aiz-nexa header.rz-h7.rz-h7-scrolled .header-content-wrapper {
    padding: 10px 0 !important;
    box-shadow: 0 8px 24px rgba(46, 22, 0, .09) !important;
}

/* the gradient accent now runs the full width of the bar */
.aiz-nexa header.rz-h7 .header-content-wrapper::after {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 2px !important;
    border-radius: 0 !important;
}

/* spotlight + hover shine follow the square shape */
.aiz-nexa header.rz-h7 .rz-h7-spotlight,
.aiz-nexa header.rz-h7 .header-content-wrapper::before { border-radius: 0 !important; }

/* the aurora glow behind the strip is pointless once the bar is solid */
.aiz-nexa header.rz-h7::before { display: none !important; }

/* generous but aligned inner gutters */
.aiz-nexa header.rz-h7 .header-content-wrapper > .container,
.aiz-nexa header.rz-h7 .header-content-wrapper > .layout-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* ---- mobile: same flat alignment ---- */
@media (max-width: 1199.98px) {
    .aiz-nexa header.rz-h7,
    .aiz-nexa header.rz-h7.rz-h7-scrolled { padding: 0 !important; }
    .aiz-nexa header.rz-h7 .header-content-wrapper,
    .aiz-nexa header.rz-h7.rz-h7-scrolled .header-content-wrapper {
        border-radius: 0 !important;
        padding: 10px 0 !important;
    }
    .aiz-nexa header.rz-h7 .header-content-wrapper::after { left: 0 !important; right: 0 !important; height: 2px !important; }
    .aiz-nexa header.rz-h7 .header-content-wrapper > .container,
    .aiz-nexa header.rz-h7 .header-content-wrapper > .layout-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* the bare language/currency switcher icon joins the chip family */
.aiz-nexa header.rz-h7 .header-content-wrapper .btn.btn-link.p-0 {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1px solid #F1E4DA !important;
    background: linear-gradient(180deg, #FFFFFF, #FFF7F1);
    box-shadow: 0 4px 12px rgba(46, 22, 0, .05);
    color: #4A4A4A !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.aiz-nexa header.rz-h7 .header-content-wrapper .btn.btn-link.p-0:hover {
    transform: translateY(-2px);
    border-color: #FFD3AF !important;
    box-shadow: 0 10px 20px rgba(251, 119, 1, .18);
    color: var(--rz-h7-1) !important;
}
.aiz-nexa header.rz-h7 .header-content-wrapper .btn.btn-link.p-0 svg path { fill: currentColor !important; }
