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

:root {
    --cream: #F5F0EB;
    --beige: #E8DFD5;
    --beige-dark: #D4C5B5;
    --brown: #8B7355;
    --brown-dark: #5C4A32;
    --brown-darker: #3D2E1F;
    --rose: #C4A882;
    --rose-light: #E8D5C0;
    --gold: #B8956A;
    --gold-light: #D4B896;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #6B6B6B;
    --gray-light: #999999;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--brown-darker);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; color: inherit; }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(245, 240, 235, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--beige);
}

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

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--brown);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle::after {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brown);
}

.logo-circle.small {
    width: 32px;
    height: 32px;
}

.logo-circle.small::after {
    width: 12px;
    height: 12px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--brown-dark);
    letter-spacing: 1px;
}

.nav-center {
    display: flex;
    gap: 40px;
}

.nav-center a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brown);
    transition: color 0.3s;
    font-weight: 400;
}

.nav-center a:hover {
    color: var(--brown-dark);
}

.nav-actions {
    display: flex;
    gap: 16px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
    color: var(--brown);
}

.nav-btn:hover {
    color: var(--brown-dark);
}

.cart-btn #cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--brown);
    color: var(--white);
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* HERO */
.hero {
    min-height: 100vh;
    padding: 120px 60px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.hero-content {
    max-width: 560px;
}

.hero-subtitle {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 24px;
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 32px;
    color: var(--brown-darker);
}

.hero-title em {
    font-style: italic;
    color: var(--brown);
}

.hero-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 420px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--brown-dark);
    color: var(--white);
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--brown-darker);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(92, 74, 50, 0.2);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 0;
    filter: sepia(10%) saturate(90%);
}

/* FEATURES */
.features-section {
    padding: 120px 60px;
    background: var(--white);
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brown);
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--brown-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 300;
    color: var(--rose);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--brown-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* PRODUCTS */
.products-section {
    padding: 120px 60px;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--brown);
    transition: all 0.3s;
    background: transparent;
    border: 1px solid var(--beige-dark);
}

.filter-btn:hover {
    border-color: var(--brown);
    color: var(--brown-dark);
}

.filter-btn.active {
    background: var(--brown-dark);
    color: var(--white);
    border-color: var(--brown-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(92, 74, 50, 0.1);
}

.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    filter: saturate(90%);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-offer { background: var(--rose); color: var(--white); }
.badge-new { background: var(--brown-dark); color: var(--white); }
.badge-exclusive { background: var(--gold); color: var(--white); }

.product-purchased {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    font-size: 11px;
    color: var(--brown);
}

.product-purchased span { color: var(--brown-dark); font-weight: 600; }

.product-info { padding: 24px; }

.product-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--brown-darker);
}

.product-category {
    font-size: 11px;
    color: var(--gray-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

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

.product-price {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--brown-dark);
}

.product-price .old-price {
    font-size: 14px;
    color: var(--gray-light);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.view-btn {
    padding: 8px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brown);
    border: 1px solid var(--beige-dark);
    transition: all 0.3s;
}

.view-btn:hover {
    background: var(--brown-dark);
    color: var(--white);
    border-color: var(--brown-dark);
}

/* COLLECTIONS */
.collections-section {
    padding: 120px 60px;
    background: var(--white);
}

.collections-header {
    text-align: center;
    margin-bottom: 60px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.collection-card {
    position: relative;
    overflow: hidden;
    height: 500px;
    cursor: pointer;
    transition: transform 0.4s;
}

.collection-card:hover {
    transform: scale(1.01);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(90%);
    transition: transform 0.6s;
}

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

.collection-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.7));
    color: var(--white);
}

.collection-tag {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 8px;
    display: block;
}

.collection-info h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 4px;
}

.collection-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* CONTACT */
.contact-section {
    padding: 120px 60px;
    background: var(--beige);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 11px;
    color: var(--brown);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-value {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--brown-darker);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    color: var(--brown);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    background: var(--white);
    border: 1px solid var(--beige-dark);
    padding: 14px 16px;
    color: var(--brown-darker);
    font-family: var(--font-sans);
    font-size: 14px;
    transition: border-color 0.3s;
}

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

.submit-btn {
    background: var(--brown-dark);
    color: var(--white);
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: var(--brown-darker);
}

/* FOOTER */
.footer {
    padding: 60px;
    background: var(--brown-darker);
    color: var(--beige);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--brown);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 20px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--beige-dark);
    transition: color 0.3s;
}

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

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    font-size: 13px;
    color: var(--beige-dark);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--white);
}

.footer-bottom {
    font-size: 12px;
    color: var(--brown);
    text-align: center;
}

/* CART SIDEBAR */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: var(--cream);
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

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

.cart-header h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--brown-darker);
}

.cart-close {
    width: 36px;
    height: 36px;
    font-size: 18px;
    color: var(--brown);
    transition: color 0.3s;
}

