:root {
    --txcart-green: #84c447;
    --txcart-green-dark: #5c8a2e;
    --txcart-ink: #171717;
    --txcart-soft: #f6f7f2;
    --txcart-line: #deded6;
    --txcart-muted: #6c7167;
    --txcart-danger: #b42318;
    --txcart-shadow: 0 22px 70px rgba(0,0,0,.24);
}

body.txcart-lock {
    overflow: hidden;
}

.txnav__cart {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 7px 13px 7px 10px;
    border: 1px solid rgba(132,196,71,.68);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(132,196,71,.24), rgba(132,196,71,.11));
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 0 28px rgba(132,196,71,.16), inset 0 1px 0 rgba(255,255,255,.08);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.txnav__cart:hover,
.txnav__cart:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(150,217,88,.9);
    background: linear-gradient(180deg, rgba(132,196,71,.31), rgba(132,196,71,.15));
    box-shadow: 0 0 34px rgba(132,196,71,.23), inset 0 1px 0 rgba(255,255,255,.1);
    outline: none;
}

.txnav__cart-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(10,16,8,.55);
    color: var(--txcart-green);
}

.txnav__cart-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.txnav__cart-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
    text-align: left;
    line-height: 1;
}

.txnav__cart-label {
    color: rgba(255,255,255,.74);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.txcart-total {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.05;
    white-space: nowrap;
}

.txcart-total .woocommerce-Price-amount,
.txcart-total bdi {
    color: inherit;
    font: inherit;
}

.txnav__cart .txcart-count {
    position: absolute;
    top: -7px;
    right: -8px;
    box-shadow: 0 5px 12px rgba(0,0,0,.28);
}

.txnav__cart--mobile {
    display: inline-flex;
    width: 52px;
    min-width: 52px;
    height: 52px;
    padding: 0;
    gap: 0;
    border-color: rgba(150,217,88,.95);
    background: #84c447;
    color: #14210d;
    box-shadow: 0 10px 26px rgba(0,0,0,.32), 0 0 18px rgba(132,196,71,.24);
}

.txnav__cart--mobile .txnav__cart-copy {
    display: none;
}

.txnav__cart--mobile .txnav__cart-icon {
    width: 38px;
    height: 38px;
    background: transparent;
    color: #14210d;
}

.txnav__cart--mobile .txnav__cart-icon svg {
    width: 22px;
    height: 22px;
}

.txnav__cart--mobile .txcart-count {
    background: #fff;
    color: #14210d;
}

.txcart-count {
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--txcart-green);
    color: #14210d;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.txcart-mass {
    color: inherit;
    font-weight: 900;
}

form.cart .quantity {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

form.cart .txcart-form-mass-hint {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #d7e8cc;
    border-radius: 8px;
    background: #f4faef;
    color: var(--txcart-green-dark);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.txcart-trigger {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99980;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 10px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: #171717;
    color: #fff;
    box-shadow: 0 14px 38px rgba(0,0,0,.25);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.txcart-trigger:hover,
.txcart-trigger:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(132,196,71,.75);
    box-shadow: 0 18px 44px rgba(0,0,0,.32);
    outline: none;
}

.txcart-trigger__icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(132,196,71,.16);
    color: var(--txcart-green);
}

.txcart-trigger__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.txcart-trigger__text {
    display: grid;
    gap: 2px;
    text-align: left;
}

.txcart-trigger__text > span:first-child {
    font-size: 12px;
    color: rgba(255,255,255,.72);
    font-weight: 700;
}

.txcart-trigger.is-empty .txcart-mass {
    color: rgba(255,255,255,.72);
}

.txcart-drawer {
    position: fixed;
    inset: 0;
    z-index: 99990;
    visibility: hidden;
    pointer-events: none;
}

.txcart-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.txcart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,.58);
    opacity: 0;
    transition: opacity .22s ease;
}

.txcart-drawer.is-open .txcart-drawer__overlay {
    opacity: 1;
}

.txcart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(430px, 100vw);
    height: 100%;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    background: #fff;
    color: var(--txcart-ink);
    box-shadow: var(--txcart-shadow);
    transform: translateX(100%);
    transition: transform .24s ease;
    outline: none;
}

@media (min-width: 901px) {
    .txcart-panel {
        width: min(860px, calc(100vw - 64px));
    }
}

.txcart-drawer.is-open .txcart-panel {
    transform: translateX(0);
}

.txcart-loader {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.68);
}

.txcart-drawer.is-loading .txcart-loader {
    display: flex;
}

.txcart-loader span {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(132,196,71,.25);
    border-top-color: var(--txcart-green-dark);
    border-radius: 50%;
    animation: txcart-spin .7s linear infinite;
}

@keyframes txcart-spin {
    to {
        transform: rotate(360deg);
    }
}

.txcart-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid var(--txcart-line);
}

.txcart-panel__eyebrow {
    margin: 0 0 4px;
    color: var(--txcart-green-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.txcart-panel__header h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.12;
    color: var(--txcart-ink);
}

.txcart-close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--txcart-line);
    border-radius: 8px;
    background: #fff;
    color: var(--txcart-ink);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.txcart-close:hover,
