/* ═══════════════════════════════════════════════
   TRENDYX — CONVERSION BOOSTERS
   Sales acceleration features — Midnight Rose
   ═══════════════════════════════════════════════ */

/* ── Announcement Bar (Top Countdown) ── */
.tx-announce-bar {
    background: linear-gradient(90deg, var(--tx-rose-dark) 0%, var(--tx-rose) 50%, var(--tx-rose-dark) 100%);
    color: var(--tx-white);
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    position: relative;
    z-index: 9999;
    overflow: hidden;
    width: 100%;
}

.tx-announce-marquee {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: txAnnounceTicker 24s linear infinite;
    will-change: transform;
}

.tx-announce-track {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

.tx-announce-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@keyframes txAnnounceTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tx-announce-bar .tx-countdown {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.tx-announce-bar .tx-countdown-unit {
    background: rgba(0,0,0,0.25);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--tx-font-body);
    font-size: 13px;
    font-weight: 800;
    min-width: 28px;
    text-align: center;
}

.tx-announce-bar .tx-countdown-sep {
    font-weight: 700;
    opacity: 0.7;
}

/* ── Social Proof Ticker Bar ── */
.tx-social-proof-bar {
    background: var(--tx-deep);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}

.tx-social-proof-bar-inner {
    display: inline-flex;
    gap: 48px;
    animation: ticker 25s linear infinite;
}

.tx-social-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Live Sales Notification (Bottom-Left Toast) ── */
.tx-sales-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--tx-white);
    border: 1px solid var(--tx-sand);
    border-radius: var(--tx-radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 9998;
    max-width: 340px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tx-sales-toast.visible {
    opacity: 1;
    transform: translateX(0);
}

.tx-sales-toast-icon {
    width: 40px;
    height: 40px;
    background: #E8F5E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.tx-sales-toast-body {
    flex: 1;
}

.tx-sales-toast-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--tx-deep);
}

.tx-sales-toast-name span {
    font-weight: 400;
    color: var(--tx-taupe);
}

.tx-sales-toast-product {
    font-size: 12px;
    color: var(--tx-taupe);
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tx-sales-toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: var(--tx-taupe);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    line-height: 1;
}

/* ── Live Viewers Badge ── */
.tx-live-viewers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--tx-taupe);
    padding: 8px 0;
    margin-bottom: 8px;
}

.tx-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E53935;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(229,57,53,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(229,57,53,0); }
}

.tx-live-viewers strong {
    color: #E53935;
    font-weight: 700;
}

/* ── Stock Scarcity Warning ── */
.tx-stock-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF3E0;
    color: #E65100;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--tx-radius-md);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

/* ── Price Countdown Timer ── */
.tx-price-timer {
    background: linear-gradient(135deg, #FFF0F0, #FFEBEE);
    border: 1px solid #FFCDD2;
    border-radius: var(--tx-radius-lg);
    padding: 14px 20px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #C62828;
}

.tx-price-timer-label {
    font-weight: 700;
}

.tx-price-timer .tx-timer-digit {
    background: #C62828;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 15px;
    min-width: 32px;
    text-align: center;
}

.tx-price-timer .tx-timer-sep {
    font-weight: 800;
}

/* ── Trust Badges Row ── */
.tx-trust-badges {
    display: flex;
    gap: 12px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.tx-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tx-cream);
    border: 1px solid var(--tx-sand);
    border-radius: var(--tx-radius-md);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tx-deep);
    flex: 1;
    min-width: 120px;
    justify-content: center;
    text-align: center;
}

.tx-trust-badge-icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* ── Free Shipping Progress ── */
.tx-shipping-progress {
    margin: 16px 0;
    padding: 12px 16px;
    background: #E8F5E9;
    border-radius: var(--tx-radius-lg);
    border: 1px solid #C8E6C9;
}

.tx-shipping-progress-text {
    font-size: 13px;
    color: #2E7D32;
    font-weight: 600;
    margin-bottom: 8px;
}

