@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root {
    --green: #a955d3;
    --dark-color: #591661;
    --black: #000000;
    --light-color: #000000;
    --border: .1rem solid rgba(0, 0, 0, .1);
    --border-hover: .1rem solid var(--black);
    --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}



body {
    margin: 0;
    font-family: Poppins;
}

.header .header-1 {
    background: #fff;
    padding: 1.5rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .header-1 {
    display: flex;
    align-items: center;
}

.header .header-1 .logo {
    font-size: 3REM;
    flex: 1;
    /* Let the logo occupy remaining space */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align logo content to the start (left) */
    font-weight: bolder;
    color: var(--black);
}

.header .header-1 .logo img {
    width: 80px;
    height: auto;
    margin-right: 5px;
    /* Add some space between logo image and text */
}

.header .header-1 .logo i {
    color: var(--green);
}

.header .header-1 .logo span {
    width: 50PX;
    margin-left: 10PX;
    /* Push the "GBA" text to the right */
}


.header .header-1 .search-form {
    width: 50rem;
    height: 5rem;
    border: var(--border);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    border-radius: .5rem;
}

.header .header-1 .search-form input {
    font-size: 1.6rem;
    padding: 0 1.2rem;
    height: 100%;
    width: 100%;
    text-transform: none;
    color: var(--black);
}

.header .header-1 .search-form label {
    font-size: 2.5rem;
    padding-right: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

.header .header-1 .search-form label:hover {
    color: var(--green);
}

.header .header-1 .icons div,
.header .header-1 .icons a {
    font-size: 2.5rem;
    margin-left: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

.header .header-1 .icons div:hover,
.header .header-1 .icons a:hover {
    color: var(--green);
}

#search-btn {
    display: none;
}

.header .header-2 {
    background: var(--green);
}

.header .header-2 .navbar {
    text-align: center;
}

.header .header-2 .navbar a {
    color: #fff;
    display: inline-block;
    padding: 1.2rem;
    font-size: 1.7rem;
}

.header .header-2 .navbar a:hover {
    background: var(--dark-color);
}

.header .header-2.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

}

.container {
    width: 900px;
    margin: auto;
    max-width: 90vw;
    text-align: center;
    padding-top: 10px;
    transition: transform .5s;
}

svg {
    width: 30px;
}

/*
header2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
} */
.icon-cart {
    position: relative;
    display: flex;
    justify-content: right; /* Center the content inside */
    margin-right: -20px;

}

.icon-cart svg {
    width: 40px;
    /* Adjust size as needed */
    height: 44px;
    /* Adjust size as needed */
}

.icon-cart span {
    position: absolute;
    background-color: red;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: -10px;
    /* Adjust to position it correctly above the icon */
    right: -15px;
    /* Adjust to position it correctly to the right of the icon */
}


.title {
    font-size: xx-large;
}

.listProduct .item img {
    /* width: 100%;
    filter: drop-shadow(0 50px 20px #0009); */
    width: 100%; /* Make sure the image takes up the full width of the container */
    height: 270px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensure images cover the space without distortion */
    border-radius: 15px; /* Optional: to match the border radius of the item */
    filter: drop-shadow(0 50px 20px #0009); /* Optional: to keep the existing shadow effect */
    margin-bottom: 10px; /* Add space between image and text */

}

.listProduct {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.listProduct .item {
    background-color: #dcdbdb;
    padding: 20px;
    border-radius: 20px;
}


/* font-weight: 500;
    font-size: medium;
     /* Fixed height for the title *
     / Hide overflow text *
    text-overflow: ellipsis; /* Add ellipsis for overflowing text *
    white-space: nowrap; /* Prevent text from wrapping *
    text-align: center; /* Center-align text 
    margin: 10px 0; Add margin to space out from other elements */

.listProduct .item h2 {
    color: #060407;
    font-weight: 7000;
    font-size: medium;
    height: 50px;
    overflow: hidden;
    
}

.listProduct .item .price {
    letter-spacing: 1px;
    font-size: medium;
    margin: 3px; /* Add margin to space out from other elements */
    flex-grow: 1;
}

.listProduct .item button {
    background-color: #010100;
    color: #eee;
    border: none;
    padding: 10px 20px; /* Increase padding for better appearance */
    border-radius: 20px;
    cursor: pointer; /* Change cursor to pointer on hover */
    margin-top: auto; 
    font-size: small;
    font-weight: bold;

}



.footer {
    background: #fefefe;
    /* Add background color for better visibility */
    padding: 2rem 0;
    /* Add padding */
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Adjust min width for responsiveness */
    gap: 1.5rem;
}

.footer .box-container .box {
    margin: 1rem;
    /* Add margin to prevent crowding */
}

.footer .box-container .box h3 {
    font-size: 1.5rem;
    color: var(--black);
    padding: 1rem 0;
}

.footer .box-container .box a {
    display: block;
    font-size: 1rem;
    color: var(--light-color);
    padding: 0.5rem 0;
    /* Add padding to links */
}

.footer .box-container .box a i {
    color: var(--green);
    padding-right: 0.5rem;
}

.footer .box-container .box a:hover i {
    padding-right: 0.8rem;
    /* Slightly increase padding on hover */
}

/* .footer .box-container .box .map {
    
    /* Add margin for spacing */


.footer .share {
    padding: 1rem 0;
    text-align: center;
}

.footer .share a {
    height: 40px;
    /* Adjust size */
    width: 40px;
    line-height: 40px;
    /* Center icons */
    font-size: 1.5rem;
    /* Decrease font size */
    color: #fff;
    background: var(--green);
    margin: 0 0.3rem;
    border-radius: 50%;
    display: inline-block;
    /* Ensure correct display */
}

.footer .share a:hover {
    background: var(--black);
}

.footer .credit {
    border-top: 1px solid #ccc;
    /* Use a solid line */
    margin-top: 2rem;
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--light-color);
    text-align: center;
}

.footer .credit span {
    color: var(--green);
}








.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10000;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container.active {
    display: none;
}

.loader-container img {
    height: 10rem;
}



/* cart */
.cartTab {
    width: 400px;
    background-color: #ededed;
    color: #eee;
    position: fixed;
    top: 0;
    right: -400px;
    bottom: 0;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    transition: .5s;
}

body.showCart .cartTab {
    right: 0;
}

body.showCart .container {
    transform: translateX(-250px);
}

.cartTab h1 {
    padding: 20px;
    margin: 0;
    font-weight: bold;
    color: #000000;
}

.cartTab .btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

.cartTab button {
    background-color: #913ec5;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0;
    padding: 15px;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid black; 
}

.cartTab .close {
    background-color: #eee;
    padding: 15px;
    border-radius: 0;
    width: 100%;
    border: 1px solid black; 
}

.cartTab .checkOut {
    background-color: #a955d3;
    padding: 15px;
    border-radius: 0;
    width: 100%;
    border: 1px solid black; 
}

.listCart .item img {
    width: 100%;
    border: 1px solid black; 
    object-fit: cover;
    border-radius: 10px;
    margin-left: 20px;
}

.listCart .item {
    display: grid;
    grid-template-columns: 70px 1fr 70px;
    gap: 10px;
    text-align: center;
    align-items: center;
    color: #000;
}

.listCart .item .name {
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    
}

.price {
    font-size: small;    
}

.listCart .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.listCart .quantity span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #eee;
    border-radius: 5px;
    color: #555;
    cursor: pointer;
    line-height: 25px;
    text-align: center;
}


.listCart .quantity button {
    padding: 5px; /* Reduce padding to make the button smaller */
    margin: 0; /* Remove any margin */
    border: 1px solid #000; /* Optional: Add a border if needed */
    background-color: #70409a; /* Set background color */
    color: #000; /* Set text color */
    cursor: pointer; /* Change cursor to pointer */
    width: 20px; /* Set a fixed width */
    height: 20px; /* Set a fixed height */
    box-sizing: border-box; /* Ensure padding and border are included in the width and height */
}



.listCart .quantity .decrease {
    size: 10px;
}


.listCart .quantity .number {
    background-color: transparent;
    color: #000;
    cursor: auto;
}

.listCart .item:nth-child(even) {
    background-color: #eee1;
}

.listCart {
    overflow: auto;
}

.listCart::-webkit-scrollbar {
    width: 0;
}

@media only screen and (max-width: 992px) {
    .listProduct {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .listProduct {
        grid-template-columns: repeat(2, 1fr);
    }
}


.footer .box-container .box:nth-child(1) h3 {
    margin-bottom: 1rem; /* Adjust as needed */
    margin-top: -2rem; /* Move heading upwards */
}


.footer .box-container .box:nth-child(1) {
    background-image: url('Map7.jfif'); /* Path to your image */
    background-size: cover; /* Cover the entire box */
    background-position: center -25%; /* Center the image */
    color: #fcfcfc; /* Change text color for better visibility */
    padding: 2rem; /* Add some padding */
    border-radius: 10px; /* Optional: add rounded corners */
}

.footer .box-container .box:nth-child(1) {
    width: 100%;
    height: 105%;
    margin-top: 1rem;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-button {
    padding: 10px 20px;
    margin: 0 10px;
    background-color: #ddd;
    border: 1px solid #ccc;
    cursor: pointer;
}

.pagination-button:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.icon-link {
    justify-content: flex-start;
    margin-left: -100px;
    margin-right: 50px; /* Adjust spacing between icons as needed */
    font-size: 35px; /* Adjust icon size as needed */
    color: #333; /* Adjust icon color as needed */
    text-decoration: none; /* Remove underline from links */
}