* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: Georgia, serif;
    background: #f8f2eb;
    color: #2b2118;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: #3a2a1f;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 34px;
    letter-spacing: 8px;
    color: white;
}

ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

li {
    color: white;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 30px;
    transition: 0.3s;
}

li:hover {
    background: #f8f2eb;
    color: #3a2a1f;
}

.cart-icon {
    color: white;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}

/* BUTTONS */
button {
    margin-top: 35px;
    padding: 18px 42px;
    border: none;
    border-radius: 12px;
    background: #3a2a1f;
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* HERO */
.hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 60px;
    min-height: 90vh;
    gap: 60px;
}

.left {
    width: 45%;
}

.left h1 {
    font-size: 72px;
    line-height: 1.1;
}

.left p {
    margin-top: 20px;
    font-size: 28px;
}

.right {
    width: 55%;
}

.right img {
    width: 100%;
    border-radius: 25px;
}

/* ABOUT CARD */
.about-card {
    position: absolute;
    right: 40px;
    bottom: 50px;
    width: 330px;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.about-card h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-card p {
    font-size: 20px;
    line-height: 1.5;
}

/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    background: #241913;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 1s;
}

#loader h1 {
    color: white;
    font-size: 70px;
    letter-spacing: 12px;
}

/* SEARCH */
.search-bar {
    text-align: center;
    padding: 25px;
    background: white;
}

.search-bar input {
    width: 400px;
    max-width: 90%;
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 18px;
}
/* COLLECTIONS */
.collections {
    padding: 70px 60px;
    text-align: center;
    background: white;
}

.collections h2 {
    font-size: 60px;
    margin-bottom: 50px;
}

.collection-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.collection-card {
    width: 320px;
    background: #f8f2eb;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.collection-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-card h3 {
    padding-top: 25px;
    font-size: 28px;
}

.collection-card p {
    padding: 15px 0 25px;
    font-size: 22px;
}

/* PRODUCT PAGE */
.product-page {
    display: flex;
    gap: 50px;
    padding: 60px;
    align-items: center;
    justify-content: center;
}

.product-images img {
    width: 450px;
    border-radius: 20px;
}

.product-details {
    max-width: 500px;
}

.product-details h1 {
    font-size: 50px;
}

.product-details h2 {
    color: #5c3a28;
    margin: 15px 0;
}

.product-details p {
    font-size: 20px;
    line-height: 1.6;
}

/* QUANTITY */
.quantity-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
}

.quantity-box button {
    width: 50px;
    height: 50px;
    font-size: 22px;
    margin-top: 0;
    padding: 0;
}

#qty {
    font-size: 24px;
    font-weight: bold;
}

/* ADD TO CART BUTTON */
.add-cart-btn {
    padding: 18px 40px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 12px;
}

/* IMAGE SLIDER */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-btn {
    position: absolute;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 20;
    margin-top: 0;
    padding: 0;
}

.slider-btn.left {
    left: 10px;
}

.slider-btn.right {
    right: 10px;
}

.thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
}
/* SLIDING CART */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 9998;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;   
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #ddd;
}

.cart-header h2 {
    font-size: 24px;
}

.cart-header span {
    cursor: pointer;
    font-size: 34px;
}

#cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
}

.cart-footer button {
    width: 100%;
    padding: 16px;
    background: #2d160d;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 15px;
}

.cart-close {
    font-size: 40px;
    cursor: pointer;
    color: #2d160d;
    line-height: 1;
}

/* POPUP */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.popup-content {
    background: white;
    width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    font-size: 35px;
    cursor: pointer;
}

/* FOOTER */
.footer {
    background: #241913;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.footer h2 {
    font-size: 42px;
    letter-spacing: 8px;
}

.footer-contact {
    margin: 15px 0;
}

.footer-contact p {
    font-size: 18px;
    line-height: 1.8;
}

.copyright {
    opacity: 0.7;
    font-size: 15px;
}

/* MOBILE */
@media (max-width: 768px) {

    /* NAVBAR */
    nav {
        padding: 12px 15px;
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        font-size: 26px;
        letter-spacing: 4px;
    }

    ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    li {
        font-size: 13px;
        padding: 6px 8px;
    }

    .cart-icon {
        font-size: 16px;
    }

    /* HERO FIX */
    .hero {
        flex-direction: column;
        padding: 30px 20px;
        min-height: auto;
        gap: 25px;
        text-align: center;
    }

    .left,
    .right {
        width: 100%;
    }

    .left h1 {
        font-size: 42px;
    }

    .left p {
        font-size: 18px;
    }

    .right img {
        width: 100%;
    }

    /* ABOUT CARD */
    .about-card {
        position: static;
        width: 100%;
        margin-top: 20px;
        padding: 20px;
        color: black;
    }

    .about-card h3 {
        font-size: 24px;
    }

    .about-card p {
        font-size: 15px;
    }

    /* COLLECTIONS */
    .collections {
        padding: 40px 12px;
    }

    .collections h2 {
        font-size: 42px;
        margin-bottom: 25px;
    }

    .collection-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 cards per row */
        gap: 15px;
    }

    .collection-card {
        width: 100%;
    }

    .collection-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .collection-card h3 {
        font-size: 18px;
        padding-top: 12px;
    }

    .collection-card p {
        font-size: 15px;
        padding: 8px 0;
    }

    .collection-card button {
        margin-top: 10px;
        padding: 12px 8px;
        font-size: 14px;
    }

    /* FOOTER */
    .footer h2 {
        font-size: 30px;
    }

    .footer-contact p {
        font-size: 15px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}
