:root{
    --head-font: 'Playfair Display', serif;
}

.woocommerce-shop .content-area,
.tax-product_cat .content-area,
.single-product .content-area {
    max-width: 1320px;
    width: calc(100% - 80px);
    margin: 165px auto 100px;
}

.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 25px;
}

.woocommerce-page ul.products.columns-5 {
    grid-template-columns: repeat(2, 1fr);
}

.woocommerce-page ul.products.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.woocommerce-page ul.products.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.woocommerce-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: rgb(241, 239, 232);
    padding: 15px 15px 25px;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link{
    margin-bottom: 15px;
}
.woocommerce ul.products li.product .button{
    margin-top: auto;
    align-self: center;
}

.woocommerce-page ul.products:before {
    content: none;
}

.woocommerce-page .woocommerce-products-header h1 {
    font-family: var(--head-font);
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
}

.woocommerce-page ul.products li.product a img {
    height: 170px;
    mix-blend-mode: multiply;
    object-fit: contain;
    border: none;
    width: 170px;
    margin: 0 auto;
    padding: 15px;
    box-shadow: 0px 0px 35px 0 rgb(0 0 0 / 13%);
    border-radius: 100%;
    margin-bottom: 15px;
}

.woocommerce-page ul.products li.product .price {
    color: #000;
    font-weight: 500;
    font-size: 16px;
}

.woocommerce .woocommerce-ordering select {
    vertical-align: top;
    padding: 8px 10px;
    font-family: 'Montserrat';
}

.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    color: #000;
    font-weight: 600;
    font-size: 20px;
}

.woocommerce-shop ul.products,
.tax-product_cat ul.products {
    padding-top: 20px;
}

.woocommerce-page ul.products li.product .added_to_cart {
    font-size: 15px;
    text-decoration: underline;
}

.term-description {
    margin-bottom: 20px;
}

.woocommerce-page ul.products li.product .added_to_cart:hover {
    color: var(--mb-main-color);
}

.woocommerce-breadcrumb a {
    display: inline-block;
}

.woocommerce-breadcrumb a:hover {
    color: var(--mb-main-color);
}

