@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

html,
body {
    height: 100%;
    width: 100%;
    position: relative;
    overscroll-behavior: none;
}


.cart_image_btn {
    position: fixed;
    bottom: 8%;
    right: 5%;
    z-index: 8;
    cursor: pointer;
    border: 2px solid #C9A602;
    padding: 18px;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    border-radius: 50%;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cart_image_btn:hover {
    background-color: #C9A602;
    transform: scale(1.1);
}

.cart_image_btn:hover a {
    color: black;
}

.cart_image_btn:active {
    transform: scale(0.95);
}


.cart_image_btn>a {
    color: #C9A602;
}

.cart_image_btn p {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.9rem;
    background: #C9A602;
    color: black;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    border: 1px solid black;
}

.alert>h1 {
    position: absolute;
    top: 8%;
    width: 100%;
    padding: 10px 20px;
    font-size: 1.4rem;
    background-color: #C9A602;
    color: white;
    z-index: 999;
    text-align: center;
}

.shop_content {
    width: 80%;
    z-index: 500;
    padding: 70px 20px;
    margin-left: 20%;
}

.search_box_2 {
    width: 100%;
    height: 100%;
    padding: 2px;
    border-bottom: none !important;
}

.search_box_2>form {
    border: 1px solid #ddd;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    border-radius: 5px;
}

.search_box_2>form>input {
    width: 90%;
    padding: 10px;
    border: none;
}

.search_box_2>form>button {
    background: none;
    border: none;
    width: 10%;
}

.search_box_2>.filter_icon {
    width: 20%;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    color: #C9A602;
}

.search_box_2>.filter_icon>i {
    padding: 10px;
}

.shop_content>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    padding: 5px 20px;
    font-size: .8rem;
    color: black;
}

.shop_content>div>h1 {
    font-size: .8rem;
    color: #999;
}


.products_sec {
    padding: 20PX;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 25PX;
}

.product_item {
    cursor: pointer;
    position: relative;
    height: 300px !important;
    transition: .3s all ease-in-out;
    overflow: hidden;
    border: 1px solid white;
    padding: 3px;
}

.product_item:hover {
    height: 100%;
    border: 1px solid #ddd;
    width: 100%;
}

.product_item>a {
    text-decoration: none;
    height: 100%;
}

.product_item .pro_img {
    width: 100%;
    height: 55% !important;
}

.pro_img {
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 0px !important;
}

.pro_img>img {
    position: absolute;
    left: 0%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .3s all ease;
}

.product_item:hover #pro_img2 {
    opacity: 0;
}

