/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Тело */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcf5ed;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* Шапка сайта */
header {
    background-color: #333;
    color: #fcf5ed;
    padding: 10px 20px;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    min-height: 60px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Основная часть */
.menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.menu a {
    color: #fcf5ed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

/* Изменение цвета кнопки */
.menu a:hover {
    color: #b3b3b3;
}

/* Основная часть */
main{
    background-color: #fcf5ed;
    padding: 20px;
    margin: 15px 0;
}

/* Плитка */
.hero{
    font-family: 'Montserrat', sans-serif;
    background-color: #333;
    color: #fcf5ed;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    border-radius: 10px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

.hero h2 span{
    color: #f23e42;
}

/* Корзина */
.cart{
    color: #fcf5ed;
    text-decoration: none;
    background-color: #5e5e5e;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: background-color 0.4s;
}

.cart:hover{
    background-color: #d4d4d4;
    color: #333;
}

/* Логотип */
.logo{
    font-size: 28px;
    font-weight: 700;
    color: #989898;
    text-decoration: none;
}

.logo span{
    color: #fcf5ed;
}

/* Авторизация */
.login{
    margin-right: 10px;
    color: #fcf5ed;
    text-decoration: none;
    background-color: #5e5e5e;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: background-color 0.4s; 
}

.login, .cart {
    color: #fcf5ed;
    text-decoration: none;
    background-color: #5e5e5e;
    padding: 8px 16px;
    border-radius: 10px;
    transition: background-color 0.4s, color 0.4s;
    font-weight: 500;
    white-space: nowrap;
}

.login:hover, .cart:hover {
    background-color: #d4d4d4;
    color: #333;
}



/* Подвал */
footer{
    background-color: #333;
    color: #fcf5ed;
    padding: 60px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #5e5e5e;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fcf5ed;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #989898;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #5e5e5e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fcf5ed;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #FF4040;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #5e5e5e;
    color: #fcf5ed;
    font-size: 14px;
}

/* Банер */
.main-banner {
    background: #333;
    padding: 1.2rem 1.2rem;
    text-align: center;
    color: #fcf5ed;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.banner-text-sale h2{
    color: #fcf5ed;
    font-family: 'Montserrat', sans-serif;
    writing-mode: vertical-lr;
    margin: auto auto;
    align-items: center;
}

.banner-container {
    max-width: 1500px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 1rem;
    position: relative;
}

.banner-image img {
    width: 100%;
    border-radius: 10px;
}

.banner-image {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.banner-image:hover {
    transform: translateY(-6px);
}

.banner-image.no-parallax {
    transform: none !important;
}

/* Баннер контактов */
.contacts-banner {
    background: linear-gradient(135deg, rgba(78, 79, 80, 0.9), rgba(21, 20, 20, 0.9));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
}

.contacts-banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contacts-banner p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Основной контент контактов */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info h2, .contact-form h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h2::after, .contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #fcf5ed;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #fcf5ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #333;
    font-size: 20px;
}

.contact-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #5e5e5e;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: #5e5e5e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #FF4040;
    color: #fcf5ed;
    transform: translateY(-3px);
}

section {
    padding: 20px 0;
}

.section-title{
    text-align: center;
    background-color: #333;
    color: #fcf5ed;
    border-radius: 10px;
    padding: 10px 0;
    margin-bottom: 30px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Кнопка очистки корзины */
.clear-cart-btn {
    width: 100%;
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.clear-cart-btn:hover {
    background-color: #c0392b;
}

.clear-cart-btn:active {
    transform: scale(0.98);
}

/* Модальное окно подтверждения очистки */
#confirmModal .modal-content {
    max-width: 400px;
    text-align: center;
    padding: 40px;
    animation: modalAppear 0.3s ease-out;
}

#confirmModal .modal-content h2 {
    margin-bottom: 15px;
    color: #333;
}

#confirmModal .modal-content p {
    color: #666;
    margin-bottom: 25px;
}

#confirmClearBtn {
    background-color: #FF4040;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#confirmClearBtn:hover {
    background-color: #e03e3e;
}

#cancelClearBtn {
    background-color: #5e5e5e;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#cancelClearBtn:hover {
    background-color: #6e6e6e;
}