.woocommerce ul.products li.product .button,
.woocommerce-page .woocommerce-message .button,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
.woocommerce-account .woocommerce-MyAccount-content a.button,
.woocommerce-account .woocommerce .button,
.woocommerce div.product form.cart .button , .woocommerce-checkout .woocommerce .button , .woocommerce-cart .woocommerce .button{
    background-color: var(--mb-main-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page .woocommerce-message .button:hover,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce-account .woocommerce .button:hover , .woocommerce-checkout .woocommerce .button:hover , .woocommerce-cart .woocommerce .button:hover{
    background-color: var(--mb-main-color-hover);
    color: #fff;
    transition: 0.4s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button{
    box-shadow: none !important;
}

.woocommerce-account .woocommerce .button,
.woocommerce-checkout .woocommerce .button , .woocommerce-cart .woocommerce .button{
    border: none;
    box-shadow: none;
    padding: 9px 18px;
    border-radius: 5px;
    cursor: pointer;
}

.woocommerce-account .woocommerce table.my_account_orders .button{
    padding: 7px 15px;
    font-size: 14px;
}

.woocommerce form .show-password-input, .woocommerce-page form .show-password-input{
    top: 0.5em;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    border: none;
    border-radius: 5px;
}

.woocommerce div.product form.cart .button {
    padding: 14px 25px;
    min-width: 180px;
    margin-left: 10px;
}
.woocommerce div.product form.cart{
    margin-top: 20px;
}

.woocommerce-message , .woocommerce-form-coupon-toggle .woocommerce-info , .woocommerce-cart .cart-empty.woocommerce-info{
    border-top-color: var(--mb-main-color);
    background-color: #f1efe8;
    outline: none;
}

.woocommerce-message::before , .woocommerce-form-coupon-toggle .woocommerce-info::before , .woocommerce-cart .cart-empty.woocommerce-info::before{
    color: var(--mb-main-color)
}

.woocommerce-form-coupon-toggle .woocommerce-info .showcoupon{
    text-decoration: underline;
}

.woocommerce-checkout .woocommerce form.checkout_coupon{
    background-color: #F1EFE8;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0 5px 7px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    width: 34px;
    height: 34px;
    border-radius: 100%;
    border: 2px solid #C8D0D6;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: all 0.3s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--mb-main-color);
    color: #fff;
    border-color: var(--mb-main-color);
}

.woocommerce .woocommerce-result-count {
    margin-top: 0.6em;
}

.woocommerce-page .wp-block-woocommerce-coming-soon {
    margin-top: 100px;
}

.woocommerce-page .wp-block-woocommerce-coming-soon h1 {
    line-height: 1;
    font-family: var(--head-font);
    color: #000;
}

.woocommerce-page.logged-in .par_mums_banner,
.woocommerce-page.logged-in .page-main {
    margin-top: 98px;
}

/* Cart Design */

.wc-block-cart table.wc-block-cart-items {
    color: #000;
}

.wc-block-cart-items .wc-block-components-product-price {
    font-weight: 500;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
.wc-block-checkout__sidebar .wc-block-components-product-name {
    font-weight: 600;
    font-size: 17px;
}

.woocommerce-cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
    background-color: #F1EFE8;
    color: #000;
}

.woocommerce-checkout .wc-block-components-title.wc-block-components-title,
#customer_details h3 {
    font-family: var(--head-font);
    color: #1a1108;
    font-size: 25px;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* ============================================================
   Cart/Checkout typography spec
   ============================================================ */
.woocommerce-cart .entry-header .entry-title,
.woocommerce-checkout .entry-header .entry-title,
.woocommerce-cart h1.page-title,
.woocommerce-checkout h1.page-title,
.woocommerce-cart .cart-collaterals .cart_totals > h2,
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout form.checkout .order-review-main #order_review_heading {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 34px !important;
    line-height: 26px !important;
    letter-spacing: 0 !important;
}

.woocommerce-cart form .form-row label,
.woocommerce-checkout form .form-row label,
.woocommerce-cart form .form-row input.input-text,
.woocommerce-cart form .form-row input[type="text"],
.woocommerce-cart form .form-row input[type="email"],
.woocommerce-cart form .form-row input[type="tel"],
.woocommerce-cart form .form-row textarea,
.woocommerce-cart form .form-row select,
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row input[type="text"],
.woocommerce-checkout form .form-row input[type="email"],
.woocommerce-checkout form .form-row input[type="tel"],
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-cart .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 26px !important;
    letter-spacing: 0 !important;
    padding: 10px;
}

body.woocommerce-cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-heading-block {
    color: var(--mb-main-color);
    font-size: 25px;
    padding: 25px 15px;
    font-family: var(--head-font);
    font-weight: 700;
}

.woocommerce-checkout #payment div.payment_box{
    background-color: #fff;
}
.woocommerce-checkout #payment div.payment_box::before{
    border-bottom-color: #fff;
}
.woocommerce-checkout #payment #place_order{
    min-height: 50px;
    width: 100%;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 40px;
}
.woocommerce-checkout #ship-to-different-address #ship-to-different-address-checkbox{
    position: relative;
    top: -3px;
    margin-right: 6px;
    accent-color: var(--mb-main-color);
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_pircejs_field .woocommerce-input-wrapper{
    display: flex;
    gap: 15px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_pircejs_field .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-checkout-review-order .woocommerce-checkout-review-order-table .woocommerce-shipping-methods input{
    accent-color: var(--mb-main-color);
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_pircejs_field .woocommerce-input-wrapper label{
    line-height: 1.4;
}

/* ============================================
   Cart Page — New Design
   ============================================ */

.woocommerce-cart {
    color: #000;
}

/* Layout */
.woocommerce-cart .page-main-content, .woocommerce-checkout .page-main-content {
    padding: 0 !important;
  }
.woocommerce-cart .page-main-content > .woocommerce {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.woocommerce-cart .page-main-content > .woocommerce .woocommerce-notices-wrapper {
    width: 100%;
}
.woocommerce-cart .page-main-content > .woocommerce > .woocommerce-cart-form {
    width: 68%;
    padding-right: 4%;
}
.woocommerce-cart .page-main-content > .woocommerce > .cart-collaterals {
    width: 32%;
}
.woocommerce-cart .page-main-content > .woocommerce > .cart-collaterals .cart_totals {
    width: 100%;
}

.woocommerce-checkout .woocommerce-shipping-methods .woocommerce-input-wrapper button, .woocommerce-checkout .woocommerce-shipping-methods .woocommerce-input-wrapper input, .woocommerce-checkout .woocommerce-shipping-methods  select.woocommerce-input-wrapper {
    border: none;
    border-radius: 20px;
    padding: 15px;
}

/* Cart table — borderless, fixed layout so column widths are respected */
.woocommerce-cart .woocommerce table.shop_table {
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    width: 100%;
}

/* Table headers */
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table thead th {
    background: transparent;
    font-weight: 600;
    padding: 0 12px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(0,0,0,0.45);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table thead th.product-remove {
    width: 40px;
    padding: 0 8px 14px !important;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table thead th.product-thumbnail {
    width: 100px;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table thead th.product-price {
    width: 130px;
    text-align: left;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table thead th.product-quantity {
    width: 160px;
    text-align: left;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table thead th.product-subtotal {
    width: 110px;
    text-align: right;
}

/* Table body cells */
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td {
    padding: 20px 12px;
    font-size: 15px;
    background-color: transparent;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: middle;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td:first-child {
    border-top-color: rgba(0,0,0,0.08);
}

/* Remove button column */
body.woocommerce-cart .woocommerce table.cart td.product-remove {
    width: 40px;
    padding: 20px 8px 20px 0 !important;
    text-align: left;
}

/* Product image column */
body.woocommerce-cart .woocommerce table.cart td.product-thumbnail {
    width: 100px;
    padding: 12px 12px 12px 0 !important;
}
body.woocommerce-cart .woocommerce table.cart td.product-thumbnail img,
body.woocommerce-cart .woocommerce table.cart td.product-thumbnail a img {
    display: block;
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: cover;
    border-radius: 10px;
    background: #f5f2ec;
}

/* Product name */
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--bakery-ink);
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td.product-name a {
    font-weight: 600;
    color: var(--bakery-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td.product-name a:hover {
    color: var(--mb-main-color);
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td.product-price,
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td.product-subtotal {
    font-size: 15px;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td.product-price {
    text-align: left;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td.product-quantity {
    text-align: left;
}
body.woocommerce-cart .woocommerce form.woocommerce-cart-form table tbody td.product-subtotal {
    font-weight: 700;
    text-align: right;
}

/* Remove button — orange × */
.woocommerce-cart .woocommerce a.remove {
    background: transparent !important;
    line-height: 1;
    width: 10px;
    height: 10px;
    border-radius: 0;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f37021 !important;
    font-weight: 400;
}
.woocommerce-cart .woocommerce a.remove:hover {
    background: transparent !important;
    color: var(--bakery-orange-dark) !important;
}

/* Hide page banner (title + bg image) on cart page */
body.woocommerce-cart .par_mums_banner, body.woocommerce-checkout .par_mums_banner {
    display: none;
}
body.woocommerce-cart .page-main {
    margin-top: 70px;
}

/* Quantity control — pill style */
body.woocommerce-cart .quantity {
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: stretch;
    width: auto;
    border-color: #E8E2D8;
    background: #fff;
}
body.woocommerce-cart .quantity button {
    background: transparent !important;
    border: none !important;
    color: #000;
    width: 20px;
    height: 40px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease;
    font-weight: 100;
}
body.woocommerce-cart .quantity button:hover {
    background: rgba(0,0,0,0.05) !important;
}
body.woocommerce-cart .quantity .qty {
    border: none !important;
    border-radius: 0;
    text-align: center;
    width: 52px;
    height: 40px;
    font-size: 15px;
    font-weight: 300;
    padding: 0 !important;
    background: transparent;
    font-family: inherit;
    -moz-appearance: textfield;
    appearance: textfield;
}
body.woocommerce-cart .quantity .qty::-webkit-inner-spin-button,
body.woocommerce-cart .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart qty — same pill control as side cart / popup (display + hidden cart amount) */
body.woocommerce-cart .quantity.grandem-cart-qty {
    gap: 0;
}
body.woocommerce-cart .quantity.grandem-cart-qty .grandem-cart-qty-btn {
    background: transparent !important;
    border: none !important;
    color: #000;
    width: 20px;
    height: 40px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 100;
    font-size: 18px;
}
body.woocommerce-cart .quantity.grandem-cart-qty .grandem-cart-qty-btn:hover {
    background: rgba(0,0,0,0.05) !important;
}
body.woocommerce-cart .quantity.grandem-cart-qty .grandem-cart-qty-val,
body.woocommerce-cart .quantity.grandem-cart-qty .grandem-cart-qty-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    min-width: 52px;
    max-width: 72px;
    width: 52px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    font-weight: 300;
    padding: 0 4px;
    display: inline-block;
    -moz-appearance: textfield;
}
body.woocommerce-cart .quantity.grandem-cart-qty .grandem-cart-qty-input::-webkit-outer-spin-button,
body.woocommerce-cart .quantity.grandem-cart-qty .grandem-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
body.woocommerce-cart .quantity.grandem-cart-qty .grandem-cart-qty-input:focus {
    outline: 1px solid rgba(0, 0, 0, 0.2);
    outline-offset: 0;
}
body.woocommerce-cart .quantity.grandem-cart-qty .grandem-cart-qty-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
body.woocommerce-cart .woocommerce-cart-form td.product-price .grandem-cart-unit-price-suffix {
    font-size: 0.85em;
    opacity: 0.85;
    white-space: nowrap;
}

/* Quantity max / validation tooltip (cart, side cart, product grid) */
.grandem-qty-tooltip-host {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.grandem-qty-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 100%;
    transform: translateX(-50%);
    z-index: 120;
    display: none;
    align-items: flex-start;
    gap: 8px;
    min-width: 220px;
    /* max-width: min(320px, 92vw); */
    width: 350px;
    padding: 7px 7px;
    background: #fff;
    border: 1px solid #6b6b6b;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    font-size: 12px;
    line-height: 1.35;
    color: #222;
    text-align: left;
    white-space: normal;
}

.grandem-qty-tooltip.is-visible,
.grandem-qty-tooltip:not([hidden]) {
    display: flex;
}

.grandem-qty-tooltip::before,
.grandem-qty-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
}

.grandem-qty-tooltip::before {
    top: -9px;
    border-width: 0 9px 9px;
    border-color: transparent transparent #6b6b6b;
}

.grandem-qty-tooltip::after {
    top: -8px;
    border-width: 0 8px 8px;
    border-color: transparent transparent #fff;
}

.grandem-qty-tooltip__icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background: #e67e22;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.grandem-qty-tooltip__text {
    flex: 1 1 auto;
    min-width: 0;
}

body.woocommerce-cart td.product-quantity .grandem-qty-tooltip-host {
    margin-top: 0;
}

body.woocommerce-cart td.product-quantity .grandem-cart-qty-error.qty-error {
    color: inherit;
}

body.woocommerce-cart .quantity.grandem-cart-qty--single .grandem-cart-qty-val {
    min-width: 32px;
}

/* Actions row — flex layout */
body.woocommerce-cart .woocommerce table.cart td.actions {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 12px !important;
    border-top: 1px solid rgba(0,0,0,0.08) !important;
    flex-wrap: nowrap;
    text-align: left !important;
}
body.woocommerce-cart .woocommerce table.cart td.actions::before {
    content: none !important;
    display: none !important;
}
body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Coupon input */
body.woocommerce-cart table.cart td.actions .coupon .input-text {
    padding: 0 18px;
    border-radius: 999px;
    font-family: inherit;
    width: 200px !important;
    max-width: 200px !important;
    min-width: 0;
    border: 1.5px solid rgba(0,0,0,0.2);
    font-size: 15px;
    height: 44px;
    box-sizing: border-box;
    flex-shrink: 0;
    float: none !important;
    background: #fff;
}
body.woocommerce-cart table.cart td.actions .coupon .input-text::placeholder {
    color: rgba(0,0,0,0.4);
}

/* Apply coupon button — dark pill */
body.woocommerce-cart table.cart td.actions .coupon .button {
    background-color: var(--btn-dark) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0 22px;
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    transition: background-color 0.2s ease;
    box-shadow: none !important;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    float: none !important;
}
body.woocommerce-cart table.cart td.actions .coupon .button:hover {
    background-color: var(--btn-dark-hover) !important;
    color: #fff !important;
}

/* Update cart button — orange pill */
body.woocommerce-cart table.cart td.actions .button[name="update_cart"] {
    background-color: var(--mb-main-color) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0 22px;
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    transition: background-color 0.2s ease;
    box-shadow: none !important;
    cursor: pointer;
    margin-left: auto;
    white-space: nowrap;
    float: none !important;
}
body.woocommerce-cart table.cart td.actions .button[name="update_cart"]:hover {
    background-color: var(--mb-main-color-hover) !important;
}

.makecommerce-payment-methods .bg-white {
    background: #D65D14 !important;
}

/* ============================================
   Cart Totals Sidebar — Orange Box
   ============================================ */

.woocommerce-cart .cart-collaterals .cart_totals {
    background-color: var(--mb-main-color);
    border-radius: 14px;
    padding: 28px 24px;
    color: #fff;
}

/* Heading */
.woocommerce-cart .cart-collaterals .cart_totals > h2 {
    color: #fff;
    font-family: var(--head-font);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
}

/* Totals rows */
.woocommerce-cart .cart-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
}
.woocommerce-cart .cart-totals-row .cart-totals-label,
.woocommerce-cart .cart-totals-row .cart-totals-value {
    color: #fff;
}
.woocommerce-cart .cart-totals-row .cart-totals-value .woocommerce-Price-amount,
.woocommerce-cart .cart-totals-row .cart-totals-value bdi {
    color: #fff;
}
.woocommerce-cart .cart-totals-row.order-total {
    font-weight: 700;
    font-size: 17px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 0;
}

/* Shipping section label */
.woocommerce-cart .cart-totals-shipping-section {
    margin-bottom: 14px;
}
.woocommerce-cart .cart-totals-shipping-label {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

/* Shipping method cards */
.woocommerce-cart .woocommerce-shipping-totals {
    margin: 0;
}
.woocommerce-cart #shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.woocommerce-cart #shipping_method li.shipping-method-option {
    margin: 0;
    position: relative;
}
.woocommerce-cart #shipping_method li.shipping-method-option input.shipping_method {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.woocommerce-cart #shipping_method li:not(.shipping-method-option) input.shipping_method {
    position: static;
    opacity: 1;
    width: 18px;
    height: 18px;
    pointer-events: auto;
    margin-right: 10px;
    margin-top: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
    vertical-align: middle;
}
.woocommerce-cart #shipping_method li:not(.shipping-method-option) input.shipping_method:checked {
    box-shadow: inset 0 0 0 4px var(--mb-main-color);
    margin-left: 12px !important;
}
.woocommerce-cart #shipping_method li:not(.shipping-method-option) label {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 10px;
    width: 100%;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.woocommerce-cart #shipping_method li:not(.shipping-method-option) label strong {
    color: #fff;
    display: inline !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
.woocommerce-cart #shipping_method li:not(.shipping-method-option) label span {
    display: inline !important;
    white-space: nowrap !important;
}
.woocommerce-cart #shipping_method .shipping-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 16px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    color: #fff;
    transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}
.woocommerce-cart #shipping_method input.shipping_method:checked + .shipping-method-card,
.woocommerce-cart #shipping_method li.shipping-method-option.selected .shipping-method-card {
    background: #D65D14;
    box-shadow: none;
    color: #fff;
    padding: 11px 13px;
}

.woocommerce-cart .wolt-proxy-wrapper {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* Custom radio dot */
.woocommerce-cart #shipping_method .shipping-method-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    flex-shrink: 0;
    background: transparent;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.woocommerce-cart #shipping_method input.shipping_method:checked + .shipping-method-card .shipping-method-radio-dot,
.woocommerce-cart #shipping_method input.wolt-proxy-radio:checked + .shipping-method-radio-dot {
    background: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 0 4px var(--mb-main-color);
}

/* Icon */
.woocommerce-cart #shipping_method .shipping-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #fff;
}
.woocommerce-cart #shipping_method .shipping-method-icon svg,
.woocommerce-cart #shipping_method .shipping-method-icon .shipping-method-icon-svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #fff;
}
.woocommerce-cart #shipping_method .shipping-method-icon svg path {
    fill: currentColor;
}

/* Method name + subtitle */
.woocommerce-cart #shipping_method .shipping-method-info {
    flex: 1;
    min-width: 0;
}
.woocommerce-cart #shipping_method .shipping-method-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: inherit;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.woocommerce-cart #shipping_method .shipping-method-name strong {
    font-weight: 700;
}
.woocommerce-cart #shipping_method .shipping-method-subtitle {
    display: block;
    font-size: 12px;
    opacity: 0.75;
    margin-top: 2px;
    color: inherit;
}

