/*
Theme Name: Custom Ecommerce Theme
Theme URI: https://example.com/custom-ecommerce-theme
Author: Themesflat / Advanced Team
Author URI: https://themesflat.com
Description: Production-ready WooCommerce WordPress theme faithfully converted from the Ochaka skin care HTML template design. Preserves original layout, typography, animations, components, and responsive behavior with Elementor Free and Contact Form 7 support.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-ecommerce-theme
Tags: e-commerce, custom-menu, featured-images, full-width-template, theme-options, translation-ready, woocommerce
*/

/* WordPress Core Alignment & Captions */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Contact Form 7 Form Integration */
.form-contact .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0;
    position: relative;
    width: 100%;
}
.form-contact input[type="text"],
.form-contact input[type="email"],
.form-contact input[type="tel"],
.form-contact textarea {
    width: 100%;
}
.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #dc3545;
    margin-top: 6px;
    display: block;
}
.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 12px 18px !important;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}
div.wpcf7 .wpcf7-mail-sent-ok {
    border: 1px solid #198754 !important;
    background-color: #d1e7dd;
    color: #0f5132;
}
div.wpcf7 .wpcf7-validation-errors,
div.wpcf7 .wpcf7-mail-sent-ng {
    border: 1px solid #dc3545 !important;
    background-color: #f8d7da;
    color: #842029;
}

/* WooCommerce Standard Overrides & Theme Harmonization */
.woocommerce-notices-wrapper {
    width: 100%;
    margin-bottom: 24px;
}
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
    padding: 14px 20px !important;
    margin-bottom: 24px !important;
    border-radius: 4px;
    font-size: 15px;
    list-style: none !important;
}
.woocommerce-message {
    background-color: #f0fdf4 !important;
    border-top: 3px solid #22c55e !important;
    color: #15803d !important;
}
.woocommerce-info {
    background-color: #eff6ff !important;
    border-top: 3px solid #3b82f6 !important;
    color: #1d4ed8 !important;
}
.woocommerce-error {
    background-color: #fef2f2 !important;
    border-top: 3px solid #ef4444 !important;
    color: #b91c1c !important;
}
.woocommerce-message .button,
.woocommerce-info .button {
    float: right;
    padding: 4px 14px;
    background: #000;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
    text-transform: uppercase;
}

/* Offcanvas shopping cart badges and items */
.shop-cart .count,
.toolbar-count {
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}

/* Elementor Full Width Compatibility */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1440px;
}
body.elementor-page .tf-page-title,
body.elementor-page .s-page-title {
    margin-bottom: 0;
}

/* Popup Shopping Cart & Mini Cart Fixes */
.popup-shopping-cart {
    background-color: var(--white);
}
.popup-shopping-cart .canvas-wrapper {
    background-color: var(--white);
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex: 1 1 auto;
    min-width: 0;
}
.popup-shopping-cart .wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden;
}
.popup-shopping-cart .widget_shopping_cart_content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden;
}
.popup-shopping-cart .tf-mini-cart-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden;
}
.popup-shopping-cart .tf-mini-cart-main {
    flex: 1 1 auto !important;
    position: relative !important;
    min-height: 200px !important;
    overflow-y: auto !important;
}
.popup-shopping-cart .tf-mini-cart-sroll {
    position: relative !important;
    height: auto !important;
    min-height: 100%;
}
.popup-shopping-cart .tf-minicart-recommendations {
    width: 314px;
    flex-shrink: 0;
    background-color: var(--surface);
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.popup-shopping-cart .tf-minicart-recommendations .list-cart-item .image {
    width: 100% !important;
    height: 180px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    border-radius: 4px !important;
}
.popup-shopping-cart .tf-minicart-recommendations .list-cart-item .image a,
.popup-shopping-cart .tf-minicart-recommendations .list-cart-item .image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Single Product Add to Cart Button & Quantity Harmonization */
.tf-product-total-quantity .single_add_to_cart_button,
.woocommerce-variation-add-to-cart .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    min-height: 52px !important;
    padding: 0 32px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    background-color: #111 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.tf-product-total-quantity .single_add_to_cart_button:hover,
.woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
    background-color: var(--primary, #c97f5d) !important;
    color: #fff !important;
}

.tf-product-total-quantity .group-btn,
.woocommerce-variation-add-to-cart .group-btn {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
}

.tf-product-total-quantity .wg-quantity,
.woocommerce-variation-add-to-cart .wg-quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 43px !important;
    padding: 6px 12px !important;
    min-width: 130px !important;
    max-width: 160px !important;
    background: #fff !important;
}