/* Карточка товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: #2a2a2a;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s;
    background-color: #2a2a2a;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FF4040;
    color: #fcf5ed;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #989898;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fcf5ed;
    line-height: 1.3;
    min-height: 42px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price .price {
    font-weight: 700;
    font-size: 18px;
    color: #fcf5ed;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #989898;
    font-size: 15px;
    margin-right: 10px;
}

.add-to-cart {
    background-color: #5e5e5e;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    flex-shrink: 0;
}

.add-to-cart:hover {
    background-color: #FF4040;
    transform: scale(1.1);
}

/* Анимация картинки */
.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Форма обратной связи */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #5e5e5e;
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #5e5e5e;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #f23e42;
}

/* Карта магазинов */
.stores-section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: #fcf5ed;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #5e5e5e;
}

.section-title p {
    color: #fcf5ed;
    max-width: 600px;
    margin: 0 auto;
}

.stores-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stores-map {
    background-color: #fcf5ed;
    border-radius: 10px;
    overflow: hidden;
    height: 500px;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

.map-loading i {
    font-size: 60px;
    margin-bottom: 20px;
}

.map-loading h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.stores-list {
    display: flex;
    border-radius: 10px;
    flex-direction: column;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.stores-list::-webkit-scrollbar {
    width: 6px;
}

.stores-list::-webkit-scrollbar-track {
    background: #b3b3b3;
    border-radius: 10px;
}

.stores-list::-webkit-scrollbar-thumb {
    background: #fcf5ed;
    border-radius: 10px;
}

.store-card {
    background-color: #333;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border-left: 4px solid #989898;
}

.store-card:hover, .store-card.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #5e5e5e;
}

.store-card h3 {
    font-size: 20px;
    color: #fcf5ed;
    margin-bottom: 10px;
}

.store-address {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #fcf5ed;
}

.store-address i {
    margin-right: 10px;
    color: #fcf5ed;
}

.store-hours {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #fcf5ed;
}

.store-hours i {
    margin-right: 10px;
    color: #fcf5ed;
}

.store-phone {
    display: flex;
    align-items: center;
    color: #fcf5ed;
}

.store-phone i {
    margin-right: 10px;
    color: #333;
    color: #fcf5ed;
}

/* Общие стили для информационных страниц */
.info-content {
    max-width: 1000px;
    margin: 0 auto;
}

.info-block {
    background-color: #333;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    color: #fcf5ed;
    border-left: 4px solid #FF4040;
}

.info-block h3 {
    color: #fcf5ed;
    font-size: 20px;
    margin-bottom: 15px;
}

.info-block p {
    color: #d4d4d4;
    line-height: 1.8;
}

.info-block p strong {
    color: #fcf5ed;
}

/* Информационные карточки */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.info-card {
    background-color: #333;
    padding: 25px;
    border-radius: 12px;
    color: #fcf5ed;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.info-card h3 {
    color: #fcf5ed;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5e5e5e;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    padding: 6px 0 6px 25px;
    position: relative;
    color: #d4d4d4;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: #FF4040;
    font-weight: 700;
}

/* Шаги */
.info-steps {
    background-color: #333;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.info-steps h3 {
    color: #fcf5ed;
    font-size: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.step {
    display: flex;
    gap: 15px;
    background-color: #444;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateX(5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #FF4040;
    color: #fcf5ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #fcf5ed;
    font-size: 16px;
    margin-bottom: 5px;
}

.step-content p {
    color: #d4d4d4;
    font-size: 14px;
    line-height: 1.6;
}

.step-content p a {
    color: #FF4040;
}

/* Размерная сетка */
.size-content {
    max-width: 1000px;
    margin: 0 auto;
}

.size-info {
    background-color: #333;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    color: #d4d4d4;
}

.size-table-wrapper {
    margin-bottom: 40px;
}

.size-table-wrapper h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 15px;
}

.size-table {
    overflow-x: auto;
    background-color: #333;
    border-radius: 12px;
    padding: 20px;
}

.size-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.size-table thead {
    background-color: #FF4040;
}

.size-table th {
    padding: 12px 15px;
    text-align: left;
    color: #fcf5ed;
    font-weight: 600;
}

.size-table td {
    padding: 10px 15px;
    color: #d4d4d4;
    border-bottom: 1px solid #5e5e5e;
}

.size-table tbody tr:hover {
    background-color: #444;
}

.size-table tbody tr:last-child td {
    border-bottom: none;
}

/* Советы по размеру */
.size-tips {
    margin-top: 40px;
}

.size-tips h3 {
    color: #333;
    font-size: 22px;
    text-align: center;
    margin-bottom: 25px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.tip-item {
    background-color: #333;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: #fcf5ed;
    transition: transform 0.3s;
}

.tip-item:hover {
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.tip-item h4 {
    color: #fcf5ed;
    margin-bottom: 10px;
}

.tip-item p {
    color: #d4d4d4;
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #333;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #444;
}

.faq-icon {
    font-size: 20px;
}

.faq-question h3 {
    flex: 1;
    color: #fcf5ed;
    font-size: 16px;
    margin: 0;
}

.faq-arrow {
    color: #989898;
    font-size: 14px;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: #d4d4d4;
    line-height: 1.8;
}

.faq-answer p a {
    color: #FF4040;
}

/* Отзывы */
.reviews-stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background-color: #333;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.rating-overall {
    text-align: center;
    padding: 20px;
    border-right: 1px solid #5e5e5e;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #fcf5ed;
}

.rating-stars {
    font-size: 24px;
    color: #fcf5ed;
    margin: 5px 0;
}

.rating-count {
    color: #989898;
    font-size: 14px;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fcf5ed;
    font-size: 13px;
}

.rating-bar .bar {
    flex: 1;
    height: 6px;
    background-color: #5e5e5e;
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar .bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #FF4040, #ff6b6b);
    border-radius: 3px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.review-card {
    background-color: #333;
    padding: 25px;
    border-radius: 12px;
    color: #fcf5ed;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-user {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fcf5ed;
    font-size: 16px;
}

.review-user h4 {
    color: #fcf5ed;
    font-size: 16px;
}

.review-date {
    color: #989898;
    font-size: 12px;
}

.review-rating {
    color: #fcf5ed;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-text {
    color: #d4d4d4;
    line-height: 1.8;
    margin-bottom: 12px;
}

.review-product {
    color: #989898;
    font-size: 13px;
    padding-top: 10px;
    border-top: 1px solid #5e5e5e;
}

/* Форма отзыва */
.review-form-wrapper {
    background-color: #333;
    padding: 30px;
    border-radius: 12px;
}

.review-form-wrapper h3 {
    color: #fcf5ed;
    font-size: 22px;
    text-align: center;
    margin-bottom: 25px;
}

.review-form .form-group label {
    color: #fcf5ed;
}

.review-form .form-control {
    background-color: #444;
    border-color: #5e5e5e;
    color: #fcf5ed;
}

.review-form .form-control:focus {
    border-color: #FF4040;
}

.rating-input {
    display: flex;
    gap: 8px;
    font-size: 28px;
    cursor: pointer;
}

.rating-input .star {
    color: #989898;
    transition: color 0.3s;
}

.rating-input .star:hover {
    color: #FF4040;
}

/* Адаптивность */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .reviews-stats {
        grid-template-columns: 1fr;
    }
    
    .rating-overall {
        border-right: none;
        border-bottom: 1px solid #5e5e5e;
        padding-bottom: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .size-table-wrapper h3 {
        font-size: 18px;
    }
    
    .review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Стили для страницы доставки */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.delivery-card {
    background-color: #333;
    border-radius: 15px;
    padding: 30px;
    color: #fcf5ed;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.delivery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.delivery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF4040, #fcf5ed);
}

.delivery-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.delivery-card h3 {
    font-size: 20px;
    color: #fcf5ed;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5e5e5e;
}

.delivery-badge {
    background-color: #FF4040;
    color: #fcf5ed;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.delivery-list {
    list-style: none;
    padding: 0;
}

.delivery-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #d4d4d4;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.delivery-list li:last-child {
    border-bottom: none;
}

.delivery-list li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: #FF4040;
    font-weight: 700;
}

.delivery-list li strong {
    color: #fcf5ed;
}

/* Способы оплаты */
.payment-info {
    margin: 60px 0;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.payment-method-card {
    background-color: #333;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: #fcf5ed;
    transition: transform 0.3s;
}

.payment-method-card:hover {
    transform: translateY(-5px);
}

.payment-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.payment-method-card h3 {
    color: #fcf5ed;
    font-size: 16px;
    margin-bottom: 8px;
}

.payment-method-card p {
    color: #989898;
    font-size: 14px;
}

/* Важная информация */
.delivery-important {
    margin: 40px 0 20px;
}

.important-box {
    background: linear-gradient(135deg, #333, #444);
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid #FF4040;
}

.important-box h3 {
    color: #fcf5ed;
    font-size: 18px;
    margin-bottom: 15px;
}

.important-box ul {
    list-style: none;
    padding: 0;
}

.important-box ul li {
    color: #d4d4d4;
    padding: 6px 0 6px 25px;
    position: relative;
    font-size: 14px;
}

.important-box ul li::before {
    content: '!';
    position: absolute;
    left: 0;
    color: #FF4040;
    font-weight: 700;
}

.important-box ul li strong {
    color: #fcf5ed;
}

/* Адаптивность для страницы доставки */
@media (max-width: 768px) {
    .delivery-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

/* Стили для страницы обуви */
.shoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.shoes-grid .product-card {
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shoes-grid .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.shoes-grid .product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: #2a2a2a;
    flex-shrink: 0;
}

.shoes-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Изменено с contain на cover */
    transition: transform 0.5s;
    background-color: #2a2a2a;
}

.shoes-grid .product-card:hover .product-image img {
    transform: scale(1.08);
}

.shoes-grid .product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FF4040;
    color: #fcf5ed;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.shoes-grid .product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shoes-grid .product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fcf5ed;
    line-height: 1.3;
    min-height: 42px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shoes-grid .product-category {
    color: #989898;
    font-size: 14px;
    margin-bottom: 10px;
}

.shoes-grid .product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.shoes-grid .price {
    font-weight: 700;
    font-size: 18px;
    color: #fcf5ed;
}

.shoes-grid .old-price {
    text-decoration: line-through;
    color: #989898;
    font-size: 15px;
    margin-right: 10px;
}

.shoes-grid .add-to-cart {
    background-color: #5e5e5e;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    flex-shrink: 0;
}

.shoes-grid .add-to-cart:hover {
    background-color: #FF4040;
    transform: scale(1.1);
}

/* Модальное окно товара */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.product-modal-content {
    background-color: #fcf5ed;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #FF4040;
}

.modal-product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-product-images {
    padding: 30px;
    background-color: #333;
    border-radius: 15px 0 0 15px;
}

#modalProductImage {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #FF4040;
    transform: scale(1.1);
}

.modal-product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#modalProductTitle {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
}

.modal-product-category {
    color: #989898;
    font-size: 16px;
    margin-bottom: 15px;
}

.modal-product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.modal-current-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.modal-old-price {
    font-size: 18px;
    color: #989898;
    text-decoration: line-through;
}

.modal-product-description {
    margin: 20px 0;
}

.modal-product-description p {
    color: #5e5e5e;
    line-height: 1.6;
    font-size: 16px;
}

.size-selection h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: white;
    color: #333;
    font-weight: 500;
}

.size-option:hover {
    border-color: #989898;
}

.size-option.selected {
    border-color: #FF4040;
    background-color: #FF4040;
    color: white;
}

.size-option.unavailable {
    background-color: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.modal-product-actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.add-to-cart-btn, .buy-now-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart-btn {
    background-color: #5e5e5e;
    color: white;
}

.add-to-cart-btn:hover {
    background-color: #333;
}

.buy-now-btn {
    background-color: #FF4040;
    color: white;
}

.buy-now-btn:hover {
    background-color: #e03e3e;
}

.product-features {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #5e5e5e;
    font-size: 14px;
}

.feature-icon {
    font-size: 16px;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .product-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .modal-product-details {
        grid-template-columns: 1fr;
    }
    
    .modal-product-images {
        border-radius: 15px 15px 0 0;
    }
    
    .modal-product-actions {
        flex-direction: column;
    }
    
    #modalProductImage {
        height: 300px;
    }
}

/* Анимация появления карточек */
.product-card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:active {
    transform: scale(0.98);
}

/* Стили корзины */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #fcf5ed;
    margin-bottom: 5px;
}

