/* ============================================================
   ITC.lk — Design tokens
   ============================================================ */
:root {

    --orange: #0A1931;
    --orange-dark: #050E1E;
    --orange-hover: #152A4A;
    --orange-soft: #f0f4f9;

    --dark: #0A1931;
    --navy: #1A3D63;
    --blue: #4A7FA7;
    --light-blue: #B3CFE5;
    --bg: #F6FAFD;
    --white: #FFFFFF;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --border: #D9E6F2;
    --text: #0A1931;
    --text-soft: #4A5565;

    --radius: 24px;
    --radius-sm: 14px;
    --shadow-sm: 0 4px 16px rgba(10, 25, 49, .06);
    --shadow-md: 0 12px 32px rgba(10, 25, 49, .10);
    --shadow-lg: 0 24px 60px rgba(10, 25, 49, .16);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    /*max-width: 1360px;*/
    max-width: 1256px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
}

::selection {
    background: var(--primary-blue, #4A7FA7);
    color: #fff;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 34px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: clamp(24px, 3vw, 34px);
    color: var(--dark);
}

.section-sub {
    color: var(--text-soft);
    font-size: 15px;
    margin-top: 6px;
    font-weight: 400;
}


.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    isolation: isolate;
}

.btn-primary {
    background: linear-gradient(135deg, var(--dark), var(--navy) 60%, var(--blue));
    color: #fff;
    box-shadow: 0 10px 24px rgba(10, 25, 49, .25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(10, 25, 49, .35);
}

.btn-outline {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background: #fff;
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--dark);
    color: #fff;
}

.btn-dark:hover {
    background: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(10, 25, 49, .3);
}

.btn .arrow {
    transition: transform .35s var(--ease);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255, 255, 255, .35), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.btn:hover::after {
    opacity: 1;
}

.sec-head h2 {
    letter-spacing: 0px;
}


/* ============ Marquee brand strip ============ */
.trust-strip {
    background: var(--dark);
    padding: 16px 0;
    overflow: hidden;
}

.trust-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: marquee 22s linear infinite;
    width: max-content;
}

.trust-track span {
    color: rgba(255, 255, 255, .55);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .03em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-track span i {
    color: var(--light-blue);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


.rcg-main-hero .wrap {
    max-width: stretch;
    padding: 0px 0px;
}

.hero-slider {
    border-radius: 0px;
}



/* ============ Header ============ */
header {
    position: sticky;
    top: 0;
    /*z-index: 900;*/
    background: rgba(246, 250, 253, .7);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background .4s var(--ease), backdrop-filter .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(246, 250, 253, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(10, 25, 49, .06);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 0;
    transition: padding .4s var(--ease);
}

header.scrolled .header-inner {
    padding: 13px 0;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.03em;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo .dot {
    color: var(--blue);
}

.logo small {
    display: block;
    font-size: 9px;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: -2px;
}

.nav-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 5px 6px 5px 20px;
    max-width: 560px;
    transition: border-color .3s, box-shadow .3s;
}

.nav-search.focused {
    border-color: var(--blue);
    box-shadow: 0 0 0 5px rgba(74, 127, 167, .12);
}

.nav-search input {
    border: none;
    outline: none;
    flex: 1;
    font-family: inherit;
    font-size: 14px;
    background: transparent;
    color: var(--text);
}

.nav-search input::placeholder {
    color: #9AAAB8;
}

.nav-search .cat-select {
    font-size: 12.5px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-right: 1px solid var(--border);
    white-space: nowrap;
    cursor: pointer;
}

.nav-search button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .3s, transform .3s;
}

.nav-search button:hover {
    background: var(--blue);
    transform: scale(1.05);
}

.suggest-box {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .3s var(--ease);
    z-index: 40;
}

.suggest-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggest-box .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9AAAB8;
    padding: 4px 10px 8px;
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 13.5px;
    transition: background .2s;
}

.suggest-item:hover {
    background: var(--bg);
}

.suggest-item i {
    color: var(--blue);
    width: 16px;
    text-align: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 17px;
    transition: background .3s, transform .3s;
}

.icon-btn:hover {
    background: rgba(74, 127, 167, .12);
    transform: translateY(-2px);
}

.icon-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--danger);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-bar {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .5);
}


.mega-trigger {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--dark);
    color: #fff;
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    position: relative;
}

.cbar-inner nav {
    display: flex;
    gap: 26px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
}

.cbar-inner nav a {
    position: relative;
    padding: 4px 0;
    transition: color .25s;
}

.cbar-inner nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: width .3s var(--ease);
}

.cbar-inner nav a:hover {
    color: var(--dark);
}