.tx-shipping-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.tx-shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #43A047, #2E7D32);
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Sticky Add-to-Cart Bar (Mobile) ── */
/* ═══════════════════════════════════════════════════════
   STICKY ATC - Trendyx Style with Thumbnail + Discount
   ═══════════════════════════════════════════════════════ */
.tx-sticky-atc {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--tx-white);
    border-top: 1px solid var(--tx-sand);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    padding: 10px 20px;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tx-sticky-atc.visible {
    transform: translateY(0);
}

.tx-sticky-atc-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 16px;
}

.tx-sticky-atc-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.tx-sticky-atc-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--tx-radius-md);
    border: 1px solid var(--tx-sand);
    flex-shrink: 0;
}

.tx-sticky-atc-info {
    min-width: 0;
}

.tx-sticky-atc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--tx-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.tx-sticky-atc-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.tx-sticky-atc-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--tx-rose);
}

.tx-sticky-atc-old {
    font-size: 13px;
    color: var(--tx-taupe);
    text-decoration: line-through;
    font-weight: 500;
}

.tx-sticky-discount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--tx-success);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--tx-radius-pill);
    white-space: nowrap;
}

.tx-sticky-atc-right {
    flex-shrink: 0;
}

.tx-sticky-atc-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--tx-deep);
    color: #fff;
    border: none;
    border-radius: var(--tx-radius-pill);
    padding: 14px 28px;
    font-family: var(--tx-font-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tx-sticky-atc-btn svg {
    width: 18px;
    height: 18px;
}

.tx-sticky-atc-btn:hover {
    background: var(--tx-rose);
    transform: translateY(-2px);
    box-shadow: var(--tx-shadow-rose);
}

.tx-sticky-atc-btn.added {
    background: var(--tx-success);
}

@media (min-width: 992px) {
    .tx-sticky-atc {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .tx-announce-bar {
        font-size: 12px;
        padding: 8px 10px;
    }

    .tx-announce-marquee {
        animation-duration: 18s;
    }

    .tx-announce-track {
        gap: 18px;
        padding-right: 18px;
    }

    .tx-sticky-atc {
        padding: 8px 12px;
    }

    .tx-sticky-atc-inner {
        gap: 10px;
    }

    .tx-sticky-atc-thumb {
        width: 40px;
        height: 40px;
    }

    .tx-sticky-atc-title {
        font-size: 12px;
        max-width: 140px;
    }

    .tx-sticky-atc-pricing {
        gap: 5px;
    }

    .tx-sticky-atc-price {
        font-size: 14px;
    }

    .tx-sticky-atc-old {
        font-size: 11px;
    }

    .tx-sticky-discount {
        font-size: 9px;
        padding: 1px 5px;
    }

    .tx-sticky-atc-btn {
        padding: 10px 16px;
        font-size: 12px;
        border-radius: var(--tx-radius-lg);
    }

    .tx-sticky-atc-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ── Hide Astra's Native/Broken Sticky Bar ── */
.ast-sticky-add-to-cart {
    display: none !important;
}

/* ── 6. FREQUENTLY BOUGHT TOGETHER (Birlikte Al) ── */
.tx-upsell-box {
    margin: 24px 0;
    padding: 20px;
    background: var(--tx-cream);
    border-radius: var(--tx-radius-lg);
    border: 1px dashed var(--tx-sand);
}

.tx-upsell-box h4 {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--tx-deep);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tx-upsell-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tx-upsell-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--tx-white);
    padding: 10px;
    border-radius: var(--tx-radius-md);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid var(--tx-sand);
}

.tx-upsell-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.tx-upsell-info {
    flex: 1;
}

.tx-upsell-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--tx-deep);
    text-decoration: none;
}

.tx-upsell-title:hover {
    color: var(--tx-rose);
}

.tx-upsell-price {
    font-size: 14px;
    color: var(--tx-rose);
    font-weight: 700;
}

.tx-upsell-check {
    width: 20px;
    height: 20px;
    accent-color: var(--tx-rose);
    cursor: pointer;
}

