/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* =============================================
   Easy Returns – Order detail button
   ============================================= */

.easyreturns-order-detail-button-wrapper {
    background: #ffffff;
    margin: 1rem 0;
}

.easyreturns-order-detail-button-wrapper {
    margin-top: 1.25rem;
    padding-top: 1rem;
}

/* =============================================
   Easy Returns – Footer button
   ============================================= */

.easyreturns-footer-button-wrapper {
    margin: 1rem 0;
}

.easyreturns-footer-button-inner {
    display: inline-block;
    margin-top: 1.25rem;
    padding-top: 1rem;
}

/* Shared button base for configurable Easy Returns variants */
.er-btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 30px;
    text-decoration: none;
    text-transform: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.er-btn:hover,
.er-btn:focus {
    text-decoration: none;
}

.er-btn--1 {
    color: #ffffff !important;
    background-color: #232323 !important;
    border: 2px solid #232323 !important;
}

.er-btn--1:hover,
.er-btn--1:focus {
    color: #ffffff !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
}

.er-btn--1:active {
    color: #ffffff !important;
    background-color: #111111 !important;
    border-color: #111111 !important;;
}

.er-btn--2 {
    color: #232323 !important;
    background-color: #ffffff !important;
    border: 2px solid #232323 !important;
}

.er-btn--2:hover,
.er-btn--2:focus {
    color: #000000 !important;
    background-color: #f3f3f3 !important;
    border-color: #000000 !important;
}

.er-btn--2:active {
    color: #000000 !important;
    background-color: #ebebeb !important;
    border-color: #111111 !important;
}

/* Custom variant currently maps to the primary base style. */
.er-btn--custom {
    color: #ffffff;
    background-color: #232323;
    border: 2px solid #232323;
}

.er-btn--custom:hover,
.er-btn--custom:focus {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
}

.er-btn--custom:active {
    color: #ffffff;
    background-color: #111111;
    border-color: #111111;
}

/* =============================================
   Easy Returns – CMS widget
   ============================================= */

.easyreturns-cms-widget {
    margin: 2rem 0 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid #dcdfe4;
    background: #ffffff;
}

.easyreturns-cms-widget__title {
    margin: 0 0 1.35rem;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

.easyreturns-cms-widget__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: 0.55rem;
}

.easyreturns-cms-widget__step {
    min-width: 0;
}

.easyreturns-cms-widget__step-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.easyreturns-cms-widget__step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2d2d31;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

.easyreturns-cms-widget__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f2f2f4;
    color: #7b7f86;
}

.easyreturns-cms-widget__step-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.easyreturns-cms-widget__step-title {
    margin: 0 0 0.55rem;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2f3135;
    display: block;
    width: 100%;
    max-width: none;
    text-align: left;
    white-space: normal;
}

.easyreturns-cms-widget__step-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #676b72;
    display: block;
    width: 100%;
    max-width: none;
    white-space: normal;
    text-align: left;
}

.easyreturns-cms-widget__actions {
    margin-top: 1.4rem;
    display: flex;
    justify-content: flex-start;
}

.easyreturns-cms-widget__btn {
    min-width: 340px;
    text-align: center;
    font-size: 1.02rem;
}

.easyreturns-cms-widget__legal {
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #8b8f95;
    text-align: right;
}

@media (min-width: 992px) {
    .easyreturns-cms-widget__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .easyreturns-cms-widget__actions {
        justify-content: flex-end;
    }
}

/* =============================================
   Easy Returns – Return form
   ============================================= */

.er-product-card__status-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 0.08rem 0.55rem;
    border: 1px solid #7a7f86;
    border-radius: 999px;
    color: #2f343a;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
}