.cart-item-size {
    color: #989898;
    font-size: 14px;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #fcf5ed;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #5e5e5e;
    border-radius: 25px;
    padding: 5px 15px;
}

.quantity-btn {
    background: none;
    border: none;
    color: #fcf5ed;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.quantity {
    color: #fcf5ed;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background-color: #FF4040;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #e03e3e;
}

.cart-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-card {
    background-color: #333;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    color: #fcf5ed;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #fcf5ed;
    font-size: 16px;
}

.summary-row.total {
    border-top: 1px solid #5e5e5e;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #fcf5ed;
}

.checkout-btn {
    width: 100%;
    background-color: #FF4040;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.checkout-btn:hover {
    background-color: #e03e3e;
}

.continue-shopping {
    width: 100%;
    background-color: #5e5e5e;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.continue-shopping:hover {
    background-color: #6e6e6e;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background-color: #333;
    border-radius: 10px;
    color: #fcf5ed;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #989898;
    margin-bottom: 25px;
}

.empty-cart-btn {
    background-color: #5e5e5e;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.empty-cart-btn:hover {
    background-color: #6e6e6e;
}

/* Регистрация */
/* Стили для системы авторизации */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    background-color: #fcf5ed;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalAppear 0.3s ease-out;
}

.auth-modal h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: white;
}