.cbar-inner nav a:hover::after {
    width: 100%;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 760px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .35s var(--ease);
    z-index: 60;
}

.mega-trigger:hover .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--blue);
    margin-bottom: 12px;
}

.mega-col a {
    display: block;
    font-size: 13.5px;
    color: var(--text-soft);
    padding: 6px 0;
    transition: color .2s, transform .2s;
}

.mega-col a:hover {
    color: var(--dark);
    transform: translateX(4px);
}







/* ============ Header Actions & Icons Styles ============ */

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Icon Buttons Base Styling */
.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--dark, #0a192f);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
    box-sizing: border-box;
    padding: 0;
}

.icon-btn:hover {
    background: rgba(10, 25, 49, 0.06);
    transform: translateY(-2px);
}

/* Base Icon Wrapper (.ic) Size Reset */
.header-actions .ic,
.icon-btn .ic {
    width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

/* SVG Graphic Strict Sizing & Color Fill */
.header-actions .ic svg,
.icon-btn .ic svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    fill: currentColor;
    stroke: currentColor;
}

/* Notification Badge (Cart & Wishlist Count) */
.header-actions .icon-btn .badge {
    position: absolute;
    top: 1px;
    right: 1px;
    background: var(--danger, #ff4d4f);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
}

/* Logged-In User Pill Styling */
.user-pill {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    padding: 0 16px !important;
    height: 42px;
    border-radius: 21px;
    background: var(--band, #f4f8fb);
    color: var(--ink, #0a192f);
    text-decoration: none;
    transition: background 0.25s ease;
    white-space: nowrap;
}

.user-pill:hover {
    background: #e2eaf1;
}

.user-pill .ic {
    width: 18px !important;
    height: 18px !important;
}

/* Separate Search Bar Overlay SVG Fix */
.searchbar .ic {
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.searchbar .ic svg {
    width: 100% !important;
    height: 100% !important;
    fill: currentColor;
}

/* Fix for Search Button Icon Size inside Nav Search */
.nav-search button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dark, #0a192f);
    border: none;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    /* Ensures nothing leaks outside the circle */
}

/* Constrain the span wrapper inside the search button */
.nav-search button .ic {
    width: 16px !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Force SVG inside the search button to fit */
.nav-search button .ic svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 16px !important;
    max-height: 16px !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
    display: block;
}


/* ============ Responsive Header Media Queries ============ */

/* Tablet & Mobile Layout (Up to 991px) */
@media (max-width: 991px) {

    /* Prevent full-page horizontal scrolling/bleed */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Stack inner header elements with proper spacing */
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 16px;
    }

    header.scrolled .header-inner {
        padding: 10px 16px;
    }

    /* Keep Logo on top-left and Icons on top-right */
    .logo {
        font-size: 22px;
        order: 1;
    }

    .header-actions {
        order: 2;
        margin-left: auto;
        gap: 4px;
    }

    /* Icon button scaling for mobile screens */
    .icon-btn {
        width: 38px;
        height: 38px;
    }

    .user-pill {
        height: 38px;
        padding: 0 12px !important;
        font-size: 13px;
    }

    /* Move Search Bar to its own full-width row underneath */
    .nav-search {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 4px;
    }

    /* Hide the dropdown category selector inside search on mobile to save space */
    .nav-search .cat-select {
        display: none;
    }

    /* Category Navigation Bar - Horizontal Touch Scroll */
    .categories-bar .wrap,
    .cbar-inner {
        display: flex !important;
        align-items: center;
        width: 100%;
        overflow-x: auto !important;
        white-space: nowrap;
        padding: 8px 12px;
        gap: 16px;
        -webkit-overflow-scrolling: touch;

        /* Hide scrollbar tracks */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .categories-bar .wrap::-webkit-scrollbar,
    .cbar-inner::-webkit-scrollbar {
        display: none;
    }

    .cbar-inner nav {
        display: flex !important;
        gap: 18px;
        flex-shrink: 0;
    }

    .cbar-inner nav a {
        font-size: 13px;
    }

    /* Adjust Mega Trigger button for small screens */
    .mega-trigger {
        flex-shrink: 0;
        padding: 7px 12px;
        font-size: 12.5px;
    }

    /* Transform desktop Mega Menu into full-width mobile panel */
    .mega-menu {
        position: fixed;
        top: 60px;
        left: 12px;
        right: 12px;
        width: calc(100vw - 24px);
        max-height: 80vh;
        overflow-y: auto;
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 16px;
        padding: 18px;
        box-sizing: border-box;
    }

    .nav-search {
        display: none;
    }
}

.categories-bar .container.cbar-inner {
    max-width: 1360px;
}

/* Small Mobile Screens (Up to 480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .nav-search {
        padding: 3px 4px 3px 14px;
    }

    .nav-search input {
        font-size: 13px;
    }

    .nav-search button {
        width: 34px;
        height: 34px;
    }

    /* Compact icons for small phone screens */
    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .icon-btn .badge {
        width: 15px;
        height: 15px;
        font-size: 8.5px;
    }

    /* Hide text on user pill for small viewports to avoid crowding */
    .user-pill span:not(.ic) {
        display: none;
    }

    .user-pill {
        padding: 0 10px !important;
        border-radius: 50%;
        width: 36px;
        justify-content: center;
    }
}

/* ============ Announcement bar ============ */
.announce {
    background: var(--dark);
    color: rgba(255, 255, 255, .85);
    font-size: 12.5px;
    position: relative;
    z-index: 500;
    padding: .0rem 1rem;
}

nav {
    height: 55px;
}


.announce .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px !important;
    max-width: 1360px !important;

}

.announce-left {
    display: flex;
    gap: 22px;
    overflow: hidden;
    white-space: nowrap;
}

.announce-left span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.announce-left i {
    color: var(--light-blue);
    font-size: 11px;
}

.announce-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.announce-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .25s;
}

