/**
 * Xpert Energy - WooCommerce Core Styles
 * 
 * SCOPE: WooCommerce infrastructure only
 * - Cart & checkout
 * - Account pages
 * - Forms & inputs
 * - Notices & messages
 * - Widgets
 * - Tables
 * - Single product page (gallery, tabs, variations)
 * 
 * NOTE: Product cards/grid styles are in product-cards.css
 * 
 * @package Xpert_Energy
 * @version 4.3.0 - Cleaned & Deduplicated
 */

/* ==========================================================================
   GLOBAL: Hide WooCommerce Native Password Toggle Buttons
   ========================================================================== */

.show-password-input,
button.show-password-input,
button.wp-hide-pw,
button.hide-password,
#password_strength,
span.password-input > button,
.password-input button[type="button"] {
    display: none !important;
}

button.mat-mdc-tooltip-trigger,
button.image-fade-on,
button.hide-from-message-actions {
    display: none !important;
}

/* ==========================================================================
   BASE WOOCOMMERCE STYLES
   ========================================================================== */

del,
del span {
    color: red !important;
    display: unset !important;
}

.woocommerce img,
.woocommerce-page img {
    height: auto;
    max-width: 100%;
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */

.woocommerce #content table.cart td.actions .coupon label,
.woocommerce table.cart td.actions .coupon label,
.woocommerce-page #content table.cart td.actions .coupon label,
.woocommerce-page table.cart td.actions .coupon label {
    display: none;
}

.woocommerce-cart-form table {
    border: 0;
}

.woocommerce-cart-form table tbody,
.woocommerce-cart-form table td,
.woocommerce-cart-form table th {
    border: 0;
}

.woocommerce-cart-form .product-remove {
    text-align: center;
}

.woocommerce-cart-form table tbody tr {
    border-top: 1px solid #ddd;
}

.woocommerce-cart-form table td.product-thumbnail {
    padding: 10px;
    width: 10%;
}

.woocommerce-cart-form .actions .input-text {
    width: 250px !important;
    float: left;
    margin-right: 15px;
}

.woocommerce #content table.cart td.actions .coupon,
.woocommerce table.cart td.actions .coupon,
.woocommerce-page #content table.cart td.actions .coupon,
.woocommerce-page table.cart td.actions .coupon {
    float: left;
}

.woocommerce-cart-form__cart-item .product-remove a {
    font-size: 42px;
}

.woocommerce #content table.cart td.actions,
.woocommerce table.cart td.actions,
.woocommerce-page #content table.cart td.actions,
.woocommerce-page table.cart td.actions {
    text-align: right;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.woocommerce-page table.shop_table td,
.woocommerce-page table.shop_table th {
    word-break: normal;
}

.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
    width: 100%;
    overflow: hidden;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
    float: right;
    width: 48%;
}

.cart_item .product-name a {
    color: #333;
}

.woocommerce-cart-form__contents .actions {
    padding-top: 30px;
    padding-bottom: 50px;
}

/* ==========================================================================
   ORDER RECEIVED
   ========================================================================== */

.woocommerce-order-received table td,
.woocommerce-order-received table th,
.woocommerce-order-received table tr {
    border: 0;
}

.woocommerce-order-received table tfoot {
    border-top: 1px solid #ddd;
}

.woocommerce-order-received table tfoot tr:last-of-type {
    border-top: 1px solid #ddd;
}

.woocommerce-order-received table tfoot tr:last-of-type .woocommerce-Price-amount {
    font-weight: 500;
    color: #333;
}

/* ==========================================================================
   MY ACCOUNT
   ========================================================================== */

.woocommerce-account #site-content .woocommerce {
    max-width: 1600px;
    padding: 0 6vw;
    margin: 0 auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
    width: 20%;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .09);
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: right;
    width: 78%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account table.account-orders-table td,
.woocommerce-account table.account-orders-table th,
.woocommerce-account table.account-orders-table tr {
    border: 0;
}

.woocommerce-account table.account-orders-table thead {
    border-bottom: 1px solid #ddd;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    font-weight: 500;
    color: #333;
    padding: 15px 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    color: #fff;
}

.woocommerce-account .woocommerce-Address-title a {
    color: #333;
    font-weight: 500;
}

