@font-face {
    font-family: 'Ostrovsky'; /* Произвольное имя шрифта */
    src: url('/assets/Ostrovsky/Ostrovsky-Bold_0.woff') format('woff'); /* Путь к вашему файлу */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Показывать текст сразу, даже до загрузки шрифта */
}

@font-face {
    font-family: 'Radiant'; /* Произвольное имя шрифта */
    src: url('/assets/Radiant-Regular/Radiant.woff') format('woff'); /* Путь к вашему файлу */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Показывать текст сразу, даже до загрузки шрифта */
}

@font-face {
    font-family: 'Radiant-bold'; /* Произвольное имя шрифта */
    src: url('/assets/Radiant-Regular/Radiant-Bold-Alt.woff') format('woff'); /* Путь к вашему файлу */
    font-weight: bold;
    font-style: normal;
    font-display: swap; /* Показывать текст сразу, даже до загрузки шрифта */
}


/* Обеспечивает, чтобы footer всегда был внизу */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
}

main {
    flex: 1;
}
footer {
    /*background-color: #f8f9fa;*/
    /*padding: 1rem 0;*/

    border-top: 1px solid #e9ecef;
}

.rounded {
    border-radius: 20px;
}

.opacity {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 10px;
}


.navbar-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

img {
    max-width: 100%;
}

ol li::marker {
    font-size: 1.2em;       /* Дополнительно увеличиваем цифры */
    font-weight: 700;    /* Ещё жирнее (можно заменить на bold) */
}

ul li::marker {
    list-style-type: disc;    /* Стандартный круг (можно заменить на square, circle и др.) */
    font-size: 1.2em;      /* Увеличивает и маркер, и текст */
}



td, th {
    border: 1px solid grey;
    padding: 5px;
}




.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90vw;
    height: 90vh;
    object-fit: contain; /* Вписывает картинку в область, сохраняя пропорции */
    margin-top: 5vh;
    cursor: pointer;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

h1 {
    text-transform: uppercase;
    font-size: 2rem;
}

h1,h2,h3,h4,h5,h6 {
    text-align: center;
    font-family: "Radiant", serif;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
    font-family: "Radiant", serif;
    letter-spacing: 0.05em;
}


.btn {
    font-family: "Radiant-Bold", serif;
    letter-spacing: 0.05em;
        font-size: 1.2rem;
}



.carousel-control-next-icon, .carousel-control-prev-icon {
    background-color: #4d4d4d;
    height: 3rem;
    border-radius: 5px;
}


nav {
    font-family: "Radiant", serif;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
}

.dropdown-item {
    font-size: 1.5rem;
}

p {
    font-family: "Radiant", serif;
    letter-spacing: 0.03em;
    color: #404040;
}

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

/*Новые */

.awesomplete {
    width: 100%;
}

.pointer {
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Базовый класс для всех кнопок */
.btn-inline {
    display: inline-flex;       /* Выстраивает в строку */
    align-items: center;        /* Центрирует текст/иконку по вертикали */
    justify-content: center;

    padding: 4px 10px;          /* Маленькие отступы */
    border: 1px solid transparent;
    border-radius: 4px;         /* Слегка скругленные углы */

    font-size: 13px;            /* Небольшой шрифт */
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;

    transition: all 0.2s ease;  /* Плавная анимация при наведении */
    text-decoration: none;
    background: transparent;
}

/* --- Стили для кнопки РЕДАКТИРОВАТЬ (Нейтральная) --- */
.btn-edit {
    color: #555;                /* Темно-серый текст */
    background-color: #f0f0f0;  /* Светло-серый фон */
    border-color: #e0e0e0;
}

.btn-edit:hover {
    background-color: #e2e2e2;  /* Чуть темнее при наведении */
    color: #333;
}

.btn-edit:active {
    transform: scale(0.98);     /* Эффект нажатия */
}

/* --- Стили для кнопки УДАЛИТЬ (Опасная) --- */
.btn-delete {
    color: #d9534f;             /* Красный текст */
    background-color: #fdf7f7;  /* Очень бледно-красный фон */
    border-color: #f5c6cb;
    margin-left: 6px;           /* Отступ от кнопки редактирования */
}

.btn-delete:hover {
    background-color: #d9534f;  /* Красный фон при наведении */
    color: #fff;                /* Белый текст */
    border-color: #d9534f;
}

.btn-delete:active {
    transform: scale(0.98);
}

/* --- Опционально: Стили для кнопок ТОЛЬКО с иконками --- */
/* Если вы решите использовать SVG вместо текста */
.btn-icon {
    padding: 6px;               /* Квадратная кнопка */
    width: 32px;
    height: 32px;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;         /* Иконка берет цвет текста кнопки */
}

/* Находим последний элемент внутри списка и убираем границу */
[data-role="cart-list"] > [data-role="product-position"]:last-child {
    border-bottom: none !important;
    /* Если нужно убрать и отступ снизу у последнего элемента: */
    /* margin-bottom: 0 !important; */
}