/* Price */
.woocommerce-cart #shipping_method .shipping-method-price {
    font-weight: 700;
    font-size: 15px;
    color: inherit;
    flex-shrink: 0;
    margin-left: auto;
    white-space: nowrap;
}
.woocommerce-cart #shipping_method .shipping-method-price .woocommerce-Price-amount,
.woocommerce-cart #shipping_method .shipping-method-price bdi {
    color: inherit;
}

/* Checkout shipping cards — same visual as cart orange sidebar */
.woocommerce-checkout .woocommerce-shipping-totals {
    margin: 0;
}
.woocommerce-checkout #shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.woocommerce-checkout #shipping_method li.shipping-method-option {
    margin: 0;
    position: relative;
}
.woocommerce-checkout #shipping_method li.shipping-method-option input.shipping_method {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.woocommerce-checkout #shipping_method li:not(.shipping-method-option) input.shipping_method {
    position: static;
    opacity: 1;
    width: 18px;
    height: 18px;
    pointer-events: auto;
    margin-right: 10px;
    margin-top: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
    vertical-align: middle;
}
.woocommerce-checkout #shipping_method li:not(.shipping-method-option) input.shipping_method:checked {
    box-shadow: inset 0 0 0 4px var(--mb-main-color);
}
.woocommerce-checkout #shipping_method li:not(.shipping-method-option) label {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 10px;
    width: 100%;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.woocommerce-checkout #shipping_method li:not(.shipping-method-option) label strong {
    color: #fff;
    display: inline !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
.woocommerce-checkout #shipping_method li:not(.shipping-method-option) label span {
    display: inline !important;
    white-space: nowrap !important;
}
.woocommerce-checkout #shipping_method .shipping-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 16px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    color: #fff;
    transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}
.woocommerce-checkout #shipping_method input.shipping_method:checked + .shipping-method-card,
.woocommerce-checkout #shipping_method li.shipping-method-option.selected .shipping-method-card {
    background: #D65D14;
    box-shadow: none;
    color: #fff;
    padding: 11px 13px;
}
.woocommerce-checkout .wolt-proxy-wrapper {
    background: transparent;
    border-radius: 0;
    padding: 0;
}
.woocommerce-checkout #shipping_method .shipping-method-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    flex-shrink: 0;
    background: transparent;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.woocommerce-checkout #shipping_method input.shipping_method:checked + .shipping-method-card .shipping-method-radio-dot, .woocommerce-checkout #shipping_method input.wolt-proxy-radio:checked + .shipping-method-card .shipping-method-radio-dot {
    background: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 0 4px var(--mb-main-color);
}
.woocommerce-checkout #shipping_method .shipping-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #fff;
}
.woocommerce-checkout #shipping_method .shipping-method-icon svg,
.woocommerce-checkout #shipping_method .shipping-method-icon .shipping-method-icon-svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #fff;
}
.woocommerce-checkout #shipping_method .shipping-method-icon svg path {
    fill: currentColor;
}
.woocommerce-checkout #shipping_method .shipping-method-info {
    flex: 1;
    min-width: 0;
}
.woocommerce-checkout #shipping_method .shipping-method-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: inherit;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.woocommerce-checkout #shipping_method .shipping-method-name strong {
    font-weight: 700;
}
.woocommerce-checkout #shipping_method .shipping-method-subtitle {
    display: block;
    font-size: 12px;
    opacity: 0.75;
    margin-top: 2px;
    color: inherit;
}
.woocommerce-checkout #shipping_method .shipping-method-price {
    font-weight: 700;
    font-size: 15px;
    color: inherit;
    flex-shrink: 0;
    margin-left: auto;
    white-space: nowrap;
}
.woocommerce-checkout #shipping_method .shipping-method-price .woocommerce-Price-amount,
.woocommerce-checkout #shipping_method .shipping-method-price bdi {
    color: inherit;
}

/* Checkout button — dark */
.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 20px;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    background-color: var(--btn-dark);
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: inherit;
    transition: background-color 0.2s ease;
    border: none;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: var(--btn-dark-hover);
    color: #fff;
}

/* Empty cart */
.woocommerce-cart .page-main-content > .woocommerce .wc-empty-cart-message {
    flex-grow: 1;
    width: 100%;
}
.woocommerce-cart .page-main-content > .woocommerce .woocommerce.columns-4 {
    width: 100%;
}
.woocommerce-cart .page-main-content > .woocommerce .return-to-shop {
    margin: 0;
}

.woocommerce-cart ul#shipping_method li:not(.shipping-method-option),
.woocommerce-checkout ul#shipping_method li:not(.shipping-method-option) {
    display: flex;
}

.woocommerce-cart ul#shipping_method li:has(#woltdrive_schedule_date),
.woocommerce-checkout ul#shipping_method li:has(#woltdrive_schedule_date) {
  display: block !important;
}
/* Checkout Design */
.wc-block-checkout {
    color: #000;
}

.woocommerce-checkout .wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
    background-color: #F1EFE8;
    border: none;
    border-radius: 0;
}

.woocommerce-checkout .is-large .wc-block-checkout__sidebar {
    top: 144px;
}

.woocommerce-checkout .wc-block-components-order-summary__content .wc-block-components-formatted-money-amount {
    font-weight: 500;
}

.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .woocommerce-checkout .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{
    box-shadow: inset 0 0 0 1px currentColor;
}

.woocommerce-checkout .select2-container .select2-selection--single{
    height: 43px;
    border-color: hsla(0, 0%, 7%, .8);
}

.woocommerce-checkout .woocommerce-checkout .woocommerce-input-wrapper .input-checkbox{
    accent-color: var(--mb-main-color);
}
.woocommerce-checkout #customer_details > div{
    float: none;
    width: 100%;
}
.woocommerce-checkout form.checkout{
    display: flex;
    flex-wrap: wrap;
    color: #000;
}
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup{
    width: 100%;
}
.woocommerce-checkout form.checkout #customer_details{
    width: 68%;
    padding-right: 4%;
}
.woocommerce-checkout form.checkout .order-review-main {
    width: 32%;
    background-color: var(--mb-main-color);
    border-radius: 14px;
    padding: 28px 24px;
    color: #fff;
    box-sizing: border-box;
    align-self: flex-start;
}

/* Sidebar heading */
.woocommerce-checkout form.checkout .order-review-main #order_review_heading {
    font-family: var(--head-font);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
}

/* Product rows */
.woocommerce-checkout .checkout-review-products {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}
.woocommerce-checkout .checkout-review-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
}
.woocommerce-checkout .checkout-review-thumb {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}
.woocommerce-checkout .checkout-review-thumb img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}
.woocommerce-checkout .checkout-review-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--bakery-ink);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.woocommerce-checkout .checkout-review-name {
    flex: 1;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    min-width: 0;
}
.woocommerce-checkout .checkout-review-price {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}
.woocommerce-checkout .checkout-review-price .woocommerce-Price-amount,
.woocommerce-checkout .checkout-review-price bdi {
    color: #fff;
}

