@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

*{
    font-family: 'Nunito', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    outline: none; border: none;
    text-decoration: none;
    transition: all .2s linear;
}
:root{
    --main-color: #fd4646;
    --text-color: #171427;
    --bg-color: #fff;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 6rem;
    scroll-behavior: smooth; 
}
img{
    width: 100%;
}
body{
    color: var(--text-color);
}
.container{
    max-width: 1068px;
    margin: auto;
    width: 100%;
}
section{
    padding: 4rem 0 3rem;
}
header{
    position: fixed;
    top:0; left:0;
    width: 100%;
    background: #333;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
    height: 100px;
}
header .navbar a{
    color: #fff;
    font-size: 2rem;
    margin: 0.8rem;
}
header .navbar a:hover{
    color:orange;
}
header .icons i{
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    margin-right: 1rem;
}
header .icons i:hover{
    color:orange;
}
header .search-bar-container{
    position: absolute;
    top: 100%; left: 0; right:0;
    padding:1.5rem 2rem;
    background: #333;
    border-top: .1rem solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    z-index: 1001;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}
header .search-bar-container.active{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

header .search-bar-container #search-bar{
    width: 100%;
    padding: 1rem;
    text-transform: none;
    color: #333;
    font-size: 1.7rem;
    border-radius: .5rem;
}
header .search-bar-container label{
    color: #fff;
    cursor: pointer;
    font-size: 3rem;
    margin-left: 1.5rem;
}
header .search-bar-container label:hover{
    color:orange;
}

header .search-bar-container2{
    position: absolute;
    top: 100%; left: 0; right:0;
    padding:1.5rem 2rem;
    background: #333;
    border-top: .1rem solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    z-index: 1001;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}
header .search-bar-container2.active{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

header .search-bar-container2 #search-bar2{
    width: 100%;
    padding: 1rem;
    text-transform: none;
    color: #333;
    font-size: 1.7rem;
    border-radius: .5rem;
}
header .search-bar-container2 label{
    color: #fff;
    cursor: pointer;
    font-size: 3rem;
    margin-left: 1.5rem;
}
header .search-bar-container2 label:hover{
    color:orange;
}
.logo{
    font-size: 1.5rem;
    font-weight: bolder;
    color: #fff;
    text-transform: lowercase;
}
header .logo span{
    color:orange;
    text-transform: uppercase;
}
#cart-icon{
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    margin-right: 2rem;
}
#cart-icon:hover {
    color: orange;
}
#cart-icon span{
    background-color: red;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    top: 40%;
    margin-right: 2rem;
}
.cart{
    position: fixed;
    top: 0;
    right: -100%;
    width: 360px;
    min-height: 100vh;
    padding: 20px;
    background: var(--bg-color);
    box-shadow: -2px 0 4px hsl(0 4% 15% / 10%);
    transition: 0.3s;
}

.chart{
    margin: 200px auto;
    width: 600px;
    height: 300px;
}

#cart-icon2{
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    margin-right: 2rem;
}
#cart-icon2:hover {
    color: orange;
}
#cart-icon2 span{
    background-color: red;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    top: 40%;
    margin-right: 2rem;
}
.cart2{
    position: fixed;
    top: 0;
    right: -100%;
    width: 360px;
    min-height: 100vh;
    padding: 20px;
    background: var(--bg-color);
    box-shadow: -2px 0 4px hsl(0 4% 15% / 10%);
    transition: 0.3s;
}
.cart2.active{
    right: 0;
}

