@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0b5ed7;
    --dark: #101828;
    --muted: #667085;
    --soft: #f5f7fb;
    --border: #e4e7ec;
    --brand: #3690CC;
    --purple: #7650d8;
    --green: #26ad72;
}

* {
    box-sizing: border-box
}

body {
    font-family: Inter, system-ui, sans-serif;
    color: var(--dark);
    background: #fff
}

a {
    text-decoration: none
}

.topbar {
    background: #101828;
    color: #fff;
    font-size: 13px
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -.5px
}

.logo-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b5ed7, #15aabf);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff
}

.hero {
    background: linear-gradient(110deg, #071b3a 0%, #0b5ed7 65%, #16a3b7 100%);
    color: #fff;
    border-radius: 0 0 28px 28px
}

.hero-card {
    min-height: 420px;
    display: flex;
    align-items: center
}

.hero h1 {
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -2px
}

.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 13px
}

.category-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    background: #fff;
    height: 100%;
    transition: .2s
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(16, 24, 40, .09)
}

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #eaf2ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    height: 100%;
    transition: .2s;
    overflow: hidden
}

.product-image {
    height: 190px;
    background: linear-gradient(135deg, #f4f7fb, #e9eef6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #344054;
    font-size: 54px
}

.product-body {
    padding: 17px
}

.brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    min-height: 41px
}

.price {
    font-size: 20px;
    font-weight: 800
}

.muted {
    color: var(--muted)
}

.stock {
    font-size: 11px;
    font-weight: 700
}

.stock.in {
    color: #067647
}

.stock.low {
    color: #b54708
}

.stock.out {
    color: #b42318
}

.filter-panel {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    position: sticky;
    top: 90px
}

.section {
    padding: 60px 0
}

.section-title {
    font-weight: 800;
    letter-spacing: -.7px
}

.badge-soft {
    background: #eef4ff;
    color: #175cd3
}

.footer {
    background: #101828;
    color: #d0d5dd
}

.footer a {
    color: #d0d5dd
}

.footer a:hover {
    color: #fff
}

.cart-count {
    font-size: 10px;
    position: absolute;
    top: -5px;
    right: -8px
}

.toast-container {
    z-index: 9999
}

.table>:not(caption)>*>* {
    padding: 14px 10px
}

.form-control,
.form-select {
    border-radius: 10px;
    padding: 11px 13px
}

.btn {
    border-radius: 10px;
    font-weight: 600
}

.detail-image {
    min-height: 470px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f7fb, #e7edf7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: #344054
}

@media(max-width:991px) {
    .filter-panel {
        position: static
    }

    .hero-card {
        min-height: 360px
    }
}

@media(max-width:575px) {
    .hero {
        border-radius: 0 0 18px 18px
    }

    .section {
        padding: 42px 0
    }

    .product-image {
        height: 155px
    }
}

/* ===== MEGA MENU ===== */
@media (min-width: 992px) {
    .mega-menu-wrap {
        position: relative !important
    }

    .mega-menu-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    background: transparent;
    z-index: 9998;
}

.mega-menu-wrap .mega-menu {
    z-index: 9999;
}

    .mega-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 1050;
        background: #fff;
        border-top: 3px solid #0b5ed7;
        box-shadow: 0 18px 45px rgba(16, 24, 40, .14);
        padding: 28px 0;
        display: none
    }

    

    .mega-menu .container {
        max-width: 1200px
    }

    .mega-col {
        padding: 0 22px;
        border-right: 1px solid #eaecf0
    }

    .mega-col:last-child {
        border-right: 0
    }

    .mega-title {
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        color: #0b5ed7;
        margin-bottom: 12px
    }

    .mega-link {
        display: block;
        color: #344054;
        font-size: 13px;
        padding: 6px 0
    }

    .mega-link:hover {
        color: #0b5ed7;
        padding-left: 3px
    }

    .mega-feature {
        background: #f5f8ff;
        border-radius: 14px;
        padding: 18px
    }
}

@media(max-width:991px) {
    .mega-menu {
        display: block;
        position: static;
        box-shadow: none;
        border: 0;
        padding: 8px 0 12px;
        background: #f8fafc
    }

    .mega-col {
        border: 0;
        padding: 8px 16px
    }

    .mega-feature {
        margin-top: 8px
    }

   
}

body {
    background: #f8fafc
}

.container {
    max-width: 1440px
}

.navbar .container,
.topbar .container,
.footer .container {
    max-width: 1440px
}

.hero .container {
    max-width: 1440px
}

.navbar {
    background: #ffffff !important
}

.navbar-brand {
    color: #172033
}

