/*
Theme Name:   Kadence Child
Theme URI:    https://shop.snowandsummar.com
Description:  High-converting, builder-free child theme for Kadence with reusable dynamic funnels.
Author:       Sabbir Iftekhar
Author URI:   https://shop.snowandsummar.com
Template:     kadence
Version:      1.5.2
Text Domain:  kadence-child
*/

/* ==========================================================================
   1. Typography & Global Tokens
   ========================================================================== */
/* Font loaded asynchronously via link preconnect */

:root {
    --ss-primary: #0284c7;
    --ss-primary-hover: #0369a1;
    --ss-secondary: #2563eb;
    --ss-accent-orange: #ea580c;
    --ss-accent-red: #e11d48;
    --ss-accent-green: #047857;
    --ss-text-main: #0f172a;
    --ss-text-muted: #64748b;
    --ss-bg-light: #f8fafc;
    --ss-border: #e2e8f0;
    --ss-border-focus: #0284c7;
    --ss-radius-card: 20px;
    --ss-radius-input: 10px;
    --ss-radius-btn: 50px;
}

html,
body,
.ss-page-wrap,
#wrapper,
.site,
.wp-site-blocks {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ss-page-wrap,
.ss-page-wrap h1,
.ss-page-wrap h2,
.ss-page-wrap h3,
.ss-page-wrap h4,
.ss-page-wrap h5,
.ss-page-wrap h6,
.ss-page-wrap p,
.ss-page-wrap span,
.ss-page-wrap strong,
.ss-page-wrap a,
.ss-page-wrap div,
.ss-page-wrap button,
.ss-page-wrap input,
.ss-page-wrap label,
.woocommerce-checkout {
    font-family: 'Anek Bangla', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.ss-page-wrap {
    color: var(--ss-text-main);
    background-color: #ffffff;
    line-height: 1.6;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ss-page-wrap *,
.ss-page-wrap *::before,
.ss-page-wrap *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   2. Main Container Width (1200px)
   ========================================================================== */
.ss-container,
.ss-checkout-container,
#checkout-section .ss-container,
#order-now-section .ss-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

.ss-checkout-form-wrapper {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   3. Buttons & Global Landing Page Elements
   ========================================================================== */
.ss-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, #ea580c 0%, #2563eb 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 17.5px !important;
    font-weight: 800 !important;
    padding: 14px 38px;
    border-radius: var(--ss-radius-btn);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.ss-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.ss-red-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    padding: 13px 34px;
    border-radius: var(--ss-radius-btn);
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.38);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.ss-red-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.48);
}

.ss-usecase-grid,
.ss-delivery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ss-offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border: 2px solid #38bdf8;
    border-radius: 18px;
    padding: 18px 22px;
    text-decoration: none !important;
    color: var(--ss-text-main);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ss-offer-thumb {
    width: 75px;
    height: 75px;
    min-width: 75px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #bae6fd;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ss-offer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   4. CHECKOUT CONTAINER & HEADER
   ========================================================================== */
#checkout-section,
.ss-checkout-section {
    background: #f1f5f9 !important;
    padding: 32px 10px 22px !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: none !important; /* Seamless merge with footer border */
    position: relative;
    width: 100% !important;
    box-sizing: border-box !important;
}

#checkout-section .ss-container,
.ss-checkout-container,
#checkout-section .ss-container.ss-checkout-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ss-checkout-trust-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto 28px auto !important;
    width: 100% !important;
}

.ss-checkout-trust-header .ss-pill-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #fff1f2;
    color: #e11d48;
    border: 1.5px solid #fecdd3;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 12px auto !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
}

.ss-checkout-trust-header h2 {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 auto 8px auto !important;
    line-height: 1.35 !important;
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    text-align: center !important;
}

.ss-checkout-trust-header p {
    font-size: 15px !important;
    color: #64748b !important;
    margin: 0 auto !important;
    font-weight: 500 !important;
    text-align: center !important;
    display: block !important;
}

/* ==========================================================================
   5. RESET WOOCOMMERCE CORE FLOATS & CLEAN CARD BASE
   ========================================================================== */
.woocommerce-checkout::before,
.woocommerce-checkout::after,
form.checkout::before,
form.checkout::after,
form.ss-2col-checkout::before,
form.ss-2col-checkout::after {
    display: none !important;
    clear: both !important;
    content: none !important;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
form.checkout .col2-set,
form.checkout #order_review_heading,
form.checkout .woocommerce-checkout-review-order,
#order_review.woocommerce-checkout-review-order {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: both !important;
}

/* Card Base for Both Columns */
.ss-checkout-col,
.ss-checkout-col.ss-checkout-left-col,
.ss-checkout-left-col,
.ss-checkout-col.ss-checkout-right-col,
.ss-checkout-right-col {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* --------------------------------------------------------------------------
   DESKTOP ONLY (min-width: 769px): 2-Column Grid (Left: 1.32fr, Right: 1fr)
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
    form.checkout.ss-2col-checkout,
    form.woocommerce-checkout,
    .ss-2col-checkout {
        display: grid !important;
        grid-template-columns: 1.32fr 1fr !important;
        grid-template-areas: "leftForm rightDetails" !important;
        gap: 26px !important;
        align-items: start !important;
        max-width: 1180px !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        float: none !important;
        clear: both !important;
    }

    form.ss-2col-checkout > *:not(.ss-checkout-col) {
        grid-column: 1 / -1 !important;
    }

    /* Left Column: Customer Form (Aktu Boro - 1.32fr / ~57%) */
    .ss-checkout-col.ss-checkout-left-col,
    .ss-checkout-left-col {
        grid-area: leftForm !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        padding: 30px 28px !important;
    }

    /* Right Column: Order Details (Coto Box - 1fr / ~43%) */
    .ss-checkout-col.ss-checkout-right-col,
    .ss-checkout-right-col {
        grid-area: rightDetails !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding: 22px 20px !important;
    }

    .ss-checkout-left-col .ss-col-header h3.ss-card-title {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin: 0 0 20px 0 !important;
        padding-bottom: 12px !important;
        border-bottom: 2px solid #f1f5f9 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .ss-checkout-right-col .ss-col-header h3.ss-card-title {
        font-size: 18.5px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin: 0 0 16px 0 !important;
        padding-bottom: 10px !important;
        border-bottom: 2px solid #f1f5f9 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
}

/* Left Column: Customer Billing Inputs ONLY */
.ss-checkout-left-col .woocommerce-billing-fields__field-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin: 0 !important;
}

.woocommerce-checkout p.form-row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    display: block !important;
}

.woocommerce-checkout p.form-row label {
    display: block !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 7px !important;
    line-height: 1.3 !important;
}

.woocommerce-checkout p.form-row label .required {
    color: var(--ss-accent-red) !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    font-family: inherit !important;
}

