
/* =========================================================
   KEMZY GLOBAL STORE
   Main Website Stylesheet
   Premium Brand Identity
   ========================================================= */


/* =========================================================
   1. DESIGN SYSTEM
   ========================================================= */

:root {
    --navy: #071B3D;
    --navy-light: #102B55;
    --blue: #1264E8;
    --blue-dark: #0B50C5;

    --white: #FFFFFF;
    --soft-white: #F4F7FC;
    --light-blue: #EAF1FC;

    --text: #17243A;
    --muted: #64748B;
    --border: #E2E8F0;

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --container: 1240px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --shadow-sm: 0 5px 18px rgba(7, 27, 61, 0.06);
    --shadow-md: 0 12px 35px rgba(7, 27, 61, 0.10);
    --shadow-lg: 0 22px 55px rgba(7, 27, 61, 0.15);

    --transition: 0.3s ease;
}


/* =========================================================
   2. RESET AND GLOBAL STYLES
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
    cursor: pointer;
}

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

section {
    position: relative;
}

::selection {
    color: var(--white);
    background: var(--blue);
}

:focus-visible {
    outline: 3px solid rgba(18, 100, 232, 0.55);
    outline-offset: 4px;
}

.section-container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


/* =========================================================
   3. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(226, 232, 240, 0.8);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    width: min(92%, var(--container));
    min-height: 82px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Brand */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    color: var(--navy);
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name strong {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.brand-name small {
    margin-top: 4px;

    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* Main Navigation */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    padding: 8px 0;

    color: #46536A;
    font-size: 13px;
    font-weight: 600;

    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* Cart */

.cart-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--navy);
    font-size: 13px;
    font-weight: 700;

    transition: color var(--transition);
}

.cart-link:hover {
    color: var(--blue);
}

.cart-link i,
.cart-link svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 19px;
    height: 19px;
    padding: 0 5px;

    border-radius: 50px;

    color: var(--white);
    background: var(--blue);

    font-size: 10px;
    font-weight: 700;
}


/* Mobile Menu Button */

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    width: 43px;
    height: 43px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--white);
}

.menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    border-radius: 5px;
    background: var(--navy);

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.menu-toggle.is-open span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   4. CINEMATIC HERO SECTION
   ========================================================= */

.hero-section {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;

    min-height: 650px;
    height: min(760px, calc(100svh - 82px));

    overflow: hidden;

    color: var(--white);
    background: var(--navy);
}


/* Background Video Container */

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;

    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Hero Overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(4, 17, 39, 0.91) 0%,
            rgba(4, 17, 39, 0.76) 43%,
            rgba(4, 17, 39, 0.35) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 17, 39, 0.30),
            transparent 55%
        );
}


/* Hero Container */

.hero-container {
    width: min(92%, var(--container));
    margin-inline: auto;
}

.hero-content {
    max-width: 690px;
    padding: 90px 0;

    animation: heroReveal 0.9s ease both;
}


/* Hero Eyebrow */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.hero-eyebrow {
    margin-bottom: 25px;
    color: #B9D5FF;
}

.hero-eyebrow::before {
    content: '';

    width: 27px;
    height: 2px;

    background: #4F9AFF;
}


/* Hero Heading */

.hero-content h1 {
    max-width: 700px;
    margin-bottom: 22px;

    color: var(--white);

    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -3px;
}

.hero-content h1 span {
    display: block;
    color: #75AEFF;
}


/* Hero Description */

.hero-content > p {
    max-width: 540px;
    margin-bottom: 35px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;
    line-height: 1.9;
}


/* Hero Actions */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}


/* Primary Button */

.button {
    min-height: 49px;
    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    font-size: 13px;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.button-primary {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
}

.button-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(18, 100, 232, 0.22);
}

.button i,
.button svg {
    width: 17px;
    height: 17px;
}


/* Hero Text Link */

.hero-text-link {
    display: inline-flex;
    align-items: center;

    min-height: 45px;

    color: var(--white);
    font-size: 13px;
    font-weight: 600;

    border-bottom: 1px solid rgba(255, 255, 255, 0.5);

    transition:
        color var(--transition),
        border-color var(--transition);
}