.txcart-close:focus-visible {
    border-color: var(--txcart-green);
    outline: none;
}

.txcart-notices {
    padding: 0 22px;
}

.txcart-notices:empty {
    display: none;
}

.txcart-notices .woocommerce-message,
.txcart-notices .woocommerce-error,
.txcart-notices .woocommerce-info {
    margin: 14px 0 0;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.35;
}

.txcart-panel__mass {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 22px 0;
    padding: 12px 14px;
    border: 1px solid #d7e8cc;
    border-radius: 8px;
    background: #f4faef;
}

.txcart-panel__mass > span:first-child {
    color: var(--txcart-muted);
    font-size: 13px;
    font-weight: 800;
}

.txcart-panel__body {
    min-height: 0;
    overflow: auto;
    padding: 18px 22px;
}

.txcart-items {
    display: grid;
    gap: 12px;
}

.txcart-empty {
    min-height: 260px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    text-align: center;
    color: var(--txcart-muted);
}

.txcart-empty strong {
    color: var(--txcart-ink);
    font-size: 20px;
}

.txcart-empty span {
    max-width: 280px;
    font-size: 14px;
    line-height: 1.45;
}

.txcart-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--txcart-green);
    color: #14210d;
    font-weight: 900;
    text-decoration: none;
}

.txcart-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--txcart-line);
    border-radius: 8px;
    background: #fff;
}

.txcart-item__media {
    width: 82px;
    height: 82px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--txcart-soft);
}

.txcart-item__image,
.txcart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.txcart-item__content {
    min-width: 0;
    display: grid;
    gap: 9px;
}

.txcart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.txcart-item h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    color: var(--txcart-ink);
}

.txcart-item h3 a {
    color: inherit;
    text-decoration: none;
}

.txcart-item__remove {
    border: 0;
    background: transparent;
    color: var(--txcart-danger);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.txcart-item__meta {
    color: var(--txcart-muted);
    font-size: 12px;
    line-height: 1.35;
}

.txcart-item__meta dl,
.txcart-item__meta p {
    margin: 0;
}

.txcart-item__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--txcart-muted);
    font-size: 13px;
}

.txcart-item__price strong {
    color: var(--txcart-ink);
    font-size: 15px;
    white-space: nowrap;
}

.txcart-item__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.txcart-qty {
    width: 144px;
    height: 42px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: stretch;
    border: 1px solid var(--txcart-line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.txcart-qty button,
.txcart-qty input {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--txcart-ink);
    text-align: center;
    font: inherit;
    font-weight: 900;
    line-height: 1;
    box-shadow: none;
    appearance: none;
}

.txcart-qty button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #14210d;
    background: var(--txcart-soft);
    font-size: 22px;
    line-height: 1;
}

.txcart-qty button:hover,
.txcart-qty button:focus-visible {
    background: #e9f5df;
    color: var(--txcart-green-dark);
    outline: none;
}

.txcart-qty input {
    display: block;
    border-left: 1px solid var(--txcart-line);
    border-right: 1px solid var(--txcart-line);
    background: #fff;
    color: var(--txcart-ink);
    font-size: 16px;
    line-height: 42px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.txcart-qty input::-webkit-outer-spin-button,
.txcart-qty input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.txcart-item__mass {
    color: var(--txcart-green-dark);
    font-size: 13px;
    font-weight: 900;
    text-align: right;
}

.txcart-summary {
    padding: 16px 22px 20px;
    border-top: 1px solid var(--txcart-line);
    background: #fff;
}

.txcart-summary__rows {
    display: grid;
    gap: 9px;
}

.txcart-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--txcart-muted);
    font-size: 14px;
}

.txcart-summary__row strong {
    color: var(--txcart-ink);
    text-align: right;
}

.txcart-summary__row--muted strong {
    color: var(--txcart-muted);
    font-size: 13px;
}

.txcart-summary__note {
    margin: 12px 0 14px;
    color: var(--txcart-muted);
    font-size: 12px;
    line-height: 1.45;
}

.txcart-summary__button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-top: 14px;
    background: var(--txcart-green);
    color: #14210d;
    font-weight: 900;
    text-decoration: none;
}

.txcart-summary__button:hover,
.txcart-summary__button:focus-visible,
.txcart-empty a:hover,
.txcart-empty a:focus-visible {
    background: #96d958;
    color: #14210d;
    outline: none;
}

.txcart-summary__button.is-secondary {
    background: var(--txcart-ink);
    color: #fff;
}

.txcart-summary__link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    color: var(--txcart-ink);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

/* WooCommerce cart page */
body.woocommerce-cart {
    background: var(--txcart-soft);
}

body.woocommerce-cart .site-content {
    background: var(--txcart-soft);
}

body.woocommerce-cart .txcart-trigger {
    display: none !important;
}

body.woocommerce-cart .site-content .ast-container,
body.woocommerce-cart .ast-container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
}

body.woocommerce-cart #primary {
    margin-top: 34px;
    margin-bottom: 72px;
}

body.woocommerce-cart .entry-header {
    margin-bottom: 20px;
}

