/* ============================================================
   SHOP FIXES - TGM GOLD
   ============================================================ */

/* --- Product Image Sizing Fix --- */
.astra-shop-thumbnail-wrap img,
.woocommerce-product-gallery__image img {
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

@media (max-width: 768px) {

    .astra-shop-thumbnail-wrap img,
    .woocommerce-product-gallery__image img {
        max-height: 200px !important;
    }
}

@media (max-width: 480px) {

    .astra-shop-thumbnail-wrap img,
    .woocommerce-product-gallery__image img {
        max-height: 150px !important;
    }
}

/* Add to Cart feedback animation */
.add-to-cart-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* --- Product Grid - 3 Columns --- */
.woocommerce .products.elementor-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin-bottom: 30px !important;
}

/* Price Background Fix */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce-Price-amount {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 921px) {
    .woocommerce .products.elementor-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 544px) {
    .woocommerce .products.elementor-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}


/* ============================================================
   WC PRODUCT TABS - Description / Reviews
   ============================================================ */

/* Tab list bar */
.woocommerce-tabs .wc-tabs {
    display: flex !important;
    list-style: none !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid rgba(243, 194, 66, 0.2) !important;
    gap: 0 !important;
}

.woocommerce-tabs .wc-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.woocommerce-tabs .wc-tabs li a {
    display: block !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -2px !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
}

.woocommerce-tabs .wc-tabs li a:hover {
    color: rgba(243, 194, 66, 0.75) !important;
}

/* Active tab */
.woocommerce-tabs .wc-tabs li.active a {
    color: #f3c242 !important;
    border-bottom-color: #f3c242 !important;
}

/* Tab panels — all hidden by default */
.woocommerce-tabs .woocommerce-Tabs-panel {
    display: none !important;
}

/* Only the active panel is shown */
.woocommerce-tabs .woocommerce-Tabs-panel.active {
    display: block !important;
    padding-top: 24px !important;
    animation: tabFadeIn 0.25s ease forwards;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reviews panel headings */
.woocommerce-Reviews-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    color: #f3c242 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.woocommerce-noreviews {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic !important;
}

