/* GO4LIFE — skupna košarica in blagajna. Ena definicija na selektor in pogoj.
 * Urejajte obstoječa pravila v ustreznem razdelku.
 * Različne širine zaslona so namerne odzivne različice.
 */

body:is(.woocommerce-cart,.woocommerce-checkout),body.woocommerce-checkout {
    background: #f4f6f3;
    color: #223b31;
    --wd-primary-color: #1b3d32;
    --wd-text-color: #4d5e55;
    --wd-title-color: #20392f;
    --wd-link-color: #1b3d32;
    --btn-accented-bgcolor: #1b3d32;
    --btn-accented-color: #fff;
    --btn-accented-bgcolor-hover: #2f5947;
    color-scheme: light;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .whb-header,body:is(.woocommerce-cart,.woocommerce-checkout) .wd-footer,body:is(.woocommerce-cart,.woocommerce-checkout) .page-title,body:is(.woocommerce-cart,.woocommerce-checkout) .wd-toolbar,body.woocommerce-checkout .whb-header,body.woocommerce-checkout .wd-footer,body.woocommerce-checkout .page-title,body.woocommerce-checkout .wd-toolbar {
    display: none !important;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .main-page-wrapper,body.woocommerce-checkout .main-page-wrapper {
    background: #f4f6f3;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body:is(.woocommerce-cart,.woocommerce-checkout) main.container,body.woocommerce-checkout main.container {
    max-width: 1200px;
    padding: 0 24px;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .site-content,body.woocommerce-checkout .site-content {
    margin-bottom: 0;
}

.g4buy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0 22px;
    border-bottom: 1px solid #dbe3dc;
    margin-bottom: 28px;
}

.g4buy-head img {
    display: block;
    width: 250px;
    height: auto;
    max-width: 100%;
}

.g4buy-head a {
    color: #1b3d32;
    font-weight: 700;
}

.g4buy-phone {
    display: flex;
    flex-direction: column;
    text-align: right;
    white-space: nowrap;
}

.g4buy-phone small {
    font-size: 12px;
    font-weight: 400;
    color: #65766b;
}

.g4buy-intro {
    margin: 0 0 25px;
}

.g4buy-intro h1 {
    font-size: clamp(28px,3.5vw,42px);
    line-height: 1.16;
    margin: 16px 0 10px;
    color: #20392f;
    letter-spacing: -1px;
}

.g4buy-intro p {
    color: #637168;
    margin: 0 0 18px;
    font-size: 16px;
}

.g4buy-steps {
    display: flex;
    gap: 10px;
    align-items: center;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 22px !important;
    font-size: 13px;
}

.g4buy-steps b {
    border: 1px solid #cad7cc;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
}

.g4buy-steps [aria-current=step] {
    color: #1b3d32;
    font-weight: 700;
}

.g4buy-steps [aria-current=step] b {
    background: #1b3d32;
    color: #fff;
    border-color: #1b3d32;
}

.g4buy-trust {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #466350;
    font-size: 13px;
    margin-bottom: 25px;
}

.g4buy-trust span:before {
    content: '✓';
    font-weight: 700;
    margin-right: 7px;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form,body:is(.woocommerce-cart,.woocommerce-checkout) .cart-totals-inner {
    background: #fff;
    border: 1px solid #dfe5df !important;
    border-radius: 20px;
    padding: 24px !important;
    box-shadow: 0 8px 30px #193a2a04;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .cart-totals-inner {
    border-top: 4px solid #1b3d32 !important;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .cart_totals h2 {
    font-size: 22px;
    text-transform: none;
    letter-spacing: -.4px;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .shop_table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #6e7b73;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .shop_table td {
    padding-top: 22px;
    padding-bottom: 22px;
    border-color: #edf0eb;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .product-thumbnail img {
    width: 100px;
    max-height: 100px;
    object-fit: contain;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 10px;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .product-name a {
    font-weight: 650;
    font-size: 15px;
    color: #20392f;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .amount {
    color: #1b3d32;
    font-weight: 650;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .order-total > td > strong > .amount {
    font-size: 28px;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .order-total .includes_tax {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #66736b;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .order-total .includes_tax .amount,
body:is(.woocommerce-cart,.woocommerce-checkout) .order-total .includes_tax .amount bdi {
    font-size: inherit;
    font-weight: inherit;
    /* The global brand price color is important; tax stays a secondary note. */
    color: inherit !important;
}

.g4buy-shell input,body:is(.woocommerce-cart,.woocommerce-checkout) .quantity input,body.woocommerce-checkout input.input-text,body.woocommerce-checkout textarea,body.woocommerce-checkout .select2-selection {
    background: #fff;
    border: 1px solid #cbd6cd;
    border-radius: 9px;
    color: #253d31;
    min-height: 46px;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .quantity input[type=button] {
    border-radius: 7px;
    background: #f4f6f2;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-button:hover,body.woocommerce-checkout #place_order:hover {
    background: #2f5947 !important;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .coupon input {
    border-radius: 8px !important;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .button {
    border-radius: 9px;
    min-height: 44px;
}

.g4buy-help {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    border: 1px solid #dbe5da;
    background: #eaf0e7;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 28px 0;
}

.g4buy-help strong {
    font-size: 18px;
}

.g4buy-help p {
    margin: 5px 0 0;
    color: #607064;
    font-size: 14px;
}

.g4buy-help a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.g4buy-bottom {
    border-top: 1px solid #dbe3dc;
    padding: 22px 0 30px;
    color: #627166;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
}

.g4buy-bottom nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.g4buy-bottom a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.g4buy-faq {
    margin: 25px 0;
}

.g4buy-faq details {
    border-bottom: 1px solid #dde5da;
    padding: 16px 0;
}

.g4buy-faq summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    color: #254333;
}

.g4buy-faq p {
    font-size: 14px;
    color: #5d6e62;
    margin: 12px 0 0;
    max-width: 760px;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .cart-empty {
    font-size: 28px !important;
    color: #1b3d32;
}

.g4buy-back {
    margin: 20px 0;
    font-size: 14px;
}

.g4buy-back a {
    text-decoration: underline;
}

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

body.woocommerce-checkout .col2-set,body.woocommerce-checkout .checkout-order-review {
    background: #fff;
    border: 1px solid #dfe5df;
    border-radius: 20px;
    padding: 28px;
}

body.woocommerce-checkout #order_review {
    background: #fff;
    border-radius: 16px;
}

body.woocommerce-checkout h3 {
    font-size: 22px;
    letter-spacing: -.4px;
    text-transform: none;
    color: #20392f;
}

body.woocommerce-checkout label {
    font-size: 14px;
    color: #334b3b;
}

body.woocommerce-checkout #place_order {
    background: #1b3d32 !important;
    color: #fff !important;
    border-radius: 10px;
    min-height: 58px;
    font-size: 16px;
    font-weight: 700;
}

body.woocommerce-checkout .payment_box {
    background: #f0f4ed !important;
    color: #304a3a !important;
    border-radius: 10px;
}

body.woocommerce-checkout .order-total > td > strong > .amount {
    font-size: 26px;
    color: #1b3d32;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 13px;
    color: #5c6e61;
}

body.woocommerce-checkout a:focus-visible,body:is(.woocommerce-cart,.woocommerce-checkout) a:focus-visible,body.woocommerce-checkout input:focus-visible,body:is(.woocommerce-cart,.woocommerce-checkout) input:focus-visible {
    outline: 3px solid #76937b;
    outline-offset: 3px;
}

@media (min-width: 1025px) {
    body:is(.woocommerce-cart,.woocommerce-checkout) .cart-totals-inner {
        position: sticky;
        top: 55px;
    }

}

@media (max-width: 767px) {
    body:is(.woocommerce-cart,.woocommerce-checkout) main.container,body.woocommerce-checkout main.container {
        padding: 0 16px;
    }

    .g4buy-head {
        padding: 20px 0;
        gap: 12px;
        margin-bottom: 20px;
    }

    .g4buy-head img {
        width: 185px;
    }

    .g4buy-phone {
        font-size: 13px;
    }

    .g4buy-phone small {
        font-size: 10px;
    }

    .g4buy-steps {
        font-size: 11px;
        gap: 8px;
        justify-content: space-between;
    }

    .g4buy-steps li {
        gap: 5px;
    }

    .g4buy-intro p {
        font-size: 14px;
    }

    .g4buy-help {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 12px;
    }

    .g4buy-help a {
        white-space: normal;
    }

    .g4buy-bottom nav {
        margin-top: 15px;
        gap: 12px 18px;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form,body:is(.woocommerce-cart,.woocommerce-checkout) .cart-totals-inner {
        padding: 17px !important;
        border-radius: 15px;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .product-name a {
        font-size: 14px;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .product-thumbnail img {
        width: 76px;
        height: 76px;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .shop_table td {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    body.woocommerce-checkout .col2-set,body.woocommerce-checkout .checkout-order-review {
        padding: 18px;
        border-radius: 15px;
    }

    body.woocommerce-checkout .form-row-first,body.woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
    }

    .g4buy-bottom {
        display: block;
        padding-bottom: 30px;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .coupon {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .coupon input {
        width: 100% !important;
        min-width: 0;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .coupon button {
        width: 100%;
    }

}

@media (prefers-reduced-motion:no-preference) {
    body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-button,body.woocommerce-checkout #place_order {
        transition: background .2s,box-shadow .2s;
    }

}

body:is(.woocommerce-cart,.woocommerce-checkout) .wpml-ls-statics-footer,body.woocommerce-checkout .wpml-ls-statics-footer {
    display: none !important;
}

body.woocommerce-checkout #customer_details {
    background: #fff;
    border: 1px solid #dfe5df;
    border-radius: 20px;
    padding: 28px;
}

body.woocommerce-checkout .checkout-order-review .wd-table-wrapper {
    box-shadow: none;
    border: 0;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

body.woocommerce-checkout #billing_first_name_field,body.woocommerce-checkout #billing_last_name_field,body.woocommerce-checkout #billing_postcode_field,body.woocommerce-checkout #billing_city_field {
    width: calc(50% - 8px);
}

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

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

body.woocommerce-checkout .g4buy-legal {
    font-size: 13px;
    line-height: 1.7;
    padding: 14px 0;
    color: #5e7063;
}

body.woocommerce-checkout .g4buy-legal a {
    text-decoration: underline;
}

body.woocommerce-order-received .g4buy-intro,body.woocommerce-order-received .g4buy-steps,body.woocommerce-order-received .g4buy-trust,body.woocommerce-order-received .g4buy-legal {
    display: none;
}

@media (max-width: 767px) {
    body.woocommerce-checkout #customer_details {
        padding: 18px;
        border-radius: 15px;
    }

    body.woocommerce-checkout #billing_first_name_field,body.woocommerce-checkout #billing_last_name_field,body.woocommerce-checkout #billing_postcode_field,body.woocommerce-checkout #billing_city_field {
        width: 100%;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .cart_totals .cart-totals-inner {
        border-radius: 15px !important;
    }

}

body.woocommerce-checkout .checkout-order-review {
    background: #fff !important;
    border-radius: 20px !important;
    border: 1px solid #dfe5df !important;
    border-top: 4px solid #1b3d32 !important;
    padding: 28px !important;
    box-shadow: 0 8px 30px #193a2a04;
}

body.woocommerce-checkout .checkout-order-review:before,body.woocommerce-checkout .checkout-order-review:after {
    display: none !important;
}

body.woocommerce-checkout .checkout-order-review h3 {
    text-transform: none !important;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .cart_totals .cart-totals-inner {
    overflow: hidden;
    background: #fff !important;
    border-radius: 20px !important;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-button {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px !important;
    background: #1b3d32 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700;
    box-shadow: 0 5px 14px #1b3d3215;
    text-transform: none !important;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .wc-empty-cart-message {
    font-weight: 700;
}

body:is(.woocommerce-cart,.woocommerce-checkout) .cart-content-wrapper {
    gap: 28px;
}

.g4buy-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #68756d;
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    body.woocommerce-checkout .checkout-order-review {
        padding: 18px !important;
        border-radius: 15px !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form tr.cart_item {
        display: grid !important;
        grid-template-columns: 64px minmax(0,1fr);
        gap: 10px 14px;
        position: relative;
        padding: 18px 0 !important;
        border-bottom: 1px solid #e4eae1;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form tr.cart_item>td,body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form tr.cart_item>th {
        padding: 0 !important;
        border: 0 !important;
        margin: 0 !important;
        width: auto !important;
        min-height: 0;
        text-align: left !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-thumbnail {
        grid-column: 1;
        grid-row: 1/4;
        display: block !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-thumbnail img {
        width: 64px;
        height: 74px;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-name {
        grid-column: 2;
        grid-row: 1;
        display: block !important;
        padding-right: 22px !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-price {
        display: none !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-quantity {
        grid-column: 2;
        grid-row: 2;
        display: block !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-quantity:before {
        display: none !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-subtotal {
        grid-column: 2;
        grid-row: 3;
        display: block !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-subtotal:before {
        content: 'Skupaj za izdelek';
        display: block !important;
        font-size: 11px;
        font-weight: 400;
        color: #647365;
        margin: 0 0 3px !important;
        float: none !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-remove {
        position: absolute !important;
        right: 0;
        top: 18px;
        display: block !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-remove:before,body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-name:before {
        display: none !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-name a {
        font-size: 14px;
        line-height: 1.35;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form .product-subtotal .amount {
        font-size: 17px;
    }

    .g4buy-trust {
        gap: 8px 16px;
        font-size: 12px;
        margin-bottom: 18px;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form tr.cart_item .product-thumbnail {
        position: static !important;
        width: 64px !important;
        min-width: 0 !important;
        max-width: 64px !important;
        overflow: visible !important;
        transform: none !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form tr.cart_item .product-thumbnail a {
        width: 64px !important;
        max-width: 64px !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form tr.cart_item .product-name {
        min-width: 0 !important;
        padding-right: 26px !important;
        box-sizing: border-box !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form tr.cart_item .product-name a {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        line-height: 1.4 !important;
    }

    body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-cart-form tr.cart_item .product-remove {
        top: 12px !important;
        right: 0 !important;
    }

}

.g4one-grid {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
    gap: 22px 28px;
    align-items: start;
}

.g4one-cart,.g4one-checkout,.g4one-cart>.woocommerce,.g4one-checkout>.woocommerce,.g4one-cart .cart-content-wrapper,.g4one-checkout form.checkout {
    display: contents !important;
}

.g4one-grid .woocommerce-notices-wrapper,.g4one-grid .woocommerce-form-login-toggle,.g4one-grid .woocommerce-form-coupon-toggle,.g4one-grid form.checkout_coupon,.g4one-grid form.login {
    grid-column: 1/-1;
}

.g4one-grid .woocommerce-notices-wrapper:empty {
    display: none;
}

.g4one-cart form.woocommerce-cart-form {
    grid-column: 2;
    grid-row: 2;
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
}

.g4one-cart form.woocommerce-cart-form:before {
    content: 'Vaša izbira';
    display: block;
    font-size: 21px;
    font-weight: 700;
    color: #20392f;
    margin-bottom: 15px;
}

.g4one-cart .cart_totals,.g4one-cart .cross-sells,.g4one-cart .coupon,.g4one-cart .checkout-button {
    display: none !important;
}

.g4one-cart td.actions {
    padding: 12px 0 0 !important;
}

.g4one-cart [name=update_cart] {
    float: none !important;
    width: 100%;
    font-size: 12px;
    text-transform: none;
}

.g4one-grid .checkout-order-review .woocommerce-checkout-review-order-table thead,.g4one-grid .checkout-order-review .woocommerce-checkout-review-order-table tbody {
    display: none !important;
}

.g4one-grid .checkout-order-review h3 {
    margin-bottom: 15px;
}

.g4one-cart .shop_table {
    margin: 0 !important;
    width: 100% !important;
}

.g4one-cart thead {
    display: none;
}

.g4one-cart tr.cart_item {
    position: relative;
    display: grid !important;
    grid-template-columns: 72px minmax(0,1fr) auto;
    gap: 12px 14px;
    padding: 15px 0 !important;
    border-bottom: 1px solid #e3e9df;
}

.g4one-cart tr.cart_item>td,.g4one-cart tr.cart_item>th {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    width: auto !important;
    min-width: 0;
    text-align: left !important;
}

.g4one-cart tr.cart_item .product-thumbnail {
    position: static !important;
    grid-column: 1;
    grid-row: 1/3;
    display: block !important;
    width: 72px !important;
    max-width: 72px !important;
    overflow: visible !important;
}

.g4one-cart tr.cart_item .product-thumbnail img {
    width: 72px;
    height: 78px;
    object-fit: contain;
}

.g4one-cart tr.cart_item .product-thumbnail a {
    width: 72px !important;
    max-width: 72px !important;
    display: block;
}

.g4one-cart tr.cart_item .product-name {
    grid-column: 2;
    grid-row: 1;
    padding-right: 8px !important;
    display: block !important;
    box-sizing: border-box;
}

.g4one-cart tr.cart_item .product-name a {
    font-size: 14px;
    line-height: 1.4;
    display: block !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.g4one-cart tr.cart_item .product-price {
    display: none !important;
}

.g4one-cart tr.cart_item .product-quantity {
    grid-column: 2;
    grid-row: 2;
    display: block !important;
}

.g4one-cart tr.cart_item .product-subtotal {
    grid-column: 3;
    grid-row: 2;
    display: block !important;
    align-self: center;
    white-space: nowrap;
}

.g4one-cart tr.cart_item .product-remove {
    grid-column: 3;
    grid-row: 1;
    position: static !important;
    justify-self: end;
    display: block !important;
}

.g4one-cart tr.cart_item>td:before,.g4one-cart tr.cart_item>th:before {
    display: none !important;
}

.g4one-cart .quantity input {
    min-height: 42px !important;
    height: 42px !important;
}

.g4one-grid .cart-empty,.g4one-grid .wd-empty-page-text,.g4one-grid .return-to-shop {
    grid-column: 1/-1;
}

.g4one-grid:has(.wc-empty-cart-message) {
    display: block;
}

.g4one-grid:has(.wc-empty-cart-message) .g4one-checkout {
    display: none !important;
}

.g4one-grid .woocommerce-error {
    grid-column: 1/-1;
}

.g4one-intro-note {
    font-size: 12px;
    color: #65766b;
}

.g4one-grid #customer_details h3 {
    margin-bottom: 22px;
}

.woocommerce-order-received .g4one-cart {
    display: none !important;
}

.woocommerce-order-received .g4one-grid,.woocommerce-order-received .g4one-checkout,.woocommerce-order-received .g4one-checkout>.woocommerce {
    display: block !important;
}

.woocommerce-order-received .g4buy-intro,.woocommerce-order-received .g4buy-trust {
    display: none !important;
}

@media (max-width: 767px) {
    .g4one-grid {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .g4one-grid #customer_details,.g4one-cart form.woocommerce-cart-form,.g4one-grid .checkout-order-review,.g4one-grid .woocommerce-form-coupon-toggle,.g4one-grid form.checkout_coupon,.g4one-grid form.login {
        width: 100% !important;
        box-sizing: border-box;
    }

    .g4one-cart form.woocommerce-cart-form {
        order: 1;
    }

    .g4one-grid .woocommerce-notices-wrapper {
        order: 0;
        width: 100%;
    }

    .g4one-cart tr.cart_item {
        grid-template-columns: 60px minmax(0,1fr) !important;
        gap: 10px 12px !important;
    }

    .g4one-cart tr.cart_item .product-thumbnail {
        width: 60px !important;
        max-width: 60px !important;
        grid-row: 1/4 !important;
    }

    .g4one-cart tr.cart_item .product-thumbnail a {
        width: 60px !important;
        max-width: 60px !important;
    }

    .g4one-cart tr.cart_item .product-thumbnail img {
        width: 60px !important;
        height: 70px !important;
    }

    .g4one-cart tr.cart_item .product-name {
        grid-column: 2;
        grid-row: 1;
        padding-right: 24px !important;
    }

    .g4one-cart tr.cart_item .product-quantity {
        grid-column: 2;
        grid-row: 2;
    }

    .g4one-cart tr.cart_item .product-subtotal {
        grid-column: 2 !important;
        grid-row: 3 !important;
        white-space: normal !important;
    }

    .g4one-cart tr.cart_item .product-remove {
        position: absolute !important;
        right: 0 !important;
        top: 10px !important;
    }

    .g4one-grid:has(.wc-empty-cart-message) {
        display: block !important;
    }

    .g4one-grid .woocommerce-checkout-review-order-table {
        font-size: 13px;
    }

    .g4one-grid .g4one-cart .product-subtotal:before {
        display: none !important;
    }

    .g4buy-intro h1 {
        margin-top: 12px;
        font-size: 29px;
    }

}

.g4one-grid #customer_details,.g4one-grid .checkout-order-review {
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
}

.g4one-grid #customer_details {
    grid-column: 1;
    grid-row: 2/5;
    margin: 0 !important;
    width: 100% !important;
}

.g4one-grid .checkout-order-review {
    grid-column: 2;
    grid-row: 3;
    margin: 0 !important;
    min-width: 0;
    width: 100% !important;
}

.g4one-grid .woocommerce-cart-form {
    box-sizing: border-box !important;
}

.g4one-grid .woocommerce-shipping-calculator {
    display: none !important;
}

body.woocommerce-js .g4one-cart td.actions {
    display: none !important;
}

body.woocommerce-js .g4one-cart form.woocommerce-cart-form:after {
    content: 'Količine se posodobijo samodejno.';
    display: block;
    color: #65766b;
    font-size: 12px;
    margin-top: 14px;
}

@media (max-width: 767px) {
    .g4one-grid .g4one-cart form.woocommerce-cart-form {
        order: 1 !important;
    }

    .g4one-grid #customer_details {
        order: 2 !important;
    }

    .g4one-grid .checkout-order-review {
        order: 3 !important;
    }

}

.g4one-grid .woocommerce-form-coupon-toggle {
    margin-bottom: 0 !important;
    grid-column: 2;
    grid-row: 4;
    align-self: start;
    margin: 0 !important;
    padding: 0 4px !important;
}

.g4one-grid .woocommerce-form-coupon-toggle .woocommerce-info {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #657168 !important;
    min-height: 0 !important;
}

.g4one-grid .woocommerce-form-coupon-toggle .woocommerce-info:before {
    display: none !important;
}

.g4one-grid .woocommerce-form-coupon-toggle a {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #52665a !important;
    text-underline-offset: 3px;
}

.g4one-grid .woocommerce-form-coupon-toggle a:hover {
    color: #1b3d32 !important;
}

.g4one-grid form.checkout_coupon {
    grid-column: 2;
    grid-row: 5;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid #dfe5df !important;
    border-radius: 12px;
    background: #fff;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 13px;
}

.g4one-grid form.checkout_coupon p {
    font-size: 13px;
}

.g4one-grid form.checkout_coupon .button {
    font-size: 12px;
    text-transform: none;
}

@media (max-width: 767px) {
    .g4one-grid .woocommerce-form-coupon-toggle {
        order: 4 !important;
    }

    .g4one-grid form.checkout_coupon {
        order: 5 !important;
    }

    .g4one-grid .woocommerce-form-coupon-toggle .woocommerce-info {
        font-size: 12px !important;
    }

    .g4one-grid .woocommerce-form-coupon-toggle a {
        font-size: 12px !important;
    }

}
