*{
    margin: 0px;
    padding: 0px;
    
}

a {
    color: black !important;
    text-decoration: none;
}

.footer {
    background: #f5f5f5;
    color: #555;
    font-size: 14px;
    margin-top: 40px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Top Section */
.footer-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 6px;
}

.footer ul li a {
    text-decoration: none;
    color: #555;
}

.footer ul li a:hover {
    color: #000;
}

/* App Images */
.app-img img {
    height: 40px;
    margin-right: 10px;
}

/* Middle */
.footer-middle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid #ddd;
    margin-top: 30px;
    padding-top: 20px;
}

/* Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    margin-top: 30px;
    padding-top: 20px;
}

.payments img {
    height: 30px;
    margin-right: 10px;
}

/* Social */
.social i {
    margin-right: 10px;
    font-size: 18px;
    cursor: pointer;
}

/* Copy */
.footer-copy {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-middle {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* nav / */

/* Top Bar */
.top-bar {
    background: #423225;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* Top Links */
.top-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 12px;
    padding: 8px;
    background: #f5f5f5;
}

.top-links a {
    text-decoration: none;
    color: #555;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 80px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

/* Search */
.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    width: 300px;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
}

.search-box i {
    color: #999;
}

/* Logo */
.logo img {
    height: 60px;
}

/* Right section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Offer text */
.offer {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.signup {
    font-weight: bold;
}

/* Icons */
.icon-box {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.icon-box i {
    font-size: 26px;
}
/* Menu */
.menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    border-top: 1px solid #eee;
    padding: 15px;
     border-bottom: 1px solid #eee;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600 !important;
}

.menu a:hover {
    color: #da6c27;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 10px;
    }

    .menu {
        flex-wrap: wrap;
    }
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

    .main-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px;
    }

    /* Top row (logo + icons) */
    .header-right {
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }

    /* Logo center */
    .logo {
        text-align: center;
        width: 100%;
    }

    .logo img {
        height: 28px;
    }

    /* Search full width */
    .search-box {
        width: 100%;
    }

    /* Hide offer text on mobile */
    .offer {
        display: none;
    }

    /* Hide "Find a Store" text, keep icon */
    .icon-box span {
        display: none;
        
    }

    /* Reduce icon size slightly */
    .icon-box i {
        font-size: 14px;
    }
}

/* banner  */

/* Container fix */
.banner-wrapper {
    max-width: 1200px;
    margin: 0 auto;        /* center align */
    padding: 10px;
    box-sizing: border-box;
}

/* TOP GRID */
.top-banners {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

/* LEFT */
.left-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* RIGHT */
.right-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-item {
    height: 500px;   /* yaha height adjust kar sakti ho */
}

.side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* BOTTOM */
.bottom-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.bottom-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* IMPORTANT: prevent overflow */
img {
    max-width: 100%;
    /* display: block; */
}
.third-banner{
    padding: 15px;
    padding-left: 65px;
}
/* MOBILE VIEW PERFECT (NO SLIDER) */
@media (max-width: 768px) {

    .banner-wrapper {
        padding: 10px;
    }

    /* Top section vertical */
    .top-banners {
        display: block;
    }

    /* Big banner */
    .left-banner {
        margin-bottom: 10px;
    }

    .left-banner img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    /* Right banners side-by-side */
    .right-banner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .side-item {
        height: 130px;   /* important */
    }

    .side-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    /* Bottom banners */
    .bottom-banners {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 10px;
    }

    .bottom-item {
        height: 110px;
    }

    .bottom-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
}

/* top banner  */

.top-offer-banner {
    background: linear-gradient(to right, #f7d3b6, #f4c29f);
    padding: 10px 20px;
    border-radius: 8px;
    margin: 10px 20px;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LEFT */
.banner-left img {
    width: 80px;
}

/* TEXT */
.banner-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.banner-text p {
    margin: 0;
    font-size: 14px;
}

/* BUTTON */
.banner-btn a {
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

/* visit our store  */
.store {
    text-align: center;
    padding: 20px;
 
    color: #8b5e3c;
}

/* menu dynamic  */
/* top menu */
/* 1. Ensure the parent menu is the anchor point */
.menu {
    display: flex;
    gap: 25px;
    background: #eee;
    padding: 0px 20px;
    position: relative; /* Crucial for absolute positioning of child */
}

.menu-item{ padding-top: 12px; padding-bottom: 12px;}

/* 2. FULL WIDTH DROPDOWN */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;             /* Changed from 90px to 100% */
    background: #fff;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 999;
    box-sizing: border-box;
    
    /* Layout for columns */
    display: none;           /* Kept hidden until hover */
    flex-direction: row;     /* Align columns horizontally */
    flex-wrap: wrap;         /* Wrap if too many categories */
    gap: 30px;
    transition: 0.3s;
}

/* 3. Show as Flex on Hover */
.menu-item:hover .mega-menu {
    display: flex;           /* Use flex instead of block */
}

/* 4. Column Styling */
.mega-column {
    flex: 1;                 /* Distribute space evenly */
    min-width: 150px;        /* Prevent columns from getting too squashed */
    max-width: 250px;
}

/* 5. Typography & Links */
.mega-column h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #b26a00;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

.mega-column a {
    display: block;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.mega-column a:hover {
    color: #b26a00;
    text-decoration: underline;
}

/* --- RESPONSIVE MOBILE VIEW --- */

@media (max-width: 768px) {
    /* 1. Stack the main menu items vertically */
    .menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .menu-item {
        width: 100%;
        padding: 0; /* Remove padding to handle it in the link */
        border-bottom: 1px solid #ddd;
    }

    /* Make the top-level link easier to tap */
    .menu-item > a {
        display: block;
        padding: 15px 20px;
        background: #eee;
        font-weight: bold;
    }

    /* 2. Reset Mega Menu for Mobile */
    .mega-menu {
        position: relative;    /* Push content down instead of floating over it */
        top: 0;
        width: 100%;
        box-shadow: none;      /* Shadow looks messy inside an accordion */
        padding: 15px 25px;
        background: #f9f9f9;
        flex-direction: column; /* Stack columns vertically */
        gap: 20px;
        border-top: 1px solid #ddd;
    }

    /* 3. Adjust Columns for Mobile */
    .mega-column {
        max-width: 100%;       /* Use full width of the screen */
        min-width: unset;
    }

    .mega-column h4 {
        margin-top: 10px;
        font-size: 14px;
    }

    /* 4. Link sizing for fingers (Touch Targets) */
    .mega-column a {
        padding: 10px 0;      /* Larger tap area */
        border-bottom: 1px solid #eee;
    }

    .mega-column a:last-child {
        border-bottom: none;
    }
}

/* shop dynamic section  */
.shop-section {
    padding: 40px;
    text-align: center;
        padding-left: 80px;
    padding-right: 80px;
    color: #8b5e3c;

}

.title {
    font-size: 32px;
    margin-bottom: 20px;
    
}

.tabs {
    margin-bottom: 25px;

}

.tab-btn {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    margin: 5px;
    background: #f5f5f5;
    cursor: pointer;
}

.tab-btn.active {
    background: #ff6a00;
    color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.card {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 10px;
}

.card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.card p {
    margin-top: 10px;
    font-size: 14px;
}

/* -----------only 3 category------ */
.brand-section {
    padding: 40px;
    text-align: center;
    padding-left: 90px;
    padding-right: 90px;
    color: #8b5e3c;
}

.brand-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* tabs */
.brand-tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 20px;
    
}

.brand-tab {
    cursor: pointer;
    padding-bottom: 10px;
    position: relative;
}

.brand-tab.active {
    color: orange;
    border-bottom: 2px solid orange;
}

/* grid */
.brand-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* card */
.brand-card {
    position: relative;
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.brand-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    text-align: center;
}

/* home page product section  */
.deal-section {
    padding: 30px;
}

.deal-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* grid */
.deal-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding-left: 40px;
    padding-right: 40px;
}

/* card */
.deal-card {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

.deal-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* text */
.title {
    font-size: 32px;
    margin-top: 8px;
}

/* price */
.price {
    font-size: 13px;
    margin-top: 5px;
}

.new {
    font-weight: bold;
}

.old {
    text-decoration: line-through;
    color: gray;
    margin-left: 5px;
}

.off {
    color: green;
    margin-left: 5px;
}

/* special box */
.special {
    background: orange;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* SECTION */
.store-section {
    padding: 40px 20px;
}

/* CONTAINER */
.store-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD COMMON */
.store-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

/* LEFT STATIC CARD */
.static-card {
    background: #f5f5f5;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.static-card .title {
    font-size: 28px;
    font-style: italic;
    font-weight: 600;
    color: #111;
}

.static-card .subtitle {
    margin-top: 5px;
    color: #666;
}

.store-link {
    color: #ff6a00;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
}

.store-link span {
    margin-left: 6px;
    transition: 0.3s;
}

.store-link:hover span {
    transform: translateX(5px);
}

.offer {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.offer h4 {
    font-size: 18px;
    font-weight: bold;
}

.sketch {
    width: 120px;
    opacity: 0.6;
    align-self: flex-end;
}

/* IMAGE CARD */
.image-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    transition: 0.3s;
}

.image-card:hover .overlay {
    background: rgba(0,0,0,0.2);
}

/* CONTENT */
.content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 10px;
}

.content h3 {
    font-size: 20px;
    font-weight: bold;
}

.content p {
    font-size: 12px;
    margin-top: 5px;
}

/* RESPONSIVE */

/* Tablet */
@media (max-width: 1024px) {
    .store-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .store-container {
        grid-template-columns: 1fr;
    }

    .image-card img {
        height: 250px;
    }

    .static-card {
        padding: 20px;
    }

    .static-card .title {
        font-size: 22px;
    }
}

/* categery-section */
.category-section {
    padding: 40px;
    background: #f5f5f5;
    padding-left: 80px;
    padding-right: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #8b5e3c;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.category-card h3 {
    padding: 10px 15px 0;
    font-size: 16px;
}

.category-card p {
    padding: 5px 15px 15px;
    color: gray;
    font-size: 14px;
}
/* end-category-section */

/* sleep-section-start  */
.sleep-section {
    padding: 40px 20px;
    background: #ffffff;
    padding-left: 80px;
    padding-right: 80px;
}

.sleep-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #8b5e3c;
    margin-bottom: 25px;
}

.sleep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* CARD */
.sleep-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.sleep-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s;
}

/* hover zoom */
.sleep-card:hover img {
    transform: scale(1.05);
}

/* TEXT OVERLAY */
.sleep-content {
    position: absolute;
    color: #000;
}

.sleep-content.left {
    top: 20px;
    left: 20px;
}

.sleep-content.right {
    top: 20px;
    right: 20px;
    text-align: right;
}

.sleep-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sleep-content p {
    font-size: 14px;
    color: #333;
}

/* RESPONSIVE 🔥 */
@media (max-width: 768px) {
    .sleep-grid {
        grid-template-columns: 1fr;
    }

    .sleep-card img {
        height: 220px;
    }

    .sleep-content h3 {
        font-size: 16px;
    }
}

/* end-sleep-sec */

/* trend-section */

.trend-section {
    padding: 40px 20px;
    background: #f5f5f5;
    padding-left: 80px;
    padding-right: 80px;
}

.trend-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #8b5e3c;
    margin-bottom: 25px;
}

/* GRID */
.trend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CARD */
.trend-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

.trend-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.trend-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* CONTENT */
.trend-content {
    padding: 12px 15px;
}

.trend-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.trend-content p {
    font-size: 13px;
    color: #666;
}

/*  RESPONSIVE */

/* Tablet */
@media (max-width: 992px) {
    .trend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .trend-grid {
        grid-template-columns: 1fr;
    }

    .trend-card img {
        height: 200px;
    }

    .trend-title {
        font-size: 18px;
    }
}


/* end-tren-section */

  /* <!-- start-testimonial-section --> */

.testimonial-section {
    padding: 64px 0;
    background: #ffffff;
    font-family: 'DM Sans', sans-serif;
}
.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

/* LEFT */
.testimonial-left { position: sticky; top: 24px; }
.t-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c45c1a;
    display: block;
    margin-bottom: 10px;
}
.testimonial-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 36px);
    color: #1e1c1a;
    line-height: 1.2;
    margin-bottom: 12px;
}
.t-sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 28px;
    line-height: 1.6;
}
.t-sub strong { color: #1e1c1a; }
.t-meta { display: flex; align-items: center; gap: 16px; }
.t-meta-item { text-align: center; }
.t-meta-num {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #c45c1a;
    font-family: 'Playfair Display', serif;
}
.t-meta-label { font-size: 11.5px; color: #999; }
.t-meta-divider { width: 1px; height: 36px; background: #e0dbd4; }

/* GRID */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

/* CARD */
.testimonial-card {
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 12px;
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .18s, transform .18s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

/* TOP ROW */
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.avatar-initials {
    background: #fff3ec;
    color: #c45c1a;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #f5d5bc;
}
.review-meta { display: flex; flex-direction: column; gap: 3px; }
.review-name { font-size: 13.5px; font-weight: 600; color: #1e1c1a; }
.stars { display: flex; gap: 2px; }
.star { font-size: 13px; }
.star.filled { color: #f5a623; }
.star.empty  { color: #ddd; }

/* TEXT */
.review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    flex: 1;
}

/* BOTTOM */
.review-bottom { margin-top: 2px; }
.review-product {
    font-size: 11.5px;
    color: #3b6d11;
    font-weight: 500;
    background: #eaf3de;
    padding: 3px 9px;
    border-radius: 20px;
    display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 860px) {
    .testimonial-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .testimonial-left { position: static; }
    .testimonial-left h2 { font-size: 26px; }
}
@media (max-width: 480px) {
    .testimonial-section { padding: 40px 0; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .t-meta-num { font-size: 22px; }
}

    /* <!-- end-testimonial-section --> */

    /* start-feature  */

.feature-bar {
    background: #ffffff;
    padding: 15px 20px;
}

.feature-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* ITEM */
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    position: relative;
}

/* divider line */
.feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    height: 30px;
    width: 1px;
    background: #ddd;
}

/* ICON */
.icon {
    width: 30px;
    height: 30px;
}

/* TEXT */
.feature-item span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/*  RESPONSIVE */

/* Tablet */
@media (max-width: 768px) {
    .feature-container {
        flex-direction: column;
        gap: 15px;
    }

    .feature-item::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .feature-item {
        justify-content: flex-start;
    }

    .feature-item span {
        font-size: 13px;
    }
}


    /* end-feature  */

    /* USER login ICON */
.user-hover {
    position: relative;
    cursor: pointer;
}

/* POPUP BOX */
.login-popup {
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 6px;
    display: none;
    z-index: 999;
    margin-top: 5px;
}

/* SHOW ON HOVER */
.user-hover:hover .login-popup {
    display: block;
}

/* TEXT */
.login-popup p {
    margin: 0;
    font-size: 14px;
}

.login-popup .small {
    font-size: 12px;
    color: #666;
    margin: 5px 0 10px;
}

/* BUTTON */
.login-popup .btn {
    display: block;
    text-align: center;
    background: #423225;
    color: #fff;
    padding: 8px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 4px;
}

.login-popup .btn.logout {
    background: #333;
}
.login-popup::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

/* MODAL BACKGROUND */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);

    /*  important */
    overflow-y: auto;
}

/* MODAL BOX */
.modal-content {
      background: #fff;
    width: 400px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 6px;
    position: relative;

    /*  IMPORTANT FIX */
    max-height: 90vh;
    overflow-y: auto;
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* INPUT */
.modal-content input {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
}

/* BUTTON */
.modal-content button {
    width: 100%;
    background: #211912;
    color: #fff;
    padding: 10px;
    border: none;
}

/* furniture category  */
.d-none {
    display: none;
}

.show-more-btn {
    background: #ff6a00;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* nav-hover */
/* search-nav */
.search-box form {
    display: flex;
    gap: 5px;
}

.search-box input {
    padding: 8px;
    border: 1px solid #ccc;
}

.search-box button {
    padding: 8px 12px;
    background: black;
    color: white;
    border: none;
}

/* ===== CATEGORY BANNER ===== */
.category-banner {
    margin: 0 auto 28px;
    max-width: 1200px;
    padding: 0 20px;
    padding-top: 50px;
}
.banner-inner {
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e2da;
    min-height: 200px;
    background: #fff8f2;
}

/* Left */
.banner-left {
    flex: 0 0 280px;
    padding: 28px 30px;
    background: #fff8f2;
}
.banner-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c45c1a;
    margin-bottom: 8px;
}
.banner-title {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    color: #1e1c1a;
    line-height: 1.3;
    margin-bottom: 16px;
}
.banner-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #c45c1a;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: opacity .15s;
}
.banner-btn:hover { opacity: 0.88; }

/* Right */
.banner-right {
    flex: 1;
    height: 220px;
}
.banner-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-inner { flex-direction: column; }
    .banner-left  { flex: unset; width: 100%; padding: 18px 16px; }
    .banner-right { width: 100%; height: 160px; }
}
@media (max-width: 480px) {
    .banner-right { height: 120px; }
    .banner-title { font-size: 18px; }
}

/* ===== COLLECTIONS SECTION ===== */
.collections-section {
    max-width: 1200px;
    margin: 36px auto;
    padding: 0 20px;
}
.collections-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #c45c1a;
    margin-bottom: 18px;
    font-family: 'DM Sans', sans-serif;
}

.collections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.collection-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 180px;
    text-decoration: none;
    display: block;
}

