:root {
    --primary: #4a6fa5;
    --secondary: #ff6b6b;
    --accentlogo: #2BFF4C;
    --accent: #4ecdc4;
    --accent2: #c47d4e;
    --accent3: #9c4ec4;
    --accent4: #e67e22; /* Оранжевый для подушек */
    --dark: #2d3e50;
    --light: #f8f9fa;
    --gray: #6c757d;
    --accent5: #2980b9; /* Синий для футболок */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Обновленные стили для хедера */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 70px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    z-index: 101;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
}

.logo i {
    margin-right: 10px;
    color: var(--accentlogo);
    font-size: 22px;
}

.logo span {
    white-space: nowrap;
}

/* Бургер-меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
    flex-shrink: 0;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 3px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Обновленные навигационные ссылки */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Контакты в десктопной версии */
.contact-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.contact-info .phone {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .phone:hover {
    color: var(--accent);
}

.contact-info .work-hours {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

/* Контакты в мобильной шапке */
.mobile-header-contacts {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: transparent;
    padding: 5px 10px;
    border-radius: 5px;
}

.mobile-header-phone {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.mobile-header-phone:hover {
    color: var(--accent);
}

.mobile-header-hours {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    margin-top: 2px;
}

/* Контакты в мобильном меню */
.mobile-contacts {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    text-align: center;
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-phone:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.mobile-phone i {
    color: var(--accent);
    font-size: 18px;
}

.mobile-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.mobile-hours i {
    color: var(--accent);
    font-size: 16px;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1200px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 5px 8px;
    }

    .phone {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    header { padding: 0;}
    .header-content {
        padding: 10px 0;
        flex-wrap: nowrap;
    }

    .logo {
        order: 1;
        flex: 0 0 auto;
        max-width: 120px;
    }

    .burger-menu {
        display: flex;
        order: 3;
        margin-left: 15px;
    }

    .contact-info {
        display: none;
    }

    .mobile-header-contacts {
        display: flex;
        order: 2;
        flex: 1;
        position: static;
        transform: none;
        margin: 0 15px;
        padding: 0;
    }

    .mobile-header-phone {
        font-size: 15px;
    }

    .mobile-header-hours {
        font-size: 12px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: left 0.4s ease;
        z-index: 100;
        padding: 80px 20px 40px;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 18px;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        max-width: 300px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .mobile-contacts {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-content {
        min-height: 60px;
    }

    .logo {
        font-size: 18px;
        max-width: 100px;
    }

    .logo i {
        font-size: 18px;
        margin-right: 8px;
    }

    .mobile-header-phone {
        font-size: 15px;
    }

    .mobile-header-hours {
        font-size: 11px;
    }

    .burger-menu {
        margin-left: 10px;
        width: 26px;
        height: 18px;
    }

    .burger-menu span {
        height: 2px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 16px;
        max-width: 90px;
    }

    .logo i {
        font-size: 16px;
        margin-right: 6px;
    }

    .logo span {
        font-size: 14px;
    }

    .mobile-header-contacts {
        margin: 0 10px;
    }

    .mobile-header-phone {
        font-size: 15px;
    }

    .mobile-header-hours {
        font-size: 10px;
    }

    .burger-menu {
        width: 24px;
        height: 16px;
        margin-left: 8px;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 15px;
    }

    .mobile-phone {
        font-size: 16px;
    }

    .mobile-hours {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 14px;
        max-width: 80px;
    }

    .logo i {
        font-size: 14px;
    }

    .logo span {
        font-size: 15px;
    }

    .mobile-header-phone {
        font-size: 15px;
    }

    .mobile-header-hours {
        font-size: 9px;
    }

    .burger-menu {
        width: 22px;
        height: 14px;
    }
}

@media (max-width: 360px) {
    .logo {
        max-width: 70px;
    }

    .logo span {
        display: none;
    }

    .logo i {
        margin-right: 0;
        font-size: 16px;
    }

    .mobile-header-phone {
        font-size: 11px;
    }

    .mobile-header-hours {
        font-size: 8px;
    }
}

/* Затемнение фона при открытом меню */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 62, 80, 0.5), rgba(45, 62, 80, 0.2)), url('/img/krushka-bg-new.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 0;
    text-align: center;
    text-shadow: 1px 1px 3px black;
}
.hero .btn {
    text-shadow: none;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    background-color: #0000006b;
    padding: 20px;
    border-block: 10px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px black;
}

.fz {font-size: 14px;
        line-height: 15px;
        text-align: justify;
        margin-bottom: 20px;}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-plates {
    background-color: var(--accent2);
}

.btn-plates:hover {
    background-color: #b36a3d;
    box-shadow: 0 5px 15px rgba(196, 125, 78, 0.4);
}

.btn-clocks {
    background-color: var(--accent3);
}

.btn-clocks:hover {
    background-color: #8439ad;
    box-shadow: 0 5px 15px rgba(156, 78, 196, 0.4);
}

/* Products Section */
.products {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}

.plates-title:after {
    background: var(--accent2);
}

.clocks-title:after {
    background: var(--accent3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom:1px solid #ccc;
}

.product-image img {
    max-width: 100%;
    max-height: 180px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-description {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.price-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    margin-right: 10px;
}

.new-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.discount-badge {
    background-color: var(--secondary);
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin: 0 5px 10px;
}

.category-tab.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
}

/* Order Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.5s ease;
}

.modal-overlay.active .order-modal {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
    z-index:3;
}

.close-modal:hover {
    color: var(--secondary);
}

.modal-title {
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.checkbox-group input {
    margin-right: 10px;
}

.warning {
    background-color: #fff4e6;
    border-left: 4px solid #ffa94d;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 14px;
}

.total-price {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    color: var(--secondary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-content {
    /*    flex-direction: column;*/
        text-align: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .nav-links {
        margin: 0;
    }

    .contact-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .category-tab {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }

    .products {
        padding: 60px 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .order-modal {
        padding: 20px;
    }
}/* Стили для футера */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 18px;
}

.center-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-section .logo {
    justify-content: center;
    margin-bottom: 15px;
}

.center-section .social-links {
    justify-content: center;
    margin-top: 15px;
}

.contacts p, .working-hours p {
    align-items: center;
    margin-bottom: 10px;
    color: #ccc;
}

.contacts i, .working-hours i {
    margin-right: 10px;
    color: var(--accent);
    min-width: 20px;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods p {
    margin-bottom: 10px;
    color: #ccc;
}

.payment-icons {
   
    gap: 10px;
}

.payment-icons i {
    font-size: 24px;
    color: #ccc;
}

.footer-address-details {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-address-details h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

.footer-address-details p {
    margin-bottom: 10px;
    color: #ccc;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    background-color: #2a3b4d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #ccc;
}

.map-placeholder i {
    font-size: 50px;
    margin-bottom: 15px;
    color: var(--accent);
}

/* Адаптивность для футера */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .center-section {
        grid-column: span 2;
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .center-section {
        grid-column: span 1;
    }

    .map-container {
        height: 250px;
    }
}

.btn-pillows {
    background-color: var(--accent4);
}

.btn-pillows:hover {
    background-color: #d35400;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.pillows-title:after {
    background: var(--accent4);
}
:root {
    --accent: #2B7FFF;
    --cookie-bg: rgba(15, 23, 42, .6);
    --progress-bg: rgba(255, 255, 255, 0.2);
    --progress-fill: #2B7FFF;
}
/* Центрированное расположение */
#cookie-banner{
    position:fixed; left:50%; bottom:calc(12px + env(safe-area-inset-bottom));
    z-index:2147483647;
    width:420px; max-width:calc(100% - 24px);
    padding:16px; border-radius:12px;
    transform:translateX(-50%);

    background:var(--cookie-bg);
    -webkit-backdrop-filter:saturate(140%) blur(8px);
    backdrop-filter:saturate(140%) blur(8px);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 12px 30px rgba(0,0,0,.25);

    color:#fff; font:13px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial;
    animation: cookie-fade .2s ease-out;
}
@keyframes cookie-fade{ from{ opacity:0; transform:translate(-50%, 6px);} to{opacity:1; transform:translate(-50%, 0);} }

/* Прогресс-бар */
#cookie-progress {
    height:3px; margin:12px 0 8px;
    background:rgba(255,255,255,.1); border-radius:2px;
    overflow:hidden;
}
#cookie-progress-fill {
    height:100%; width:100%;
    background:var(--accent);
    transform-origin:left;
    animation:progress-shrink 12s linear forwards;
}
@keyframes progress-shrink {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

#cookie-banner .cookie-text{
    margin:0 0 8px; color:rgba(255,255,255,.95);
    font-size:14px; line-height:1.4;
    padding-right:24px; /* место для крестика */
}
#cookie-banner a{ color:#fff; text-decoration:underline; }

/* Крестик закрытия */
.cookie-close {
    position:absolute; top:12px; right:12px;
    width:24px; height:24px; padding:0;
    background:transparent; border:none;
    color:rgba(255,255,255,.8); font-size:20px;
    cursor:pointer; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    transition:all .2s;
}
.cookie-close:hover {
    background:rgba(255,255,255,.1);
    color:#fff;
}

/* Таймер текст */
.cookie-timer {
    font-size:12px; color:rgba(255,255,255,.7);
    text-align:center; margin:0;
}

/* на очень узких экранах растягиваемся */
@media (max-width:480px){
    #cookie-banner{
        width:calc(100% - 20px);
        padding:14px;
    }
}
@media (max-width:380px){
    .cookie-text{ font-size:13px; }
}

.btn-tshirts {
    background-color: var(--accent5);
}

.btn-tshirts:hover {
    background-color: #21618c;
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.4);
}

.tshirts-title:after {
    background: var(--accent5);
}

/* Стили для выбора размера и печати */
.product-card .form-group {
    margin-bottom: 15px;
}

.product-card .form-group label {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 5px;
}

.product-card .form-control {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.tshirt-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent5);
    display: block;
    text-align: center;
    margin: 15px 0;
}

/* Таблица размеров */
.size-guide {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.size-guide .section-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.size-guide .section-title:after {
    background: var(--accent5);
}

.size-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.size-table h4 {
    color: var(--accent5);
    margin-bottom: 15px;
    font-size: 18px;
}

.size-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.size-table th {
    background-color: var(--accent5);
    color: white;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
}

.size-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
}

.size-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Адаптивность */
@media (max-width: 768px) {
    .size-tables {
        grid-template-columns: 1fr;
    }

    .product-card .form-group {
        margin-bottom: 10px;
    }
}