/* Cart-only styles */
.woocommerce-cart-form__cart-item.cart_item td.product-thumbnail img{
    max-height: 112px;
}

.cart_totals .order-total td {
    font-weight: 600;
}

.cart_totals .order-total .order-total-amount {
    color: #C0080B;
    font-weight: 700;
}

.cart_totals .order-total .order-vat-note strong {
    color: #C0080B;
    font-weight: 700;
}

.wc-empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 0 0px;
}

@media screen and (max-width: 768px) {
    .wc-empty-cart {
        padding: 60px 0 90px;
    }
}

@media screen and (max-width: 575px) {
    .wc-empty-cart {
        padding: 45px 0 70px;
    }
}

.wc-empty-cart__icon {
    width: 128px;
    height: 128px;
    margin-bottom: 20px;
}

.wc-empty-cart__icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.wc-empty-cart__title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #251F1F;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
}

@media screen and (max-width: 575px) {
    .wc-empty-cart__title {
        font-size: 18px;
    }
}

.wc-empty-cart__text {
    margin: 0;
    font-size: 15px;
    color: rgba(37, 31, 31, 0.7);
    font-family: 'Poppins';
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 32px;
}

.wc-empty-cart__button {
    margin-top: 24px;
    padding: 12px 28px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
    background: #C0080B;
    color: #fff;
}

.wc-empty-cart__button:hover,
.wc-empty-cart__button:focus {
    background: #A20609;
    color: #fff;
}
.container .woocommerce-notices-wrapper{
    margin-top:15px
}
.krokus-postcard-selector .options-wrapper{
    justify-content: start !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.krokus-postcard-selector .options-wrapper__top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.krokus-postcard-selector .options-wrapper__top .product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.krokus-postcard-selector .options-wrapper__top .image {
    width: 48px !important;
    height: 48px !important;
}
.krokus-postcard-selector .options-wrapper__top .image img {
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
}
.krokus-postcard-selector .options-wrapper__top .product-name {
    margin: 0 !important;
}
.krokus-postcard-selector .postcard-selection-info {
    font-size: 14px;
    font-weight: 500;
    color: #C0080B;
    line-height: 1.4;
}
.krokus-postcard-selector .radio-options {
    width: 100%;
}
.postcard-textarea-wrapper {
    position: relative;
}
.postcard-textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 8px;
    gap: 16px;
}
.postcard-description {
    font-size: 14px;
    font-weight: 400;
    color: #251F1F;
    line-height: 1.4;
    flex: 1;
}
.postcard-char-count {
    font-size: 14px;
    font-weight: 400;
    color: #251F1F;
    white-space: nowrap;
}
@media screen and (max-width: 768px) {
    .cart-content-wrapper .upsell-options__item-label--design .options-wrapper {
        align-items: flex-start !important;
    }
}
@media screen and (max-width: 768px) {
    .cart-content-wrapper .upsell-options__item-label--design .options-wrapper .product-name {
        width: 100% !important;
        text-align: center;
    }
}
@media screen and (max-width: 768px) {
    .cart-content-wrapper .upsell-options__item-label .checkbox-holder label {
        display: inline !important;
        
    }
}

/* ── Postcard warning notice ────────────────────────────────────────────── */
.krokus-postcard-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #664d03;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

/* ── Proceed to checkout – blocked when postcards not selected ──────────── */
.wc-proceed-to-checkout .checkout-button.is-disabled,
.wc-proceed-to-checkout .checkout-button.is-disabled:hover,
.wc-proceed-to-checkout .checkout-button.is-disabled:focus {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
.woocommerce-remove-coupon{
    font-size: 14px !important;
}

/* ── Coupon / actions row full-width on all mobile browsers ────────────── */
@media screen and (max-width: 768px) {
    .woocommerce-cart-form tr.wd-cart-action-row,
    .woocommerce-cart-form tr.wd-cart-action-row > td.actions,
    .woocommerce-cart-form .cart-actions,
    .woocommerce-cart-form .coupon.wd-coupon-form {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ── Firefox 320px table overflow fix ──────────────────────────────────────
   Firefox does not shrink a <table> to fit its container the way Chrome does.
   Forcing the form to clip and the table to display:block at narrow widths
   gives Firefox the same stacked layout Chrome already renders correctly.   */
@media screen and (max-width: 575px) {
    .woocommerce-cart-form {
        overflow: hidden;
        max-width: 100%;
    }
    .woocommerce-cart-form .shop_table.shop-table-with-img,
    .cart_totals .shop_table {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .woocommerce-cart-form .shop_table.shop-table-with-img thead,
    .woocommerce-cart-form .shop_table.shop-table-with-img tbody,
    .woocommerce-cart-form .shop_table.shop-table-with-img tfoot {
        display: block;
        width: 100%;
    }
    /* thead is hidden on mobile — column labels are shown via td::before pseudo-elements */
    .woocommerce-cart-form .shop_table.shop-table-with-img thead {
        display: none;
    }
    /* Actions/coupon row: force tr and td to block so colspan="6" doesn't
       cause Firefox to constrain the coupon form to one column's width */
    .woocommerce-cart-form .shop_table.shop-table-with-img tr.wd-cart-action-row,
    .woocommerce-cart-form .shop_table.shop-table-with-img tr.wd-cart-action-row > td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}