.woocommerce-checkout input.input-text::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #94a3b8 !important;
    font-size: 14px !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus {
    border-color: #0284c7 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18) !important;
}

.woocommerce-checkout input.input-text.ss-field-invalid,
.woocommerce-checkout textarea.ss-field-invalid,
.woocommerce-checkout #billing_phone.ss-field-invalid {
    border: 2px solid #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.woocommerce-checkout input.input-text.ss-field-valid,
.woocommerce-checkout textarea.ss-field-valid,
.woocommerce-checkout #billing_phone.ss-field-valid {
    border: 1.5px solid #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12) !important;
}


/* ==========================================================================
   6. Right Column: Mini Product Showcase & Native Calculation Table
   ========================================================================== */
.ss-mini-product-showcase {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 18px !important;
}

.ss-mini-thumb {
    width: 65px !important;
    height: 65px !important;
    min-width: 65px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #cbd5e1 !important;
    flex-shrink: 0 !important;
    background: #ffffff !important;
}

.ss-mini-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.ss-mini-info {
    flex: 1 !important;
}

.ss-mini-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

.ss-mini-price-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.ss-mini-regular {
    text-decoration: line-through !important;
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}

.ss-mini-offer {
    color: #0f172a !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

.ss-mini-discount-badge {
    background: #dcfce7 !important;
    color: #15803d !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

/* Order Calculation Table */
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 0 18px 0 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody {
    display: none !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot {
    display: block !important;
    width: 100% !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th {
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right !important;
}

/* Native Shipping Methods Row */
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals {
    display: block !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th {
    display: block !important;
    width: 100% !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border: none !important;
    padding: 0 0 10px 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Native Shipping Methods: Radio Pill Styles */
.woocommerce-checkout ul#shipping_method {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: 100% !important;
}

.woocommerce-checkout ul#shipping_method li {
    margin: 0 !important;
    padding: 12px 14px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.woocommerce-checkout ul#shipping_method li:hover {
    border-color: #0284c7 !important;
    background: #f0f9ff !important;
}

.woocommerce-checkout ul#shipping_method li:has(input[type="radio"]:checked),
.woocommerce-checkout ul#shipping_method li.active-shipping-pill,
.woocommerce-checkout ul#shipping_method li.active,
.woocommerce-checkout .shipping-radio-card.active,
.woocommerce-checkout .shipping-radio-card:has(input[type="radio"]:checked) {
    border: 2px solid #0284c7 !important;
    background: #f0f9ff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12) !important;
}

.woocommerce-checkout ul#shipping_method li input[type="radio"] {
    accent-color: #0284c7 !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 10px 0 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.woocommerce-checkout ul#shipping_method li label {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    width: 100% !important;
}

.woocommerce-checkout ul#shipping_method li label .woocommerce-Price-amount {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0284c7 !important;
    background: #e0f2fe !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-block !important;
}

/* Grand Total Row with Prominent Red Price */
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fff1f2 !important;
    border-top: 1.5px solid #fecdd3 !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td strong,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td span.woocommerce-Price-amount {
    font-size: 24px !important;
    color: #e11d48 !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* Payment Method Box: Cash on Delivery Match Screenshot Exactly */
.woocommerce-checkout #payment,
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods,
#payment ul.wc_payment_methods {
    list-style: none !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_cod,
#payment ul.wc_payment_methods li.wc_payment_method {
    background: #f0fdf4 !important;
    border: 1.5px solid #a7f3d0 !important;
    border-radius: 12px !important;
    padding: 12px 14px 12px 44px !important;
    position: relative !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover,
.woocommerce-checkout #payment ul.payment_methods li.payment_method_cod:hover,
#payment ul.wc_payment_methods li.wc_payment_method:hover {
    border-color: #6ee7b7 !important;
    background: #ecfdf5 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08) !important;
}

/* Custom Green Radio Button matching screenshot - unclips Kadence's 1px clip */
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"],
#payment ul.wc_payment_methods li.wc_payment_method > input[type="radio"] {
    clip: auto !important;
    clip-path: none !important;
    position: absolute !important;
    left: 14px !important;
    top: 14px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #059669 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 3 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]::before,
#payment ul.wc_payment_methods li.wc_payment_method > input[type="radio"]::before {
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #047857 !important;
    display: block !important;
    transform: scale(1) !important;
    transition: 120ms transform ease-in-out !important;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:not(:checked)::before,
#payment ul.wc_payment_methods li.wc_payment_method > input[type="radio"]:not(:checked)::before {
    transform: scale(0) !important;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked,
#payment ul.wc_payment_methods li.wc_payment_method > input[type="radio"]:checked {
    border-color: #047857 !important;
}

/* Remove Grey Background & Extra Padding from Label */
.woocommerce-checkout #payment ul.payment_methods li label,
#payment ul.wc_payment_methods li.wc_payment_method > label,
#payment ul.wc_payment_methods li.wc_payment_method input[type="radio"] + label,
#payment ul.wc_payment_methods li.wc_payment_method input[type="radio"]:checked + label {
    display: block !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-left: none !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #065f46 !important;
    cursor: pointer !important;
    line-height: 1.35 !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    box-shadow: none !important;
}

#payment ul.wc_payment_methods li.wc_payment_method > label::before,
#payment ul.wc_payment_methods li.wc_payment_method input[type="radio"] + label::before {
    display: none !important;
}

.woocommerce-checkout #payment div.payment_box,
#payment div.payment_box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 2px 0 0 0 !important;
    box-shadow: none !important;
}

.woocommerce-checkout #payment div.payment_box p,
#payment div.payment_box p {
    font-size: 13px !important;
    color: #047857 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

.woocommerce-checkout #payment div.payment_box::before,
#payment div.payment_box::before {
    display: none !important;
}

/* Tighten Space Above Place Order Button */
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper,
#payment .woocommerce-terms-and-conditions-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper:empty,
#payment .woocommerce-terms-and-conditions-wrapper:empty {
    display: none !important;
}

.woocommerce-checkout #payment .form-row.place-order,
#payment .form-row.place-order {
    margin: 0 !important;
    padding: 0 !important;
}
/* Submit Button ("PLACE ORDER") with Animated Rotating Border */
@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes rotate-border {
    to {
        --border-angle: 360deg;
    }
}

/* ========================================================
   PLACE ORDER BUTTON: GRADIENT BORDER + BOUNCING ANIMATION
======================================================== */

/* Bouncing / Jumping Keyframe Animation */
@keyframes placeOrderBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 16px 36px rgba(147, 51, 234, 0.55) !important;
    }
    60% {
        transform: translateY(-4px) scale(1.01);
    }
}

