/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ========================================
   Variation Swatches - Left Alignment Fix
   ======================================== */

/* Make swatches container left-aligned on single product page */
.single-product .cfvsw-swatches-container {
    justify-content: flex-start !important;
}

/* Ensure the variations table value cell is also left-aligned */
.single-product table.variations td.value {
    text-align: left !important;
}

.single-product table.variations td.value .cfvsw-swatches-container {
    margin-left: 0 !important;
    margin-right: auto !important;
}


/* ========================================
   IndoOngkir Lite & Coupon - Transparent BG with Borders
   ======================================== */
/* 1. Kalkulator Ongkir (Halaman Produk) */
.bpc-calculator-wrapper {
    background: transparent !important;
    border: 1px solid #a18e78 !important; /* Border Coklat Kontras */
    border-radius: 8px !important;
    box-shadow: none !important;
}
.bpc-area-selector,
.bpc-search-container input {
    background: transparent !important;
    border-color: #a18e78 !important;
}
/* 2. Billing Address Helper (Halaman Checkout) */
.bpc-checkout-selector {
    background: transparent !important;
    border: 1px solid #a18e78 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
.bpc-checkout-selector .bpc-area-selector {
    background: transparent !important;
}
/* 3. Discount Code (Kupon) - ALL PAGES */
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-coupon,
.woolentor-checkout__order-summary-section,
.woolentor-checkout__gift-card,
.elementor-widget-woocommerce-checkout-page .e-checkout__coupon-toggle,
.elementor-widget-woocommerce-checkout-page .e-checkout__coupon,
#order_coupon_field,
.checkout_coupon,
.ct-checkout-coupon,
[class*="ct-checkout-coupon"],
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon {
    background: transparent !important;
    border: 1px solid #a18e78 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 15px !important;
}
/* 4. ROBUST FIX KHUSUS SINGLE PRODUCT & PLUGIN Reseller WA */
.single-product [class*="coupon"],
.single-product [class*="discount"],
.single-product form[class*="coupon"],
.rwo-product-coupon-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: 1px solid #a18e78 !important;
    border-radius: 8px !important;
}
/* Fix Input Field di dalam Plugin Reseller WA */
#rwo-product-coupon-code {
    background: transparent !important;
    border: 1px solid #a18e78 !important;
}
/* Merapikan input */
.woocommerce-form-coupon p,
.woolentor-checkout__field {
    margin-bottom: 0;
}
/* Remove Elementor specific container background if present */
.elementor-element .woocommerce-form-coupon-toggle,
.elementor-element .woocommerce-form-coupon {
    background-color: transparent !important;
}