﻿:root {
    --cream: #FBF8F3;
    --ink: #2C2420;
    --rust: #C85C3C;
    --sage: #8B9B8E;
    --gold: #D4A574;
    --shadow: rgba(44, 36, 32, 0.08);
    --border: rgba(44, 36, 32, 0.12);
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* ============================================
   HEADER COMPONENT
   ============================================ */

.site-header {
    background: white;
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ink);
}

.logo-accent {
    color: var(--rust);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--ink);
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

/* Desktop Navigation - Hidden on Mobile */
.desktop-nav {
    display: none;
}

/* Mobile Navigation */
.mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .mobile-nav.active {
        max-height: 400px;
        padding-bottom: 1rem;
    }

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease;
}

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        color: var(--rust);
    }

.cart-count-mobile {
    display: inline-block;
    background: var(--rust);
    color: white;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Work Sans', sans-serif;
}

.btn-primary {
    background: var(--rust);
    color: white;
}

    .btn-primary:hover {
        background: #B34D2F;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(200, 92, 60, 0.3);
    }

.btn-secondary {
    background: var(--sage);
    color: white;
}

    .btn-secondary:hover {
        background: #7A8A7D;
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--ink);
    color: var(--ink);
}

    .btn-outline:hover {
        background: var(--ink);
        color: var(--cream);
    }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================================
   HERO / CAROUSEL
   ============================================ */

.hero {
    position: relative;
    margin-bottom: 3rem;
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

    .carousel-slide.active {
        opacity: 1;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 36, 32, 0.3), rgba(44, 36, 32, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.carousel-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.carousel-subtitle {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--ink);
    z-index: 10;
}

    .carousel-control:hover {
        background: white;
    }

    .carousel-control.prev {
        left: 1rem;
    }

    .carousel-control.next {
        right: 1rem;
    }

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: white;
        width: 30px;
        border-radius: 6px;
    }

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 3rem 0;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-style: italic;
}

.section-subtitle {
    text-align: center;
    color: var(--sage);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
    background: white;
}

.steps-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: var(--rust);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.step-description {
    color: var(--sage);
    line-height: 1.6;
}

/* ============================================
   PRODUCT CATEGORIES
   ============================================ */

.categories-grid {
    display: grid;
    gap: 1.5rem;
}

.category-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px var(--shadow);
    }

.category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.view-all-icon {
    font-size: 4rem;
    color: var(--rust);
}

.category-title {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.2rem;
}

.category-description {
    padding: 0 1rem 1rem;
    color: var(--sage);
    font-size: 0.9rem;
}

.category-card-all {
    background: linear-gradient(135deg, var(--rust), var(--gold));
}

    .category-card-all .category-title,
    .category-card-all .category-description {
        color: white;
    }

/* ============================================
   PRICING PREVIEW
   ============================================ */

.pricing-preview {
    background: white;
}

.pricing-cards {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
}

.pricing-card-featured {
    background: white;
    border: 2px solid var(--rust);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rust);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.pricing-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--rust);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

    .pricing-features li {
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border);
        color: var(--sage);
    }

        .pricing-features li:before {
            content: "✓ ";
            color: var(--rust);
            font-weight: 600;
            margin-right: 0.5rem;
        }

/* ============================================
   WHY CHOOSE US
   ============================================ */

.benefits-grid {
    display: grid;
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--shadow);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.benefit-description {
    color: var(--sage);
    line-height: 1.6;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    background: linear-gradient(135deg, var(--rust), var(--gold));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-text {
    color: var(--sage);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: var(--cream);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: var(--gold);
        }

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--rust);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: var(--gold);
        transform: translateY(-2px);
    }