.hero {
    background: linear-gradient(115deg, #071a33 0%, #0b3b75 46%, #087f8c 100%)
}

.section.bg-light {
    background: #f3f6fa !important
}

.catalog-layout {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    gap: 24px
}

.brand-sidebar {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 5px 20px rgba(16, 24, 40, .04);
    height: max-content;
    position: sticky;
    top: 88px
}

.brand-sidebar h5 {
    font-weight: 800;
    font-size: 16px
}

.brand-group-title {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: #667085;
    letter-spacing: .7px;
    margin: 20px 0 8px
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 9px;
    padding: 9px 10px;
    text-align: left;
    color: #344054;
    font-size: 13px
}

.brand-item:hover,
.brand-item.active {
    background: #eaf2ff;
    color: #0b5ed7;
    font-weight: 700
}

.brand-count {
    font-size: 10px;
    background: #f2f4f7;
    border-radius: 999px;
    padding: 2px 7px;
    color: #667085
}

.catalog-main {
    min-width: 0
}

.catalog-toolbar {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    padding: 13px 15px;
    margin-bottom: 16px
}

.catalog-toolbar .form-control,
.catalog-toolbar .form-select {
    border-color: #d0d5dd
}

.category-strip {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding-bottom: 8px
}

.category-chip {
    white-space: nowrap;
    border: 1px solid #d0d5dd;
    background: #fff;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    color: #344054
}

.category-chip:hover,
.category-chip.active {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #fff
}

.product-card {
    border-color: #dfe5ec
}

.product-image {
    background: linear-gradient(145deg, #f6f8fb, #e9eef5)
}

.price {
    color: #172033
}

.btn-primary {
    background: #0b5ed7;
    border-color: #0b5ed7
}

.btn-primary:hover {
    background: #084cae;
    border-color: #084cae
}

.badge-soft {
    background: #eaf2ff;
    color: #0b5ed7
}

.mega-menu {
    border-top-color: #0b5ed7
}

@media(max-width:991px) {
    .catalog-layout {
        grid-template-columns: 1fr
    }

    .brand-sidebar {
        position: static
    }

    .container {
        max-width: 100%
    }
}

@media(max-width:575px) {
    .container {
        padding-left: 14px;
        padding-right: 14px
    }
}

body {
    color: #172033
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
    color: #172033
}

.navbar .nav-link {
    color: #344054;
    font-weight: 600
}

.navbar .nav-link:hover {
    color: #0b5ed7
}

.muted,
.small.muted {
    color: #667085 !important
}

.brand {
    color: #0b5ed7;
    font-size: 11px;
    letter-spacing: .45px
}

.product-title {
    color: #172033;
    font-size: 14px;
    font-weight: 700
}

.product-title:hover {
    color: #0b5ed7
}

.product-card {
    background: #fff;
    border: 1px solid #dfe5ec;
    box-shadow: 0 2px 8px rgba(16, 24, 40, .035)
}

.product-card:hover {
    border-color: #b7cdf2;
    box-shadow: 0 12px 28px rgba(16, 24, 40, .10)
}

.product-body {
    padding: 16px
}

.product-actions {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-top: 12px
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    height: 38px
}

.qty-control button {
    width: 34px;
    height: 38px;
    border: 0;
    background: #f8fafc;
    color: #344054;
    font-size: 18px
}

.qty-control button:hover {
    background: #eaf2ff;
    color: #0b5ed7
}

.qty-control span {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 13px
}

.add-cart-btn {
    flex: 1;
    height: 38px
}

.product-sku {
    font-size: 10px;
    color: #98a2b3
}

.price {
    font-size: 19px;
    color: #172033;
    font-weight: 800
}

.stock.in {
    color: #067647
}

.stock.low {
    color: #b54708
}

.sidebar-label {
    color: #475467
}

.footer {
    color: #98a2b3
}

.footer h5,
.footer h6 {
    color: #fff
}

:root {
    --primary: #5b6675;
    --dark: #151515;
    --muted: #667085;
    --soft: #f6f6f5;
    --border: #dededb
}

body {
    color: #171717;
    background: #fafaf9
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
    color: #111 !important
}

.product-title,
.product-title:hover {
    color: #111 !important
}

.price {
    color: #111 !important
}

.brand {
    color: #4b5563 !important
}

.navbar .nav-link {
    color: #222 !important
}

.navbar .nav-link:hover {
    color: #555 !important
}

.mega-menu {
    border-top-color: #333
}

.mega-title {
    color: #222
}

.mega-link {
    color: #333
}

.mega-link:hover {
    color: #111
}

.category-icon {
    background: #f0f0ee;
    color: #333
}

.badge-soft {
    background: #eeeeeb;
    color: #333
}

.category-chip {
    color: #333
}

.category-chip:hover,
.category-chip.active {
    background: #333;
    border-color: #333;
    color: #fff
}

.brand-item {
    color: #333
}

.brand-item:hover,
.brand-item.active {
    background: #f0f0ee;
    color: #111
}

.product-card:hover {
    border-color: #c9c9c5
}

.btn-primary {
    background: #252525;
    border-color: #252525
}

.btn-primary:hover {
    background: #111;
    border-color: #111
}

.text-primary {
    color: #333 !important
}

.bg-primary {
    background: #333 !important
}

.product-image {
    background: linear-gradient(145deg, #f5f5f3, #e9e9e6);
    color: #333
}

.qty-control button:hover {
    background: #eeeeeb;
    color: #111
}

.hero {
    background: linear-gradient(115deg, #171717 0%, #303030 55%, #555 100%)
}

.hero .btn-light {
    color: #111
}

.section.bg-light {
    background: #f4f4f2 !important
}

.filter-panel,
.brand-sidebar,
.catalog-toolbar,
.category-card {
    background: #fff
}

.stock.in {
    color: #176b43
}

.stock.low {
    color: #9a5a00
}

:root {
    --primary: #3690CC;
    --primary-dark: #2879ad;
    --primary-soft: #eaf5fb;
    --dark: #252b31;
    --muted: #68737d;
    --soft: #f5f8fa;
    --border: #dfe5e9;
}

body {
    color: #252b31;
    background: #f7f9fa
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
    color: #252b31 !important
}

.product-title,
.product-title:hover {
    color: #252b31 !important
}

.price {
    color: #252b31 !important
}

.brand {
    color: #3690CC !important
}

.navbar .nav-link {
    color: #3d464e !important
}

.navbar .nav-link:hover {
    color: #3690CC !important
}

.logo-box {
    background: linear-gradient(135deg, #3690CC, #65acd5)
}

.hero {
    background: linear-gradient(115deg, #eef7fb 0%, #ffffff 58%, #e9f5fb 100%);
    color: #252b31;
    border-bottom: 1px solid #dcecf5;
}

.hero h1 {
    color: #252b31 !important
}

.hero p {
    color: #68737d !important
}

.hero .pill {
    background: #e5f3fa;
    color: #2879ad
}

.hero .btn-light {
    background: #3690CC;
    border-color: #3690CC;
    color: #fff
}

.hero .btn-light:hover {
    background: #2879ad
}

.hero .btn-outline-light {
    border-color: #8dbdd8;
    color: #2879ad
}

.hero .btn-outline-light:hover {
    background: #3690CC;
    color: #fff;
    border-color: #3690CC
}

.mega-menu {
    border-top-color: #3690CC
}

.mega-title {
    color: #2879ad
}

.mega-link {
    color: #46515a
}

.mega-link:hover {
    color: #3690CC
}

.mega-feature {
    background: linear-gradient(135deg, #f0f8fc, #fff)
}

.category-icon {
    background: #eaf5fb;
    color: #3690CC
}

.badge-soft {
    background: #eaf5fb;
    color: #2879ad
}

.category-chip {
    color: #4a555e;
    border-color: #d5dde2
}

.category-chip:hover,
.category-chip.active {
    background: #3690CC;
    border-color: #3690CC;
    color: #fff
}

.brand-item {
    color: #4a555e
}

.brand-item:hover,
.brand-item.active {
    background: #eaf5fb;
    color: #2879ad
}

.brand-count {
    background: #f0f3f5;
    color: #68737d
}

.product-card {
    border-color: #dfe5e9;
    box-shadow: 0 2px 8px rgba(37, 43, 49, .035)
}

.product-card:hover {
    border-color: #b9d9ea;
    box-shadow: 0 12px 28px rgba(37, 43, 49, .09)
}

.product-image {
    background: linear-gradient(145deg, #f8fbfc, #edf4f7);
    color: #59656e
}

.product-actions .btn-primary,
.btn-primary {
    background: #3690CC;
    border-color: #3690CC
}

.product-actions .btn-primary:hover,
.btn-primary:hover {
    background: #2879ad;
    border-color: #2879ad
}

.qty-control button:hover {
    background: #eaf5fb;
    color: #2879ad
}

.text-primary {
    color: #3690CC !important
}

.bg-primary {
    background: #3690CC !important
}

.border-primary {
    border-color: #3690CC !important
}

.stock.in {
    color: #21734d
}

.stock.low {
    color: #a46700
}

.footer {
    background: #26343d;
    color: #c8d1d7
}

.footer h5,
.footer h6 {
    color: #fff
}

.footer a {
    color: #c8d1d7
}

.footer a:hover {
    color: #fff
}

.section.bg-light {
    background: #f3f7f9 !important
}

.catalog-toolbar {
    border-color: #dfe5e9
}

.filter-panel,
.brand-sidebar,
.category-card {
    border-color: #dfe5e9
}

.form-control:focus,
.form-select:focus {
    border-color: #7db9d7;
    box-shadow: 0 0 0 .2rem rgba(54, 144, 204, .12)
}

a {
    color: #2879ad
}

a:hover {
    color: #3690CC
}

@media(max-width:991px) {
    .hero {
        border-radius: 0 0 18px 18px
    }
}

.search-box {
    max-width: 680px;
    flex: 1
}

.search-box .form-control {
    border-right: 0 !important;
    border-radius: 10px 0 0 10px !important;
    height: 44px
}

.search-box .btn {
    border-radius: 0 10px 10px 0 !important;
    height: 44px;
    margin-left: 0 !important
}

.brand-carousel {
    background: #fff;
    border-bottom: 1px solid #e3e9ed;
    overflow: hidden
}

.brand-carousel-track {
    display: flex;
    gap: 42px;
    align-items: center;
    animation: brandScroll 28s linear infinite;
    width: max-content;
    padding: 13px 0
}

.brand-logo-item {
    min-width: 110px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #59656e;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .2px;
    filter: grayscale(20%);
    opacity: .9
}

.brand-logo-item:hover {
    color: #3690CC
}

@keyframes brandScroll {
    from {
        transform: translateX(0)
    }

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

.product-image {
    height: 260px !important;
    background: linear-gradient(145deg, #f8fbfc, #edf4f7);
    position: relative
}

.product-image:before {
    width: 110px;
    height: 185px;
    border-radius: 10px 10px 18px 18px;
    background: linear-gradient(145deg, #e2e8eb, #c5cfd5);
    box-shadow: 0 15px 25px rgba(37, 43, 49, .14);
    position: absolute;
    transform: perspective(350px) rotateY(-8deg)
}

.product-image i {
    position: relative;
    z-index: 1;
    font-size: 54px !important;
    color: #59656e
}

@media(max-width:767px) {
    .product-image {
        height: 220px !important
    }

    .brand-carousel-track {
        gap: 25px
    }

    .brand-logo-item {
        min-width: 90px;
        font-size: 13px
    }

    .search-box {
        max-width: none;
        width: 100%
    }
}

.brand-carousel {
    position: relative;
    background: #fff;
    border-top: 1px solid #e3e9ed;
    border-bottom: 1px solid #e3e9ed
}

.brand-carousel .container-fluid {
    position: relative
}

.brand-carousel-track {
    animation: brandScroll 28s linear infinite
}

.brand-carousel:hover .brand-carousel-track {
    animation-play-state: paused
}

.brand-logo-item {
    min-width: 150px;
    height: 150px;
    padding: 7px 14px;
    border-right: 1px solid #edf0f2
}

.brand-logo-item img {
    
    object-fit: contain;
    filter: grayscale(10%);
    opacity: .92;
    transition: .2s
}

.brand-logo-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.04)
}

.brand-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d7e0e5;
    background: #fff;
    color: #3690CC;
    box-shadow: 0 4px 12px rgba(37, 43, 49, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.brand-arrow:hover {
    background: #3690CC;
    color: #fff
}

.brand-arrow-left {
    left: 12px
}

.brand-arrow-right {
    right: 12px
}

@media(max-width:767px) {
    .brand-logo-item {
        min-width: 105px;
        height: 56px
    }

    .brand-logo-item img {
        max-width: 85px;
        max-height: 34px
    }

    .brand-arrow {
        width: 32px;
        height: 32px
    }

    .brand-arrow-left {
        left: 6px
    }

    .brand-arrow-right {
        right: 6px
    }
}

.brand-carousel {
    margin: 28px 0 0;
    border: 1px solid #dfe8ed;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(37, 43, 49, .06);
    overflow: hidden
}

.brand-carousel .container-fluid {
    padding-left: 60px !important;
    padding-right: 60px !important
}

.brand-carousel-track {
    overflow-x: hidden;
    scroll-behavior: smooth
}

.brand-carousel:hover .brand-carousel-track {
    animation-play-state: paused
}

.brand-arrow {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #d4e0e7;
    color: #3690CC;
    box-shadow: 0 5px 14px rgba(37, 43, 49, .12)
}

.brand-arrow:hover {
    background: #3690CC;
    color: #fff;
    border-color: #3690CC
}

.brand-arrow-left {
    left: 12px
}

.brand-arrow-right {
    right: 12px
}

@media(max-width:767px) {
    .brand-carousel {
        margin-top: 20px;
        border-radius: 12px
    }

    .brand-carousel .container-fluid {
        padding-left: 48px !important;
        padding-right: 48px !important
    }
}

:root {
    --page-margin: 100px
}

.hero .container {
    max-width: none;
    margin-left: var(--page-margin);
    margin-right: var(--page-margin)
}

.brand-carousel {
    margin: 28px var(--page-margin) 0;
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
}

.brand-carousel .container-fluid {
    padding-left: 50px !important;
    padding-right: 50px !important
}

.section>.container,
.section .container {
    max-width: none;
    margin-left: var(--page-margin);
    margin-right: var(--page-margin)
}

.catalog-layout {
    grid-template-columns: 250px minmax(0, 1fr)
}

/* Eight products per row on wide desktop */
.products-grid-8 {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px
}

.products-grid-8 .col-6,
.products-grid-8 .col-md-4,
.products-grid-8 .col-xl-3 {
    width: auto !important;
    padding: 0
}

.product-image {
    height: 220px !important
}

@media(max-width:1399px) {
    .products-grid-8 {
        grid-template-columns: repeat(6, minmax(0, 1fr))
    }
}

@media(max-width:1199px) {
    :root {
        --page-margin: 60px
    }

    .products-grid-8 {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

@media(max-width:767px) {
    :root {
        --page-margin: 16px
    }

    .products-grid-8 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .brand-carousel {
        margin-left: var(--page-margin);
        margin-right: var(--page-margin)
    }

    .section>.container,
    .section .container,
    .hero .container {
        margin-left: var(--page-margin);
        margin-right: var(--page-margin)
    }
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden
}

*,
*::before,
*::after {
    max-width: 100%
}

.navbar,
.topbar,
.hero,
.section,
.footer {
    width: 100%;
    max-width: 100%;
    overflow: hidden
}

.mega-menu {
    max-width: 100vw;
    overflow: hidden
}

.brand-carousel {
    max-width: calc(100vw - (var(--page-margin) * 2));
    overflow: hidden
}

.brand-carousel-track {
    max-width: none !important;
    width: max-content
}

@media(max-width:767px) {
    .brand-carousel {
        max-width: calc(100vw - (var(--page-margin) * 2))
    }
}

:root {
    --page-margin: 100px
}

body {
    overflow-x: hidden
}

.hero .container,
.section>.container,
.section .container,
.footer .container {
    width: auto !important;
    max-width: none !important;
    margin-left: var(--page-margin) !important;
    margin-right: var(--page-margin) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.brand-carousel {
    margin-left: var(--page-margin) !important;
    margin-right: var(--page-margin) !important;
    max-width: none !important;
    width: auto !important;
}

.navbar .container,
.topbar .container {
    width: auto !important;
    max-width: none !important;
    margin-left: var(--page-margin) !important;
    margin-right: var(--page-margin) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media(max-width:1199px) {
    :root {
        --page-margin: 60px
    }
}

@media(max-width:767px) {
    :root {
        --page-margin: 16px
    }
}

.brand-carousel {
    margin: 28px 0 0 !important;
    border: 1px solid #dfe8ed;
    border-left: 0;
    border-right: 0;
    border-radius: 0 !important;
    box-shadow: none;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.brand-carousel .container-fluid {
    padding-left: 54px !important;
    padding-right: 54px !important
}

.brand-carousel-track {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    width: max-content;
    animation: brandScroll 28s linear infinite;
}

.brand-carousel:hover .brand-carousel-track {
    animation-play-state: paused
}

.brand-logo-item {
   
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-right: 1px solid #edf0f2;
}

.brand-logo-item img {
   
    object-fit: contain
}

.brand-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d4e0e7;
    background: #fff;
    color: #3690CC;
    box-shadow: 0 4px 12px rgba(37, 43, 49, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.brand-arrow:hover {
    background: #3690CC;
    color: #fff;
    border-color: #3690CC
}

.brand-arrow-left {
    left: 8px
}

.brand-arrow-right {
    right: 8px
}

@media(max-width:767px) {
    .brand-carousel {
        margin-top: 20px !important
    }

    .brand-carousel .container-fluid {
        padding-left: 45px !important;
        padding-right: 45px !important
    }

    .brand-logo-item {
        min-width: 105px;
        height: 55px
    }
}

.brand-carousel {
    margin: 28px var(--page-margin) 0 !important;
    border: 1px solid #dfe8ed !important;
    border-radius: 0 !important;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.brand-carousel .container-fluid {
    padding: 0 58px !important;
    overflow: hidden;
}

.brand-carousel-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    max-width: none !important;
    overflow: visible;
    animation: brandScroll 28s linear infinite;
}

.brand-carousel:hover .brand-carousel-track {
    animation-play-state: paused
}

.brand-logo-item {
    flex: 0 0 130px
}

.brand-arrow {
    top: 50%;
    width: 40px;
    height: 40px;
    z-index: 20;
}

.brand-arrow-left {
    left: 10px
}

.brand-arrow-right {
    right: 10px
}

@media(max-width:767px) {
    .brand-carousel {
        margin-left: var(--page-margin) !important;
        margin-right: var(--page-margin) !important
    }

    .brand-carousel .container-fluid {
        padding: 0 48px !important
    }

    .brand-logo-item {
        flex-basis: 105px
    }
}

@keyframes brandScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.brand-carousel {
    position: relative;
    overflow: visible !important
}

.brand-carousel .container-fluid {
    overflow: hidden;
    position: relative
}

.brand-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
    cursor: pointer !important;
}

.brand-arrow-left {
    left: -15px !important
}

.brand-arrow-right {
    right: -15px !important
}

.brand-arrow:active {
    transform: translateY(-50%) scale(.94) !important
}

@media(max-width:767px) {
    .brand-arrow-left {
        left: -10px !important
    }

    .brand-arrow-right {
        right: -10px !important
    }
}

.product-card {
    border: 1px solid #e1e6e9;
    border-radius: 10px;
    overflow: hidden;
    background: #fff
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(37, 43, 49, .08)
}

.product-image {
    height: 190px !important;
    border-bottom: 1px solid #edf0f2
}

.product-image:before {
    width: 82px;
    height: 142px
}

.product-image i {
    font-size: 42px !important
}

.product-body {
    padding: 10px 11px
}

.product-body>.d-flex:first-child {
    margin-bottom: 2px
}

.product-body .brand,
.product-sku,
.product-body .small.muted {
    display: none
}

.product-title {
    font-size: 13px !important;
    line-height: 1.35;
    min-height: auto !important;
    margin-top: 0 !important;
    font-weight: 600
}

.product-meta {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 7px
}

.product-meta-item {
    font-size: 9px;
    color: #59656e;
    background: #f5f7f8;
    border: 1px solid #e1e6e9;
    border-radius: 4px;
    padding: 3px 6px;
    line-height: 1.1
}

.product-stock-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 5px 7px;
    border: 1px solid #e1e6e9;
    background: #fafbfb;
    border-radius: 5px
}

.product-stock-label {
    font-size: 9px;
    color: #7a858d;
    text-transform: uppercase;
    font-weight: 700
}

.product-stock-status {
    font-size: 9px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px
}

.product-stock-status.in {
    background: #e8f6ee;
    color: #23724b;
    border: 1px solid #bde4cc
}

.product-stock-status.out {
    background: #fbecec;
    color: #a33a3a;
    border: 1px solid #edc3c3
}

.product-actions {
    gap: 5px;
    margin-top: 8px
}

.qty-control {
    height: 31px;
    border-radius: 5px
}

.qty-control button {
    width: 27px;
    height: 31px;
    font-size: 15px
}

.qty-control span {
    min-width: 24px;
    font-size: 10px
}

.add-cart-btn {
    height: 31px;
    font-size: 10px !important;
    padding: 7px 7px
}

.product-sku {
    font-size: 8px
}

.price {
    font-size: 15px !important
}

.stock {
    font-size: 8px !important
}

.product-card .text-danger {
    font-size: 13px
}

@media(max-width:767px) {
    .product-image {
        height: 175px !important
    }

    .product-image:before {
        width: 70px;
        height: 125px
    }

    .product-title {
        font-size: 12px !important
    }

    .product-actions {
        flex-wrap: nowrap
    }
}

.products-grid-8 {
    align-items: stretch
}

.products-grid-8>div {
    display: flex;
    min-width: 0
}

.products-grid-8 .product-card {
    width: 100%;
    display: flex;
    flex-direction: column
}

.products-grid-8 .product-body {
    display: flex;
    flex-direction: column;
    flex: 1
}

.products-grid-8 .product-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 36px;
    line-height: 18px !important;
}

.product-meta {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    height: 23px;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
}

.product-meta-item {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 2px 5px;
    font-size: 8px;
    line-height: 15px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.product-stock-box {
    height: 30px;
    flex: 0 0 30px
}

.product-stock-label,
.product-stock-status {
    line-height: 16px
}

.products-grid-8 .price {
    height: 20px;
    line-height: 20px
}

.products-grid-8 .product-actions {
    margin-top: auto
}

@media(max-width:767px) {
    .product-title {
        height: 34px;
        line-height: 17px !important
    }

    .product-meta-item {
        font-size: 7px;
        padding-left: 4px;
        padding-right: 4px
    }
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    height: 28px
}

.product-price-row .price {
    margin: 0 !important;
    line-height: 20px
}

.product-brand-mini {
    height: 49px;
    max-width: 62px;
    object-fit: contain;
    opacity: .9
}

.product-brand-mini.placeholder {
    font-size: 8px;
    font-weight: 800;
    color: #59656e;
    background: #f5f7f8;
    border: 1px solid #e1e6e9;
    border-radius: 4px;
    padding: 4px 5px;
    white-space: nowrap
}

.product-image {
    margin-bottom: 0
}

.product-body {
    padding: 12px 11px 11px
}

.product-title {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    height: 38px;
    line-height: 19px !important;
}

.product-meta {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    height: 24px;
    line-height: 16px;
}

.product-stock-box {
    margin-top: 0 !important;
    margin-bottom: 8px;
    height: 32px;
    line-height: 18px;
}

.product-price-row {
    margin-top: 0 !important;
    margin-bottom: 6px;
    height: 28px;
}

.product-actions {
    margin-top: auto !important;
    padding-top: 4px;
}

.product-card {
    position: relative
}

.product-wishlist {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 10 !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid #e1e6e9 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #6b7680 !important;
    box-shadow: 0 2px 7px rgba(37, 43, 49, .08);
}

.product-wishlist:hover {
    color: #d64545 !important;
    border-color: #edcaca !important;
    background: #fff !important
}

.product-wishlist .bi-heart-fill {
    color: #d64545
}

.product-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative
}

.product-image {
    width: 100% !important;
    height: 210px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #edf0f2 !important;
}

.product-image:before {
    width: 86px;
    height: 150px
}

.product-wishlist {
    top: 8px !important;
    right: 8px !important;
    z-index: 20 !important;
}

.product-body {
    position: relative
}

@media(max-width:767px) {
    .product-image {
        height: 190px !important
    }
}

.product-card {
    position: relative !important;
    border-radius: 0 0 10px 10px !important;
    overflow: hidden !important;
}

.product-wishlist {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 100 !important;
}

.product-card {
    position: relative !important;
}

.product-card>.product-wishlist {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    z-index: 999 !important;
    transform: none !important;
}

.product-card>.product-wishlist:hover {
    transform: scale(1.05) !important;
}

.product-body {
    position: relative !important
}

.product-body-head {
    height: 0 !important;
    position: relative !important;
}

.product-body-head .product-wishlist {
    position: absolute !important;
    top: -2px !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 100 !important;
    margin: 0 !important;
}

.product-body .product-title {
    padding-right: 34px;
}

.product-card {
    position: relative !important
}

.product-card>.product-image {
    position: relative !important
}

.product-body {
    position: relative !important
}

.product-body-head {
    position: absolute !important;
    top: -202px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    z-index: 9999 !important;
}

.product-body-head .product-wishlist {
    position: static !important;
    width: 28px !important;
    height: 28px !important;
}

@media(max-width:767px) {
    .product-body-head {
        top: -182px !important
    }
}

.header-top {
    background: #fff;
    border-bottom: 1px solid #e7ecef;
}

.header-top-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-brand {
    flex: 0 0 auto
}

.header-search {
    flex: 1 1 560px;
    min-width: 300px
}

.header-search .search-box {
    max-width: none;
    width: 100%;
    margin: 0 !important
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

.header-contact i {
    font-size: 18px;
    color: #3690CC
}

.header-contact .label {
    font-size: 9px;
    color: #7a858d;
    text-transform: uppercase;
    font-weight: 700
}

.header-contact .value {
    font-size: 12px;
    color: #252b31;
    font-weight: 700
}

.header-social {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap
}

.header-social .social-label {
    font-size: 9px;
    text-transform: uppercase;
    color: #7a858d;
    font-weight: 700
}

.header-social a {
    color: #3690CC;
    font-size: 18px
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap
}

.header-action {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #3d464e;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700
}

.header-action i {
    font-size: 17px;
    color: #3690CC
}

.header-action:hover {
    color: #3690CC
}

.main-nav {
    background: #252b31 !important;
    min-height: 44px;
}

.main-nav .navbar {
    background: transparent !important
}

.main-nav .navbar-nav {
    align-items: center
}

.main-nav .nav-link {
    color: #fff !important;
    font-size: 12px;
    padding: 13px 14px !important
}

.main-nav .nav-link:hover {
    color: #bfe4f5 !important;
    background: rgba(255, 255, 255, .06)
}

.main-nav .mega-menu {
    top: 100%
}

.main-nav .navbar-toggler {
    border-color: #9aa5ad
}

.main-nav .navbar-toggler-icon {
    filter: brightness(0) invert(1)
}

.header-brand img {
    max-width: 100px
}

@media(max-width:1199px) {
    .header-top-inner {
        gap: 12px
    }

    .header-contact .value {
        font-size: 11px
    }

    .header-actions {
        gap: 8px
    }

    .header-action span {
        display: none
    }
}

@media(max-width:991px) {
    .header-top-inner {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px
    }

    .header-search {
        order: 5;
        flex-basis: 100%
    }

    .header-contact {
        display: none
    }

    .header-social {
        margin-left: auto
    }

    .main-nav .nav-link {
        padding: 10px 12px !important
    }
}

@media(max-width:767px) {
    .header-actions {
        gap: 7px
    }

    .header-brand img {
        max-width: 135px
    }

    .header-social {
        display: none
    }
}

.main-nav {
    position: relative !important;
    z-index: 1000 !important;
    overflow: visible !important
}

.main-nav .navbar,
.main-nav .navbar-collapse,
.main-nav .navbar-nav,
.mega-menu-wrap {
    position: static !important
}

.main-nav .mega-menu-wrap {
    position: static !important
}

.main-nav .mega-menu {
    display: none;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 2000 !important;
    background: #fff !important;
}

.main-nav .mega-menu-wrap:hover>.mega-menu,
.main-nav .mega-menu-wrap:focus-within>.mega-menu {
    display: block !important
}

.main-nav .mega-menu .container {
    margin-left: auto !important;
    margin-right: auto !important
}

@media(max-width:991px) {
    .main-nav .mega-menu-wrap {
        position: relative !important
    }

    .main-nav .mega-menu {
        position: static !important;
        width: 100% !important;
    }

    .main-nav .mega-menu-wrap:hover>.mega-menu {
        display: none !important
    }

    .main-nav .mega-menu-wrap:focus-within>.mega-menu {
        display: block !important
    }
}

.header-top-inner {
    width: auto !important;
    max-width: none !important;
    margin-left: 100px !important;
    margin-right: 100px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media(max-width:1199px) {
    .header-top-inner {
        margin-left: 60px !important;
        margin-right: 60px !important
    }
}

@media(max-width:767px) {
    .header-top-inner {
        margin-left: 16px !important;
        margin-right: 16px !important
    }
}

/* ===== STATIC HTML/CSS V1 ===== */
/* CSS-only Shop Mega Menu */
.mega-menu-wrap {
    position: static !important
}

.mega-menu-wrap:hover>.mega-menu,
.mega-menu-wrap:focus-within>.mega-menu {
    display: block !important
}

/* CSS-only brand slider */
.brand-carousel {
    position: relative;
    overflow: hidden
}

.brand-carousel-track {
    display: flex;
    width: max-content;
    animation: staticBrandSlide 28s linear infinite
}

.brand-carousel:hover .brand-carousel-track {
    animation-play-state: paused
}

@keyframes staticBrandSlide {
    from {
        transform: translateX(0)
    }

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

/* CSS-only wishlist state using checkbox labels */
.static-wishlist {
    display: none
}

.static-wishlist+label {
    cursor: pointer
}

.static-wishlist:checked+label {
    color: #d64545 !important
}

.static-wishlist:checked+label .bi-heart::before {
    content: "\f415"
}

/* CSS-only mobile nav */
#staticNavToggle {
    display: none
}

@media(max-width:991px) {
    #staticNavToggle:checked~.navbar-collapse {
        display: block !important
    }

    .navbar-collapse {
        display: none
    }
}

/* ===== V2: BRAND CAROUSEL SAME 100PX CONTENT MARGINS ===== */
.brand-carousel {
    width: auto !important;
    max-width: none !important;
    margin-left: 100px !important;
    margin-right: 100px !important;
}

@media(max-width:1199px) {
    .brand-carousel {
        margin-left: 60px !important;
        margin-right: 60px !important
    }
}

@media(max-width:767px) {
    .brand-carousel {
        margin-left: 16px !important;
        margin-right: 16px !important
    }
}

/* ===== V3: SHOP BY BRAND NAV BUTTON ===== */
.nav-shop-brand {
    margin-left: 6px;
    padding: 7px 14px !important;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 7px;
    background: linear-gradient(135deg, #3690CC, #287caf);
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(37, 43, 49, .16);
    display: flex !important;
    align-items: center;
    gap: 6px;
}

.nav-shop-brand:hover {
    background: linear-gradient(135deg, #43a0da, #3690CC);
    color: #fff !important;
    transform: translateY(-1px);
}

.nav-shop-brand i {
    font-size: 14px
}

@media(max-width:991px) {
    .nav-shop-brand {
        margin: 4px 10px;
        display: inline-flex !important;
    }
}

/* ===== V4: SHOP BY CATEGORY ===== */
.shop-category-section {
    margin: 34px 100px 0;
}

.shop-category-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 18px;
}

.shop-category-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    color: #3690CC;
    text-transform: uppercase;
}

.shop-category-title {
    margin: 3px 0 0;
    font-size: 24px;
    line-height: 1.2;
    color: #343b42;
    font-weight: 700;
}

.shop-category-subtitle {
    margin: 5px 0 0;
    font-size: 11px;
    color: #7a858d;
}

.shop-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.shop-category-card {
    position: relative;
    min-height: 145px;
    padding: 18px 16px;
    border: 1px solid #e1e8ec;
    background: linear-gradient(145deg, #fff, #f5f9fb);
    overflow: hidden;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.shop-category-card:before {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    right: -22px;
    top: -22px;
    border-radius: 50%;
    background: rgba(54, 144, 204, .08);
}

.shop-category-card:hover {
    transform: translateY(-3px);
    border-color: #a9d2e7;
    box-shadow: 0 8px 22px rgba(37, 43, 49, .08);
}

.shop-category-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #3690CC, #287caf);
    color: #fff;
    font-size: 19px;
    margin-bottom: 12px;
    box-shadow: 0 5px 12px rgba(54, 144, 204, .18);
}

.shop-category-name {
    font-size: 13px;
    font-weight: 700;
    color: #343b42;
    line-height: 1.25;
}

.shop-category-count {
    font-size: 9px;
    color: #7a858d;
    margin-top: 4px;
}

.shop-category-arrow {
    position: absolute;
    right: 13px;
    bottom: 13px;
    color: #3690CC;
    font-size: 14px;
}

@media(max-width:1199px) {
    .shop-category-section {
        margin-left: 60px;
        margin-right: 60px
    }

    .shop-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:767px) {
    .shop-category-section {
        margin-left: 16px;
        margin-right: 16px;
        margin-top: 24px
    }

    .shop-category-title {
        font-size: 20px
    }

    .shop-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .shop-category-card {
        min-height: 130px;
        padding: 14px
    }
}

/* ===== V5: PROFESSIONAL FOOTER ===== */
.site-footer {
    margin-top: 48px;
    background: #f3f7f9;
    border-top: 1px solid #dce6eb;
    color: #56616a;
}

.site-footer-main {
    margin: 0 100px;
    padding: 38px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.15fr 1.15fr 1.15fr;
    gap: 32px;
}

.footer-brand-logo {
    max-width: 175px;
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 13px;
}

.footer-heading {
    color: #343b42;
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 13px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: #3690CC;
}

.footer-about {
    font-size: 10px;
    line-height: 1.7;
    max-width: 290px;
    margin: 0 0 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.45;
}

.footer-contact-item i {
    color: #3690CC;
    font-size: 15px;
    width: 18px;
    flex: 0 0 18px;
}

.footer-contact-item strong {
    display: block;
    color: #343b42;
    font-size: 10px;
}

.footer-bank {
    background: #fff;
    border: 1px solid #dde6eb;
    padding: 14px;
    margin-top: 4px;
}

.footer-bank-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #edf1f3;
    padding: 6px 0;
    font-size: 9px;
}

.footer-bank-row:last-child {
    border-bottom: 0
}

.footer-bank-row span:first-child {
    color: #7a858d
}

.footer-bank-row strong {
    color: #343b42;
    text-align: right
}

.footer-support {
    background: #fff;
    border: 1px solid #dde6eb;
    padding: 14px;
}

.footer-support-item {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #edf1f3;
}

.footer-support-item:last-child {
    border-bottom: 0
}

.footer-support-item i {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #e8f4fa;
    color: #3690CC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.footer-support-item strong {
    display: block;
    color: #343b42;
    font-size: 10px;
}

.footer-support-item span {
    display: block;
    color: #7a858d;
    font-size: 9px;
}

.footer-social {
    display: flex;
    gap: 7px;
    margin-top: 12px;
}

.footer-social a {
    width: 29px;
    height: 29px;
    border: 1px solid #d7e3e9;
    background: #fff;
    color: #3690CC;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 6px;
}

.footer-social a:hover {
    background: #3690CC;
    color: #fff
}

.footer-bottom {
    border-top: 1px solid #dce6eb;
    background: #eaf1f4;
    padding: 11px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 9px;
    color: #6d7880;
}

.footer-bottom a {
    color: #56616a;
    text-decoration: none
}

@media(max-width:1199px) {
    .site-footer-main {
        margin-left: 60px;
        margin-right: 60px
    }

    .footer-bottom {
        padding-left: 60px;
        padding-right: 60px
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:767px) {
    .site-footer-main {
        margin-left: 16px;
        margin-right: 16px;
        padding-top: 28px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
        flex-direction: column;
        text-align: center
    }
}

/* ===== V7: CART + CHECKOUT ===== */
.checkout-page,
.cart-page {
    margin: 34px 100px 60px
}

.page-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #3690CC
}

.page-title {
    font-size: 27px;
    line-height: 1.2;
    color: #343b42;
    font-weight: 750;
    margin: 4px 0 7px
}

.page-subtitle {
    font-size: 11px;
    color: #7a858d;
    margin: 0
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    margin-top: 22px
}

.cart-panel,
.checkout-panel,
.summary-panel {
    background: #fff;
    border: 1px solid #dfe7eb;
    box-shadow: 0 5px 16px rgba(37, 43, 49, .05);
}

.panel-heading {
    padding: 13px 16px;
    border-bottom: 1px solid #e8edef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-heading h3 {
    font-size: 14px;
    color: #343b42;
    font-weight: 750;
    margin: 0
}

.panel-heading span {
    font-size: 9px;
    color: #7a858d
}

.cart-table-head,
.cart-row {
    display: grid;
    grid-template-columns: 2.2fr .8fr .9fr .9fr 35px;
    gap: 12px;
    align-items: center;
}

.cart-table-head {
    padding: 9px 16px;
    background: #f6f9fa;
    border-bottom: 1px solid #e8edef;
    color: #7a858d;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.cart-row {
    padding: 14px 16px;
    border-bottom: 1px solid #edf1f3
}

.cart-row:last-child {
    border-bottom: 0
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0
}

.cart-product-image {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    background: #f5f8fa;
    border: 1px solid #e1e7ea;
    display: flex;
    align-items: center;
    justify-content: center
}

.cart-product-image i {
    font-size: 26px;
    color: #3690CC
}

.cart-product-name {
    font-size: 11px;
    font-weight: 700;
    color: #343b42;
    line-height: 1.35
}

.cart-product-meta {
    font-size: 8px;
    color: #7a858d;
    margin-top: 4px
}

.cart-price {
    font-size: 11px;
    font-weight: 700;
    color: #343b42
}

.cart-total {
    font-size: 11px;
    font-weight: 800;
    color: #343b42
}

.cart-remove {
    border: 0;
    background: transparent;
    color: #9aa4aa;
    font-size: 15px
}

.cart-remove:hover {
    color: #d64545
}

.cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid #dce5e9;
    height: 29px;
    width: 82px
}

.cart-qty button {
    width: 26px;
    height: 27px;
    border: 0;
    background: #f5f8fa;
    color: #59656e
}

.cart-qty span {
    flex: 1;
    text-align: center;
    font-size: 10px
}

.summary-panel {
    padding: 0;
    align-self: start
}

.summary-body {
    padding: 16px
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    color: #69747c;
    padding: 7px 0
}

.summary-row strong {
    color: #343b42
}

.summary-total {
    border-top: 1px solid #e4eaed;
    margin-top: 5px;
    padding-top: 12px !important;
    font-size: 13px !important
}

.summary-total strong {
    font-size: 16px
}

.summary-note {
    font-size: 8px;
    line-height: 1.55;
    color: #7a858d;
    background: #f6f9fa;
    border: 1px solid #e4eaed;
    padding: 9px;
    margin: 12px 0
}

.summary-btn {
    height: 38px;
    font-size: 11px !important;
    font-weight: 700
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px
}

.trust-item {
    background: #f6f9fa;
    border: 1px solid #e2e9ec;
    padding: 9px;
    text-align: center
}

.trust-item i {
    display: block;
    color: #3690CC;
    font-size: 16px;
    margin-bottom: 4px
}

.trust-item span {
    font-size: 8px;
    color: #69747c
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    border-top: 1px solid #e8edef
}

.cart-actions a {
    font-size: 10px
}

.coupon-box {
    display: flex;
    gap: 5px;
    margin-top: 14px
}

.coupon-box input {
    font-size: 10px;
    height: 32px
}

.coupon-box button {
    font-size: 9px
}

.checkout-steps {
    display: flex;
    gap: 6px;
    margin-top: 18px
}

.checkout-step {
    padding: 7px 11px;
    border: 1px solid #dfe7eb;
    background: #fff;
    font-size: 9px;
    color: #7a858d
}

.checkout-step.active {
    border-color: #9dcbe0;
    background: #eef8fc;
    color: #287caf;
    font-weight: 800
}

.form-section {
    padding: 18px 16px;
    border-bottom: 1px solid #e8edef
}

.form-section:last-child {
    border-bottom: 0
}

.form-section-title {
    font-size: 12px;
    font-weight: 800;
    color: #343b42;
    margin-bottom: 13px
}

.form-label {
    font-size: 9px;
    font-weight: 700;
    color: #59656e;
    margin-bottom: 5px
}

.form-control,
.form-select {
    font-size: 10px;
    height: 36px;
    border-color: #dce5e9
}

textarea.form-control {
    height: auto
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #dfe7eb;
    padding: 11px;
    margin-bottom: 8px;
    font-size: 10px;
    color: #4f5b63
}

.payment-option input {
    accent-color: #3690CC
}

.order-mini {
    display: flex;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f3
}

.order-mini:last-child {
    border-bottom: 0
}

.order-mini-image {
    width: 45px;
    height: 45px;
    background: #f5f8fa;
    border: 1px solid #e1e7ea;
    display: flex;
    align-items: center;
    justify-content: center
}

.order-mini-image i {
    color: #3690CC
}

.order-mini-info {
    flex: 1
}

.order-mini-info strong {
    display: block;
    font-size: 9px;
    color: #343b42;
    line-height: 1.3
}

.order-mini-info span {
    font-size: 8px;
    color: #7a858d
}

.order-mini-price {
    font-size: 9px;
    font-weight: 800;
    color: #343b42
}

.address-card {
    border: 1px solid #dfe7eb;
    padding: 12px;
    margin-top: 9px;
    background: #fafcfc
}

.address-card strong {
    font-size: 10px;
    color: #343b42;
    display: block;
    margin-bottom: 5px
}

.address-card span {
    font-size: 9px;
    color: #69747c;
    line-height: 1.5
}

@media(max-width:1199px) {

    .checkout-page,
    .cart-page {
        margin-left: 60px;
        margin-right: 60px
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 290px
    }
}

@media(max-width:900px) {

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr
    }

    .summary-panel {
        max-width: none
    }
}

@media(max-width:767px) {

    .checkout-page,
    .cart-page {
        margin-left: 16px;
        margin-right: 16px
    }

    .cart-table-head {
        display: none
    }

    .cart-row {
        grid-template-columns: 1fr 35px;
        gap: 8px
    }

    .cart-product {
        grid-column: 1/2
    }

    .cart-row .cart-price,
    .cart-row .cart-qty,
    .cart-row .cart-total {
        grid-column: 1/2
    }

    .cart-row .cart-price:before {
        content: "Price: ";
        color: #7a858d;
        font-weight: 400
    }

    .cart-row .cart-total:before {
        content: "Total: ";
        color: #7a858d;
        font-weight: 400
    }

    .cart-qty {
        margin-top: 2px
    }

    .cart-remove {
        grid-column: 2;
        grid-row: 1
    }

    .trust-strip {
        grid-template-columns: 1fr
    }
}

/* ===== V8: LOGIN / SIGNUP ===== */
.auth-page {
    margin: 38px 100px 60px;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-shell {
    width: 100%;
    max-width: 940px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    background: #fff;
    border: 1px solid #dfe7eb;
    box-shadow: 0 12px 35px rgba(37, 43, 49, .08);
    overflow: hidden;
}

.auth-visual {
    padding: 42px;
    background: linear-gradient(145deg, #edf8fc, #dceff7);
    position: relative;
    overflow: hidden;
}

.auth-visual:before,
.auth-visual:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(54, 144, 204, .10);
}

.auth-visual:before {
    width: 230px;
    height: 230px;
    right: -90px;
    top: -70px
}

.auth-visual:after {
    width: 180px;
    height: 180px;
    left: -80px;
    bottom: -70px
}

.auth-visual-logo {
    max-width: 165px;
    max-height: 48px;
    margin-bottom: 30px
}

.auth-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3690CC, #287caf);
    color: #fff;
    font-size: 27px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(54, 144, 204, .22);
    margin-bottom: 18px;
}

.auth-visual h2 {
    color: #343b42;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 750;
    margin: 0 0 10px;
}

.auth-visual p {
    color: #69747c;
    font-size: 11px;
    line-height: 1.7;
    max-width: 330px;
}

.auth-points {
    margin-top: 24px
}

.auth-point {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 10px 0;
    font-size: 10px;
    color: #56616a
}

.auth-point i {
    color: #3690CC;
    font-size: 14px
}

.auth-form {
    padding: 40px 42px;
}

.auth-form-header {
    margin-bottom: 24px
}

.auth-form-header .kicker {
    color: #3690CC;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-form h1 {
    font-size: 24px;
    color: #343b42;
    font-weight: 750;
    margin: 4px 0 6px;
}

.auth-form-header p {
    font-size: 10px;
    color: #7a858d;
    margin: 0
}

.auth-field {
    margin-bottom: 14px
}

.auth-field label {
    display: block;
    font-size: 9px;
    font-weight: 750;
    color: #59656e;
    margin-bottom: 5px
}

.auth-input-wrap {
    position: relative
}

.auth-input-wrap i {
    position: absolute;
    left: 11px;
    top: 10px;
    color: #3690CC;
    font-size: 14px;
}

.auth-input {
    width: 100%;
    height: 38px;
    border: 1px solid #dce5e9;
    padding: 8px 11px 8px 34px;
    font-size: 10px;
    color: #343b42;
    outline: none;
    background: #fff;
}

.auth-input:focus {
    border-color: #7bb8d5;
    box-shadow: 0 0 0 3px rgba(54, 144, 204, .08)
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3px 0 17px;
    font-size: 9px;
    color: #69747c
}

.auth-options a {
    color: #3690CC;
    text-decoration: none;
    font-weight: 700
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 5px
}

.auth-check input {
    accent-color: #3690CC
}

.auth-submit {
    height: 39px;
    width: 100%;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #3690CC, #287caf);
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(54, 144, 204, .18);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 19px 0;
    color: #a0a9ae;
    font-size: 8px
}

.auth-divider:before,
.auth-divider:after {
    content: "";
    height: 1px;
    background: #e5eaed;
    flex: 1
}

.auth-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px
}

.auth-alt a {
    height: 34px;
    border: 1px solid #dce5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #59656e;
    font-size: 9px;
    font-weight: 700
}

.auth-alt a:hover {
    border-color: #a8cedf;
    color: #3690CC
}

.auth-switch {
    text-align: center;
    margin-top: 19px;
    font-size: 9px;
    color: #7a858d
}

.auth-switch a {
    color: #3690CC;
    font-weight: 800;
    text-decoration: none
}

.auth-terms {
    font-size: 8px;
    color: #8a949a;
    line-height: 1.55;
    margin-top: 12px
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    background: #fff;
    border: 1px solid #dfe8ec;
    color: #59656e;
    font-size: 8px;
    margin-top: 20px;
}

@media(max-width:1199px) {
    .auth-page {
        margin-left: 60px;
        margin-right: 60px
    }
}

@media(max-width:800px) {
    .auth-page {
        margin-left: 16px;
        margin-right: 16px
    }

    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 520px
    }

    .auth-visual {
        padding: 28px
    }

    .auth-form {
        padding: 30px
    }
}

@media(max-width:480px) {
    .auth-page {
        margin-top: 24px
    }

    .auth-visual {
        padding: 24px
    }

    .auth-form {
        padding: 25px 20px
    }

    .auth-alt {
        grid-template-columns: 1fr
    }
}

/* ===== V9: USEFUL LINKS FOOTER COLUMN ===== */
.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-link-list li {
    margin: 0
}

.footer-link-list a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #66727a;
    text-decoration: none;
    font-size: 10px;
    line-height: 1.35;
    padding: 5px 0;
    border-bottom: 1px solid #edf1f3;
}

.footer-link-list li:last-child a {
    border-bottom: 0
}

.footer-link-list a i {
    font-size: 9px;
    color: #3690CC
}

.footer-link-list a:hover {
    color: #3690CC;
    padding-left: 3px
}

@media(min-width:1000px) {
    .footer-grid {
        grid-template-columns: 1.15fr 1.05fr .95fr 1fr .95fr
    }
}

/* ===== V10: BRAND DISCOVERY PANEL ===== */
.brand-discovery {
    margin: 0 0 22px;
    padding: 18px 20px;
    border: 1px solid #dfe8ec;
    background: linear-gradient(145deg, #fbfdfe, #f2f8fb);
}

.brand-discovery-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.brand-discovery-kicker {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #3690CC;
}

.brand-discovery-title {
    font-size: 20px;
    font-weight: 750;
    color: #343b42;
    margin: 2px 0 4px;
}

.brand-discovery-desc {
    font-size: 9px;
    color: #7a858d;
    margin: 0;
    line-height: 1.5;
}

.brand-discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #e2e9ed;
    text-decoration: none;
    transition: .2s ease;
}

.brand-feature:hover {
    border-color: #a8cedf;
    box-shadow: 0 5px 14px rgba(37, 43, 49, .07);
    transform: translateY(-2px);
}

.brand-feature-logo {
    width: 62px;
    height: 38px;
    object-fit: contain;
    flex: 0 0 62px;
}

.brand-feature-name {
    font-size: 10px;
    font-weight: 800;
    color: #343b42;
    display: block;
}

.brand-feature-info {
    font-size: 8px;
    color: #7a858d;
    line-height: 1.35;
    display: block;
    margin-top: 2px;
}

.brand-feature-arrow {
    margin-left: auto;
    color: #3690CC;
    font-size: 12px;
}

.brand-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.brand-highlight {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    background: #fff;
    border: 1px solid #e2e9ed;
    font-size: 8px;
    color: #69747c;
}

.brand-highlight i {
    color: #3690CC
}

@media(max-width:991px) {
    .brand-discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:767px) {
    .brand-discovery {
        padding: 14px
    }

    .brand-discovery-head {
        display: block
    }

    .brand-discovery-head .btn {
        margin-top: 10px
    }

    .brand-discovery-grid {
        grid-template-columns: 1fr
    }
}

/* ===== V11: PRODUCT DETAIL ===== */
.product-page {
    margin: 28px 100px 60px
}

.breadcrumb-line {
    font-size: 9px;
    color: #7a858d;
    margin-bottom: 15px
}

.breadcrumb-line a {
    color: #3690CC;
    text-decoration: none
}

.product-detail-shell {
    display: grid;
    grid-template-columns: 44% 56%;
    border: 1px solid #dfe7eb;
    background: #fff;
    box-shadow: 0 7px 22px rgba(37, 43, 49, .06)
}

.product-gallery {
    padding: 24px;
    border-right: 1px solid #e5ebee;
    background: linear-gradient(145deg, #fbfdfe, #f3f8fa)
}

.product-main-image {
    height: 400px;
    background: #fff;
    border: 1px solid #e1e8eb;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.product-main-image i {
    font-size: 115px;
    color: #3690CC
}

.gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #3690CC;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 6px 9px
}

.gallery-wish {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 32px;
    height: 32px;
    border: 1px solid #dfe7eb;
    background: #fff;
    color: #69747c;
    display: flex;
    align-items: center;
    justify-content: center
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px
}

.gallery-thumb {
    width: 62px;
    height: 56px;
    border: 1px solid #dce5e9;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3690CC
}

.gallery-thumb.active {
    border-color: #3690CC;
    box-shadow: 0 0 0 2px rgba(54, 144, 204, .08)
}

.product-detail-info {
    padding: 27px 30px
}

.product-brand-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.product-brand-name {
    font-size: 9px;
    font-weight: 800;
    color: #3690CC;
    letter-spacing: .7px
}

.product-brand-logo {
    height: 34px;
    width: 90px;
    object-fit: contain
}

.product-detail-title {
    font-size: 25px;
    line-height: 1.25;
    color: #343b42;
    font-weight: 750;
    margin: 7px 0
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 9px;
    color: #7a858d;
    margin-bottom: 12px
}

.product-rating .stars {
    color: #f1a72f;
    font-size: 12px;
    letter-spacing: 1px
}

.product-short-desc {
    font-size: 10px;
    color: #69747c;
    line-height: 1.7;
    margin-bottom: 16px
}

.product-code-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 15px
}

.product-code-chip {
    background: #f5f8fa;
    border: 1px solid #e0e7ea;
    padding: 6px 9px;
    font-size: 8px;
    color: #69747c
}

.product-code-chip strong {
    color: #343b42
}

.detail-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e7edef;
    border-bottom: 1px solid #e7edef;
    padding: 13px 0;
    margin-bottom: 14px
}

.detail-price {
    font-size: 25px;
    font-weight: 800;
    color: #343b42
}

.detail-price small {
    font-size: 8px;
    color: #7a858d;
    font-weight: 500
}

.detail-stock {
    font-size: 9px;
    font-weight: 800;
    padding: 6px 9px;
    background: #eaf7f0;
    color: #23844e;
    border: 1px solid #ccebd9
}

.detail-stock.out {
    background: #fff0f0;
    color: #c54848;
    border-color: #f1d1d1
}

.purchase-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 15px 0
}

.detail-qty {
    display: flex;
    border: 1px solid #d8e2e7;
    height: 40px
}

.detail-qty button {
    width: 34px;
    border: 0;
    background: #f5f8fa;
    color: #59656e
}

.detail-qty span {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px
}

.add-cart-large {
    height: 40px;
    flex: 1;
    border: 0;
    background: linear-gradient(135deg, #3690CC, #287caf);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(54, 144, 204, .16)
}

.buy-now {
    height: 40px;
    border: 1px solid #3690CC;
    background: #fff;
    color: #287caf;
    font-size: 10px;
    font-weight: 800;
    padding: 0 18px
}

.detail-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 14px
}

.detail-benefit {
    border: 1px solid #e1e8eb;
    background: #f8fafb;
    padding: 9px;
    text-align: center
}

.detail-benefit i {
    display: block;
    color: #3690CC;
    font-size: 15px;
    margin-bottom: 4px
}

.detail-benefit span {
    font-size: 8px;
    color: #69747c
}

.product-tabs {
    margin-top: 24px;
    border: 1px solid #dfe7eb;
    background: #fff
}

.product-tab-nav {
    display: flex;
    border-bottom: 1px solid #e4eaed;
    overflow: auto
}

.product-tab-nav a {
    padding: 12px 17px;
    font-size: 10px;
    font-weight: 750;
    color: #69747c;
    text-decoration: none;
    white-space: nowrap;
    border-right: 1px solid #edf1f3
}

.product-tab-nav a:first-child {
    color: #3690CC;
    border-bottom: 2px solid #3690CC
}

.product-tab-content {
    padding: 22px
}

.detail-section-title {
    font-size: 15px;
    font-weight: 750;
    color: #343b42;
    margin-bottom: 11px
}

.detail-copy {
    font-size: 9px;
    color: #69747c;
    line-height: 1.75
}

.feature-table {
    width: 100%;
    border-collapse: collapse
}

.feature-table td {
    padding: 9px 10px;
    border-bottom: 1px solid #edf1f3;
    font-size: 9px
}

.feature-table td:first-child {
    width: 30%;
    color: #7a858d;
    background: #f8fafb;
    font-weight: 700
}

.feature-table td:last-child {
    color: #343b42;
    font-weight: 600
}

.related-section {
    margin-top: 28px
}

.related-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 14px
}

.related-kicker {
    font-size: 9px;
    font-weight: 800;
    color: #3690CC;
    letter-spacing: 1px
}

.related-title {
    font-size: 21px;
    color: #343b42;
    font-weight: 750;
    margin: 2px 0 0
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.related-card {
    border: 1px solid #dfe7eb;
    background: #fff;
    text-decoration: none;
    display: block;
    transition: .2s
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(37, 43, 49, .07);
    border-color: #b5d4e3
}

.related-image {
    height: 170px;
    background: #f5f8fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3690CC
}

.related-image i {
    font-size: 54px
}

.related-body {
    padding: 11px
}

.related-brand {
    font-size: 8px;
    color: #3690CC;
    font-weight: 800
}

.related-name {
    font-size: 10px;
    color: #343b42;
    font-weight: 750;
    line-height: 1.35;
    margin: 3px 0 7px
}

.related-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.related-price {
    font-size: 11px;
    font-weight: 800;
    color: #343b42
}

.related-cart {
    width: 29px;
    height: 29px;
    background: #3690CC;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center
}

@media(max-width:1199px) {
    .product-page {
        margin-left: 60px;
        margin-right: 60px
    }

    .product-detail-shell {
        grid-template-columns: 1fr
    }

    .product-gallery {
        border-right: 0;
        border-bottom: 1px solid #e5ebee
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:767px) {
    .product-page {
        margin-left: 16px;
        margin-right: 16px
    }

    .product-gallery {
        padding: 14px
    }

    .product-main-image {
        height: 300px
    }

    .product-detail-info {
        padding: 20px
    }

    .product-detail-title {
        font-size: 21px
    }

    .purchase-row {
        flex-wrap: wrap
    }

    .add-cart-large {
        flex-basis: calc(100% - 50px)
    }

    .buy-now {
        width: 100%
    }

    .detail-benefits {
        grid-template-columns: 1fr
    }

    .product-tab-content {
        padding: 15px
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .related-image {
        height: 130px
    }
}

/* ===== V12: FULL SHOP RESPONSIVE FIX ===== */
html,
body {
    max-width: 100%;
    overflow-x: hidden
}

img {
    max-width: 100%;
    height: auto
}

.catalog-layout {
    min-width: 0
}

.catalog-main {
    min-width: 0
}

.products-grid-8 {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px
}

.product-card {
    min-width: 0;
    overflow: hidden
}

.product-image {
    width: 100%;
    overflow: hidden
}

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

.product-body {
    min-width: 0
}

.product-title {
    overflow-wrap: anywhere
}

.product-meta {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.product-meta-item {
    min-width: 0;
    overflow-wrap: anywhere
}

.product-actions {
    display: flex;
    gap: 5px;
    align-items: center
}

.qty-control {
    flex: 0 0 auto
}

.add-cart-btn {
    min-width: 0;
    flex: 1;
    white-space: nowrap
}

.catalog-toolbar {
    min-width: 0
}

.catalog-toolbar .row>* {
    min-width: 0
}

.catalog-toolbar .search-box {
    width: 100%;
    max-width: none
}

.brand-sidebar {
    min-width: 0
}

.brand-item {
    max-width: 100%;
    overflow: hidden
}

.brand-discovery {
    min-width: 0
}

.brand-discovery-grid {
    min-width: 0
}

.brand-feature {
    min-width: 0
}

.brand-feature-info,
.brand-feature-name {
    overflow-wrap: anywhere
}

.shop-category-section {
    min-width: 0
}

@media(min-width:1500px) {
    .products-grid-8 {
        grid-template-columns: repeat(8, minmax(0, 1fr))
    }
}

@media(max-width:1499px) and (min-width:1200px) {
    .products-grid-8 {
        grid-template-columns: repeat(6, minmax(0, 1fr))
    }

    .catalog-layout {
        grid-template-columns: 220px minmax(0, 1fr)
    }

    .product-title {
        font-size: 10px
    }
}

@media(max-width:1199px) and (min-width:992px) {
    .products-grid-8 {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .catalog-layout {
        grid-template-columns: 200px minmax(0, 1fr)
    }

    .product-image {
        height: 150px
    }

    .product-body {
        padding: 9px
    }

    .product-actions {
        flex-wrap: wrap
    }

    .add-cart-btn {
        flex-basis: 100%
    }

    .brand-discovery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:991px) {
    .catalog-layout {
        display: block !important
    }

    .brand-sidebar {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 12px;
        margin-bottom: 16px;
    }

    .brand-sidebar h5,
    .brand-sidebar .brand-group-title,
    .brand-sidebar .mega-feature {
        grid-column: 1/-1
    }

    .brand-sidebar .brand-item {
        margin: 0
    }

    .products-grid-8 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px
    }

    .product-image {
        height: 170px
    }

    .product-body {
        padding: 9px
    }

    .product-title {
        font-size: 10px;
        line-height: 1.35
    }

    .product-meta {
        font-size: 8px;
        gap: 4px
    }

    .product-stock-box {
        padding: 5px
    }

    .product-stock-label,
    .product-stock-status {
        font-size: 8px
    }

    .product-price-row {
        gap: 5px
    }

    .price {
        font-size: 12px
    }

    .product-brand-mini {
        max-width: 50px;
        max-height: 22px
    }

    .product-actions {
        flex-wrap: wrap
    }

    .add-cart-btn {
        flex-basis: 100%;
        height: 31px !important;
        font-size: 9px !important
    }

    .qty-control {
        height: 31px
    }

    .brand-discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:767px) {
    .catalog-toolbar .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px
    }

    .catalog-toolbar .row>.col-lg-8 {
        grid-column: 1/-1
    }

    .catalog-toolbar .row>* {
        width: 100%
    }

    .brand-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px;
    }

    .brand-sidebar .mega-feature {
        margin-top: 5px !important
    }

    .products-grid-8 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px
    }

    .product-image {
        height: 150px
    }

    .product-body {
        padding: 8px
    }

    .product-body-head {
        height: 0
    }

    .product-wishlist {
        width: 27px !important;
        height: 27px !important
    }

    .product-title {
        font-size: 10px;
        min-height: 28px
    }

    .product-meta {
        display: block;
        line-height: 1.45
    }

    .product-meta-item {
        display: block
    }

    .product-stock-box {
        margin-top: 6px
    }

    .product-price-row {
        margin-top: 7px
    }

    .product-actions {
        margin-top: 7px
    }

    .qty-control {
        width: 78px
    }

    .qty-control button {
        width: 24px !important
    }

    .add-cart-btn {
        font-size: 8px !important;
        padding-left: 5px !important;
        padding-right: 5px !important
    }

    .brand-discovery {
        margin-bottom: 16px
    }

    .brand-discovery-grid {
        grid-template-columns: 1fr
    }

    .brand-discovery-head {
        display: block
    }

    .brand-discovery-head .btn {
        margin-top: 9px
    }
}

@media(max-width:420px) {
    .products-grid-8 {
        grid-template-columns: 1fr 1fr
    }

    .product-image {
        height: 130px
    }

    .product-title {
        font-size: 9px
    }

    .product-meta {
        font-size: 7px
    }

    .product-stock-label,
    .product-stock-status {
        font-size: 7px
    }

    .price {
        font-size: 11px
    }

    .product-brand-mini {
        max-width: 42px
    }

    .add-cart-btn {
        font-size: 7px !important
    }
}

/* ===== V13: JAVASCRIPT MEGA MENU SLIDE ===== */
.main-nav .mega-menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.main-nav .mega-menu-wrap.mega-open>.mega-menu,
.main-nav .mega-menu-wrap:hover>.mega-menu,
.main-nav .mega-menu-wrap:focus-within>.mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.main-nav .mega-menu-wrap.mega-open>.nav-link {
    color: #fff !important;
    background: rgba(54, 144, 204, .18);
}

@media(max-width:991px) {
    .main-nav .mega-menu {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        transform: none;
    }

    .main-nav .mega-menu-wrap.mega-open>.mega-menu {
        display: block !important;
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}


/*******************************************************

/* ==============================
   IMPROVED MEGA MENU
================================ */

/* ==============================
   AUTO WIDTH MEGA MENU
================================ */

.mega-menu-wrap {
    position: relative !important;
}

.mega-menu-wrap .access-mega-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 0;
    max-width: calc(100vw - 30px);
    padding: 18px;
    background: #fff;
    border-top: 3px solid #3690CC;
    box-shadow: 0 12px 35px rgba(31, 45, 55, .12);
    z-index: 9999;
}


/* Remove Bootstrap container width */

.access-mega-menu > .container {
    width: auto !important;
    max-width: none !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    margin: 0 !important;
}


/* Automatic columns */

.mega-auto-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(210px, max-content)
        );
    gap: 16px;
    width: max-content;
    max-width: calc(100vw - 60px);
}


/* Each column */

.mega-auto-grid .mega-col {
   width: max-content;
    min-width: 210px;
    max-width: 280px;
}


/* Don't stretch quote card */

.mega-auto-grid .mega-quote-card {
    width: 310px;
}


/* Section Heading */

.mega-section-head {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 12px;
    margin-bottom: 10px;

    border-bottom: 1px solid #e7edf0;
}

.mega-section-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #3690CC,
        #287caf
    );

    color: #fff;

    font-size: 16px;

    border-radius: 6px;
}

.mega-title {
    font-size: 12px;
    font-weight: 800;
    color: #39434a;
}

.mega-subtitle {
    font-size: 12px;
    color: #8a959c;
    margin-top: 2px;
}


/* Link List */

.mega-link-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


/* Link Card */

.mega-link-card {
    min-height: 52px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 8px 9px;

    border: 1px solid #e2e9ed;

    background: #fff;

    text-decoration: none;

    transition: all .18s ease;
}


/* Link Icon */

.mega-link-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf7fb;

    color: #3690CC;

    font-size: 14px;

    border-radius: 5px;
}


/* Link Text */

.mega-link-content {
    flex: 1;
    min-width: 0;
}

.mega-link-content strong {
    display: block;

    font-size: 10px;
    line-height: 1.25;

    color: #3d474e;

    font-weight: 750;
}

.mega-link-content small {
    display: block;

    font-size: 7.5px;

    color: #8a949a;

    margin-top: 2px;
}


/* Arrow */

.mega-link-arrow {
    color: #9aa5ab;

    font-size: 10px;

    transition: transform .18s ease,
                color .18s ease;
}


/* Hover */

.mega-link-card:hover {
    border-color: #9ecbe1;

    background:
        linear-gradient(
            90deg,
            #f4fafc,
            #fff
        );

    box-shadow:
        0 5px 13px
        rgba(37, 43, 49, .07);

    transform: translateX(3px);
}

.mega-link-card:hover
.mega-link-icon {
    background: #3690CC;
    color: #fff;
}

.mega-link-card:hover
.mega-link-content strong {
    color: #287caf;
}

.mega-link-card:hover
.mega-link-arrow {
    color: #3690CC;
    transform: translateX(3px);
}


/* ==============================
   PROJECT QUOTATION CARD
================================ */

.mega-quote-card {

    height: 100%;

    padding: 18px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #eef8fc,
            #e1f1f8
        );

    border: 1px solid #cce3ee;
}


