/* ========================================
   🌟 Light Minimalist Template - Modern Card Design
   ======================================== */

body {
    min-width: 480px;
    background: #ffffff;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6em;
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.content-wrap {
    background: #ffffff;
    padding: 0;
    max-width: 100%;
}

/* Єдиний вертикальний ритм між контент-блоками */
.content-wrap .lp-block {
    margin-bottom: 0;
    padding-bottom: 22px;
}

.content-wrap .lp-block:last-child {
    padding-bottom: 0;
}

h2 {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

h1, h2, h3, h4 {
    text-transform: none;
    color: #1a202c;
}

h1 strong,
h2 strong,
h3 strong,
a {
    color: #6366f1;
}

p {
    margin-bottom: 1em;
}

p:last-of-type {
    margin-bottom: 0;
}

/* ========================================
   Header - Card Style
   ======================================== */
.header {
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;
    margin: 0;
    padding: 30px 20px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.product-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    padding: 0;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.product-title strong {
    color: #fbbf24;
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
    50% { text-shadow: 0 0 20px rgba(251, 191, 36, 0.8); }
}

.product-subtitle {
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    padding: 10px 0 0;
    margin: 0;
}

/* ========================================
   Top Card - Floating Design
   ======================================== */
.top-card-wrap {
    background: #f8fafc;
    padding: 0;
}

.item-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 0;
    transition: none;
}

.item-card:hover {
    transform: none;
    box-shadow: none;
}

/* ========================================
   Product Image - Modern Card
   ======================================== */
.featured-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px;
}

.featured-media img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.featured-media:hover img {
    transform: scale(1.05);
}

.featured-media .discount {
    position: absolute;
    right: 20px;
    top: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    transform: rotate(0);
    animation: bounce 2s ease-in-out infinite;
    z-index: 10;
}

.hero__signals {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 20px 4px;
    margin-top: 6px;
}

.hero__signal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    color: #334155;
    font-size: 11px;
    line-height: 1.2;
}

.hero__signal-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero__signal-value {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
}

/* ========================================
   Price Block - Split Card Design
   ======================================== */
.pricing-block {
    background: transparent;
    display: flex;
    gap: 15px;
    padding: 20px;
    align-items: stretch;
}