.tf-product-total-quantity .wg-quantity .btn-quantity,
.woocommerce-variation-add-to-cart .wg-quantity .btn-quantity {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    background: transparent !important;
    border: none !important;
    color: #111 !important;
    cursor: pointer !important;
}

.tf-product-total-quantity .wg-quantity .btn-quantity:hover,
.woocommerce-variation-add-to-cart .wg-quantity .btn-quantity:hover {
    color: var(--primary, #c97f5d) !important;
}

.tf-product-total-quantity .wg-quantity .quantity-product,
.woocommerce-variation-add-to-cart .wg-quantity .quantity-product {
    width: 44px !important;
    height: 36px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #111 !important;
}

/* Related Products Horizontal Swiper Layout */
.related-products {
    width: 100%;
}
.related-products .wrap-sw-over {
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
}
.related-products .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}
.related-products .swiper-slide {
    height: auto !important;
    flex-shrink: 0 !important;
}
.related-products .card-product {
    height: 100%;
    margin-bottom: 0 !important;
}
.related-products .card-product .card-product_wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

/* ==========================================================================
   Product Gallery & Multi-Image Thumbnails Fix
   ========================================================================== */
.product-thumbs-slider {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .product-thumbs-slider {
        flex-direction: row !important;
    }
    .tf-product-media-thumbs {
        width: 90px !important;
        max-width: 90px !important;
        flex-shrink: 0 !important;
        order: 0 !important;
        max-height: 580px !important;
        overflow: hidden !important;
    }
    .flat-wrap-media-product {
        width: calc(100% - 90px - 12px) !important;
        flex: 1 1 auto !important;
        max-width: calc(100% - 102px) !important;
    }
}

@media (max-width: 767px) {
    .product-thumbs-slider {
        flex-direction: column !important;
    }
    .tf-product-media-thumbs {
        width: 100% !important;
        order: 1 !important;
        margin-top: 10px !important;
    }
    .flat-wrap-media-product {
        width: 100% !important;
    }
}

.product-thumbs-slider.no-thumbs .flat-wrap-media-product,
.flat-wrap-media-product.w-100 {
    width: 100% !important;
    max-width: 100% !important;
}

.tf-product-media-thumbs .swiper-wrapper {
    display: flex !important;
}

@media (min-width: 768px) {
    .tf-product-media-thumbs .swiper-wrapper {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

.tf-product-media-thumbs .stagger-item {
    transform: none !important;
    opacity: 0.7 !important;
    transition: opacity 0.25s ease, border-color 0.25s ease !important;
}

.tf-product-media-thumbs .swiper-slide {
    width: 90px !important;
    height: 90px !important;
    cursor: pointer !important;
    margin-bottom: 0 !important;
}

.tf-product-media-thumbs .swiper-slide:hover,
.tf-product-media-thumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 1 !important;
}

.tf-product-media-thumbs .swiper-slide .item {
    width: 100% !important;
    height: 100% !important;
    border: 2px solid #e5e5e5 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 3px !important;
}

.tf-product-media-thumbs .swiper-slide.swiper-slide-thumb-active .item {
    border-color: #111111 !important;
}

.tf-product-media-thumbs .swiper-slide .item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

.flat-wrap-media-product .tf-product-media-main {
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #ebebeb !important;
    width: 100% !important;
}

.flat-wrap-media-product .tf-product-media-main .item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 580px !important;
}

.flat-wrap-media-product .tf-product-media-main .item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

/* ==========================================================================
   OCHAKA CART & CHECKOUT PAGE STYLING & ANIMATIONS
   ========================================================================== */