.mega-quote-icon {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #3690CC;

    color: #fff;

    font-size: 18px;

    border-radius: 7px;

    margin-bottom: 13px;
}


.mega-quote-badge {

    display: inline-block;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .8px;

    color: #287caf;

    background: #fff;

    border: 1px solid #b9d9e8;

    padding: 4px 7px;

    margin-bottom: 9px;
}


.mega-quote-card h4 {

    font-size: 15px;

    font-weight: 800;

    color: #39434a;

    margin-bottom: 7px;
}


.mega-quote-card p {

    font-size: 8.5px;

    line-height: 1.6;

    color: #6f7b83;
}


.mega-quote-card ul {

    list-style: none;

    padding: 0;

    margin: 12px 0 16px;
}


.mega-quote-card li {

    font-size: 8.5px;

    color: #56636b;

    margin-bottom: 6px;
}


.mega-quote-card li i {

    color: #3690CC;

    margin-right: 5px;
}

.mega-dot-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf7fb;
    border: 1px solid #d5eaf3;
    border-radius: 5px;
}

.mega-dot-icon span {
    width: 8px;
    height: 8px;

    display: block;

    background: #3690CC;

    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(54, 144, 204, .10),
        0 0 0 7px rgba(54, 144, 204, .04);
}

.mega-link-card:hover .mega-dot-icon {
    background: #3690CC;
    border-color: #3690CC;
}

