:root {
    --burgundy-light: #9a545e;
    --burgundy: #4A121A;
    --burgundy-dark: #350C12;
    --gold: #C5A059;
    --ivory: #FAF6F0;
    --ivory-dark: #F0E6D8;
    --text: #222;
    --serif: 'Playfair Display', serif;
    --banner-height: 46px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--ivory);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--serif); }
section { padding: 80px 16px; max-width: 1200px; margin: 0 auto; }
img { display: block; }

/* ---------- Banner & header ---------- */
.announcement-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
    height: var(--banner-height);
    display: flex; align-items: center; justify-content: center;
    padding: 0 16px;
    background: var(--burgundy-dark);
    color: var(--ivory);
    font-size: 9.5px; font-weight: 500; letter-spacing: 1px;
    text-transform: uppercase; text-align: center; line-height: 1.4;
}

header {
    position: fixed; top: var(--banner-height); left: 0; right: 0; z-index: 1000;
    background: rgba(250, 246, 240);

    border-bottom: 1px solid rgba(74, 18, 26, 0.2);
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 16px; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
}


.logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: 40px; }
.logo-main { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--burgundy); text-transform: uppercase; }
.logo-sub {
    font-size: 20px; 
    letter-spacing: 20px; 
    color: var(--gold); 
    font-weight: 500; 
    margin-top: -4px;
    text-transform: uppercase; }

.nav-links { display: flex; list-style: none; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; color: var(--burgundy); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

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

.lang-select {
    background: var(--ivory-dark); color: var(--burgundy);
    border: 1px solid rgba(74, 18, 26, 0.2);
    padding: 4px 8px; font-size: 11px; font-weight: 600;
}

.icon-btn { position: relative; background: none; border: none; color: var(--burgundy); font-size: 16px; padding: 4px; cursor: pointer; transition: color 0.2s; }
.icon-btn:hover { color: var(--gold); }

.badge {
    position: absolute; top: -2px; right: -4px;
    width: 15px; height: 15px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold); color: var(--burgundy-dark);
    font-size: 9px; font-weight: bold;
}

/* ---------- Buttons ---------- */
.btn 
{
    display: inline-block; width: 100%; max-width: 280px;
    padding: 14px 28px; border-radius: 4px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    text-align: center; text-decoration: none; cursor: pointer; transition: all 0.3s ease;
}
.btn-block { max-width: 100%; }
.btn-primary { background: var(--gold); color: var(--burgundy-dark); border: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.btn-primary:hover { background: var(--ivory); }
.btn-outline { background: transparent; color: var(--ivory); border: 1px solid rgba(250, 246, 240, 0.4); }
.btn-outline:hover { background: rgba(250, 246, 240, 0.1); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; min-height: 85vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--burgundy); color: var(--ivory); text-align: center;
    padding: calc(100px + var(--banner-height)) 16px 60px;
}
.hero-bg { position: absolute; inset: 0; opacity: 0.35; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--burgundy-light), rgba(74, 18, 26, 0.6)); }
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }

.hero-subtitle {
    display: inline-block; margin-bottom: 16px; padding-bottom: 4px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
}


.hero h1 { font-size: 36px; font-weight: 400; letter-spacing: 1px; line-height: 1.2; margin-bottom: 16px; }
.hero p { max-width: 600px; margin: 0 auto 32px; font-size: 14px; font-weight: 300; color: rgba(250, 246, 240); }
.hero-btns { display: flex; flex-direction: row; align-items: center; gap: 12px; }

