/* ========================================
   ОБЩИЕ СТИЛИ
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

a {
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ШАПКА (HEADER)
   ======================================== */
#header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Верхняя строка шапки */
.header-top {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    padding: 8px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top-left {
    display: flex;
    gap: 25px;
    color: #475569;
}

.header-top-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-left i {
    color: #3b82f6;
    font-size: 14px;
}

.header-top-right {
    display: flex;
    gap: 20px;
}

.header-top-right a {
    color: #475569;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.header-top-right a:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Основная часть шапки */
.header-main {
    padding: 15px 0;
    background: #ffffff;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Логотип */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 24px;
    color: #1e293b;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    color: #3b82f6;
}

/* Поиск */
.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.header-search form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.header-search form:focus-within {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.header-search input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    font-family: inherit;
}

.header-search input::placeholder {
    color: #94a3b8;
}

.header-search button {
    background: #3b82f6;
    border: none;
    color: #fff;
    padding: 12px 22px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button:hover {
    background: #2563eb;
}

/* Телефон */
.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.header-phone i {
    font-size: 28px;
    color: #3b82f6;
}

.header-phone div {
    display: flex;
    flex-direction: column;
}

.header-phone span {
    font-weight: 700;
    font-size: 18px;
    color: #1e293b;
}

.header-phone small {
    font-size: 12px;
    color: #64748b;
}

/* Корзина */
.header-cart {
    position: relative;
}

.header-cart a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #3b82f6;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    transition: all 0.3s ease;
    position: relative;
}

.header-cart a:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* ========================================
   НАВИГАЦИЯ
   ======================================== */
#navigation {
    background: #1e293b;
    border-top: 3px solid #3b82f6;
}

#navigation .container {
    display: flex;
    align-items: center;
    position: relative;
}

#navigation .menu {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

#navigation .menu > li {
    position: relative;
}

#navigation .menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

#navigation .menu > li > a:hover,
#navigation .menu > li.active > a {
    background: #334155;
    color: #ffffff;
    border-bottom-color: #3b82f6;
}

#navigation .menu > li > a i {
    font-size: 16px;
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: #e2e8f0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Выпадающее меню */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: #f1f5f9;
    color: #3b82f6;
    border-left-color: #3b82f6;
}

/* ========================================
   СЛАЙДЕР
   ======================================== */
#slider {
    padding: 30px 0;
    background: #ffffff;
}

.main-slider {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.main-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.main-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 50%;
}

.slide-content h2 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-slide {
    display: inline-block;
    padding: 14px 40px;
    background: #ffffff;
    color: #1e293b;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-slide:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.main-slider .swiper-slide img {
    position: relative;
    z-index: 2;
    max-height: 300px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Кнопки слайдера */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.4);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
    transform: scale(1.3);
}

/* ========================================
   ОСНОВНОЙ КОНТЕНТ
   ======================================== */
#content {
    background: #f8fafc;
    padding: 30px 0 60px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Левая колонка */
#main-column {
    flex: 1;
    min-width: 0;
}

