/*
Theme Name: Розовый Clean
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tilda Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Mobile font enforcement */
@media (max-width: 768px) {
    body, p, span, div, a, button, input, textarea, select {
        font-family: 'Tilda Sans', sans-serif !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Italiana', serif !important;
    }
}

/* Mobile Menu Checkbox (CSS-only) */
.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-label {
    cursor: pointer;
}

/* Header */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FA008A 0%, #ff1493 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Italiana', serif;
}

.logo-text {
    font-family: 'Italiana', serif;
    font-size: 26px;
    color: #FA008A;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #FA008A;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 50%, #fff0f5 100%);
    padding: 140px 20px 100px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-family: 'Italiana', serif;
    font-size: clamp(32px, 6vw, 64px);
    color: #FA008A;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 35px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #FA008A 0%, #ff1493 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px;
    box-shadow: 0 4px 20px rgba(250, 0, 138, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(250, 0, 138, 0.45);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid #FA008A;
    color: #FA008A;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #FA008A;
    color: white;
}

/* Timer */
.timer-section {
    background: linear-gradient(90deg, #FA008A, #ff66b2);
    padding: 35px;
    border-radius: 20px;
    max-width: 500px;
    margin: 50px auto 0;
    color: white;
    box-shadow: 0 10px 30px rgba(250, 0, 138, 0.3);
}

.timer-title {
    font-size: 16px;
    margin-bottom: 20px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.timer-item {
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
}

.timer-number {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Italiana', serif;
    display: block;
}

.timer-label {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Free Delivery Banner */
.free-delivery-banner {
    background: linear-gradient(135deg, #FA008A 0%, #FF6B9D 100%);
    padding: 20px 40px;
    border-radius: 50px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(250, 0, 138, 0.4);
    animation: pulse-banner 2s infinite;
}

.free-delivery-text {
    font-family: 'Tilda Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.free-delivery-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: pulse-ring 2s infinite;
    z-index: 1;
}

@keyframes pulse-banner {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-title {
    font-family: 'Italiana', serif;
    font-size: clamp(28px, 4vw, 42px);
    text-align: center;
    color: #222;
    margin-bottom: 50px;
    font-weight: 600;
}

/* Steps */
.steps-section {
    background: linear-gradient(135deg, #fff8fb 0%, #ffffff 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    background: white;
    padding: 40px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

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

.step-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #FA008A 0%, #ff1493 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    font-family: 'Italiana', serif;
}

.step h3 {
    font-family: 'Italiana', serif;
    margin-bottom: 12px;
    color: #222;
    font-size: 20px;
}

.step p {
    color: #666;
    font-size: 14px;
}

/* Reviews */
.reviews-section {
    background: linear-gradient(135deg, #fff0f5 0%, #ffffff 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FA008A, #ff1493);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Italiana', serif;
}

.review-name {
    font-weight: 600;
    color: #222;
}

.review-stars {
    color: #ffc107;
    font-size: 16px;
}

.review-text {
    color: #555;
    line-height: 1.7;
    font-style: italic;
    font-size: 15px;
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.faq-question {
    padding: 22px 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #222;
    font-size: 15px;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #FA008A;
}

.faq-question span {
    font-size: 24px;
    color: #FA008A;
    font-weight: 300;
}

.faq-answer {
    padding: 0 25px 22px;
    color: #555;
    display: none;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Delivery Section */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.delivery-item {
    text-align: center;
    padding: 30px;
}

.delivery-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FA008A 0%, #ff66b2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    box-shadow: 0 8px 25px rgba(250, 0, 138, 0.3);
}

.delivery-item h3 {
    font-family: 'Italiana', serif;
    font-size: 22px;
    color: #222;
    margin-bottom: 12px;
}

.delivery-item p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

@media (max-width: 768px) {
    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .delivery-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

/* Footer - светлый фон для видимости логотипа */
footer {
    background: #f8f8f8;
    color: #333;
    padding: 60px 20px 30px;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 55px;
    width: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    color: #666;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.footer-title {
    font-family: 'Italiana', serif;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
}

.footer-text {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
    color: #888;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .timer {
        gap: 15px;
    }
    
    .timer-item {
        padding: 10px 15px;
    }
    
    .timer-number {
        font-size: 32px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .btn-primary, .btn-secondary {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* WooCommerce Products Grid - FIXED */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

@media (max-width: 1024px) {
    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products,
    ul.products {
        grid-template-columns: 1fr !important;
    }
}

.woocommerce ul.products li.product {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(250, 0, 138, 0.15);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Italiana', serif;
    font-size: 20px;
    color: #222;
    padding: 25px 25px 12px;
    margin: 0;
    line-height: 1.4;
    min-height: 60px;
}

.woocommerce ul.products li.product .price {
    font-family: 'Italiana', serif;
    font-size: 24px;
    color: #FA008A;
    font-weight: 700;
    padding: 0 25px 20px;
    margin: 0;
}

.woocommerce ul.products li.product .button {
    display: block;
    width: calc(100% - 50px);
    margin: 0 25px 25px;
    padding: 16px;
    background: linear-gradient(135deg, #FA008A 0%, #ff1493 100%);
    color: white;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(250, 0, 138, 0.3);
    margin-top: auto;
}

.woocommerce ul.products li.product .button:hover {
    background: #e6007a;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 45px !important;
    }
    
    .footer-logo img {
        height: 50px !important;
    }
}

@media (max-width: 600px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 400px !important;
    }
    
    .logo img {
        height: 40px !important;
    }
}

/* Delivery Section */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.delivery-item {
    text-align: center;
    padding: 30px;
}

.delivery-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FA008A 0%, #ff66b2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    box-shadow: 0 8px 25px rgba(250, 0, 138, 0.3);
}

.delivery-item h3 {
    font-family: 'Italiana', serif;
    font-size: 22px;
    color: #222;
    margin-bottom: 12px;
}

.delivery-item p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

@media (max-width: 768px) {
    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .delivery-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

/* Catalog Button */
.catalog-btn {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

/* Shop Page - Results Count and Ordering */
.woocommerce-result-count {
    text-align: center;
    margin: 20px auto 30px;
    float: none;
    display: block;
    color: #666;
    font-size: 15px;
}

.woocommerce-ordering {
    text-align: center;
    margin: 0 auto 30px;
    float: none;
    display: flex;
    justify-content: center;
}

.woocommerce-ordering select {
    padding: 10px 20px;
    border: 2px solid #eee;
    border-radius: 25px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    outline: none;
}

.woocommerce-ordering select:hover {
    border-color: #FA008A;
}

/* Shop Page Layout */
.woocommerce-products-header {
    text-align: center;
    margin-bottom: 30px;
}

.woocommerce-products-header__title {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
}

/* Center results count and ordering */
.woocommerce-result-count {
    text-align: center;
    margin: 30px auto 20px;
    float: none;
    display: block;
    width: 100%;
    color: #666;
    font-size: 15px;
}

.woocommerce-ordering {
    text-align: center;
    margin: 0 auto 40px;
    float: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

.woocommerce-ordering select {
    padding: 12px 25px;
    border: 2px solid #eee;
    border-radius: 25px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    outline: none;
    min-width: 200px;
}

/* Push products grid lower */
.woocommerce ul.products {
    margin-top: 40px !important;
    clear: both;
}

/* Shop page container */
.archive.woocommerce .site-main {
    padding-top: 30px;
}



/* Added to cart link - mobile friendly */
.added_to_cart,
a.added_to_cart {
    display: block !important;
    text-align: center !important;
    margin-top: 15px !important;
    color: #FA008A !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    padding: 10px !important;
    clear: both;
}

.added_to_cart:hover,
a.added_to_cart:hover {
    text-decoration: underline !important;
    color: #ff1493 !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #FA008A;
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        max-height: 400px;
        padding: 20px 0;
    }
    
    /* CSS-only checkbox menu */
    .mobile-menu-checkbox:checked ~ .main-nav {
        max-height: 400px;
        padding: 20px 0;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
}
