/*
Theme Name: Lama'an Prokashoni
Description: 
Author: Mostafizur 01796773750
Version: 1.0
*/

body {
    margin: 0;
    font-family: 'Hind Siliguri', sans-serif;
    background-color: #f9f9fa;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.hero-section {
    text-align: center;
    padding: 40px 20px;
}
.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}
.hero-subtitle {
    font-size: 18px;
    color: #7a1727;
    margin-bottom: 30px;
}
.book-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.order-btn {
    display: inline-block;
    background: #7a1727;
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
}
.order-btn:hover {
    background: #59111c;
}

.section-title {
    font-size: 24px;
    margin-top: 40px;
    border-bottom: 2px solid #7a1727;
    display: inline-block;
    padding-bottom: 5px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.feature-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
}
.feature-box h4 {
    margin-top: 0;
    color: #7a1727;
}

.checkout-wrapper {
    margin-top: 50px;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 8px;
}

/* WooCommerce Checkout Custom Fixes */
.woocommerce-checkout #payment {
    background: #f8f8f8 !important;
    border-radius: 5px;
}
.woocommerce-checkout #payment div.payment_box {
    background-color: #ffffff !important;
    color: #555 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 14px;
}
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #ffffff !important;
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #ddd;
    color: #333;
    font-weight: 600;
}
.woocommerce-checkout #place_order {
    background-color: #7a1727 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: bold !important;
    padding: 15px !important;
    /* removed width 100% */
    border-radius: 5px !important;
    margin-top: 15px !important;
}
.woocommerce-checkout #place_order:hover {
    background-color: #59111c !important;
}
.woocommerce-checkout .shop_table th, .woocommerce-checkout .shop_table td {
    color: #333 !important;
    border-top: 1px solid #eee;
}
.woocommerce-checkout .shop_table th {
    font-weight: bold;
}

/* Custom 2-Column Checkout Layout */
@media (min-width: 768px) {
    form.checkout {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
        align-items: start;
    }
    form.checkout #customer_details {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 100%;
        float: none;
        margin-bottom: 0;
    }
    form.checkout #order_review_heading {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 20px;
    }
    form.checkout #order_review {
        grid-column: 2;
        grid-row: 2;
        float: none;
    }
    form.checkout .col2-set .col-1, 
    form.checkout .col2-set .col-2 {
        float: none;
        width: 100%;
    }
}
/* Form Field Styles matching CartFlows */
.woocommerce-checkout input[type="text"], 
.woocommerce-checkout input[type="email"], 
.woocommerce-checkout input[type="tel"], 
.woocommerce-checkout select, 
.woocommerce-checkout textarea {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    width: 100%;
}
.woocommerce-checkout .form-row {
    margin-bottom: 15px;
}

/* CartFlows exact checkout layout refinement */
form.checkout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
form.checkout #customer_details {
    width: 55%;
}
form.checkout #order_review_heading,
form.checkout #order_review {
    width: 40%;
}
@media (max-width: 767px) {
    form.checkout #customer_details,
    form.checkout #order_review_heading,
    form.checkout #order_review {
        width: 100%;
    }
}
.woocommerce form .form-row .required {
    color: red;
    font-weight: bold;
}
.woocommerce-checkout h3 {
    font-size: 24px;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}
/* Style the fields to match exactly */
.woocommerce-checkout input[type="text"], 
.woocommerce-checkout input[type="email"], 
.woocommerce-checkout input[type="tel"], 
.woocommerce-checkout select, 
.woocommerce-checkout textarea {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    border-radius: 4px;
    color: #4a5568;
    box-shadow: none;
    font-size: 15px;
}
.woocommerce-checkout label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 5px;
    display: inline-block;
}
/* Order Review Table */
.woocommerce-checkout .shop_table {
    border: none;
    border-collapse: collapse;
}
.woocommerce-checkout .shop_table th, 
.woocommerce-checkout .shop_table td {
    border-top: none;
    border-bottom: 1px dashed #e2e8f0;
    padding: 15px 0;
}
.woocommerce-checkout .shop_table th {
    color: #a0aec0;
    font-weight: 600;
    font-size: 14px;
}
.woocommerce-checkout .shop_table td {
    color: #4a5568;
    font-weight: 600;
}
/* Payment Box */
.woocommerce-checkout #payment {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}
/* Place Order Button */
.woocommerce-checkout #place_order {
    background-color: #7a1727 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: bold !important;
    padding: 15px !important;
    /* removed width 100% */
    border-radius: 5px !important;
    margin-top: 15px !important;
    text-transform: capitalize;
}
.woocommerce-checkout #place_order:hover {
    background-color: #59111c !important;
}


