/* ============================================================
   WOOCOMMERCE STYLES — MOBILNYMECHANIK.PL
   Optimized: 2026-04-06
   Sections: Global, Account, Order-Received, Shop, Product, Cart, Checkout
   ============================================================ */

/* ============================================================
   1. GLOBAL — All WC pages
   ============================================================ */

/* Hide WC notice icons globally */
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-error li::before {
    display: none !important;
}

/* Global WC notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-family: var(--mm-font, 'Barlow', sans-serif) !important;
    font-size: 14px;
    border-radius: 8px !important;
    border-top-color: var(--mm-red, #C0191C) !important;
}

/* WC notice button */
.woocommerce-message a.button,
.woocommerce-info a.button {
    font-family: var(--mm-font, 'Barlow', sans-serif) !important;
    background: var(--mm-red, #C0191C) !important;
    color: white !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
}

/* Hide GP footer, show mm-footer on all WC pages */
body.mm-wc-checkout .site-footer,
body.mm-wc-checkout .site-info,
body.mm-wc-checkout footer.site-footer,
body.mm-wc-account .site-footer,
body.mm-wc-account .site-info,
body.mm-wc-account footer.site-footer,
body.mm-wc-order-received .site-footer,
body.mm-wc-order-received .site-info,
body.mm-wc-order-received footer.site-footer {
    display: none !important;
}

body.mm-wc-checkout .mm-footer,
body.mm-wc-account .mm-footer,
body.mm-wc-order-received .mm-footer {
    display: block !important;
}

/* Hide sidebar on all WC pages */
body.mm-wc-shop #right-sidebar,
body.mm-wc-shop .widget-area,
body.mm-wc-product #right-sidebar,
body.mm-wc-product .widget-area,
body.mm-wc-cart #right-sidebar,
body.mm-wc-cart .widget-area,
body.mm-wc-checkout #right-sidebar,
body.mm-wc-checkout .widget-area {
    display: none !important;
}

body.mm-wc-shop .site-content .content-area,
body.mm-wc-product .site-content .content-area,
body.mm-wc-cart .site-content .content-area,
body.mm-wc-checkout .site-content .content-area {
    width: 100% !important;
    max-width: 100% !important;
}

/* Override GP .mm-static-page margin:0 — center WC containers */
body.mm-wc-shop .inside-article,
body.mm-wc-product .inside-article,
body.mm-wc-cart .inside-article,
body.mm-wc-checkout .inside-article,
body.mm-wc-account .inside-article,
body.mm-wc-order-received .inside-article {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ============================================================
   2. MY ACCOUNT
   ============================================================ */

/* Force DM Sans on all WC account pages */
body.mm-wc-account,
body.mm-wc-account *,
body.mm-wc-order-received,
body.mm-wc-order-received * {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Container width — wider for sidebar + content layout */
body.mm-wc-account .grid-container,
body.mm-wc-account .site.grid-container,
body.mm-wc-account .entry-content,
body.mm-wc-account .inside-article,
body.mm-wc-account .site-content {
    max-width: 1100px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 40px 24px;
    box-sizing: border-box;
}

body.mm-wc-order-received .grid-container,
body.mm-wc-order-received .site.grid-container,
body.mm-wc-order-received .entry-content,
body.mm-wc-order-received .inside-article,
body.mm-wc-order-received .site-content {
    max-width: 900px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 40px 24px;
    box-sizing: border-box;
}

body.mm-wc-account .site-content,
body.mm-wc-order-received .site-content {
    overflow: visible !important;
}

/* --- Layout Fixes (Sticky Footer & Empty Space) --- */

@media (max-width: 767px) {
    body.mm-wc-account,
    body.mm-wc-order-received {
        padding-bottom: 0 !important;
    }
}

/* Kill GP sticky-footer stretch */
html,
body.mm-wc-account,
body.mm-wc-order-received {
    height: auto !important;
    min-height: 0 !important;
}

body.mm-wc-account #page,
body.mm-wc-account .site,
body.mm-wc-account .site-container,
body.mm-wc-order-received #page,
body.mm-wc-order-received .site {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    flex: none !important;
}

body.mm-wc-account #content,
body.mm-wc-account .site-content,
body.mm-wc-account #primary,
body.mm-wc-account .content-area,
body.mm-wc-account .inside-article,
body.mm-wc-order-received #content,
body.mm-wc-order-received .site-content,
body.mm-wc-order-received #primary,
body.mm-wc-order-received .content-area,
body.mm-wc-order-received .inside-article {
    flex: none !important;
    flex-grow: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.mm-wc-account .entry-content,
body.mm-wc-order-received .entry-content {
    margin-bottom: 20px !important;
}

/* --- My Account Layout (Navigation + Content) --- */

body.mm-wc-account .woocommerce {
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    overflow: visible !important;
}

body.mm-wc-account .woocommerce-MyAccount-navigation,
body.mm-wc-account .woocommerce-MyAccount-content {
    float: none !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Desktop: 2-column grid */
@media (min-width: 769px) {
    body.mm-wc-account .woocommerce {
        display: grid !important;
        grid-template-columns: 240px 1fr !important;
        gap: 32px !important;
        align-items: start !important;
    }

    body.mm-wc-account .woocommerce-MyAccount-navigation {
        grid-column: 1 !important;
        width: 240px !important;
    }

    body.mm-wc-account .woocommerce-MyAccount-content {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.mm-wc-account .woocommerce>*:not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) {
        grid-column: 1 / -1 !important;
    }
}

/* Mobile: stacked */
@media (max-width: 768px) {
    body.mm-wc-account .woocommerce {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    body.mm-wc-account .woocommerce-MyAccount-navigation,
    body.mm-wc-account .woocommerce-MyAccount-content {
        width: 100% !important;
    }
}

/* --- My Account Navigation --- */

body.mm-wc-account .woocommerce-MyAccount-navigation {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

@media (min-width: 769px) {
    body.mm-wc-account .woocommerce-MyAccount-navigation {
        position: sticky;
        top: 100px;
    }
}

body.mm-wc-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.mm-wc-account .woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
}

body.mm-wc-account .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: none !important;
    background: transparent !important;
}

body.mm-wc-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #FFF7ED !important;
    color: var(--mm-orange, #EA580C) !important;
}

/* Active state */
body.mm-wc-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--mm-orange, #EA580C) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* Logout link */
body.mm-wc-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #E5E7EB !important;
}

body.mm-wc-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #DC2626 !important;
}

body.mm-wc-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #FEF2F2 !important;
    color: #B91C1C !important;
}

/* --- My Account Content Area --- */

body.mm-wc-account .woocommerce-MyAccount-content {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    padding: 28px 32px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    min-width: 0 !important;
}

body.mm-wc-account .woocommerce-MyAccount-content h2,
body.mm-wc-account .woocommerce-MyAccount-content h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin: 0 0 16px 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

body.mm-wc-account .woocommerce-MyAccount-content p {
    color: var(--mm-gray-500, #64748B) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

body.mm-wc-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button) {
    color: var(--mm-orange, #EA580C) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

body.mm-wc-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-button):hover {
    color: #C2410C !important;
    text-decoration: none !important;
}

/* WC Notices */
body.mm-wc-account .woocommerce-message,
body.mm-wc-account .woocommerce-info,
body.mm-wc-account .woocommerce-error {
    border-radius: 8px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
}

body.mm-wc-account .woocommerce-info {
    background: #FFF7ED !important;
    border-left: 4px solid var(--mm-orange, #EA580C) !important;
    color: #1E293B !important;
}

body.mm-wc-account .woocommerce-message {
    background: #F0FDF4 !important;
    border-left: 4px solid var(--mm-green, #16A34A) !important;
    color: #1E293B !important;
}

body.mm-wc-account .woocommerce-error {
    background: #FEF2F2 !important;
    border-left: 4px solid #DC2626 !important;
    color: #1E293B !important;
}

/* --- My Account Tables (Orders, Subscriptions, Downloads) --- */

body.mm-wc-account .shop_table,
body.mm-wc-account .woocommerce-orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin: 0 !important;
}

body.mm-wc-account .shop_table thead th,
body.mm-wc-account .woocommerce-orders-table thead th {
    background: var(--mm-gray-50, #F8FAFC) !important;
    color: var(--mm-gray-500, #64748B) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid #E5E7EB !important;
    text-align: left !important;
}

body.mm-wc-account .shop_table tbody td,
body.mm-wc-account .shop_table tbody th,
body.mm-wc-account .woocommerce-orders-table tbody td,
body.mm-wc-account .woocommerce-orders-table tbody th {
    padding: 16px !important;
    border-bottom: 1px solid #E5E7EB !important;
    font-size: 14px !important;
    color: #1E293B !important;
    vertical-align: middle !important;
}

body.mm-wc-account .shop_table tbody tr:hover,
body.mm-wc-account .woocommerce-orders-table tbody tr:hover {
    background: var(--mm-gray-50, #F8FAFC) !important;
}

body.mm-wc-account .shop_table tbody tr:last-child td,
body.mm-wc-account .shop_table tbody tr:last-child th,
body.mm-wc-account .woocommerce-orders-table tbody tr:last-child td,
body.mm-wc-account .woocommerce-orders-table tbody tr:last-child th {
    border-bottom: none !important;
}

/* Action buttons in tables */
body.mm-wc-account .woocommerce-orders-table .woocommerce-button,
body.mm-wc-account .woocommerce-orders-table .button,
body.mm-wc-account .shop_table .woocommerce-button,
body.mm-wc-account .shop_table .button {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: #FFFFFF !important;
    color: var(--mm-orange, #EA580C) !important;
    border: 1px solid var(--mm-orange, #EA580C) !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    margin: 2px 4px 2px 0 !important;
    box-shadow: none !important;
}

body.mm-wc-account .woocommerce-orders-table .woocommerce-button:hover,
body.mm-wc-account .woocommerce-orders-table .button:hover,
body.mm-wc-account .shop_table .woocommerce-button:hover,
body.mm-wc-account .shop_table .button:hover {
    background: var(--mm-orange, #EA580C) !important;
    color: #FFFFFF !important;
}

/* Responsive table: mobile */
@media (max-width: 768px) {
    body.mm-wc-account .shop_table.shop_table_responsive thead {
        display: none !important;
    }

    body.mm-wc-account .shop_table.shop_table_responsive tbody tr {
        display: block !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid #E5E7EB !important;
    }

    body.mm-wc-account .shop_table.shop_table_responsive tbody td,
    body.mm-wc-account .shop_table.shop_table_responsive tbody th {
        display: flex !important;
        justify-content: space-between !important;
        padding: 6px 0 !important;
        border: none !important;
    }

    body.mm-wc-account .shop_table.shop_table_responsive tbody td::before,
    body.mm-wc-account .shop_table.shop_table_responsive tbody th::before {
        content: attr(data-title) !important;
        font-weight: 700 !important;
        color: var(--mm-gray-500, #64748B) !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
    }
}

/* --- My Account Forms (Edit Address, Edit Account) --- */

body.mm-wc-account .form-row {
    margin-bottom: 20px !important;
}

@media (min-width: 769px) {
    body.mm-wc-account .form-row-first,
    body.mm-wc-account .form-row-last {
        width: 48% !important;
        display: inline-block !important;
        vertical-align: top !important;
    }

    body.mm-wc-account .form-row-first {
        margin-right: 4% !important;
    }
}

@media (max-width: 768px) {
    body.mm-wc-account .form-row-first,
    body.mm-wc-account .form-row-last {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }
}

body.mm-wc-account .form-row label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--mm-gray-500, #64748B) !important;
    margin-bottom: 8px !important;
}

body.mm-wc-account .form-row label .required {
    color: #DC2626 !important;
}

body.mm-wc-account .form-row input.input-text,
body.mm-wc-account .form-row textarea,
body.mm-wc-account .form-row select,
body.mm-wc-account .woocommerce-Input {
    width: 100% !important;
    border: 1px solid #DEE2E6 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    height: 54px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    background: #FFFFFF !important;
    color: #111111 !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.mm-wc-account .form-row textarea {
    height: auto !important;
    min-height: 100px !important;
}

body.mm-wc-account .form-row input.input-text:focus,
body.mm-wc-account .form-row select:focus,
body.mm-wc-account .woocommerce-Input:focus {
    border-color: var(--mm-orange, #EA580C) !important;
    outline: none !important;
    box-shadow: 0 0 0 1px var(--mm-orange, #EA580C) !important;
}

/* Password change fieldset */
body.mm-wc-account .woocommerce-MyAccount-content fieldset {
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    margin: 24px 0 !important;
}

body.mm-wc-account .woocommerce-MyAccount-content fieldset legend {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    padding: 0 8px !important;
}

/* Submit button */
body.mm-wc-account .woocommerce-MyAccount-content button[type="submit"],
body.mm-wc-account .woocommerce-MyAccount-content input[type="submit"],
body.mm-wc-account .woocommerce-MyAccount-content>.button {
    display: inline-block !important;
    padding: 14px 32px !important;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

body.mm-wc-account .woocommerce-MyAccount-content button[type="submit"]:hover,
body.mm-wc-account .woocommerce-MyAccount-content input[type="submit"]:hover,
body.mm-wc-account .woocommerce-MyAccount-content>.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}

/* Address display cards */
body.mm-wc-account .woocommerce-Addresses,
body.mm-wc-account .col2-set,
body.mm-wc-account .col2-set.addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

body.mm-wc-account .woocommerce-Addresses::before,
body.mm-wc-account .woocommerce-Addresses::after,
body.mm-wc-account .col2-set::before,
body.mm-wc-account .col2-set::after {
    display: none !important;
    content: none !important;
}

body.mm-wc-account .woocommerce-Address,
body.mm-wc-account .woocommerce-Address--billing,
body.mm-wc-account .woocommerce-Address--shipping,
body.mm-wc-account .col-1,
body.mm-wc-account .col-2 {
    background: var(--mm-gray-50, #F8FAFC) !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    padding: 20px !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

body.mm-wc-account .woocommerce-Address-title,
body.mm-wc-account header.title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    flex-wrap: nowrap !important;
}

body.mm-wc-account .woocommerce-Address-title h2,
body.mm-wc-account .woocommerce-Address-title h3,
body.mm-wc-account header.title h2,
body.mm-wc-account header.title h3 {
    font-size: 16px !important;
    margin: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
}

body.mm-wc-account .woocommerce-Address-title .edit,
body.mm-wc-account header.title .edit {
    font-size: 13px !important;
    color: var(--mm-orange, #EA580C) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

body.mm-wc-account address {
    font-style: normal !important;
    color: var(--mm-gray-500, #64748B) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Mobile: stack addresses */
@media (max-width: 768px) {
    body.mm-wc-account .woocommerce-Addresses,
    body.mm-wc-account .col2-set,
    body.mm-wc-account .col2-set.addresses {
        grid-template-columns: 1fr !important;
    }
}

/* Pagination */
body.mm-wc-account .woocommerce-pagination {
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid #E5E7EB !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
}

body.mm-wc-account .woocommerce-pagination .page-numbers {
    display: inline-block !important;
    padding: 8px 14px !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

body.mm-wc-account .woocommerce-pagination .page-numbers:hover {
    border-color: var(--mm-orange, #EA580C) !important;
    color: var(--mm-orange, #EA580C) !important;
}

body.mm-wc-account .woocommerce-pagination .page-numbers.current {
    background: var(--mm-orange, #EA580C) !important;
    border-color: var(--mm-orange, #EA580C) !important;
    color: #FFFFFF !important;
}


/* ============================================================
   3. ORDER-RECEIVED (Thank You Page)
   ============================================================ */

/* Order container */
body.mm-wc-order-received .woocommerce-order {
    max-width: 700px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Thank you success message */
body.mm-wc-order-received .woocommerce-thankyou-order-received {
    background: #F0FDF4 !important;
    border: 1px solid #BBF7D0 !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #15803D !important;
    margin-bottom: 24px !important;
}

/* Failed order message */
body.mm-wc-order-received .woocommerce-thankyou-order-failed {
    background: #FEF2F2 !important;
    border: 1px solid #FECACA !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #DC2626 !important;
    margin-bottom: 24px !important;
}

/* Order details overview grid */
body.mm-wc-order-received .woocommerce-order-overview {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    list-style: none !important;
    margin: 0 0 24px 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

body.mm-wc-order-received .woocommerce-order-overview li {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: var(--mm-gray-500, #64748B) !important;
    border: none !important;
}

body.mm-wc-order-received .woocommerce-order-overview li strong {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin-top: 4px !important;
}

/* Order details table */
body.mm-wc-order-received .woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}

body.mm-wc-order-received .woocommerce-table--order-details thead th {
    background: var(--mm-gray-50, #F8FAFC) !important;
    color: var(--mm-gray-500, #64748B) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 14px 16px !important;
    border-bottom: 2px solid #E5E7EB !important;
}

body.mm-wc-order-received .woocommerce-table--order-details tbody td,
body.mm-wc-order-received .woocommerce-table--order-details tfoot td,
body.mm-wc-order-received .woocommerce-table--order-details tfoot th {
    padding: 14px 16px !important;
    font-size: 14px !important;
    color: #1E293B !important;
    border-bottom: 1px solid #E5E7EB !important;
}

/* Subscription/customer details */
body.mm-wc-order-received .woocommerce-order-details,
body.mm-wc-order-received .woocommerce-customer-details {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 24px !important;
}

body.mm-wc-order-received .woocommerce-order-details h2,
body.mm-wc-order-received .woocommerce-customer-details h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    margin: 0 0 16px 0 !important;
    text-transform: none !important;
}

body.mm-wc-order-received address {
    font-style: normal !important;
    color: var(--mm-gray-500, #64748B) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Buttons on order-received */
body.mm-wc-order-received .button,
body.mm-wc-order-received .woocommerce-button {
    display: inline-block !important;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
    transition: all 0.2s ease !important;
}

body.mm-wc-order-received .button:hover,
body.mm-wc-order-received .woocommerce-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}

/* Mobile */
@media (max-width: 768px) {
    body.mm-wc-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}


/* ============================================================
   4. SHOP PAGE
   ============================================================ */

/* Shop Hero */
.mm-shop-hero {
    background: linear-gradient(135deg, var(--mm-dark, #0D1B2A) 0%, var(--mm-dark-mid, #1A3148) 100%);
    color: white;
    padding: 64px 24px 56px;
    text-align: center;
}

/* Global font on shop page */
body.mm-wc-shop,
body.mm-wc-shop * {
    font-family: var(--mm-font, 'Barlow', sans-serif);
}

/* Hide GP breadcrumbs, header, result count on shop page */
body.mm-wc-shop .woocommerce-breadcrumb,
body.mm-wc-shop .entry-header,
body.mm-wc-shop .page-header {
    display: none !important;
}

.mm-shop-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}

.mm-shop-hero__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.mm-shop-hero__subtitle {
    font-size: 17px;
    color: var(--mm-gray-400, #94A3B8);
    margin: 0 0 24px;
    line-height: 1.6;
}

.mm-shop-hero__stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.mm-shop-hero__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mm-gray-300, #CBD5E1);
}

.mm-shop-hero__stat svg {
    color: var(--mm-green, #16A34A);
    flex-shrink: 0;
}

/* Shop product icon */
.mm-shop-product__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mm-orange-light, #FFF7ED);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.mm-shop-product__icon svg {
    color: var(--mm-orange, #EA580C);
}

/* Hide WC result count & ordering on shop */
body.mm-wc-shop .woocommerce-result-count,
body.mm-wc-shop .woocommerce-ordering {
    display: none;
}

/* Container */
body.mm-wc-shop .inside-article,
body.mm-wc-product .inside-article {
    max-width: 1152px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

body.mm-wc-shop .entry-content {
    max-width: 1152px;
    margin: 0 auto;
}

/* Shop page title */
body.mm-wc-shop .woocommerce-products-header__title,
body.mm-wc-shop .page-title {
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-size: 32px;
    font-weight: 800;
    color: var(--mm-dark, #0D1B2A);
    margin-bottom: 8px;
}

body.mm-wc-shop .woocommerce-ordering select {
    font-family: var(--mm-font, 'Barlow', sans-serif);
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
}

/* Product grid */
body.mm-wc-shop ul.products,
body.mm-wc-shop .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

body.mm-wc-shop ul.products::before,
body.mm-wc-shop ul.products::after {
    display: none !important;
}

body.mm-wc-shop .products .product,
body.mm-wc-shop ul.products li.product {
    background: var(--mm-white, #FFFFFF);
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.2s ease;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
}

body.mm-wc-shop .products .product:hover {
    border-color: var(--mm-red, #C0191C);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.mm-wc-shop .products .product .woocommerce-loop-product__title,
body.mm-wc-shop .products .product h2 {
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--mm-dark, #0D1B2A);
    margin: 8px 0;
    line-height: 1.3;
}

body.mm-wc-shop .products .product .price {
    color: var(--mm-orange, #EA580C);
    font-weight: 800;
    font-size: 18px;
}

body.mm-wc-shop .products .product .button,
body.mm-wc-shop .products .product .add_to_cart_button {
    background: var(--mm-red, #C0191C) !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
    margin-top: 12px;
}

body.mm-wc-shop .products .product .button:hover,
body.mm-wc-shop .products .product .add_to_cart_button:hover {
    background: var(--mm-red-dark, #8B0F11) !important;
}

/* Product placeholder image */
body.mm-wc-shop .products .product img,
body.mm-wc-product .woocommerce-product-gallery img {
    border-radius: 8px;
}


/* ============================================================
   5. SINGLE PRODUCT PAGE
   ============================================================ */

/* Global font */
body.mm-wc-product,
body.mm-wc-product *,
body.mm-wc-product select,
body.mm-wc-product input,
body.mm-wc-product button,
body.mm-wc-product label {
    font-family: var(--mm-font, 'Barlow', sans-serif) !important;
}

/* --- Breadcrumbs --- */

body.mm-wc-product .woocommerce-breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    padding: 12px 20px;
    font-family: var(--mm-font, 'Barlow', sans-serif) !important;
    font-size: var(--mm-text-sm, 13px);
    line-height: 1.5;
    color: var(--mm-gray-400, #94A3B8);
}

body.mm-wc-product .woocommerce-breadcrumb a {
    color: var(--mm-gray-500, #64748B);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.mm-wc-product .woocommerce-breadcrumb a:hover {
    color: var(--mm-red, #C0191C);
}

body.mm-wc-product .woocommerce-breadcrumb .breadcrumb_last {
    color: var(--mm-gray-800, #1E293B);
    font-weight: 500;
}

/* Entry summary — match tabs panel typography */
body.mm-wc-product .entry-summary {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--mm-gray-600, #475569) !important;
}

/* Title */
body.mm-wc-product div.product .product_title {
    font-size: 26px;
    font-weight: 800;
    color: var(--mm-dark, #0D1B2A);
    margin: 0 0 8px !important;
    line-height: 1.2;
}

/* Price — standardized at 22px */
body.mm-wc-product div.product p.price,
body.mm-wc-product div.product span.price {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--mm-orange, #EA580C) !important;
    margin: 0 0 16px !important;
}

body.mm-wc-product div.product p.price .woocommerce-Price-currencySymbol {
    font-size: 18px;
}

body.mm-wc-product div.product p.price .subscription-details {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--mm-gray-500, #64748B) !important;
}

/* Short description */
body.mm-wc-product div.product .woocommerce-product-details__short-description,
body.mm-wc-product div.product .woocommerce-product-details__short-description p {
    font-size: 15px !important;
    color: var(--mm-gray-600, #475569) !important;
    line-height: 1.6 !important;
    margin: 0 0 20px !important;
}

/* --- City Selector --- */

body.mm-wc-product .mm-city-selector {
    margin: 20px 12px 20px 0 !important;
    padding: 20px !important;
    background: var(--mm-gray-50, #F8FAFC) !important;
    border: 1px solid var(--mm-gray-200, #E2E8F0) !important;
    border-radius: 12px !important;
}

body.mm-wc-product .mm-city-selector__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

body.mm-wc-product .mm-city-selector__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--mm-dark, #0D1B2A) !important;
    margin: 0 !important;
}

body.mm-wc-product .mm-tier-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 16px !important;
    color: var(--mm-dark, #0D1B2A) !important;
    white-space: nowrap;
}

body.mm-wc-product .mm-city-selector__desc {
    font-size: 13px !important;
    color: var(--mm-gray-500, #64748B) !important;
    margin: 0 0 16px !important;
}

body.mm-wc-product .mm-city-selector__field {
    margin-bottom: 16px;
}

body.mm-wc-product .mm-city-dropdown {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    border: 1px solid var(--mm-gray-200, #E2E8F0) !important;
    border-radius: 8px !important;
    color: var(--mm-gray-700, #334155) !important;
    background: white !important;
}

body.mm-wc-product .mm-city-dropdown:focus {
    border-color: var(--mm-red, #C0191C) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(192, 25, 28, 0.12) !important;
}

body.mm-wc-product .mm-city-selector__features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

body.mm-wc-product .mm-city-selector__feature {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px !important;
    font-weight: 500;
    color: var(--mm-gray-600, #475569);
}

body.mm-wc-product .mm-city-selector__feature svg {
    color: var(--mm-green, #16A34A);
    flex-shrink: 0;
}

/* --- Add to Cart Button --- */

body.mm-wc-product div.product form.cart .single_add_to_cart_button,
body.mm-wc-product div.product .button.alt {
    background: var(--mm-red, #C0191C) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px !important;
}

body.mm-wc-product div.product form.cart .single_add_to_cart_button:hover {
    background: var(--mm-red-dark, #8B0F11) !important;
}

/* --- Product Meta (SKU, Category) --- */

body.mm-wc-product div.product .product_meta {
    font-size: 13px !important;
    color: var(--mm-gray-500, #64748B) !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--mm-gray-200, #E2E8F0) !important;
}

body.mm-wc-product div.product .product_meta a {
    color: var(--mm-red, #C0191C) !important;
    text-decoration: none;
}

body.mm-wc-product div.product .product_meta a:hover {
    text-decoration: underline;
}

/* --- Tabs --- */

body.mm-wc-product .woocommerce-tabs {
    margin-top: 40px;
}

body.mm-wc-product .woocommerce-tabs .tabs {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--mm-gray-200, #E2E8F0);
    margin-bottom: 24px;
}

body.mm-wc-product .woocommerce-tabs .tabs li {
    margin: 0;
}

body.mm-wc-product .woocommerce-tabs .tabs li a {
    display: block;
    padding: 12px 24px;
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-weight: 600;
    font-size: 15px;
    color: var(--mm-gray-500, #64748B);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

body.mm-wc-product .woocommerce-tabs .tabs li.active a {
    color: var(--mm-red, #C0191C);
    border-bottom-color: var(--mm-red, #C0191C);
}

body.mm-wc-product .woocommerce-tabs .tabs li a:hover {
    color: var(--mm-dark, #0D1B2A);
}

body.mm-wc-product .woocommerce-tabs .panel,
body.mm-wc-product div.product .woocommerce-tabs .panel {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--mm-gray-600, #475569) !important;
    padding: 16px 20px !important;
}

body.mm-wc-product .woocommerce-tabs .panel h2 {
    display: none;
}

/* --- Related Products --- */

body.mm-wc-product .related.products {
    margin-top: 48px;
    padding: 48px 20px 0;
    border-top: 1px solid var(--mm-gray-200, #E2E8F0);
}

body.mm-wc-product .related.products h2 {
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

body.mm-wc-product .related.products ul.products,
body.mm-wc-product .related.products .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

body.mm-wc-product .related.products ul.products::before,
body.mm-wc-product .related.products ul.products::after {
    display: none !important;
}

body.mm-wc-product .related.products .product,
body.mm-wc-product .related.products li.product {
    background: var(--mm-gray-50, #F8FAFC);
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
    transition: all 0.2s ease;
}

body.mm-wc-product .related.products .product:hover {
    border-color: var(--mm-red, #C0191C);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Hide placeholder images in related products */
body.mm-wc-product .related.products .product img.wp-post-image,
body.mm-wc-product .related.products .product .attachment-woocommerce_thumbnail {
    display: none !important;
}

body.mm-wc-product .related.products .product .woocommerce-loop-product__title,
body.mm-wc-product .related.products .product h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 8px 0;
    line-height: 1.3;
}

body.mm-wc-product .related.products .product .price {
    color: var(--mm-orange, #EA580C);
    font-weight: 800;
    font-size: 16px;
    margin: 8px 0;
}

body.mm-wc-product .related.products .product .button {
    background: var(--mm-red, #C0191C) !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
}

body.mm-wc-product .related.products .product .button:hover {
    background: var(--mm-red-dark, #8B0F11) !important;
}

/* Breadcrumbs on product page */
body.mm-wc-product .woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--mm-gray-500, #64748B);
    margin-bottom: 20px;
}

body.mm-wc-product .woocommerce-breadcrumb a {
    color: var(--mm-gray-500, #64748B);
    text-decoration: none;
}

body.mm-wc-product .woocommerce-breadcrumb a:hover {
    color: var(--mm-dark, #0D1B2A);
}

/* Responsive — shop & product */
@media (max-width: 767px) {
    body.mm-wc-shop .products {
        grid-template-columns: 1fr;
    }

    body.mm-wc-product .related.products .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    body.mm-wc-shop .products {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   6. CART PAGE
   ============================================================ */

body.mm-wc-cart .inside-article {
    max-width: 900px !important;
    padding: 48px 24px 80px !important;
}

body.mm-wc-cart,
body.mm-wc-cart * {
    font-family: var(--mm-font, 'Barlow', sans-serif);
}

body.mm-wc-cart .entry-title,
body.mm-wc-cart .page-title {
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-size: 28px;
    font-weight: 800;
    color: var(--mm-dark, #0D1B2A);
    margin-bottom: 24px;
}

/* Empty cart */
body.mm-wc-cart .cart-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--mm-gray-600, #475569);
    font-size: 16px;
}

body.mm-wc-cart .return-to-shop .button,
body.mm-wc-cart .wc-backward {
    background: var(--mm-red, #C0191C) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px;
    padding: 14px 28px;
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
    margin-top: 16px;
}

body.mm-wc-cart .return-to-shop .button:hover,
body.mm-wc-cart .wc-backward:hover {
    background: var(--mm-red-dark, #8B0F11) !important;
}

/* Cart table */
body.mm-wc-cart .shop_table {
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 12px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

body.mm-wc-cart .shop_table thead th {
    background: var(--mm-gray-50, #F8FAFC);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--mm-gray-600, #475569);
    padding: 14px 16px;
    border-bottom: 1px solid var(--mm-gray-200, #E2E8F0);
}

body.mm-wc-cart .shop_table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--mm-gray-100, #F1F5F9);
    vertical-align: middle;
}

body.mm-wc-cart .shop_table .product-name a {
    color: var(--mm-dark, #0D1B2A);
    font-weight: 600;
    text-decoration: none;
}

body.mm-wc-cart .shop_table .product-name a:hover {
    color: var(--mm-red, #C0191C);
}

body.mm-wc-cart .shop_table .product-price,
body.mm-wc-cart .shop_table .product-subtotal {
    font-weight: 700;
    color: var(--mm-orange, #EA580C);
}

/* Cart actions */
body.mm-wc-cart .actions .button,
body.mm-wc-cart .checkout-button {
    background: var(--mm-red, #C0191C) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

body.mm-wc-cart .actions .button:hover,
body.mm-wc-cart .checkout-button:hover {
    background: var(--mm-red-dark, #8B0F11) !important;
}

/* Cart totals — full width under table */
body.mm-wc-cart .cart_totals {
    background: var(--mm-gray-50, #F8FAFC);
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    width: 100% !important;
    float: none !important;
    clear: both;
}

body.mm-wc-cart .cart_totals h2 {
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

/* Coupon field */
body.mm-wc-cart .coupon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

body.mm-wc-cart .coupon label {
    display: none;
}

body.mm-wc-cart .coupon .input-text {
    min-width: 200px;
    max-width: 280px;
    width: auto;
    padding: 10px 14px;
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 8px;
    font-family: var(--mm-font, 'Barlow', sans-serif);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

body.mm-wc-cart .coupon .input-text:focus {
    border-color: var(--mm-red, #C0191C);
}

body.mm-wc-cart .coupon .button {
    white-space: nowrap;
    padding: 10px 20px !important;
    font-size: 14px !important;
}

/* First payment date */
body.mm-wc-cart .first-payment-date {
    margin-top: 4px;
}

body.mm-wc-cart .first-payment-date small {
    color: var(--mm-gray-500, #64748B);
    font-size: 13px;
}


/* ============================================================
   7. CLASSIC CHECKOUT
   ============================================================ */

/* Global font */
body.mm-wc-checkout,
body.mm-wc-checkout * {
    font-family: var(--mm-font, 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif) !important;
}

body.mm-wc-checkout .site-content .content-area {
    width: 100% !important;
    max-width: 100% !important;
}

body.mm-wc-checkout .inside-article {
    max-width: 900px !important;
    padding: 32px 24px 80px !important;
}

/* Page title */
body.mm-wc-checkout .entry-title,
body.mm-wc-checkout .page-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--mm-dark, #0D1B2A);
    margin-bottom: 24px;
}

/* Coupon notice */
body.mm-wc-checkout .woocommerce-info {
    border-top-color: var(--mm-red, #C0191C);
    background: var(--mm-gray-50, #F8FAFC);
    color: var(--mm-gray-700, #334155);
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 32px;
}

body.mm-wc-checkout .woocommerce-info a {
    color: var(--mm-red, #C0191C);
    font-weight: 600;
}

/* Single-column layout (no shipping) */
body.mm-wc-checkout .col2-set {
    display: block;
    margin-bottom: 32px;
}

body.mm-wc-checkout .col2-set .col-1,
body.mm-wc-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
}

/* Additional fields */
body.mm-wc-checkout .woocommerce-additional-fields {
    margin-bottom: 40px;
}

/* Section headings */
body.mm-wc-checkout .woocommerce-billing-fields > h3,
body.mm-wc-checkout .woocommerce-additional-fields > h3,
body.mm-wc-checkout h3#order_review_heading {
    font-size: 20px;
    font-weight: 800;
    color: var(--mm-dark, #0D1B2A);
    margin: 0 0 20px;
    padding: 0;
}

/* Form labels */
body.mm-wc-checkout .form-row label {
    font-size: 14px;
    font-weight: 600;
    color: var(--mm-dark, #0D1B2A);
    margin-bottom: 6px;
    display: block;
}

body.mm-wc-checkout .form-row label .optional {
    color: var(--mm-gray-400, #94A3B8);
    font-weight: 400;
}

body.mm-wc-checkout .form-row label .required {
    color: var(--mm-red, #C0191C);
}

/* Input fields */
body.mm-wc-checkout .form-row .input-text,
body.mm-wc-checkout .form-row textarea,
body.mm-wc-checkout .form-row select,
body.mm-wc-checkout .select2-container--default .select2-selection--single {
    border: 1px solid var(--mm-gray-200, #E2E8F0) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: var(--mm-dark, #0D1B2A) !important;
    background: #fff !important;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

body.mm-wc-checkout .form-row .input-text:focus,
body.mm-wc-checkout .form-row textarea:focus {
    border-color: var(--mm-red, #C0191C) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 25, 28, 0.1);
}

body.mm-wc-checkout .select2-container--default .select2-selection--single {
    height: auto !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
}

body.mm-wc-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.4 !important;
    padding: 0 !important;
    color: var(--mm-dark, #0D1B2A) !important;
}

body.mm-wc-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 10px !important;
}

/* Form row spacing */
body.mm-wc-checkout .form-row {
    margin-bottom: 16px;
}

body.mm-wc-checkout .form-row-first,
body.mm-wc-checkout .form-row-last {
    width: 48% !important;
}

body.mm-wc-checkout .form-row-first {
    float: left;
}

body.mm-wc-checkout .form-row-last {
    float: right;
}

body.mm-wc-checkout .form-row-wide {
    clear: both;
}

/* Textarea */
body.mm-wc-checkout textarea.input-text {
    min-height: 80px;
    resize: vertical;
}

/* Order review table */
body.mm-wc-checkout .woocommerce-checkout-review-order-table {
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 12px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 24px;
}

body.mm-wc-checkout .woocommerce-checkout-review-order-table thead th {
    background: var(--mm-gray-50, #F8FAFC);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--mm-gray-600, #475569);
    padding: 14px 16px;
    border-bottom: 1px solid var(--mm-gray-200, #E2E8F0);
}

body.mm-wc-checkout .woocommerce-checkout-review-order-table tbody td,
body.mm-wc-checkout .woocommerce-checkout-review-order-table tfoot td,
body.mm-wc-checkout .woocommerce-checkout-review-order-table tfoot th {
    padding: 14px 16px;
    border-bottom: 1px solid var(--mm-gray-100, #F1F5F9);
    vertical-align: middle;
    font-size: 14px;
}

body.mm-wc-checkout .woocommerce-checkout-review-order-table .product-name {
    color: var(--mm-dark, #0D1B2A);
    font-weight: 600;
}

body.mm-wc-checkout .woocommerce-checkout-review-order-table .product-total,
body.mm-wc-checkout .woocommerce-checkout-review-order-table .cart-subtotal td,
body.mm-wc-checkout .woocommerce-checkout-review-order-table .order-total td {
    font-weight: 700;
    color: var(--mm-dark, #0D1B2A);
}

/* Variation details (miasto, tier) */
body.mm-wc-checkout .variation {
    font-size: 13px;
    color: var(--mm-gray-500, #64748B);
    margin-top: 6px;
}

body.mm-wc-checkout .variation dt {
    float: left;
    margin-right: 4px;
    font-weight: 600;
}

body.mm-wc-checkout .variation dd {
    margin: 0 0 4px;
}

body.mm-wc-checkout .variation dd p {
    margin: 0;
    display: inline;
}

/* Recurring totals */
body.mm-wc-checkout .recurring-totals th[colspan="2"] {
    font-size: 14px;
    font-weight: 700;
    color: var(--mm-dark, #0D1B2A);
    padding-top: 20px;
}

body.mm-wc-checkout .first-payment-date {
    margin-top: 4px;
}

body.mm-wc-checkout .first-payment-date small {
    color: var(--mm-gray-500, #64748B);
    font-size: 13px;
}

/* Payment section */
body.mm-wc-checkout #payment {
    background: var(--mm-gray-50, #F8FAFC);
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 12px;
    padding: 24px;
}

body.mm-wc-checkout #payment .payment_methods {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

body.mm-wc-checkout #payment .payment_methods li {
    padding: 12px 0;
    border-bottom: 1px solid var(--mm-gray-200, #E2E8F0);
}

body.mm-wc-checkout #payment .payment_methods li:last-child {
    border-bottom: none;
}

body.mm-wc-checkout #payment .payment_methods li label {
    font-weight: 600;
    cursor: pointer;
    display: inline;
}

body.mm-wc-checkout #payment .payment_box {
    background: #fff;
    border: 1px solid var(--mm-gray-200, #E2E8F0);
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--mm-gray-600, #475569);
}

body.mm-wc-checkout #payment .payment_box::before {
    display: none;
}

/* Place order button */
body.mm-wc-checkout #place_order {
    background: var(--mm-red, #C0191C) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
}

body.mm-wc-checkout #place_order:hover {
    background: var(--mm-red-dark, #8B0F11) !important;
}

/* Privacy policy text */
body.mm-wc-checkout .woocommerce-privacy-policy-text p {
    font-size: 13px;
    color: var(--mm-gray-500, #64748B);
    margin-bottom: 16px;
}

body.mm-wc-checkout .woocommerce-privacy-policy-text a {
    color: var(--mm-red, #C0191C);
}

/* Checkbox */
body.mm-wc-checkout .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--mm-gray-600, #475569);
}

/* Responsive: single column on mobile */
@media (max-width: 768px) {
    body.mm-wc-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.mm-wc-checkout .form-row-first,
    body.mm-wc-checkout .form-row-last {
        width: 100% !important;
        float: none;
    }

    body.mm-wc-checkout .inside-article {
        padding: 24px 16px 60px;
    }
}
