/*
Theme Name: AGJY Luxury
Description: Custom Premium Theme for AGJY Luxury Jewelry
Author: Antigravity AI (Desarrollador WP Pro)
Version: 1.0.0
Text Domain: agjy-luxury
*/

/* ==========================================================================
   SITE WRAPPER
   Accounts for WordPress admin bar height (32px desktop / 46px mobile)
   when logged in. Uses body class .logged-in added by WP core.
   ========================================================================== */
.site-wrapper {
    min-height: 100vh;
    overflow: clip;
    /* Fix flex-overflow jump bugs in Safari/Chrome */
}

.logged-in .site-wrapper {
    min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    .logged-in .site-wrapper {
        min-height: calc(100vh - 46px);
    }
}

/* ==========================================================================
   GLOBAL FORCED COLORS (Overrides browser defaults like blue/orange selections)
   ========================================================================== */
::selection {
    background-color: #eead2b !important;
    color: #111111 !important;
}

::-moz-selection {
    background-color: #eead2b !important;
    color: #111111 !important;
}

*:focus {
    outline-color: #eead2b !important;
}

input:focus,
textarea:focus {
    border-color: #eead2b !important;
    box-shadow: 0 0 0 1px #eead2b !important;
}

/* Utility to force fill on Material Symbols */
.symbol-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}



/* Custom Utilities for Glassmorphism & Gradients */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-gradient {
    background: radial-gradient(circle at center, #483c23 0%, #221c10 60%, #15110a 100%);
}

.gold-glow {
    box-shadow: 0 0 40px -10px rgba(238, 173, 43, 0.3);
}

.text-gradient-gold {
    background: linear-gradient(to right, #ffffff, #eead2b, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

/* Extra custom animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    100% {
        background-position: 200% center;
        left: 125%;
        /* For button shine effect */
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   WOOCOMMERCE LOADING & PROCESSING (Premium Dark Minimalist)
   ========================================================================== */

/* The Background Overlay */
.blockUI.blockOverlay {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    opacity: 1 !important;
    z-index: 1000 !important;
}

/* The Spinner Container (Hide default text/image) */
html body .blockUI.blockMsg {
    background: transparent !important;
    border: none !important;
    width: 60px !important;
    height: 60px !important;
    top: 50% !important;
    left: 50% !important;
    margin: -30px 0 0 -30px !important;
    /* Proper centering */
    text-indent: -9999px !important;
    overflow: visible !important;
    color: transparent !important;
}

/* Hide any images or other children inside blockMsg */
html body .blockUI.blockMsg *,
html body .blockUI.blockMsg::before,
html body .blockUI.blockMsg::after {
    display: none !important;
}

/* The Modern Minimalist Spinner - Using a separate selector to avoid self-hiding */
html body .blockUI.blockMsg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .blockUI.blockMsg::before {
    content: "" !important;
    display: block !important;
    text-indent: 0 !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 40px !important;
    height: 40px !important;
    border: 3px solid rgba(238, 173, 43, 0.1) !important;
    border-top: 3px solid #eead2b !important;
    border-radius: 50% !important;
    animation: spin 0.8s linear infinite !important;
    box-shadow: 0 0 15px rgba(238, 173, 43, 0.2) !important;
    z-index: 9999 !important;
}

/* Specific fix for WooCommerce default spin icon which uses dashicons */
html body .woocommerce .blockUI.blockMsg::before,
html body .woocommerce-cart .blockUI.blockMsg::before,
html body .woocommerce-checkout .blockUI.blockMsg::before {
    font-family: none !important;
    background-image: none !important;
}

/* Adjustments for buttons in processing state */
.woocommerce .button.processing,
.woocommerce .button.loading {
    color: transparent !important;
}

.woocommerce .button.processing::after,
.woocommerce .button.loading::after {
    color: #eead2b !important;
    background: none !important;
    font-size: 1.25rem !important;
    top: 50% !important;
    left: 50% !important;
    margin-top: -0.625rem !important;
    margin-left: -0.625rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    border: 2px solid rgba(238, 173, 43, 0.2) !important;
    border-top-color: #eead2b !important;
    border-radius: 50% !important;
    animation: spin 0.6s linear infinite !important;
    content: "" !important;
    display: block !important;
    position: absolute !important;
}

/* ==========================================================================
   WOOCOMMERCE OVERRIDES (PREMIUM DARK THEME)
   ========================================================================== */

/* Grid and Layout */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 2rem !important;
    margin: 0 !important;
}

@media (min-width: 640px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 2.5rem !important;
    }
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
}

/* Effect required for Stitch Product card Hover Add to Cart Button */
.product-card-hover:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Base Price styling to ensure it inherits our new text structure */
.custom-price-format ins,
.custom-price-format .amount {
    background: transparent !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

.custom-price-format del,
.custom-price-format del .amount {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.875rem !important;
    margin-right: 0.5rem;
}

/* Remove default WooCommerce margin for images since we handle it now with aspect-ratio */
.woocommerce ul.products li.product img {
    margin: 0 !important;
}

/* ==========================================================================
   FIX TAILWIND & WOOCOMMERCE GRID CONFLICT
   WooCommerce uses class .columns-4, which triggers Tailwind CSS columns (for text blocks!).
   We override this and use actual CSS Grid instead.
   ========================================================================== */
.woocommerce ul.products {
    columns: auto !important;
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 2rem !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 2.5rem !important;
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 3rem !important;
    }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
    float: none !important;
}

/* ==========================================================================
   GLOBAL SELECT STYLES (Overrides browser defaults)
   ========================================================================== */
select {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem 2.5rem 0.5rem 1rem !important;
    font-family: 'Manrope', sans-serif !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eead2b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.1em !important;
    transition: all 0.3s ease;
}

select:focus {
    outline: none !important;
    border-color: #eead2b !important;
    box-shadow: 0 0 0 1px #eead2b !important;
}

select option {
    background-color: #221c10 !important;
    color: #ffffff !important;
}

/* Custom CSS for breadcrumb state */
.wcbreadcrumb-custom {
    color: #ffffff !important;
    /* The active/current page text */
}

.wcbreadcrumb-custom a {
    color: rgba(255, 255, 255, 0.4) !important;
    transition: color 0.3s ease;
}

.wcbreadcrumb-custom a:hover {
    color: #eead2b !important;
}

/* ==========================================================================
   WooCommerce Default Overrides (Clean)
   Our theme provides empty overrides of wrapper-start.php, wrapper-end.php
   and sidebar.php in woocommerce/global/ to prevent default wrappers.
   These are minimal CSS resets for any remaining WooCommerce defaults.
   ========================================================================== */

/* Hide WooCommerce's default breadcrumb — we render our own in archive-product.php */
.woocommerce nav.woocommerce-breadcrumb {
    display: none;
}

/* Hide WooCommerce sale badge — we style our own in content-product.php */
.woocommerce span.onsale {
    display: none;
}

/* ==========================================================================
   AJAX ADD TO CART SUCCESS ("Ver Carrito" link)
   ========================================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a.added_to_cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #eead2b !important;
    background: rgba(238, 173, 43, 0.05);
    border: 1px solid rgba(238, 173, 43, 0.2);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    animation: fadeInDown 0.4s ease-out forwards;
}

a.added_to_cart:hover {
    background: rgba(238, 173, 43, 0.15);
    border-color: rgba(238, 173, 43, 0.4);
    text-shadow: 0 0 10px rgba(238, 173, 43, 0.3);
}

/* ==========================================================================
   SINGLE PRODUCT WOOCOMMERCE OVERRIDES (Dark Luxury)
   ========================================================================== */

/* Add to Cart button logic */
.single-product-add-to-cart-wrapper form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-start;
}

.single-product-add-to-cart-wrapper .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    justify-content: flex-start !important;
    width: 100%;
    margin-top: 1rem;
}

