@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');

:root{
   --yellow:#5a1e2d;
   --red:#381820;
   --white:#ffffff;
   --black:#805858;
   --light-color:#777;
   --border:.2rem solid black;
}

*{
   font-family: 'Poppins', sans-serif;
   margin:0; padding:0;
   box-sizing: border-box;
   outline: none; border: none;
   text-decoration: none;
}

*::selection{
   background-color: #682020;
   color:black;
}

/* Customize the scrollbar */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #511717; /* Background color of the scrollbar track */
}

::-webkit-scrollbar-thumb {
    background-color: #805858; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
    border: 3px solid #682020; /* Optional: Add a border around the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a07a7a; /* Color when hovering over the scrollbar thumb */
}



body{
   background: #682020; /*whole body background color*/
}

/*html{
   font-size: 62.5%;
   overflow-x: hidden;
   scroll-behavior: smooth;
   stop-opacity: 7rem;
}

section{
   margin:0 auto;
   max-width: 1200px;
   padding:2rem;
}*/

.title{
   text-align: center;
   margin-bottom: 2.5rem;
   font-size: 4rem;
   color:var(--black);
   text-transform: uppercase;
   text-decoration: underline;
   text-underline-offset: 1rem;
}

.heading{
   display: flex;
   align-items: center;
   justify-content: center;
   gap:1rem;
   flex-flow: column;
   background-color: #6d2323;
   min-height: 20rem;
}
   
.heading h3{
   font-size: 5rem;
   color:white;
   text-transform: capitalize;
}

.heading p{
   font-size: 2.3rem;
   color:white;
}

.heading p a{
   color: white;
}

.heading p a:hover{
   text-decoration: underline;
   color:whitesmoke;
}

.btn,
.delete-btn{
   margin-top: 1rem;
   display: inline-block;
   font-size: 2rem;
   padding:1rem 3rem;
   cursor: pointer;
   text-transform: capitalize;
   transition: .2s linear;
}

.btn{
   background-color: var(--yellow);
   color:white;
}

.delete-btn{
   background-color: var(--yellow);
   color: white;
}

.btn:hover,
.delete-btn:hover{
   letter-spacing: .2rem;
}

.disabled{
   opacity: .5;
   user-select: none;
   pointer-events: none;
}

/* Toast-style popup for .message */
.message {
    position: fixed;
    top: 32px;
    right: 32px;
    left: auto;
    max-width: 360px;
    width: auto;
    padding: 1.2rem 2.2rem 1.2rem 1.5rem;
    background: #7d2626;
    color: #fff;
    font-size: 1.3rem;
    border-radius: 12px;
    box-shadow: 0 6px 32px #0004;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: toastIn 0.4s cubic-bezier(.4,0,.2,1);
    opacity: 0.97;
}

@keyframes toastIn {
    from { transform: translateY(-40px) scale(0.95); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 0.97; }
}

.message span {
    font-size: 1.2rem;
    color: #fff;
}

.message i {
    font-size: 1.6rem;
    color: #fffbe7;
    cursor: pointer;
    margin-left: 1.2rem;
    transition: color 0.2s;
}

.message i:hover {
    color: #ffd700;
}

@media (max-width: 600px) {
    .message {
        right: 8px;
        left: 8px;
        top: 12px;
        max-width: 98vw;
        font-size: 1rem;
        padding: 1rem 1.2rem 1rem 1rem;
    }
}
.empty{
   border:var(--border);
   padding:1.5rem;
   text-align: center;
   width: 100%;
   font-size: 2rem;
   text-transform: capitalize;
   color:var(--red);
}

.flex-btn{
   display: flex;
   gap:1rem;
}

.header{
   position: sticky;
   top:0; left:0; right:0;
   z-index: 1000;
   background-color: black;            /*Top/navbar/header background color*/
   border-bottom: var(--border);
}

.header .flex{
   display: flex;
   align-items: center;
   justify-content: space-between;
   position: relative;
}

