/* WooCommerce cart and checkout styles extracted from css/style.css */

label[for="payment_method_wc_gopay_gateway"] {
    margin-bottom: -0.5em;
}

.woocommerce #payment .payment_methods.methods label[for="payment_method_wc_gopay_gateway"] {
    font-weight: 600;
}

#add_payment_method #payment ul.payment_methods li img,
.woocommerce-cart #payment ul.payment_methods li img,
.woocommerce-checkout #payment ul.payment_methods li img {
    max-width: 4em !important;
    height: 100% !important;
}

.payment_method_wc_gopay_gateway img:first-child {
    display: none !important;
}

#coupon_code {
    margin-top: 0.5em;
    padding-left: 1em;
}

.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce form .form-row {
    display: block;
}

.packeta-selector-open {
    font-weight: 600 !important;
}

#wedoPoint {
    font-weight: 600 !important;
}

.woocommerce-billing-fields .form-row-first,
.woocommerce-billing-fields .form-row-last {
    float: left;
    width: 50%;
}

#shipping_address_1_field {
    float: left;
    width: 50%;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    padding: 1.5em !important;
}

.evening_delivery {
    margin-top: 0.4em !important;
    margin-left: 1em !important;
}

.tdpd-label-img {
    margin-right: 8px;
    vertical-align: middle;
}

.woocommerce-cart-form .shop_table {
    /* Desktop table visible by default; hidden on mobile below */
}