.announce-right a:hover {
    color: var(--light-blue);
}

.announce-right .divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .25);
}


.categories-bar {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .5);
}

.cbar-inner {
    display: flex;
    align-items: center;
    gap: 430px;
    padding: -1px 0;
}

.mega-trigger {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--dark);
    color: #fff;
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    position: relative;
}

.cbar-inner nav {
    display: flex;
    gap: 26px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
}

.cbar-inner nav a {
    position: relative;
    padding: 4px 0;
    transition: color .25s;
}

.cbar-inner nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: width .3s var(--ease);
}

.cbar-inner nav a:hover {
    color: var(--dark);
}

.cbar-inner nav a:hover::after {
    width: 100%;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 760px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .35s var(--ease);
    z-index: 60;
}

.mega-trigger:hover .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--blue);
    margin-bottom: 12px;
}

.mega-col a {
    display: block;
    font-size: 13.5px;
    color: var(--text-soft);
    padding: 6px 0;
    transition: color .2s, transform .2s;
}

.mega-col a:hover {
    color: var(--dark);
    transform: translateX(4px);
}


/* ============ Hero ============ */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: min(88vh, 720px);
    min-height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s ease;
}

.hero-slide.on {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 6s ease;
}

.hero-slide.on img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 25, 49, .82) 10%, rgba(10, 25, 49, .42) 55%, rgba(10, 25, 49, .08));
}

.hero-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
    padding: 0 24px;
    color: #fff;
}

.hero-content .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 22px;
    width: fit-content;
    opacity: 0;
    transform: translateY(16px);
}

.hero-content h1 {
    font-size: clamp(34px, 5.2vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(24px);
}

.hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 30px;
    max-width: 460px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content .hero-btns {
    display: flex;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide.on .tag,
.hero-slide.on h1,
.hero-slide.on p,
.hero-slide.on .hero-btns {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .9s var(--ease) .3s, transform .9s var(--ease) .3s;
}

.hero-slide.on h1 {
    transition-delay: .4s;
}

.hero-slide.on p {
    transition-delay: .5s;
}

.hero-slide.on .hero-btns {
    transition-delay: .6s;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    z-index: 2;
    opacity: .5;
}

.hero-shape.s1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--light-blue), transparent 70%);
    top: 14%;
    right: 18%;
    animation: floatY 7s ease-in-out infinite;
}

.hero-shape.s2 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, #fff, transparent 70%);
    bottom: 20%;
    right: 32%;
    animation: floatY 5.5s ease-in-out infinite .7s;
}

.hero-shape.s3 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, var(--blue), transparent 70%);
    bottom: 8%;
    right: 8%;
    animation: floatY 9s ease-in-out infinite 1.2s;
}

@keyframes floatY {

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

    50% {
        transform: translateY(-22px) translateX(10px);
    }
}

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 8;
}

.hero-dot {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .35);
    transition: background .3s, width .3s;
}

.hero-dot.on {
    background: #fff;
    width: 52px;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    transition: background .3s, transform .3s;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, .3);
}

.hero-nav.prev {
    left: 24px;
}

.hero-nav.next {
    right: 24px;
}

.brand-pill {
    position: absolute;
    z-index: 6;
    top: 40px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 100px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}


/* Container alignment */
.hero-content {
    position: relative !important;
    max-width: 650px !important;
    margin-left: 80px !important;
    text-align: left !important;
    z-index: 5 !important;
}

