.home-shop-payout-module {
    position: relative;
}

.home-shop-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--theme-surface-1), rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.14));
    border: 1px solid rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.45);
    box-shadow: 0 22px 48px -34px rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.82);
    color: var(--theme-text-primary);
}

[data-bs-theme="dark"] .home-shop-card {
    background: linear-gradient(135deg, rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.22), var(--theme-surface-2));
    border-color: rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.55);
    box-shadow: 0 26px 60px -34px rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.75);
}

.home-shop-card__logo {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--theme-surface-2), rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.18));
    border: 1px solid rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.4);
}

.home-shop-card__logo img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.home-shop-card__logo-icon {
    font-size: 1.15rem;
    color: var(--theme-text-secondary);
}

.home-shop-card__details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.home-shop-card__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-text-primary);
}

.home-shop-card__label {
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--theme-text-muted);
}

.home-shop-card__cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    min-width: 0;
}

.home-shop-card__amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    white-space: nowrap;
}

.home-shop-card__cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding-inline: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.home-shop-card__cta-button .btn-icon {
    font-size: 1rem;
}

.home-shop-card__cta-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.45);
}

.home-shop-card__cta-button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.home-shop-alert {
    border-radius: 12px;
}

.home-shop-drawer {
    z-index: 1050;
}

.home-shop-drawer .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.home-shop-drawer__balance {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-shop-drawer__label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    color: var(--theme-text-muted);
    margin-bottom: 0.35rem;
}

.home-shop-drawer__amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--theme-text-primary);
}

.home-shop-drawer__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.1);
    color: var(--theme-text-secondary);
    font-size: 0.75rem;
}

.home-shop-chip--minimum {
    background: rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.15);
    border: 1px solid rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.35);
    font-weight: 600;
}

.home-shop-chip--minimum i {
    color: rgba(var(--flipt-primary-rgb, 0, 166, 156), 1);
}

[data-bs-theme="dark"] .home-shop-chip {
    background: rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.18);
    color: var(--theme-text-primary);
}

.home-shop-drawer__message {
    font-size: 0.85rem;
}

.home-shop-drawer .shop-option {
    border-radius: 12px;
    border: 1px solid var(--theme-border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    background: var(--theme-surface-1);
}

.home-shop-drawer .shop-option:hover {
    border-color: rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.45);
    box-shadow: 0 12px 24px -18px rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.75);
    transform: translateY(-1px);
}

.home-shop-drawer .shop-option.active {
    border-color: rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.65);
    box-shadow: 0 16px 32px -20px rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.85);
}

.home-shop-drawer .shop-option:focus-visible {
    outline: 3px solid rgba(var(--flipt-primary-rgb, 0, 166, 156), 0.8);
    outline-offset: 2px;
}

.home-shop-drawer .shop-meta {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
}

.home-shop-drawer__form {
    margin-top: 1.25rem;
}

.home-shop-drawer__form .input-group {
    display: flex;
    flex-wrap: nowrap;
}

.home-shop-drawer__form .input-group .input-group-text {
    flex-shrink: 0;
}

.home-shop-drawer__form .input-group .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.home-shop-help {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 1.25rem;
}

@media (max-width: 680px) {
    .home-shop-card {
        flex-wrap: wrap;
        padding: 0.75rem 0.85rem;
    }

    .home-shop-card__cta {
        width: 100%;
        justify-content: space-between;
    }

    .home-shop-card__cta-button {
        flex: 1 0 auto;
        justify-content: center;
    }

    .home-shop-card__amount {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .home-shop-card__logo {
        flex-basis: 40px;
        height: 40px;
    }

    .home-shop-card__logo img {
        max-width: 32px;
        max-height: 32px;
    }

    .home-shop-card__name {
        font-size: 0.92rem;
    }

    .home-shop-card__amount {
        font-size: 1.15rem;
    }
}