/* ==========================================================================
   COLUMN LAYOUTS
   ========================================================================== */

.woocommerce .col2-set,
.woocommerce-page .col2-set {
    width: 100%;
}

.woocommerce .u-columns.col2-set .col-1 {
    float: left;
    width: 48%;
    padding: 0;
}

.woocommerce .u-columns.col2-set .col-2 {
    float: right;
    width: 48%;
    padding: 0;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    width: unset;
}

/* ==========================================================================
   CART TOTALS
   ========================================================================== */

.cart_totals table {
    border: 0;
}

.cart_totals table tbody,
.cart_totals table td,
.cart_totals table th,
.cart_totals table tr {
    padding: 1rem;
}

.cart_totals table th {
    width: 33%;
}

.cart_totals td,
.cart_totals th {
    vertical-align: top;
}

.cart_totals .checkout-button {
    margin-top: 30px;
    color: #fff;
}

.cart_totals .checkout-button:hover {
    color: #fff;
    border: 1px solid #fff;
}

/* ==========================================================================
   SINGLE PRODUCT - SALE BADGE
   ========================================================================== */

.woocommerce.single-product .onsale {
    padding: 5px 20px;
    position: absolute;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    color: #fff;
    z-index: 1;
}

/* ==========================================================================
   FORM VALIDATION
   ========================================================================== */

.form-row.woocommerce-validated input.input-text,
.form-row.woocommerce-invalid input.input-text {
    box-shadow: none !important;
}

/* ==========================================================================
   RESPONSIVE TABLES
   ========================================================================== */

.woocommerce-billing-fields table.shop_table_responsive thead {
    display: none;
}

.woocommerce-order .woocommerce-order-overview li {
    padding: 5px 0;
}

.woocommerce-order .woocommerce-order-overview li:last-child {
    border-bottom: 0;
}

.woocommerce>table td a {
    padding: 0 10px;
}

table.shop_table_responsive tbody th {
    display: none;
}

table.shop_table_responsive tr td {
    display: block;
    text-align: right;
    clear: both;
    vertical-align: middle;
}

table.shop_table_responsive tr td:before {
    content: attr(data-title) ": ";
    float: left;
}

table.shop_table_responsive tr td.product-remove a {
    text-align: left;
}

table.shop_table_responsive tr td.product-remove:before {
    display: none;
}

table.shop_table_responsive tr td.actions:before,
table.shop_table_responsive tr td.download-actions:before {
    display: none;
}

table.shop_table_responsive tr td.download-actions .button {
    display: block;
    text-align: center;
}

/* ==========================================================================
   FORM ROWS
   ========================================================================== */

.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce form .form-row {
    display: block;
}

input[type=checkbox],
input[type=radio] {
    float: left;
    margin-right: 10px;
}

/* ==========================================================================
   PRODUCT ATTRIBUTES
   ========================================================================== */

.woocommerce-product-attributes-item:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.woocommerce-product-attributes-item th {
    vertical-align: baseline;
    padding: 15px 0;
    padding-right: 20px;
}

.woocommerce-product-attributes-item td {
    padding: 15px 0;
}

.woocommerce-product-attributes-item td p {
    margin-bottom: 0;
}

.woocommerce-product-attributes-item td a {
    color: #808080 !important;
}

#tab-additional_information table th,
#tab-additional_information table td {
    border: none;
}

@media screen and (min-width: 48em) {
    table.shop_table_responsive thead {
        display: table-header-group;
    }

    table.shop_table_responsive tbody th {
        display: table-cell;
    }

    table.shop_table_responsive tr th,
    table.shop_table_responsive tr td {
        text-align: left;
    }

    table.shop_table_responsive tr td {
        display: table-cell;
    }

    table.shop_table_responsive tr td:before {
        display: none;
    }
}

/* ==========================================================================
   PRODUCTS FILTER AREA
   ========================================================================== */

.products-filter-area {
    background: #fff;
    border-radius: 6px;
    padding: 10px 20px;
    border: 1px solid #ebebeb;
    margin-bottom: 30px;
}

.woocommerce-result-count {
    font-family: 'Unbounded', sans-serif;
    margin-bottom: 0;
}