/* Force Title into 2 lines & fix yellow color split */
.hero-content h1 {
    font-size: 3.2rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.5px !important;

    /* Widened container forces exact 2-line break */
    max-width: 580px !important;
    width: max-content !important;
}

/* Clean 50/50 color split for 2 lines */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .hero-content h1 {
        background: linear-gradient(to bottom,
                #ffffff 0%,
                #ffffff 50%,
                #ffb703 50%,
                #ffb703 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
}

/* Compact Yellow Button (no longer full-width) */
/* Reduce Button Width */
.hero-content a.btn,
.hero-content a.btn-primary,
.hero-content .btn,
.hero-content .btn-primary {
    display: inline-block !important;
    width: auto !important;
    max-width: 160px !important;
    /* Adjust width here */
    padding: 10px 24px !important;
    text-align: center !important;

    background: #ffb703 !important;
    background-color: #ffb703 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.35) !important;
}

.hero-content a.btn:hover,
.hero-content a.btn-primary:hover,
.hero-content .btn:hover,
.hero-content .btn-primary:hover {
    background: #ffa200 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.5) !important;
}

/* Mobile responsive reset */
@media (max-width: 768px) {
    .hero-content {
        margin-left: 20px !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        max-width: 100% !important;
        width: auto !important;
    }
}

/* ============ Categories (Auto-Centered Wrap) ============ */
.cat-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    /* Centers items on incomplete rows */
    gap: 20px;
    width: 100%;
}

.cat-badge {
    /* Calculates exact 5-per-row width while taking 20px gap into account */
    flex: 0 0 calc((100% - 80px) / 5) !important;
    max-width: calc((100% - 80px) / 5) !important;
    box-sizing: border-box;

    /* Your existing design styles */
    background: linear-gradient(165deg, #fff, var(--bg));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cat-badge:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.cb-img {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--dark), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 24px;
    transition: transform .45s var(--ease), border-radius .45s var(--ease);
    overflow: hidden;
}

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

.cat-badge:hover .cb-img {
    transform: rotate(-8deg) scale(1.08);
    border-radius: 28px;
}

.cb-label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--dark);
}

.cat-badge p {
    font-size: 11.5px;
    color: var(--text-soft);
    margin-top: 4px;
}

/* Responsive adjustment so mobile screens don't crush the 5 columns */
@media (max-width: 1024px) {
    .cat-badges {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .cat-badges {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ============ Category Badges Mobile Responsive Fix ============ */

/* Tablets / Small Laptops (3 columns) */
@media (max-width: 1024px) {
    .cat-badge {
        flex: 0 0 calc((100% - 40px) / 3) !important;
        max-width: calc((100% - 40px) / 3) !important;
        padding: 24px 14px !important;
    }
}

/* Mobile Screens (2 columns) */
@media (max-width: 600px) {
    .cat-badges {
        gap: 12px !important;
    }

    .cat-badge {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
        padding: 16px 10px !important;
    }

    .cb-img {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 10px !important;
    }

    .cb-label {
        font-size: 13px !important;
    }
}

/* ============ Section Head & Wrapper ============ */
.wrap .sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.wrap .sec-head .eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue, #0066cc);
    margin-bottom: 6px;
}

.wrap .sec-head h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--dark, #0a1931);
    margin: 0;
}

.wrap .sec-head .link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--dark, #0a1931);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background .25s, transform .25s;
}

.wrap .sec-head .link:hover {
    background: #000;
    transform: translateY(-2px);
}

.wrap .sec-head .link .ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s;
}

.wrap .sec-head .link:hover .ic {
    transform: translateX(4px);
}




/* ============ Collection Cards (RCG Promo Trio) ============ */

.rcg-promo-trio .promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.rcg-promo-trio .promo {
    position: relative;
    border-radius: var(--radius, 24px);
    overflow: hidden;
    height: 320px;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: #fff;
    isolation: isolate;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-sizing: border-box;
    text-decoration: none;
    transition: transform 0.8s var(--ease, ease);
}

/* Image zoom effect on card hover */
.rcg-promo-trio .promo:hover {
    transform: scale(1.03);
}

/* Linear Gradient Overlay */
.rcg-promo-trio .promo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 25, 49, 0.88), rgba(10, 25, 49, 0.15) 60%);
    z-index: 1;
}

/* Inner Container Layout - Side-by-Side Align (Title Left, Link Right) */
.rcg-promo-trio .promo>div {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px;
}

/* Hide eyebrow to match the design in the reference image */
.rcg-promo-trio .promo .eyebrow {
    display: none !important;
}