.hero-text-link:hover {
    color: #75AEFF;
    border-color: #75AEFF;
}


/* Hero Note */

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 45px;

    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.note-line {
    display: block;

    width: 30px;
    height: 1px;

    background: #75AEFF;
}


/* Bottom Indicator */

.hero-bottom-indicator {
    position: absolute;
    right: 4%;
    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-bottom-indicator span:first-child {
    display: block;

    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #75AEFF;
}


/* =========================================================
   5. PRODUCT CATEGORIES
   ========================================================= */

.categories-section {
    padding: 105px 0 110px;
    background: var(--soft-white);
}

.categories-container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


/* Category Heading */

.categories-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 42px;
}

.categories-heading-left {
    max-width: 620px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 15px;

    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.categories-heading h2 {
    margin-bottom: 13px;

    color: var(--navy);

    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.8px;
}

.categories-heading h2 span {
    color: var(--blue);
}

.categories-heading p {
    max-width: 530px;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}


/* View All Link */

.categories-view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    flex-shrink: 0;
    padding-bottom: 6px;

    color: var(--navy);
    font-size: 13px;
    font-weight: 700;

    transition: color var(--transition);
}

.categories-view-all:hover {
    color: var(--blue);
}

.categories-view-all i,
.categories-view-all svg {
    width: 17px;
    height: 17px;

    transition: transform var(--transition);
}

.categories-view-all:hover i,
.categories-view-all:hover svg {
    transform: translate(3px, -3px);
}


/* Category Grid */

.categories-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(245px, 1fr));

    gap: 20px;
}


/* Category Card */

.category-card {
    position: relative;
    isolation: isolate;

    display: block;

    min-width: 0;
    min-height: 245px;
    height: 100%;

    overflow: hidden;

    border-radius: var(--radius-lg);

    color: var(--white);
    background: var(--navy);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* Featured Category */

.category-featured {
    grid-column: span 2;
    grid-row: span 2;

    min-height: 510px;
}


/* Category Images */

.category-card img {
    position: absolute;
    inset: 0;
    z-index: -2;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* Image Overlay */

.category-image-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            0deg,
            rgba(4, 17, 39, 0.92) 0%,
            rgba(4, 17, 39, 0.35) 48%,
            rgba(4, 17, 39, 0.05) 100%
        );
}


/* Category Hover */

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

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


/* Category Content */

.category-card-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 23px;
}


/* Category Number */

.category-number {
    color: rgba(255, 255, 255, 0.78);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


/* Bottom Content */

.category-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
}

.category-card-bottom > div {
    max-width: 80%;
}

.category-card h3 {
    margin-bottom: 6px;

    color: var(--white);

    font-family: var(--font-heading);
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.category-card p {
    color: rgba(255, 255, 255, 0.76);

    font-size: 12px;
    line-height: 1.6;
}


/* Category Arrow */

.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 43px;
    height: 43px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    color: var(--white);
    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.category-arrow i,
.category-arrow svg {
    width: 18px;
    height: 18px;
}

.category-card:hover .category-arrow {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);

    transform: rotate(45deg);
}

/* =====================================================
   FEATURED PRODUCTS SECTION
===================================================== */

.featured-products-section {
    padding: 100px 0;
    background: #F4F7FC;
    overflow: hidden;
}

.featured-products-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

/* SECTION HEADING */

.featured-products-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.featured-heading-copy {
    max-width: 570px;
}

.featured-heading-copy .section-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #1264E8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.featured-heading-copy h2 {
    margin: 0 0 12px;
    color: #071B3D;
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    letter-spacing: -1.8px;
}

.featured-heading-copy p {
    max-width: 480px;
    margin: 0;
    color: #64748B;
    font-size: 15px;
    line-height: 1.8;
}

.featured-view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 7px;
    color: #1264E8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.25s ease;
}

.featured-view-all:hover {
    gap: 14px;
}

.featured-view-all svg {
    width: 17px;
    height: 17px;
}

/* PRODUCT GRID */

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

