/* ==================== Reset & Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --navy-blue: #021c33;
    --dark-navy: #0b223c;
    --primary-red: #e22b28;
    --luxury-gold: #bca466;
    --dark-gray: #2d2d2d;
    --medium-gray: #414141;
    --gray: #505050;
    --light-gray: #cdcdcd;
    --very-light-gray: #dddddd;
    --border-color: #e6e6e9;
    --success-green: #007600;
    --warning-orange: #fd8923;
    --white: #ffffff;
    --off-white: #efefef;

    /* Typography */
    --font-family: 'Helvetica Neue', 'Arial', sans-serif;

    /* Spacing */
    --container-width: 1512px;
    --section-gap: 80px;
}

body {
    font-family: var(--font-family);
    color: var(--dark-navy);
    line-height: 1.6;
    background: var(--white);
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
}

/* ==================== Window Message ==================== */
.window-message {
    background: var(--navy-blue);
    color: var(--white);
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
}

.window-message a {
    color: var(--white);
    text-decoration: underline;
}

.window-message a:hover {
    opacity: 0.8;
}

/* ==================== Header ==================== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.top-bar {
    background: var(--navy-blue);
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav ul {
    display: flex;
    gap: 30px;
}

.top-nav a {
    color: var(--white);
    transition: opacity 0.3s;
}

.top-nav a:hover {
    opacity: 0.8;
}

.top-right .location {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Main Header */
.main-header {
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 40px;
}

.search-box {
    flex: 1;
    max-width: 400px;
    display: flex;
    border: 1.2px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 13px;
}

.search-box button {
    padding: 12px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.logo-tagline {
    display: none;
}

.logo-image {
    display: block;
    position: absolute;
    left: 20px;
}

.logo img {
    height: 30px;
    width: auto;
}

.logo h1 {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--navy-blue);
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 16px;
    position: absolute;
    right: 20px;
}

.header-actions a {
    transition: color 0.3s;
}

.header-actions a:hover {
    color: var(--primary-red);
}

.header-actions .phone {
    font-size: 20px;
    font-weight: 500;
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
    position: relative;
}

.main-nav .container {
    position: relative;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--navy-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0 60px;
}

.main-nav a {
    font-size: 18px;
    transition: color 0.3s;
    text-decoration: none;
    color: var(--navy-blue);
}

.main-nav a:hover {
    color: var(--primary-red);
}

/* Mobile Navigation */
.menu-close-btn {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
    }

    .menu-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: var(--off-white);
        border: 2px solid var(--border-color);
        border-radius: 50%;
        font-size: 32px;
        color: var(--navy-blue);
        cursor: pointer;
        width: 44px;
        height: 44px;
        line-height: 40px;
        padding: 0;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        text-align: center;
        font-weight: bold;
    }

    .menu-close-btn:hover {
        background: var(--primary-red);
        color: var(--white);
        border-color: var(--primary-red);
        transform: rotate(90deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 16px 12px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
    }

    .nav-menu {
        width: 100%;
        left: -100%;
    }
}

/* ==================== Hero Slider ==================== */
.hero-slider {
    position: relative;
    background: #f0f0f0;
    overflow: hidden;
    width: 100%;
    margin: 0 0 80px 0;
}

