/*
Theme Name: Umai Bento
Theme URI: https://umainatural.com
Author: Dominic
Author URI: https://www.linkedin.com/in/dominic-tanui-software-developer/
Description: A high-end WooCommerce theme for Umai Bento.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umai-bento
Tags: e-commerce, food-and-drink, elementor, woocommerce
*/

/* 
Global Styles 
All assets are enqueued via inc/core/enqueue.php
*/

/* ================= Mobile Responsive Fixes ================= */

/* Hero / Banner Section */
@media (max-width: 991px) {
    .banner-slider__inner {
        flex-direction: column-reverse;
        text-align: center;
        padding-bottom: 40px;
    }

    .banner-item__content {
        max-width: 100%;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .banner-item__title {
        font-size: 32px;
        line-height: 1.2;
    }

    .banner-item__thumb {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .banner-item__thumb img {
        max-width: 80%;
        height: auto;
    }

    .banner .slick-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .banner-item__title {
        font-size: 24px;
    }

    .banner-item .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Mobile Menu Fixes */
.mobile-menu {
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.side-overlay {
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.side-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Footer Layout Fixes */
.footer-item-wrapper {
    justify-content: space-between;
}

.footer-item {
    flex: 1;
    min-width: 200px;
    /* Ensure columns don't get too squashed */
    margin-bottom: 30px;
}

/* Ensure mobile stacking */
@media (max-width: 991px) {
    .footer-item {
        flex: 0 0 50%;
        /* 2 columns on tablet */
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .footer-item {
        flex: 0 0 100%;
        /* 1 column on mobile */
        max-width: 100%;
    }
}

/* ================= Mindblowing Footer Styles ================= */

/* CSS Variables for Footer */
:root {
    --footer-bg: #2a6902;
    --footer-text: #f3f4f6;
    --footer-heading: #ffffff;
    --footer-primary: #ff6e1e;
    /* Brand Orange */
    --footer-primary-hover: #e65a00;
}

/* Utilities if not present */
.bg-neutral-900 {
    background-color: var(--footer-bg) !important;
}

.text-neutral-300 {
    color: var(--footer-text) !important;
}

.text-neutral-400 {
    color: #f3f4f6 !important;
}

.text-white {
    color: #ffffff !important;
}

/* Wrapper & Layout */
.mindblowing-footer-wrapper {
    position: relative;
    width: 100%;
    background-color: var(--footer-bg);
}

.footer {
    position: relative;
    z-index: 1;
    background-color: var(--footer-bg) !important;
}

/* Newsletter Section - Glassmorphism & Floating */
.mindblowing-newsletter {
    position: relative;
    z-index: 10;
    margin-bottom: -60px;
    /* Overlap effect */
    background-color: transparent !important;
}

.mindblowing-newsletter .container {
    pointer-events: auto;
}

.newsletter-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bg-white-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.mindblowing-newsletter h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Form Styles */
.newsletter-form .input-group {
    background: #ffffff;
    padding: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.newsletter-form .input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 110, 30, 0.2);
    border-color: var(--footer-primary);
}

.btn-main {
    background-color: var(--footer-primary) !important;
    color: white !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-main:hover {
    background-color: var(--footer-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 110, 30, 0.3);
}

/* Animation */
.floating-animation {
    animation: float-y 6s ease-in-out infinite;
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Widget Areas */
.footer-widget-title {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 24px;
    height: 3px;
    background-color: var(--footer-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-widget:hover .footer-widget-title::after {
    width: 48px;
}

.footer-links li a {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--footer-primary) !important;
    transform: translateX(8px);
}

/* Contact List */
.contact-list li i {
    transition: all 0.3s ease;
}

.contact-list li:hover i {
    transform: scale(1.2);
    color: var(--footer-heading);
}

/* Store Buttons */
.store-btn img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.store-btn:hover img {
    transform: translateY(-4px);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .mindblowing-newsletter {
        margin-bottom: 0;
        padding-bottom: 40px;
    }

    .footer {
        padding-top: 40px;
    }
}


/* ================= Footer Refinements ================= */

/* Force all widget text in footer to be white and bold as requested */
.footer-widget,
.footer-widget h1,
.footer-widget h2,
.footer-widget h3,
.footer-widget h4,
.footer-widget h5,
.footer-widget h6,
.footer-widget p,
.footer-widget li,
.footer-widget a {
    color: #ffffff !important;
    font-weight: 700 !important;
    /* Bold */
}

/* Specific fix for WP Widgets like Categories/Archives */
.footer-widget ul li a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.footer-widget-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    /* Extra bold for titles */
}

/* Ensure hover states are still visible but keep bold */
.footer-widget a:hover {
    color: var(--footer-primary) !important;
}


/* Partner Section Styling */
.footer-partners {
    overflow: hidden;
}

.partner-text-logo {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
    background: rgba(255, 255, 255, 0.03);
}

.partner-item:hover .partner-text-logo,
.partner-item:hover .partner-img {
    transform: scale(1.05);
}

.partner-item:hover .partner-text-logo {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--footer-primary);
    color: var(--footer-primary) !important;
}

/* Fix for Quantity Selector visibility if needed */
.quantity__input {
    appearance: none;
    -moz-appearance: textfield;
}

.quantity__input::-webkit-outer-spin-button,
.quantity__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Mindblowing Product Gallery Redesign */
.product-details__thumb-slider {
    padding: 15px !important;
    /* Significant reduction from clamp(3rem, ...) */
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 20px !important;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    cursor: zoom-in;
}

.product-details__thumb {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 450px !important;
    /* Reduced height for a more compact look */
}

.product-details__thumb-slider .slick-slide img {
    border-radius: 12px;
}

/* Glassmorphic Thumbnails */
.product-details__images-slider .slick-slide>div {
    padding: 10px;
}

.product-details__images-slider .flex-center.border {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 4px !important;
}

.product-details__images-slider .slick-slide.slick-current .flex-center.border {
    border-color: #ff6e1e !important;
    /* Brand Orange */
    box-shadow: 0 0 20px rgba(255, 110, 30, 0.2);
    transform: translateY(-5px);
}

.product-details__images-slider .flex-center.border:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 110, 30, 0.3) !important;
}

.object-fit-cover {
    object-fit: cover !important;
}

/* Archive Product Image Refinement */
.product-card__thumb {
    overflow: hidden !important;
    height: 280px !important;
    /* Slightly larger height for a better look */
}

.product-card__thumb img {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.product-card:hover .product-card__thumb img {
    transform: scale(1.1) !important;
}

/* Mindblowing Summary Redesign */
.btn-whatsapp-premium {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    filter: brightness(1.1);
}

.btn-main-premium {
    background: linear-gradient(135deg, #ff6e1e 0%, #e65a00 100%);
    color: #fff !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(255, 110, 30, 0.3);
}

.btn-main-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 110, 30, 0.4);
    filter: brightness(1.05);
}

.btn-main-premium.loading,
.btn-whatsapp-premium.loading,
.product-card__cart.loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
}

.btn-main-premium.loading::after,
.btn-whatsapp-premium.loading::after,
.product-card__cart.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--main-600);
    animation: umai-spin 0.8s linear infinite;
}

/* If button has colored background, use white spinner */
.product-card__cart.loading {
    background-color: #f8f9fa !important;
    /* Keep it light while loading */
}

@keyframes umai-spin {
    to {
        transform: rotate(360deg);
    }
}

.product-details__quantity-pill input::-webkit-outer-spin-button,
.product-details__quantity-pill input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.product-details__quantity-pill input[type=number] {
    -moz-appearance: textfield;
    appearance: none;
}

.product-summary__actions-box {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.product-details__header-redesign .bg-main-50 {
    background-color: rgba(42, 105, 2, 0.08) !important;
}

.product-details__name {
    color: #1a1a1a;
    line-height: 1.1;
}

/* Premium Zoom Modal */
.umai-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.umai-zoom-modal.show {
    display: flex;
    opacity: 1;
}

.umai-zoom-content {
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.umai-zoom-modal.show .umai-zoom-content {
    transform: scale(1);
}

.umai-zoom-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.umai-zoom-close:hover {
    background: #ff6e1e;
    transform: rotate(90deg);
}

/* Custom Toast Styling */
.umai-toast-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.umai-toast {
    background: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 450px;
    /* Increased width */
    max-width: 90vw;
}

.umai-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.umai-toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.umai-toast-success .umai-toast-icon {
    background: #ff6e1e;
    color: #fff;
}

.umai-toast-error .umai-toast-icon {
    background: #dc3545;
    color: #fff;
}

.umai-toast-content {
    display: flex;
    flex-direction: column;
}

.umai-toast-title {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.2;
}

.umai-toast-message {
    font-size: 13px;
    color: #666;
    line-height: 1.2;
}

.umai-toast-cart-link {
    margin-top: 8px;
    display: inline-block;
    padding: 6px 16px;
    background: #ff6e1e;
    color: #fff !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.umai-toast-cart-link:hover {
    background: #e65d10;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 110, 30, 0.2);
}

.umai-toast-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 18px;
}

.umai-toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #ff6e1e;
}

/* Ensure padding accounts for the close button */
.umai-toast {
    padding-right: 50px !important;
}

/* ==========================================
   CLASSIC & WOW REFINED CHECKOUT
   ========================================== */

/* Layout & Container */
/* Layout & Container - Fixed Scope to prevent affecting Header/Footer */
form.woocommerce-checkout {
    max-width: 1200px !important;
    margin: 30px auto !important;
    gap: 30px !important;
}

/* Scoped to avoid affecting Header/Footer */
form.woocommerce-checkout {
    max-width: 100%;
}

/* NAIROBI / COUNTRYWIDE MODE: Hide standard shipping list, show only selected */
form.woocommerce-checkout.umai-nairobi-mode ul#shipping_method,
form.woocommerce-checkout.umai-countrywide-mode ul#shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
}

