/* RESET IMPLICIT */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F5F5F5;
    color: #1D2A3C;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* HEADER STYLE: accent-bar (Полноцветный мягкий фон, белый текст по центру) */
.organic-brand-header {
    background-color: #5A9F77;
    padding: 28px 16px;
    border-bottom: 3px solid #F1A9B8;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.header-title-text {
    font-size: clamp(14px, 3.5vw, 16px);
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    max-width: 850px;
    margin: 0 auto;
}

/* ОСНОВНОЙ МАКЕТ СТРАНИЦЫ */
.main-content-layout {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 16px;
}

/* DESIGN SYSTEM: soft-organic (Скругления 20px, мягкие тени) */
.organic-product-container {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(90, 159, 119, 0.08);
    padding: 24px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .organic-product-container {
        padding: 48px;
    }
}

/* MOBILE-FIRST Grid */
.product-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .product-split-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* ГАЛЕРЕЯ КАРТИНОК: Мягкие скругления */
.organic-slider-system {
    position: relative;
    width: 100%;
}

.hidden-radio-control {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: absolute;
}

.viewport-canvas-frame {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(90, 159, 119, 0.15);
    background-color: #FAFAFA;
}

.canvas-cell {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.canvas-cell img {
    max-height: 100%;
    object-fit: contain;
}

#slide-node-1:checked ~ .viewport-canvas-frame .pane-idx-1,
#slide-node-2:checked ~ .viewport-canvas-frame .pane-idx-2,
#slide-node-3:checked ~ .viewport-canvas-frame .pane-idx-3,
#slide-node-4:checked ~ .viewport-canvas-frame .pane-idx-4 {
    opacity: 1;
    z-index: 10;
}

.thumbnails-labels-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.thumb-trigger {
    border: 2px solid transparent;
    cursor: pointer;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.thumb-trigger img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.thumb-trigger:hover {
    transform: scale(1.03);
}

#slide-node-1:checked ~ .thumbnails-labels-row .cell-1,
#slide-node-2:checked ~ .thumbnails-labels-row .cell-2,
#slide-node-3:checked ~ .thumbnails-labels-row .cell-3,
#slide-node-4:checked ~ .thumbnails-labels-row .cell-4 {
    border-color: #5A9F77;
    background-color: #FAFAFA;
}

/* ОПИСАНИЕ ТОВАРА С АККУРАТНОЙ ТИПОГРАФИКОЙ */
.organic-category-tag {
    display: inline-block;
    background-color: #F1A9B8;
    color: #1D2A3C;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.display-product-title {
    font-size: clamp(20px, 4.5vw, 28px);
    font-weight: 700;
    line-height: 1.3;
    color: #1D2A3C;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.editorial-text-flow {
    font-size: 14px;
    color: #4A5568;
}

.lead-text-highlight {
    font-size: 16px;
    font-weight: 600;
    color: #5A9F77;
    margin-bottom: 20px;
    line-height: 1.5;
}

.editorial-text-flow p {
    margin-bottom: 20px;
}

.editorial-text-flow p:last-child {
    margin-bottom: 0;
}

/* CTA КНОПКА STYLE: solid (Сплошная яркая заливка, скругленная форма) */
.commerce-action-portal {
    text-align: center;
    margin: 48px 0;
}

.organic-solid-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #5A9F77;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    padding: 18px 48px;
    min-height: 52px;
    width: 100%;
    max-width: 360px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(90, 159, 119, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.organic-solid-cta:hover {
    background-color: #1D2A3C;
    transform: translateY(-1px);
}

/* БЛОК ОТЗЫВОВ В СТИЛЕ AMAZON (Без рамок, аккуратные отступы) */
.reviews-feed-section {
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(90, 159, 119, 0.08);
    padding: 24px;
}

@media (min-width: 768px) {
    .reviews-feed-section {
        padding: 48px;
    }
}

.feed-header-title {
    border-bottom: 1px solid rgba(90, 159, 119, 0.15);
    padding-bottom: 16px;
    margin-bottom: 32px;
}

.feed-title-text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1D2A3C;
    text-align: center;
}

.vertical-reviews-container {
    display: flex;
    flex-direction: column;
}

.organic-review-card {
    border-bottom: 1px solid #E2E8F0;
    padding: 32px 0;
}

.organic-review-card:first-child {
    padding-top: 0;
}

.organic-review-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-layout-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .review-layout-box {
        flex-direction: row;
        gap: 40px;
    }
    .review-profile-sidebar {
        width: 25%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .review-body-main {
        flex: 1;
    }
}

.profile-avatar-wrapper {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(90, 159, 119, 0.2);
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #FAFAFA;
}

.profile-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-username {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #1D2A3C;
}

.verified-buyer-pill {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #10B981;
    margin-top: 2px;
}

.rating-stars-headline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}

.stars-string {
    color: #F59E0B;
    font-size: 13px;
    letter-spacing: 1px;
}

.headline-text {
    font-size: 15px;
    font-weight: 700;
    color: #1D2A3C;
}

.review-date-stamp,
.review-specs-stamp {
    font-size: 12px;
    color: #718096;
    margin-bottom: 2px;
}

.review-specs-stamp {
    margin-bottom: 12px;
    font-weight: 500;
}

.actual-review-paragraph {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.6;
}

.review-attached-media {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.attached-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
}

/* ФУТЕР: Высококонтрастный глубокий темный блок */
.organic-dark-footer {
    background-color: #1D2A3C;
    padding: 64px 16px;
    margin-top: 64px;
    border-top: 4px solid #5A9F77;
}

.footer-layout-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer-h2 {
    font-size: 12px;
    font-weight: 400;
    color: #E2E8F0;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 32px auto;
}

.footer-links-track {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.footer-anchor-link {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-anchor-link:hover {
    color: #F1A9B8;
}