.header .flex .logo{
   font-size: 3rem;
   color:white;
   align-items: center
   
}

.header .flex .logo:hover{
   color:orange;
}

.header .flex .navbar a{
   font-size: 2rem;
   color:white;
   margin:0 1rem;
}

.header .flex .navbar a:hover{
   color:orange;
   text-decoration: underline;
}

.header .flex .icons > *{
   margin-left: 1.5rem;
   font-size: 2.5rem;
   color:white;
   cursor: pointer;
}

.header .flex .icons > *:hover{
   color: var(--yellow);
}

.header .flex .icons span{
   font-size: 2rem;
}

#menu-btn{
   display: none;
}

/* Search Input */
.search-form{
   flex: 1;
   border: none;
   outline: none;
   font-size: 1rem;
   padding: 0.5rem;
   border-radius: 50px;
   color: #333; /* Text color */
   background-color: transparent; /* Transparent background */
}

/* Placeholder Text */
.search-form::placeholder {
   color: #aaa; /* Placeholder text color */
   font-style: italic;
}

/* Search Button */
.search_btn {
   background: none;
   border: none;
   outline: none;
   cursor: pointer;
   color: #333; /* Icon color */
   font-size: 1.2rem;
   margin-left: 0.5rem;
   transition: color 0.3s ease;
}

/* Search Button Hover Effect */
.search_btn:hover {
   color: #381820; /* Darker color on hover */
}

.header .flex .profile{
   background-color: var(--white);
   border:var(--border);
   padding:1.5rem;
   text-align: center;
   position: absolute;
   top:1rem; right:2rem;
   width: 30rem;
   display: none;
   animation: fadeIn .2s linear;
}

.header .flex .profile.active{
   display: inline-block;
}

@keyframes fadeIn {
   0%{
      transform: translateY(1rem);
   }
}

.header .flex .profile .name{
   font-size: 2rem;
   color:white;
   margin-bottom: .5rem;
}

.header .flex .profile .account{
   margin-top: 1.5rem;
   font-size: 2rem;
   color:var(--light-color);
}

.header .flex .profile .account a{
   color:var(--black);
}

.header .flex .profile .account a:hover{
   color:var(--yellow);
   text-decoration: underline;
}

.hero .slide{
   display: flex;
   align-items: center;
   flex-wrap: wrap-reverse;
   gap:2rem;
   margin-bottom: 4rem;
   background-color: transparent; /* Remove the yellow background color */
}

.hero .slide .image{
   flex:1 1 20rem;
}

.hero .slide .image img{
   width: 100%;
}

.hero .slide .content{
   flex:1 1 20rem;
   text-align: center;
}

.hero .slide .content span{
   font-size: 2.5rem;
   color:white;
}

.hero .slide .content h3{
   margin:1rem 0;
   font-size: 6rem;
   color:white;
   text-transform: capitalize;
}

.swiper-pagination-bullet-active{
   background-color: var(--yellow);
}

.category h1{
   color: white;
}

.category .box-container{
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
   gap:1.5rem;
   align-items: flex-start;
}

.category .box-container .box{
   border:var(--border);
   padding:2rem;
   text-align: center;
   background-color: rgb(83, 81, 81) ;       
}

.category .box-container .box img{
   width: 100%;
   height: 10rem;
   object-fit: cover;                                  /*contain*/
}

.category .box-container .box h3{
   font-size: 2rem;
   margin-top: 1.5rem;
   color:white;
   text-transform: capitalize;
}

.category .box-container .box:hover{
   background-color: var(--yellow);
}



.category .box-container .box:hover h3{
   color:var(--white);
}

/* Products Section */
.products {
   padding: 4rem 2rem;
   background: #805858; /* Light background for contrast */
   text-align: center;
   border-radius: 0; /* Rounded corners for the section */
   box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
   margin: 2rem 2rem 2rem 2rem;
}