@media (max-width: 767px) {
    .woocommerce-cart-form .shop_table {
        display: none;
    }

    .woocommerce-cart-form .mobile-cart .fp_apply_reward {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }

    .woocommerce-cart-form .mobile-cart .fp_apply_reward label {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .woocommerce-cart-form .mobile-cart .fp_apply_reward input.input-text {
        font-size: 16px;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .woocommerce-cart-form .mobile-cart .fp_apply_reward input.button {
        font-size: 16px;
        padding: 10px;
        background-color: orange;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .woocommerce-cart-form .mobile-cart .fp_apply_reward input.button:hover {
        background-color: darkorange;
    }
}

@media (min-width: 768px) {
    .woocommerce-cart-form .mobile-cart {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        content: attr(data-title) !important;
        font-weight: 700;
        float: left;
    }
}

.woocommerce-cart-form .mobile-cart .cart-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.woocommerce-cart-form .mobile-cart .product-thumbnail {
    width: 100px;
    margin-right: 10px;
}

.woocommerce-cart-form .mobile-cart .product-remove {
    padding: 0.5em;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    right: 2em;
    top: 10px;
}

.woocommerce-cart-form .quantity-control {
    display: inline-flex;
    align-items: center;
    font-size: 0;
    gap: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.woocommerce-cart-form .quantity-control button {
    background-color: #efefef;
    border: none;
    color: #000;
    padding: 0 10px;
    cursor: pointer;
    margin-top: 0;
    border-radius: 0 6px 6px 0 !important;
    height: 32px !important;
    line-height: 32px;
}

.woocommerce-cart-form .quantity-control .quantity-minus button {
    border-radius: 6px 0 0 6px !important;
}

.woocommerce-cart-form .quantity-control .quantity-plus button {
    border-radius: 0 6px 6px 0 !important;
}

.woocommerce-cart-form .quantity-control input {
    border: none;
    text-align: center;
    height: 32px !important;
    width: 52px !important;
    font-size: 14px !important;
    margin: 0 4px;
    line-height: 32px;
}

.woocommerce-cart-form .quantity-control a {
    height: 32px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart-form .quantity-unit-label {
    margin-left: 6px;
    font-size: 12px;
    color: #3d182c;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 32px;
    line-height: 32px;
}

/* Cross-sell cards – reuse raw-store look on cart */
.cart-cross-sell-title {
    font-weight: 700;
    color: #3d182c;
    margin-top: 1em;
    margin-bottom: 0.85em;
}

@media (max-width: 767px) {
    .cart-cross-sell-title {
        font-size: 1.05em;
        line-height: 1.25;
        text-align: center;
        text-transform: uppercase;
    }
}

.woocommerce-cart .small-product {
    margin-bottom: 1.4em;
}

.woocommerce-cart .small-product .product-small {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(41, 37, 40, 0.12);
    padding: 0.8em;
    height: 100%;
}

.woocommerce-cart .product-small .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.woocommerce-cart .product-small .product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.woocommerce-cart .product-small .product-image:hover img {
    transform: scale(1.05);
}

.woocommerce-cart .product-small .product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 165, 3, 0.69);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woocommerce-cart .product-small .product-image:hover .product-image-overlay {
    opacity: 1;
}

.woocommerce-cart .product-small .product-title {
    margin: 0.6em 0 0.4em;
    color: #3d182c;
    font-size: 1.05em;
    line-height: 1.3;
}

.woocommerce-cart .custom-rating .orange-star,
.woocommerce-cart .custom-rating .gray-star {
    font-size: 0.85em;
}

.woocommerce-cart .rating-average {
    color: #f99e22;
    font-size: 0.75em;
    font-weight: 700;
    margin-left: 0.4em;
}

.woocommerce-cart .rating-count {
    color: #7a6a73;
    font-size: 0.72em;
    margin-left: 0.4em;
}

.woocommerce-cart .product-small .product-price {
    font-weight: 800;
    color: #3d182c;
}

.woocommerce-cart .product-small .raw-store-stock-note {
    color: #c0392b;
    font-weight: 700;
}

.woocommerce-cart .product-small .add-to-cart-custom {
    font-size: 0.95em !important;
    padding: 0.55em 1.1em !important;
}

@media (max-width: 767.98px) {
    .woocommerce-cart .product-small {
        padding: 0.7em;
    }

    .woocommerce-cart .product-small .product-title {
        font-size: 0.95em;
    }

    .woocommerce-cart .product-small .add-to-cart-custom {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .woocommerce-cart-form .quantity-control {
        gap: 0;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .woocommerce-cart-form .quantity-control button {
        padding: 0 7px;
        min-width: 28px;
        height: 28px !important;
        line-height: 28px;
        font-size: 13px !important;
    }

    .woocommerce-cart-form .quantity-control input {
        width: 40px !important;
        height: 28px !important;
        margin: 0 1px;
        line-height: 28px;
        font-size: 13px !important;
    }

    .woocommerce-cart-form .quantity-control a {
        height: 28px !important;
    }

    .woocommerce-cart-form .quantity-unit-label {
        display: none;
    }

    /* Specificky pro mobilní variantu košíku */
    .woocommerce-cart-form .mobile-cart .quantity-control button {
        min-width: 28px;
    }

    .woocommerce-cart-form .mobile-cart .quantity-control input {
        width: 40px !important;
        min-width: 40px !important;
        height: 28px !important;
        margin: 0 1px;
    }

    .woocommerce-cart-form .mobile-cart .quantity-control a {
        height: 28px !important;
    }

    .woocommerce-cart-form .mobile-cart .quantity-unit-label {
        height: 28px;
        line-height: 28px;
        margin-left: 4px;
    }
}

.woocommerce-cart-form .product-image {
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-radius: 8px !important;
}

.woocommerce-cart-form .product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.woocommerce-cart-form .product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 165, 3, 0.69);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
}

.woocommerce-cart-form .product-image:hover .product-image-overlay {
    opacity: 1;
}

.woocommerce-cart-form .product-image:hover img {
    transform: scale(1.02);
}

.woocommerce-cart-form .product-details {
    text-align: center;
    padding: 15px 0;
}

.woocommerce-cart-form .product-title {
    font-size: 0.85em;
    margin-bottom: 5px;
    text-align: left;
    font-weight: 600;
}

.woocommerce-cart-form .product-price {
    font-weight: 800 !important;
    margin-bottom: 15px;
    font-size: 0.9em !important;
}

.woocommerce-cart-form .product-price.product-price-big {
    font-size: 1.1em !important;
}

.woocommerce-cart-form .add-to-cart-custom {
    font-size: 0.6em !important;
    color: orange !important;
    margin: 0 !important;
    text-align: right !important;
    font-weight: 400 !important;
}

.woocommerce-cart .container-fluid {
    padding-top: 5.5em;
}

.woocommerce-cart .woocommerce-Price-amount {
    font-weight: 800 !important;
}

.woocommerce-cart-form .quantity {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

.woocommerce-cart-form .quantity::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#wedoModal a {
    margin-top: 6em !important;
    cursor: pointer;
}

#wedoModal .pac-target-input {
    margin-top: 2em !important;
}

#wedoModal .intime-widget-inline {
    background-color: white;
}

#shipping_method br {
    display: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals th {
    display: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .rawbark-points th {
    display: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .rawbark-points td {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td,
    .woocommerce-checkout .woocommerce-checkout-review-order-table .rawbark-points td {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }

    .woocommerce-checkout .woocommerce-shipping-methods li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

    .woocommerce-checkout .woocommerce-shipping-methods input[type="radio"] {
        margin-top: 0;
    }

    .woocommerce-checkout .woocommerce-shipping-methods label {
        display: flex;
        flex: 1;
        align-items: center;
        gap: 12px;
        line-height: 1.25;
        flex-wrap: wrap;
    }

    .woocommerce-checkout .woocommerce-shipping-methods label img {
        max-width: 48px;
        max-height: 24px;
        height: auto;
        flex-shrink: 0;
        align-self: center;
        display: inline-block;
        margin-top: 0;
        vertical-align: middle;
    }

    .woocommerce-checkout .woocommerce-shipping-methods .tdpd-label-img,
    .woocommerce-checkout .woocommerce-shipping-methods .tppl-label-img {
        width: auto !important;
        height: auto;
        max-height: 24px;
        max-width: 48px;
        object-fit: contain;
    }

    .woocommerce-checkout .woocommerce-shipping-methods .woocommerce-Price-amount {
        white-space: nowrap;
        font-weight: 800;
    }

    .woocommerce-checkout .woocommerce-shipping-methods .tax_label {
        margin-left: 4px;
    }
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    max-width: unset;
}

.select2-container--default .select2-selection--single {
    border: 0px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    margin-bottom: 1em;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#billing_country_field {
    margin-bottom: 1.5em;
}

.woocommerce-Input {
    padding: 0.375rem 0.75rem;
}

.woocommerce-shipping-methods img {
    max-width: 1.4em;
    margin-right: 0.3em;
}

#billing_country,
#shipping_country,
#phone_prefix {
    font-size: 16px !important;
    line-height: 1 !important;
    height: auto !important;
    min-height: 25px !important;
    padding: 1em !important;
    border: 1px solid #80808069 !important;
    background-color: var(--wc-form-color-background, #fff) !important;
    border-radius: 8px !important;
    color: var(--wc-form-color-text, #000);
}

.packetery-widget-button-logo {
    display: none;
}

.woocommerce [packetery-renderer="after-rate"] .packetery-widget-button-row {
    width: 100%;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #bb1e06;
    color: #fff;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: #f59e05 !important;
    color: #fff;
}

.coupon {
    display: none;
}

#order_comments {
    border: 1px solid #80808087 !important;
}

#place_order {
    background: #ee9624 !important;
    font-weight: 600 !important;
}

#place_order:hover {
    background: orange !important;
    font-weight: 600 !important;
}

button[name="apply_coupon"] {
    font-size: 0.9em !important;
}

#iHaveCoupon {
    float: left;
    font-weight: 600;
    text-decoration: underline;
    color: #3d182c;
    cursor: pointer;
    margin-top: 1em;
    margin-bottom: 1em;
}

@media only screen and (max-width: 768px) {
    .woocommerce #content table.cart td.actions .coupon .button,
    .woocommerce #content table.cart td.actions .coupon .input-text,
    .woocommerce #content table.cart td.actions .coupon input,
    .woocommerce table.cart td.actions .coupon .button,
    .woocommerce table.cart td.actions .coupon .input-text,
    .woocommerce table.cart td.actions .coupon input,
    .woocommerce-page #content table.cart td.actions .coupon .button,
    .woocommerce-page #content table.cart td.actions .coupon .input-text,
    .woocommerce-page #content table.cart td.actions .coupon input,
    .woocommerce-page table.cart td.actions .coupon .button,
    .woocommerce-page table.cart td.actions .coupon .input-text,
    .woocommerce-page table.cart td.actions .coupon input {
        width: 46%;
        box-sizing: border-box;
    }
    #tppl-open-popup-widget {
        font-size: 0.8em !important;
    }
}