.form-group input:focus {
    border-color: #5e5e5e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(94, 94, 94, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-form-btn {
    background-color: #5e5e5e;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-form-btn:hover {
    background-color: #333;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-switch a {
    color: #FF4040;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.close-auth-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.close-auth-modal:hover {
    color: #FF4040;
}

.user-menu {
    display: none;
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 15px;
    background-color: #5e5e5e;
    border-radius: 8px;
    color: white;
    transition: background-color 0.3s;
}

.user-info:hover {
    background-color: #6e6e6e;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background-color: #FF4040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    padding-top: 10px;
    overflow: hidden;
    z-index: 1001;
    display: none;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.dropdown-arrow {
    font-size: 10px;
    color: #fcf5ed;
    margin-left: 5px;
}

.dropdown-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
    border-bottom: 1px solid #eee;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #FF4040;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Форма оформления заказа */
/* Основная форма */
.checkout-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #333;
    border-radius: 15px;
}

.checkout-form h3 {
    color: #fcf5ed;
    font-size: 22px;
    text-align: center;
    margin-bottom: 25px;
}

/* Сетка формы */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.checkout-section {
    margin-bottom: 25px;
}

.checkout-section h4 {
    color: #fcf5ed;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #5e5e5e;
    padding-bottom: 8px;
}