body.woocommerce-cart .entry-title {
    margin: 0;
    color: var(--txcart-ink);
    font-size: 42px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
}

body.woocommerce-cart .entry-content > .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info {
    grid-column: 1 / -1;
}

body.woocommerce-cart form.woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
    min-width: 0;
}

body.woocommerce-cart table.shop_table,
body.woocommerce-cart .cart_totals {
    border: 1px solid var(--txcart-line) !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

body.woocommerce-cart table.shop_table {
    width: 100%;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;
}

body.woocommerce-cart table.shop_table thead th {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid var(--txcart-line);
    background: #f4faef;
    color: var(--txcart-ink);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

body.woocommerce-cart table.shop_table td {
    padding: 16px;
    border: 0;
    border-top: 1px solid #ecece4;
    color: var(--txcart-ink);
    vertical-align: middle;
}

body.woocommerce-cart table.shop_table tr:first-child td {
    border-top: 0;
}

body.woocommerce-cart table.cart td.product-remove {
    width: 42px;
    padding-right: 8px;
    text-align: center;
}

body.woocommerce-cart table.cart a.remove {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff4f2;
    color: #b42318 !important;
    font-size: 0;
    line-height: 1;
    text-decoration: none !important;
}

body.woocommerce-cart table.cart a.remove > * {
    display: none !important;
}

body.woocommerce-cart table.cart a.remove::before {
    content: "\00d7";
    font-size: 20px;
    font-weight: 950;
}

body.woocommerce-cart table.cart a.remove:hover,
body.woocommerce-cart table.cart a.remove:focus-visible {
    background: #ffe4de;
    color: #8f130c !important;
    outline: none;
}

body.woocommerce-cart table.cart img {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    background: var(--txcart-soft);
    object-fit: cover;
}

body.woocommerce-cart table.cart td.product-name a {
    color: var(--txcart-ink);
    font-weight: 900;
    line-height: 1.25;
    text-decoration: none;
}

body.woocommerce-cart table.cart td.product-name a:hover,
body.woocommerce-cart table.cart td.product-name a:focus-visible {
    color: var(--txcart-green-dark);
}

body.woocommerce-cart table.cart td.product-price,
body.woocommerce-cart table.cart td.product-subtotal {
    color: var(--txcart-ink);
    font-weight: 900;
    white-space: nowrap;
}

body.woocommerce-cart table.cart td.product-quantity {
    min-width: 178px;
}

body.woocommerce-cart .qib-button-wrapper {
    width: 168px !important;
    height: 48px !important;
    min-height: 48px !important;
    display: inline-grid !important;
    grid-template-columns: 44px minmax(78px, 1fr) 44px !important;
    align-items: stretch !important;
    border: 1px solid var(--txcart-line) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.woocommerce-cart .qib-button-wrapper .qib-button {
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--txcart-soft) !important;
    color: #14210d !important;
    box-shadow: none !important;
    font-size: 19px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

body.woocommerce-cart .woocommerce-cart-form .qib-button-wrapper .minus,
body.woocommerce-cart .woocommerce-cart-form .qib-button-wrapper .plus {
    border: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-cart .qib-button-wrapper .qib-button:hover,
body.woocommerce-cart .qib-button-wrapper .qib-button:focus-visible {
    background: var(--txcart-green) !important;
    color: #14210d !important;
    outline: none !important;
}

body.woocommerce-cart .qib-button-wrapper .wqpmb_quantity,
body.woocommerce-cart .qib-button-wrapper .tomex-qty-display {
    min-width: 0 !important;
    width: auto !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    color: var(--txcart-ink) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body.woocommerce-cart .qib-button-wrapper .tomex-qty-display {
    width: 100% !important;
}

body.woocommerce-cart .qib-button-wrapper .wqpmb_input_text {
    display: none !important;
}

body.woocommerce-cart table.cart td.actions {
    padding: 14px 16px !important;
    background: #fafbf7;
    text-align: right;
}

body.woocommerce-cart .coupon,
body.woocommerce-cart .cart-discount,
body.woocommerce-cart .woocommerce-form-coupon,
body.woocommerce-cart .checkout_coupon {
    display: none !important;
}

body.woocommerce-cart table.cart td.actions > .button,
body.woocommerce-cart table.cart td.actions button[name="update_cart"] {
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #eef2e9 !important;
    color: #62675e !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

body.woocommerce-cart table.cart td.actions button[name="update_cart"]:not(:disabled) {
    background: var(--txcart-ink) !important;
    color: #fff !important;
}

body.woocommerce-cart table.cart td.actions button[name="update_cart"]:disabled {
    opacity: 0.48 !important;
    cursor: not-allowed !important;
}

body.woocommerce-cart .cart-collaterals {
    width: 100%;
    margin: 0;
}

body.woocommerce-cart .cart-collaterals::before,
body.woocommerce-cart .cart-collaterals::after {
    display: none;
}

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

body.woocommerce-cart .cart_totals h2 {
    margin: 0 !important;
    padding: 24px 26px !important;
    border-bottom: 1px solid var(--txcart-line);
    background: #fff;
    color: var(--txcart-ink);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: 0;
}

body.woocommerce-cart .cart_totals table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
    padding: 15px 26px !important;
    border: 0 !important;
    border-top: 1px solid #ecece4 !important;
    color: var(--txcart-ink);
    font-size: 14px;
    line-height: 1.45;
    vertical-align: top;
}

body.woocommerce-cart .cart_totals table th {
    width: 34%;
    color: var(--txcart-muted);
    font-weight: 850;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    background: #f4faef;
    color: var(--txcart-ink);
    font-size: 18px;
    font-weight: 950;
}

body.woocommerce-cart ul#shipping_method {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart ul#shipping_method li {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: var(--txcart-ink);
    line-height: 1.35;
    text-indent: 0 !important;
}

body.woocommerce-cart ul#shipping_method input {
    width: auto;
    height: auto;
    margin: 0 8px 0 0;
    vertical-align: middle;
}

body.woocommerce-cart .woocommerce-shipping-destination {
    display: none !important;
}

body.woocommerce-cart .woocommerce-shipping-calculator {
    display: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 22px 26px 26px !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--txcart-green) !important;
    color: #14210d !important;
    box-shadow: none !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
    text-align: center;
    text-decoration: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus-visible {
    background: #96d958 !important;
    color: #14210d !important;
    outline: none;
}

body.woocommerce-cart .cross-sells,
body.woocommerce-cart .related,
body.woocommerce-cart .up-sells {
    display: none !important;
}

body.woocommerce-cart .cart-empty,
body.woocommerce-cart .return-to-shop {
    max-width: 760px;
}

body.woocommerce-cart .cart-empty {
    padding: 20px 22px;
    border: 1px solid var(--txcart-line);
    border-radius: 8px;
    background: #fff;
    color: var(--txcart-ink);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

body.woocommerce-cart .return-to-shop .button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--txcart-green) !important;
    color: #14210d !important;
    font-weight: 950 !important;
}

/* WooCommerce checkout page */
body.woocommerce-checkout {
    background: var(--txcart-soft);
}

body.woocommerce-checkout .site-content {
    background: var(--txcart-soft);
}

body.woocommerce-checkout .site-content > .ast-container {
    padding-top: 120px !important;
}

body.admin-bar.woocommerce-checkout .site-content > .ast-container {
    padding-top: 150px !important;
}

body.woocommerce-checkout .txcart-trigger {
    display: none !important;
}

body.woocommerce-checkout .site-content .ast-container,
body.woocommerce-checkout .ast-container {
    width: min(1020px, calc(100% - 32px));
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

body.woocommerce-checkout .entry-content > .woocommerce {
    width: 100%;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

body.woocommerce-checkout #primary {
    margin-top: 0 !important;
    margin-bottom: 72px;
}

body.woocommerce-checkout .entry-header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout .entry-title {
    margin: 0;
    color: var(--txcart-ink);
    font-size: 42px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .checkout_coupon {
    display: none !important;
}

body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info {
    margin-bottom: 16px;
}

body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info {
    border: 1px solid var(--txcart-line);
    border-radius: 8px;
    background: #fff;
    color: var(--txcart-ink);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

body.woocommerce-checkout form.checkout {
    width: 100%;
    max-width: 100%;
    display: block !important;
    position: relative;
    padding-right: 452px;
    box-sizing: border-box;
}

body.woocommerce-checkout form.checkout::after {
    content: "";
    display: block;
    clear: both;
}

body.woocommerce-checkout #customer_details {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    float: none !important;
    clear: none !important;
    padding: 24px;
    border: 1px solid var(--txcart-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

body.woocommerce-checkout #customer_details::before,
body.woocommerce-checkout #customer_details::after {
    display: none;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
}

body.woocommerce-checkout #customer_details .col-2 {
    margin-top: 20px;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading {
    margin: 0 0 18px;
    color: var(--txcart-ink);
    font-size: 24px;
    line-height: 1.16;
    font-weight: 950;
    letter-spacing: 0;
}

body.woocommerce-checkout #order_review_heading {
    width: 420px !important;
    max-width: none !important;
    min-width: 0;
    position: absolute;
    top: 0;
    right: 0;
    float: none !important;
    clear: none !important;
    box-sizing: border-box;
    margin: 0;
    padding: 26px 26px 22px;
    border: 1px solid var(--txcart-line);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #fff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

body.woocommerce-checkout #order_review {
    width: 420px !important;
    max-width: none !important;
    min-width: 0;
    position: absolute;
    top: 90px;
    right: 0;
    float: none !important;
    clear: none !important;
    box-sizing: border-box;
    border: 1px solid var(--txcart-line);
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    padding: 0 18px 24px !important;
}

body.woocommerce-checkout form.checkout .form-row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 14px;
}

body.woocommerce-checkout form.checkout .form-row-wide,
body.woocommerce-checkout #billing_excise_status_field,
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_nip_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #billing_email_field {
    grid-column: 1 / -1;
}

body.woocommerce-checkout #billing_first_name_field {
    grid-column: 1;
    order: 20;
}

body.woocommerce-checkout #billing_last_name_field {
    grid-column: 2;
    order: 21;
}