.products-filter-area select {
    border: none;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */

.single-product div.product {
    content: "";
    display: block;
    table-layout: fixed;
    position: relative;
}

.single-product div.product .woocommerce-product-gallery {
    background: #fff;
    position: relative;
    text-align: center;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 1em;
    right: 2em;
    display: block;
    z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .wp-video,
.single-product div.product .woocommerce-product-gallery .wp-video-shortcode {
    width: 690px !important;
}

.single-product div.product .woocommerce-product-gallery .xpertenergy-btn.download {
    position: absolute;
    top: 10%;
    right: 6%;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    content: "";
    display: inline-flex;
    table-layout: fixed;
    margin: 0;
    padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    list-style: none;
    cursor: pointer;
    float: left;
    margin: 0 5px;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    opacity: .5;
    border: 1px solid #ddd;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
    opacity: 1;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
    width: 48.1%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
    margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
    clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
    width: 30.7966666667%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
    margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
    clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    width: 25%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
    margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
    width: 16.96%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
    margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
    clear: both;
}

.single-product .product_title {
    font-weight: bold;
    margin-bottom: 20px;
}

.single-product .product_meta .tagged_as a,
.single-product .product_meta .posted_in a {
    color: #333;
    font-weight: normal;
    font-size: 15px;
    padding: 2px 20px;
    border-radius: 20px;
    margin-left: 10px;
    margin-bottom: 10px;
    background: #f5f5f5;
    display: inline-block;
}

.single-product .product_meta .tagged_as a:hover,
.single-product .product_meta .posted_in a:hover {
    color: #fff;
}


.single-product .quantity {
    float: left;
    margin-right: 15px;
}

.single-product .woocommerce-variation-price {
    margin-bottom: 20px;
}

.single-product .woocommerce-product-rating .star-rating {
    float: left;
    margin-right: 15px;
}

a.reset_variations {
    margin-top: 20px;
    display: inline-block;
}

.quantity input,
.single-product .quantity input {
    width: 100px;
    text-align: center;
}

.woocommerce-product-details__short-description {
    margin-bottom: 30px;
}

.single-product form.cart.grouped_form button[type=submit] {
    margin-top: 30px;
}

.variations .label {
    vertical-align: baseline;
}

.variations .label label {
    font-size: 18px;
    margin-bottom: 0;
    color: #333;
    font-weight: 600;
    text-transform: capitalize;
}

.variations th,
.variations td {
    border: none;
}

.product_meta {
    overflow: hidden;
    margin-top: 30px;
}

.product_meta>span {
    font-family: 'Unbounded', sans-serif;
    display: block;
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
}

.stock:empty:before {
    display: none;
}

.stock.in-stock {
    color: #0f834d;
}

.stock.out-of-stock {
    color: #e2401c;
}

/* ==========================================================================
   CHECKOUT
   ========================================================================== */

.woocommerce-checkout form .col2-set {
    width: 50%;
    float: left;
    padding-right: 1.5vw;
}

.woocommerce-checkout form #order_review,
.woocommerce-checkout form #order_review_heading {
    width: 50%;
    padding-left: 1.5vw;
    float: right;
    clear: right;
}

.woocommerce-checkout form .col2-set p {
    margin-bottom: 1.15em;
}

.woocommerce form .form-row-first,
.woocommerce-page form .form-row-first {
    float: left;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
    width: 47%;
    overflow: visible;
}

.woocommerce-form-coupon .form-row.form-row-first {
    width: 50%;
    padding-right: 20px;
}

.woocommerce-form-coupon .form-row.form-row-last {
    width: 50%;
}

.woocommerce form.lost_reset_password {
    width: 50%;
    margin: 0 auto;
}

.woocommerce form.lost_reset_password .woocommerce-form-row {
    width: 100%;
}

.woocommerce form .form-row .input-text,
.woocommerce-page form .form-row .input-text {
    box-sizing: border-box;
    width: 100%;
}

.woocommerce-checkout form .col2-set input {
    border: 1px solid #ddd;
}

.woocommerce-checkout form #order_review .woocommerce-checkout-review-order-table td,
.woocommerce-checkout form #order_review .woocommerce-checkout-review-order-table th,
.woocommerce-checkout form #order_review_heading .woocommerce-checkout-review-order-table td,
.woocommerce-checkout form #order_review_heading .woocommerce-checkout-review-order-table th {
    border: 0;
}

