/* 
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
*/

/* ==========================================================================
   Amasco Organics - Premium Single Product Template Styles
   ========================================================================== */

/* 1. Main Product Image Styling */
.woocommerce div.product div.images img {
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce div.product div.images:hover img {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

/* 2. Sale Badge Refinement (WC Standard & Elementor) */
.woocommerce span.onsale,
.elementor-sale-flash,
.jet-woo-builder-sale-flash,
.jet-listing-dynamic-field .onsale,
.elementor-badge,
.jet-woo-product-badge,
.jet-woo-builder-product-badge,
.elementor-widget-container .onsale {
    background: #e63946 !important; /* Premium Red */
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
    padding: 3px 10px !important; 
    border-radius: 50px !important;
    min-width: unset !important;
    min-height: unset !important;
    line-height: 1 !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    margin: 0 8px 0 0 !important; /* Neat separation from the next tag */
    vertical-align: middle !important;
    box-shadow: none !important;
}

/* Floating Badge (Floating OVER the image): 
   ONLY target specific layouts where the badge IS expected to float.
   - Standard WooCommerce Shop/Archives
   - Single Product Images
   - Elementor Product Loops/Carousels
*/
.post-type-archive-product .products .onsale,
.tax-product_cat .products .onsale,
.elementor-product-loop-item .onsale,
.elementor-product-loop .onsale,
.single-product div.product .onsale,
.elementor-widget-wc-archive-products .onsale {
    position: absolute !important;
    top: 25px !important;
    left: 25px !important;
    margin: 0 !important;
    z-index: 10 !important;
}

/* Inline Badge (Part of the text/content flow):
   Add this class 'amasco-inline-badge' to any Elementor Badge widget 
   if you want it to flow naturally with your text/buttons (like in your wellness kits).
*/
.amasco-inline-badge .onsale,
.amasco-inline-badge .elementor-badge,
.amasco-inline-badge .elementor-sale-flash {
    position: static !important;
    display: inline-block !important;
    margin: 0 8px 0 0 !important;
}

/* Fix for JetWooBuilder containers that might clip badges */
.jet-woo-builder-product-grid-item,
.jet-listing-grid__item,
.product {
    overflow: visible !important;
}

/* 3. Product Title */
.woocommerce div.product .product_title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e2d; /* Deep organic green/grey */
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* 4. Price Display */
.woocommerce div.product p.price, 
.woocommerce div.product span.price {
    font-size: 1.7rem;
    font-weight: 700;
    color: #4CAF50; /* Fresh organic green */
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.woocommerce div.product p.price del, 
.woocommerce div.product span.price del {
    color: #a0aec0; /* Soft grey for old price */
    font-weight: 500;
    font-size: 1.2rem;
    opacity: 0.7;
}

.woocommerce div.product p.price ins, 
.woocommerce div.product span.price ins {
    text-decoration: none;
    background: transparent;
    font-weight: 800;
}

/* 5. Add to Cart Form (Quantity & Button) */
.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* Quantity Input Styling */
.woocommerce div.product form.cart div.quantity {
    margin: 0;
}

.woocommerce div.product form.cart div.quantity .qty {
    width: 80px;
    height: 50px;
    background: #f4f8f4; /* Very soft green tint */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    transition: all 0.3s ease;
    padding: 0 10px;
}

.woocommerce div.product form.cart div.quantity .qty:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
    outline: none;
}

/* Add to Cart Button Styling */
.woocommerce div.product form.cart .button {
    height: 52px; /* Slightly taller for pill shape */
    padding: 0 45px; /* More padding for pill shape */
    border-radius: 50px; /* Pill shape */
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 50px;
    border: none;
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product form.cart .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 160, 71, 0.4);
    filter: brightness(1.05);
    color: white;
}

.woocommerce div.product form.cart .button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(67, 160, 71, 0.3);
}

/* 6. Product Meta (Categories, Tags) */
.woocommerce div.product .product_meta {
    font-size: 0.95rem;
    color: #718096;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.woocommerce div.product .product_meta a {
    color: #4cae4f;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce div.product .product_meta a:hover {
    color: #2e7d32;
    text-decoration: underline;
}