/* Поля формы */
.checkout-form .form-group {
    margin-bottom: 20px;
}

.checkout-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fcf5ed;
}

.checkout-form .form-group input,
.checkout-form .form-group textarea,
.checkout-form .form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: #fcf5ed;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.checkout-form .form-group input:focus,
.checkout-form .form-group textarea:focus,
.checkout-form .form-group select:focus {
    border-color: #5e5e5e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(94, 94, 94, 0.1);
}

/* Валидация полей */
.checkout-form .form-group input.error,
.checkout-form .form-group textarea.error,
.checkout-form .form-group select.error {
    border-color: #FF4040;
    box-shadow: 0 0 0 3px rgba(255, 64, 64, 0.1);
}

.checkout-form .form-group input.valid,
.checkout-form .form-group textarea.valid {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.checkout-form .error-message {
    color: #FF4040;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    min-height: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Способы оплаты */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.payment-method {
    color: #fcf5ed;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 2px solid #5e5e5e;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #444;
}

.payment-method:hover {
    border-color: #989898;
}

.payment-method.selected {
    border-color: #FF4040;
    background-color: rgba(255, 64, 64, 0.15);
}

.payment-method input {
    display: none;
}

.payment-icon {
    font-size: 24px;
}

.payment-method span.method-label {
    font-weight: 500;
}

/* Детали карты */
.payment-details {
    margin-top: 15px;
    padding: 15px;
    background-color: #444;
    border-radius: 8px;
    display: none;
}

.payment-details.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.card-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.card-icon {
    width: 40px;
    height: 25px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    font-size: 12px;
}

/* Итоговая сумма */
.order-summary {
    background-color: #444;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #fcf5ed;
}

.order-summary-item.total {
    font-size: 18px;
    font-weight: 700;
    color: #FF4040;
    border-top: 2px solid #5e5e5e;
    padding-top: 15px;
    margin-top: 15px;
}

/* Кнопка отправки */
.submit-order-btn {
    width: 100%;
    padding: 16px;
    background-color: #FF4040;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 25px;
}

.submit-order-btn:hover {
    background-color: #e03e3e;
}

.submit-order-btn:active {
    transform: scale(0.98);
}

.submit-order-btn:disabled {
    background-color: #989898;
    cursor: not-allowed;
    transform: none;
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для страницы оформления заказа */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .checkout-form {
        padding: 20px 15px;
    }
    
    .checkout-form h3 {
        font-size: 18px;
    }
    
    .checkout-section h4 {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-method {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .card-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .checkout-form {
        padding: 15px 10px;
    }
    
    .checkout-form .form-group input,
    .checkout-form .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .order-summary-item {
        font-size: 14px;
    }
    
    .order-summary-item.total {
        font-size: 16px;
    }
    
    .submit-order-btn {
        font-size: 16px;
        padding: 14px;
    }
}

.order-summary {
    background-color: #444;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #fcf5ed;
}

.order-summary-item.total {
    font-size: 18px;
    font-weight: 700;
    color: #FF4040;
    border-top: 2px solid #5e5e5e;
    padding-top: 15px;
    margin-top: 15px;
}

.submit-order-btn {
    width: 100%;
    padding: 16px;
    background-color: #FF4040;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 25px;
}

.submit-order-btn:hover {
    background-color: #e03e3e;
}

.submit-order-btn:disabled {
    background-color: #989898;
    cursor: not-allowed;
}

/* Анимации для динамических эффектов */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Анимации для элементов */
.product-card {
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: calc(var(--index) * 0.1s);
    opacity: 0;
}

.banner-image {
    animation: slideInLeft 0.8s ease-out;
}

.banner-image:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}

.add-to-cart {
    animation: pulse 2s infinite;
}

/* Плавные переходы */
a, button, .menu-item {
    transition: all 0.3s ease-in-out;
}

/* Эффект при скролле */
.scroll-effect {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-effect.visible {
    opacity: 1;
    transform: translateY(0);
}

/* API Карта магазина */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
}

#storeMap {
    width: 100%;
    height: 100%;
}

/* Загрузка товаров через API */
.api-loading {
    text-align: center;
    padding: 40px;
    color: #333;
}

.api-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FF4040;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Стили для каталога */
.catalog-filters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    margin-bottom: 30px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    color: #fcf5ed;
    font-size: 14px;
    font-weight: 500;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid #5e5e5e;
    border-radius: 8px;
    background-color: #444;
    color: #fcf5ed;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-group select:focus {
    border-color: #FF4040;
    outline: none;
}

