/* ==========================================================================
   1. FONTS, VARIABLES & BASE
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-black: #000000;
    --accent-orange: #f2b45d;
    --accent-orange-hover: #e09f48;
    --text-dark: #222222;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --border-color: #eaeaea;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .serif-font {
    font-family: 'Playfair Display', serif;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (LATEST DESIGN)
   ========================================================================== */
.top-bar-custom {
    background-color: #151922;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 10px 0;
    letter-spacing: 0.3px;
}
.top-bar-custom a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.top-bar-custom a:hover { color: var(--accent-orange); }
.top-bar-custom i { color: #f2b45d; margin-right: 6px; font-size: 0.9rem; }
.top-bar-divider { border-left: 1px solid rgba(255,255,255,0.2); height: 14px; margin: 0 15px; }

.main-header {
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* Logo Setup */
.logo-box {
    background-color: #000;
    color: #fff;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    border-radius: 4px;
    margin-right: 12px;
}
.logo-text-main { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; line-height: 1; color: #000; }
.logo-text-sub { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.6rem; font-weight: 600; letter-spacing: 1.5px; color: #888; text-transform: uppercase; margin-top: 4px; display: block;}

/* Main Menu */
.header-menu .nav-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    padding: 28px 15px;
    position: relative;
    transition: 0.3s;
}
.header-menu .nav-link:hover, .header-menu .nav-link.active { color: #000; }
.header-menu .nav-link.active::after, .header-menu .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 18px; /* Line placement just under text */
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #000;
    border-radius: 2px;
}

/* Right Icons */
.header-icons .icon-link {
    color: #222;
    font-size: 1.25rem;
    margin-left: 25px;
    position: relative;
    text-decoration: none;
    transition: 0.2s;
}
.header-icons .icon-link:hover { color: var(--accent-orange); }
.header-icons .badge-dot {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 20px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    border: 2px solid #fff; /* White border to cut into icon like image */
}
.badge-red { background-color: #b32626; }
.badge-black { background-color: #000; }

/* ==========================================================================
   3. HOMEPAGE: HERO & FEATURES
   ========================================================================== */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #e0e0e0;
    background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    max-width: 550px;
    margin-left: 5%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-box-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #996017;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}
.hero-box h1 { font-size: 3rem; line-height: 1.1; font-weight: 600; margin-bottom: 15px; color: var(--primary-black); }
.hero-box p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 25px; }

/* Feature Bar */
.feature-bar {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 0;
    margin-top: 30px;
    background: #fff;
}
.feature-item { display: flex; align-items: center; gap: 15px; padding: 10px 25px; }
.feature-icon {
    background: #f0f7ff; color: #2b70c9;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.feature-item h6 { font-size: 0.85rem; font-weight: 700; margin: 0 0 2px 0; color: var(--primary-black); }
.feature-item p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }
.border-right-light { border-right: 1px solid var(--border-color); }

/* ==========================================================================
   4. BUTTONS & TYPOGRAPHY
   ========================================================================== */
.btn-pill-dark {
    background: var(--primary-black); color: #fff; border-radius: 50px; padding: 12px 25px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px; border: none; transition: 0.3s;
}
.btn-pill-dark:hover { background: #333; color: #fff; }

.btn-pill-orange {
    background: var(--accent-orange); color: var(--primary-black); border-radius: 50px; padding: 12px 25px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px; border: none; transition: 0.3s;
}
.btn-pill-orange:hover { background: var(--accent-orange-hover); color: var(--primary-black); }

.btn-pill-light {
    background: #f0f2f5; color: var(--text-dark); border-radius: 50px; padding: 12px 25px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; border: none;
}
.btn-pill-light:hover { background: #e4e6e9; color: var(--primary-black); }

.section-subtitle { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #996017; margin-bottom: 5px; }
.section-title { font-size: 2.2rem; font-weight: 600; color: var(--primary-black); margin-bottom: 30px; }

/* ==========================================================================
   5. CATEGORY & PRODUCT CARDS
   ========================================================================== */
.cat-card {
    height: 480px; border-radius: 12px; overflow: hidden; position: relative;
    background-size: cover; background-position: center; background-color: var(--bg-light);
}
.cat-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px 20px; color: #fff;
}
.cat-card-tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-orange); margin-bottom: 5px; }
.cat-card h3 { font-size: 1.8rem; margin-bottom: 8px; color: #fff; }
.cat-card p { font-size: 0.8rem; color: #ddd; margin-bottom: 15px; }
.cat-link { font-size: 0.75rem; font-weight: 700; color: #fff; text-decoration: none; text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.cat-link:hover { color: var(--accent-orange); }

/* Product Grid Cards */
.product-grid-card, .product-card {
    border: 1px solid var(--border-color); border-radius: 8px; padding: 12px;
    background: #fff; transition: box-shadow 0.3s; position: relative;
}
.product-grid-card:hover, .product-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.product-img-box, .img-wrapper {
    background: var(--bg-light); border-radius: 6px; height: 250px; position: relative;
    margin-bottom: 15px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.product-img-box img, .img-wrapper img { max-height: 100%; max-width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-grid-card:hover img, .product-card:hover img { transform: scale(1.05); }

.badge-new { background: var(--primary-black); color: #fff; font-size: 0.6rem; padding: 2px 6px; border-radius: 2px; position: absolute; top: 10px; left: 10px; font-weight: bold; z-index: 2;}
.badge-bestseller { background: #d93025; color: #fff; font-size: 0.6rem; padding: 2px 6px; border-radius: 2px; position: absolute; top: 30px; left: 10px; font-weight: bold; z-index: 2;}
.product-badges { position: absolute; top: 10px; left: 10px; z-index: 2; }
.product-badges .badge { border-radius: 2px; font-weight: bold; padding: 3px 8px; margin-bottom: 5px; display: block; width: max-content; font-size:0.65rem; }

.heart-btn {
    position: absolute; top: 10px; right: 10px; background: #fff;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #ccc; box-shadow: 0 2px 5px rgba(0,0,0,0.1); text-decoration: none; z-index: 3; transition: 0.3s;
}
.heart-btn:hover, .heart-btn.active { color: #d93025; }

.product-actions {
    position: absolute; bottom: -50px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 10px; transition: bottom 0.3s ease; z-index: 2; padding: 15px;
}
.product-grid-card:hover .product-actions, .product-card:hover .product-actions { bottom: 0; }
.product-actions .btn {
    background: #fff; color: var(--primary-black); border: none; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 50%; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
}
.product-actions .btn:hover { background: var(--primary-black); color: #fff; }

.prod-brand, .product-brand { font-size: 0.65rem; font-weight: 700; color: #996017; text-transform: uppercase; margin-bottom: 5px; letter-spacing: 1px; }
.prod-rating { font-size: 0.7rem; color: var(--text-dark); font-weight: 600; }
.prod-rating i { color: var(--accent-orange); margin-right: 2px; }
.prod-title, .product-title {
    font-size: 1rem; color: var(--text-dark); text-decoration: none; font-weight: 600;
    display: block; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: 0.3s;
}
.prod-title:hover, .product-title:hover { color: var(--accent-orange); }
.prod-price, .product-price { font-size: 1.1rem; font-weight: 700; color: var(--primary-black); }
.prod-mrp, .product-price del { font-size: 0.8rem; color: var(--text-muted); text-decoration: line-through; margin-left: 5px; font-weight: 400; }

/* ==========================================================================
   6. SHOWROOM SECTION (Homepage Bottom)
   ========================================================================== */
.showroom-section {
    border: 1px solid var(--border-color); border-radius: 16px; padding: 50px;
    background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.showroom-tag {
    background: #fdf5e6; color: #b8860b; padding: 6px 15px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; margin-bottom: 25px; letter-spacing: 1px;
}
.showroom-info-box { background: #f8f9fa; border-radius: 12px; padding: 25px; margin: 25px 0; border: 1px solid var(--border-color); }
.showroom-info-item { display: flex; gap: 15px; margin-bottom: 15px; }
.showroom-info-item:last-child { margin-bottom: 0; }
.showroom-info-item i { color: var(--text-dark); font-size: 1.1rem; margin-top: 3px; }
.showroom-info-item p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.showroom-info-item strong { color: var(--text-dark); display: block; margin-bottom: 2px; }

.showroom-img-box {
    position: relative; border-radius: 12px; overflow: hidden; height: 100%; min-height: 400px;
    background: linear-gradient(135deg, #2a0808, #5c0f13, #000000);
}
.showroom-img-overlay { position: absolute; bottom: 30px; left: 30px; color: #fff; }
.showroom-img-overlay span { color: #f2b45d; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 5px; }
.showroom-img-overlay h4 { margin: 0; font-size: 1.2rem; font-weight: 600; }

/* ==========================================================================
   7. SHOP PAGE & PRODUCT PAGE UI
   ========================================================================== */
.shop-sidebar { background: #fff; padding: 20px; border-radius: 8px; border: 1px solid var(--border-color); }
.filter-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--bg-light); padding-bottom: 10px; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 10px; }
.filter-list label { cursor: pointer; color: var(--text-dark); font-size: 0.95rem; }
.filter-list label:hover { color: var(--accent-orange); }
.form-check-input:checked { background-color: var(--primary-black); border-color: var(--primary-black); }
.pagination { margin-top: 40px; gap: 5px; }
.page-link { color: var(--primary-black); border-radius: 5px; border: 1px solid var(--border-color); padding: 8px 16px; transition: 0.3s; }
.page-link:hover, .page-item.active .page-link { background-color: var(--primary-black); color: #fff; border-color: var(--primary-black); }

/* Product Detail Specific UI */
.product-main-img-container { overflow: hidden; background: var(--bg-light); position: relative; cursor: crosshair; border-radius: 8px;}
.product-main-img { width: 100%; transition: transform 0.3s ease; object-fit: cover; }
.product-main-img:hover { transform: scale(1.5); transform-origin: center center; }
.thumbnail-img { cursor: pointer; opacity: 0.6; transition: 0.3s; border: 2px solid transparent; }
.thumbnail-img:hover, .thumbnail-img.active { opacity: 1; border-color: var(--primary-black); }
.variant-btn { display: inline-block; padding: 8px 15px; border: 1px solid var(--border-color); background: #fff; color: var(--text-dark); cursor: pointer; margin-right: 10px; margin-bottom: 10px; border-radius: 4px; transition: 0.3s; user-select: none; }
.variant-radio { display: none; }
.variant-radio:checked + .variant-btn { background: var(--primary-black); color: #fff; border-color: var(--primary-black); }

/* ==========================================================================
   8. FOOTER (DARK THEME)
   ========================================================================== */
.footer-features { background: #151922; padding: 35px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-feature-item { display: flex; align-items: center; gap: 15px; }
.footer-feature-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: #242a38; color: #f2b45d;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.footer-feature-item h6 { font-size: 0.9rem; font-weight: 700; margin: 0 0 3px 0; color: #fff;}
.footer-feature-item p { font-size: 0.75rem; color: #a0a5b1; margin: 0; line-height: 1.4;}

.main-footer { background: #1a1f2b; padding: 60px 0 40px; color: #fff; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-m { background: #fff; color: #1a1f2b; padding: 2px 10px; border-radius: 4px; font-size: 1.4rem; }
.main-footer p { color: #a0a5b1; font-size: 0.85rem; line-height: 1.6; margin-bottom: 20px; }
.main-footer h5 { font-size: 1rem; font-weight: 700; margin-bottom: 25px; color: #fff; }

ul.footer-links { list-style: none; padding: 0; margin: 0; }
ul.footer-links li { margin-bottom: 12px; }
ul.footer-links a { color: #a0a5b1; font-size: 0.85rem; text-decoration: none; transition: 0.3s; display: block;}
ul.footer-links a:hover { color: #f2b45d; padding-left: 5px; }

.footer-hours-box {
    border: 1px solid rgba(255,255,255,0.1); padding: 20px; border-radius: 8px;
    font-size: 0.8rem; color: #a0a5b1; background: #151922; margin-bottom: 25px;
}
.footer-hours-box strong { color: #fff; }
.newsletter-form .form-control {
    background: #242a38; border: 1px solid rgba(255,255,255,0.1);
    color: #fff; border-radius: 4px 0 0 4px; font-size: 0.85rem;
}
.newsletter-form .form-control:focus { box-shadow: none; border-color: #f2b45d; background: #2a3142; color:#fff;}
.newsletter-form .btn {
    background: #fdf5e6; color: #000; font-weight: 700;
    border-radius: 0 4px 4px 0; font-size: 0.85rem; padding: 10px 20px; border:none;
}

.footer-bottom { background: #0f1219; padding: 20px 0; color: #a0a5b1; font-size: 0.75rem; }
.footer-bottom a { color: #a0a5b1; text-decoration: none; margin-left: 15px; transition: 0.3s; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   9. RESPONSIVE DESIGN (MOBILE)
   ========================================================================== */
.btn-filter-mobile { display: none; }

@media (max-width: 991px) {
    .border-right-light { border-right: none; border-bottom: 1px solid var(--border-color); }
    .hero-box { margin: 0 15px; padding: 25px; }
    .hero-box h1 { font-size: 2rem; }
    .showroom-section { padding: 30px; }
    .showroom-img-box { min-height: 250px; margin-top: 30px; }
    .footer-feature-item { margin-bottom: 20px; }
    .btn-filter-mobile { display: inline-flex; align-items: center; gap: 8px; }
    .product-actions { bottom: 0; opacity: 1; padding: 10px; }
    .header-icons .icon-link { margin-left: 15px; } /* Closer icons on mobile */
}