.tx-upsell-add {
    border: 1px solid var(--tx-deep);
    background: var(--tx-deep);
    color: #fff;
    border-radius: var(--tx-radius-lg);
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
}

.tx-upsell-add:hover {
    background: var(--tx-rose);
    border-color: var(--tx-rose);
}

.tx-upsell-add:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.tx-upsell-image-link {
    display: block;
    flex-shrink: 0;
}

/* ── 7. QUANTITY BREAKS (Çoklu Alım) ── */
.tx-qty-breaks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.tx-qty-card {
    border: 2px solid var(--tx-sand);
    padding: 15px 10px;
    text-align: center;
    border-radius: var(--tx-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: var(--tx-white);
}

.tx-qty-card.active {
    border-color: var(--tx-rose);
    background: rgba(196, 114, 127, 0.06);
    transform: translateY(-2px);
}

.tx-qty-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tx-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.tx-qty-badge-hot {
    background: linear-gradient(135deg, #FF6B00, #FF9500);
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.3); }
    50% { box-shadow: 0 0 8px 2px rgba(255, 107, 0, 0.2); }
}

.tx-qty-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tx-qty-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--tx-deep);
}

.tx-qty-sub {
    font-size: 10px;
    color: var(--tx-taupe);
}

/* ── 8. PRODUCT ACCORDIONS (FAQ) ── */
.tx-accordions {
    margin: 30px 0;
    border-top: 1px solid var(--tx-sand);
}

.tx-accordion {
    border-bottom: 1px solid var(--tx-sand);
}

.tx-accordion-header {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.tx-accordion-header:hover {
    color: var(--tx-rose);
}

.tx-accordion-header::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s;
}

.tx-accordion.open .tx-accordion-header::after {
    transform: rotate(45deg);
}

.tx-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    font-size: 14px;
    color: var(--tx-taupe);
    line-height: 1.6;
}

.tx-accordion.open .tx-accordion-content {
    max-height: 500px;
    padding-bottom: 20px;
}

/* ── 9. DELIVERY TIMELINE (Visual stepper) ── */
.tx-delivery-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 0;
    margin: 16px 0;
    position: relative;
}

.tx-delivery-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.tx-delivery-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tx-cream);
    color: var(--tx-taupe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    z-index: 1;
    border: 2px solid var(--tx-sand);
    transition: all 0.3s ease;
}

.tx-delivery-active .tx-delivery-icon {
    background: var(--tx-deep);
    color: #fff;
    border-color: var(--tx-deep);
}

.tx-delivery-line {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--tx-sand);
    z-index: 0;
}

.tx-delivery-active .tx-delivery-line {
    background: var(--tx-deep);
}

.tx-delivery-step:last-child .tx-delivery-line {
    display: none;
}

.tx-delivery-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--tx-deep);
    margin-bottom: 2px;
}

.tx-delivery-label {
    font-size: 11px;
    color: var(--tx-taupe);
    font-weight: 500;
}

.tx-delivery-active .tx-delivery-label {
    color: var(--tx-deep);
    font-weight: 600;
}

/* ── 10. PAYMENT METHOD ICONS ── */
.tx-payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    margin-top: 8px;
    border-top: 1px solid var(--tx-sand);
}

.tx-payment-icons img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.2s;
    filter: grayscale(30%);
}

