﻿/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #6c5ce7;
    --primary-dark: #5849c4;
    --secondary: #fd79a8;
    --accent: #00cec9;
    --dark: #2d3436;
    --light: #f5f6fa;
    --gray: #b2bec3;
    --white: #ffffff;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e74c3c;
    --text: #2d3436;
    --text-light: #636e72;
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar .free-ship { color: var(--accent); }

/* ===== Header ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    gap: 20px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}
.logo i { margin-right: 5px; }
.search-bar {
    flex: 1;
    max-width: 500px;
    display: flex;
}
.search-bar input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--light);
    border-right: none;
    border-radius: 50px 0 0 50px;
    font-size: 0.9rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
.search-bar input:focus { border-color: var(--primary); }
.search-bar button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-size: 1rem;
}
.header-nav { display: flex; gap: 25px; }
.nav-icon {
    position: relative;
    font-size: 1.4rem;
    color: var(--dark);
    transition: color 0.3s;
}
.nav-icon:hover { color: var(--primary); }
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== Main Nav ===== */
.main-nav { background: var(--primary); }
.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}
.main-nav ul li a {
    display: block;
    color: var(--white);
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
}
.main-nav ul li a:hover, .main-nav ul li a.active {
    background: var(--primary-dark);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe, #fd79a8);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-overlay {
    width: 100%;
    text-align: center;
    color: var(--white);
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero .btn { margin: 0 10px; }

/* ===== Features ===== */
.features { padding: 50px 0; background: var(--white); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}
.feature-item:hover { transform: translateY(-5px); }
.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.feature-item h3 { font-size: 1.1rem; margin-bottom: 5px; }
.feature-item p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Categories ===== */
.categories { padding: 60px 0; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.category-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 2px solid transparent;
}
.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108,92,231,0.15);
}
.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-icon i { font-size: 2rem; color: var(--white); }
.category-card h3 { font-size: 1.3rem; margin-bottom: 5px; }
.category-card p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Products ===== */
.featured-products, .new-arrivals { padding: 60px 0; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.product-image {
    height: 220px;
    background: linear-gradient(135deg, #f5f6fa, #dfe6e9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-image i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.7;
    transition: transform 0.3s;
}
.product-card:hover .product-image i { transform: scale(1.1); }
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    z-index: 2;
}
.badge-sale { background: var(--danger); }
.badge-new { background: var(--success); }
.badge-hot { background: var(--warning); color: var(--dark); }
.product-info { padding: 18px; }
.product-brand {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 5px 0;
    line-height: 1.4;
}
.product-rating {
    color: var(--warning);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.product-rating span { color: var(--gray); margin-left: 5px; }
.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.price-current { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.price-old { font-size: 0.95rem; color: var(--gray); text-decoration: line-through; }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn-cart {
    flex: 1;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
    font-family: 'Poppins', sans-serif;
}
.product-actions .btn-cart:hover { background: var(--primary-dark); }
.product-actions .btn-wish {
    width: 45px;
    background: var(--light);
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}
.product-actions .btn-wish:hover { background: var(--secondary); color: var(--white); }
.product-actions .btn-view {
    width: 45px;
    background: var(--light);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}
.product-actions .btn-view:hover { background: var(--primary); color: var(--white); }

/* ===== Offer Banner ===== */
.offer-banner {
    background: linear-gradient(135deg, #2d3436, #636e72);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}
.offer-banner h2 { font-size: 2.5rem; margin-bottom: 10px; }
.offer-banner p { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.9; }

/* ===== Newsletter ===== */
.newsletter {
    background: var(--primary);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}
.newsletter h2 { font-size: 2rem; margin-bottom: 10px; }
.newsletter p { margin-bottom: 25px; opacity: 0.9; }
.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}
.newsletter input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h3 { font-size: 1.4rem; margin-bottom: 15px; }
.footer-col h3 i { color: var(--primary); }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 15px; }
.footer-col p { color: var(--gray); font-size: 0.9rem; margin-bottom: 15px; line-height: 1.7; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--primary); }
.social-links { display: flex; gap: 12px; margin-top: 15px; }
.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.social-links a:hover { background: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { color: var(--gray); font-size: 0.85rem; }

/* ===== Page Banner ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}
.page-banner h1 { font-size: 2.2rem; margin-bottom: 5px; }
.page-banner p { opacity: 0.8; font-size: 0.95rem; }

/* ===== Shop Layout ===== */
.shop-section { padding: 50px 0; }
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}
.shop-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}
.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}
.filter-list li { margin-bottom: 8px; }
.filter-link {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.filter-link:hover, .filter-link.active { background: var(--primary); color: var(--white); }
.filter-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 0;
}
.filter-list label input { accent-color: var(--primary); }
.price-filter input[type="range"] { width: 100%; accent-color: var(--primary); }
.price-filter p { margin-top: 8px; font-size: 0.9rem; font-weight: 600; }
.sidebar-widget select {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid var(--light);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.shop-toolbar p { font-size: 0.9rem; color: var(--text-light); }
.shop-main .product-grid { grid-template-columns: repeat(3, 1fr); }
.no-results { text-align: center; padding: 60px 20px; color: var(--gray); }
.no-results i { font-size: 3rem; margin-bottom: 15px; }
.no-results p { font-size: 1.1rem; }

/* ===== Product Detail ===== */
.product-detail-section { padding: 50px 0; }
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.detail-image {
    height: 400px;
    background: linear-gradient(135deg, #f5f6fa, #dfe6e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-image i { font-size: 8rem; color: var(--primary); opacity: 0.6; }
.detail-info h1 { font-size: 1.8rem; margin-bottom: 10px; }
.detail-brand { color: var(--gray); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.detail-rating { color: var(--warning); margin: 10px 0; }
.detail-rating span { color: var(--gray); }
.detail-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}
.detail-price .current { font-size: 2rem; font-weight: 700; color: var(--primary); }
.detail-price .old { font-size: 1.2rem; color: var(--gray); text-decoration: line-through; }
.detail-desc { color: var(--text-light); margin: 15px 0; line-height: 1.8; }
.detail-features { margin: 20px 0; }
.detail-features li { padding: 5px 0; color: var(--text-light); }
.detail-features li i { color: var(--success); margin-right: 8px; }
.detail-qty {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}
.qty-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--light);
    border-radius: 8px;
    overflow: hidden;
}
.qty-control button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark);
}
.qty-control input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
.detail-actions { display: flex; gap: 10px; margin-top: 20px; }
.detail-actions .btn { flex: 1; }