.single-product-add-to-cart-wrapper button.single_add_to_cart_button {
    flex-grow: 1;
    background: linear-gradient(to right, #eead2b, #d89b25) !important;
    color: #221c10 !important;
    font-weight: 800 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 1.25rem !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 0 20px rgba(238, 173, 43, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.single-product-add-to-cart-wrapper button.single_add_to_cart_button:hover {
    box-shadow: 0 0 40px rgba(238, 173, 43, 0.5) !important;
    transform: translateY(-2px);
}

.single-product-add-to-cart-wrapper button.single_add_to_cart_button::after {
    content: 'arrow_forward';
    font-family: 'Material Symbols Outlined';
    margin-left: 0.75rem;
    font-size: 16px;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.single-product-add-to-cart-wrapper button.single_add_to_cart_button:hover::after {
    transform: translateX(4px);
}

.custom-single-price .price {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.1;
}

.custom-single-price .price .amount {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
}

.custom-single-price .price del,
.custom-single-price .price del .amount {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-right: 0;
    font-weight: 300 !important;
}

.custom-single-price .price ins,
.custom-single-price .price ins .amount {
    text-decoration: none !important;
    font-size: 2.5rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;
}

/* Quantity input UI Replacement */
.single-product-add-to-cart-wrapper .quantity {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    float: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
}

.single-product-add-to-cart-wrapper .quantity button {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.25rem !important;
    width: 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s;
}

.single-product-add-to-cart-wrapper .quantity button:hover {
    color: #eead2b !important;
}

.single-product-add-to-cart-wrapper .quantity input.qty {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 0.5rem 0 !important;
    width: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    appearance: textfield;
    -moz-appearance: textfield;
}

/* Hide native arrows */
.single-product-add-to-cart-wrapper .quantity input.qty::-webkit-outer-spin-button,
.single-product-add-to-cart-wrapper .quantity input.qty::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.single-product-add-to-cart-wrapper table.variations {
    width: 100%;
    margin-bottom: 1.5rem;
}

.single-product-add-to-cart-wrapper table.variations td.label {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    padding-bottom: 0.5rem;
}

.single-product-add-to-cart-wrapper table.variations td.value {
    padding-bottom: 1.5rem;
}

.single-product-add-to-cart-wrapper table.variations select {
    width: 100%;
}

.reset_variations {
    color: #eead2b;
    font-size: 0.75rem;
    margin-left: 1rem;
}

/* Product Tabs Styling - Customized for AGJY Tailwind Override */
.single-product-tabs .woocommerce-tabs ul.tabs,
.single-product-tabs .woocommerce-tabs ul.tabs li,
.single-product-tabs .woocommerce-tabs ul.tabs li a {
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

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

.single-product-tabs .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
}

.single-product-tabs .woocommerce-tabs ul.tabs li a {
    color: rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
    border: none !important;
    padding: 1rem 0 !important;
    display: inline-block !important;
}

/* Hover state */
.single-product-tabs .woocommerce-tabs ul.tabs li a:hover {
    color: #ffffff !important;
}

/* Active state */
.single-product-tabs .woocommerce-tabs ul.tabs li.active a {
    color: #eead2b !important;
}

/* The active underline / border */
.single-product-tabs .woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eead2b;
    display: block !important;
}

/* Viewport Full-Width Breakout */
.full-width-section {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.single-product-tabs .woocommerce-Tabs-panel,
.agjy-short-description {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.8;
    max-width: 100%;
}

.single-product-tabs .woocommerce-Tabs-panel>h2:first-child {
    display: none;
    /* Hide default woo root heading */
}

.single-product-tabs .woocommerce-Tabs-panel p,
.agjy-short-description p {
    margin-bottom: 1.5rem;
}

.single-product-tabs .woocommerce-Tabs-panel p:last-child,
.agjy-short-description p:last-child {
    margin-bottom: 0;
}

.single-product-tabs .woocommerce-Tabs-panel ul,
.agjy-short-description ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.single-product-tabs .woocommerce-Tabs-panel li,
.agjy-short-description li {
    margin-bottom: 0.5rem;
}

.single-product-tabs .woocommerce-Tabs-panel h1,
.single-product-tabs .woocommerce-Tabs-panel h2,
.single-product-tabs .woocommerce-Tabs-panel h3,
.single-product-tabs .woocommerce-Tabs-panel h4,
.agjy-short-description h1,
.agjy-short-description h2,
.agjy-short-description h3,
.agjy-short-description h4 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.single-product-tabs .woocommerce-Tabs-panel h2,
.agjy-short-description h2 {
    font-size: 1.5rem;
}

.single-product-tabs .woocommerce-Tabs-panel h3,
.agjy-short-description h3 {
    font-size: 1.25rem;
}

.single-product-tabs .woocommerce-Tabs-panel strong,
.single-product-tabs .woocommerce-Tabs-panel b,
.agjy-short-description strong,
.agjy-short-description b {
    color: #ffffff;
    font-weight: 600;
}

/* Review styling inside tab - Premium Dark UI */
#reviews h2 {
    display: block !important;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

#reviews #comments ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#reviews #comments ol.commentlist li {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem !important;
    /* Forces padding to avoid WooCommerce default stripping */
    margin: 0 !important;
    /* Removes default woo margins causing clipping */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    /* Optional: Ensure no other background styles override */
    box-shadow: none;
}

#reviews #comments ol.commentlist li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(238, 173, 43, 0.3);
    box-shadow: 0 10px 30px -10px rgba(238, 173, 43, 0.15);
    transform: translateY(-2px);
}

/* Hide WooCommerce native avatar absolute positioning or padding weirdness if any exists */
#reviews #comments ol.commentlist li .comment-text {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Optional subtle golden gradient line at top */
#reviews #comments ol.commentlist li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238, 173, 43, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#reviews #comments ol.commentlist li:hover::before {
    opacity: 1;
}

/* Avatar and Meta Flex Layout */
#reviews #comments ol.commentlist li .comment_container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
    /* Resetting just in case */
    position: relative;
}

@media (min-width: 640px) {
    #reviews #comments ol.commentlist li .comment_container {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

#reviews #comments ol.commentlist li img.avatar {
    border-radius: 50%;
    float: none !important;
    /* Forcing absolute reset */
    position: static !important;
    /* Force reset WooCommerce native positioning */
    margin: 0 !important;
    /* Forcing margin reset */
    padding: 0 !important;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(238, 173, 43, 0.3);
    box-shadow: 0 0 15px rgba(238, 173, 43, 0.1);
    flex-shrink: 0;
    /* Prevents flex from squishing the image */
}

#reviews #comments ol.commentlist li .comment-text {
    flex-grow: 1;
}

/* Meta Data (Author & Date) */
#reviews #comments ol.commentlist li .meta {
    margin: 0 0 0.5rem 0 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-family: 'Manrope', sans-serif;
}

#reviews #comments ol.commentlist li .meta strong.woocommerce-review__author {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

#reviews #comments ol.commentlist li .meta .woocommerce-review__dash {
    color: rgba(255, 255, 255, 0.3);
}

#reviews #comments ol.commentlist li .meta time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    font-weight: 300;
}

/* Star Rating inside text (Using Material Symbols consistently) */
#reviews .star-rating,
.woocommerce .star-rating {
    float: none !important;
    margin-bottom: 1rem;
    font-size: 1.25rem !important;
    width: 6em !important;
    /* Material icons have slightly different width than 1em per icon sometimes, let's use letter-spacing */
    height: 1.25em !important;
    line-height: 1 !important;
    font-family: 'Material Symbols Outlined' !important;
    overflow: hidden;
    position: relative;
    letter-spacing: 0.2em !important;
    display: inline-block;
}

