* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    padding-top: 120px;
}

/* Шапка */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #555;
    font-size: 18px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #3498db;
}

.phone {
    font-weight: bold;
    color: #2c3e50;
}

nav {
    padding: 15px 5%;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
}

.main-menu a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: #e74c3c;
}

/* Основной контент */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    background: white;
    margin: 30px 0;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.about-company h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.company-description {
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.advantage {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #3498db;
}

.advantage h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Каталог товаров */
.catalog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #555;
}

.category-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.category-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.sorting {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Стили для бейджей товаров */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.badge-featured {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.badge-new {
    background: linear-gradient(45deg, #4834d4, #686de0);
}

/* Стили для цен */
.product-prices {
    margin-bottom: 15px;
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-new {
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
}

.price-current {
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
}

/* Дополнительные стили для карточки товара */
.product-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 180px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
    line-height: 1.3;
    flex: 1;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: auto;
}

.add-to-cart:hover {
    background: #219653;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-products i {
    margin-bottom: 20px;
    opacity: 0.5;
}

.loading-indicator {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    background: #ffeaea;
    border-radius: 10px;
    margin: 20px 0;
}

.error-message i {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 15px;
}

/* Плавающая корзина */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #e74c3c;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #2c3e50;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Подвал */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 5%;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #3498db;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages {
        grid-template-columns: 1fr;
    }
    
    .catalog-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .categories {
        justify-content: center;
    }
    
    .sorting {
        justify-content: center;
    }
    
    .top-header {
        flex-direction: column;
        gap: 15px;
    }
    
    body {
        padding-top: 180px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .main-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 200px;
        text-align: center;
    }
}

/* Модальное окно корзины */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    animation: fadeIn 0.3s;
}

.cart-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-content {
    background: white;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideUp 0.3s;
}

.cart-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.cart-close:hover {
    background: #c0392b;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    overflow: hidden;
}

/* Левая часть - форма */
.cart-left {
    padding: 40px;
    overflow-y: auto;
    border-right: 1px solid #eee;
}

.cart-left h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 24px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 15px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-textarea {
    height: 100px;
    resize: vertical;
}

/* Переключатель */
.switch-group {
    margin-bottom: 15px;
}

.switch {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.switch input {
    display: none;
}

.slider {
    width: 50px;
    height: 25px;
    background: #ccc;
    border-radius: 25px;
    position: relative;
    margin-right: 10px;
    transition: background 0.3s;
}

.slider:before {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.switch input:checked + .slider {
    background: #3498db;
}

.switch input:checked + .slider:before {
    transform: translateX(25px);
}

.switch-text {
    font-weight: 500;
}

.recipient-fields {
    display: none;
    margin-top: 15px;
}

.recipient-fields.active {
    display: block;
}

/* Радио кнопки */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: border-color 0.3s;
}

.radio-custom:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #3498db;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s;
}

.radio-label input:checked + .radio-custom {
    border-color: #3498db;
}

.radio-label input:checked + .radio-custom:after {
    transform: translate(-50%, -50%) scale(1);
}