/* ===== Cart ===== */
.cart-section { padding: 50px 0; }
.cart-table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.cart-table table { width: 100%; }
.cart-table th {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-size: 0.9rem;
}
.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--light);
    font-size: 0.9rem;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-item-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-icon i { font-size: 1.5rem; color: var(--primary); }
.cart-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.cart-summary h3 { margin-bottom: 20px; font-size: 1.3rem; }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
    font-size: 0.95rem;
}
.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: none;
    padding-top: 15px;
}
.cart-checkout { width: 100%; margin-top: 15px; }
.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart i { font-size: 4rem; color: var(--gray); margin-bottom: 20px; }
.empty-cart h3 { font-size: 1.5rem; margin-bottom: 10px; }
.empty-cart p { color: var(--text-light); margin-bottom: 20px; }

/* ===== About ===== */
.about-section { padding: 60px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text h2 { font-size: 2rem; margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 15px; line-height: 1.8; }
.about-image {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    padding: 80px 40px;
}
.about-icon { font-size: 6rem; color: var(--white); opacity: 0.8; }
.stats-section { padding: 50px 0; background: var(--primary); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: var(--white);
}
.stat-item h2 { font-size: 3rem; font-weight: 800; }
.stat-item p { opacity: 0.9; font-size: 1rem; }
.team-section { padding: 60px 0; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.team-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.team-card:hover { transform: translateY(-5px); }
.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-avatar i { font-size: 2rem; color: var(--white); }
.team-card h3 { font-size: 1.1rem; margin-bottom: 5px; }
.team-card p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Contact ===== */
.contact-section { padding: 60px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info h2, .contact-form-wrap h2 { font-size: 1.6rem; margin-bottom: 20px; }
.contact-info > p { color: var(--text-light); margin-bottom: 30px; }
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-item i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 3px;
}
.contact-item h4 { font-size: 1rem; margin-bottom: 3px; }
.contact-item p { color: var(--text-light); font-size: 0.9rem; }
.contact-form-wrap {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.contact-form-wrap form input,
.contact-form-wrap form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light);
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
}
.contact-form-wrap form input:focus,
.contact-form-wrap form textarea:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* ===== Account ===== */
.account-section { padding: 50px 0; }
.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}
.account-sidebar {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    height: fit-content;
}
.account-avatar { text-align: center; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 2px solid var(--light); }
.account-avatar i { font-size: 4rem; color: var(--primary); }
.account-avatar h3 { margin-top: 10px; font-size: 1.1rem; }
.account-menu li { margin-bottom: 5px; }
.account-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    color: var(--text-light);
}
.account-menu li a:hover { background: var(--light); color: var(--primary); }
.account-menu li.active a { background: var(--primary); color: var(--white); }
.account-content {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.account-content h2 { font-size: 1.4rem; margin-bottom: 20px; }
.account-content form input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--light);
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
.account-content form input:focus { border-color: var(--primary); }
.account-content label { display: block; margin-bottom: 5px; font-size: 0.85rem; color: var(--text-light); }
.orders-table { overflow-x: auto; margin-top: 20px; }
.orders-table table { width: 100%; border-collapse: collapse; }
.orders-table th {
    background: var(--light);
    padding: 12px;
    text-align: left;
    font-size: 0.85rem;
}
.orders-table td { padding: 12px; border-bottom: 1px solid var(--light); font-size: 0.9rem; }
.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-badge.delivered { background: #e3f9f1; color: var(--success); }
.status-badge.shipped { background: #e8f4fd; color: #0984e3; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-main .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-detail-layout { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
}
@media (max-width: 768px) {
    .top-bar .container { justify-content: center; text-align: center; }
    .header-content { flex-wrap: wrap; }
    .search-bar { order: 3; max-width: 100%; }
    .main-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
    .main-nav ul li a { white-space: nowrap; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .newsletter form { flex-direction: column; }
    .newsletter input { border-radius: 50px; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .feature-grid, .category-grid, .product-grid, .stats-grid, .team-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 1.8rem; }
}
