/* public/css/home.css */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#f3eedd;
    color:#222;
}

/* ================= NAVBAR ================= */
/* ================= NAVBAR ================= */

header{
    width:100%;
    background:#f5f1e4;
    padding:15px 5%;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.top-navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

/* LOGO */

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:55px;
    height:55px;
    object-fit:cover;
    border-radius:50%;
}

.logo h1{
    color:#0d6b2f;
    font-size:32px;
    font-weight:700;
}

/* SEARCH */

.search-box{
    flex:1;
    display:flex;
    max-width:700px;
    background:#f3eedd;
    border:2px solid #0d6b2f;
    border-radius:50px;
    overflow:hidden;
}

.search-box input{
    flex:1;
    border:none;
    outline:none;
    padding:14px 20px;
    background:transparent;
    font-size:15px;
}

.search-box button{
    border:none;
    background:#0d6b2f;
    color:white;
    width:60px;
    cursor:pointer;
    font-size:16px;
}

/* NAV ICONS */

.nav-icons{
    display:flex;
    align-items:center;
    gap:25px;
}

.nav-icons a{
    text-decoration:none;
    color:#0d6b2f;
    display:flex;
    flex-direction:column;
    align-items:center;
    font-size:14px;
    transition:0.3s;
}

.nav-icons a:hover{
    transform:translateY(-2px);
}

.nav-icons i{
    font-size:20px;
    margin-bottom:4px;
}

/* ================= CATEGORY BAR ================= */
/* ================= CATEGORY BAR ================= */

.category-bar{
    width:100%;
    background:white;
    display:flex;
    justify-content:space-around;
    align-items:center;
    padding:5px 4%;
}

.category-item{
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
     text-decoration: none;
    color: inherit;
}

.category-item img{
    width:65px;
    height:65px;
    object-fit:contain;
}

.category-item p{
    font-size:12px;
    color:#222;
    font-weight:500;
}

/* ================= CATEGORY BAR ================= */



/* ================= HERO ================= */
/* ================= FULL BANNER ================= */


/* ================= HERO BANNER ================= */
/* ================= CATEGORY BAR ================= */
/* ================= SPECIAL CATEGORY ================= */

.special-category{
    width:85%;
    margin:40px auto;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
}

.special-item{
    text-align:center;
    cursor:pointer;
    transition:0.3s;
}

.special-item:hover{
    transform:translateY(-5px);
}

.special-item img{
    width:140px;
    height:160px;
    object-fit:cover;
}

.special-item p{
    margin-top:12px;
    font-size:16px;
    font-weight:500;
    color:#222;
}

/* ================= CATEGORIES ================= */

.category-section{
    display:flex;
    justify-content:center;
    gap:40px;
    padding:30px 5%;
    flex-wrap:wrap;
}

.category-card{
    text-align:center;
    cursor:pointer;
}

.category-card img{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid white;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.category-card h3{
    margin-top:12px;
    font-size:16px;
}

/* ================= TREND ================= */

.trend-section{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
    padding:30px 5%;
}

.trend-left img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:10px;
}

.trend-right{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.small-trend img{
    width:100%;
    height:240px;
    object-fit:cover;
    border-radius:10px;
}

.latest-box{
    background:white;
    height:240px;
    border-radius:10px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.latest-box h2{
    font-size:38px;
    color:#444;
}

.latest-box p{
    color:gray;
    margin-top:10px;
}

/* ================= PRODUCTS ================= */

.product-section{
    padding:50px 5%;
}

.section-title{
    text-align:center;
    margin-bottom:40px;
    font-size:34px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:35px;
}

.product-card{
    background:white;
    border-radius:10px;
    padding:20px;
    text-align:center;
    position:relative;
    transition:0.3s;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 6px 20px rgba(0,0,0,0.1);
}

.product-card img{
    width:100%;
    height:300px;
    object-fit:cover;
    border-radius:8px;
}

.product-card h3{
    margin-top:15px;
    font-size:18px;
}

.price{
    margin:12px 0;
    font-weight:600;
    color:#0d6b2f;
    font-size:18px;
}

.product-card button{
    width:100%;
    padding:12px;
    border:none;
    background:#0d6b2f;
    color:white;
    border-radius:30px;
    cursor:pointer;
    font-size:15px;
}

.wishlist{
    position:absolute;
    top:15px;
    right:15px;
    background:white;
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    cursor:pointer;
}

/* ================= FEATURES ================= */

/* ================= FEATURES ================= */

/* ================= FEATURES ================= */

.features{
    width:100%;
    margin-top:40px;
}

.features img{
    width:100%;
    display:block;
    object-fit:cover;
}

/* ================= FOOTER ================= */

.luxury-footer{
    width:100%;
    background:#18392B;
    padding:10px 7% 25px;
    color:#E8D8B0;
    margin-top:40px;
}

/* LOGO */

.footer-logo{
    text-align:center;
    margin-bottom:10px;
}

.footer-logo img{
    width:500px;
    max-width:100%;
}

/* FOOTER CONTENT */

.footer-content{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    align-items:flex-start;
}

/* COLUMN */

.footer-column{
    padding:0 18px;
    border-right:1px solid rgba(232,216,176,0.25);
}

.footer-column:last-child{
    border-right:none;
}

/* HEADINGS */

.footer-column h2{
    font-size:28px;
    margin-bottom:18px;
    font-family:serif;
    font-weight:500;
    color:#E8D8B0;
}

/* LINKS */

.footer-column a{
    display:block;
    text-decoration:none;
    color:#E8D8B0;
    margin-bottom:12px;
    font-size:16px;
    transition:0.3s;
    font-family:serif;
}

.footer-column a:hover{
    padding-left:5px;
}

/* QR */

.qr-section{
    text-align:center;
}

.qr-section img{
    width:140px;
    margin-bottom:10px;
}

.qr-section p{
    font-size:18px;
    line-height:1.4;
    color:#E8D8B0;
    font-family:serif;
}

/* SOCIAL */

.footer-social{
    display:flex;
    gap:12px;
    margin-bottom:18px;
}

.footer-social i{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#E8D8B0;
    color:#18392B;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    cursor:pointer;
}

.footer-column h3{
    font-size:22px;
    font-family:serif;
    font-weight:400;
    color:#E8D8B0;
}

/* COPYRIGHT */

.footer-bottom{
    text-align:center;
    margin-top:35px;
}

.footer-bottom p{
    font-size:16px;
    font-family:serif;
    color:#E8D8B0;
}
/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    .hero-section,
    .trend-section{
        grid-template-columns:1fr;
    }

    .top-navbar{
        flex-direction:column;
    }

    .nav-icons{
        width:100%;
        justify-content:center;
    }
}

@media(max-width:600px){

    .search-box{
        width:100%;
    }

    .hero-left img{
        height:300px;
    }

    .trend-left img{
        height:350px;
    }

    .latest-box h2{
        font-size:28px;
    }
}
/* =========================================
   HERO BANNER
========================================= */
.hero-banner { 
    width: 100%; 
    height: 450px;
    min-height: 0;

    display: flex; 
    align-items: stretch; 

    background: #f8f1e7; 

    overflow: hidden; 
}


/* LEFT CONTENT */

.hero-content {
    width: 50%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px 8%;

    z-index: 2;
}


/* SMALL TITLE */

.hero-subtitle {
    margin: 0 0 18px;

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 2px;

    color: #b34747;
}


/* MAIN TITLE */

.hero-content h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 64px;
    line-height: 1.05;

    font-weight: 500;

    color: #171717;
}