/* Fix for Elementor layout alignment after removing JS */
.elementor-section, .e-con-boxed, .e-con-full {
    margin-left: auto !important;
    margin-right: auto !important;
}
.elementor-section.elementor-section-stretched {
    /* removed width 100% */
    left: 0 !important;
}
.elementor-location-header, .elementor-location-footer {
    width: 100%;
}

/* Ultimate Centering Fix */
body, .elementor-page {
    /* removed width 100% */
    overflow-x: hidden !important;
}
.cartflows-container, .elementor-76690 {
    /* removed width 100% */
    margin: 0 auto !important;
}
.e-con, .e-con-boxed, .elementor-section {
    margin-left: auto !important;
    margin-right: auto !important;
    /* removed width 100% */
    max-width: 100vw !important;
}
.e-con-inner, .elementor-container {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1140px !important;
    /* removed width 100% */
}

/* Footer Background and Contrast Fix */
.elementor-element-5acd233 {
    background-color: #ffffff !important;
    border-top: 1px solid #e2e8f0;
}
.elementor-element-5acd233 a, 
.elementor-element-5acd233 a span, 
.elementor-element-5acd233 h2, 
.elementor-element-5acd233 span {
    color: #7a1727 !important;
}
/* Separator color fix */
.elementor-element-f66359e .elementor-icon-list-item:not(:last-child):after {
    color: #b27f22 !important;
}

/* Footer Logo strict aspect ratio fix */
.elementor-element-f3ea82b img {
    width: auto !important;
    height: auto !important;
    max-/* removed width 100% */
    max-height: 120px !important; /* reasonable max height for footer */
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}

/* Combining both Theme Colors */
.woocommerce-checkout #place_order {
    background-color: #760f25 !important;
    border: 2px solid #af6d29 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}
.woocommerce-checkout #place_order:hover {
    background-color: #af6d29 !important;
    border-color: #760f25 !important;
    color: #ffffff !important;
}
.woocommerce-checkout h3 {
    color: #760f25 !important;
    border-bottom: 2px solid #af6d29;
    display: inline-block;
    padding-bottom: 5px;
}
.woocommerce form .form-row .required {
    color: #af6d29 !important;
}
.woocommerce-checkout .shop_table th {
    color: #af6d29 !important;
}
.elementor-element-5acd233 {
    border-top: 3px solid #af6d29 !important;
}


/* Fix for empty space in checkout order review table */
.woocommerce-checkout .shop_table tr.woocommerce-shipping-totals {
    display: none !important;
}
.woocommerce-checkout .shop_table tr:empty {
    display: none !important;
}


/* Fix for cart item alignment in checkout */
/* PREMIUM CHECKOUT DESIGN MATCHING REFERECE IMAGE */

/* General Form Reset */
.woocommerce-checkout .shop_table {
    width: 100% !important;
    border: none !important;
    margin-bottom: 15px !important;
}
.woocommerce-checkout .shop_table thead {
    display: none !important;
}

/* Cart Item Box */
.woocommerce-checkout .shop_table tr.cart_item {
    display: flex !important;
    justify-content: space-between !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin-bottom: 0px !important;
    background: #fff !important;
}

/* Layout for Image, Title, Qty using Float to bypass &nbsp; Grid bug */
.woocommerce-checkout .shop_table tr.cart_item td.product-name {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0 !important; /* Neutralize the &nbsp; */
}