/* Moving Gradient Border Keyframe Animation */
@keyframes flowGradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Button Base with 12px Radius */
#place_order,
button#place_order,
.woocommerce-checkout button#place_order,
.order-btn {
    position: relative !important;
    z-index: 1 !important;
    border-radius: 12px !important;
    background: #F97316 !important;
    background-color: #F97316 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border: none !important;
    cursor: pointer !important;
    padding: 14px 24px !important;
    min-height: 52px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    outline: none !important;
    margin: 4px 0 0 0 !important;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35) !important;
    animation: none !important;
}

.ss-mobile-floating-submit-btn,
.ss-floating-action-btn {
    position: relative !important;
    z-index: 1 !important;
    border-radius: 12px !important;
    background: #6D28D9 !important;
    background-color: #6D28D9 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border: none !important;
    cursor: pointer !important;
    padding: 14px 20px !important;
    min-height: 52px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    outline: none !important;
    margin: 4px 0 0 0 !important;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45) !important;
    animation: none !important;
}

/* Pseudo Element Disabled - No Gradient Border */
#place_order::before,
button#place_order::before,
.woocommerce-checkout button#place_order::before,
.ss-mobile-floating-submit-btn::before,
.ss-floating-action-btn::before,
.order-btn::before {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
    animation: none !important;
}

/* Button Hover State */
#place_order:hover,
button#place_order:hover,
.woocommerce-checkout button#place_order:hover,
.ss-mobile-floating-submit-btn:hover,
.ss-floating-action-btn:hover,
.order-btn:hover {
    filter: brightness(1.1);
}

/* Trust Badges below Button */
.ss-checkout-trust-badges {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px dashed #e2e8f0 !important;
}

.ss-trust-badge-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    flex: 1 !important;
    justify-content: center !important;
}

.ss-tb-icon {
    font-size: 14px !important;
}

/* Hide unwanted distractions */
.woocommerce-form-coupon-toggle,
form.checkout_coupon,
.woocommerce-additional-fields,
#ship-to-different-address,
.woocommerce-shipping-fields,
.woocommerce-privacy-policy-text {
    display: none !important;
}

/* ==========================================================================
   7. Hardware-Accelerated 60FPS Smooth Large Gallery Slider
   ========================================================================== */
.ss-gallery-section {
    padding: 45px 0 40px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Outer Showcase Wrapper */
.ss-large-slider-wrapper {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    border-radius: 22px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Crucial for smooth transform slide */
}

/* Inner Viewport */
.ss-slider-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    position: relative;
    touch-action: pan-y;
}

/* GPU Hardware-Accelerated Transform Track */
.ss-large-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1); /* Silky smooth easing curve */
    will-change: transform;
}

/* Individual Slides (1 Full Image per view) */
.ss-large-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-large-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Indicator Dots */
.ss-slider-dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
}
.ss-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.ss-dot.active {
    width: 26px;
    border-radius: 12px;
    background: #0284c7;
}

@media (max-width: 640px) {
    .ss-large-slider-wrapper {
        border-radius: 18px;
        max-width: 100%;
    }
}

/* ==========================================================================
   8. Responsive Breakpoint (<= 768px Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    /* Reset Kadence theme wrappers that inject outer padding */
    .page-template-page-camera-funnel #inner-wrap,
    .page-template-page-camera-funnel .site-container,
    .page-template-page-camera-funnel .entry-content,
    .page-template-page-camera-funnel .content-container {
        padding: 0 !important;
        margin: 0 !important;
    }

    #checkout-section,
    .ss-checkout-section {
        padding: 20px 12px 85px !important; /* 85px bottom space clears the floating CTA bar */
        overflow-x: hidden !important;
    }

    /* Container: Symmetrical mobile padding for checkout form */
    #checkout-section .ss-container,
    .ss-checkout-container,
    #checkout-section .ss-container.ss-checkout-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ss-checkout-form-wrapper {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile: Strictly 1-Column Full-Width Vertical Stack */
    form.checkout.ss-2col-checkout,
    form.woocommerce-checkout,
    .ss-2col-checkout,
    form.checkout {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        grid-template-areas: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 16px !important;
        float: none !important;
        clear: both !important;
    }

    /* Mobile: Full-width stacked cards */
    .ss-checkout-col,
    .ss-checkout-col.ss-checkout-left-col,
    .ss-checkout-left-col,
    .ss-checkout-col.ss-checkout-right-col,
    .ss-checkout-right-col {
        display: block !important;
        grid-area: auto !important;
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 14px !important;
        border-radius: 16px !important;
        margin-bottom: 0 !important;
        float: none !important;
    }

    /* Order on Mobile: Customer Form on Top, Order Details Below */
    .ss-checkout-col.ss-checkout-left-col,
    .ss-checkout-left-col {
        order: 1 !important;
    }

    .ss-checkout-col.ss-checkout-right-col,
    .ss-checkout-right-col {
        order: 2 !important;
    }

    .ss-checkout-col .ss-col-header h3.ss-card-title,
    .ss-checkout-left-col .ss-col-header h3.ss-card-title,
    .ss-checkout-right-col .ss-col-header h3.ss-card-title {
        font-size: 17.5px !important;
        margin: 0 0 12px 0 !important;
        padding-bottom: 8px !important;
    }

    .ss-checkout-trust-header {
        margin-bottom: 16px !important;
    }

    .ss-checkout-trust-header h2 {
        font-size: 21px !important;
    }

    .ss-checkout-trust-header p {
        font-size: 13px !important;
    }

    /* Input Fields Padding */
    .ss-checkout-left-col .woocommerce-billing-fields__field-wrapper {
        gap: 12px !important;
    }

    .woocommerce-checkout p.form-row label {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }

    .woocommerce-checkout input.input-text,
    .woocommerce-checkout textarea {
        height: 48px !important;
        min-height: 48px !important;
        font-size: 14.5px !important;
        border-radius: 8px !important;
    }

    /* Mini Product Showcase */
    .ss-mini-product-showcase {
        padding: 10px 10px !important;
        gap: 10px !important;
        border-radius: 10px !important;
        margin-bottom: 12px !important;
    }

    .ss-mini-thumb {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        border-radius: 8px !important;
    }

    .ss-mini-title {
        font-size: 13.5px !important;
        margin-bottom: 4px !important;
    }

    .ss-mini-price-row {
        gap: 6px !important;
    }

    .ss-mini-regular {
        font-size: 12px !important;
    }

    .ss-mini-offer {
        font-size: 15px !important;
    }

    .ss-mini-discount-badge {
        font-size: 10.5px !important;
        padding: 1px 6px !important;
    }

    /* Order Calculation Table */
    .woocommerce-checkout table.woocommerce-checkout-review-order-table {
        margin: 0 0 12px 0 !important;
        border-radius: 12px !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal {
        padding: 10px 12px !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th {
        font-size: 13.5px !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
        font-size: 14px !important;
    }

    /* Shipping Totals Row & Pills */
    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals {
        padding: 10px 12px !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th {
        font-size: 13.5px !important;
        padding: 0 0 8px 0 !important;
    }

    .woocommerce-checkout ul#shipping_method {
        gap: 8px !important;
    }

    .woocommerce-checkout ul#shipping_method li {
        padding: 9px 10px !important;
        border-radius: 10px !important;
    }

    .woocommerce-checkout ul#shipping_method li input[type="radio"] {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        margin: 0 8px 0 0 !important;
    }

    .woocommerce-checkout ul#shipping_method li label {
        font-size: 13px !important;
        gap: 6px !important;
    }

    .woocommerce-checkout ul#shipping_method li label .woocommerce-Price-amount {
        font-size: 12px !important;
        padding: 2px 6px !important;
    }

    /* Grand Total Row */
    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total {
        padding: 11px 12px !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th {
        font-size: 15px !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td strong,
    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td span.woocommerce-Price-amount {
        font-size: 20px !important;
    }

    /* Payment Method Box */
    .woocommerce-checkout #payment,
    #payment {
        margin: 0 0 6px 0 !important;
    }

    .woocommerce-checkout #payment ul.payment_methods,
    #payment ul.wc_payment_methods {
        margin: 0 0 6px 0 !important;
    }

    .woocommerce-checkout #payment ul.payment_methods li.wc_payment_method,
    #payment ul.wc_payment_methods li.wc_payment_method {
        padding: 10px 12px 10px 42px !important;
        border-radius: 10px !important;
    }

    .woocommerce-checkout #payment ul.payment_methods li input[type="radio"],
    #payment ul.wc_payment_methods li.wc_payment_method > input[type="radio"] {
        left: 12px !important;
        top: 12px !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
    }

    .woocommerce-checkout #payment ul.payment_methods li label,
    #payment ul.wc_payment_methods li.wc_payment_method > label {
        font-size: 14px !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 0 2px 0 !important;
    }

    .woocommerce-checkout #payment div.payment_box p,
    #payment div.payment_box p {
        font-size: 12px !important;
    }

    /* Place Order Button */
    .woocommerce-checkout button#place_order,
    button#place_order,
    .order-btn {
        font-size: 16px !important;
        padding: 12px 16px !important;
        min-height: 48px !important;
        height: 48px !important;
        margin: 6px 0 0 0 !important;
    }

    .ss-checkout-trust-badges {
        flex-direction: column !important;
        gap: 6px !important;
        align-items: center !important;
        margin-top: 12px !important;
        padding-top: 10px !important;
    }

    .ss-trust-badge-item {
        font-size: 11.5px !important;
    }

    .ss-usecase-grid,
    .ss-delivery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .ss-offer-card {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 14px;
    }

    /* Mobile Gallery */
    .ss-gallery-section {
        padding: 32px 0 28px;
    }
}

