/* ===================================================================
   UnicaElite — Elegant / Luxury theme
   Palette: black, gold, cream. Headings in Playfair Display, body in Poppins.
=================================================================== */

:root {
    --black: #1a1a1a;
    --charcoal: #2b2b2b;
    --gold: #c9a961;
    --gold-dark: #a8853f;
    --gold-light: #e9dcb8;
    --cream: #f8f5f0;
    --white: #ffffff;
    --muted: #7c7670;
    --border: #e7e1d6;
    --danger: #b3372c;
    --success: #3c7a52;
    --shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
    --radius: 2px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--cream);
    color: var(--charcoal);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--black);
    font-weight: 600;
    margin: 0 0 .5em;
    letter-spacing: .3px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: 1px solid var(--black);
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s ease;
    border-radius: var(--radius);
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-whatsapp { background: #25D366; border-color: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ea952; border-color: #1ea952; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 11px; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Top utility bar ---------- */
.topbar {
    background: var(--black);
    color: var(--gold-light);
    font-size: 12.5px;
    letter-spacing: .5px;
    text-align: center;
    padding: 8px 0;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; }
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--black);
}
.logo-text span { color: var(--gold-dark); }

.main-nav { display: flex; flex-wrap: nowrap; gap: 16px; min-width: 0; }
.main-nav a {
    font-size: 11px;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--charcoal);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-actions a, .header-actions button {
    background: none; border: none; cursor: pointer; color: var(--black);
    display: flex; align-items: center;
}
.cart-link { position: relative; }
.cart-badge {
    position: absolute; top: -8px; right: -10px;
    background: var(--gold-dark); color: var(--white);
    font-size: 10px; font-weight: 600;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.search-form { display: flex; align-items: center; }
.search-form input {
    border: none; border-bottom: 1px solid var(--border);
    padding: 6px 4px; font-size: 13px; width: 100px; background: transparent;
}
.header-actions .menu-toggle { display: none; font-size: 22px; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, #34302a 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}
.hero h1 { color: var(--white); font-size: 42px; max-width: 720px; margin: 0 auto .4em; }
.hero p { color: var(--gold-light); max-width: 560px; margin: 0 auto 1.8em; font-size: 16px; }

/* ---------- Homepage banner slider ---------- */
.slider { position: relative; overflow: hidden; background: var(--black); }
.slider__track { position: relative; aspect-ratio: 16/6; min-height: 280px; }
.slider__slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.slider__slide.active { opacity: 1; pointer-events: auto; }
.slider__slide a, .slider__slide > img { display: block; position: relative; width: 100%; height: 100%; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,26,.55), rgba(26,26,26,.25)); }
.slider__caption {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 20px; z-index: 2;
}
.slider__caption h1 { color: #fff; font-size: 38px; margin-bottom: .3em; }
.slider__caption p { color: var(--gold-light); font-size: 15px; max-width: 520px; }
.slider__dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); border: none; cursor: pointer; padding: 0; }
.slider__dot.active { background: var(--gold); }
@media (max-width: 700px) {
    .slider__caption h1 { font-size: 24px; }
}

/* ---------- Section headings ---------- */
.section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 30px; }
.section-head .eyebrow {
    display: block; color: var(--gold-dark); letter-spacing: 2px;
    text-transform: uppercase; font-size: 12px; margin-bottom: 10px;
}
.section-head p { color: var(--muted); max-width: 520px; margin: 10px auto 0; }

/* ---------- Collections grid ---------- */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.collection-card {
    position: relative; overflow: hidden; border-radius: var(--radius);
    aspect-ratio: 3/4; background: var(--white); box-shadow: var(--shadow);
}
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.collection-card:hover img { transform: scale(1.06); }
.collection-card__label {
    position: absolute; inset: auto 0 0 0; padding: 18px;
    background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
    color: var(--white); font-family: 'Playfair Display', serif; font-size: 19px;
}