.footer-bottom {
    border-top: 1px solid rgba(251, 248, 243, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: var(--sage);
    font-size: 0.9rem;
}

/* ============================================
   TABLET (768px and up)
   ============================================ */

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .logo {
        font-size: 1.75rem;
    }

    .carousel {
        height: 500px;
    }

    .carousel-title {
        font-size: 3rem;
    }

    .carousel-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* ============================================
   DESKTOP (1024px and up)
   ============================================ */

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        color: var(--ink);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
        position: relative;
    }

        .nav-link:hover,
        .nav-link.active {
            color: var(--rust);
        }

            .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: -0.5rem;
                left: 0;
                right: 0;
                height: 2px;
                background: var(--rust);
            }

    .cart-link {
        position: relative;
    }

    .cart-count {
        position: absolute;
        top: -8px;
        right: -12px;
        background: var(--rust);
        color: white;
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
    }

    .carousel {
        height: 600px;
    }

    .carousel-title {
        font-size: 3.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* ============================================
   SHOP PAGE STYLES
   ============================================ */

.page-header {
    background: white;
    padding: 3rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-style: italic;
}

.page-subtitle {
    color: var(--sage);
    font-size: 1.1rem;
}

.shop-section {
    padding: 3rem 0;
}

.shop-filters {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--shadow);
}

.filter-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-size: 0.9rem;
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: 2px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    background: var(--cream);
    color: var(--ink);
}

    .filter-group select:focus {
        outline: none;
        border-color: var(--rust);
    }

.products-grid {
    display: grid;
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px var(--shadow);
    }

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--cream);
}

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.product-category {
    color: var(--sage);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-pricing {
    margin-bottom: 1rem;
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--sage);
    margin-bottom: 0.25rem;
}

.price-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--rust);
}

.product-sizes {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.sizes-label {
    font-size: 0.85rem;
    color: var(--sage);
    margin-right: 0.5rem;
}

.sizes-list {
    font-size: 0.9rem;
    color: var(--ink);
}

.no-results,
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 4px;
}

    .no-results h3,
    .error-state h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: var(--ink);
    }

    .no-results p,
    .error-state p {
        color: var(--sage);
        margin-bottom: 1.5rem;
    }

.loading {
    text-align: center;
    padding: 4rem 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--rust);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   PRODUCT MODAL
   ============================================ */

.product-modal-content {
    max-width: 900px;
}

.product-modal-body {
    display: grid;
    gap: 2rem;
    padding: 1.5rem 0;
}

.product-modal-image {
    width: 100%;
    height: 300px;
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
}

    .product-modal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-modal-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.product-price-display {
    margin-bottom: 2rem;
}

    .product-price-display .price-amount {
        font-size: 2rem;
    }

.product-options {
    margin-bottom: 2rem;
}

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

    .option-group label {
        display: block;
        font-weight: 500;
        margin-bottom: 0.5rem;
        color: var(--ink);
    }

    .option-group select,
    .option-group input[type="number"] {
        width: 100%;
        padding: 0.75rem;
        border: 1.5px solid var(--border);
        border-radius: 2px;
        font-family: 'Work Sans', sans-serif;
        font-size: 0.95rem;
        background: var(--cream);
    }

        .option-group select:focus,
        .option-group input:focus {
            outline: none;
            border-color: var(--rust);
        }

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.color-option {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}

    .color-option:hover {
        border-color: var(--sage);
    }

    .color-option.active {
        border-color: var(--rust);
        background: var(--rust);
        color: white;
    }

