* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

*::selection {
    background-color: #5a3025af;
    color: white;
}


.hidden {
    display: none;
}

.popular-coffee {
    display: flex;
    height: 700px;
    padding: 0 7.3%;
}


.popular-h2 {
    margin-left: 150px;
    margin-bottom: 20px;
}

#left,
#recentCoffee .coffeeCollection {
    text-align: center;
}

#left {
    width: 72%;
}

#left .product-up {
    display: inline-block;
    width: 25%;
    margin-right: 20px;
    line-height: 40px;
    padding: 10px;
    margin-bottom: 15px;
    position: relative;
}

.product-up p {
    color: #6c443b;
    font-weight: 500;
}

.product-up hr {
    border: 1px solid #f8f8f8;
}

#left .product-up .img-to-product {
    background-color: #f8f8f8;
    padding: 40px;
    width: 100%;
    height: 25%;
    margin-bottom: 10px;
}

#left .product-up .cart-bag {
    width: 16px;
    height: 16px;
    margin: 2px 10px 5px 25px;
}

#left .product-up h4 {
    display: flex;
    align-items: center;
    gap: 1px;
}

#left .product-up h4,
#recentCoffee .product-up h4,
#coffeeCollection .product-up h4 {
    cursor: pointer;
    height: 32px;
}

#right {
    width: 25%;
    background-color: #f8f8f8;
    height: 650px;
    text-align: center;
    padding: 2%;
}

#right h2 {
    font-weight: 500;
    margin-bottom: 12px;
}

#right p {
    font-size: 13px;
    color: #6c443b;
    font-weight: 500;
    margin-bottom: 55px;
}

#right img {
    height: 70%;
    width: 90%;
}

.recent {
    display: flex;
    height: 350px;
    padding: 0 10%;

}

#recentCoffee .product-up h4,
#coffeeCollection .product-up h4 {
    display: flex;
    align-items: center;
    gap: 1px;
}

#recentCoffee .product-up .img-to-product {
    background-color: #f8f8f8;
    padding: 20px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    aspect-ratio: 1 / 1.3;
    object-fit: contain;
}

#coffeeCollection .product-up .img-to-product {
    background-color: #f8f8f8;
    padding: 20px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#recentCoffee .product-up .cart-bag,
#coffeeCollection .product-up .cart-bag {
    width: 16px;
    height: 16px;
    margin: 0 10px 5px 45px;
}

#recentCoffee .product-up:last-child,
.brand img:last-child,
#coffeeCollection .product-up:last-child {
    margin-right: 0;
}

#recentCoffee .product-up,
#coffeeCollection .product-up {
    display: inline-block;
    margin-bottom: 30px;
    margin-right: 30px;
    line-height: 40px;
    padding: 10px;
    width: 22.7%;
    text-align: center;
    position: relative;
}

.brand {
    margin: 130px 0 80px 100px;
}

.brand a:nth-child(1) {
    margin-left: 80px;
}

.brand a {
    margin-left: 120px;
}

.brand a img {
    width: 150px;
    height: 49px;
    filter: grayscale(100%);
}

.new-label {
    height: 20px;
    line-height: 20px;
    position: absolute;
    background-color: #6c443b;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 0 10px;
    border-radius: 2px;
    top: 15px;
    right: 19px;
    z-index: 1;
}

/* ============================================wafaa============================================== */

.download-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f8f8f8;
}

.download-image {
    flex: 1;
    text-align: center;
}

.download-image img {
    max-width: 100%;
    height: auto;
}

.download-text {
    flex: 1;
    padding: 20px 40px;
    text-align: left;
}

.download-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.download-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.app-buttons a img {
    width: 140px;
    margin-right: 10px;
}

/* ======================================henddddd======================================================================= */



.login-container {
    background-color: rgba(255, 255, 255, 0.445);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    top: 180px;
    left: 30%;
    z-index: 33;

}

.login-container h2 {
    margin-bottom: 20px;
}

.login-container input {
    width: 85%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}


.login-container button {
    width: 90%;
    padding: 15px 30px;
    background-color: saddlebrown;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
}

.login-container button:hover {
    background-color: sienna;

}

#message {
    margin-top: 15px;
    color: red;
}