form.woocommerce-checkout.umai-nairobi-mode ul#shipping_method li,
form.woocommerce-checkout.umai-countrywide-mode ul#shipping_method li {
    display: none !important;
    /* Hide all by default */
}

form.woocommerce-checkout.umai-nairobi-mode ul#shipping_method li.active-rate,
form.woocommerce-checkout.umai-countrywide-mode ul#shipping_method li.active-rate {
    display: block !important;
    /* Show only the active one */
    font-weight: 700;
    color: var(--checkout-success);
}

/* Hide the radio button itself in this mode for a clean text-only look */
form.woocommerce-checkout.umai-nairobi-mode ul#shipping_method li.active-rate input[type="radio"],
form.woocommerce-checkout.umai-countrywide-mode ul#shipping_method li.active-rate input[type="radio"] {
    display: none;
}

form.woocommerce-checkout.umai-nairobi-mode ul#shipping_method li.active-rate label,
form.woocommerce-checkout.umai-countrywide-mode ul#shipping_method li.active-rate label {
    margin-left: 0;
    padding-left: 0;
}

/* Hide standard shipping list when doing Nairobi logic (JS toggles this, but good to have utility) */
.umai-hide-shipping {
    display: none !important;
}

/* Universal Purple/Blue Override for Brand Consistency */
[class*="purple"],
[class*="blue"],
.bg-main-600,
.wc-block-checkout__progress-bar-step--active::before {
    background-color: #ff6e1e !important;
    color: #fff !important;
}