/* 7. Elementor Accordion (Short Description area styling) */
.elementor-accordion .elementor-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.elementor-accordion .elementor-tab-title {
    padding: 18px 24px;
    font-weight: 600;
    color: #2d3748;
    background: #f8fafc;
    transition: background 0.3s ease;
}

.elementor-accordion .elementor-tab-title:hover {
    background: #f1f5f9;
}

.elementor-accordion .elementor-tab-title.elementor-active {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    color: #4CAF50;
}

.elementor-accordion .elementor-tab-content {
    padding: 24px;
    color: #4a5568;
    line-height: 1.6;
}

/* 8. Description Section Below */
.woocommerce-tabs.wc-tabs-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    margin-top: 10px;
}

/* Target the "Description" Pill styling we saw in the screenshot */
.elementor-widget-heading .elementor-heading-title {
    /* If they use an Elementor heading for Description */
    position: relative;
    display: inline-block;
}

/* 9. Social Icons Refinement */
.elementor-social-icons-wrapper .elementor-social-icon {
    border-radius: 50%; /* Perfect circles */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.elementor-social-icons-wrapper .elementor-social-icon:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 11. Image Gallery & Thumbnails */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    flex: 0 0 calc(25% - 10px); /* 4 per row */
    margin: 0 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 12px;
    box-shadow: inset 0 0 0 2px transparent; /* Use inset shadow instead of border to avoid clipping */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    opacity: 0.7;
    margin: 3px; /* Add margin to prevent clipping in the container */
    display: block;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    box-shadow: inset 0 0 0 2px #4caf50, 0 8px 20px rgba(76, 175, 80, 0.15); /* Primary green inset + outer glow */
    transform: translateY(-3px);
    opacity: 1;
}

/* 12. Summary Column (Second Column) Polish */
.woocommerce div.product .summary.entry-summary {
    background: #fdfdfd; 
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.woocommerce div.product .summary.entry-summary:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

.woocommerce div.product .summary.entry-summary .product_title {
    margin-top: 0;
    font-size: 2.2rem;
}

.woocommerce div.product .summary.entry-summary .price {
    margin-bottom: 20px;
}

.woocommerce div.product .summary.entry-summary .woocommerce-product-details__short-description {
    margin-bottom: 25px;
    color: #4a5568;
    line-height: 1.7;
}

/* 10. WooCommerce Tabs & Reviews Styling */
.woocommerce div.product .woocommerce-tabs {
    border: none !important; /* Remove any border from the main wrapper */
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    border: none !important;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    gap: 10px;
}

/* Remove the line appearing below the tabs */
.woocommerce-tabs .panel {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description h2,
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--reviews h2 {
    display: none; /* Often there's a redundant title inside the panel */
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 24px;
    background: #e6f4ea; /* Soft light green */
    color: #2c3e2d;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    background: #2e7d32; /* Deep organic green for active/hover */
    color: #ffffff;
}

/* Reviews Content */
#reviews h2.woocommerce-Reviews-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e2d;
    margin-bottom: 20px;
}

#reviews .noreviews {
    color: #64748b;
    font-style: italic;
    margin-bottom: 30px;
}

/* Review Form */
#review_form_wrapper {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-top: 30px;
}

#review_form_wrapper .comment-reply-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    display: block;
}

#review_form_wrapper label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    display: inline-block;
}

/* Star Rating */
.woocommerce p.stars a {
    color: #4CAF50; /* Green stars */
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.woocommerce p.stars a:hover {
    transform: scale(1.2);
}

/* Forms (Textarea & Inputs) */
#review_form_wrapper textarea,
#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #2d3748;
}

#review_form_wrapper textarea:focus,
#review_form_wrapper input[type="text"]:focus,
#review_form_wrapper input[type="email"]:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
    outline: none;
}

/* Submit Button */
#review_form_wrapper .form-submit input.submit,
.woocommerce #review_form #respond .form-submit input {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 35px;
    margin-top: 15px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    display: inline-block;
}

#review_form_wrapper .form-submit input.submit:hover,
.woocommerce #review_form #respond .form-submit input:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 160, 71, 0.4);
    filter: brightness(1.05);
}

