/* =====================================
   WOOCOMMERCE BLOCKS — CART & CHECKOUT
===================================== */

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
    max-width: var(--container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 60px 20px 80px !important;
    box-sizing: border-box;
}

.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-address-card,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    border-radius: 14px;
}

.wc-block-components-radio-control--highlight-checked:after {
    border: none;
}

.wc-block-components-button {
    background-color: var(--accent);
    color: #fff;
	border-radius: 25px;
}

/* =====================================
   ORDER RECEIVED (Επιβεβαίωση παραγγελίας)
===================================== */

.woocommerce-order-received .woocommerce,
.woocommerce-checkout .woocommerce {
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* Success notice */
.woocommerce-order-received .woocommerce-notice--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--r-md);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Order overview */
.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.woocommerce-order-overview li {
    flex: 1;
    min-width: 160px;
    padding: 20px 24px !important;
    border-right: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
}

.woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order-overview li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}

/* ── BANK DETAILS ── */
.woocommerce-bacs-bank-details {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 32px !important;
    margin-bottom: 32px;
}

.woocommerce-bacs-bank-details > h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

/* Κάθε τράπεζα */
.woocommerce-bacs-bank-details .wc-bacs-bank-details {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.woocommerce-bacs-bank-details .wc-bacs-bank-details:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Τίτλος τράπεζας — override Woo h3 */
.woocommerce-bacs-bank-details .wc-bacs-bank-details h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
    border: none !important;
}

/* Reset Woo table στα bank details — τα πεδία ως flex cards */
.woocommerce-bacs-bank-details .wc-bacs-bank-details-account-details {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 0;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none !important;
}

.woocommerce-bacs-bank-details .wc-bacs-bank-details-account-details li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 180px;
    flex: 1;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--border) !important;
    border-radius: var(--r-sm);
    margin-right: 8px;
    margin-bottom: 8px;
}

.woocommerce-bacs-bank-details .wc-bacs-bank-details-account-details li span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    opacity: .7;
}

.woocommerce-bacs-bank-details .wc-bacs-bank-details-account-details li strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    font-family: monospace;
}

/* ── ORDER DETAILS TABLE ──
   Override Woo core .shop_table */
.woocommerce-order-details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 32px !important;
    margin-bottom: 32px;
}

.woocommerce-order-details > h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Reset Woo core shop_table */
.woocommerce-order-details table.shop_table,
.woocommerce-order-details table.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 14px;
    margin: 0 !important;
}

.woocommerce-order-details table.shop_table th,
.woocommerce-order-details table.shop_table td {
    border: none !important;
    background: transparent !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--border) !important;
    text-align: left;
}

.woocommerce-order-details table.shop_table thead th {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    color: var(--muted) !important;
    border-bottom: 2px solid var(--border) !important;
    padding-bottom: 10px !important;
}

.woocommerce-order-details table.shop_table tfoot td,
.woocommerce-order-details table.shop_table tfoot th {
    font-weight: 700;
    color: var(--primary);
}

.woocommerce-order-details table.shop_table tfoot tr:last-child td,
.woocommerce-order-details table.shop_table tfoot tr:last-child th {
    font-size: 16px;
    color: var(--accent);
    border-bottom: none !important;
}

/* ── CUSTOMER DETAILS (Διευθύνσεις) ── */
.woocommerce-customer-details {
    margin-bottom: 32px;
}

.woocommerce-customer-details h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Reset Woo float */
.woocommerce-customer-details .woocommerce-columns,
.woocommerce-customer-details .col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce-customer-details .woocommerce-column,
.woocommerce-customer-details .col2-set .col-1,
.woocommerce-customer-details .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
}

.woocommerce-customer-details .woocommerce-column {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px 22px;
}

.woocommerce-customer-details .woocommerce-column h2 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.woocommerce-customer-details address {
    font-style: normal !important;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.woocommerce-customer-details .woocommerce-columns::before,
.woocommerce-customer-details .woocommerce-columns::after {
    content: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .wp-block-woocommerce-cart.alignwide,
    .wp-block-woocommerce-checkout.alignwide {
        padding: 30px 16px 60px !important;
    }

    .woocommerce-order-received .woocommerce {
        padding: 30px 16px 60px;
    }

    .woocommerce-order-overview {
        flex-direction: column;
    }

    .woocommerce-order-overview li {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .woocommerce-order-overview li:last-child {
        border-bottom: none;
    }

    .woocommerce-bacs-bank-details,
    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 20px 18px;
    }

    .woocommerce-customer-details .woocommerce-columns,
    .woocommerce-customer-details .col2-set {
        grid-template-columns: 1fr !important;
    }

    .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-details li {
        min-width: 140px;
    }
}


/* ============================================================
   MIGMAESHOP — Empty Cart + Notices
   Βάλε στο: wp-content/themes/migmaeshop/style.css (στο τέλος)
   ============================================================ */

/* ─── Empty Cart ─────────────────────────────────────────── */

.migma-empty-cart {
    text-align: center;
    padding: 80px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.migma-empty-cart__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: #ddd;
}

.migma-empty-cart__icon svg {
    width: 100%;
    height: 100%;
}

.migma-empty-cart__title {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin: 0 0 12px;
}

.migma-empty-cart__text {
    font-size: 15px;
    color: #777;
    margin: 0 0 32px;
    line-height: 1.6;
}

.migma-empty-cart__btn {
    display: inline-block;
    background: #e02020;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    height: 48px;
    line-height: 48px;
    padding: 0 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.migma-empty-cart__btn:hover {
    background: #c41a1a;
    color: #fff !important;
}

/* ─── WooCommerce Notices ────────────────────────────────── */

.woocommerce-notices-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base notice */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.wc-block-components-notice-banner {
    list-style: none !important;
    padding: 14px 18px !important;
    margin: 0 0 16px !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: none !important;
}

/* Success */
.woocommerce-message {
    background: #f0faf0 !important;
    color: #1a6b1a !important;
}

.woocommerce-message::before {
    content: "✓" !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2e9e2e !important;
    flex-shrink: 0 !important;
}

/* Error */
.woocommerce-error {
    background: #fff5f5 !important;
    color: #b91c1c !important;
}

.woocommerce-error::before {
    content: "!" !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #e02020 !important;
    flex-shrink: 0 !important;
}

/* Info */
.woocommerce-info {
    background: #f0f7ff !important;
    color: #1a4a8a !important;
}

.woocommerce-info::before {
    content: "i" !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-style: italic !important;
    color: #2563eb !important;
    flex-shrink: 0 !important;
}

/* Αφαίρεση default WC icon */
.woocommerce-message:not(.woocommerce-message--info)::before,
.woocommerce-error li::before {
    display: none !important;
}

/* Notices list items */
.woocommerce-error li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Notice buttons (π.χ. "Καλάθι") */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    background: #e02020 !important;
    color: #fff !important;
    border: none !important;
    text-decoration: none !important;
}

.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover {
    background: #c41a1a !important;
}