/* =====================================================
   ALI GLAZIERS LTD – ROOFING DIVISION
   Complete Stylesheet — Industrial Red / Black / White
   ===================================================== */

/* ─────────────────────────────────────────────────────
   0. CSS CUSTOM PROPERTIES
   ───────────────────────────────────────────────────── */
:root {
    /* Palette */
    --clr-red:          #C62828;
    --clr-red-dark:     #8E0000;
    --clr-red-light:    #FF5F52;
    --clr-black:        #111111;
    --clr-dark:         #1A1A1A;
    --clr-grey-900:     #212121;
    --clr-grey-700:     #424242;
    --clr-grey-500:     #757575;
    --clr-grey-300:     #BDBDBD;
    --clr-grey-100:     #F5F5F5;
    --clr-white:        #FFFFFF;
    --clr-overlay:      rgba(17, 17, 17, .70);

    /* Typography */
    --ff-heading: 'Oswald', sans-serif;
    --ff-body:    'Open Sans', sans-serif;

    /* Sizing */
    --container-max: 1300px;
    --header-h:     80px;
    --radius:       6px;
    --radius-lg:    12px;

    /* Shadows */
    --shadow-sm:   0 2px 8px rgba(0,0,0,.07);
    --shadow-md:   0 4px 20px rgba(0,0,0,.10);
    --shadow-lg:   0 8px 40px rgba(0,0,0,.14);

    /* Transitions */
    --ease:        cubic-bezier(.4, 0, .2, 1);
    --speed:       .3s;
}


/* ─────────────────────────────────────────────────────
   1. RESET & BASE
   ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    font-family: var(--ff-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--clr-grey-900);
    background: var(--clr-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--speed) var(--ease);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-black);
}


/* ─────────────────────────────────────────────────────
   2. UTILITY CLASSES
   ───────────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.text-red        { color: var(--clr-red); }
.text-center     { text-align: center; }
.text-muted      { color: var(--clr-grey-500); }

.section {
    padding: 5rem 0;
    position: relative;
}

.section--grey {
    background: var(--clr-grey-100);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--clr-red);
    margin-bottom: .4rem;
}

.section__title {
    font-size: 2.4rem;
    margin-top: .25rem;
    text-transform: uppercase;
}

.section__subtitle {
    font-size: 1rem;
    color: var(--clr-grey-500);
    margin-top: .5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}


/* ─────────────────────────────────────────────────────
   3. BUTTONS
   ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.8rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--ff-body);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all var(--speed) var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--clr-red);
    color: var(--clr-white);
    border-color: var(--clr-red);
}
.btn--primary:hover {
    background: var(--clr-red-dark);
    border-color: var(--clr-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(198, 40, 40, .35);
}

.btn--dark {
    background: var(--clr-black);
    color: var(--clr-white);
    border-color: var(--clr-black);
}
.btn--dark:hover {
    background: var(--clr-grey-700);
    border-color: var(--clr-grey-700);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--clr-red);
    border-color: var(--clr-red);
}
.btn--outline:hover {
    background: var(--clr-red);
    color: var(--clr-white);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--clr-white);
    border-color: var(--clr-white);
}
.btn--outline-light:hover {
    background: var(--clr-white);
    color: var(--clr-red);
    transform: translateY(-2px);
}

.btn--lg  { padding: 1rem 2.2rem; font-size: 1rem; }
.btn--sm  { padding: .55rem 1.2rem; font-size: .8rem; }

.btn--block { width: 100%; }

.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--clr-white);
    color: var(--clr-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--speed) var(--ease);
    box-shadow: var(--shadow-sm);
}
.btn-icon:hover {
    background: var(--clr-red);
    color: var(--clr-white);
    transform: scale(1.1);
}


/* ─────────────────────────────────────────────────────
   4. TOP BAR
   ───────────────────────────────────────────────────── */
.top-bar {
    background: var(--clr-black);
    color: var(--clr-grey-300);
    font-size: .8rem;
    padding: .5rem 0;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.top-bar__left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar__left span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.top-bar__left i { color: var(--clr-red); }

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar__right span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.top-bar__right i { color: var(--clr-red); }

.top-bar__social {
    display: flex;
    gap: .6rem;
}

.top-bar__social a {
    color: var(--clr-grey-300);
    font-size: .95rem;
    transition: color var(--speed);
}
.top-bar__social a:hover { color: var(--clr-red); }


/* ─────────────────────────────────────────────────────
   5. SITE HEADER / NAVIGATION
   ───────────────────────────────────────────────────── */
.site-header {
    background: var(--clr-white);
    height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--speed), background var(--speed);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.site-header__logo {
    flex-shrink: 0;
}
.site-header__logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Main Nav */
.main-nav__list {
    display: flex;
    align-items: center;
    gap: .2rem;
}

.main-nav__list > li > a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem 1rem;
    font-size: .88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--clr-grey-900);
    border-radius: var(--radius);
    transition: all var(--speed) var(--ease);
}

.main-nav__list > li > a:hover,
.main-nav__list > li > a.active {
    color: var(--clr-red);
    background: rgba(198, 40, 40, .06);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--clr-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--speed) var(--ease);
    padding: .5rem 0;
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: .6rem 1.2rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--clr-grey-700);
    transition: all var(--speed);
}

.dropdown li a:hover {
    background: var(--clr-grey-100);
    color: var(--clr-red);
    padding-left: 1.5rem;
}

/* Header Actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.header-action {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: var(--clr-grey-900);
    cursor: pointer;
    transition: all var(--speed) var(--ease);
    position: relative;
}

.header-action:hover {
    background: var(--clr-grey-100);
    color: var(--clr-red);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--clr-black);
    border-radius: 2px;
    transition: all var(--speed) var(--ease);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Search Bar */
.search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--clr-white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: all var(--speed) var(--ease);
    z-index: 50;
}

.search-bar.open {
    transform: scaleY(1);
    opacity: 1;
}

.search-bar__form {
    display: flex;
    align-items: center;
    gap: .5rem;
    max-width: 640px;
    margin: 0 auto;
}

.search-bar__form input {
    flex: 1;
    padding: .8rem 1.2rem;
    border: 2px solid var(--clr-grey-300);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--ff-body);
    outline: none;
    transition: border-color var(--speed);
}