/* Cart Header / Urgency & Free Shipping */
.tf-cart-sold {
    margin-bottom: 32px;
}
.tf-cart-sold .notification-sold {
    background-color: #faf5ee;
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #f0e6d6;
}
.tf-cart-sold .notification-sold .icon {
    width: 22px;
    height: 22px;
    animation: tf-ani-flash 2s infinite ease-in-out;
}
@keyframes tf-ani-flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.08); }
}
.tf-cart-sold .time-count {
    display: inline-block;
    font-weight: 700;
    color: #e53e3e;
    margin: 0 4px;
}
.notification-progress {
    margin-top: 16px;
}
.notification-progress .text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.notification-progress .progress-cart {
    width: 100%;
    background-color: #e9ecef;
    height: 6px;
    border-radius: 10px;
    position: relative;
    overflow: visible;
}
.notification-progress .value {
    height: 100%;
    background-color: #198754;
    border-radius: 10px;
    position: relative;
    transition: width 0.8s ease-in-out;
}
.notification-progress .round {
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border: 3px solid #198754;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Cart Table */
.tf-table-page-cart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.tf-table-page-cart thead tr {
    background-color: #f7f7f7;
    border-radius: 6px;
}
.tf-table-page-cart thead th {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
    color: #111;
    border: none;
    text-align: left;
}
.tf-table-page-cart tbody tr {
    border-bottom: 1px solid #ebebeb;
}
.tf-table-page-cart tbody td {
    padding: 24px 20px;
    vertical-align: middle;
}
.tf-cart_item .cart_product {
    display: flex;
    align-items: center;
    gap: 16px;
}
.tf-cart_item .img-prd {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #ebebeb;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tf-cart_item .img-prd img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tf-cart_item .prd_name a {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    transition: color 0.2s ease;
}
.tf-cart_item .prd_name a:hover {
    color: #555;
}
.tf-cart_item .cart_price,
.tf-cart_item .cart_total {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}
.tf-cart_item .cart_remove a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #777;
    transition: all 0.2s ease;
    text-decoration: none;
}
.tf-cart_item .cart_remove a:hover {
    background-color: #111;
    color: #fff;
    border-color: #111;
}

.each-list-prd {
    padding-top: 40px !important;
}

/* Quantity Widget */
.wg-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
    background: #fff;
    padding: 2px 4px;
}
.wg-quantity .btn-quantity {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    font-size: 13px;
    transition: background 0.2s ease;
}
.wg-quantity .btn-quantity:hover {
    background: #f0f0f0;
}
.wg-quantity input.quantity-product,
.wg-quantity input.qty {
    width: 40px;
    text-align: center;
    border: none !important;
    background: transparent !important;
    font-weight: 600;
    font-size: 15px;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    -moz-appearance: textfield;
}
.wg-quantity input.qty::-webkit-outer-spin-button,
.wg-quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Coupon Input Bar */
.ip-discount-code input.input-text {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 14px;
    color: #111;
    outline: none;
    transition: border-color 0.2s ease;
}
.ip-discount-code input.input-text:focus {
    background: #fff;
    border-color: #111;
}

/* Coupon Promo Cards */
.group-discount {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.group-discount::-webkit-scrollbar {
    display: none;
}
.box-discount {
    flex: 1 0 280px;
    max-width: 320px;
    background: #fff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}
.box-discount .discount-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #fafafa;
    border-bottom: 1px dashed #e5e5e5;
}
.box-discount .discount-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
}
.box-discount .coupon-copy-wrap {
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 20px;
    background: #111;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.box-discount .coupon-copy-wrap:hover {
    background: #333;
}
.box-discount:hover {
    border-color: #111;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Sidebar Order Summary */
.box-order-summary,
.box-your-order {
    background: #f7f7f7 !important;
    border-radius: 12px !important;
    padding: 32px 28px !important;
    border: 1px solid #efefef;
}
.box-order-summary .title,
.box-your-order .title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
}
.box-order-summary .subtotal,
.box-order-summary .discount,
.box-order-summary .ship {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 15px;
}
.box-order-summary .total-order {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    padding-top: 16px;
    margin-top: 14px;
    border-top: 1px solid #111;
}