/* Background image */
.collection-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .3s ease;
}
.collection-card:hover .collection-bg {
    transform: scale(1.04);
}

/* Dark overlay */
.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.88) 40%, rgba(255,255,255,0.1) 100%);
}

/* Content */
.collection-content {
    position: relative;
    z-index: 1;
    padding: 24px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.collection-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e1c1a;
    line-height: 1.3;
    margin-bottom: 6px;
    font-family: 'DM Sans', sans-serif;
}
.collection-content p {
    font-size: 13px;
    color: #555;
    margin-bottom: 14px;
}
.collection-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1e1c1a;
    border-bottom: 1.5px solid #1e1c1a;
    padding-bottom: 2px;
    transition: color .15s, border-color .15s;
}
.collection-card:hover .collection-btn {
    color: #c45c1a;
    border-color: #c45c1a;
}

/* Responsive */
@media (max-width: 640px) {
    .collections-grid { grid-template-columns: 1fr; }
    .collection-card  { height: 150px; }
}

/* ===== RECENTLY VIEWED ===== */
.recently-viewed {
    max-width: 1200px;
    margin: 36px auto;
    padding: 0 20px;
}
.rv-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #c45c1a;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.rv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.rv-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e2da;
    overflow: hidden;
    position: relative;
    transition: box-shadow .18s, transform .18s;
}
.rv-card:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,.09);
    transform: translateY(-3px);
}
.rv-card a { text-decoration: none; color: inherit; display: block; }

