:root {
    --bg: #120f0d;
    --gold: #d8b06d;
    --text: #f5f1ed;
    --muted: #a89a8f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

@keyframes aurevan-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aurevan-soft-focus {
    from {
        opacity: 0;
        transform: scale(1.025);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.page-ready .hero-content {
    animation: aurevan-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-ready .card {
    animation: aurevan-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-ready .card:nth-child(2) { animation-delay: 0.08s; }
.page-ready .card:nth-child(3) { animation-delay: 0.16s; }
.page-ready .card:nth-child(4) { animation-delay: 0.24s; }
.page-ready .card:nth-child(5) { animation-delay: 0.32s; }
.page-ready .card:nth-child(6) { animation-delay: 0.4s; }

.page-ready .product-detail-image-wrap {
    animation: aurevan-soft-focus 0.9s ease both;
}

.page-ready .product-detail-copy {
    animation: aurevan-rise 0.8s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header & Navigation */
.header {
    background: var(--bg);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(216, 176, 109, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--gold);
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--gold);
    color: var(--bg);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
}

@media (max-width: 700px) {
    .nav-links {
        gap: 0.5rem;
    }
}

/* Hero Section */
.hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(216, 176, 109, 0.1) 0%, rgba(216, 176, 109, 0.05) 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 60px;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

@media (max-width: 700px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Cards */
.card {
    background: rgba(216, 176, 109, 0.05);
    border: 1px solid rgba(216, 176, 109, 0.2);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(216, 176, 109, 0.15);
}

.card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.product-image-link {
    display: block;
    overflow: hidden;
}

.product-image-link img {
    transition: transform 0.35s ease;
}

.product-image-link:hover img {
    transform: scale(1.03);
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin: 1.5rem 1.5rem 0.5rem;
}

.view-details-link {
    margin: 0 1.5rem;
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.view-details-link:hover {
    color: var(--gold);
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0.5rem 1.5rem;
    flex-grow: 1;
}

.card button {
    margin: 0 1.5rem 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    background: var(--gold);
    color: var(--bg);
}

.btn-gold {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--bg);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    background: rgba(216, 176, 109, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border-left: 3px solid var(--gold);
    text-align: center;
}

.value-card h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
}

.value-card p {
    color: var(--muted);
    margin: 0;
}

/* Size Selector */
.size-selector {
    width: 100%;
    padding: 0.5rem;
    background: rgba(216, 176, 109, 0.1);
    border: 1px solid var(--gold);
    color: var(--text);
    border-radius: 6px;
    margin: 0.5rem 0 1rem 0;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.size-selector:focus {
    outline: none;
    background: rgba(216, 176, 109, 0.15);
    box-shadow: 0 0 0 2px rgba(216, 176, 109, 0.2);
}

.size-selector option {
    background: var(--bg);
    color: var(--text);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: min(420px, calc(100vw - 2rem));
    background: rgba(24, 20, 17, 0.96);
    color: var(--text);
    padding: 1rem 1.25rem 1rem 1.1rem;
    border: 1px solid var(--gold);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    font-weight: 500;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(216, 176, 109, 0.12);
    backdrop-filter: blur(12px);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.shipping-option-blocked {
    opacity: 0.55;
    cursor: not-allowed;
}

.shipping-option-blocked input {
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
}

/* Checkout Page Styles */
.checkout-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

.order-summary {
    background: rgba(216, 176, 109, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(216, 176, 109, 0.2);
}

.order-summary h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.cart-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(216, 176, 109, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: start;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info h3 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-item-image {
    width: 72px;
    height: 88px;
    flex: 0 0 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(216, 176, 109, 0.3);
    background: rgba(216, 176, 109, 0.05);
}

.item-info p {
    color: var(--muted);
    font-size: 0.85rem;
}

.item-price {
    text-align: right;
    margin-left: auto;
}

.item-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
    margin-top: 0.25rem;
}

.item-remove:hover {
    color: var(--gold);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(216, 176, 109, 0.1);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    border-top: 2px solid var(--gold);
    margin-top: 1rem;
    padding-top: 1rem;
}

.coupon-box {
    padding: 1rem;
    border: 1px solid rgba(216, 176, 109, 0.25);
    border-radius: 8px;
    background: rgba(216, 176, 109, 0.04);
}

.coupon-box label {
    display: block;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.coupon-controls {
    display: flex;
    gap: 0.6rem;
}

.coupon-controls input {
    min-width: 0;
    flex: 1;
    background: rgba(216, 176, 109, 0.05);
    border: 1px solid rgba(216, 176, 109, 0.45);
    color: var(--text);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
}

.coupon-button {
    padding: 0.75rem 1rem;
}

.coupon-message {
    min-height: 1.2em;
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
}

.coupon-success {
    color: var(--gold);
}

.coupon-error {
    color: #d98b7d;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    background: rgba(216, 176, 109, 0.05);
    border: 1px solid var(--gold);
    color: var(--text);
    padding: 0.8rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: var(--muted);
}

.form-group input:focus {
    outline: none;
    background: rgba(216, 176, 109, 0.1);
    box-shadow: 0 0 0 2px rgba(216, 176, 109, 0.2);
}

.form-group.inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.inline > div {
    display: flex;
    flex-direction: column;
}

.empty-cart {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-cart p {
    color: var(--muted);
    margin-bottom: 2rem;
}

/* Product detail page */
.product-detail-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 5rem 2rem 7rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.back-link:hover {
    color: var(--gold);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 5rem;
    align-items: center;
}

.product-detail-image-wrap {
    min-height: 620px;
    background: rgba(216, 176, 109, 0.05);
    border: 1px solid rgba(216, 176, 109, 0.25);
    border-radius: 12px;
    overflow: hidden;
}

.product-detail-image {
    width: 100%;
    height: 620px;
    display: block;
    object-fit: cover;
}

.product-detail-copy {
    padding: 0.5rem 0;
}

.product-kicker {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    margin-bottom: 1rem;
}

.product-detail-copy h1 {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.product-detail-description {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-detail-price {
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.detail-size-label {
    display: block;
    color: var(--gold);
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-detail-copy .size-selector {
    margin: 0 0 1.5rem;
}

.product-detail-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-detail-actions .btn {
    flex: 1 1 180px;
    text-align: center;
}

.btn-buy-now {
    background: var(--gold);
    color: var(--bg);
}

.btn-buy-now:hover {
    background: transparent;
    color: var(--gold);
}

.payment-link-button {
    border-color: rgba(216, 176, 109, 0.55);
    color: var(--muted);
}

.payment-link-button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.product-detail-note {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

.product-detail-empty {
    grid-column: 1 / -1;
    text-align: center;
}

.product-detail-empty h1 {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 700px) {
    .container {
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-links {
        flex: 1;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .product-detail-page {
        padding: 3rem 1rem 5rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-detail-image-wrap,
    .product-detail-image {
        min-height: 460px;
        height: 460px;
    }
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(216, 176, 109, 0.2);
    color: var(--muted);
    font-size: 0.9rem;
}