#reviews .star-rating::before,
.woocommerce .star-rating::before {
    content: '\e838\e838\e838\e838\e838' !important;
    /* Unicode para icono 'star' */
    color: rgba(255, 255, 255, 0.15) !important;
    /* Estrellas vacías de fondo */
    top: 0;
    left: 0;
    position: absolute;
    float: none;
    width: 6em !important;
    white-space: nowrap !important;
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}

#reviews .star-rating span,
.woocommerce .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 2em !important;
    /* Esconde el texto "5 out of 5" nativo */
    height: 0 !important;
    /* Fuerza a que el texto baje y desaparezca en overflow */
    color: #eead2b !important;
}

#reviews .star-rating span::before,
.woocommerce .star-rating span::before {
    content: '\e838\e838\e838\e838\e838' !important;
    color: #eead2b !important;
    top: 0;
    left: 0;
    position: absolute;
    width: 6em !important;
    white-space: nowrap !important;
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}

/* Review Content */
#reviews #comments ol.commentlist li .description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

#reviews #comments ol.commentlist li .description p {
    margin-bottom: 0 !important;
}

/* Review Form Styling */
#review_form_wrapper {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#review_form_wrapper .comment-reply-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

#review_form_wrapper form.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#review_form_wrapper form.comment-form p {
    margin: 0 !important;
}

#review_form_wrapper .comment-form-rating {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#review_form_wrapper label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Form Inputs & Textarea */
#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"],
#review_form_wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 1rem 1.25rem !important;
    border-radius: 0.5rem !important;
    font-family: 'Manrope', sans-serif !important;
    transition: all 0.3s ease !important;
}

#review_form_wrapper input[type="text"]:focus,
#review_form_wrapper input[type="email"]:focus,
#review_form_wrapper textarea:focus {
    outline: none !important;
    border-color: #eead2b !important;
    box-shadow: 0 0 0 1px #eead2b !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

#review_form_wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

/* Star Rating Links */
#review_form_wrapper .stars a {
    color: #eead2b !important;
    transition: transform 0.2s ease;
    display: inline-block;
}

#review_form_wrapper .stars a:hover {
    transform: scale(1.1);
}

/* Submit Button */
#review_form_wrapper input[type="submit"],
#review_form_wrapper .submit {
    align-self: flex-start;
    background: linear-gradient(to right, #eead2b, #d89b25) !important;
    color: #221c10 !important;
    font-weight: 800 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 1.25rem 2.5rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 0 20px rgba(238, 173, 43, 0.2) !important;
    transition: all 0.3s ease !important;
}

#review_form_wrapper input[type="submit"]:hover,
#review_form_wrapper .submit:hover {
    box-shadow: 0 0 30px rgba(238, 173, 43, 0.4) !important;
    transform: translateY(-2px);
}

/* Pagination (Comments/Reviews & Shop Loop) Premium Dark Minimalist */
.woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 2rem 0 0 0;
    list-style: none;
    border: none !important;
}

.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span.current {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border-radius: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem !important;
    /* Make numbers slightly larger and perfectly matching */
    font-weight: 400 !important;
    /* Force exact same light/regular weight so it never jumps */
    line-height: 1 !important;
    transition: all 0.3s ease;
    border: none !important;
    background: transparent !important;
    text-decoration: none;
    margin: 0;
}

.woocommerce-pagination ul.page-numbers li a {
    color: rgba(255, 255, 255, 0.4) !important;
}

.woocommerce-pagination ul.page-numbers li a:hover {
    color: #ffffff !important;
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.woocommerce-pagination ul.page-numbers li span.current {
    background: transparent !important;
    color: #eead2b !important;
    box-shadow: none !important;
}

/* Next/Prev Arrows */
.woocommerce-pagination ul.page-numbers li a.next,
.woocommerce-pagination ul.page-numbers li a.prev {
    padding: 0 1rem;
    text-transform: uppercase;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em;
    color: #ffffff !important;
    height: 40px;
    display: flex;
    align-items: center;
}

/* Read More Custom Logic Classes */
.content-expandable {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.8s ease;
    padding-bottom: 1rem;
}




.btn-read-more-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #eead2b;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s;
}

.btn-read-more-custom:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ==========================================================================
   NATIVE WOOCOMMERCE GALLERY STYLES (Glass Panel)
   ========================================================================== */
.agjy-native-gallery-wrapper .woocommerce-product-gallery {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    opacity: 1 !important;
}

.agjy-native-gallery-wrapper .woocommerce-product-gallery__image {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.agjy-native-gallery-wrapper .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.agjy-native-gallery-wrapper .flex-control-nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both !important;
    width: 100% !important;
}

.agjy-native-gallery-wrapper .flex-control-nav li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
}

.agjy-native-gallery-wrapper .flex-control-nav li img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    cursor: pointer !important;
    opacity: 0.6 !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.agjy-native-gallery-wrapper .flex-control-nav li img.flex-active,
.agjy-native-gallery-wrapper .flex-control-nav li img:hover {
    opacity: 1 !important;
    border-color: rgba(238, 173, 43, 0.5) !important;
    box-shadow: 0 0 0 1px rgba(238, 173, 43, 0.3) !important;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5) !important;
    color: transparent !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='11' cy='11' r='8'%3e%3c/circle%3e%3cline x1='21' y1='21' x2='16.65' y2='16.65'%3e%3c/line%3e%3c/svg%3e") !important;
    background-size: 16px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.woocommerce-product-gallery__trigger:hover {
    transform: scale(1.1);
}

.woocommerce-product-gallery__trigger img {
    display: none !important;
}

/* ==========================================================================
   WOOCOMMERCE CART PAGE - PREMIUM DARK LUXURY UI
   ========================================================================== */