.er-return-form {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.er-form-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ── Select all ── */
.er-select-all-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.er-select-all-row__cb {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

/* ── Order bar ── */
.er-order-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #555;
    padding: 0.6rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.er-order-bar__item strong {
    color: #111;
}

.er-order-bar__dot {
    color: #ccc;
}

/* ── Product list ── */
.er-product-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ── Product card ── */
.er-product-card,
.er-customer-data-card {
    position: relative;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
    transition: border-color 0.15s ease;
}

/* Utility: hide elements without using inline styles in templates */
.easyreturns-is-hidden {
    display: none !important;
}

.er-product-card--selected {
    border-color: #1B73E8;
}

.er-product-card--disabled {
    background: #f5f6f7;
    border-color: #d7d9dc;
    opacity: 0.72;
}

/* Top bar: checkbox (left) + check icon (right) */
.er-product-card__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.er-product-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Body: image + info */
.er-product-card__body,
.er-customer-data-card__body {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.er-product-card__img-wrap {
    flex-shrink: 0;
}

.er-product-card__img,
.er-product-card__img-placeholder {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    display: block;
}

.er-product-card__img-placeholder {
    background: #f5f5f5;
}

.er-product-card__info,
.er-customer-data-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.er-product-card__ref,
.er-customer-data-card__ref {
    font-size: 0.75rem;
    color: #999;
}

.er-customer-data-card__ref {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.er-product-card__name,
.er-customer-data-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.er-customer-data-card__name {
    font-size: 0.85rem;
}

.er-product-card__attrs,
.er-customer-data-card__attrs {
    font-size: 0.85rem;
    color: #555;
}

.er-product-card__attrs {
    margin-top: 0.1rem;
}

.er-product-card__price,
.er-customer-data-card__price {
    font-size: 0.85rem;
    color: #555;
    margin-top: 0.1rem;
}

.er-product-card__price strong,
.er-customer-data-card__price strong,
.er-product-card__attrs strong {
    color: #111;
}

.er-customer-data-card__note {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.5;
    margin: 0.25rem 0 0;
}

.er-customer-data-card {
    margin-bottom: 0.9rem;
    background: #f7f7f7;
}

.er-customer-data-card .er-product-card__img-placeholder {
    background: #f0f3f7;
}

/* Qty within card */
.er-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.er-qty-wrap__label {
    font-size: 0.8rem;
    color: #777;
    white-space: nowrap;
}

.er-qty-wrap .er-qty-input {
    width: 70px;
    height: 32px;
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    text-align: center;
}

/* ── Return reasons ── */
.er-reasons-list {
    margin-top: 0.9rem;
    padding-top: 0.75rem;
}

.er-reasons-list__label {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.6rem;
}

.er-reasons-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.er-reason-chip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.35rem 0.85rem;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #333;
    text-align: left;
    transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    user-select: none;
}

.er-reason-chip span {
    display: block;
    text-align: left;
}

.er-reason-chip input[type="radio"] {
    display: none;
}

.er-reason-chip:hover {
    border-color: #aaa;
    background: #fafafa;
}

.er-reason-chip--selected {
    border-color: #1B73E8;
    background: rgba(27, 115, 232, 0.07);
    color: #1B73E8;
}

/* ── Refund section ── */
.er-refund-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.er-refund-section__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.er-field {
    margin-bottom: 1rem;
}

.er-field__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.4rem;
}

.er-bank-input {
    font-size: 0.9rem;
}

/* Estimated refund box */
.er-estimated-refund {
    margin-top: 1rem;
    background: #f7f7f7;
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.er-estimated-refund__heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
}

.er-estimated-refund__amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.er-estimated-refund__note {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.5;
    margin: 0.25rem 0 0;
}

/* ── Form actions ── */
.er-form-actions {
    margin-top: 1.75rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.er-btn-submit {
    padding: 0.65rem 1.75rem;
}

.er-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Desktop ── */
@media (min-width: 768px) {

    .er-return-form {
        max-width: 620px;
        padding: 0 2rem 3rem;
    }

    .er-form-heading {
        font-size: 1.5rem;
    }

    .er-product-card__img,
    .er-product-card__img-placeholder {
        width: 90px;
        height: 90px;
    }

    .er-product-card__name,
    .er-customer-data-card__name {
        font-size: 1rem;
    }

    .er-customer-data-card__name {
        font-size: 0.85rem;
    }
}

/* =============================================
   Easy Returns – Success page
   ============================================= */

.easyreturns-success {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

/* ── Header ── */
.er-success-header {
    padding: 2rem 0 1.5rem;
}

.er-success-icon {
    margin-bottom: 1rem;
}

.er-success-icon svg {
    width: 48px;
    height: 48px;
}

.er-success-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.er-success-subtitle {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0;
}

/* ── Generic section ── */
.er-section {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.er-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 0.35rem;
}

.er-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.er-value-block {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Two-column grid for order + data (desktop) ── */
.er-info-grid {
    display: block;
}

/* ── Products ── */
.er-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.er-products-header:hover {
    background: #fafafa;
}

.er-products-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.er-products-toggle-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
}

.er-products-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 0 0;
}

.er-product-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media(max-width: 575px){
    .er-product-card {
     flex-wrap: wrap;
    }
}

.er-product-thumb {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.er-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.er-product-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.er-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.er-product-attrs {
    font-size: 0.8rem;
    color: #555;
}

.er-product-ref {
    font-size: 0.75rem;
    color: #999;
}

.er-product-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

/* ── Refund + bank row (desktop) ── */
.er-refund-row {
    display: block;
}

/* ── Refund amount ── */
.er-refund-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.er-refund-info {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ── Bank account ── */
.er-bank-account {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.er-bank-number {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ── Details toggle ── */
.er-details-toggle-wrapper {
    padding: 1.25rem 0;
}

.er-toggle-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #333;
    text-decoration: none;
}

.er-toggle-link:hover {
    color: #000;
    text-decoration: none;
}

/* ── Carrier / Wygodne Zwroty ── */
.er-carrier-section {
    padding: 0.5rem 0 1.5rem;
    text-align: center;
}

.er-carrier-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    background-color: #232323;
    border-color: #232323;
    color: #fff;
}

.er-carrier-btn:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.er-carrier-legal {
    font-size: 0.7rem;
    color: #999;
    line-height: 1.5;
    margin-top: 1rem;
    text-align: left;
}

/* ── Self-ship alternative ── */
.er-self-ship-section {
    padding: 1rem 0 0;
    border-top: 1px solid #eee;
}

.er-self-ship-intro {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.er-return-address {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Back to store ── */
.er-back-section {
    padding: 2rem 0 0;
}

.er-back-section .btn {
    color: #333;
    border-color: #ccc;
    background-color: #fff;
}

.er-back-section .btn:hover {
    color: #000;
    border-color: #999;
    background-color: #f5f5f5;
}

/* =============================================
   Desktop / Tablet (≥ 768px)
   ============================================= */

@media (min-width: 768px) {

    .easyreturns-success {
        max-width: 680px;
        padding: 0 2rem 3rem;
    }

    /* Header */
    .er-success-header {
        padding: 2.5rem 0 2rem;
    }

    .er-success-icon svg {
        width: 56px;
        height: 56px;
    }

    .er-success-title {
        font-size: 1.5rem;
    }

    .er-success-subtitle {
        font-size: 1rem;
    }

    /* Two-column grid: order number + your data side by side */
    .er-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 2rem;
    }

    .er-info-grid .er-section {
        border-bottom: none;
        padding-bottom: 0;
    }

    .er-info-grid + .er-section,
    .er-info-grid + .er-details-divider {
        border-top: 1px solid #eee;
    }

    /* Sections */
    .er-section {
        padding: 1.25rem 0;
    }

    .er-label {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .er-value {
        font-size: 1.1rem;
    }

    .er-value-block {
        font-size: 0.95rem;
    }

    /* Products */
    .er-products-header {
        padding: 0.85rem 1rem;
    }

    .er-products-label {
        font-size: 1rem;
    }

    .er-products-list {
        gap: 0.85rem;
        padding: 1rem 0 0;
    }

    .er-product-thumb {
        width: 80px;
        height: 80px;
        min-width: 80px;
        border-radius: 8px;
    }

    .er-product-name {
        font-size: 0.95rem;
        white-space: normal;
    }

    .er-product-ref {
        font-size: 0.8rem;
    }

    .er-product-price {
        font-size: 0.9rem;
    }

    /* Refund + bank side by side */
    .er-refund-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 2rem;
    }

    .er-refund-row .er-section {
        border-bottom: none;
        padding-bottom: 0;
    }

    .er-refund-amount {
        font-size: 1.75rem;
    }

    .er-refund-info {
        font-size: 0.85rem;
    }

    .er-bank-number {
        font-size: 1rem;
    }

    /* Carrier button */
    .er-carrier-btn {
        width: auto;
        display: inline-block;
        min-width: 320px;
        padding: 1rem 2.5rem;
        font-size: 1.05rem;
    }

    .er-carrier-legal {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.72rem;
        text-align: center;
    }

    /* Self-ship */
    .er-self-ship-intro {
        font-size: 0.9rem;
    }

    .er-return-address {
        font-size: 0.95rem;
    }
}

/* =============================================
   Large desktop (≥ 1024px)
   ============================================= */

@media (min-width: 1024px) {

    .easyreturns-success {
        max-width: 740px;
    }

    .er-success-title {
        font-size: 1.65rem;
    }

    .er-success-subtitle {
        font-size: 1.05rem;
    }

    .er-product-thumb {
        width: 90px;
        height: 90px;
        min-width: 90px;
    }

    .er-refund-amount {
        font-size: 2rem;
    }
}

/* =============================================
   Modal
   ============================================= */
   .er-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.er-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 32px 24px;
    border-radius: 24px 24px 0 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .er-modal-overlay {
        align-items: center;
    }
    .er-modal-content {
        border-radius: 24px;
    }
}

@media(max-width: 767px){
    .er-modal-content {
        width: 90%;
        max-width: 500px;
        height: fit-content;
        bottom: 0;
        position: absolute;
    }
}

.er-modal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 0 0 12px 0;
}

.er-modal-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin: 0 0 24px 0;
}

.er-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.er-btn-confirm, .er-btn-cancel {
    width: 100%;
    padding: 0.65rem 1.75rem;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}

.er-btn-confirm {
    background-color: #232323;
    color: #fff;
    border: none;
}

.er-btn-cancel {
    background-color: #fff;
    color: #232323;
    border: 2px solid #232323;
}

.er-btn-confirm:hover, .er-btn-cancel:hover {
    opacity: 0.8;
}

/* =============================================
   Footer button
   ============================================= */

#footer .easyreturns-footer-button-inner
{
    display: inline-block;
    padding-top: 0;
    margin-top: 0;
}

#footer .easyreturns-footer-button-wrapper{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0 15px;
}

@media(max-width: 767px){
    #footer .easyreturns-footer-button-wrapper{
        justify-content: center;
    }
}

/* =============================================
    Your orders page
    ============================================= */

#easyreturns-form .er-product-card{
    flex-wrap: wrap;
}

