/* Trust Commerce Pro — Marketplace (Ozon/WB/Яндекс/Avito/Т-Банк hybrid) */
* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #F5F5F7;
    color: #1A1A1A;
    min-height: 100vh;
}

/* === APP LAYOUT (mobile-first) === */
.app-marketplace {
    padding-bottom: 72px;
}

/* === SINGLE-PAGE (по оферте: один продукт, оплата, документы) === */
.app-single {
    padding-bottom: 80px;
}

.site-header {
    position: sticky;
    top: 0;
    background: #FFF;
    border-bottom: 1px solid #E0E0E0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.site-header .logo {
    text-decoration: none;
    color: #1A1A1A;
}

.header-support {
    font-size: 14px;
    font-weight: 500;
    color: #B08D74;
    text-decoration: none;
}

.header-support:hover {
    text-decoration: underline;
}

.site-main {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 16px 24px;
}

.docs-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 12px;
}

.docs-links a {
    font-size: 14px;
    font-weight: 500;
    color: #B08D74;
    text-decoration: underline;
}

.docs-links a:hover {
    color: #8B6B52;
}

.sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    border-top: 1px solid #E0E0E0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 99;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}

.sticky-buy-price {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
}

.sticky-buy-bar .btn-buy-sticky {
    flex: 1;
    max-width: 200px;
}

.app-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px 16px;
}

/* === TOP BAR (фиксированная верхняя зона) === */
.top-bar {
    position: sticky;
    top: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    z-index: 100;
    padding: 10px 12px 12px;
}

.top-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.top-bar-row-1 {
    margin-bottom: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    color: #1A1A1A;
    text-decoration: none;
}

.logo-text { display: inline; }

.logo-icon {
    width: 28px;
    height: 28px;
    color: #B08D74;
    flex-shrink: 0;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #F5F5F7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
    cursor: pointer;
    position: relative;
}

.icon-btn:active { opacity: 0.8; }

.icon-btn-cart .cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    background: #E74C3C;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.search-wrap {
    position: relative;
    margin-bottom: 8px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B6B6B;
    pointer-events: none;
}

.search-input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 44px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    background: #F5F5F7;
    font-size: 15px;
    color: #1A1A1A;
}

.search-input::placeholder { color: #6B6B6B; }
.search-input:focus {
    outline: none;
    border-color: #B08D74;
    background: #FFF;
}

.geo-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6B6B6B;
    margin-bottom: 10px;
}