.pro_title {
    color: #222;
    font-size: 0.8rem;
    height: 17%;
    padding: 2px 3px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

.pro_cata {
    height: 5%;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding: 2px 5px;
    color: #555;
    font-size: .7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.discount_perc {
    position: absolute;
    left: 0px;
    top: 5px;
    color: white;
    font-size: .7rem;
    padding: 2px 5px;
    background-color: rgb(199, 2, 2);
    z-index: 8 !important;
}

.pro_price {
    height: 10%;
    display: flex;
    padding: 5px 10px;
    justify-content: center;
    align-items: center;
}

.pro_price>.sale_price {
    text-transform: initial;
    color: #dfbe02;
    font-weight: bold;
}

.original_price {
    text-transform: initial;
    color: #777;
    font-size: .8rem;
    padding: 2px 5px;
    text-decoration: line-through;
}

.pur_option {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 12%;
    padding: 2px;
    gap: 5px;
    overflow: hidden;
}

.pur_option .btn_buy {
    width: 100%;
    padding: 5px;
    width: 70%;
    cursor: pointer;
    background: black;
    border-radius: 2px;
    font-weight: bolder;
    border: none;
    color: white;
    transition: .2s all ease;
    font-size: .9rem;
}

.pur_option .btn_buy:hover {
    background: #dfbe02;
    color: white;
    scale: 1.02;
}

.pur_option .add_cart {
    padding: 2px;
    height: 100%;
    width: 25%;
}

.pur_option .add_cart form {
    height: 100%;
    width: 100%;
}

.pur_option>.add_cart .cart_btn {
    width: 100%;
    background: none;
    height: 100%;
    border: 2px solid #dfbe02;
    border-radius: 3px;
    cursor: pointer;
    color: #dfbe02;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: .2s all ease-in-out;
}
.quickcheckout_box {
    position: fixed;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 999;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    overflow: hidden;
    padding: 0 15px;
    background-color: rgba(0, 0, 0, 0.3); /* Optional: background dimming */
    pointer-events: none;
    opacity: 0;
    transition: height 0.4s ease, opacity 0.3s ease;
}

.quickcheckout_box.active {
    height: 100%;
    opacity: 1;
    pointer-events: auto;
}


.quickcheckout_box > .quickcheckout_form {
    background: #fff;
    width: 700px;
    max-height: 80vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    padding: 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.quickcheckout_box.active > .quickcheckout_form {
    transform: translateY(0);
    opacity: 1;
}

.quickcheckout_cancel_btn {
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 1rem;
    font-family: sans-serif;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quickcheckout_header {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 40%;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.quickcheckout_header>.quickcheckout_image {
    width: 30%;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
}

.quickcheckout_header>.quickcheckout_image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quickcheckout_header>span {
    font-size: 1rem;
    overflow: hidden;;
    width: 30%;
    color: #333;
}

.quickcheckout_discount {
    position: absolute;
    top: -8px;
    right: -16px;
    background: #dfbe02;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 8px 8px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.quickcheckout_colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 40%;
    margin-top: 10px;
}

.quickcheckout_color_option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    cursor: pointer;
    padding: 4px;;
    transition: 0.2s;
}

.quickcheckout_color_option>input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.quickcheckout_color_option>label {
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.2s all ease-in-out;
}

.quickcheckout_color_option>input:checked~label {
    background: black;
    color: white;
    border-radius: 5px;
}

.quickcheckout_pricing {
    width: 100% !important;
    height: 60%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row !important;
}

.quickcheckout_pricing>.quickcheckout_quantity {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.quickcheckout_quantity_field {
    width: 35px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.quickcheckout_btn {
    cursor: pointer;
    padding: 2px 7px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 0.9rem;
    transition: 0.2s;
}

.quickcheckout_btn:hover {
    background: #eee;
}

.quickcheckout_pricing>.quickcheckout_price_display {
    width: 40%;
    text-align: right;
}

.quickcheckout_price_display .quickcheckout_o_price {
    font-size: .8rem;
    text-decoration: line-through;
    font-weight: bold;
    color: rgb(199, 2, 2);
}

.quickcheckout_price_display .quickcheckout_s_price {
    font-weight: bold;
    font-size: 1rem;
    color: green;
    margin-top: 3px;
}

.quickcheckout_submit_btn {
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: sans-serif;
    font-weight: 500;
    background-color: #111;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quickcheckout_submit_btn:hover {
    background-color: #333;
}

.pur_option>.add_cart .cart_btn:hover {
    background: #dfbe02;
    scale: 1.02;
    color: white;
}

@media screen and (max-width: 699px) {
    .shop_content {
        width: 100%;
        margin-left: 0%;
        padding: 70px 5px;
    }

    .shop_content>div {
        padding: 5px;
    }

    .search_box_2 {
        display: flex !important;
    }

    .search_box_2>.filter_icon {
        display: flex;
    }

    .shop_content>div>h1,.total_qua {
        color: #555;
        font-size: .8rem;
        font-weight: normal;
    }

    .products_sec {
        padding: 10px 5px;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px ;
    }

    .product_item {
        width: 100%;
        min-height: 300px !important;
        max-height: 330px;
    }

    .products_sec .discount_perc {
        font-size: .6rem;
        top: 1%;
        left: 2%;
        padding: 5px;
    }

    .products_sec .pro_img {
        height: 55%;
    }

    .p_title {
        font-size: .8rem;
    }

    .pro_cata {
        border-bottom: 1px solid #ddd;
    }

    .pro_cata>p {
        font-size: .75rem;
        padding: 4px 0px;
        
    }

    .original_price {
        font-size: .8rem !important;
    }
    
  .quickcheckout_box > .quickcheckout_form{
        height:200px;
    }
    .quickcheckout_header{
        height:60%;
    }
    .quickcheckout_discount{
        padding:5px;
    }
    .quickcheckout_btn{
        padding: 5px 7px;
        border-radius: 2px;
        font-size: 0.8rem;
        
    }
     .quickcheckout_image{
        width: 25%;
    }
    .quickcheckout_box > .quickcheckout_form{
        padding: 5px;
    }
    .quickcheckout_header span{
        width: 35%;
        font-size: .8rem !important;
    }
    .quickcheckout_colors{
        gap: 3px;;
    }
    .quickcheckout_color_option>label{
        padding: 5px;
        font-size: .8rem;
    }
    .quickcheckout_pricing{
        height:40%;
        padding:5px 10px;
        border-radius: 2px;
        font-size: 0.8rem;
    }
    .quickcheckout_pricing>.quickcheckout_price_display{
     padding:0px 5px;   
    }
    .quickcheckout_price_display .quickcheckout_o_price{
        font-size:0.75rem;
    }
    .quickcheckout_price_display .quickcheckout_s_price{
        font-size:1rem;
    }
    .quickcheckout_box .quickcheckout_submit_btn{
        padding:10px;
        font-size:0.9rem;
        border-radius:5px;
    }
    .quickcheckout_quantity_field{
        padding:5px 7px;
        font-size:0.9rem;
    }
    .sale_price {
        font-size: 1rem;
    }

    .pur_option>form>.btn_buy {
        font-size: 1rem;
    }
   
}