/**
 * WooCommerce Pages — General Styling
 *
 * Covers: Order Received, Cart, Checkout (and future pages).
 * Reuses CSS custom properties defined in main.css.
 *
 * Structure:
 *   1. Shared / base
 *   2. Order Received (thank-you) page
 *   3. Cart page          (placeholder — add styles here when ready)
 *   4. Checkout page      (placeholder — add styles here when ready)
 */

/* ============================================================
   1. SHARED / BASE
   ============================================================ */

/* Add breathing room at top and bottom of all WooCommerce pages */
.woocommerce-page .site-main {
    padding-top: 48px;
    padding-bottom: 64px;
}

/* Section headings used across WooCommerce pages */
.woocommerce-order-details__title,
.woocommerce-column h2,
.woocommerce-order h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

/* Primary button — matches the site's orange CTA style */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Alt / secondary button (e.g. "Continue shopping") */
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: var(--secondary-color);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: var(--text-dark);
    color: #fff;
}


/* ============================================================
   2. ORDER RECEIVED (THANK-YOU) PAGE
   ============================================================ */

/* ---- Success notice ---- */
.woocommerce-order p.woocommerce-thankyou-order-received {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f0fdf4;
    border-left: 4px solid var(--success-color);
    border-radius: 0 8px 8px 0;
    color: #166534;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 32px;
}

.woocommerce-order p.woocommerce-thankyou-order-received::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--success-color);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    border-radius: 50%;
}

/* ---- Order overview strip (ORDER NUMBER / DATE / EMAIL / TOTAL / PAYMENT) ---- */
ul.woocommerce-order-overview.order_details {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: flex;
    flex-wrap: wrap;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    gap: 1px;
}

ul.woocommerce-order-overview.order_details li {
    background: var(--bg-white);
    padding: 20px 18px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: none;
    border-top: 3px solid transparent;
    margin: 0;
    flex: 1;
}

/* Accent top-border on the first item (order number) */
ul.woocommerce-order-overview.order_details li:first-child {
    /* border-top-color: var(--primary-color); */
}

ul.woocommerce-order-overview.order_details li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 6px;
}

/* ---- Order details section ---- */
.woocommerce-order-details {
    margin-bottom: 40px;
}

/* Table */
table.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
}

table.woocommerce-table--order-details thead {
    background: var(--secondary-color);
}

table.woocommerce-table--order-details thead th {
    padding: 14px 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    border: none;
}

table.woocommerce-table--order-details thead th.product-total {
    text-align: right;
}

table.woocommerce-table--order-details tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    vertical-align: middle;
}

table.woocommerce-table--order-details tbody tr:last-child td {
    border-bottom: none;
}

table.woocommerce-table--order-details tbody td.product-total {
    text-align: right;
    font-weight: 600;
    color: var(--text-dark);
}

table.woocommerce-table--order-details tbody td a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

table.woocommerce-table--order-details tbody td a:hover {
    text-decoration: underline;
}

/* Table footer (subtotal / total rows) */
table.woocommerce-table--order-details tfoot tr th,
table.woocommerce-table--order-details tfoot tr td {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-dark);
}

table.woocommerce-table--order-details tfoot tr th {
    text-align: left;
    font-weight: 600;
}

table.woocommerce-table--order-details tfoot tr td {
    text-align: right;
    font-weight: 600;
}

/* Highlight the grand total row */
table.woocommerce-table--order-details tfoot tr.order-total th,
table.woocommerce-table--order-details tfoot tr.order-total td {
    font-size: 16px;
    font-weight: 700;
    background: var(--bg-light);
}

/* ---- Customer details (billing / shipping addresses) ---- */
.woocommerce-customer-details {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px; */
    margin-bottom: 32px;
}

.woocommerce-column {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
}

.woocommerce-column address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);

}
/* Phone / email lines below the address */
.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
    text-decoration: none;
}


/* ============================================================
   3. CART PAGE
   (Add cart-specific styles here when styling that page)
   ============================================================ */


/* ============================================================
   4. CHECKOUT PAGE
   ============================================================ */

/*
 * iOS Safari — payment method list visibility
 *
 * Without wp-block-library CSS the payment method radios were being
 * clipped/collapsed on mobile. These rules act as a safety net so the
 * payment options section always has a visible minimum height and its
 * items are not display:none on any browser.
 */
.wc-block-components-radio-control,
.wc-block-components-radio-control__option,
.wc-block-components-payment-method-label {
    min-height: 1px;  /* prevent zero-height collapse */
}

/*
 * iOS Safari — tap target sizes for payment method radio inputs.
 * The default WC Blocks radio is small; iOS Safari requires a 44px
 * tap target. Without this, users may struggle to select a payment method.
 */
.wc-block-components-radio-control__input {
    min-width: 20px;
    min-height: 20px;
    -webkit-appearance: none;
    appearance: none;
}

/*
 * iOS Safari — prevent -webkit-tap-highlight from obscuring the
 * payment method selection feedback on the checkout form.
 */