/* Shipping section */
.woocommerce-checkout .checkout-shipping-section {
    margin-bottom: 16px;
}
.woocommerce-checkout .checkout-shipping-label {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

/* Totals */
.woocommerce-checkout .checkout-review-totals {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 20px;
}
.woocommerce-checkout .checkout-review-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #fff;
    margin-bottom: 10px;
}
.woocommerce-checkout .checkout-review-total-grand {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0;
}
.woocommerce-checkout .checkout-review-total-value .woocommerce-Price-amount,
.woocommerce-checkout .checkout-review-total-value bdi {
    color: #fff;
}

/* Payment heading */
.woocommerce-checkout .checkout-payment-heading {
    font-family: var(--head-font);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.2;
}

/* Payment section — transparent so orange shows through */
.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
    padding: 0;
}
.woocommerce-checkout #payment ul.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    border: none;
}
.woocommerce-checkout #payment ul.wc_payment_methods li.payment_method {
    margin-bottom: 8px;
    padding: 0;
    border: none;
}
.woocommerce-checkout #payment .wc_payment_method > label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.woocommerce-checkout #payment .wc_payment_method > label img {
    max-height: 24px;
    vertical-align: middle;
    margin-left: 6px;
}
.woocommerce-checkout #payment input[type="radio"] {
    accent-color: #fff;
    margin-right: 8px;
}
.woocommerce-checkout #payment div.payment_box {
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
    margin-top: 8px;
    padding: 12px 14px;
    color: #fff;
}
.woocommerce-checkout #payment .payment_method_cod .payment_box {
    display: none !important;
}
.woocommerce-checkout #payment.grandem-payment-locked .checkout-payment-heading,
.woocommerce-checkout #payment.grandem-payment-locked ul.wc_payment_methods {
    display: none !important;
}
.woocommerce-checkout #payment.grandem-payment-required-error .checkout-payment-heading {
    color: #fff;
}
.woocommerce-checkout #payment.grandem-payment-required-error ul.wc_payment_methods {
    outline: 2px solid #ffeb3b;
    outline-offset: 4px;
    border-radius: 10px;
}
.woocommerce-checkout #payment .payment_method.woocommerce-invalid-payment > label {
    color: #ffeb3b;
}
.woocommerce-checkout #payment .grandem-payment-inline-error {
    display: none;
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #b32d2e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.woocommerce-checkout #payment .grandem-payment-inline-error::before {
    content: "! ";
    font-weight: 700;
}
.woocommerce-checkout #payment .checkout-payment-heading abbr.required {
    color: #fff;
    text-decoration: none;
    border: 0;
}
.woocommerce-checkout #payment.grandem-payment-required-error ul.wc_payment_methods .payment_method.woocommerce-invalid-required-field {
    outline: 1px solid #ffeb3b;
    outline-offset: 3px;
    border-radius: 8px;
}
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: rgba(0,0,0,0.15);
}
.woocommerce-checkout #payment div.payment_box p,
.woocommerce-checkout #payment div.payment_box label {
    color: #fff;
}

/* Terms checkbox */
.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper a {
    color: #fff;
    text-decoration: underline;
}
.woocommerce-checkout #payment input#terms {
    accent-color: #fff;
}

/* Place order button */
.woocommerce-checkout #payment .form-row.place-order {
    margin: 20px 0 0;
    padding: 0;
}
.woocommerce-checkout #payment #place_order {
    background-color: var(--btn-dark) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    width: 100%;
    padding: 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: none !important;
    min-height: auto;
}
.woocommerce-checkout #payment #place_order:hover {
    background-color: var(--btn-dark-hover) !important;
    color: #fff !important;
}
.woocommerce-checkout .woocommerce .woocommerce-form-coupon .button {
    min-height: 41px;
}

/* ============================================================
   Checkout — Billing Form Layout
   ============================================================ */

/* White card around billing fields */
.woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-additional-fields {
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Keep heading + buyer type visually outside the bordered field area */
.woocommerce-checkout .woocommerce-billing-fields {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-billing-fields > h3 {
    display: inline-block;
    margin-top: 70px;
    top: -70px;
    position: relative;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 44px 24px 24px;
    margin-bottom: 0;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_pircejs_field {
    position: absolute;
    top: -68px;
    left: 0;
    z-index: 3;
    background: #fdf9f1;
    width: auto !important;
    margin: 0 !important;
    padding-right: 10px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_pircejs_field + p.form-row {
    margin-top: 0 !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_pircejs_field .woocommerce-input-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_pircejs_field label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.woocommerce-checkout .woocommerce-additional-fields {
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 16px !important;
}

.woocommerce-checkout .woocommerce-additional-fields h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1108;
}

.woocommerce-cart ul#shipping_method li.shipping-method-option,
.woocommerce-checkout ul#shipping_method li.shipping-method-option {
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    line-height: 1.35;
    list-style: none outside;
}
.woocommerce-cart ul#shipping_method li:not(.shipping-method-option),
.woocommerce-checkout ul#shipping_method li:not(.shipping-method-option) {
    margin: 0 0 .5em;
    line-height: 1.5em;
    list-style: none outside;
    background: #D65D14;
    border-radius: 15px;
    padding: 10px;
}

/* Remove borders from ship-to section and col-2 */
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #ship-to-different-address {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 2-column flex layout for field wrapper */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p.form-row {
    float: none !important;
    clear: none !important;
    width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px);
    margin-bottom: 16px !important;
    box-sizing: border-box;
}

/* Force WooCommerce "wide" rows into the same 2-column grid */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p.form-row-wide,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p[class*="form-row-wide"],
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_email_field {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
}

/* Google address search — full width above address fields */
.woocommerce-checkout #billing_address_search_field {
    flex: 0 0 100% !important;
    width: 100% !important;
}

.woocommerce-checkout .grandem-address-autocomplete-wrapper {
    display: block;
    width: 100%;
}

.woocommerce-checkout .grandem-address-autocomplete-wrapper gmp-place-autocomplete,
.woocommerce-checkout .grandem-address-autocomplete-wrapper .grandem-place-autocomplete-input {
    display: block;
    width: 100%;
    color-scheme: light;
}

/* Google Places suggestions above checkout overlays */
.pac-container,
.gmp-place-autocomplete-menu,
.gmp-menu {
    z-index: 100000 !important;
    border-radius: 12px;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Select2 pill shape */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 52px !important;
    border: 1px solid rgba(0,0,0,0.14) !important;
    border-radius: 30px !important;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 52px;
    padding-left: 0;
    color: #1a1108;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px;
    right: 16px;
}

/* Single allowed country — native select or readonly display input */
.woocommerce-checkout #billing_country_field select.country_to_state,
.woocommerce-checkout #shipping_country_field select.country_to_state,
.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper input.grandem-single-country-display,
.woocommerce-checkout #shipping_country_field .woocommerce-input-wrapper input.grandem-single-country-display,
.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper input.input-text[readonly],
.woocommerce-checkout #shipping_country_field .woocommerce-input-wrapper input.input-text[readonly] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 52px;
    padding: 0 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 30px;
    background: #fff;
    color: #1a1108;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    cursor: default;
}

/* Delivery time in sidebar — white text */
.woocommerce-checkout .order-review-main #custom_checkout_field h3 {
    color: #fff;
    font-family: var(--head-font);
    font-size: 18px;
    margin: 0 0 12px;
}
.woocommerce-checkout .order-review-main #custom_checkout_field .form-row label {
    color: rgba(255,255,255,0.9) !important;
}
.woocommerce-checkout .order-review-main #custom_checkout_field .form-row input,
.woocommerce-checkout .order-review-main #custom_checkout_field .form-row select {
    background: rgba(255,255,255,0.92) !important;
    border-color: rgba(255,255,255,0.3) !important;
    border-radius: 30px !important;
    height: 46px;
    padding: 0 16px;
    color: #1a1108;
}
.woocommerce-checkout .order-review-main #custom_checkout_field {
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.25);
}

/* ============================================================
   Checkout — Payment Method Cards
   ============================================================ */

/* Each payment gateway option as a card */
.woocommerce-checkout #payment ul.wc_payment_methods li.payment_method {
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: none;
    display: block;
}
.woocommerce-checkout #payment ul.wc_payment_methods li.payment_method:last-child {
    margin-bottom: 0;
}

/* Payment_box — white card to hold bank logo grid */
.woocommerce-checkout #payment div.payment_box {
    background: #fff;
    border: none !important;
    border-radius: 12px;
    margin-top: 12px;
    padding: 16px;
    color: #1a1108;
    box-shadow: none !important;
}
.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}
.woocommerce-checkout #payment div.payment_box p,
.woocommerce-checkout #payment div.payment_box label {
    color: #1a1108;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    display: revert !important;
    padding: revert !important;
}
/* Country/region dropdown inside payment_box */
.woocommerce-checkout #payment div.payment_box select {
    border: 1px solid rgba(0,0,0,0.14) !important;
    border-radius: 30px !important;
    height: 46px;
    padding: 0 16px;
    width: 100%;
    margin-bottom: 14px;
    font-family: inherit;
    font-size: 14px;
    color: #1a1108;
}
/* Bank logo buttons — white rounded cards (target links/buttons only, not labels) */
.woocommerce-checkout #payment div.payment_box a,
.woocommerce-checkout #payment div.payment_box button:not([id="place_order"]) {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.12) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 8px !important;
    color: inherit !important;
    box-shadow: none !important;
}