.mega-link-card:hover .mega-dot-icon span {
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(255,255,255,.18),
        0 0 0 7px rgba(255,255,255,.08);
}


/* =========================================================
   FINAL MEGA MENU FIX — V14
   JS controlled, no hover conflict, no accidental switching
   ========================================================= */

/* Desktop mega menu container */
@media (min-width: 992px) {

    .main-nav {
        position: relative !important;
        z-index: 3000 !important;
    }

    .main-nav .navbar,
    .main-nav .navbar-collapse,
    .main-nav .navbar-nav {
        position: relative !important;
        z-index: 3000 !important;
    }

    /* Every menu item is an independent hover/click zone */
    .main-nav .mega-menu-wrap {
        position: relative !important;
        z-index: 3001 !important;
    }

    /*
      Transparent bridge:
      keeps the mouse inside the same menu item while travelling
      from the nav-link down into the dropdown.
    */
    .main-nav .mega-menu-wrap::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 16px;
        background: transparent;
        z-index: 9998;
        pointer-events: auto;
    }

    /*
      IMPORTANT:
      Do NOT use :hover / :focus-within to open desktop mega menus.
      JavaScript adds .mega-open.
    */
    .main-nav .mega-menu-wrap:hover > .mega-menu,
    .main-nav .mega-menu-wrap:focus-within > .mega-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Closed state */
    .main-nav .mega-menu-wrap > .mega-menu {
        position: absolute !important;
        top: calc(100% + 0px) !important;
        left: 0 !important;
        right: auto !important;

        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;

        transform: translateY(-7px);
        transition:
            opacity .18s ease,
            transform .18s ease,
            visibility .18s ease;

        z-index: 9999 !important;

        background: #fff !important;
        border-top: 3px solid #3690CC !important;
        box-shadow: 0 18px 45px rgba(31, 45, 55, .14);

        max-width: calc(100vw - 30px) !important;
    }

    /* JS controlled open state */
    .main-nav .mega-menu-wrap.mega-open > .mega-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        transform: translateY(0);
    }

    /* Active nav item */
    .main-nav .mega-menu-wrap.mega-open > .nav-link {
        color: #3690CC !important;
    }

    /* Auto-width menus such as Accessories / Cables */
    .main-nav .mega-menu-wrap > .access-mega-menu {
        width: max-content !important;
        min-width: 0 !important;
        max-width: calc(100vw - 30px) !important;
        padding: 18px !important;
    }

    .main-nav .access-mega-menu > .container {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-nav .mega-auto-grid {
        display: grid !important;

        /*
          Each column grows only as much as required.
          More columns are automatically added without forcing
          a 100% width dropdown.
        */
        grid-template-columns:
            repeat(auto-fit, minmax(210px, max-content));

        gap: 16px;

        width: max-content;
        max-width: calc(100vw - 66px);
    }

    .main-nav .mega-auto-grid > .mega-col {
        width: max-content;
        min-width: 210px;
        max-width: 280px;
    }

    .main-nav .mega-auto-grid > .mega-col:last-child {
        border-right: 0;
    }

    .main-nav .mega-auto-grid .mega-quote-card {
        width: 310px;
        max-width: 310px;
    }

    /*
      Prevent long titles such as "Video Door Phones"
      from breaking unexpectedly.
    */
    .main-nav .mega-section-head {
        min-width: 0;
    }

    .main-nav .mega-section-head > div {
        min-width: 0;
    }

    .main-nav .mega-title {
        white-space: nowrap;
        overflow: visible;
        line-height: 1.25;
    }

    /*
      Link cards remain stable even with longer brand names.
    */
    .main-nav .mega-link-card {
        width: 100%;
        min-width: 0;
    }

    .main-nav .mega-link-content {
        min-width: 0;
        overflow: hidden;
    }

    .main-nav .mega-link-content strong {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /*
      Keep the dropdown above hero/content but below overlays
      that intentionally sit higher.
    */
    .main-nav .mega-menu {
        isolation: isolate;
    }
}


/* =========================================================
   MOBILE MEGA MENU
   ========================================================= */

@media (max-width: 991px) {

    .main-nav .mega-menu-wrap {
        position: relative !important;
        z-index: auto !important;
    }

    .main-nav .mega-menu-wrap::after {
        display: none !important;
    }

    /*
      Mobile is click/JS controlled.
      Never allow desktop hover rules to interfere.
    */
    .main-nav .mega-menu-wrap:hover > .mega-menu,
    .main-nav .mega-menu-wrap:focus-within > .mega-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .main-nav .mega-menu-wrap.mega-open > .mega-menu {
        display: block !important;
        position: static !important;

        width: 100% !important;
        max-width: 100% !important;

        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        transform: none !important;

        padding: 10px 0 !important;
        box-shadow: none !important;
        border-top: 1px solid #dfe8ed !important;
    }

    .main-nav .mega-menu-wrap > .mega-menu {
        display: none !important;
    }

    .main-nav .mega-menu-wrap.mega-open > .mega-menu {
        display: block !important;
    }

    .main-nav .mega-menu .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .main-nav .mega-auto-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
    }

    .main-nav .mega-auto-grid > .mega-col {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        border-right: 0 !important;
        border-bottom: 1px solid #edf1f3;
        padding: 8px 0 !important;
    }

    .main-nav .mega-auto-grid > .mega-col:last-child {
        border-bottom: 0;
    }

    .main-nav .mega-auto-grid .mega-quote-card {
        width: 100% !important;
        max-width: none !important;
    }

    .main-nav .mega-title {
        white-space: normal;
    }
}