.wc-block-checkout .wc-block-components-radio-control__option,
.wc-block-checkout .wc-block-components-payment-method-label {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}


/* ============================================================
   5. MY ACCOUNT PAGE
   ============================================================ */

/* Page heading */
.woocommerce-account .entry-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

/* Reset any WooCommerce max-width constraint on the account page */
.woocommerce-account .woocommerce {
    max-width: none;
    width: 100%;
}

/* ---- Layout: sidebar + content ---- */
.my-account-wrapper {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    width: 100%;
}

/* ---- Navigation sidebar ---- */
.account-sidebar {
    flex: 0 0 200px;
    width: 200px; /* belt-and-braces fallback */
}

.woocommerce-MyAccount-navigation {
    /* Override WooCommerce layout.css: float:left; width:30% */
    float: none !important;
    width: 100% !important;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 26px;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    padding-left: 20px;
}

/* ---- Content panel ---- */
.woocommerce-MyAccount-content {
    /* Override WooCommerce layout.css: float:right; width:68% */
    float: none !important;
    width: auto !important;
    flex: 1;
    min-width: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 28px 32px;
}

/* Welcome / intro text */
.woocommerce-MyAccount-content > p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 12px;
}

.woocommerce-MyAccount-content > p a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-MyAccount-content > p a:hover {
    text-decoration: underline;
}

/* Sub-headings within the content panel */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* ---- Info / notice messages (e.g. "No downloads available") ---- */
.woocommerce-MyAccount-content .woocommerce-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 56px 32px;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 16px;
}

/* Icon: download arrow in a circle */
.woocommerce-MyAccount-content .woocommerce-info::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px 26px;
}

/* Button sits cleanly below the text */
.woocommerce-MyAccount-content .woocommerce-info a.button {
    margin-top: 4px;
}

/* ---- Orders table ---- */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
    margin-top: 8px;
}

.woocommerce-orders-table thead {
    background: var(--secondary-color);
}

.woocommerce-orders-table thead th {
    padding: 13px 18px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    border: none;
}

.woocommerce-orders-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    vertical-align: middle;
}

.woocommerce-orders-table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-orders-table tbody tr:hover td {
    background: var(--bg-light);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

/* ---- Address sections ---- */
/* WooCommerce renders addresses inside .col2-set.addresses with floated children.
   Override to use a simple grid. */
.woocommerce-account .col2-set.addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    overflow: visible;
    margin-top: 8px;
}

.woocommerce-account .col2-set.addresses::before,
.woocommerce-account .col2-set.addresses::after {
    display: none !important;
}

.woocommerce-account .col2-set.addresses .woocommerce-Address {
    float: none !important;
    width: auto !important;
}

.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.woocommerce-Address {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
}

.woocommerce-Address .woocommerce-Address-title {
    
    display: inline-block;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    /* border-bottom: 2px solid var(--primary-color); */
    /* Override WooCommerce clearfix pseudo-elements */
    overflow: hidden;
}

.woocommerce-Address .woocommerce-Address-title::after, .woocommerce-Address .woocommerce-Address-title::before{
    /* display: none !important; */
}

.woocommerce-Address .woocommerce-Address-title h2,
.woocommerce-Address .woocommerce-Address-title h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: inline-block;
}

.woocommerce-Address .woocommerce-Address-title a {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 20px;
    line-height: 2em;
    text-decoration: none;
}

.woocommerce-Address .woocommerce-Address-title a:hover {
    text-decoration: underline;
}

.woocommerce-Address address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ---- Account details / edit form ---- */

/* Override WooCommerce layout.css float-based form rows */
.woocommerce-MyAccount-content .form-row {
    float: none !important;
    clear: none !important;
    margin-bottom: 16px;
}

.woocommerce-MyAccount-content .woocommerce-form-row {
    margin-bottom: 16px;
    float: none !important;
    width: 100% !important;
}

/* Side-by-side first/last name — override WooCommerce's 47% float */
.woocommerce-MyAccount-content .form-row-first,
.woocommerce-MyAccount-content .form-row-last,
.woocommerce-MyAccount-content .woocommerce-form-row--first,
.woocommerce-MyAccount-content .woocommerce-form-row--last {
    display: inline-block;
    width: calc(50% - 8px) !important;
    float: none !important;
    vertical-align: top;
}

.woocommerce-MyAccount-content .form-row-first,
.woocommerce-MyAccount-content .woocommerce-form-row--first {
    margin-right: 16px;
}

.woocommerce-MyAccount-content .woocommerce-form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 6px;
}

.woocommerce-MyAccount-content .woocommerce-form-row input[type="text"],
.woocommerce-MyAccount-content .woocommerce-form-row input[type="email"],
.woocommerce-MyAccount-content .woocommerce-form-row input[type="password"],
.woocommerce-MyAccount-content .woocommerce-form-row input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--text-dark);
    transition: border-color 0.2s ease;
    background: var(--bg-white);
    box-sizing: border-box;
}