/* Payment section separator from totals */
.woocommerce-checkout #payment {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.25);
    margin-top: 4px;
}
.woocommerce-checkout form .delivery_time_class select:focus-visible {
    outline: none;
}
/* My Account Page */
.woocommerce-account {
    background-color: #F1EFE8;
    color: #000;
}

.woocommerce-MyAccount-navigation ul {
    background-color: #fff;
    list-style: none;
    padding: 24px;
    border-radius: 5px;
    font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-content {
    padding: 24px;
    background-color: #fff;
    border-radius: 5px;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
    text-decoration: underline;
}

.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover {
    color: var(--mb-main-color);
}

.woocommerce-MyAccount-navigation ul a {
    transition: color 0.3s ease;
}

.woocommerce-MyAccount-navigation ul a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--mb-main-color);
}

.woocommerce-MyAccount-navigation ul li+li {
    margin-top: 15px;
}

.woocommerce-account table.shop_table {
    border-collapse: collapse;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .edit {
    float: none;
    margin-bottom: 22px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses h2 {
    font-family: var(--head-font);
}

.page-main-content ul.woocommerce-error {
    padding: 1em 2em 1em 3.5em;
    line-height: 1.55;
    outline: none;
}

.woocommerce-account .woocommerce-address-fields .address-field .select2-container .select2-selection--single {
    height: 41px;
}

.woocommerce-account .woocommerce-address-fields .address-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 15px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 8px;
    right: 7px;
}

.woocommerce-privacy-policy-text {
    font-size: 15px;
}

.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
}

/* My Account without login */
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .woocommerce-ResetPassword {
    background: #fff;
    border: none;
    padding: 20px;
    border-radius: 5px;
}

.woocommerce-account .page-main-content .woocommerce>h2 {
    font-family: var(--head-font);
}

.woocommerce-account .woocommerce-form a:not(.button) {
    text-decoration: underline;
}

.woocommerce-account .woocommerce-form a:not(.button):hover {
    color: var(--mb-main-color);
}

.woocommerce-account form .form-row input.input-text,
.woocommerce-account form .form-row textarea {
    padding: 10px 15px;
    font-family: inherit;
    border: 1px solid hsla(0, 0%, 7%, .8);
    border-radius: 4px;
}

/* Checkout — pill-shaped fields */
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row input[type="text"],
.woocommerce-checkout form .form-row input[type="email"],
.woocommerce-checkout form .form-row input[type="tel"] {
    height: 52px;
    padding: 0 20px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 30px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    color: #1a1108;
}
.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row input[type="text"]:focus,
.woocommerce-checkout form .form-row input[type="email"]:focus,
.woocommerce-checkout form .form-row input[type="tel"]:focus {
    border-color: var(--mb-main-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242,102,34,0.12);
}
.woocommerce-checkout form .form-row textarea {
    padding: 14px 20px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 16px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    color: #1a1108;
}
.woocommerce-checkout form .form-row select {
    height: 52px;
    padding: 0 20px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid rgba(0,0,0,0.14) !important;
    border-radius: 30px !important;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    color: #1a1108;
    appearance: auto;
}

.woocommerce-page form.woocommerce-form-coupon .form-row-last{
    float: left;
}

/* Thank You Page */
.woocommerce-order-received .woocommerce ul.order_details {
    padding: 15px;
    background: #F1EFE8;
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
}

.woocommerce-order-received {
    color: #000;
}

.woocommerce-order-received h2 {
    font-family: var(--head-font);
}

.woocommerce-order-received .woocommerce table.shop_table {
    border-collapse: collapse;
    border-radius: 5px;
    background-color: #f1efe8;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.woocommerce-order .woocommerce-thankyou-order-received {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 24px;
}

/* Single Product Design */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    background: #F1EFE8;
}

.woocommerce div.product div.images img {
    mix-blend-mode: multiply;
    height: 400px;
    object-fit: contain;
}

.woocommerce div.product div.summary {
    color: #000;
    margin-top: 0;
}

.woocommerce div.product div.summary .price {
    color: #000;
    font-weight: 600;
    font-size: 20px;
}

.woocommerce div.product div.summary .product_title {
    font-family: var(--head-font);
    line-height: 1;
    margin-top: 0;
}

.woocommerce div.product div.summary .woocommerce-product-details__short-description {
    margin: 15px 0 25px;
}

.single-product .product_meta a {
    display: inline-block;
    text-decoration: underline;
}

.single-product .product_meta a:hover{
    color: var(--mb-main-color);
}

.single-product .related.products {
    padding-top: 5px;
    color: #000;
    clear: both;
}

.single-product .related.products>h2 {
    font-family: var(--head-font);
}

.woocommerce div.product form.cart .qty {
    width: 4.631em;
    text-align: center;
    padding: 10px 5px;
    font-family: inherit;
}

.woocommerce ul.order_details li strong{
    font-weight: 600;
    margin-top: 4px;
}


/* Branch tabbing */

.branch-tabbing .home_produkti_tab{
    height: auto;
    min-height: auto;
}

.pcb_top_active {
    border-bottom: 4px solid var(--mb-main-color);
}

.page-main-content .branch-tabbing a.product_box{
    display: flex;
}

.branch-tabbing .home_produkti_upper.carousel{
    justify-content: center;
}

.branch-tabbing .carousel__nav .carousel__button.is-prev {
    left: -50px;
}

.branch-tabbing .carousel__nav .carousel__button.is-next {
    right: -50px;
}

.prod-tab-level-top > .carousel__viewport > .carousel__track > .product_category_box > img{
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
}

.branch-tabbing .product_box_text a.button {
    background-color: var(--mb-main-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-family: inherit;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}

.branch-tabbing .product_box_text a.button:hover{
    background-color: var(--mb-main-color-hover);
    color: #fff;
}

.branch-tabbing .product_box_text .added_to_cart{
    display: block;
    margin-top: 5px;
    font-size: 14px;
    text-decoration: underline;
}
.branch-tabbing .product_box_text .added_to_cart:hover{
    color: var(--mb-main-color);
}

.branch-tabbing .product_box_text .product_box_description{
    margin: 5px 0 15px 0;
    line-height: 1.2;
}

.branch-tabbing .prod-tab-level-bottom{
    margin-top: 40px;
}

.branch-tabbing .home_produkti_lower{
    overflow: hidden;
}

.branch-tabbing .home_produkti_row{
    display: flex;
    gap: 60px 0;
    justify-content: center;
    margin: 0 -20px;
    flex-wrap: wrap;
}

.branch-tabbing .home_produkti_row .product_box{
    width: 33.33%;
    padding: 0 20px;
    margin-left: 0;
}

.branch-tabbing .home_produkti_upper.prod-tab-level-top{
    height: auto;
    padding-top: 20px;
}
.branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box{
    width: 25%;
    height: auto;
    max-width: 25%;
    padding: 0px 8px 15px;
    color: #000;
}
.branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box:not(.pcb_top_active){
    border-bottom: 4px solid transparent;
}
.branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box > a{
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    margin-top: 15px;
}
.branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box > a img{
    width: 18px;
    height: auto;
}
.branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box > a:hover{
    color: var(--mb-main-color);
}
.branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box p{
    padding-bottom: 0;
    margin-bottom: 8px;
    margin-top: 1rem;
    line-height: 1.66;
}
.branch-tabbing .product_category_meta{
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}
.branch-tabbing .product_category_meta a:not(:first-child){
    padding-left: 8px;
    border-left: 1px solid rgba(0, 0, 0, 0.4);
    height: 21px;
}
.branch-tabbing .product_category_meta img{
    height: 18px;
    object-fit: contain;
    width: auto;
}

.branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box span{
    font-weight: 500;
}
.branch-tabbing .pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 2px;
}

.branch-tabbing .pagination a {
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: ease-in-out 0.2s;
}

.branch-tabbing .pagination a.active , .branch-tabbing .pagination a:hover {
    color: #fff;
    background: var(--mb-main-color);
}

.home_produkti_block .product-message {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--mb-main-color);
}
.woocommerce-terms-and-conditions-wrapper .validate-required .checkbox .woocommerce-terms-and-conditions-checkbox-text {
    color: #fff;
}
.woocommerce-terms-and-conditions-wrapper .validate-required .checkbox input {
    accent-color: var(--mb-main-color);
    outline: none !important;
}
.woocommerce-terms-and-conditions-wrapper .validate-required .checkbox .woocommerce-terms-and-conditions-checkbox-text a {
    color: var(--mb-main-color);
}
.woocommerce-terms-and-conditions-wrapper .validate-required .checkbox .woocommerce-terms-and-conditions-checkbox-text a:hover {
    text-decoration: underline;
}
.woocommerce .quantity {
    display: flex;
}

.woocommerce .quantity input[type="number"] {
    border: 1px solid var(--mb-main-color);
    outline: none;
    height: 38px;
    padding: 2px !important;
}
.woocommerce .quantity input[type=number]::-webkit-inner-spin-button, 
.woocommerce .quantity input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