@media (max-width: 480px) {
    /* Checkout Form Section: Symmetrical mobile padding with bottom clearance */
    #checkout-section,
    .ss-checkout-section {
        padding: 24px 16px 85px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    #checkout-section .ss-container,
    .ss-checkout-container,
    #checkout-section .ss-container.ss-checkout-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ss-checkout-col,
    .ss-checkout-col.ss-checkout-left-col,
    .ss-checkout-left-col,
    .ss-checkout-col.ss-checkout-right-col,
    .ss-checkout-right-col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px 12px !important;
        border-radius: 14px !important;
        margin-bottom: 0 !important;
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal,
    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
    .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total {
        padding: 8px 8px !important;
    }

    .woocommerce-checkout ul#shipping_method li {
        padding: 8px 8px !important;
    }

    .woocommerce-checkout ul#shipping_method li label {
        font-size: 12px !important;
    }
}
/* ==========================================================================
   9. Inline SVG Vector Icons & Icon Badges (Feather / Lucide Style)
   ========================================================================== */
.ss-svg-icon {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ss-btn-svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ss-feature-icon-badge,
.ss-usecase-icon-badge,
.ss-delivery-icon-badge {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.ss-feature-icon-badge {
    background: #e0f2fe;
}

.ss-usecase-icon-badge {
    background: #e0f2fe;
    margin: 0 auto 10px;
}

.ss-delivery-icon-badge {
    background: #ecfdf5;
    margin: 0 auto 10px;
}

.ss-trust-badge-item .ss-tb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

.ss-trust-badge-item .ss-tb-icon .ss-svg-icon {
    width: 18px;
    height: 18px;
}

/* Hide any rogue default WooCommerce 'Billing details' headers */
.woocommerce-billing-fields > h3,
.woocommerce-checkout h3#billing_fields_heading,
.woocommerce-checkout .woocommerce-billing-fields > h3 {
    display: none !important;
}

/* ==========================================================================
   10. Professional Left-Side SVG Input Icons & Textarea Styling
   ========================================================================== */
.woocommerce-checkout .woocommerce-input-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.woocommerce-checkout .ss-input-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    stroke: #64748b !important;
    pointer-events: none !important;
    z-index: 2 !important;
    transition: stroke 0.25s ease, transform 0.2s ease !important;
}

.woocommerce-checkout .ss-input-icon.ss-input-icon-textarea,
.woocommerce-checkout #billing_address_1_field .ss-input-icon {
    top: 16px !important;
    left: 14px !important;
    transform: none !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea.input-text,
.woocommerce-checkout textarea {
    width: 100% !important;
    padding-left: 44px !important;
    padding-right: 16px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    font-family: inherit !important;
}

.woocommerce-checkout input.input-text {
    height: 48px !important;
    min-height: 48px !important;
}

.woocommerce-checkout textarea.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout #billing_address_1 {
    min-height: 85px !important;
    height: 85px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    line-height: 1.5 !important;
    resize: vertical !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea.input-text:focus,
.woocommerce-checkout textarea:focus {
    border-color: #0284c7 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18) !important;
}

.woocommerce-checkout .woocommerce-input-wrapper:focus-within .ss-input-icon,
.woocommerce-checkout .woocommerce-input-wrapper:has(input:focus) .ss-input-icon,
.woocommerce-checkout .woocommerce-input-wrapper:has(textarea:focus) .ss-input-icon,
.woocommerce-checkout .form-row:focus-within .ss-input-icon {
    stroke: #0284c7 !important;
}

/* AJAX Processing Visual Feedback */
#order_review.processing,
.woocommerce-checkout-review-order.processing {
    opacity: 0.6 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease !important;
}

/* ==========================================================================
   11. Distraction-Free Sales Funnel: Hide Theme Header & Footer
   ========================================================================== */
.page-template-page-camera-funnel header#masthead,
.page-template-page-camera-funnel .site-header,
.page-template-page-camera-funnel footer#colophon,
.page-template-page-camera-funnel .site-footer,
.page-template-page-camera-funnel #masthead,
.page-template-page-camera-funnel #colophon {
    display: none !important;
}

/* ==========================================================================
   12. Real-Time Bangladeshi Phone Validation Visual States
   ========================================================================== */