@media (max-width: 767.98px) {
    #ppl-parcelshop-map .control-panel:not(.control-panel--open,
    .control-panel--filter-open) .control-panel__scroll-panel-wrapper {
        height: 100% !important;
    }
    #ppl-parcelshop-map .control-panel__content {
        HEIGHT: 20EM !important;
    }
}

@media (max-width: 767.98px) {
    #ppl-parcelshop-map .control-panel:not(.control-panel--open,
    .control-panel--filter-open) .control-panel__content-wrapper {
        height: 100% !important;
    }
}

@media (max-width: 991.98px) {
    #ppl-parcelshop-map .control-panel__body {
        margin-bottom: 6em !important;
    }
    #ppl-parcelshop-map .control-panel__controls-wrapper {
        position: relative !important;
    }
}

.woocommerce #content table.cart td.actions .input-text,
.woocommerce table.cart td.actions .input-text,
.woocommerce-page #content table.cart td.actions .input-text,
.woocommerce-page table.cart td.actions .input-text {
    width: 150px;
}

.woocommerce-cart-form__cart-item.cart_item img {
    width: 3em !important;
    height: 3em !important;
}

.product-remove a.remove {
    color: #ffbe3e !important;
}

.woocommerce a.remove:hover {
    background: #ffbe3e !important;
}

#order_review {
    width: 99.5%;
    padding: 1em;
}

