:root {
    --color-cream: #FDFBF7;
    --color-wood-dark: #3E2723;
    --color-wood-light: #5D4037;
    --color-bordeaux: #800020;
    --color-bordeaux-hover: #5e0017;
    --color-text: #2C2A29;
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(62, 39, 35, 0.08);
    --shadow-hover: 0 15px 40px rgba(62, 39, 35, 0.15);
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --color-cream: #1A1817;
    --color-wood-dark: #FDFBF7;
    --color-wood-light: #C4A484;
    --color-text: #E5E0D8;
    --color-white: #2C2A29;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea {
    color: var(--color-text);
    background-color: var(--color-white);
    border-color: rgba(255,255,255,0.2);
}

[data-theme="dark"] .tracking-result.info {
    background: #3E2723;
    color: #FDFBF7;
}

[data-theme="dark"] .hero {
    background-image: linear-gradient(rgba(26, 24, 23, 0.88), rgba(26, 24, 23, 0.88)), url('images/hero_wine_crates.webp');
}

[data-theme="dark"] .header {
    background-color: rgba(26, 24, 23, 0.95);
}

[data-theme="dark"] .inspiration-card {
    background: #2C2A29;
}

[data-theme="dark"] .about-section {
    background-color: #2C2A29;
}

[data-theme="dark"] .footer {
    background-color: #1A1817;
    border-top: 1px solid rgba(255,255,255,0.05);
}

[data-theme="dark"] .scroll-indicator a {
    color: var(--color-wood-light);
}

[data-theme="dark"] .mouse {
    border-color: var(--color-wood-light);
}

[data-theme="dark"] .wheel {
    background-color: var(--color-wood-light);
}

[data-theme="dark"] .arrows span {
    border-color: var(--color-wood-light);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-wood-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--color-bordeaux);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--color-wood-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--color-bordeaux-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-wood-dark);
    border: 2px solid var(--color-wood-dark);
}

.btn-secondary:hover {
    background-color: var(--color-wood-dark);
    color: var(--color-white);
}

.w-100 {
    width: 100%;
}

/* Header */
.header {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-bordeaux);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-weight: 500;
    color: var(--color-wood-dark);
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-bordeaux);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 200;
}