.woocommerce-checkout input#billing_phone.ss-field-valid {
    border-color: #22c55e !important;
    background: #f0fdf4 !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
}

.woocommerce-checkout input#billing_phone.ss-field-invalid {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.woocommerce-checkout .woocommerce-input-wrapper:has(#billing_phone.ss-field-valid) .ss-input-icon {
    stroke: #22c55e !important;
}

.woocommerce-checkout .woocommerce-input-wrapper:has(#billing_phone.ss-field-invalid) .ss-input-icon {
    stroke: #ef4444 !important;
}

.ss-field-error-text {
    color: #ef4444 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
    display: none;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1.4 !important;
}

.ss-field-error-text.is-visible {
    display: flex !important;
}

.ss-field-error-text:empty {
    display: none !important;
}

/* ==========================================================================
   13. Spinner & Disabled Button Styles for Checkout Submission
   ========================================================================== */
@keyframes ssSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.woocommerce-checkout #place_order:disabled {
    opacity: 0.8 !important;
    cursor: not-allowed !important;
    filter: grayscale(0.2) !important;
}

/* ==========================================================================
   14. Zero-API Bangladesh Location Autocomplete Dropdown
   ========================================================================== */
.woocommerce-checkout .woocommerce-input-wrapper {
    position: relative !important;
}

.bd-address-dropdown,
.bd-autocomplete-dropdown {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
    position: absolute !important;
    width: 100% !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 4px !important;
    padding: 4px 0 !important;
    box-sizing: border-box !important;
}

.bd-address-item,
.bd-autocomplete-item {
    padding: 10px 14px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #1e293b !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    font-family: 'Anek Bangla', sans-serif !important;
    box-sizing: border-box !important;
    line-height: 1.35 !important;
    user-select: none !important;
}

.bd-address-item:last-child,
.bd-autocomplete-item:last-child {
    border-bottom: none !important;
}

.bd-address-item:hover,
.bd-address-item.active,
.bd-autocomplete-item:hover,
.bd-autocomplete-item.active {
    background-color: #f0f9ff !important;
    color: #0284c7 !important;
}

.bd-address-item-left,
.bd-autocomplete-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.bd-address-item .bd-item-icon,
.bd-autocomplete-item .bd-pin-icon {
    width: 16px !important;
    height: 16px !important;
    stroke: #0284c7 !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    transition: stroke 0.15s ease !important;
}

.bd-address-item:hover .bd-item-icon,
.bd-address-item.active .bd-item-icon,
.bd-autocomplete-item:hover .bd-pin-icon,
.bd-autocomplete-item.active .bd-pin-icon {
    stroke: #0284c7 !important;
}

.bd-address-item .bd-loc-text,
.bd-autocomplete-item .bd-loc-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: normal !important;
    line-height: 1.35 !important;
}

.bd-autocomplete-item .bd-zone-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
}

.bd-autocomplete-item .bd-zone-dhaka {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.bd-autocomplete-item .bd-zone-outside {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

/* Custom sleek scrollbar for dropdown */
.bd-address-dropdown::-webkit-scrollbar,
.bd-autocomplete-dropdown::-webkit-scrollbar {
    width: 6px !important;
}
.bd-address-dropdown::-webkit-scrollbar-track,
.bd-autocomplete-dropdown::-webkit-scrollbar-track {
    background: #f8fafc !important;
    border-radius: 10px !important;
}
.bd-address-dropdown::-webkit-scrollbar-thumb,
.bd-autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 10px !important;
}
.bd-address-dropdown::-webkit-scrollbar-thumb:hover,
.bd-autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}


/* Professional Video Device Frame */
.ss-video-device-frame {
    max-width: 680px;
    margin: 0 auto;
    background: #0f172a; /* Sleek dark frame */
    padding: 8px;
    border-radius: 24px;
    border: 3px solid #38bdf8; /* Vibrant Sky-blue accent border */
    box-shadow: 0 16px 40px rgba(2, 132, 199, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ss-video-device-frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(2, 132, 199, 0.3);
}

.ss-video-inner-bezel {
    border-radius: 18px;
    overflow: hidden;
    background: #000000;
    position: relative;
}

.ss-live-video {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
    object-fit: contain;
    border-radius: 16px;
}

/* Mobile specific frame tweak */
@media (max-width: 640px) {
    .ss-video-device-frame {
        padding: 6px;
        border-radius: 20px;
        border-width: 2.5px;
    }
    .ss-video-inner-bezel {
        border-radius: 15px;
    }
}

/* ==========================================================================
   15. Smart Floating "Order Now" Button & Dancing Animation
   ========================================================================== */
/* Floating CTA Bar */
.ss-floating-cta-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 99998;
    width: 90%;
    max-width: 440px;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
    opacity: 0;
    pointer-events: none;
}

.ss-floating-cta-bar.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Note: Floating Action Button and Place Order button animation, gradient, and 8px border-radius are styled unified above */

/* ==========================================================================
   16. Fix Input Icon Positioning on Mobile (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
    /* Field wrappers */
    #billing_first_name_field,
    #billing_phone_field,
    #billing_address_1_field {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    #billing_first_name_field .woocommerce-input-wrapper,
    #billing_phone_field .woocommerce-input-wrapper,
    #billing_address_1_field .woocommerce-input-wrapper {
        position: relative !important;
        display: block !important;
        width: 100% !important;
    }

    /* Left SVG Icons */
    #billing_first_name_field .ss-input-icon,
    #billing_phone_field .ss-input-icon,
    #billing_address_1_field .ss-input-icon,
    .woocommerce-checkout .ss-input-icon {
        position: absolute !important;
        left: 12px !important;
        width: 18px !important;
        height: 18px !important;
        pointer-events: none !important;
        z-index: 4 !important;
    }

    /* For Name & Phone: vertically centered */
    #billing_first_name_field .ss-input-icon,
    #billing_phone_field .ss-input-icon {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* For Address Textarea */
    #billing_address_1_field .ss-input-icon,
    .woocommerce-checkout .ss-input-icon.ss-input-icon-textarea {
        top: 14px !important;
        transform: none !important;
    }

    /* Input Fields & Textarea: comfortable left padding */
    #billing_first_name,
    #billing_phone,
    .woocommerce-checkout input.input-text {
        padding-left: 40px !important;
        padding-right: 12px !important;
        font-size: 14.5px !important;
        height: 46px !important;
        min-height: 46px !important;
        box-sizing: border-box !important;
    }

    #billing_address_1,
    .woocommerce-checkout textarea.input-text,
    .woocommerce-checkout textarea {
        padding-left: 40px !important;
        padding-right: 12px !important;
        padding-top: 10px !important;
        font-size: 14.5px !important;
        min-height: 85px !important;
        box-sizing: border-box !important;
    }

    /* Market Compare Box Mobile adjustments */
    .ss-market-compare-box {
        padding: 14px 12px !important;
        margin-bottom: 20px !important;
        border-radius: 14px !important;
    }

    .ss-floating-cta-bar {
        bottom: 14px;
        width: 92%;
    }

    .ss-floating-action-btn {
        font-size: 15px;
        padding: 12px 18px;
    }
}