/* Image Wrapper Floated Left */
.woocommerce-checkout .shop_table tr.cart_item td.product-name .checkout-thumb-box {
    float: left !important;
    width: 60px !important;
    margin-right: 0px !important;
    margin-bottom: 0px !important;
}
.woocommerce-checkout .shop_table tr.cart_item td.product-name .checkout-thumb-img img {
    width: 100% !important;
    height: auto !important;
    border-radius: 6px !important;
    border: none !important;
    display: block !important;
}

/* Title (Blocks right of the image) */
.woocommerce-checkout .shop_table tr.cart_item td.product-name .checkout-thumb-wrap {
    display: block !important;
}
.woocommerce-checkout .shop_table tr.cart_item td.product-name .checkout-thumb-wrap > span:last-child {
    display: block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111 !important;
    line-height: 1.25 !important;
    margin-top: 5px !important;
    margin-bottom: 0px !important;
}

/* Quantity Box (Sits under Title, right of Image) */
.woocommerce-checkout .shop_table tr.cart_item td.product-name .checkout-qty-selector {
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    width: 110px !important;
    height: 38px !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important; /* Restore font size */
}
.checkout-qty-selector button {
    background: #fdfdfd !important;
    border: none !important;
    width: 35px !important;
    font-size: 20px !important;
    color: #444 !important;
    cursor: pointer !important;
    padding: 0 !important;
}
.checkout-qty-selector span.qty-val {
    flex: 1 !important;
    text-align: center !important;
    border-left: 1px solid #eaeaea !important;
    border-right: 1px solid #eaeaea !important;
    line-height: 36px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #111 !important;
}

/* Clearfix for the td */
.woocommerce-checkout .shop_table tr.cart_item td.product-name::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Price */
.woocommerce-checkout .shop_table td.product-total {
    border: none !important;
    padding: 0 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin-top: 5px !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* Subtotal & Shipping Block */
.woocommerce-checkout .shop_table tfoot {
    display: block !important;
    background: #fafafa !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    padding: 12px !important;
}
.woocommerce-checkout .shop_table tfoot tr {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px dashed #ddd !important;
    padding: 8px 0 !important;
}
.woocommerce-checkout .shop_table tfoot tr:first-child {
    padding-top: 0 !important;
}
.woocommerce-checkout .shop_table tfoot tr:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.woocommerce-checkout .shop_table tfoot th {
    border: none !important;
    padding: 0 !important;
    font-weight: 500 !important;
    color: #555 !important;
    font-size: 15px !important;
    text-align: left !important;
}
.woocommerce-checkout .shop_table tfoot td {
    border: none !important;
    padding: 0 !important;
    font-weight: 600 !important;
    color: #111 !important;
    font-size: 15px !important;
    text-align: right !important;
}

/* Total Row */
.woocommerce-checkout .shop_table tfoot tr.order-total th {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111 !important;
}
.woocommerce-checkout .shop_table tfoot tr.order-total td span.amount {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #8e1537 !important; /* Theme Dark Red */
}

/* Delivery Method (Payment) Box */
#payment {
    background: transparent !important;
}
#payment ul.payment_methods {
    border: 1px solid #8e1537 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    background: #fff !important;
    margin-bottom: 0px !important;
    border-bottom: 1px solid #8e1537 !important;
}
#payment ul.payment_methods li {
    list-style: none !important;
}
#payment ul.payment_methods label {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #111 !important;
}
#payment div.payment_box {
    background: transparent !important;
    padding: 10px 0 0 30px !important;
    color: #666 !important;
    font-size: 14px !important;
    border: none !important;
}
#payment div.payment_box::before {
    display: none !important;
}

/* Place Order Button */
#place_order {
    background: #8e1537 !important;
    color: #fff !important;
    width: 100% !important;
    padding: 18px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: none !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}
#place_order:hover {
    background: #6a0f28 !important;
}

/* ULTRA SPECIFIC OVERRIDE TO KILL INLINE CUSTOM CSS BORDERS */
body.page-template-template-landing .woocommerce-checkout table.shop_table tfoot tr.order-total th, 
body.page-template-template-landing .woocommerce-checkout table.shop_table tfoot tr.order-total td {
    border-top: none !important;
    padding-top: 0 !important;
}
body.page-template-template-landing .woocommerce-checkout table.shop_table tfoot tr {
    border-top: none !important;
}