.search-bar__form input:focus {
    border-color: var(--clr-red);
}

.search-bar__form button {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: var(--radius);
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--speed);
    flex-shrink: 0;
}

.search-bar__form button:hover { background: var(--clr-red-dark); }

.search-bar__close {
    background: var(--clr-grey-100) !important;
    color: var(--clr-grey-700) !important;
}
.search-bar__close:hover {
    background: var(--clr-grey-300) !important;
}


/* ─────────────────────────────────────────────────────
   5b. MEGA MENU (BHD / Formlab Style)
   ───────────────────────────────────────────────────── */
.has-megamenu {
    position: static;
}

.megamenu-trigger {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.megamenu-trigger i {
    font-size: .65rem;
    transition: transform var(--speed) var(--ease);
}

.has-megamenu:hover .megamenu-trigger i,
.has-megamenu.open .megamenu-trigger i {
    transform: rotate(180deg);
}

/* The mega dropdown panel */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--clr-white);
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
    border-top: 3px solid var(--clr-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .28s var(--ease);
    z-index: 200;
    padding: 2rem 0 0;
}

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

/* Grid layout — BHD style: evenly spaced columns */
.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Each category column */
.mega-menu__col {
    padding: 0 .5rem;
}

/* Column heading */
.mega-menu__heading {
    font-family: var(--ff-heading);
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--clr-black);
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-bottom: .6rem;
    margin-bottom: .8rem;
    border-bottom: 2px solid var(--clr-red);
}

.mega-menu__heading i {
    color: var(--clr-red);
    font-size: 1rem;
}

.mega-menu__heading a {
    color: inherit;
    transition: color var(--speed);
}

.mega-menu__heading a:hover {
    color: var(--clr-red);
}

/* Subcategory links */
.mega-menu__links {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.mega-menu__links li a {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .5rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--clr-grey-700);
    border-radius: var(--radius);
    transition: all .2s var(--ease);
}

.mega-menu__links li a i {
    font-size: .7rem;
    color: var(--clr-grey-500);
    transition: color .2s;
    width: 16px;
    text-align: center;
}

.mega-menu__links li a:hover {
    background: rgba(198, 40, 40, .06);
    color: var(--clr-red);
    padding-left: .8rem;
}

.mega-menu__links li a:hover i {
    color: var(--clr-red);
}

/* Product count label */
.mega-menu__count {
    display: inline-block;
    margin-top: .6rem;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--clr-grey-500);
    padding: .2rem .6rem;
    background: var(--clr-grey-100);
    border-radius: 50px;
}

/* ── Applications Column (Social Amenities) ─── */
.mega-menu__col--apps {
    grid-column: span 1;
    background: linear-gradient(135deg, #FFF5F5, #FFF);
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid rgba(198, 40, 40, .08);
}

.mega-menu__heading--apps {
    border-bottom-color: var(--clr-red);
    color: var(--clr-red);
}

.mega-menu__apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem;
}

.mega-app {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .4rem;
    border-radius: var(--radius);
    transition: all .2s var(--ease);
    text-decoration: none;
}

.mega-app:hover {
    background: var(--clr-white);
    box-shadow: 0 2px 8px rgba(198,40,40,.1);
}

.mega-app__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--clr-white);
    color: var(--clr-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
    border: 1px solid rgba(198,40,40,.1);
    transition: all .2s;
}

.mega-app:hover .mega-app__icon {
    background: var(--clr-red);
    color: var(--clr-white);
    border-color: var(--clr-red);
}

.mega-app__name {
    font-size: .7rem;
    font-weight: 600;
    color: var(--clr-grey-700);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.mega-app:hover .mega-app__name {
    color: var(--clr-red);
}

/* ── Mega Menu Footer Bar ─── */
.mega-menu__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid var(--clr-grey-100);
    margin: 0;
    background: var(--clr-grey-100);
    margin: 0 -1.25rem;
    padding: 1rem 1.25rem;
}

.mega-menu__footer-left {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    color: var(--clr-grey-700);
}

.mega-menu__footer-left i {
    font-size: 1.2rem;
    color: var(--clr-red);
}

.mega-menu__footer-right {
    display: flex;
    gap: .6rem;
}


/* ─────────────────────────────────────────────────────
   6. HERO SECTION
   ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 17, 17, .82) 0%,
        rgba(17, 17, 17, .55) 50%,
        rgba(198, 40, 40, .30) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    color: var(--clr-white);
    padding: 2rem 0;
}

.hero__tagline {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-red-light);
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
}

.hero__tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2.2rem;
    height: 2px;
    background: var(--clr-red);
}

.hero__title {
    font-size: 4.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-white);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Trust Badges */
.hero__badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
    font-size: .82rem;
    font-weight: 600;
    color: var(--clr-white);
}

.trust-badge i {
    color: var(--clr-red-light);
    font-size: 1rem;
}


/* ─────────────────────────────────────────────────────
   7. PRODUCTS SECTION (Tabbed)
   ───────────────────────────────────────────────────── */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar Promo Banners */
.products-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}

.promo-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--clr-red), var(--clr-red-dark));
    color: var(--clr-white);
    position: relative;
}

.promo-banner img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    opacity: .25;
}

.promo-banner__content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.promo-banner__content i {
    opacity: .6;
}

.promo-banner__content h3 {
    font-size: 1.2rem;
    margin: .5rem 0;
    color: var(--clr-white);
    text-transform: uppercase;
}

.promo-banner__content p {
    font-size: .85rem;
    opacity: .85;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.promo-banner--dark {
    background: linear-gradient(135deg, var(--clr-dark), var(--clr-black));
}

.promo-banner__label {
    display: inline-block;
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: .3rem .8rem;
    border-radius: 3px;
    margin-bottom: .5rem;
}

/* Tabs */
.product-tabs {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--clr-grey-100);
}

.product-tab {
    padding: .6rem 1.3rem;
    border: 2px solid var(--clr-grey-300);
    border-radius: 50px;
    background: transparent;
    color: var(--clr-grey-700);
    font-family: var(--ff-body);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all var(--speed) var(--ease);
}