.text-main-600,
.purple-text,
.wc-block-checkout__progress-bar-step--active {
    color: #ff6e1e !important;
}

/* Sections / Steps */
.umai-checkout-step {
    background: #fff !important;
    border: 1px solid #e1e8ed !important;
    /* Elegant light border */
    border-radius: 4px !important;
    /* Tighter corners */
    margin-bottom: 24px !important;
    box-shadow: none !important;
    /* Remove heavy shadows */
}

.umai-checkout-step-header {
    padding: 15px 20px !important;
    background: #f8f9fa !important;
    border-bottom: 1px solid #e1e8ed !important;
}

.umai-checkout-step-header h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    color: #333 !important;
}

.step-num-wrap {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
    background: #ccc !important;
    /* Default Gray */
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Form Fields - 2 COLUMNS */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
}

.form-row {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 10px 15px 10px !important;
    margin: 0 !important;
}

.form-row-first,
.form-row-last,
.address-field.form-row-first,
.address-field.form-row-last {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    margin: 0 -10px !important;
}

.form-row-wide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Inputs Refinement */
.wc-block-components-text-input input,
.wc-block-components-combobox-control input,
select.common-input,
.form-row input.input-text,
.form-row select {
    height: 44px !important;
    /* More classic height */
    padding: 10px 12px !important;
    font-size: 14px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    transition: border-color 0.2s ease !important;
}