/* Ensure title does not truncate with ellipsis */
.woocommerce-checkout .shop_table tr.cart_item td.product-name .checkout-thumb-wrap > span:last-child,
.woocommerce-checkout .shop_table tr.cart_item td.product-name .checkout-thumb-wrap > span:last-child a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 100% !important;
}


/* Privacy Policy Text Adjustments */
.woocommerce-terms-and-conditions-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0px !important;
    padding: 0 !important;
}
.woocommerce-privacy-policy-text p {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-privacy-policy-text a {
    color: #8e1537 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}


/* Hide WoodMart Skip Links on Landing Page */
.wd-skip-links {
    display: none !important;
}


/* Hide top header logo on landing page */
.page-template-template-landing .elementor-element-6b6c93b9 {
    display: none !important;
}
.page-template-template-landing .elementor-element-5d7c012d {
    display: none !important;
}


/* Kill ALL spacing around privacy policy and order button */
#payment ul.payment_methods {
    margin-bottom: 5px !important; /* Just a tiny gap so it doesn't overlap borders */
}
.woocommerce-terms-and-conditions-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.woocommerce-privacy-policy-text {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.woocommerce-privacy-policy-text p {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.form-row.place-order {
    margin-top: 0 !important;
    padding-top: 5px !important;
}
#place_order {
    margin-top: 5px !important;
}


/* User requested margin-bottom for checkout form */
.page-template-template-landing form.checkout {
    margin-bottom: 60px !important;
}


/* Restore healthy gaps between boxes in the right column */
.woocommerce-checkout .shop_table tr.cart_item {
    margin-bottom: 20px !important;
}
.woocommerce-checkout .shop_table {
    margin-bottom: 20px !important;
}


/* Increase font size of billing field labels */
.woocommerce-checkout .form-row label {
    font-size: 15px !important;
}


/* Fix bottom notice box (dark red box) styling */
.elementor-element-3de9564 {
    margin-top: 20px !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
}
.elementor-element-3de9564 .elementor-heading-title {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* Restyle Contact Section to match reference */

/* Beige wrapper for icons */
.elementor-element-b5cfb7f {
    background-color: #f6f1ea !important;
    max-width: 550px !important;
    margin: 0 auto !important;
    padding: 25px !important;
    border-radius: 6px !important;
    border: 1px solid #eae2d6 !important;
}

/* Divider line between truck and phone */
.elementor-element-f7b6066 {
    border-bottom: 1px solid #e0d7cb !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}

/* Fix Notice Box (change from Dark Red to Match Phone button #b87431) */
.elementor-element-1ca51ef {
    max-width: 550px !important;
    margin: 20px auto 40px auto !important;
}
.elementor-element-a0c7ede {
    background: #b87431 !important;
    border-radius: 6px !important;
}
.elementor-element-9e9f564 {
    padding: 15px 20px !important;
}
.elementor-element-9e9f564 .elementor-heading-title {
    color: #ffffff !important;
    font-size: 16px !important;
    text-align: center !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}


/* Fix Full-Width Beige Background from Elementor Container */
.elementor-element-d357140, .elementor-element-d8231a3 {
    background: transparent !important;
    background-color: transparent !important;
}

/* Ensure the beige box is perfectly isolated */
.elementor-element-b5cfb7f {
    background-color: #f6f1ea !important;
    max-width: 550px !important;
    margin: 0 auto !important;
    padding: 25px !important;
    border-radius: 6px !important;
    border: 1px solid #eae2d6 !important;
}

/* Fix Notice Box Gradient (kill elementor gradient overlay) */
.elementor-element-a0c7ede,
.elementor-element-a0c7ede::before {
    background-image: none !important;
    background-color: #b87431 !important;
    border-radius: 6px !important;
}
.elementor-element-1ca51ef {
    max-width: 550px !important;
    margin: 20px auto 40px auto !important;
}


/* Override font size for the notice box */
.elementor-element-9e9f564 .elementor-heading-title,
.elementor-heading-title {
    font-size: 20px !important;
    line-height: 1.6 !important;
}