/* Cart container - centered */
.agjy-cart-container {
    width: 100%;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Override main to be full width for cart */
body.woocommerce-cart main,
.woocommerce-cart main {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Make cart form and totals side by side - FULL WIDTH */
.woocommerce-cart-form,
.cart-collaterals {
    width: 100%;
}

/* WooCommerce Notices - Global Premium Styling */
.woocommerce-cart .woocommerce-notices-wrapper {
    width: 100% !important;
    margin-bottom: 2rem !important;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-notice {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 4px solid #eead2b !important;
    color: #ffffff !important;
    padding: 1.25rem 2rem 1.25rem 3.5rem !important;
    border-radius: 0.5rem;
    display: block !important;
    position: relative;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 0rem !important;
}

/* Ensure the icon (pseudo-element) doesn't overlap text and uses the correct font */
.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before,
.woocommerce-cart .woocommerce-error::before,
.woocommerce-cart .woocommerce-notice::before {
    display: inline-block !important;
    position: absolute !important;
    font-family: WooCommerce !important;
    left: 1.25rem !important;
    top: 1.25rem !important;
    flex-shrink: 0;
    line-height: 1;
    font-size: 1.25rem;
    margin-bottom: 0rem !important;
}

.woocommerce-NoticeGroup {
    margin-bottom: 0rem !important;
}


@media (min-width: 1024px) {
    .woocommerce-cart .woocommerce {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        /* Allow wrapping for notices */
        align-items: flex-start !important;
        gap: 2.5rem !important;
        width: 100% !important;
    }

    /* Notices layout within flex container */
    .woocommerce-cart .woocommerce-notices-wrapper {
        flex: 0 0 100% !important;
        margin-bottom: 0rem !important;
        /* Managed by flex gap or inner elements */
        order: -1;
    }

    .woocommerce-cart .woocommerce-message,
    .woocommerce-cart .woocommerce-info,
    .woocommerce-cart .woocommerce-error,
    .woocommerce-cart .woocommerce-notice {
        flex: 0 0 100% !important;
        order: -1;
        margin-bottom: 0rem !important;
    }

    .woocommerce-cart-form {
        flex: 1 !important;
        width: auto !important;
        margin-bottom: 0 !important;
    }

    .cart-collaterals {
        flex: 0 0 400px !important;
        width: 400px !important;
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }
}

/* FIX: Cart actions row spanning correct columns - Added background, border and radius */
.woocommerce-cart-form .shop_table tr.actions-row {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.woocommerce-cart-form .shop_table td.actions {
    display: table-cell !important;
    padding: 3rem 1.5rem 2rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0 0 0.75rem 0.75rem !important;
    width: 100% !important;
}

/* Wrapper inside td.actions for flex layout (requires our template override) */
.woocommerce-cart-form .shop_table td.actions .actions-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    /* Stretch to have same height */
    justify-content: space-between !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

/* Coupon section layout */
.woocommerce-cart-form .shop_table td.actions .coupon {
    display: flex !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
}

.woocommerce-cart-form .shop_table td.actions .coupon label {
    display: none !important;
}

.woocommerce-cart-form .shop_table td.actions .coupon input.input-text {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.5rem !important;
    color: #ffffff !important;
    padding: 0 1.25rem !important;
    /* Vertical 0 because height handles it */
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.875rem !important;
    width: 220px !important;
    height: 48px !important;
    line-height: 48px !important;
    transition: all 0.3s ease;
}

.woocommerce-cart-form .shop_table td.actions .coupon input.input-text::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.woocommerce-cart-form .shop_table td.actions .coupon input.input-text:focus {
    outline: none !important;
    border-color: #eead2b !important;
    box-shadow: 0 0 0 1px #eead2b !important;
}

/* Buttons in actions row */
.woocommerce-cart-form .shop_table td.actions button.button {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 0 1.5rem !important;
    /* Horizontal padding, height handles vertical */
    height: 48px !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-cart-form .shop_table td.actions button.button:hover {
    background: rgba(238, 173, 43, 0.15) !important;
    border-color: rgba(238, 173, 43, 0.5) !important;
    color: #eead2b !important;
}

/* Ensure Update Cart button has specific prominence if needed */
.woocommerce-cart-form .shop_table td.actions button[name="update_cart"] {
    opacity: 0.8;
}

.woocommerce-cart-form .shop_table td.actions button[name="update_cart"]:hover {
    opacity: 1;
}

.woocommerce-cart-form .shop_table td.actions button[name="update_cart"]:disabled {
    opacity: 0.2 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    filter: grayscale(1);
}

/* Cart Table - Full width */
.woocommerce-cart-form .shop_table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    display: table !important;
    border-collapse: separate !important;
    border-spacing: 0 1rem;
}

/* Table Headers */
.woocommerce-cart-form .shop_table thead {
    display: table-header-group;
}

.woocommerce-cart-form .shop_table thead tr {
    background: rgba(255, 255, 255, 0.02);
    display: table-row;
}

.woocommerce-cart-form .shop_table thead th {
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    padding: 1.25rem 1rem !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    display: table-cell;
}

.woocommerce-cart-form .shop_table thead th:first-child {
    border-radius: 0.75rem 0 0 0;
}

.woocommerce-cart-form .shop_table thead th:last-child {
    border-radius: 0 0.75rem 0 0;
}

/* Table Body Rows */
.woocommerce-cart-form .shop_table tbody {
    display: table-row-group;
}

.woocommerce-cart-form .shop_table tbody tr {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    display: table-row !important;
}

.woocommerce-cart-form .shop_table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(238, 173, 43, 0.2);
    box-shadow: 0 4px 20px -5px rgba(238, 173, 43, 0.1);
}

.woocommerce-cart-form .shop_table tbody td {
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 1.5rem 1rem !important;
    border: none !important;
    vertical-align: middle !important;
    background: transparent !important;
    display: table-cell !important;
}

/* Product Thumbnail in Cart */
.woocommerce-cart-form .shop_table .product-thumbnail {
    width: 100px;
    padding-left: 1.5rem !important;
}

.woocommerce-cart-form .shop_table .product-thumbnail a {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.woocommerce-cart-form .shop_table .product-thumbnail a:hover {
    border-color: rgba(238, 173, 43, 0.5);
    box-shadow: 0 0 15px rgba(238, 173, 43, 0.2);
}

.woocommerce-cart-form .shop_table .product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Product Name */
.woocommerce-cart-form .shop_table .product-name {
    font-weight: 500 !important;
}

.woocommerce-cart-form .shop_table .product-name a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.woocommerce-cart-form .shop_table .product-name a:hover {
    color: #eead2b !important;
}

/* Product Price */
.woocommerce-cart-form .shop_table .product-price .amount,
.woocommerce-cart-form .shop_table .product-price {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
}

.woocommerce-cart-form .shop_table .product-price del .amount {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.875rem !important;
}

/* Product Subtotal */
.woocommerce-cart-form .shop_table .product-subtotal .amount,
.woocommerce-cart-form .shop_table .product-subtotal {
    color: #eead2b !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.woocommerce-cart-form .shop_table .product-subtotal del .amount {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Remove Button - Fix duplicate X */
.woocommerce-cart-form .shop_table .product-remove .remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    position: relative;
}

.woocommerce-cart-form .shop_table .product-remove .remove::before {
    content: '✕' !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: inherit !important;
}

.woocommerce-cart-form .shop_table .product-remove .remove:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    color: #ef4444 !important;
}

/* Quantity Input - Fix buttons and spacing */
.woocommerce-cart-form .shop_table .product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem !important;
    background: rgba(255, 255, 255, 0.03);
    width: auto !important;
    min-width: 0 !important;
}

.woocommerce-cart-form .shop_table .product-quantity .quantity button {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.25rem !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 0.25rem !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.woocommerce-cart-form .shop_table .product-quantity .quantity button:hover {
    background: rgba(238, 173, 43, 0.2) !important;
    border-color: rgba(238, 173, 43, 0.5) !important;
    color: #eead2b !important;
}

.woocommerce-cart-form .shop_table .product-quantity .quantity input.qty {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 0.25rem 0.5rem !important;
    width: 40px !important;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    appearance: textfield;
    -moz-appearance: textfield;
}

.woocommerce-cart-form .shop_table .product-quantity .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart-form .shop_table .product-quantity .quantity input.qty::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

/* Cart Collaterals (Totals) - Full width */
.cart-collaterals {
    width: 100%;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

.cart_totals {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 100% !important;
    width: 100% !important;
}

.cart_totals h2 {
    font-family: 'Manrope', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 1.5rem 0 !important;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cart Totals Table */
.cart_totals .shop_table {
    border: none !important;
    background: transparent !important;
}

.cart_totals .shop_table tbody tr {
    background: transparent !important;
    border: none !important;
}

.cart_totals .shop_table td,
.cart_totals .shop_table th {
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 0 !important;
    border: none !important;
    background: transparent !important;
}

.cart_totals .shop_table th {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
    font-size: 0.75rem !important;
}

.cart_totals .shop_table td {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-align: right !important;
}

.cart_totals .shop_table td .amount {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.cart_totals .shop_table tr.cart-subtotal td .amount,
.cart_totals .shop_table tr.order-total td .amount {
    color: #eead2b !important;
    font-size: 1.25rem !important;
}

.cart_totals .shop_table tr.order-total th {
    color: #ffffff !important;
    font-size: 0.875rem !important;
}

.cart_totals .shop_table tr.order-total td {
    font-size: 1.5rem !important;
}

/* Proceed to Checkout Button */
.cart_totals .wc-proceed-to-checkout {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button,
.cart_totals .wc-proceed-to-checkout .checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: linear-gradient(to right, #eead2b, #d89b25) !important;
    color: #221c10 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 1.25rem 2rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(238, 173, 43, 0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover,
.cart_totals .wc-proceed-to-checkout .checkout-button:hover {
    box-shadow: 0 0 40px rgba(238, 173, 43, 0.5) !important;
    transform: translateY(-2px);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button::after,
.cart_totals .wc-proceed-to-checkout .checkout-button::after {
    content: 'arrow_forward';
    font-family: 'Material Symbols Outlined';
    margin-left: 0.75rem;
    font-size: 18px;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover::after,
.cart_totals .wc-proceed-to-checkout .checkout-button:hover::after {
    transform: translateX(4px);
}

/* WooCommerce Blocks Checkout Button */
.wc-block-components-button,
.wc-block-cart__submit-button,
.wp-element-button {
    background: linear-gradient(to right, #eead2b, #d89b25) !important;
    color: #221c10 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 1.25rem 2rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(238, 173, 43, 0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px;
}

.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover,
.wp-element-button:hover {
    box-shadow: 0 0 40px rgba(238, 173, 43, 0.5) !important;
    transform: translateY(-2px);
    background: linear-gradient(to right, #f5bc3f, #eead2b) !important;
}

/* Shipping Calculator in Cart */
.cart_totals .shipping_calculator {
    margin-top: 1rem;
}

.cart_totals .shipping_calculator h2 {
    font-size: 0.875rem !important;
    margin-bottom: 1rem;
}

.cart_totals .shipping-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart_totals .shipping-calculator-form select,
.cart_totals .shipping-calculator-form input.input-text {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.5rem !important;
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.875rem !important;
    width: 100% !important;
}

.cart_totals .shipping-calculator-form button.button {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.cart_totals .shipping-calculator-form button.button:hover {
    background: rgba(238, 173, 43, 0.15) !important;
    border-color: rgba(238, 173, 43, 0.5) !important;
    color: #eead2b !important;
}

/* Coupon Form in Cart Totals */
.cart_totals .cart-discount {
    display: none !important;
}

/* Cart Empty State - Premium Luxury Redirect */
.woocommerce-cart .cart-empty-section {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 1.5rem;
    margin: 0rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    /* Full width of the container */
}

.cart-empty-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-empty-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(238, 173, 43, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.woocommerce-cart .cart-empty-section .return-to-shop {
    margin-top: 1rem;
}

.woocommerce-cart .cart-empty-section .return-to-shop a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(to right, #eead2b, #d89b25) !important;
    color: #221c10 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    padding: 1.25rem 2.5rem !important;
    border-radius: 0.75rem !important;
    border: none !important;
    box-shadow: 0 10px 20px -10px rgba(238, 173, 43, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
}

.woocommerce-cart .cart-empty-section .return-to-shop a.button:hover {
    box-shadow: 0 15px 30px -10px rgba(238, 173, 43, 0.6) !important;
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.1);
}

.woocommerce-cart .cart-empty-section .return-to-shop a.button span {
    transition: transform 0.3s ease;
}

.woocommerce-cart .cart-empty-section .return-to-shop a.button:hover span {
    transform: translateX(-3px);
}

/* Responsive Cart Styles */
@media (max-width: 1024px) {
    .agjy-cart-container {
        padding: 0 0rem;
    }

    body.woocommerce-cart main {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .agjy-cart-header {
        margin-bottom: 2rem !important;
    }

    .woocommerce-cart .cart-empty-section {
        padding: 3.5rem 1.5rem;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .agjy-cart-title {
        margin-bottom: 0.5rem !important;
    }

    .woocommerce-cart-form .shop_table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .agjy-cart-title {
        font-size: 1.75rem !important;
    }

    .agjy-cart-header {
        margin-bottom: 2rem;
    }

    .cart-collaterals {
        max-width: 100%;
    }

    .woocommerce-cart-form .shop_table thead {
        display: none !important;
    }

    .woocommerce-cart-form .shop_table tbody tr {
        display: flex !important;
        flex-direction: column !important;
        padding: 2rem 1.5rem !important;
        gap: 1.25rem !important;
        position: relative !important;
        margin-bottom: 1.5rem !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 1rem !important;
    }

    .woocommerce-cart-form .shop_table tbody td {
        padding: 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        text-align: right !important;
        background: transparent !important;
        border: none !important;
    }

    /* Product Label for Mobile */
    .woocommerce-cart-form .shop_table tbody td::before {
        content: attr(data-title);
        display: block;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.4);
        text-transform: uppercase;
        font-size: 0.65rem;
        letter-spacing: 0.15em;
        text-align: left;
    }

    /* Hide label for Thumbnail and Remove since they handle it visually */
    .woocommerce-cart-form .shop_table .product-remove::before,
    .woocommerce-cart-form .shop_table .product-thumbnail::before {
        display: none !important;
    }

    /* Remove Button Position */
    .woocommerce-cart-form .shop_table .product-remove {
        position: absolute !important;
        top: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        z-index: 5;
    }

    /* Thumbnail Centering */
    .woocommerce-cart-form .shop_table .product-thumbnail {
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
    }

    .woocommerce-cart-form .shop_table .product-thumbnail a {
        width: 120px !important;
        height: 120px !important;
    }

    /* Product Name Layout */
    .woocommerce-cart-form .shop_table .product-name {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }

    .woocommerce-cart-form .shop_table .product-name::before {
        text-align: center !important;
        margin-bottom: 0.25rem;
        width: 100%;
    }

    .woocommerce-cart-form .shop_table .product-name a {
        font-size: 1.1rem !important;
        display: block;
        width: 100%;
    }

    /* Price and Subtotal Values */
    .woocommerce-cart-form .shop_table .product-price,
    .woocommerce-cart-form .shop_table .product-subtotal {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 1.25rem !important;
        margin-top: 0.5rem;
    }

    /* Actions row override for mobile */
    .actions-row {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 1rem !important;
    }

    .woocommerce-cart-form .shop_table td.actions {
        display: block !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .woocommerce-cart-form .shop_table td.actions .actions-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 2rem !important;
    }

    .woocommerce-cart-form .shop_table td.actions .coupon {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
        padding: 2rem 1.5rem !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 1rem !important;
    }

    .woocommerce-cart-form .shop_table td.actions .coupon input.input-text {
        width: 100% !important;
        max-width: none !important;
        text-align: center !important;
    }

    .woocommerce-cart-form .shop_table td.actions button[name="update_cart"] {
        padding: 1.25rem !important;
        height: auto !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
}

/* ==========================================================================
   CART SUGGESTIONS - Productos relacionados
   ========================================================================== */
.agjy-cart-suggestions {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    margin-top: 4rem;
    width: 100%;
}

.agjy-cart-suggestions h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.agjy-cart-suggestions .glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.agjy-cart-suggestions .glass-panel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(238, 173, 43, 0.2);
    box-shadow: 0 0 30px -5px rgba(238, 173, 43, 0.15);
}

.agjy-cart-suggestions .glass-panel a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agjy-cart-suggestions .glass-panel h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
}

.agjy-cart-suggestions .glass-panel .amount {
    color: #eead2b;
    font-weight: 600;
}

/* ==========================================================================
   CHECKOUT PAGE STYLES (Premium Dark Luxury)
   ========================================================================== */

.agjy-checkout-wrapper {
    margin-top: 2rem;
    color: #ffffff;
}

/* 2-Column Layout for Desktop */
@media (min-width: 1024px) {
    .agjy-checkout-wrapper form.checkout {
        display: grid;
        grid-template-columns: 1fr 450px;
        gap: 3rem;
        align-items: start;
    }
}

.agjy-checkout-column {
    width: 100%;
}

.agjy-checkout-details {
    animation: fadeIn 0.8s ease-out both;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 1.75rem 2.25rem;
    /* Compressed padding */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}


.agjy-checkout-review {
    animation: fadeIn 1s ease-out 0.2s both;
}

@media (max-width: 768px) {
    .agjy-checkout-details {
        padding: 1rem;
        border-radius: 1rem;
        margin-bottom: 2.5rem;
        /* Margen debajo de facturación para separar el siguiente heading */
    }
}



/* col2-set inside billing/shipping reset */
.agjy-checkout-wrapper .col2-set .col-1,
.agjy-checkout-wrapper .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}



.agjy-checkout-wrapper h3 {
    font-family: 'Manrope', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

/* Input Styles */
.agjy-checkout-wrapper .form-row {
    margin-bottom: 1.5rem;
}

.agjy-checkout-wrapper label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.agjy-checkout-wrapper input.input-text,
.agjy-checkout-wrapper textarea,
.agjy-checkout-wrapper select {
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.75rem !important;
    color: #ffffff !important;
    padding: 1rem 1.25rem !important;
    font-family: 'Manrope', sans-serif !important;
}

/* Force arrow on checkout selects specifically */
.agjy-checkout-wrapper select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eead2b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.25rem center !important;
    background-size: 1.1em !important;
}

.agjy-checkout-wrapper input.input-text:focus,
.agjy-checkout-wrapper textarea:focus,
.agjy-checkout-wrapper select:focus {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: #eead2b !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(238, 173, 43, 0.1) !important;
    transform: translateY(-1px);
}

.agjy-checkout-wrapper textarea {
    min-height: 120px;
}

/* Select2 Premium Customization */
.select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.75rem !important;
    height: 54px !important;
    /* Slightly larger for luxury feel */
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #eead2b !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 20px rgba(238, 173, 43, 0.1) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    padding-left: 1.25rem !important;
    padding-right: 2rem !important;
    font-size: 0.95rem !important;
    font-family: 'Manrope', sans-serif !important;
    /* CENTERING FIX: Reset line-height and use flex centering */
    line-height: normal !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* Bulletproof Select2 Arrow Customization */
html body .select2-container--default .select2-selection--single .select2-selection__arrow {
    background: transparent !important;
    width: 45px !important;
    height: 100% !important;
    right: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hide the default Select2 border-triangle */
html body .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

/* Inject our Gold SVG Arrow */
html body .select2-container--default .select2-selection--single .select2-selection__arrow::after {
    content: "" !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eead2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    transition: transform 0.3s ease !important;
}

/* Open state: Rotate arrow */
html body .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after {
    transform: rotate(180deg) !important;
}

/* Select2 Dropdown Menu Style */
.select2-dropdown {
    background-color: #1a150e !important;
    /* Dark solid base for readability */
    border: 1px solid #eead2b55 !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8) !important;
    z-index: 9999 !important;
    margin-top: 5px !important;
}

/* Select2 Search Box inside Dropdown */
.select2-search--dropdown {
    padding: 10px !important;
    background: transparent !important;
}

.select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.5rem !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    font-family: 'Manrope', sans-serif !important;
}

/* Select2 Results / Options and Custom Scrollbar */
.select2-results__options {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(238, 173, 43, 0.4) transparent !important;
}

/* Custom Scrollbar for Chrome, Safari and newer Edge */
.select2-results__options::-webkit-scrollbar {
    width: 6px !important;
}

.select2-results__options::-webkit-scrollbar-track {
    background: transparent !important;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background-color: rgba(238, 173, 43, 0.3) !important;
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    background-clip: content-box !important;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
    background-color: #eead2b !important;
}

/* Results / Options - Reset base */
.select2-results__option {
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: background 0.2s ease !important;
    background-color: transparent !important;
    /* Ensure no white base */
}

/* Highlighted (Hover/Focus) - Restoring the original elegant hover */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #eead2b !important;
    color: #221c10 !important;
    font-weight: 700 !important;
}

/* Already selected item (not hovered) - Fixes the "white/gray" bug */
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #2d2416 !important;
    color: #eead2b !important;
}



/* Order Review Section (Right Column) */
#order_review_heading {
    margin-top: 0 !important;
}

#order_review {
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: 1.5rem 2rem;
    /* Compressed padding */
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.4);
}



/* Order Review Table - Uniform and Minimalist */
.agjy-checkout-wrapper .shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
}

.agjy-checkout-wrapper .shop_table thead th {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.4) !important;
    letter-spacing: 0.1em !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: left !important;
}

.agjy-checkout-wrapper .shop_table tbody td,
.agjy-checkout-wrapper .shop_table tfoot th,
.agjy-checkout-wrapper .shop_table tfoot td {
    padding: 1.25rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    vertical-align: middle !important;
    color: #ffffff !important;
}

.agjy-checkout-wrapper .shop_table .product-name {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    padding-right: 1rem !important;
}

.agjy-checkout-wrapper .shop_table .product-total,
.agjy-checkout-wrapper .shop_table .cart-subtotal td,
.agjy-checkout-wrapper .shop_table .order-total td,
.agjy-checkout-wrapper .shop_table .shipping td {
    text-align: right !important;
    font-family: 'Manrope', sans-serif !important;
}

/* Labels in TFOOT (Subtotal, Shipping, etc) */
.agjy-checkout-wrapper .shop_table tfoot th {
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
}

/* Shipping Text fix */
.agjy-checkout-wrapper .shop_table .shipping td {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 400 !important;
    line-height: 1.4;
}

/* Values */
.agjy-checkout-wrapper .shop_table .amount {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}

/* Order Total Row */
.agjy-checkout-wrapper .shop_table tfoot .order-total th {
    color: #ffffff !important;
    font-size: 0.9rem !important;
    border-bottom: none !important;
}

.agjy-checkout-wrapper .shop_table tfoot .order-total td {
    color: #eead2b !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    border-bottom: none !important;
}


/* Payment Methods */
#payment {
    background: transparent !important;
    border-radius: 0 !important;
}

#payment ul.payment_methods {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 2rem !important;
}

#payment ul.payment_methods li {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 0.75rem !important;
    transition: all 0.3s ease;
}

#payment ul.payment_methods li:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

#payment ul.payment_methods li label {
    margin-bottom: 0 !important;
    padding-left: 0.5rem !important;
    font-size: 0.9rem !important;
    color: #ffffff !important;
    cursor: pointer;
}

#payment div.payment_box {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 0.5rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    padding: 1rem !important;
    margin: 1rem 0 0 0 !important;
}

#payment div.payment_box::before {
    display: none !important;
}