.form-row input.input-text:focus {
    border-color: #ff6e1e !important;
    outline: none !important;
}

/* Sidebar Order Summary */
.wc-block-components-order-summary,
.order-summary-box {
    background: #fff !important;
    border: 1px solid #e1e8ed !important;
    border-radius: 4px !important;
    padding: 20px !important;
    box-shadow: none !important;
}

.wc-block-components-order-summary-item,
.cart_item {
    border-bottom: 1px solid #f1f3f5 !important;
    padding: 10px 0 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.order-total .amount {
    color: #2a6902 !important;
    /* Green for total */
    font-size: 22px !important;
    font-weight: 700 !important;
}

/* Buttons Refinement */
#place_order,
.btn-confirm-step,
.wc-block-components-button:not(.is-link) {
    background: #ff6e1e !important;
    color: #fff !important;
    height: 48px !important;
    padding: 0 25px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: none !important;
    transition: background 0.3s ease !important;
}

#place_order:hover,
.btn-confirm-step:hover {
    background: #e65d10 !important;
}

/* Step Content */
.umai-checkout-step-content {
    padding: 20px !important;
}

.step-summary-placeholder {
    padding: 0 20px 15px 20px !important;
    font-size: 13px !important;
    color: #6c757d !important;
}

/* Status Colors */
.umai-checkout-step.step-completed .umai-checkout-step-header h4 {
    color: #2a6902 !important;
}

.umai-checkout-step.step-active {
    border-color: #ff6e1e !important;
}

/* Nairobi Fields Tweak */
.umai-nairobi-field label {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
}

.umai-nairobi-field select {
    border: 1px solid #ff6e1e !important;
    height: 44px !important;
}

/* Hide unnecessary success notices on checkout page */
.woocommerce-checkout .woocommerce-message {
    display: none !important;
}

/* Fix Footer Widget Menu Colors */
.site-footer a,
.footer-widget a,
.footer-widget-item a,
.widget_nav_menu a,
footer ul li a {
    color: #ffffff !important;
    text-decoration: none;
}

.site-footer a:hover,
.footer-widget a:hover,
.footer-widget-item a:hover,
.widget_nav_menu a:hover,
footer ul li a:hover {
    color: #ff6e1e !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* ==========================================
   FIX PRODUCT PAGE REGRESSION (Image & Buttons)
   ========================================== */

/* 1. Image Sizing: Full & Fit */
.woocommerce-product-gallery__image img,
.product-details__thumb img {
    /* Using contain to ensure the full product is visible inside the container */
    object-fit: contain !important;
    border-radius: 12px !important;
    /* Ensure it fills the width of the container but respects aspect ratio */
    width: 100% !important;
    height: auto !important;
    max-height: 600px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Ensure wrapper doesn't constrain it awkwardly */
.woocommerce-product-gallery__wrapper {
    max-width: 100% !important;
}

/* 2. Restore Button Colors (Add to Cart & WhatsApp) */
.single_add_to_cart_button,
button.single_add_to_cart_button,
.btn-main-premium {
    background: linear-gradient(135deg, #ff6e1e 0%, #e65a00 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(255, 110, 30, 0.3) !important;
    transition: all 0.3s ease !important;
    padding: 12px 32px !important;
    /* Generous padding */
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 160px !important;
}

.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
.btn-main-premium:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(255, 110, 30, 0.4) !important;
    filter: brightness(1.05) !important;
    background-color: #ff6e1e !important;
    /* Fallback */
}

/* WhatsApp Button Specific Gradient */
.btn-whatsapp-premium {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #fff !important;
}

.btn-whatsapp-premium:hover {
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3) !important;
}

.btn-whatsapp-premium i {
    color: #fff !important;
}

/* Prevent themes from making text invisible */
.single_add_to_cart_button:visited,
.btn-main-premium:visited,
.btn-whatsapp-premium:visited {
    color: #ffffff !important;
}