/*
Theme Name: Child Ocean
Theme URI:  https://www.wpserveur.net
Author:     WPServeur
Author URI: https://www.wpserveur.net
Template:   oceanwp
Version:    1.0
License:    GNU General Public License v2 or later
*/
span, p, a{
    font-family: "Outfit", Sans-serif !important;
}



.av-cart-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--e-global-color-657c7c2);
    padding: 12px 14px 3px 10px;
    border-radius: 50%;
}
.av-cart-btn .add_to_cart_button{
    border:none !important;
    padding:0 !important;
    color:#fff !important;
}

.av-product-img {
    position: relative;
}

.av-product-img img {
    max-width: 100% !important;
    width: 100%;
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNjIgNjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8cGF0aCBkPSJNIDM2IDEwIEwgNTIgMTAgQyA1Ny41MjMgMTAgNjIgNS41MjMgNjIgMCBMIDYyIDYyIEwgMCA2MiBDIDUuNTIzIDYyIDEwIDU3LjUyMyAxMCA1MiBMIDEwIDM2IEMgMTAgMjEuNjQxIDIxLjY0MSAxMCAzNiAxMCBaIiBmaWxsPSIjMDAwIj48L3BhdGg+Cjwvc3ZnPgo=),linear-gradient(#000, #000);
    mask-size: 62px 62px,cover;
    mask-repeat: no-repeat;
    mask-position: bottom right;
    mask-composite: exclude;
    border-radius: 10px !important;
}
h3.av-product-title {
    margin-top:15px !important;
}
h3.av-product-title a{
    font-family: var( --e-global-typography-text-font-family ), Sans-serif !important;
    color: #000 !important;
    font-size:16px !important;
    font-weight:400;
    margin-top:10px !important;
}
.av-product-price{
    margin-top:20px ;
}
.av-product-price .woocommerce-Price-amount {
    color:#000 !important;
    font-family: var( --e-global-typography-text-font-family ), Sans-serif !important;
    font-size:16px;
}
.av-cart-btn .wc-forward {
    display:none !important;
}
.av-cart-btn .button.added {
    display: block !important;
}
.product-image-link {
    position: relative;
    display: block;
}

.product-image-link img {
    display: block;
    transition: opacity 0.4s ease-in-out;
}

.product-image-link img.secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image-link:hover img.primary-image {
    opacity: 0;
}

.product-image-link:hover img.secondary-image {
    opacity: 1;
}
.product-details-wrapper {
    margin-top: 15px;
}

.product-info-table {
    margin-bottom: 12px;
}

.product-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 15px;
}

.product-info-row .label {
    flex: 1;
    white-space: nowrap;
}

.product-info-row .dots {
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 6px;
}

.product-info-row .value {
    flex: 0;
    white-space: nowrap;
    font-weight: 500;
}

.product-number {
    font-size: 15px;
    font-weight: 500;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    border-top: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-top: 0 !important;
}
html body a:focus{
    outline:none !important;
}