.product-tab:hover {
    border-color: var(--clr-red);
    color: var(--clr-red);
}

.product-tab--active {
    background: var(--clr-red);
    border-color: var(--clr-red);
    color: var(--clr-white);
}

.product-tab--active:hover {
    color: var(--clr-white);
}

/* Tab Panels */
.product-tab-panel {
    display: none;
    animation: fadeIn .4s var(--ease);
}

.product-tab-panel--active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ─────────────────────────────────────────────────────
   8. PRODUCT CARD
   ───────────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 1.5rem;
}

.product-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--speed) var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

/* Sale Badge */
.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 4px;
    z-index: 3;
    letter-spacing: .5px;
}

/* Image wrapper */
.product-card__image {
    position: relative;
    overflow: hidden;
    background: var(--clr-grey-100);
}

.product-card__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .5s var(--ease), opacity .25s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.08);
}

/* Hover overlay with action buttons */
.product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    opacity: 0;
    transition: opacity var(--speed) var(--ease);
    z-index: 2;
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

/* Body */
.product-card__body {
    padding: 1rem 1.2rem .5rem;
    flex: 1;
}

.product-card__category {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-red);
}

.product-card__title {
    font-family: var(--ff-body);
    font-size: .95rem;
    font-weight: 700;
    margin: .3rem 0;
    color: var(--clr-grey-900);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__desc {
    font-size: .8rem;
    color: var(--clr-grey-500);
    margin-bottom: .6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price */
.product-card__price {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .5rem;
}

.price-current {
    font-family: var(--ff-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--clr-red);
}

.price-old {
    font-size: .78rem;
    color: var(--clr-grey-500);
    text-decoration: line-through;
}

/* Bottom cart button */
.product-card__cart-btn {
    width: 100%;
    padding: .85rem;
    background: var(--clr-black);
    color: var(--clr-white);
    border: none;
    font-family: var(--ff-body);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: all var(--speed) var(--ease);
    margin-top: auto;
}

.product-card__cart-btn:hover {
    background: var(--clr-red);
}

.product-card__cart-btn.added {
    background: #2E7D32;
}


/* ─────────────────────────────────────────────────────
   9. CATEGORY / OUR WORK GRID
   ───────────────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 220px;
    display: block;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,17,.80) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--clr-white);
    transition: background var(--speed);
}

.category-card:hover .category-card__overlay {
    background: linear-gradient(to top, rgba(198,40,40,.85) 0%, transparent 70%);
}

.category-card__overlay h3 {
    font-size: 1.2rem;
    color: var(--clr-white);
    text-transform: uppercase;
}

.category-card__overlay span {
    font-size: .82rem;
    opacity: .85;
}

/* Large card spanning 2 columns + 2 rows */
.category-card--large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    min-height: 460px;
}

.category-card--large .category-card__overlay h3 {
    font-size: 1.6rem;
}

/* Promo side banner */
.category-card--promo {
    background: linear-gradient(135deg, var(--clr-red), var(--clr-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.category-card__promo-inner {
    color: var(--clr-white);
}

.category-card__promo-inner span {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: .7;
}

.category-card__promo-inner h3 {
    font-size: 1.3rem;
    margin: .5rem 0;
    color: var(--clr-white);
    text-transform: uppercase;
}

.category-card__promo-inner p {
    font-size: .85rem;
    opacity: .85;
    margin-bottom: 1.2rem;
}


/* ─────────────────────────────────────────────────────
   10. FEATURES / WHY CHOOSE US
   ───────────────────────────────────────────────────── */
.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-split__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.features-split__image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.features-split__badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--clr-red);
    color: var(--clr-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.features-split__badge .big-number {
    display: block;
    font-family: var(--ff-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.features-split__badge span {
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
}

.features-split__content .section__title {
    text-align: left;
    font-size: 2.2rem;
}

.features-intro {
    font-size: 1rem;
    color: var(--clr-grey-500);
    margin: 1rem 0 1.5rem;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: rgba(198, 40, 40, .08);
    color: var(--clr-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all var(--speed) var(--ease);
}

.features-list li:hover .feature-icon {
    background: var(--clr-red);
    color: var(--clr-white);
}

.features-list li strong {
    font-size: .95rem;
    display: block;
    margin-bottom: .15rem;
}

.features-list li p {
    font-size: .85rem;
    color: var(--clr-grey-500);
    line-height: 1.5;
}

/* Social Amenities Block */
.amenities-block {
    background: var(--clr-grey-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: .5rem;
}

.amenities-block__title {
    font-family: var(--ff-body);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-grey-900);
    margin-bottom: 1rem;
}

.amenities-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem;
}

.amenity {
    text-align: center;
    padding: .5rem;
    border-radius: var(--radius);
    transition: all var(--speed) var(--ease);
}

.amenity:hover {
    background: var(--clr-white);
    box-shadow: var(--shadow-sm);
}

.amenity__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-white);
    color: var(--clr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto .4rem;
    border: 2px solid rgba(198, 40, 40, .12);
    transition: all var(--speed) var(--ease);
}

.amenity:hover .amenity__icon {
    background: var(--clr-red);
    color: var(--clr-white);
    border-color: var(--clr-red);
}

.amenity span {
    font-size: .72rem;
    font-weight: 600;
    color: var(--clr-grey-700);
    text-transform: uppercase;
    letter-spacing: .3px;
}


/* ─────────────────────────────────────────────────────
   11. PARALLAX BANNER
   ───────────────────────────────────────────────────── */
.parallax-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.parallax-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 17, 17, .85) 0%,
        rgba(198, 40, 40, .55) 100%
    );
}

.parallax-banner__content {
    position: relative;
    z-index: 1;
    color: var(--clr-white);
    max-width: 700px;
    padding: 3rem 1rem;
}

.parallax-banner__content h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--clr-white);
    margin-bottom: 1rem;
}

