:root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F9F7F4;
    --accent-beige: #F5F1EB;
    --accent-terracotta: #C76B5D;
    --accent-blue: #5D7C9E;
    --accent-olive: #8A9B6E;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --border-light: #E8E2D9;
    --success: #4CAF50;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background-color: var(--primary-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-terracotta);
    text-decoration: none;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 16px;
    background-color: var(--secondary-bg);
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent-terracotta);
    box-shadow: 0 0 0 2px rgba(199, 107, 93, 0.2);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.action-btn:hover {
    color: var(--accent-terracotta);
}

.action-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-terracotta);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-bottom {
    padding: 15px 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-terracotta);
}

.nav-links a.active {
    color: var(--accent-terracotta);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-terracotta);
}

.promo-bar {
    background-color: var(--accent-olive);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 20px 0;
    background-color: var(--secondary-bg);
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumbs-item:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--text-light);
}

.breadcrumbs-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs-item a:hover {
    color: var(--accent-terracotta);
}

.breadcrumbs-item:last-child a {
    color: var(--accent-terracotta);
    font-weight: 500;
}

/* Основной контейнер карточки товара */
.product-page {
    padding: 40px 0;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Галерея товара */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-image {
    position: relative;
    background-color: var(--accent-beige);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent-terracotta);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.thumb.active {
    border-color: var(--accent-terracotta);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--accent-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Детали товара */
.product-details {
    padding: 20px 0;
}

.product-title {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.product-rating-large .stars {
    font-size: 18px;
    color: #FFC107;
}

.rating-count {
    color: var(--text-gray);
    font-size: 16px;
}

.review-link {
    color: var(--accent-terracotta);
    text-decoration: none;
    font-size: 14px;
    margin-left: auto;
}

.product-price-large {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-price-large .current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-terracotta);
}

.product-price-large .old-price {
    font-size: 20px;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount {
    background-color: var(--accent-terracotta);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.product-colors,
.product-sizes {
    margin-bottom: 30px;
}

.product-colors h3,
.product-sizes h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.color-option.active {
    border-color: var(--accent-terracotta);
    transform: scale(1.1);
}

.size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.size-option {
    padding: 12px 20px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.size-option.active {
    border-color: var(--accent-terracotta);
    background-color: var(--accent-terracotta);
    color: white;
}

.size-option:hover:not(.active) {
    border-color: var(--accent-terracotta);
}

/* Действия с товаром */
.product-actions-large {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: var(--secondary-bg);
}

.quantity {
    padding: 0 15px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.add-to-cart-large {
    flex: 1;
    padding: 15px 30px;
    background-color: var(--accent-terracotta);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 200px;
}

.add-to-cart-large:hover {
    background-color: #b55a4d;
}

.wishlist-btn-large {
    width: 50px;
    height: 50px;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
    flex-shrink: 0;
}

.wishlist-btn-large:hover {
    border-color: var(--accent-terracotta);
    color: var(--accent-terracotta);
}

/* Особенности товара */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: 20px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-gray);
}

/* Вкладки с информацией */
.product-info-tabs {
    margin-bottom: 80px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-gray);
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--accent-terracotta);
    border-bottom-color: var(--accent-terracotta);
}

.tab-btn:hover:not(.active) {
    color: var(--text-dark);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.tab-panel h4 {
    font-size: 18px;
    margin: 25px 0 15px;
}

.tab-panel p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.tab-panel ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tab-panel li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Таблица характеристик */
.characteristics-table {
    width: 100%;
    border-collapse: collapse;
}

.characteristics-table tr {
    border-bottom: 1px solid var(--border-light);
}

.characteristics-table td {
    padding: 15px 0;
    vertical-align: top;
}

.characteristics-table td:first-child {
    font-weight: 600;
    width: 200px;
    color: var(--text-gray);
}

/* Отзывы */
.reviews-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--secondary-bg);
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 30px;
}

.rating-overview {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-terracotta);
    margin-bottom: 5px;
}

.overall-rating .stars {
    font-size: 20px;
    margin-bottom: 5px;
}

