@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Poppins:wght@100;300;400;500;700&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root{
    --main-color:#ceb974;
    --black:#161515d5;
    --bg:#00000038;
    --border: 2px solid rgba(114, 114, 114, 0.13);
    --sec-main-color:rgb(231, 177, 59);
    --hover-black:#00000036;
}


*{
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}


html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}
 
html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: #fff;
    border-radius: 5rem;
}

body{
    background: #ffffff;
}

body.no-scroll {
  overflow: hidden;
}


section{
    padding: 2rem 7%;
}

.heading{
    text-align: center;
    color: var(--black);
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.heading span{
    color: var(--main-color);
    text-transform: uppercase;
}




.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 10px 5px;
    font-size: 1.7rem;
    color: #fff;
    background: var(--main-color);
    cursor: pointer;
    transition: 0.5s;
}

.btn:hover{
    letter-spacing: 2px;
    background: #0000007a;
    border-radius: 10px 0 30px 0px  
}


.header{
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:1.5rem  7%;
    border-bottom: var(--border);
    position: fixed;
    top: 0; left: 0;right: 0;
    z-index: 1000;
}

.header .logo img{
    height: 10rem;
}

.header .navbar a{
    margin: 1.2rem;
    font-size: 1.6rem;
    color: #fff;
}

.header .navbar a:hover{
    color:var(--main-color);
}

.header .icons div{
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons div:hover{
    color: var(--main-color);
}

.header .icons div:hover{
    color: var(--main-color);

}

.header .icon div{
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
}

.header .icon div:hover{
    color: var(--main-color);

}

#menu-btn{
    display: none;
}
/**/
.category-submenu {
  display: none;
  flex-direction: column;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--main-color);
}

.category-submenu a {
  font-size: 1.4rem;
  color: #eee;
  margin: 0.5rem 0;
}

.category-submenu a:hover {
  color: var(--main-color);
}

.category-toggle {
  font-size: 1.6rem;
  cursor: pointer;
  color: #fff;
  margin-top: 1.5rem;
  padding: 0.5rem 0;
}

.category-toggle:hover {
  color: var(--main-color);
}
/* Overlay container (hidden by default) */
/* Overlay stays the same */
.category-overlay {
  position: fixed;
  top: 0;
  right: 0; /* Important */
  width: 100vw;
  height: 100vh;
  display: none;
  background: var(--black);
  z-index: 2000;
}

/* Sidebar slides in from right */
.category-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: #ffffff;
  padding-left: 2rem;
  padding-top: -3rem;
  transform: translateX(100%); /* Start hidden to the right */
  transition: transform 0.3s ease;
}

/* Show sidebar when overlay is active */
.category-overlay.active .category-sidebar {
  transform: translateX(0); /* Slide in from right */
}


/* Close button */
.close-category {
  font-size: 2rem;
  color: rgb(255, 0, 0);
  cursor: pointer;
  text-align: right;
  margin-bottom: 2rem;
}

.category-sidebar h3 {
  color: var(--main-color);
  margin-bottom: 3rem;
  font-size: 3rem;
}

.navbar .category-sidebar a {
  display: block;
  color: var(--black);
  text-decoration: none;
  margin: 1rem 0;
  font-size: 1.4rem;
}

.category-sidebar a:hover {
  color: var(--main-color);
}

/**/
.header .search-form{
    position: absolute;
    top: 115%; right: 7%;
    background: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
}

.header .search-form.active {
    transform:scaleY(1) ;
}

.header .search-form input{
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color: var(--black);
    padding: 1rem;
    text-transform: none;
}

.header .search-form label{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black);   
}

.header .search-form label:hover{
    color: var(--main-color);
}

.header .search-form .btn{
  margin-top: -0.1rem;
}

.header .cart-items-container{
    position: absolute;
    top: 100%; right: -100%;
    height:calc(100vh - 9.5rem);
    width: 15rem;
    background: none;
    padding: 0 1.5rem;
}

.header .cart-items-container.active{
    right: 0%;
}