.hamburger span {
    width: 25px;
    height: 2.5px;
    background-color: var(--color-wood-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero Section */
.hero {
    min-height: 95vh;
    padding: 140px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(253, 251, 247, 0.55), rgba(253, 251, 247, 0.55)), url('images/hero_wine_crates.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(128,0,32,0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(62,39,35,0.05) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-text {
    max-width: 850px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(128,0,32,0.1);
    color: var(--color-bordeaux);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeIn 0.8s ease-out;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-wood-dark);
    animation: fadeIn 1s ease-out;
}

.hero h1 em {
    color: var(--color-bordeaux);
    font-style: normal;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-wood-light);
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1.4s ease-out;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-bordeaux);
    font-weight: 500;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--color-bordeaux);
    border-radius: 20px;
    position: relative;
    display: block;
    margin-bottom: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-bordeaux);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrows span {
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--color-bordeaux);
    border-right: 2px solid var(--color-bordeaux);
    transform: rotate(45deg);
    margin: -2px;
    animation: arrowScroll 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrows span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowScroll {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .scroll-indicator {
        display: none;
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

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

.product-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Skeleton Loader */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% { background-color: rgba(200, 200, 200, 0.2); }
    100% { background-color: rgba(200, 200, 200, 0.5); }
}

[data-theme="dark"] .skeleton {
    animation: skeleton-loading-dark 1s linear infinite alternate;
}
@keyframes skeleton-loading-dark {
    0% { background-color: rgba(255, 255, 255, 0.05); }
    100% { background-color: rgba(255, 255, 255, 0.1); }
}

.skeleton-img { height: 250px; border-radius: 8px; margin-bottom: 20px; }
.skeleton-text { height: 20px; border-radius: 4px; margin-bottom: 10px; width: 100%; }
.skeleton-text.short { width: 60%; }
.skeleton-btn { height: 45px; border-radius: var(--border-radius); margin-top: 20px; width: 100%; }
.skeleton .skeleton-img, .skeleton .skeleton-text, .skeleton .skeleton-btn {
    background: inherit;
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-bordeaux);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-desc {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.product-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.price {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-bordeaux);
}

.qty-selector {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 3px;
}

[data-theme="dark"] .qty-selector {
    background: #2a2827;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .qty-btn {
    background: #3e2723;
    color: #fdfbf7;
}

.qty-btn:hover {
    background: #eee;
}

[data-theme="dark"] .qty-btn:hover {
    background: #5d4037;
}

.qty-input {
    width: 36px;
    text-align: center;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
}

[data-theme="dark"] .qty-input {
    color: #fdfbf7;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease-in-out;
}

/* About Section */
.about-section {
    background-color: var(--color-wood-dark);
    color: var(--color-cream);
    padding: 80px 0;
    text-align: center;
}

.about-text h2 {
    color: var(--color-cream);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

/* Fix for dark mode - force light text in about section */
[data-theme="dark"] .about-section,
[data-theme="dark"] .about-text h2,
[data-theme="dark"] .about-text p {
    color: #FDFBF7;
}

/* Stats Counter Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #800020 0%, #5e0017 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-top: 8px;
    font-weight: 500;
}

/* Reassurance Section */
.reassurance-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.reassurance-item {
    padding: 25px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.reassurance-item:hover {
    background-color: var(--color-cream);
    transform: translateY(-5px);
}

.reassurance-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.reassurance-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.reassurance-item p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
}

/* Scroll offset for sticky header on anchor links */
section[id] {
    scroll-margin-top: 80px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--color-cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-item[open] {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-wood-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-bordeaux);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    color: var(--color-bordeaux);
}

.nav a:hover {
    color: var(--color-bordeaux);
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
    color: var(--color-text);
}
.theme-toggle:hover {
    transform: scale(1.1);
}

.faq-answer {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-bordeaux), var(--color-bordeaux-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(128, 0, 32, 0.4);
    z-index: 500;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(128, 0, 32, 0.5);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(128, 0, 32, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(128, 0, 32, 0.6); }
}

/* Footer */
.footer {
    background-color: #f5f1e8;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(93, 64, 55, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--color-bordeaux);
    margin-bottom: 10px;
}

.footer-contact h4 {
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(93, 64, 55, 0.1);
    font-size: 0.9rem;
    color: var(--color-wood-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 39, 35, 0.5);
    backdrop-filter: blur(5px);
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px 0;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--color-cream);
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    margin: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: sticky;
    top: 0;
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: var(--color-wood-light);
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
    background-color: var(--color-cream);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--color-bordeaux);
    background-color: rgba(128, 0, 32, 0.08);
}

.modal-content h2 {
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 25px;
    color: var(--color-wood-light);
}

/* Review Form */
.review-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 30px;
}

.review-form h3 { color: var(--color-cream); margin-bottom: 5px; }

.review-input {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
}

.review-input:focus { outline: none; border-color: rgba(255,255,255,0.5); }
.review-input::placeholder { color: rgba(255,255,255,0.4); }

.reviews-empty {
    text-align: center;
    padding: 30px;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-wood-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(93, 64, 55, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: var(--color-white);
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-bordeaux);
}

.modal-note {
    margin-top: 20px;
    font-size: 0.85rem;
    font-style: italic;
    color: #888;
    text-align: center;
}

/* Legal Page */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.legal-page .legal-subtitle {
    color: var(--color-wood-light);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.legal-section {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(128, 0, 32, 0.15);
}

.legal-section p,
.legal-section li {
    color: var(--color-text);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section ul li::before {
    content: '→';
    color: var(--color-bordeaux);
    font-weight: bold;
    margin-right: 10px;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--color-bordeaux);
    font-weight: 500;
    transition: var(--transition);
}

.legal-back-link:hover {
    gap: 12px;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-wood-dark) 0%, #2c1a14 100%);
    color: var(--color-cream);
}