.woocommerce-MyAccount-content .woocommerce-form-row input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Helper text beneath fields */
.woocommerce-MyAccount-content .woocommerce-form-row em {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    display: block;
    margin-top: 4px;
}

/* Password change fieldset */
.woocommerce-MyAccount-content fieldset {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 20px 0;
}

.woocommerce-MyAccount-content fieldset legend {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 8px;
}

.woocommerce-MyAccount-content .woocommerce-notices-wrapper:empty {
    display: none;
}

.wc-block-components-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: var(--primary-color);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    text-decoration: none;
}

.wc-block-components-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.wc-block-components-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.wc-block-components-button__text {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .woocommerce-page .site-main {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    ul.woocommerce-order-overview.order_details {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce-customer-details {
        grid-template-columns: 1fr;
    }

    table.woocommerce-table--order-details thead th,
    table.woocommerce-table--order-details tbody td,
    table.woocommerce-table--order-details tfoot tr th,
    table.woocommerce-table--order-details tfoot tr td {
        padding: 12px 14px;
    }

    /* My Account: stack nav above content on mobile */
    .my-account-wrapper {
        flex-direction: column;
    }

    .account-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
    }

    .woocommerce-MyAccount-navigation ul li {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
    }

    .woocommerce-MyAccount-navigation ul li:last-child {
        border-right: none;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 10px 16px;
        font-size: 13px;
    }

    .woocommerce-MyAccount-navigation ul li a:hover {
        padding-left: 16px;
    }

    /* Stack first/last name fields on mobile */
    .woocommerce-MyAccount-content .form-row-first,
    .woocommerce-MyAccount-content .form-row-last,
    .woocommerce-MyAccount-content .woocommerce-form-row--first,
    .woocommerce-MyAccount-content .woocommerce-form-row--last {
        display: block;
        width: 100% !important;
        margin-right: 0;
    }

    .woocommerce-account .col2-set.addresses {
        grid-template-columns: 1fr !important;
    }

    /* Reduce page heading size on mobile */
    .woocommerce-account .entry-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Tighten content panel padding slightly */
    .woocommerce-MyAccount-content {
        padding: 16px 14px;
    }

    /* Nav tab items: allow even wrapping and slightly more breathing room */
    .woocommerce-MyAccount-navigation ul li a {
        padding: 3px 12px;
    }

    /* Orders table: stack cells as label-value pairs */
    .woocommerce-orders-table thead {
        display: none;
    }

    .woocommerce-orders-table tbody tr {
        display: block;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .woocommerce-orders-table tbody tr:hover td {
        background: transparent;
    }

    .woocommerce-orders-table tbody td,
    .woocommerce-orders-table tbody th {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 14px;
        border-bottom: 1px solid var(--border-color);
        font-size: 13px;
    }

    .woocommerce-orders-table tbody tr td:last-child,
    .woocommerce-orders-table tbody tr th:last-child {
        border-bottom: none;
    }

    /* Label from data-title attribute */
    .woocommerce-orders-table tbody td::before,
    .woocommerce-orders-table tbody th::before {
        content: attr(data-title);
        font-weight: 700;
        color: var(--text-dark);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        flex-shrink: 0;
        margin-right: 12px;
    }

    /* Action buttons: suppress the redundant "Actions" label, right-align buttons */
    .woocommerce-orders-table__cell-order-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 14px 12px;
    }

    .woocommerce-orders-table__cell-order-actions::before {
        display: none;
    }

    .woocommerce-orders-table__cell-order-actions .button,
    .woocommerce-orders-table__cell-order-actions a.button {
        flex-shrink: 0;
        /* min-width: 72px; */
        text-align: center;
    }

    .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a.woocommerce-button{
        padding: 7px !important;
        margin: 0 4px !important;   
    }

    .woocommerce-MyAccount-content{
        width: 100% !important;
    }

    .woocommerce-MyAccount-content .woocommerce-info::before {
        display: none;
    }
}

@media (max-width: 480px) {
    ul.woocommerce-order-overview.order_details {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Pixxles payment modal overlay — hosted_v3 (Hosted Modal) integration
   ========================================================================== */

dialog.pixxles-payment-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    padding: 0;
    width: min(640px, 95vw);
    max-height: 90vh;
    overflow: hidden;
}

dialog.pixxles-payment-modal::backdrop {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pixxles-payment-modal__inner {
    position: relative;
    display: flex;
    flex-direction: column;
}

.pixxles-payment-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 10;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.pixxles-payment-modal__close:hover,
.pixxles-payment-modal__close:focus-visible {
    background: rgba(0, 0, 0, 0.35);
    outline: 2px solid var(--primary-color, #f60);
    outline-offset: 2px;
}

.pixxles-payment-modal__iframe {
    display: block;
    width: 100%;
    height: 620px;
    border: none;
    border-radius: 12px;
}