/* DESCRIPTION */

.hero-description {
    margin: 25px 0 30px;

    font-family: "Poppins", sans-serif;

    font-size: 16px;
    line-height: 1.8;

    color: #444;
}


/* SHOP BUTTON */

.hero-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 130px;
    height: 45px;

    background: #111;
    color: #fff;

    text-decoration: none;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 1px;

    border-radius: 3px;

    transition: 0.3s ease;
}


.hero-btn:hover {
    background: #0d6b2f;

    transform: translateY(-2px);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image { 
    width: 50%; 
    height: 100%;
    min-height: 0;
    overflow: hidden; 
}


.hero-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center top;
    display: block; 
    transition: transform 0.6s ease; 
}


.hero-banner:hover .hero-image img {
    transform: scale(1.03);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) { 

    .hero-banner { 
        height: 400px;
        min-height: 0;
    }

    .hero-content {
        padding: 50px 6%;
    }

    .hero-content h1 {
        font-size: 48px;
    }

}


@media (max-width: 650px) {

    .hero-banner {
        flex-direction: column;
    }

    .hero-content {
        width: 100%;

        padding: 55px 25px;

        text-align: center;

        align-items: center;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-image {
        width: 100%;
        height: 350px;
    }

}
/* ==============================
   HOME LIVE SEARCH
================================ */

.search-box {
    position: relative;
}


/* Search suggestions box */

.search-suggestions {
    position: absolute;

    top: calc(100% + 8px);

    left: 0;

    width: 100%;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);

    overflow: hidden;

    display: none;

    z-index: 9999;
}


/* Individual result */

.search-result-item {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 10px 14px;

    text-decoration: none;

    color: #222;

    transition: background 0.2s ease;
}


.search-result-item:hover {
    background: #f5f0df;
}


/* Product image */

.search-result-item img {
    width: 55px;

    height: 65px;

    object-fit: cover;

    border-radius: 6px;
}


/* Product details */

.search-result-info {
    flex: 1;
}


.search-result-info h4 {
    margin: 0;

    font-size: 14px;

    font-weight: 600;

    color: #222;
}


.search-result-info p {
    margin: 5px 0 0;

    font-size: 13px;

    font-weight: 600;

    color: #0d6b2f;
}


/* View all */

.view-all-search {
    display: block;

    padding: 13px;

    text-align: center;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    color: #0d6b2f;

    border-top: 1px solid #eee;

    background: #faf9f3;
}


.view-all-search:hover {
    background: #f5f0df;
}


/* No result */

.no-search-result {
    padding: 20px;

    text-align: center;

    font-size: 14px;

    color: #777;
}
/* ==============================
   OUT OF STOCK BUTTON
================================ */

.addToCartBtn:disabled {
    background: #d6d6d6;
    color: #888;
    border: 1px solid #c8c8c8;
    cursor: not-allowed;
    opacity: 1;
}
/* ==============================
   WISHLIST HEART - TOP RIGHT
================================ */

.product-card {
    position: relative;
}

.wishlist-top {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.wishlistBtn {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border-radius: 50%;

    text-decoration: none;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);

    transition: all 0.2s ease;
}

.wishlistBtn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.heartIcon {
    font-size: 18px;
}