.current-price {
    background: var(--cream);
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .current-price .price-amount {
        font-size: 1.5rem;
    }

.product-modal-actions {
    text-align: center;
}

    .product-modal-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

.help-text {
    color: var(--sage);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.stock-info {
    text-align: center;
    margin-top: 1rem;
}

/* ============================================
   TABLET & DESKTOP ADJUSTMENTS
   ============================================ */

@media (min-width: 768px) {
    .shop-filters {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .product-modal-body {
        grid-template-columns: 1fr 1fr;
    }

    .product-modal-image {
        height: 400px;
    }
}

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

    .product-modal-actions .btn {
        width: auto;
    }
}

/* ============================================
   MODAL STYLES (for shop product modal)
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 36, 32, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    padding: 1rem;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
}

    .modal.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

@media (min-width: 1024px) {
    .modal-content {
        max-width: 1000px;
    }

    .product-modal-content {
        max-width: 1100px;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ink);
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--sage);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: all 0.2s ease;
    line-height: 1;
}

    .close-btn:hover {
        background: var(--cream);
        color: var(--rust);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close modal when clicking outside */
.modal-content {
    pointer-events: all;
}

/* ============================================
   ADD TO CART CONFIRMATION MODAL
   ============================================ */

.confirm-modal-content {
    max-width: 500px;
    text-align: center;
}

.confirm-modal-body {
    padding: 1rem 0;
}

.confirm-item-details {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: left;
}

    .confirm-item-details > div {
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border);
    }

        .confirm-item-details > div:last-child {
            border-bottom: none;
        }

.confirm-actions {
    display: grid;
    gap: 1rem;
}

    .confirm-actions .btn {
        width: 100%;
    }

@media (min-width: 768px) {
    .confirm-modal-content {
        max-width: 600px;
    }
}

/* ============================================
   CART OVERLAY / SIDEBAR
   ============================================ */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 36, 32, 0.5);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .cart-overlay.active {
        display: block;
        opacity: 1;
    }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 24px rgba(44, 36, 32, 0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-overlay.active .cart-sidebar {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--cream);
}

.cart-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ink);
    margin: 0;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--border);
    background: var(--cream);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

    .cart-subtotal span:last-child {
        color: var(--rust);
        font-family: 'DM Serif Display', serif;
        font-size: 1.5rem;
    }

.cart-note {
    color: var(--sage);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
}

.cart-footer .btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

    .cart-footer .btn:last-child {
        margin-bottom: 0;
    }

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--sage);
}

    .empty-cart h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.3rem;
        color: var(--ink);
        margin-bottom: 0.5rem;
    }

/* Cart Items */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

    .cart-item:last-child {
        border-bottom: none;
    }

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
}

    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.cart-item-details {
    font-size: 0.85rem;
    color: var(--sage);
    margin-bottom: 0.5rem;
}

    .cart-item-details div {
        margin-bottom: 0.15rem;
    }

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 2px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .qty-btn:hover {
        border-color: var(--rust);
        color: var(--rust);
    }

    .qty-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.qty-display {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.cart-item-price {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--rust);
    font-weight: 600;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--sage);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s ease;
}

    .remove-item-btn:hover {
        color: var(--rust);
    }

@media (min-width: 768px) {
    .cart-sidebar {
        max-width: 500px;
    }
}

/* ============================================
   DESIGN PAGE STYLES
   ============================================ */

.design-section {
    padding: 2rem 0 4rem;
}

.design-layout {
    display: grid;
    gap: 2rem;
}

/* Left Panel - Controls */
.design-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-section {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--shadow);
}

    .control-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: var(--ink);
        border-bottom: 1px solid var(--border);
        padding-bottom: 0.5rem;
    }

.product-info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.product-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

    .product-detail-row:last-child {
        border-bottom: none;
    }

    .product-detail-row span:first-child {
        color: var(--sage);
        font-size: 0.9rem;
    }

    .product-detail-row span:last-child {
        font-weight: 500;
    }

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--cream);
}

    .upload-area:hover {
        border-color: var(--rust);
        background: white;
    }

    .upload-area.drag-over {
        border-color: var(--rust);
        background: rgba(200, 92, 60, 0.05);
    }

.upload-placeholder p {
    margin: 0.5rem 0;
}

.uploaded-file-name {
    margin-top: 1rem;
}

.uploaded-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cream);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    color: var(--sage);
}

.remove-file-btn {
    background: none;
    border: none;
    color: var(--rust);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
}