.pricing-block > * {
    width: 50%;
    text-align: center;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pricing-block > *:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pricing-block span {
    font-size: 13px;
    line-height: 1.3;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.old-price {
    color: #64748b;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
}

.old-price strong {
    text-decoration: line-through;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.7;
    color: #94a3b8;
}

.new-price {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.new-price::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.new-price span {
    color: rgba(255,255,255,0.9);
}

.new-price strong {
    font-weight: 800;
    font-size: 36px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #ffffff;
}

/* ========================================
   Big Button - Modern Gradient
   ======================================== */
.big-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50px;
    min-height: 70px;
    line-height: 70px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    font-size: 22px;
    position: relative;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.big-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.big-button:hover::before {
    left: 100%;
}

.big-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.big-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* ========================================
   Countdown - Card Design
   ======================================== */
.countdown {
    text-align: center;
    padding: 25px 20px;
    color: #1a202c;
    background: #f8fafc;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.countdown h4 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    color: #475569;
    border-bottom: 2px dashed #e2e8f0;
}

.countdown h4:before {
    content: '⏰';
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    margin-right: 0;
    animation: swing 2s ease-in-out infinite;
}

/* Рядок таймера в блоці "Оформити замовлення" */
.order-mini-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 22px 0 4px;
    color: #475569;
    font-size: 14px;
    line-height: 1.2;
}

.order-mini-timer > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.order-mini-timer .js-mini-countdown {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
    color: #1e293b;
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

.countdown__timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown__item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 15px 10px;
    border-radius: 12px;
    min-width: 70px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ========================================
   Problem / Solution block (Template2 style)
   ======================================== */
.pain-solution {
    background: #f8fafc;
    padding: 24px 14px 26px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.pain-solution__card {
    background: #ffffff;
    border: 1px solid #dfe6f1;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.pain-solution__section + .pain-solution__section {
    margin-top: 12px;
}

.pain-solution__divider {
    height: 1px;
    margin: 12px 0;
    background: #e2e8f0;
}

.pain-solution__section .title {
    margin: 0 0 12px;
}

.pain-solution__section h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    color: #1e293b;
    text-transform: none;
}

.pain-solution__product-name {
    color: #6366f1;
    font-weight: 800;
}

.pain-solution__section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pain-solution__section li {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.45;
    color: #334155;
    border-left: 3px solid #cbd5e1;
    background: #f8fafc;
}

.pain-solution__section--problem li {
    border-left-color: #ef4444;
}

.pain-solution__section--solution li {
    border-left-color: #10b981;
}

/* ========================================
   Reviews block (Template2 style)
   ======================================== */
.reviews {
    background: #ffffff;
    padding: 24px 14px 26px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.reviews .title {
    margin: 0 0 16px;
}

.reviews__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.reviews__summary-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.reviews__summary-stars {
    color: #f59e0b;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
}

.reviews__summary-score {
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.reviews__summary-right {
    text-align: right;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.reviews__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reviews-card {
    border: 1px solid #dfe6f1;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    padding: 12px;
}

.reviews-card__top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.reviews-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}

.reviews-card__avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reviews-card__main {
    min-width: 0;
    flex: 1;
}

.reviews-card__name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.reviews-card__name {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
}

.reviews-card__stars {
    color: #f59e0b;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.reviews-card__meta {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.reviews-card__verified {
    margin-top: 8px;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
}

.reviews-card__text {
    margin-top: 8px;
    color: #334155;
    font-size: 15px;
    line-height: 1.5;
}

/* ========================================
   FAQ block (Template2 style)
   ======================================== */
.faq {
    background: #f8fafc;
    padding: 24px 14px 26px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.faq .title {
    margin: 0 0 16px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq__item {
    border: 1px solid #dfe6f1;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.faq__question {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    text-align: left;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
}

.faq__icon {
    font-size: 22px;
    color: #6366f1;
    line-height: 1;
    transition: transform .2s ease;
    flex-shrink: 0;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 14px;
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
    transition: max-height .25s ease, padding .25s ease;
}

.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
}

.faq__item.is-open .faq__answer {
    max-height: 240px;
    padding: 0 14px 12px;
    border-top: 1px dashed #e2e8f0;
}

.countdown__value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: #6366f1;
    display: block;
    margin-bottom: 5px;
}

.countdown__label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Product Description - Clean Layout
   ======================================== */
.product-description {
    margin: 0;
    background: #ffffff;
    border-radius: 0;
    padding: 40px 20px;
    box-shadow: none;
}

.title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.3;
    color: #1a202c;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* Прибираємо ліву лінію з базових стилів, лишаємо тільки центральну */
.title::before {
    content: none !important;
    display: none !important;
}

.presentation {
    font-size: 17px;
    line-height: 1.8;
    text-align: left;
    color: #475569;
    padding: 0;
}

.presentation strong {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2px 8px;
    font-weight: 700;
    color: #92400e;
    border-radius: 4px;
}

/* ========================================
   Specifications - Modern Table
   ======================================== */
.specifications {
    background: #f8fafc;
    color: #1a202c;
    border-radius: 0;
    margin: 0;
    padding: 40px 20px;
    box-shadow: none;
    border-top: 2px solid #e2e8f0;
}

.specifications .title {
    color: #1a202c;
}

.specifications .title strong {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specifications .image {
    padding: 20px;
    text-align: center;
}

.specifications .image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 100%;
}

.specifications .specs-text {
    color: #475569;
    padding: 20px;
    text-align: left;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.specifications .specs-text table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.specifications .specs-text table th,
.specifications .specs-text table td {
    padding: 15px 20px;
    text-align: left;
    border: none;
}

.specifications .specs-text table th {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.specifications .specs-text table td {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.specifications .specs-text table tr:last-child td {
    border-bottom: none;
}

.specifications .specs-text table tr:hover td {
    background: #eef2ff;
}

.specifications .specs-text img {
    max-width: 100%;
    height: auto;
    display: block;
}

.specifications .order-button {
    padding: 30px 20px;
}

/* ========================================
   How to Order - Icon Cards
   ======================================== */
.sect_5 {
    background: #ffffff;
    padding: 40px 20px;
    border-top: 1px solid #e2e8f0;
}

.sect_5 h2.title {
    font-size: 28px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 30px;
}

.sect_5 .list {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sect_5 .list > li {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    color: #1a202c;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.sect_5 .list > li:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
}

.sect_5 .list > li:nth-of-type(even) {
    flex-direction: row-reverse;
}

.sect_5 .list > li:nth-of-type(even):hover {
    transform: none;
}

.sect_5 .list > li > img {
    border: none;
    min-width: 120px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.sect_5 .list > li > svg {
    min-width: 80px;
    width: 80px;
    height: 80px;
    color: #6366f1;
    flex-shrink: 0;
}

.sect_5 .list > li:nth-of-type(even) .text {
    padding: 0 20px 0 0;
    text-align: right;
}

.sect_5 .list > li .text {
    padding: 0 0 0 20px;
}

.sect_5 .text h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 8px;
    color: #6366f1;
}

.sect_5 .text p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* ========================================
   Contact Form - Modern Card
   ======================================== */
.contact-form {
    padding: 0;
    background: #f8fafc;
}

.order-form-inner {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px 32px;
    background: #f8fafc;
    border-radius: 0;
    box-shadow: none;
}

.order-form-inner input {
    width: 100%;
    display: block;
    border: 2px solid #e2e8f0;
    font-size: 16px;
    padding: 0 25px;
    height: 60px;
    border-radius: 50px;
    text-align: left;
    font-weight: 500;
    color: #1a202c;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.order-form-inner input:focus {
    border-color: #6366f1;
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control-wrap {
    width: 100%;
    margin-bottom: 15px;
}

/* ========================================
   Form Validation
   ======================================== */
.form-field-wrapper {
    position: relative;
    width: 100%;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    padding-left: 20px;
    font-weight: 600;
}

.field.error {
    border: 2px solid #ef4444 !important;
    background: #fef2f2 !important;
}

.button-submit2:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.big-button.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4) !important;
}

.order-button {
    padding: 30px 20px;
}

.margin20 {
    margin: 0;
    padding: 30px 20px;
    background: #f8fafc;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 0;
    margin-top: 40px;
}

.footer .footer__shop-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 10px 0 6px;
    color: #0f172a;
}

.footer .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 10px 12px 14px;
    list-style: none;
    white-space: normal;
}

.footer .footer-menu li {
    margin: 0;
    padding: 0;
}

/* ========================================
   Recent order popup
   ======================================== */
.recent-order-popup {
    position: fixed;
    right: max(14px, calc(50% - 240px + 14px));
    left: auto;
    top: 14px;
    z-index: 30;
    max-width: min(390px, calc(100vw - 28px));
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 11px;
    border-radius: 12px;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.recent-order-popup.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.recent-order-popup__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    flex: 0 0 auto;
}

.recent-order-popup__title {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.recent-order-popup__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.recent-order-popup__product {
    margin-top: 2px;
    font-size: 12px;
    color: #374151;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 270px;
}

.recent-order-popup__meta {
    font-size: 10px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    text-align: right;
}

/* ========================================
   Sticky order bar
   ======================================== */
.sticky-order-bar {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%) translateY(12px);
    width: min(480px, 100vw);
    box-sizing: border-box;
    z-index: 28;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px 9px;
    border-radius: 14px;
    border: 1px solid #dbe2ee;
    background: #f8fafc;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.sticky-order-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sticky-order-bar__signals {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 2px;
    border-top: 1px solid #e5e7eb;
}

.sticky-order-bar__signal {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.sticky-order-bar__signal-label {
    font-size: 10px;
    color: #6b7280;
    line-height: 1.1;
}

.sticky-order-bar__signal-value {
    font-size: 12px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.sticky-order-bar__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sticky-order-bar__prices {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sticky-order-bar__price-new {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.sticky-order-bar__price-old {
    margin-top: 1px;
    font-size: 12px;
    color: #6b7280;
    text-decoration: line-through;
    line-height: 1.1;
}

.sticky-order-bar__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    height: 46px;
    padding: 0 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.35);
}

.text_block img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* CKEditor MediaEmbed (figure.media + iframe) — адаптивне відео.
   aspect-ratio замість height:auto, бо iframe не має intrinsic size. */
.text_block figure.media,
.specifications .specs-text figure.media {
    margin: 16px auto;
    width: 100%;
    max-width: 100%;
}
.text_block figure.media iframe,
.specifications .specs-text figure.media iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}