.woocommerce-checkout form #order_review .woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout form #order_review .woocommerce-checkout-review-order-table .order-total,
.woocommerce-checkout form #order_review_heading .woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout form #order_review_heading .woocommerce-checkout-review-order-table .order-total {
    border-top: 1px solid #ddd;
}

.woocommerce-checkout form #order_review .woocommerce-checkout-review-order-table {
    margin-bottom: 30px;
    display: grid !important;
}

.woocommerce form .form-row-last,
.woocommerce-page form .form-row-last {
    float: right;
}

.woocommerce-checkout-review-order ul {
    margin: 2rem 0 3rem;
    padding-left: 0;
    list-style: none;
}

/* ==========================================================================
   PAYMENT METHODS
   ========================================================================== */

.wc_payment_method input.input-radio[name=payment_method] {
    display: none;
}

.wc_payment_method input.input-radio[name=payment_method]+label::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #6d6d6d;
    background: #fff;
    margin-left: 4px;
    margin-right: 10px;
    border-radius: 100%;
    transform: translateY(2px);
}

.wc_payment_method input.input-radio[name=payment_method]:checked+label::before {
    background: #555;
}

.wc_payment_method>label:first-of-type {
    display: block;
    margin: 1rem 0;
}

.wc_payment_method label {
    cursor: pointer;
}

.wc_payment_method .payment_box {
    padding: 10px;
    background: #eee;
    border-radius: 6px;
}

.wc_payment_method .payment_box p:last-child {
    margin-bottom: 0;
}

.wc_payment_method .payment_box p:first-child {
    margin-top: 0;
}

.wc_payment_method>label:first-of-type img {
    max-height: 24px;
    max-width: 200px;
    float: right;
}

.wc_payment_method>label a {
    color: #333;
    font-weight: 500;
}

#place_order {
    margin-top: 30px;
}

@media screen and (min-width: 768px) {
    .col2-set .form-row-first {
        float: left;
        margin-right: 3.8%;
    }

    .col2-set .form-row-last {
        float: right;
        margin-right: 0;
    }

    .col2-set .form-row-first,
    .col2-set .form-row-last {
        width: 48.1%;
    }
}

/* ==========================================================================
   MINI CART (Header Widget)
   ========================================================================== */

.widget_shopping_cart_content {
    background: #fff;
    border-radius: 15px;
    padding: 1.8em 1.2em;
    width: 100vw;
    max-width: 300px;
    position: absolute;
    top: 57px;
    right: 0px;
    z-index: 9999;
    box-sizing: initial;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .2);
    transform: translateY(-16px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
}

.shopping-cart-widget.open .widget_shopping_cart_content {
    transition-delay: 0s;
    visibility: visible;
    opacity: 1;
    transform: translateY(16px);
}

.widget_shopping_cart_content p {
    margin-bottom: 0;
}

.woocommerce-mini-cart.cart_list {
    max-height: 300px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0;
}

.woocommerce-mini-cart.cart_list li {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.woocommerce-mini-cart.cart_list li a {
    color: #808080;
}

.woocommerce-mini-cart.cart_list li a.remove {
    position: absolute;
    top: 50%;
    right: 0;
    width: 15px;
    height: 15px;
    line-height: 14px;
    text-align: center;
    display: inline-block;
    transition: border-color 0.3s ease-out, color 0.3s ease-out, opacity 0.3s ease-out;
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    font-weight: lighter;
    z-index: 3;
}

.woocommerce-mini-cart.cart_list img {
    display: block;
    max-width: 80px;
    margin: 0 20px 0 0;
    position: relative;
    float: left;
}

.woocommerce-mini-cart.cart_list .variation {
    display: none;
}

.cart_list .quantity {
    display: block;
    background-color: transparent;
    float: none;
    padding: 0;
}

.widget_shopping_cart_content .total {
    font-weight: 700;
    padding: 15px 0 5px 0;
    color: #333;
    display: block;
    border-style: solid;
    border-width: 1px 0 0 0;
    border-color: #ccc;
    text-transform: none;
    margin: 10px 0 0 0;
    font-size: 1.143em;
    line-height: 1.2;
    text-align: right;
}

.widget_shopping_cart_content .total::after {
    display: table;
    content: '';
    clear: both;
}

.widget_shopping_cart_content .total strong {
    font-weight: normal;
    font-size: 0.875em;
    float: left;
}

.widget_shopping_cart_content .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1em 0 0 0;
}