.cart-title{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600
    ;
    margin-top: 2rem;
}
.cart-box{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.cart-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    padding: 10px;
}
.detail-box{
    display: grid;
    row-gap: 0.5rem;
}
.cart-product-title{
    font-size: 1rem;
    text-transform: uppercase;
}
.cart-price{
    font-weight: 500;
}
.cart-quantity{
    border: 1px solid var(--text-color);
    outline-color: var(--main-color);
    width: 2.4rem;
    text-align: center;
    font-size: 1rem;
}
.cart-remove{
    font-size: 24px;
    color: var(--main-color);
    cursor: pointer;
}
.total{
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top: 1px solid var(--text-color);
}
.total-title{
    font-size: 1rem;
    font-weight: 600;
}
.total-price{
    margin-left: 0.5rem;
}
.cart-title2{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600
    ;
    margin-top: 2rem;
}
.cart-box2{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.cart-img2{
    width: 100px;
    height: 100px;
    object-fit: contain;
    padding: 10px;
}
.detail-box2{
    display: grid;
    row-gap: 0.5rem;
}
.cart-product-title2{
    font-size: 1rem;
    text-transform: uppercase;
}
.cart-price2{
    font-weight: 500;
}
.cart-quantity2{
    border: 1px solid var(--text-color);
    outline-color: var(--main-color);
    width: 2.4rem;
    text-align: center;
    font-size: 1rem;
}
.cart-remove2{
    font-size: 24px;
    color: var(--main-color);
    cursor: pointer;
}
.total2{
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top: 1px solid var(--text-color);
}
.total-title2{
    font-size: 1rem;
    font-weight: 600;
}
.total-price2{
    margin-left: 0.5rem;
}
.btn-buy{
    display: flex;
    margin: 1.5rem auto 0 auto;
    padding: 12px 20px;
    border: none;
    background-color: green;
    color: var(--bg-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}
.btn-buy:hover{
    background: var(--text-color);
}

#close-cart{
    position: absolute;
    top: 1rem;
    right: 0.8rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
}
#close-cart2{
    position: absolute;
    top: 1rem;
    right: 0.8rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
}
.section-title{
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}
.shop{
    margin-top: 2rem;
}

.shop-content{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,auto));
    gap: 1.5rem;
}
.product-box{
    position: relative;
    cursor: pointer;
}
.product-box:hover{
    padding: 10px;
    border: 1px solid var(--text-color);
    transition: 0.4s;
}
.product-img{
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    aspect-ratio: 1 / 1;
}
.product-title{
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.price{
    font-weight: 500;
}
.add-cart{
    position: absolute;
    bottom:0;
    right: 0;
    background: var(--text-color);
    color: var(--bg-color);
    padding: 10px;
    cursor: pointer;
}
.add-cart:hover{
    background: hsl(249, 32%, 17%);
}

.shop2{
    margin-top: 2rem;
}

.shop-content2{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,auto));
    gap: 1.5rem;
}
.product-box2{
    position: relative;
}
.product-box2:hover{
    padding: 10px;
    border: 1px solid var(--text-color);
    transition: 0.4s;
}
.product-img2{
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    aspect-ratio: 1 / 1;
}
.product-title2{
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.price2{
    font-weight: 500;
}
.add-cart2{
    position: absolute;
    bottom:0;
    right: 0;
    background: var(--text-color);
    color: var(--bg-color);
    padding: 10px;
    cursor: pointer;
}
.add-cart2:hover{
    background: hsl(249, 32%, 17%);
}
.btn{
    display: inline-block;
    margin-top: 1rem;
    background: orange;
    color: #fff;
    padding: .8rem 3rem;
    border: .2rem solid orange;
    cursor: pointer;
    font-size: 1.7rem;
}
.btn:hover{
    background: rgba(255, 265, 0, .2);
    color: orange;
}

.login-form-container{
    position: fixed;
    top:-120%; left: 0;
    z-index: 10000;
    min-height: 100vh;
    width: 100%;
    background: rgba(0,0,0,.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-container.active{
    top:0;
}
.login-form-container form{
    margin: 2rem;
    padding: 1.5rem 2rem;
    border-radius: .5rem;
    background: #fff;
    width: 50rem;
}
.login-form-container form h3{
    font-size: 3rem;
    color: #444;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0;
}
.login-form-container form .box{
    width: 100%;
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    margin: .6rem 0;
    border: .1rem solid rgba(0,0,0,.3);
    text-transform: none;
}
.login-form-container form .box:focus{
    border-color:orange;
}
.login-form-container form #remember{
    margin: 2rem 0;
}
.login-form-container form label{
    font-size: 1.5rem;
}

.login-form-container form .btn{
    display: block;
    width: 100%;
}
.login-form-container form p{
    padding: .5rem 0;
    font-size: 1.5rem;
    color: #666;
}
.login-form-container form p a{
    color: orange;
}
.login-form-container form p a:hover{
    color: #333;
    text-decoration: underline;
}
.login-form-container #form-close{
    position: absolute;
    top:2rem; right:3rem;
    font-size: 5rem;
    color: #fff;
    cursor: pointer;
}
.password-container {
    position: relative;
}

.view-password-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.view-password-icon img {
    width: 20px;
    height: auto;
}


.newitem-form-container {
    position: fixed;
    top: -120%;
    left: 0;
    z-index: 10000;
    min-height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newitem-form-container.active {
    top: 0;
}

.newitem-form-container form {
    margin: 2rem;
    padding: 1.5rem 2rem;
    border-radius: .5rem;
    background: #fff;
    width: 60%; /* Adjusted width to 60% */
    max-width: 800px; /* Added max-width for responsiveness */
}

.newitem-form-container form h3 {
    font-size: 3rem;
    color: #444;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0;
}

.newitem-form-container form .box {
    width: 100%;
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    margin: 0.6rem 0;
    border: 0.1rem solid rgba(0, 0, 0, 0.3);
    text-transform: none;
}

.newitem-form-container form .box:focus {
    border-color: orange;
}

.newitem-form-container form #remember {
    margin: 2rem 0;
}

.newitem-form-container form label {
    font-size: 1.5rem;
}

.newitem-form-container form .btn {
    display: block;
    width: 100%;
}

.newitem-form-container #form-close2 {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 5rem;
    color: #fff;
    cursor: pointer;
}
.newitem-form-container form .form-columns {
    display: flex;
    justify-content: space-between;
}
.newitem-form-container form .form-column {
    flex: 0 0 48%; /* Adjusted width of columns with some spacing in between */
}
.newitem-form-container form .box:focus {
    border-color: orange;
}