.geo-row svg { flex-shrink: 0; color: #B08D74; }

.chips-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.chips-row::-webkit-scrollbar { height: 0; }

.chip {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #E0E0E0;
    background: #FFF;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A1A;
    cursor: pointer;
}

.chip:active { background: #F5F5F7; }

.chip-sale {
    border-color: #E74C3C;
    color: #E74C3C;
    background: #FFE5E5;
}

.chip-verified {
    border-color: #27AE60;
    color: #27AE60;
    background: #E8F5E9;
}

/* === SCREENS (SPA-style) === */
.screen {
    display: none;
    min-height: 60vh;
}

.screen.screen-active {
    display: block;
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 16px;
}

.back-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #F5F5F7;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #1A1A1A;
    flex-shrink: 0;
}

.back-btn:active { opacity: 0.8; }

.screen-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.screen-title-product { font-size: 16px; }

/* === LANDING (одно предложение: что, зачем, выгода, купить) === */
.landing-hero {
    background: linear-gradient(135deg, #F8F5F2 0%, #F0EBE5 100%);
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 24px;
    text-align: center;
}

.landing-hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #B08D74;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #1A1A1A;
}

.landing-hero-subtitle {
    font-size: 15px;
    line-height: 1.45;
    color: #4A4A4A;
    margin: 0 0 20px;
}

.landing-hero-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.landing-hero-price .price-current {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
}

.landing-hero-price .price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.landing-hero-price .price-discount-badge {
    background: #FFE5E5;
    color: #E74C3C;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.landing-hero-delivery {
    font-size: 13px;
    color: #6B6B6B;
    margin: 0 0 20px;
}

/* Формат файлов */
.file-format {
    font-size: 13px;
    color: #6B6B6B;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(248, 245, 242, 0.6);
    padding: 10px 16px;
    border-radius: 10px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.file-format svg {
    color: #B08D74;
    flex-shrink: 0;
}

.file-format strong {
    color: #B08D74;
    font-weight: 700;
}

/* === АДАПТИВНОЕ ВИДЕО === */
.video-wrapper {
    margin: 20px auto;
    max-width: 560px;
    width: 100%;
}

.intro-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.video-caption {
    font-size: 13px;
    color: #6B6B6B;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Адаптивность для видео */
@media (max-width: 600px) {
    .video-wrapper {
        margin: 16px auto;
    }
    
    .intro-video {
        border-radius: 8px;
    }
    
    .video-caption {
        font-size: 12px;
    }
}

/* Ссылки на законы */
.legal-reference {
    background: rgba(248, 245, 242, 0.8);
    border: 1px solid rgba(176, 141, 116, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 16px auto;
    max-width: 400px;
    text-align: left;
}

.legal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #B08D74;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.legal-link:hover {
    color: #9A7B62;
    text-decoration: underline;
}

.legal-link svg {
    flex-shrink: 0;
}

.btn-buy-hero {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-buy-hero .btn-text {
    font-weight: 600;
    font-size: 16px;
}

.btn-buy-hero .btn-price {
    font-weight: 700;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 8px;
}

/* Адаптивность для кнопки */
@media (max-width: 400px) {
    .btn-buy-hero {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-buy-hero .btn-text {
        font-size: 15px;
    }
    
    .btn-buy-hero .btn-price {
        font-size: 16px;
        padding: 4px 10px;
    }
}

/* Trust badges под кнопкой */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #6B6B6B;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Чекбокс согласия */
.consent-text {
    margin: 16px auto;
    max-width: 340px;
    text-align: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6B6B6B;
    cursor: pointer;
    justify-content: center;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #B08D74;
}

.checkbox-label a {
    color: #B08D74;
    text-decoration: underline;
}

.checkbox-label a:hover {
    text-decoration: none;
}

.landing-section {
    background: #FFF;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.landing-section .section-title {
    margin-bottom: 8px;
    font-size: 18px;
}

.landing-section .section-lead {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Детали пакета */
.package-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.package-category {
    background: #F8F5F2;
    border-radius: 12px;
    padding: 16px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.category-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.category-header strong {
    display: block;
    font-size: 15px;
    color: #1A1A1A;
    margin-bottom: 2px;
}

.category-count {
    font-size: 13px;
    color: #B08D74;
    font-weight: 600;
    background: rgba(176, 141, 116, 0.15);
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list li {
    font-size: 14px;
    color: #4A4A4A;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.category-list li::before {
    content: "•";
    color: #B08D74;
    font-weight: 700;
    position: absolute;
    left: 0;
    font-size: 18px;
    line-height: 1.4;
}

.package-total {
    background: linear-gradient(135deg, #F0F7FF 0%, #E8F4F8 100%);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-top: 20px;
}

.package-total strong {
    display: block;
    font-size: 16px;
    color: #1A1A1A;
    margin-bottom: 4px;
    font-weight: 700;
}

.package-total p {
    font-size: 14px;
    color: #4A4A4A;
    margin: 0;
}

.landing-lead {
    font-size: 14px;
    color: #6B6B6B;
    margin: 0 0 16px;
    line-height: 1.4;
}

.landing-includes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-includes li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F0F0F0;
    font-size: 15px;
    color: #1A1A1A;
}

.landing-includes li:last-child { border-bottom: none; }

.landing-includes-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.landing-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-benefits li {
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
    font-size: 14px;
    color: #4A4A4A;
    line-height: 1.45;
}

.landing-benefits li:last-child { border-bottom: none; }

.landing-benefits strong { color: #1A1A1A; }

.landing-section-trust .trust-row-block {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.landing-section-trust .trust-item a {
    color: #B08D74;
    text-decoration: underline;
}

.landing-seller {
    font-size: 13px;
    color: #6B6B6B;
    margin: 0;
}

.landing-seller a {
    color: #1A1A1A;
    font-weight: 500;
    text-decoration: none;
}

.landing-cta {
    padding: 8px 0 80px;
}

.landing-cta .btn-buy-hero {
    max-width: none;
}

.bottom-action-bar-home {
    position: sticky;
    bottom: 72px;
    left: 0;
    right: 0;
    margin: 0 -12px;
    border-radius: 0;
    z-index: 50;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}

#screen-home .bottom-action-bar-home {
    margin-top: 16px;
}

/* === BANNERS === */
.banners {
    margin-bottom: 20px;
}

.banner {
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #F8F5F2 0%, #F0EBE5 100%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-emoji { font-size: 48px; }

.banner-text {
    font-size: 14px;
    line-height: 1.4;
    color: #1A1A1A;
}

.banner-text strong { font-size: 16px; }

/* === PRODUCT GRID (2 в ряд на мобиле) === */
.section-head {
    margin-bottom: 12px;
}

.section-head .section-title {
    margin-bottom: 0;
    font-size: 18px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.product-grid-recent { margin-bottom: 16px; }

.product-card {
    background: #FFF;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
}

.product-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.product-card-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #F8F5F2 0%, #F0EBE5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.product-card-small .product-card-image { font-size: 32px; }

.product-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.card-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.card-badge-hit {
    background: #E74C3C;
    color: white;
}

.card-badge-sale {
    background: #FFE5E5;
    color: #E74C3C;
}

.card-badge-verified {
    background: #E8F5E9;
    color: #27AE60;
}

.product-card-body {
    padding: 10px;
}

.product-card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-meta {
    font-size: 11px;
    color: #6B6B6B;
    margin-bottom: 6px;
    display: flex;
    gap: 6px;
}

.card-rating { color: #1A1A1A; font-weight: 600; }

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.card-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}

.card-price-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.product-card-delivery {
    font-size: 11px;
    color: #27AE60;
    font-weight: 500;
}

.product-card-small .product-card-title { -webkit-line-clamp: 1; }
.product-card-small .product-card-body { padding: 8px; }

/* === BOTTOM NAV (5 пунктов) === */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    border-top: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: 99;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: none;
    background: none;
    font-size: 11px;
    color: #6B6B6B;
    cursor: pointer;
}

.bottom-nav-item.active {
    color: #B08D74;
    font-weight: 600;
}

.bottom-nav-icon { font-size: 20px; }

/* === EMPTY STATES === */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state-icon { font-size: 56px; margin-bottom: 16px; }

.empty-state-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.empty-state-desc {
    font-size: 14px;
    color: #6B6B6B;
    margin: 0 0 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: linear-gradient(135deg, #C9A88A 0%, #B08D74 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:active { opacity: 0.9; }

/* === PROFILE === */
.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    margin-bottom: 16px;
    background: #FFF;
    border-radius: 14px;
    padding: 20px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #C9A88A, #B08D74);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.profile-name { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.profile-meta { font-size: 13px; color: #6B6B6B; margin: 0; }

.profile-menu {
    background: #FFF;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.profile-menu-item {
    display: block;
    padding: 16px;
    font-size: 15px;
    color: #1A1A1A;
    text-decoration: none;
    border-bottom: 1px solid #F0F0F0;
}

.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-item:active { background: #F5F5F7; }

.profile-actions { padding: 0 0 16px; }
.btn-secondary {
    width: 100%;
    padding: 14px;
    border: 2px solid #B08D74;
    background: transparent;
    color: #B08D74;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:active { background: #FFF8F2; }

/* === SECURITY CENTER (Т-Банк style) === */
.security-intro {
    font-size: 14px;
    color: #6B6B6B;
    margin: 0 0 20px;
}

.security-toggles {
    background: #FFF;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
}

.security-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #F0F0F0;
}

.security-toggle-row:last-child { border-bottom: none; }

.security-toggle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.security-toggle-label { font-weight: 600; font-size: 15px; }
.security-toggle-desc { font-size: 12px; color: #6B6B6B; }

.toggle {
    flex-shrink: 0;
    position: relative;
    width: 50px;
    height: 28px;
    cursor: pointer;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #E0E0E0;
    border-radius: 14px;
    transition: 0.2s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: 0.2s;
}

.toggle-input:checked + .toggle-slider {
    background: #B08D74;
}

.toggle-input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.subsection-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

.security-quick-actions {
    background: #FFF;
    border-radius: 14px;
    padding: 16px;
}

.quick-action-btn,
.quick-action-link {
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 8px;
    border: 1px solid #E0E0E0;
    background: #FFF;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.quick-action-btn:last-child,
.quick-action-link:last-child { margin-bottom: 0; }
.quick-action-btn:active,
.quick-action-link:active { background: #F5F5F7; }

/* === PRODUCT PAGE (inside screen) === */
#screen-product .product-page-main {
    padding-top: 0;
}

#screen-product .bottom-action-bar {
    position: sticky;
    bottom: 0;
    margin: 0 -12px;
    border-radius: 0;
}

/* === TABS (Описание / Характеристики / Отзывы / Сравнение) === */
.product-tabs {
    background: #FFF;
    margin-top: 1px;
    padding: 0 16px 20px;
}

.tabs-head {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 12px 0;
    border-bottom: 1px solid #E8E8E8;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: #6B6B6B;
    cursor: pointer;
    border-radius: 8px;
}

.tab-btn.active {
    background: #F8F5F2;
    color: #B08D74;
    font-weight: 600;
}

.tab-btn:active { background: #F0EBE5; }

.tabs-body { padding-top: 16px; }

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    font-size: 14px;
}

.specs-list dt { color: #6B6B6B; font-weight: 500; }
.specs-list dd { margin: 0; font-weight: 600; }

.compare-hint {
    font-size: 14px;
    color: #6B6B6B;
    margin: 0;
}

.btn-cart {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border: 2px solid #B08D74;
    background: transparent;
    color: #B08D74;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cart:active { background: #FFF8F2; }

/* Скрыть нижнее меню на экране товара (акцент на «Купить») */
body.screen-product-open .bottom-nav {
    display: none;
}

body.screen-product-open .app-marketplace {
    padding-bottom: 16px;
}

/* === HEADER === */
.marketplace-header {
    position: sticky;
    top: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    z-index: 100;
    padding: 12px 16px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    color: #1A1A1A;
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: #B08D74;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #F5F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
}

/* === MAIN === */
.product-page-main {
    max-width: 800px;
    margin: 0 auto;
}

/* === ГАЛЕРЕЯ === */
.product-gallery {
    background: #FFFFFF;
    padding: 16px;
}

.gallery-main {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #F8F5F2 0%, #F0EBE5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    margin-bottom: 12px;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.thumbnail {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #F5F5F7;
    border: 2px solid transparent;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.thumbnail:hover {
    background: #E8E8E8;
}

.thumbnail.active {
    border-color: #B08D74;
    background: #FFF8F2;
}

/* === ОСНОВНАЯ ИНФОРМАЦИЯ === */
.product-primary {
    background: #FFFFFF;
    padding: 20px 16px;
    margin-top: 1px;
}

.product-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-hit {
    background: #E74C3C;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.badge-verified {
    background: #E8F5E9;
    color: #27AE60;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.product-title-main {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.product-rating-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.rating-stars {
    color: #F4C150;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 600;
}

.rating-count {
    color: #6B6B6B;
}

/* ЦЕНА */
.price-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E8E8E8;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-current {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.price-discount {
    background: #FFE5E5;
    color: #E74C3C;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ДОСТАВКА */
.delivery-info {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #F8F5F2;
    border-radius: 12px;
}

.delivery-info svg {
    color: #B08D74;
    flex-shrink: 0;
}

.delivery-time {
    font-size: 14px;
    margin-bottom: 2px;
}

.delivery-time strong {
    color: #1A1A1A;
}

.delivery-method {
    font-size: 13px;
    color: #6B6B6B;
}

/* === КНОПКИ === */
.product-actions {
    background: #FFFFFF;
    padding: 16px;
    margin-top: 1px;
}

.btn-buy {
    width: 100%;
    background: linear-gradient(135deg, #C9A88A 0%, #B08D74 100%);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(176, 141, 116, 0.3);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(176, 141, 116, 0.4);
}

.btn-buy:active {
    transform: scale(0.98);
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #6B6B6B;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* === СЕКЦИИ === */
.product-section {
    background: #FFFFFF;
    padding: 20px 16px;
    margin-top: 1px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ЧТО ВХОДИТ */
.includes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.include-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.include-icon {
    width: 48px;
    height: 48px;
    background: #F8F5F2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.include-info {
    flex: 1;
}

.include-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.include-desc {
    font-size: 13px;
    color: #6B6B6B;
}

/* БЕЗОПАСНОСТЬ */
.security-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #E8E8E8;
}

.security-row:last-child {
    border-bottom: none;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.security-info svg {
    color: #B08D74;
    width: 22px;
    height: 22px;
}

.security-status {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.security-status.verified {
    background: #E8F5E9;
    color: #27AE60;
}

.security-status.protected {
    background: #FFF3E0;
    color: #F39C12;
}

/* ОТЗЫВЫ */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.reviews-link {
    color: #B08D74;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.reviews-summary {
    display: flex;
    gap: 24px;
}

.reviews-score {
    text-align: center;
}

.score-number {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.score-stars {
    color: #F4C150;
    font-size: 18px;
    margin: 6px 0;
}

.score-count {
    font-size: 13px;
    color: #6B6B6B;
}

.reviews-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.review-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.review-bar span:first-child {
    width: 16px;
    font-weight: 600;
}

.bar {
    flex: 1;
    height: 8px;
    background: #E8E8E8;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #F4C150;
    border-radius: 4px;
}

.review-bar span:last-child {
    width: 32px;
    text-align: right;
    color: #6B6B6B;
}

/* ПРОДАВЕЦ */
.seller-block {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px 16px;
    margin: 20px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seller-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #C9A88A, #B08D74);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.seller-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seller-name {
    font-weight: 600;
    font-size: 15px;
}

.seller-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: #6B6B6B;
}

.seller-status {
    color: #27AE60;
    font-weight: 500;
}

.btn-seller {
    padding: 12px 20px;
    background: linear-gradient(135deg, #C9A88A 0%, #B08D74 100%);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-seller:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(176, 141, 116, 0.3);
}

/* Telegram бот поддержки (плавающая кнопка) */
.support-bot {
    position: fixed;
    bottom: 90px;
    right: 16px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0088CC 0%, #0066AA 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.support-bot:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 136, 204, 0.5);
}

.support-bot:active {
    transform: scale(0.95);
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(135deg, #1A1A1A 0%, #4A4A4A 100%);
    color: #D0D0D0;
    padding: 40px 16px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-section ul li a {
    color: #D0D0D0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #B08D74;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #999;
    margin: 4px 0;
}

/* Адаптивность footer */
@media (max-width: 600px) {
    .site-footer {
        padding: 30px 16px 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* === НИЖНЯЯ ПАНЕЛЬ === */
.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #E0E0E0;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.price-sticky {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: #6B6B6B;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
}

.btn-buy-sticky {
    background: linear-gradient(135deg, #C9A88A 0%, #B08D74 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-buy-sticky .btn-text {
    font-weight: 600;
}

.btn-buy-sticky .btn-price {
    font-weight: 700;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 8px;
}

.btn-buy-sticky:hover {
    transform: translateY(-2px);
}

/* Адаптивность для нижней панели */
@media (max-width: 400px) {
    .btn-buy-sticky {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-buy-sticky .btn-text {
        font-size: 13px;
    }
    
    .btn-buy-sticky .btn-price {
        font-size: 14px;
        padding: 3px 8px;
    }
}

/* === БОЛЬ → РЕШЕНИЕ === */
.section-pain {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF8F2 100%);
    border-radius: 16px;
    padding: 24px 20px;
}

.pain-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.pain-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.pain-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.pain-text {
    color: #4A4A4A;
}

.solution-block {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #B08D74;
    font-size: 15px;
    line-height: 1.6;
}

.solution-block strong {
    color: #B08D74;
}

/* === ГАРАНТИЯ === */
.guarantee-block {
    background: linear-gradient(135deg, #F0F7FF 0%, #E8F4F8 100%);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    margin: 20px 16px;
}

.guarantee-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.guarantee-block h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.guarantee-block p {
    font-size: 14px;
    color: #6B6B6B;
    margin: 0;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 480px) {
    .product-title-main {
        font-size: 20px;
    }
    
    .price-current {
        font-size: 26px;
    }
    
    .gallery-main {
        font-size: 72px;
    }
    
    .reviews-summary {
        flex-direction: column;
    }
    
    .seller-block {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .seller-info {
        flex-direction: column;
    }
    
    .pain-grid {
        gap: 12px;
    }
    
    .pain-item {
        font-size: 14px;
    }
}

/* === VIDEO CLICK EFFECTS === */
.clickable-video {
    transition: opacity 0.2s ease;
}

.video-wrapper:hover .intro-video {
    opacity: 0.95;
}

.video-wrapper:active .intro-video {
    opacity: 0.85;
}

/* Показываем контролы при наведении */
.video-wrapper:hover .intro-video::-webkit-media-controls {
    opacity: 1 !important;
}