.woocommerce .quantity button {
    background-color: var(--mb-main-color);
    border: 1px solid var(--mb-main-color);
    width: 38px;
    height: 38px;
    color: #ffffff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.woocommerce div.product form.cart .quantity button:hover {
    background-color: var(--mb-main-color-hover);
    border-color: var(--mb-main-color-hover);
}
.woocommerce div.product form.cart .quantity input[type="number"]{
    padding: 2px;
    height: 44px;
}
.woocommerce div.product form.cart .quantity button{
    width: 44px;
    height: 44px;
}
.home_produkti_row .add-to-cart-btn a.button.added::after {
    font-family: WooCommerce;
    content: "\e017";
    margin-left: .53em;
    vertical-align: bottom;
}
.home_produkti_row .add-to-cart-btn a.button.loading{
    position: relative;
    opacity: .25;
    /* padding-right: 2.618em; */
}
.home_produkti_row .add-to-cart-btn a.button.loading::after{
    font-family: WooCommerce;
    content: "\e01c";
    vertical-align: top;
    font-weight: 400;
    margin-left: .53em;
    /* position: absolute; */
    /* top: .618em; */
    /* right: 1em; */
    animation: spin 2s linear infinite;
}
.woocommerce-cart .woocommerce-cart-form .shop_table tr:last-of-type .actions > button[type="submit"] {
    display: none;
}
@media (min-width: 1201px) {
    .prod-tab-level-top.home_produkti_upper > .carousel__viewport > .carousel__track{
        flex-wrap: wrap;
        transform: none !important;
    }
    .branch-tabbing .home_produkti_upper.prod-tab-level-top .carousel__button{
        display: none;
    }
    .branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box:nth-child(n+5){
        margin-top: 30px;
    }
}
@media (min-width: 1001px) {
    .woocommerce-checkout .wc-block-components-form .wc-block-checkout__order-notes.wc-block-components-checkout-step {
        margin-bottom: 30px;
    }

    .woocommerce-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
        padding-top: 30px;
    }
}

@media (max-width: 1200px) {

    .woocommerce-shop .content-area,
    .tax-product_cat .content-area ,
        .single-product .content-area{
        margin-top: 100px;
    }
    .branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box{
        width: 33.33%;
        max-width: 33.33%;
    }
    .woocommerce-cart .page-main-content > .woocommerce > .woocommerce-cart-form {
        width: 100%;
        padding-right: 0;
    }
    .woocommerce-cart .page-main-content > .woocommerce > .cart-collaterals {
        width: 46%;
        margin-left: auto;
        margin-top: 1.5rem;
    }
}