/* Animate Buttons */
.tf-btn.animate-btn {
    background-color: #111 !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.tf-btn.animate-btn:hover {
    background-color: #2b2b2b !important;
    color: #fff !important;
}
.tf-btn.animate-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
}
.tf-btn.animate-btn:hover::after {
    animation: tf-btn-shine 0.8s forwards;
}
@keyframes tf-btn-shine {
    100% { left: 160%; }
}
.tf-btn.btn-white {
    background-color: #fff !important;
    color: #111 !important;
    border: 1px solid #e5e5e5 !important;
}
.tf-btn.btn-white:hover {
    background-color: #f7f7f7 !important;
    color: #111 !important;
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout .checkout-button,
.box-order-summary .checkout-button {
    background-color: #111 !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    width: 100% !important;
}
.wc-proceed-to-checkout .checkout-button:hover,
.box-order-summary .checkout-button:hover {
    background-color: #2b2b2b !important;
    color: #fff !important;
}

/* CHECKOUT PAGE STYLING */
.woocommerce-checkout .box-ip-checkout {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
}
.woocommerce-checkout .box-ip-checkout .title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

/* Two-column checkout form grid */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}
@media (max-width: 767px) {
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-billing-fields__field-wrapper .notes,
.woocommerce-billing-fields__field-wrapper p:not(.form-row-first):not(.form-row-last),
.woocommerce-shipping-fields__field-wrapper .form-row-wide,
.woocommerce-additional-fields__field-wrapper .form-row {
    grid-column: 1 / -1;
}

.woocommerce-checkout .form-row {
    margin-bottom: 0;
    padding: 0;
}
.woocommerce-checkout .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
}
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    background-color: #f7f7f7 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #111 !important;
    transition: all 0.25s ease !important;
    outline: none !important;
}
.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    background-color: #ffffff !important;
    border-color: #111 !important;
    box-shadow: 0 0 0 1px #111 !important;
}

/* Checkout Coupon Toggle & Box */
.woocommerce-form-coupon-toggle {
    margin-bottom: 24px;
}
.woocommerce-form-coupon-toggle .woocommerce-info {
    background-color: #fcfcfc;
    border: 1px dashed #d5d5d5;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 15px;
    color: #222;
}
.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #111;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
}
form.checkout_coupon {
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Checkout Payment Accordion */
.payment-method-box {
    margin-bottom: 24px;
}
.payment_accordion {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 16px 20px;
    background: #ffffff;
    transition: all 0.25s ease;
}
.payment_accordion:hover,
.payment_accordion:has(input:checked) {
    border-color: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.payment_accordion .payment_check {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    user-select: none;
}
.payment_accordion .pay-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}
.payment_accordion .payment_body {
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px dashed #ebebeb;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Radio buttons matching Ochaka */
.tf-check-rounded.style-2,
input[type="radio"].tf-check-rounded,
.payment_accordion input[type="radio"] {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.tf-check-rounded.style-2:checked,
input[type="radio"].tf-check-rounded:checked,
.payment_accordion input[type="radio"]:checked {
    border-color: #111;
    background-color: #111;
    box-shadow: inset 0 0 0 4px #ffffff;
}

/* Order Review Product List in Checkout */
.list-order-product {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.list-order-product .order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #e5e5e5;
}
.list-order-product .order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.list-order-product .img-prd {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #ebebeb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-order-product .img-prd img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.list-order-product .infor-prd {
    flex: 1;
}
.list-order-product .infor-prd .prd_name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111;
}
.list-order-product .infor-prd .prd_select {
    font-size: 13px;
    color: #777;
}
.list-order-product .price-prd {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}
.list-total {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.list-total .total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid #ebebeb;
}
.last-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    padding-top: 14px;
    border-top: 1px solid #111;
}

/* Two-column field alignment for Phone/Email and City/Postcode */
@media (min-width: 768px) {
    #billing_phone_field,
    #billing_email_field {
        grid-column: span 1 !important;
    }
    #billing_city_field,
    #billing_postcode_field {
        grid-column: span 1 !important;
    }
    #shipping_first_name_field,
    #shipping_last_name_field,
    #shipping_city_field,
    #shipping_postcode_field {
        grid-column: span 1 !important;
    }
}