#order_review_heading {
    margin-left: 0.7em;
}

.woocommerce-checkout .entry-title,
.woocommerce-cart .entry-title {
    display: none;
}

#ship-to-different-address {
    margin-left: 0.15em;
}

#ship-to-different-address span {
    font-size: 0.6em !important;
}

.woocommerce div.product form.cart {
    margin-bottom: 1em !important;
}

.wc-bacs-bank-details-heading {
    display: none;
}

/* Order received (thank you) */
.woocommerce-order-received .woocommerce-order {
    max-width: 980px;
    margin: 1.75em auto 2.5em;
    padding: 1.25em;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(61, 24, 44, 0.12);
    border: 1px solid rgba(61, 24, 44, 0.08);
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-size: 1.35em;
    font-weight: 800;
    border: 0;
    margin: 0 0 0.95em;
    padding: 0;
    text-align: left;
    color: #3d182c;
}

.woocommerce-order-received .woocommerce-order > .woocommerce-notice,
.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-received {
    display: block;
    border-radius: 14px;
    padding: 0.85em 1em;
    background: #fbfafb;
    border: 1px solid rgba(61, 24, 44, 0.1);
    border-left: 6px solid #ee9623;
    box-shadow: 0 10px 22px rgba(61, 24, 44, 0.08);
}

.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    margin: 1em 0 1.25em;
    padding: 0;
    text-align: left;
}

.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
    flex: 1 1 220px;
    margin: 0;
    padding: 0.85em 1em;
    background: #ffffff;
    border: 1px solid rgba(61, 24, 44, 0.08);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(61, 24, 44, 0.06);
    color: #7d6170;
    font-weight: 700;
    text-transform: none;
}

.woocommerce-order-received .woocommerce-order-overview strong {
    display: inline-block;
    margin-left: 0.35em;
    color: #3d182c;
    font-weight: 900;
}

.woocommerce-order-received .rawbark-thankyou-payment-summary,
.woocommerce-order-received .woocommerce-bacs-bank-details,
.woocommerce-order-received .wpify-woo-qr-payment,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .wpify-woo-fakturoid {
    margin-top: 1.2em;
    background: #ffffff;
    border: 1px solid rgba(61, 24, 44, 0.08);
    border-radius: 16px;
    padding: 1em;
    box-shadow: 0 10px 22px rgba(61, 24, 44, 0.06);
}

.woocommerce-order-received .wc-bacs-bank-details.order_details.bacs_details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35em 0.85em;
    margin: 0.5em 0 0;
    padding: 0;
    text-align: left;
}

.woocommerce-order-received .wc-bacs-bank-details.order_details.bacs_details li {
    margin: 0;
    padding: 0.25em 0;
}

.woocommerce-order-received .wpify-woo-qr-payment {
    text-align: center;
}

.woocommerce-order-received .wpify-woo-qr-payment_title-before {
    padding: 0 0 0.75em;
}

.woocommerce-order-received .wpify-woo-qr-payment_title-before p {
    margin: 0.35em 0;
    font-size: 0.95em;
    font-weight: 700;
    color: #3d182c;
}

.woocommerce-order-received .wpify-woo-qr-payment_code {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
}

.woocommerce-order-received .wpify-woo-qr-payment_code img {
    display: block;
    margin: 0.5em auto 0;
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(61, 24, 44, 0.12);
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .rawbark-thankyou-payment-summary__title,
.woocommerce-order-received .wpify-woo-fakturoid h2 {
    font-size: 1.15em;
    font-weight: 900;
    color: #3d182c;
    margin: 0 0 0.75em;
}

.woocommerce-order-received .rawbark-thankyou-payment-summary__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35em 0.85em;
}

.woocommerce-order-received .rawbark-thankyou-payment-summary__list li {
    margin: 0;
    padding: 0.25em 0;
    color: #3d182c;
    font-weight: 700;
}

.woocommerce-order-received .rawbark-thankyou-payment-summary__list li span {
    color: #7d6170;
    font-weight: 700;
    margin-right: 0.35em;
}

.woocommerce-order-received .rawbark-thankyou-payment-summary__list li strong {
    font-weight: 900;
    color: #3d182c;
}

.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(61, 24, 44, 0.08);
    margin: 0;
}

.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details thead th {
    background: #fbfafb;
    color: #3d182c;
    font-weight: 900;
    border: 0;
}

.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details td,
.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details th {
    padding: 0.85em 1em;
    border-color: rgba(61, 24, 44, 0.08);
}

.woocommerce-order-received .order-actions-button,
.woocommerce-order-received .wpify-woo-fakturoid__invoice-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55em 1em;
    border-radius: 999px;
    border: 2px solid #ee9623;
    color: #3d182c;
    font-weight: 900;
    text-decoration: none;
    background: transparent;
}