/* PRODUCT CARD */

.product-card {
    min-width: 0;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(7, 27, 61, 0.07);
    border-radius: 13px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(18, 100, 232, 0.2);
    box-shadow: 0 18px 40px rgba(7, 27, 61, 0.09);
}

/* PRODUCT IMAGE */

.product-image-wrapper {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #EAF0F8;
}

.product-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.product-card:hover .product-image {
    transform: scale(1.07);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 7px 11px;
    color: #FFFFFF;
    background: #1264E8;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.product-quick-action {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #071B3D;
    background: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.25s ease;
}

.product-card:hover .product-quick-action {
    opacity: 1;
    transform: translateY(0);
}

.product-quick-action svg {
    width: 18px;
    height: 18px;
}

/* PRODUCT DETAILS */

.product-details {
    padding: 20px 17px 18px;
}

.product-category {
    display: block;
    margin-bottom: 9px;
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.product-details h3 {
    min-height: 44px;
    margin: 0 0 13px;
    color: #071B3D;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}

.product-price-row {
    margin-bottom: 17px;
}

.product-price {
    color: #071B3D;
    font-size: 18px;
    font-weight: 800;
}

/* ADD TO CART BUTTON */

.product-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 44px;
    padding: 10px;
    color: #FFFFFF;
    background: #071B3D;
    border: 1px solid #071B3D;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.product-cart-button:hover {
    background: #1264E8;
    border-color: #1264E8;
}

.product-cart-button:active {
    transform: scale(0.98);
}

.product-cart-button svg {
    width: 16px;
    height: 16px;
}

/* SECTION BOTTOM LINK */

.featured-products-bottom {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.featured-bottom-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1264E8;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.featured-bottom-link:hover {
    gap: 16px;
}

.featured-bottom-link svg {
    width: 17px;
    height: 17px;
}

/* RESPONSIVE DESIGN */

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .product-image-wrapper {
        height: 270px;
    }
}

@media (max-width: 600px) {
    .featured-products-section {
        padding: 70px 0;
    }

    .featured-products-container {
        width: calc(100% - 32px);
    }

    .featured-products-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 28px;
    }

    .featured-heading-copy h2 {
        font-size: 31px;
    }

    .featured-heading-copy p {
        font-size: 13px;
    }

    .products-grid {
        gap: 12px;
    }

    .product-image-wrapper {
        height: 175px;
    }

    .product-details {
        padding: 14px 11px;
    }

    .product-details h3 {
        min-height: 42px;
        font-size: 13px;
    }

    .product-category {
        font-size: 9px;
    }

    .product-price {
        font-size: 15px;
    }

    .product-cart-button {
        min-height: 40px;
        gap: 6px;
        font-size: 10px;
    }

    .product-cart-button svg {
        width: 14px;
        height: 14px;
    }

    .product-badge {
        top: 9px;
        left: 9px;
        padding: 6px 8px;
        font-size: 9px;
    }

    .product-quick-action {
        right: 8px;
        bottom: 8px;
        width: 32px;
        height: 32px;
        opacity: 1;
        transform: none;
    }

    .featured-products-bottom {
        margin-top: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-image,
    .product-quick-action,
    .product-cart-button {
        transition: none;
    }

    .product-card:hover {
        transform: none;
    }
}


/* =========================================================
   6. STORE INTRODUCTION
   ========================================================= */

.store-intro {
    padding: 100px 0;
    background: var(--white);
}

.intro-container {
    display: grid;

    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 70px;
}

.intro-heading {
    max-width: 550px;
}

.intro-heading .eyebrow {
    margin-bottom: 18px;
}

.intro-heading h2 {
    color: var(--navy);

    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.6px;
}

.intro-description {
    max-width: 540px;

    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

/* =========================================
   NEWSLETTER SECTION
========================================= */

.newsletter-section {
    position: relative;
    overflow: hidden;
    padding: 85px 0;
    background: #071B3D;
    color: #F4F7FC;
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 65px;
}

.newsletter-content {
    max-width: 580px;
}

.newsletter-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #70A5FF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.newsletter-content h2 {
    max-width: 520px;
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.15;
    font-weight: 800;
}

.newsletter-content > p {
    max-width: 510px;
    margin-bottom: 25px;
    color: #C4D0E2;
    font-size: 15px;
    line-height: 1.8;
}

.newsletter-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.newsletter-benefits span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #DCE7F8;
    font-size: 13px;
}

