﻿:root {
    /* Palette: Fresh, Organic, Non-Gamer */
    --bg-color: #F9F9F7;       /* Warm Off-White */
    --card-bg: #FFFFFF;        /* Pure White */
    --text-main: #2D3142;      /* Soft Charcoal */
    --text-muted: #4F5D75;     /* Blue Grey */
    --accent-primary: #EF8354; /* Soft Coral/Terracotta */
    --accent-secondary: #BFCBC2; /* Sage Green */
    --border-color: #E0E0E0;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.08);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    /* Optimized SVG Noise Texture for Paper-like feel */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.main-header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(249, 249, 247, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo span { color: var(--accent-primary); }

.main-nav ul { display: flex; gap: 2.5rem; }

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover { color: var(--accent-primary); }
.main-nav a:hover::after { width: 100%; }

.cart-icon {
    font-weight: 500;
    background: var(--text-main);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit; /* inherit white from parent */
    text-decoration: none;
}

.cart-symbol { display: none; } /* Hidden on desktop */

.cart-icon:hover { transform: scale(1.05); }

/* Hero Section */
.hero {
    padding: 6rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-primary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 131, 84, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 131, 84, 0.4);
}

/* Abstract Shape Animation */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Secondary shape for depth */
.hero-image::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(-40px, 40px);
    z-index: 0;
    filter: blur(40px);
}

.abstract-shape {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #E0E7E4 0%, #BFCBC2 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    position: relative;
    z-index: 1;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.05), -20px -20px 60px rgba(255,255,255,0.8);
}

/* Abstract Shape IMG (Floating Hero) */
.abstract-shape img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    z-index: 2;
    transition: transform 0.5s ease;
}

.abstract-shape:hover img {
    transform: translate(-50%, -52%) scale(1.02);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Products */
.product-section { padding: 6rem 0; }
.alt-bg { 
    background-color: #F4F6F5; 
    /* Subtle dot pattern */
    background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 32px 32px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,0,0,0.05);
}

.product-image-wrapper {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 1 / 1;
    background-color: #f0f0f0;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover img { transform: scale(1.08); }

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.platform, .category {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 0.75rem;
    display: block;
}

.btn-add {
    width: 100%;
    margin-top: 1.25rem;
    background: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
    padding: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.btn-add:hover {
    background: var(--text-main);
    color: #fff;
}

/* Category Filter Pills */
.categories-section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
}

.category-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cat-pill {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-color);
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
}

.cat-pill:hover {
    background-color: #fff;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cat-pill.active {
    background-color: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 15px rgba(239, 131, 84, 0.3);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.overline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.image-stack {
    position: relative;
    height: 500px;
    width: 100%;
}

.img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 90%;
    background-color: var(--accent-secondary);
    border-radius: var(--radius-lg);
}

.img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 85%;
    height: 85%;
    background-color: #eee;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-weight: 700;
}