.woocommerce-order-received .order-actions-button:hover,
.woocommerce-order-received .wpify-woo-fakturoid__invoice-link:hover {
    background: #ffbe3e;
    border-color: #ffbe3e;
    text-decoration: none;
}

.woocommerce-order-received .woocommerce-columns--addresses {
    display: flex;
    gap: 1em;
}

.woocommerce-order-received .woocommerce-columns--addresses.col2-set .col-1,
.woocommerce-order-received .woocommerce-columns--addresses.col2-set .col-2 {
    float: none;
    width: auto;
    margin: 0;
}

.woocommerce-order-received .woocommerce-column--billing-address,
.woocommerce-order-received .woocommerce-column--shipping-address {
    flex: 1 1 0;
    background: #fbfafb;
    border: 1px solid rgba(61, 24, 44, 0.08);
    border-radius: 14px;
    padding: 1em;
}

.woocommerce-order-received .woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.45;
    margin: 0;
    color: #3d182c;
    font-weight: 600;
}

.woocommerce-order-received .woocommerce-customer-details--phone,
.woocommerce-order-received .woocommerce-customer-details--email {
    margin: 0.35em 0 0;
    color: #7d6170;
    font-weight: 700;
}

.woocommerce-order-received .wc-bacs-bank-details.order_details.bacs_details li.bank_name,
.woocommerce-order-received .wc-bacs-bank-details.order_details.bacs_details li.iban,
.woocommerce-order-received .wc-bacs-bank-details.order_details.bacs_details li.bic {
    display: list-item;
}

@media (max-width: 767.98px) {
    .woocommerce-order-received .woocommerce-order {
        margin: 1.25em 0.75em 2em;
        padding: 1em;
        border-radius: 14px;
    }

    .woocommerce-order-received .woocommerce-order > .woocommerce-notice,
    .woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-received {
        padding: 0.75em 0.85em;
        font-size: 1.02em;
    }

    .woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
        flex-basis: 100%;
        padding: 0.75em 0.85em;
        font-size: 0.92em;
    }

    .woocommerce-order-received .wc-bacs-bank-details.order_details.bacs_details {
        grid-template-columns: 1fr;
    }

    .woocommerce-order-received .rawbark-thankyou-payment-summary__list {
        grid-template-columns: 1fr;
    }

    .woocommerce-order-received .woocommerce-columns--addresses {
        display: block;
    }

    .woocommerce-order-received .woocommerce-columns--addresses.col2-set .col-1,
    .woocommerce-order-received .woocommerce-columns--addresses.col2-set .col-2 {
        width: 100%;
        max-width: 100%;
    }

    .woocommerce-order-received .woocommerce-column--billing-address,
    .woocommerce-order-received .woocommerce-column--shipping-address {
        width: 100%;
    }

    .woocommerce-order-received .woocommerce-column--billing-address {
        margin-bottom: 0.9em;
    }

    .woocommerce-order-received .woocommerce-table.woocommerce-table--order-details {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .woocommerce-order-received .woocommerce-table.woocommerce-table--order-details td,
    .woocommerce-order-received .woocommerce-table.woocommerce-table--order-details th {
        padding: 0.7em 0.8em;
        font-size: 0.92em;
    }
}

.woocommerce-thankyou-order-received {
    font-size: 2em;
    font-weight: 600;
    border-bottom: 1px solid #9e9e9e2e;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    text-align: center;
}

.wpify-woo-qr-payment {
    text-align: center;
    margin-bottom: 2em;
}

.wpify-woo-qr-payment img {
    max-width: 10em;
}

.wc-bacs-bank-details-account-name {
    display: none;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    text-align: center;
    display: table;
    text-align: left;
    margin: 0 auto;
}

.wc-bacs-bank-details.order_details.bacs_details {
    text-align: center;
    display: table;
    margin-top: 1em !important;
    margin-bottom: 1em !important;
    margin: 0 auto;
    text-align: left;
}

.wc-bacs-bank-details.order_details.bacs_details li,
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
    margin-top: 0.5em;
}

.woocommerce-order-details__title {
    font-size: 1.5em;
    font-weight: 600;
}

.woocommerce-message a {
    margin-left: 0.5em;
}

@media (max-width: 680px) {
    .woocommerce-message a {
        margin-left: 0 !important;
    }
}

.woocommerce-notices-wrapper:after {
    clear: initial !important;
}

#srp_birthday_date {
    display: none;
}

#order_review .woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    padding: 1em 2em 1.35em 3.5em !important;
    margin-top: 0em !important;
}

