* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Media never overflows its container on small screens */
img, video, svg {
    max-width: 100%;
}

/* Long words / URLs wrap instead of forcing horizontal scroll */
p, h1, h2, h3, h4, li, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    color: #555;
    line-height: 1.7;
}

a {
    font-weight: 500;
}

/* Header & Navigation */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

#main-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo span {
    color: #4A90E2;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4A90E2;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4A90E2;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: #1a1a1a;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background-color: #4A90E2;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    max-width: 1200px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 800;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #666;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons .cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.secondary-button {
    background-color: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #1a1a1a;
    color: white;
}

.hero-image {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Collections Section */
.collections {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-header::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4A90E2, transparent);
    margin: 0 auto 1.5rem;
}

.section-header h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    font-weight: 400;
    line-height: 1.8;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
    cursor: pointer;
    group-hover: scale(1.05);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.collection-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.2);
}

.collection-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 25;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.collection-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5BA3F5 0%, #4A90E2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 20;
}

.collection-card:hover .collection-overlay {
    opacity: 1;
}

.collection-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.collection-overlay p {
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background-color: #f0f4f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.25);
}

.feature-item h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #f0f4f9 0%, #ffffff 100%);
    border-top: 1px solid #e8eef5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-top: 4px solid #4A90E2;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.15);
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.author-info p {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
    font-weight: 400;
}

.stars {
    color: #FFC107;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Newsletter Section */
.newsletter {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
}

.newsletter p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    background-color: white;
    color: #333;
}

.newsletter-form input::placeholder {
    color: #999;
    font-weight: 400;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background-color: #4A90E2;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.newsletter-form button:hover {
    background-color: #357ABD;
}

/* Shop Styles */
.page-header {
    margin-top: 80px;
    padding: 4rem 5%;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    border-bottom: 1px solid #e8eef5;
    text-align: center;
}

.page-header h1 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 800;
    animation: fadeInUp 0.8s ease-out;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

.filters-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 120px;
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e8e8;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    cursor: pointer;
    accent-color: #4A90E2;
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
}

.filter-option label {
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
    flex: 1;
}

.filter-option:hover label {
    color: #4A90E2;
}