.parallax-banner__content p {
    font-size: 1.05rem;
    opacity: .9;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


/* ─────────────────────────────────────────────────────
   12. BLOG / LATEST NEWS
   ───────────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--speed) var(--ease);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.blog-card__image {
    position: relative;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.06);
}

.blog-card__date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: .72rem;
    font-weight: 600;
    padding: .35rem .8rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.blog-card__body {
    padding: 1.3rem 1.5rem;
}

.blog-card__category {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-red);
    margin-bottom: .4rem;
}

.blog-card__body h3 {
    font-family: var(--ff-body);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: .6rem;
}

.blog-card__body h3 a {
    transition: color var(--speed);
}

.blog-card__body h3 a:hover {
    color: var(--clr-red);
}

.blog-card__body p {
    font-size: .85rem;
    color: var(--clr-grey-500);
    line-height: 1.6;
    margin-bottom: .8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    font-size: .82rem;
    font-weight: 700;
    color: var(--clr-red);
    text-transform: uppercase;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.blog-card__link:hover {
    gap: .6rem;
}


/* ─────────────────────────────────────────────────────
   13. PROMOTIONAL BANNERS
   ───────────────────────────────────────────────────── */
.promo-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.promo-duo__card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.promo-duo__card--red {
    background: linear-gradient(135deg, var(--clr-red), var(--clr-red-dark));
    color: var(--clr-white);
}

.promo-duo__card--dark {
    background: linear-gradient(135deg, var(--clr-dark), var(--clr-black));
    color: var(--clr-white);
}

.promo-duo__content {
    position: relative;
    z-index: 1;
}

.promo-duo__label {
    display: inline-block;
    background: rgba(255, 255, 255, .18);
    color: var(--clr-white);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: .3rem .8rem;
    border-radius: 3px;
    margin-bottom: .75rem;
}

.promo-duo__content h3 {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--clr-white);
    margin-bottom: .5rem;
    line-height: 1.2;
}

.promo-duo__content p {
    font-size: .88rem;
    opacity: .85;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.promo-duo__icon {
    font-size: 5rem;
    opacity: .12;
    position: absolute;
    right: 2rem;
    bottom: 1rem;
}


/* ─────────────────────────────────────────────────────
   14. FOOTER
   ───────────────────────────────────────────────────── */
.site-footer {
    background: var(--clr-dark);
    color: var(--clr-grey-300);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1.3fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

/* Logo */
.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-col p {
    font-size: .88rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-family: var(--ff-heading);
    font-size: 1.1rem;
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--clr-red);
    display: inline-block;
}

/* Quick Links */
.footer-col ul li {
    margin-bottom: .5rem;
}

.footer-col ul li a {
    font-size: .88rem;
    color: var(--clr-grey-300);
    transition: all var(--speed);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.footer-col ul li a::before {
    content: '\203A';
    color: var(--clr-red);
    font-weight: 700;
    transition: transform var(--speed);
}

.footer-col ul li a:hover {
    color: var(--clr-white);
    padding-left: .3rem;
}

/* Contact list */
.footer-contact li {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin-bottom: .8rem;
}

.footer-contact li::before {
    display: none;
}

.footer-contact li a::before {
    display: none;
}

.footer-contact li i {
    color: var(--clr-red);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact li span,
.footer-contact li a {
    font-size: .88rem;
    line-height: 1.6;
}

.footer-contact li a:hover {
    color: var(--clr-red);
    padding-left: 0;
}

/* Footer Branches / Locations */
.footer-branches {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-branch {
    padding-bottom: .8rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-branch:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.footer-branch h5 {
    font-family: var(--ff-heading);
    font-size: .88rem;
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.footer-branch h5 i {
    color: var(--clr-red);
    font-size: .9rem;
}

.footer-branch p {
    font-size: .8rem;
    line-height: 1.5;
    color: var(--clr-grey-400);
    margin-bottom: .3rem;
}

.footer-branch a {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--clr-grey-300);
    transition: color var(--speed);
    line-height: 1.6;
}

.footer-branch a::before {
    display: none;
}

.footer-branch a:hover {
    color: var(--clr-red);
    padding-left: 0;
}

.footer-branch a i {
    color: var(--clr-red);
    font-size: .75rem;
    flex-shrink: 0;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: .6rem;
    margin-top: .5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: var(--clr-grey-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--speed) var(--ease);
}

.footer-social a:hover {
    background: var(--clr-red);
    color: var(--clr-white);
    transform: translateY(-3px);
}

/* Newsletter Form */
.newsletter-form {
    margin-top: .5rem;
}

.newsletter-form__group {
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.newsletter-form__group input {
    flex: 1;
    padding: .8rem 1rem;
    border: none;
    outline: none;
    font-family: var(--ff-body);
    font-size: .88rem;
    background: rgba(255, 255, 255, .08);
    color: var(--clr-white);
}

.newsletter-form__group input::placeholder {
    color: var(--clr-grey-500);
}

.newsletter-form__group button {
    padding: 0 1.2rem;
    border: none;
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--speed);
}

.newsletter-form__group button:hover {
    background: var(--clr-red-dark);
}

.newsletter-form__note {
    display: block;
    font-size: .75rem;
    color: var(--clr-grey-500);
    margin-top: .5rem;
}

/* Payment Icons */
.payment-icons {
    margin-top: 1.5rem;
}

.payment-icons span {
    font-size: .78rem;
    font-weight: 600;
    color: var(--clr-grey-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: .5rem;
}

.payment-icons__row {
    display: flex;
    gap: .8rem;
}

.payment-icons__row i {
    font-size: 1.5rem;
    color: var(--clr-grey-500);
    transition: color var(--speed);
}

.payment-icons__row i:hover {
    color: var(--clr-white);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.2rem 0;
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-bottom p {
    font-size: .8rem;
    color: var(--clr-grey-500);
}

.footer-bottom__links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom__links a {
    font-size: .8rem;
    color: var(--clr-grey-500);
    transition: color var(--speed);
}

.footer-bottom__links a:hover {
    color: var(--clr-red);
}


/* ─────────────────────────────────────────────────────
   15. CART SIDEBAR DRAWER
   ───────────────────────────────────────────────────── */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 999;
    backdrop-filter: blur(2px);
    transition: opacity var(--speed);
}

.cart-overlay.open {
    display: block;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    height: 100vh;
    height: 100dvh;
    background: var(--clr-white);
    z-index: 1000;
    transition: right var(--speed) var(--ease);
    box-shadow: -8px 0 30px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 2px solid var(--clr-grey-100);
    flex-shrink: 0;
}

.cart-sidebar__header h3 {
    font-family: var(--ff-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.cart-sidebar__close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--clr-grey-100);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--speed);
}

.cart-sidebar__close:hover {
    background: var(--clr-red);
    color: var(--clr-white);
}

.cart-sidebar__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

/* Cart empty state */
.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--clr-grey-500);
}

.cart-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: .4;
}

.cart-empty p {
    margin-bottom: 1rem;
}

/* Cart item row */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--clr-grey-100);
    align-items: center;
}