/* Place Order Button - Bold, high-specificity Ochaka pill */
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout #place_order,
.button_submit .tf-btn,
.button_submit button#place_order {
    width: 100% !important;
    padding: 16px 28px !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout #place_order:hover,
.button_submit .tf-btn:hover {
    background-color: #2b2b2b !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
}

/* Checkout Coupon Box */
.woocommerce-form-coupon-toggle .woocommerce-info {
    border: 1px dashed #d5d5d5 !important;
    border-top: 1px dashed #d5d5d5 !important;
    background-color: #fafafa !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    color: #333 !important;
}
.woocommerce-form-coupon-toggle .woocommerce-info::before {
    color: #111 !important;
}
.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #111 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Suppress blockUI veil so checkout and cart remain high contrast and crisp */
.woocommerce-checkout .blockUI.blockOverlay,
.woocommerce-cart .blockUI.blockOverlay,
.blockOverlay {
    display: none !important;
}

/* Payment list ul/li resets */
ul.payment-method-box {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
}
li.payment_accordion {
    list-style: none !important;
}

/* Delivery date/time plugin styling matching Ochaka */
#byconsolewooodt_checkout_field {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #ebebeb;
    margin-bottom: 24px;
}
#byconsolewooodt_checkout_field h3,
#byconsolewooodt_checkout_field .bycwooodt_section_heading {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}
#byconsolewooodt_checkout_field p {
    margin-bottom: 14px;
}
#byconsolewooodt_checkout_field input[type="text"],
#byconsolewooodt_checkout_field select {
    width: 100% !important;
    background-color: #f7f7f7 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #111 !important;
}
#byconsolewooodt_checkout_field input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #111;
    margin-right: 8px;
}

/* ==========================================================================
   Hero Background Video Section
   ========================================================================== */
.hero-video-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.hero-video-section .hero-video-wrap {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1439px) {
    .hero-video-section .hero-video-wrap {
        height: 640px;
    }
}
@media (max-width: 991px) {
    .hero-video-section .hero-video-wrap {
        height: 540px;
    }
}
@media (max-width: 575px) {
    .hero-video-section .hero-video-wrap {
        height: 460px;
    }
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-video-section .sld_content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}
.hero-video-section .content-sld_wrap {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    max-width: 860px !important;
    padding: 20px 15px !important;
    position: relative;
    z-index: 5;
}

.hero-video-title {
    color: #ffffff !important;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
@media (max-width: 991px) {
    .hero-video-title {
        font-size: 42px;
    }
}
@media (max-width: 575px) {
    .hero-video-title {
        font-size: 30px;
    }
}

.hero-video-subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.8px;
    margin-bottom: 32px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
@media (max-width: 575px) {
    .hero-video-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
}

.btn-hero-shop {
    background-color: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #ffffff !important;
    padding: 16px 36px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}
.btn-hero-shop:hover {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2) !important;
}

/* Wellness Goals Section */
.wellness-goals-section {
    padding-top: 70px;
    padding-bottom: 70px;
}
.wellness-goal-card {
    display: block;
    text-decoration: none;
    text-align: center;
}
.wellness-goal-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f7f6f2;
    border-radius: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wellness-goal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
}
.wellness-goal-card:hover .wellness-goal-img {
    transform: scale(1.03);
}
.wellness-goal-card:hover .wellness-goal-img-wrap {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}
.wellness-goal-title {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #111111;
    transition: color 0.2s ease;
}
.wellness-goal-card:hover .wellness-goal-title {
    color: #000000;
}

