:root {
    --bs-primary: #48a216 !important;
    --bs-primary-rgb: 72, 162, 22 !important;
}

body {
    background: #f6f6f6;

}

.banner {
    width: 100%;
    max-width: 900px;
}

.main-button {
    font-size: 18px !important;
    font-weight: 400 !important;
}

.admin-note {
    max-width: 600px;
}

/* Карточка подарка */

.gift-card {
    background-color: white;
    box-shadow: 0px 0px 22px -4px rgba(99, 99, 99, 0.15);
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease;
}

.gift-card:hover,
.gift-card:focus-visible {
    box-shadow: 0px 6px 28px -4px rgba(99, 99, 99, 0.3);
    transform: translateY(-2px);
    outline: none;
}

.gift-card-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.gift-card-title {
    font-size: 1.2rem;
}

.gift-price {
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
}

.discount-badge {
    padding: 3px 10px;
    margin: 16px;
    border-radius: 10px;
    background-color: var(--bs-primary);
    font-size: 14px;
}

.gift-item {
    animation: gift-appear .25s ease;
}

@keyframes gift-appear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* Модалка подарка */

.gift-modal-dialog {
    max-width: 480px;
}

.gift-detail-image {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    object-fit: contain;
}

.composition-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    object-fit: contain;
}

.modal-content {
    border: none !important;
}

/* Сортировка */

.sort-toggle {
    font-size: .95rem;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #48a216;
}

/* Кнопки */

.btn-primary {
    background-color: #48a216 !important;
    border-color: #48a216 !important;
}

.btn-outline-primary {
    background: white;
    border-color: #48a216 !important;
    color: black;
}

.btn-outline-primary:hover {
    background-color: #3d8b13 !important;
    border-color: #3d8b13 !important;
}

.btn-outline-primary.active {
    border-color: #48a216 !important;
    background-color: #48a216 !important;
}

.btn-primary:hover {
    background-color: #3d8b13 !important;
    border-color: #3d8b13 !important;
}

.bg-primary {
    background-color: #48a216 !important;
}

.text-primary {
    color: #48a216 !important;
}
