/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Fix Header Overlap on Checkout & Order Received Pages (Desktop Only) */
@media (min-width: 900px) {

    body.woocommerce-checkout .elementor-widget-theme-post-title,
    body.woocommerce-checkout h1.entry-title,
    body.woocommerce-order .elementor-widget-theme-post-title,
    body.woocommerce-order h1.entry-title,
    body.woocommerce-account .elementor-widget-theme-post-title,
    body.woocommerce-account h1.entry-title,
    body.woocommerce-order .woocommerce-order,
    body.woocommerce-checkout .woocommerce-checkout {
        margin-top: 60px !important;
        position: relative !important;
        z-index: 10 !important;
    }
}

/* Ensure No Extra Top Spacing on Mobile Checkout/Order Pages */
@media (max-width: 899px) {

    body.woocommerce-checkout .elementor-widget-theme-post-title,
    body.woocommerce-checkout h1.entry-title,
    body.woocommerce-order .elementor-widget-theme-post-title,
    body.woocommerce-order h1.entry-title,
    body.woocommerce-order .woocommerce-order,
    body.woocommerce-checkout .woocommerce-checkout {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Fix for Wise payment bank details list layout and line overlap */
.woocommerce ul.wc-ew_wise-bank-details {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 1.5em !important;
    padding: 1.5em 0 !important;
    margin-top: 1em !important;
    margin-bottom: 2em !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce ul.wc-ew_wise-bank-details li {
    float: none !important;
    border-right: 1px dashed #cbd5e1 !important;
    padding-right: 1.5em !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    line-height: 1.5 !important;
}

.woocommerce ul.wc-ew_wise-bank-details li:last-of-type {
    border-right: none !important;
    padding-right: 0 !important;
}

.woocommerce ul.wc-ew_wise-bank-details hr {
    display: none !important;
}

.woocommerce ul.wc-ew_wise-bank-details li strong {
    display: block !important;
    font-size: 1.3em !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-top: 0.3em !important;
}

/* Elegant CSS for Product Page Deposit Payment Options */
.woocommerce div.product form.cart .wcdpp-deposit-options-wrapper {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin: 1.5em 0 2em !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce div.product form.cart .wcdpp-deposit-options-wrapper li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce div.product form.cart .wcdpp-deposit-options-wrapper li label {
    display: flex !important;
    align-items: center;
    padding: 16px 20px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 1.05em !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    margin: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce div.product form.cart .wcdpp-deposit-options-wrapper li label:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
}

.woocommerce div.product form.cart .wcdpp-deposit-options-wrapper li label:has(input[type="radio"]:checked) {
    border-color: #3D5B91 !important;
    background-color: #f4f6f9 !important;
    box-shadow: 0 0 0 1px #3D5B91, 0 2px 4px rgba(61, 91, 145, 0.1) !important;
}

.woocommerce div.product form.cart .wcdpp-deposit-options-wrapper li input[type="radio"] {
    margin: 0 14px 0 0 !important;
    width: 1.3em !important;
    height: 1.3em !important;
    accent-color: #3D5B91 !important;
}

.woocommerce div.product form.cart .wcdpp-deposit-options-wrapper li label span {
    font-weight: 600 !important;
    color: #3D5B91 !important;
    margin-left: 6px !important;
}

/* Elegant Total Price Display (Advanced Product Fields) */
.woocommerce div.product .summary p.price,
.woocommerce div.product .summary .wapf-grand-total,
.woocommerce div.product .woocommerce-variation-price .price {
    display: inline-flex !important;
    align-items: center !important;
    padding: 14px 20px !important;
    background-color: #f4f6f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    color: #3D5B91 !important;
    font-weight: 700 !important;
    font-size: 1.4em !important;
    clear: both !important;
    margin-bottom: 1.5em !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce div.product .summary p.price::before,
.woocommerce div.product .summary .wapf-grand-total::before,
.woocommerce div.product .woocommerce-variation-price .price::before {
    content: "Total Price:" !important;
    font-weight: 600 !important;
    color: #475569 !important;
    font-size: 0.7em !important;
    margin-right: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Elegant Custom Product Fields Styling (Advanced Product Fields) */
.wapf-wrapper {
    margin-top: 1em !important;
    margin-bottom: 1.5em !important;
}

.wapf-field-container {
    margin-bottom: 0.75em !important;
}

.wapf-field-input input[type="text"],
.wapf-field-input input[type="email"],
.wapf-field-input input[type="number"],
.wapf-field-input input[type="tel"],
.wapf-field-input input[type="date"],
.wapf-field-input select,
.wapf-field-input textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background-color: #f8fafc !important;
    color: #1e293b !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.wapf-field-input input[type="text"]:focus,
.wapf-field-input input[type="email"]:focus,
.wapf-field-input input[type="number"]:focus,
.wapf-field-input input[type="tel"]:focus,
.wapf-field-input input[type="date"]:focus,
.wapf-field-input select:focus,
.wapf-field-input textarea:focus {
    outline: none !important;
    border-color: #3D5B91 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(61, 91, 145, 0.2) !important;
}

.wapf-field-description {
    color: #64748b !important;
    font-size: 0.85em !important;
    margin-top: 6px !important;
}

/* Premium Google-Style CSS for The Events Calendar (TEC) */
.tribe-events,
#tribe-events-content-wrapper,
.tribe-common {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

/* Premium Outer Calendar Framing */
#tribe-events-content-wrapper {
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    padding: 24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

/* Calendar Grid Base */
.tribe-common.tribe-events .tribe-events-calendar-month__body {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: transparent !important;
    overflow: hidden !important;
}

.tribe-common.tribe-events .tribe-events-calendar-month__day {
    border: none !important;
    padding: 10px !important;
    background-color: transparent !important;
}

/* Header / Weekdays styling */
.tribe-common.tribe-events .tribe-events-calendar-month__day-name {
    color: #64748b !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    text-align: center !important;
    padding: 12px 0 !important;
    background-color: #f8fafc !important;
}

/* Base Mobile Overrides (Restricts capsules) */
.tribe-common.tribe-events .tribe-events-calendar-month__day-date {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    background-color: transparent !important;
    border-radius: 4px !important;
}

/* Desktop Strict Grid Styling */
@media (min-width: 768px) {

    /* Add internal borders for tidy structure */
    .tribe-common.tribe-events .tribe-events-calendar-month__day {
        min-height: 120px !important;
        border-right: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .tribe-common.tribe-events .tribe-events-calendar-month__day:last-child {
        border-right: none !important;
    }

    /* Beautiful Alternating Backgrounds */
    .tribe-common.tribe-events .tribe-events-calendar-month__week:nth-child(odd) .tribe-events-calendar-month__day {
        background-color: #ffffff !important;
    }

    .tribe-common.tribe-events .tribe-events-calendar-month__week:nth-child(even) .tribe-events-calendar-month__day {
        background-color: #f8fafc !important;
    }

    .tribe-common.tribe-events .tribe-events-calendar-month__week:last-child .tribe-common.tribe-events .tribe-events-calendar-month__day {
        border-bottom: none !important;
    }

    /* Circular Desktop Labels */
    .tribe-common.tribe-events .tribe-events-calendar-month__day-date {
        margin: 8px auto 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        border-radius: 50% !important;
    }
}

/* Current Day Highlight - High contrast blue circle */
.tribe-common.tribe-events .tribe-events-calendar-month__day--current {
    background-color: #ffffff !important;
}

.tribe-common.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date {
    background-color: #d9d9d9 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(61, 91, 145, 0.3) !important;
}

/* Event Chips / Pills */
.tribe-common.tribe-events .tribe-events-calendar-month__calendar-event-details {
    background-color: #3D5B91 !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
    margin: 2px 6px !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(61, 91, 145, 0.2) !important;
    transition: transform 0.1s ease !important;
}

.tribe-common.tribe-events .tribe-events-calendar-month__calendar-event-details:hover {
    transform: translateY(-1px) !important;
    background-color: #2F4773 !important;
}

.tribe-common.tribe-events .tribe-events-calendar-month__calendar-event-datetime,
.tribe-common.tribe-events .tribe-events-calendar-month__calendar-event-title,
.tribe-common.tribe-events .tribe-events-calendar-month__calendar-event-title-link {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}

/* Top bar Month/Year Title - Large and Elegant */
.tribe-common.tribe-events .tribe-events-header__title,
.tribe-common.tribe-events .tribe-events-c-top-bar__datepicker-button {
    color: #1e293b !important;
    font-weight: 400 !important;
    font-size: 2.2rem !important;
    letter-spacing: -0.5px !important;
}

/* Navigation & Today Buttons */
.tribe-common.tribe-events .tribe-events-c-top-bar__today-button,
.tribe-common.tribe-events .tribe-events-c-top-bar__nav-link {
    font-weight: 500 !important;
    color: #3D5B91 !important;
    transition: all 0.2s ease !important;
}

.tribe-common.tribe-events .tribe-events-c-top-bar__today-button {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    background-color: #ffffff !important;
}

.tribe-common.tribe-events .tribe-events-c-top-bar__today-button:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

/* Minimal & Elegant CSS for Single Event Page */
.single-tribe_events .tribe-events-single {
    max-width: 1140px !important;
    margin: 3em auto !important;
    padding: 0 20px !important;
}

/* Event Title */
.single-tribe_events .tribe-events-single-event-title,
.single-tribe_events h1.tribe-events-single-event-title {
    text-align: center !important;
    color: #3D5B91 !important;
    font-size: 2.8rem !important;
    font-weight: 400 !important;
    margin-bottom: 0.5em !important;
    letter-spacing: -0.5px !important;
}

/* Date and Price Header */
.single-tribe_events .tribe-events-schedule {
    text-align: center !important;
    background-color: #f4f6f9 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    color: #3D5B91 !important;
    font-weight: 500 !important;
    margin: 0 auto 2em !important;
    border: 1px solid #e2e8f0 !important;
    width: max-content !important;
    max-width: 100% !important;
    display: block !important;
}

.single-tribe_events .tribe-events-schedule h2 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    color: #3D5B91 !important;
}

.single-tribe_events .tribe-events-cost {
    font-weight: 700 !important;
}

/* Featured Image */
.single-tribe_events .tribe-events-event-image {
    text-align: center !important;
    margin-bottom: 2.5em !important;
}

.single-tribe_events .tribe-events-event-image img {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Event Content */
.single-tribe_events .tribe-events-single-event-description {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    margin-bottom: 3em !important;
}

/* Add to Calendar Button */
.single-tribe_events .tribe-events-cal-links a {
    background-color: #3D5B91 !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(61, 91, 145, 0.2) !important;
}

.single-tribe_events .tribe-events-cal-links a:hover {
    background-color: #2F4773 !important;
    transform: translateY(-1px) !important;
}

/* Add to Calendar Button Wrapper */
.single-tribe_events .tribe-events-cal-links {
    text-align: center !important;
    margin-bottom: 3em !important;
}

/* Meta Box (Details, Organizer, Venue) */
.single-tribe_events .tribe-events-event-meta {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 32px !important;
    margin: 2em auto 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
    gap: 32px !important;
}

.single-tribe_events .tribe-events-meta-group {
    flex: 1 1 250px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-tribe_events .tribe-events-single-section-title {
    color: #3D5B91 !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    border-bottom: 1px dashed #cbd5e1 !important;
    padding-bottom: 8px !important;
    margin-bottom: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.single-tribe_events .tribe-events-meta-group dl {
    display: grid !important;
    grid-template-columns: max-content auto !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
    align-items: baseline !important;
    margin: 0 !important;
}

.single-tribe_events .tribe-events-meta-group dl dt {
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-tribe_events .tribe-events-meta-group dl dd {
    color: #475569 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-tribe_events .tribe-events-meta-group dl dd a {
    color: #3D5B91 !important;
    text-decoration: underline !important;
}

/* Center google map */
.single-tribe_events .tribe-events-venue-map {
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 20px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
 *  MODERN PAY FOR ORDER SCREEN (Checkout Block Style)
 * ───────────────────────────────────────────────────────────────────────────── */

body.woocommerce-order-pay .woocommerce {
    max-width: 800px !important;
    margin: 0 auto !important;
}

body.woocommerce-order-pay table.shop_table {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-bottom: 2em !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
}

body.woocommerce-order-pay table.shop_table thead th {
    background-color: #f8fafc !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #64748b !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
}

body.woocommerce-order-pay table.shop_table tbody td {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-top: none !important;
    color: #334155 !important;
}

body.woocommerce-order-pay table.shop_table tbody tr:last-child td {
    border-bottom: 1px solid #e2e8f0 !important;
}

body.woocommerce-order-pay table.shop_table tfoot th {
    text-align: right !important;
    padding: 12px 20px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    border-top: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.woocommerce-order-pay table.shop_table tfoot td {
    padding: 12px 20px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    border-top: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.woocommerce-order-pay table.shop_table tfoot tr:last-child th,
body.woocommerce-order-pay table.shop_table tfoot tr:last-child td {
    border-bottom: none !important;
    padding-bottom: 20px !important;
}

body.woocommerce-order-pay #order_review table.shop_table {
    margin-bottom: 2em !important;
}

body.woocommerce-order-pay .shop_table thead th {
    font-size: 0.9rem !important;
    letter-spacing: 0.05em !important;
}

body.woocommerce-order-pay .shop_table td.product-name {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

body.woocommerce-order-pay .shop_table td.product-total {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #3D5B91 !important;
}

body.woocommerce-order-pay .shop_table tfoot th {
    font-weight: 700 !important;
    color: #475569 !important;
    font-size: 1rem !important;
}

body.woocommerce-order-pay .shop_table tfoot td {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

body.woocommerce-order-pay #payment {
    background-color: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 32px !important;
    margin-top: 2em !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

body.woocommerce-order-pay #payment ul.payment_methods {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 20px !important;
    margin-bottom: 24px !important;
    list-style: none !important;
    padding-left: 0 !important;
}

body.woocommerce-order-pay #payment ul.payment_methods li {
    margin-bottom: 15px !important;
}

body.woocommerce-order-pay #payment ul.payment_methods li label {
    font-weight: 600 !important;
    color: #334155 !important;
    cursor: pointer !important;
}

body.woocommerce-order-pay #payment .payment_box {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-top: 12px !important;
    color: #475569 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    position: relative !important;
}

body.woocommerce-order-pay #payment .payment_box::before {
    content: "" !important;
    position: absolute !important;
    top: -8px !important;
    left: 20px !important;
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-bottom: 8px solid #e2e8f0 !important;
}

body.woocommerce-order-pay #payment .place-order {
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-order-pay #payment button#place_order {
    width: 100% !important;
    padding: 18px !important;
    font-size: 1.15rem !important;
    border-radius: 8px !important;
    background-color: #3D5B91 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
 *  MODERN MY ACCOUNT PAGE INTERFACE (REFRESHED)
 * ───────────────────────────────────────────────────────────────────────────── */

/* Overall Layout Container - Using body class for higher specificity */
body.woocommerce-account .woocommerce,
body.woocommerce-account .e-my-account {
    max-width: 1400px !important;
    margin: 3em auto !important;
    padding: 0 20px !important;
    display: block !important;
}

/* Flex layout for Desktop */
@media (min-width: 900px) {
    body.woocommerce-account .woocommerce,
    body.woocommerce-account .e-my-account {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 50px !important;
        align-items: flex-start !important;
        margin-top: 40px !important;
    }

    /* Standard WooCommerce Nav & Elementor Tabs */
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .e-my-account-tabs {
        flex: 0 0 280px !important;
        width: 280px !important;
        margin-right: 0 !important;
    }

    /* Content Area */
    body.woocommerce-account .woocommerce-MyAccount-content,
    body.woocommerce-account .e-my-account-content {
        flex: 1 !important;
        min-width: 0 !important;
    }
}

/* Sidebar Navigation Styling */
body.woocommerce-account .woocommerce-MyAccount-navigation ul,
body.woocommerce-account .e-my-account-tabs__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    border: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li,
body.woocommerce-account .e-my-account-tabs__item {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a,
body.woocommerce-account .e-my-account-tabs__item a {
    display: block !important;
    padding: 14px 22px !important;
    border-radius: 10px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account .e-my-account-tabs__item a:hover {
    background-color: #f1f5f9 !important;
    color: #3D5B91 !important;
    transform: translateX(4px) !important;
}

/* Active State */
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .e-my-account-tabs__item.is-active a,
body.woocommerce-account .e-my-account-tabs__item--active a {
    background-color: #3D5B91 !important;
    color: #ffffff !important;
    border-color: #3D5B91 !important;
    box-shadow: 0 4px 15px rgba(61, 91, 145, 0.25) !important;
}

/* Main Content Card */
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .e-my-account-content {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 0px !important;

}

/* Headlines */
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .e-my-account-content h2 {
    color: #3D5B91 !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    margin-bottom: 1.2em !important;
    letter-spacing: -0.02em !important;
}

/* Tables Refresh */
body.woocommerce-account table.shop_table,
body.woocommerce-account table.my_account_orders {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

body.woocommerce-account table.shop_table thead th {
    background-color: #f8fafc !important;
    color: #64748b !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    padding: 12px 18px !important;
}

body.woocommerce-account table.shop_table tbody td {
    padding: 12px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155 !important;
}

/* Action Buttons within Tables (View, Pay) */
body.woocommerce-account table.shop_table td.woocommerce-orders-table__cell-order-actions {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    min-width: 180px !important;
    padding: 12px 18px !important;
}

body.woocommerce-account table.shop_table .button {
    background-color: #3D5B91 !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    border: none !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.woocommerce-account table.shop_table .button:hover {
    background-color: #2F4773 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(61, 91, 145, 0.2) !important;
}

/* Forms Fixes */
body.woocommerce-account .form-row input.input-text,
body.woocommerce-account .form-row select,
body.woocommerce-account .form-row textarea {
    padding: 12px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
}

/* Login Page specific styling on My Account context */
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register {
    border: 1px solid #e2e8f0 !important;
    padding: 30px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

/* Addresses display */
body.woocommerce-account .u-columns.col2-set {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
}

body.woocommerce-account .u-column1, 
body.woocommerce-account .u-column2 {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
}

/* Mobile Overrides */
@media (max-width: 899px) {
    body.woocommerce-account .woocommerce,
    body.woocommerce-account .e-my-account {
        display: block !important;
    }
    
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .e-my-account-tabs {
        width: 100% !important;
        margin-bottom: 30px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content,
    body.woocommerce-account .e-my-account-content {
        padding: 25px !important;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
 *  PRODUCT PAGE REFINEMENTS
 * ───────────────────────────────────────────────────────────────────────────── */

/* Quantity & Add to Cart Container (Elementor Side-by-Side Fix) */
.elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

:is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart).elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder>* {
    flex-basis: auto !important;
    width: auto !important;
}

/* Elegant Quantity Selector with Buttons */
.woocommerce .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #f8fafc !important;
    height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 140px !important;
    min-width: 140px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce .quantity button {
    width: 40px !important;
    height: 100% !important;
    background-color: transparent !important;
    border: none !important;
    color: #3D5B91 !important;
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.woocommerce .quantity button:hover {
    background-color: #f1f5f9 !important;
    color: #2F4773 !important;
}

.woocommerce .quantity button.minus {
    border-right: 1px solid #e2e8f0 !important;
}

.woocommerce .quantity button.plus {
    border-left: 1px solid #e2e8f0 !important;
}

.woocommerce .quantity .qty {
    width: 50px !important;
    height: 100% !important;
    border: none !important;
    background-color: transparent !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Matching Add to Cart Button */
.woocommerce div.product form.cart .button {
    height: 48px !important;
    padding: 0 32px !important;
    border-radius: 40px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    background-color: #3D5B91 !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.woocommerce div.product form.cart .button:hover {
    background-color: #2F4773 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(61, 91, 145, 0.25) !important;
}

/* Ensure price and variations are spaced correctly */
.woocommerce div.product .summary .price {
    margin-bottom: 25px !important;
    display: block !important;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 25px !important;
}

/* Hide Coupon Form on Checkout Only */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout .elementor-woocommerce-checkout-form-coupon,
.woocommerce-checkout .wc-block-components-totals-coupon {
    display: none !important;
}

/* Hide Stripe Express & Link Checkout buttons */
#wc-stripe-payment-request-wrapper,
#wc-stripe-payment-request-button-separator,
.stripe-gateway-payment-request-button-wrapper,
.wc-stripe-payment-request-wrapper,
.wc-stripe-payment-request-button,
#stripe-payment-request-button {
    display: none !important;
}

@media screen and (min-width: 768px) {
	div#aca-img img {
		height: 600px;
		object-fit: cover;
	}
}





