/* Стили для магазина */

/* Защита от горизонтальной прокрутки */
.shop-page {
    overflow-x: hidden;
    max-width: 100%;
}

.shop-page * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Main Content Container */
.main-content {
    padding-top: 80px; /* Space for fixed header */
    min-height: calc(100vh - 80px);
    overflow-x: hidden;
    max-width: 100%;
}

/* Wrapper improvements */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .wrapper {
        padding: 0 15px;
    }
    
    .main-content {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 0 10px;
    }
    
    /* Дополнительная защита от горизонтальной прокрутки на мобильных */
    .shop-page {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .shop-page * {
        max-width: 100% !important;
        /* overflow-x: hidden !important; */
    }
    
    /* Исправление для контейнеров */
    .container, .wrapper, .main-content {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Cart Page Styles */
.cart-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cart-hero__content {
    text-align: center;
}

.cart-hero__title {
    margin-bottom: 15px;
}

.cart-hero__subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

.cart-content {
    padding: 40px 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 968px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Cart Empty State */
.cart-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-empty__icon {
    margin-bottom: 20px;
}

.cart-empty__title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.cart-empty__text {
    color: #666;
    margin-bottom: 30px;
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.cart-header__title h2 {
    margin: 0 0 5px 0;
    color: #333;
}

.cart-count {
    color: #666;
    font-size: 0.9rem;
}

.clear-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-cart-btn:hover {
    background: #dc3545;
    color: white;
}

/* Cart Items */
.cart-items {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 15px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f1f3f4;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item__content {
    min-width: 0;
}

.cart-item__title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
}

.cart-item__title a:hover {
    color: #007bff;
}

.cart-item__category {
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

.cart-item__price .current-price {
    font-weight: 600;
    color: #333;
}

.cart-item__price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-left: 8px;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f8f9fa;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #e9ecef;
    color: #333;
}

.quantity-input {
    width: 50px;
    height: 32px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: white;
}

.quantity-confirm-btn {
    display: none;
    align-items: center;
    gap: 5px;
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.2s ease;
}

.quantity-confirm-btn:hover {
    background: #218838;
}

.cart-item__total {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.remove-item-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f8f9fa;
    color: #dc3545;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    background: #dc3545;
    color: white;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.cart-summary__title {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.3rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f4;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.summary-item__name {
    font-size: 0.9rem;
    color: #333;
}

.summary-item__quantity {
    font-size: 0.8rem;
    color: #666;
}

.summary-item__price {
    font-weight: 600;
    color: #333;
}

.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid #e9ecef;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-summary__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.continue-shopping-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #6c757d;
    color: #6c757d;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.continue-shopping-btn:hover {
    background: #6c757d;
    color: white;
}

.checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }
    
    .cart-item__quantity,
    .cart-item__total,
    .cart-item__actions {
        grid-column: 1 / -1;
        margin-top: 10px;
    }
    
    .cart-item__quantity {
        justify-self: start;
    }
    
    .cart-item__total {
        justify-self: center;
    }
    
    .cart-item__actions {
        justify-self: end;
    }
    
    .cart-summary {
        position: static;
    }
}
.product-card__price--free,
.product-price--free {
    color: #28a745 !important;
    font-weight: bold;
    font-size: 1.1em;
    background: #e8f5e8;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Стили для кнопок контактов */
.contact-note,
.download-note {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
    line-height: 1.4;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #007bff;
}

.download-note a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.download-note a:hover {
    text-decoration: underline;
}

/* Стили для кнопок товаров */
.product-card__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.product-card__btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.product-card__btn--primary {
    background: #007bff;
    color: white;
}

.product-card__btn--primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.product-card__btn--secondary {
    background: #6c757d;
    color: white;
}

.product-card__btn--secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

/* Адаптация кнопок на странице товара */
.product-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-btn {
    flex: 1;
    min-width: 160px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-btn--primary {
    background: #007bff;
    color: white;
}

.product-btn--primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.product-btn--secondary {
    background: #6c757d;
    color: white;
}

.product-btn--secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .product-buttons {
        flex-direction: column;
    }
    
    .product-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Форма поиска в стиле изображения */
.first__form {
  display: flex;
  justify-content: space-around;
    background: white;
    border-radius: 12px;
    padding: 21px 0px 0px 0px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.first__form .form-title {
    margin-bottom: 25px;
}

.first__form .form-title p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.search-form {
    margin-top: 10px;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
    color: #333;
    min-width: 200px;
    max-width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: #d2afa0;
    box-shadow: 0 0 0 3px rgba(210, 175, 160, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    /* background: #31b939; */
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

.search-btn:hover {
    background: #d2afa0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 175, 160, 0.3);
}

.clear-btn {
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clear-btn:hover {
    background: #f8f9fa;
    border-color: #d2afa0;
    color: #d2afa0;
    transform: translateY(-2px);
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn span {
    position: relative;
    z-index: 1;
}

/* Адаптивность для формы поиска */
@media (max-width: 768px) {
    .first__form {
        padding: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .first__form .form-title p {
        font-size: 1.1rem;
    }
    
    .search-container {
        flex-direction: column;
        max-width: 100%;
        overflow-x: hidden;
        gap: 15px;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Стили для корзины в header */
.header__cart {
    position: relative;
    margin-left: 20px;
}

.cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6a7e9f 0%, #5a6e8f 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(106, 126, 159, 0.2);
}

.cart-link:hover {
    background: linear-gradient(135deg, #d2afa0 0%, #c19a8a 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 175, 160, 0.3);
}

.cart-link svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.cart-link:hover svg {
    transform: scale(1.1);
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #d2afa0 0%, #c19a8a 100%);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    min-width: 22px;
    box-shadow: 0 2px 6px rgba(210, 175, 160, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Адаптивность для корзины */
@media (max-width: 768px) {
    .header__cart {
        margin-left: 10px;
    }
    
    .cart-link {
        width: 40px;
        height: 40px;
    }
    
    .cart-link svg {
        width: 20px;
        height: 20px;
    }
    
    .cart-counter {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
}

/* Карусель категорий */
.shop-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.filters__slider {
    position: relative;
    margin-top: 30px;
}

.slider-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.slider-hint svg {
    opacity: 0.7;
}

.swiper-container {
    overflow: hidden;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    transition-property: transform;
    will-change: transform;
}

.swiper-slide {
    flex-shrink: 0;
    width: auto;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.filters-item {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filters-item:hover {
    background: #d2afa0;
    color: white;
    height: 110%;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 175, 160, 0.3);
}

.filters-item.active {
    background: #d2afa0;
    color: white;
    /* border-color: #d2afa0; */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: #d2afa0;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:hover img {
    filter: brightness(0) invert(1);
}

.slider-btn.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn.swiper-button-disabled:hover {
    background: white;
    transform: translateY(-50%);
}

.slider-btn.swiper-button-disabled:hover img {
    filter: none;
}

.slider-prev-btn {
    left: -20px;
}

.slider-next-btn {
    right: -20px;
}

.slider-btn img {
    width: 20px;
    height: 20px;
    transition: filter 0.3s ease;
}

/* Адаптивность для карусели */
@media (max-width: 768px) {
    .slider-hint {
        font-size: 0.8rem;
    }
    
    .filters-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn img {
        width: 16px;
        height: 16px;
    }
    
    .slider-prev-btn {
        left: -15px;
    }
    
    .slider-next-btn {
        right: -15px;
    }
}

/* Адаптация под стиль шаблона */
.shop-page .first,
.shop-page .shop-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.shop-page .first::before,
.shop-page .shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/image/bg-1.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.shop-page .first .wrapper,
.shop-page .shop-hero .wrapper {
    position: relative;
    z-index: 1;
}

.shop-page .first__content,
.shop-page .shop-hero .first__content {
    
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.shop-page .first__text,
.shop-page .shop-hero .first__text {
    flex: 1;
   
}

.shop-page .first__title,
.shop-page .shop-hero .first__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-align: center;
}

.shop-page .first__subtitle,
.shop-page .shop-hero .first__subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* Фильтры магазина */
.shop-filters {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.shop-filters__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.filters-form {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 0.95rem;
    min-width: 120px;
    max-width: 100%;
}

.filter-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #d2afa0;
}

/* Товары магазина */
.shop-products {
    padding: 60px 0;
    background: #f8f9fa;
}

.shop-products .shop-products__container,
.shop-page .shop-products__container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

@media (max-width: 1200px) {
    .shop-products .shop-products__container,
    .shop-page .shop-products__container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 992px) {
    .shop-products .shop-products__container,
    .shop-page .shop-products__container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .shop-products .shop-products__container,
    .shop-page .shop-products__container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Улучшенные стили для карточек товаров */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card__image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Ярлыки и акции */
.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-card__badge.popular {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.product-card__badge.sale {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.product-card__badge.new {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Таймер обратного отсчета */
.product-card__timer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
    text-align: center;
}

.timer-label {
    font-size: 0.75rem;
    color: #856404;
    font-weight: 600;
    margin-bottom: 4px;
}

.timer-display {
    font-size: 0.85rem;
    color: #d63384;
    font-weight: 700;
    font-family: monospace;
}

.timer-display span {
    background: #d63384;
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    margin: 0 1px;
}

/* Цены */
.product-card__price-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    margin-bottom: 8px;
}

.product-card__footer { margin-top: auto; }

.product-card__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.product-card__price-old {
    font-size: 1rem;
    font-weight: 500;
    color: #95a5a6;
    text-decoration: line-through;
    margin: 0;
}

/* Контент карточки */
.product-card__content {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.2;
}

.product-card__description {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 6px;
}

.product-card__features {
    list-style: none;
    padding: 0;
    margin-bottom: 6px;
}

.product-card__features li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 2px;
    color: #666;
    font-size: 0.75rem;
}

.product-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d2afa0;
    font-weight: bold;
}

/* Кнопки */
.product-card__buttons {
    display: flex !important;
    gap: 8px;
    margin-top: auto !important;
    padding-top: 12px;
}

.product-card__btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.product-card__btn--primary {
    background-image: linear-gradient(to right, #7a91b7 0%, #a8bad5 98%);
    color: white;
    box-shadow: 0 4px 15px rgba(122, 145, 183, 0.3);
}

.product-card__btn--primary:hover {
    background-image: linear-gradient(to right, #6a81a7 0%, #98aac5 98%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 145, 183, 0.4);
}

.product-card__btn--secondary {
    background: white;
    color: #d2afa0;
    border: 2px solid #d2afa0;
    box-shadow: 0 4px 15px rgba(210, 175, 160, 0.2);
}

.product-card__btn--secondary:hover {
    background: #d2afa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 175, 160, 0.3);
}

.buy-now-btn {
    background-image: linear-gradient(to right, #7a91b7 0%, #a8bad5 98%) !important;
    color: white !important;
    border: 2px solid #7a91b7 !important;
    box-shadow: 0 4px 15px rgba(122, 145, 183, 0.3) !important;
}

.buy-now-btn:hover {
    background-image: linear-gradient(to right, #6a81a7 0%, #98aac5 98%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 145, 183, 0.4) !important;
}

/* Кнопки мессенджеров на странице товара (service) */
.product-btn--whatsapp { background: #25D366 !important; color: #fff !important; }
.product-btn--telegram { background: #0088cc !important; color: #fff !important; }
.service-price { font-size: 1.6rem; font-weight: 700; color: #2c3e50; margin: 8px 0; }
.service-note { 
    color: #6c757d !important; 
    margin-bottom: 15px !important; 
    font-size: 14px !important;
    text-align: center !important;
    font-weight: 500 !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
}
.service-buttons { 
    display: flex !important; 
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    clear: both !important;
}

.service-buttons .product-btn {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-buttons .product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Адаптивность для кнопок */
@media (max-width: 480px) {
    .product-card__buttons {
        flex-direction: column;
        gap: 8px;
    }

    .product-card__btn {
        width: 100%;
    }
    
    .service-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .service-buttons .product-btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 13px;
    }
}

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

@media (max-width: 992px) {
    .shop-products__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .shop-page .first__content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .shop-page .first__title {
        font-size: 2.5rem;
    }
    
    .shop-filters__container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .shop-products__container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Промоблоки */
.promo-block {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    color: white;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.promo-block--secondary {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.promo-block--accent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.promo-block__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.promo-block__description {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.promo-block__btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.promo-block__btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Swiper контейнер */
.swiper-container {
    width: 90%;
    margin: auto;
}

/* Отступ для hero секции */
.shop-hero {
    margin-top: 140px !important;
}

/* Скрыть мобильное меню на десктопе */
@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-menu {
        display: none !important;
    }
}

/* Хлебные крошки */
.breadcrumbs {
    margin-top: 160px;
    padding: 20px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #d2afa0;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}

.breadcrumb-separator {
    color: #ccc;
    font-size: 0.8rem;
}

/* Страница товара */
.product-hero {
    padding: 40px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-info {
    padding-right: 20px;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
}

.product-features {
    margin-bottom: 30px;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #666;
    font-size: 1rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d2afa0;
    font-weight: bold;
    font-size: 1.2rem;
}

.product-price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.product-price-old {
    font-size: 1.5rem;
    font-weight: 500;
    color: #95a5a6;
    text-decoration: line-through;
    margin: 0;
}

.product-timer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
    text-align: center;
}

.timer-label {
    font-size: 0.9rem;
    color: #856404;
    font-weight: 600;
    margin-bottom: 8px;
}

.timer-display {
    font-size: 1.1rem;
    color: #d63384;
    font-weight: 700;
    font-family: monospace;
}

.timer-display span {
    background: #d63384;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    margin: 0 2px;
}

.product-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.product-btn--primary {
    background-image: linear-gradient(to right, #7a91b7 0%, #a8bad5 98%);
    color: white;
    box-shadow: 0 4px 15px rgba(122, 145, 183, 0.3);
}

.product-btn--primary:hover {
    background-image: linear-gradient(to right, #6a81a7 0%, #98aac5 98%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 145, 183, 0.4);
}

.product-btn--secondary {
    background: white;
    color: #d2afa0;
    border: 2px solid #d2afa0;
    box-shadow: 0 4px 15px rgba(210, 175, 160, 0.2);
}

.product-btn--secondary:hover {
    background: #d2afa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 175, 160, 0.3);
}

.download-note, .contact-note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

.download-note a {
    color: #d2afa0;
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

/* Карусель товара */
.product-gallery {
    position: relative;
}

.product-swiper {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-swiper .swiper-pagination {
    bottom: 20px;
}

.product-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.product-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #d2afa0;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -20px;
}

.product-swiper .swiper-button-next:hover,
.product-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Характеристики товара */
.product-specs {
    padding: 60px 0;
    background: #f8f9fa;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.specs-table {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.specs-table h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.spec-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #333;
    width: 200px;
    flex-shrink: 0;
}

.spec-value {
    color: #666;
    flex: 1;
}

/* Описание товара */
.product-content {
    padding: 60px 0;
}

.content-text {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.6;
    color: #333;
}

.content-text h2, .content-text h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 15px;
}

/* Рекомендуемые товары */
.related-products {
    padding: 60px 0;
    background: #f8f9fa;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

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

/* Промоблок */
.promo-section {
    padding: 60px 0;
}

/* Комментарии */
.product-comments {
    padding: 60px 0;
}

.comments-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #666;
}

/* Адаптивность для страницы товара */
@media (max-width: 1200px) {
    .product-layout {
        gap: 40px;
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .specs-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-info {
        padding-right: 0;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .related-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        margin-top: 50px !important;
    }
    
    .shop-page .first__subtitle,
    .shop-page .shop-hero .first__subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .search-container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .search-input {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100%;
    }
    
    .search-btn {
        min-width: auto !important;
        width: auto !important;
    }
    
    /* Уменьшаем категории */
    .shop-categories {
        padding: 30px 0;
    }
    
    .filters__slider {
        margin-top: 15px;
    }
    
    .slider-hint {
        margin-bottom: 10px;
        font-size: 0.8rem;
        gap: 5px;
    }
    
    .filters-item {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 18px;
    }
    
    .slider-btn {
        width: 25px;
        height: 25px;
    }
    
    .breadcrumbs {
        margin-top: 120px;
        padding: 15px 0;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .product-hero {
        padding: 20px 0;
    }
    
    .product-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .product-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .product-price {
        font-size: 1.8rem;
    }
    
    .product-price-old {
        font-size: 1.2rem;
    }
    
    .product-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .product-swiper {
        height: 250px;
    }
    
    .product-swiper .swiper-button-next,
    .product-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .related-products .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .specs-table {
        padding: 20px;
    }
    
    .spec-row {
        flex-direction: column;
        gap: 5px;
        padding: 12px 0;
    }
    
    .spec-label {
        width: auto;
        font-size: 0.9rem;
    }
    
    .spec-value {
        font-size: 0.9rem;
    }
    
    .content-text {
        padding: 25px;
    }
    
    .comments-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .breadcrumbs {
        margin-top: 100px;
        padding: 10px 0;
    }
    
    .breadcrumb-nav {
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .product-hero {
        padding: 15px 0;
    }
    
    .product-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .product-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .product-price {
        font-size: 1.6rem;
    }
    
    .product-price-old {
        font-size: 1.1rem;
    }
    
    .product-buttons {
        gap: 10px;
    }
    
    .product-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-height: 45px;
    }
    
    .product-swiper {
        height: 200px;
    }
    
    .product-swiper .swiper-button-next,
    .product-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .specs-table {
        padding: 15px;
    }
    
    .specs-table h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .spec-row {
        padding: 10px 0;
    }
    
    .spec-label {
        font-size: 0.85rem;
    }
    
    .spec-value {
        font-size: 0.85rem;
    }
    
    .content-text {
        padding: 20px;
    }
    
    .comments-container {
        padding: 20px;
    }
    
    .related-products h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
}

/* Анимация пульса для корзины */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
} 

/* Дополнительные стили для мобильных устройств */
@media (max-width: 768px) {
    .product-card {
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .product-card__title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .product-card__description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .product-card__price {
        font-size: 1.5rem;
    }
    
    .product-card__price-old {
        font-size: 1rem;
    }
    
    .product-card__badge {
        font-size: 0.7rem;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
    }
    
    .product-card__buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .product-card__btn {
        width: 100%;
        padding: 14px 16px;
        font-size: 0.85rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .product-card__content {
        padding: 16px;
    }
    
    .product-card__title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .product-card__description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .product-card__features {
        margin-bottom: 15px;
    }
    
    .product-card__features li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .product-card__price-container {
        margin-bottom: 16px;
    }
    
    .product-card__price {
        font-size: 1.3rem;
    }
    
    .product-card__price-old {
        font-size: 0.9rem;
    }
} 

/* Стили для страницы товара */
.product-page {
    background: #f8f9fa;
}

.product-page .first {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.product-page .first__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-page .first__text {
    max-width: 600px;
}

.product-page .first__text p {
    margin: 40px auto;
}

.product-page .first__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.product-page .first__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

/* Цена товара */
.product-price-large {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.product-price-large .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.product-price-large .old-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: #95a5a6;
    text-decoration: line-through;
}

.discount-badge-large {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Кнопки покупки */
.product-actions-large {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-actions-large .btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.product-actions-large .btn--primary {
    background-image: linear-gradient(to right, #7a91b7 0%, #a8bad5 98%);
    color: white;
    box-shadow: 0 4px 15px rgba(122, 145, 183, 0.3);
}

.product-actions-large .btn--primary:hover {
    background-image: linear-gradient(to right, #6a81a7 0%, #98aac5 98%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 145, 183, 0.4);
}

.product-actions-large .btn--secondary {
    background: white;
    color: #d2afa0;
    border: 2px solid #d2afa0;
    box-shadow: 0 4px 15px rgba(210, 175, 160, 0.2);
}

.product-actions-large .btn--secondary:hover {
    background: #d2afa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 175, 160, 0.3);
}

/* Описание товара */
.product-description {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.product-description h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.product-description .content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.product-description .content p {
    margin-bottom: 20px;
}

.product-description .content h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.product-description .content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.product-description .content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Информация о товаре */
.product-info-compact {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.product-info-compact h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-info-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #d2afa0;
}

.product-info-item .label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-info-item .value {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Похожие товары */
.related-products {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.related-products h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Комментарии */
.product-comments {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.product-comments h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.comment-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    margin-bottom: 15px;
}

.comment-form button {
    background-image: linear-gradient(to right, #7a91b7 0%, #a8bad5 98%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    background-image: linear-gradient(to right, #6a81a7 0%, #98aac5 98%);
    transform: translateY(-1px);
}

.comments-list {
    margin-top: 30px;
}

.comment-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #2c3e50;
}

.comment-date {
    font-size: 0.9rem;
    color: #666;
}

.comment-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-page .first__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-page .first__title {
        font-size: 2rem;
    }
    
    .product-page .first__text p {
        margin: 40px auto;
    }
    
    .product-actions-large {
        flex-direction: column;
    }
    
    .product-info-grid {
        grid-template-columns: 1fr;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-description,
    .product-info-compact,
    .related-products,
    .product-comments {
        padding: 25px;
        margin: 25px 0;
    }
} 

/* Стили для корзины */
.cart-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.cart-hero {
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    padding: 4vw 0;
    text-align: center;
    color: white;
}

.cart-hero__title {
    margin-bottom: 1vw;
    font-size: 3.5vw;
    font-weight: 700;
}

.cart-hero__subtitle {
    font-size: 1.2vw;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.cart-content {
    padding: 4vw 0;
}

.cart-content__container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 2vw;
}

/* Пустая корзина */
.cart-empty {
    text-align: center;
    padding: 6vw 2vw;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cart-empty__icon {
    margin-bottom: 2vw;
    opacity: 0.6;
}

.cart-empty__title {
    font-size: 2.5vw;
    color: #3c475a;
    margin-bottom: 1vw;
    font-weight: 600;
}

.cart-empty__text {
    font-size: 1.1vw;
    color: #6c757d;
    margin-bottom: 3vw;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cart-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1vw 2vw;
    font-size: 1vw;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Макет корзины */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3vw;
    align-items: start;
}

.cart-main {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vw;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.cart-header__title {
    display: flex;
    align-items: center;
    gap: 1vw;
}

.cart-header__title h2 {
    font-size: 1.5vw;
    color: #3c475a;
    margin: 0;
    font-weight: 600;
}

.cart-count {
    background: #6a7e9f;
    color: white;
    padding: 0.3vw 0.8vw;
    border-radius: 20px;
    font-size: 0.9vw;
    font-weight: 500;
}

.clear-cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.8vw 1.5vw;
    border-radius: 10px;
    font-size: 0.9vw;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-cart-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Товары в корзине */
.cart-items {
    padding: 2vw;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto auto;
    gap: 2vw;
    align-items: center;
    padding: 2vw;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: #f8f9fa;
    border-radius: 15px;
}

.cart-item__image {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.cart-item__content {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}

.cart-item__header {
    display: flex;
    flex-direction: column;
    gap: 0.3vw;
}

.cart-item__title {
    margin: 0;
    font-size: 1.1vw;
    font-weight: 600;
}

.cart-item__title a {
    color: #3c475a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item__title a:hover {
    color: #6a7e9f;
}

.cart-item__category {
    background: #e9ecef;
    color: #6c757d;
    padding: 0.2vw 0.8vw;
    border-radius: 15px;
    font-size: 0.8vw;
    display: inline-block;
    width: fit-content;
}

.cart-item__price {
    display: flex;
    align-items: center;
    gap: 0.8vw;
}

.current-price {
    font-size: 1.2vw;
    font-weight: 700;
    color: #3c475a;
}

.old-price {
    font-size: 0.9vw;
    color: #6c757d;
    text-decoration: line-through;
}

/* Контролы количества */
.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    color: #6a7e9f;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #6a7e9f;
    color: white;
}

.quantity-btn--minus {
    border-right: 1px solid #e9ecef;
}

.quantity-btn--plus {
    border-left: 1px solid #e9ecef;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1vw;
    font-weight: 600;
    color: #3c475a;
    background: white;
}

.quantity-input:focus {
    outline: none;
    background: #f8f9fa;
}

.cart-item__total {
    font-size: 1.3vw;
    font-weight: 700;
    color: #3c475a;
    text-align: center;
}

.cart-item__actions {
    display: flex;
    justify-content: center;
}

.remove-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #dc3545;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Боковая панель */
.cart-sidebar {
    position: sticky;
    top: 2vw;
}

.cart-summary {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2vw;
}

.cart-summary__title {
    font-size: 1.5vw;
    color: #3c475a;
    margin: 0 0 2vw 0;
    font-weight: 600;
    text-align: center;
}

.cart-summary__items {
    margin-bottom: 2vw;
    max-height: 300px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1vw 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3vw;
}

.summary-item__name {
    font-size: 0.9vw;
    color: #3c475a;
    font-weight: 500;
    line-height: 1.4;
}

.summary-item__quantity {
    font-size: 0.8vw;
    color: #6c757d;
}

.summary-item__price {
    font-size: 1vw;
    font-weight: 600;
    color: #3c475a;
    white-space: nowrap;
}

.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5vw 0;
    border-top: 2px solid #e9ecef;
    margin-bottom: 2vw;
}

.total-label {
    font-size: 1.1vw;
    color: #3c475a;
    font-weight: 500;
}

.total-amount {
    font-size: 1.5vw;
    font-weight: 700;
    color: #3c475a;
}

.cart-summary__actions {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.continue-shopping-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1vw;
    background: #f8f9fa;
    color: #6a7e9f;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9vw;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.continue-shopping-btn:hover {
    background: #e9ecef;
    color: #3c475a;
    transform: translateY(-2px);
}

.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1vw;
    background: linear-gradient(135deg, #3c475a 0%, #6a7e9f 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1vw;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    width: auto;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 126, 159, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 2vw;
    }
    
    .cart-hero__title {
        font-size: 6vw;
    }
    
    .cart-hero__subtitle {
        font-size: 3vw;
    }
    
    .cart-header {
        flex-direction: column;
        gap: 2vw;
        text-align: center;
    }
    
    .cart-header__title h2 {
        font-size: 4vw;
    }
    
    .cart-count {
        font-size: 2.5vw;
        padding: 1vw 2vw;
    }
    
    .clear-cart-btn {
        font-size: 2.5vw;
        padding: 2vw 3vw;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 2vw;
        text-align: center;
    }
    
    .cart-item__image {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }
    
    .cart-item__title {
        font-size: 4vw;
    }
    
    .cart-item__category {
        font-size: 2.5vw;
        padding: 1vw 2vw;
    }
    
    .current-price {
        font-size: 4vw;
    }
    
    .old-price {
        font-size: 3vw;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .quantity-btn {
        width: 50px;
        height: 50px;
    }
    
    .quantity-input {
        width: 80px;
        height: 50px;
        font-size: 3vw;
    }
    
    .cart-item__total {
        font-size: 4vw;
    }
    
    .remove-item-btn {
        width: 50px;
        height: 50px;
    }
    
    .cart-summary__title {
        font-size: 4vw;
    }
    
    .summary-item__name {
        font-size: 2.5vw;
    }
    
    .summary-item__quantity {
        font-size: 2vw;
    }
    
    .summary-item__price {
        font-size: 3vw;
    }
    
    .total-label {
        font-size: 3vw;
    }
    
    .total-amount {
        font-size: 4vw;
    }
    
    .continue-shopping-btn,
    .checkout-btn {
        font-size: 3vw;
        padding: 2vw;
    }
}

/* Стили для кнопки подтверждения количества */
.quantity-confirm-btn {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #d2afa0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.quantity-confirm-btn:hover {
    background: #c19a8a;
    transform: translateY(-1px);
}

.quantity-confirm-btn svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .quantity-confirm-btn {
        padding: 8px 16px;
        font-size: 14px;
        margin-top: 10px;
    }
    
    /* Улучшенные мобильные стили для магазина */
    .shop-hero {
        margin-top: 120px !important;
        padding: 20px 0;
    }
    
    .shop-hero__title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .shop-hero__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .shop-filters {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .search-input {
        width: 100%;
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .form-btn {
        width: 100%;
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .clear-btn {
        width: 100%;
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .product-card {
        height: auto;
        min-height: 320px;
    }
    
    .product-card__image {
        height: 120px;
    }
    
    .product-card__content {
        padding: 15px;
    }
    
    .product-card__title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .product-card__description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .product-card__features {
        margin-bottom: 12px;
    }
    
    .product-card__features li {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .product-card__price-container {
        margin-bottom: 15px;
    }
    
    .product-card__price {
        font-size: 1.2rem;
    }
    
    .product-card__price-old {
        font-size: 1rem;
    }
    
    .product-card__buttons {
        gap: 10px;
        padding-top: 15px;
    }
    
    .product-card__btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .promo-block {
        padding: 25px;
        margin: 20px 0;
    }
    
    .promo-block__title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .promo-block__description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .promo-block__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .header__logo a img {
        width: 129px;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        margin-top: 40px !important;
        padding: 15px 0;
    }
    
    /* Дополнительные исправления для предотвращения горизонтальной прокрутки */
    .search-input {
        min-width: 120px !important;
        max-width: 100% !important;
    }
    
    .filter-group select {
        min-width: 80px !important;
        max-width: 100% !important;
    }
    
    .product-card__btn {
        min-width: 100px !important;
        max-width: 100% !important;
    }
    
    .product-btn {
        min-width: 120px !important;
        max-width: 100% !important;
    }
    
    .shop-page .first__title,
    .shop-page .shop-hero .first__title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .shop-page .first__subtitle,
    .shop-page .shop-hero .first__subtitle {
        font-size: 0.85rem;
        padding: 0 8px;
        line-height: 1.3;
    }
    
    .search-container {
        padding: 0 8px;
        max-width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .search-input {
        min-width: auto !important;
        width: 100% !important;
        max-width: 100%;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .search-btn {
        min-width: auto !important;
        width: 100% !important;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Еще больше уменьшаем категории */
    .shop-categories {
        padding: 20px 0;
    }
    
    .filters__slider {
        margin-top: 10px;
    }
    
    .slider-hint {
        margin-bottom: 8px;
        font-size: 0.75rem;
        gap: 3px;
    }
    
    .filters-item {
        padding: 4px 8px;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .slider-btn {
        width: 20px;
        height: 20px;
    }
    
    .shop-hero__title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .shop-hero__description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .shop-filters {
        padding: 8px;
        gap: 6px;
    }
    
    .filter-select,
    .search-input,
    .form-btn,
    .clear-btn {
        padding: 4px 6px;
        font-size: 0.75rem;
        min-height: 30px;
    }
    
    .product-card {
        min-height: 280px;
    }
    
    .product-card__image {
        height: 100px;
    }
    
    .product-card__content {
        padding: 12px;
    }
    
    .product-card__title {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .product-card__description {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .product-card__features li {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }
    
    .product-card__price {
        font-size: 1.1rem;
    }
    
    .product-card__price-old {
        font-size: 0.9rem;
    }
    
    .product-card__buttons {
        gap: 8px;
        padding-top: 12px;
    }
    
    .product-card__btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .promo-block {
        padding: 20px;
        margin: 15px 0;
    }
    
    .promo-block__title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .promo-block__description {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .promo-block__btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}