/* Placement Options */
.placement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.placement-btn {
    padding: 0.75rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .placement-btn:hover {
        border-color: var(--sage);
    }

    .placement-btn.active {
        border-color: var(--rust);
        background: var(--rust);
        color: white;
    }

/* Size Guide Info */
.size-guide-info {
    margin-bottom: 1rem;
}

.info-box {
    background: var(--cream);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

    .info-box div {
        padding: 0.25rem 0;
    }

/* Size Inputs */
.size-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

    .size-inputs .form-group {
        margin-bottom: 0;
    }

    .size-inputs label {
        font-size: 0.85rem;
    }

    .size-inputs input {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

.error-text {
    display: block;
    color: var(--rust);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

.quick-size-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

/* Price Summary */
.price-summary {
    background: var(--cream);
    padding: 1rem;
    border-radius: 4px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

    .price-row.total-row {
        border-top: 2px solid var(--border);
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        font-weight: 600;
        font-size: 1.1rem;
    }

        .price-row.total-row span:last-child {
            color: var(--rust);
            font-family: 'DM Serif Display', serif;
            font-size: 1.3rem;
        }

/* Right Panel - Preview */
.design-preview {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--shadow);
}

    .design-preview h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: var(--ink);
        text-align: center;
    }

.mockup-container {
    position: sticky;
    top: 2rem;
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 1;
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
}

.mockup-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.design-overlay {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

    .design-overlay img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 0.9;
    }

.mockup-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(251, 248, 243, 0.9);
    color: var(--sage);
}

/* Mobile Optimizations */
@media (max-width: 640px) {
    .design-section {
        padding: 1rem 0 2rem;
    }

    .design-layout {
        gap: 1rem;
    }

    .control-section {
        padding: 1rem;
        border-radius: 4px;
    }

    .control-section h3 {
        font-size: 1rem;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    /* Placement buttons - smaller on mobile */
    .placement-options {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 0.5rem;
    }

    .placement-btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }

    .size-inputs {
        gap: 0.75rem;
    }

    .quick-size-btns {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .quick-size-btns .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    /* Preview section */
    .design-preview {
        padding: 1rem;
    }

    .mockup-wrapper {
        max-width: 100%;
    }

    /* Ensure form inputs don't overflow */
    .form-group input {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Reduce button padding on mobile */
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Ensure price summary doesn't overflow */
    .price-summary {
        padding: 0.875rem;
    }

    .price-row {
        font-size: 0.9rem;
    }
}

/* Responsive Layout */
@media (min-width: 1024px) {
    .design-layout {
        grid-template-columns: 400px 1fr;
        gap: 2rem;
    }

    .design-controls {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        padding-right: 1rem;
    }

        /* Custom scrollbar for controls */
        .design-controls::-webkit-scrollbar {
            width: 6px;
        }

        .design-controls::-webkit-scrollbar-track {
            background: var(--cream);
            border-radius: 3px;
        }

        .design-controls::-webkit-scrollbar-thumb {
            background: var(--sage);
            border-radius: 3px;
        }

            .design-controls::-webkit-scrollbar-thumb:hover {
                background: var(--rust);
            }
}

@media (min-width: 1280px) {
    .design-layout {
        grid-template-columns: 450px 1fr;
    }
}

/* ============================================
   AUTHENTICATION PAGES
   ============================================ */

.auth-container {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 80px;
}

.auth-box {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.auth-form {
    display: none;
}

    .auth-form.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .auth-form h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 2rem;
        margin-bottom: 0.5rem;
        color: var(--ink);
        font-style: italic;
    }

.auth-subtitle {
    color: var(--sage);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.error-message {
    background: #FEE;
    border-left: 3px solid var(--rust);
    color: var(--rust);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

    .error-message:not(:empty) {
        display: block;
    }

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--sage);
    font-size: 0.9rem;
}

    .auth-switch a {
        color: var(--rust);
        text-decoration: none;
        font-weight: 500;
    }

        .auth-switch a:hover {
            text-decoration: underline;
        }

.form-note {
    font-size: 0.85rem;
    color: var(--sage);
    margin: -0.5rem 0 1.5rem 0;
    font-style: italic;
}

/* Account Menu */
.account-menu {
    position: relative;
    display: inline-block;
}

    .account-menu .account-btn {
        background: none;
        border: none;
        font-family: 'Work Sans', sans-serif;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--ink);
        cursor: pointer;
        padding: 0.5rem 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.2s ease;
    }

        .account-menu .account-btn:hover {
            color: var(--rust);
        }

.arrow-down {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.account-dropdown.show ~ .account-btn .arrow-down,
.account-menu:hover .arrow-down {
    transform: rotate(180deg);
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

    .account-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .account-dropdown a {
        display: block;
        padding: 0.75rem 1rem;
        color: var(--ink);
        text-decoration: none;
        font-size: 0.9rem;
        transition: background 0.2s ease;
    }

        .account-dropdown a:hover {
            background: var(--cream);
            color: var(--rust);
        }

        .account-dropdown a:first-child {
            border-radius: 4px 4px 0 0;
        }

        .account-dropdown a:last-child {
            border-radius: 0 0 4px 4px;
        }

/* ============================================
   STATIC PAGES STYLES
   ============================================ */

/* Page Content */
.page-content {
    min-height: calc(100vh - 200px);
    padding: 6rem 0 4rem;
}

/* Page Hero */
.page-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.page-title {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--ink);
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--sage);
    max-width: 700px;
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--ink);
    margin-bottom: 2rem;
    text-align: center;
}

/* Steps Section (How It Works) - Static Pages Only */
.steps-section {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.steps-section .step-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.steps-section .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--rust);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'DM Serif Display', serif;
}

.step-content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: var(--ink);
    margin-bottom: 1rem;
}