/* ---------- Product grid / cards ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 28px;
}
.product-card {
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(26,26,26,.12); }
.product-card__img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--cream); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--gold); color: var(--black);
    font-size: 11px; letter-spacing: .5px; text-transform: uppercase;
    padding: 4px 10px; border-radius: var(--radius);
}
.product-card__body { padding: 16px; text-align: center; }
.product-card__title { font-size: 14.5px; margin-bottom: 6px; color: var(--black); font-weight: 500; font-family: 'Poppins', sans-serif; }
.product-card__price { font-size: 15px; color: var(--gold-dark); font-weight: 600; }
.product-card__price del { color: var(--muted); font-weight: 400; margin-right: 8px; font-size: 13px; }
.product-card__body .btn { margin-top: 12px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 50px 0; }
.gallery-main { aspect-ratio: 1/1; overflow: hidden; background: var(--white); box-shadow: var(--shadow); margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumbs img {
    width: 70px; height: 70px; object-fit: cover; cursor: pointer;
    border: 2px solid transparent; opacity: .75;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active { border-color: var(--gold); opacity: 1; }
.product-info .eyebrow { color: var(--gold-dark); text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px; }
.product-info h1 { font-size: 30px; margin-top: 8px; }
.price-row { font-size: 24px; color: var(--gold-dark); font-weight: 600; margin: 14px 0; }
.price-row del { color: var(--muted); font-size: 17px; font-weight: 400; margin-right: 12px; }
.product-info .desc { color: var(--charcoal); margin: 18px 0; }
.meta-row { font-size: 13.5px; color: var(--muted); margin: 6px 0; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 24px 0; }
.qty-input {
    display: flex; border: 1px solid var(--border);
}
.qty-input button { width: 36px; background: var(--cream); border: none; cursor: pointer; font-size: 16px; }
.qty-input input { width: 50px; border: none; text-align: center; font-size: 14px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stock-note { font-size: 13px; margin-top: 14px; }
.stock-note.in { color: var(--success); }
.stock-note.out { color: var(--danger); }

/* ---------- Cart page ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); }
.cart-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); padding: 16px; border-bottom: 1px solid var(--border); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 64px; height: 64px; object-fit: cover; }
.cart-summary { background: var(--white); box-shadow: var(--shadow); padding: 26px; }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14.5px; }
.cart-summary .total { font-size: 19px; font-weight: 600; color: var(--black); border-top: 1px solid var(--border); padding-top: 14px; }
.cart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
.icon-btn { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 13px; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }

/* ---------- Forms (checkout, login) ---------- */
.form-card { background: var(--white); box-shadow: var(--shadow); padding: 34px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--charcoal); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    font-size: 14px; font-family: inherit; background: var(--white); border-radius: var(--radius);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
    border: 1px solid var(--border); padding: 14px 16px; border-radius: var(--radius);
    display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.payment-option:has(input:checked) { border-color: var(--gold); background: #fbf8f1; }
.field-error { color: var(--danger); font-size: 12.5px; margin-top: 4px; }

/* ---------- Badges (account / order status) ---------- */
.badge-success { background:#e8f3ec; color: var(--success); }
.badge-warning { background:#fcefdc; color:#a66a16; }
.badge-muted { background:#eee; color:#777; }
.badge-gold { background:#f5ecd6; color: var(--gold-dark); }

/* ---------- Order status timeline ---------- */
.status-timeline { display: flex; justify-content: space-between; margin: 30px 0; flex-wrap: wrap; gap: 10px; }
.status-step { flex: 1; text-align: center; position: relative; min-width: 90px; }
.status-step .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--border); margin: 0 auto 8px; }
.status-step.done .dot { background: var(--gold); }
.status-step.current .dot { background: var(--black); box-shadow: 0 0 0 4px var(--gold-light); }
.status-step .label { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.status-step.done .label, .status-step.current .label { color: var(--black); font-weight: 500; }
.status-step:not(:last-child)::after {
    content: ''; position: absolute; top: 7px; left: 55%; right: -45%; height: 2px; background: var(--border);
}
.status-step.done:not(:last-child)::after { background: var(--gold); }

/* ---------- Wishlist heart ---------- */
.wishlist-btn {
    position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.92); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--muted); z-index: 2;
}
.wishlist-btn.active { color: #c0392b; }
.wishlist-btn-lg { font-size: 22px; padding: 10px 16px; border: 1px solid var(--border); background: var(--white); cursor: pointer; border-radius: var(--radius); }
.wishlist-btn-lg.active { color: #c0392b; border-color: #c0392b; }

/* ---------- Quiz / choice cards ---------- */
.quiz-question {
    display: flex; gap: 18px; background: var(--white); box-shadow: var(--shadow);
    padding: 26px; border-radius: var(--radius); margin-bottom: 20px;
}
.quiz-question__num {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--black); color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 600; font-size: 15px;
}
.quiz-question__body { flex: 1; min-width: 0; }
.quiz-question__body h3 { font-size: 16px; margin-bottom: 16px; }

.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-card {
    border: 1px solid var(--border); padding: 11px 22px; border-radius: 20px;
    cursor: pointer; font-size: 13.5px; transition: all .15s ease;
}
.choice-card:hover { border-color: var(--gold); }
.choice-card:has(input:checked) { border-color: var(--gold); background: var(--black); color: var(--gold); }
.choice-card input { display: none; }

.swatch-group { display: flex; flex-wrap: wrap; gap: 16px; }
.color-swatch-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    cursor: pointer; padding: 8px 4px; border-radius: 6px; border: 2px solid transparent; width: 64px;
}
.color-swatch-card:hover { background: var(--cream); }
.color-swatch-card:has(input:checked) { border-color: var(--gold); background: #fbf8f1; }
.color-swatch-card input { display: none; }
.color-swatch { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.color-swatch-label { font-size: 11px; color: var(--muted); text-align: center; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e8f3ec; color: var(--success); border: 1px solid #bfe0cc; }
.alert-error { background: #fbeae7; color: var(--danger); border: 1px solid #f1c6bd; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #c9c4ba; margin-top: 60px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px;
    padding: 60px 20px 30px;
}
.footer-grid h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid p, .footer-grid a { font-size: 13.5px; color: #ada79c; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid #3a362f; text-align: center; padding: 18px;
    font-size: 12.5px; color: #847e72;
}
.social-row { display: flex; gap: 14px; margin-top: 12px; }
.social-row a { border: 1px solid #4a4538; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 200;
    width: 58px; height: 58px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 12.5px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a:hover { color: var(--gold-dark); }

/* ---------- Misc / utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-cart-icon { font-size: 50px; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .product-detail { grid-template-columns: 1fr; }
    .cart-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Nav has Home + collections + Style Quiz + About + Contact, so it needs more
   room than a typical 3-4 link nav before it collapses to the hamburger menu. */
@media (max-width: 1020px) {
    .main-nav { display: none; }
    .header-actions .menu-toggle { display: block; }
    .search-form { display: none; }
    .main-nav.open {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); border-top: 1px solid var(--border);
        padding: 10px 20px 16px; z-index: 50;
    }
    .main-nav.open a { padding: 10px 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 700px) {
    .hero { padding: 70px 16px; }
    .hero h1 { font-size: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; padding: 40px 20px 20px; }
}
