:root {
    --primary-color: #333333;
    --primary-gold: #c5a880;
    --accent-gold: #b09168;
    --bg-cream: #faf9f6;
    --bg-white: #ffffff;
    --text-dark: #333333;
    --text-muted: #777777;
    --border-color: #f0eee9;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.03);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.06);
    --transition-smooth: all 0.3s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter', sans-serif;
    background:var(--bg-cream);
    color:var(--text-dark);
    line-height:1.7;
    overflow-x:hidden;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* NAVBAR */

.navbar{
    background:var(--bg-white);
    border-bottom:1px solid var(--border-color);
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:32px;
    font-family:'Playfair Display', serif;
    font-weight:700;
    letter-spacing:1px;
    text-decoration:none;
    color:var(--text-dark);
}

.nav-links{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:var(--text-dark);
    font-weight:500;
    position:relative;
    padding:5px 0;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 8px;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.cart-icon-btn:hover {
    color: var(--accent-gold);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-btn{
    display:inline-block;
    padding:14px 28px;
    background:var(--primary-color);
    color:var(--bg-white);
    text-decoration:none;
    border-radius:4px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.primary-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.secondary-btn{
    display:inline-block;
    padding:14px 28px;
    border:1px solid var(--primary-color);
    color:var(--primary-color);
    text-decoration:none;
    border-radius:4px;
    font-weight: 500;
    transition: var(--transition-smooth);
    background: transparent;
    cursor: pointer;
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-smooth);
}

/* HERO SECTION */

.hero{
    min-height:90vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:100px 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 246, 242, 0.85); /* fallback light tint */
    z-index: 1;
}

.hero-content{
    max-width:900px;
    position: relative;
    z-index: 2;
}

.hero-tag{
    text-transform:uppercase;
    letter-spacing:3px;
    color:var(--accent-gold);
    font-weight: 600;
    font-size: 14px;
}

.hero h1{
    font-family:'Playfair Display', serif;
    font-size:78px;
    margin:25px 0;
    line-height: 1.15;
    font-weight: 700;
}

.hero p{
    font-size:20px;
    max-width:750px;
    margin:auto;
    color: var(--text-muted);
}

.hero-buttons{
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:20px;
}

/* STATS */

.stats{
    padding:100px 0;
    background:var(--bg-white);
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    text-align:center;
}

.stats-grid h2{
    font-size:48px;
    font-family:'Playfair Display', serif;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.stats-grid p {
    color: var(--text-muted);
    font-weight: 500;
}

/* INDUSTRIES */

.industries{
    padding:120px 0;
}

.industry-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.industry-grid div{
    background:var(--bg-white);
    padding:35px;
    text-align:center;
    border-radius:10px;
    box-shadow:var(--shadow-light);
    transition: var(--transition-smooth);
}

/* PROCESS */

.process{
    padding:120px 0;
    background:var(--bg-white);
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.process-grid div{
    text-align:center;
    padding:40px;
}

.process-grid h3{
    font-size:50px;
    margin-bottom:15px;
    font-family:'Playfair Display', serif;
    color: var(--accent-gold);
}

.process-grid p {
    color: var(--text-muted);
}

/* TESTIMONIALS */

.testimonials{
    padding:120px 0;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.testimonial-card{
    background:var(--bg-white);
    padding:35px;
    border-radius:10px;
    box-shadow:var(--shadow-light);
    transition: var(--transition-smooth);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
}

.testimonial-card h4{
    margin-top:20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* SECTION HEADING */

.section-heading{
    text-align:center;
    margin-bottom:70px;
}

.section-heading span{
    color:var(--accent-gold);
    letter-spacing:2px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.section-heading h2{
    margin-top:15px;
    font-size:48px;
    font-family:'Playfair Display', serif;
    font-weight: 700;
}

/* FEATURES */

.features{
    padding:100px 0;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.feature-card{
    background:var(--bg-white);
    padding:35px;
    border-radius:10px;
    box-shadow:var(--shadow-light);
    transition: var(--transition-smooth);
}

.feature-card h3{
    margin-bottom:15px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.feature-card p {
    color: var(--text-muted);
}

/* ABOUT PREVIEW */

.about-preview{
    padding:120px 0;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:12px;
    box-shadow: var(--shadow-light);
}

.about-content span{
    letter-spacing:2px;
    color:var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.about-content h2{
    margin:20px 0;
    font-size:52px;
    font-family:'Playfair Display', serif;
    font-weight: 700;
}

.about-content p{
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* PRODUCTS */

.products-preview{
    padding:120px 0;
}

/* FILTER TABS */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: var(--transition-smooth);
    color: var(--text-dark);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.product-card{
    background:var(--bg-white);
    overflow:hidden;
    border-radius:12px;
    box-shadow:var(--shadow-light);
    transition: var(--transition-smooth);
}

.product-card img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition: var(--transition-smooth);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3{
    padding:20px 20px 5px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.product-card p{
    padding:0 20px 20px;
    color: var(--text-muted);
    font-size: 15px;
}

.product-actions {
    padding: 0 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 18px;
}

.add-to-inquiry-btn {
    background: none;
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.add-to-inquiry-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* WHY ORVERA */

.why-preview{
    padding:120px 0;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.why-grid div{
    background:var(--bg-white);
    padding:30px;
    text-align:center;
    border-radius:10px;
    box-shadow: var(--shadow-light);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: var(--transition-smooth);
}

/* SET ESTIMATOR & CALCULATOR */
.calculator-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    background: var(--bg-cream);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.calc-inputs h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 25px;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.range-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.range-wrap input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #eaeaea;
    outline: none;
    accent-color: var(--accent-gold);
}

.range-val {
    font-weight: 700;
    background: var(--bg-white);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.finish-options {
    display: flex;
    gap: 15px;
}

.finish-card {
    flex: 1;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.finish-card input {
    display: none;
}

.finish-card.selected {
    border-color: var(--accent-gold);
    background: rgba(197, 168, 128, 0.05);
}

.finish-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 5px;
}

.finish-card span {
    font-size: 12px;
    color: var(--text-muted);
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-wrap input {
    accent-color: var(--accent-gold);
    width: 18px;
    height: 18px;
}

.calc-results {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 5px solid var(--accent-gold);
}

.calc-results h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.result-item.total {
    border-bottom: none;
    margin-top: 15px;
    margin-bottom: 30px;
}

.result-item.total span:last-child {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* CTA SECTION */

.cta-section{
    background:var(--primary-color);
    color:var(--bg-white);
    text-align:center;
    padding:120px 20px;
}

.cta-section h2{
    font-size:55px;
    font-family:'Playfair Display', serif;
    font-weight: 700;
}

.cta-section p{
    margin:25px auto 40px;
    max-width:700px;
    color: #ccc;
    font-size: 18px;
}

/* FOOTER */

footer{
    background:#111;
    color:var(--bg-white);
    text-align:center;
    padding:60px 20px;
    border-top: 1px solid #222;
}

footer h3{
    margin-bottom:15px;
    font-family:'Playfair Display', serif;
    font-size: 28px;
    letter-spacing: 1px;
}

footer p {
    color: #888;
    margin-bottom: 10px;
}

footer p:last-child {
    margin-bottom: 0;
    font-size: 14px;
    margin-top: 30px;
}

/* CUTLERY HIGHLIGHT */

.cutlery-highlight{
    padding:120px 0;
    background:var(--bg-white);
}

.cutlery-highlight-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.cutlery-highlight h3{
    font-size:38px;
    margin-bottom:20px;
    font-family:'Playfair Display', serif;
}

.cutlery-highlight p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* COLLECTIONS */

.collections{
    padding:120px 0;
}

.collections .product-card{
    text-align:center;
    padding:40px 25px;
}

.collections .product-card h3 {
    padding: 20px 0 10px;
}

.collections .product-card p {
    padding: 0 0 25px;
}

/* FAQ */

.faq{
    padding:120px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: auto;
}

.faq-item{
    background:var(--bg-white);
    margin-bottom:20px;
    padding:25px;
    border-radius:10px;
    box-shadow:var(--shadow-light);
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-left-color: var(--accent-gold);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-header h3{
    font-size:20px;
    font-family: 'Playfair Display', serif;
    margin-bottom:0;
}

.faq-icon {
    font-size: 20px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-body p {
    padding-top: 15px;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* CONTACT */

.contact-preview{
    padding:120px 20px;
    text-align:center;
    background:var(--bg-white);
}

.contact-preview h2{
    font-size:50px;
    font-family:'Playfair Display', serif;
    margin-bottom:20px;
    font-weight: 700;
}

.contact-preview p{
    max-width:700px;
    margin:auto;
    margin-bottom:50px;
    color: var(--text-muted);
}

.contact-form {
    max-width: 600px;
    margin: auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
}

/* CART / INQUIRY DRAWER */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1999;
    backdrop-filter: blur(2px);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.cart-close-btn:hover {
    color: var(--text-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 5px;
}

.cart-item-details p {
    font-size: 14px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background: var(--border-color);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #b7092c;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-cream);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}

/* BASE HOVER EFFECTS WITH TRANSITIONS */

.feature-card,
.product-card,
.testimonial-card,
.industry-grid div,
.why-grid div {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease;
}

.feature-card:hover,
.product-card:hover,
.testimonial-card:hover,
.industry-grid div:hover,
.why-grid div:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* SCROLL FADE-IN */

.feature-card,
.product-card,
.testimonial-card {
    opacity: 1;
    transform: translateY(0);
}

.show{
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE DESIGN (MEDIA QUERIES) */

@media(max-width:992px){
    .nav-links{
        display:none; /* fallback if JS fails, but we'll use a slide drawer */
    }

    .hamburger {
        display: flex;
    }

    .hero h1{
        font-size:55px;
    }

    .feature-grid,
    .product-grid,
    .about-grid,
    .cutlery-highlight-grid,
    .calculator-wrapper {
        grid-template-columns:1fr;
    }

    .calculator-wrapper {
        padding: 30px;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
}

@media(max-width:768px){
    .hero h1{
        font-size:42px;
    }

    .stats-grid,
    .industry-grid,
    .process-grid,
    .testimonial-grid,
    .why-grid{
        grid-template-columns:1fr;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .cta-section h2,
    .contact-preview h2{
        font-size:36px;
    }
}

/* ==========================================================
   ADVANCED FEATURES & LOOKBOOK STYLING
   ========================================================== */

/* 1. DARK THEME VARIABLE OVERRIDES */
html[data-theme="dark"] {
    --primary-color: #f8f6f2;
    --primary-gold: #d4af37;
    --accent-gold: #c5a880;
    --bg-cream: #121212;
    --bg-white: #1a1a1a;
    --text-dark: #f8f6f2;
    --text-muted: #aaaaaa;
    --border-color: #2a2a2a;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.4);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.6);
}

html[data-theme="dark"] .navbar {
    background: #1a1a1a;
    border-bottom-color: #2a2a2a;
}

html[data-theme="dark"] .hero-overlay {
    background: rgba(18, 18, 18, 0.85);
}

html[data-theme="dark"] .primary-btn {
    border-color: var(--accent-gold);
    background: var(--accent-gold);
}

html[data-theme="dark"] .primary-btn:hover {
    background: transparent;
    color: var(--accent-gold);
}

html[data-theme="dark"] .secondary-btn {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

html[data-theme="dark"] .secondary-btn:hover {
    background: var(--primary-gold);
    color: #121212;
}

html[data-theme="dark"] .finish-card.selected {
    background: rgba(197, 168, 128, 0.15);
}

html[data-theme="dark"] footer {
    background: #0d0d0d;
}

/* 2. LIVE CATALOG SEARCH BAR */
.search-container {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.search-input:focus {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-hover);
}

/* 3. LOOKBOOK & HOTSPOTS */
.gallery-lookbook {
    padding: 120px 0;
    background: var(--bg-cream);
}

.lookbook-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.lookbook-canvas {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.lookbook-canvas img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--accent-gold);
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 10;
    animation: hotspotPulse 2s infinite;
}

.hotspot-popover {
    position: absolute;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    width: 200px;
    bottom: 35px;
    left: -88px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 20;
    border-top: 3px solid var(--accent-gold);
}

.hotspot-popover h4 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 5px;
}

.hotspot-popover p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hotspot-popover .popover-btn {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    text-decoration: none;
}

.hotspot:hover .hotspot-popover {
    opacity: 1;
    visibility: visible;
}

@keyframes hotspotPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(176,145,104,0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(176,145,104,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(176,145,104,0); }
}

.lookbook-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 20px;
}

.lookbook-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* 4. GALLERY & LIGHTBOX */
.image-gallery-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.gallery-overlay h4 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 0;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 85%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.open .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--accent-gold);
}

/* 5. COMPARISON MATRIX */
.compare-badge-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    color: var(--text-dark);
}

.compare-badge-btn:hover, .compare-badge-btn.selected {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.compare-bar {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: var(--bg-cream);
    padding: 15px 30px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2400;
    transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.compare-bar.show {
    bottom: 0;
}

.compare-bar-btn {
    background: var(--accent-gold);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.compare-bar-btn:hover {
    background: #fff;
    color: var(--text-dark);
}

.compare-overlay-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 2500;
    backdrop-filter: blur(2px);
}

.compare-overlay-modal.open {
    opacity: 1; visibility: visible;
}

.compare-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 850px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    padding: 40px;
    z-index: 2600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 5px solid var(--accent-gold);
}

.compare-modal.open {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
}

.compare-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.compare-modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
}

.compare-modal-close {
    background: none; border: none;
    font-size: 26px; cursor: pointer;
    color: var(--text-muted);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th, .compare-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.compare-table th {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--accent-gold);
}

/* 6. REAL-TIME ESG METRICS */
.esg-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.esg-stat-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.esg-stat-card .esg-num {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 5px;
}

.esg-stat-card span:last-child {
    font-size: 12px;
    color: var(--text-muted);
}

/* 7. LOGO ENGRAVING VISUALIZER */
.visualizer-box {
    margin-top: 25px;
    border: 2px dashed var(--border-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    background: var(--bg-white);
    transition: var(--transition-smooth);
}

.visualizer-box.dragover {
    border-color: var(--accent-gold);
    background: rgba(197, 168, 128, 0.05);
}

.visualizer-uploader {
    cursor: pointer;
}

.visualizer-uploader input {
    display: none;
}

.visualizer-canvas-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.visualizer-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: var(--shadow-light);
}

.remove-logo-btn {
    background: none;
    border: 1px solid #b7092c;
    color: #b7092c;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 15px;
    display: none;
    transition: var(--transition-smooth);
}

.remove-logo-btn:hover {
    background: #b7092c;
    color: #fff;
}

/* 8. BRAND TIMELINE */
.timeline-section {
    padding: 120px 0;
    background: var(--bg-cream);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0; bottom: 0; left: 50%;
    margin-left: -1px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--accent-gold);
    border: 4px solid var(--bg-white);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-smooth);
}

.left-timeline {
    left: 0;
}

.right-timeline {
    left: 50%;
}

.right-timeline::after {
    left: -8px;
}

.timeline-content {
    padding: 25px 30px;
    background: var(--bg-white);
    position: relative;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media(max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-container::after {
        left: 23px;
        right: auto;
    }
    .right-timeline {
        left: 0;
    }
}

/* 9. ECO FREIGHT & SHIPPING */
.freight-widget {
    margin-top: 30px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-gold);
}

.freight-widget h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 15px;
}

.freight-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-white);
    color: var(--text-dark);
    outline: none;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.freight-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.freight-results span strong {
    color: var(--text-dark);
}

/* 10. FLOATING QUICK ACTIONS */
.quick-actions-panel {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--text-dark);
    color: var(--bg-cream);
    padding: 10px 15px;
    border-radius: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
    z-index: 1500;
    transition: var(--transition-smooth);
}

.quick-actions-panel button {
    background: none;
    border: none;
    color: inherit;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.quick-actions-panel button:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: translateY(-2px);
}

/* TOAST SYSTEM */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--text-dark);
    color: var(--bg-cream);
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--accent-gold);
    font-size: 18px;
}

@media(max-width: 992px) {
    .lookbook-wrapper {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .esg-dashboard {
        grid-template-columns: 1fr;
    }
    .rating-summary-container {
        grid-template-columns: 1fr;
    }
    .rating-score-box {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }
}

/* ==========================================================
   STAGE 3 FEATURES: RATINGS & REVIEW MODALS & CERTIFICATE
   ========================================================== */

/* B2B REVIEWS & RATINGS SECTION */
.reviews-section {
    padding: 120px 0;
    background: var(--bg-cream);
}

.reviews-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: start;
}

@media(max-width: 768px) {
    .reviews-wrapper {
        grid-template-columns: 1fr;
    }
}

.reviews-summary-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    border-top: 5px solid var(--accent-gold);
    position: sticky;
    top: 100px;
}

.rating-big {
    font-size: 72px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 5px;
}

.stars-display {
    font-size: 22px;
    color: var(--accent-gold);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.rating-subtext {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-dark);
}

.rating-bar-row > span:first-child {
    width: 50px;
    font-weight: 500;
}

.rating-bar-row > span:last-child {
    width: 40px;
    text-align: right;
    color: var(--text-muted);
}

.bar-outer {
    flex: 1;
    height: 8px;
    background: var(--bg-cream);
    border-radius: 4px;
    overflow: hidden;
}

.bar-inner {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 4px;
    width: 0;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 18px;
    letter-spacing: 1.5px;
}

.review-date {
    font-size: 13px;
    color: var(--text-muted);
}

.review-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.review-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 25px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.15);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.review-author strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.review-author span {
    display: block;
    font-size: 12.5px;
    color: var(--text-muted);
}

/* WRITE A REVIEW MODAL */
.review-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 2500;
    backdrop-filter: blur(3px);
}

.review-modal-overlay.open {
    opacity: 1; visibility: visible;
}

.review-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -45%);
    width: 90%; max-width: 500px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    padding: 40px;
    z-index: 2600;
    opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 5px solid var(--accent-gold);
}

.review-modal.open {
    transform: translate(-50%, -50%);
    opacity: 1; visibility: visible;
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.review-modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.review-modal-close {
    background: none; border: none;
    font-size: 26px; cursor: pointer;
    color: var(--text-muted);
}

.star-rating-select {
    display: flex;
    gap: 8px;
    font-size: 28px;
    cursor: pointer;
    color: #ccc;
    margin-bottom: 20px;
}

.star-rating-select span {
    transition: color 0.2s ease;
}

.star-rating-select span.selected, .star-rating-select span.hover {
    color: var(--accent-gold);
}

/* ESG CERTIFICATE GENERATOR PREVIEW */
.cert-download-container {
    text-align: center;
    margin-top: 25px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.cert-mockup {
    border: 2px solid var(--accent-gold);
    padding: 30px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 4px;
    position: relative;
    max-width: 480px;
    margin: 0 auto 20px;
    color: #222 !important; /* light certificate look always */
}

.cert-mockup h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cert-mockup p {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
}

.cert-mockup-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.cert-mockup-stat {
    text-align: center;
}

.cert-mockup-stat strong {
    font-size: 20px;
    color: var(--accent-gold);
    display: block;
}

.cert-mockup-stat span {
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
}