.step-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

    .step-list li {
        padding-left: 1.5rem;
        margin-bottom: 0.5rem;
        position: relative;
    }

        .step-list li::before {
            content: "→";
            position: absolute;
            left: 0;
            color: var(--rust);
        }

/* Info Section */
.info-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: var(--cream);
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .info-card h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.5rem;
        color: var(--rust);
        margin-bottom: 1rem;
    }

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

    .check-list li {
        padding-left: 1.5rem;
        margin-bottom: 0.75rem;
        position: relative;
    }

        .check-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--rust);
            font-weight: 600;
        }

/* FAQ Section */
.faq-section {
    margin: 4rem 0;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .faq-item h4 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.25rem;
        color: var(--ink);
        margin-bottom: 0.75rem;
    }

    .faq-item p {
        color: var(--sage);
        line-height: 1.6;
    }

/* Grid Layouts */
.two-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* CTA Section */
.cta-section {
    margin: 4rem 0;
    padding: 3rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--rust) 0%, #A84A2F 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 8px;
}

    .cta-box h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .cta-box p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline.btn-large {
    background: white;
    color: var(--rust);
    border-color: white;
}

    .btn-outline.btn-large:hover {
        background: transparent;
        color: white;
    }

/* About Page Specific */
.story-section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.story-content {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.story-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--sage);
}

.values-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: var(--cream);
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 1rem;
}

.feature-block {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .feature-block h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.4rem;
        color: var(--rust);
        margin-bottom: 1rem;
    }

.team-section {
    max-width: 800px;
    margin: 4rem auto;
}

.team-intro {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .team-intro p {
        line-height: 1.8;
        color: var(--sage);
        margin-bottom: 1.5rem;
    }

        .team-intro p:last-child {
            margin-bottom: 0;
        }

/* Contact Page Specific */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-form-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 1rem;
}

.form-intro {
    color: var(--sage);
    margin-bottom: 2rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    display: none;
}

    .form-message.success {
        display: block;
        background: #E8F5E9;
        color: #2E7D32;
        border-left: 3px solid #2E7D32;
    }

    .form-message.error {
        display: block;
        background: #FFEBEE;
        color: #C62828;
        border-left: 3px solid #C62828;
    }

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

    .contact-card h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.4rem;
        color: var(--ink);
        margin-bottom: 1.5rem;
    }

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

    .contact-method:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.contact-icon {
    font-size: 2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--rust);
    text-decoration: none;
}

    .contact-details a:hover {
        text-decoration: underline;
    }