/* Place Order Button */
#place_order {
    width: 100% !important;
    background: linear-gradient(to right, #eead2b, #d89b25) !important;
    color: #221c10 !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    padding: 1.5rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 40px -10px rgba(238, 173, 43, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: none !important;
    margin-top: 1rem !important;
}

#place_order:hover {
    box-shadow: 0 15px 50px -10px rgba(238, 173, 43, 0.7) !important;
    transform: translateY(-3px) scale(1.01);
}

/* Customizer Logo Styles */
.custom-logo-link img {
    height: 50px !important;
    width: auto !important;
    max-height: 50px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Notices and Error Feedback - Block Layout with Absolute Icon to allow vertical LI stacking */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-notice {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1rem !important;
    color: #ffffff !important;
    padding: 1.25rem 2rem 1.25rem 3.5rem !important;
    display: block !important;
    position: relative;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 1.5rem !important;
}

/* Success Alert (Message) */
.woocommerce-message {
    border-left: 4px solid #eead2b !important;
    background: rgba(238, 173, 43, 0.05) !important;
}

/* Error Alert */
.woocommerce-error {
    border-left: 4px solid #ff4d4d !important;
    background: rgba(255, 77, 77, 0.05) !important;
    margin-bottom: 0rem !important;
}

/* Info Alert (White) */
.woocommerce-info {
    border-left: 4px solid #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-notice::before {
    display: inline-block !important;
    position: absolute !important;
    font-family: WooCommerce !important;
    left: 1.25rem !important;
    top: 1.25rem !important;
    flex-shrink: 0;
    line-height: 1;
    font-size: 1.25rem;
}

.woocommerce-message::before {
    color: #eead2b;
}

.woocommerce-error::before {
    color: #ff4d4d;
}

.woocommerce-info::before {
    color: #ffffff;
}

.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
    line-height: 1.5 !important;
}