.cart-close:hover {
    color: var(--brown-darker);
}

.cart-items { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty { text-align: center; color: var(--gray); padding: 40px 0; font-style: italic; }

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--beige);
}

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

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

.cart-item-name {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--brown-darker);
}

.cart-item-price {
    font-size: 14px;
    color: var(--brown);
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--beige-dark);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--brown);
}

.qty-btn:hover {
    background: var(--brown-dark);
    color: var(--white);
    border-color: var(--brown-dark);
}

.cart-item-qty { font-size: 14px; font-weight: 500; min-width: 20px; text-align: center; }

.cart-item-remove {
    color: var(--rose);
    font-size: 18px;
    margin-left: auto;
    transition: transform 0.3s;
}

.cart-item-remove:hover { transform: scale(1.2); }

.cart-footer { padding: 24px; border-top: 1px solid var(--beige); }

.cart-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--brown-darker);
}

.cart-total span:last-child { color: var(--brown-dark); }

.checkout-btn {
    width: 100%;
    background: var(--brown-dark);
    color: var(--white);
    padding: 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: var(--brown-darker);
}

/* MODALS */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

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

.modal-content {
    background: var(--cream);
    padding: 48px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content { transform: scale(1); }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    color: var(--brown);
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--brown-darker);
}

/* Product Modal */
.product-modal-content {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
}

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

.product-modal-image {
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-modal-image img {
    width: 100%;
    max-width: 400px;
}

.product-modal-info {
    padding: 48px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-modal-category {
    font-size: 11px;
    color: var(--brown);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.product-modal-info h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--brown-darker);
}

.product-modal-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

.product-modal-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--beige);
    border-bottom: 1px solid var(--beige);
}

.feature-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.feature-label {
    color: var(--brown);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
}

.product-modal-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 500;
    color: var(--brown-dark);
}

.product-modal-price .old-price {
    font-size: 18px;
    color: var(--gray-light);
    text-decoration: line-through;
    font-weight: 400;
}

.add-to-cart-modal-btn {
    background: var(--brown-dark);
    color: var(--white);
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 8px;
}

.add-to-cart-modal-btn:hover { background: var(--brown-darker); }

/* Checkout Modal */
.checkout-modal-content {
    max-width: 600px;
    text-align: left;
}

.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--beige);
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step.active { opacity: 1; }

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--brown);
}

.step.active .step-number {
    background: var(--brown-dark);
    color: var(--white);
}

.step-label { font-size: 12px; color: var(--brown); letter-spacing: 1px; }

.checkout-step-content h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    margin-bottom: 24px;
    font-weight: 400;
    color: var(--brown-darker);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.next-step-btn, .confirm-order-btn {
    background: var(--brown-dark);
    color: var(--white);
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 16px;
    width: 100%;
}

.next-step-btn:hover, .confirm-order-btn:hover { background: var(--brown-darker); }

.checkout-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.prev-step-btn {
    background: var(--beige);
    color: var(--brown-dark);
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s;
    flex: 1;
}

.prev-step-btn:hover { background: var(--beige-dark); }

.next-step-btn, .confirm-order-btn { flex: 2; }

.order-summary {
    background: var(--white);
    padding: 20px;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--beige);
    font-size: 14px;
}

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

.order-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    padding: 16px 0;
    border-top: 2px solid var(--beige-dark);
    color: var(--brown-darker);
}

/* Success Modal */
.success-modal-content { text-align: center; }

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brown-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.success-modal-content h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 400;
    color: var(--brown-darker);
}

.success-modal-content p {
    color: var(--gray);
    margin-bottom: 8px;
}

.order-number {
    color: var(--brown-dark) !important;
    font-weight: 600;
    font-size: 16px !important;
    margin: 24px 0 !important;
}

.delivery-info {
    font-size: 14px;
    color: var(--gray) !important;
}

.modal-btn {
    background: var(--brown-dark);
    color: var(--white);
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 24px;
    transition: all 0.3s;
}

.modal-btn:hover { background: var(--brown-darker); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 40px; padding: 120px 40px 60px; }
    .hero-image { order: -1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .collections-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; gap: 48px; }
    .product-modal-body { grid-template-columns: 1fr; }
    .product-modal-image { padding: 24px; }
    .product-modal-info { padding: 32px; }
}

@media (max-width: 768px) {
    .navbar { padding: 16px 24px; }
    .nav-center { display: none; }
    .hero { padding: 100px 24px 60px; }
    .hero-title { font-size: 48px; }
    .features-section, .products-section, .collections-section, .contact-section { padding: 80px 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { justify-content: center; }
    .cart-sidebar { width: 100%; right: -100%; }
    .form-row { grid-template-columns: 1fr; }
    .checkout-steps { flex-direction: column; gap: 12px; }
}
