:root {
    --accent: #25d366;
    --accent-dark: #1bae53;
    --text-main: #111;
    --text-muted: #666;
    --font-main: system-ui, sans-serif;
}

/* СБРОС */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-main);
    background: #f5f5f5;
    color: var(--text-main);
    padding-bottom: 80px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 30;
}
.header-inner {
    max-width: 500px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.logo { font-weight: 700; font-size: 18px; }
.header-phone { color: var(--accent); font-weight: 600; }

/* БЛОК ТОВАР */
.product-block {
    max-width: 480px;
    margin: 16px auto;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.product-media { border-radius: 12px; overflow: hidden; }
.product-image { width: 100%; }

.product-title { font-size: 22px; margin: 12px 0 6px; }
.product-price { font-size: 20px; font-weight: 700; }
.old-price {
    margin-left: 6px;
    text-decoration: line-through;
    font-size: 14px;
    color: #999;
}
.product-desc { margin-top: 6px; color: var(--text-muted); }
.benefits { margin: 12px 0; padding-left: 20px; color: #333; font-size: 14px; }
.limit { color: #e03131; }

/* ОТЗЫВЫ */
.reviews-block {
    max-width: 480px;
    margin: 20px auto;
    background: #fff;
    padding: 16px;
    border-radius: 14px;
}
.review-item {
    background: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.review-stars {
    color: gold;
    font-size: 18px;
    display: inline-block;
    margin: 4px 0;
}

/* Рейтинг */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.rating input { display: none; }
.rating label {
    font-size: 28px;
    color: #ccc;
    cursor: pointer;
    transition: 0.2s;
}
.rating input:checked ~ label { color: gold; }
.rating label:hover,
.rating label:hover ~ label { color: gold; }

/* ДОБАВИТЬ ОТЗЫВ */
.add-review-block {
    max-width: 480px;
    margin: 20px auto;
    background: #fff;
    padding: 16px;
    border-radius: 14px;
}
#reviewForm input,
#reviewForm select,
#reviewForm textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}
#reviewForm button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    border-radius: 999px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* WHATSAPP BUTTON */
.fixed-whatsapp {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
.fixed-whatsapp button {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 600;
}

/* FOOTER */
.site-footer {
    text-align: center;
    margin: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
}