.tx-payment-icons img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ── Sticky bar mobile show/hide ── */
@media (max-width: 768px) {
    .tx-sticky-atc {
        display: flex !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s, transform 0.3s;
        transform: translateY(100%);
    }
    .tx-sticky-atc.visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .tx-delivery-timeline {
        padding: 16px 0;
    }

    .tx-delivery-icon {
        width: 36px;
        height: 36px;
    }

    .tx-delivery-icon svg {
        width: 16px;
        height: 16px;
    }

    .tx-delivery-date {
        font-size: 10px;
    }

    .tx-delivery-label {
        font-size: 9px;
    }

    .tx-trust-badges {
        gap: 6px;
    }

    .tx-trust-badge {
        padding: 8px 10px;
        font-size: 11px;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .tx-qty-breaks {
        gap: 6px;
    }
    .tx-qty-card {
        padding: 12px 6px;
    }
    .tx-qty-price {
        font-size: 14px;
    }

    .tx-trust-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   PRODUCT PAGE EXTRA SECTIONS — Trendyx-Style
   ═══════════════════════════════════════════════════════ */

/* ── Shared Section Styles ── */
.tx-section-why-us,
.tx-section-stats,
.tx-section-reviews {
    width: 100%;
    padding: 60px 0;
    margin: 0;
}

.tx-section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.tx-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--tx-midnight);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.tx-rose-text {
    color: var(--tx-rose);
}

.tx-section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--tx-taupe);
    margin-bottom: 40px;
    font-weight: 400;
}

/* ═════════════════════════════════
   A) NEDEN TRENDYX — Comparison
   ═════════════════════════════════ */
.tx-section-why-us {
    background: var(--tx-cream);
}

.tx-comparison-table {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.tx-comparison-header {
    display: grid;
    grid-template-columns: 1fr 120px 120px;
    background: var(--tx-deep);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tx-comparison-feature-header,
.tx-comparison-us-header,
.tx-comparison-other-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tx-comparison-feature-header {
    justify-content: flex-start;
}

.tx-comparison-us-header {
    background: var(--tx-rose);
}

.tx-comparison-other-header {
    color: rgba(255,255,255,0.6);
}

.tx-comparison-row {
    display: grid;
    grid-template-columns: 1fr 120px 120px;
    background: var(--tx-white);
    border-bottom: 1px solid var(--tx-sand);
    transition: background 0.2s ease;
}

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

.tx-comparison-row:hover {
    background: var(--tx-cream);
}

.tx-comparison-feature {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tx-charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tx-comparison-us {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 114, 127, 0.04);
}

.tx-comparison-other {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.02);
}

/* ═════════════════════════════════
   B) RAKAMLARLA TRENDYX — Stats
   ═════════════════════════════════ */
.tx-section-stats {
    background: linear-gradient(135deg, var(--tx-deep) 0%, var(--tx-midnight) 100%);
    padding: 70px 0;
}

.tx-section-stats .tx-section-title {
    color: #fff;
}

.tx-section-stats .tx-section-subtitle {
    color: rgba(255,255,255,0.5);
}

.tx-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tx-stat-card {
    text-align: center;
    padding: 32px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.tx-stat-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
    border-color: rgba(196, 114, 127, 0.3);
}

.tx-stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.tx-stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--tx-rose);
    line-height: 1;
    display: inline;
}

.tx-stat-suffix {
    font-size: 28px;
    font-weight: 700;
    color: var(--tx-rose);
    display: inline;
}

.tx-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    font-weight: 500;
}

/* ═════════════════════════════════
   C) MÜŞTERİ YORUMLARI — Reviews
   ═════════════════════════════════ */
.tx-section-reviews {
    background: var(--tx-white);
}

/* Rating Overview */
.tx-reviews-overview {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 32px;
    background: var(--tx-cream);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
}

.tx-reviews-score {
    text-align: center;
    min-width: 140px;
}

.tx-reviews-big-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--tx-midnight);
    line-height: 1;
}

.tx-reviews-big-stars {
    color: var(--tx-rose);
    font-size: 22px;
    margin-top: 4px;
    letter-spacing: 2px;
}

.tx-reviews-count {
    font-size: 14px;
    color: var(--tx-taupe);
    margin-top: 6px;
}

/* Rating Bars */
.tx-reviews-bars {
    flex: 1;
    max-width: 400px;
}

.tx-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tx-bar-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--tx-charcoal);
    min-width: 36px;
    text-align: right;
}

.tx-bar-track {
    flex: 1;
    height: 10px;
    background: var(--tx-sand);
    border-radius: 5px;
    overflow: hidden;
}