.contact-note {
    font-size: 0.9rem;
    color: var(--sage);
    margin-top: 0.25rem;
}

.social-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 500;
}

.quick-faq {
    margin-top: 1rem;
}

.quick-faq-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

    .quick-faq-item:last-child {
        border-bottom: none;
    }

    .quick-faq-item strong {
        display: block;
        color: var(--ink);
        margin-bottom: 0.5rem;
    }

    .quick-faq-item p {
        color: var(--sage);
        font-size: 0.95rem;
        margin: 0;
    }

.info-boxes {
    margin: 4rem 0;
}

.info-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    background: var(--cream);
    padding: 2rem;
    border-radius: 8px;
}

    .info-box h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.3rem;
        color: var(--ink);
        margin-bottom: 1rem;
    }

/* Footer */
.site-footer {
    background: var(--ink);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

    .footer-links a:hover {
        color: var(--rust);
    }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .step-card {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */

.checkout-page {
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
    background: var(--cream);
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Loading & Error States */
.checkout-loading {
    text-align: center;
    padding: 4rem 2rem;
}

    .checkout-loading .spinner {
        margin: 0 auto 1rem;
    }

.checkout-error {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
}

    .checkout-error h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.5rem;
        color: var(--rust);
        margin-bottom: 1rem;
    }

/* Checkout Form */
.checkout-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.checkout-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 2rem;
}

.checkout-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

    .checkout-section:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
    }

    .checkout-section h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.3rem;
        color: var(--ink);
        margin-bottom: 1.5rem;
    }

/* Shipping Options */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .shipping-option:hover {
        border-color: var(--rust);
    }

    .shipping-option input[type="radio"] {
        width: auto;
    }

        .shipping-option input[type="radio"]:checked + .shipping-option-content {
            color: var(--rust);
        }

.shipping-option-content {
    flex: 1;
}

.shipping-option-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.shipping-option-time {
    font-size: 0.9rem;
    color: var(--sage);
}

.shipping-option-price {
    font-weight: 600;
    color: var(--ink);
}

/* Stripe Elements */
.stripe-element {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 2px;
    background: var(--cream);
    transition: border-color 0.2s ease;
}

    .stripe-element:focus-within {
        border-color: var(--rust);
        background: white;
    }

.payment-error {
    color: var(--rust);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.5rem;
}

.secure-payment-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sage);
    font-size: 0.9rem;
    margin-top: 1rem;
}

    .secure-payment-badge svg {
        flex-shrink: 0;
    }

/* Submit Button */
.button-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
}

.checkout-terms {
    text-align: center;
    color: var(--sage);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* Order Summary */
.order-summary-section {
    position: relative;
}

.order-summary-sticky {
    position: sticky;
    top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .order-summary-sticky h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.5rem;
        color: var(--ink);
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border);
    }

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

    .order-item:last-child {
        border-bottom: none;
    }

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.order-item-meta {
    font-size: 0.85rem;
    color: var(--sage);
    margin-bottom: 0.25rem;
}

.order-item-qty {
    font-size: 0.85rem;
    color: var(--sage);
}

.order-item-price {
    font-weight: 600;
    color: var(--ink);
}

.order-totals {
    padding-top: 1rem;
    border-top: 2px solid var(--border);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.order-total-final {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
}

/* Payment Success */
.payment-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--sage);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.payment-success h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 1rem;
}