.testimonials-section .section-title h2 { color: var(--color-cream); }
.testimonials-section .section-title p { color: rgba(253,251,247,0.7); }
.testimonials-section .section-title h2::after { background-color: rgba(253,251,247,0.4); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-5px);
}

.testimonial-stars { color: #f4c430; font-size: 1.1rem; margin-bottom: 15px; }
.testimonial-text { font-style: italic; line-height: 1.7; margin-bottom: 15px; opacity: 0.9; }
.testimonial-author { font-weight: 600; font-size: 0.9rem; }
.testimonial-location { font-size: 0.8rem; opacity: 0.6; }

/* Inspiration Gallery */
.inspiration-section { padding: 80px 0; background-color: var(--color-white); }

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.inspiration-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 280px;
    background: #f0ebe3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    transition: var(--transition);
    cursor: default;
}

.inspiration-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.inspiration-card .inspi-icon { font-size: 3rem; margin-bottom: 15px; }
.inspiration-card h4 { font-size: 1.2rem; margin-bottom: 8px; }
.inspiration-card p { font-size: 0.9rem; color: #888; }

/* Order Tracking */
.tracking-section {
    padding: 60px 0;
    background: var(--color-cream);
}

.tracking-form {
    max-width: 500px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.tracking-form h3 { margin-bottom: 5px; }
.tracking-form > p { color: #888; font-size: 0.9rem; margin-bottom: 20px; }

.tracking-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tracking-inputs input {
    flex: 1;
    min-width: 120px;
    padding: 12px 15px;
    border: 1px solid rgba(93,64,55,0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.tracking-inputs input:focus {
    outline: none;
    border-color: var(--color-bordeaux);
}

.tracking-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.tracking-result.success { display: block; background: #d4edda; color: #155724; }
.tracking-result.error { display: block; background: #f8d7da; color: #721c24; }
.tracking-result.info { display: block; background: #fff3cd; color: #856404; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: var(--color-wood-dark);
    color: var(--color-cream);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-bordeaux); transform: translateY(-3px); }

/* Responsive */
@media (max-width: 768px) {
    .hero { height: auto; min-height: 80vh; padding: 120px 0 60px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.05rem; }

    .hamburger { display: flex; }

    /* Remove backdrop-filter on mobile so position:fixed nav works relative to viewport */
    .header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: #FDFBF7;
    }

    [data-theme="dark"] .header {
        background-color: #1A1817;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #FDFBF7;
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        z-index: 150;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav.open {
        display: flex;
        opacity: 1;
    }

    .nav.open a {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--color-wood-dark);
        padding: 8px 25px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .nav.open a:hover {
        background: rgba(128, 0, 32, 0.08);
        color: var(--color-bordeaux);
    }

    /* Dark mode mobile nav */
    [data-theme="dark"] .nav {
        background: #1A1817;
    }

    [data-theme="dark"] .nav.open a {
        color: #FDFBF7;
    }

    [data-theme="dark"] .nav.open a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #C4A484;
    }

    .modal-content {
        padding: 25px 20px;
        width: 95%;
        max-height: 85vh;
    }

    .product-grid { grid-template-columns: 1fr; gap: 20px; }
    .reassurance-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .inspiration-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .legal-page { padding: 100px 0 60px; }
    .legal-page h1 { font-size: 1.8rem; }
    .legal-section { padding: 20px; }

    .floating-contact { bottom: 15px; right: 15px; width: 50px; height: 50px; font-size: 1.2rem; }
    .back-to-top { bottom: 15px; left: 15px; width: 40px; height: 40px; }
}

/* Cart Link and Badge */
.cart-link {
    position: relative;
    font-size: 1.3rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cart-badge {
    background: var(--color-bordeaux, #800020);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -6px;
    right: -8px;
    font-weight: bold;
    min-width: 15px;
    text-align: center;
}