/* 13. Global Form Focus Styling (Premium Border Glow) */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.elementor-field-textual:focus {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15) !important;
    outline: none !important;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce div.product .product_title {
        font-size: 2rem;
    }
    
    .woocommerce div.product form.cart .button {
        width: 100%; /* Full width button on mobile */
    }
    
    .woocommerce-tabs.wc-tabs-wrapper {
        padding: 24px;
    }
}

/* ==========================================================================
   Amasco Organics - Contact Us Premium Styling
   ========================================================================== */

/* 1. Main Contact Wrapper Background Pattern */
.amasco-contact-section {
    position: relative;
    overflow: hidden;
}

.amasco-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#4caf50 0.8px, transparent 0.8px);
    background-size: 24px 24px;
    opacity: 0.15; /* Increased visibility */
    pointer-events: none;
}

/* 2. Premium Info Card (Left Column) */
.amasco-contact-card,
.amasco-contact-card.elementor-widget-icon-box {
    background: linear-gradient(135deg, #e6f4ea 0%, #f1f8f1 100%) !important;
    border-radius: 30px !important;
    padding: 50px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(76, 175, 80, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

/* Subtle leaf pattern overlay for the card */
.amasco-contact-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: url('https://www.transparenttextures.com/patterns/leaf.png'); /* Organic texture */
    opacity: 0.15;
    pointer-events: none;
}

.amasco-contact-card .elementor-icon-box-title {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4CAF50 !important;
    margin-bottom: 5px !important;
    opacity: 0.8;
}

.amasco-contact-card .elementor-icon-box-description {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #2c3e2d !important;
}

/* 3. Contact Form Button Polish */
.amasco-contact-form .elementor-button {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%) !important;
    border-radius: 50px !important; /* Pill shape */
    box-shadow: 0 8px 25px rgba(67, 160, 71, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    font-weight: 700 !important;
    padding: 18px 45px !important; /* Slightly more padding for pill shape */
}

.amasco-contact-form .elementor-button:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 35px rgba(67, 160, 71, 0.4) !important;
    filter: brightness(1.05);
}

/* 4. Service Cards (Three Boxes Below) */
.amasco-service-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 30px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid #f1f5f9 !important;
    height: 100%;
}

.amasco-service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08) !important;
    border-color: #e6f4ea !important;
}

.amasco-service-card img {
    border-radius: 16px !important;
    margin-bottom: 20px !important;
    transition: transform 0.5s ease;
}

.amasco-service-card:hover img {
    transform: scale(1.03);
}

.amasco-service-card h3 {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #2c3e2d !important;
    margin-bottom: 15px !important;
}

/* 14. Clean Archive Empty State (Hides the filter section if our widget is active) */
body:has(.uddfel-empty-state-container) .amasco-archive-filters,
body:has(.uddfel-empty-state-container) .jet-woo-builder-nothing-found,
body:has(.uddfel-empty-state-container) .woocommerce-info {
    display: none !important;
}

/* Uddfel Empty State Global Styles */
.uddfel-empty-state-container {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.uddfel-empty-state-image {
    margin-bottom: 30px;
    height: auto;
    max-width: 320px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
}
.uddfel-empty-state-title {
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #1a2e12;
}
.uddfel-empty-state-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #4b5563;
    max-width: 500px;
}
.uddfel-empty-state-button {
    display: inline-block;
    padding: 18px 50px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #6DB33E 0%, #1a2e12 100%) !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 60px !important;
    box-shadow: 0 10px 30px rgba(109, 179, 62, 0.25) !important;
    letter-spacing: 0.5px;
}
.uddfel-empty-state-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(109, 179, 62, 0.4) !important;
    color: #ffffff !important;
}

/* Ensure the empty state widget stretches comfortably when others are hidden */
/* Ensure the empty state widget stretches comfortably when others are hidden */
/* Height is now controlled via Elementor settings in the widget itself */

/* ==========================================================================
   AMASCO-P3-MY-ACCOUNT-PAGE-1.0: Premium Redesign
   ========================================================================== */

