:root {
    /* Нова палітра змінних для унікалізації */
    --brand-accent: #fd7409;
    --text-primary: #333333;
    --text-secondary: #4d4d4d;
    --bg-light: #f6f6f6;
    --white: #ffffff;
    --highlight-blue: #2749b0;
    --alert-red: #ff0013;
    --font-stack: "Manrope", "Open Sans", sans-serif;
    --radius-std: 10px;
}

/* Скидання стилів */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-stack);
    background: var(--bg-light);
    color: var(--text-primary);
    max-width: 480px;
    margin: 0 auto;
    padding-top: 50px; /* Місце для хедера */
    padding-bottom: 20px;
    line-height: 1.5;
}

/* --- Хедер (Навігація) --- */
.top-nav-panel {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0;
    max-width: 480px;
    margin: 0 auto;
}

.nav-container {
    width: 100%;
    overflow-x: auto;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 10px 15px;
    min-width: max-content;
}

.nav-list li a {
    text-decoration: none;
    color: #051832;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 8px;
    transition: color 0.3s;
}

.nav-list li a:hover, .nav-list li a:active {
    color: var(--brand-accent);
}

/* --- Загальні блоки --- */
section {
    background: var(--white);
    margin-bottom: 12px;
    padding: 20px 16px;
    border-radius: 0 0 4px 4px;
}

h1.main-headline {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin: 15px 0;
    text-align: left;
}

h2.section-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

/* --- Галерея --- */
.gallery-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.slide-item img {
    width: 100%;
    border-radius: var(--radius-std);
    display: block;
}

.thumb-gallery {
    margin-top: 10px;
}

.thumb-img {
    border-radius: 6px;
    opacity: 0.6;
    transition: 0.3s;
    border: 2px solid transparent;
    width: 100%;
}

.thumb-img.active {
    opacity: 1;
    border-color: var(--brand-accent);
}

/* --- Маркетинг теги --- */
.marketing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--white);
    text-transform: uppercase;
}

.sale-tag { background: var(--alert-red); }
.hit-tag { background: var(--highlight-blue); }
.limited-tag { background: var(--brand-accent); }

/* --- Ціна --- */
.cost-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.cost-old {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.cost-current {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-accent);
}

/* --- Кнопка дії (CTA) --- */
.action-btn-wrap {
    text-align: center;
    margin: 10px 0;
}

.cta-button {
    display: block;
    width: 100%;
    background: var(--brand-accent);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-std);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(253, 116, 9, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.cta-button:hover {
    background: #e66500;
}

/* --- Відео --- */
.media-container {
    margin-top: 20px;
    border-radius: var(--radius-std);
    overflow: hidden;
    background: #000;
}

/* --- Переваги (Benefits) --- */
.benefits-section {
    background: #fff8f3; /* Легкий фон */
    border-top: 4px solid var(--brand-accent);
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    position: relative;
    padding-left: 0;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

/* --- Деталі продукту --- */
.info-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.info-content img {
    width: 100%;
    border-radius: var(--radius-std);
    margin-bottom: 20px;
}

.expert-block {
    background: #f0f4f8;
    padding: 15px;
    border-radius: var(--radius-std);
    margin: 20px 0;
    border-left: 4px solid var(--highlight-blue);
}

.expert-block h3 {
    color: var(--highlight-blue);
    margin-bottom: 10px;
}

.expert-img {
    width: 80px !important;
    height: 80px;
    object-fit: cover;
    border-radius: 50% !important;
    float: left;
    margin-right: 15px;
    margin-bottom: 5px !important; 
}

.expert-text {
    font-style: italic;
    font-size: 14px;
}

/* --- Характеристики --- */
.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.specs-img img {
    width: 100%;
    border-radius: var(--radius-std);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
}

.spec-label { color: #666; }
.spec-val { font-weight: 700; color: var(--text-primary); }

/* --- Комплектація --- */
.package-section {
    background: var(--white);
}

.package-list .pack-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 14px;
}

/* --- Відгуки (Повністю новий стиль) --- */
.feedbacks-container {
    background: #fff;
}

.rating-summary {
    text-align: center;
    margin-bottom: 20px;
    background: #fffae6;
    padding: 10px;
    border-radius: 6px;
}

.stars-visual {
    color: #f5c518;
    font-size: 24px;
    font-weight: 800;
}

.reviews-count {
    font-size: 12px;
    color: #888;
}

.comment-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
}

.c-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.c-name {
    font-weight: 700;
    font-size: 14px;
}

.c-verified {
    font-size: 10px;
    color: #28a745;
    background: #e6f9ea;
    padding: 2px 6px;
    border-radius: 10px;
}

.c-stars {
    color: #f5c518;
    font-size: 14px;
    margin-bottom: 10px;
}

.c-body p {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}

.c-photos {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

.c-photos img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.c-footer {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

.c-admin-reply {
    margin-top: 10px;
    background: #f4f6f9;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid var(--highlight-blue);
}

.more-btn-container {
    text-align: center;
    margin-top: 10px;
}

.secondary-btn {
    background: transparent;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 20px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
}

/* --- Етапи замовлення --- */
.steps-grid {
    display: grid;
    gap: 15px;
}

.step-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.step-num {
    background: var(--brand-accent);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

/* --- Форма замовлення --- */
.order-section {
    background: #fff;
    padding: 25px 15px;
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-field {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: #fcfcfc;
}

.input-field:focus {
    border-color: var(--brand-accent);
    outline: none;
    background: #fff;
}

.big-btn {
    font-size: 20px;
    padding: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* --- Футер --- */
.site-footer {
    background: #222;
    color: #aaa;
    padding: 30px 20px;
    font-size: 13px;
    text-align: center;
}

.site-footer a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.site-footer .legal-links {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444;
}