/* Editorial Section */
.editorial-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.editorial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.editorial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.ed-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.editorial-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.editorial-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.text-link {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.text-link:hover {
    color: var(--accent-primary);
}

/* Events Section (Dark Theme) */
.events-section {
    background-color: var(--text-main);
    color: #fff;
    padding: 6rem 0;
}

.events-header {
    text-align: center;
    margin-bottom: 4rem;
}

.events-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.events-header p {
    color: #aaa;
    font-size: 1.2rem;
}

.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.event-item:hover {
    background: rgba(255,255,255,0.05);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 2rem;
    min-width: 60px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.event-info p {
    color: #aaa;
    font-size: 0.95rem;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-light:hover {
    border-color: #fff;
    background: #fff;
    color: var(--text-main);
}

/* Trade-In Section */
.trade-in-section {
    padding: 6rem 0;
    background-color: #fff;
    overflow: hidden;
}

.trade-in-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trade-in-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.check-list {
    margin: 2rem 0;
}

.check-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trade-in-visual {
    display: flex;
    justify-content: center;
}

.visual-circle {
    width: 300px;
    height: 300px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    position: relative;
}

.visual-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--text-main);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Info Banner - Fixed Styles */
.info-banner {
    background-color: var(--accent-secondary);
    padding: 5rem 0;
    margin-top: 0; /* Removed margin to connect with previous section */
    color: var(--text-main);
}

.info-banner .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    text-align: center;
}

.info-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Make the emoji icon larger and separate */
.info-item h4::before {
    content: attr(data-icon); /* We can use this if we move icons to data attributes, but for now just styling the text content */
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Footer - Fixed Styles */
footer {
    background-color: var(--text-main);
    color: #fff;
    padding: 5rem 0 2rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: left; /* Ensure text aligns left */
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: #fff;
    padding-left: 5px;
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}

/* Newsletter Polish */
.newsletter-section {
    padding: 6rem 0;
    background-color: #fff; /* White bg to separate from grey info banner */
}

.newsletter-box {
    background: linear-gradient(135deg, var(--text-main) 0%, #1a1d29 100%);
    color: #fff;
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.newsletter-box h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-box p {
    color: #ccc;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    width: 300px;
    font-family: var(--font-body);
}

.newsletter-form button {
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    background-color: var(--accent-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background-color: #fff;
    color: var(--accent-primary);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.product-grid .product-card:nth-child(2) { transition-delay: 0.1s; }
.product-grid .product-card:nth-child(3) { transition-delay: 0.2s; }
.product-grid .product-card:nth-child(4) { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3rem; }
    .hero-text p { margin: 0 auto 2rem; }
    .hero-image { margin-top: 2rem; }
    .abstract-shape { width: 300px; height: 300px; }
    .main-nav { display: none; /* Mobile menu would go here */ }
    .trade-in-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .check-list li {
        justify-content: center;
    }
    .newsletter-form input {
        width: 100%;
    }
    .about-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    .image-stack {
        height: 300px;
        margin-top: 2rem;
    }
    .event-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .event-date { margin-right: 0; }
    
    /* Fix for mobile layout issues */
    .section-title {
        font-size: 1.75rem; /* Reduced to ensure it fits on small screens */
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 1rem;
    }
    
    .product-grid, .editorial-grid {
        grid-template-columns: 1fr; /* Force single column on mobile */
    }
    
    .container {
        padding: 0 1.5rem; /* Slightly reduce container padding to give more space for content */
    }
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--text-main);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#backToTop:hover {
    background-color: var(--accent-primary);
    transform: translateY(-5px);
}

/* Product Detail Page Styles */
.product-detail-main {
    padding: 4rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-gallery {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.product-info-col h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    display: block;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-description {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.product-description h2 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* Enhanced Gallery Styles */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center; /* Center content */
}

.gallery-main {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    background: white;
    padding: 1rem;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.gallery-thumbs img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 1px solid var(--border-color);
}

.gallery-thumbs img:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
}


/* Editorial & Guide Styles */
.page-editorial, .page-guide {
    background: #fff;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-main);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    border-bottom: 2px solid var(--accent-secondary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* Comparison Box Style for Guide */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-col {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.comparison-col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.comparison-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.comparison-list.bad li::before {
    content: 'вќЊ';
    position: absolute;
    left: 0;
}

.comparison-list.good li::before {
    content: 'вњ…';
    position: absolute;
    left: 0;
}

/* Comments Section */
.comments-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.comment-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.comment-author {
    font-weight: bold;
    color: var(--text-main);
}

.comment-text {
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    position: relative;
}

.comment-text::before {
    content: 'вЂњ';
    font-family: serif;
    font-size: 3rem;
    color: var(--accent-secondary);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 10px;
}

@media (max-width: 768px) {
    .comparison-box {
        grid-template-columns: 1fr;
    }
}


/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--text-main);
    color: #fff;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-link {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    margin-left: 1rem;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}


/* Cart Page Styling */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.cart-item-title {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-remove {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.btn-remove:hover {
    color: #d63031;
    text-decoration: underline;
}

/* Cart Summary */
.cart-summary {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky; /* Sticky summary is nice on desktop */
    top: 100px; 
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        /* On very small screens we might want to wrap if content is long */
    }
    
    .cart-item-title {
        white-space: normal; /* Allow wrapping on mobile */
    }

    .cart-summary {
        position: static; /* No sticky on mobile usually */
        margin-top: 2rem;
        order: 2; /* Ensure it stays at bottom or top depending on preference, usually bottom is standard for mobile web but let's see */
    }
}


/* Checkout Page Styling */
.checkout-form-container {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-color); /* Light background for inputs */
    border: 1px solid var(--border-color);
    color: var(--text-main); /* Dark text */
    border-radius: 4px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 480px) {
    .checkout-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr; /* Stack PLZ and Stadt on very small screens */
    }
}


/* Responsive adjustments for Product Detail */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-main {
        padding: 2rem 0;
    }
    
    .product-info-col h1 {
        font-size: 2rem;
    }
}

.hero-gift-badge {
    position: absolute;
    bottom: -30px;
    right: -40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.6);
    animation: floatBadge 6s ease-in-out infinite;
    z-index: 5;
    max-width: 280px;
    transform-origin: center;
}

.hero-gift-badge:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    cursor: default;
}