.myaccount-form-container{
    position: fixed;
    top:-120%; left: 0;
    z-index: 10000;
    min-height: 100vh;
    width: 100%;
    background: rgba(0,0,0,.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.myaccount-form-container.active{
    top:0;
}
.myaccount-form-container form{
    margin: 2rem;
    padding: 1.5rem 2rem;
    border-radius: .5rem;
    background: #fff;
    width: 50rem;
}
.myaccount-form-container form h3{
    font-size: 3rem;
    color: #444;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0;
}
.myaccount-form-container form .box{
    width: 100%;
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    margin: .6rem 0;
    border: .1rem solid rgba(0,0,0,.3);
    text-transform: none;
}
.myaccount-form-container form .box:focus{
    border-color:orange;
}
.myaccount-form-container form #remember{
    margin: 2rem 0;
}
.myaccount-form-container form label{
    font-size: 1.5rem;
}

.myaccount-form-container form .btn{
    display: block;
    width: 100%;
}
.myaccount-form-container #form-close2{
    position: absolute;
    top:2rem; right:3rem;
    font-size: 5rem;
    color: #fff;
    cursor: pointer;
}
.content-table-container {
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping of table content */
}
.content-table{
    border-collapse: collapse;
    margin: 25px auto;
    font-size: 1.4rem;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    

}
.content-table thead tr{
    background-color: deepskyblue;
    text-align: left;
    font-weight: bold;
}
.content-table th,
.content-table td{
    padding: 3px 5px;
}
.content-table tbody tr{
    border-bottom: 1px solid #ffffff;
}
.content-table tbody tr:nth-of-type(even){
    background-color: #f3f3f3;
}
.content-table tbody tr:last-of-type{
    border-bottom: 2px solid deepskyblue;
}
.content-table tbody tr.highlight {
    background-color: lightgreen;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* Pagination links */
.pagination a {
    color: deepskyblue;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border: 1px solid deepskyblue;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Hover effect for pagination links */
.pagination a:hover {
    background-color: deepskyblue;
    color: white;
}

/* Active page number */
.pagination .page-numbers a.active {
    background-color: deepskyblue;
    color: white;
}

/* Page info */
.page-info {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: deepskyblue;
}

.pagination2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* Pagination links */
.pagination2 a {
    color: deepskyblue;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border: 1px solid deepskyblue;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Hover effect for pagination links */
.pagination2 a:hover {
    background-color: deepskyblue;
    color: white;
}

/* Active page number */
.pagination2 .page-numbers2 a.active {
    background-color: deepskyblue;
    color: white;
}

/* Page info */
.page-info2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: deepskyblue;
}
.centered-input {
    display: block; /* Makes the input a block element to allow for text-align */
    width: 50%; /* Reduces the width of the input */
    margin: 0 auto; /* Centers the input */
    text-align: center; /* Centers the text within the input */
}
.centered-input1 {
    display: block; /* Makes the input a block element to allow for text-align */
    width: 50%; /* Reduces the width of the input */
    margin: 0 auto; /* Centers the input */
 /* Centers the text within the input */
}
.heading{
    margin-top: 90px;
    text-align: center;
    padding: 0rem 0;
}
.heading span{
    font-size: 3.5rem;
    background: rgba(255, 165, 0, .2);
    color: orange;
    border-radius: .5rem;
    padding: .2rem 1rem;
}
.heading span .space{
    background: none;
}
.small-img-group{
    display: flex;
    justify-content: space-between;
}
.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}

.graphBox{
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
    min-height: 200px;
}
.graphBox .Box{
    position: relative;
    background: white;
    padding: 20px;
    width: 100%;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}
.left{
    width: 40%;
}
.big-img{
    width: 250px;
    aspect-ratio: 1 / 1;
}
.big-img img{
    width: inherit;
}
.images{
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin-top: 15px;
}
.small-img{
    width: 50px;
    overflow: hidden;
    border: none;
    aspect-ratio: 3/2;
}
.small-img img{
    width: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}
.small-img:hover img{
    transform: scale(1.2);
}
.flex-box{
    display: flex;
    width: 1000px;
    margin: 100px auto 20px;
}
.pname{
    font-size: 22px;
    font-weight: 600;
    margin-top: 50px;
}
.ratings i{
    color: rgb(255, 136, 0);
}
.price{
    font-size: 15px;
    font-weight: 500;
    margin: 20px 0;
}
.btn-box{
    display: flex;
    margin-top: 40px;
}
.quantity{
    display: flex;
}
.quantity p{
    font-size: 18px;
    font-weight: 500;
}
.quantity input{
    width: 40px;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    margin-left: 15px;
}
/* Add this to your existing CSS or create a new CSS file */
.checkout {
    margin-top: 50px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16px; /* Adjust the font size as needed */
}

input,
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc; /* Add a border to the inputs */
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}
.cardBox {
    display: flex;
    justify-content: space-around;
    margin-top: 120px; /* Adjust this value based on your header height */
}