.cart-sidebar {
    display: flex;
    flex-direction: column;
}

#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.menu-dropdown {
    position: relative;
    color: white;
    cursor: pointer;
    font-size: 22px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 40px;
    background: white;
    min-width: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.dropdown-content p {
    padding: 14px 18px;
    color: black;
    cursor: pointer;
}

.dropdown-content p:hover {
    background: #f8f2eb;
}

.menu-dropdown:hover .dropdown-content {
    display: block;
}
.product-extra{
    margin-top:50px;
    padding-top:35px;
    border-top:1px solid #ddd;
}

.product-extra h3{
    margin-top:30px;
    margin-bottom:15px;
    font-size:28px;
    color:#2b2118;
}

.product-extra p{
    font-size:18px;
    line-height:1.8;
    color:#555;
}

.product-extra ul{
    margin-left:20px;
    display:block;
}

.product-extra li{
    list-style:disc;
    margin:8px 0;
    color:#555;
}

.social-links a{
    display:block;
    margin:12px 0;
    text-decoration:none;
    color:#3a2a1f;
    font-weight:bold;
}

.social-links a:hover{
    color:#8b5e3c;
}
.product-container{
    max-width: 1300px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.product-images{
    position: sticky;
    top: 120px;
}

.product-info{
    align-self: start;
}
#product-image{
    width:100%;
    max-width:520px;
    border-radius:18px;
}
.whatsapp-btn{
    width:100%;
    padding:18px;
    background:#000;
    color:#fff;
    border:none;
    border-radius:12px;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    margin-top:25px;
    transition:.3s;
}

.whatsapp-btn:hover{
    background:#4b3428;
}
.recommendations{
    max-width:1300px;
    margin:90px auto;
    padding:0 40px;
}

.recommendations h2{
    font-size:38px;
    margin-bottom:40px;
    color:#2d1d15;
    text-align:center;
}

.recommendation-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.recommendation-card{
    text-align:center;
    transition:.3s;
    cursor:pointer;
}

.recommendation-card img{
    width:100%;
    height:360px;
    object-fit:cover;
    border-radius:16px;
}

.recommendation-card h3{
    margin-top:20px;
    font-size:28px;
    color:#2d1d15;
}

.recommendation-card p{
    font-size:22px;
    color:#5b4637;
}

.recommendation-card:hover{
    transform:translateY(-6px);
}

@media(max-width:900px){

.recommendation-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.recommendation-grid{
    grid-template-columns:1fr;
}
}
.footer{
    background:#f8f6f3;
    margin-top:120px;
    padding:70px 0 25px;
    border-top:1px solid #ddd;
}

.footer-container{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:60px;
    padding:0 40px;
}

.footer-logo{
    font-size:42px;
    letter-spacing:6px;
    margin-bottom:15px;
    color:#2d1d15;
}

.footer-tagline{
    color:#666;
    margin-bottom:25px;
}

.footer-column h3{
    margin-bottom:20px;
    color:#2d1d15;
}

.footer-column a{
    display:block;
    margin:12px 0;
    color:#444;
    text-decoration:none;
    transition:.3s;
}

.footer-column a:hover{
    color:#6a4635;
}

.footer-social{
    display:flex;
    gap:20px;
}

.newsletter{
    display:flex;
    margin-top:20px;
}

.newsletter input{
    flex:1;
    padding:15px;
    border:1px solid #ccc;
    border-radius:50px 0 0 50px;
    outline:none;
}

.newsletter button{
    padding:15px 28px;
    border:none;
    background:#3b281d;
    color:white;
    border-radius:0 50px 50px 0;
    cursor:pointer;
}

.footer-bottom{
    margin-top:60px;
    text-align:center;
    color:#777;
    border-top:1px solid #ddd;
    padding-top:25px;
}

@media(max-width:900px){

.footer-container{
    grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.footer-container{
    grid-template-columns:1fr;
}

.newsletter{
    flex-direction:column;
}

.newsletter input{
    border-radius:12px;
    margin-bottom:10px;
}

.newsletter button{
    border-radius:12px;
}

}
.policy-page{
    max-width:900px;
    margin:80px auto;
    padding:40px;
    line-height:1.9;
}

.policy-page h1{
    font-size:42px;
    margin-bottom:30px;
    color:#2d1d15;
}

.policy-page p{
    font-size:18px;
    color:#555;
    margin-bottom:20px;
}