.woocommerce-error,
.woocommerce-message .button {
    top: 0em;
}

.woocommerce-info.rs_checkout_message,
.woocommerce-error {
    position: relative !important;
}

button[name="apply_coupon"] {
    font-size: 0.9em !important;
}

.checkout-button:hover,
.wc-forward {
    background-color: orange !important;
}

.woocommerce-order-overview__date.date,
.woocommerce-order-overview__email.email,
.bank_name,
.iban,
.bic {
    display: none;
}

.wpify-woo-qr-payment_title-before p:first-child {
    margin-bottom: 0em !important;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .reo-dog {
    display: none;
}

.wpify-woo-qr-payment_title-before {
    padding: 1.5em;
}

.wc-item-meta {
    padding-left: 0 !important;
}

.fp_apply_reward label {
    font-size: 1.1em;
    font-weight: 600;
    color: #3d182c;
}

.checkout_redeeming {
    background: #f7f6f7;
    margin-top: -1em;
    padding-left: 1.3em;
}

.rs_cart_message,
.rs_checkout_message,
.sumo_available_points.rs_checkout_messages,
.woocommerce-info,
.checkoutredeem {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

.woocommerce-info.sumo_available_points.rs_checkout_messages {
    margin-bottom: 1em;
}

.woocommerce-info.sumo_reward_points_complete_message.rs_cart_message {
    position: relative !important;
}

.woocommerce-cart-form .progress {
    height: 0.8em;
}

.woocommerce-cart-form .progress-bar {
    height: 1.4em;
    background-color: #fcaa2c;
}

.woocommerce-billing-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
}

.form-row {
    flex: 1 0 100% !important;
}

#billing_address_1_field,
#billing_address_1_number_field {
    flex: 1 0 48% !important;
    box-sizing: border-box !important;
}

#billing_address_1_field {
    margin-right: 2% !important;
}

.freeshipping-cart {
    text-align: center;
    TEXT-TRANSFORM: UPPERCASE;
    margin-top: 1em;
    font-size: 0.82em;
}

/* Add-to-cart modal upsell */
#addedToCartModal .modal-dialog {
    max-width: 760px;
}

#addedToCartModal .modal-content {
    border-radius: 12px;
}

#addedToCartModal .modal-header {
    align-items: center;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #efe7eb;
}

#addedToCartModal .modal-title {
    font-weight: 800;
    color: #3d182c;
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 0 0 0.15rem 0;
}

#addedToCartModal .close {
    opacity: 1;
    color: #3d182c;
    text-shadow: none;
}

#addedToCartModal .close:hover,
#addedToCartModal .close:focus {
    color: #ee9623;
    outline: 0;
}

#addedToCartModal .added-product-info {
    margin-bottom: 0.75em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-align: left !important;
    background: #ffffff;
    border: 1px solid #e6e0e4;
    border-radius: 14px;
    padding: 0.6em 0.7em;
    box-shadow: 0 10px 22px rgba(61, 24, 44, 0.1);
}

#addedToCartModal .added-product-image {
    width: 64px;
    height: 64px;
    max-width: none;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

#addedToCartModal .added-product-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left !important;
}

#addedToCartModal .added-product-actions {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    align-items: center;
}

#addedToCartModal .added-product-cart-btn {
    padding: 0.45em 0.9em !important;
    font-size: 0.82em !important;
    border-radius: 999px !important;
    white-space: nowrap;
}

#addedToCartModal .added-product-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05em;
    font-weight: 800;
    line-height: 1;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    color: #3d182c;
    opacity: 0.7;
}

#addedToCartModal .added-product-text h4 {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.2;
    font-weight: 800;
    color: #3d182c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#addedToCartModal .added-product-text p {
    margin: 0.2em 0 0;
    font-size: 0.85em;
    font-weight: 600;
    color: #7d6170;
}

#addedToCartModal .added-to-cart-modal-feedback {
    display: none;
    margin: 0.85em auto 0.75em;
    max-width: 520px;
    padding: 0.8em 0.95em;
    border-radius: 12px;
    border: 1px solid #e6e0e4;
    border-left: 5px solid #ee9623;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(61, 24, 44, 0.12);
    font-size: 0.9em;
    font-weight: 800;
    text-align: center;
    color: #3d182c;
}

#addedToCartModal .added-to-cart-modal-feedback.is-loading {
    display: block;
    opacity: 0.9;
}

#addedToCartModal .added-to-cart-modal-feedback.is-success {
    display: block;
    color: #247d3f;
    border-left-color: #247d3f;
}

#addedToCartModal .added-to-cart-modal-feedback.is-error {
    display: block;
    color: #7d1515;
    border-left-color: #7d1515;
}

