/* style.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Arial', sans-serif;
}

body {
    background-color: #f2f4f8;
    color: #2c3e50;
    display: flex;
    justify-content: center;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

/* Глянцева темно-синя плашка */
.glossy-badge, .glossy-header {
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 50%, #11284b 100%);
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 14px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    line-height: 1.3;
}

.header-badge {
    font-size: 18px;
}

/* Блок фото та обмеження розмірів зображень */
.image-box, .media-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #eef2f5;
}

.square-img, .banner-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* Цінові плашки */
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    gap: 10px;
}

.price-box {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.old-price {
    background-color: #f8f9fa;
    border: 1px solid #dcdfe6;
}

.old-price .price-label {
    font-size: 12px;
    color: #7f8c8d;
}

.old-price .price-value {
    font-size: 18px;
    text-decoration: line-through;
    color: #95a5a6;
    font-weight: bold;
}

.new-price {
    background-color: #fff3f3;
    border: 2px solid #e74c3c;
}

.discount-badge {
    background-color: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 3px;
}

.new-price .price-value {
    font-size: 22px;
    color: #e74c3c;
    font-weight: 800;
}

/* Кнопки */
.btn, .btn-scroll-order {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px;
    padding: 16px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-green, .btn-scroll-order {
    background: linear-gradient(180deg, #2ecc71 0%, #27ae60 100%);
}

.btn-orange {
    background: linear-gradient(180deg, #ff4e00 0%, #ec9f05 100%);
    font-size: 20px;
}

.btn:active, .btn-scroll-order:active {
    transform: scale(0.98);
}

/* Неоновий таймер */
.timer-wrapper {
    text-align: center;
    padding: 10px 15px;
}

.timer-title {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    font-weight: bold;
}

.neon-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: #111;
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #00e5ff;
    animation: neonGlow 1.5s infinite alternate;
}

.timer-item {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-item span {
    font-size: 24px;
    font-weight: bold;
    color: #00e5ff;
}

.timer-item small {
    font-size: 10px;
    color: #aaa;
}

@keyframes neonGlow {
    from {
        box-shadow: 0 0 5px #00e5ff, inset 0 0 5px #00e5ff;
    }
    to {
        box-shadow: 0 0 15px #00e5ff, 0 0 25px #00e5ff, inset 0 0 10px #00e5ff;
    }
}

/* Картки з текстом */
.text-card, .description-card {
    padding: 0 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    text-align: justify;
}

/* Відгуки */
.reviews-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 15px;
}

.review-item {
    background-color: #f0f2f5;
    border-radius: 12px;
    padding: 12px 15px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-author {
    font-weight: bold;
    font-size: 14px;
    color: #050505;
}

.review-content p {
    font-size: 13px;
    line-height: 1.4;
    color: #1c1e21;
    margin-bottom: 6px;
}

.review-meta {
    font-size: 11px;
    color: #65676b;
    display: flex;
    gap: 8px;
}

.review-meta a {
    color: #65676b;
    text-decoration: none;
    font-weight: 600;
}

.review-meta a:hover {
    text-decoration: underline;
}

/* Характеристики */
.specs-card {
    padding: 0 15px;
}

.specs-card ul {
    list-style: none;
}

.specs-card li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 13px;
}

/* Доставка */
.delivery-card {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f0f4f8;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
}

.step-num {
    background-color: #1e3c72;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Форма */
.order-form {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.form-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.form-input:focus {
    border-color: #1e3c72;
}

/* Футер */
.footer {
    text-align: center;
    padding: 20px 15px 5px;
    font-size: 12px;
    color: #777;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.footer a {
    color: #555;
    text-decoration: none;
    margin: 0 5px;
}

.copyright {
    margin-top: 10px;
    font-size: 11px;
    color: #aaa;
}

/* Адаптивність для ПК */
@media (min-width: 768px) {
    body {
        padding: 20px 0;
    }
}