/* common.css starts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    background-color: #A57548;
}

img {
    height: auto;
    width: 100px;
}

h1 {
    font-size: 50px;
    color: #fff;
    line-height: 64px;
    background: transparent;
}

h2 {
    font-size: 46px;
    color: #e3f5f3;
    line-height: 54px;
    background: transparent;
}

h4 {
    font-size: 20px;
    color: wheat;
    background: transparent;
}

h6 {
    font-weight: 700;
    font-size: 12px;
    color: azure;
    background: transparent;
}

p {
    font-size: 16px;
    color: whitesmoke;
    margin: 15px 0 20px 0;
    background: transparent;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

button.normal {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #1a1a1a;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}

button.white {
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid #fff;
    outline: none;
    transition: 0.2s;
}

body {
    width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #063831;
    color: white;
}

header .logo, img{
    background-color: #063831;
}

header nav ul,li{
    list-style: none;
    display: flex;
    gap: 1rem;
    background: #063831;
}

header nav a {
    color: white;
    text-decoration: none;
    position: relative;
    background: #063831;
}

header nav sup {
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 0.1rem 0.36rem;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.8rem;
}

#products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* product.css starts */
#product1 {
    text-align: center;
}

#product1 .pro-container {
    display: flex;
    justify-content: space-evenly;
    padding-top: 20px;
    flex-wrap: wrap;
}

#product1 .pro {
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #cce7d0;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
    transition: 0.2s ease;
    position: relative;
    background-color: #e3f5f3;
}

#product1 .pro:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}

#product1 .pro img {
    width: 226px;
    height: 150px;
    border-radius: 20px;
}

#product1 .pro .des {
    text-align: start;
    padding: 10px 0;
    background-color: transparent;
}

#product1 .pro .des span {
    color: #060663;
    font-size: 12px;
    background-color: transparent;
}

#product1 .pro .des h5 {
    padding-top: 7px;
    color: #1a1a1a;
    font-size: 14px;
    background-color: transparent;
}

#product1 .pro .des .star {
    background-color: transparent;
}

#product1 .pro .des i {
    font-size: 12px;
    color: rgb(243, 181, 25);
    background-color: #e3f5f3;
}

#product1 .pro .des h4 {
    padding-top: 7px;
    font-size: 15px;
    color: #088178;
    font-weight: 700;
    background-color: transparent;
}

#product1 .pro .cart {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    font-weight: 500;
    background-color: #bdffc7;
    color: #088178;
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 20px;
    right: 10px;
}
#product1 .pro .cart i{
    background-color: #bdffc7;
    color: #088178;
}
/* cart.css starts */
#cart-slider {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: #f3f3f3;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#cart-slider.open {
    right: 0;
}

#cart-items {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}
.remove-item{
    color: wheat;
    background:rgb(52, 51, 51);
    border-radius: 20%;
    padding: 2px;
}

.cart-item span {
    flex: 1;
    color: #f3f3f3;
}

.quantity-controls {
    display: flex;
    align-items: center;
}

.quantity-controls button {
    color: wheat;
    background:rgb(52, 51, 51);
    border-radius: 20%;
    padding: 0 1px;
    font-size: 1rem;
    cursor: pointer;
}

.quantity-controls input {
    width: 30px;
    text-align: center;
    margin: 0 5px;
    color: wheat;
}

#cart-total {
    padding: 20px;
    border-top: 1px solid #ccc;
}

#cart-total h2 {
    margin-bottom: 20px;
}

#checkout-button {
    width: 100%;
    padding: 10px;
    background-color: #088178;
    color: #fff;
    border: none;
    cursor: pointer;
}

#checkout-button:hover {
    background-color: #066b57;
}

#close-cart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: whitesmoke;
    background:red;
    border-radius: 20%;
}

.confirmation-message {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #088178;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: none;
}

.confirmation-message.hidden {
    display: none;
}

.confirmation-message.show {
    display:block;
}