.newsletter-benefits i {
    width: 16px;
    height: 16px;
    color: #70A5FF;
}

/* Newsletter form */

.newsletter-form-wrapper {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.newsletter-form label {
    display: block;
    margin-bottom: 12px;
    color: #F4F7FC;
    font-size: 14px;
    font-weight: 600;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
}

.newsletter-input-group input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    outline: none;
    background: #F4F7FC;
    color: #071B3D;
    font-family: inherit;
    font-size: 14px;
}

.newsletter-input-group input:focus {
    border-color: #70A5FF;
    box-shadow: 0 0 0 3px rgba(112, 165, 255, 0.2);
}

.newsletter-input-group button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 52px;
    padding: 0 20px;
    border: none;
    border-radius: 7px;
    background: #1264E8;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.newsletter-input-group button:hover {
    background: #2879F5;
    transform: translateY(-2px);
}

.newsletter-input-group button i {
    width: 17px;
    height: 17px;
}

.newsletter-privacy {
    margin-top: 15px;
    color: #AAB9CF;
    font-size: 11px;
    line-height: 1.7;
}

.newsletter-message {
    margin-top: 12px;
    font-size: 13px;
}

/* Responsive design */

@media (max-width: 768px) {
    .newsletter-section {
        padding: 65px 0;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .newsletter-content h2 {
        font-size: 34px;
    }

    .newsletter-form-wrapper {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group button {
        width: 100%;
    }

    .newsletter-benefits {
        flex-direction: column;
        gap: 12px;
    }
}

/* =====================================================
   SHOPPING CART DRAWER
===================================================== */

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(7, 27, 61, 0.55);
    opacity: 0;
    transition: opacity .3s ease;
}

.cart-overlay.is-visible {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;

    display: flex;
    flex-direction: column;

    width: min(460px, 100%);
    height: 100dvh;

    padding: 28px;
    background: #FFFFFF;

    box-shadow: -15px 0 50px rgba(7, 27, 61, .15);

    transform: translateX(105%);
    visibility: hidden;

    transition:
        transform .35s ease,
        visibility .35s ease;
}

.cart-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 22px;
    border-bottom: 1px solid #E2E8F0;
}

.cart-drawer-header h2 {
    margin-top: 7px;
    color: #071B3D;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.cart-drawer-header h2 span {
    color: #64748B;
    font-size: 15px;
}

.cart-close {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border: 1px solid #E2E8F0;
    border-radius: 50%;

    background: #F4F7FC;
    color: #071B3D;

    cursor: pointer;
    transition: .25s ease;
}

.cart-close:hover {
    background: #071B3D;
    color: #FFFFFF;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 15px;

    padding: 18px 0;
    border-bottom: 1px solid #E2E8F0;
}

.cart-item-image {
    width: 82px;
    height: 92px;
    object-fit: cover;

    border-radius: 12px;
    background: #F4F7FC;
}

.cart-item-details {
    min-width: 0;
}

.cart-item-details h3 {
    margin-bottom: 6px;
    color: #071B3D;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.cart-item-price {
    color: #1264E8;
    font-size: 14px;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 5px 9px;
    border: 1px solid #E2E8F0;
    border-radius: 7px;
}

.cart-quantity button {
    display: grid;
    place-items: center;

    width: 23px;
    height: 23px;

    border: none;
    background: transparent;
    color: #071B3D;

    cursor: pointer;
}

.cart-quantity button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.cart-quantity span {
    min-width: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.cart-remove {
    border: none;
    background: transparent;
    color: #DC3545;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cart-empty > i {
    width: 55px;
    height: 55px;
    margin-bottom: 18px;
    color: #1264E8;
}

.cart-empty h3 {
    margin-bottom: 8px;
    color: #071B3D;
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
}

.cart-empty p {
    max-width: 260px;
    margin-bottom: 20px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
}

.cart-empty button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #1264E8;
    color: #FFFFFF;
    font-weight: 700;
    cursor: pointer;
}

