/* 
Theme Name:		 storefront-child-sets
Theme URI:		 http://sharmatech.in/
Description:	 storefront-child is a child theme of Storefront, created by sharmatech.in
Author:			 Yogesh
Author URI:		 http://sharmatech.in/
Template:		 storefront
Version:		 1.0.0
Text Domain:	 storefront-child-sets
*/


/*
    Add your custom styles here
*/

.elementor-element-70cf3099 {
    display: none;
}

.flavor-selection select {
    padding: .6180469716em;
    color: #43454b;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .125);
    width: 100%;
    /* max-width: 199.75px; */
}

.flavor-selection input {
    background-color: #fff;
    border: 1px solid;
    width: 100%;
}

.flavor-selection input:focus {
    background-color: #fff;
    outline: none;
}

input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

#case-count,
#total-selected-qty {
    margin-bottom: 1rem;
}

.flavor-selection {
    margin-top: 2rem;
    text-align: center;
}

/* #checkout-btn, #add-flavor-btn {
    width: 100%;
} */

#flavor-selection-container {
    margin-bottom: 10px;
}

/* .flavor-entry select, .flavor-entry input {
    padding: 5px;
} */
.remove-flavor {
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    margin-left: 1rem;
    position: absolute;
}

@media (max-width:1100px) {
    .remove-flavor {
        position: unset;
        margin-top: 1rem;
        margin-left: 0;
    }
}


#post-84 .entry-header {
    display: none;
}

.container-flover {
    width: 70%;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 1rem;
}

[class^="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Example col-2 for 2/12 width = 16.66% */
.yscol-2 {
    flex: 0 0 35%;
    max-width: 35%;
}

.yscol-4 {
    flex: 0 0 55%;
    max-width: 55%;
}

.text-l {
    text-align: left;
    padding-left: 2.6rem;
}

.text-left {
    text-align: left;
}

#checkout-btn {
    width: 59%;
}

.flavor-entry .select2-container--default .select2-selection--single {
    height: 47px;
    text-align: left;
    padding: .6180469716em;
    border-radius: 0;
    padding-top: .50em;
}
.flavor-entry .select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 13px;
}

/* Product Page Template */
.pp-products-section .entry-title {
    text-align: center;
}

.pp-products-section {
    overflow-x: hidden;
    position: relative;
    padding: 25px 0;
}

.pp-products-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}

.pp-products-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    flex-shrink: 0; /* Prevent shrinking */
    transition: transform 0.5s ease;
    padding: 15px;
}

.pp-product {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    grid-gap: 15px;
    flex: 1 1 calc(25% - 18.75px);
    box-sizing: border-box;
}

.pp-product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.products-slide-left .pp-product {
    transform: translateY(0px);
    box-shadow: 0px 0px 0px;
}

.pp-product img {
    width: 100%;
    height: auto;
	aspect-ratio: 1;
    object-fit: contain;
}

.pp-product h2, .pp-product h3 {
    margin: 0;
    padding: 0;
    text-align: center;
}

.pp-product h3 {
    padding-top: 10px;
    font-size: 24px;
}

.pp-product-forms-container {
    width: 100%;
    flex-shrink: 0; /* Prevent shrinking */
    position: relative;
    padding: 10px;
}

.pp-product-form {
    display: none; /* Hidden by default */
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    display: flex;
    justify-content: space-between;
/*     align-items: center; */
    margin-bottom: 30px;
}

.back-to-products {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #4a90e2;
    cursor: pointer;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.back-to-products:hover {
    background-color: #f0f0f0;
}

.back-to-products .arrow {
    margin-right: 8px;
    font-size: 18px;
}

.products-slide-left {
    transform: translateX(-100%);
}

.form-active {
    display: block;
}

.products-slide-left .pp-products-grid {
    display: flex;
	transition: transform 0s ease;
}

.products-slide-left .pp-products-grid > * {
    flex: 1 1;
    transition: transform 0s ease;
    text-indent: -999999px;
}

.form-header-left {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 20px;
    align-items: center;
}

.form-image img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 3px;
}

.form-titles {
    display: flex;
    flex-direction: column;
    grid-gap: 5px;
}

.form-titles p {
    margin: 0;
    text-transform: capitalize;
    color: #333333;
    font-weight: 300;
    line-height: normal;
}

.form-title {
    font-size: 28px;
}

.form-sub-title {
    font-size: 22px;
}

.form-content .row {
    margin-left: 0;
    margin-right: 0;
    /* align-items: center; */
    text-align: left;
    grid-gap: 10px;
}

.form-content .yscol-4 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
}

.form-content .container-flover {
    padding: 0;
}

.form-content .yscol-4.text-l {
    text-align: right;
    padding: 0;
}

.form-content #flavor-selection-container {
    margin-bottom: 1rem;
}

.form-content .flavor-box .select2 {
    width: 100% !important;
}

@media (max-width:960px){
    .pp-product {
        flex: 0 1 calc(50% - 12.5px);
    }
}

@media (max-width:640px) {
    .pp-products-section, .pp-product h3 {
        padding: 0px;
    }
    .pp-product {
        grid-gap:5px;
    }
}

@media (max-width:480px){
    .pp-product {
        flex: 0 1 100%;
    }
}

/* Home Page Template */
.home-products-section {
    margin: 40px 0;
}

.home-products-grid {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 50px;
}

.home-product {
    flex: 1 1 calc(50% - 25px);
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    grid-gap: 25px;
}

.home-product img {
    aspect-ratio: 1;
    object-fit: contain;
    width: 100%;
}

.home-product h2 {
    margin: 0;
    text-align: center;
}

.home-product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.home-product:focus {
    outline-color: #eee;
}

@media (max-width:640px) {
    .home-products-section {
        margin: 0px;
    }
    .home-product {
        padding: 10px;
        grid-gap: 15px
    }
    .home-products-grid {
        grid-gap: 25px;
    }
}

.text-center{
    text-align: center;
}

.gift-product-radio {
    border: 1px solid #eee;
    /* padding: 15px; */
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1 1 calc(25% - 18.75px);
    box-sizing: border-box;
    position: relative;
    margin-bottom: 2em;
}

/* hide radio */
.gift-product-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Hover effect */
.gift-product-radio:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Highlight the entire label when selected */
.gift-product-radio input[type="radio"]:checked + img,
.gift-product-radio input[type="radio"]:checked ~ .product-title {
    border: none;
}

.gift-product-radio input[type="radio"]:checked {
    outline: none;
}

/* Use a pseudo-element on label for highlight */
.gift-product-radio input[type="radio"]:checked::before {
    content: "";
}

/* Final trick: add border/background to parent using sibling selector */
.gift-product-radio input[type="radio"]:checked + img{
    border: 2px solid #0071a1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    background: rgba(0, 113, 161, 0.05);
}
.form-content .gift-row, .gift-row{
    gap:40px;
}