/* Review form */
.comment-form label {
    display: block !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px !important;
    margin-bottom: 5px !important;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.comment-form select {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    margin-bottom: 14px !important;
}

.comment-form .form-submit input[type="submit"] {
    background: linear-gradient(135deg, #f3c242 0%, #d4920e 100%) !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
}

/* ============================================================
   CART DROPDOWN - PREMIUM DESIGN
   ============================================================ */


/* 1. Fix overflow on all wrapper ancestors so dropdown isn't clipped */
#masthead,
#ast-desktop-header,
#ast-mobile-header,
.ast-main-header-wrap,
.main-header-bar,
.main-header-bar-wrap,
.ast-primary-header-bar,
.site-header-primary-section-right,
.ast-grid-right-section,
.ast-builder-grid-row,
.ast-builder-grid-row-has-sides {
    overflow: visible !important;
    contain: none !important;
}

/* 2. Establish a clean positioning context on the cart wrapper */
.ast-header-woo-cart {
    position: relative !important;
    overflow: visible !important;
}

.ast-site-header-cart {
    position: relative !important;
    overflow: visible !important;
}

.ast-site-header-cart-li {
    position: relative !important;
    overflow: visible !important;
}

/* 3. The dropdown panel - absolutely positioned below the cart icon */
.ast-site-header-cart-data {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    width: 360px !important;
    z-index: 99999 !important;

    background: rgba(10, 10, 10, 0.97) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(243, 194, 66, 0.35) !important;
    border-radius: 12px !important;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(243, 194, 66, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;

    /* Hidden state */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease !important;

    /* Padding-top creates an invisible hover bridge so the mouse
       can travel from the icon to the panel without the panel closing */
    padding-top: 12px !important;
    margin-top: -12px !important;
}

/* 4. Visible state on hover */
.ast-site-header-cart-li:hover .ast-site-header-cart-data,
.ast-site-header-cart:hover .ast-site-header-cart-data,
.ast-header-woo-cart:hover .ast-site-header-cart-data {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* 5. Inner content padding (inside the padding-top bridge) */
.ast-site-header-cart-data .widget_shopping_cart {
    padding: 20px !important;
    background: transparent !important;
}

/* 6. Gold arrow caret */
.ast-site-header-cart-data::before {
    content: "";
    position: absolute;
    top: 4px;
    /* inside the 12px padding bridge */
    right: 24px;
    width: 14px;
    height: 14px;
    background: rgba(18, 18, 18, 0.98);
    border-top: 1px solid rgba(243, 194, 66, 0.35);
    border-left: 1px solid rgba(243, 194, 66, 0.35);
    transform: rotate(45deg);
    z-index: 1;
}

/* 7. Cart panel header */
.ast-site-header-cart-data .widget_shopping_cart::before {
    content: "Your Cart";
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(243, 194, 66, 0.8);
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* 8. Cart list */
.ast-site-header-cart-data ul.cart_list,
.ast-site-header-cart-data ul.product_list_widget {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(243, 194, 66, 0.5) rgba(255, 255, 255, 0.05);
}

.ast-site-header-cart-data ul.cart_list::-webkit-scrollbar {
    width: 4px;
}

.ast-site-header-cart-data ul.cart_list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.ast-site-header-cart-data ul.cart_list::-webkit-scrollbar-thumb {
    background: rgba(243, 194, 66, 0.5);
    border-radius: 10px;
}

/* 9. Individual cart items */
.ast-site-header-cart-data ul.cart_list li,
.ast-site-header-cart-data ul.product_list_widget li {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
}

.ast-site-header-cart-data ul.cart_list li:last-child,
.ast-site-header-cart-data ul.product_list_widget li:last-child {
    border-bottom: none !important;
}

/* 10. Product image in mini cart */
.ast-site-header-cart-data ul.cart_list li img,
.ast-site-header-cart-data ul.product_list_widget li img {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    background: rgba(255, 255, 255, 0.06) !important;
    padding: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    float: none !important;
    margin: 0 !important;
}

/* 10b. Product info text wrapper */
.ast-site-header-cart-data .mini-cart-item-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    min-width: 0 !important;
    flex: 1 !important;
}

.ast-site-header-cart-data .mini-cart-item-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #f0f0f0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

/* 11. Product name link */
.ast-site-header-cart-data ul.cart_list li a,
.ast-site-header-cart-data ul.product_list_widget li a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #f0f0f0 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.ast-site-header-cart-data ul.cart_list li a:hover,
.ast-site-header-cart-data ul.product_list_widget li a:hover {
    color: #f3c242 !important;
}

/* Product name text (exclude the image within the link) */
.ast-site-header-cart-data ul.cart_list li a img+*,
.ast-site-header-cart-data ul.product_list_widget li a img~span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 12. Quantity & price */
.ast-site-header-cart-data .quantity {
    display: block !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px !important;
    margin-top: 3px !important;
    font-weight: 400 !important;
}

.ast-site-header-cart-data .woocommerce-Price-amount,
.ast-site-header-cart-data .amount {
    color: #f3c242 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

/* 13. Subtotal row */
.ast-site-header-cart-data p.total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 16px 0 0 0 !important;
    padding: 14px 0 0 0 !important;
    border-top: 1px solid rgba(243, 194, 66, 0.15) !important;
    clear: both !important;
}

.ast-site-header-cart-data p.total strong {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.ast-site-header-cart-data p.total .woocommerce-Price-amount,
.ast-site-header-cart-data p.total .amount {
    font-size: 18px !important;
    color: #f3c242 !important;
    font-weight: 700 !important;
}

/* 14. Action Buttons */
.ast-site-header-cart-data p.buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 14px 0 0 0 !important;
    padding: 0 !important;
}

.ast-site-header-cart-data p.buttons a,
.ast-site-header-cart-data p.buttons a.button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 42px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    width: 100% !important;
}

/* View Cart button */
.ast-site-header-cart-data p.buttons a.wc-forward:not(.checkout) {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.ast-site-header-cart-data p.buttons a.wc-forward:not(.checkout):hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    transform: none !important;
}

/* Checkout button */
.ast-site-header-cart-data p.buttons a.checkout {
    background: linear-gradient(135deg, #f3c242 0%, #d4920e 100%) !important;
    color: #000 !important;
    box-shadow: 0 4px 16px rgba(243, 194, 66, 0.35) !important;
    border: none !important;
}

.ast-site-header-cart-data p.buttons a.checkout:hover {
    background: linear-gradient(135deg, #ffd56a 0%, #e8a81a 100%) !important;
    box-shadow: 0 6px 22px rgba(243, 194, 66, 0.5) !important;
    transform: translateY(-1px) !important;
    color: #000 !important;
}

/* 15. Empty cart state */
.ast-site-header-cart-data .woocommerce-mini-cart__empty-message {
    text-align: center !important;
    padding: 32px 16px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 14px !important;
    font-style: italic !important;
}

/* 16. Mobile */
@media (max-width: 921px) {
    .ast-site-header-cart-data {
        width: 300px !important;
        right: -10px !important;
    }
}

@media (max-width: 480px) {
    .ast-site-header-cart-data {
        width: calc(100vw - 20px) !important;
        right: -10px !important;
    }
}
* Tab list bar */
.woocommerce-tabs .wc-tabs {
    display: flex !important;
    list-style: none !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid rgba(243, 194, 66, 0.2) !important;
    gap: 0 !important;
}

.woocommerce-tabs .wc-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

    .woocommerce-tabs .wc-tabs li a {
        display: block !important;
        padding: 14px 28px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        color: rgba(255, 255, 255, 0.45) !important;
        text-decoration: none !important;
        cursor: pointer !important;
        border-bottom: 3px solid transparent !important;
        margin-bottom: -2px !important;
        transition: color 0.2s ease, border-color 0.2s ease !important;
    }

        .woocommerce-tabs .wc-tabs li a:hover {
            color: rgba(243, 194, 66, 0.75) !important;
        }

    /* Active tab */
    .woocommerce-tabs .wc-tabs li.active a {
        color: #f3c242 !important;
        border-bottom-color: #f3c242 !important;
    }

/* Tab panels — all hidden by default */
.woocommerce-tabs .woocommerce-Tabs-panel {
    display: none !important;
}

    /* Only the active panel is shown */
    .woocommerce-tabs .woocommerce-Tabs-panel.active {
        display: block !important;
        padding-top: 24px !important;
        animation: tabFadeIn 0.25s ease forwards;
    }

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reviews panel headings */
.woocommerce-Reviews-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    color: #f3c242 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.woocommerce-noreviews {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic !important;
}

/* Review form */
.comment-form label {
    display: block !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px !important;
    margin-bottom: 5px !important;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.comment-form select {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    margin-bottom: 14px !important;
}

.comment-form .form-submit input[type="submit"] {
    background: linear-gradient(135deg, #f3c242 0%, #d4920e 100%) !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
}

/* ============================================================
   CART DROPDOWN - PREMIUM DESIGN
   ============================================================ */


/* 1. Fix overflow on all wrapper ancestors so dropdown isn't clipped */
#masthead,
#ast-desktop-header,
#ast-mobile-header,
.ast-main-header-wrap,
.main-header-bar,
.main-header-bar-wrap,
.ast-primary-header-bar,
.site-header-primary-section-right,
.ast-grid-right-section,
.ast-builder-grid-row,
.ast-builder-grid-row-has-sides {
    overflow: visible !important;
    contain: none !important;
}

/* 2. Establish a clean positioning context on the cart wrapper */
.ast-header-woo-cart {
    position: relative !important;
    overflow: visible !important;
}

.ast-site-header-cart {
    position: relative !important;
    overflow: visible !important;
}

.ast-site-header-cart-li {
    position: relative !important;
    overflow: visible !important;
}

/* 3. The dropdown panel - absolutely positioned below the cart icon */
.ast-site-header-cart-data {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    width: 360px !important;
    z-index: 99999 !important;
    background: rgba(10, 10, 10, 0.97) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(243, 194, 66, 0.35) !important;
    border-radius: 12px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(243, 194, 66, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    /* Hidden state */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease !important;
    /* Padding-top creates an invisible hover bridge so the mouse
       can travel from the icon to the panel without the panel closing */
    padding-top: 12px !important;
    margin-top: -12px !important;
}

/* 4. Visible state on hover */
.ast-site-header-cart-li:hover .ast-site-header-cart-data,
.ast-site-header-cart:hover .ast-site-header-cart-data,
.ast-header-woo-cart:hover .ast-site-header-cart-data {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* 5. Inner content padding (inside the padding-top bridge) */
.ast-site-header-cart-data .widget_shopping_cart {
    padding: 20px !important;
    background: transparent !important;
}

/* 6. Gold arrow caret */
.ast-site-header-cart-data::before {
    content: "";
    position: absolute;
    top: 4px;
    /* inside the 12px padding bridge */
    right: 24px;
    width: 14px;
    height: 14px;
    background: rgba(18, 18, 18, 0.98);
    border-top: 1px solid rgba(243, 194, 66, 0.35);
    border-left: 1px solid rgba(243, 194, 66, 0.35);
    transform: rotate(45deg);
    z-index: 1;
}

/* 7. Cart panel header */
.ast-site-header-cart-data .widget_shopping_cart::before {
    content: "Your Cart";
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(243, 194, 66, 0.8);
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* 8. Cart list */
.ast-site-header-cart-data ul.cart_list,
.ast-site-header-cart-data ul.product_list_widget {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(243, 194, 66, 0.5) rgba(255, 255, 255, 0.05);
}

    .ast-site-header-cart-data ul.cart_list::-webkit-scrollbar {
        width: 4px;
    }

    .ast-site-header-cart-data ul.cart_list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.04);
        border-radius: 10px;
    }

    .ast-site-header-cart-data ul.cart_list::-webkit-scrollbar-thumb {
        background: rgba(243, 194, 66, 0.5);
        border-radius: 10px;
    }

    /* 9. Individual cart items */
    .ast-site-header-cart-data ul.cart_list li,
    .ast-site-header-cart-data ul.product_list_widget li {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 14px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        position: relative !important;
        overflow: hidden !important;
    }

        .ast-site-header-cart-data ul.cart_list li:last-child,
        .ast-site-header-cart-data ul.product_list_widget li:last-child {
            border-bottom: none !important;
        }

        /* 10. Product image in mini cart */
        .ast-site-header-cart-data ul.cart_list li img,
        .ast-site-header-cart-data ul.product_list_widget li img {
            width: 60px !important;
            height: 60px !important;
            min-width: 60px !important;
            border-radius: 8px !important;
            object-fit: contain !important;
            background: rgba(255, 255, 255, 0.06) !important;
            padding: 4px !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            float: none !important;
            margin: 0 !important;
        }

/* 10b. Product info text wrapper */
.ast-site-header-cart-data .mini-cart-item-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    min-width: 0 !important;
    flex: 1 !important;
}

.ast-site-header-cart-data .mini-cart-item-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #f0f0f0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

/* 11. Product name link */
.ast-site-header-cart-data ul.cart_list li a,
.ast-site-header-cart-data ul.product_list_widget li a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #f0f0f0 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    flex: 1 !important;
    min-width: 0 !important;
}

    .ast-site-header-cart-data ul.cart_list li a:hover,
    .ast-site-header-cart-data ul.product_list_widget li a:hover {
        color: #f3c242 !important;
    }

    /* Product name text (exclude the image within the link) */
    .ast-site-header-cart-data ul.cart_list li a img + *,
    .ast-site-header-cart-data ul.product_list_widget li a img ~ span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* 12. Quantity & price */
.ast-site-header-cart-data .quantity {
    display: block !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px !important;
    margin-top: 3px !important;
    font-weight: 400 !important;
}

.ast-site-header-cart-data .woocommerce-Price-amount,
.ast-site-header-cart-data .amount {
    color: #f3c242 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

/* 13. Subtotal row */
.ast-site-header-cart-data p.total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 16px 0 0 0 !important;
    padding: 14px 0 0 0 !important;
    border-top: 1px solid rgba(243, 194, 66, 0.15) !important;
    clear: both !important;
}

    .ast-site-header-cart-data p.total strong {
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .ast-site-header-cart-data p.total .woocommerce-Price-amount,
    .ast-site-header-cart-data p.total .amount {
        font-size: 18px !important;
        color: #f3c242 !important;
        font-weight: 700 !important;
    }

/* 14. Action Buttons */
.ast-site-header-cart-data p.buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 14px 0 0 0 !important;
    padding: 0 !important;
}

    .ast-site-header-cart-data p.buttons a,
    .ast-site-header-cart-data p.buttons a.button {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 42px !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        transition: all 0.25s ease !important;
        cursor: pointer !important;
        text-decoration: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 8px !important;
        line-height: 1 !important;
        width: 100% !important;
    }

        /* View Cart button */
        .ast-site-header-cart-data p.buttons a.wc-forward:not(.checkout) {
            background: rgba(255, 255, 255, 0.08) !important;
            color: rgba(255, 255, 255, 0.85) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
        }

            .ast-site-header-cart-data p.buttons a.wc-forward:not(.checkout):hover {
                background: rgba(255, 255, 255, 0.15) !important;
                color: #fff !important;
                transform: none !important;
            }

        /* Checkout button */
        .ast-site-header-cart-data p.buttons a.checkout {
            background: linear-gradient(135deg, #f3c242 0%, #d4920e 100%) !important;
            color: #000 !important;
            box-shadow: 0 4px 16px rgba(243, 194, 66, 0.35) !important;
            border: none !important;
        }

            .ast-site-header-cart-data p.buttons a.checkout:hover {
                background: linear-gradient(135deg, #ffd56a 0%, #e8a81a 100%) !important;
                box-shadow: 0 6px 22px rgba(243, 194, 66, 0.5) !important;
                transform: translateY(-1px) !important;
                color: #000 !important;
            }

/* 15. Empty cart state */
.ast-site-header-cart-data .woocommerce-mini-cart__empty-message {
    text-align: center !important;
    padding: 32px 16px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 14px !important;
    font-style: italic !important;
}

/* 16. Mobile */
@media (max-width: 921px) {
    .ast-site-header-cart-data {
        width: 300px !important;
        right: -10px !important;
    }
}

@media (max-width: 480px) {
    .ast-site-header-cart-data {
        width: calc(100vw - 20px) !important;
        right: -10px !important;
    }
}