body.woocommerce-checkout #billing_excise_status_field {
    order: 10;
}

body.woocommerce-checkout #billing_company_field {
    order: 40;
}

body.woocommerce-checkout #billing_nip_field {
    order: 41;
}

body.woocommerce-checkout #billing_country_field {
    display: none !important;
    order: 45;
}

body.woocommerce-checkout #billing_address_1_field {
    order: 50;
}

body.woocommerce-checkout #billing_address_2_field {
    display: none !important;
    order: 55;
}

body.woocommerce-checkout #billing_postcode_field {
    order: 60;
}

body.woocommerce-checkout #billing_city_field {
    order: 70;
}

body.woocommerce-checkout #billing_phone_field {
    order: 31;
}

body.woocommerce-checkout #billing_email_field {
    order: 30;
}

body.woocommerce-checkout #shipping_country_field,
body.woocommerce-checkout #shipping_address_2_field {
    display: none !important;
}

body.woocommerce-checkout #billing_address_1_field::before {
    content: "Adres dostawy";
    display: block;
    margin: 2px 0 10px;
    padding-top: 2px;
    color: var(--txcart-ink);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 950;
}

body.woocommerce-checkout #billing_address_1_field::after {
    content: "Po uzupełnieniu ulicy, kodu pocztowego i miasta kalkulator TOMEX naliczy koszt dostawy automatycznie.";
    display: block;
    margin-top: 8px;
    color: var(--txcart-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

body.woocommerce-checkout #billing_address_1_field::after {
    content: none;
    display: none;
}