/* =============================================
    quantity input
    ============================================= */


.er-info-quantity-return:not(.er-product-card--selected .er-info-quantity-return){
    display: none;
}

.er-info-quantity ~ .er-qty-wrap{
    flex-direction: column;
    align-items: start;
}

.er-qty-returned-box{
    display: flex;
    gap: 0.5rem;
    align-items:center;
    flex-wrap: wrap;
}

.er-qty-returned-box .input-group.er-qty-wrapper .form-control{
    background-color: white;
    font-weight: bolder;
    color: #232323;
}

.er-qty-returned-box .input-group.er-qty-wrapper .form-control:focus{
    border: 1px solid rgba(0, 0, 0, 0.25);
}
.er-qty-returned-box .input-group.er-qty-wrapper .btn.form-control {
    font-size: 1.2rem;
    padding: 0.2rem 0.5rem;
    text-align: center;
    width: 32px;
    height: 32px;
}

.er-qty-returned-box .er-qty-minus, .er-qty-returned-box .er-qty-minus:focus{
    border-right-color: transparent !important;
}

.er-qty-returned-box .er-qty-plus, .er-qty-returned-box .er-qty-plus:focus{
    border-left-color: transparent !important;
}

.er-info-quantity-return {
    font-weight: bolder;
    color: #232323;
}

.input-group.er-qty-wrapper{
    width: fit-content;
}

@media(max-width: 400px){
    .er-product-card__body{
        flex-direction: column;
    }
}

#order-detail .easyreturns-order-detail-button-wrapper{
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: white;
    margin-top: 0;
    display: flex;
    justify-content: center;
}