/*
 * Thryve WooCommerce
 * Fully rebuilt, tightly scoped to WooCommerce screens only.
 */

/* ==========================================================================
   GLOBAL FIXES FOR WOOCOMMERCE CSS CONFLICTS
   ========================================================================== */

/* 1. Header Logo Conflict Fix */
body.thryve-woocommerce .site-header .site-branding img,
body.woocommerce .site-header .site-branding img {
    height: 5rem !important;
    /* md:h-20 equivalent */
    max-height: 80px !important;
    width: auto !important;
}

@media (max-width: 768px) {

    body.thryve-woocommerce .site-header .site-branding img,
    body.woocommerce .site-header .site-branding img {
        height: 4rem !important;
        /* h-16 equivalent */
        max-height: 64px !important;
    }
}

/* 2. Product Grid Images Fix */
body.thryve-woocommerce .thryve-woo-card__media img,
body.woocommerce .thryve-woo-card__media img {
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

/* 3. Footer Logo Conflict Fix */
body.thryve-woocommerce .site-footer img,
body.woocommerce .site-footer img {
    height: 92px !important;
    width: auto !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {

    body.thryve-woocommerce .site-footer img,
    body.woocommerce .site-footer img {
        height: 200px !important;
    }
}

/* ==========================================================================
   CORE WOOCOMMERCE STYLES
   ========================================================================== */

body.thryve-woocommerce .post {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
}

body.thryve-woocommerce .site-main {
    overflow: clip;
}

body.thryve-woocommerce .woocommerce-notices-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1.25rem 1rem 0;
}

body.thryve-woocommerce .woocommerce-notices-wrapper>* {
    margin: 0 0 1rem;
}

body.thryve-woocommerce .woocommerce-message,
body.thryve-woocommerce .woocommerce-info,
body.thryve-woocommerce .woocommerce-error {
    background: #fff;
    border: 1px solid rgba(63, 42, 30, 0.12);
    color: #3f2a1e;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

body.thryve-woocommerce .woocommerce-breadcrumb {
    margin: 0;
    color: rgba(63, 42, 30, 0.56);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.thryve-woocommerce .woocommerce-breadcrumb a {
    color: rgba(63, 42, 30, 0.56);
    transition: color 0.25s ease;
}

body.thryve-woocommerce .woocommerce-breadcrumb a:hover {
    color: #3f2a1e;
}

body.thryve-woocommerce .thryve-woo-breadcrumb-separator {
    opacity: 0.45;
    margin: 0 0.45rem;
}

body.thryve-woocommerce .woocommerce .button,
body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
body.woocommerce #respond input#submit,
body.woocommerce div.product form.cart .button {
    background: #3f2a1e !important;
    color: #fff !important;
    border: 1px solid #3f2a1e !important;
    border-radius: 0 !important;
    padding: 0.95rem 1.5rem !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

body.thryve-woocommerce .woocommerce .button:hover,
body.woocommerce a.button:hover,
body.woocommerce button.button:hover,
body.woocommerce input.button:hover,
body.woocommerce #respond input#submit:hover,
body.woocommerce div.product form.cart .button:hover {
    background: #ac8d78 !important;
    border-color: #ac8d78 !important;
    color: #fff !important;
}

body.thryve-woocommerce .woocommerce .button.alt,
body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce input.button.alt,
body.woocommerce .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce #respond input#submit.alt {
    background: #3f2a1e !important;
    color: #fff !important;
    border: 1px solid #3f2a1e !important;
    border-radius: 0 !important;
    padding: 0.95rem 1.5rem !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

body.thryve-woocommerce .woocommerce .button.alt:hover,
body.woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body.woocommerce input.button.alt:hover,
body.woocommerce .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce #respond input#submit.alt:hover {
    background: #ac8d78 !important;
    border-color: #ac8d78 !important;
    color: #fff !important;
}

body.thryve-woocommerce .woocommerce .quantity .qty,
body.thryve-woocommerce .woocommerce input.input-text,
body.thryve-woocommerce .woocommerce textarea,
body.thryve-woocommerce .woocommerce select {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(63, 42, 30, 0.14);
    border-radius: 0;
    background: #fff;
    color: #3f2a1e;
    font-size: 0.95rem;
}

body.thryve-woocommerce .woocommerce input.input-text:focus,
body.thryve-woocommerce .woocommerce textarea:focus,
body.thryve-woocommerce .woocommerce select:focus,
body.thryve-woocommerce .woocommerce .quantity .qty:focus {
    outline: none;
    border-color: #ac8d78;
}

body.thryve-woocommerce .woocommerce .form-row {
    margin-bottom: 1rem;
}

body.thryve-woocommerce .woocommerce .form-row label {
    display: block;
    margin-bottom: 0.45rem;
    color: #3f2a1e;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.thryve-woocommerce .woocommerce ul.products,
body.woocommerce ul.products,
body.thryve-woocommerce .woocommerce-page ul.products,
.site-main .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2rem !important;
    justify-content: center !important;
    align-items: stretch !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 1240px !important;
}

body.thryve-woocommerce .woocommerce ul.products::before,
body.thryve-woocommerce .woocommerce ul.products::after,
body.thryve-woocommerce .woocommerce-page ul.products::before,
body.thryve-woocommerce .woocommerce-page ul.products::after,
.site-main .woocommerce ul.products::before,
.site-main .woocommerce ul.products::after {
    content: none;
}

body.thryve-woocommerce .woocommerce ul.products li.product,
body.woocommerce ul.products li.product,
body.thryve-woocommerce .woocommerce-page ul.products li.product,
.site-main .woocommerce ul.products li.product {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

body.thryve-woocommerce .thryve-woo-card,
body.thryve-woocommerce .thryve-woo-card article {
    width: 100%;
}

body.thryve-woocommerce .woocommerce ul.products li.product img {
    display: block;
    width: 100%;
    height: 100%;
}

body.thryve-woocommerce .woocommerce ul.products li.product .button,
body.thryve-woocommerce .woocommerce ul.products li.product .add_to_cart_button,
body.thryve-woocommerce .woocommerce ul.products li.product .added_to_cart {
    display: none;
}

body.thryve-woocommerce .woocommerce ul.products li.product .price,
body.woocommerce ul.products li.product .price {
    margin: 0 !important;
    color: #3f2a1e !important;
    font-size: 1.05rem !important;
}

body.thryve-woocommerce .woocommerce ul.products li.product .price del,
body.woocommerce ul.products li.product .price del {
    opacity: 0.4 !important;
}

body.thryve-woocommerce .woocommerce ul.products li.product .price ins,
body.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    font-weight: 600 !important;
    color: #3f2a1e !important;
    background: transparent !important;
}

body.thryve-woocommerce .woocommerce span.onsale,
body.woocommerce span.onsale,
body.woocommerce ul.products li.product .onsale,
body.thryve-woocommerce .woocommerce ul.products li.product .onsale {
    top: 1rem !important;
    left: 1rem !important;
    right: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0.45rem 0.75rem !important;
    border-radius: 0 !important;
    background: #8b7e66 !important;
    color: #fff !important;
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
}

body.thryve-woocommerce .thryve-woo-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

body.thryve-woocommerce .woocommerce .woocommerce-ordering,
body.thryve-woocommerce .woocommerce .woocommerce-result-count {
    margin: 0;
}

body.thryve-woocommerce .woocommerce .woocommerce-result-count {
    color: rgba(63, 42, 30, 0.56);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body.thryve-woocommerce .woocommerce nav.woocommerce-pagination ul {
    border: 0;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

body.thryve-woocommerce .woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

body.thryve-woocommerce .woocommerce nav.woocommerce-pagination ul li span,
body.thryve-woocommerce .woocommerce nav.woocommerce-pagination ul li a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(63, 42, 30, 0.12);
    color: #3f2a1e;
    background: #fff;
    transition: all 0.25s ease;
}

body.thryve-woocommerce .woocommerce nav.woocommerce-pagination ul li span.current,
body.thryve-woocommerce .woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #3f2a1e;
    border-color: #3f2a1e;
    color: #fff;
}

body.thryve-woocommerce .woocommerce div.product div.images,
body.thryve-woocommerce .woocommerce-page div.product div.images,
body.thryve-woocommerce .woocommerce div.product div.summary,
body.thryve-woocommerce .woocommerce-page div.product div.summary {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-product-gallery {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-product-gallery__wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

body.thryve-woocommerce .woocommerce div.product .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

body.thryve-woocommerce .woocommerce div.product .flex-control-thumbs li {
    float: none;
    width: auto;
    margin: 0;
}

body.thryve-woocommerce .woocommerce div.product .flex-control-thumbs img {
    border: 1px solid rgba(63, 42, 30, 0.1);
    opacity: 0.6 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

body.thryve-woocommerce .woocommerce div.product .flex-control-thumbs img:hover,
body.thryve-woocommerce .woocommerce div.product .flex-control-thumbs img.flex-active {
    opacity: 1 !important;
    border-color: #3f2a1e;
}

body.thryve-woocommerce .thryve-single-product__summary {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

body.thryve-woocommerce .woocommerce div.product .product_title,
body.woocommerce div.product .product_title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 0.95 !important;
    color: #3f2a1e !important;
    margin-bottom: 1rem !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-product-rating,
body.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 1rem !important;
}

body.thryve-woocommerce .woocommerce div.product p.price,
body.thryve-woocommerce .woocommerce div.product span.price,
body.woocommerce div.product p.price,
body.woocommerce div.product span.price {
    color: #3f2a1e !important;
    font-size: 1.5rem !important;
    margin-bottom: 1.25rem !important;
}

body.thryve-woocommerce .woocommerce div.product p.price ins,
body.woocommerce div.product p.price ins {
    color: #ac8d78 !important;
    font-weight: 600 !important;
    background: transparent !important;
    text-decoration: none !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-product-details__short-description {
    color: rgba(63, 42, 30, 0.72);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

body.thryve-woocommerce .woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin: 1.75rem 0;
}

body.thryve-woocommerce .woocommerce div.product form.cart div.quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(63, 42, 30, 0.2);
    border-radius: 4px;
    height: 3.5rem;
    margin: 0;
    overflow: hidden;
}

body.thryve-woocommerce .woocommerce div.product form.cart div.quantity input.qty {
    width: 3.5rem;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3f2a1e;
    padding: 0;
    -moz-appearance: textfield;
}

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

body.thryve-woocommerce .woocommerce div.product form.cart .single_add_to_cart_button {
    min-width: 180px;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.thryve-woocommerce .woocommerce div.product .variations select.thryve-hidden-select {
    display: none !important;
}

/* THRYVE FIX: Prevent Swatches and Form Elements from Being Blocked by Overlays */
body.thryve-woocommerce .woocommerce div.product form.cart,
body.woocommerce div.product form.cart {
    position: relative;
    z-index: 50;
}

body.thryve-woocommerce .woocommerce div.product table.variations,
body.woocommerce div.product table.variations {
    position: relative;
    z-index: 51;
}

body.thryve-woocommerce .woocommerce div.product table.variations th,
body.thryve-woocommerce .woocommerce div.product table.variations td {
    position: relative;
    pointer-events: auto !important;
}

body.thryve-woocommerce .woocommerce div.product .thryve-swatch-wrapper {
    position: relative;
    z-index: 55 !important;
    pointer-events: auto !important;
}

body.thryve-woocommerce .woocommerce div.product .thryve-swatch-btn {
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    position: relative;
    z-index: 56 !important;
    pointer-events: auto !important;
}

/* Fix for quantity buttons */
body.thryve-woocommerce .woocommerce div.product form.cart div.quantity {
    position: relative;
    z-index: 55 !important;
    pointer-events: auto !important;
}

body.woocommerce div.product form.cart .blockUI.blockOverlay {
    z-index: 10 !important;
}

body.thryve-woocommerce .woocommerce div.product table.variations th,
body.thryve-woocommerce .woocommerce div.product table.variations td {
    padding-bottom: 1.5rem;
    border: 0 !important;
}

body.thryve-woocommerce .woocommerce div.product table.variations th.label {
    padding-top: 1rem;
}

body.thryve-woocommerce .woocommerce div.product table.variations label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(63, 42, 30, 0.45);
    font-weight: 500;
}

body.thryve-woocommerce .woocommerce div.product .product_meta {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(63, 42, 30, 0.1);
    color: rgba(63, 42, 30, 0.58);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.thryve-woocommerce .woocommerce div.product .product_meta>span {
    display: block;
    margin-bottom: 0.45rem;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs,
body.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem !important;
    border-top: 1px solid rgba(63, 42, 30, 0.1) !important;
    border-bottom: 0 !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li::after,
body.woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    content: none !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li,
body.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(63, 42, 30, 0.1) !important;
    background: transparent !important;
    width: 100% !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li a,
body.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 1.25rem 0 !important;
    color: #3f2a1e !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li a::after,
body.woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #3f2a1e !important;
    border-bottom-color: transparent !important;
    background: transparent !important;
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after,
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
    content: '−';
}

body.thryve-woocommerce .woocommerce div.product .woocommerce-tabs .panel,
body.woocommerce div.product .woocommerce-tabs .panel {
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(63, 42, 30, 0.76) !important;
    line-height: 1.8 !important;
}

body.thryve-woocommerce .woocommerce .related.products>h2 {
    color: #3f2a1e;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

body.thryve-woocommerce .woocommerce-cart table.cart,
body.thryve-woocommerce .woocommerce-checkout-review-order-table,
body.thryve-woocommerce .shop_table.woocommerce-checkout-review-order-table,
body.thryve-woocommerce .cart_totals table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: 0 !important;
}

body.thryve-woocommerce .woocommerce-cart table.cart th,
body.thryve-woocommerce .woocommerce-checkout-review-order-table th,
body.thryve-woocommerce .shop_table th {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.65rem;
    color: rgba(63, 42, 30, 0.45);
    font-weight: 500;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(63, 42, 30, 0.1);
}

body.thryve-woocommerce .woocommerce-cart table.cart img {
    width: 96px;
    height: auto;
    display: block;
}

body.thryve-woocommerce .woocommerce-cart table.cart .remove {
    color: rgba(63, 42, 30, 0.38) !important;
    font-size: 1.6rem;
    line-height: 1;
}

body.thryve-woocommerce .woocommerce-cart table.cart .remove:hover {
    color: #3f2a1e !important;
    background: transparent;
}

body.thryve-woocommerce .woocommerce-cart .cart-collaterals,
body.thryve-woocommerce .woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
}

body.thryve-woocommerce .woocommerce-cart .cart_totals h2,
body.thryve-woocommerce .woocommerce-checkout #order_review_heading {
    color: #3f2a1e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

body.thryve-woocommerce .woocommerce-cart .cart_totals th,
body.thryve-woocommerce .woocommerce-cart .cart_totals td,
body.thryve-woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.thryve-woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(63, 42, 30, 0.08);
    text-align: left;
}

body.thryve-woocommerce .woocommerce-cart .cart_totals td,
body.thryve-woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table td {
    text-align: right;
}

body.thryve-woocommerce .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.thryve-woocommerce .woocommerce-checkout #place_order {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 1.25rem;
}

body.thryve-woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
body.thryve-woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
}

body.thryve-woocommerce .woocommerce-checkout .woocommerce-checkout-payment {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(63, 42, 30, 0.08);
}

body.thryve-woocommerce .woocommerce-checkout .payment_box {
    background: #f5f0e6 !important;
    color: #3f2a1e !important;
    border-radius: 0 !important;
}

body.thryve-woocommerce .woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

body.thryve-woocommerce .woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(63, 42, 30, 0.12);
    color: #3f2a1e;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    transition: all 0.25s ease;
}

body.thryve-woocommerce .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.thryve-woocommerce .woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #3f2a1e;
    border-color: #3f2a1e;
    color: #fff;
}

body.thryve-woocommerce .woocommerce-account .woocommerce-MyAccount-content {
    color: rgba(63, 42, 30, 0.78);
    line-height: 1.8;
}

body.thryve-woocommerce .woocommerce-account .woocommerce-MyAccount-content h2,
body.thryve-woocommerce .woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #3f2a1e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {

    body.thryve-woocommerce .woocommerce ul.products.columns-3,
    body.woocommerce ul.products.columns-3,
    body.thryve-woocommerce .woocommerce-page ul.products.columns-3,
    .site-main .woocommerce ul.products.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: none !important;
    }
}