body.woocommerce-checkout form.checkout label {
    margin-bottom: 6px;
    color: var(--txcart-ink);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

body.woocommerce-checkout form.checkout .required {
    color: #b42318 !important;
}

body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea,
body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single {
    min-height: 46px;
    border: 1px solid var(--txcart-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--txcart-ink) !important;
    box-shadow: none !important;
    font-size: 15px;
    line-height: 1.35;
}

body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea {
    padding: 11px 13px;
}

body.woocommerce-checkout form.checkout textarea {
    min-height: 104px;
    resize: vertical;
}

body.woocommerce-checkout .txcheckout-care {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid rgba(132, 196, 71, 0.42);
    border-left: 4px solid var(--txcart-green);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(132, 196, 71, 0.14), rgba(255, 255, 255, 0.96) 62%),
        #fff;
    box-shadow: 0 16px 34px rgba(35, 64, 18, 0.08);
}

body.woocommerce-checkout .txcheckout-care__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--txcart-green-dark);
    background: rgba(132, 196, 71, 0.16);
    box-shadow: inset 0 0 0 1px rgba(132, 196, 71, 0.24);
}

body.woocommerce-checkout .txcheckout-care__icon svg {
    width: 25px;
    height: 25px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.woocommerce-checkout .txcheckout-care__title {
    display: block;
    margin: 0 0 6px;
    color: var(--txcart-ink);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 950;
}

body.woocommerce-checkout .txcheckout-care__text {
    margin: 0;
    color: var(--txcart-muted);
    font-size: 14px;
    line-height: 1.58;
    font-weight: 650;
}

body.woocommerce-checkout form.checkout input.input-text:focus,
body.woocommerce-checkout form.checkout select:focus,
body.woocommerce-checkout form.checkout textarea:focus,
body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single:focus {
    border-color: var(--txcart-green-dark) !important;
    outline: none !important;
}

body.woocommerce-checkout form.checkout input.tomex-field-invalid,
body.woocommerce-checkout form.checkout textarea.tomex-field-invalid {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .1) !important;
}

body.woocommerce-checkout #billing_excise_status_field {
    position: relative;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #cfe5c3;
    border-radius: 8px;
    background: #f4faef;
}

body.woocommerce-checkout #billing_excise_status_field label {
    font-size: 14px;
}

body.woocommerce-checkout #billing_excise_status {
    padding-right: 48px !important;
    cursor: pointer;
    font-weight: 800;
    appearance: none;
    -webkit-appearance: none;
}

body.woocommerce-checkout #billing_excise_status_field .woocommerce-input-wrapper {
    position: relative;
    display: block;
}

body.woocommerce-checkout #billing_excise_status_field .woocommerce-input-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--txcart-green-dark);
    border-bottom: 2px solid var(--txcart-green-dark);
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

body.woocommerce-checkout #tomex-delivery-preview.tomex-delivery-preview--checkout {
    grid-column: 1 / -1;
    order: 71;
    margin: 0 !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 850 !important;
}

body.woocommerce-checkout #tomex-delivery-preview.tomex-delivery-preview--checkout.loading {
    background: #f4f5f1 !important;
    border: 1px solid var(--txcart-line) !important;
    color: var(--txcart-muted) !important;
}

body.woocommerce-checkout #tomex-delivery-preview.tomex-delivery-preview--checkout.ok,
body.woocommerce-checkout #tomex-delivery-preview.tomex-delivery-preview--checkout.free {
    background: #f4faef !important;
    border: 1px solid #cfe5c3 !important;
    color: #2e5c00 !important;
}