.woocommerce-error li:last-child,
.woocommerce-message li:last-child,
.woocommerce-info li:last-child {
    margin-bottom: 0 !important;
}

/* Links inside success and info alerts */
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-notice a:not(.button) {
    color: #eead2b !important;
    font-weight: 700 !important;
    transition: all 0.3s ease;
}

/* Links inside error alerts */
.woocommerce-error a:not(.button) {
    color: #ffffff !important;
    font-weight: 700 !important;
    transition: all 0.3s ease;
}

.woocommerce-error a:not(.button):hover {
    color: #ff4d4d !important;
    text-decoration: none !important;
}

.woocommerce-message a:not(.button):hover,
.woocommerce-info a:not(.button):hover,
.woocommerce-notice a:not(.button):hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Specific button styling inside alerts (e.g., "Ver carrito") */
.woocommerce-message a.button,
.woocommerce-info a.button {
    float: right !important;
    background: #eead2b !important;
    color: #221c10 !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 800 !important;
    border-radius: 0.5rem !important;
    margin-left: 1rem !important;
    margin-top: -0.25rem !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(238, 173, 43, 0.2) !important;
    text-decoration: none !important;
}

/* Red button for error alerts */
.woocommerce-error a.button {
    float: right !important;
    background: #ff4d4d !important;
    color: #ffffff !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 800 !important;
    border-radius: 0.5rem !important;
    margin-left: 1rem !important;
    margin-top: -0.25rem !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.2) !important;
    text-decoration: none !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
    background: #ffffff !important;
    color: #221c10 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(238, 173, 43, 0.4) !important;
}