.header .cart-items-container .cart-item{
    position: relative;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header .cart-items-container .cart-item .fa-times{
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
}

.header .cart-items-container .cart-item .fa-times:hover{
    color: var(--main-color);
}

.header .cart-items-container .cart-item img{
    width: 50%;
}

.header .cart-items-container .cart-item .content h3{
    font-size: 2rem;
    color: var(--black);
    padding-bottom: 5rem;
}  

.header .cart-items-container .cart-item .content .price{
    font-size: 2rem;
    color: var(--main-color);   
}

.header .cart-items-container .btn{
    width: 100%;
    text-align: center;
}

h1{
    font-weight: 300px;
    font-family: 'Playfair Display', sans-serif;
    padding-top: 9.5rem;
    color: var(--main-color);
    text-transform: uppercase;

}

.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url(assets/images/WhatsApp\ Image\ 2025-05-23\ at\ 14.50.54_dfa9a2b8.jpg ) no-repeat;
    background-size: cover;
    background-position: center 50px;
    background-attachment: fixed;
 }

.home .content{
    max-width: 60rem;
}

.home .content h3{
    font-size: 6rem;
    text-transform: uppercase;
    color: #ffffffc0;
}

.home .content p{
    font-size: 2rem;
    font-weight: lighter;
    line-height: 1.8;
    padding: 1rem 0;
    color: rgb(255, 255, 255);
} 


.offers .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit (350px, 1fr));
    gap: 1.5rem;
}

.offers .box-container .box{
    padding: 1rem;
    text-align: center;
    border: var(--border);
    align-items: center;
}

.offers .box-container .box img{
    max-width: 100%;
    height: 30%;
    border-radius: 10px;
    transition: 1s;
}

.offers .box-container .box img:hover{
    cursor: pointer;
}

.offers .box-container .box h3{
    color: #fff;
    font-size: 2rem;
    padding: 1rem 0;
}

.offers .box-container .box .price{
    color: #fff;
    font-size: 1.5rem;
}

.offers .box-container .box .price span{
    text-decoration: line-through;
    font-weight: lighter;
}


.offers .box-container .box:hover > *{
    color: var(--black);
}


.about .row{
    display: flex;
    align-items: center;
    background: #ffffff;
    flex-wrap: wrap;
}

.about .row .image{
    flex: 1 1 45rem;
}

.about .row .image img{
    width: 100%;
}

.about .row .content{
    flex: 1 1 45rem;
    padding-left: 2rem;
}

.about .row .content h3{
    font-size: 5rem;
    color: var(--black);
    font-family: 'Playfair Display', sans-serif;
}

.about .row .content p{
    font-size: 3rem;
    color: var(--black);
    padding: 1rem 0;
    line-height: 1.8;
}

.about .row iframe{
  border-radius: 10px;
  box-shadow: 1px 0 10px 1px ;
  color: #00000046;
}


.footer{
    background: var(--black);
    text-align: center;
}

.footer .share{
    padding: 1rem 0;
}

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:#fff;
    border:var(--border);
    margin: 0.3rem;
    border-radius: 50%;
}

.footer .share a:hover{
    background-color: var(--main-color);
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    gap: 1rem;
}

.footer .links a{

    padding: 1rem .5rem;
    color: #fff;
    border: var(--border);
    font-size: 2rem;
}

.footer .links a:hover{
    background: var(--main-color);
}

.footer .credit{
    font-size: 2rem;
    color: #fff;
    font-weight: lighter;
    padding: 1.5rem;
}

.footer .credit span{
    color: var(--main-color);

}



/*******Fade in effect*******/

.header {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 1s ease, transform 2s ease;
}

.header.show {
  opacity: 1;
  transform: translateY(0);
}

.content {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

.content.show {
  opacity: 1;
  transform: translateY(0);
}

.product-card1 {
  flex: 1 1 calc(25% - 20px); /* 4 items per row max */
  max-width: calc(25% - 20px);
  box-sizing: border-box;
  background: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}


.product-card1 img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.product-card1 h3{
    font-size: 2rem;
}

.product-card1 .price{
    font-size: 1.5rem;
}

/* Browse */
body{
    padding-top: 10rem;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center items if fewer than 4 */
  gap: 20px;
  max-width: 3200px; /* optional: to prevent too wide a layout */
  margin: 0 auto;
}


.product-card {
  flex: 1 1 calc(25% - 20px); /* 4 items per row max */
  max-width: calc(25% - 20px);
  box-sizing: border-box;
  background: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}


.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.product-card h3{
    font-size: 2rem;
}

.product-card .price{
    font-size: 1.5rem;
}

.add-to-cart{
    margin-top: 1rem;
    display: inline-block;
    padding: 10px 5px;
    font-size: 1.7rem;
    color: #fff;
    background: var(--main-color);
    cursor: pointer;
    transition: 0.5s;
}

.add-to-cart:hover {
    background: #0000007a;
    border-radius: 10px 0 30px 0px  
}
#cart-button {
    margin-top: 1rem;
    display: inline-block;
    padding: 10px 5px;
    font-size: 1.7rem;
    color: #fff;
    background: var(--main-color);
    cursor: pointer;
    transition: 0.5s;
}