/* =========================================================
   SAFETY OVERRIDES
   Remove old CSS-only hover opening behavior
   ========================================================= */

@media (min-width: 992px) {

    .mega-menu-wrap:hover > .mega-menu,
    .mega-menu-wrap:focus-within > .mega-menu,
    .main-nav .mega-menu-wrap:hover > .mega-menu,
    .main-nav .mega-menu-wrap:focus-within > .mega-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .mega-menu-wrap.mega-open > .mega-menu,
    .main-nav .mega-menu-wrap.mega-open > .mega-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
}


/* =========================================================
   V15 FINAL FIX — MEGA MENU MUST SIT ABOVE BANNER
   The original stylesheet applies overflow:hidden to .navbar,
   which clips an absolutely-positioned dropdown. 
   ========================================================= */

@media (min-width: 992px) {

    /* Never clip dropdowns inside the main navigation */
    .main-nav,
    .main-nav .navbar,
    .main-nav .navbar-collapse,
    .main-nav .navbar-nav {
        overflow: visible !important;
    }

    .main-nav {
        position: relative !important;
        z-index: 10000 !important;
        isolation: isolate;
    }

    .main-nav .navbar {
        position: relative !important;
        z-index: 10001 !important;
    }

    .main-nav .navbar-collapse {
        position: relative !important;
        z-index: 10002 !important;
    }

    .main-nav .navbar-nav {
        position: relative !important;
        z-index: 10003 !important;
    }

    .main-nav .mega-menu-wrap {
        position: relative !important;
        z-index: 10004 !important;
    }

    /* Dropdown itself is above the hero/banner */
    .main-nav .mega-menu-wrap > .mega-menu {
        z-index: 11000 !important;
    }

    .main-nav .mega-menu-wrap.mega-open > .mega-menu {
        z-index: 11000 !important;
    }

    /*
      Keep hero/content below navigation.
      Do not use a huge z-index on the hero.
    */
    .hero,
    .hero .container,
    .section,
    .brand-carousel {
        position: relative;
        z-index: 1;
    }

    /* Mega menu gets its own stacking context */
    .main-nav .mega-menu {
        isolation: isolate;
    }
}