.widget_shopping_cart_content .buttons a {
    color: #fff;
}

.widget_shopping_cart_content .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 45%;
    border-radius: 50px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    float: none !important;
}

.widget_shopping_cart_content .button.checkout {
    float: none !important;
    background: #000;
}

.widget_shopping_cart_content .button.checkout:hover {
    background: #333;
}

.woocommerce-mini-cart .variation {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.woocommerce-mini-cart .variation dt,
.woocommerce-mini-cart .variation dd {
    display: inline;
    margin: 0;
    padding: 0;
}

.woocommerce-mini-cart .variation dt {
    font-weight: 600;
}

.woocommerce-mini-cart .variation dd p {
    display: inline;
    margin: 0;
}

.woocommerce-mini-cart__empty-message {
    text-align: center;
}

/* ==========================================================================
   STAR RATING (Global - Reviews, Single Product)
   ========================================================================== */

.star-rating {
    overflow: hidden;
    position: relative;
    height: 1.618em;
    line-height: 1.618;
    font-size: 1em;
    width: 5.3em;
    font-family: inherit !important;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.star-rating:before {
    content: "\2606\2606\2606\2606\2606" !important;
    font-family: inherit !important;
    opacity: .25;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span:before {
    content: "\2605\2605\2605\2605\2605" !important;
    font-family: inherit !important;
    top: 0;
    position: absolute;
    left: 0;
    color: #ffc000;
}

/* Review Stars Selection */
p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    margin-right: 1px;
    font-weight: 400;
}

p.stars a:before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-family: inherit !important;
    content: "\2606" !important;
    color: #404040;
    text-indent: 0;
    opacity: .25;
}

p.stars a:hover~a:before {
    content: "\2606" !important;
    opacity: .25;
}

p.stars:hover a:before {
    content: "\2605" !important;
    color: #ffc000;
    opacity: 1;
}

p.stars.selected a.active:before {
    content: "\2605" !important;
    color: #ffc000;
    opacity: 1;
}

p.stars.selected a.active~a:before {
    content: "\2606" !important;
    color: #404040;
    opacity: .25;
}

p.stars.selected a:not(.active):before {
    content: "\2605" !important;
    color: #ffc000;
    opacity: 1;
}

/* ==========================================================================
   TABS
   ========================================================================== */

.woocommerce-tabs {
    border-radius: 6px;
    background: #fff;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

.woocommerce-tabs ul.tabs li {
    display: inline-block;
    margin: 0;
    position: relative;
}

.woocommerce-tabs ul.tabs li:last-child {
    border: none;
}

.woocommerce-tabs ul.tabs li a {
    position: relative;
    padding: 20px;
    display: block;
    color: #333;
    font-weight: 500;
}

.woocommerce-tabs ul.tabs li.active a {
    position: relative;
}

.woocommerce-tabs ul.tabs li.active a:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
}

.woocommerce-tabs .panel {
    padding: 30px 0 0;
}

.woocommerce-tabs .panel h2:first-of-type {
    display: none;
}

.woocommerce-tabs #tab-seller .details a {
    font-weight: bolder;
    color: #333;
}

.woocommerce-tabs #tab-seller .star-rating {
    float: left;
    margin-right: 10px;
}

.woocommerce-tabs #tab-seller ul {
    margin-bottom: 0;
}

.woocommerce-tabs #tab-seller ul li:not(:last-child) {
    margin-bottom: 10px;
}

.woocommerce-Tabs-panel li.comment {
    margin-bottom: 30px;
}

.woocommerce-Tabs-panel .comment_container {
    display: flex;
    margin-bottom: 30px;
}

.woocommerce-Tabs-panel .comment_container img {
    float: left;
    margin-right: 20px;
    border-radius: 50px;
    height: fit-content;
}

/* ==========================================================================
   RELATED PRODUCTS (Single Product Page)
   ========================================================================== */

.single-product .related.products h2 {
    margin-bottom: 30px;
}

.single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
}

.single-product .related.products ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}