#cart-button:hover{
    letter-spacing: 2px;
    color: var(--main-color);
    background: #0000007a;
    box-shadow: 0 0 30px 0px ;
    border-radius: 10px 0 30px 0px
}

.cart-dropdown {
  position: absolute;
  top: 60px;
  right: 20px;
  background: white;
  width: 300px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  padding: 1rem;
  display: none;
  border-radius: 8px;
  z-index: 100;
}

.cart-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-dropdown li {
  margin-bottom: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.cart-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 4px;
}

.cart-details {
  flex-grow: 1;
}

.remove-btn {
  background: none;
  border: none;
  color: red;
  font-size: 1.2rem;
  cursor: pointer;
}

#checkout-btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 10px 5px;
    font-size: 1.7rem;
    color: #fff;
    background: var(--main-color);
    cursor: pointer;
    transition: 0.5s;
}

#checkout-btn:hover{
    letter-spacing: 2px;
    background: #0000007a;
    border-radius: 10px 0 30px 0px  
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 10rem;
}

.filter-buttons button {
    padding: 8px 12px;
    background: var(--bg);
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.filter-buttons button:hover {
    background: var(--black);
    color: #fff;
}
/**/
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center items if fewer than 4 */
    gap: 20px;
    max-width: 2200px; /* optional: to prevent too wide a layout */
    margin: 0 auto;
}
      .card {
         border: 1px solid #ddd;
          padding: 0.5rem; border-radius: 8px; 
        }

      .card img { 
        width: 100%;
        height: 320px; 
        object-fit: cover; border-radius: 4px; 
    }

    .card h3{
        font-size: 1.5rem;
        text-align: center;
        text-transform: uppercase;
    }

    .card .add-to-cart-btn{
    text-align: center;
    margin-top: 1rem;
    display: inline-block;
    padding: 10px 5px;
    font-size: 1.7rem;
    color: #fff;
    background: var(--main-color);
    cursor: pointer;
    transition: 0.5s;
}

    .card .add-to-cart-btn:hover{
    background: #0000007a;
    border-radius: 10px 0 30px 0px 
    }


    .card p{
        font-size: 1.5rem;
        text-align: center;

    }

    /*toast*/
    
    .toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}
.toast {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    animation: fadeInOut 3s ease forwards;
}
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10%, 90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}
.cart-badge {
  display: none;
  position: absolute;
  background: red;
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 12px;
}
.cart-badge.show {
  display: inline-block;
}

.cart-item {
  position: relative;
  display: inline-block;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

#cart-count {
  background: crimson;
  color: white;
  font-size: 0.75rem;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  top: -8px;
  right: -10px;
}

.cart-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 35px;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  width: 300px;
  z-index: 999;
  border-radius: 6px;
  padding: 10px;
}

.cart-dropdown-items {
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.9rem;
}

.cart-dropdown-items .item {
  margin-bottom: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.cart-dropdown-footer {
  margin-top: 10px;
  text-align: right;
}

.btn.small-btn {
  padding: 6px 10px;
  font-size: 0.9rem;
  background: var(--main-color);
  color: white;
  border-radius: 4px;
  text-decoration: none;
}

/* High-end filter section styling */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fdfdfd;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 2rem auto;
  font-family: 'Segoe UI', sans-serif;
}

.filters select,
.filters input[type="number"] {
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 150px;
  background: #fff;
  transition: border 0.3s, box-shadow 0.3s;
}

.filters select:focus,
.filters input[type="number"]:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.filters label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  min-width: 120px;
}

.filters .btn {
  background-color: #000;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.filters .btn:hover {
  background-color: #444;
}

/*********Modal*******/
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  animation: slideIn 0.4s ease;
  font-family: 'Segoe UI', sans-serif;
}

@keyframes slideIn {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
}

.modal-content img {
  width: 100%;
  height: auto; 
  border-radius: 12px;
  object-fit: contain; 
  margin-bottom: 1rem;
  max-height: 90vh;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.modal-content p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #444;
}