/* 1. Global Reset & Body Protection */
body.woocommerce-account .woocommerce {
    padding: 20px 0 80px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* 2. Desktop Split Layout (Flexbox Refinement P1.7) */
@media (min-width: 901px) {
    body.woocommerce-account .woocommerce {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 50px !important;
        align-items: flex-start !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 280px !important;
        flex: 0 0 280px !important;
        float: none !important;
        margin: 0 !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        flex: 1 1 auto !important;
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        min-width: 0 !important; /* Fix for flex item overflow */
    }
}

/* 3. Navigation: The "Premium Pill Stack" */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 16px 25px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    color: #2d4a22 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f1f6ef !important;
    color: #6DB33E !important;
    padding-left: 30px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #6DB33E !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(109, 179, 62, 0.25) !important;
}

/* 4. Content Area: The "Soft White Surface" */
body.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 60px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(45, 74, 34, 0.04) !important;
    min-height: 500px !important;
}

/* 5. Dashboard Style Welcome Card (P1.4 Refinement) */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
    background: #f8faf7 !important;
    border-radius: 20px !important;
    padding: 45px !important;
    margin-bottom: 40px !important;
    color: #2d4a22 !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    border: 1px solid rgba(109, 179, 62, 0.1) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type strong {
    font-size: 1.8rem !important;
    display: block !important;
    margin-bottom: 10px !important;
    color: #1a2e12 !important;
    letter-spacing: -0.5px !important;
}