/* Title (H2 mapped to H3 style) */
.rcg-promo-trio .promo h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Link/Button mapped to span with hover arrow slide effect */
.rcg-promo-trio .promo .btn {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Add the right arrow icon */
.rcg-promo-trio .promo .btn::after {
    content: '→';
    font-size: 15px;
    transition: transform 0.3s;
}

/* Arrow hover animation */
.rcg-promo-trio .promo:hover .btn::after {
    transform: translateX(5px);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .rcg-promo-trio .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rcg-promo-trio .promo-grid {
        grid-template-columns: 1fr;
    }
}


/* ============ Promo banner ============ */
.promo {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, var(--navy), var(--dark));
}

.promo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .34;
    mix-blend-mode: luminosity;
}

.promo-inner {
    position: relative;
    z-index: 2;
    padding: 0px;
    max-width: 560px;
    color: #fff;
}

.promo-inner .eyebrow {
    color: var(--light-blue);
}

.promo-inner .eyebrow::before {
    background: var(--light-blue);
}

.promo-inner h2 {
    font-size: clamp(28px, 4vw, 46px);
    margin: 14px 0 16px;
    line-height: 1.1;
}

.promo-inner p {
    color: rgba(255, 255, 255, .75);
    margin-bottom: 28px;
    max-width: 420px;
}

.promo-deco {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue), transparent 70%);
    opacity: .4;
    filter: blur(4px);
}

.promo-deco.d1 {
    width: 200px;
    height: 200px;
    top: -60px;
    right: 10%;
    animation: floatY 6s ease-in-out infinite;
}

.promo-deco.d2 {
    width: 120px;
    height: 120px;
    bottom: -30px;
    right: 30%;
    animation: floatY 8s ease-in-out infinite 1s;
}

/* ============ Footer ============ */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
    gap: 32px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.footer-logo span {
    color: var(--light-blue);
}

.footer-grid p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.footer-social a:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 14.5px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 13.5px;
    padding: 6px 0;
    color: rgba(255, 255, 255, .55);
    transition: color .25s, transform .25s;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: 13.5px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .6);
}

.footer-contact i {
    color: var(--light-blue);
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
    flex-wrap: wrap;
    gap: 12px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 22px;
    color: rgba(255, 255, 255, .5);
}

/* ============ Footer Mobile Responsive Fix ============ */

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 28px !important;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    footer {
        padding-top: 40px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        /* Stack columns vertically */
        gap: 24px !important;
        padding-bottom: 30px !important;
    }

    .footer-col h4 {
        margin-bottom: 12px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
        padding: 20px 0 !important;
    }

    .payment-icons {
        justify-content: center !important;
    }
}


/* ============ Newsletter Section ============ */
section.band {
    margin-top: 48px;
}

section.band .promo {
    border-radius: 40px;
    background: linear-gradient(120deg, var(--dark), var(--navy, #0a192f) 60%, var(--blue)) !important;
    padding: 64px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.band.rcg-newsletter-banner {
    background: none;
}

section.band .promo h2 {
    font-size: clamp(24px, 3.4vw, 38px) !important;
    margin: 0 0 12px !important;
    color: #fff !important;
}

section.band .promo p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 30px !important;
}

/* Form Styles */
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.newsletter-form button.btn {
    background: #fff !important;
    color: var(--dark) !important;
    padding: 12px 26px !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    border: none !important;
    cursor: pointer;
    transition: transform 0.3s ease !important;
}

.newsletter-form button.btn:hover {
    transform: scale(1.04) !important;
}

/* ============ Mobile Newsletter Form Fix ============ */

@media (max-width: 560px) {

    /* Force form to stack elements vertically */
    form.foot-news,
    .newsletter-form {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        background: transparent !important;
        /* Remove shared pill background if present */
        border: none !important;
        padding: 0 !important;
    }

    /* Input field styling for mobile */
    form.foot-news input[type="email"],
    .newsletter-form input {
        width: 100% !important;
        border-radius: 100px !important;
        padding: 14px 20px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        box-sizing: border-box !important;
        text-align: center;
    }

    form.foot-news input[type="email"]::placeholder {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    /* Subscribe button styling underneath */
    form.foot-news button,
    .newsletter-form .btn {
        width: 100% !important;
        border-radius: 100px !important;
        padding: 14px 20px !important;
        margin: 0 !important;
        position: static !important;
        /* Prevents button from positioning over input */
        justify-content: center !important;
    }
}

/* Target icons placed directly inside your .promo container */
section.band .promo i.float-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.12);
    font-size: 38px;
    animation: floatY 6s ease-in-out infinite;
    pointer-events: none;
    /* Prevents icons from blocking input clicks */
}

/* Float Up & Down Keyframe Animation */
@keyframes floatY {

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

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

/* ============ Stats ============ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--radius);
    background: var(--dark);
    color: #fff;
    overflow: hidden;
}

.stat-item {
    padding: 34px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item b {
    font-size: clamp(26px, 3vw, 38px);
    display: block;
    background: linear-gradient(135deg, #fff, var(--light-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ============ Customer Benefits / Values ============ */

/* Grid Container */
section.band .values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Benefit Card Layout */
section.band .val {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-sizing: border-box;
}

section.band .val:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(10, 25, 49, 0.06);
    border-color: #cbd6e2;
}

/* Centered Icon Container & Dashed Border */
section.band .vic {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f4f8fb;
    border: 1px solid var(--border);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 20px 0 !important;
    color: #3b719f;
    position: relative;
    flex-shrink: 0;
}

.val span {
    font-size: .8rem;
    color: var(--blue);
}

section.band .vic::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px dashed #a7c5eb;
    animation: spin 14s linear infinite;
}