/* =========================================================
   V15 — REMOVE THE OLD FULL-WIDTH / CLIPPING CONFLICT
   ========================================================= */

@media (min-width: 992px) {

    /*
      The generic .navbar rule earlier in the file has
      overflow:hidden. This explicit rule wins.
    */
    .navbar.main-nav,
    .main-nav > .navbar,
    .main-nav .navbar {
        overflow: visible !important;
    }

    /*
      Do not let the generic max-width:100% rule restrict
      auto-width mega menus.
    */
    .main-nav .mega-menu-wrap > .mega-menu {
        max-width: calc(100vw - 30px) !important;
    }

    .main-nav .mega-menu-wrap > .access-mega-menu {
        width: max-content !important;
        max-width: calc(100vw - 30px) !important;
    }

    /*
      Keep the dropdown attached to the nav item.
    */
    .main-nav .mega-menu-wrap > .mega-menu {
        top: calc(100% + 1px) !important;
    }
}


/* =========================================================
   V15 — MOBILE SHOULD NOT INHERIT DESKTOP STACKING
   ========================================================= */

@media (max-width: 991px) {

    .main-nav,
    .main-nav .navbar,
    .main-nav .navbar-collapse {
        overflow: visible !important;
    }

    .main-nav {
        z-index: 1000 !important;
    }

    .main-nav .mega-menu-wrap {
        z-index: auto !important;
    }

    .main-nav .mega-menu-wrap > .mega-menu,
    .main-nav .mega-menu-wrap.mega-open > .mega-menu {
        z-index: auto !important;
    }

    .hero,
    .section,
    .brand-carousel {
        z-index: auto;
    }
}