.woocommerce-error a.button:hover {
    background: #ffffff !important;
    color: #ff4d4d !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 77, 0.4) !important;
}

/* Mobile adjustments for alert buttons */
@media (max-width: 600px) {

    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        padding: 1.25rem 1.5rem 1.25rem 3.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .woocommerce-message a.button,
    .woocommerce-info a.button,
    .woocommerce-error a.button {
        float: none !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
}


.woocommerce-InvalidField input {
    border-color: #ff4d4d !important;
}

/* Fix for Checkout Notices (Validation Errors) to be full-width in the grid */
.agjy-checkout-wrapper .woocommerce-NoticeGroup-checkout {
    grid-column: 1 / -1;
    width: 100%;
}

/* ==========================================================================
   CHECKOUT COUPON FORM (Premium Glassmorphism)
   ========================================================================== */

form.checkout_coupon.woocommerce-form-coupon {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
    margin: 1rem 0 2.5rem 0 !important;
    /* Removed display:flex !important to allow Woo's JS to handle show/hide */
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Re-apply flex context only when visible */
form.checkout_coupon.woocommerce-form-coupon[style*="display: block"],
form.checkout_coupon.woocommerce-form-coupon[style*="display:block"],
form.checkout_coupon.woocommerce-form-coupon[style*="opacity"] {
    display: flex !important;
}

form.checkout_coupon.woocommerce-form-coupon .clear {
    display: none !important;
}

form.checkout_coupon.woocommerce-form-coupon p.form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
}

form.checkout_coupon.woocommerce-form-coupon p.form-row-first {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
}

form.checkout_coupon.woocommerce-form-coupon p.form-row-last {
    flex: 0 0 auto !important;
}

form.checkout_coupon.woocommerce-form-coupon input.input-text {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.5rem !important;
    color: #ffffff !important;
    padding: 0 1.25rem !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease;
    height: 48px !important;
    line-height: 48px !important;
}

form.checkout_coupon.woocommerce-form-coupon input.input-text:focus {
    border-color: #eead2b !important;
    background: rgba(238, 173, 43, 0.05) !important;
    outline: none !important;
}

form.checkout_coupon.woocommerce-form-coupon button.button {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    padding: 0 1.5rem !important;
    height: 48px !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    font-size: 0.85rem !important;
}

form.checkout_coupon.woocommerce-form-coupon button.button:hover {
    background: #eead2b !important;
    color: #221c10 !important;
    border-color: #eead2b !important;
    transform: translateY(-2px) !important;
}

/* Mobile Adjustments for Checkout Coupon */
@media (max-width: 640px) {

    form.checkout_coupon.woocommerce-form-coupon[style*="display: block"],
    form.checkout_coupon.woocommerce-form-coupon[style*="display:block"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    form.checkout_coupon.woocommerce-form-coupon p.form-row-first {
        width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 0.75rem !important;
    }

    form.checkout_coupon.woocommerce-form-coupon button.button {
        width: 100% !important;
    }
}



/* Style for Ship to Different Address checkbox */
#ship-to-different-address {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#ship-to-different-address label {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    cursor: pointer;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

#ship-to-different-address input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px !important;
    height: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    padding: 0 !important;
    margin: 0 !important;
    margin-right: 1rem !important;
    /* Added margin after checkbox */
}

#ship-to-different-address input:checked {
    background: #eead2b !important;
    border-color: #eead2b !important;
}

#ship-to-different-address input:checked::after {
    content: 'check';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #221c10;
    font-size: 16px;
    font-weight: bold;
}


/* Mobile Adjustments for Checkout */
@media (max-width: 1023px) {
    #order_review {
        position: static !important;
        padding: 1.5rem !important;
        margin-top: 1.5rem;
        /* Reducido de 3rem para estar más pegado al heading */
    }

    .agjy-checkout-wrapper h3 {
        font-size: 1.25rem !important;
    }
}


/* Fix for mobile product name in checkout table */
@media (max-width: 640px) {
    .agjy-checkout-wrapper .shop_table .product-name {
        max-width: 180px;
        font-size: 0.8rem !important;
    }
}

/* ==========================================================================
   MY ACCOUNT PAGE STYLES (Premium Dark Luxury)
   ========================================================================== */

.agjy-account-wrapper {
    margin-top: 2rem;
    color: #ffffff;
}

/* My Account Layout */
@media (min-width: 1024px) {
    .agjy-account-wrapper .woocommerce-MyAccount-navigation {
        float: left;
        width: 25%;
        padding-right: 3rem;
    }

    .agjy-account-wrapper .woocommerce-MyAccount-content {
        float: right;
        width: 75%;
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 1.25rem;
        padding: 2.5rem;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    }

    .agjy-account-wrapper::after {
        content: "";
        display: table;
        clear: both;
    }
}

/* Navigation Menu */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 1rem 1.5rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
    border: 1px solid transparent !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    padding-left: 1.75rem !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: rgba(238, 173, 43, 0.1) !important;
    color: #eead2b !important;
    border: 1px solid rgba(238, 173, 43, 0.2) !important;
    font-weight: 700 !important;
}

/* My Account Content Headings */
.agjy-account-wrapper h2,
.agjy-account-wrapper h3 {
    font-family: 'Manrope', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-top: 2.5rem !important;
    margin-bottom: 2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

.agjy-account-wrapper .woocommerce-order-details__title {
    margin-top: 3.5rem !important;
}

/* Account Tables (Orders, Addresses) */
.agjy-account-wrapper .shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin-bottom: 2rem !important;
    background: transparent !important;
}

.agjy-account-wrapper .shop_table thead th {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.4) !important;
    letter-spacing: 0.1em !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: left !important;
}

.agjy-account-wrapper .shop_table tbody td {
    padding: 1.25rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    background: transparent !important;
}

