/* Основные стили - Кофейная тематика */
:root {
    --primary-color: #6F4E37;    /* Кофейный (Coffee) */
    --secondary-color: #5D4037;  /* Темно-коричневый */
    --accent-color: #8D6E63;     /* Светло-коричневый */
    --light-color: #F5F0EB;      /* Светло-бежевый фон */
    --dark-color: #3E2723;       /* Темно-коричневый текст */
    --text-color: #4E342E;       /* Коричневато-серый текст */
    --border-color: #D7CCC8;     /* Светло-коричневая граница */
    --success-color: #8D6E63;    /* Коричневый успех */
    --danger-color: #F44336;     /* Красный для ошибок */
    --warning-color: #FFC107;    /* Желтый для предупреждений */
    --info-color: #795548;       /* Коричневый для информации */
    --shadow-sm: 0 2px 8px rgba(111, 78, 55, 0.05);
    --shadow-md: 0 4px 12px rgba(111, 78, 55, 0.08);
    --shadow-lg: 0 8px 24px rgba(111, 78, 55, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236F4E37' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.main {
    flex: 1;
    padding: 40px 0;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.2px;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.2px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color var(--transition-fast);
}

.btn:hover::after {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.3);
}

.btn-secondary {
    color: white;
    background: linear-gradient(135deg, #8D6E63, #5D4037);
    border: none;
}

.btn-secondary:hover {
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.3);
}

.btn-accent {
    color: white;
    background: linear-gradient(135deg, #8D6E63, #A1887F);
    border: none;
}

.btn-accent:hover {
    box-shadow: 0 4px 12px rgba(141, 110, 99, 0.3);
}

.btn-outline {
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn svg {
    margin-right: 8px;
}

/* Формы */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    font-weight: 300;
}

.form-control:focus {
    color: var(--text-color);
    background-color: #fff;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.15);
}

.form-control::placeholder {
    color: #aaa;
    opacity: 1;
}

.form-text {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Оповещения */
.alert {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.alert::before {
    content: '';
    display: block;
    width: 4px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 4px 0 0 4px;
}

.alert-success {
    color: #155724;
    background-color: #f0fff4;
}

.alert-success::before {
    background-color: var(--success-color);
}

.alert-danger {
    color: #721c24;
    background-color: #fff5f5;
}

.alert-danger::before {
    background-color: var(--danger-color);
}

.alert-warning {
    color: #856404;
    background-color: #fffbf0;
}

.alert-warning::before {
    background-color: var(--warning-color);
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Шапка сайта */
.header {
    background-color: #F5F0EB;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__top {
    display: flex;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.header__logo {
    margin-right: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-text {
    margin-left: 10px;
}

.site-domain {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.header__search {
    flex: 1;
    margin-right: 30px;
}

.search-form {
    position: relative;
    display: flex;
}

.search-form__input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 50px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    background-color: #F5F0EB;
    font-weight: 300;
}

.search-form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.1);
}

.search-form__button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.header__actions {
    display: flex;
    align-items: center;
}

.header__cart {
    position: relative;
    margin-left: 15px;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #D7CCC8;
    transition: all var(--transition-normal);
}

.cart-icon:hover {
    background-color: #f0f0f0;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

.header__bottom {
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
}

/* Хлебные крошки */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 300;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #aaa;
    content: "›";
    font-size: 1.1rem;
    line-height: 1;
}

.breadcrumb-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Пагинация */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: var(--radius-md);
    margin: 2rem 0;
    justify-content: center;
}

.pagination .page-item {
    margin: 0 3px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: var(--radius-md);
    background-color: #F5F0EB;
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: 400;
    border: 1px solid var(--border-color);
}

.pagination .page-link:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .page-item.disabled .page-link {
    color: #aaa;
    pointer-events: none;
    background-color: #f9f9f9;
}

.pagination-item {
    margin: 0 0.2rem;
}

.pagination-link {
    display: block;
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
}

.pagination-link:hover {
    color: var(--secondary-color);
    background-color: var(--light-color);
    border-color: var(--border-color);
}

.pagination-link.active {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination-link.disabled {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: var(--border-color);
}

/* Карточки товаров */
.product-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #D7CCC8;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-card__image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background-color: #F5F0EB;
}

.product-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 1;
}

.product-card__badge--sale {
    background-color: var(--danger-color);
    color: white;
}

.product-card__badge--new {
    background-color: var(--success-color);
    color: white;
}

.product-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__category {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: 300;
}

.product-card__title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-card__title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-card__title a:hover {
    color: var(--primary-color);
}

.product-card__price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    margin-top: auto;
}

.product-card__current-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.product-card__old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 300;
}

.product-card__actions {
    display: flex;
    gap: 10px;
}

.search-form {
    display: flex;
    position: relative;
}

.search-form__input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.search-form__button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-search, .icon-cart {
    width: 18px;
    height: 18px;
}

.header__cart {
    position: relative;
}

.cart-link {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.cart-link__count {
    display: inline-block;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    margin-left: 5px;
}

.header__bottom {
    border-top: 1px solid var(--border-color);
}

/* Текстовое меню */
.text-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    font-size: 0.9rem;
}

.text-nav__link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    padding: 5px 0;
}

.text-nav__link:hover {
    color: var(--primary-color);
}

.text-nav__separator {
    margin: 0 8px;
    color: #ccc;
    padding: 5px 0;
}

/* Подвал */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 30px;
}