.tx-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tx-rose), var(--tx-rose-dark));
    border-radius: 5px;
    transition: width 1s ease;
}

.tx-bar-pct {
    font-size: 12px;
    color: var(--tx-taupe);
    min-width: 30px;
}

/* Review Cards Grid */
.tx-review-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.tx-review-filter {
    border: 1px solid var(--tx-sand);
    background: var(--tx-white);
    color: var(--tx-charcoal);
    border-radius: var(--tx-radius-pill);
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tx-review-filter:hover {
    border-color: var(--tx-rose);
    color: var(--tx-deep);
}

.tx-review-filter.active {
    background: var(--tx-deep);
    color: #fff;
    border-color: var(--tx-deep);
}

.tx-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tx-review-card {
    background: var(--tx-cream);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s ease;
}

.tx-review-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: rgba(196, 114, 127, 0.2);
}

.tx-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.tx-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tx-rose), var(--tx-rose-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tx-review-meta {
    flex: 1;
}

.tx-review-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--tx-midnight);
}

.tx-review-city {
    font-weight: 400;
    color: var(--tx-taupe);
}

.tx-review-stars {
    color: var(--tx-rose);
    font-size: 14px;
    letter-spacing: 1px;
}

.tx-review-verified {
    font-size: 11px;
    font-weight: 600;
    color: var(--tx-success);
    background: rgba(107, 143, 113, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.tx-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tx-charcoal);
    margin-bottom: 10px;
}

.tx-review-time {
    font-size: 12px;
    color: var(--tx-taupe);
}

/* Review Form */
.tx-review-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 32px;
    background: var(--tx-cream);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
}

.tx-review-form-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--tx-midnight);
}

.tx-review-form-stars {
    margin-bottom: 16px;
}

.tx-form-star {
    font-size: 32px;
    color: var(--tx-sand);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
    margin: 0 2px;
}

.tx-form-star:hover,
.tx-form-star.active {
    color: var(--tx-rose);
    transform: scale(1.15);
}

.tx-review-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--tx-sand);
    border-radius: var(--tx-radius-lg);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 14px;
    transition: border-color 0.2s ease;
    background: var(--tx-white);
}

.tx-review-textarea:focus {
    outline: none;
    border-color: var(--tx-rose);
    box-shadow: 0 0 0 3px rgba(196, 114, 127, 0.1);
}

.tx-review-submit-btn {
    background: var(--tx-deep);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: var(--tx-radius-pill);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tx-review-submit-btn:hover {
    background: var(--tx-rose);
    transform: translateY(-1px);
    box-shadow: var(--tx-shadow-rose);
}

/* ═════════════════════════════════
   RESPONSIVE — Extra Sections
   ═════════════════════════════════ */
@media (max-width: 768px) {
    .tx-section-title {
        font-size: 24px;
    }

    .tx-section-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .tx-section-why-us,
    .tx-section-stats,
    .tx-section-reviews {
        padding: 40px 0;
    }

    /* Comparison Table Mobile */
    .tx-comparison-header {
        grid-template-columns: 1fr 80px 80px;
        font-size: 11px;
    }

    .tx-comparison-row {
        grid-template-columns: 1fr 80px 80px;
    }

    .tx-comparison-feature {
        font-size: 12px;
        padding: 12px 12px;
    }

    .tx-comparison-us,
    .tx-comparison-other {
        padding: 12px 8px;
    }

    /* Stats Grid Mobile */
    .tx-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .tx-stat-card {
        padding: 24px 12px;
    }

    .tx-stat-number {
        font-size: 36px;
    }

    .tx-stat-suffix {
        font-size: 22px;
    }

    /* Reviews Mobile */
    .tx-reviews-overview {
        flex-direction: column;
        gap: 24px;
        padding: 24px 16px;
    }

    .tx-reviews-bars {
        width: 100%;
        max-width: none;
    }

    .tx-reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tx-review-form-wrapper {
        padding: 24px 16px;
    }

    .tx-form-star {
        font-size: 28px;
    }
}