/* Clarity Video Section (Replaces Before & After) */
.clarity-video-section {
    padding: 60px 0;
}
.clarity-video-card {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b0f15;
}
.clarity-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.clarity-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}
.clarity-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 2;
}
.clarity-video-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 40px 24px;
    margin: 0 auto;
}
.clarity-video-heading {
    color: #ffffff !important;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
@media (max-width: 991px) {
    .clarity-video-heading {
        font-size: 30px;
    }
    .clarity-video-card {
        min-height: 460px;
    }
}
@media (max-width: 575px) {
    .clarity-video-heading {
        font-size: 24px;
        margin-bottom: 14px;
    }
    .clarity-video-card {
        min-height: 420px;
    }
}
.clarity-video-subheading {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 780px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
@media (max-width: 575px) {
    .clarity-video-subheading {
        font-size: 14px;
        line-height: 1.55;
    }
}

/* Homepage FAQ Section Spacing & Theme Alignment */
.faq-section {
    padding-top: 60px;
    padding-bottom: 70px;
}
.faq-section .accordion-faq {
    margin-bottom: 16px;
    border-radius: 4px;
}
.faq-section .accordion-title {
    padding: 18px 24px;
    background-color: #f7f6f2;
    border: 1px solid #e8e6df;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}
.faq-section .accordion-title:not(.collapsed) {
    background-color: #ffffff;
    border-color: #111111;
}
.faq-section .accordion-title .text {
    font-size: 17px;
    font-weight: 600;
    color: #111111;
    margin: 0;
}
.faq-section .accordion-body {
    padding: 20px 24px;
    background-color: #ffffff;
    border: 1px solid #e8e6df;
    border-top: none;
    border-radius: 0 0 4px 4px;
}
.faq-section .accordion-body p {
    color: #555555;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   WordPress Navigation Menus (Desktop, Mobile Drawer, Sticky & Footer)
   ========================================================================== */
.box-nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    padding-top: 35px;
    padding-bottom: 35px;
    position: relative;
    transition: color 0.3s ease;
}
.box-navigation.style-white .box-nav-menu > li > a {
    color: #ffffff;
}
.header-fixed .box-nav-menu > li > a {
    color: #111111;
    padding-top: 25px;
    padding-bottom: 25px;
}
.box-nav-menu > li.active > a,
.box-nav-menu > li.current-menu-item > a,
.box-nav-menu > li.current_page_item > a,
.box-nav-menu > li.current-menu-ancestor > a,
.box-nav-menu > li > a:hover {
    color: var(--primary) !important;
}
.box-nav-menu > li:hover > .sub-menu {
    transform: scale(1);
    pointer-events: all;
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer WordPress Menus */
.nav-ul-mb .nav-mb-item .mb-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    padding-bottom: 24px;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.nav-ul-mb .nav-mb-item .mb-menu-link.active,
.nav-ul-mb .nav-mb-item.active > .mb-menu-link,
.nav-ul-mb .nav-mb-item .mb-menu-link:hover {
    color: var(--primary);
}
.nav-ul-mb .sub-nav-menu {
    padding-left: 16px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-left: 16px;
    margin-bottom: 24px;
    border-left: 1px solid var(--line, #e8e6df);
}
.nav-ul-mb .sub-nav-menu .sub-nav-link {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text, #555555);
    display: flex;
    padding-top: 8px;
    padding-bottom: 8px;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
}
.nav-ul-mb .sub-nav-menu .sub-nav-link:hover,
.nav-ul-mb .sub-nav-menu .sub-nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Footer WordPress Menus */
.footer-menu-list li a {
    display: inline-block;
    font-size: 15px;
    line-height: 24px;
    color: var(--text, #717171);
    transition: color 0.3s ease;
}
.footer-menu-list li a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Single Product Column & Card Sizing on Mobile View (< 576px)
   ========================================================================== */
@media (max-width: 575.98px) {
    /* Shop Archive Grid: Exactly 1 Product Column */
    .woocommerce ul.products[class*="columns-"] li.product,
    .woocommerce-page ul.products[class*="columns-"] li.product,
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .shop-product-grid .col-6,
    .shop-product-grid .col-12,
    .archive.woocommerce .col-6,
    .archive.woocommerce .col-12,
    .woocommerce .col-6,
    .woocommerce .col-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }

    /* Product card centering and sizing */
    .card-product {
        width: 100% !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 24px !important;
        gap: 12px !important;
    }

    /* Product image container: compact, square, clean background */
    .card-product_wrapper {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        max-width: 320px !important;
        height: 280px !important;
        max-height: 280px !important;
        background-color: #faf9f6 !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        position: relative !important;
        margin: 0 auto !important;
    }

    .card-product_wrapper .product-img {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .card-product_wrapper img {
        height: auto !important;
        max-height: 230px !important;
        width: auto !important;
        max-width: 85% !important;
        object-fit: contain !important;
        object-position: center !important;
        margin: auto !important;
    }

    .card-product_wrapper .img-hover {
        display: none !important;
    }

    /* Badges on mobile */
    .card-product_wrapper .product-badge_list {
        top: 12px !important;
        left: 12px !important;
    }

    /* Action buttons on mobile */
    .card-product_wrapper .product-action_list {
        top: 12px !important;
        right: 12px !important;
    }

    /* Product title & price */
    .card-product_info {
        text-align: center !important;
        padding-top: 4px !important;
    }

    .card-product_info .name-product {
        font-size: 16px !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
        font-weight: 600 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .card-product_info .price-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        font-size: 15px !important;
    }

    /* Swiper Product Slider in 1-column mobile view */
    .tf-swiper[data-mobile="1"] {
        height: auto !important;
        overflow: hidden !important;
    }
    .tf-swiper[data-mobile="1"] .swiper-wrapper {
        height: auto !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }
    .tf-swiper[data-mobile="1"] .swiper-slide {
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .tf-swiper[data-mobile="1"] .swiper-slide .card-product {
        width: 100% !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 0 !important;
    }
}

/* Payment Icons */
.payment-method-list {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.payment-method-list li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
.payment-method-list li img {
    height: 24px !important;
    width: auto !important;
    max-width: 42px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
    display: block !important;
}

/* ==========================================================================
   WordPress Admin Bar Compatibility for Fixed & Sticky Headers
   ========================================================================== */
body.admin-bar .tf-header.header-fixed {
    top: 32px !important;
}
@media (max-width: 782px) {
    body.admin-bar .tf-header.header-fixed {
        top: 46px !important;
    }
}

/* Offcanvas mobile drawer under admin bar */
body.admin-bar .offcanvas.canvas-mb {
    top: 32px !important;
    height: calc(100% - 32px) !important;
}
@media (max-width: 782px) {
    body.admin-bar .offcanvas.canvas-mb {
        top: 46px !important;
        height: calc(100% - 46px) !important;
    }
}

/* Sticky Header Styling Polish */
.tf-header.header-fixed {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 9999 !important;
    padding: 6px 0 !important;
}
.tf-header.header-fixed .item-link {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    font-size: 15px !important;
}
.tf-header.header-fixed .site-title-text {
    font-size: 22px !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}
.tf-header.header-fixed .nav-icon-list {
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
}

/* ==========================================================================
   Tiered Pricing Table / Bulk & Bundle Pricing Styles (Life Nootropics)
   ========================================================================== */
.tiered-pricing-wrapper {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 18px 20px 20px !important;
    margin: 22px 0 24px !important;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden;
}

.tiered-pricing-wrapper h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.tiered-pricing-wrapper h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.tiered-pricing-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 4px !important;
    border: none !important;
    margin: 0 !important;
}

.tiered-pricing-table thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 8px 14px !important;
    border: none !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.tiered-pricing-table thead th:first-child {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-left: 1px solid #e2e8f0 !important;
}

.tiered-pricing-table thead th:last-child {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    border-right: 1px solid #e2e8f0 !important;
    text-align: right !important;
}

.tiered-pricing-table tbody tr {
    cursor: pointer !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tiered-pricing-table tbody tr td {
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
    border: none !important;
    background: #ffffff;
    vertical-align: middle !important;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.tiered-pricing-table tbody tr td:first-child {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.tiered-pricing-table tbody tr td:last-child {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    text-align: right !important;
}

.tiered-pricing-table tbody tr:hover td {
    background-color: #f1f5f9 !important;
}

/* Active Tier Row Styling */
.tiered-pricing-table tbody tr.tiered-pricing--active td,
.tiered-pricing-table tbody tr.tiered-pricing-selected td {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.tiered-pricing-table tbody tr.tiered-pricing--active td .woocommerce-Price-amount,
.tiered-pricing-table tbody tr.tiered-pricing-selected td .woocommerce-Price-amount {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Deal Badges */
.ln-tier-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 9999px;
    margin-left: 6px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: middle;
}

.ln-tier-badge-popular {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

.ln-tier-badge-best {
    background: #fef3c7 !important;
    color: #d97706 !important;
    border: 1px solid #fde68a !important;
}

.tiered-pricing-table tbody tr.tiered-pricing--active .ln-tier-badge-popular,
.tiered-pricing-table tbody tr.tiered-pricing-selected .ln-tier-badge-popular {
    background: #064e3b !important;
    color: #6ee7b7 !important;
    border-color: #059669 !important;
}

.tiered-pricing-table tbody tr.tiered-pricing--active .ln-tier-badge-best,
.tiered-pricing-table tbody tr.tiered-pricing-selected .ln-tier-badge-best {
    background: #78350f !important;
    color: #fde68a !important;
    border-color: #d97706 !important;
}

/* Mobile Responsiveness for Tier Pricing Table */
@media (max-width: 576px) {
    .tiered-pricing-wrapper {
        padding: 14px 12px 16px !important;
        margin: 16px 0 20px !important;
    }
    .tiered-pricing-table thead th {
        font-size: 10px !important;
        padding: 6px 8px !important;
    }
    .tiered-pricing-table tbody tr td {
        padding: 8px 8px !important;
        font-size: 12px !important;
    }
    .ln-tier-badge {
        font-size: 9px !important;
        padding: 1px 5px !important;
        margin-left: 3px !important;
    }
}

/* Policy & Legal Content Styling */
.legal-content-wrap {
    max-width: 920px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}
.legal-content-wrap h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.legal-content-wrap h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 28px;
    margin-bottom: 12px;
}
.legal-content-wrap p {
    margin-bottom: 16px;
}
.legal-content-wrap ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.legal-content-wrap ul li {
    margin-bottom: 8px;
}
.legal-content-wrap hr {
    border-color: #e2e8f0;
    margin: 28px 0;
}

/* ========================================================
   Header Single-Line Navigation Rules
   Strictly prevents multi-line wrapping in main & sticky headers
   ======================================================== */
.box-navigation {
    width: 100%;
}

.box-nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(10px, 1.3vw, 22px) !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.box-nav-menu > .menu-item {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.box-nav-menu .item-link,
.box-nav-menu .item-link span {
    white-space: nowrap !important;
    word-break: keep-all !important;
}

.box-nav-menu .item-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: clamp(13px, 0.95vw, 15px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.header-fixed .box-nav-menu {
    gap: clamp(8px, 1.1vw, 18px) !important;
}

.header-fixed .item-link {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    font-size: clamp(12px, 0.9vw, 14px) !important;
}

/* Ensure Verify Product in navigation displays in signature gold #DFB037 */
.box-nav-menu a[href*="verify"],
.box-nav-menu a[href*="verify"] span,
.box-nav-menu .menu-item-verify > .item-link {
    color: #DFB037 !important;
}

.box-nav-menu a[href*="verify"]:hover,
.box-nav-menu a[href*="verify"]:hover span {
    color: #ffd875 !important;
}

/* Topbar Single-Line Enforcement */
.tf-topbar .topbar-left,
.tf-topbar .topbar-right {
    white-space: nowrap !important;
}

.tf-topbar .topbar-right {
    gap: clamp(10px, 1.4vw, 20px) !important;
}

.tf-topbar .topbar-right li,
.tf-topbar .topbar-right a {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
}
/* ==========================================================================
   Product Card Image & Secondary Hover Image Cut-off Fix
   ========================================================================== */
.card-product_wrapper {
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.card-product_wrapper .product-img {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.card-product_wrapper img,
.card-product_wrapper .img-product,
.card-product_wrapper .img-hover {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    box-sizing: border-box !important;
}

.card-product_wrapper .img-hover {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
    transition: opacity 0.35s ease-in-out !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.card-product_wrapper:hover .img-hover,
.card-product:hover .card-product_wrapper .img-hover,
.card-product.is-hovered .card-product_wrapper .img-hover {
    opacity: 1 !important;
    z-index: 4 !important;
    transform: none !important;
    -webkit-transform: none !important;
}

.card-product_wrapper .img-product {
    transition: opacity 0.35s ease-in-out !important;
}

.card-product_wrapper:hover .img-product,
.card-product:hover .card-product_wrapper .img-product,
.card-product.is-hovered .card-product_wrapper .img-product {
    opacity: 0 !important;
}