/* 6. Forms & Inputs: The "Organic Polish" */
body.woocommerce-account .woocommerce-MyAccount-content form .form-row {
    margin-bottom: 25px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content fieldset {
    border: 1px solid #f1f6ef !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin-top: 40px !important;
    background: #fbfcfb !important;
}

body.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
    font-weight: 800 !important;
    color: #1a2e12 !important;
    padding: 0 15px !important;
    background: #ffffff !important;
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
    border-radius: 12px !important;
    border: 1px solid #e0e6db !important;
    padding: 16px 22px !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
    width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus {
    border-color: #6DB33E !important;
    outline: none !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(109, 179, 62, 0.08) !important;
}

/* 7. Buttons: Brand Green Lock (#6DB33E) */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register__submit {
    background-color: #6DB33E !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 18px 40px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 8px 20px rgba(109, 179, 62, 0.2) !important;
    cursor: pointer !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover {
    background-color: #1a2e12 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(26, 46, 18, 0.25) !important;
    color: #ffffff !important;
}

/* 8. Tables & Lists: Integrity Fixes */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
    border: none !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
    border: none !important;
    background: transparent !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    color: #2d4a22 !important;
    opacity: 0.5 !important;
    padding: 0 0 20px 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td {
    border: none !important;
    border-top: 1px solid #f1f6ef !important;
    padding: 25px 0 !important;
    vertical-align: middle !important;
    color: #4a5a44 !important;
}

/* 9. Addresses Grid Fix (P1.6 Nuclear Pass) */
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .u-columns.col2-set.addresses,
body.woocommerce-account .col2-set.addresses {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    align-items: flex-start !important; /* Force tops to be level */
    width: 100% !important;
    margin: 30px 0 0 0 !important;
    float: none !important;
    clear: both !important;
}

body.woocommerce-account .u-column1.address,
body.woocommerce-account .u-column2.address,
body.woocommerce-account .woocommerce-Address {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    float: none !important;
    background: #fbfcfb !important;
    padding: 35px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(109, 179, 62, 0.08) !important;
    margin: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    display: block !important;
}

/* Ensure the intro p is full width and above the flex grid */
body.woocommerce-account .woocommerce-MyAccount-content > p {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

body.woocommerce-account .woocommerce-Address-title h3 {
    margin-top: 0 !important;
    font-size: 1.4rem !important;
    color: #1a2e12 !important;
    font-weight: 800 !important;
}

/* 10. Login/Register Form (Logged Out State) */
body.woocommerce-account .u-columns.col2-set,
body.woocommerce-account #customer_login {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 40px auto 80px !important;
    align-items: start !important;
}

body.woocommerce-account .u-column1,
body.woocommerce-account .u-column2 {
    background: #ffffff !important;
    padding: 50px !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(45, 74, 34, 0.03) !important;
    width: auto !important;
    margin: 0 !important;
}

/* 11. Mobile Responsiveness */
@media (max-width: 900px) {
    body.woocommerce-account .woocommerce {
        display: block !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 30px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        padding: 10px 18px !important;
        font-size: 0.82rem !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 30px !important;
        border-radius: 16px !important;
    }

    body.woocommerce-account .woocommerce-Addresses,
    body.woocommerce-account .u-columns.col2-set,
    body.woocommerce-account #customer_login {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   AMASCO-CHECKOUT-LIGHT-1.6: Ultimate Premium Refinement
   ========================================================================== */

/* 1. Global Field Handling (Inputs, Selects, and NOW Textarea/Notes) */
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-select-input select,
.woocommerce-checkout .wc-block-components-textarea textarea,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.woocommerce-checkout .wc-blocks-components-select__select,
.woocommerce-checkout .wc-block-components-textarea.wc-block-components-text-input textarea {
    border: 1px solid #c2ccbc !important; /* Unified visible border */
    border-radius: 12px !important;
    padding: 18px !important;
    min-height: 56px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-color: #ffffff !important;
    font-size: 15px !important;
    color: #1a2e12 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
}

/* Specific fix for Note Textarea to match */
.woocommerce-checkout .wc-block-components-textarea textarea {
    padding-top: 20px !important;
    line-height: 1.5 !important;
}

/* 2. Floating Labels - "Cut-Through" look sitting on border */
.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-text-input__label,
.woocommerce-checkout .wc-blocks-components-select__label,
.woocommerce-checkout .wc-block-components-textarea__label {
    position: absolute !important;
    top: -11px !important;
    left: 14px !important;
    background: #ffffff !important;
    padding: 2px 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #6DB33E !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    z-index: 10 !important;
    transform: none !important;
    line-height: 1 !important;
}

/* 3. Focus States (Amasco Glow) */
.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-textarea textarea:focus,
.woocommerce-checkout .wc-blocks-components-select__select:focus {
    border-color: #6DB33E !important;
    box-shadow: 0 0 0 4px rgba(109, 179, 62, 0.15) !important;
    outline: none !important;
}

/* 4. Payment Options: Premium Discrete Cards */
.woocommerce-checkout .wc-block-checkout__payment-method {
    border: none !important;
    background: transparent !important;
    margin-top: 30px !important;
}

/* Each payment method as a standalone clean card */
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option,
.woocommerce-checkout .wc-block-checkout__payment-method-option {
    background: #ffffff !important;
    border: 1px solid #e2e8df !important;
    border-radius: 16px !important;
    padding: 25px !important;
    margin-bottom: 15px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
    cursor: pointer !important;
    display: block !important;
}

/* Remove default Gutenberg internal lines/borders */
.woocommerce-checkout .wc-block-checkout__payment-method * {
    border-color: transparent !important;
}

/* Selected Payment Method Style */
.woocommerce-checkout .wc-block-checkout__payment-method-option--selected,
.woocommerce-checkout .wc-block-components-radio-control-accordion-option[data-state="open"] {
    border-color: #6DB33E !important;
    background: #fcfdfb !important;
    box-shadow: 0 8px 25px rgba(109, 179, 62, 0.08) !important;
    border-left: 8px solid #6DB33E !important;
}

/* Label inside payment option */
.woocommerce-checkout .wc-block-components-radio-control__label {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #1a2e12 !important;
    border: none !important;
}

/* 5. Order Summary: High Visibility Premium Card */
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 35px !important;
    border: 1px solid #ced6ca !important;
    box-shadow: 0 20px 50px rgba(26, 46, 18, 0.12) !important;
}

/* 6. Primary Action (Place Order) */
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    background-color: #6DB33E !important;
    color: #ffffff !important;
    border-radius: 60px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 20px 50px !important;
    font-size: 16px !important;
    letter-spacing: 2px !important;
    box-shadow: 0 10px 25px rgba(109, 179, 62, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background-color: #1a2e12 !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(26, 46, 18, 0.35) !important;
}

/* 7. Checkbox / Note Toggle styling */
.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input {
    accent-color: #6DB33E !important;
}

/* ==========================================================================
   AMASCO-THANKYOU-PREMIUM-1.1: Refined Layout & Grid
   ========================================================================== */

/* 1. Main Container & Typography */
.woocommerce-order {
    max-width: 1140px !important;
    margin: 50px auto !important;
    color: #1a2e12 !important;
}

.woocommerce-notice--success {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #6DB33E !important;
    text-align: center !important;
    padding: 40px !important;
    background: #fdfefd !important;
    border-radius: 24px !important;
    border: 2px dashed #e2e8df !important;
    margin-bottom: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    box-shadow: 0 10px 30px rgba(109, 179, 62, 0.05) !important;
}

.woocommerce-notice--success::before {
    content: "✓" !important;
    background: #6DB33E !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    box-shadow: 0 5px 15px rgba(109, 179, 62, 0.3) !important;
}

/* 2. Order Info Bar (Refined 2-Top, 3-Bottom Grid) */
ul.woocommerce-thankyou-order-details::before,
ul.woocommerce-thankyou-order-details::after {
    display: none !important;
    content: none !important;
}

ul.woocommerce-thankyou-order-details {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 60px 0 !important;
}

ul.woocommerce-thankyou-order-details li {
    background: #ffffff !important;
    border: 1px solid #eef2ed !important;
    border-radius: 20px !important;
    padding: 25px 20px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02) !important;
    text-align: center !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    font-weight: 700 !important;
    color: #8a9685 !important;
    border-top: 5px solid #6DB33E !important;
    transition: transform 0.3s ease !important;
    grid-column: span 2 !important; /* Default for bottom row (3 items) */
}

ul.woocommerce-thankyou-order-details li:nth-child(1),
ul.woocommerce-thankyou-order-details li:nth-child(2) {
    grid-column: span 3 !important; /* Top row (2 items) */
}

ul.woocommerce-thankyou-order-details li:hover {
    transform: translateY(-5px) !important;
}

ul.woocommerce-thankyou-order-details li strong {
    display: block !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #1a2e12 !important;
    margin-top: 10px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* 3. Order Details Table Styling (Premium) */
.woocommerce-order-details {
    margin-bottom: 70px !important;
}

.woocommerce-order-details__title, 
.woocommerce-column__title {
    font-size: 32px !important;
    font-weight: 900 !important;
    margin-bottom: 30px !important;
    color: #1a2e12 !important;
    letter-spacing: -0.5px !important;
}

.woocommerce-table--order-details {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    border: 1px solid #ced6ca !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 20px 60px rgba(26, 46, 18, 0.04) !important;
}

.woocommerce-table--order-details thead th {
    background: #f8faf7 !important;
    color: #6DB33E !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 25px !important;
    border-bottom: 2px solid #eef2ed !important;
}

.woocommerce-table--order-details td, 
.woocommerce-table--order-details th {
    padding: 25px !important;
    border-bottom: 1px solid #f1f6ef !important;
}

.woocommerce-table--order-details .product-name a {
    color: #1a2e12 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Footer of the table (Totals) with stronger presence */
.woocommerce-table--order-details tfoot tr th,
.woocommerce-table--order-details tfoot tr td {
    background: #ffffff !important;
    font-weight: 700 !important;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    background: #fcfdfb !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #1a2e12 !important;
    border-top: 2px solid #6DB33E !important;
}

/* 4. Customer Addresses (Modern Cards) */
.woocommerce-customer-details {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
}

.woocommerce-customer-details address {
    background: #ffffff !important;
    border: 1px solid #ced6ca !important;
    border-radius: 28px !important;
    padding: 40px !important;
    box-shadow: 0 25px 50px rgba(26, 46, 18, 0.08) !important;
    font-style: normal !important;
    line-height: 1.8 !important;
    color: #4a5a41 !important;
}

.woocommerce-customer-details address::before {
    content: "📍" !important;
    display: flex !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 15px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    margin-bottom: 25px !important;
    border: 1px solid #eef2ed !important;
    background: #fcfdfb !important;
}

/* 5. Custom CTA Section Styles */
.amasco-thankyou-cta {
    background: #fcfdfb !important;
    border: 2px solid #eef2ed !important;
    border-radius: 30px !important;
    padding: 50px !important;
    text-align: center !important;
    margin: 60px 0 !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03) !important;
}

.amasco-thankyou-cta .cta-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    margin-bottom: 25px !important;
    color: #1a2e12 !important;
}

.amasco-thankyou-cta .cta-buttons {
    display: flex !important;
    gap: 15px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.amasco-thankyou-cta .button {
    border-radius: 50px !important;
    padding: 15px 35px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.amasco-thankyou-cta .primary-cta {
    background: #6DB33E !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(109, 179, 62, 0.25) !important;
}

.amasco-thankyou-cta .secondary-cta {
    background: #1a2e12 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(26, 46, 18, 0.25) !important;
}

.amasco-thankyou-cta .button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1) !important;
    filter: brightness(1.1) !important;
}

/* 6. Breadcrumb Hiding logic */
.woocommerce-order-received .breadcrumb,
.woocommerce-order-received .breadcrumbs,
.woocommerce-order-received .elementor-widget-breadcrumbs,
.woocommerce-order-received .hide-on-thankyou {
    display: none !important;
}

/* ==========================================================================
   AMASCO-RESPONSIVENESS-UPGRADE-2.0
   ========================================================================== */

@media (max-width: 1140px) {
    .woocommerce-order {
        margin: 50px 30px !important;
    }
}

@media (max-width: 768px) {
    /* 1. Thank You Page Mobile Refinements */
    ul.woocommerce-thankyou-order-details {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    
    ul.woocommerce-thankyou-order-details li {
        grid-column: span 1 !important;
        padding: 20px 15px !important;
    }
    
    ul.woocommerce-thankyou-order-details li:nth-child(1),
    ul.woocommerce-thankyou-order-details li:nth-child(2) {
        grid-column: span 1 !important;
    }
    
    ul.woocommerce-thankyou-order-details li:last-child {
        grid-column: span 2 !important; 
    }

    .woocommerce-order-details {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 20px !important;
    }

    .woocommerce-table--order-details {
        min-width: 650px !important; /* Only if it's not mobile-stacked */
    }

    .amasco-thankyou-cta {
        padding: 40px 25px !important;
        border-radius: 24px !important;
    }

    .amasco-thankyou-cta .button {
        width: 100% !important;
        margin: 8px 0 !important;
    }

    /* 2. Checkout Premium Mobile Tweaks */
    .woocommerce-checkout .wc-block-components-checkout-place-order-button {
        width: 100% !important;
        letter-spacing: 1px !important;
        padding: 22px !important;
    }
    
    .woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
        padding: 20px !important;
        border-radius: 16px !important;
    }

    /* Fix for "Order Detail Table" responsiveness */
    .woocommerce-checkout .wc-block-components-order-summary,
    .woocommerce-checkout .wc-block-components-product-list,
    .woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table {
        display: block !important;
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    /* 3. Cart Page Stacking Layout - ULTIMATE CONTAINMENT (v3.5) */
    html, body {
        overflow-x: hidden !important;
        position: relative !important;
        width: 100% !important;
    }

    .amasco-cart-page,
    .amasco-cart-page .elementor-container,
    .amasco-cart-page .woocommerce {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    body.woocommerce-cart .amasco-cart-page table.shop_table.cart {
        display: block !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .amasco-cart-page table.shop_table.cart thead {
        display: none !important;
    }
    
    body.woocommerce-cart .amasco-cart-page table.shop_table.cart tr.cart_item {
        display: block !important;
        background: #ffffff !important;
        border-radius: 20px !important;
        border: 1px solid #ced6ca !important;
        padding: 40px 15px 15px !important;
        margin: 0 0 25px 0 !important;
        box-shadow: 0 15px 45px rgba(26, 46, 18, 0.05) !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    body.woocommerce-cart .amasco-cart-page table.shop_table.cart td {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 12px 0 !important;
        border: none !important;
        border-bottom: 1px solid #f1f6ef !important;
        text-align: right !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .amasco-cart-page table.shop_table.cart td:last-child {
        border-bottom: none !important;
    }
    
    body.woocommerce-cart .amasco-cart-page .product-thumbnail {
        display: block !important;
        text-align: center !important;
        border-bottom: 2px solid #f1f6ef !important;
        padding: 0 0 25px 0 !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }
    
    body.woocommerce-cart .amasco-cart-page .product-thumbnail img {
        width: 120px !important;
        height: auto !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
        margin: 0 auto !important;
    }
    
    body.woocommerce-cart .amasco-cart-page .product-name {
        display: block !important;
        font-size: 1.1rem !important;
        text-align: center !important;
        padding: 10px 0 20px 0 !important;
        font-weight: 800 !important;
        width: 100% !important;
    }

    body.woocommerce-cart .amasco-cart-page tr.cart_item .product-remove {
        position: absolute !important;
        top: 15px !important;
        left: 15px !important;
        right: auto !important;
        width: 32px !important;
        height: 32px !important;
        background: #ffffff !important;
        border: 1px solid #eef2ed !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
        padding: 0 !important;
        z-index: 10 !important;
    }

    /* Fixed Ratio (40/60) Grid for Labels & Values */
    body.woocommerce-cart .amasco-cart-page td[data-title]::before {
        content: attr(data-title) ":" !important;
        font-weight: 800 !important;
        color: #1a2e12 !important;
        text-transform: uppercase !important;
        font-size: 10px !important;
        letter-spacing: 0.8px !important;
        flex: 0 0 40% !important;
        text-align: left !important;
        display: inline-block !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .amasco-cart-page td > * {
        flex: 1 !important;
        min-width: 0 !important;
        text-align: right !important;
        word-break: break-word !important;
    }

    /* Quantity input narrowing */
    body.woocommerce-cart .amasco-cart-page td.product-quantity .quantity input {
        max-width: 60px !important;
        height: 40px !important;
        margin-left: auto !important;
        padding: 0 5px !important;
        text-align: center !important;
    }

    /* Overrides for cleaner cards */
    body.woocommerce-cart .amasco-cart-page .product-thumbnail::before,
    body.woocommerce-cart .amasco-cart-page .product-remove::before,
    body.woocommerce-cart .amasco-cart-page .product-name::before {
        display: none !important;
    }

    /* Actions row (Update Cart) */
    body.woocommerce-cart .amasco-cart-page .actions {
        display: block !important;
        padding: 20px 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    body.woocommerce-cart .amasco-cart-page .actions .button {
        width: 100% !important;
        padding: 22px !important;
        font-size: 16px !important;
        letter-spacing: 1px !important;
        box-sizing: border-box !important;
        border-radius: 60px !important;
    }
    
    /* 4. Thank You Cards Stack full on tiny screens */
    ul.woocommerce-thankyou-order-details {
        grid-template-columns: 1fr !important;
    }
    ul.woocommerce-thankyou-order-details li {
        grid-column: span 1 !important;
    }
    ul.woocommerce-thankyou-order-details li:last-child {
        grid-column: span 1 !important;
    }

    /* 5. Thank You Order Details Table Stacking */
    .woocommerce-table--order-details {
        min-width: 0 !important; /* Remove min-width to allow stacking */
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .woocommerce-table--order-details,
    .woocommerce-table--order-details thead,
    .woocommerce-table--order-details tbody,
    .woocommerce-table--order-details tfoot,
    .woocommerce-table--order-details tr,
    .woocommerce-table--order-details th,
    .woocommerce-table--order-details td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .woocommerce-table--order-details thead {
        display: none !important;
    }

    .woocommerce-table--order-details tr {
        background: #ffffff !important;
        border-radius: 20px !important;
        border: 1px solid #ced6ca !important;
        margin-bottom: 15px !important;
        padding: 15px 0 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    }

    .woocommerce-table--order-details th,
    .woocommerce-table--order-details td {
        padding: 8px 20px !important;
        text-align: left !important;
        border: none !important;
    }

    .woocommerce-table--order-details td.product-name::before {
        content: "Product" !important;
        display: block !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        color: #6DB33E !important;
        text-transform: uppercase !important;
        margin-bottom: 5px !important;
    }

    /* Total row in footer gets special styling */
    .woocommerce-table--order-details tfoot tr:last-child {
        background: #fdfefd !important;
        border-top: 5px solid #6DB33E !important;
        margin-top: 10px !important;
        padding: 25px 0 !important;
    }

    .woocommerce-order-details__title, .woocommerce-column__title {
        font-size: 24px !important;
        text-align: center !important;
    }
}