/* Hide duplicate headings */
.related.products h2 ~ h2,
.related.products h3 ~ h3 {
    display: none !important;
}

.related.products + .related.products {
    display: none !important;
}

/* ==========================================================================
   FORMS - Additional Styles
   ========================================================================== */

.woocommerce-billing-fields .form-row {
    display: block;
}

.woocommerce-additional-fields .woocommerce-input-wrapper textarea {
    border-radius: 6px;
    height: 160px;
    padding: 20px;
}

.form-row.woocommerce-validated input.input-text {
    box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
    box-shadow: inset 2px 0 0 #e2401c;
}

.required {
    color: red;
}

/* ==========================================================================
   SELECT2 (Dropdowns)
   ========================================================================== */

.select2-container--open .select2-dropdown {
    top: -14px;
    border-radius: 20px;
    overflow: hidden;
}

.select2-container--default .select2-selection--single {
    height: 50px;
    padding: 11px 15px;
    border: 1px solid #ddd;
    border-radius: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #808080;
    padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px;
    position: absolute;
    top: 0;
    right: 10px;
    width: 20px;
}

/* ==========================================================================
   NOTICES & MESSAGES
   ========================================================================== */

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    margin-bottom: 20px;
    margin-left: 0;
    padding: 16px 20px;
    background: #fafafa;
    list-style: none;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* Shop page notices - ensure they don't break product grid */