/* SVG Icon Inside .vic */
section.band .vic .ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

section.band .vic .ic svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

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

/* Text Container Stacked Below Icon */
section.band .val>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title (bold element) */
section.band .val b {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #0a192f;
    margin-bottom: 8px;
}

/* Subtitle / Description */
section.band .val span:not(.vic):not(.ic) {
    display: block;
    font-size: 13px;
    color: #6b7c93;
    line-height: 1.5;
}

/* Responsive Grid */
@media (max-width: 992px) {
    section.band .values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    section.band .values {
        grid-template-columns: 1fr;
    }
}


/* ============ Product Card Component ============ */

/* Main Card Wrapper */
a.prod {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.prod:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Image Container Frame */
a.prod .ph {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f5f7;
    overflow: hidden;
}

/* Main & Secondary Image Transitions */
a.prod .ph img.main,
a.prod .ph img.alt {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

a.prod .ph img.alt {
    position: absolute;
    inset: 0;
    opacity: 0;
}

a.prod:hover .ph img.main {
    transform: scale(1.05);
}

a.prod:hover .ph img.alt {
    opacity: 1;
    transform: scale(1.05);
}

/* Top Badges (Discount Pill & In-Stock Pill) */
a.prod .badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    z-index: 3;
}

a.prod .badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    line-height: 1.2;
}

a.prod .badge.sale {
    background: #ff4d4f;
    color: #ffffff;
}

a.prod .badge.new {
    background: #20c997;
    color: #ffffff;
}

/* Quick Add / View Overlay Buttons */
a.prod .quick {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 4;
}

a.prod:hover .quick {
    opacity: 1;
    transform: translateY(0);
}

a.prod .quick .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: #0a192f;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
}

a.prod .quick .btn-ghost {
    background: rgba(255, 255, 255, 0.9);
    color: #0a192f;
}

/* Card Body Content */
a.prod .info {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Category Label */
a.prod .cat-row .cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5c7cfa;
}

/* Product Title */
a.prod h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0a192f;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating Row */
a.prod .rate-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

a.prod .stars-group {
    display: flex;
    align-items: center;
    gap: 2px;
}

a.prod .stars-group .ic {
    width: 13px;
    height: 13px;
    display: flex;
    color: #ffc107;
}

a.prod .stars-group .ic svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

a.prod .rate-text {
    font-size: 12px;
    color: #868e96;
}

/* Pricing Section */
a.prod .prc {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

a.prod .prc .now {
    font-size: 16px;
    font-weight: 800;
    color: #0a192f;
}

a.prod .prc .was {
    font-size: 13px;
    color: #adb5bd;
    text-decoration: line-through;
}

/* ============ Product Card Info Refinements ============ */

/* Blue Category Label */
a.prod .cat-row .cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4A7FA7;
    /* Custom Blue Accent */
}

/* Installment Plan & Payment Logos Row */
a.prod .installment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

a.prod .installment-row .inst-text {
    font-size: 13px;
    font-weight: 500;
    color: #2b3a4a;
}

a.prod .installment-row .payment-logos {
    display: flex;
    align-items: center;
    gap: 6px;
}

a.prod .installment-row .pay-img {
    height: 14px;
    width: auto;
    object-fit: contain;
}

/* Pricing Styling - Solid Black Main Price */
a.prod .prc {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
}

a.prod .prc .now {
    font-size: 18px;
    font-weight: 900;
    color: #000000;
    /* Solid Black */
    letter-spacing: -0.02em;
}

a.prod .prc .was {
    font-size: 13px;
    color: #9aaab8;
    text-decoration: line-through;
}

/* ============ Product Rail Section ============ */

.product-rail-section {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: transparent;
}

.sec-head p {
    color: var(--blue);
}