.card {
    width: 150px;
    height: 150px;
    background-color: #3498db; /* Blue background */
    color: #fff; /* White text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card .numbers {
    font-size: 24px;
    font-weight: bold;
}

.card .cardName {
    font-size: 16px;
    margin-top: 8px;
}

.iconBx {
    margin-top: 12px;
}
#menu-bar{
    color: #fff;
    border: .1rem solid #fff;
    border-radius: .5rem;
    font-size: 3rem;
    padding: .5rem 1.2rem;
    cursor: pointer;
    display: none;
}
.sub-menu-wrap1{
    position: absolute;
    top: 90%;
    right: 40%;
    width: 320px;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s;
}
 .sub-menu1{
    border-radius: 5px 5px 5px 5px;
    background: #333;
    color: whitesmoke;
    padding: 20px;
    margin: 10px;
}
 .sub-menu-wrap1.open-menu{
    max-height: 400px;
}

.popup{
    width: 400px;
    background: #fff;
    border-radius: 6px;
    position: fixed; 
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
}
.open-popup{
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}
.popup img{
    width: 100px;
    margin-top: -50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.popup h2{
    font-size: 38px;
    font-weight: 500;
    margin: 30px 0 10px;
}
.popup button{
    width: 100%;
    margin-top: 50px;
    padding: 10px 0;
    background: #6fd649;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}
.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* Base style for toast notifications */
.toast {
    position: relative;
        padding: 10px;
        color: #fff;
        margin-bottom: 10px;
        width: 400px;
        display: grid;
        grid-template-columns: 70px 1fr 70px;
        border-radius: 5px;
        --color: #0abf30;
        background-image: 
            linear-gradient(
                to right, #0abf3055, #22242f 30%
            ); 
        animation: show 0.3s ease 1 forwards
}

.toast .title{
    font-size: x-large;
    font-weight: bold;
}
/* Success toast */
.toast.success {
    background-color: #4CAF50; /* Green background */
}
.toast.Invalid {
    background-color:#f24d4c; 
    background-image: 
            linear-gradient(
                to right, #f24d4c55, #22242F 30%
            );
}

/* Invalid toast::before styling */
.toast.Invalid::before {
    /* Override or add specific styles for .toast.Invalid here */
    background-color: #f24d4c; /* Example: Change the background color */
    box-shadow: 0 0 10px #f24d4c; /* Example: Change the box-shadow color */
    /* Add or override other properties as needed */
}

/* Content inside the toast */
.toast .content {
    margin-left: 10px;
}

/* Close icon */
.toast i.fa-xmark {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
}
.toast::before{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--color);
    width: 100%;
    height: 3px;
    content: '';
    box-shadow: 0 0 10px var(--color);
    animation: timeOut 5s linear 1 forwards
}
@keyframes show{
    0%{
        transform: translateX(100%);
    }
    40%{
        transform: translateX(-5%);
    }
    80%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-10%);
    }
}
@keyframes timeOut{
    to{
        width: 0;
    }
}