/* ==========================================================================
   17. Vibrant & Colorful Section Titles & Typography
   ========================================================================== */

/* Hero Main Title */
.ss-main-heading {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 0 auto 20px auto !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
}

.ss-main-heading .ss-title-blue {
    color: #0284c7 !important;
}

.ss-main-heading .ss-title-coral {
    color: #ea580c !important;
}

.ss-main-heading .ss-title-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #ea580c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800 !important;
}

/* Base Section Title */
.ss-sec-title {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    line-height: 1.35 !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.01em !important;
}

/* Video Section Title - Vibrant Blue Gradient */
.ss-video-section .ss-sec-title,
.ss-video-title,
h2.ss-video-title {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 8px auto 8px auto !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    line-height: 1.35 !important;
}

/* Features Section Title - Rich Blue Accent */
.ss-features-section .ss-sec-title,
.ss-features-title,
h2.ss-features-title {
    color: #0284c7 !important;
    font-weight: 800 !important;
    font-size: 26px !important;
}

/* Delivery Section Title - Fresh Emerald Green */
.ss-delivery-section .ss-sec-title,
.ss-delivery-section h2,
.ss-delivery-title,
h2.ss-delivery-title {
    color: #047857 !important;
    font-weight: 800 !important;
    font-size: 27px !important;
}

/* Checkout Main Title - Deep Navy with Gradient Accent */
.ss-checkout-trust-header h2,
.ss-checkout-title,
h2.ss-checkout-title {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto 8px auto !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    line-height: 1.35 !important;
}

/* Daraz Comparison & Urgency Box */
.ss-market-compare-box {
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
    border: 2.5px dashed #f97316;
    border-radius: 20px;
    padding: 24px 28px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.ss-market-compare-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.18);
}

/* Responsive adjustments for Section Titles */
@media (max-width: 768px) {
    .ss-main-heading {
        font-size: 24px !important;
        line-height: 1.35 !important;
        margin-bottom: 14px !important;
    }

    .ss-sec-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }

    .ss-video-section .ss-sec-title,
    .ss-video-title,
    h2.ss-video-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }

    .ss-features-section .ss-sec-title,
    .ss-features-title,
    h2.ss-features-title {
        font-size: 22px !important;
    }

    .ss-delivery-section .ss-sec-title,
    .ss-delivery-section h2,
    .ss-delivery-title,
    h2.ss-delivery-title {
        font-size: 22px !important;
    }

    .ss-checkout-trust-header {
        margin-bottom: 20px !important;
    }

    .ss-checkout-trust-header .ss-pill-badge {
        margin: 0 auto 10px auto !important;
        font-size: 13px !important;
        padding: 5px 16px !important;
    }

    .ss-checkout-trust-header h2,
    .ss-checkout-title,
    h2.ss-checkout-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
        margin: 0 auto 6px auto !important;
    }
}

/* ========================================================
   DIGITAL RECEIPT & THANK YOU PAGE STYLING (REDESIGNED)
======================================================== */

/* Remove Header, Footer & Entry Hero on Thank You / Order Received Page */
body.woocommerce-order-received #masthead,
body.woocommerce-order-received .site-header,
body.woocommerce-order-received #colophon,
body.woocommerce-order-received .site-footer,
body.woocommerce-order-received .entry-hero,
body.woocommerce-order-received .entry-header,
body.woocommerce-order-received .site-top-header-wrap,
body.woocommerce-order-received .site-main-header-wrap,
body.woocommerce-order-received .site-bottom-header-wrap,
body.woocommerce-order-received .site-bottom-footer-wrap,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-thankyou-order-details {
    display: none !important;
}

body.woocommerce-order-received .content-area {
    margin-top: 24px !important;
    margin-bottom: 50px !important;
}
body.woocommerce-order-received .entry-content-wrap {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.woocommerce-order-received article.entry {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Receipt Page Wrapper */
.ss-receipt-page-wrapper {
    max-width: 540px;
    margin: 10px auto 40px auto;
    padding: 0 16px;
    font-family: 'Anek Bangla', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

/* Receipt Card Logo */
.receipt-card-logo {
    max-height: 44px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* Centered Brand Logo */
.receipt-brand-logo {
    max-height: 48px;
    width: auto;
    margin: 0 auto 16px auto;
    display: block;
    object-fit: contain;
}

/* Animated Checkmark Circle */
.ss-success-checkmark-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}
.ss-checkmark-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    animation: checkmarkPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ss-checkmark-circle svg {
    width: 32px;
    height: 32px;
}
@keyframes checkmarkPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* Center-Aligned Order Success Card */
.ss-order-success-card {
    text-align: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 18px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.success-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.success-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 12px 0;
}
.duplicate-warning-pill {
    display: inline-block;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
}

/* Printable Receipt Card (Digital Voucher) */
.ss-receipt-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.receipt-hero-amount {
    text-align: center;
}
.receipt-hero-amount .amount-number {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-top: 4px;
}
.receipt-hero-amount .amount-date {
    font-size: 13.5px;
    color: #64748b;
    margin-top: 6px;
    font-weight: 600;
}

/* Center-Aligned Voucher Header */
.receipt-header-centered {
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1.5px solid #f1f5f9;
    margin-bottom: 18px;
}
.receipt-status-pill {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}
.receipt-header-centered .amount-number {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-top: 4px;
}
.receipt-header-centered .amount-date {
    font-size: 13.5px;
    color: #64748b;
    margin-top: 6px;
    font-weight: 600;
}

/* Section Boxes */
.receipt-section-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}
.receipt-section-title {
    font-size: 14px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}
.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    padding: 6px 0;
}
.receipt-row .label { 
    color: #64748b; 
}
.receipt-row .value { 
    color: #0f172a; 
    font-weight: 600; 
}
.receipt-row .badge-processing {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
}

/* Watermark */
.receipt-watermark {
    text-align: center;
    padding-top: 14px;
    border-top: 1px dashed #cbd5e1;
    font-size: 12px;
    color: #94a3b8;
}
.receipt-watermark p { 
    margin: 0 0 2px 0; 
    font-weight: 600; 
}

/* Download / Print Button */
.receipt-action-buttons {
    text-align: center;
    margin-top: 22px;
}
.btn-download-receipt {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-download-receipt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
    color: #ffffff;
}

/* Stray instruction styling */
.woocommerce-order > p:not(.woocommerce-notice),
.woocommerce > p {
    text-align: center;
    font-size: 13.5px;
    color: #64748b;
    margin: 14px auto 0 auto;
    max-width: 540px;
    font-weight: 500;
}

/* ========================================================
   CLEAN PRINT-TO-PDF STYLING (HIDES EVERYTHING ELSE ON PRINT)
======================================================== */
@media print {
    body * {
        visibility: hidden !important;
    }
    #printableReceiptCard, #printableReceiptCard * {
        visibility: visible !important;
    }
    .receipt-card-logo {
        max-height: 50px !important;
        visibility: visible !important;
        display: block !important;
        margin: 0 auto 15px auto !important;
    }
    #printableReceiptCard {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .receipt-brand-logo,
    .ss-success-checkmark-wrapper,
    .ss-order-success-card,
    .receipt-action-buttons,
    #pro-confetti,
    #masthead,
    .site-header,
    #colophon,
    .site-footer,
    .entry-hero,
    .entry-header {
        display: none !important;
    }
}


