.deal-title {
    color: black !important;
    text-decoration: none;
}

.deal-button {
    background-color: #0F4C81 !important;
    color: white !important;
    font-weight: 300;
    border: none;
    padding: 0.5rem 0.85rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.deal-button:hover {
    background-color: #105893 !important;
}

.deal-button.disabled,
.deal-button[aria-disabled="true"] {
    background-color: #adb5bd !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    color: white !important;
}

.vote-box-pill {
    background-color: #f2f2f2;
    border-radius: 30px;
    padding: 3px 3px;
    display: flex;
    gap: 5px;
}

.vote-button {
    background: none;
    border: none;
    font-size: 1rem;
    color: #6c757d;
    cursor: pointer;
}

.vote-button:hover {
    color: #000;
}

.vote-button.active {
    color: #28a745;
}

.vote-button.active[name="vote"][value="downvote"] {
    color: #dc3545;
}

.vote-spell-points {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.timestamp-pill,
.timestamp-pill-expires {
    border-radius: 40px;
    padding: 8px 16px;
    font-size: 0.65rem;
    display: inline-block;
    line-height: 1;
    min-height: 24px;
    width: auto;
    align-self: start;
}

.timestamp-pill {
    background-color: #f2f2f2;
    color: #333 !important;
}

.timestamp-pill-expires {
    background-color: #f2e0de;
    color: #333 !important;
    padding: 8px 12px;
}

.list-card {
    overflow: hidden;
}

.list-card-body {
    display: grid;
    grid-template-rows: auto auto auto auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.list-card-img-square {
    border-radius: 5px;
    border-right: 1px solid #f2f2f2;
}

.deal-title-responsive {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 2.2em;
}

@media (min-width: 768px) {
    .deal-title-responsive {
        min-height: 0;
    }
}

.deal-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 2.2em;
}

@media (min-width: 768px) {
    .deal-description {
        -webkit-line-clamp: 3;
        line-clamp: 3;
        min-height: 3.3em;
    }
}

.price-block {
    min-height: 56px;
}

@media (min-width: 768px) {
    .price-block {
        min-height: 72px;
    }
}

.buy-block {
    min-height: 38px;
}

.list-card .card-title {
    margin-bottom: 0.25rem;
}

@media (min-width: 992px) {
    .list-card .card-title {
        margin-bottom: 0;
    }

    .list-card .store-info {
        margin-top: 0;
    }
}

.modal-header,
.modal-footer {
    border: none;
}

.share-option-btn {
    background-color: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 15px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.share-option-btn:hover {
    background-color: #e9ecef;
}

.discount-circle {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

@media (max-width: 576px) {
    .discount-circle {
        width: 30px;
        height: 30px;
        font-size: 0.6rem;
    }
}