.filter-group select option {
    background-color: #333;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background-color: #333;
    border-radius: 10px;
    color: #fcf5ed;
    grid-column: 1 / -1;
}

.no-products h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.no-products p {
    color: #989898;
}

/* Стили для страницы "О нас" */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FF4040;
}

.about-text p {
    color: #5e5e5e;
    line-height: 1.8;
    font-size: 16px;
    margin-top: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.about-feature {
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    color: #fcf5ed;
    text-align: center;
    transition: transform 0.3s;
}

.about-feature:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.about-feature h3 {
    color: #fcf5ed;
    margin-bottom: 10px;
}

.about-feature p {
    color: #989898;
    font-size: 14px;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
}

.stat-item {
    background-color: #333;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    color: #fcf5ed;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #FF4040;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #989898;
}

/* Команда */
.about-team {
    margin: 60px 0;
}

.about-team h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.about-team h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FF4040;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #333;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    color: #fcf5ed;
    transition: all 0.3s;
    cursor: default;
}

.team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fcf5ed;
}

.team-member h3 {
    color: #fcf5ed;
    margin-bottom: 5px;
}

.team-member p {
    color: #989898;
    font-size: 14px;
}

/* Преимущества */
.about-advantages {
    margin: 60px 0;
}

.about-advantages h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.about-advantages h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FF4040;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: #333;
    padding: 25px;
    border-radius: 10px;
    color: #fcf5ed;
    border-left: 4px solid #FF4040;
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateX(10px);
}

