/*
Theme Name:   Hello Child
Theme URI:    https://ghortechbd.com
Description:  Child theme for Hello Elementor
Author:       GhorTechBD
Author URI:   https://ghortechbd.com
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-child
*/

/* [1] "Ship to a different address?" টগল সম্পূর্ণ লুকানো */
#ship-to-different-address {
	display: none;
}

/* [2] Order Summary টেবিল সংক্ষিপ্ত করা — শুধু Shipment ও Total রাখা, বাকি (হেডার/প্রোডাক্ট লিস্ট/সাব-টোটাল) লুকানো */

.woocommerce-checkout-review-order-table thead {
	display: none;
}

.woocommerce-checkout-review-order-table tbody {
	display: none;
}

.woocommerce-checkout-review-order-table tfoot .cart-subtotal {
	display: none;
}

/* [3] "View Available Coupons" লিংক/বক্স লুকানো */
.woocommerce-form-coupon-toggle,
.checkout_coupon,
p.checkout-coupon-toggle {
	display: none !important;
}

/* [4] Order Summary টেবিলের প্রস্থ (width) ঠিক করা যাতে তার পাশের ফিল্ডের সাথে align থাকে */
.woocommerce-checkout-review-order-table {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

/* [5] Order Review container এর প্রস্থ/মার্জিন/প্যাডিং ঠিক করা (Align সমস্যা সমাধানের অংশ) */
.woocommerce-checkout-review-order,
.woocommerce-checkout-review-order-table {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box !important;
}

/* [6] #order_review এর প্রস্থ/প্যাডিং/মার্জিন ঠিক করা */
#order_review {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* [7] Billing Details ও Order Review — দুই অংশের প্রস্থ সমান রাখা (Align সমস্যা সমাধানের মূল অংশ) */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* [8] ডেস্কটপ (992px+) এর জন্য মূল Two-Column Layout: বামে Billing Details (550px), ডানে Order Summary (450px), মাঝে 100px ফাঁকা জায়গা */
@media screen and (min-width: 992px) {
    .woocommerce-checkout form.checkout {
        display: grid;
        grid-template-columns: 550px 450px;
        column-gap: 100px;
        grid-template-areas:
            "billing summary-heading"
            "billing summary";
        align-items: start;
    }

    .woocommerce-checkout #customer_details {
        grid-area: billing;
    }

    .woocommerce-checkout #order_review_heading {
        grid-area: summary-heading;
        margin-top: 0;
    }

    .woocommerce-checkout #order_review {
        grid-area: summary;
        background: #f8f8f8;
        padding: 20px;
        border-radius: 8px;
    }

    .woocommerce-checkout #customer_details.col2-set,
    .woocommerce-checkout #customer_details .col-1,
    .woocommerce-checkout #customer_details .col-2 {
        width: 100% !important;
        float: none !important;
    }

    .woocommerce-checkout #customer_details #billing_first_name_field {
        width: 500px !important;
        max-width: 500px !important;
    }

    .woocommerce-checkout #customer_details #billing_phone_field,
    .woocommerce-checkout #customer_details #billing_address_1_field,
    .woocommerce-checkout #customer_details #order_comments_field {
        width: 100% !important;
        max-width: 750px !important;
    }

    .woocommerce-checkout #customer_details input.input-text,
    .woocommerce-checkout #customer_details textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
    }
}

/* [9] Grid এ নতুন সারি (row) যোগ করা — Timer ও Delivery charge সিলেকশনের জন্য আলাদা জায়গা তৈরি (আগের 550/450/100px কলাম width অপরিবর্তিত) */
@media screen and (min-width: 992px) {
	.woocommerce-checkout form.checkout {
		grid-template-areas:
			"billing summary-heading"
			"billing summary-timer"
			"billing summary-delivery"
			"billing summary";
	}

	#ghortech-timer-box {
		grid-area: summary-timer;
	}

	#ghortech-delivery-target {
		grid-area: summary-delivery;
	}
}

/* [10] Color Scheme: Deep Blue #0F4C81 / Teal #00C2A8 / Orange #FF7A00 — Delivery box ও Timer বক্সে কালার প্রয়োগ */
#ghortech-delivery-target {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 15px;
}
#ghortech-delivery-target p {
	color: #0F4C81;
}

