:root {
    --primary: #ff385c; /* Яркий розово-красный для акцентов */
    --primary-dark: #e31837; /* Темный красный для ховеров */
    --secondary: #00c1b4; /* Бирюзовый для дополнительных акцентов */
    --background: #ffffff;
    --text: #1a1a1a;
    --text-light: #4a4a4a;
    --gray-light: #f7f7f7;
    --border: #e8e8e8;
    --star-color: #ffb800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    background: #000000;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff; /* фон для контента */
}

/* Announcement Bar */
.announcement-bar {
    background: #000;
    color: white;
    text-align: center;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Брендинг */
.brand {
    padding: 20px;
    padding-bottom: 30px;
    text-align: center;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.brand-name {
    font-size: 33px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.brand-name::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0.6);
    transition: transform 0.3s ease;
}

.brand-name:hover::after {
    transform: scaleX(1);
}

/* Header */
.header {
    padding: 10px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, var(--gray-light) 100%);
    margin-bottom: 60px;
}

.header h1 {
    font-size: 42px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.header p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

/* Trust Badges */
.trust-badges {
    padding: 0 20px 20px;
    margin: 0 auto;
    max-width: 1000px;
}

.trust-badges-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 20px;
    color: var(--primary);
}

.products-heading {
    text-align: center;
    padding: 20px;
}

.products-heading h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.products-heading h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #ff4757;
}

.sale-text {
    color: #000;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .products-heading h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .sale-text {
        font-size: 16px;
    }
}

/* Кликабельная карточка */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

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

/* Если хотите добавить эффект тени при наведении */
.product-card {
    transition: box-shadow 0.2s ease;
}

.product-card-link:hover .product-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
    padding: 0 10px;
}

.product-card {
    background: white;
    transition: transform 0.3s ease;
    position: relative;
}

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

.product-image-wrapper {
    position: relative;
    padding-bottom: 133%; /* Возвращаем оригинальное соотношение сторон 4:3 */
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.cyber-monday {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff385c;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff385c;
    color: white;
    padding: 4px 8px;
    font-size: 16px;
    font-weight: 700;
    z-index: 1;
}

.product-info {
    padding: 6px 0; /* Уменьшаем отступы */
}

.product-title {
    font-size: 16px;
    font-weight: 600; /* Делаем текст более жирным */
    color: #000; /* Более темный цвет для лучшей читаемости */
    margin-bottom: 4px; /* Уменьшаем отступ */
    line-height: 1.3;
    white-space: normal; /* Текст не будет сокращаться */
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px; /* Уменьшаем отступ */
}

.stars {
    color: #ffb800;
    font-size: 14px;
}

.reviews-count {
    color: #666;
    font-size: 13px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px; /* Добавляем небольшой отступ сверху */
}

.new-price {
    font-size: 21px; /* Увеличиваем размер */
    font-weight: 700;
    color: #ff385c;
}

.old-price {
    font-size: 17px; /* Увеличиваем размер */
    font-weight: 500; /* Делаем чуть жирнее */
    color: #aaa;
    text-decoration: line-through;
}

@media screen and (min-width: 320px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media screen and (min-width: 768px) {
    .products-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media screen and (min-width: 1024px) {
    .products-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

/* Footer */
.footer {
    margin-top: auto;
    background: #000000;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

/* Брендинг в футере */
.footer-brand {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    letter-spacing: 1px;
}

/* Основной контент футера */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.help-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Контакты */
.footer-contact {
    background: rgb(255 255 255 / 12%);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-contact:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-contact i {
    color: var(--primary);
    font-size: 20px;
    margin-right: 12px;
}

.footer-contact-text {
    display: inline-flex;
    flex-direction: column;
}

.footer-contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.footer-contact-value {
    color: #fff;
    font-size: 14px;
}

/* Значок поддержки */
.footer-support-hours {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.support-badge {
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Безопасность */
.security-badges {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
}

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

.security-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.security-primary {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.security-secondary {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Ссылки */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 2);
    text-decoration: none;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 12px;
    color: var(--primary);
}

/* Нижняя часть футера */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Тултип для копирования */
.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.footer-security img {
    width: 100px; /* или другой желаемый размер */
    height: auto;
    object-fit: contain;
    max-width: 100%;
}

/* Если нужно задать конкретные размеры для контейнера */
.norton-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 300px; /* ограничиваем максимальную ширину всего блока */
}

.security-badges {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    max-width: 100%; /* убедимся, что блок не выходит за пределы родителя */
}

/* Сохраняем оригинальные стили для products-container */
.products-container {
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 45px;
    width: 100%;
    max-width: 1200px;
    flex: 1;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .header h1 {
        font-size: 32px;
    }

    .trust-badges-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .brand-name {
        font-size: 35px;
    }
}

@media screen and (max-width: 480px) {
    .trust-badges-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .header {
        padding: 60px 20px;
    }
}

@media screen and (min-width: 320px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (min-width: 768px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (min-width: 1024px) {
    .products-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}
