/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

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

/* Top Banner */
.top-banner {
    background-color: #6d4c41;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.top-banner p {
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
}

/* Header */
.site-header {
    background-color: #FFEEED;
    padding: 0px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 130px;
    justify-content: center;
    height: 150px;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    text-transform: uppercase;
    color: #6d4c41;
    margin: 0;
}

.logo-name {
    font-size: 3rem;
}

.pusheen-cat {
    width: 150px;
    height: 105px;
    animation: wiggle 1s infinite alternate ease-in-out;
}

@keyframes wiggle {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(5px) rotate(2deg); }
}

/* Promo Section */
.promo-section {
    background-color: white;
    padding: 30px 0;
    text-align: center;
}

.promo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    text-transform: uppercase;
    color: #6d4c41;
    margin: 0;
}

/* Banner Section */
.banner-section {
    background-color: white;
    padding: 20px 0;
    text-align: center;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Products Section */
.products-section {
    padding: 40px 0;
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.product-card:hover:not(.sold-out) {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover:not(.sold-out) .product-image img {
    transform: scale(1.1);
}

/* Стилі для розпроданих товарів */
.product-card.sold-out {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 15px 0 0;
}

.sold-out-text {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    background-color: #dc143c;
    border-radius: 5px;
}

.product-card.sold-out .product-image img {
    filter: grayscale(100%);
    transform: none !important;
}

.product-card.sold-out .product-title {
    color: #999;
}

.product-card.sold-out .product-price {
    color: #999;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #6d4c41;
}

.product-price {
    font-weight: bold;
    color: #ff6b9d;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Order Form */
.order-form-section {
    padding: 40px 0;
    background-color: #f8e7e0;
}

.order-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.order-form-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #6d4c41;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #6d4c41;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ffb6c1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ff6b9d;
}

/* Gift Section */
.gift-section {
    background-color: #fff5f5;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed #ff6b9d;
}

.gift-section label {
    color: #ff6b9d;
    font-size: 1.1rem;
}

.gift-options {
    margin-top: 10px;
}

.gift-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.gift-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.gift-label {
    font-weight: bold;
    color: #6d4c41 !important;
    margin: 0;
    font-size: 1rem;
}

.gift-suboptions {
    margin-left: 30px;
}

.suboption {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.suboption input[type="radio"] {
    width: 18px;
    height: 18px;
}

.suboption label {
    color: #6d4c41 !important;
    font-weight: normal;
    margin: 0;
}

.text-center {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ff6b9d;
    color: white;
}

.btn-primary:hover {
    background-color: #ff528a;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: #333;
    color: white;
    padding: 30px 0 20px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* Animated Pusheen in bottom left corner */
.footer-pusheen {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.footer-pusheen .pusheen-cat {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: wiggle 2s infinite alternate ease-in-out;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.social-links a i {
    color: white;
    font-size: 1.2rem;
}

/* Customer Care Links */
.care-links {
    display: flex;
    gap: 20px;
}

.care-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.care-links a:hover {
    color: #dc143c;
}

/* Contact Info */
.contact-info p {
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.contact-info i {
    color: #dc143c;
}

/* Copyright */
.copyright {
    color: #999;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .order-form-wrapper {
        padding: 20px;
        margin: 0 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 10px;
    }

    .logo-name {
        font-size: 2rem;
    }

    .pusheen-cat {
        width: 100px;
        height: 100px;
    }
    
    .gift-suboptions {
        margin-left: 20px;
    }
    
    .footer-pusheen {
        position: static;
        margin-bottom: 20px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .care-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .form-group input, .form-group textarea {
        padding: 10px 12px;
    }
}