.entry-summary .price .woocommerce-Price-amount bdi{
    color:#000;
    font-family: "Outfit", Sans-serif !important;
    font-size:20px;
}
.summary.entry-summary .single-post-title.product_title{
    border:0;
    margin:0 !important;
    padding:0;
}
.summary.entry-summary .cart .single_add_to_cart_button{
    border-radius:50px;
    background:#97C274;
    font-family: "Outfit", Sans-serif !important;
        padding:15px 40px !important;
}
.summary.entry-summary .cart{
    display:flex;
}
.owp-thumbs-layout-vertical .woocommerce-product-gallery{
    width:53% !important;
}
.owp-thumbs-layout-vertical .summary.entry-summary{
    width:44% !important;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border: 2px solid #000;
    border-radius: 10px;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    border-radius: 10px;
    width: 88px;
    height: 110px;
    object-fit: cover;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper .no-lightbox img{
    border-radius:10px;
}
.woocommerce div.product form.cart+.product_meta {
    display: none;
}
nav.custom-product-breadcrumbs{
    margin-bottom:15px;
}
nav.custom-product-breadcrumbs, nav.custom-product-breadcrumbs a {
    color: #555;
    font-family: "Outfit", Sans-serif !important;
}
.entry-content .custom-child-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.entry-content .custom-child-categories .child-category-item{
    max-width:200px;
    position:relative;
}
.entry-content .custom-child-categories .child-category-item:before{
    position:absolute;
    content:'';
    background:#00000069;
    width:100%;
    height:100%;
    border-radius:10px;
    top:0;
    left:0;
}
.entry-content .custom-child-categories .child-category-item h3{
    position:absolute;
    color:#fff;
    font-size:16px;
    bottom:10px;
    left:10px;
    margin:0;
}
.entry-content .custom-child-categories .child-category-item a img{
    max-width:100%;
    width:160px;
    height:60px;
    object-fit:cover;
    border-radius:10px;
}
.entry-content .parent-cat-header{
    display:flex;
    align-content:center;
    margin-bottom:30px;
    gap:15px;
}

.entry-content .parent-cat-header .parent-cat-title{
    margin-bottom:0 !important;
}
.entry-content .parent-cat-header .parent-cat-count{
    line-height:2em;
}
a.button.custom-buy-now-button {
    border-radius: 50px;
    background: #e2e2e2;
    color:#000000;
    font-family: "Outfit", Sans-serif !important;
    padding: 18px 40px !important;
    margin-left:10px;
}
span.woocommerce-Price-amount.amount {
    color:#000;
}
p#billing_first_name_field {
    width:100% !important;
}
.wc-backward, .button.wc-forward {
    padding: 12px 15px !important;
}
.custom-faqs {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.custom-faqs h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* FAQ Wrapper */
.custom-product-faqs {
    margin-top: 40px;
}
.faq-item {
    border: 1px solid #ebebeb;
    border-radius: 0;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

/* Question Button */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 400;
    background: #ffffff;
    border-radius: 0px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
    font-family: "Outfit", Sans-serif !important;
}

.faq-question:hover {
    background: #f0f0f0;
}

/* Icon (+/-) like bootstrap */
.faq-question::after {
    content: "\002B"; /* plus */
    font-size: 18px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #555;
}

.faq-question.active::after {
    content: "\2212"; /* minus */
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-answer.open {
    max-height: 500px; /* enough space */
    padding: 12px 16px;
}

a.reset_variations {
    position: absolute;
    right: 0;
    top: -48px;
    border: none !important;
    color: #000 !important;
}
form.variations_form.cart {
    flex-direction: column;
}
.variations tr{
    display:flex;
    flex-direction:column;
}
.variations tr .label{
    padding-bottom:0;
    padding-left:0;
}
.variations tr .label label{
    font-family: "Outfit", Sans-serif !important;
    font-size: 14px;
    color: #000 !important;
    text-transform: math-auto;
}
.variations td.value .theme-select {
    border: 1px solid #000000 !important;
    padding: 10px!important;
    height: 54px;
    border-radius: 5px;
}
.variations td.value .theme-select:after {
    top: 10px;
    height: 100%;
    font-size: 15px;
    color: #000000;
    border-left:none; 
}
.variations td.value .hasCustomSelect{
    color:#000 !important;
    opacity:1;
}
.woocommerce-variation-add-to-cart{
    display:flex;
    flex-wrap:wrap;
}
.summary.entry-summary .variations_form.cart .quantity{
    display:flex;
    align-items: center;
}
.summary.entry-summary .variations_form.cart .quantity .minus, .summary.entry-summary .variations_form.cart .quantity .plus{
    background:#ffffff !important;
    border-radius:0 !important;
    color:#000000 !important;
    font-size:15px !important;
    border:1px solid #000 !important;
    margin:0 5px !important;
    width:30px !important;
    line-height:2.1em !important;
    height:35px !important;

} 
.summary.entry-summary .variations_form.cart .quantity [type="number"]{
    border:1px solid #000 !important;
    background:#ffffff !important;
    color:#000000 !important;
    border-radius:0 !important;
    height:35px !important;
    width:40px !important;
    font-size:15px !important;
    font-weight:500 !important;
    
}
.page-id-8 .woocommerce .cart th, .page-id-8 .woocommerce .cart_totals h2 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 0;
    padding: 15px 10px !important;
}
.page-id-8 a.checkout-button.button {
    padding: 20px 10px !important;
}
.woocommerce-cart-form__cart-item .product-quantity  .quantity{
    display:flex;
    align-items: center;
}
.woocommerce-cart-form__cart-item .product-quantity .quantity .minus, .woocommerce-cart-form__cart-item .product-quantity .quantity .plus{
    background:#ffffff !important;
    border-radius:0 !important;
    color:#000000 !important;
    font-size:15px !important;
    border:1px solid #000 !important;
    margin:0 5px !important;
    width:30px !important;
    line-height:2.1em !important;
    height: 35px !important;
    min-height: 35px !important;
} 
.woocommerce-cart-form__cart-item .product-quantity .quantity [type="number"]{
    border:1px solid #000 !important;
    background:#ffffff !important;
    color:#000000 !important;
    border-radius:0 !important;
    height:35px !important;
    width:40px !important;
    font-size:15px !important;
    font-weight:500 !important;
    min-height: 35px !important;
    text-align: center !important;
}
.woocommerce table.shop_table a.remove {
    font-size: 16px;
    margin-right:10px;
    width: 20px;
    height: 20px;
    line-height: 1.3em;
    font-weight: 400;
    color: #000000;
}
.custom-description-wrapper {
    display: flex;
    gap: 30px;
}
/* Move variation price above */
.woocommerce div.product .woocommerce-variation-price {
    position: relative;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

/* Optional: agar neeche se hattana ho */
.single_variation_wrap .woocommerce-variation-price {
    order: -1;
}


@media(max-width:550px){
    form.cart .quantity {
    width: 100%;
    margin-bottom: 15px;
}
}
@media(max-width:600px){
    .custom-description-wrapper {
    flex-direction: column;
}
}

@media(max-width:767px){
    ul#menu-1-5ccf38c {
    flex-wrap: nowrap;
    overflow: auto;
    justify-content: left;
    padding: 0 10px 15px;
}
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs {
    display: flex !important;
    flex-wrap: wrap;
}
}

@media (min-width: 769px) {
    .woocommerce div.product.owp-thumbs-layout-vertical div.images .flex-viewport {
        width: 84% !important;
    }
     .woocommerce div.product.owp-thumbs-layout-vertical div.images .flex-control-thumbs {
        width: 15% !important;
    }
}