.products-section {
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.sort-select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.sort-select:hover {
    border-color: #4A90E2;
    color: #4A90E2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: #4A90E2;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #FFC107;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-current {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4A90E2;
}

.price-original {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.85rem;
    background: #ffebee;
    color: #d32f2f;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.add-to-cart {
    width: 100%;
    padding: 0.9rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.add-to-cart:hover {
    background: #4A90E2;
    transform: translateX(2px);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 5%;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.footer-section a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-section a:hover {
    color: #87CEEB;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    font-size: 0.95rem;
}

main {
    min-height: calc(100vh - 80px);
}

/* Responsive Design */
@media (max-width: 1280px) {
    nav {
        padding: 1.25rem 4%;
    }

    .logo-img {
        height: 55px;
    }

    .collections,
    .features {
        padding: 5rem 4%;
    }
}

@media (max-width: 1024px) {
    nav {
        padding: 1.25rem 4%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    footer {
        padding: 3rem 4%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.75rem 1.75rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .collections,
    .features {
        padding: 4.5rem 4%;
    }

    .shop-container {
        grid-template-columns: 200px 1fr;
        gap: 2rem;
        padding: 2.5rem 4%;
    }

    .filters-sidebar {
        padding: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 3%;
    }

    .logo-img {
        height: 48px;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero {
        margin-top: 65px;
        height: auto;
        padding: 2.5rem 0;
    }

    .hero-content {
        gap: 2rem;
        width: 95%;
    }

    .hero-text h1 {
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        height: 280px;
        font-size: 4rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .cta-button {
        padding: 0.85rem 2rem;
        width: 100%;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .collection-card {
        height: 350px;
    }

    .collection-image {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-section ul li {
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .newsletter-form button {
        width: 100%;
    }

    .collections,
    .features,
    .newsletter {
        padding: 3.5rem 3%;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .page-header {
        padding: 2.5rem 3%;
        margin-top: 65px;
    }

    .shop-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 3%;
    }

    .filters-sidebar {
        position: static;
        padding: 1.5rem;
        background: #f9f9f9;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .filter-group {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-select {
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 4rem 4%;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    header {
        border-bottom: 1px solid #e8e8e8;
    }

    nav {
        padding: 0.9rem 2%;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }

    .nav-links {
        gap: 0.6rem;
        font-size: 0.75rem;
    }

    .nav-links li {
        white-space: nowrap;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 3px;
    }

    .hero {
        margin-top: 60px;
        padding: 2rem 0;
        height: auto;
    }

    .hero-content {
        width: 100%;
        gap: 1.5rem;
        padding: 0 2%;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }

    .hero-image {
        height: 220px;
        font-size: 3rem;
        border-radius: 8px;
    }

    .collections {
        padding: 2.5rem 2%;
    }

    .section-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .collection-card {
        height: 300px;
        border-radius: 6px;
    }

    .collection-image {
        font-size: 2rem;
    }

    .collection-overlay {
        padding: 1.5rem;
    }

    .collection-overlay h3 {
        font-size: 1.1rem;
    }

    .collection-overlay p {
        font-size: 0.8rem;
    }

    .features {
        padding: 2.5rem 2%;
    }

    .feature-item {
        text-align: center;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .newsletter {
        padding: 2.5rem 2%;
    }

    .newsletter h2 {
        font-size: 1.4rem;
    }

    .newsletter p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-form {
        gap: 0;
        width: 100%;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 0.8rem 0.75rem;
        font-size: 0.9rem;
    }

    .newsletter-form input {
        border-radius: 3px 0 0 3px;
    }

    .newsletter-form button {
        border-radius: 0 3px 3px 0;
        padding: 0.8rem 1rem;
    }

    footer {
        padding: 2.5rem 2%;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }

    .page-header {
        padding: 2rem 2%;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .shop-container {
        padding: 1.5rem 2%;
    }

    .filters-sidebar {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .filter-group {
        display: none;
    }

    .filter-group:first-child {
        display: block;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .price-current {
        font-size: 1.25rem;
    }

    .testimonials-grid {
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .author-info h4 {
        font-size: 0.9rem;
    }

    .author-info p {
        font-size: 0.75rem;
    }

    .about {
        padding: 2.5rem 2%;
    }

    .about-image {
        height: 250px;
    }

    .testimonials {
        padding: 2.5rem 2%;
    }
}

/* ============================================================
   ENHANCEMENTS: auth, cart, checkout, orders, admin
   ============================================================ */

/* Header actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-greeting {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}
.nav-login {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-login:hover { color: #4A90E2; }
.cart-link {
    position: relative;
    font-size: 1.4rem;
    text-decoration: none;
    line-height: 1;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #4A90E2;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Flash messages */
.flash {
    position: fixed;
    top: 90px;
    right: 5%;
    z-index: 2000;
    padding: 1rem 2.5rem 1rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-width: 360px;
}
.flash-success { background: #e7f5ec; color: #1d7a44; border: 1px solid #b6e0c4; }
.flash-error { background: #fdeaea; color: #b3261e; border: 1px solid #f3c0bd; }
.flash-close { position: absolute; top: 8px; right: 12px; cursor: pointer; font-size: 1.2rem; }

/* Form error box */
.form-errors {
    background: #fdeaea;
    border: 1px solid #f3c0bd;
    color: #b3261e;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.form-errors p { color: #b3261e; font-size: 0.9rem; margin: 0.15rem 0; }

/* Generic form fields */
label { display: block; font-weight: 600; color: #1a1a1a; margin-bottom: 1rem; font-size: 0.9rem; }
.hint { font-weight: 400; color: #999; font-size: 0.8rem; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-top: 0.4rem;
    border: 1px solid #d8e0ea;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: #fff;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.12);
}
.checkbox-row { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.checkbox-row input { width: auto; margin: 0; }

/* Auth pages */
.auth-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 4rem;
    background: linear-gradient(135deg, #f0f4f9 0%, #ffffff 100%);
}
.auth-card {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 10px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.auth-card h1 { font-size: 1.9rem; margin-bottom: 0.4rem; }
.auth-sub { color: #777; margin-bottom: 1.5rem; font-size: 0.95rem; }
.auth-submit { width: 100%; margin-top: 0.5rem; }
.auth-alt { text-align: center; margin-top: 1.25rem; font-size: 0.9rem; color: #666; }
.auth-alt a { color: #4A90E2; text-decoration: none; font-weight: 600; }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state p { font-size: 1.2rem; color: #888; margin-bottom: 1.5rem; }

/* Pagination */
.pagination-wrap { display: flex; justify-content: center; margin-top: 2.5rem; }
.pagination { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.page-item {
    padding: 0.5rem 0.9rem;
    border: 1px solid #d8e0ea;
    border-radius: 4px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.9rem;
}
.page-item.active { background: #4A90E2; color: #fff; border-color: #4A90E2; }
.page-item.disabled { color: #bbb; }
a.page-item:hover { border-color: #4A90E2; color: #4A90E2; }

/* Product detail */
.product-detail { max-width: 1200px; margin: 0 auto; padding: 0 5% 4rem; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.product-detail-image { position: relative; border-radius: 10px; overflow: hidden; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-size: 2.4rem; }
.product-description { color: #555; margin: 1rem 0 1.5rem; }
.stock-info { margin-bottom: 1.5rem; font-weight: 600; font-size: 0.9rem; }
.in-stock { color: #1d7a44; }
.out-stock { color: #b3261e; }
.add-to-cart-form { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.qty-input { width: 80px; }
.back-link { display: inline-block; margin-top: 1rem; color: #4A90E2; text-decoration: none; font-weight: 600; }

/* Cart & checkout */
.cart-page, .checkout-page { max-width: 1200px; margin: 0 auto; padding: 0 5% 4rem; }
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 8px;
    padding: 1rem;
}
.cart-item-img { width: 90px; height: 90px; object-fit: cover; border-radius: 6px; }
.cart-item-details h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.cart-item-details a { text-decoration: none; color: #1a1a1a; }
.cart-item-price { color: #4A90E2; font-weight: 600; }
.cart-qty-form { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.cart-qty-form .qty-input { width: 70px; }
.cart-item-subtotal { font-weight: 700; white-space: nowrap; }
.remove-btn {
    background: none; border: none; color: #b3261e; font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.link-button { background: none; border: none; color: #4A90E2; cursor: pointer; font-weight: 600; text-decoration: none; font-size: 0.85rem; font-family: inherit; }
.link-button.danger { color: #b3261e; }
.cart-summary {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
.cart-summary h3 { margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; color: #555; font-size: 0.95rem; }
.summary-row.total { border-top: 1px solid #e8eef5; margin-top: 0.5rem; padding-top: 0.9rem; font-weight: 700; font-size: 1.15rem; color: #1a1a1a; }
.checkout-form { background: #fff; border: 1px solid #e8eef5; border-radius: 8px; padding: 1.5rem; }
.checkout-form h3 { margin-bottom: 1rem; }

/* Data tables (orders, admin) */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e8eef5; border-radius: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid #eef2f7; }
.data-table th { background: #f7f9fc; font-weight: 600; color: #555; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.3px; }
.data-table tbody tr:hover { background: #f7fafd; }
.data-table tfoot td { background: #f7f9fc; }
.table-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.actions-cell { display: flex; gap: 0.75rem; align-items: center; }

/* Status badges */
.status-badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: capitalize; }
.status-pending { background: #fff4e0; color: #b8770a; }
.status-processing { background: #e0ecfd; color: #1c5fb8; }
.status-shipped { background: #e9e3fb; color: #6c3fc0; }
.status-completed { background: #e7f5ec; color: #1d7a44; }
.status-cancelled { background: #fdeaea; color: #b3261e; }

/* Order detail */
.order-detail-header { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 1.5rem; }
.order-detail-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.info-card { background: #fff; border: 1px solid #e8eef5; border-radius: 8px; padding: 1.25rem 1.5rem; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.info-card p { font-size: 0.9rem; margin: 0.2rem 0; }
.status-form { display: flex; gap: 0.75rem; margin-top: 1rem; }

/* ===== Admin dashboard layout ===== */
.admin-body { display: flex; min-height: 100vh; background: #f4f7fb; }
.admin-sidebar {
    width: 240px;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    position: fixed;
    height: 100vh;
}
.admin-logo { display: block; margin-bottom: 2rem; padding: 0 0.5rem; }
.admin-nav { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.admin-nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.admin-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-nav a.active { background: #4A90E2; color: #fff; }
.admin-logout button { width: 100%; background: rgba(255,255,255,0.1); color: #fff; border: none; padding: 0.7rem; border-radius: 6px; cursor: pointer; font-family: inherit; font-weight: 600; }
.admin-logout button:hover { background: rgba(255,255,255,0.18); }
.admin-main { margin-left: 240px; flex: 1; padding: 2rem; width: calc(100% - 240px); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-topbar h1 { font-size: 1.8rem; margin: 0; }
.admin-nav a .admin-ico { display: none; }

/* Admin mobile menu button + overlay (hidden on desktop) */
.admin-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    padding: 0; background: none; border: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.admin-menu-btn span { display: block; width: 22px; height: 2px; margin: 0 auto; background: #1a1a1a; border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
.admin-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.admin-menu-btn.open span:nth-child(2) { opacity: 0; }
.admin-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.admin-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.45);
    z-index: 2900; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.admin-overlay.open { opacity: 1; visibility: visible; }
.admin-section-header { display: flex; justify-content: space-between; align-items: center; margin: 1.5rem 0 1rem; }
.admin-section-header h2 { margin: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 1rem; }
.stat-card { background: #fff; border: 1px solid #e8eef5; border-radius: 10px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.stat-label { color: #888; font-size: 0.85rem; font-weight: 500; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: #1a1a1a; }

/* Admin forms */
.admin-form { background: #fff; border: 1px solid #e8eef5; border-radius: 10px; padding: 2rem; max-width: 900px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.admin-form-grid .full-width { grid-column: 1 / -1; }
.form-preview { display: block; max-width: 160px; border-radius: 6px; margin-bottom: 0.5rem; }
.form-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.5rem; }

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 70px 1fr; }
    .cart-item-img { width: 70px; height: 70px; }

    /* Admin: sidebar becomes a slide-in drawer */
    .admin-menu-btn { display: flex; }
    .admin-sidebar {
        width: 250px;
        padding: 1.5rem 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3000;
        box-shadow: 4px 0 30px rgba(0,0,0,0.2);
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-nav a {
        display: flex; align-items: center; gap: 0.75rem;
        font-size: 0.98rem; padding: 0.8rem 1rem; text-align: left;
    }
    .admin-nav a .admin-ico { display: inline; font-size: 1.15rem; width: 1.4rem; text-align: center; }
    .admin-main { margin-left: 0; width: 100%; padding: 0 1rem 1.5rem; }
    .admin-topbar {
        position: sticky; top: 0; z-index: 1200;
        margin: 0 -1rem 1.5rem;
        padding: 0.8rem 1rem;
        background: #f4f7fb;
        border-bottom: 1px solid #e3e9f0;
        gap: 0.75rem;
    }
    .admin-topbar h1 { font-size: 1.35rem; flex: 1; }
    .admin-user { font-size: 0.85rem; color: #888; white-space: nowrap; }
    body.admin-drawer-open { overflow: hidden; }
}

/* Admin data tables → stacked cards on phones */
@media (max-width: 640px) {
    .admin-section-header { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .admin-section-header .cta-button,
    .admin-section-header form,
    .admin-section-header .sort-select { width: 100%; }
    .admin-topbar h1 { font-size: 1.2rem; }
    .admin-user { display: none; }
    .status-form { flex-wrap: wrap; }
    .status-form select, .status-form .cta-button { width: 100%; }

    .table-wrap { overflow-x: visible; border: none; background: transparent; }
    .data-table thead { display: none; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table tr {
        background: #fff;
        border: 1px solid #e8eef5;
        border-radius: 10px;
        margin-bottom: 0.85rem;
        padding: 0.35rem 0.95rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        text-align: right;
        padding: 0.6rem 0;
        border-bottom: 1px solid #f0f4f8;
    }
    .data-table td:last-child { border-bottom: none; }
    .data-table td::before {
        content: attr(data-label);
        font-weight: 600; color: #8a939d;
        font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.4px;
        text-align: left;
    }
    .data-table td:not([data-label])::before,
    .data-table td[data-label=""]::before { content: none; }
    .data-table td[colspan] { justify-content: center; text-align: center; }
    .data-table td[colspan]::before { display: none; }
    .actions-cell { justify-content: flex-end; }
    .table-thumb { width: 56px; height: 56px; }
    .data-table tfoot, .data-table tfoot tr, .data-table tfoot td { display: block; width: 100%; }
    .data-table tfoot tr { border: none; box-shadow: none; padding: 0; background: transparent; }
}

/* ============================================================
   MOBILE-APP EXPERIENCE: hamburger drawer + bottom tab bar
   ============================================================ */

/* Hamburger button (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide-in drawer (hidden until mobile) */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 82%;
    max-width: 340px;
    background: #fff;
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    box-shadow: -8px 0 30px rgba(0,0,0,0.12);
    overflow-y: auto;
    visibility: hidden;
}
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer-logo { height: 46px; width: auto; }
.drawer-close {
    width: 40px; height: 40px;
    background: #f4f7fb; border: none; border-radius: 50%;
    font-size: 1.6rem; line-height: 1; color: #1a1a1a; cursor: pointer;
}
.drawer-greeting { font-weight: 600; color: #1a1a1a; margin-bottom: 0.75rem; font-size: 1rem; }
.drawer-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.drawer-nav a {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.9rem 0.75rem;
    text-decoration: none;
    color: #333; font-weight: 600; font-size: 1.02rem;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}
.drawer-nav a:active { background: #eef4fc; }
.drawer-nav a.active { background: #eef4fc; color: #4A90E2; }
.drawer-ico { font-size: 1.25rem; width: 1.6rem; text-align: center; }
.drawer-count {
    margin-left: auto; background: #4A90E2; color: #fff;
    font-size: 0.75rem; font-weight: 700; padding: 1px 9px; border-radius: 12px;
}
.drawer-footer { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #eef2f7; }

/* Bottom tab bar (hidden on desktop) */
.bottom-nav {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1500;
    background: rgba(255,255,255,0.96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid #ececec;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
}
.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0.5rem 0 0.45rem;
    text-decoration: none;
    color: #9aa3ad;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}
.bottom-nav-item .bn-ico { font-size: 1.4rem; line-height: 1; position: relative; filter: grayscale(0.2); }
.bottom-nav-item .bn-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2px; }
.bottom-nav-item.active { color: #4A90E2; }
.bottom-nav-item.active .bn-ico { filter: none; transform: translateY(-1px); transition: transform 0.2s ease; }
.bottom-nav-item:active { background: rgba(74,144,226,0.06); }
.bn-badge {
    position: absolute;
    top: -6px; right: -11px;
    background: #e0392b; color: #fff;
    font-size: 0.62rem; font-weight: 700;
    min-width: 16px; height: 16px; line-height: 16px;
    padding: 0 4px; border-radius: 8px; text-align: center;
}

/* Switch to app layout on phones/small tablets */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .bottom-nav { display: flex; }

    /* Collapse desktop nav into the drawer */
    .nav-links,
    .nav-greeting,
    .nav-login,
    .nav-actions form,
    .nav-actions > .cta-button { display: none; }

    nav { padding: 0.85rem 4%; }
    .nav-actions { gap: 0.75rem; }
    .cart-link { font-size: 1.5rem; }

    /* Keep page content clear of the fixed bottom bar */
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    footer { margin-bottom: 0; }

    /* Lock background scroll while the drawer is open */
    body.drawer-open { overflow: hidden; }
}

/* Larger, app-like touch targets on phones */
@media (max-width: 480px) {
    .add-to-cart,
    .cta-button,
    .newsletter-form button { min-height: 48px; }
    .qty-input { min-height: 44px; }

    /* Cleaner cart rows: image + details on top, controls below */
    .cart-item {
        position: relative;
        grid-template-columns: 72px 1fr;
        grid-template-areas:
            "img details"
            "qty subtotal";
        row-gap: 0.75rem;
        column-gap: 0.85rem;
    }
    .cart-item-img { grid-area: img; width: 72px; height: 72px; }
    .cart-item-details { grid-area: details; }
    .cart-qty-form { grid-area: qty; flex-direction: row; align-items: center; justify-self: start; }
    .cart-item-subtotal { grid-area: subtotal; justify-self: end; align-self: center; }
    .cart-item > form:last-of-type { position: absolute; top: 0.5rem; right: 0.6rem; }
}

/* ============================================================
   BLOG, FAQ & SEO CONTENT
   ============================================================ */

/* --- Home SEO content block --- */
.seo-content {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    padding: 4.5rem 5%;
    border-top: 1px solid #e8eef5;
}
.seo-content-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.seo-content-inner h2 { color: #1a1a1a; margin-bottom: 1.25rem; }
.seo-content-inner > p { color: #555; max-width: 760px; margin: 0 auto 1.25rem; }
.seo-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}
.seo-highlight {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    box-shadow: 0 4px 18px rgba(74,144,226,0.05);
}
.seo-highlight h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: #1a1a1a; }
.seo-highlight p { font-size: 0.95rem; color: #666; margin: 0; }
.seo-cta-line { font-size: 1.05rem; }
.seo-cta-line a { color: #4A90E2; text-decoration: none; font-weight: 600; }
.seo-cta-line a:hover { text-decoration: underline; }

/* --- Blog listing --- */
.blog-wrap { max-width: 1200px; margin: 0 auto; padding: 3rem 5%; }
.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.blog-search {
    flex: 1;
    min-width: 220px;
    max-width: 360px;
    padding: 0.75rem 1rem;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
}
.blog-search:focus { outline: none; border-color: #4A90E2; box-shadow: 0 0 0 3px rgba(74,144,226,0.12); }
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-cat {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: #f0f4f8;
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}
.blog-cat:hover { background: #e1ebf6; }
.blog-cat.active { background: #4A90E2; color: #fff; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,0,0,0.1); }
.blog-card-image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-cat {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: rgba(74,144,226,0.95);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
}
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; color: #99a2ad; font-size: 0.8rem; margin-bottom: 0.6rem; }
.blog-card-title { font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.6rem; }
.blog-card-title a { color: #1a1a1a; text-decoration: none; }
.blog-card-title a:hover { color: #4A90E2; }
.blog-card-excerpt { color: #666; font-size: 0.92rem; line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.blog-card-link { color: #4A90E2; font-weight: 600; font-size: 0.9rem; text-decoration: none; align-self: flex-start; }
.blog-card-link:hover { text-decoration: underline; }

/* --- Single post --- */
.post { max-width: 820px; margin: 0 auto; padding: 0 5% 3rem; }
.post-head { text-align: left; margin-bottom: 2rem; }
.breadcrumbs { font-size: 0.85rem; color: #99a2ad; margin-bottom: 1.25rem; }
.breadcrumbs a { color: #4A90E2; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.25rem; }
.post-cat {
    display: inline-block;
    background: #eef4fc;
    color: #4A90E2;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}
.post-title { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 1rem; color: #1a1a1a; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; color: #99a2ad; font-size: 0.9rem; }
.post-hero { margin: 0 0 2.5rem; border-radius: 16px; overflow: hidden; }
.post-hero img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { font-size: 1.08rem; line-height: 1.85; color: #3a3a3a; }
.post-body h2 { font-size: 1.7rem; margin: 2.25rem 0 1rem; color: #1a1a1a; }
.post-body h3 { font-size: 1.3rem; margin: 1.75rem 0 0.75rem; color: #1a1a1a; }
.post-body p { margin-bottom: 1.25rem; color: #3a3a3a; }
.post-body ul, .post-body ol { margin: 0 0 1.25rem 1.5rem; }
.post-body li { margin-bottom: 0.6rem; line-height: 1.7; }
.post-body a { color: #4A90E2; text-decoration: underline; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 1.5rem 0; }
.post-body blockquote {
    border-left: 4px solid #4A90E2;
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
}

.post-cta {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 3rem 0 0;
}
.post-cta h3 { color: #fff; margin-bottom: 0.5rem; }
.post-cta p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.post-cta .cta-button { background: #fff; color: #357ABD; }
.post-cta .cta-button:hover { background: #f0f4f8; }

.related-posts { padding-top: 1rem; }
.related-posts .section-header { margin-bottom: 2rem; }

/* --- FAQ --- */
.faq-wrap { max-width: 820px; margin: 0 auto; padding: 3rem 5%; }
.faq-intro { margin-bottom: 2rem; }
.faq-intro p { color: #555; font-size: 1.05rem; line-height: 1.8; }
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
    border: 1px solid #e6ebf1;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: 0 6px 22px rgba(74,144,226,0.08); border-color: #cfe0f5; }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.02rem;
    color: #1a1a1a;
    list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon {
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #eef4fc; color: #4A90E2;
    border-radius: 50%;
    font-size: 1.2rem; font-weight: 700;
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 1.35rem 1.25rem; }
.faq-a p { color: #555; line-height: 1.75; margin: 0; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .seo-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .seo-content { padding: 3rem 5%; }
    .blog-wrap, .faq-wrap { padding: 2.5rem 5%; }
    .blog-toolbar { flex-direction: column; align-items: stretch; }
    .blog-search { max-width: none; }
    .post { padding: 0 5% 2.5rem; }
    .post-head { margin-top: 80px !important; }
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card-title { font-size: 1.15rem; }
    .post-body { font-size: 1rem; }
    .post-cta { padding: 2rem 1.25rem; }
    .faq-q { font-size: 0.95rem; padding: 1rem 1.1rem; }
    .faq-a { padding: 0 1.1rem 1.1rem; }
}