.gift-icon {
    font-size: 1.8rem;
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(239, 131, 84, 0.15);
    border: 2px solid var(--bg-color);
}

.gift-content {
    display: flex;
    flex-direction: column;
}

.gift-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 2px;
}

.gift-code {
    font-family: var(--font-body); /* Kept body font for readability */
    font-size: 1rem;
    color: var(--text-main);
    background: var(--accent-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 2px;
}

.gift-code strong {
    color: var(--text-main);
    font-weight: 700;
}

.gift-sub {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

/* Ensure container has room for absolute positioned badge */
.hero-image {
    position: relative;
    /* allow overlap */
    z-index: 10;
}


/* Mobile Optimization */
@media (max-width: 768px) {
    /* Disable heavy animations */
    .hero-gift-badge, .abstract-shape, .abstract-shape img {
        animation: none !important;
        transition: none !important;
    }
    
    /* Simplified positioning for Gift Badge on mobile */
    .hero-gift-badge {
        position: relative;
        inset: auto; /* resets top/right/bottom/left */
        margin: 1.5rem auto 0;
        width: auto;
        max-width: 90%;
        
        background: #fff;
        border: 1px solid rgba(239, 131, 84, 0.3); /* Accent color border soft */
        box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* nicer shadow */
        border-radius: 16px;
        
        display: flex;
        justify-content: flex-start; /* Keep icon and text together */
        align-items: center;
        padding: 1rem;
        
        /* Remove desktop effects */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none !important;
        animation: none !important;
        z-index: 10;
        text-align: left;
    }

    .hero-gift-badge:hover {
        transform: none;
        background: #fff;
    }
    
    .hero-image {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Disable hover effects */
    .product-card:hover {
        transform: none;
    }
    
    .product-image-wrapper img {
        transition: none;
    }
    
    .product-card:hover img {
        transform: none;
    }

    /* Reduce font size for hero */
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    /* Better spacing */
    .hero {
        padding: 3rem 0;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    /* Simplify Abstract Shape */
    .abstract-shape {
        border-radius: 50% !important; /* Stop morphing shape calculation */
    }

    /* Mobile Header & Cookie Fixes */
    .container { padding: 0 1.25rem; }

    .logo { 
        font-size: 1.3rem; 
        flex-shrink: 1;
    }

    /* Compact Cart for Mobile */
    .cart-text { display: none; }
    .cart-symbol { display: inline-block; font-size: 1.2rem; }
    
    .cart-icon {
        padding: 0.5rem 0.8rem;
        flex-shrink: 0;
    }

    /* Compact Cookie Banner */
    .cookie-banner { padding: 1rem; }
    .cookie-content { flex-direction: column; gap: 0.75rem; }
    .cookie-btn { margin-left: 0; width: 100%; }
}

.btn-outline {
 display: inline-block;
 background-color: transparent;
 color: var(--text-main);
 border: 2px solid var(--border-color);
 padding: 0.8rem 2rem;
 border-radius: 50px;
 font-weight: 600;
 transition: all 0.3s ease;
 cursor: pointer;
 margin-top: 1rem;
}

.btn-outline:hover {
 border-color: var(--accent-primary);
 color: var(--accent-primary);
 transform: translateY(-2px);
}

