/* Stickbae Cart Design — Order Summary card (WooCommerce Blocks cart) */

/* ---------- FREE shipping announcement banner ---------- */
.sbcd-freeship-banner {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #eafaf0;
    border: 1px solid #bfe8cc;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 0 22px;
    color: #14532d;
    font-size: 16px;
    line-height: 1.45;
}

/* ---------- Summary card ---------- */
.wc-block-cart .wc-block-cart__sidebar {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 6px 28px rgba(24, 10, 38, 0.09);
    padding: 26px 24px 24px;
    align-self: flex-start;
}

/* ---------- Title ---------- */
.wc-block-cart .sbcd-title,
.wc-block-cart .wc-block-cart__totals-title {
    font-size: 23px !important;
    font-weight: 800;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #111;
    margin: 0 0 14px;
    line-height: 1.25;
}

/* ---------- Totals rows ---------- */
.wc-block-cart .wc-block-components-totals-item {
    font-size: 16px;
    color: #222;
    padding: 7px 0;
}
.wc-block-cart .wc-block-components-totals-item__value {
    font-weight: 600;
}
/* Coupon / discount amounts in green, like the reference */
.wc-block-cart .wc-block-components-totals-discount .wc-block-components-totals-item__value {
    color: #1d9e4b;
}

/* Total row */
.wc-block-cart .wc-block-components-totals-footer-item {
    border-top: 1px solid #e6e6e6;
    margin-top: 12px;
    padding-top: 16px;
}
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 23px;
    font-weight: 800;
    color: #111;
}

/* Coupon toggle */
.wc-block-cart .wc-block-components-totals-coupon__form .wc-block-components-button,
.wc-block-cart .wc-block-components-panel__button {
    font-size: 15px;
}

/* ---------- Secure Checkout button ---------- */
.wc-block-cart .wc-block-cart__submit {
    margin-top: 18px;
}
.wc-block-cart a.wc-block-cart__submit-button.sbcd-checkout-btn,
.wc-block-cart .wc-block-cart__submit-button {
    background: #ff4a29 !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    min-height: 56px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 74, 41, 0.35);
    transition: background 0.15s ease, transform 0.1s ease;
}
.wc-block-cart .wc-block-cart__submit-button:hover {
    background: #ef3d1d !important;
}
.wc-block-cart .wc-block-cart__submit-button:active {
    transform: translateY(1px);
}
.wc-block-cart .wc-block-cart__submit-button svg {
    flex: 0 0 auto;
}

/* ---------- PayPal button ---------- */
.wc-block-cart .sbcd-paypal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffc439;
    border-radius: 10px;
    min-height: 56px;
    margin-top: 12px;
    text-decoration: none !important;
    font-size: 21px;
    font-style: italic;
    box-shadow: 0 4px 14px rgba(255, 196, 57, 0.4);
    transition: filter 0.15s ease;
}
.wc-block-cart .sbcd-paypal-btn:hover { filter: brightness(0.97); }
.sbcd-pp-pay { color: #003087; font-weight: 800; }
.sbcd-pp-pal { color: #009cde; font-weight: 800; }

/* ---------- Secure payment block ---------- */
.wc-block-cart .sbcd-secure { margin-top: 24px; }
.wc-block-cart .sbcd-secure-head {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 19px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
}
.wc-block-cart .sbcd-secure-head svg { flex: 0 0 auto; }

.wc-block-cart .sbcd-badges {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}
.wc-block-cart .sbcd-badge {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 7px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    overflow: hidden;
    padding: 2px 3px;
    line-height: 1.05;
    text-align: center;
}
.wc-block-cart .sbcd-visa {
    color: #1a1f71;
    font-weight: 900;
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.wc-block-cart .sbcd-maestro { flex-direction: column; gap: 0; }
.wc-block-cart .sbcd-maestro svg { height: 13px; width: auto; }
.wc-block-cart .sbcd-maestro em {
    font-style: normal;
    font-size: 6.5px;
    color: #333;
    letter-spacing: 0.4px;
}
.wc-block-cart .sbcd-amex {
    background: #2e77bc;
    border-color: #2e77bc;
    color: #fff;
    font-weight: 800;
    font-size: 7px;
    letter-spacing: 0.3px;
}
.wc-block-cart .sbcd-diners em {
    font-style: normal;
    font-size: 5.5px;
    color: #333;
    text-align: left;
    line-height: 1.15;
}
.wc-block-cart .sbcd-discover {
    color: #111;
    font-weight: 800;
    font-size: 8.5px;
    letter-spacing: 0.2px;
}
.wc-block-cart .sbcd-discover i {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #f48120;
    display: inline-block;
    margin-left: 1px;
}
.wc-block-cart .sbcd-pp { font-style: italic; font-size: 10.5px; }
.wc-block-cart .sbcd-gpay { color: #5f6368; font-size: 12.5px; font-weight: 500; }
.wc-block-cart .sbcd-gpay b { color: #4285f4; font-weight: 700; font-size: 14px; }
.wc-block-cart .sbcd-klarna {
    background: #ffb3c7;
    border-color: #ffb3c7;
    color: #17120f;
    font-weight: 700;
    font-size: 10.5px;
}
.wc-block-cart .sbcd-afterpay {
    background: #b2fce4;
    border-color: #b2fce4;
    color: #0f1011;
    font-weight: 800;
    font-style: italic;
    font-size: 9.5px;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .wc-block-cart .wc-block-cart__sidebar { padding: 20px 16px; }
    .wc-block-cart .sbcd-title,
    .wc-block-cart .wc-block-cart__totals-title { font-size: 21px !important; }
    .wc-block-cart .sbcd-secure-head { font-size: 17px; }
    .wc-block-cart .sbcd-badges { gap: 5px; }
    .wc-block-cart .sbcd-badge { height: 34px; }
}

/* Very narrow screens: shrink badge lettering so nothing clips */
@media (max-width: 480px) {
    .wc-block-cart .sbcd-secure-head { font-size: 15px; gap: 7px; flex-wrap: nowrap; }
    .wc-block-cart .sbcd-secure-head svg { width: 22px; height: 22px; }
    .wc-block-cart .sbcd-badge { padding: 2px 1px; }
    .wc-block-cart .sbcd-visa { font-size: 11.5px; letter-spacing: 0; }
    .wc-block-cart .sbcd-discover { font-size: 7px; letter-spacing: 0; }
    .wc-block-cart .sbcd-discover i { width: 8px; height: 8px; }
    .wc-block-cart .sbcd-afterpay { font-size: 8px; }
    .wc-block-cart .sbcd-klarna { font-size: 9px; }
    .wc-block-cart .sbcd-pp { font-size: 9px; }
    .wc-block-cart .sbcd-gpay { font-size: 11px; }
    .wc-block-cart .sbcd-gpay b { font-size: 12.5px; }
    .wc-block-cart .sbcd-amex { font-size: 6px; }
}