@media (max-width: 1000px) {

    .woocommerce-page ul.products,
    .woocommerce-page ul.products.columns-5,
    .woocommerce-page ul.products.columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .woocommerce-checkout .wc-block-components-sidebar {
        width: 100%;
        padding-left: 0;
        order: -1;
        margin-bottom: 20px;
        position: static !important;
    }

    .woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
        width: 100%;
        padding-right: 0;
    }

    .woocommerce-checkout .wc-block-components-totals-wrapper {
        border-top: none;
    }
    .branch-tabbing .home_produkti_row .product_box{
        width: 50%;
    }
    .branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box{
        width: 50%;
        max-width: 50%;
    }
    .branch-tabbing.home_produkti_wrap .carousel__viewport::before, .branch-tabbing.home_produkti_wrap .carousel__viewport::after{
        width: 15px;
    }
    .woocommerce-checkout form.checkout #customer_details {
        width: 100%;
        padding-right: 0;
    }
    .woocommerce-checkout form.checkout .order-review-main {
        width: 100%;
        align-self: auto;
        border-radius: 14px;
        margin-top: 24px;
    }
    /* Stack ALL billing fields to single column on mobile */
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p.form-row,
    .woocommerce-checkout #billing_country_field,
    .woocommerce-checkout #billing_city_field,
    .woocommerce-checkout #billing_state_field,
    .woocommerce-checkout #billing_email_field,
    .woocommerce-checkout #billing_postcode_field,
    .woocommerce-checkout #billing_phone_field,
    .woocommerce-checkout #billing_address_1_field,
    .woocommerce-checkout #billing_address_2_field {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-container,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2-selection--single,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper select,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper input.input-text {
        width: 100% !important;
    }

    .woocommerce-checkout #billing_country_field .select2-container,
    .woocommerce-checkout #billing_state_field .select2-container {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .woocommerce .quantity{
        justify-content: flex-end;
    }
    .woocommerce div.product form.cart .quantity {
        margin: 0 0 10px 0 !important;
    }

    .woocommerce-page ul.products,
    .woocommerce-page ul.products.columns-5,
    .woocommerce-page ul.products.columns-3,
    .woocommerce-page ul.products.columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce-shop .content-area ,
    .single-product .content-area , .tax-product_cat .content-area{
        width: calc(100% - 50px);
    }

    .woocommerce-shop .content-area,
    .tax-product_cat .content-area ,  .single-product .content-area{
        margin-top: 90px;
        margin-bottom: 60px;
    }

    .wc-block-cart .wc-block-components-sidebar .wc-block-components-panel,
    .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-coupon,
    .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-item {
        padding-inline: 16px;
    }

    .wc-block-cart .wc-block-components-radio-control__option {
        padding-left: 3.25em;
    }

    body.woocommerce-cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-heading-block {
        display: block !important;
    }

    table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
        font-size: 16px;
        padding-right: 15px;
    }

    .woocommerce-page.logged-in .par_mums_banner,
    .woocommerce-page.logged-in .page-main {
        margin-top: 25px;
    }

    .woocommerce-cart .page-main {
        margin-bottom: 20px;
    }

    .wp-block-woocommerce-filled-cart-block table.wc-block-cart-items .wc-block-cart-items__row:not(:last-child) {
        border-bottom: 1px solid hsla(0, 0%, 7%, .11);
    }

    .woocommerce-cart .page-main-content {
        padding: 40px 0 20px 0;
    }

    .woocommerce-checkout .page-main-content {
        padding: 30px 0 10px 0;
    }

    .woocommerce-page .page-main {
        margin: 0 0 20px;
    }

    .woocommerce-page .page-main-content {
        padding: 30px 0 20px;
    }

    .woocommerce-MyAccount-navigation ul {
        margin-bottom: 30px;
    }

    .woocommerce-customer-details .addresses .woocommerce-column--shipping-address {
        margin-top: 25px;
    }
    .woocommerce div.product div.images img{
        height: 300px;
    }
    .woocommerce-order .woocommerce-thankyou-order-received{
        font-size: 20px;
    }
    .branch-tabbing .carousel__nav .carousel__button.is-prev {
        left: -35px;
    }
    
    .branch-tabbing .carousel__nav .carousel__button.is-next {
        right: -35px;
    }
    .branch-tabbing .home_produkti_row .product_box{
        width: 100%;
    }
    .branch-tabbing.home_produkti_wrap{
        padding-bottom: 50px;
    }
    /* Cart — mobile card layout */
    .woocommerce-cart .page-main-content > .woocommerce > .cart-collaterals {
        width: 100%;
        margin-left: 0;
    }

    /* Convert table to block — override WooCommerce smallscreen.css */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody {
        display: block !important;
        width: 100%;
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table thead {
        display: none !important;
    }

    /* Suppress WooCommerce's data-title ::before labels on all cart cells */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr td::before {
        content: none !important;
        display: none !important;
        float: none !important;
    }

    /* Each cart item — CSS grid card */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item {
        display: grid !important;
        grid-template-columns: 92px 1fr;
        column-gap: 14px;
        grid-template-areas:
            "thumb remove"
            "thumb name"
            "thumb price"
            "thumb subtotal"
            "thumb qty";
        padding: 18px 0;
        border-top: 1px solid rgba(0,0,0,0.08) !important;
        border-bottom: none !important;
        width: 100%;
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item:first-child {
        border-top: none !important;
    }

    /* All tds in the cart item row */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item td {
        display: block !important;
        border: none !important;
        padding: 0 !important;
        width: auto !important;
        text-align: left !important;
    }

    /* Remove button — top-right */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-remove {
        grid-area: remove;
        text-align: right !important;
        align-self: start;
    }

    /* Thumbnail — spans all rows */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail {
        grid-area: thumb;
        grid-row: 1 / -1;
        align-self: start;
        width: 92px !important;
        min-width: 92px !important;
        padding: 0 !important;
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail img,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-thumbnail a img {
        width: 92px !important;
        height: 92px !important;
        max-width: 92px !important;
        max-height: 92px !important;
        object-fit: contain;
        border-radius: 8px;
        background: #f5f2ec;
    }

    /* Product name */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name {
        grid-area: name;
        font-size: 15px;
        font-weight: 600;
        align-self: start;
        padding-right: 8px !important;
        text-align: left !important;
    }

    /* Price per unit */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-price {
        grid-area: price;
        font-size: 14px;
        color: rgba(0,0,0,0.55);
        margin-top: 3px;
        text-align: left !important;
    }

    /* Line total (above quantity on mobile) */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-subtotal {
        grid-area: subtotal;
        font-weight: 700;
        font-size: 15px;
        margin-top: 3px;
        text-align: left !important;
    }

    /* Quantity */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-quantity {
        grid-area: qty;
        margin-top: 10px;
        text-align: left !important;
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-quantity .quantity {
        justify-content: flex-start;
    }

    /* Actions row on mobile */
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.actions {
        display: block !important;
        padding: 16px 0;
        border-top: 1px solid rgba(0,0,0,0.08);
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.actions td {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.actions .coupon {
        display: flex !important;
        gap: 8px;
    }
    body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text {
        width: auto !important;
        max-width: none !important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.actions .button[name="update_cart"] {
        margin-left: 0;
        width: 100%;
    }

    /* Make each cart row a flex container */
    .woocommerce-cart-form__cart-item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        position: relative;
    }

    /* Move remove button to top-right */
    .woocommerce-cart-form__cart-item .product-remove {
        position: absolute;
        top: 0;
        right: 0;
    }

    /* Product name full width and aligned properly */
    .woocommerce-cart-form__cart-item .product-name {
        order: 1;
        width: 100%;
        padding-right: 25px; /* space for X button */
        font-weight: 600;
    }

    /* Thumbnail + others */
    .woocommerce-cart-form__cart-item .product-thumbnail {
        order: 2;
    }

    .woocommerce-cart-form__cart-item .product-price,
    .woocommerce-cart-form__cart-item .product-quantity,
    .woocommerce-cart-form__cart-item .product-subtotal {
        order: 3;
        width: 100%;
    }

    /* Force full width container */
    .woocommerce-cart td.actions {
        display: block !important;
        padding: 0 20px !important;
    }

    /* Coupon wrapper */
    .woocommerce-cart .coupon {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    /* INPUT - full width */
    .woocommerce-cart .coupon input#coupon_code {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: 52px;
        border-radius: 30px;
        padding: 0 20px;
        border: none;
        font-size: 15px;
        box-sizing: border-box;
    }

    /* BUTTON - full width */
    .woocommerce-cart .coupon button.button {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: 52px;
        border-radius: 30px;
        background: #1a0f08;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        border: none;
    }

    /* Remove inline alignment issues */
    .woocommerce-cart .coupon input,
    .woocommerce-cart .coupon button {
        margin: 0;
    }

    /* Hide update cart */
    .woocommerce-cart button[name="update_cart"] {
        display: none;
    }

    .woocommerce-checkout .woocommerce-billing-fields > h3 {
        margin-top: 90px;
        top: -100px;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_pircejs_field {
        top: -88px;
    }

}

@media (max-width: 576px) {

    .woocommerce-page ul.products,
    .woocommerce-page ul.products.columns-5,
    .woocommerce-page ul.products.columns-3,
    .woocommerce-page ul.products.columns-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .woocommerce .woocommerce-ordering,
    .woocommerce-page .woocommerce-ordering {
        clear: both;
        width: 100%;
    }

    .woocommerce .woocommerce-ordering select {
        width: 100%;
    }

    .woocommerce ul.order_details li {
        width: 100%;
        border-right: 0;
    }
    
    .woocommerce .wp-block-woocommerce-checkout{
        padding-top: 15px;
    }
    .branch-tabbing .home_produkti_upper.prod-tab-level-top .product_category_box{
        width: 100%;
        max-width: 100%;
    }
    .branch-tabbing .prod-tab-level-bottom {
        margin-top: 25px;
    }
    .branch-tabbing .home_produkti_tab{
        min-height: 640px;
    }
    .branch-tabbing .home_produkti_pagination{
        height: 80px;
    }
    .woocommerce-page form.woocommerce-form-coupon .form-row-first,
    .woocommerce-page form.woocommerce-form-coupon .form-row-last{
        float: left;
        width: 100%;
    }
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_pircejs_field .woocommerce-input-wrapper{
        font-size: 15px;
        flex-wrap: nowrap;
        gap: 8px;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 479px) {
    .woocommerce-cart .page-main-content > .woocommerce > .cart-collaterals {
        width: 100%;
    }
}
	 .tooltip-custom{
	    position:relative;
	    }
    .grandem-branch-disabled{
        cursor: not-allowed !important;
        opacity: .45;
    }
    .product-showcase-section__add-btn.grandem-branch-disabled,
    .pcb-popup__add-submit.grandem-branch-disabled,
    .pcb-allergen-card__add.grandem-branch-disabled{
        pointer-events: auto;
    }
    .product-showcase-section__card.grandem-branch-card-disabled,
    .product-showcase-section__card.grandem-branch-card-disabled .product-showcase-section__card-body,
    .product-showcase-section__card.grandem-branch-card-disabled .product-showcase-section__card-footer,
    .product-showcase-section__card:has(.grandem-branch-disabled),
    .product-showcase-section__card:has(.grandem-branch-disabled) .product-showcase-section__card-body,
    .product-showcase-section__card:has(.grandem-branch-disabled) .product-showcase-section__card-footer{
        overflow: visible;
    }
    .grandem-branch-disabled.tooltip-custom::after{
        content: attr(tip);
        position: absolute;
        z-index: 10090;
        left: 50%;
        bottom: calc(100% + 12px);
        transform: translateX(-50%);
        display: none;
        width: max-content;
        max-width: 240px;
        padding: 8px 10px;
        border-radius: 5px;
        background: rgba(0, 0, 0, 0.95);
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, .35);
    }
    .grandem-branch-disabled.tooltip-custom::before{
        content: "";
        position: absolute;
        z-index: 10091;
        left: 50%;
        bottom: calc(100% + 5px);
        transform: translateX(-50%) rotate(45deg);
        display: none;
        width: 12px;
        height: 12px;
        background: rgba(0, 0, 0, 0.95);
    }
    .grandem-branch-disabled.tooltip-custom:hover::after,
    .grandem-branch-disabled.tooltip-custom:focus::after,
    .grandem-branch-disabled.tooltip-custom:hover::before,
    .grandem-branch-disabled.tooltip-custom:focus::before{
        display: block !important;
    }
    .product-showcase-section__add-btn.add_to_cart_button.grandem-branch-disabled.tooltip-custom:hover::after,
    .product-showcase-section__add-btn.add_to_cart_button.grandem-branch-disabled.tooltip-custom:focus::after{
        display: block !important;
    }
	    .tooltip-custom:hover{
	    text-decoration:none;
	    }
    .tooltip-custom:after{
        content: attr(tip);
        font-size: 12px;
        line-height: 1.25em;
        color: #fff;
        width: calc(100% + 150px);
        padding: 5px 10px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, .65);
        background: rgba(0, 0, 0, 0.95);
        position: absolute;
        top: auto;
        left: 0;
        margin-top: 10px;
        display: none;
    }
    .tooltip-custom:before{
        /* z-index: 1000; */
        position: absolute;
        content: "";
        top: auto;
        bottom: -17px;
        margin-top: 40px;
        left: 50%;
        display: none;
        background: transparent;
        width: 12px;
        height: 12px;
        border-left: 6px solid #000;
        border-top: 6px solid #000;
        margin: 0px auto 0;
        overflow: hidden;
        transform: translate(-50%) rotate(45deg);
    }
    .tooltip-custom:hover{
    /* z-index:1000; */
    position:relative;
    color:#8325f7;
    }
    .tooltip-custom:hover:after{
    display:block;
    }
    .tooltip-custom:hover:before{
    display:block;
    }

    .makecommerce-payment-methods .col-6 {
        width: calc(50% - 8px);
        background: transparent;
        border-radius: 0;
        padding: 0;
        margin: 0;
        border: 0 !important;
    }

    .woocommerce form .form-row .input-text {
        border: 1px solid rgba(0, 0, 0, 0.14);
        border-radius: 30px;
    }

/* ============================================================
   Checkout payment refinement (match latest design)
   ============================================================ */
.woocommerce-checkout .order-review-main #payment {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.woocommerce-checkout .order-review-main #payment .checkout-payment-heading {
    margin: 0 0 12px;
    color: #fff;
    font-family: var(--head-font);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.woocommerce-checkout .order-review-main #payment ul.wc_payment_methods {
    margin: 0;
}

.woocommerce-checkout .order-review-main #payment ul.wc_payment_methods li.payment_method {
    background: transparent;
    padding: 0;
    margin: 0 0 10px;
    border: 0;
}

.woocommerce-checkout .order-review-main #payment ul.wc_payment_methods li.payment_method > label {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-checkout .order-review-main #payment div.payment_box {
    margin-top: 10px;
    background: #D65D14;
    border-radius: 12px;
    padding: 12px;
}

.woocommerce-checkout .order-review-main #payment div.payment_box p {
    margin: 0 0 8px;
    font-size: 12px;
    color: #1a1108;
}

.woocommerce-checkout .order-review-main #payment div.payment_box select {
    height: 42px;
    border-radius: 999px !important;
    margin-bottom: 10px;
    font-size: 13px;
}

.woocommerce-checkout .order-review-main #payment div.payment_box a,
.woocommerce-checkout .order-review-main #payment div.payment_box button:not([id="place_order"]),
.woocommerce-checkout .order-review-main #payment div.payment_box input[type="button"],
.woocommerce-checkout .order-review-main #payment div.payment_box input[type="submit"] {
    min-height: 44px;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.woocommerce-checkout .order-review-main #payment .woocommerce-privacy-policy-text,
.woocommerce-checkout .order-review-main #payment .woocommerce-terms-and-conditions-wrapper {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
}

.woocommerce-checkout .order-review-main .woocommerce-terms-and-conditions {
    display: none !important;
}

