/* NOVA - Product Store Styles */
/* Palette: Noir Editorial - #0F0F0F, #2A2A2A, #E8E4DF, #C8B8A0 */

/* 3D Background Shapes */
.shapes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.15;
    filter: blur(1px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #C8B8A0 0%, transparent 60%);
    border-radius: 50%;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
    transform: rotateX(45deg) rotateY(45deg);
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #C8B8A0 0%, transparent 60%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 60%;
    right: -50px;
    animation-delay: -5s;
    transform: rotateX(60deg) rotateZ(30deg);
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(225deg, #C8B8A0 0%, transparent 70%);
    top: 30%;
    right: 20%;
    animation-delay: -10s;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    transform: rotateY(45deg);
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(315deg, rgba(200, 184, 160, 0.3) 0%, transparent 50%);
    border: 2px solid rgba(200, 184, 160, 0.2);
    bottom: 20%;
    left: 10%;
    animation-delay: -15s;
    transform: rotateX(30deg) rotateY(60deg);
    border-radius: 20px;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(200, 184, 160, 0.4) 0%, transparent 70%);
    top: 15%;
    right: 30%;
    animation-delay: -7s;
    border-radius: 50%;
    transform: rotateX(75deg);
}

.shape-6 {
    width: 180px;
    height: 180px;
    background: linear-gradient(90deg, rgba(200, 184, 160, 0.2) 0%, transparent 100%);
    bottom: 40%;
    right: 5%;
    animation-delay: -12s;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    transform: rotateZ(15deg) rotateY(30deg);
}

.shape-7 {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(200, 184, 160, 0.15);
    top: 70%;
    left: 30%;
    animation-delay: -3s;
    border-radius: 50%;
    transform: rotateX(60deg) rotateY(30deg);
}

.shape-8 {
    width: 80px;
    height: 80px;
    background: conic-gradient(from 0deg, rgba(200, 184, 160, 0.3), transparent, rgba(200, 184, 160, 0.3));
    top: 5%;
    left: 50%;
    animation-delay: -8s;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transform: rotateY(45deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(45deg) rotateY(45deg);
    }
    25% {
        transform: translateY(-30px) rotateX(50deg) rotateY(55deg);
    }
    50% {
        transform: translateY(-15px) rotateX(40deg) rotateY(35deg);
    }
    75% {
        transform: translateY(-40px) rotateX(55deg) rotateY(40deg);
    }
}

.shape-2 { animation-name: float2; }
@keyframes float2 {
    0%, 100% { transform: translateY(0) rotateX(60deg) rotateZ(30deg); }
    33% { transform: translateY(-25px) rotateX(65deg) rotateZ(35deg); }
    66% { transform: translateY(-10px) rotateX(55deg) rotateZ(25deg); }
}

.shape-3 { animation-name: float3; }
@keyframes float3 {
    0%, 100% { transform: translateY(0) rotateY(45deg); }
    50% { transform: translateY(-35px) rotateY(55deg); }
}

.shape-4 { animation-name: float4; }
@keyframes float4 {
    0%, 100% { transform: translateY(0) rotateX(30deg) rotateY(60deg); }
    25% { transform: translateY(-20px) rotateX(35deg) rotateY(65deg); }
    75% { transform: translateY(-30px) rotateX(25deg) rotateY(55deg); }
}

.shape-5 { animation-name: float5; }
@keyframes float5 {
    0%, 100% { transform: translateY(0) scale(1) rotateX(75deg); }
    50% { transform: translateY(-20px) scale(1.1) rotateX(80deg); }
}

.shape-6 { animation-name: float6; }
@keyframes float6 {
    0%, 100% { transform: translateY(0) rotateZ(15deg) rotateY(30deg); }
    33% { transform: translateY(-25px) rotateZ(20deg) rotateY(35deg); }
    66% { transform: translateY(-15px) rotateZ(10deg) rotateY(25deg); }
}

.shape-7 { animation-name: float7; }
@keyframes float7 {
    0%, 100% { transform: translateY(0) rotateX(60deg) rotateY(30deg); }
    50% { transform: translateY(-30px) rotateX(70deg) rotateY(40deg); }
}

.shape-8 { animation-name: float8; }
@keyframes float8 {
    0%, 100% { transform: translateY(0) rotateY(45deg); }
    50% { transform: translateY(-15px) rotateY(55deg); }
}

:root {
    --color-bg: #0F0F0F;
    --color-surface: #1A1A1A;
    --color-surface-light: #2A2A2A;
    --color-text: #E8E4DF;
    --color-text-muted: #A39E93;
    --color-accent: #C8B8A0;
    --color-accent-hover: #D4C5A9;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    perspective: 1000px;
    overflow-x: hidden;
}

/* Ensure content stays above shapes */
.nav, .hero, .categories, .products, .features, .newsletter, .footer {
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 4rem;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 184, 160, 0.1);
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
}

.btn-icon:hover {
    background: var(--color-surface-light);
    color: var(--color-accent);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 0.625rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 4rem 4rem;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(200, 184, 160, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-surface-light);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-outline {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-surface-light);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-full {
    width: 100%;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 0;
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -40px;
    background: var(--color-surface);
    padding: 1.5rem 2rem;
    border: 1px solid var(--color-surface-light);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
}

.badge-text {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

/* Categories Section */
.categories {
    padding: 6rem 4rem;
    background: var(--color-surface);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(200, 184, 160, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(200, 184, 160, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    group: true;
}

.category-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(15, 15, 15, 0.95));
}

.category-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.category-content p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* Products Section */
.products {
    padding: 6rem 4rem;
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(200, 184, 160, 0.02) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(200, 184, 160, 0.02) 0%, transparent 30%);
    pointer-events: none;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-surface-light);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-sort select {
    padding: 0.75rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.875rem;
    cursor: pointer;
}

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

.product-card {
    background: var(--color-surface);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--color-surface-light);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.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: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-actions {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-action {
    flex: 1;
    padding: 0.875rem;
    background: var(--color-bg);
    border: none;
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-action:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.product-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.product-price .original {
    text-decoration: line-through;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
    font-weight: 400;
}

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

/* Features Section */
.features {
    padding: 6rem 4rem;
    background: var(--color-surface);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200, 184, 160, 0.04) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    border: 1px solid var(--color-surface-light);
    border-radius: 50%;
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 184, 160, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.8; }
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.newsletter p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Footer */
.footer {
    padding: 4rem;
    background: var(--color-surface);
    border-top: 1px solid var(--color-surface-light);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 184, 160, 0.3), transparent);
}

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

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border: 1px solid var(--color-surface-light);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

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

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

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-surface-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(200, 184, 160, 0.1);
}

.cart-sidebar.open {
    right: 0;
}

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

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
}

.btn-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-close:hover {
    color: var(--color-accent);
}

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

.cart-empty {
    text-align: center;
    color: var(--color-text-muted);
    padding: 3rem 0;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-surface-light);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

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

.cart-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--color-accent);
    font-weight: 600;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    text-decoration: underline;
}

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--color-surface-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    background: rgba(26, 26, 26, 0.98);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    border: 1px solid rgba(200, 184, 160, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 100px rgba(200, 184, 160, 0.05);
}

.modal-content .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

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

.modal-image {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.modal-details {
    padding: 3rem;
}

.modal-category {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.modal-description {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .shape {
        opacity: 0.1;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 8rem 1.5rem 3rem;
    }
    
    .categories,
    .products,
    .features,
    .newsletter,
    .footer {
        padding: 4rem 1.5rem;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .shapes-container {
        display: none;
    }
}