@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --primary: #c8a951;
    --primary-dark: #a88831;
    --dark: #0b0b0b;
    --dark-2: #1a1a1a;
    --light: #f3f4f6;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --border: #e8e8e8;
    --text-muted: #666;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    scroll-behavior: smooth;
    background: #f5f7fa;
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar img {
    height: 50px;
    border-radius: 5px;
    border: 1px solid var(--primary);
}

.search-container {
    flex: 1;
    max-width: 450px;
    margin: 0 20px;
    display: flex;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px 0 0 5px;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    outline: none;
}

.search-btn {
    background: var(--primary);
    border: none;
    padding: 10px 16px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    color: var(--dark);
    font-size: 1rem;
    transition: background 0.2s;
}

.search-btn:hover { background: var(--primary-dark); color: white; }

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-actions a, .nav-actions button {
    color: white;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
}

#cartButton {
    position: relative;
    font-size: 1rem;
    padding: 8px 14px;
    background: var(--primary);
    color: var(--dark);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background 0.2s;
}

#cartButton:hover { background: var(--primary-dark); color: white; }

#cartCount {
    background: white;
    color: var(--dark);
    border-radius: 50%;
    padding: 0 5px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}

/* ========== CART TOAST NOTIFICATION ========== */
.cart-toast {
    position: fixed;
    bottom: 30px;
    right: -420px;
    width: 380px;
    background: var(--dark-2);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-lg);
}

.cart-toast.show { right: 30px; }

.toast-check {
    width: 40px;
    height: 40px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: white;
}

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-body .toast-title {
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-body .toast-product {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-btns {
    display: flex;
    gap: 8px;
}

.toast-btn-view {
    padding: 7px 14px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

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

.toast-btn-continue {
    padding: 7px 14px;
    background: transparent;
    color: #aaa;
    border: 1px solid #444;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.toast-btn-continue:hover { border-color: white; color: white; background: transparent; }

.toast-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    align-self: flex-start;
    margin-left: 4px;
}

.toast-close:hover { color: white; background: none; }

/* ========== SIDEBAR ========== */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    background-color: var(--dark);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
}

.sidebar a {
    padding: 12px 20px;
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--white);
    display: block;
    transition: 0.2s;
    border-bottom: 1px solid #222;
}

.sidebar a:hover { background: var(--primary); color: var(--dark); }
.sidebar .closebtn { position: absolute; top: 10px; right: 20px; font-size: 2rem; border-bottom: none; }

/* ========== HERO ========== */
.hero {
    height: 70vh;
    background: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.62); }

.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 0 20px; }

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-content p { font-size: 1.05rem; margin: 5px 0; color: #ddd; }

.shop-now-btn {
    margin-top: 25px;
    padding: 14px 36px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 5px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.shop-now-btn:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); }

/* ========== INFO BAR ========== */
.info-bar { padding: 50px 5%; background: #f3f4f6; }
.info-bar .info-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center; }
.info-bar .info-item i { font-size: 28px; color: var(--primary); margin-bottom: 10px; }
.info-bar .info-item h4 { margin: 8px 0 5px; font-weight: 600; }
.info-bar .info-item p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }

/* ========== PRODUCTS ========== */
.products-section { padding: 60px 5%; background: transparent; }

.products-section > h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 40px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: var(--primary);
}

.category { margin-bottom: 50px; }

.category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--dark);
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.products-row {
    display: flex;
    overflow-x: auto;
    gap: 22px;
    padding: 10px 0 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.products-row::-webkit-scrollbar { height: 5px; }
.products-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }

.products-row .product {
    flex: 0 0 auto;
    width: 230px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    transition: 0.3s;
    scroll-snap-align: start;
    box-shadow: var(--shadow);
    position: relative;
}

.products-row .product:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 6px;
}

.product h4 { font-size: 0.95rem; margin: 8px 0 6px; font-weight: 600; line-height: 1.3; }

.price { font-weight: 700; color: var(--primary); font-size: 1.15rem; margin: 8px 0; }

.product button {
    width: 100%;
    padding: 9px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 0.2s;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 6px;
}

.product button:hover { background: var(--primary); color: var(--dark); }