/* Wishlist */
.rv-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
    transition: background .15s;
}
.rv-wishlist:hover { background: #fff0e8; }
.rv-wishlist i { font-size: 13px; color: #bbb; }
.rv-wishlist.active i { color: #e53935; }

/* Image */
.rv-img-wrap {
    height: 170px;
    overflow: hidden;
    background: #f5f2ef;
}
.rv-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s;
}
.rv-card:hover .rv-img-wrap img { transform: scale(1.05); }

/* Body */
.rv-body { padding: 10px 12px 12px; }
.rv-name {
    font-size: 12.5px;
    color: #1e1c1a;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
}
.rv-pricing { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.rv-price  { font-size: 14px; font-weight: 700; color: #1e1c1a; }
.rv-old    { font-size: 11.5px; color: #bbb; text-decoration: line-through; }
.rv-disc   { font-size: 11.5px; color: #c45c1a; font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
    .rv-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .rv-img-wrap { height: 130px; }
}
@media (max-width: 480px) {
    .rv-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .rv-img-wrap { height: 110px; }
    .rv-name { font-size: 11.5px; }
}

/* ===== trend-category page ===== */
.life-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.life-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #c45c1a;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.life-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.life-img-wrap {
    width: 100%;
    height: 340px;
    overflow: hidden;
}
.life-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.life-card:hover .life-img-wrap img {
    transform: scale(1.04);
}

.life-info {
    padding: 12px 4px 6px;
}
.life-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e1c1a;
    margin-bottom: 3px;
    font-family: 'DM Sans', sans-serif;
}
.life-sub {
    font-size: 12.5px;
    color: #888;
    font-family: 'DM Sans', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .life-grid { grid-template-columns: repeat(2, 1fr); }
    .life-img-wrap { height: 220px; }
}
@media (max-width: 480px) {
    .life-grid { grid-template-columns: 1fr; }
    .life-img-wrap { height: 200px; }
}

/* ===== TOP BRANDS SECTION ===== */
.top-brands-section {
    max-width: 1200px;
    margin: 36px auto;
    padding: 0 20px;
}
.top-brands-inner {
    display: flex;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e2da;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

/* LEFT */
.tb-left {
    flex: 0 0 220px;
    padding: 28px 24px;
    background: #faf8f5;
    border-right: 1px solid #e8e2da;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tb-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1714;
    line-height: 1.25;
    margin-bottom: 6px;
}
.tb-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
}
.tb-line {
    border: none;
    border-top: 1px solid #e0dbd4;
    margin-bottom: 16px;
}
.tb-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tb-brand-tag {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    background: #fff;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
}

/* RIGHT: Products */
.tb-products {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.tb-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #f0ede8;
    transition: background .15s;
    padding-bottom: 14px;
}
.tb-card:hover { background: #faf8f5; }

.tb-card-img {
    position: relative;
    height: 180px;
    background: #f5f2ef;
    overflow: hidden;
}
.tb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}
.tb-card:hover .tb-card-img img { transform: scale(1.05); }

.tb-wish {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
    transition: background .15s;
}
.tb-wish:hover { background: #fff0e8; }
.tb-wish i { font-size: 12px; color: #ccc; }
.tb-wish:hover i { color: #e53935; }

.tb-card-body { padding: 10px 12px 0; }
.tb-name {
    font-size: 12.5px;
    font-weight: 500;
    color: #1a1714;
    line-height: 1.4;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
}
.tb-pricing { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.tb-price { font-size: 13.5px; font-weight: 700; color: #1a1714; }
.tb-old   { font-size: 11.5px; color: #bbb; text-decoration: line-through; }
.tb-disc  { font-size: 11.5px; color: #2e7d32; font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .top-brands-inner { flex-direction: column; }
    .tb-left {
        flex: unset;
        border-right: none;
        border-bottom: 1px solid #e8e2da;
        padding: 20px;
    }
    .tb-products { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
    .tb-products {
        grid-template-columns: repeat(2, 1fr);
    }
    .tb-card { border-bottom: 1px solid #f0ede8; }
    .tb-card-img { height: 140px; }
}
@media (max-width: 400px) {
    .tb-card-img { height: 120px; }
    .tb-name { font-size: 11.5px; }
}