/*
 Theme Name:   Woopy Child Theme
 Theme URI:    https://woopy.ancorathemes.com/
 Description:  Woopy Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com
 Template:     woopy
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  woopy
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */


/* main homepage popup  */
.adp-popup, .adp-popup-overlay {
    display: none !important;
}

.adp-popup-open + .adp-popup-overlay {
    display: none !important;
}

/* header  */
.woocommerce ul.products li.product .post_header a {
	font-size: 15px !important;
}

.trx_addons_woocommerce_search_type_filter .sc_form_field.sc_form_field_select .sc_form_field_wrap .sc_form_field_item + .sc_form_field_item {
	font-size: 15px !important;
}

.trx_addons_woocommerce_search_type_filter .sc_form_field .sc_form_field_title_caption {
	font-size: 18px !important;
}

/* ================================
   HIDE PAYMENT METHOD (COD)
   Checkout + Thank You Page
================================ */

/* Checkout page – payment method text */
.woocommerce-checkout .payment_method_cod,
.woocommerce-checkout .wc_payment_method,
.woocommerce-checkout-review-order-table .payment-method {
    display: none !important;
}

/* Thank You page – "Payment method: Cash on delivery" row */
.woocommerce-order-received 
.shop_table_order_details 
tr:has(td:contains("Payment method")),
.woocommerce-order-received 
.shop_table_order_details 
tr.woocommerce-table__payment-method {
    display: none !important;
}

/* Fallback (safe selector) */
.woocommerce-order-received 
.shop_table_order_details 
tr:last-child {
    display: none !important;
}

/* checkout font size  */
.woocommerce-billing-fields h3 {
    font-size: 28px !important;   /* apne hisaab se change karo */
    font-weight: 600 !important;
}

.woocommerce-billing-fields label {
    font-size: 16px !important;   /* label text size */
    font-weight: 500 !important;
}
.woocommerce-billing-fields input,
.woocommerce-billing-fields select {
    font-size: 15px !important;   /* input text size */
}
.woocommerce-billing-fields .required,
.woocommerce-billing-fields .optional {
    font-size: 13px !important;
}

/* ============================= */
/* BILLING DETAILS SECTION */
/* ============================= */

/* Billing heading */
.woocommerce-billing-fields h3 {
    font-size: 22px !important; /* change as needed */
    font-weight: 600 !important;
}

/* Billing field labels */
.woocommerce-billing-fields label {
    font-size: 15px !important; /* change */
    font-weight: 500 !important;
}

/* Billing input text */
.woocommerce-billing-fields input,
.woocommerce-billing-fields select {
    font-size: 15px !important; /* change */
}


/* ============================= */
/* YOUR ORDER (ORDER REVIEW) */
/* ============================= */

/* Your order heading */
#order_review_heading {
    font-size: 22px !important; /* change */
    font-weight: 600 !important;
}

/* Product name text */
.woocommerce-checkout-review-order .product-name {
    font-size: 14px !important;
}

/* Price text */
.woocommerce-checkout-review-order .product-total,
.woocommerce-checkout-review-order .woocommerce-Price-amount {
    font-size: 14px !important;
}

/* Subtotal / Total labels */
.woocommerce-checkout-review-order td {
    font-size: 14px !important;
}


/* =========================
   CHECKOUT – MAIN HEADINGS
   ========================= */
.woocommerce-checkout h3,
.woocommerce-checkout h3#order_review_heading,
.woocommerce-checkout h3#order_review_heading_payment,
.woocommerce-billing-fields h3 {
    font-size: 32px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

/* =========================
   BILLING FORM TEXT
   ========================= */
.woocommerce-billing-fields label,
.woocommerce-billing-fields input,
.woocommerce-billing-fields select,
.woocommerce-billing-fields option,
.woocommerce-billing-fields p {
    font-size: 15px !important;
}

/* =========================
   ORDER REVIEW TABLE TEXT
   ========================= */
.woocommerce-checkout-review-order,
.woocommerce-checkout-review-order table,
.woocommerce-checkout-review-order td,
.woocommerce-checkout-review-order th,
.woocommerce-checkout-review-order .product-name,
.woocommerce-checkout-review-order .product-total,
.woocommerce-checkout-review-order .woocommerce-Price-amount {
    font-size: 15px !important;
}

/* =========================
   PAYMENT SECTION TEXT
   ========================= */
#payment,
#payment label,
#payment p,
#payment li,
#payment .payment_box {
    font-size: 15px !important;
}

/* =========================
   TERMS & CHECKBOX TEXT
   ========================= */
.woocommerce-terms-and-conditions-wrapper,
.woocommerce-terms-and-conditions-wrapper label,
.woocommerce-form__label,
.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 15px !important;
}

/* =========================
   PLACE ORDER BUTTON TEXT
   ========================= */
#place_order {
    font-size: 15px !important;
}


/* single product arrow  */

.custom-gallery-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LEFT arrow – image ke andar */
.custom-gallery-arrow.prev {
    left: 55px;
}

/* RIGHT arrow – image ke andar */
.custom-gallery-arrow.next {
    right: 103px;
}

.custom-gallery-arrow:hover {
    background: #633B52;
}

/* SINGLE PRODUCT PAGE GALLERY MOBILE  */
@media only screen and (max-width: 768px) {
   .woocommerce div.product div.images {
        padding-right: 0px !important; 
        margin-right: 0 !important;
	   padding-left: 0px !important;
    }

	
	.custom-gallery-arrow.next {
    right: 10px;
}

/* LEFT arrow – image ke andar */
.custom-gallery-arrow.prev {
    left: 10px;
}

}

.woocommerce-order-overview__payment-method {
    display: none !important;
}

.socials_mobile {
    display: none !important;
}

/* checkout form styling  */
/* 1. */
.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
    clear: both !important;
	padding-right: 0px !important
}

/* 2. Left aur Right columns/
.col-1, .col-2 {
    width: 100% !important;
    float: none !important;
}

/* 3. Billing fields ko ek row mein 3 set karne ke liye */
@media (min-width: 768px) {
    .woocommerce-billing-fields__field-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .woocommerce-billing-fields__field-wrapper .form-row {
        width: 32% !important; 
        margin-right: 2% !important;
        float: left !important;
        clear: none !important;
    }

   
    .woocommerce-billing-fields__field-wrapper .form-row:nth-child(3n) {
        margin-right: 0 !important;
    }

    /* Address aur Country fields ko full width lamba rakhne ke liye */
    /* #billing_address_1_field, 
    #billing_address_2_field, 
    #billing_country_field,
    #billing_state_field,
    #order_comments_field {
        width: 100% !important;
        margin-right: 0 !important;
    } */
}

/* 4. */
/* ===== MOBILE ONLY CHECKOUT FIX ===== */
@media (max-width: 767px) {

    /* Reset any flex from desktop */
    .woocommerce-billing-fields__field-wrapper {
        display: block !important;
    }

    .woocommerce-billing-fields__field-wrapper .form-row {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-right: 0 !important;
    }

    /* Force these fields to stay single & clean */
    #billing_company_name_field,
    #billing_company_gst_field,
    #billing_country_field,
    #billing_state_field,
    #billing_address_2_field {
        width: 100% !important;
    }
}

/* Search results page se sidebar hatane ke liye */
.search-results .sidebar, 
.search-results .content_wrap .sidebar {
    display: none !important;
}

/* Content ko puri width dene ke liye */
.search-results .content_wrap .content {
    width: 100% !important;
    float: none !important;
}

.search-filter .woopy_woocommerce_filters_button {
    display: none !important;
}
	
	