/* =========================================================
   V16 — AUTO FLIP MEGA MENU TO PREVENT RIGHT-SIDE CUT-OFF
   ========================================================= */

@media (min-width: 992px) {

    .main-nav .mega-menu-wrap > .access-mega-menu {
        left: 0 !important;
        right: auto !important;
        transform: translateY(-7px);
    }

    .main-nav .mega-menu-wrap.mega-open > .access-mega-menu {
        transform: translateY(0);
    }

    /*
      JS adds .mega-align-right when the dropdown would
      extend beyond the viewport.
    */
    .main-nav .mega-menu-wrap.mega-align-right > .access-mega-menu {
        left: auto !important;
        right: 0 !important;
    }

    .main-nav .mega-menu-wrap.mega-align-right > .mega-menu {
        left: auto !important;
        right: 0 !important;
    }

    /*
      Never allow the auto-width menu itself to become wider
      than the visible viewport.
    */
    .main-nav .mega-menu-wrap > .access-mega-menu {
        max-width: calc(100vw - 30px) !important;
        box-sizing: border-box !important;
    }

    .main-nav .mega-menu-wrap > .access-mega-menu .mega-auto-grid {
        max-width: calc(100vw - 66px) !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   V17 — VIEWPORT-SAFE MEGA MENU POSITIONING
   Never allow auto-width menus to leave the viewport.
   JS calculates the exact horizontal offset.
   ========================================================= */

@media (min-width: 992px) {
    .main-nav .mega-menu-wrap > .access-mega-menu {
        left: var(--mega-left, 0px) !important;
        right: auto !important;
        width: max-content !important;
        max-width: calc(100vw - 30px) !important;
        box-sizing: border-box !important;
    }

    .main-nav .mega-menu-wrap.mega-align-right > .access-mega-menu {
        left: var(--mega-left, 0px) !important;
        right: auto !important;
    }

    .main-nav .mega-menu-wrap > .access-mega-menu .mega-auto-grid {
        width: max-content !important;
        max-width: calc(100vw - 60px) !important;
    }
}


/* =========================================================
   V18 — KEEP QUOTATION COLUMN FULLY INSIDE VIEWPORT
   ========================================================= */

@media (min-width: 992px) {

    .main-nav .mega-menu-wrap > .access-mega-menu {
        box-sizing: border-box !important;
        padding: 16px !important;
    }

    .main-nav .mega-menu-wrap > .access-mega-menu .mega-auto-grid {
        box-sizing: border-box !important;
        width: max-content !important;
        max-width: calc(100vw - 62px) !important;
    }

    /* Quotation column must be allowed to shrink */
    .main-nav .mega-auto-grid .mega-quote-card {
        width: 270px !important;
        max-width: 270px !important;
        box-sizing: border-box !important;
    }

    .main-nav .mega-auto-grid > .mega-col:has(.mega-quote-card) {
        width: 270px !important;
        min-width: 270px !important;
        max-width: 270px !important;
    }

    /* Prevent quote content from creating hidden overflow */
    .main-nav .mega-quote-card {
        overflow: hidden !important;
    }

    .main-nav .mega-quote-card h4,
    .main-nav .mega-quote-card p,
    .main-nav .mega-quote-card ul {
        max-width: 100% !important;
    }

    .main-nav .mega-quote-card .btn {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   MEGA MENU — FORCE RIGHT SIDE MARGIN
   ========================================================= */

@media (min-width: 992px) {

    .main-nav .mega-menu-wrap > .access-mega-menu {
        box-sizing: border-box !important;

        /* Keep complete menu inside viewport */
        max-width: calc(100vw - 30px) !important;

        padding-right: 18px !important;
    }

    .main-nav .mega-menu-wrap > .access-mega-menu
    .mega-auto-grid {
        box-sizing: border-box !important;

        /* Reserve 15px on both sides */
        max-width: calc(100vw - 60px) !important;

        padding-right: 15px !important;
    }

    /* Quotation column */
    .main-nav .mega-auto-grid > .mega-col:has(.mega-quote-card) {
        box-sizing: border-box !important;

        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;

        padding-right: 15px !important;
    }

    /* Quotation card */
    .main-nav .mega-auto-grid .mega-quote-card {
        width: 100% !important;
        max-width: 245px !important;

        box-sizing: border-box !important;

        margin-right: 15px !important;
    }

    /* Prevent button/content from overflowing */
    .main-nav .mega-quote-card * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

}

.solution-section {
            width: calc(100% - 200px);
            margin: 55px auto
        }

        .solution-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px
        }

        .solution-card {
            position: relative;
            overflow: hidden;
            min-width: 0;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 18px;
            box-shadow: 0 9px 28px rgba(35, 58, 72, .09);
            transition: transform .25s ease, box-shadow .25s ease
        }

        .solution-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 17px 38px rgba(35, 58, 72, .15)
        }

        .solution-image-wrap {
            height: 260px;
            overflow: hidden;
            background: #edf5f8
        }

        .solution-image {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform .5s ease
        }

        .solution-card:hover .solution-image {
            transform: scale(1.04)
        }

        .solution-body {
            position: relative;
            text-align: center;
            padding: 0 28px 30px;
            background: #fff
        }

        .solution-icon {
            position: relative;
            width: 70px;
            height: 70px;
            margin: -35px auto 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #f2f8fc;
            border: 8px solid #fff;
            color: var(--brand);
            font-size: 28px;
            box-shadow: 0 5px 15px rgba(32, 65, 83, .08);
            z-index: 2
        }

        .solution-card:nth-child(2) .solution-icon {
            color: var(--purple);
            background: #f5f1ff
        }

        .solution-card:nth-child(3) .solution-icon {
            color: var(--green);
            background: #effbf5
        }

        .solution-title {
            margin: 0;
            font-size: 22px;
            line-height: 1.25;
            font-weight: 800;
            color: #26333b
        }

        .solution-line {
            width: 62px;
            height: 3px;
            margin: 16px auto 14px;
            background: var(--brand)
        }

        .solution-card:nth-child(2) .solution-line {
            background: var(--purple)
        }

        .solution-card:nth-child(3) .solution-line {
            background: var(--green)
        }

        .solution-description {
            min-height: 48px;
            margin: 0 auto 22px;
            max-width: 300px;
            color: #67747c;
            font-size: 14px;
            line-height: 1.65
        }

        .solution-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-width: 180px;
            padding: 11px 20px;
            border-radius: 8px;
            color: #fff;
            background: var(--brand);
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            transition: .2s ease
        }

        .solution-card:nth-child(2) .solution-btn {
            background: var(--purple)
        }

        .solution-card:nth-child(3) .solution-btn {
            background: var(--green)
        }

        .solution-btn:hover {
            color: #fff;
            filter: brightness(.94)
        }

        .solution-card::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 4px;
            background: var(--brand)
        }

        .solution-card:nth-child(2)::after {
            background: var(--purple)
        }

        .solution-card:nth-child(3)::after {
            background: var(--green)
        }

        @media(max-width:1199px) {
            .solution-section {
                width: calc(100% - 80px)
            }
        }

        @media(max-width:991px) {
            .solution-section {
                width: calc(100% - 40px)
            }
            .solution-grid {
                grid-template-columns: 1fr
            }
            .solution-image-wrap {
                height: 280px
            }
        }

        @media(max-width:575px) {
            .solution-section {
                width: calc(100% - 24px);
                margin: 35px auto
            }
            .solution-image-wrap {
                height: 220px
            }
            .solution-title {
                font-size: 19px
            }
            .solution-description {
                font-size: 13px
            }
        }

        /* =========================================
   HEADER ACTION BUTTONS
========================================= */

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