/* ========================================================
   THANK YOU / ORDER RECEIVED PAGE: STRICT 10PX MOBILE PADDING
======================================================== */
@media (max-width: 768px) {
    /* Remove extra padding and margins from Kadence theme outer wrappers */
    body.woocommerce-order-received #inner-wrap,
    body.woocommerce-order-received .site-container,
    body.woocommerce-order-received .content-container,
    body.woocommerce-order-received .content-area,
    body.woocommerce-order-received .entry-content,
    body.woocommerce-order-received .entry-content-wrap,
    body.woocommerce-order-received article.entry,
    body.woocommerce-order-received .site-main,
    body.woocommerce-order-received .content-wrap,
    body.woocommerce-order-received .woocommerce {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-order-received .content-area {
        margin-top: 8px !important;
        margin-bottom: 24px !important;
    }

    /* Exact 10px Side Padding on Mobile */
    .ss-receipt-page-wrapper {
        padding: 0 10px !important;
        margin: 6px auto 30px auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Streamlined Card Padding on Mobile */
    .ss-order-success-card {
        padding: 16px 12px !important;
        margin-bottom: 14px !important;
        border-radius: 14px !important;
    }

    .success-title {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }

    .success-desc {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }

    .duplicate-warning-pill {
        font-size: 11.5px !important;
        padding: 5px 10px !important;
        line-height: 1.35 !important;
    }

    /* Receipt Card Mobile Padding */
    .ss-receipt-card {
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }

    .receipt-inner-logo-wrapper {
        margin-bottom: 8px !important;
        padding-bottom: 4px !important;
    }

    .receipt-card-logo {
        max-height: 38px !important;
    }

    .receipt-hero-amount {
        margin-bottom: 14px !important;
        padding-bottom: 14px !important;
    }

    .receipt-hero-amount .amount-number {
        font-size: 28px !important;
    }

    .receipt-hero-amount .amount-date {
        font-size: 12.5px !important;
    }

    /* Section Boxes on Mobile */
    .receipt-section-box {
        padding: 12px 10px !important;
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }

    .receipt-section-title {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        padding-bottom: 5px !important;
    }

    .receipt-row {
        font-size: 12.5px !important;
        padding: 5px 0 !important;
    }

    .receipt-action-buttons {
        margin-top: 16px !important;
    }

    .btn-download-receipt {
        font-size: 14.5px !important;
        padding: 12px 16px !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 480px) {
    /* Strict 10px Side Padding on Small Mobile Screens */
    .ss-receipt-page-wrapper {
        padding: 0 10px !important;
        margin: 4px auto 20px auto !important;
    }

    .ss-receipt-card {
        padding: 14px 10px !important;
        border-radius: 14px !important;
    }

    .ss-order-success-card {
        padding: 14px 10px !important;
        border-radius: 12px !important;
    }

    .receipt-section-box {
        padding: 10px 8px !important;
        margin-bottom: 10px !important;
    }

    .receipt-row {
        font-size: 12px !important;
    }

    .receipt-row .value {
        font-size: 12px !important;
    }

    .receipt-hero-amount .amount-number {
        font-size: 26px !important;
    }
}

/* ========================================================
   MODERN CLEAN LIGHT THEME FOOTER (FOR DARK LOGOS)
======================================================== */
.ss-global-branded-footer {
    background: #f8fafc !important; /* Elegant clean light background */
    color: #475569 !important;
    padding: 24px 16px 20px 16px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-family: 'Anek Bangla', -apple-system, sans-serif !important;
    margin-top: 0 !important; /* Seamless connection - no white blank gap */
    box-sizing: border-box !important;
    width: 100% !important;
    clear: both !important;
}

.footer-logo-container {
    margin-bottom: 12px;
}

/* Dark Logo on Light Background */
.footer-brand-logo {
    max-height: 48px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
    filter: none !important; /* Clean crisp natural logo colors */
    transition: transform 0.25s ease;
}

.footer-brand-logo:hover {
    transform: scale(1.04);
}

/* Light Theme Hotline Button */
.footer-hotline-box {
    margin-bottom: 14px;
}

.footer-hotline-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    background: #ffffff !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.25s ease !important;
}

.footer-hotline-btn:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25) !important;
}

.footer-phone-icon {
    width: 17px;
    height: 17px;
    stroke: #0284c7 !important;
    transition: stroke 0.2s ease;
}

.footer-hotline-btn:hover .footer-phone-icon {
    stroke: #ffffff !important;
}