/* ---------- Section headings ---------- */
.section-header { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-header h2 { font-size: 28px; color: var(--burgundy); margin-bottom: 12px; }
.section-header p { font-size: 13px; font-weight: 300; color: rgba(34, 34, 34, 0.7); }
.section-badge { display: block; margin-bottom: 8px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; }

/* ---------- Collections ---------- */
.collections-grid, .products-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.collection-card { position: relative; aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; background: var(--ivory-dark); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); cursor: pointer; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collection-card:hover img { transform: scale(1.05); }
.collection-overlay {
    position: absolute; inset: 0; padding: 24px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(to top, rgba(74, 18, 26, 0.9), rgba(74, 18, 26, 0.2), transparent);
    color: var(--ivory);
}
.collection-overlay span { margin-bottom: 4px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.collection-overlay h3 { font-size: 20px; margin-bottom: 8px; }
.collection-link { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Products ---------- */
.filter-container { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter-btn {
    padding: 8px 24px; border-radius: 20px; border: 1px solid rgba(74, 18, 26, 0.2);
    background: var(--ivory); color: var(--burgundy);
    font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
    cursor: pointer; transition: all 0.2s;
}
.filter-btn.active { background: var(--burgundy); color: var(--ivory); border-color: var(--burgundy); }

.product-card { display: flex; flex-direction: column; background: var(--ivory); border: 1px solid rgba(74, 18, 26, 0.1); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); transition: box-shadow 0.3s; }
.product-card:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); }

.product-img-wrapper { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ivory-dark); cursor: pointer; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.04); }

.wishlist-toggle {
    position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(250, 246, 240, 0.9); color: var(--burgundy); border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); cursor: pointer; transition: background 0.2s;
}
.wishlist-toggle:hover { background: var(--gold); }

.product-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.product-meta { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--gold); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.product-name { margin-bottom: 6px; font-size: 16px; color: var(--burgundy); cursor: pointer; }
.product-name:hover { color: var(--gold); }
.product-desc {
    margin-bottom: 16px; font-size: 12px; font-weight: 300; color: rgba(34, 34, 34, 0.7);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(74, 18, 26, 0.08); }
.product-price { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--burgundy); }
.add-to-bag-btn {
    padding: 8px 16px; border: none; border-radius: 4px;
    background: var(--burgundy); color: var(--ivory);
    font-size: 9px; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase;
    cursor: pointer; transition: background 0.2s;
}
.add-to-bag-btn:hover { background: var(--gold); color: var(--burgundy-dark); }

/* ---------- About & artisans ---------- */
.story-section { background: var(--ivory-dark); border-block: 1px solid rgba(74, 18, 26, 0.1); }
.story-grid, .artisans-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

.story-text h2 { margin-bottom: 16px; font-size: 28px; line-height: 1.3; color: var(--burgundy); }
.story-text p { margin-bottom: 16px; font-size: 13px; font-weight: 300; line-height: 1.7; color: rgba(34, 34, 34, 0.8); }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(74, 18, 26, 0.1); }
.stat-number { display: block; font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--burgundy); }
.stat-label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: rgba(34, 34, 34, 0.7); }

.story-img { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }

.artisans-section { background: var(--burgundy); color: var(--ivory); }
.artisans-text h2 { margin-bottom: 16px; font-size: 28px; }
.artisans-text p, .artisans-list li { font-size: 13px; color: rgba(250, 246, 240, 0.9); }
.artisans-text p { margin-bottom: 24px; font-weight: 300; line-height: 1.7; }
.artisans-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.artisans-list li { display: flex; align-items: flex-start; gap: 12px; }
.artisans-list i { margin-top: 4px; color: var(--gold); }