#addedToCartModal .added-to-cart-upsell {
    margin-top: 1em;
    text-align: left;
}

#addedToCartModal .added-to-cart-upsell-title {
    font-weight: 700;
    color: #3d182c;
    margin: 0 0 0.65em 0;
}

#addedToCartModal .added-to-cart-upsell-row {
    display: flex;
    gap: 0.85em;
    overflow-x: auto;
    padding-bottom: 0.35em;
    -webkit-overflow-scrolling: touch;
}

#addedToCartModal .added-to-cart-upsell-item {
    flex: 0 0 220px;
}

#addedToCartModal .product-small {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(41, 37, 40, 0.12);
    padding: 0.8em;
    height: 100%;
}

#addedToCartModal .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    line-height: 0;
    width: 90%;
    margin: 0 auto;
}

#addedToCartModal .product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

#addedToCartModal .product-image:hover img {
    transform: scale(1.02);
}

#addedToCartModal .product-image-overlay {
    position: absolute;
    inset: 0;
    background: #ffa500b0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#addedToCartModal .product-image:hover .product-image-overlay {
    opacity: 1;
}

#addedToCartModal .product-image-overlay .fa-search {
    color: #fff;
    font-size: 1.8em;
}

#addedToCartModal .product-title {
    margin: 0.6em 0 0.55em;
    color: #3d182c;
    font-size: 0.95em;
    line-height: 1.25;
    font-weight: 600;
}

#addedToCartModal .added-to-cart-upsell-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75em;
}

#addedToCartModal .product-price {
    font-weight: 800;
    color: #3d182c;
    font-size: 0.85em;
    white-space: nowrap;
}

#addedToCartModal .added-to-cart-upsell-actions .button {
    margin: 0 !important;
    padding: 0.45em 0.95em !important;
    font-size: 0.85em !important;
    border-radius: 999px !important;
    border: 2px solid #ee9623 !important;
    background: transparent !important;
    color: #3d182c !important;
    font-family: "PROXIMANOVASOFT-BOLD" !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

#addedToCartModal .added-to-cart-upsell-actions .button:hover {
    border-color: #ffbe3e !important;
    background: #ffbe3e !important;
}

#addedToCartModal .added_to_cart.wc-forward,
#addedToCartModal a.added_to_cart.wc-forward {
    display: none !important;
}

@media (max-width: 767.98px) {
    #addedToCartModal .modal-dialog {
        margin: 0.75rem;
        max-width: none;
    }

    #addedToCartModal .modal-title {
        font-size: 0.92em;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 2.3em);
    }

    #addedToCartModal .added-to-cart-modal-feedback {
        margin-top: 0.6em;
        margin-bottom: 0.65em;
        padding: 0.7em 0.85em;
        font-size: 0.88em;
    }

    #addedToCartModal .added-product-image {
        width: 54px;
        height: 54px;
    }

    #addedToCartModal .added-product-info {
        padding: 0.5em 0.65em;
        gap: 0.5em;
    }

    #addedToCartModal .added-product-text h4 {
        font-size: 0.98em;
    }

    #addedToCartModal .added-product-text p {
        font-size: 0.82em;
    }

    #addedToCartModal .added-to-cart-upsell-title {
        text-align: center;
    }

    #addedToCartModal .added-to-cart-upsell-row {
        justify-content: flex-start;
    }

    #addedToCartModal .added-to-cart-upsell-item {
        flex-basis: 62vw;
        max-width: 62vw;
    }

    #addedToCartModal .product-small {
        padding: 0.65em;
    }

    #addedToCartModal .product-image {
        width: 76%;
    }

    #addedToCartModal .product-image img {
        width: auto;
        height: auto;
        max-height: 5em;
        display: block;
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

    #addedToCartModal .product-title {
        margin: 0.5em 0 0.45em;
        font-size: 0.9em;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #addedToCartModal .added-to-cart-upsell-actions {
        gap: 0.6em;
    }

    #addedToCartModal .product-image-overlay .fa-search {
        font-size: 1.45em;
    }

    #addedToCartModal .modal-footer {
        padding: 0.5rem;
        flex-direction: row; 
        flex-wrap: nowrap;
        gap: 5px;
        justify-content: space-between;
    }

    #addedToCartModal .modal-footer .btn {
        flex: 1; /* Equal width */
        padding: 0.5em 0.2em !important;
        font-size: 0.75em !important; /* Smaller font */
        margin: 0 !important;
        white-space: normal !important;
        line-height: 1.1 !important;
        height: auto !important;
        min-height: 3em;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #addedToCartModal .freeshipping-cart {
        font-size: 0.7em !important;
        margin-top: 0.5em !important;
        margin-bottom: 0.3em !important;
        line-height: 1.3;
        white-space: normal;
    }
}