/* Top Info Section */
.info-section {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
    background: #f9f9f9;
    text-align: center;
    margin-top: 200px;
}

.info-box i {
    font-size: 30px;
    color: #5d3a00;
}

.info-box h3 {
    margin: 10px 0 5px;
}

.info-box p {
    font-size: 14px;
    color: #666;
}

/* Footer Content */
footer {
    background: #fff;
    padding: 40px 20px 10px 20px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-box {
    flex: 1 1 200px;
    margin: 20px;
}

.footer-box h3,
.footer-box h2 {
    color: #5d3a00;
    margin-bottom: 20px;
}

.footer-box p,
.footer-box ul li a {
    font-size: 14px;
    color: #555;

    text-decoration: none;
}

.footer-box ul li {
    list-style: none;
    margin: 0 0 6px 0;

}

.social-icons i {
    margin: 10px 10px 0 0;
    font-size: 18px;
    color: #333;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 50%;
}

/* Subscription */
.footer-box input[type="email"] {
    margin-bottom: 10px;
    padding: 8px;
    width: 70%;
    margin-top: 10px;
}

.footer-box button {
    padding: 8px 8px;
    background-color: #5d3a00;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-left: 5px;
}

/*========================================= basant======================================================================== */


a {
    text-decoration: none;

}

ul {
    list-style: none;
}


.header--to-all {
    position: fixed;
    top: 0;
    z-index: 99999;
    background-color: #fff;
    border-bottom: 1px solid #888787a1;
    width: 100%;
}

:root {
    --main-color: #9c8461;
    --main-light: #c2a899;
    --main-dark: #6c443b;
    --product-bg-color: #f8f8f8;
}

#main {
    min-height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 150px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-content: center;
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.menu-icon {
    fill: var(--main-color);
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.logo {
    max-width: 180px;
    height: 65px;
    display: flex;
}

.logo img {
    width: 100px;
    height: 100px;
    object-position: center;
    object-fit: contain;
    max-height: 65px;
}

.nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 25px;
}

.nav-btn a i {
    color: #705A39;
    font-size: 25px;
}

.nav-btn a span {
    color: #705A39;
    font-size: 25px;
}

.nav-cart {
    position: relative;
}

.nav-cart span {
    position: absolute;
    right: -8px;
    top: -12px;
    color: #ffffff;
    background-color: var(--main-color);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 600;
    padding-bottom: 2px;
}

.home-btn ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

.home-btn li {
    display: inline-block;
}

.home-btn a {
    text-decoration: none;
    color: inherit;
}

.home-btn {
    max-width: 180px;
    height: 65px;
    display: flex;
    color: #705a39;
    align-items: center;

}

.home-btn .logo {
    display: fl;
    justify-content: space-around;

}



/* main content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    max-width: 1100px;
    margin: auto;
    align-items: center;

}

.main-content-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.main-content-text {
    display: flex;
    flex-direction: column;
}

.main-content-text strong {
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 10px;
    font-weight: 600;
}

.main-content-text h1 {
    font-size: 4rem;
    color: #313131;
    line-height: 4.7rem;
    font-weight: 600;
}

.main-content-text p {
    color: #8a8a8a;
    margin: 30px 0px;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    max-width: 300px;
}

.main-content-text a {
    color: #ffffff;
    background-color: var(--main-color);
    max-width: 150px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    transition: all ease 0.3s;
}

.main-content-text span {
    color: #252525;
    font-size: 2rem;
    margin-bottom: 20px;
}

.main-content-text a :hover {
    opacity: 0.8;
}

/* search */
.search-bar {
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 40vh;
    background-color: #ffffff;
    backdrop-filter: blur(30px);
    display: none;
    justify-content: center;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.05);
    z-index: 101;
}

.search-input {
    width: 90%;
    border-bottom: 1px solid #d4d4d4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-top: 0px;
}

.search-input input {
    width: 100%;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 1.8rem;
    margin: 0px;

}

.search-cancel {
    fill: var(--main-dark);
    font-size: 2rem;
    padding-right: 40px;

}

.search-cancel :hover {
    opacity: 0.8;
    animation: searchanimation 1s;
}

.search-bar-active {
    display: flex;

}


@keyframes searchanimation {
    0% {
        bottom: 100%;
    }

    100% {
        bottom: 0%;
    }
}