.cart-item__image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--clr-grey-100);
}

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

.cart-item__info {
    flex: 1;
}

.cart-item__name {
    font-size: .88rem;
    font-weight: 600;
    color: var(--clr-grey-900);
    line-height: 1.3;
    margin-bottom: .3rem;
}

.cart-item__price {
    font-family: var(--ff-heading);
    font-size: .95rem;
    color: var(--clr-red);
    font-weight: 600;
}

.cart-item__qty {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: .4rem;
}

.cart-item__qty button {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid var(--clr-grey-300);
    background: var(--clr-white);
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--speed);
}

.cart-item__qty button:hover {
    background: var(--clr-red);
    color: var(--clr-white);
    border-color: var(--clr-red);
}

.cart-item__qty span {
    font-size: .88rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.cart-item__remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--clr-grey-100);
    color: var(--clr-grey-500);
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--speed);
    flex-shrink: 0;
}

.cart-item__remove:hover {
    background: var(--clr-red);
    color: var(--clr-white);
}

/* Footer totals */
.cart-sidebar__footer {
    padding: 1.2rem 1.5rem;
    border-top: 2px solid var(--clr-grey-100);
    flex-shrink: 0;
    background: var(--clr-grey-100);
}

.cart-sidebar__totals {
    margin-bottom: 1rem;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    padding: .3rem 0;
    font-size: .9rem;
}

.cart-row--total {
    border-top: 2px solid var(--clr-grey-300);
    margin-top: .4rem;
    padding-top: .6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--clr-black);
}

.cart-sidebar__footer .btn {
    margin-bottom: .6rem;
}


/* ─────────────────────────────────────────────────────
   16. BACK TO TOP BUTTON
   ───────────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--clr-red);
    color: var(--clr-white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--speed) var(--ease);
    z-index: 800;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--clr-red-dark);
    transform: translateY(-4px);
}


/* ─────────────────────────────────────────────────────
   17. ANIMATIONS
   ───────────────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

.cart-badge.pulse {
    animation: pulse .4s var(--ease);
}


/* ─────────────────────────────────────────────────────
   17b. TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────── */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: var(--clr-grey-900);
    color: var(--clr-white);
    padding: .8rem 1.5rem;
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    opacity: 0;
    transition: all .35s var(--ease);
    white-space: nowrap;
    max-width: 90vw;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification--success i { color: #4CAF50; }
.toast-notification--error i   { color: var(--clr-red-light); }


/* ─────────────────────────────────────────────────────
   17c. SCROLL REVEAL
   ───────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ─────────────────────────────────────────────────────
   18. RESPONSIVE — TABLET (≤ 1024px)
   ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    /* Mega Menu — stack into 3 cols */
    .mega-menu__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-menu__col--apps {
        grid-column: span 3;
    }

    .mega-menu__apps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero__title {
        font-size: 3rem;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        flex-direction: row;
        position: static;
        overflow-x: auto;
    }

    .promo-banner {
        min-width: 260px;
        flex-shrink: 0;
    }

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

    .category-card--large {
        grid-column: 1 / 3;
        grid-row: auto;
        min-height: 300px;
    }

    .features-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .features-split__content .section__title {
        text-align: center;
    }

    .features-intro {
        text-align: center;
    }

    .product-grid--4 {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .blog-grid .blog-card:last-child {
        display: none;
    }

    .promo-duo {
        grid-template-columns: 1fr;
    }

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


/* ─────────────────────────────────────────────────────
   19. RESPONSIVE — MOBILE (≤ 768px)
   ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    .top-bar__left,
    .top-bar__right span:first-child {
        display: none;
    }

    .top-bar__inner {
        justify-content: center;
    }

    /* Mobile Nav */
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: var(--clr-white);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        padding: 5rem 1.5rem 2rem;
        transition: left var(--speed) var(--ease);
        overflow-y: auto;
    }

    .main-nav.open {
        left: 0;
    }

    .main-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .main-nav__list > li > a {
        width: 100%;
        padding: .9rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--clr-grey-100);
        border-radius: 0;
    }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--clr-grey-100);
        border-radius: 0;
        display: none;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .dropdown li a {
        padding-left: 2rem;
    }

    /* Mega Menu — mobile: full-width accordion */
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding: 0;
        display: none;
    }

    .has-megamenu.open .mega-menu {
        display: block;
    }

    .has-megamenu:hover .mega-menu {
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .has-megamenu.open .mega-menu {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .mega-menu__grid {
        grid-template-columns: 1fr;
        gap: .5rem;
        padding: .5rem 0;
    }

    .mega-menu__col {
        padding: .5rem .8rem;
        border-bottom: 1px solid var(--clr-grey-100);
    }

    .mega-menu__col--apps {
        grid-column: auto;
    }

    .mega-menu__apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-menu__heading {
        font-size: .82rem;
        margin-bottom: .5rem;
        padding-bottom: .3rem;
    }

    .mega-menu__footer {
        flex-direction: column;
        gap: .8rem;
        text-align: center;
        margin: 0;
        padding: 1rem;
    }

    .mega-menu__footer-right {
        flex-direction: column;
        width: 100%;
    }

    .mega-menu__footer-right .btn {
        width: 100%;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: .95rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__badges {
        flex-direction: column;
        gap: .7rem;
    }

    /* Section sizing */
    .section {
        padding: 3rem 0;
    }

    .section__title {
        font-size: 1.8rem;
    }

    /* Products */
    .product-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: .8rem;
        -webkit-overflow-scrolling: touch;
    }

    .product-tab {
        flex-shrink: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card__overlay {
        display: none;
    }

    /* Categories */
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card--large {
        grid-column: auto;
        min-height: 250px;
    }

    .category-card {
        min-height: 180px;
    }

    /* Amenities */
    .amenities-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: .5rem;
    }

    /* Parallax */
    .parallax-banner {
        min-height: 320px;
    }

    .parallax-banner__bg {
        background-attachment: scroll;
    }

    .parallax-banner__content h2 {
        font-size: 1.8rem;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid .blog-card:last-child {
        display: block;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}


/* ─────────────────────────────────────────────────────
   20. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: .8rem;
    }

    .product-card__body {
        padding: .7rem .8rem .4rem;
    }

    .product-card__title {
        font-size: .82rem;
    }

    .product-card__desc {
        display: none;
    }

    .price-current {
        font-size: 1rem;
    }

    .product-card__cart-btn {
        padding: .65rem;
        font-size: .75rem;
    }

    .amenities-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-duo__content h3 {
        font-size: 1.2rem;
    }

    .parallax-banner__content h2 {
        font-size: 1.4rem;
    }
}


/* ─────────────────────────────────────────────────────
   21. HERO VIDEO BACKGROUND
   ───────────────────────────────────────────────────── */
.hero__video-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    overflow: hidden;
}

.hero__video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 ratio */
    min-width: 100%;
    height: 100vh;
    min-height: 56.25vw; /* 16:9 ratio */
    transform: translate(-50%, -50%);
    border: 0;
}

/* Hero Slider — all slides stacked absolutely, toggle via opacity */
.hero-slider {
    position: relative;
    display: block;          /* override .hero { display:flex } */
    overflow: hidden;
}
.hero-slider__track {
    position: relative;
    width: 100%;
    min-height: 92vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
    z-index: 0;
}

.hero-slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide .hero__content {
    animation: heroFadeUp .8s ease .3s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    backdrop-filter: blur(4px);
}

.hero-slider__arrow:hover {
    background: var(--clr-red);
    border-color: var(--clr-red);
}

.hero-slider__arrow--prev { left: 1.5rem; }
.hero-slider__arrow--next { right: 1.5rem; }

.hero-slider__dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: .6rem;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.6);
    background: transparent;
    cursor: pointer;
    transition: all .3s;
}

