/* ==========================================================================
   THEME: Clean & Trust
   Neutral, crisp, modern e-commerce look. Calm colors, clear hierarchy,
   trust-first (rating badge, soft blue accents instead of aggressive red).
   Scoped to body[data-theme="clean"] so it only applies when this theme
   is selected in Адмінка -> Налаштування -> Дизайн.
   ========================================================================== */

body[data-theme="clean"] {
    background: #f8fafc;
}

/* ---- Gallery ---- */
body[data-theme="clean"] .product-gallery-container {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 12px;
}

body[data-theme="clean"] .main-image-container {
    border-radius: 12px;
}

body[data-theme="clean"] .discount-badge {
    background: #1e293b !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700;
    padding: 6px 14px !important;
    box-shadow: none !important;
}

/* ---- Title & rating ---- */
body[data-theme="clean"] .product-title {
    color: #0f172a;
    letter-spacing: -0.3px;
}

body[data-theme="clean"] .product-rating-badge {
    background: #f1f5f9;
    border-radius: 999px;
    padding: 6px 14px;
    display: flex !important;
    width: fit-content;
    margin: 0 auto 1rem;
}

@media (min-width: 768px) {
    body[data-theme="clean"] .product-rating-badge {
        margin: 0 0 1rem;
    }
}

/* ---- Price ---- */
body[data-theme="clean"] .price-current {
    color: #0f766e;
    font-weight: 800;
}

body[data-theme="clean"] .price-old {
    color: #94a3b8;
}

/* ---- Qty stepper ---- */
body[data-theme="clean"] .qty-control {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

body[data-theme="clean"] .qty-btn {
    background: #f8fafc;
    border-radius: 0 !important;
}

/* ---- Promo timer: understated ---- */
body[data-theme="clean"] .promo-timer-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body[data-theme="clean"] .promo-timer-box .timer-unit {
    border-color: #e2e8f0 !important;
}

body[data-theme="clean"] .promo-timer-box #seconds {
    color: #0f172a !important;
}

/* ---- Inputs ---- */
body[data-theme="clean"] .custom-input-group {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

body[data-theme="clean"] .custom-input-group:focus-within {
    border-color: #2563eb;
}

/* ---- CTA buttons (beat inline styles) ---- */
body[data-theme="clean"] .btn-pulse,
body[data-theme="clean"] #btn-fast-order-top {
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    animation: none !important;
}

body[data-theme="clean"] .btn-primary {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* ---- Variants ---- */
body[data-theme="clean"] .variant-btn.selected {
    background-color: #eff6ff !important;
    border-color: #2563eb !important;
}

body[data-theme="clean"] .variant-btn.selected .variant-radio,
body[data-theme="clean"] .variant-btn.selected .variant-radio::after {
    border-color: #2563eb;
    background-color: #2563eb;
}

body[data-theme="clean"] .variant-btn.selected .variant-price {
    color: #0f766e;
}

/* ---- Trust icons ---- */
body[data-theme="clean"] .trust-icon-circle {
    background-color: #2563eb !important;
}

/* ---- Sticky bar ---- */
body[data-theme="clean"] #sticky-buy-bar {
    border: 1px solid #e2e8f0 !important;
}

/* ---- Description headings ---- */
body[data-theme="clean"] .product-description h2 {
    color: #0f172a !important;
}

body[data-theme="clean"] .product-description h2::after {
    background: #2563eb !important;
}

/* ---- Social proof / similar products ---- */
body[data-theme="clean"] .social-proof-chip i {
    color: #2563eb;
}

body[data-theme="clean"] .similar-product-img {
    border-color: #e2e8f0;
}

/* ---- Reviews ---- */
body[data-theme="clean"] #reviews-section .card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
}

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */
body[data-theme="clean"] .hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2) !important;
}

body[data-theme="clean"] .trust-bar-item {
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
}

body[data-theme="clean"] .section-title::after {
    background: #2563eb !important;
}

body[data-theme="clean"] .product-grid-card {
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

body[data-theme="clean"] .product-grid-card .product-badge {
    background: #1e293b !important;
}

body[data-theme="clean"] .product-grid-card .price-current {
    color: #0f766e !important;
}

body[data-theme="clean"] .btn-cart-modern.btn-primary {
    background: #2563eb;
}

body[data-theme="clean"] .btn-cart-modern:hover {
    background: #1d4ed8;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
body[data-theme="clean"] .footer-trust-strip {
    background: #eff6ff;
    border-color: #dbeafe;
}

body[data-theme="clean"] .footer-trust-item i,
body[data-theme="clean"] .footer-brand-icon {
    color: #2563eb;
}

body[data-theme="clean"] .footer-link:hover {
    color: #2563eb;
}
