/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #5a67d8;
    --accent-color: #e53e3e;
    --background-color: #ffffff;
    --text-color: #2d3748;
    --light-gray-color: #f7fafc;
    --border-color: #e2e8f0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

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

section {
    padding: 4rem 0;
}

/* --- Buttons --- */
.cta-button,
.secondary-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.cta-button {
    background-color: var(--primary-color);
    color: #fff;
}

.cta-button:hover {
    background-color: #333;
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--border-color);
}

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

/* --- Header --- */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.shipping-badge {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo:hover {
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    background-color: var(--light-gray-color);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin: 1rem 0 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #718096;
}

.feature i {
    margin-right: 0.5rem;
}

.hero-background img {
    margin-top: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* --- Catalog Section --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    min-height: 580px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-card h3 {
    margin: 1rem 0 0.5rem;
}

.product-card p {
    font-size: 0.9rem;
    color: #718096;
    padding: 0 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1rem 0;
}

.add-to-cart-btn {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 1rem;
    width: 90%;
    margin-bottom: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #434190;
}

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 6px;
    font-weight: 700;
}

.badge.new {
    background-color: var(--secondary-color);
}

.filters {
    display: none;
}

/* UI placeholder */

/* --- Benefits Section --- */
.benefits-section {
    background-color: var(--light-gray-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    text-align: center;
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* --- Size Guide Section --- */
.size-guide-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.size-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.size-table th,
.size-table td {
    border: 1px solid var(--border-color);
    padding: 0.8rem;
}

.size-table th {
    background-color: var(--light-gray-color);
}

.size-info {
    background-color: var(--light-gray-color);
    padding: 1.5rem;
    border-radius: 8px;
}

/* --- Shipping & FAQ --- */
.shipping-faq-section .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.shipping-info ul {
    list-style-type: disc;
    padding-left: 20px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 0 1rem;
}

/* --- Reviews Section --- */
.reviews-section {
    background-color: var(--light-gray-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.review-card .stars {
    color: #f6993f;
    margin-bottom: 0.5rem;
}

.review-card cite {
    font-style: normal;
    font-weight: 600;
    display: block;
    margin-top: 1rem;
}

/* --- Contact Section --- */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.social-icons {
    margin: 1.5rem 0;
}

.social-icons a {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    color: var(--text-color);
}

.map-image {
    border-radius: 8px;
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--accent-color);
}

.error-message {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#form-status {
    margin-top: 1rem;
    font-weight: 600;
}

#form-status.success {
    color: green;
}

#form-status.error {
    color: var(--accent-color);
}

.honeypot {
    display: none;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--light-gray-color);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.copyright {
    font-size: 0.9rem;
    color: #718096;
}

/* --- Cookie Notice --- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 200;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-buttons button,
.cookie-buttons a {
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-buttons a {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

/* --- Privacy Policy Page --- */
.privacy-page .main-header {
    position: static;
}

.text-container {
    max-width: 800px;
}

.text-container h1 {
    margin-bottom: 2rem;
}

.text-container h2 {
    text-align: left;
    margin-top: 2rem;
}

.text-container ul {
    list-style: disc;
    padding-left: 25px;
}

.text-container ul li {
    margin-bottom: 0.5rem;
}

/* --- Media Queries (Mobile-First) --- */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-section {
        flex-direction: row;
        text-align: left;
        padding: 4rem 0;
    }

    .hero-content {
        flex: 1;
        padding-right: 2rem;
    }

    .hero-background {
        flex: 1;
    }

 
   

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

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

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

    .shipping-faq-section .container {
        flex-direction: row;
        align-items: flex-start;
    }

    .shipping-info,
    .faq-container {
        flex: 1;
    }

    .contact-grid {
        flex-direction: row;
    }

    .contact-details,
    .contact-form-container {
        flex: 1;
    }

    .cookie-notice {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .size-guide-content {
        flex-direction: row;
        align-items: center;
    }

    .size-table,
    .size-info {
        flex: 1;
    }
}