.hero-slider__dot--active,
.hero-slider__dot:hover {
    background: var(--clr-red);
    border-color: var(--clr-red);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider__arrow { width: 40px; height: 40px; font-size: 1rem; }
    .hero-slider__arrow--prev { left: .8rem; }
    .hero-slider__arrow--next { right: .8rem; }
}


/* ─────────────────────────────────────────────────────
   22. PORTFOLIO COLLECTIONS
   ───────────────────────────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--speed), box-shadow var(--speed);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.portfolio-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.portfolio-card:hover .portfolio-card__image img {
    transform: scale(1.08);
}

.portfolio-card__category {
    position: absolute;
    top: .8rem;
    left: .8rem;
    background: var(--clr-red);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: .3rem .7rem;
    border-radius: 50px;
}

.portfolio-card__body {
    padding: 1.2rem;
}

.portfolio-card__body h3 {
    font-family: var(--ff-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .4rem;
    line-height: 1.3;
}

.portfolio-card__body p {
    font-size: .85rem;
    color: var(--clr-grey-500);
    line-height: 1.5;
    margin-bottom: .6rem;
}

.portfolio-card__meta {
    font-size: .78rem;
    color: var(--clr-grey-500);
    display: flex;
    gap: 1rem;
}

.portfolio-card__meta i {
    color: var(--clr-red);
    margin-right: .2rem;
}

/* Portfolio filter tabs */
.portfolio-tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.portfolio-tab {
    padding: .5rem 1.2rem;
    border: 2px solid var(--clr-grey-200);
    border-radius: 50px;
    background: transparent;
    font-family: var(--ff-body);
    font-size: .85rem;
    font-weight: 600;
    color: var(--clr-grey-700);
    cursor: pointer;
    transition: all var(--speed);
}

.portfolio-tab:hover,
.portfolio-tab--active {
    border-color: var(--clr-red);
    background: var(--clr-red);
    color: #fff;
}

/* ─────────────────────────────────────────────────────
   23. SHOP PAGE
   ───────────────────────────────────────────────────── */
.shop-page {
    padding: 2rem 0 4rem;
    min-height: 80vh;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

.shop-sidebar {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.shop-sidebar h3 {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1rem;
    color: var(--clr-grey-900);
}

.shop-sidebar__cats {
    list-style: none;
}

.shop-sidebar__cats li {
    margin-bottom: .2rem;
}

.shop-sidebar__cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .7rem;
    font-size: .88rem;
    color: var(--clr-grey-700);
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--speed);
}

.shop-sidebar__cats a:hover,
.shop-sidebar__cats a.active {
    background: var(--clr-red);
    color: #fff;
}

.shop-sidebar__cats .cat-count {
    font-size: .75rem;
    background: rgba(0,0,0,.06);
    padding: .1rem .5rem;
    border-radius: 50px;
    font-weight: 600;
}

.shop-sidebar__cats a:hover .cat-count,
.shop-sidebar__cats a.active .cat-count {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.shop-toolbar__count {
    font-size: .88rem;
    color: var(--clr-grey-500);
}

.shop-toolbar__sort select {
    padding: .5rem .8rem;
    border: 2px solid var(--clr-grey-200);
    border-radius: 6px;
    font-family: var(--ff-body);
    font-size: .85rem;
    cursor: pointer;
    outline: none;
}

.shop-toolbar__sort select:focus {
    border-color: var(--clr-red);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: .3rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--clr-grey-200);
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--clr-grey-700);
    text-decoration: none;
    transition: all var(--speed);
}

.pagination a:hover {
    border-color: var(--clr-red);
    color: var(--clr-red);
}

.pagination .current {
    background: var(--clr-red);
    border-color: var(--clr-red);
    color: #fff;
}

/* ─────────────────────────────────────────────────────
   24. ABOUT & CONTACT PAGES
   ───────────────────────────────────────────────────── */
