.eb-shared-cart {
    margin-top: 12px;
}

/* Cart Block totals területén: igazodás a blokk belső paddinghez. */
.eb-shared-cart--block {
    margin-top: 16px;
}

.eb-shared-cart__button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background-color: #f5f5f5;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    color: #1f1f1f;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.eb-shared-cart__button:hover,
.eb-shared-cart__button:focus {
    background-color: #ebebeb;
    border-color: #bdbdbd;
    outline: none;
}

/* Cart Block order summary: alsó border elrejtése + tipográfia. */
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
    border-bottom: none;
    font-size: var(--wp--preset--font-size--small, 14px);
    line-height: 1.4;
    margin-bottom: 0px;
}

.eb-shared-cart__button:focus-visible {
    outline: 2px solid #999;
    outline-offset: 2px;
}

.eb-shared-cart__button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.eb-shared-cart__message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.eb-shared-cart__message--success {
    background-color: #ecf6ee;
    border: 1px solid #bcdfc1;
    color: #1f5b2a;
}

.eb-shared-cart__message--error {
    background-color: #fdecea;
    border: 1px solid #f4b8b3;
    color: #8a221c;
}

.eb-shared-cart__message--fallback {
    background-color: #fff8e1;
    border: 1px solid #f0d68a;
    color: #5a4400;
}

.eb-shared-cart__url {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: #ffffff;
    color: #1f1f1f;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.8125rem;
    box-sizing: border-box;
}