/* Header Container Alignment */
.product-rail-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 20px;
}

/* Subtitle Eyebrow Text */
.rail-subtext {
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5c7cfa;
    margin: 0 0 6px 0;
}

/* Main Section Heading */
.rail-heading {
    font-size: 28px;
    font-weight: 800;
    color: #0a192f;
    margin: 0;
    line-height: 1.2;
}

/* Control Buttons Wrapper */
.rail-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Pill View More Button */
.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0a192f;
    color: #ffffff;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.view-more-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.view-more-btn .ic {
    width: 14px;
    height: 14px;
    display: flex;
}

.view-more-btn .ic svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Navigation Arrow Circular Buttons */
.nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(10, 25, 49, 0.12);
    background: #ffffff;
    color: #0a192f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-arrow .ic {
    width: 16px;
    height: 16px;
    display: flex;
}

.nav-arrow .ic svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.nav-arrow:hover {
    background: #0a192f;
    color: #ffffff;
    border-color: #0a192f;
}

/* Responsive Handling */
@media (max-width: 768px) {
    .product-rail-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rail-controls {
        width: 100%;
        justify-content: space-between;
    }

    .rail-heading {
        font-size: 22px;
    }
}

/* Horizontal Scroll Container */
.product-rail-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 12px;
    margin-bottom: 0;

    /* Hide scrollbars */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.product-rail-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

/* Force product cards to keep fixed width in the rail */
.product-rail-grid .prod {
    flex: 0 0 calc(25% - 15px);
    /* Displays 4 cards per row */
    min-width: 260px;
    /* Prevents cards from shrinking too small */
    scroll-snap-align: start;
}

@media (max-width: 1024px) {
    .product-rail-grid .prod {
        flex: 0 0 calc(33.333% - 14px);
        /* 3 cards on tablets */
    }
}

@media (max-width: 768px) {
    .product-rail-grid .prod {
        flex: 0 0 calc(50% - 10px);
        /* 2 cards on mobile */
    }
}


/* ============ Flash sale ============ */
.flash {
    background: linear-gradient(120deg, var(--dark) 0%, var(--navy) 55%, var(--blue) 130%);
    border-radius: var(--radius);
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.flash::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(239, 68, 68, .25), transparent 70%);
    top: -120px;
    right: -60px;
}

.flash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.flash-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.flash-badge {
    background: var(--danger);
    padding: 9px 18px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(239, 68, 68, .4);
}

.flash-badge i {
    animation: pulse 1.4s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.flash-title h2 {
    font-size: 26px;
}

.countdown {
    display: flex;
    gap: 10px;
}

.countdown .c-box {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    width: 58px;
    padding: 8px 0;
    text-align: center;
}

.countdown .c-box b {
    font-size: 20px;
    display: block;
    font-variant-numeric: tabular-nums;
}

.countdown .c-box span {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .65);
}

.flash-progress {
    height: 8px;
    background: rgba(255, 255, 255, .15);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 26px;
    position: relative;
    z-index: 2;
}

.flash-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--warning), var(--danger));
    transition: width 1.6s var(--ease);
}

/* Container Spacing & Margins */
.product-rail-wrapper {
    padding: 0 24px;
    /* Side padding on whole container */
    max-width: 1400px;
    margin: 0 auto;
}

/* Flash Banner Styling & Box Margins */
.product-rail-section.flash {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 32px 30px !important;
    border-radius: 24px !important;
}

/* Product Rail Drag Scroll Grid */
.product-rail-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 20px;
    padding-bottom: 12px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;

    /* Smooth Scrollbar Removal */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.product-rail-grid.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
}

/* Product Cards Sizing */
.product-rail-grid .prod {
    flex: 0 0 280px !important;
    min-width: 280px !important;
}

/* Mobile responsive padding */
@media (max-width: 768px) {
    .product-rail-wrapper {
        padding: 0 12px;
    }

    .product-rail-section.flash {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
}

.text-white {
    color: #ffffff !important;
}


/* ============ Hot Deals / Flash Sale ============ */
.hot-deals {
    background: linear-gradient(120deg, var(--dark) 0%, var(--navy) 55%, var(--blue) 130%);
    border-radius: var(--radius);
    padding: 32px 30px !important;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 1300px;
    margin-left: auto !important;
    /* Centers from the left */
    margin-right: auto !important;
    /* Centers from the right */
}

.hot-deals::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(239, 68, 68, .25), transparent 70%);
    top: -120px;
    right: -60px;
}

/* Container Spacing & Margins */
.hot-deals .wrap {
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Setup */
.hot-deals .hd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 18px;
    position: relative;
    z-index: 2;
}