.progress-div {
    padding: 1em;
    background: #fcfcfc;
    border: 1.8px solid #e4e4e4;
    border-radius: 8px;
    margin-bottom: 2em;
    font-size: 1.2em;
}

#addedToCartModal .progress-div {
    margin-bottom: 0em !important;
}

.checkout.woocommerce-checkout input[type=text],
.checkout.woocommerce-checkout input[type=number],
.checkout.woocommerce-checkout input[type=email],
.checkout.woocommerce-checkout input[type=tel],
.checkout.woocommerce-checkout input[type=date],
.checkout.woocommerce-checkout input[type=password] {
    background-image: none !important;
}

#rs_apply_coupon_code_field {
    padding-left: 1em;
}

.pagination.pagination-centered ul {
    margin: auto;
    padding-left: 0 !important;
}

#order_review > table > tfoot > tr.rawbark-points > td > div > div > button {
}

/* Rawbark Points Input Styles */
.rawbark-input-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    row-gap: 0.5rem;
}

.rawbark-input-section input[type="number"]#rawbark_points_input {
    width: 100px;
    height: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 1rem;
    text-align: center;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0;
    flex-shrink: 0;
    order: 1;
}

.rawbark-input-section input[type="number"]#rawbark_points_input:focus {
    outline: none;
    border-color: #ee9623;
    box-shadow: 0 0 0 3px rgba(238, 150, 35, 0.1);
}

.rawbark-input-section .button.update-points {
    width: 120px;
    height: 50px;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    border: 2px solid #ee9623;
    border-radius: 25px;
    color: #3d182c;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    flex-shrink: 0;
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rawbark-input-section .button.update-points:hover {
    background-color: #ffbe3e;
    border-color: #ffbe3e;
    color: #3d182c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(238, 150, 35, 0.2);
}

.rawbark-input-section .button.update-points:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(238, 150, 35, 0.2);
}

.rawbark-input-section .description {
    width: 100%;
    flex-basis: 100%;
    color: #676F7F;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    order: 3;
}

@media (max-width: 768px) {
    .rawbark-input-section input[type="number"]#rawbark_points_input {
        flex: 1;
        min-width: 80px;
    }

    .rawbark-input-section .button.update-points {
        flex: 1;
        min-width: 100px;
    }
}

@media screen and (max-width: 950px) {
    .woocommerce #content table.cart .product-thumbnail,
    .woocommerce table.cart .product-thumbnail,
    .woocommerce-page #content table.cart .product-thumbnail,
    .woocommerce-page table.cart .product-thumbnail {
        display: block !important;
    }

    .product-thumbnail:before {
        display: none !important;
    }

    .woocommerce-message .button.wc-forward {
        width: 100% !important;
        margin: 0.35em auto 0.5em !important;
    }

    .woocommerce-error,
    .woocommerce-info,
    .woocommerce-message {
        padding: 1em 2em 1em 2em !important;
        margin-top: 0 !important;
    }

    .woocommerce-shipping-totals.shipping th {
        display: none !important;
    }

    .woocommerce-shipping-totals.shipping #shipping_method li {
        font-size: 0.8em !important;
    }

    .woocommerce-shipping-totals.shipping #shipping_method .tax_label {
        display: none !important;
    }

    .order-total .includes_tax {
        display: none !important;
    }

    .fp_apply_reward {
        padding-left: 0.5em;
        padding-top: 1em;
    }

    .checkout_redeeming #default_field {
        display: block !important;
        margin-bottom: 0 !important;
    }

    .rs_cart_message,
    .rs_checkout_message,
    .sumo_available_points.rs_checkout_messages {
        padding: 1em !important;
    }

    .sumo_available_points {
        display: none !important;
    }

    .woocommerce-order-details__title {
        text-align: center;
    }

    button[name="update_cart"] {
        display: none !important;
    }

    .woocommerce-message a {
        width: 100%;
    }

    .woocommerce-message {
        text-align: center;
        margin-top: 1em !important;
    }

    .woocommerce-message::before {
        content: "" !important;
        color: #3fa4298a;
    }
}

@media screen and (min-width: 1350px) {
    .woocommerce-error::after,
    .woocommerce-info::after,
    .woocommerce-message::after {
        clear: none !important;
    }

    .woocommerce-message a {
        margin-top: -0.7em !important;
        font-size: 0.85em !important;
    }
}

.currency-eur #default_field {
    display: none !important;
}

.currency-eur .apply-paws-link {
    cursor: pointer;
    color: #3d182c;
    font-weight: 600;
    text-decoration: underline;
}
