﻿/* ==========================================================================
   base.css  -  GLOBAL (linked once in Site1.Master, used on every page)
   Contains: design tokens, reset, announcement bar, header/nav, account
   dropdown, buttons, generic sections, breadcrumb, page banner, product
   cards/grid, quantity selector, shared form controls, alerts, toasts,
   newsletter, footer, heart/wishlist toggle on cards.
   ========================================================================== */

:root {
    --red-primary: #e63946;
    --red-dark: #c92a3a;
    --red-light: #f6c9cd;
    --red-soft: #fdf0f1;
    --gold: #b8956a;
    --ink: #1a1a1a;
    --ink-2: #333333;
    --ink-3: #555555;
    --muted: #7a7a7a;
    --line: #e6e6e6;
    --bg: #ffffff;
    --bg-2: #fafafa;
    --bg-3: #f4f4f4;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 4px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        color: var(--red-primary);
    }

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, select, textarea {
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ Announcement Bar ============ */
.announcement-bar {
    background: var(--red-primary);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 10px 24px;
    position: relative;
}

.announcement-text {
    font-weight: 500;
}

.announcement-close {
    position: absolute;
    right: 24px;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    transition: opacity 0.2s ease;
}

    .announcement-close:hover {
        opacity: 0.7;
    }

/* ============ Header ============ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 18px 24px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--serif);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--red-primary);
    white-space: nowrap;
}

.logo-sub {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--ink-3);
    margin-top: 4px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.2s ease;
}

    .main-nav > ul > li > a:hover,
    .main-nav > ul > li > a.active {
        color: var(--red-primary);
    }

.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 50;
}

.main-nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--ink-2);
    transition: background 0.15s ease, color 0.15s ease;
}

    .main-nav .dropdown a:hover {
        background: var(--red-soft);
        color: var(--red-primary);
    }

/* Header brand dropdown: show ~5-6 items then scroll */
#nav-brand-list {
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
}

    #nav-brand-list::-webkit-scrollbar {
        width: 6px;
    }

    #nav-brand-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    #nav-brand-list::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

        #nav-brand-list::-webkit-scrollbar-thumb:hover {
            background: #999;
        }

/* Placeholder bars shown in the menu until Women / Men / Unisex load */
.main-nav li.nav-skel {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 14px;
}

    .main-nav li.nav-skel span {
        display: block;
        width: 56px;
        height: 12px;
        border-radius: 3px;
        background: linear-gradient(90deg, #f1f1f1 25%, #e4e4e4 37%, #f1f1f1 63%);
        background-size: 400% 100%;
        animation: nav-shimmer 1.3s ease infinite;
    }

@keyframes nav-shimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-3);
    border-radius: 4px;
    padding: 0 8px 0 14px;
    min-width: 200px;
}

    .search-form input {
        border: none;
        background: transparent;
        padding: 9px 4px;
        outline: none;
        font-size: 12px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        width: 100%;
        color: var(--ink-2);
    }

    .search-form button {
        color: var(--muted);
        padding: 4px;
        transition: color 0.2s ease;
    }

        .search-form button:hover {
            color: var(--red-primary);
        }

.icon-btn {
    padding: 8px;
    color: var(--ink);
    position: relative;
    transition: color 0.2s ease;
}

    .icon-btn:hover {
        color: var(--red-primary);
    }

.cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    background: var(--red-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
    }

/* Header account dropdown */
.account-menu {
    position: relative;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 60;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown a,
.account-dropdown .account-dropdown-greeting {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--ink-2);
    transition: background 0.15s ease, color 0.15s ease;
}

.account-dropdown .account-dropdown-greeting {
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
    padding-bottom: 12px;
}

.account-dropdown a:hover {
    background: var(--red-soft);
    color: var(--red-primary);
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    background: var(--red-primary);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--red-dark);
        color: #fff;
    }

