/* Custom styles for Dom Mebel Plus */

/* Font */
.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Colors */
.bg-beige {
    background-color: #F5F5F0;
}
.text-dark-gray {
    color: #333333;
}
.text-green-dark {
    color: #2E7D32;
}
.bg-green-dark {
    background-color: #2E7D32;
}
.text-green-light {
    color: #4CAF50;
}
.bg-green-light {
    background-color: #4CAF50;
}

/* Hero section background */
.hero-section {
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Swiper styles for product pages */
.swiper-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.swiper-slide-active {
    opacity: 1;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-button-next,
.swiper-button-prev {
    color: #2E7D32;
}
.swiper-pagination-bullet {
    background: #2E7D32;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Swiper styles for popular products in catalog and index */
.popular-swiper-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.popular-swiper-container .swiper-slide {
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px;
    box-sizing: border-box;
}
.popular-swiper-container .swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
.popular-swiper-container .swiper-button-next,
.popular-swiper-container .swiper-button-prev {
    color: #2E7D32;
}

/* Category cards for index page */
.category-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px;
    text-align: center;
}
.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
.category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.category-card p {
    color: #666;
}

/* Advantage icons */
.advantage-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 12px;
}

/* Modal styles */
#orderModal {
    z-index: 1000;
    pointer-events: auto;
}
#orderModal .bg-white {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#orderModal input,
#orderModal textarea,
#orderModal button {
    pointer-events: auto;
}

/* Ensure buttons and logo are clickable */
button, header a {
    pointer-events: auto;
    cursor: pointer;
}