.modal-content del {
  color: #888;
  text-decoration: line-through;
}

.modal-content span {
  font-weight: bold;
}

.modal .add-to-cart-btn{
    text-align: center;
    margin-top: 1rem;
    display: inline-block;
    padding: 10px 5px;
    font-size: 1.7rem;
    color: #fff;
    background: var(--main-color);
    cursor: pointer;
    transition: 0.5s;
}

.modal .add-to-cart-btn:hover{
    background: #0000007a;
    border-radius: 10px 0 30px 0px 
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #333;
}

.sold-out-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 0, 0, 0.85);
  color: white;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 4px;
  z-index: 2;
  font-weight: bold;
  text-transform: uppercase;
}

.add-to-cart-btn[disabled] {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}









/***Mobile settings***/

@media(max-width:991px){
    
    html{
        font-size: 55%;
    }

    .header{
    padding: 1.5rem 2rem;
    }
    
    section{
        padding: 2rem;
    }
}

@media(max-width:768px){
        
    #menu-btn{
        display: inline-block;
    }   


    .header .icon {
    order: -1;
    flex: content;
  }

  .header .icon div {
    font-size: 2.5rem;
  }

  .header .logo {
    order: 0;
    align-self: center;
  }

  .header .logo h1 {
    font-size: 1.8rem;
  }
        .header .navbar{
            position: absolute;
            top: 100%; 
            left: -100%;
            background: #fff;
            width: 30rem;
            height: calc(100vh -9.5rem);
        }
    
        .header .navbar a{
            color: var(--black);
            display: block;
            margin: 1.5rem;
            padding: 0.5rem;
            font-size: 2rem;
        }

       


        .header .navbar .category-sidebar a{
            display: block;
            color: var(--black);
            text-decoration: none;
            margin: 1rem 0;
            font-size: 2.0rem;
        }

        .header .navbar .category-sidebar h3{
            color: var(--main-color);
            font-size: 3rem;
            margin-bottom: 3.6rem;
        }

        .category-toggle{
            color: var(--black);
            display: block;
            margin: 1.5rem;
            padding: 0.5rem;
            font-size: 2rem;
        }


        .header .navbar .collection-sidebar a{
            display: block;
            color: var(--black);
            text-decoration: none;
            margin: 1rem 0;
            font-size: 2.0rem;
        }

        .header .navbar .collection-sidebar h3{
            color: var(--main-color);
            font-size: 3rem;
            margin-bottom: 12rem;
        }

        .collection-toggle{
            color: var(--black);
            display: block;
            margin: 1.5rem;
            padding: 0.5rem;
            font-size: 2rem;
        }

        .header .navbar.active{
            left: 0;
        }

        .header .search-form{
            width: 90%;
            right: 2rem;
        }

        .header .cart-items-container .cart-item .content h3{
            font-size: 2rem;
            color: var(--black);
            padding-bottom: 5rem;
}  

        .header .cart-items-container .cart-item .content .price{
            font-size: 2rem;
            color: var(--main-color);   
         }

         
        .home{
            background-position: center 80px;
            justify-content: center;
            text-align: center;
        }

        .home .content h3{
            font-size: 4.5rem;
        }

        .home .content p{
            font-size: 2.3rem;
            color: #ffffff;
        }

        .btn{
            margin-top: 1rem;
            display: inline-block;
            padding: 10px 5px;
            font-size: 1.7rem;
            color: #fff;
            background: var(--black);
            cursor: pointer;
            border-radius: 10px 0 30px 0px 
        }

        .add-to-cart{
            background: #0000007a;
            border-radius: 10px 0 30px 0px 
        }

        .offers .box-container .box h3{
             color: var(--black);
             font-size: 2rem;
            padding: 1rem 0;
        }

        .offers .box-container .box .price{
            color: var(--black);
            font-size: 1.5rem;
        }

        .offers .box-container .box .price span{
             text-decoration: line-through;
            font-weight: lighter;
        }

        

        .filter-buttons{
            padding-left: 3rem;
        }

        button{
            background: var(--hover-black);
        }

        .card .add-to-cart-btn{
            background: #0000007a;
            border-radius: 10px 0 30px 0px 
    }
        .modal .add-to-cart-btn{
            background: #0000007a;
            border-radius: 10px 0 30px 0px 
    }
    
    }      

@media(max-width:450px){
    
    html{
        font-size: 50%;
    }
}