/* Public checkout */
.public-shop-logout {
    display: inline-block;
    margin: 0;
}

.public-shop-logout-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.public-shop-logout-button:hover {
    text-decoration: underline;
}

.user-box .public-shop-logout-button {
    color: #c0984d;
}

.public-shop-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.public-shop .native-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.public-shop .native-fields label,
.public-shop .cart-item {
    min-width: 0;
}

.public-shop .cart-item-name {
    overflow-wrap: anywhere;
}

.public-shop .cart-total {
    text-align: right;
    margin: 1.5rem 0;
}
/* end of Public checkout */

/* Restored customer pages */
.public-home-icon {
    width: 40px;
    height: 40px;
}

.public-storefront .cart-item-name,
.public-order-number,
.public-address,
.public-storefront .billing-summary {
    overflow-wrap: anywhere;
}

.public-cart-image {
    max-height: 100px;
    object-fit: contain;
}

.public-storefront .qty-group {
    flex-wrap: nowrap;
}

.public-storefront .qty-group input {
    min-width: 45px;
    padding-right: 0.2rem;
    padding-left: 0.2rem;
}

.public-storefront .qty-group .btn {
    min-width: 28px;
    padding-right: 0.3rem;
    padding-left: 0.3rem;
}

.public-billing-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: center;
}

.public-billing-button .option-content {
    height: 100%;
}

.public-storefront .billing-summary > span,
.public-storefront .billing-summary > strong,
.public-address > span,
.public-address > strong {
    display: block;
}

.public-storefront .billing-summary .sum-edit {
    margin-top: 1rem;
    color: #a77d32;
}

.public-storefront .order-summary li {
    gap: 0.75rem;
}

.public-storefront .order-summary li > :last-child {
    flex-shrink: 0;
}

.public-storefront .option-content {
    overflow-wrap: anywhere;
}

.public-storefront .option-box input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    display: block;
}

.public-storefront .option-box input:focus-visible + .option-content,
.public-billing-button:focus-visible .option-content {
    outline: 3px solid #18344b;
    outline-offset: 3px;
}

.public-billing-form {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    min-height: 0;
}

.public-account-link {
    color: #18344b;
    text-decoration: none;
}

.public-account-link > i {
    font-size: 1.8rem;
}

.public-recovery .card {
    padding: 1.5rem !important;
    background-color: #fdfdfd;
    border: 1px solid #e4decf;
    border-radius: 12px;
}

.public-recovery .native-fields {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.public-storefront .status-badge {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .public-storefront .cart-item .card-body {
        padding: 1rem;
    }

    .public-storefront .cart-item-name {
        font-size: 1rem;
    }

    .public-storefront .option-content {
        padding: 0.75rem 0.5rem;
    }

    .public-storefront .orders-table {
        min-width: 640px;
    }

    .public-storefront h1.h1 {
        font-size: 1.7rem;
    }
}
/* end of Restored customer pages */
