/* Basic Styles & Typography */
:root {
    --primary-color: #6a0dad; /* A rich purple */
    --secondary-color: #f0f0f0;
    --text-color: #333;
    --light-text-color: #666;
    --background-color: #fff;
    --light-bg-color: #fafafa;
    --border-color: #ddd;
    --font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #4a0d8e;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed);
}

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

.btn-primary:hover {
    color: white;
    background-color: #4a0d8e;
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    font-size: 1.2rem;
    color: var(--light-text-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons .btn {
    margin: 0 10px;
}

.shipping-info {
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.shipping-info .fas {
    color: #fff;
    margin-right: 8px;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Catalog */
.catalog {
    background-color: var(--light-bg-color);
}

.filters {
    text-align: center;
    margin-bottom: 30px;
}

.filters label, .filters select {
    font-size: 1rem;
}

.filters select {
    padding: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    animation: fadein 0.8s ease-in-out forwards;
    opacity: 0; /* Initial state for animation */
}

.product-card.show {
    opacity: 1;
}

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

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.product-details {
    padding: 20px;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.product-description {
    color: var(--light-text-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 15px;
}

.product-tags {
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
}

.product-actions .btn {
    width: 100%;
    margin-top: 10px;
}

/* About Section */
.about-content {
    text-align: center;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-item {
    text-align: center;
    max-width: 250px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Sizing & Materials */
.sizing-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.sizing-table, .material-care {
    max-width: 500px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: left;
}

th, td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
}

.care-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.care-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 30px;
}

/* Delivery & Returns */
.delivery-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    text-align: center;
    flex-wrap: wrap;
}

.delivery-item {
    max-width: 400px;
}

.delivery-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Reviews */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: cover;
}

.review-stars .fas {
    color: #ffc107;
}

.review-text {
    font-style: italic;
    color: var(--light-text-color);
}

.review-disclaimer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #888;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.map-placeholder {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.contact-form button {
    width: auto;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: #fff;
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    margin-top: 10px;
}

.footer-links a, .footer-legal a {
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.footer-payment .payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--text-color);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 2000;
    transition: transform 0.5s ease-in-out;
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1;
}

.cookie-buttons .btn {
    white-space: nowrap;
}

/* Privacy Page Specifics */
.privacy-page .header {
    box-shadow: none;
    background: var(--light-bg-color);
}

.privacy-content {
    padding: 80px 0;
}

.privacy-content h2 {
    margin-top: 2em;
}

.privacy-content ul {
    list-style-position: inside;
    margin-top: 10px;
}

.back-link {
    margin-top: 40px;
}

/* Animations */
@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .header .btn-primary, .header-actions .social-icon {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform var(--transition-speed) ease-in-out;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .nav-menu li {
        margin: 10px 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        margin-bottom: 10px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}