.woocommerce-shop .woocommerce-message,
.woocommerce-shop .woocommerce-info,
.woocommerce-shop .woocommerce-error,
.post-type-archive-product .woocommerce-message,
.post-type-archive-product .woocommerce-info,
.post-type-archive-product .woocommerce-error,
.tax-product_cat .woocommerce-message,
.tax-product_cat .woocommerce-info,
.tax-product_cat .woocommerce-error {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.woocommerce-info {
    background: #f0f7ff;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.woocommerce-message {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    color: #166534;
}

.single-product .woocommerce-message {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button {
    float: right;
}

.woocommerce-error {
    list-style: none;
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    padding: 16px 20px;
    border-radius: 8px;
}

.woocommerce-error li {
    width: 100%;
    padding: 4px 0;
    font-size: 14px;
    line-height: 1.5;
}

.woocommerce-error a {
    color: #991b1b;
    font-weight: 600;
    text-decoration: underline;
}

.woocommerce-error a:hover {
    color: #7f1d1d;
}

.demo_store {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 1em;
    background-color: #3D9CD2;
    z-index: 9999;
}

/* Checkout Error - Prevent Layout Breaking */
.woocommerce-checkout ul.woocommerce-error {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    clear: both;
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-NoticeGroup {
    position: relative;
    z-index: 10;
    clear: both;
    width: 100% !important;
    max-width: 100%;
    display: block !important;
    flex: none !important;
    float: none !important;
    margin: 0 0 20px 0 !important;
    box-sizing: border-box;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
    width: 100% !important;
    clear: both;
    float: none;
    margin-bottom: 20px;
}

.woocommerce-checkout form.checkout {
    display: block;
    width: 100%;
}

/* Stripe/Payment Gateway Error Messages */
.woocommerce-checkout .woocommerce-error,
.wc-stripe-error,
.stripe-source-errors,
.woocommerce-NoticeGroup-checkout .woocommerce-error {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 4px solid #ef4444 !important;
    color: #991b1b !important;
    padding: 16px 20px !important;
    border-radius: 8px !important;
    font-size: 14px;
    line-height: 1.6;
}

.xe-checkout-wrapper .woocommerce-error,
.xe-checkout-wrapper .woocommerce-NoticeGroup {
    grid-column: 1 / -1;
    width: 100%;
}

.woocommerce-checkout .woocommerce-error::before {
    content: "⚠";
    margin-right: 10px;
    font-size: 16px;
}

@media screen and (min-width: 48em) {
    .site-header-cart .widget_shopping_cart {
        position: absolute;
        top: 100%;
        width: 100%;
        z-index: 999999;
        left: -999em;
        display: block;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    }

    .site-header-cart:hover .widget_shopping_cart,
    .site-header-cart.focus .widget_shopping_cart {
        left: 0;
        display: block;
    }
}

/* ==========================================================================
   DOWNLOAD FILTER
   ========================================================================== */

.newest-filter,
.download-filter {
    text-align: center;
    margin-bottom: 50px;
}

.newest-filter ul {
    margin-bottom: 0;
}

.newest-filter ul li,
.download-filter ul li {
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 40px;
    background: #fff;
    border: 2px solid #fff;
    box-shadow: 0px 10px 20px rgba(97, 105, 140, 0.1);
    margin-bottom: 20px;
}

.newest-filter ul li.select-cat,
.download-filter ul li.select-cat {
    color: #fff;
}

.newest-filter ul li:nth-child(2),
.download-filter ul li:nth-child(2) {
    display: none;
}

/* ==========================================================================
   FLIP BOX (Product Item Style)
   Firefox fix: opacity crossfade fallback since backface-visibility is
   unreliable. Uses smooth fade + subtle blur for a polished transition.
   ========================================================================== */

.flip-box {
    perspective: 1000px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Front face: crossfades out with subtle blur during flip */
.flip-box-front {
    position: relative;
    z-index: 2;
    transform: rotateY(0deg);
    opacity: 1;
    filter: blur(0px);
    transition: opacity 0.3s ease 0.2s, filter 0.3s ease 0.2s;
}

.flip-box:hover .flip-box-front {
    opacity: 0;
    filter: blur(4px);
}

/* Back face: crossfades in with blur clearing */
.flip-box-back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    filter: blur(4px);
    transition: opacity 0.3s ease 0.2s, filter 0.3s ease 0.2s;
}

.flip-box:hover .flip-box-back {
    opacity: 1;
    filter: blur(0px);
}

.flip-box-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   PRICE (Global)
   ========================================================================== */

.price {
    font-family: 'Unbounded', sans-serif;
}

/* ==========================================================================
   WOOCOMMERCE WIDGETS (Sidebar)
   ========================================================================== */

.woocommerce-widget-area {
    box-shadow: 0px 10px 20px rgba(97, 105, 140, 0.1);
    background: #fff;
}

.woocommerce-widget {
    padding: 30px;
}

.woocommerce-widget ul li:not(:last-child) {
    display: block;
    margin-bottom: 20px;
}

.woocommerce-widget ul li a {
    color: #808080;
}

.woocommerce-widget ul li span {
    float: right;
}

.woocommerce-widget-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.woocommerce-widget ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.woocommerce-widget .product_list_widget li {
    display: inline-block;
}

.woocommerce-widget .product_list_widget li a {
    color: #333;
    display: flex;
}

.product_list_widget li a img {
    display: block;
    max-width: 70px;
    margin: 0 20px 0 0;
    border: 1px solid #f1f1f1;
}

.product_list_widget li a span {
    font-size: 14px;
    line-height: 22px;
}

.woocommerce-widget .product_list_widget li del,
.woocommerce-widget .product_list_widget .woocommerce-Price-amount,
.woocommerce-widget .product_list_widget .star-rating {
    display: none !important;
}

.widget_recent_reviews ul li:not(:last-child) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.product_list_widget .reviewer {
    font-size: 12px;
    float: left;
}

.woocommerce-product-search {
    position: relative;
}

.woocommerce-product-search button[type=submit] {
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.woocommerce-widget .price_label {
    text-align: left;
}

.widget_price_filter .price_slider {
    margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
    text-align: right;
    line-height: 2.4em;
}

.widget_price_filter .price_slider_amount .button {
    float: right;
    padding: 0px 15px;
    height: 35px;
}

.widget_price_filter .ui-slider {
    position: relative;
    text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 1em;
    height: 1em;
    cursor: ew-resize;
    outline: none;
    box-sizing: border-box;
    margin-top: -.25em;
    opacity: 1;
    border-radius: 20px;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
    margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
    box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    display: block;
    border: 0;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
    height: .5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
    height: 100%;
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .single-product div.product .woocommerce-product-gallery .xpertenergy-btn.download {
        display: none;
    }

    .mini-cart {
        display: none;
    }

    .off-canvas-menu .navigation li .mini-cart {
        display: block;
    }

    .off-canvas-menu .navigation li .mini-cart:after {
        width: 100%;
    }

    .off-canvas-menu .navigation li .cart-contents {
        color: #fff;
    }
}

@media (max-width: 768px) {
    .woocommerce table.shop_table_responsive thead,
    .woocommerce-page table.shop_table_responsive thead {
        display: none;
    }

    .woocommerce table.shop_table_responsive tr .product-remove,
    .woocommerce-page table.shop_table_responsive tr .product-remove {
        float: right;
    }

    .woocommerce table.shop_table_responsive tr .product-thumbnail img,
    .woocommerce-page table.shop_table_responsive tr .product-thumbnail img {
        max-width: 70px;
    }

    .woocommerce table.shop_table_responsive tr .product-thumbnail,
    .woocommerce-page table.shop_table_responsive tr .product-thumbnail {
        display: block;
        position: absolute;
    }

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        display: block;
        text-align: right !important;
    }

    .woocommerce table.shop_table_responsive tr .product-thumbnail::before,
    .woocommerce-page table.shop_table_responsive tr .product-thumbnail::before {
        content: '';
    }

    .woocommerce-cart-form .actions .input-text,
    .woocommerce-cart-form .actions .button {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .woocommerce-checkout form .col2-set {
        width: 100%;
        float: none;
        padding-right: 0;
    }

    .woocommerce-checkout form #order_review,
    .woocommerce-checkout form #order_review_heading {
        width: 100%;
        padding-left: 0;
        float: none;
    }

    .logged-in.woocommerce-account #site-content .woocommerce {
        flex-direction: column;
    }

    .logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
        border-bottom: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .logged-in.woocommerce-account .woocommerce-MyAccount-content,
    .logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
    }

    .woocommerce .u-columns.col2-set .col-1,
    .woocommerce .u-columns.col2-set .col-2 {
        float: none;
        width: 100%;
    }

    .woocommerce form.lost_reset_password {
        width: 100%;
    }

    .woocommerce .cart-collaterals .cart_totals,
    .woocommerce-page .cart-collaterals .cart_totals {
        float: right;
        width: 100%;
    }

    .woocommerce-page table.cart td.actions .coupon label {
        visibility: hidden;
        display: unset;
    }

    /* Related Products - Mobile */
    .single-product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* Checkout Errors - Mobile */
    .woocommerce-checkout .woocommerce-error,
    .woocommerce-checkout .woocommerce-NoticeGroup {
        padding: 14px 16px 14px 44px !important;
        font-size: 13px !important;
    }

    .woocommerce-checkout .woocommerce-error::before {
        left: 12px !important;
        width: 18px !important;
        height: 18px !important;
        font-size: 11px !important;
    }
}

/* ==========================================================================
   CHECKOUT ERROR FIXES - Enhanced Layout Protection
   ========================================================================== */

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .woocommerce-error {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    order: -1 !important;
    clear: both !important;
    float: none !important;
    margin: 0 0 24px 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 4px solid #dc2626 !important;
    border-radius: 8px !important;
    padding: 16px 20px 16px 48px !important;
    color: #991b1b !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    list-style: none !important;
}

.woocommerce-checkout .woocommerce-error::before,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error::before {
    content: "!" !important;
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    background: #dc2626 !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 12px !important;
}

.woocommerce-checkout .woocommerce-error li {
    padding: 4px 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout .col2-set,
.woocommerce-checkout form.checkout {
    overflow: visible !important;
}

[class*="checkout"] .woocommerce-error,
[class*="checkout"] .woocommerce-NoticeGroup {
    flex-basis: 100% !important;
    min-width: 100% !important;
}

.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
    min-width: 0 !important;
}

.woocommerce-checkout .wc-stripe-error,
.woocommerce-checkout .stripe-source-errors {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 4px solid #dc2626 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #991b1b !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
}

.woocommerce-checkout .payment_box .woocommerce-error,
.woocommerce-checkout .payment_method_stripe .woocommerce-error {
    margin: 12px 0 !important;
}

/* ===========================================
   OVERRIDE: Reset conflicting styles for custom product page
   These prevent single-product.css from being overridden
   =========================================== */
.single-product .xe-variations .quantity,
.single-product .xe-simple-cart .quantity {
    float: none;
    margin-right: 0;
}

.single-product .xe-variations .quantity input,
.single-product .xe-simple-cart .quantity input {
    width: auto;
}