.slider-container {
    position: relative;
    height: 461px;
    width: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

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

.slide-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.slide-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.slide-background .ornament {
    position: absolute;
    top: -484px;
    left: 0;
    height: 998px;
    width: auto;
    max-width: none;
}

/* Wrapper for content - matches Figma positioning exactly */
.slide-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Main content - optimized layout */
.main-content {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    max-width: 650px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.limited-time {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 4px;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    opacity: 0.95;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 3px 12px rgba(0,0,0,0.6);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    opacity: 0.95;
}

/* Side promo */
.side-promo {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    max-width: 600px;
    height: 100%;
    z-index: 5;
    overflow: hidden;
}

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

.promo-text {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    width: 85%;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.promo-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.promo-text p {
    font-size: 11px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--navy-blue);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.slider-arrow:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.btn-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: #d12623;
}

.btn-blue {
    background: #5982C1;
    color: var(--white);
}

.btn-blue:hover {
    background: #4A7BC0;
}

.btn-outline-dark {
    background: transparent;
    border: 1.2px solid var(--navy-blue);
    color: var(--navy-blue);
}

.btn-outline-dark:hover {
    background: var(--navy-blue);
    color: var(--white);
}

.btn-luxury {
    background: rgba(188, 164, 102, 0.1);
    border: 2px solid var(--luxury-gold);
    color: var(--luxury-gold);
    backdrop-filter: blur(10px);
}

.btn-luxury:hover {
    background: var(--luxury-gold);
    color: var(--white);
    border-color: var(--luxury-gold);
}

.btn-white {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--white);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-white:hover {
    background: var(--white);
    color: var(--navy-blue);
    border-color: var(--white);
}

.btn-white:hover .btn-arrow path {
    stroke: var(--navy-blue);
}

.btn-outline,
.btn-outline-small {
    display: inline-block;
    background: transparent;
    border: 1.224px solid var(--dark-navy);
    color: var(--dark-navy);
    padding: 8px 16px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 400;
}

.btn-outline:hover,
.btn-outline-small:hover {
    background: var(--dark-navy);
    color: var(--white);
}

/* ==================== Featured Deals ==================== */
.featured-deals {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: var(--navy-blue);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    position: relative;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(100, 119, 104, 0.9);
    color: var(--white);
    padding: 6px 17px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 2;
}

.product-image {
    background: var(--white);
    padding: 40px 20px;
    height: 318px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
}

.sale-badge {
    position: absolute;
    top: 320px;
    left: 15px;
    background: var(--primary-red);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 0 5px 0 5px;
    font-size: 14px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
    border-top: 1px solid var(--very-light-gray);
}

.product-price {
    margin-bottom: 12px;
}

.current-price {
    font-size: 29px;
    font-weight: bold;
    color: var(--dark-navy);
}

.price-details {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.original-price {
    font-size: 12px;
    color: rgba(11,34,60,0.7);
    text-decoration: line-through;
}

.discount {
    font-size: 13px;
    color: var(--primary-red);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
}

.stars {
    color: #ffa500;
}

.reviews {
    color: var(--gray);
}

.stock {
    font-size: 13px;
    font-weight: 500;
    margin-left: auto;
}

.in-stock {
    color: var(--success-green);
}

.on-order {
    color: var(--warning-orange);
}

.product-title {
    font-size: 17px;
    font-weight: 500;
    color: var(--dark-navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-model {
    font-size: 14px;
    color: rgba(11,34,60,0.6);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--very-light-gray);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.pagination button:hover {
    background: var(--light-gray);
}

.progress-bar {
    width: 300px;
    height: 5px;
    background: var(--very-light-gray);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--dark-navy);
    transition: width 0.3s;
}

.page-number {
    font-size: 18px;
    color: var(--medium-gray);
}

/* ==================== Exclusive Offers ==================== */
.exclusive-offers {
    padding: 60px 0;
    background: var(--off-white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.offer-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 442px;
    cursor: pointer;
}

.offer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.offer-card:hover img {
    transform: scale(1.25);
}

.offer-label {
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    text-align: center;
}

.offer-label p {
    font-size: 17px;
    font-weight: bold;
    color: var(--dark-navy);
    text-transform: uppercase;
}

/* ==================== Perfect Refrigerator Section ==================== */
.perfect-refrigerator {
    padding: 80px 0;
    width: 100%;
}

.perfect-refrigerator .section-content {
    display: flex;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.image-side {
    position: relative;
    flex: 1;
}

.image-side img {
    border-radius: 0;
    width: 100%;
    height: 564px;
    object-fit: cover;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.nav-arrow:hover {
    background: var(--white);
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

.text-side {
    flex: 1;
    max-width: 500px;
    padding-right: 60px;
}

.text-side h2 {
    font-size: 32px;
    font-weight: bold;
    color: var(--navy-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.text-side p {
    font-size: 19px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ==================== Promotional Offers ==================== */
.promotional-offers {
    padding: 0 0 80px 0;
    display: none;
}

.promotional-offers .container {
    max-width: var(--container-width);
}

.promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.promo-card {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== Financing Banner ==================== */
.financing-banner {
    padding: 0 0 80px 0;
    display: none;
}

.financing-banner .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
}

.financing-banner a {
    display: block;
}

.financing-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.financing-banner .mobile-banner {
    display: none;
}

@media (max-width: 768px) {
    .promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .financing-banner .desktop-banner {
        display: none;
    }

    .financing-banner .mobile-banner {
        display: block;
    }
}

/* ==================== Luxury Appliances ==================== */
.luxury-appliances {
    background: url('../images/luxury-bg.webp') center/cover;
    height: 573px;
    position: relative;
}

.luxury-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.luxury-overlay .container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.luxury-content {
    background: rgba(2, 28, 51, 0.95);
    padding: 40px 50px;
    border-radius: 5px;
    max-width: 509px;
    margin-right: 60px;
}

.luxury-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--luxury-gold);
    margin-bottom: 15px;
}

.luxury-content p {
    font-size: 19px;
    color: var(--off-white);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ==================== Shop By Brand ==================== */
.shop-by-brand {
    padding: 60px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 40px;
    align-items: center;
}

.brands-grid img {
    max-height: 55px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.brands-grid img:hover {
    opacity: 1;
}

/* ==================== Owen Section ==================== */
.owen-section {
    background: url('../images/owen-bg.webp') center/cover;
    height: 599px;
    position: relative;
}

.owen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.65) 50%, rgba(20, 20, 20, 0));
    display: flex;
    align-items: center;
}

.owen-overlay .container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.owen-content {
    max-width: 600px;
    margin-left: 60px;
}

.owen-content h2 {
    font-size: 32px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 15px;
}

.owen-content p {
    font-size: 19px;
    color: var(--white);
    margin-bottom: 30px;
}

/* ==================== Shop By Category ==================== */
.shop-by-category {
    padding: 60px 0;
    background: var(--off-white);
}

.category-nav {
    display: flex;
    gap: 15px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 432px;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(28,28,28,0), rgba(29,29,29,0.45) 50%, rgba(29,29,29,0.8));
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.category-overlay h3 {
    font-size: 21px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.42px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 5px 0;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    /* Adjust hero slider for smaller screens */
    .main-content {
        left: 60px;
        max-width: 550px;
    }

    .hero-title {
        font-size: 52px;
    }

    .side-promo {
        width: 42%;
    }
}

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

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

    .section-content {
        flex-direction: column;
    }

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

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

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

    /* Mobile hero slider adjustments */
    .main-content {
        left: 30px;
        right: 30px;
        top: 45%;
        max-width: none;
        width: auto;
        gap: 18px;
    }

    .hero-title {
        font-size: 42px;
    }

    .limited-time {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 16px;
    }

    .side-promo {
        display: none;
    }

    .slider-nav {
        bottom: 20px;
        padding: 10px 20px;
        gap: 20px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Extra small mobile adjustments */
    .main-content {
        left: 20px;
        right: 20px;
        gap: 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .limited-time {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 11px 24px;
        font-size: 15px;
    }

    .slider-nav {
        padding: 8px 16px;
        gap: 16px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ==================== Mobile Header Optimization ==================== */
@media (max-width: 768px) {
    /* Window Message */
    .window-message {
        display: none;
    }

    /* Top Bar - Mobile optimization */
    .top-bar {
        display: none;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 8px;
    }

    .top-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .top-nav a {
        font-size: 11px;
    }

    .top-right .location {
        font-size: 11px;
    }

    /* Main Header */
    .main-header {
        padding: 15px 0;
        position: relative;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    .main-nav {
        padding: 0;
        border-top: none;
    }

    /* Logo - Center on mobile */
    .logo {
        position: static;
        order: 1;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
        margin-top: 20px;
    }

    .logo-tagline {
        display: block;
        font-size: 11px;
        color: var(--navy-blue);
        text-align: center;
        margin: 0;
        order: 2;
    }

    .logo-tagline a {
        color: var(--navy-blue);
        text-decoration: underline;
    }

    .logo-image {
        position: static;
        left: auto;
        order: 1;
    }

    .logo img {
        height: 32px;
    }

    .logo h1 {
        display: none;
    }

    /* Header Actions - Below logo, centered on mobile */
    .header-actions {
        position: static;
        order: 2;
        gap: 20px;
        font-size: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-actions a {
        font-size: 16px;
    }

    .header-actions .phone {
        font-size: 18px;
        font-weight: 500;
    }

    /* Container padding for mobile */
    .container {
        padding: 0 20px;
    }

    /* Text content padding adjustments for mobile */
    .text-side {
        padding-left: 20px;
        padding-right: 20px;
    }

    .luxury-content {
        margin-right: 20px;
        margin-left: 20px;
        padding: 30px 25px;
        max-width: 100%;
    }

    .owen-content {
        margin-left: 20px;
        margin-right: 20px;
    }

    /* Section spacing */
    section {
        padding: 40px 0;
    }

    .exclusive-offers {
        padding: 40px 0;
    }

    .perfect-refrigerator {
        padding: 40px 0;
    }

    .shop-by-brand,
    .shop-by-category {
        padding: 40px 0;
    }

    /* Grid spacing optimization for mobile */
    .offers-grid {
        gap: 15px;
    }

    .categories-grid {
        gap: 15px;
    }

    .brands-grid {
        gap: 15px;
        grid-template-columns: repeat(2, 1fr);
    }

    /* Card border radius - slightly smaller on mobile */
    .offer-card,
    .category-card {
        border-radius: 8px;
    }

    /* Section headers on mobile */
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 24px;
    }
}

/* ==================== Tablet Optimization (768px - 1024px) ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .window-message {
        font-size: 13px;
    }

    .top-nav ul {
        gap: 20px;
    }

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

    .header-content {
        gap: 25px;
    }

    .logo h1 {
        font-size: 28px;
    }

    .header-actions {
        gap: 20px;
        font-size: 14px;
    }
}
