/* Extracted from card.html */
:root{
    --card-blur-strong: 140px;
}
/* Стили для страницы товара */
body {
    background-color: #040A0A;
    color: #ffffff;
    font-family: 'Cormorant', serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Предотвращаем горизонтальный скролл на уровне страницы */
}

/* Градиентные фоны для секций */
.main-content {
    position: relative;
    z-index: 1;
}

.main-content::before,
.main-content::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--card-blur-strong));
    pointer-events: none;
    z-index: -10; /* Градиенты на задний план */
}

.main-content::before {
    left: -30%;
    top: -30%;
    width: 70%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(128, 0, 128, 0.75) 0%, rgba(128, 0, 128, 0) 70%);
}

.main-content::after {
    right: -30%;
    top: 0;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 180, 0.7) 0%, rgba(255, 0, 180, 0) 70%);
}

.additional-services {
    position: relative;
    z-index: 1;
}

.additional-services::before,
.additional-services::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--card-blur-strong));
    pointer-events: none;
    z-index: -1;
}

.additional-services::before {
    left: -25%;
    top: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(128, 0, 128, 0.75) 0%, rgba(128, 0, 128, 0) 70%);
}

.additional-services::after {
    right: -25%;
    bottom: -10%;
    width: 70%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(0, 229, 184, 0.7) 0%, rgba(0, 229, 184, 0) 70%);
}

@media (max-width: 1024px){
    :root{ --card-blur-strong: 130px; }
    
    .main-content::before {
        left: -20%;
        width: 60%;
    }
    
    .main-content::after {
        right: -20%;
        width: 60%;
    }
}

@media (max-width: 768px){
    :root{ --card-blur-strong: 120px; }
    
    .main-content::before {
        left: -15%;
        width: 50%;
    }
    
    .main-content::after {
        right: -15%;
        width: 50%;
    }
    
    .additional-services::before {
        left: -15%;
        width: 50%;
    }
    
    .additional-services::after {
        right: -15%;
        width: 50%;
    }
}

@media (max-width: 425px){
    :root{ --card-blur-strong: 110px; }
    
    .main-content::before {
        left: -10%;
        width: 40%;
    }
    
    .main-content::after {
        right: -10%;
        width: 40%;
    }
    
    .additional-services::before {
        left: -10%;
        width: 40%;
    }
    
    .additional-services::after {
        right: -10%;
        width: 40%;
    }
}

@media (max-width: 375px){
    :root{ --card-blur-strong: 100px; }
    
    .main-content::before,
    .main-content::after {
        display: none; /* Скрываем только на очень маленьких экранах */
    }
    
    .additional-services::before,
    .additional-services::after {
        display: none;
    }
}

@media (max-width: 320px){
    :root{ --card-blur-strong: 90px; }
}

/* Хедер */
.header {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: 'Cormorant', serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-number {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
}

.cart-icon {
    width: 24px;
    height: 24px;
    background: #00e5b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Хлебные крошки */
.breadcrumbs {
    max-width: 1250px;
    margin: 20px auto;
    padding: 0 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: #ffffff;
}

.breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
}

/* Основной контент */
.main-content {
    max-width: 1250px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* Уменьшил gap чтобы картинка была ближе */
    margin-bottom: 80px;
}

/* Левая колонка - изображения */
.product-images {
    position: relative;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.thumbnail-container {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: #00e5b8;
}

.image-nav {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-arrow {
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Правая колонка - информация о товаре */
.product-info {
    padding: 20px 0;
}

.back-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: inline-block;
}

.product-title {
    font-family: 'Cormorant', serif;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.current-price {
    font-size: 32px;
    color: #00e5b8;
    font-weight: 600;
}

.old-price {
    font-size: 24px;
    color: #ffffff;
    text-decoration: line-through;
    opacity: 0.7;
}

.product-composition {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-categories {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.product-tags {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

.quantity-input {
    width: 60px;
    height: 40px;
    background: none;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 15px 0;
    background: #000000;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #ffffff;
    color: #000000;
}

/* Дополнительные услуги */
.additional-services {
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #ff69b4;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(255, 105, 180, 0.1);
    border: 1px solid #ff69b4;
    padding: 25px;
    border-radius: 10px;
}

.service-title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Доставка и оплата */
.delivery-section {
    margin-bottom: 80px;
    position: relative;
}

/* Отдельный div для травы */
.delivery-bg {
    position: relative;
    width: 100%;
    max-width: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden; /* Предотвращаем горизонтальный скролл */
}
.trava-background {
    position: absolute;
    right: 0;
    top: 0;
    width: 538px;
    height: 1295px;
    background-image: url(img/trava.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    pointer-events: none;
    z-index: 1;
}

.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
}

.tab {
    padding: 15px 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab.active {
    border-bottom-color: #00e5b8;
    color: #00e5b8;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.delivery-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    color: #00e5b8;
}

.delivery-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Рекомендуемые товары */
.recommended-section {
    margin-bottom: 80px;
}

.products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
}

.product-card {
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.product-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 18px;
    color: #00e5b8;
    margin-bottom: 15px;
}

.product-card .add-btn {
    width: 100%;
    padding: 10px 0;
    background: #000000;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
}

/* Футер */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
}

.footer-logo {
    font-family: 'Ballet', cursive;
    font-size: 48px;
    color: #ff69b4;
    margin-bottom: 20px;
}

.footer-brand {
    font-family: 'Cormorant', serif;
    font-size: 24px;
    color: #ffffff;
}

.footer-columns {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 40px;
}

.footer-column h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #00e5b8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
}

.footer-contact {
    text-align: right;
}

.footer-contact .email {
    color: #00e5b8;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.footer-contact p {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #00e5b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Related products fixed cards */
.related.products{width:100%;max-width:1250px;margin:0 auto;}
.related.products ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:40px 0;}
.related.products ul.products::before,
.related.products ul.products::after{content:none;display:none;}
.related.products ul.products li.product{list-style:none;margin:0;padding:0;background:transparent;border:0;}
.related.products ul.products li.product a img{width:100%;height:420px;object-fit:cover;}
.related.products .woocommerce-loop-product__title{display:none;}
.related.products .product-name a{color:#fff;text-decoration:none;}