#ghortech-timer-box {
	background: #e6f7f5 !important;
}
#ghortech-timer-box > div:first-child {
	color: #0F4C81 !important;
}
#ghortech-countdown {
	color: #FF7A00 !important;
}

.woocommerce-checkout input[type="radio"] {
	accent-color: #00C2A8;
}

#ghortech-payment-btn {
	background: #00C2A8 !important;
}

/* [11] Delivery box এর ভিতরে heading ও options এর মাঝের ফাঁকা জায়গা */
#ghortech-shipping-label,
#ghortech-shipping-options {
	margin-bottom: 4px;
}

/* [12] Total সারি — বামে "Total" লেখা, ডানে টাকার পরিমাণ (একই লাইনে) */
#ghortech-delivery-target tr.order-total {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	width: 100% !important;
	font-weight: bold;
	border-top: 1px solid #ddd;
	margin-top: 8px;
	padding-top: 8px;
}
#ghortech-delivery-target tr.order-total th,
#ghortech-delivery-target tr.order-total td {
	display: block !important;
	width: auto !important;
	padding: 0 !important;
}

/* [13] Grid এ আরেকটা সারি যোগ করা — COD/Payment বাটন দুটোর জন্য আলাদা জায়গা (Delivery Box এর ঠিক নিচে, কিন্তু আলাদা বর্ডারে) */
@media screen and (min-width: 992px) {
	.woocommerce-checkout form.checkout {
		grid-template-areas:
			"billing summary-heading"
			"billing summary-timer"
			"billing summary-delivery"
			"billing summary-buttons"
			"billing summary";
	}

	#ghortech-delivery-box {
		grid-area: summary-delivery;
	}

	#ghortech-buttons {
		grid-area: summary-buttons;
	}
}

/* [14] প্রিমিয়াম লুক — Heading, Label, Input বর্ডার/ফোকাস স্টাইল, Required (*) চিহ্নের রঙ (ব্যাকগ্রাউন্ড সাদাই থাকে) */
.woocommerce-checkout h1,
.woocommerce-checkout .entry-title {
	color: #0F4C81 !important;
	font-weight: 700 !important;
}

#customer_details h3,
.woocommerce-billing-fields h3 {
	color: #0F4C81 !important;
	font-weight: 700 !important;
	border-bottom: 3px solid #00C2A8;
	padding-bottom: 8px;
	display: inline-block;
}

.woocommerce-checkout label {
	color: #0F4C81 !important;
	font-weight: 600 !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea {
	border: 1px solid #cfe8e4 !important;
	border-radius: 8px !important;
	padding: 8px 12px !important;
	transition: border-color 0.2s ease;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus {
	border-color: #00C2A8 !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.15) !important;
}

.woocommerce-checkout .required {
	color: #FF7A00 !important;
}

/* প্রোডাক্ট পেজে হেডার এবং ব্রেডক্রাম্ব সম্পূর্ণ হাইড করার জন্য */
.single-product header.site-header,
.single-product .woocommerce-breadcrumb,
.single-product #ast-desktop-header,
.single-product .ast-main-header-wrap,
.single-product header {
    display: none !important;
}

/* প্রোডাক্ট পেজের হেডিং সাইজ সর্বোচ্চ H3 বা ছোট রাখার জন্য */
.single-product .product_title,
.single-product h1.product_title.entry-title {
    font-size: 26px !important; /* আপনার পছন্দমতো সাইজ কমাতে বা বাড়াতে পারেন */
    line-height: 1.3 !important;
}

.single-product .woocommerce-Tabs-panel h2,
.single-product .related.products h2 {
    font-size: 22px !important;
}

/* ৩. Related Products-এর প্রোডাক্ট টাইটেল সাইজ ছোট করার জন্য */
.related.products ul.products li.product .woocommerce-loop-product__title,
.related.products h2.woocommerce-loop-product__title {
    font-size: 15px !important;
    line-height: 1.3 !important;
}

/* ৪. প্রোডাক্ট পেজের মূল ছবি/গ্যালারি ইমেজ সাইজ ছোট এবং কম্প্যাক্ট করার জন্য */
.single-product div.product div.images img,
.single-product .woocommerce-product-gallery__wrapper img,
.woocommerce-product-gallery__image img {
    max-height: 380px !important; /* আপনার পছন্দমতো উচ্চতা বাড়াতে বা কমাতে পারেন */
    width: auto !important;
    margin: 0 auto !important;
    object-fit: contain;
}