.cart-drawer-footer {
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.cart-subtotal-row,
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #071B3D;
}

.cart-subtotal-row {
    font-size: 14px;
}

.cart-total-row {
    margin-top: 18px;
    font-size: 17px;
    font-weight: 800;
}

.cart-total-row strong {
    color: #1264E8;
    font-size: 21px;
}

.cart-total-note {
    margin-top: 9px;
    color: #64748B;
    font-size: 12px;
    line-height: 1.5;
}

.cart-checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    margin-top: 20px;
    padding: 15px;

    border: none;
    border-radius: 9px;

    background: #1264E8;
    color: #FFFFFF;

    font-weight: 700;
}

.cart-checkout-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.cart-continue-button {
    width: 100%;
    margin-top: 12px;
    padding: 13px;

    border: 1px solid #E2E8F0;
    border-radius: 9px;

    background: #FFFFFF;
    color: #071B3D;

    font-weight: 700;
    cursor: pointer;
}

body.cart-open {
    overflow: hidden;
}

/* =========================================================
   7. FOOTER
   ========================================================= */

.site-footer {
    padding: 55px 0 25px;

    color: rgba(255, 255, 255, 0.75);
    background: var(--navy);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Footer Brand */

.footer-brand {
    margin-bottom: 15px;
}

.footer-brand .brand-mark {
    color: var(--white);
}

.footer-brand .brand-name strong {
    color: var(--white);
}

.footer-brand .brand-name small {
    color: #A9B7CE;
}


/* Footer Tagline */

.footer-tagline {
    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}


/* Footer Links */

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;

    margin-bottom: 35px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
    font-weight: 600;

    transition: color var(--transition);
}

.footer-links a:hover {
    color: #75AEFF;
}


/* Footer Bottom */

.footer-bottom {
    width: 100%;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}


/* =========================================
   FLOATING WHATSAPP BUTTON
========================================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 13px 19px;
    border-radius: 50px;

    background: #25D366;
    color: #FFFFFF;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.whatsapp-float svg {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.whatsapp-float:hover {
    background: #1DAE54;
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 16px;
        bottom: 18px;
        padding: 13px;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* =========================================================
   8. ANIMATIONS
   ========================================================= */

@keyframes heroReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   9. TABLET RESPONSIVENESS
   ========================================================= */

@media (max-width: 1024px) {

    .header-container {
        gap: 20px;
    }

    .main-navigation {
        gap: 23px;
    }

    .hero-section {
        min-height: 590px;
    }

    .categories-grid {
        grid-template-rows: repeat(2, minmax(220px, 1fr));
        gap: 16px;
    }

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

    .category-featured {
        min-height: 456px;
    }

    .intro-container {
        gap: 40px;
    }

}


/* =========================================================
   10. MOBILE NAVIGATION AND LAYOUT
   ========================================================= */

@media (max-width: 768px) {

    /* Header */

    .header-container {
        min-height: 72px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
    }

    .brand-name strong {
        font-size: 15px;
    }

    .menu-toggle {
        display: flex;
    }


    /* Mobile Navigation */

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px 4% 20px;

        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }

    .main-navigation .nav-link {
        padding: 15px 5px;

        border-bottom: 1px solid var(--border);

        font-size: 14px;
    }

    .main-navigation .nav-link::after {
        display: none;
    }

    .main-navigation .cart-link {
        padding: 15px 5px;
        margin-top: 4px;
    }


    /* Hero */

    .hero-section {
        min-height: 590px;
        height: auto;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 17, 39, 0.88),
                rgba(4, 17, 39, 0.54)
            ),
            linear-gradient(
                0deg,
                rgba(4, 17, 39, 0.45),
                transparent
            );
    }

    .hero-content {
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: clamp(40px, 9vw, 60px);
        letter-spacing: -2px;
    }

    .hero-content > p {
        max-width: 480px;
        font-size: 14px;
    }

    .hero-bottom-indicator {
        bottom: 20px;
    }


    /* Categories */

    .categories-section {
        padding: 80px 0;
    }

    .categories-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;

        margin-bottom: 30px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;

        gap: 14px;
    }

    .category-card {
        grid-column: auto;
        grid-row: auto;
        min-height: 245px;
    }

    .category-featured {
        grid-column: span 2;
        grid-row: auto;
        min-height: 330px;
    }

    .category-card-content {
        padding: 18px;
    }

    .category-card h3 {
        font-size: 17px;
    }

    .category-card p {
        font-size: 11px;
    }

    .category-arrow {
        width: 37px;
        height: 37px;
    }


    /* Store Introduction */

    .store-intro {
        padding: 80px 0;
    }

    .intro-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .intro-heading h2 {
        font-size: 35px;
    }

    .intro-description {
        font-size: 13px;
    }

}