.products .box-container {
   display: flex; 
   flex-wrap: wrap; 
   justify-content: center; 
   align-items: flex-start;
   gap: 2rem; 
   margin-top: 2rem; 
   
}

/* Adjust button positioning and hover effects */
.products .box-container .box .fa-eye,
.products .box-container .box .fa-shopping-cart {
   position: absolute;
   
   height: 3rem;
   width: 3rem;
   line-height: 4.3rem;
   border: 2px solid black;
   background-color: white;
   cursor: pointer;
   font-size: 2rem;
   color: black;
   transition: 0.3s ease;
   text-align: center;
   z-index: 10;
}

.products .box-container .box .fa-eye {
   left: 1rem; /* Adjusted position */
}

.products .box-container .box .fa-shopping-cart {
   right: 5rem;
   bottom: 0.5rem; /* Adjusted position */
}

.products .box-container .box:hover .fa-eye,
.products .box-container .box:hover .fa-shopping-cart {
   transform: scale(1.1); /* Slight zoom effect on hover */
   background-color: var(--yellow); /* Highlight color */
   color: white;
}

.products .box-container .box img {
   width: 100%;
   height: 320px;
   object-fit: cover;
   margin-bottom: 1rem;
   border-radius: 5px;
   transition: 0.3s ease;
}

.products .box-container .box:hover img {
   transform: scale(1.05); /* Slight zoom effect on hover */
}

.products .box-container .box {
   position: relative;
   width: 300px;
   height: 505px;
   border: var(--border);
   border-radius: 10px;
   padding: 1rem;
   text-align: center;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   background-color: #ffffff;
   overflow: hidden;
}

.products .box-container .box:hover {
   transform: scale(1.05);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.products h1{
   color:white;
}

.products .box-container h3{
   color: white;
   margin: 0.5rem 0;
   font-size: 20px;
}

.products .box-container .box .cat{
   font-size: 20px;
   font-weight: bold;
   color: #381320;             /*category name - in featured products*/
   text-decoration: none;
}

.products .box-container .box .cat:hover{
   color:black;
   text-decoration: underline;
}

.products .box-container .box .name{
   font-size: 20px;
   text-align: center;
   font-weight: bold;
   color: black;        /*product name - in featured product*/
   margin:1rem 0;
}

.products .box-container .box .flex{
   display: flex;
   align-items: center;
   gap:.4rem;
   margin-top: 1.5rem;
}

.products .box-container .box .flex .price{
   margin-right: auto;
   font-size: 23px;
   font-weight: bold;
   color:#682020;      /*price name - in featured product*/
}

.products .box-container .box .flex .price span{
   color: #682020;                /*peso sign color*/
   font-size: 23px;
}

.products .box-container .box .flex .qty{
   border-radius: 5px;
   border:.1rem solid black;
   font-size: 1rem;
   color:black;
   height: 2rem;
   width: 50px;
}
/*.products .box-container .box .flex .qty:hover{
   background-color: #5a1e2d;
   color:white; 
}*/
.products .box-container .box .flex .fa-edit{
   width: 2.3rem;
   background-color: #5a1e2d;
   color:black;
   cursor: pointer;
   font-size: 1rem;
   height: 2.3rem;
   border:.1rem solid black;
}

.products .box-container .box .flex .fa-edit:hover{
   background-color: black;
   color:white;
}

.products .box-container .box .fa-times{
   position: absolute;
   top:1rem; right:1rem;
   background-color: #381820;
   color: white;
   border:.2rem solid black;
   line-height:4rem;
   height: 4.3rem;
   width: 4.5rem;
   cursor: pointer;
   font-size: 2rem;
   z-index: 10; /* << Add this line to keep it above image */
}

.products .box-container .box .fa-times:hover{
   background-color: black;
   color: white;
}

.products .box-container .box .sub-total{
   position: absolute; 
   bottom: 10px;
   left: 10px; 
   font-size: 1rem; 
   color: #333;
   background-color: #f9f9f9; 
   padding: 5px 10px;
   border-radius: 5px; 
}

.products .box-container .box .sub-total span{
   color: red;
}

.products .more-btn{
   margin-top: 1rem;
   text-align: center;
   color: white;
}

.products .cart-total{
   display: flex;
   align-items: center;
   gap:1.5rem;
   flex-wrap: wrap;
   justify-content: space-between;
   margin-top: 3rem;
   border:.2rem solid black;
   padding:1rem;
}

.products .cart-total p{
   font-size: 2.5rem;
   color:#777;
}

.products .cart-total p span{
   color:red;
}

.products .cart-total .btn{
   margin-top: 0;
}

.about .row{
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap:1.5rem;
}

.about .row .image{
   flex:1 1 40rem;
}

.about .row .image img{
   width: 100%;
}

.about .row .content{
   flex:1 1 40rem;
   text-align: center;
}

.about .row .content h3{
   font-size: 5rem;
   color:white;
   text-transform: capitalize;
   margin-bottom: 1rem;
}

.about .row .content p{
   padding:1rem 0;
   line-height: 2;
   font-size: 2rem;
   color:white;
}

.steps h1{
   color: white;
}

.steps .box-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0; 
}