/* Кнопка оформления заказа */
.submit-order {
    width: 100%;
    padding: 15px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.submit-order:hover {
    background: #219653;
}

/* Правая часть - товары */
.cart-right {
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.cart-right h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 24px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

/* Стили для изображений в корзине */
.cart-item-image {
    width: 60px;
    height: 60px;
    background: #f1f1f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.cart-item-price {
    color: #e74c3c;
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.quantity-display {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    color: #e74c3c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #c0392b;
}

/* Итоговая сумма */
.cart-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.final-total {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-left {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .cart-modal-content {
        width: 95%;
        height: 95vh;
    }
    
    .cart-left, .cart-right {
        padding: 20px;
    }
}

/* Стили для пустой корзины */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-cart i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart p {
    font-size: 18px;
    margin-bottom: 20px;
}

.continue-shopping {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.continue-shopping:hover {
    background: #2980b9;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #2c3e50;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
}

.mobile-menu-nav {
    list-style: none;
}

.mobile-menu-nav li {
    margin-bottom: 15px;
}

.mobile-menu-nav a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.mobile-menu-nav a:hover {
    background-color: #f8f9fa;
}

.mobile-menu-nav a.active {
    background-color: #3498db;
    color: white;
}

/* Адаптивность для мобильного меню */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-menu {
        display: none;
    }
    
    .top-header {
        padding: 15px 20px;
    }
    
    nav {
        padding: 10px 20px;
    }
    
    body {
        padding-top: 140px;
    }
    
    .section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .about-company h1 {
        font-size: 24px;
    }
    
    .company-description {
        font-size: 14px;
    }
    
    .advantage {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .top-header {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .contact-info {
        display: none;
    }
    
    .logo {
        font-size: 20px;
    }
    
    body {
        padding-top: 100px;
    }
    
    .catalog-filters {
        gap: 15px;
    }
    
    .categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Дополнительные улучшения для мобильных */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .products-grid {
        gap: 15px;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .floating-cart {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* Плавная анимация для мобильного меню */
.mobile-menu {
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Стили для бейджа администратора */
.admin-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #27ae60;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.admin-badge i {
    font-size: 12px;
}

.admin-link {
    background: #e74c3c !important;
    color: white !important;
    border-radius: 5px;
    padding: 8px 15px !important;
}

.admin-link:hover {
    background: #c0392b !important;
    color: white !important;
}

/* Адаптивность для бейджа администратора */
@media (max-width: 768px) {
    .admin-badge {
        display: none;
    }
    
    .admin-link {
        background: #e74c3c !important;
        color: white !important;
        margin-top: 10px;
        text-align: center;
    }
}

/* Модальное окно товара */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 3000;
    animation: fadeIn 0.3s;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 15px;
    position: relative;
    animation: slideUp 0.3s;
    overflow: hidden;
}

.product-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.product-close:hover {
    background: #c0392b;
}

.product-modal-container {
    padding: 40px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

/* Стили для контента модалки товара */
.product-modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-modal-image {
    text-align: center;
}

.product-modal-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    object-fit: cover;
}

.product-modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-modal-name {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-modal-prices {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.product-modal-price-old {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.product-modal-price-new {
    font-size: 28px;
    color: #e74c3c;
    font-weight: bold;
}

.product-modal-price-current {
    font-size: 28px;
    color: #e74c3c;
    font-weight: bold;
}

.product-modal-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.product-modal-description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.product-modal-short-description {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-modal-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.product-modal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-modal-meta-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.product-modal-meta-value {
    font-weight: 500;
    color: #2c3e50;
}

.product-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-add-to-cart-modal {
    flex: 1;
    padding: 15px 25px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-to-cart-modal:hover {
    background: #219653;
}

.btn-quick-view {
    width: 100%;
    padding: 8px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    font-size: 12px;
}

.btn-quick-view:hover {
    background: #2980b9;
}

/* Адаптивность для модалки товара */
@media (max-width: 768px) {
    .product-modal-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .product-modal-container {
        padding: 20px;
        max-height: calc(95vh - 40px);
    }
    
    .product-modal-actions {
        flex-direction: column;
    }
    
    .product-modal-name {
        font-size: 20px;
    }
    
    .product-modal-price-new,
    .product-modal-price-current {
        font-size: 24px;
    }
}

/* Улучшения для карточек товаров */
.product-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.product-name {
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-name:hover {
    color: #3498db;
}

/* Стили для пагинации */
.pagination-container {
    margin-top: 40px;
    text-align: center;
}

.pagination-wrapper {
    display: inline-block;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-item {
    margin: 0;
}

.page-link {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.page-item.active .page-link {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.page-item.disabled .page-link {
    color: #999;
    background: #f8f9fa;
    border-color: #ddd;
    cursor: not-allowed;
}

.pagination-info {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* Адаптивность для пагинации */
@media (max-width: 768px) {
    .pagination {
        gap: 3px;
    }
    
    .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-link {
        padding: 6px 10px;
        font-size: 12px;
    }
}

.delivery-label .radio-custom {
    border: 2px solid #ccc;
    background: transparent;
    transition: all .2s;
}

.delivery-label.selected .radio-custom {
    border-color: #2196f3;
    background: #2196f3;
}


.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e6e6e6;
    margin-bottom: 8px;
    transition: 0.2s;
}

.radio-label:hover {
    background: #f7faff;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #999;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #1a73e8;
    background: #1a73e8;
}

.radio-label.selected {
    border-color: #1a73e8;
    background: #eef5ff;
}

.delivery-info {
    display: flex;
    flex-direction: column;
}

.delivery-name {
    font-weight: 600;
    color: #222;
}

.delivery-cost {
    font-size: 13px;
    color: #666;
}