.footer-support-hours {
    font-size: 13px !important;
    color: #64748b !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Light Copyright Divider */
.footer-copyright-row {
    padding-top: 12px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 13.5px !important;
    color: #64748b !important;
}

.footer-copyright-row strong {
    color: #0f172a !important;
}

/* Responsive Footer for Mobile */
@media (max-width: 768px) {
    .ss-global-branded-footer {
        padding: 20px 12px 18px 12px !important;
        margin-top: 0 !important;
    }
    .footer-brand-logo {
        max-height: 40px !important;
    }
    .footer-hotline-btn {
        font-size: 14px !important;
        padding: 9px 18px !important;
    }
    .footer-support-hours {
        font-size: 12px !important;
    }
    .footer-copyright-row {
        font-size: 12.5px !important;
    }
}

/* Hide on Print */
@media print {
    .ss-global-branded-footer {
        display: none !important;
    }
}

/* ==========================================================================
   Floating Sticky "PLACE ORDER" Button during Checkout
   ========================================================================== */
/* Desktop: Strictly Hide Floating Bar (Only Active on Mobile <= 768px) */
@media (min-width: 769px) {
    #ss-floating-place-order-bar,
    .ss-floating-place-order-bar {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

.ss-floating-place-order-bar {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 99999;
    width: calc(100% - 24px);
    max-width: 440px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
}

.ss-floating-place-order-bar.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ss-floating-place-order-btn {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    border-radius: 12px !important;
    background: #6D28D9 !important;
    background-color: #6D28D9 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    cursor: pointer !important;
    padding: 14px 20px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    outline: none !important;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45) !important;
    animation: none !important;
}

.ss-floating-place-order-btn::before {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
    animation: none !important;
}

.ss-floating-place-order-btn:hover {
    background: #5B21B6 !important;
    background-color: #5B21B6 !important;
    box-shadow: 0 10px 28px rgba(91, 33, 182, 0.55) !important;
    filter: none !important;
}

.ss-floating-place-order-btn:active {
    transform: scale(0.98) !important;
}

.floating-order-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

.floating-order-text {
    flex: 1 !important;
    text-align: center !important;
}

.floating-order-arrow {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

.ss-floating-place-order-btn:hover .floating-order-arrow {
    transform: translateX(4px) !important;
}

@media (max-width: 480px) {
    .ss-floating-place-order-bar {
        bottom: 12px;
        width: calc(100% - 24px);
    }
    .ss-floating-place-order-btn {
        font-size: 16px !important;
        padding: 12px 16px !important;
        min-height: 50px !important;
        background: #6D28D9 !important;
        background-color: #6D28D9 !important;
        background-image: none !important;
        color: #FFFFFF !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45) !important;
        animation: none !important;
    }
    .ss-floating-place-order-btn::before,
    .ss-floating-place-order-btn::after {
        display: none !important;
        content: none !important;
        background: none !important;
        box-shadow: none !important;
        animation: none !important;
    }
}

/* ============================================================
   1. RESTORE INPUT LEFT SVG ICONS & SYMMETRICAL PADDING
   ============================================================ */
#billing_first_name_field,
#billing_phone_field,
#billing_address_1_field {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 16px !important;
}

#billing_first_name_field .woocommerce-input-wrapper,
#billing_phone_field .woocommerce-input-wrapper,
#billing_address_1_field .woocommerce-input-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

/* User SVG */
#billing_first_name_field .ss-input-icon,
.woocommerce-checkout .ss-input-icon-name {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    stroke: #64748b !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

/* Smartphone SVG */
#billing_phone_field .ss-input-icon,
.woocommerce-checkout .ss-input-icon-phone {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    stroke: #64748b !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

/* Location Pin SVG */
#billing_address_1_field .ss-input-icon,
.woocommerce-checkout .ss-input-icon-textarea,
.woocommerce-checkout .ss-input-icon-address {
    position: absolute !important;
    left: 14px !important;
    top: 16px !important;
    transform: none !important;
    width: 18px !important;
    height: 18px !important;
    stroke: #64748b !important;
    pointer-events: none !important;
    z-index: 3 !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 48px !important;
    padding-left: 44px !important; /* Space for the left icon */
    padding-right: 14px !important; /* Proper right padding */
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
}

.woocommerce-checkout textarea#billing_address_1 {
    min-height: 85px !important;
    padding-top: 12px !important;
    padding-left: 44px !important;
    padding-right: 14px !important;
    resize: vertical !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
    outline: none !important;
}

/* ============================================================
   Sticky Floating "Order Now" Button with Auto-Hide
   ============================================================ */
.ss-floating-cta-bar {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(120px) !important;
    z-index: 99999 !important;
    width: 90% !important;
    max-width: 420px !important;
    transition: transform 0.35s ease, opacity 0.35s ease !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ss-floating-cta-bar.is-visible {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.ss-floating-action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #6D28D9 !important;
    background-color: #6D28D9 !important;
    background-image: none !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45) !important;
    border: none !important;
    transition: all 0.25s ease !important;
}

.ss-floating-action-btn:hover {
    background: #5B21B6 !important;
    background-color: #5B21B6 !important;
    filter: none !important;
    box-shadow: 0 10px 28px rgba(91, 33, 182, 0.55) !important;
    transform: translateY(-2px) !important;
}

.ss-floating-action-btn::before {
    display: none !important;
}


/* =======================================================
   2. SPECIAL FEATURES: PURE ICON + 1-LINE POINT CARDS
   (STRICTLY NO DESCRIPTIONS | 3 COL DESKTOP | 2 COL MOBILE)
   ======================================================= */
.ss-pure-points-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
}

.ss-point-card {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 2px solid #e2e8f0;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.ss-point-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

.point-icon-box {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.point-icon-box svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
}

.point-text {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    display: block !important;
}

/* Distinct Colorful Borders & Icon Backgrounds */
.ss-point-card.border-blue {
    border-color: #38bdf8 !important;
}
.point-icon-box.bg-blue {
    background: #e0f2fe !important;
    color: #0284c7 !important;
}

.ss-point-card.border-purple {
    border-color: #c084fc !important;
}
.point-icon-box.bg-purple {
    background: #f3e8ff !important;
    color: #9333ea !important;
}

.ss-point-card.border-cyan {
    border-color: #22d3ee !important;
}
.point-icon-box.bg-cyan {
    background: #cffafe !important;
    color: #0891b2 !important;
}

.ss-point-card.border-emerald {
    border-color: #34d399 !important;
}
.point-icon-box.bg-emerald {
    background: #d1fae5 !important;
    color: #059669 !important;
}

.ss-point-card.border-indigo {
    border-color: #818cf8 !important;
}
.point-icon-box.bg-indigo {
    background: #e0e7ff !important;
    color: #4f46e5 !important;
}

.ss-point-card.border-rose {
    border-color: #fb7185 !important;
}
.point-icon-box.bg-rose {
    background: #ffe4e6 !important;
    color: #e11d48 !important;
}

.ss-point-card.border-amber {
    border-color: #fbbf24 !important;
}
.point-icon-box.bg-amber {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.ss-point-card.border-teal {
    border-color: #2dd4bf !important;
}
.point-icon-box.bg-teal {
    background: #ccfbf1 !important;
    color: #0d9488 !important;
}

.ss-point-card.border-violet {
    border-color: #a78bfa !important;
}
.point-icon-box.bg-violet {
    background: #ede9fe !important;
    color: #7c3aed !important;
}

.ss-point-card.border-orange {
    border-color: #fb923c !important;
}
.point-icon-box.bg-orange {
    background: #ffedd5 !important;
    color: #ea580c !important;
}

/* Mobile: 2 Columns Layout */
@media (max-width: 768px) {
    .ss-pure-points-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .ss-point-card {
        padding: 10px 10px !important;
        gap: 8px !important;
        border-radius: 12px !important;
        border-width: 1.5px !important;
    }

    .point-icon-box {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 9px !important;
    }

    .point-icon-box svg {
        width: 18px !important;
        height: 18px !important;
    }

    .point-text {
        font-size: 12.5px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 380px) {
    .ss-pure-points-grid {
        gap: 8px !important;
    }

    .ss-point-card {
        padding: 8px 8px !important;
        gap: 6px !important;
    }

    .point-icon-box {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        border-radius: 8px !important;
    }

    .point-icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }

    .point-text {
        font-size: 11.5px !important;
    }
}