.page-banner {
    background: var(--clr-black);
    padding: 3rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner__bg {
    position: absolute;
    inset: 0;
    opacity: .3;
}

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

.page-banner h1 {
    font-family: var(--ff-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    position: relative;
    color: #fff;
}

.page-banner h1 i {
    color: #fff;
}

.page-banner p {
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    position: relative;
    margin-top: .3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.contact-info-card h2 {
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid var(--clr-grey-100);
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    gap: .8rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--clr-grey-100);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list i {
    font-size: 1.2rem;
    color: var(--clr-red);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-list a {
    color: var(--clr-grey-700);
    transition: color var(--speed);
}

.contact-info-list a:hover {
    color: var(--clr-red);
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.5rem;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background var(--speed);
    margin-top: 1rem;
}

.whatsapp-cta:hover {
    background: #128C7E;
    color: #fff;
}

.whatsapp-cta i {
    font-size: 1.3rem;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-layout {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ─────────────────────────────────────────────────────
   25. PRINT STYLES
   ───────────────────────────────────────────────────── */
@media print {
    .top-bar,
    .site-header,
    .hero,
    .parallax-banner,
    .back-to-top,
    .cart-sidebar,
    .cart-overlay,
    .promo-section,
    .search-bar {
        display: none !important;
    }

    body { font-size: 12pt; color: #000; }
    .section { padding: 1rem 0; }
    .product-card { box-shadow: none; border: 1px solid #ccc; }
}


/* ─────────────────────────────────────────────────────
   PRODUCT CARD — Swatches & Variable badges
   ───────────────────────────────────────────────────── */
.product-card__swatches {
    display: flex;
    gap: .35rem;
    margin: .4rem 0 .2rem;
    flex-wrap: wrap;
}

.swatch-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--clr-grey-300);
    display: inline-block;
    transition: all .2s ease;
    cursor: pointer;
    position: relative;
}

.swatch-dot:hover {
    transform: scale(1.2);
    border-color: var(--clr-red);
    box-shadow: 0 0 0 2px rgba(198, 40, 40, .25);
}

.swatch-dot--active {
    border-color: var(--clr-red);
    transform: scale(1.15);
    box-shadow: 0 0 0 2px rgba(198, 40, 40, .3);
}
.swatch-dot--active::after {
    content: '\F272';
    font-family: 'bootstrap-icons';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .55rem;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

.swatch-label {
    font-size: .7rem;
    padding: .1rem .45rem;
    background: var(--clr-grey-100);
    border-radius: 20px;
    color: var(--clr-grey-700);
    font-weight: 600;
}

.product-card__badge--var {
    background: var(--clr-black);
    font-size: .68rem;
}

.price-range-sep {
    color: var(--clr-grey-400);
    margin: 0 .2rem;
}

.product-card__cart-btn--select {
    background: var(--clr-black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    text-decoration: none;
}

.product-card__cart-btn--select:hover {
    background: var(--clr-red);
}

.product-card__cart-btn--select:disabled {
    background: var(--clr-grey-400);
    cursor: default;
    opacity: .7;
}

.product-card__cart-btn--select:disabled:hover {
    background: var(--clr-grey-400);
}

/* ─────────────────────────────────────────────────────
   SEO SCORECARD (Admin)
   ───────────────────────────────────────────────────── */
.seo-scorecard {
    background: #fff;
    border-radius: 8px;
    border: 2px solid #E0E0E0;
    padding: 1.2rem;
    margin-top: 1rem;
}

.seo-scorecard__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E0E0E0;
}

.seo-score-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 4px solid var(--score-color, #757575);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seo-score-number {
    font-family: var(--ff-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--score-color, #757575);
}

.seo-scorecard__checks {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.seo-check {
    font-size: .85rem;
    line-height: 1.4;
}


/* ─────────────────────────────────────────────────────
   KNOWLEDGE BASE / BLOG
   ───────────────────────────────────────────────────── */

/* Page Banner */
.page-banner {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.page-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-banner__content {
    position: relative;
    z-index: 1;
    color: var(--clr-white);
    padding: 2rem 0;
}
.page-banner--article { min-height: 50vh; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--clr-red-light); }
.breadcrumb i { font-size: .65rem; }

/* KB Layout (main + sidebar) */
.kb-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

/* Filter Buttons */
.kb-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}
.kb-filter__btn {
    padding: .5rem 1.2rem;
    border-radius: 25px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s;
}
.kb-filter__btn:hover,
.kb-filter__btn--active {
    background: var(--clr-red);
    color: #fff;
    border-color: var(--clr-red);
}

/* KB Grid */
.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
}
.kb-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.kb-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* KB Card */
.kb-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}
.kb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.kb-card__image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.kb-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.kb-card:hover .kb-card__image img {
    transform: scale(1.05);
}
.kb-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--clr-red);
    color: #fff;
    padding: .3rem .8rem;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.kb-card__body {
    padding: 1.3rem;
}
.kb-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .78rem;
    color: #888;
    margin-bottom: .6rem;
}
.kb-card__meta i { margin-right: .2rem; }
.kb-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: .6rem;
}
.kb-card__title a {
    color: var(--clr-dark);
    text-decoration: none;
    transition: color .3s;
}
.kb-card__title a:hover { color: var(--clr-red); }
.kb-card__excerpt {
    font-size: .88rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: .8rem;
}
.kb-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .8rem;
}
.kb-card__read-more {
    font-size: .85rem;
    font-weight: 600;
    color: var(--clr-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    transition: gap .3s;
}
.kb-card__read-more:hover { gap: .6rem; }

/* KB Tag */
.kb-tag {
    display: inline-block;
    padding: .2rem .6rem;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: .75rem;
    color: #555;
    text-decoration: none;
    transition: all .3s;
}
.kb-tag:hover {
    background: var(--clr-red);
    color: #fff;
}

/* KB Sidebar Widgets */
.kb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.kb-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.3rem;
}
.kb-widget__title {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-dark);
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--clr-red);
}
.kb-widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.kb-widget__list li { margin-bottom: .5rem; }
.kb-widget__list a {
    color: #555;
    text-decoration: none;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: color .3s;
}
.kb-widget__list a:hover { color: var(--clr-red); }
.kb-widget__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.kb-widget--cta {
    background: linear-gradient(135deg, #f8f8f8, #fff);
    text-align: center;
}
.kb-widget--cta h4 { margin: .8rem 0 .4rem; font-size: 1.1rem; }
.kb-widget--cta p { font-size: .85rem; color: #666; margin-bottom: 1rem; }

/* KB Search */
.kb-search {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.kb-search input {
    flex: 1;
    border: none;
    padding: .6rem .8rem;
    font-size: .9rem;
    outline: none;
}
.kb-search button {
    background: var(--clr-red);
    color: #fff;
    border: none;
    padding: .6rem 1rem;
    cursor: pointer;
    transition: background .3s;
}
.kb-search button:hover { background: var(--clr-dark); }

/* KB Empty */
.kb-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}
.kb-empty i { font-size: 3rem; display: block; margin-bottom: 1rem; }
.kb-empty h3 { color: #666; margin-bottom: .5rem; }

/* Article Content */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.75);
    margin-top: 1rem;
}
.article-meta i { margin-right: .3rem; }
.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid var(--clr-red);
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}
.article-body {
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
}
.article-body h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--clr-dark);
}
.article-body h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 .8rem;
    color: var(--clr-dark);
}
.article-body h4 {
    font-size: 1.1rem;
    margin: 1.2rem 0 .6rem;
}
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}
.article-body li { margin-bottom: .5rem; }
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    margin-top: 2rem;
}
.article-tags strong {
    display: flex;
    align-items: center;
    gap: .3rem;
}
.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    border-top: 1px solid #eee;
}
.article-share__links { display: flex; gap: .5rem; }
.article-share__btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: transform .3s;
}
.article-share__btn:hover { transform: scale(1.1); }
.article-share__btn--whatsapp { background: #25D366; }
.article-share__btn--facebook { background: #1877F2; }
.article-share__btn--twitter { background: #000; }
.article-share__btn--linkedin { background: #0A66C2; }

.article-related { margin-top: 3rem; }
.article-related h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--clr-dark);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 2.5rem;
}
.pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: .85rem;
    text-decoration: none;
    transition: all .3s;
}
.pagination__btn:hover,
.pagination__btn--active {
    background: var(--clr-red);
    color: #fff;
    border-color: var(--clr-red);
}

/* Responsive */
@media (max-width: 900px) {
    .kb-layout { grid-template-columns: 1fr; }
    .kb-grid--3 { grid-template-columns: 1fr; }
    .page-banner { min-height: 35vh; }
}
@media (max-width: 600px) {
    .kb-grid { grid-template-columns: 1fr; }
    .kb-home-grid { grid-template-columns: 1fr; }
    .article-share { flex-direction: column; align-items: flex-start; }
}


/* ─────────────────────────────────────────────────────
   STATS ROW (About Page)
   ───────────────────────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-card__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-red);
    font-family: var(--ff-heading);
}

.stat-card__label {
    font-size: .85rem;
    color: var(--clr-grey-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card__number {
        font-size: 2rem;
    }

    .stat-card__label {
        font-size: .75rem;
    }

    /* Page banner height on mobile */
    .page-banner {
        min-height: auto;
        padding: 2.5rem 0;
    }

    .page-banner h1 {
        font-size: 1.6rem;
    }

    /* Features list compact on mobile */
    .features-list li {
        gap: .8rem;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: .8rem;
    }

    .stat-card {
        padding: 1.2rem .8rem;
    }

    .stat-card__number {
        font-size: 1.6rem;
    }

    .stat-card__label {
        font-size: .7rem;
        letter-spacing: .5px;
    }

    /* Hero slider arrows tighter on small screens */
    .hero-slider__arrow {
        width: 36px;
        height: 36px;
        font-size: .9rem;
    }

    .hero-slider__arrow--prev { left: .5rem; }
    .hero-slider__arrow--next { right: .5rem; }

    /* Trust badges more compact */
    .trust-badge {
        font-size: .75rem;
        padding: .5rem .8rem;
    }

    /* Footer on very small screens */
    .footer-bottom__inner {
        font-size: .78rem;
    }
}


