/**
 * Theme Name:      Mandorle
 * Theme URI:       https://www.elegantthemes.com/gallery/divi/
 * Description:     A child Theme of Divi
 * Author:          LoganWeb
 * Author URI:      https:///www.loganweb.co.uk
 * Template:         Divi
 * Version:         1.0.72
 * Text Domain:     mandorle
 * License:         GPL2
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 */
  
 
/* ---------------------- Theme customization starts here ---------------------- */

/* Shop Dev keeps the established Shop card layout, with product-attribute filters
   sitting above the grid rather than introducing a second catalogue design. */
.mandorle-shop-filters {
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    gap: 8px 12px !important;
    margin-bottom: 1.25rem !important;
    padding: 12px 14px !important;
}

/* Divi's nested product row is a horizontal flex container. The filter is
   injected into that row, so explicitly stack the filter and catalogue. */
.et-l--body .et_pb_row:has(> .mandorle-shop-filters) {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.et-l--body .et_pb_row:has(> .mandorle-shop-filters) > .mandorle-shop-filters,
.et-l--body .et_pb_row:has(> .mandorle-shop-filters) > .mandorle-filter-empty,
.et-l--body .et_pb_row:has(> .mandorle-shop-filters) > .et_grid_column {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: 100% !important;
}

.mandorle-shop-filter-fields {
    display: grid;
    gap: 8px 12px;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.mandorle-shop-filter-fields label,
.mandorle-shop-filter-fields label > span {
    display: block;
}

.mandorle-shop-filter-fields label > span {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.mandorle-shop-filter-fields select {
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0;
    color: #fff;
    min-height: 38px;
    padding: 0.4rem 2rem 0.4rem 0.65rem;
    width: 100%;
}

.mandorle-shop-filter-fields select:focus {
    border-color: #d8b900;
    outline: 1px solid #d8b900;
}

.mandorle-shop-filter-reset {
    background: transparent;
    border: 0;
    color: #d8b900;
    cursor: pointer;
    font-size: 12px;
    margin-top: 0.45rem;
    padding: 0;
    text-decoration: underline;
}

.mandorle-shop-filter-status {
    color: rgba(255, 255, 255, 0.72);
    float: right;
    font-size: 13px;
    margin-top: 0.45rem;
    padding: 0;
}

/* Compact styling for the current inline filter markup on Shop Dev. */
.mandorle-shop-filters .mandorle-filter-group {
    gap: 3px !important;
    min-width: 115px !important;
}

.mandorle-shop-filters .mandorle-filter-group label,
.mandorle-shop-filters .mandorle-filter-group-label {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.mandorle-shop-filters select {
    min-height: 36px;
    padding: 5px 8px !important;
}

.mandorle-shop-filters .mandorle-filter-group--checks {
    min-width: 0 !important;
}

.mandorle-shop-filters .mandorle-filter-checks {
    gap: 2px 10px !important;
}

.mandorle-shop-filters .mandorle-filter-check {
    font-size: 12px !important;
    gap: 4px !important;
    line-height: 1.35;
}

.mandorle-shop-filters .mandorle-filter-reset {
    font-size: 12px !important;
    line-height: 1.2 !important;
    padding: 7px 14px !important;
}

.mandorle-shop-filter-reset[hidden] {
    display: inline-block;
    visibility: hidden;
}

.mandorle-shop-filters + .et_grid_column > [data-loop-item][hidden] {
    display: none !important;
}

/* The rule above loses to the flex/grid layout rules further down this file
   (body.woocommerce-shop .et_grid_column .et_pb_group { display: flex
   !important; } etc.) because those carry one extra point of specificity
   from the "body" type-selector qualifier -- both sides use !important, so
   the higher-specificity rule always wins regardless of source order, and
   filtered-out cards stayed visually flexed instead of disappearing.
   Restate the same reinforcement with matching body-qualified selectors so
   it actually outranks the flex rule. */
body[class*="tax-pa_"] .et-l--body .mandorle-shop-filters + .et_grid_column > [data-loop-item][hidden],
body.woocommerce-shop .et-l--body .mandorle-shop-filters + .et_grid_column > [data-loop-item][hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .mandorle-shop-filter-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .mandorle-shop-filter-fields {
        grid-template-columns: 1fr;
    }
}

/* Product-page related loop: use the same three-column card language as Shop. */
.single-product .et_pb_wc_description p strong,
.et-dynamic-content-woo--product_short_description p strong,
.custom_product_shop_desc p strong,
.mandorle-related-description p strong {
    display: block;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

body[class*="tax-pa_"] .et-l--body .et_grid_column,
body.woocommerce-shop .et-l--body .et_grid_column {
    display: grid !important;
    gap: 30px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body[class*="tax-pa_"] .et-l--body .et_grid_column > [data-loop-item],
body.woocommerce-shop .et-l--body .et_grid_column > [data-loop-item] {
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Product titles and descriptions vary a lot in length -- reserving a fixed
   height for the title alone is fragile (it only covers whichever line
   count was measured at the time, and breaks again the next time a product
   name changes). Instead, make every card in a row the same height and pin
   the "Buy now" button to the bottom of it, so however much room a title or
   description actually takes, the row still reads as aligned. */
body[class*="tax-pa_"] .et-l--body .et_grid_column,
body.woocommerce-shop .et-l--body .et_grid_column {
    align-items: stretch !important;
    grid-auto-rows: 1fr !important;
}

body[class*="tax-pa_"] .et-l--body .et_grid_column > [data-loop-item],
body.woocommerce-shop .et-l--body .et_grid_column > [data-loop-item] {
    height: 100%;
}

body[class*="tax-pa_"] .et-l--body .et_grid_column [data-loop-item] > .et_pb_column,
body[class*="tax-pa_"] .et-l--body .et_grid_column .et_pb_group,
body.woocommerce-shop .et-l--body .et_grid_column [data-loop-item] > .et_pb_column,
body.woocommerce-shop .et-l--body .et_grid_column .et_pb_group {
    height: 100%;
}

body[class*="tax-pa_"] .et-l--body .et_grid_column .et_pb_group,
body.woocommerce-shop .et-l--body .et_grid_column .et_pb_group {
    display: flex !important;
    flex-direction: column !important;
}

body[class*="tax-pa_"] .et-l--body .et_grid_column .et_pb_button_module_wrapper,
body.woocommerce-shop .et-l--body .et_grid_column .et_pb_button_module_wrapper {
    margin-top: auto !important;
}

@media (max-width: 980px) {
    body[class*="tax-pa_"] .et-l--body .et_grid_column,
    body.woocommerce-shop .et-l--body .et_grid_column {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body[class*="tax-pa_"] .et-l--body .et_grid_column,
    body.woocommerce-shop .et-l--body .et_grid_column {
        grid-template-columns: 1fr !important;
    }
}

.single-product table.woocommerce-product-attributes,
.single-product table.woocommerce-product-attributes tbody,
.single-product table.woocommerce-product-attributes tr,
.single-product table.woocommerce-product-attributes th,
.single-product table.woocommerce-product-attributes td {
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    text-align: left !important;
}

.single-product table.woocommerce-product-attributes th,
.single-product table.woocommerce-product-attributes td {
    line-height: 1.35 !important;
    padding: 6px 10px !important;
    vertical-align: top !important;
}

.single-product table.woocommerce-product-attributes th {
    font-weight: 600 !important;
    width: 32%;
}

.single-product table.woocommerce-product-attributes td,
.single-product table.woocommerce-product-attributes td p,
.single-product table.woocommerce-product-attributes td a {
    color: #fff !important;
    font-style: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.single-product table.woocommerce-product-attributes td a:hover,
.single-product table.woocommerce-product-attributes td a:focus {
    color: #d8b900 !important;
}

.single-product .mandorle-related-grid {
    align-items: stretch !important;
    grid-auto-rows: 1fr !important;
}

.single-product .mandorle-related-grid > [data-loop-item] {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.single-product .mandorle-related-grid > [data-loop-item][hidden] {
    display: none !important;
}

.single-product .mandorle-related-grid > [data-loop-item] > .et_pb_column,
.single-product .mandorle-related-grid .et_pb_group {
    height: 100%;
}

.single-product .mandorle-related-grid .et_pb_group {
    display: flex !important;
    flex-direction: column !important;
}

.single-product .mandorle-related-grid .et-vb-row--no-module {
    aspect-ratio: 5 / 4;
    background-position: center !important;
    background-size: cover !important;
    height: auto !important;
    margin: 0 0 15px !important;
    padding: 0 !important;
    width: 100% !important;
}

.single-product .mandorle-related-grid h4 {
    font-family: var(--et_global_heading_font);
    font-size: var(--gvid-rohzqiniku);
    font-style: italic;
    font-weight: 600;
    line-height: 1.15;
}

.single-product .mandorle-related-description {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.65rem;
}

.single-product .mandorle-related-description > p:first-child {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.5em;
    margin: 0;
    min-height: 4.5em;
    overflow: hidden;
    padding: 0;
}

.single-product .mandorle-related-description > p + p {
    display: none;
}

.single-product .mandorle-related-grid .et_pb_button_module_wrapper {
    margin-top: auto !important;
}

@media (max-width: 767px) {
    .single-product .mandorle-related-grid {
        --column-count: 1 !important;
    }
}

/* Keep navigation between the basket and checkout on-brand instead of white. */
html {
    background-color: #1b1b1b;
}

body::after {
    background: var(--mandorle-transition-colour, #1b1b1b);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
    visibility: hidden;
    z-index: 999999;
}

body.mandorle-is-navigating::after,
html.mandorle-page-loading body::after {
    opacity: 1;
    visibility: visible;
}

body::before {
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    border-top-color: #fff;
    content: "";
    height: 34px;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    width: 34px;
    z-index: 1000000;
}

body.mandorle-is-navigating::before,
html.mandorle-page-loading body::before {
    animation: mandorle-spinner 700ms linear infinite;
    opacity: 1;
    visibility: visible;
}

@keyframes mandorle-spinner {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.mandorle-min-quantity {
    clear: both;
    color: #555;
    display: none;
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.mandorle-min-quantity.is-invalid {
    color: #9f1d20;
    display: block;
}

#cust_product_price {
    font-size: clamp(26px, 5vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    padding: 1rem;
}

#cust_product_price .mandorle-total-label {
    color: inherit !important;
    display: inline !important;
    font-size: 0.72em;
    font-weight: 400;
    opacity: 1 !important;
    padding-right: 0.35em;
    vertical-align: 0.12em;
    visibility: visible !important;
}

#cust_product_price .mandorle-total-amount {
    font-size: inherit;
    font-weight: 700;
}

/* Fallback while a cached copy of the older total script is still active. */
#cust_product_price:not(:has(.mandorle-total-label))::before {
    color: inherit;
    content: "Total: ";
    font-size: 0.72em;
    font-weight: 400;
    padding-right: 0.35em;
    vertical-align: 0.12em;
}

.mandorle-qty-button {
    display: none;
}

/* Bag-contents note appended to each product's short description. */
.mandorle-bag-note {
    font-size: 0.85em;
}

/* Checkout button, replaced with a clear reminder below the minimum order
   value (mini-cart widget and cart page). Deliberately eye-catching so it
   reads as informative rather than a plain disabled button. */
.mandorle-checkout-disabled {
    background: #d8b900 !important;
    border-color: #d8b900 !important;
    color: #1b1b1b !important;
    cursor: not-allowed !important;
    font-size: 1.05em !important;
    font-weight: 300 !important;
    line-height: 1.35 !important;
    opacity: 1 !important;
    padding: 14px 18px !important;
    pointer-events: none;
    text-align: center;
    white-space: normal !important;
}

.mandorle-checkout-disabled .woocommerce-Price-amount {
    color: #000 !important;
    font-size: 1.15em;
    font-weight: 400;
}

/* Softer fields throughout checkout, with enough lift from the black page. */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    background-color: #1b1b1b !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 0 !important;
    color: #fff !important;
}

.woocommerce-checkout input.input-text::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: rgba(255, 255, 255, 0.48) !important;
    opacity: 1;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout .select2-container--open .select2-selection--single {
    background-color: #222 !important;
    border-color: rgba(216, 185, 0, 0.8) !important;
    outline: none;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
}

/* Checkout/account validation errors: the dark-theme field styling above
   uses !important on "border" and "background-color", which was silently
   swallowing WooCommerce's own red invalid-field indicator â€” a wrong email
   address gave no visual sign checkout had stopped. Restyle the error
   notice as a clear alert and give failing fields a red border *and* a
   tinted background so they're obvious at a glance, not just a thin
   colour change on a dark border. */
.woocommerce-error {
    background-color: #2a1414 !important;
    border-color: #e2401c !important;
    border-left-width: 4px !important;
    color: #fff !important;
    font-weight: 500;
}

.woocommerce-error::before {
    color: #ff6a5a !important;
}

.woocommerce-error a {
    color: #ffb199 !important;
    text-decoration: underline;
}

.woocommerce-message,
.woocommerce-info {
    background-color: #1b1b1b !important;
    border-color: rgba(255, 255, 255, 0.38) !important;
    color: #fff !important;
}

.woocommerce-message::before {
    color: #8fae1b !important;
}

.woocommerce-info::before {
    color: #d8b900 !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-account .form-row.woocommerce-invalid input.input-text,
.woocommerce-account .form-row.woocommerce-invalid select {
    background-color: rgba(226, 64, 28, 0.16) !important;
    border-color: #e2401c !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid label,
.woocommerce-account .form-row.woocommerce-invalid label {
    color: #ff6a5a !important;
}

.woocommerce-checkout .form-row.woocommerce-validated input.input-text,
.woocommerce-checkout .form-row.woocommerce-validated select,
.woocommerce-account .form-row.woocommerce-validated input.input-text,
.woocommerce-account .form-row.woocommerce-validated select {
    border-color: #8fae1b !important;
}

.woocommerce-cart table.shop_table,
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-cart .cart-collaterals .cart_totals table,
.woocommerce-cart .cart-collaterals .cart_totals th,
.woocommerce-cart .cart-collaterals .cart_totals td {
    border-color: rgba(255, 255, 255, 0.38) !important;
}

.woocommerce-cart input.input-text,
.woocommerce-cart input.qty {
    background-color: #1b1b1b !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    color: #fff !important;
}

.woocommerce-cart input.input-text::placeholder {
    color: rgba(255, 255, 255, 0.48) !important;
    opacity: 1;
}

.woocommerce-cart input.input-text:focus,
.woocommerce-cart input.qty:focus {
    background-color: #222 !important;
    border-color: rgba(216, 185, 0, 0.8) !important;
    outline: none;
}

/* Shared WooCommerce action buttons on cart and account screens. */
.woocommerce-cart button.button,
.woocommerce-cart a.button,
.woocommerce-account button.button,
.woocommerce-account a.button {
    background: transparent !important;
    border: 1px solid #d8b900 !important;
    border-radius: 999px !important;
    color: #d8b900 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    padding: 10px 20px !important;
    text-transform: uppercase;
}

.woocommerce-cart button.button:hover,
.woocommerce-cart button.button:focus,
.woocommerce-cart a.button:hover,
.woocommerce-cart a.button:focus,
.woocommerce-account button.button:hover,
.woocommerce-account button.button:focus,
.woocommerce-account a.button:hover,
.woocommerce-account a.button:focus {
    background: #d8b900 !important;
    color: #111 !important;
    padding: 10px 20px !important;
}

.woocommerce-cart button.button::after,
.woocommerce-cart a.button::after,
.woocommerce-account button.button::after,
.woocommerce-account a.button::after {
    display: none !important;
}

.woocommerce-cart button.button:disabled,
.woocommerce-cart button.button:disabled[disabled] {
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

/* My Account pages: dashboard, orders, addresses and forms. */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    border: 1px solid rgba(255, 255, 255, 0.38);
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    color: #fff !important;
    display: block;
    padding: 12px 16px;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #1b1b1b;
    color: #d8b900 !important;
}

.woocommerce-account input.input-text,
.woocommerce-account textarea,
.woocommerce-account select {
    background: #1b1b1b !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 0 !important;
    color: #fff !important;
}

.woocommerce-account input.input-text:focus,
.woocommerce-account textarea:focus,
.woocommerce-account select:focus {
    background: #222 !important;
    border-color: rgba(216, 185, 0, 0.8) !important;
    outline: none;
}

.woocommerce-account table.shop_table,
.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td,
.woocommerce-account .woocommerce-Address {
    border-color: rgba(255, 255, 255, 0.38) !important;
}

.woocommerce-account table.shop_table th {
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

body #page-container .woocommerce-form-login button.woocommerce-form-login__submit,
body #page-container .woocommerce-form-login .woocommerce-button.button {
    background: transparent !important;
    border: 1px solid #d8b900 !important;
    border-radius: 999px !important;
    color: #d8b900 !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    height: auto !important;
    line-height: 20px !important;
    min-height: 42px !important;
    opacity: 1 !important;
    padding: 10px 24px !important;
    text-indent: 0 !important;
    visibility: visible !important;
    width: auto !important;
}

body #page-container .woocommerce-form-login button.woocommerce-form-login__submit:hover,
body #page-container .woocommerce-form-login button.woocommerce-form-login__submit:focus {
    background: #d8b900 !important;
    color: #111 !important;
    padding: 10px 24px !important;
}

/* Lost Password / Reset Password submit button. A sitewide Divi Theme
   Builder module (Custom CSS on the "All Products" body layout) targets
   the generic ".woocommerce button.button" selector and forces
   "color: #000 !important", which bleeds onto this button and makes its
   text invisible against the page's dark background until :hover swaps
   the background to gold. Override with the same higher-specificity
   pattern used for the login button above so the site's standard gold
   outline button (readable text, filled gold on hover) applies here too. */
body #page-container .woocommerce-ResetPassword button.woocommerce-Button.button {
    background: transparent !important;
    border: 1px solid #d8b900 !important;
    border-radius: 999px !important;
    color: #d8b900 !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    height: auto !important;
    line-height: 20px !important;
    min-height: 42px !important;
    opacity: 1 !important;
    padding: 10px 24px !important;
    text-indent: 0 !important;
    visibility: visible !important;
    width: auto !important;
}

body #page-container .woocommerce-ResetPassword button.woocommerce-Button.button:hover,
body #page-container .woocommerce-ResetPassword button.woocommerce-Button.button:focus {
    background: #d8b900 !important;
    color: #111 !important;
    padding: 10px 24px !important;
}

/* My Account "Register" submit button: same stray sitewide button.button
   override described above also bleeds onto the register form now that
   registration is enabled on the My Account page. Apply the same
   higher-specificity fix so it matches the Login button beside it. */
body #page-container .woocommerce-form-register .woocommerce-form-register__submit {
    background: transparent !important;
    border: 1px solid #d8b900 !important;
    border-radius: 999px !important;
    color: #d8b900 !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    height: auto !important;
    line-height: 20px !important;
    min-height: 42px !important;
    opacity: 1 !important;
    padding: 10px 24px !important;
    text-indent: 0 !important;
    visibility: visible !important;
    width: auto !important;
}

body #page-container .woocommerce-form-register .woocommerce-form-register__submit:hover,
body #page-container .woocommerce-form-register .woocommerce-form-register__submit:focus {
    background: #d8b900 !important;
    color: #111 !important;
    padding: 10px 24px !important;
}

@media (max-width: 767px) {
    .woocommerce form.cart,
    .et_pb_wc_add_to_cart form.cart {
        align-items: center !important;
        display: flex !important;
        flex-wrap: wrap;
        gap: 12px;
    }

    .woocommerce div.product form.cart .mandorle-min-quantity {
        flex: 0 0 100%;
        margin-bottom: 0;
    }

    .woocommerce form.cart .quantity.mandorle-stepper-ready,
    .et_pb_wc_add_to_cart form.cart .quantity.mandorle-stepper-ready {
        align-items: stretch !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex: 0 0 150px !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        float: none !important;
        height: 42px !important;
        margin: 0 !important;
        max-width: 150px !important;
        overflow: hidden !important;
        width: 150px !important;
    }

    .woocommerce form.cart .quantity.mandorle-stepper-ready > .mandorle-qty-button,
    .et_pb_wc_add_to_cart form.cart .quantity.mandorle-stepper-ready > .mandorle-qty-button {
        align-items: center !important;
        appearance: none;
        background: #242424;
        border: 0 !important;
        color: #fff;
        cursor: pointer;
        display: flex !important;
        flex: 0 0 39px !important;
        font-size: 18px;
        height: 40px !important;
        justify-content: center;
        line-height: 1;
        margin: 0 !important;
        min-width: 39px !important;
        padding: 0 !important;
        position: static !important;
        width: 39px !important;
    }

    .mandorle-qty-minus {
        border-radius: 0 !important;
        border-right: 1px solid #555 !important;
    }

    .mandorle-qty-plus {
        border-left: 1px solid #555 !important;
        border-radius: 0 !important;
    }

    .quantity.mandorle-stepper-ready > .mandorle-qty-button:hover,
    .quantity.mandorle-stepper-ready > .mandorle-qty-button:focus {
        background: #d8b900 !important;
        color: #111 !important;
        outline: none;
    }

    .woocommerce form.cart .quantity.mandorle-stepper-ready > input.qty,
    .et_pb_wc_add_to_cart form.cart .quantity.mandorle-stepper-ready > input.qty {
        -webkit-appearance: none !important;
        appearance: none !important;
        background: #3f3f3f !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box;
        flex: 1 1 auto !important;
        font-size: 16px;
        height: 40px !important;
        margin: 0 !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 6px;
        position: static !important;
        text-align: center;
        width: auto !important;
    }

    body #page-container .woocommerce form.cart .quantity.mandorle-stepper-ready input[type="number"].qty,
    body #page-container .et_pb_wc_add_to_cart form.cart .quantity.mandorle-stepper-ready input[type="number"].qty {
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .woocommerce form.cart .single_add_to_cart_button,
    .et_pb_wc_add_to_cart form.cart .single_add_to_cart_button {
        border-radius: 4px !important;
        flex: 0 0 auto !important;
        float: none !important;
        font-size: 15px !important;
        height: 42px !important;
        line-height: 20px !important;
        margin: 0 !important;
        min-height: 42px !important;
        padding: 9px 14px !important;
        white-space: nowrap;
        width: auto !important;
    }

    .woocommerce form.cart .single_add_to_cart_button:hover,
    .woocommerce form.cart .single_add_to_cart_button:focus,
    .et_pb_wc_add_to_cart form.cart .single_add_to_cart_button:hover,
    .et_pb_wc_add_to_cart form.cart .single_add_to_cart_button:focus {
        padding: 9px 14px !important;
    }

    .woocommerce form.cart .single_add_to_cart_button::after,
    .et_pb_wc_add_to_cart form.cart .single_add_to_cart_button::after {
        display: none !important;
    }

    /* Mobile cart: replace the squeezed table with clean product cards. */
    .woocommerce-cart .woocommerce-cart-form table.shop_table {
        border: 0 !important;
        border-collapse: separate !important;
        border-spacing: 0 14px !important;
    }

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

    .woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.38) !important;
        box-sizing: border-box !important;
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        padding: 14px !important;
        width: 100% !important;
    }

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

    .woocommerce-cart .woocommerce-cart-form table.shop_table td::before {
        background: transparent !important;
        color: #aaa;
        font-size: 13px;
        font-weight: 400;
        padding-right: 14px;
    }

    .woocommerce-cart .woocommerce-message .wc-forward {
        display: none !important;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-remove {
        justify-content: flex-end;
        padding: 0 0 4px !important;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-remove::before,
    .woocommerce-cart .woocommerce-cart-form td.product-thumbnail::before,
    .woocommerce-cart .woocommerce-cart-form td.product-name::before {
        display: none !important;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-thumbnail {
        justify-content: center;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-thumbnail a {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: fit-content !important;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
        display: block !important;
        height: auto;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
        width: min(160px, 55vw) !important;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-name {
        justify-content: flex-start;
        padding-top: 2px !important;
        text-align: left !important;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-name a {
        color: #fff !important;
        font-size: 17px;
        font-weight: 600;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-quantity {
        display: grid !important;
        gap: 16px;
        grid-template-columns: auto 120px;
        justify-content: start !important;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-quantity::before {
        justify-self: start;
    }

    .woocommerce-cart .woocommerce-cart-form .quantity.mandorle-stepper-ready {
        align-items: stretch !important;
        border: 1px solid rgba(255, 255, 255, 0.38) !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex: 0 0 120px !important;
        flex-flow: row nowrap !important;
        height: 40px !important;
        margin: 0 !important;
        overflow: hidden !important;
        width: 120px !important;
    }

    .woocommerce-cart .woocommerce-cart-form .quantity.mandorle-stepper-ready > .mandorle-qty-button {
        align-items: center;
        background: #242424;
        border: 0 !important;
        color: #fff;
        display: flex !important;
        flex: 0 0 34px !important;
        font-size: 18px;
        height: 38px !important;
        justify-content: center;
        margin: 0 !important;
        min-width: 34px !important;
        padding: 0 !important;
        position: static !important;
        width: 34px !important;
    }

    .woocommerce-cart .woocommerce-cart-form .quantity.mandorle-stepper-ready > input.qty {
        background: #3f3f3f !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #fff !important;
        flex: 1 1 auto !important;
        height: 38px !important;
        margin: 0 !important;
        min-width: 0 !important;
        padding: 5px !important;
        position: static !important;
        text-align: center;
        width: auto !important;
    }

    .woocommerce-cart .woocommerce-cart-form tr:not(.cart_item) td.actions {
        display: block !important;
        padding: 14px 0 !important;
    }

    .woocommerce-cart .woocommerce-cart-form .coupon {
        display: grid !important;
        gap: 8px;
        grid-template-columns: 1fr auto;
        margin-bottom: 10px;
        width: 100%;
    }

    .woocommerce-cart .woocommerce-cart-form .coupon input,
    .woocommerce-cart .woocommerce-cart-form .coupon button,
    .woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
        box-sizing: border-box;
        min-height: 42px;
        width: auto !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        float: none !important;
        width: 100% !important;
    }

    .woocommerce-cart .woocommerce-cart-form td.product-subtotal {
        display: grid !important;
        gap: 16px;
        grid-template-columns: auto auto;
        justify-content: start !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals table {
        border: 1px solid rgba(255, 255, 255, 0.38) !important;
        box-sizing: border-box !important;
        table-layout: fixed !important;
        width: 100% !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.38) !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100% !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals tr:last-child {
        border-bottom: 0 !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals th,
    .woocommerce-cart .cart-collaterals .cart_totals td {
        box-sizing: border-box !important;
        display: block !important;
        width: auto !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals td {
        min-width: 90px !important;
        padding-right: 14px !important;
        text-align: right !important;
        white-space: nowrap;
    }

    .woocommerce-cart .woocommerce-cart-form .coupon input.input-text {
        background: #1b1b1b !important;
        border: 1px solid rgba(255, 255, 255, 0.38) !important;
        color: #fff !important;
    }

    .woocommerce-cart .woocommerce-Price-amount,
    .woocommerce-cart .woocommerce-Price-amount bdi,
    .woocommerce-cart .woocommerce-Price-currencySymbol {
        color: #fff !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::after,
    body::before {
        animation: none;
        transition: none;
    }
}