/* MakeCommerce bank/card grid spacing and selected state */
.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin: 0;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods [class*="col-"] {
    border: 0 !important;
    box-shadow: none !important;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods a,
.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods button,
.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods label {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    box-shadow: none !important;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods input[type="radio"]:checked + label,
.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .active,
.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .selected,
.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .is-active {
    border: 2px solid #2bbf6a !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.makecommerce_country_methods#makecommerce_country_methods_lv span {
    color: #fff;
}

/* Exact MakeCommerce spacing/alignment */
.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods select.d-none {
    display: none !important;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .makecommerce-picker {
    border-radius: 14px !important;
    padding: 14px !important;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .makecommerce-picker > input[type="hidden"] {
    display: none !important;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .row.g-3 {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
    margin: 0 !important;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .payment-method-wrapper.col-6 {
    width: 50% !important;
    padding: 0 calc(var(--bs-gutter-x) * .5) !important;
    margin: 0 !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .payment-method {
    height: 50px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
    background: #fff !important;
    overflow: hidden;
}

.woocommerce-checkout .order-review-main #payment .makecommerce-payment-methods .payment-method .check {
    display: none !important;
}

.wolt-proxy-wrapper {
    flex-basis: 100%;
    width: 100%;
    margin-top: 8px;
}

.wolt-proxy-wrapper .wolt-proxy-card {
    position: relative;
    width: 100%;
    margin: 0;
}

.wolt-proxy-wrapper .wolt-proxy-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.wolt-proxy-wrapper .wolt-proxy-radio:checked + .shipping-method-radio-dot {
    background: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 0 4px var(--mb-main-color);
}

.wolt-proxy-wrapper label.wolt-proxy-card:has(.wolt-proxy-radio:checked) {
    background: #D65D14;
    box-shadow: none;
    color: #fff;
    padding: 11px 13px;
}

.wolt-proxy-wrapper .shipping-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    color: #fff;
}

.wolt-proxy-wrapper .shipping-method-icon img,
.wolt-proxy-wrapper .shipping-method-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    color: #fff;
}

.wolt-proxy-wrapper .wolt-proxy-hint {
    flex-shrink: 0;
    margin-left: auto;
}


/* Keep custom shipping-method-option rows stacked (guest/not-logged markup). */
.woocommerce-cart ul#shipping_method li.shipping-method-option,
.woocommerce-checkout ul#shipping_method li.shipping-method-option {
  display: block !important;
}

/* Fallback/native Woo rows (live guest markup) */
.woocommerce-cart ul#shipping_method li:not(.shipping-method-option),
.woocommerce-checkout ul#shipping_method li:not(.shipping-method-option) {
  display: block !important;
}

.woocommerce-cart ul#shipping_method li:not(.shipping-method-option) label,
.woocommerce-checkout ul#shipping_method li:not(.shipping-method-option) label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
  width: auto !important;
  margin: 0 !important;
  padding-left: 10px !important;
}

.woocommerce-cart ul#shipping_method li:not(.shipping-method-option) > input.shipping_method,
.woocommerce-checkout ul#shipping_method li:not(.shipping-method-option) > input.shipping_method {
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px !important;
}

.woocommerce-cart ul#shipping_method li:not(.shipping-method-option) .wolt-proxy-wrapper,
.woocommerce-checkout ul#shipping_method li:not(.shipping-method-option) .wolt-proxy-wrapper {
  display: block;
  width: 100%;
  clear: both;
  margin-top: 10px;
}

/* Ensure the injected Wolt proxy card is rendered below the pickup option. */
.woocommerce-cart ul#shipping_method li.shipping-method-option .wolt-proxy-wrapper,
.woocommerce-checkout ul#shipping_method li.shipping-method-option .wolt-proxy-wrapper {
  display: block;
  width: 100%;
  margin-top: 10px;
}

.shipping_method {
    margin: 0 !important;
  }

/* Desktop-only mini cart side drawer */
.grandem-side-cart {
  position: fixed;
  inset: 0;
  z-index: 10060;
  pointer-events: none;
}

.grandem-side-cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.grandem-side-cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  max-width: calc(100vw - 24px);
  height: 100%;
  background: #f37021;
  color: #fff;
  transform: translateX(102%);
  transition: transform 0.3s ease;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.grandem-side-cart.is-open {
  pointer-events: auto;
}

.grandem-side-cart.is-open .grandem-side-cart__backdrop {
  opacity: 1;
}

.grandem-side-cart.is-open .grandem-side-cart__panel {
  transform: translateX(0);
}

.grandem-side-cart__content {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding: 24px 22px 20px 25px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
}

.grandem-side-cart__content::-webkit-scrollbar {
  width: 5px;
}

.grandem-side-cart__content::-webkit-scrollbar-track {
  background: transparent;
}

.grandem-side-cart__content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.grandem-side-cart__content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.62);
}

.grandem-side-cart__content::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.grandem-side-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.grandem-side-cart__title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.grandem-side-cart__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.grandem-side-cart__body {
  overflow: visible;
}

.grandem-side-cart .woocommerce-mini-cart {
  margin: 0;
  padding: 0;
}

.grandem-side-cart .woocommerce-mini-cart-item {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 8px !important;
  margin-bottom: 8px !important;
}

.grandem-side-cart .woocommerce-mini-cart-item a,
.grandem-side-cart .woocommerce-mini-cart-item .quantity {
  color: #fff !important;
}

.grandem-side-cart .woocommerce-mini-cart-item img {
  border-radius: 10px;
}

.grandem-side-cart .woocommerce-mini-cart__buttons,
.grandem-side-cart .woocommerce-mini-cart__total {
  display: none;
}

.grandem-side-cart__footer {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 14px;
}

.grandem-side-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.grandem-side-cart__total span {
  font-weight: 700;
  color: #fff;
}

.grandem-side-cart__total strong {
  font-weight: 700;
  color: #fff;
}

.grandem-side-cart__button {
  width: 100%;
  text-align: center;
  border-radius: 999px;
  padding: 17px 16px;
  margin-top: 25px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.grandem-side-cart__button--cart {
  background: rgba(0, 0, 0, 0.18);
  color: #fff !important;
}

.grandem-side-cart__button--checkout {
  background: var(--btn-dark);
  color: #fff !important;
  transition: background-color 0.2s ease;
}

.grandem-side-cart__button--checkout:hover {
  background: var(--btn-dark-hover);
}

body.grandem-side-cart-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .grandem-side-cart {
    display: none !important;
  }
}

.grandem-side-cart__head {
  margin-bottom: 14px;
}

.grandem-side-cart__title {
  font-size: 18px;
  font-weight: 700;
}

.grandem-side-cart__body {
  padding-right: 0;
}

.grandem-side-cart__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.grandem-side-cart__item {
  position: relative;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 8px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.grandem-side-cart__item-thumb img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
}

.grandem-side-cart__item-remove {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.grandem-side-cart__item-name {
  margin: 0 18px 6px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.grandem-side-cart__item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  padding-top: 6px;
  overflow: visible;
}

.grandem-side-cart__item-meta .grandem-qty-tooltip-host {
  flex: 0 0 auto;
}

.grandem-side-cart__qty {
    display: flex;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    min-height: 24px;
    padding: 0 2px;
    width: 90px;
    gap: 13px;
    text-align: center;
    border: 2px solid #FF8F4A;
}

.grandem-side-cart__item-main {
    margin-top: 7px;
}

.grandem-side-cart__qty-btn {
  border: 0;
  background: transparent;
  color: #383838;
  width: 20px;
  height: 22px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.grandem-side-cart__qty-val {
  min-width: 18px;
  text-align: center;
  color: #383838;
  font-size: 14px;
  font-weight: 400;
}

.grandem-side-cart__qty-suffix {
  font-weight: 500;
  color: #383838;
  font-size: 14px;
}

.grandem-side-cart__unit-price {
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  white-space: nowrap;
  min-width: 0;
}

.grandem-side-cart__line-total {
  margin-left: auto;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  font-size: 18px;
  margin-right: 10px;
  min-width: 0;
}

.grandem-side-cart__shipping {
  margin-top: 10px;
}

.grandem-side-cart__shipping-title {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
}

.grandem-side-cart__ship-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}

.grandem-side-cart__ship-option input {
  margin: 0;
}

.grandem-side-cart__ship-option.is-active {
  background: rgba(0, 0, 0, 0.24);
}

.grandem-side-cart__ship-label {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.grandem-side-cart__ship-price {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.grandem-side-cart__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.grandem-side-cart__total {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 8px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.grandem-side-cart__total span {
  line-height: 0.95;
}

.grandem-side-cart__total strong {
  line-height: 1;
}

.grandem-side-cart__ship-option {
  min-height: 56px;
}

.grandem-side-cart__ship-label {
  max-width: 170px;
}

.grandem-side-cart__ship-price {
  min-width: 72px;
  text-align: right;
}

.grandem-side-cart__ship-address-box {
  margin-top: 8px;
  position: relative;
}

.grandem-side-cart__ship-address-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  z-index: 3;
  pointer-events: none;
}

.grandem-side-cart__ship-address-box.is-loading .grandem-side-cart__ship-address-loader {
  display: flex;
}

.grandem-side-cart__ship-address-loader img {
  display: block;
  max-width: 64px;
  max-height: 64px;
  width: auto;
  height: auto;
}

.grandem-side-cart__ship-to {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.grandem-side-cart__ship-address-form {
  display: grid;
  gap: 8px;
}

.grandem-side-cart__ship-address-form input {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 14px;
}

.grandem-side-cart__ship-update {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: var(--btn-dark);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.grandem-side-cart__ship-update:hover {
  background: var(--btn-dark-hover);
}

.grandem-side-cart__ship-update:disabled {
  opacity: 0.75;
  cursor: wait;
}

.grandem-side-cart__ship-edit {
  width: 100%;
  margin-top: 4px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