/* Adjust the size of the boxes in the Simple Steps section */
.steps .box-container .box {
    width: 20rem; 
    height: 20rem;
    padding: 1rem; 
    text-align: center;
    border: 0.2rem solid #fff; 
    border-radius: 0.5rem; 
    background-color: var(--black); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease;
}

.steps .box-container .box img {
    width: 8rem; /* Reduce image size */
    height: 8rem; /* Keep it proportional */
    margin-bottom: 1rem;
}

.steps .box-container .box h3 {
    font-size: 1.8rem; /* Reduce heading size */
    color: #fff;
    margin-bottom: 0.5rem;
}

.steps .box-container .box p {
    font-size: 1.4rem; /* Reduce paragraph text size */
    color: #fff;
}
@media (max-width: 900px) {
  .steps .box-container {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .steps .box {
    max-width: 95vw;
    min-width: 0;
    width: 100%;
  }
}

.reviews h1{
   color: white;
}

.reviews .slide {
    margin-bottom: 2rem; /* Reduce spacing between slides */
    border: var(--border);
    padding: 1.5rem; /* Reduce padding */
    text-align: center;
    width: 25rem; /* Set a fixed width for uniform size */
    height: 35rem; /* Set a fixed height for uniform size */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.reviews .slide img {
    height: 8rem; /* Reduce image size */
    width: 8rem; /* Keep it proportional */
    border-radius: 50%;
    margin-bottom: 1rem;
}

.reviews .slide p {
    padding: 1rem 0;
    line-height: 1.5;
    font-size: 1.4rem; /* Reduce text size */
    color: white;
    flex-grow: 1; /* Allow text to take up available space */
    overflow: hidden; /* Prevent overflow */
    text-overflow: ellipsis; /* Add ellipsis for long text */
}

.reviews .slide .stars {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: var(--border);
}

.reviews .slide .stars i {
    font-size: 1.6rem; /* Reduce star size */
    color: gold;
}

.reviews .slide h3 {
    font-size: 1.8rem; /* Reduce name size */
    margin-top: 1rem;
    text-transform: capitalize;
    color: white;
}

/* --- Contact Page Modern Card Style --- */
.contact {
    padding: 3rem 1rem 4rem 1rem;
    background: linear-gradient(135deg, #7d2626 60%, #fff0 100%);
    min-height: 70vh;
}

.contact .row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 12rem ;
}

.contact .image img {
    width: 550px;
    max-width: 90vw;
    border-radius: 0;
    box-shadow: 0 4px 24px #0002;
    background: 0;
    padding: 0;
}

.contact form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0002;
    padding: 3.5rem 3.5rem 3rem 3.5rem;
    max-width: 500px;
    width: 100%;
    margin: 0;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.contact form h3 {
    color: #7d2626;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.contact form .box,
.contact form textarea {
    width: 100%;
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border: 1.5px solid #e0dede;
    background: #f7f7f7;
    font-size: 1.1rem;
    color: #381820;
    transition: border 0.2s, background 0.2s;
    resize: none;
}

.contact form .box:focus,
.contact form textarea:focus {
    border: 2px solid #7d2626;
    background: #fff;
    outline: none;
}

.contact form .btn {
    width: 100%;
    padding: 1rem 0;
    background: #7d2626;
    color: #fff;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px #0001;
}

.contact form .btn:hover {
    background: #a13c3c;
    color: #fffbe7;
}

@media (max-width: 900px) {
    .contact .row {
        flex-direction: column;
        gap: 2rem;
    }
    .contact .image img {
        width: 220px;
        padding: 1rem;
    }
    .contact form {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        max-width: 98vw;
    }
}

/* Enhanced Search Form UI */
.search-form {
    width: 100%;
    max-width: 700px;
    margin: 2.5rem auto 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-form form {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px #0002;
    overflow: hidden;
    border: 2px solid #7d2626;
}

.search-form .box {
    flex: 1 1 auto;
    border: none;
    outline: none;
    padding: 1.1rem 1.3rem;
    font-size: 1.25rem;
    color: #682020;
    background: transparent;
    font-family: inherit;
}

.search-form .box::placeholder {
    color: #bbaaaa;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

.search-form button.fas.fa-search {
    background: #7d2626;
    color: #fff;
    border: none;
    width: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form button.fas.fa-search:hover {
    background: #a13c3c;
    color: #fffbe7;
}

@media (max-width: 800px) {
    .search-form {
        max-width: 98vw;
    }
    .search-form .box {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    .search-form button.fas.fa-search {
        width: 48px;
        font-size: 1.2rem;
    }
}

/* Enhanced Checkout UI */
.checkout {
    max-width: 900px;
    margin: 2.5rem auto 3rem auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px #0002;
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.checkout .title {
    color: #7d2626;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #0001;
}

.checkout form {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
}

.checkout .cart-items, .checkout .user-info {
    background: #faf7f6;
    border-radius: 14px;
    box-shadow: 0 2px 12px #0001;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1 1 340px;
    min-width: 320px;
    max-width: 420px;
    margin: 0 auto;
}

.checkout .cart-items h3,
.checkout .user-info h3 {
    color: #7d2626;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.checkout .cart-items p,
.checkout .user-info p {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.08rem;
    margin: 0.5rem 0;
    color: #333;
}

.checkout .cart-items .name {
    font-weight: 600;
    color: #682020;
    margin-right: 0.5rem;
}

.checkout .cart-items .price {
    margin-left: auto;
    font-weight: 500;
    color: #7d2626;
}

.checkout .cart-items .subtotal,
.checkout .cart-items .tax,
.checkout .cart-items .discount,
.checkout .cart-items .grand-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.08rem;
    margin: 0.7rem 0;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e0dede;
}

.checkout .cart-items .grand-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e53935;
    border-bottom: none;
}

.checkout .cart-items .grand-total .price {
    font-size: 1.2rem;
    color: #e53935;
}

.checkout .cart-items .btn,
.checkout .user-info .btn {
    display: inline-block;
    margin-top: 1.2rem;
    background: #7d2626;
    color: #fff;
    border-radius: 8px;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    text-decoration: none;
    text-align: center;
}

.checkout .cart-items .btn:hover,
.checkout .user-info .btn:hover {
    background: #a13c3c;
    color: #fffbe7;
}

.checkout .user-info h3 {
    margin-top: 1.5rem;
}

.checkout .user-info p i {
    color: #7d2626;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.checkout .user-info select.box {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 7px;
    border: 1.5px solid #c2bdbd;
    font-size: 1.1rem;
    margin: 1.2rem 0 1.5rem 0;
    background: #fff;
    color: #682020;
    outline: none;
    transition: border 0.2s;
}

.checkout .user-info select.box:focus {
    border: 1.5px solid #7d2626;
}

.checkout .user-info input[type="submit"].btn {
    width: 100%;
    background: #e53935;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.2rem;
    border-radius: 8px;
    padding: 0.9rem 0;
    border: none;
    transition: background 0.2s;
}

.checkout .user-info input[type="submit"].btn:hover {
    background: #b71c1c;
}

.checkout .empty {
    color: #b0a7a7;
    font-size: 1.1em;
    text-align: center;
    margin: 1.5rem 0;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .checkout form {
        flex-direction: column;
        gap: 2rem;
    }
    .checkout .cart-items, .checkout .user-info {
        max-width: 100%;
        min-width: 0;
    }
}

/* --- Orders Page Modern Card Style --- */
.orders {
    padding: 3rem 1rem 4rem 1rem;
    background: linear-gradient(135deg, #7d2626 60%, #fff0 100%);
    min-height: 70vh;
}

.orders .title {
    color: #fff;
    font-size: 2.7rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px #0002;
    letter-spacing: 1px;
}

.orders .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.orders .box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0002;
    padding: 2.2rem 2.5rem 1.5rem 2.5rem;
    min-width: 320px;
    max-width: 410px;
    width: 100%;
    margin-bottom: 1.5rem;
    border: 2px solid #e0dede;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.orders .box:hover {
    box-shadow: 0 8px 32px #0003;
    transform: translateY(-4px) scale(1.02);
}

.orders .box p {
    font-size: 1.15rem;
    color: #7d2626;
    margin: 0.7rem 0;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.orders .box p span {
    color: #381820;
    font-weight: 600;
}

.orders .box p:last-child span {
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 7px;
    background: #f7f7f7;
}

.orders .box p:last-child span[style*="red"] {
    background: #ffeaea;
    color: #e53935 !important;
    border: 1px solid #e53935;
}

.orders .box p:last-child span[style*="green"] {
    background: #eaffea;
    color: #388e3c !important;
    border: 1px solid #388e3c;
}

.empty {
    background: #fff8f8;
    color: #e53935;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    margin: 2rem auto;
    max-width: 400px;
    box-shadow: 0 2px 12px #0001;
}

@media (max-width: 700px) {
    .orders .box-container {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
    .orders .box {
        min-width: 0;
        max-width: 98vw;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

/* Enhanced Update Address Form */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background: #6d2323;
    padding: 2rem 0;
}

.form-container form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0002;
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 2px solid #7d2626;
    margin: 2rem 1rem;
}

.form-container form h3 {
    color: #7d2626;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.form-container form .box {
    width: 100%;
    padding: 0.9rem 1rem;
    margin: 0.6rem 0;
    border-radius: 8px;
    border: 1.5px solid #b98a8a;
    background: #f5eaea;
    color: #7d2626;
    font-size: 1.1rem;
    transition: border 0.2s;
}

.form-container form .box:focus {
    border: 2px solid #7d2626;
    outline: none;
    background: #fff6f6;
}

.form-container form .btn {
    margin-top: 1.2rem;
    padding: 0.8rem 2.2rem;
    background: #7d2626;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    font-size: 1.2rem;
    transition: background 0.2s;
    cursor: pointer;
}

.form-container form .btn:hover {
    background: #a13c3c;
    color: #fff;
}

@media (max-width: 600px) {
    .form-container form {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
    .form-container {
        padding: 1rem 0;
    }
}

/* Profile Section Enhancement */
.user-details {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
    background: #6d2323;
}

.user-details .user {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0002;
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 370px;
    width: 100%;
    text-align: center;
    border: 2px solid #7d2626;
    margin: 2rem 1rem;
}

.user-details .user img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #7d2626;
    margin-bottom: 1.2rem;
    background: #f5eaea;
}

.user-details .user p {
    font-size: 1.15rem;
    color: #7d2626;
    margin: 0.7rem 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    justify-content: center;
    word-break: break-all;
}

.user-details .user p i {
    color: #b98a8a;
    font-size: 1.2em;
}

.user-details .user .btn {
    display: inline-block;
    margin: 1rem 0 0.5rem 0;
    padding: 0.7rem 2.2rem;
    background: #7d2626;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.2s;
    border: none;
    text-decoration: none;
}

.user-details .user .btn:hover {
    background: #a13c3c;
    color: #fff;
}

.user-details .user .address {
    background: #f5eaea;
    color: #7d2626;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

@media (max-width: 600px) {
    .user-details .user {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
    .user-details {
        padding: 1rem 0;
    }
}

/* --- Quick View Modern Card Style --- */
.quick-view {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7d2626 60%, #fff0 100%);
    padding: 3rem 0;
}

.quick-view form {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px #0002, 0 1.5px 0 #7d2626;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.quick-view form img {
    width: 90%;
    max-width: 320px;
    height: 260px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px #0001;
    background: #faf7f6;
    border: 1.5px solid #e0dede;
}

.quick-view form .cat {
    font-size: 1.1rem;
    color: #a13c3c;
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.quick-view form .cat:hover {
    color: #682020;
    text-decoration: underline;
}

.quick-view form .name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #682020;
    margin: 0.5rem 0 1rem 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.quick-view form .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    margin: 1.2rem 0 0.5rem 0;
    width: 100%;
}

.quick-view form .flex .price {
    font-size: 2rem;
    color: #e53935;
    font-weight: 700;
}

.quick-view form .flex .price span {
    font-size: 1.2rem;
    color: #7d2626;
    font-weight: 500;
}

.quick-view form .flex .qty {
    border: 1.5px solid #b98a8a;
    border-radius: 7px;
    padding: 0.5rem 0.8rem;
    font-size: 1.1rem;
    color: #682020;
    width: 60px;
    text-align: center;
    background: #f5eaea;
    transition: border 0.2s;
}

.quick-view form .flex .qty:focus {
    border: 2px solid #7d2626;
    background: #fff6f6;
}

.quick-view form .cart-btn {
    width: 100%;
    padding: 1rem 0;
    margin-top: 1.2rem;
    background: #7d2626;
    color: #fff;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px #0001;
}

.quick-view form .cart-btn:hover {
    background: #a13c3c;
    color: #fffbe7;
}

@media (max-width: 600px) {
    .quick-view form {
        padding: 1.2rem 0.5rem;
        max-width: 98vw;
    }
    .quick-view {
        padding: 1rem 0;
    }
    .quick-view form img {
        height: 180px;
    }
}


.category-filter {
   text-align: center;
   margin: 20px auto;
}

/* Style the select dropdown */
.category-filter select {
   padding: 2px; /* Increased padding for better size */
   width: 180px;  /* Adjust width */
   font-size: 20px; /* Larger font */
   font-weight: bold;
   border: 3px solid gold; /* Blue border */
   border-radius: 8px;
   background: #fff;
   color: #333;
   outline: none;
   cursor: pointer;
   transition: all 0.3s ease-in-out;
}

/* Hover and focus effects */
.category-filter select:hover,
.category-filter select:focus {
   border-color: #0056b3;
   background: #f9f9f9;
   box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

/* Make it responsive */
@media (max-width: 768px) {
   .category-filter select {
       width: 100%;
       font-size: 18px;
   }
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide .image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire slide */
}

.swiper-slide .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff; /* White text color */
}

.swiper-slide .content .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.footer .grid{
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
   gap:1.5rem;
   align-items: flex-start;
}

.footer .grid .box{
   border:var(--border);
   padding:2rem;
   text-align: center;
   background-color: rgb(83, 81, 81);
}

.footer .grid .box img{
   height: 10rem;
   width: 100%;
   object-fit: contain;
   margin-bottom: .5rem;
}

.footer .grid .box h3{
   margin:1rem 0;
   font-size: 2rem;
   color:white;
   text-transform: capitalize;
}

.footer .grid .box p,
.footer .grid .box a{
   display: block;
   font-size: 1.7rem;
   color:white;
   line-height: 1.8;
}

.footer .grid .box a:hover{
   text-decoration: underline;
}

.credit{
   padding:3rem 2rem;
   text-align: center;
   background-color: var(--black);
   color:var(--white);
   font-size: 2rem;
   text-transform: capitalize;
   /* padding-bottom: 10rem; */
}

.credit span{
   color:var(--yellow);
}

.loader{
   position: fixed;
   top:0; left:0; right:0; bottom: 0;
   z-index: 1000000;
   background-color: var(--white);
   display: flex;
   align-items: center;
   justify-content: center;
}

.loader img{
   height: 25rem;
}



/* media queries  */

@media (max-width:991px) {
   
   html{
      font-size: 55%;
   }

}

@media (max-width:768px){

   #menu-btn{
      display: inline-block;
   }

   .header .flex .navbar{
      position: absolute;
      top:99%; left: 0; right: 0;
      border-top: var(--border);
      border-bottom: var(--border);
      background-color: var(--white);
      transition: .2s linear;
      clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
   }

   .header .flex .navbar a{
      display: block;
      margin:2rem;
   }

   .header .flex .navbar.active{
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
   }

}

@media (max-width:450px) {
   
   html{
      font-size: 50%;
   }

   .title{
      font-size: 3rem;
   }

   .header .flex .logo{
      font-size: 2rem;
   }

   .hero .slide .content h3{
      font-size: 5rem;
   }

   .products .box-container{
      grid-template-columns: 1fr;
   }

   .heading h3{
      font-size: 3.5rem;
   }

   .products .cart-total{
      padding:1.5rem;
      justify-content: center;
   }

   .flex-btn{
      flex-flow: column;
      gap:0;
   }   

}
/* Sidebar for Brands */
.brand-sidebar {
   position: fixed; /* Stick the sidebar to the side */
   top: 0; /* Start at the top of the viewport */
   left: 0; /* Align it to the left of the screen */
   background: rgba(57, 4, 23, 0.788); /* Semi-transparent background */
   padding: 1rem 0;
   border-radius: 0 10px 10px 0;
   z-index: 1000; /* Ensure it stays above other elements */
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
   width: 60px; /* Initial width of the sidebar */
   overflow: hidden; /* Hide the brand names initially */
   transition: width 0.3s ease, top 0.3s ease; /* Smoothly expand the sidebar and adjust top */
}

.brand-sidebar:hover {
   width: 200px; /* Expand the sidebar to show brand names */
}

.brand-sidebar ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

.brand-sidebar ul li {
   margin: .5rem 0;
   text-align: center;
   position: relative;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-sidebar ul li a {
   display: flex;
   align-items: center;
   justify-content: flex-start; /* Align content to the left */
   text-decoration: none;
   color: #fff; /* Text color */
   font-size: 0.9rem;
   font-weight: bold;
   transition: color 0.3s ease;
   padding: .5rem;
   overflow: hidden;
   white-space: nowrap; /* Prevent text from wrapping */
}

.brand-sidebar ul li img {
   width: 50px;
   height: 50px;
   object-fit: cover;
   border-radius: 50%;
   margin-right: 1rem; /* Add space between the image and the text */
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for images */
}

.brand-sidebar ul li a span {
   opacity: 1; /* Ensure the brand name is visible */
   transform: translateX(0); /* Position the text next to the image */
   transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

/* Highlight the active brand */
.brand-sidebar ul li a.active {
   background-color: #805858; /* Highlight color for the active brand */
   color: #fff; /* Text color for the active brand */
   border-radius: 10px; /* Add rounded corners */
   transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.brand-sidebar ul li a.active:hover {
   background-color: #682020; /* Darker highlight on hover */
}