.rating-count {
    color: var(--text-gray);
    font-size: 14px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.rating-bar span:first-child {
    width: 60px;
}

.bar {
    width: 200px;
    height: 8px;
    background-color: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background-color: var(--accent-terracotta);
    border-radius: 4px;
}

.rating-bar span:last-child {
    width: 30px;
    text-align: right;
}

.add-review-btn {
    padding: 12px 24px;
    background-color: var(--accent-terracotta);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-review-btn:hover {
    background-color: #b55a4d;
}

/* Список отзывов */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review {
    padding: 25px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--accent-terracotta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.review-date {
    font-size: 14px;
    color: var(--text-light);
}

.review-rating .stars {
    font-size: 16px;
    color: #FFC107;
}

.review-text {
    line-height: 1.6;
}

/* Похожие товары */
.section {
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 28px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-terracotta);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: var(--primary-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-image {
    height: 200px;
    background-color: var(--accent-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 48px;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    margin-bottom: 10px;
    height: 50px;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-terracotta);
}

.old-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.add-to-cart {
    background-color: var(--accent-terracotta);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex: 1;
    margin-right: 10px;
}

.add-to-cart:hover {
    background-color: #b55a4d;
}

.wishlist-btn {
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    border-color: var(--accent-terracotta);
    color: var(--accent-terracotta);
}

/* Футер */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.footer-desc {
    color: #CCCCCC;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--accent-terracotta);
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-terracotta);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #999999;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .main-image {
        height: 400px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .bar {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        margin: 0;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .action-btn span:last-child {
        display: none;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .product-actions-large {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quantity-selector {
        align-self: flex-start;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
        border-bottom: 1px solid var(--border-light);
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: var(--accent-terracotta);
        border-bottom-color: var(--border-light);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rating-overview {
        flex-direction: column;
        gap: 20px;
    }
    
    .bar {
        width: 120px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price-large {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-price-large .current-price {
        font-size: 28px;
    }
    
    .gallery-thumbs {
        justify-content: flex-start;
    }
    
    .thumb {
        width: 60px;
        height: 60px;
    }
    
    .main-image {
        height: 300px;
        font-size: 80px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bar {
        width: 80px;
    }
    
    .characteristics-table td:first-child {
        width: 120px;
    }
}

/* Стили для изображений в галерее товара */
.main-image {
    position: relative;
    background-color: var(--accent-beige);
    height: 500px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.thumb.active {
    border-color: var(--accent-terracotta);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.thumb:hover:not(.active) {
    border-color: var(--border-light);
}

/* Убрали блок выбора цветов */
.product-colors {
    display: none; /* Скрываем выбор цветов */
}

/* Стили для изображений в похожих товарах */
.product-card .product-image {
    height: 200px;
    background-color: var(--accent-beige);
    overflow: hidden;
    position: relative;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Адаптивность изображений */
@media (max-width: 1024px) {
    .main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .main-image {
        height: 350px;
    }
    
    .thumb {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 300px;
    }
    
    .thumb {
        width: 50px;
        height: 50px;
    }
}


/* Дополнительные стили для улучшения галереи */
.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main-image:hover img {
    transform: scale(1.03);
}

/* Улучшение миниатюр */
.gallery-thumbs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
    position: relative;
}

.thumb.active {
    border-color: var(--accent-terracotta);
    transform: scale(1.05);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.thumb:hover:not(.active) {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Индикатор активной миниатюры */
.thumb.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--accent-terracotta);
    border-radius: 50%;
}




/* Стили для ссылок действий в шапке */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s;
    padding: 8px;
    border-radius: 8px;
}

.action-link:hover {
    color: var(--accent-terracotta);
    background-color: var(--accent-beige);
}

.action-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-terracotta);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для ссылок на товары в карточках */
.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-link:hover {
    color: inherit;
    text-decoration: none;
}

.product-card .product-info {
    padding: 20px;
}

/* Медиа-запросы для ссылок */
@media (max-width: 768px) {
    .header-actions {
        gap: 10px;
    }
    
    .action-link {
        padding: 6px;
        font-size: 11px;
    }
    
    .action-icon {
        font-size: 18px;
        margin-bottom: 3px;
    }
}

@media (max-width: 360px) {
    .header-actions .action-link span:last-child {
        display: none;
    }
    
    .header-actions .action-link {
        padding: 8px;
    }
}