/* ---------- Footer ---------- */
footer { padding: 60px 16px 30px; background: var(--burgundy-dark); color: var(--ivory); border-top: 1px solid rgba(197, 160, 89, 0.2); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(250, 246, 240, 0.1); }
.footer-logo { margin-bottom: 12px; }
footer .logo-main { color: var(--ivory); }
.footer-col h4 { margin-bottom: 16px; font-size: 15px; color: var(--gold); }
.footer-col p { margin-bottom: 16px; font-size: 12px; line-height: 1.6; color: rgba(250, 246, 240, 0.7); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { text-decoration: none; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(250, 246, 240, 0.8); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-col .form-control { margin-bottom: 8px; background: rgba(255, 255, 255, 0.05); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.footer-col .btn { padding: 10px; }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; text-align: center; color: rgba(250, 246, 240, 0.5); }

/* ---------- Product modal ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.modal.active { display: flex; }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 800px; max-height: 90vh; background: var(--ivory); border-radius: 8px; overflow: hidden; }

.close-modal {
    position: absolute; top: 12px; right: 12px; z-index: 10; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--burgundy); color: var(--ivory); border: none; cursor: pointer; transition: background 0.2s;
}
.close-modal:hover { background: var(--gold); color: var(--burgundy-dark); }

.modal-img { width: 100%; background: var(--ivory-dark); }
.modal-img img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; }
.modal-info { width: 100%; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.modal-meta { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--gold); }
.modal-info h2 { margin-bottom: 12px; font-size: 24px; color: var(--burgundy); }
.modal-price { margin-bottom: 16px; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--burgundy); }
.modal-desc { margin-bottom: 20px; font-size: 13px; font-weight: 300; color: rgba(34, 34, 34, 0.8); }
.modal-info h4 { margin-bottom: 8px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--burgundy); }
.modal-section { margin-bottom: 20px; }
.modal-colors { display: flex; gap: 8px; }
.modal-colors span { padding: 4px 10px; background: var(--ivory); border: 1px solid rgba(74, 18, 26, 0.2); border-radius: 20px; font-size: 11px; }
.modal-section ul { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; font-size: 12px; color: rgba(34, 34, 34, 0.7); }
.modal-info .btn { margin-top: 20px; }

/* ---------- Cart drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 2000; display: none; }
.cart-drawer.active { display: block; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(2px); }
.cart-panel { position: absolute; top: 0; right: 0; width: 100%; max-width: 400px; height: 100%; display: flex; flex-direction: column; background: var(--ivory); box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: var(--burgundy); color: var(--ivory); }
.cart-header h3 { font-size: 18px; }
.cart-header .icon-btn { color: #fff; }
.cart-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 24px; overflow-y: auto; }
.cart-empty { margin-top: 40px; text-align: center; color: rgba(34, 34, 34, 0.6); }
.cart-item { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(74, 18, 26, 0.1); }
.cart-item img { width: 60px; height: 75px; object-fit: cover; border-radius: 4px; }
.cart-item div { flex: 1; }
.cart-item h4 { margin-bottom: 4px; font-size: 14px; color: var(--burgundy); }
.cart-item-price { font-size: 12px; font-weight: 600; color: var(--gold); }
.cart-remove { padding: 8px; background: none; border: none; color: rgba(34, 34, 34, 0.4); cursor: pointer; }
.cart-footer { padding: 24px; background: var(--ivory-dark); border-top: 1px solid rgba(74, 18, 26, 0.1); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-family: var(--serif); font-size: 18px; font-weight: bold; color: var(--burgundy); }

/* ---------- Toast ---------- */
.toast {
    position: fixed; bottom: 24px; left: 16px; right: 16px; z-index: 3000;
    display: flex; align-items: center; gap: 12px; padding: 16px;
    background: var(--burgundy); color: var(--ivory);
    border: 1px solid rgba(197, 160, 89, 0.4); border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0; transform: translateY(100px); transition: all 0.3s ease;
}
.toast.active { opacity: 1; transform: translateY(0); }
.toast i { color: var(--gold); font-size: 20px; }
.toast h5 { font-size: 13px; font-weight: 600; }
.toast p { font-size: 11px; opacity: 0.9; }

/* ---------- Tablet & desktop ---------- */
@media (min-width: 768px) {
    :root { --banner-height: 36px; }
    .announcement-banner { font-size: 11px; letter-spacing: 1.5px; }
    .collections-grid, .products-grid { grid-template-columns: repeat(3, 1fr); }
    .story-grid, .artisans-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .hero h1 { font-size: 56px; }
    .hero-btns { flex-direction: row; justify-content: center; }
    .modal-content { flex-direction: row; }
    .toast { left: auto; right: 24px; max-width: 400px; }
}