/* Main Button */

.header-action {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px 4px 5px;
    background: #fff;
    border: 1px solid #d8e4ea;
    border-radius: 7px;
    color: #52616a;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* Icon */

.header-action-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #edf7fb;
    color: #3690CC;
    font-size: 14px;
    transition:
        background .2s ease,
        color .2s ease;
}


/* Individual Colors */

.header-action-icon.quotation {
    background: #f1f5ff;
    color: #5575c9;
}

.header-action-icon.wishlist {
    background: #fff1f3;
    color: #e56b78;
}

.header-action-icon.cart {
    background: #eef9f4;
    color: #269c6c;
}


/* Hover */

.header-action:hover {
    color: #3690CC;
    border-color: #9fcbe0;
    background: #fafdfe;
    transform: translateY(-1px);
    box-shadow:
        0 4px 12px rgba(42, 76, 94, .09);
}

.header-action:hover .header-action-icon {
    background: #3690CC;
    color: #fff;
}

.header-action:hover .quotation {
    background: #5575c9;
}

.header-action:hover .wishlist {
    background: #e56b78;
}

.header-action:hover .cart {
    background: #269c6c;
}


/* =========================================
   CART COUNT
========================================= */

.cart-action {
    position: relative;
    padding-right: 25px;
}

.cart-count {
    position: absolute;
    top: -7px;
    right: -6px;
    min-width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    background: #3690CC;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    font-size: 7px;
    font-weight: 800;
    line-height: 1;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .header-action {
        padding-right: 7px;
    }
    .header-action > span:last-child {
        display: none;
    }
    .cart-action {
        padding-right: 7px;
    }
}


@media (max-width: 767px) {
    .header-actions {
        gap: 5px;
    }
    .header-action {
        width: 36px;
        height: 36px;
        justify-content: center;
        padding: 3px;
        border-radius: 6px;
    }

    .header-action-icon {
        width: 28px;
        height: 28px;
    }
}