@media (max-width:1080px){
    .nav{
        padding: 15px;
    }
    section{
        padding: 3rem 0 2rem;
    }
    .container{
        margin: 0 auto;
        width: 90%;
    }
    .shop{
        margin-top: 2rem !important;
    }
}

@media (max-width:400px){
    .nav{
        padding: 11px;
    }
    .logo{
        font-size: 1rem;
    }
    .cart{
        width: 320px;
    }
    header{
        position: fixed;
        
    }

}
@media (max-width:360px){
    .shop{
        margin-top: 1rem !important;
    }
    .cart{
        width: 280px;
    }
    .shop-content {
        grid-template-columns: repeat(1, 1fr); /* Display one column for smaller screens */
    }
    .shop-content2 {
        grid-template-columns: repeat(1, 1fr); /* Display one column for smaller screens */
    }
    header{
        position: fixed;
        
    }

}
@media (max-width: 991px){
    .graphBox{
        grid-template-columns: 1fr;
        height: auto;
    }
    header{
        position: fixed;
        
    }

}
@media (max-width: 768px) {
    .shop-content {
        grid-template-columns: repeat(1, 1fr); /* Display one column for smaller screens */
    }
    .shop-content2 {
        grid-template-columns: repeat(1, 1fr); /* Display one column for smaller screens */
    }
    #menu-bar{
        display:initial;
    }
    header .navbar{
        position: absolute;
        top:100%; right:0; left: 0;
        background: #333;
        border-top: .1rem solid rgba(255,255,255,.2);
        padding: 1rem 2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    header .navbar a{
        display: block;
        border-radius: .5rem;
        padding: 1.5rem;
        margin: 1.5rem 0;
        background: #222;
    }
    header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
       .sub-menu-wrap1 {
        right: 5%; /* Adjust position */
        width: 90%; /* Adjust width */
        max-height: 0; /* Reset max-height */
        transition: max-height 0.5s; /* Reset transition */
    }

    .sub-menu-wrap1.open-menu {
        max-height: 400px; /* Adjust max-height */
    }

    .sub-menu1 {
        padding: 10px; /* Adjust padding */
        margin: 5px; /* Adjust margin */
    }
    header{
        position: sticky;
        
    }


}
@media only screen and (max-width: 600px) {
    .content-table {
        font-size: 1rem;
    }

    .content-table thead tr {
        font-size: 1.2rem;
    }

    .content-table th,
    .content-table td {
        padding: 8px 10px;
        font-size: 1rem;
    }
    .shop-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust the width as needed */
    }

    .product-img {
        width: 100%;
        height: auto;
        margin-bottom: 0.5rem;
        aspect-ratio: 1 / 1;
    }
    .shop-content2 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust the width as needed */
    }

    .product-img2 {
        width: 100%;
        height: auto;
        margin-bottom: 0.5rem;
        aspect-ratio: 1 / 1;
    }

    .flex-box {
        flex-direction: column;
        width: 80%;
        margin: 50px auto 20px;
    }

    .left,
    .images {
        width: 100%;
    }

    .big-img,
    .small-img {
        width: 100%;
        margin-bottom: 15px;
    }

    .popup {
        width: 90%; /* Adjust width for smaller screens */
        padding: 20px; /* Adjust padding */
        font-size: 14px; /* Adjust font size */
    }

    .popup img {
        width: 80px; /* Adjust image width */
        margin-top: -40px; /* Adjust margin */
    }

    .popup h2 {
        font-size: 24px; /* Adjust font size */
        margin: 20px 0 10px; /* Adjust margin */
    }

    .popup button {
        margin-top: 30px; /* Adjust margin */
        font-size: 16px; /* Adjust font size */
        padding: 8px 0; /* Adjust padding */
    }
      .fas,
      .bx {
    font-size: 20px; /* Adjust size for smaller screens */
  }
     .sub-menu-wrap1 {
        right: 5%; /* Adjust position */
        width: 90%; /* Adjust width */
        max-height: 0; /* Reset max-height */
        transition: max-height 0.5s; /* Reset transition */
    }

    .sub-menu-wrap1.open-menu {
        max-height: 400px; /* Adjust max-height */
    }

    .sub-menu1 {
        padding: 10px; /* Adjust padding */
        margin: 5px; /* Adjust margin */
    }
    header{
        position: fixed;
        
    }

}