.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.promotion-card {
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s;
}

.promotion-card.promotion-applied {
    cursor: default;
    opacity: 0.55;
    pointer-events: none;
}

.promotion-card.promotion-applied .promotion-apply-button {
    cursor: default;
    background-color: #e9ecef;
    color: #6c757d;
    border-color: #dae0e5;
}

.promotion-card.promotion-restricted {
    cursor: default;
    background-color: rgba(0, 0, 0, 0.66);
    transform: none !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
    pointer-events: none;
}

.promotion-card.promotion-restricted:hover {
    transform: none !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
}


.promotion-restricted-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: inherit;
    pointer-events: auto;
}

.promotion-restricted-text {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.promotion-restricted-link {
    font-size: 0.95rem;
    color: #fff;
    text-decoration: underline;
    font-weight: normal;
    pointer-events: auto;
}

.promotion-restricted-link:hover,
.promotion-restricted-link:focus {
    color: #ffe69c;
}

.promotion-card.promotion-applying::after {
    content: '適用中...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.85);
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    font-weight: bold;
    color: #007bff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.promotion-card .promotion-apply-button {
    margin-left: 1rem;
}

.promotion-card:hover .promotion-apply-button {
    background-color: #007bff;
    color: #fff;
}

.promotion-card.promotion-applying .promotion-apply-button {
    opacity: 0.6;
}

.badge {
    font-size: 0.85em;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.promotion-notice {
    gap: 0.5rem 2rem;
}

.promotion-notice__count {
    min-width: 180px;
}


.promotion-notice__message {
    min-width: 220px;
}

.promotion-advice {
    line-height: 1.6;
    background-color: #fff3cd;
    border-color: #ffe69c;
    color: #664d03;
}

@media (max-width: 575.98px) {
    .promotion-notice {
        align-items: stretch !important;
    }

    .promotion-notice__message {
        text-align: left !important;
    }
}