@media (max-width: 767px) {

    body.thryve-woocommerce .woocommerce ul.products li.product,
    body.woocommerce ul.products li.product,
    body.thryve-woocommerce .woocommerce-page ul.products li.product,
    .site-main .woocommerce ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }

    body.thryve-woocommerce .thryve-woo-toolbar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem;
        text-align: center;
        margin-bottom: 1.75rem !important;
    }

    body.thryve-woocommerce .woocommerce-result-count,
    body.thryve-woocommerce .woocommerce-ordering {
        width: 100% !important;
        text-align: center;
    }

    body.thryve-woocommerce .woocommerce-ordering select {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    body.thryve-woocommerce .thryve-woo-card {
        max-width: 420px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.thryve-woocommerce .woocommerce div.product form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    body.thryve-woocommerce .woocommerce div.product .flex-control-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.thryve-woocommerce .woocommerce-cart table.cart thead {
        display: none;
    }

    body.thryve-woocommerce .woocommerce-cart table.cart tbody tr {
        display: block;
        padding: 1.25rem 0;
    }

    body.thryve-woocommerce .woocommerce-cart table.cart tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
        padding: 0.6rem 0;
        text-align: right;
    }

    body.thryve-woocommerce .woocommerce-cart table.cart tbody td::before {
        content: attr(data-title);
        color: rgba(63, 42, 30, 0.5);
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-align: left;
    }

    body.thryve-woocommerce .woocommerce-cart table.cart .product-remove::before,
    body.thryve-woocommerce .woocommerce-cart table.cart .actions::before,
    body.thryve-woocommerce .woocommerce-cart table.cart .actions td::before {
        display: none;
    }

    body.thryve-woocommerce .woocommerce-cart table.cart .actions {
        display: block;
    }
}

body.thryve-woocommerce .thryve-woo-toolbar {
    display: flex !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

body.thryve-woocommerce .woocommerce-result-count,
body.thryve-woocommerce .woocommerce-ordering {
    float: none !important;
    clear: none !important;
    width: auto !important;
}

body.thryve-woocommerce .woocommerce ul.products {
    clear: both !important;
}

@media only screen and (max-width: 640px) {

    body.thryve-woocommerce .woocommerce ul.products.columns-3,
    body.thryve-woocommerce .woocommerce-page ul.products.columns-3,
    body.woocommerce ul.products.columns-3,
    .site-main .woocommerce ul.products.columns-3 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.35rem !important;
        width: 100% !important;
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.thryve-woocommerce .woocommerce ul.products.columns-3 li.product,
    body.thryve-woocommerce .woocommerce-page ul.products.columns-3 li.product,
    body.woocommerce ul.products.columns-3 li.product,
    .site-main .woocommerce ul.products.columns-3 li.product {
        width: 100% !important;
        max-width: 420px !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        float: none !important;
    }
}