/* =========================================================
   11. SMALL MOBILE RESPONSIVENESS
   ========================================================= */

@media (max-width: 480px) {

    .section-container,
    .header-container,
    .hero-container,
    .categories-container {
        width: 90%;
    }


    /* Header */

    .header-container {
        min-height: 68px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
    }

    .brand-name strong {
        font-size: 13px;
    }

    .brand-name small {
        font-size: 8px;
        letter-spacing: 1.5px;
    }


    /* Hero */

    .hero-section {
        min-height: 570px;
    }

    .hero-content {
        padding: 85px 0;
    }

    .hero-eyebrow {
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .button-primary {
        min-height: 47px;
    }

    .hero-note {
        margin-top: 35px;
        font-size: 10px;
    }

    .hero-bottom-indicator {
        font-size: 9px;
    }


    /* Categories */

    .categories-section {
        padding: 65px 0;
    }

    .categories-heading h2 {
        font-size: 31px;
    }

    .categories-heading p {
        font-size: 13px;
    }

    .categories-grid {
        gap: 11px;
    }

    .category-card {
        min-height: 205px;
        border-radius: 14px;
    }

    .category-featured {
        min-height: 260px;
    }

    .category-card-content {
        padding: 13px;
    }

    .category-card-bottom {
        gap: 8px;
    }

    .category-card-bottom > div {
        max-width: 82%;
    }

    .category-card h3 {
        font-size: 14px;
        line-height: 1.3;
    }

    .category-card p {
        font-size: 10px;
        line-height: 1.5;
    }

    .category-number {
        font-size: 9px;
    }

    .category-arrow {
        width: 31px;
        height: 31px;
    }

    .category-arrow i,
    .category-arrow svg {
        width: 15px;
        height: 15px;
    }


    /* Store Introduction */

    .store-intro {
        padding: 65px 0;
    }

    .intro-heading h2 {
        font-size: 31px;
    }


    /* Footer */

    .site-footer {
        padding-top: 45px;
    }

    .footer-links {
        gap: 18px;
    }

}


/* =========================================================
   12. ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}


/* Navigation shopping-mode links and icon-only cart */
.nav-mode-link { white-space: nowrap; }
.cart-link { position: relative; width: 42px; height: 42px; padding: 0; border-radius: 50%; }
.cart-link .cart-count { position: absolute; top: -3px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; }

/* Phones now lives in the homepage category image grid. */



/* Persistent dark theme */
html[data-theme="dark"] body{background:#0b1220;color:#e5edf8}
html[data-theme="dark"] .site-header{background:rgba(11,18,32,.96);border-color:#26354b}
html[data-theme="dark"] .nav-link{color:#d5e0ef}
html[data-theme="dark"] .nav-link:hover,html[data-theme="dark"] .nav-link.active{color:#78aaff}
html[data-theme="dark"] .mobile-menu{background:#111d30}
html[data-theme="dark"] .section-container,html[data-theme="dark"] .page-container{color:#e5edf8}
html[data-theme="dark"] .footer{background:#070d18}
html[data-theme="dark"] .whatsapp-float{box-shadow:0 8px 25px rgba(0,0,0,.45)}