body.woocommerce-checkout #tomex-delivery-preview.tomex-delivery-preview--checkout.individual,
body.woocommerce-checkout #tomex-delivery-preview.tomex-delivery-preview--checkout.error {
    background: #fff8e6 !important;
    border: 1px solid #f2c46f !important;
    color: #754a00 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;
    table-layout: fixed;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    width: 74%;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    width: 26%;
    white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 14px 22px !important;
    border: 0;
    border-top: 1px solid #ecece4;
    color: var(--txcart-ink);
    font-size: 14px;
    line-height: 1.35;
    vertical-align: top;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    border-top: 1px solid var(--txcart-line);
    background: #f4faef;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    font-weight: 800;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-total {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name {
    padding-left: 18px !important;
    padding-right: 6px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-total {
    padding-left: 6px !important;
    padding-right: 16px !important;
    white-space: nowrap;
}

body.woocommerce-checkout .txcheckout-item {
    min-width: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

body.woocommerce-checkout .txcheckout-item__thumb {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: hidden;
    border: 1px solid var(--txcart-line);
    border-radius: 7px;
    background: #fff;
}

body.woocommerce-checkout .txcheckout-item__image {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
}

body.woocommerce-checkout .txcheckout-item__body {
    min-width: 0;
    display: grid;
    gap: 5px;
}

body.woocommerce-checkout .txcheckout-item__title {
    color: var(--txcart-ink);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
}

body.woocommerce-checkout .txcheckout-item__weight {
    color: var(--txcart-green-dark);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
}

body.woocommerce-checkout #shipping_method {
    width: 100% !important;
    max-width: none !important;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-checkout #shipping_method li {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #e0e0d6;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    text-indent: 0 !important;
}

body.woocommerce-checkout #shipping_method li:has(input[value^="flat_rate"]) {
    order: 1;
}

body.woocommerce-checkout #shipping_method li:has(input[value^="free_shipping"]) {
    order: 2;
}

body.woocommerce-checkout #shipping_method input {
    width: auto;
    min-width: 13px;
    margin: 3px 0 0 !important;
    flex: 0 0 auto;
    grid-column: 1;
    justify-self: start;
    position: static !important;
}

body.woocommerce-checkout #shipping_method label {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: block;
    flex: 1 1 auto;
    grid-column: 2;
    margin: 0;
    line-height: 1.35;
    font-weight: 800;
    text-align: left !important;
    text-indent: 0 !important;
}

body.woocommerce-checkout .txcheckout-ship-option {
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 4px;
    text-align: left;
}

body.woocommerce-checkout .txcheckout-ship-main {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: var(--txcart-ink);
}

body.woocommerce-checkout .txcheckout-ship-main strong {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.woocommerce-checkout #shipping_method input[value^="free_shipping"] + label .txcheckout-ship-main strong::before,
body.woocommerce-checkout #shipping_method input[value^="flat_rate"] + label .txcheckout-ship-main strong::before {
    display: inline-block;
    margin-right: 6px;
    font-size: 14px;
    line-height: 1;
    vertical-align: -1px;
}

body.woocommerce-checkout #shipping_method input[value^="free_shipping"] + label .txcheckout-ship-main strong::before {
    content: "📍";
}

body.woocommerce-checkout #shipping_method input[value^="flat_rate"] + label .txcheckout-ship-main strong::before {
    content: "🚚";
}

body.woocommerce-checkout .txcheckout-ship-price {
    color: var(--txcart-ink);
    font-size: 13px;
    white-space: nowrap;
}