.advantage-number {
    font-size: 12px;
    color: #FF4040;
    font-weight: 700;
    letter-spacing: 2px;
}

.advantage-item h3 {
    color: #fcf5ed;
    margin: 10px 0;
}

.advantage-item p {
    color: #989898;
    font-size: 14px;
    line-height: 1.6;
}

/* Адаптивность для страниц */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .catalog-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Стили для страницы обуви - используем те же классы что и на главной */
.shoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Убедимся что карточки обуви используют те же стили что и на главной */
.shoes-grid .product-card {
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.shoes-grid .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.shoes-grid .product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.shoes-grid .product-image img {
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 20px;
    transition: transform 0.5s;
    object-fit: cover;
}

.shoes-grid .product-card:hover .product-image img {
    transform: scale(1.05);
}

.shoes-grid .product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #FF4040;
    color: #fcf5ed;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.shoes-grid .product-info {
    padding: 20px;
}

.shoes-grid .product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fcf5ed;
}

.shoes-grid .product-category {
    color: #989898;
    font-size: 14px;
    margin-bottom: 10px;
}

.shoes-grid .product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shoes-grid .price {
    font-weight: 700;
    font-size: 18px;
    color: #fcf5ed;
}

.shoes-grid .old-price {
    text-decoration: line-through;
    color: #989898;
    font-size: 16px;
    margin-right: 10px;
}

.shoes-grid .add-to-cart {
    background-color: #5e5e5e;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.shoes-grid .add-to-cart:hover {
    background-color: #FF4040;
    transform: scale(1.1);
}

/* Стили для страницы распродажи */
.sale-banner {
    background: linear-gradient(135deg, #FF4040, #e03e3e);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    color: #fcf5ed;
    animation: pulse 2s infinite;
}

.sale-banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.sale-percent {
    font-size: 72px;
    font-weight: 900;
    color: #fcf5ed;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sale-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.sale-text p {
    font-size: 16px;
    opacity: 0.9;
}

/* Адаптивность для корзины */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .logo-container {
        width: 100%;
        text-align: center;
        order: 1;
    }
    
    nav {
        width: 100%;
        order: 3;
        margin-top: 10px;
    }
    
    .header-right {
        width: 100%;
        justify-content: center;
        order: 2;
        gap: 10px;
    }
    
    .menu {
        justify-content: center;
        gap: 10px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 3000;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.error {
    background: #e74c3c;
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-content, .contact-content {
        flex-direction: column;
    }

    .contacts-content, .stores-container {
        grid-template-columns: 1fr;
    }
            
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .header-top {
        flex-wrap: wrap;
    }
    
    .menu {
        justify-content: center;
        gap: 10px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }

    .main-banner {
        margin-bottom: 20px;
    }

    .banner-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .banner-text-sale h2 {
        writing-mode: horizontal-tb;
        margin: 10px 0;
    }
    
    .banner-text {
        text-align: center;
    }
    
    .responsive-banner {
        padding: 40px 15px;
    }

    .product-item {
        position: static !important;
        margin-bottom: 2rem;
    }

    .contacts-banner h1 {
        font-size: 32px;
    }
            
    .contacts-banner p {
        font-size: 16px;
    }

    nav {
        flex: 1;
        display: flex;
        justify-content: center;
    }
            
    nav.active {
        display: block;
    }
            
    nav ul {
        flex-direction: column;
    }
            
    nav ul li {
        margin: 0 0 10px 0;
    }

    .logo-container {
        flex-shrink: 0;
    }

    .person-action {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    @media (max-width: 576px) {
            .footer-content {
                grid-template-columns: 1fr;
            }
        }
}