/* Стили для основного текста */
.maintext {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.maintext h1,
.maintext h2 {
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

.maintext h1 {
    font-size: 32px;
}

.maintext h2 {
    font-size: 26px;
}

.maintext p {
    margin-bottom: 16px;
    color: #334155;
    line-height: 1.8;
}

/* ========================================
   ТОВАРЫ НА ГЛАВНОЙ
   ======================================== */
.products-section {
    margin-bottom: 40px;
}

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

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

.view-all {
    color: #3b82f6;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all:hover {
    gap: 12px;
    color: #1d4ed8;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.product-image .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}

.product-image .product-badge:not(:first-child) {
    background: #3b82f6;
}

.product-image .product-badge:nth-child(2) {
    background: #f59e0b;
}

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

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 10px;
    font-size: 13px;
}

.product-rating .fa-star {
    color: #f59e0b;
}

.product-rating .fa-star-half-alt {
    color: #f59e0b;
}

.product-rating span {
    color: #94a3b8;
    margin-left: 6px;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
}

.old-price {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 0;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-buy:hover {
    background: #2563eb;
    transform: scale(1.02);
}

.btn-buy i {
    font-size: 16px;
}

/* ========================================
   ПРАВАЯ КОЛОНКА (САЙДБАР)
   ======================================== */
#rightcolumn {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: #3b82f6;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    color: #475569;
    padding: 6px 12px;
    display: block;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sidebar-widget ul li a:hover {
    background: #f1f5f9;
    color: #3b82f6;
    padding-left: 18px;
}

/* Недавние товары */
.recent-items li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.recent-items li:last-child {
    border-bottom: none;
}

.recent-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.recent-items li a {
    padding: 0 !important;
}

.recent-items li a:hover {
    padding-left: 0 !important;
    background: none !important;
}

/* Новости в сайдбаре */
.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.news-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.news-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.news-item p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
}

.news-link {
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-link:hover {
    gap: 8px;
}

.news-nav {
    margin-top: 15px;
    text-align: center;
}

/* Промо-блок */
.promo-block {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
}

.promo-block p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.promo-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #ffffff;
    color: #3b82f6;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background: #1e293b;
    color: #ffffff;
    transform: scale(1.05);
}

/* ========================================
   ФУТЕР
   ======================================== */
#footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-col p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #94a3b8;
}

.footer-col p i {
    color: #3b82f6;
    width: 20px;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    color: #94a3b8;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    margin-top: 0;
}

.footer-bottom p {
    font-size: 14px;
    color: #64748b;
}

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

.footer-payments img {
    height: 30px;
    width: auto;
    filter: grayscale(1) brightness(2);
    transition: filter 0.3s ease;
}

.footer-payments img:hover {
    filter: grayscale(0) brightness(1);
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    #rightcolumn {
        width: 280px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Планшеты в портретной ориентации */
@media (max-width: 768px) {
    /* Шапка */
    .header-top {
        display: none;
    }

    .header-main .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .header-phone {
        display: none;
    }

    .logo a {
        font-size: 20px;
    }

    .logo img {
        height: 35px;
    }

    /* Навигация */
    .burger-menu {
        display: flex;
    }

    #navigation .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e293b;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-top: 2px solid #3b82f6;
    }

    #navigation .menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #navigation .menu > li > a {
        padding: 12px 24px;
        border-bottom: 1px solid #334155;
    }

    #navigation .menu > li > a:hover {
        background: #334155;
        border-bottom-color: #334155;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #0f172a;
        border-radius: 0;
        padding: 0;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: #94a3b8;
        padding: 10px 40px;
        font-size: 13px;
        border-left: none;
        border-bottom: 1px solid #1e293b;
    }

    .dropdown-menu li a:hover {
        background: #1e293b;
        color: #ffffff;
        border-left: none;
    }

    /* Слайдер */
    .main-slider .swiper-slide {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        min-height: 300px;
    }

    .slide-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content h2 {
        font-size: 14px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .main-slider .swiper-slide img {
        max-height: 150px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    /* Контент */
    .content-wrapper {
        flex-direction: column;
    }

    #rightcolumn {
        width: 100%;
    }

    /* Товары */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .product-image {
        height: 160px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .current-price {
        font-size: 18px;
    }

    .btn-buy {
        font-size: 13px;
        padding: 8px 0;
    }

    /* Футер */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Мобильные телефоны */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .header-main {
        padding: 10px 0;
    }

    .logo a {
        font-size: 16px;
        gap: 8px;
    }

    .logo img {
        height: 28px;
    }

    .header-cart a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .header-search input {
        padding: 10px 14px;
        font-size: 13px;
    }

    .header-search button {
        padding: 10px 14px;
    }

    .main-slider .swiper-slide {
        padding: 20px 15px;
        min-height: 220px;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .btn-slide {
        padding: 10px 24px;
        font-size: 12px;
    }

    .main-slider .swiper-slide img {
        max-height: 100px;
    }

    .maintext {
        padding: 15px;
    }

    .maintext h1 {
        font-size: 24px;
    }

    .maintext h2 {
        font-size: 20px;
    }

    .sidebar-widget {
        padding: 16px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-image {
        height: 120px;
        padding: 10px;
    }

    .product-image .product-badge {
        font-size: 10px;
        padding: 2px 8px;
        top: 8px;
        left: 8px;
    }

    .product-info {
        padding: 12px 12px 14px;
    }

    .product-info h3 {
        font-size: 12px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-rating {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .product-rating .fa-star {
        font-size: 11px;
    }

    .current-price {
        font-size: 15px;
    }

    .old-price {
        font-size: 12px;
    }

    .btn-buy {
        font-size: 12px;
        padding: 6px 0;
        gap: 4px;
    }

    .btn-buy i {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .section-header h2::after {
        width: 30px;
        bottom: -4px;
    }

    .view-all {
        font-size: 13px;
    }

    #rightcolumn {
        gap: 15px;
    }

    .sidebar-widget h3 {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-payments img {
        height: 24px;
    }

    .social-links a {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* Очень маленькие телефоны */
@media (max-width: 380px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .product-image {
        height: 100px;
    }

    .current-price {
        font-size: 13px;
    }

    .old-price {
        font-size: 11px;
    }

    .product-info h3 {
        font-size: 11px;
    }

    .btn-buy {
        font-size: 11px;
        padding: 5px 0;
    }
}