.btn-outline {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

    .btn-outline:hover {
        background: var(--ink);
        color: #fff;
    }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

    .btn-ghost:hover {
        border-color: var(--ink);
        color: var(--ink);
    }

.btn-lg {
    padding: 16px 32px;
    font-size: 13px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 11px;
}

/* ============ Generic Sections ============ */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-2);
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red-primary);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.15;
}

.section-sub {
    font-size: 15px;
    color: var(--ink-3);
    margin: 0;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.stars {
    color: var(--red-primary);
    font-size: 14px;
    letter-spacing: 2px;
}

/* ============ Breadcrumb ============ */
.breadcrumb-wrap {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .breadcrumb a {
        color: var(--muted);
        transition: color 0.2s ease;
    }

        .breadcrumb a:hover {
            color: var(--red-primary);
        }

    .breadcrumb .current {
        color: var(--ink);
        font-weight: 600;
    }

/* ============ Page banner (cart / orders / order detail) ============ */
.page-banner {
    padding: 40px 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

    .page-banner h1 {
        font-family: var(--serif);
        font-size: 32px;
        font-weight: 700;
        color: var(--ink);
    }

    .page-banner p {
        color: var(--muted);
        font-size: 14px;
        margin-top: 8px;
    }

/* ============ Product Grid & Cards (home, category, product related, wishlist) ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

    .product-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
        border-color: var(--line);
    }


.product-media {
    position: relative;
    aspect-ratio: 1 / 1.15;
    background: var(--bg-3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

@media (max-width: 768px) {
    .product-media {
        aspect-ratio: 1 / 1.15;
    }

        .product-media img {
            object-fit: contain;
        }

    .product-card:hover .product-media img {
        transform: none;
    }
}


.product-card:hover .product-media img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

    .product-tag.best {
        background: var(--red-primary);
    }

    .product-tag.new {
        background: var(--gold);
    }

    .product-tag.rare {
        background: #1a1a1a;
    }

.product-quickview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-quickview {
    transform: translateY(0);
}

.product-body {
    padding: 18px 4px 8px;
    text-align: center;
}

.product-brand {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.product-title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--ink);
    line-height: 1.3;
}

    .product-title a {
        color: inherit;
    }

        .product-title a:hover {
            color: var(--red-primary);
        }

.product-rating {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 8px;
}

    .product-rating .stars {
        color: var(--red-primary);
        letter-spacing: 1px;
        margin-right: 4px;
    }

.product-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

    .product-price .current {
        font-size: 16px;
        font-weight: 600;
        color: var(--ink);
    }

    .product-price .original {
        font-size: 13px;
        color: var(--muted);
        text-decoration: line-through;
    }

/* Heart toggle on cards (wishlist.js) */
.wish-toggle.active {
    color: var(--red-primary);
}

    .wish-toggle.active svg {
        fill: var(--red-primary);
        stroke: var(--red-primary);
        animation: heart-pop 0.3s ease;
    }

@keyframes heart-pop {
    0% {
        transform: scale(0.7);
    }

    60% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

/* ============ Quantity selector (product + cart) ============ */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 42px;
    font-size: 16px;
    color: var(--ink);
    transition: background 0.15s ease;
}

    .qty-btn:hover {
        background: var(--bg-3);
    }

.quantity-selector input {
    width: 50px;
    height: 42px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    -moz-appearance: textfield;
}

    .quantity-selector input::-webkit-outer-spin-button,
    .quantity-selector input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

/* ============ Shared forms (auth, checkout, account, cart promo, orders filters) ============ */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-form .btn {
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.2s ease;
}

    .form-control:focus {
        outline: none;
        border-color: var(--red-primary);
    }

    .form-control.has-error {
        border-color: var(--red-primary);
        background: var(--red-soft);
    }

.field-error {
    display: none;
    font-size: 12px;
    color: var(--red-primary);
    margin-top: 6px;
}

    .field-error.show {
        display: block;
    }

.password-field {
    position: relative;
    width: 100%;
}

    .password-field .form-control {
        padding-right: 50px !important;
    }

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 4px;
    color: var(--muted, #777);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: transparent;
    border: none;
    cursor: pointer;
}

    .password-toggle:hover {
        color: var(--red-primary, #d9383a);
    }

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.5;
}

    .checkbox-row input {
        margin-top: 3px;
    }

.link-red {
    color: var(--red-primary);
    font-weight: 600;
}

    .link-red:hover {
        text-decoration: underline;
    }

.alert {
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

    .alert.show {
        display: flex;
    }

.alert-error {
    background: var(--red-soft);
    color: var(--red-dark);
    border: 1px solid var(--red-light);
}

.alert-success {
    background: #eaf7ee;
    color: #1e7a3f;
    border: 1px solid #bfe6cb;
}

/* ============ Toast notifications (site.js) ============ */
.auth-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.auth-toast {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
    max-width: 420px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e2e2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
    font-family: var(--sans, 'Poppins', sans-serif);
    font-size: 13.5px;
    font-weight: 500;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

    .auth-toast.show {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.auth-toast-success {
    border-left: 5px solid #E63946;
    background: #FFF5F5;
}

    .auth-toast-success .toast-icon {
        background: #FCE8E9;
        color: #E63946;
    }

.auth-toast-error {
    border-left: 5px solid #E63946;
    background: #FFF0F0;
}

    .auth-toast-error .toast-icon {
        background: #E63946;
        color: #fff;
    }

.auth-toast-info {
    border-left: 5px solid #1A1A1A;
    background: #fff;
}

    .auth-toast-info .toast-icon {
        background: #F5F5F5;
        color: #1A1A1A;
    }

.toast-message {
    flex: 1;
    line-height: 1.5;
    color: #333;
}

/* ============ Newsletter ============ */
.newsletter {
    background: var(--ink);
    color: #fff;
    padding: 72px 0;
}

.newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-family: var(--serif);
    font-size: 36px;
    margin: 0 0 12px;
    font-weight: 700;
}

.newsletter p {
    color: #b8b8b8;
    margin: 0 0 28px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto 16px;
}

    .newsletter-form input {
        flex: 1;
        padding: 14px 18px;
        border: 1px solid #333;
        background: #1f1f1f;
        color: #fff;
        border-radius: var(--radius);
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s ease;
    }

        .newsletter-form input:focus {
            border-color: var(--red-primary);
        }

    .newsletter-form button {
        background: var(--red-primary);
        color: #fff;
        padding: 14px 26px;
        border-radius: var(--radius);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        transition: background 0.2s ease;
    }

        .newsletter-form button:hover {
            background: var(--red-dark);
        }

.newsletter small {
    color: #888;
    font-size: 11px;
}

/* ============ Footer ============ */
.site-footer {
    background: #111;
    color: #ccc;
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 18px;
    font-weight: 600;
}

.footer-col p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #b8b8b8;
    line-height: 1.7;
}

    .footer-col p strong {
        color: #fff;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.footer-logo .logo-main {
    color: #fff;
}

.footer-logo .logo-sub {
    color: #888;
}

.footer-about {
    color: #999;
    font-size: 13px;
    margin-top: 16px;
    max-width: 320px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 13px;
        color: #b8b8b8;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: var(--red-primary);
        }

.social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

    .social-icons a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #1f1f1f;
        color: #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s ease, color 0.2s ease;
    }

        .social-icons a:hover {
            background: var(--red-primary);
            color: #fff;
        }

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .payment-icons span {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1px;
        padding: 5px 8px;
        background: #1f1f1f;
        color: #ccc;
        border-radius: 3px;
    }

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
}

    .footer-bottom .container {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer-bottom p {
        margin: 0;
        font-size: 12px;
        color: #888;
    }

/* ============ Responsive (global parts only) ============ */
@media (max-width: 1024px) {
    .header-inner {
        gap: 20px;
    }

    .search-form {
        min-width: 160px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .search-form {
        display: none;
    }

    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .section {
        padding: 56px 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .logo-main {
        font-size: 24px;
    }

    .logo-sub {
        font-size: 8px;
    }

    .announcement-close {
        right: 10px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