/* Eyebrow / Badge Styling */
.hot-deals .eyebrow {
    background: var(--danger);
    padding: 9px 18px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(239, 68, 68, .4);
    color: #fff;
    margin-bottom: 8px;
}

.hot-deals .hd-flame {
    animation: pulse 1.4s infinite;
    display: inline-block;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.hot-deals .hd-head h2 {
    font-size: 26px;
    color: #fff;
    margin: 0;
}

.hot-deals .hd-sub {
    color: rgba(255, 255, 255, .75);
    margin-top: 4px;
}

/* Countdown Clock Styling */
.hot-deals .hd-timer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 6px;
    text-align: right;
}

.hot-deals .hd-clock-row {
    display: flex;
    gap: 10px;
}

.hot-deals .hd-unit {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    width: 58px;
    padding: 8px 0;
    text-align: center;
}

.hot-deals .hd-unit b {
    font-size: 20px;
    display: block;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.hot-deals .hd-unit span {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .65);
    display: block;
}

/* Product Rail Drag Scroll Grid */
.hot-deals .grid-4 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 20px;
    padding-bottom: 12px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;

    /* Smooth Scrollbar Removal */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hot-deals .grid-4::-webkit-scrollbar {
    display: none;
}

.hot-deals .grid-4.is-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
}

/* Product Cards Sizing inside Rail */
.hot-deals .grid-4 .product-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
}

/* Text Utility */
.text-white {
    color: #ffffff !important;
}

/* Mobile responsive padding */
@media (max-width: 768px) {
    .hot-deals .wrap {
        padding: 0 12px;
    }

    .hot-deals {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    .hot-deals .hd-timer-label {
        text-align: left;
    }
}


/* Add padding inside the dark blue card area */
section.hot-deals {
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}

/* Horizontal scroll container with side spacing */
.hot-deals .grid-4 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 16px !important;
    padding: 5px 0 15px 0 !important;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hot-deals .grid-4::-webkit-scrollbar {
    display: none;
}

/* 4 Cards per view scaled to respect the inner padding */
.hot-deals .grid-4>a.prod,
.hot-deals .grid-4>.product-card {
    flex: 0 0 calc((100% - (16px * 3)) / 4) !important;
    min-width: calc((100% - (16px * 3)) / 4) !important;
    max-width: calc((100% - (16px * 3)) / 4) !important;
    box-sizing: border-box !important;
    scroll-snap-align: start;
}

/* Mobile Adjustments (1 Product per view with gaps) */
@media (max-width: 640px) {
    section.hot-deals {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hot-deals .grid-4>a.prod,
    .hot-deals .grid-4>.product-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}


/* Allow the container and trigger to drop down content naturally */
.categories-bar,
.cbar-inner {
    overflow: visible !important;
}

/* Ensure trigger is the anchor for absolute positioning */
.mega-trigger {
    position: relative;
}

/* Dropdown positions relative to .mega-trigger */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    /* or a set width like 600px */
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Move horizontal scrolling ONLY to the nav links */
.cbar-inner nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

/* Display the Quick View button permanently on mobile/touch screens */
@media (hover: none),
(max-width: 768px) {
    .product-card .quick-view-btn {
        /* Replace with your actual class names */
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        /* or flex, depending on layout */
        transform: none !important;
        /* Resets any hover transform animations */
    }
}

@media (max-width: 768px) {
    .mega-menu {
        flex-direction: column;
        max-width: calc(100vw - 30px);
        max-height: 70vh;
        /* Prevents overflow off the bottom of screen */
        overflow-y: auto;
        /* Scroll vertically instead */
    }

    .mega-col {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Show quick action buttons permanently on mobile/touch screens */
@media (hover: none),
(max-width: 768px) {
    a.prod .quick {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        /* or block depending on your layout style */
        transform: none !important;
        /* Resets hidden hover offsets */
        pointer-events: auto !important;
    }
}

/* mobile view filter button css styles */
@media (max-width: 1080px) {

    /* Hide panel by default */
    #filters,
    .filters-sidebar,
    .shop-sidebar {
        display: none;
    }

    /* Dark background overlay */
    .filter-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99998;
    }

    .filter-backdrop.active {
        display: block !important;
    }

    /* Active Sidebar Drawer */
    #filters.active,
    .filters-sidebar.active,
    .shop-sidebar.active {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        background: #ffffff !important;
        z-index: 99999 !important;
        padding: 20px !important;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.3) !important;
        box-sizing: border-box !important;

        /* ISSUE 2 FIX: Enable full height touch scrolling */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Prevent inner content clipping */
    #filters.active *,
    .filters-sidebar.active *,
    .shop-sidebar.active * {
        max-height: none !important;
    }
}