/* ═════════════════════════════════════════════════════
   RESPONSIVE OVERHAUL — 5 Fixes + Desktop Margins
   ═════════════════════════════════════════════════════ */

/* ── Desktop: Wider container, less wasted margins ── */
@media (min-width: 1200px) {
    :root {
        --container-max: 1440px;
    }
}

/* ── Fix 1: Hero Slider — Full viewport height ── */
.hero,
.hero-slider__track {
    min-height: 100vh;
    min-height: 100svh;
}

/* ── Fix 4: Load More button styles ── */
.load-more-wrap {
    display: none;
    text-align: center;
    margin-top: 1.5rem;
}

.btn--load-more {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    background: var(--clr-black);
    color: var(--clr-white);
    border: none;
    border-radius: 50px;
    font-family: var(--ff-body);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all var(--speed) var(--ease);
}

.btn--load-more:hover {
    background: var(--clr-red);
}

/* ── Fix 5: Prevent Best Sellers horizontal overflow ── */
.bestsellers-section {
    overflow: hidden;
}

/* ── Mobile overrides (≤ 768px) ── */
@media (max-width: 768px) {
    /* Fix 1: Hero full viewport on mobile */
    .hero,
    .hero-slider__track {
        min-height: 100vh;
        min-height: 100svh;
    }

    /* Fix 2: Stack promo banners vertically */
    .products-sidebar {
        flex-direction: column;
        overflow-x: visible;
    }

    .promo-banner {
        min-width: 0;
        flex-shrink: 1;
    }

    /* Fix 3: Wrap category tabs instead of horizontal scroll */
    .product-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: center;
        gap: .5rem;
        -webkit-overflow-scrolling: auto;
    }

    .product-tab {
        flex-shrink: 1;
        font-size: .78rem;
        padding: .5rem 1rem;
    }

    /* Fix 4: Show only 2 rows (4 products), reveal via Load More */
    .product-grid:not(.product-grid--expanded) > .product-card:nth-child(n+5) {
        display: none;
    }

    .load-more-wrap {
        display: block;
    }

    /* Fix 5: Best Sellers — ensure no grid overflow */
    .product-grid--4 {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    /* Fix 3: Even smaller tabs on small screens */
    .product-tab {
        font-size: .72rem;
        padding: .4rem .8rem;
    }
}