body.woocommerce-checkout .txcheckout-ship-note {
    display: block;
    max-width: 100%;
    color: var(--txcart-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
    text-align: left;
    overflow-wrap: anywhere;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
    text-align: left !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot {
    width: 100% !important;
    display: table !important;
    table-layout: fixed;
    box-sizing: border-box;
}

@media (min-width: 981px) {
    body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot {
        width: 380px !important;
        max-width: 380px !important;
    }
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    width: auto !important;
    min-width: 0;
    display: block;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    font-weight: 900;
    white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead .product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    padding-left: 6px !important;
    padding-right: 18px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals th {
    width: 28%;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
    width: 72%;
    text-align: left !important;
    font-weight: 800;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping {
    width: 100% !important;
    box-sizing: border-box;
    display: block !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping td {
    width: 100% !important;
    box-sizing: border-box;
    display: block;
    text-align: left !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping th {
    padding: 16px 22px 8px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping td {
    padding: 0 18px 16px !important;
    border-top: 0;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
    background: #f4faef;
    font-size: 17px;
    font-weight: 950;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total {
    background: #f4faef;
}

body.woocommerce-checkout #payment {
    padding: 0;
    border-top: 1px solid var(--txcart-line);
    background: #fff !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    padding: 18px 26px !important;
    border-bottom: 1px solid var(--txcart-line) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    line-height: 1.45;
}

body.woocommerce-checkout #payment div.payment_box {
    margin: 12px 0 0;
    border-radius: 8px;
    background: #f4f5f1;
    color: var(--txcart-ink);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

body.woocommerce-checkout #payment div.payment_box p {
    margin: 0;
}

body.woocommerce-checkout #payment div.form-row {
    padding: 22px 26px 26px !important;
}

body.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--txcart-green) !important;
    color: #14210d !important;
    box-shadow: none !important;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 950 !important;
    text-align: center;
    text-transform: uppercase;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus-visible {
    background: #96d958 !important;
    color: #14210d !important;
    outline: none;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text {
    color: var(--txcart-muted);
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 14px;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text p {
    margin: 0;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: var(--txcart-green-dark);
    font-weight: 800;
}

@media (max-width: 1180px) {
    .txnav__cart:not(.txnav__cart--mobile) {
        display: none;
    }

    .txnav__cart--mobile {
        display: inline-flex;
    }
}

@media (max-width: 980px) {
    .txcart-trigger {
        display: none !important;
    }

    body.woocommerce-cart .entry-content > .woocommerce {
        display: block;
    }

    body.woocommerce-cart .cart-collaterals {
        margin-top: 22px;
    }

    body.woocommerce-checkout form.checkout {
        display: block;
        position: static;
        padding-right: 0;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        position: static;
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }

    body.woocommerce-checkout #order_review_heading {
        margin-top: 22px;
    }
}

@media (max-width: 700px) {
    body.woocommerce-checkout .site-content > .ast-container {
        padding-top: 132px !important;
    }

    body.woocommerce-cart .site-content .ast-container,
    body.woocommerce-cart .ast-container,
    body.woocommerce-checkout .site-content .ast-container,
    body.woocommerce-checkout .ast-container {
        width: min(640px, calc(100% - 28px));
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.woocommerce-cart #primary,
    body.woocommerce-checkout #primary {
        margin-top: 132px;
        margin-bottom: 48px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 88px !important;
    }

    body.woocommerce-cart .entry-title,
    body.woocommerce-checkout .entry-title {
        font-size: 30px;
    }

    body.woocommerce-checkout #customer_details {
        padding: 18px;
    }

    body.woocommerce-checkout .txcheckout-care {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 16px;
        padding: 14px;
        border-radius: 11px;
    }

    body.woocommerce-checkout .txcheckout-care__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    body.woocommerce-checkout .txcheckout-care__icon svg {
        width: 22px;
        height: 22px;
    }

    body.woocommerce-checkout .txcheckout-care__title {
        font-size: 15px;
    }

    body.woocommerce-checkout .txcheckout-care__text {
        font-size: 13px;
        line-height: 1.5;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout #billing_first_name_field,
    body.woocommerce-checkout #billing_last_name_field {
        grid-column: 1 / -1;
    }

    body.woocommerce-checkout .woocommerce-billing-fields h3,
    body.woocommerce-checkout .woocommerce-additional-fields h3,
    body.woocommerce-checkout #order_review_heading {
        font-size: 24px;
    }

    body.woocommerce-checkout #order_review_heading {
        width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 22px 20px 18px;
    }

    body.woocommerce-checkout #order_review {
        width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: hidden;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table thead,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
        table-layout: auto !important;
        box-sizing: border-box;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table thead tr,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr.cart_item,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.order-total {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: center;
        box-sizing: border-box;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
        padding: 13px 20px !important;
        text-align: left !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

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

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name {
        padding-left: 20px !important;
        padding-right: 8px !important;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-total {
        padding-left: 8px !important;
        padding-right: 20px !important;
    }

    body.woocommerce-checkout .txcheckout-item {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
    }

    body.woocommerce-checkout .txcheckout-item__thumb {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    body.woocommerce-checkout .txcheckout-item__body,
    body.woocommerce-checkout .txcheckout-item__title,
    body.woocommerce-checkout .txcheckout-item__weight {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
    }

    body.woocommerce-checkout #payment ul.payment_methods,
    body.woocommerce-checkout #payment div.form-row {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping th,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping td,
    body.woocommerce-checkout #shipping_method,
    body.woocommerce-checkout #shipping_method li {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping {
        display: block !important;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping th {
        display: block !important;
        padding: 18px 20px 10px !important;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping td {
        display: block !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.woocommerce-checkout #shipping_method li {
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr);
        column-gap: 10px;
        padding: 13px 14px;
    }

    body.woocommerce-checkout #shipping_method label,
    body.woocommerce-checkout .txcheckout-ship-option,
    body.woocommerce-checkout .txcheckout-ship-main,
    body.woocommerce-checkout .txcheckout-ship-main strong,
    body.woocommerce-checkout .txcheckout-ship-note {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        overflow-wrap: break-word;
        word-break: normal;
        box-sizing: border-box;
    }

    body.woocommerce-checkout .txcheckout-ship-main {
        display: block;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total {
        width: 100% !important;
        background: #f4faef;
    }

    body.woocommerce-cart .entry-content > .woocommerce,
    body.woocommerce-cart form.woocommerce-cart-form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
    }

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

    body.woocommerce-cart table.cart.shop_table_responsive,
    body.woocommerce-cart table.cart.shop_table_responsive tbody {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    body.woocommerce-cart table.cart.shop_table_responsive tr {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
        padding: 10px 0;
        border-bottom: 1px solid var(--txcart-line);
    }

    body.woocommerce-cart table.cart.shop_table_responsive tr.cart_item {
        position: relative;
        padding-top: 12px;
    }

    body.woocommerce-cart table.cart.shop_table_responsive tr:last-child {
        border-bottom: 0;
    }

    body.woocommerce-cart table.cart.shop_table_responsive td {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        min-height: 44px;
        display: block !important;
        padding: 10px 14px !important;
        border: 0 !important;
        text-align: left !important;
    }

    body.woocommerce-cart table.cart.shop_table_responsive td::before {
        float: none !important;
        width: auto !important;
        display: block;
        margin: 0 0 6px;
        color: var(--txcart-muted);
        font-size: 12px;
        font-weight: 950;
        line-height: 1.2;
        text-align: left;
        text-transform: uppercase;
    }

    body.woocommerce-cart table.cart td.product-remove {
        position: absolute;
        top: 14px;
        left: 14px;
        z-index: 1;
        width: auto !important;
        min-height: 0;
        display: block !important;
        padding: 0 !important;
        text-align: left !important;
    }

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

    body.woocommerce-cart table.cart td.product-thumbnail {
        display: block !important;
        padding: 16px 14px 8px !important;
        text-align: center !important;
    }

    body.woocommerce-cart table.cart td.product-thumbnail::before {
        display: none;
    }

    body.woocommerce-cart table.cart img {
        width: 96px;
        height: 96px;
    }

    body.woocommerce-cart table.cart td.product-name {
        align-items: flex-start;
    }

    body.woocommerce-cart table.cart td.product-name a {
        display: block;
        max-width: 100%;
        min-width: 0;
        text-align: left;
        overflow-wrap: anywhere;
        white-space: normal;
        word-break: break-word;
    }

    body.woocommerce-cart table.cart td.product-price > *,
    body.woocommerce-cart table.cart td.product-subtotal > * {
        display: inline-block;
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.woocommerce-cart table.cart td.product-quantity {
        min-width: 0 !important;
    }

    body.woocommerce-cart table.cart td.product-quantity .qib-button-wrapper {
        display: inline-grid !important;
        float: none !important;
        margin-top: 2px;
    }

    body.woocommerce-cart .qib-button-wrapper {
        width: 140px !important;
        height: 46px !important;
        min-height: 46px !important;
        grid-template-columns: 36px minmax(68px, 1fr) 36px !important;
        margin-left: 0;
    }

    body.woocommerce-cart .qib-button-wrapper .qib-button,
    body.woocommerce-cart .qib-button-wrapper .wqpmb_quantity,
    body.woocommerce-cart .qib-button-wrapper .tomex-qty-display {
        height: 46px !important;
        min-height: 46px !important;
    }

    body.woocommerce-cart table.cart td.actions {
        display: block !important;
    }

    body.woocommerce-cart table.cart td.actions button[name="update_cart"] {
        width: 100%;
    }

    body.woocommerce-cart .cart_totals h2 {
        padding: 20px !important;
        font-size: 26px;
    }

    body.woocommerce-cart .cart_totals table,
    body.woocommerce-cart .cart_totals tbody,
    body.woocommerce-cart .cart_totals tr,
    body.woocommerce-cart .cart_totals th,
    body.woocommerce-cart .cart_totals td {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box;
    }

    body.woocommerce-cart .cart_totals table th,
    body.woocommerce-cart .cart_totals table td {
        padding: 14px 20px !important;
        text-align: left !important;
    }

    body.woocommerce-cart .cart_totals table th {
        padding-bottom: 4px !important;
    }

    body.woocommerce-cart .cart_totals table td {
        padding-top: 0 !important;
    }

    body.woocommerce-cart .wc-proceed-to-checkout {
        padding: 20px !important;
    }
}

@media (max-width: 600px) {
    .txnav__mobile-actions {
        position: fixed !important;
        top: 18px !important;
        left: min(calc(100vw - 66px), 326px) !important;
        right: auto !important;
        z-index: 1002 !important;
    }

    .txnav__cart--mobile {
        width: 48px;
        min-width: 48px;
        height: 48px;
    }

    .txcart-trigger {
        right: 12px;
        bottom: 86px;
        min-height: 52px;
        padding: 8px 10px;
    }

    .txcart-trigger__text {
        display: none;
    }

    .txcart-panel {
        width: 100%;
        max-width: 100%;
    }

    .txcart-panel__header,
    .txcart-panel__body,
    .txcart-summary {
        padding-left: 16px;
        padding-right: 16px;
    }

    .txcart-panel__mass {
        margin-left: 16px;
        margin-right: 16px;
    }

    .txcart-item {
        grid-template-columns: 72px 1fr;
        padding: 10px;
    }

    .txcart-item__media {
        width: 72px;
        height: 72px;
    }

    .txcart-item__controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .txcart-item__mass {
        text-align: left;
    }
}