.stock-badge {
    background: var(--success);
    color: white;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.out-of-stock { background: #999; }

/* ========== CONTACT ========== */
.contact { background: white; padding: 60px 0; }

.contact h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 40px;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-color: var(--primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 5px; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); }

.contact-form button {
    width: 100%;
    padding: 13px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.contact-form button:hover { background: var(--primary); color: var(--dark); }

.contact-info-panel {
    background: var(--light);
    padding: 28px;
    border-radius: var(--radius);
    text-align: left;
    height: fit-content;
}

.contact-info-panel p { margin: 10px 0; color: #444; font-size: 0.95rem; }
.contact-info-panel i { color: var(--primary); margin-right: 8px; width: 16px; }

/* ========== GLOBAL BUTTONS ========== */
button {
    background: var(--dark);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-family: 'DM Sans', sans-serif;
}

button:hover { background: var(--primary); color: var(--dark); }

/* ========== MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
    background: white;
    border-radius: var(--radius);
    padding: 35px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-box h2 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.modal-box p.modal-sub {
    color: var(--text-muted);
    margin: 0 0 24px;
    font-size: 0.9rem;
}

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

.modal-box label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 5px; color: #333; }

.modal-box input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.modal-box input:focus { border-color: var(--primary); }

.modal-box .modal-actions { display: flex; gap: 12px; margin-top: 5px; }

.modal-box .btn-cancel {
    flex: 1;
    padding: 13px;
    background: var(--light);
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.modal-box .btn-cancel:hover { background: #e0e0e0; color: var(--dark); }

.modal-box .btn-payfast {
    flex: 2;
    padding: 13px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.modal-box .btn-payfast:hover { background: #27ae60; color: white; }

.modal-close-x {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close-x:hover { color: var(--dark); background: none; }

/* ========== FORM SUCCESS MESSAGE ========== */
.form-success {
    display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }

    .navbar { flex-wrap: wrap; gap: 8px; }

    .search-container {
        order: 3;
        max-width: 100%;
        margin: 0;
        width: 100%;
    }

    .cart-toast {
        width: calc(100vw - 30px);
        bottom: 15px;
        right: -110%;
    }

    .cart-toast.show { right: 15px; }

    .modal-box { padding: 25px 20px; }
    .modal-box .form-row { grid-template-columns: 1fr; gap: 0; }
    .modal-box .modal-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero { height: 60vh; }
    .products-section { padding: 40px 4%; }
    .products-row .product { width: 200px; }
}

/* ============================================================
   UPGRADE: urgency strip, trust sections, reviews, FAQ, badges
   ============================================================ */

/* ---- Top urgency strip (truthful same-day cutoff) ---- */
.urgency-strip {
    background: var(--primary);
    color: var(--dark);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}
.urgency-strip i { animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 0%,100%{transform:translateX(0);} 50%{transform:translateX(4px);} }

/* ---- Hero trust row ---- */
.hero-trust {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    justify-content: center;
    font-size: 0.85rem;
    color: #eee;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--primary); }

/* ---- Section subtitle ---- */
.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin: -25px auto 40px;
    max-width: 640px;
    font-size: 0.98rem;
}

/* ---- Promo badges on product cards ---- */
.promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #fff;
}
.promo-badge.badge-best { background: #d4392b; }
.promo-badge.badge-pop  { background: var(--primary-dark); }
.products-row .product .stock-badge { position: relative; z-index: 1; }

.prod-size {
    font-size: 0.78rem;
    color: #888;
    margin: 2px 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.prod-size i { color: var(--primary); font-size: 0.72rem; }
.prod-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.45;
    margin: 0 0 8px;
    min-height: 46px;
}
.products-row .product { width: 248px; }

/* ---- Bulk quote CTA ---- */
.bulk-cta {
    margin: 50px auto 0;
    max-width: 760px;
    text-align: center;
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    padding: 34px 26px;
    border: 1px solid var(--primary);
}
.bulk-cta h3 { font-family: 'Playfair Display', serif; color: var(--primary); margin: 0 0 8px; font-size: 1.4rem; }
.bulk-cta p { color: #ccc; margin: 0 0 20px; }
.wa-cta-btn, a.wa-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #25D366; color: #fff; text-decoration: none;
    padding: 13px 26px; border-radius: 8px; font-weight: 700;
    transition: background .2s;
}
.wa-cta-btn:hover { background: #1ead52; }

/* ---- Why-choose section ---- */
.why-section { padding: 60px 5%; background: #fff; }
.why-section h2 {
    font-family: 'Playfair Display', serif; text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 40px;
    text-decoration: underline; text-underline-offset: 10px; text-decoration-color: var(--primary);
}
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.why-card {
    background: #fafafa; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 22px; text-align: center; transition: .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.why-card i { font-size: 1.9rem; color: var(--primary); margin-bottom: 12px; }
.why-card h4 { margin: 6px 0 8px; font-size: 1.05rem; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* ---- Reviews ---- */
.reviews-section { padding: 60px 5%; background: #f3f4f6; }
.reviews-section h2 {
    font-family: 'Playfair Display', serif; text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px;
    text-decoration: underline; text-underline-offset: 10px; text-decoration-color: var(--primary);
}
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 1050px; margin: 0 auto; }
.review-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review-card .stars { color: var(--primary); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { color: #333; font-style: italic; line-height: 1.6; margin: 0 0 14px; }
.review-card .reviewer { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }

/* ---- FAQ ---- */
.faq-section { padding: 60px 5%; background: #fff; max-width: 860px; margin: 0 auto; }
.faq-section h2 {
    font-family: 'Playfair Display', serif; text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 32px;
    text-decoration: underline; text-underline-offset: 10px; text-decoration-color: var(--primary);
}
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    margin-bottom: 12px; padding: 4px 18px; background: #fafafa;
}
.faq-item summary {
    cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none;
    display: flex; justify-content: space-between; align-items: center; font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--text-muted); line-height: 1.65; margin: 0 0 16px; font-size: 0.93rem; }

/* ---- Floating WhatsApp button ---- */
.wa-float {
    position: fixed; bottom: 22px; left: 22px; z-index: 9990;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(37,211,102,.45); text-decoration: none;
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

@media (max-width: 480px) {
    .wa-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 16px; left: 16px; }
    .prod-desc { min-height: 0; }
    .products-row .product { width: 210px; }
}