/* Addresses */
.agjy-account-wrapper .u-columns.col2-set {
    display: grid !important;
    grid-template-columns: 1fr !important;
    /* Mobile first */
    gap: 2rem !important;
    width: 100% !important;
    float: none !important;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .agjy-account-wrapper .u-columns.col2-set {
        grid-template-columns: 1fr 1fr !important;
        /* Desktop split */
    }
}

.agjy-account-wrapper .u-columns.col2-set::before,
.agjy-account-wrapper .u-columns.col2-set::after {
    display: none !important;
}

/* Force direct children (the address cards) to fill the grid columns */
.agjy-account-wrapper .u-columns.col2-set>div {
    width: 100% !important;
    float: none !important;
    padding: 2.25rem 2rem !important;
    margin: 0 !important;
    min-width: 0 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1.5rem !important;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .agjy-account-wrapper .woocommerce-MyAccount-navigation {
        margin-bottom: 2rem;
    }

    .agjy-account-wrapper .woocommerce-MyAccount-content {
        padding: 1.5rem;
    }
}

.agjy-account-wrapper .woocommerce-Address {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.agjy-account-wrapper .woocommerce-Address-title h3 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
}

.agjy-account-wrapper .woocommerce-Address-title .edit {
    color: #eead2b !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Forms in Account */
.agjy-account-wrapper form .form-row {
    margin-bottom: 1.5rem;
}

.agjy-account-wrapper form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.agjy-account-wrapper form input.input-text {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.75rem !important;
    color: #ffffff !important;
    padding: 1rem 1.25rem !important;
    font-family: 'Manrope', sans-serif !important;
}

.agjy-account-wrapper form button.button {
    background: linear-gradient(to right, #eead2b, #d89b25) !important;
    color: #221c10 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 1rem 2rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agjy-account-wrapper form button.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(238, 173, 43, 0.3);
}

/* Links across the account page */
.agjy-account-wrapper a {
    color: #eead2b !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.agjy-account-wrapper a:hover {
    color: #f5bc3f !important;
}

.agjy-account-wrapper .woocommerce-MyAccount-content a.button {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 0.5rem;
}

.agjy-account-wrapper .woocommerce-MyAccount-content a.button:hover {
    background: #eead2b !important;
    color: #221c10 !important;
    border-color: #eead2b !important;
}

/* Login / Register Forms in Account Page */
.agjy-account-wrapper .u-column1,
.agjy-account-wrapper .u-column2 {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.agjy-account-wrapper .woocommerce-form-login,
.agjy-account-wrapper .woocommerce-form-register {
    border: none !important;
    padding: 0 !important;
}

.agjy-account-wrapper .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.agjy-account-wrapper .woocommerce-LostPassword {
    margin-top: 1rem;
    font-size: 0.85rem;
}


/* ==========================================================================
   SHIPPING INFORMATION SNIPPET (My Account Orders)
   ========================================================================== */

.fluid_section {
    width: 100% !important;
    margin: 0.75rem 0 !important;
    font-family: 'Manrope', sans-serif !important;
}

.fluid_container {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

.fluid_img_with_provider {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.fluid_provider_img {
    background: #ffffff !important;
    border-radius: 0.5rem !important;
    padding: 0.25rem !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.fluid_provider_img img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.tracking_provider {
    display: block !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.1rem !important;
}

.tracking_number {
    color: #eead2b !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px dashed rgba(238, 173, 43, 0.3) !important;
}

.tracking_number:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

.order_status {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.75rem !important;
    font-weight: 300 !important;
    margin-top: 0.2rem !important;
}

.order_status strong {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.track-button {
    background: linear-gradient(to right, #eead2b, #d89b25) !important;
    color: #221c10 !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.6rem 1.2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.75rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.track-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(238, 173, 43, 0.3) !important;
    color: #221c10 !important;
}

/* Responsive adjustments for the Shipping Snippet */
@media screen and (max-width: 767px) {
    .fluid_container {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0.75rem 1rem !important;
        gap: 0.75rem !important;
    }

    .track-button {
        width: 100% !important;
        text-align: center !important;
        padding: 0.75rem !important;
    }
}

/* ==========================================================================
   ORDER RECEIVED (THANK YOU) PAGE STYLES
   ========================================================================== */

/* Success Message */
.agjy-checkout-wrapper .woocommerce-thankyou-order-received {
    background: rgba(238, 173, 43, 0.1) !important;
    border: 1px solid rgba(238, 173, 43, 0.3) !important;
    border-left-color: #eead2b !important;
    color: #eead2b !important;
    font-weight: 600 !important;
    padding: 1.5rem 2rem !important;
    text-align: center !important;
    border-radius: 0.75rem !important;
    margin-bottom: 3rem !important;
    font-size: 1.1rem !important;
}

/* Order Details Overview (Horizontal List) */
.agjy-checkout-wrapper .woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1.25rem !important;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
    list-style: none !important;
}

.agjy-checkout-wrapper .woocommerce-order-overview::before,
.agjy-checkout-wrapper .woocommerce-order-overview::after {
    display: none !important;
}

@media (min-width: 1024px) {
    .agjy-checkout-wrapper .woocommerce-order-overview {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* Fix for single item on new line or alignment */
.agjy-checkout-wrapper .woocommerce-order-overview .method {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .agjy-checkout-wrapper .woocommerce-order-overview .method {
        grid-column: span 1;
    }
}

.agjy-checkout-wrapper .woocommerce-order-overview li {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    color: rgba(255, 255, 255, 0.4) !important;
    text-align: center !important;
}

.agjy-checkout-wrapper .woocommerce-order-overview li strong {
    display: block !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    margin-top: 0.5rem !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Order Details Section */
.agjy-checkout-wrapper .woocommerce-order-details,
.agjy-checkout-wrapper .woocommerce-customer-details {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1.25rem !important;
    padding: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
}

.agjy-checkout-wrapper .woocommerce-order-details__title,
.agjy-checkout-wrapper .woocommerce-column__title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 2rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

/* Customer Details / Addresses */
.agjy-checkout-wrapper .woocommerce-customer-details address {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-style: normal !important;
    line-height: 1.8 !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.agjy-checkout-wrapper .col2-set.addresses {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
}

.agjy-checkout-wrapper .col2-set.addresses::before,
.agjy-checkout-wrapper .col2-set.addresses::after {
    display: none !important;
}

@media (min-width: 768px) {
    .agjy-checkout-wrapper .col2-set.addresses {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* Thank You Page Table Styling */
.agjy-checkout-wrapper .shop_table.order_details {
    width: 100% !important;
    border-collapse: collapse !important;
}

.agjy-checkout-wrapper .shop_table.order_details thead th {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 1.25rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-weight: 700 !important;
}

.agjy-checkout-wrapper .shop_table.order_details tbody td {
    padding: 1.5rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    vertical-align: middle !important;
}

.agjy-checkout-wrapper .shop_table.order_details tbody td a {
    color: #ffffff !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.agjy-checkout-wrapper .shop_table.order_details tbody td a:hover {
    color: #eead2b !important;
}

.agjy-checkout-wrapper .shop_table.order_details .product-total,
.agjy-checkout-wrapper .shop_table.order_details tfoot td {
    text-align: right !important;
}

.agjy-checkout-wrapper .shop_table.order_details tfoot th {
    text-align: left !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 400 !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.agjy-checkout-wrapper .shop_table.order_details tfoot td {
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.agjy-checkout-wrapper .shop_table.order_details tfoot tr:last-child th,
.agjy-checkout-wrapper .shop_table.order_details tfoot tr:last-child td {
    border-bottom: none !important;
    padding-top: 1.5rem !important;
}

.agjy-checkout-wrapper .shop_table.order_details tfoot tr:nth-last-child(2) th,
.agjy-checkout-wrapper .shop_table.order_details tfoot tr:nth-last-child(2) td {
    color: #eead2b !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}