.footer__column {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.footer__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__item {
    margin-bottom: 10px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__link:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Cookie-уведомление */
.cookie-notification {
    position: fixed;
    bottom: -100%;
    right: 20px;
    max-width: 300px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 15px;
    z-index: 9999;
    transition: bottom 0.3s ease-in-out;
}

.cookie-notification.show {
    bottom: 20px;
}

.cookie-notification__content {
    font-size: 0.875rem;
}

.cookie-notification__content p {
    margin-bottom: 10px;
}

/* Карточки товаров */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.product-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card__content {
    padding: 15px;
}

.product-card__title {
    font-size: 1rem;
    margin-bottom: 10px;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card__price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-card__current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
}

.product-card__old-price {
    font-size: 0.875rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-card__actions {
    display: flex;
    gap: 10px;
}

/* Детальная страница товара */
.product-detail {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.product-detail__gallery {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.product-detail__image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.product-detail__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-detail__info {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.product-detail__title {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.product-detail__price {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.product-detail__current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.product-detail__old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 15px;
}

.product-detail__vendor {
    margin-bottom: 20px;
}

.product-detail__actions {
    margin-bottom: 30px;
}

.product-detail__buy-btn {
    margin-right: 10px;
}

.product-detail__description {
    margin-bottom: 30px;
}

.product-detail__params {
    margin-bottom: 30px;
}

.product-detail__params-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
}

.params-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
}

.params-table tr:last-child td {
    border-bottom: none;
}

.params-table td:first-child {
    font-weight: 700;
    width: 40%;
}

/* Корзина */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cart-table th {
    background-color: var(--light-color);
    font-weight: 700;
}

.cart-item__image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.cart-item__title {
    font-weight: 700;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
}

.cart-item__quantity-input {
    width: 60px;
    text-align: center;
    margin: 0 10px;
}

.cart-item__quantity-btn {
    width: 30px;
    height: 30px;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.cart-item__remove {
    color: var(--danger-color);
    background: none;
    border: none;
    cursor: pointer;
}

.cart-summary {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.cart-summary__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-summary__total {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
}

/* Категории */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card__image {
    position: relative;
    padding-top: 75%;
    background-color: var(--light-color);
}

.category-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card__content {
    padding: 15px;
}

.category-card__title {
    font-size: 1rem;
    margin-bottom: 5px;
    text-align: center;
}

.category-card__count {
    font-size: 0.875rem;
    color: #999;
    text-align: center;
}

/* Подкатегории на главной */
.subcategories-list {
    margin-bottom: 30px;
}

.subcategories-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.subcategory-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 4px;
    padding: 10px 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 200px;
}

.subcategory-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.subcategory-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    fill: var(--primary-color);
}

.subcategory-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 991px) {
    .product-detail__gallery,
    .product-detail__info {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer__column {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {
    .header__top {
        flex-wrap: wrap;
    }
    
    .header__logo {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
    
    .text-nav {
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .text-nav__link {
        padding: 3px 0;
    }
    
    .text-nav__separator {
        margin: 0 5px;
        padding: 3px 0;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
        border-radius: 4px;
    }
    
    .cart-table td {
        display: block;
        text-align: right;
        padding: 10px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .cart-table td:last-child {
        border-bottom: none;
    }
    
    .cart-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer__column {
        flex: 0 0 100%;
    }
}

@media (max-width: 575px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* Преимущества */
.advantages {
    margin: 80px 0;
    padding: 60px 0;
    background-color: #FAFAFA;
    position: relative;
    overflow: hidden;
}

.advantages:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,119,0,0.1) 0%, rgba(255,119,0,0) 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
}

.advantages:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,119,0,0.1) 0%, rgba(255,119,0,0) 70%);
    bottom: -150px;
    right: -150px;
    border-radius: 50%;
}

.advantages-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.4rem;
    position: relative;
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.advantages-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.advantage-cube {
    perspective: 1000px;
    height: 100%;
    min-height: 300px;
}

.advantage-cube__inner {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    overflow: hidden;
}

.advantage-cube__inner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,119,0,0.03) 0%, rgba(255,85,0,0.03) 100%);
    z-index: -1;
}

.advantage-cube__inner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.advantage-cube__inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 119, 0, 0.3);
}

.advantage-cube__icon {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF8F3;
    border-radius: 20px;
    border: 2px solid rgba(255, 119, 0, 0.2);
    padding: 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(255, 119, 0, 0.1);
    transition: all var(--transition-normal);
}

.advantage-cube__inner:hover .advantage-cube__icon {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 25px rgba(255, 119, 0, 0.2);
}

.advantage-cube__icon:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 20px;
    border: 1px dashed rgba(255, 119, 0, 0.3);
    z-index: -1;
}

.advantage-cube__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
}

.advantage-cube__text {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .advantages {
        margin: 60px 0;
        padding: 40px 0;
    }
    
    .advantages-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .advantage-cube {
        min-height: 260px;
    }
    
    .advantage-cube__icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
        padding: 20px;
    }
    
    .advantage-cube__title {
        font-size: 1.3rem;
    }
}

/* Стили для страницы "О нас" */
.page-section {
    background-color: #FFF;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}

.page-section h2 {
    color: var(--primary-color);
    margin-top: 0;
}

.page-section h3 {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 25px;
}

.page-section ul {
    padding-left: 20px;
}

.page-section ul li {
    margin-bottom: 8px;
}

/* Стили для страницы контактов */
.contact-item {
    display: flex;
    margin-bottom: 25px;
    background-color: #F5F0EB;
    padding: 15px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.contact-item__icon {
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-item__content {
    flex: 1;
}

.contact-item__content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.map-info {
    background-color: #F5F0EB !important;
    border-left: 4px solid var(--primary-color);
}
    }
}