.payment-success p {
    color: var(--sage);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.success-details {
    background: var(--cream);
    padding: 1rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.success-next-steps {
    font-size: 0.95rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 968px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .order-summary-sticky {
        position: static;
    }

    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .checkout-form-section {
        padding: 1.5rem;
    }

    .checkout-title {
        font-size: 1.5rem;
    }

    .checkout-section h2 {
        font-size: 1.1rem;
    }
}

/* ============================================
   MY ORDERS PAGE STYLES
   ============================================ */

/* Loading & Error States */
.orders-loading,
.orders-error,
.orders-empty {
    text-align: center;
    padding: 4rem 2rem;
}

    .orders-loading .spinner {
        margin: 0 auto 1rem;
    }

    .orders-error h3,
    .orders-empty h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.8rem;
        color: var(--ink);
        margin-bottom: 1rem;
    }

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Orders List */
.orders-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.order-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .order-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.order-number {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--ink);
    margin: 0 0 0.25rem 0;
}

.order-date {
    color: var(--sage);
    font-size: 0.9rem;
    margin: 0;
}

.order-card-body {
    margin-bottom: 1rem;
}

.order-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-summary-label {
    color: var(--sage);
    font-size: 0.9rem;
}

.order-summary-value {
    font-weight: 500;
    color: var(--ink);
}

.order-total {
    color: var(--rust);
    font-size: 1.1rem;
    font-weight: 600;
}

.order-tracking {
    background: var(--cream);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.tracking-label {
    color: var(--sage);
}

.tracking-number {
    font-family: monospace;
    font-weight: 500;
    color: var(--ink);
}

.order-card-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Order Detail Modal */
.order-detail-modal {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.order-detail-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

    .order-detail-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

    .order-detail-header h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 1.5rem;
        margin: 0 0 0.25rem 0;
    }

.order-detail-date {
    color: var(--sage);
    font-size: 0.9rem;
    margin: 0;
}

.status-description {
    color: var(--sage);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.order-detail-section h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 1rem;
}

/* Tracking Info */
.tracking-info-box {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
}

.tracking-number-large {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.tracking-carrier {
    color: var(--sage);
    margin: 0.5rem 0 1rem;
}

/* Order Items in Detail */
.detail-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-order-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: 4px;
}

.detail-item-info {
    flex: 1;
}

.detail-item-name {
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.detail-item-meta {
    font-size: 0.85rem;
    color: var(--sage);
    margin-bottom: 0.25rem;
}

.detail-item-qty {
    font-size: 0.85rem;
    color: var(--sage);
}

.detail-item-price {
    font-weight: 600;
    color: var(--rust);
}

/* Shipping Address Box */
.shipping-address-box {
    background: var(--cream);
    padding: 1rem;
    border-radius: 4px;
    line-height: 1.6;
}

/* Order Totals in Detail */
.detail-totals {
    background: var(--cream);
    padding: 1rem;
    border-radius: 4px;
}

.detail-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

    .detail-total-row.discount {
        color: var(--rust);
    }

.detail-total-final {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
}

/* Order Notes */
.order-notes {
    background: var(--cream);
    padding: 1rem;
    border-radius: 4px;
    font-style: italic;
    color: var(--sage);
}

/* Order Detail Actions */
.order-detail-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Status Badges (reusing checkout styles but adding more) */
.status-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-pending {
    background: rgba(212, 165, 116, 0.2);
    color: var(--gold);
}

.status-approval {
    background: rgba(139, 155, 142, 0.2);
    color: var(--sage);
}

.status-production {
    background: rgba(200, 92, 60, 0.2);
    color: var(--rust);
}

.status-ready {
    background: rgba(139, 155, 142, 0.3);
    color: #6B7B6E;
}

.status-shipped {
    background: rgba(100, 120, 200, 0.2);
    color: #5070C0;
}

.status-delivered {
    background: rgba(80, 180, 100, 0.2);
    color: #40A050;
}

.status-cancelled {
    background: rgba(150, 150, 150, 0.2);
    color: #707070;
}

/* Responsive */
@media (max-width: 640px) {
    .order-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .order-summary {
        grid-template-columns: 1fr;
    }

    .order-detail-actions {
        flex-direction: column;
    }

        .order-detail-actions .btn {
            width: 100%;
        }
}
