/*
 * ═══════════════════════════════════════════════════════════════════════════════
 * Lavisa Destinations Theme — ENHANCED DEALS + TESTIMONIALS (E10)
 * ═══════════════════════════════════════════════════════════════════════════════
 *
 * @file        assets/css/ldt-enhanced-sections-deals.css
 * @package     Lavisa_Destinations_Theme
 * @since       2.9.11  (E10 — Visual Enhancement Roadmap v2)
 * @depends     ldt-tokens-enhanced.css      (E1 — gradients, shadows, glass tokens)
 *              ldt-enhanced-base.css        (E2 — section primitives, eyebrow)
 *              ldt-enhanced-animations.css  (E3 — keyframes: ldt-pulse-glow,
 *                                                 ldt-badge-pulse, ldt-icon-pulse,
 *                                                 ldt-marquee, ldt-fade-up)
 *
 *   Polishes the deals + testimonials sections used on the homepage and
 *   shared throughout the theme:
 *
 *     section-deals.php                Hero-style deals banner with cards
 *     section-deals-grid.php           Filterable grid of all current deals
 *     section-deals-urgency-strip.php  Limited-time strip with countdown pills
 *     section-testimonials.php         Carousel of customer quotes
 *     section-testimonials-strip.php   Compact testimonials with rating aggregate
 *
 *   PURE CSS LAYER — no PHP partial is touched. Same approach as E4-E9.
 *
 * ═══════════════════════════════════════════════════════════════════════════════
 */


/* ═══════════════════════════════════════════════════════════════════════════════
 * 1. DEALS SECTION (BANNER STYLE) — accent gradient bg + cards on top
 *
 * The .ldt-section-deals usually has a brand or accent gradient background.
 * We swap to a richer orange→brand-blue diagonal gradient + add animated blob
 * accents via __bg pseudo-elements.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-section-deals {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #ff8c00 0%,
        #e07a00 35%,
        #003580 100%
    ) !important;
    color: #ffffff;
}

/* Animated background blob accent for depth */
body .ldt-section-deals::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
    animation: ldt-float-shape 24s ease-in-out infinite;
    will-change: transform;
}

body .ldt-section-deals::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 53, 128, 0.30) 0%,
        rgba(0, 53, 128, 0) 70%
    );
    pointer-events: none;
    animation: ldt-float-shape 30s ease-in-out infinite reverse;
    will-change: transform;
}

[dir="rtl"] body .ldt-section-deals::before,
.ldt-rtl body .ldt-section-deals::before { right: auto; left: -150px; }

[dir="rtl"] body .ldt-section-deals::after,
.ldt-rtl body .ldt-section-deals::after  { left: auto; right: -200px; }

@media (max-width: 768px) {
    body .ldt-section-deals::before,
    body .ldt-section-deals::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-section-deals::before,
    body .ldt-section-deals::after { animation: none; }
}

/* Intro block — eyebrow badge with pulse */
body .ldt-section-deals__badge {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Title — chiseled text shadow on the gradient bg */
body .ldt-section-deals__title {
    text-shadow:
        0 2px 10px rgba(0,   0,   0, 0.30),
        0 4px 24px rgba(0,  20,  60, 0.40);
    letter-spacing: -0.01em;
}

body .ldt-section-deals__desc {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.20);
}

/* Outline white CTA — polish */
body .ldt-section-deals .ldt-btn--white {
    background: rgba(255, 255, 255, 0.18) !important;
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.50) !important;
    color: #ffffff !important;
    font-weight: 700;
    transition:
        background 250ms var(--ldt-ease-portal, ease),
        transform 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-section-deals .ldt-btn--white:hover {
        background: #ffffff !important;
        color: var(--ldt-primary, #003580) !important;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 2. DEAL CARDS (banner-style)
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-deal-card {
    background: #ffffff;
    border-radius: var(--ldt-radius-card, 1.25rem);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition:
        transform 350ms var(--ldt-ease-portal, ease),
        box-shadow 350ms var(--ldt-ease-portal, ease);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-deal-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    }
}

/* Image wrap — overflow for hover-zoom */
body .ldt-deal-card__image-wrap {
    overflow: hidden;
    position: relative;
}

body .ldt-deal-card__img {
    transition: transform 600ms var(--ldt-ease-portal, ease);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-deal-card:hover .ldt-deal-card__img {
        transform: scale(1.08);
    }
}

/* Discount label — accent gradient pill with continuous pulse */
body .ldt-deal-card__label {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%)) !important;
    box-shadow: var(--ldt-shadow-offer,
                0 4px 15px rgba(255, 140, 0, 0.40));
    color: #ffffff;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.20);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: ldt-badge-pulse 2.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-deal-card__label {
        animation: none;
    }
}

/* Card name */
body .ldt-deal-card__name {
    color: var(--ldt-dark, #1e293b);
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-deal-card:hover .ldt-deal-card__name {
        color: var(--ldt-primary, #003580);
    }
}

/* Price — gradient text on amount */
body .ldt-deal-card__price-from {
    color: var(--ldt-gray-500, #94a3b8);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body .ldt-deal-card__price-amount {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-accent, #ff8c00);  /* fallback */
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

body .ldt-deal-card__dates {
    color: var(--ldt-gray-600, #64748b);
    font-size: 13px;
}

/* Countdown — boxed with brand background */
body .ldt-deal-card__countdown {
    background: rgba(0, 53, 128, 0.06);
    border: 1px solid rgba(0, 53, 128, 0.10);
    border-radius: var(--ldt-radius-input, 0.75rem);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body .ldt-deal-card__countdown-label {
    color: var(--ldt-gray-500, #94a3b8);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body .ldt-deal-card__countdown-value {
    color: var(--ldt-accent, #ff8c00);
    font-weight: 800;
    font-size: 14px;
    font-family: var(--ldt-font-mono, 'JetBrains Mono', monospace);
    letter-spacing: 0.04em;
}

/* CTA pill */
body .ldt-deal-card__cta.ldt-btn--accent {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%)) !important;
    box-shadow: var(--ldt-shadow-accent-soft,
                0 4px 15px rgba(255, 140, 0, 0.20));
    transition:
        transform 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease),
        filter 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-deal-card:hover .ldt-deal-card__cta.ldt-btn--accent {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(255, 140, 0, 0.40);
        filter: brightness(1.06);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 3. DEALS GRID (filterable archive)
 * ═══════════════════════════════════════════════════════════════════════════════ */

/* Header */
body .ldt-dg__title {
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-primary, #003580);  /* fallback */
    letter-spacing: -0.01em;
}

body .ldt-dg__subtitle {
    color: var(--ldt-gray-600, #64748b);
}

/* Filter selects — polish to match the search modal style */
body .ldt-dg__select {
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.92)) !important;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 53, 128, 0.12) !important;
    border-radius: var(--ldt-radius-input, 0.75rem) !important;
    color: var(--ldt-dark, #1e293b);
    font-weight: 500;
    padding: 8px 14px !important;
    transition:
        border-color 200ms var(--ldt-ease-portal, ease),
        box-shadow 200ms var(--ldt-ease-portal, ease);
}

body .ldt-dg__select:focus,
body .ldt-dg__select:focus-visible {
    outline: none;
    border-color: var(--ldt-accent, #ff8c00) !important;
    box-shadow: var(--ldt-ring-focus-accent, 0 0 0 3px rgba(255, 140, 0, 0.35));
}

body .ldt-dg__filter-label {
    color: var(--ldt-gray-600, #64748b);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: block;
}

body .ldt-dg__result-count {
    color: var(--ldt-gray-500, #94a3b8);
    font-size: 13px;
    font-weight: 500;
}

/* Empty state — soft glass-light card */
body .ldt-dg__empty {
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.65));
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border: 1px dashed rgba(0, 53, 128, 0.20);
    border-radius: var(--ldt-radius-card, 1.25rem);
    text-align: center;
    padding: 48px 24px;
    color: var(--ldt-gray-600, #64748b);
}

body .ldt-dg__empty-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 16px;
    animation: ldt-float-icon 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-dg__empty-icon { animation: none; }
}

body .ldt-dg__empty-title {
    color: var(--ldt-dark, #1e293b);
    font-weight: 700;
    margin-bottom: 8px;
}

body .ldt-dg__empty-cta {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: var(--ldt-radius-pill, 9999px);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--ldt-shadow-accent-soft,
                0 4px 15px rgba(255, 140, 0, 0.20));
    transition:
        transform 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease);
    display: inline-block;
    margin-top: 12px;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-dg__empty-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(255, 140, 0, 0.40);
    }
}

/* No-match state — same glass-light treatment */
body .ldt-dg__no-match {
    background: rgba(0, 53, 128, 0.04);
    border: 1px dashed rgba(0, 53, 128, 0.16);
    border-radius: var(--ldt-radius-card, 1.25rem);
    text-align: center;
    padding: 32px 20px;
    color: var(--ldt-gray-600, #64748b);
}

/* Items in the grid get same treatment as deal cards */
body .ldt-dg__item {
    transition:
        transform 350ms var(--ldt-ease-portal, ease),
        box-shadow 350ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-dg__item:hover {
        transform: translateY(-6px);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 4. DEALS URGENCY STRIP
 *
 * Limited-time horizontal strip with discount pills + countdown.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-dus {
    background: linear-gradient(
        90deg,
        rgba(255, 140, 0, 0.06) 0%,
        rgba(255, 140, 0, 0.02) 50%,
        rgba(255, 140, 0, 0.06) 100%
    );
    border-top: 1px solid rgba(255, 140, 0, 0.18);
    border-bottom: 1px solid rgba(255, 140, 0, 0.18);
    position: relative;
    overflow: hidden;
}

/* Subtle accent line at top */
body .ldt-dus::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--ldt-accent, #ff8c00) 50%,
        transparent 100%
    );
    pointer-events: none;
}

/* Flame icon — bobbing pulse */
body .ldt-dus__flame {
    font-size: 2rem;
    animation: ldt-pulse-glow 1.6s ease-in-out infinite;
    will-change: transform, filter;
    display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-dus__flame { animation: none; }
}

/* Eyebrow */
body .ldt-dus__eyebrow {
    color: var(--ldt-accent, #ff8c00);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
}

/* Title — gradient fill */
body .ldt-dus__title {
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-primary, #003580);  /* fallback */
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* Pills container — flex with gap */
body .ldt-dus__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Pill — glass-light card with discount left, body right */
body .ldt-dus__pill {
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.92));
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 140, 0, 0.20);
    border-radius: var(--ldt-radius-input, 0.75rem);
    box-shadow: 0 4px 14px rgba(0, 53, 128, 0.06);
    transition:
        transform 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease),
        border-color 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-dus__pill:hover {
        transform: translateY(-3px);
        border-color: rgba(255, 140, 0, 0.45);
        box-shadow: 0 12px 28px rgba(255, 140, 0, 0.18);
    }
}

/* Per-tier color hints — high tier (40%+) gets accent gradient bg */
body .ldt-dus__pill--high {
    background: linear-gradient(
        135deg,
        rgba(255, 140, 0, 0.12) 0%,
        rgba(255, 140, 0, 0.04) 100%
    );
    border-color: rgba(255, 140, 0, 0.40);
}

body .ldt-dus__pill--mid {
    background: linear-gradient(
        135deg,
        rgba(255, 140, 0, 0.08) 0%,
        rgba(255, 140, 0, 0.02) 100%
    );
}

/* Pill link — flex layout */
body .ldt-dus__pill-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
}

/* Discount — accent gradient text */
body .ldt-dus__discount {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-accent, #ff8c00);  /* fallback */
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

body .ldt-dus__pill-title {
    color: var(--ldt-dark, #1e293b);
    font-weight: 700;
    font-size: 14px;
}

body .ldt-dus__pill-dest {
    color: var(--ldt-gray-500, #94a3b8);
    font-size: 12px;
    font-weight: 500;
}

/* Countdown badge */
body .ldt-dus__countdown {
    background: rgba(0, 53, 128, 0.06);
    border: 1px solid rgba(0, 53, 128, 0.10);
    border-radius: var(--ldt-radius-pill, 9999px);
    padding: 4px 10px;
    color: var(--ldt-primary, #003580);
    font-family: var(--ldt-font-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    margin-left: auto;
}

[dir="rtl"] body .ldt-dus__countdown,
.ldt-rtl body .ldt-dus__countdown {
    margin-left: 0;
    margin-right: auto;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 5. TESTIMONIALS CAROUSEL (full carousel section)
 * ═══════════════════════════════════════════════════════════════════════════════ */

/* Section bg already styled via E9 .ldt-section--alt; we add specific polish */

/* Testimonial card — glass-light with brand-tinted shadow */
body .ldt-testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0, 53, 128, 0.06);
    border-radius: var(--ldt-radius-card, 1.25rem);
    padding: 32px;
    box-shadow:
        0 8px 24px rgba(0, 53, 128, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.50) inset;
    position: relative;
    transition:
        transform 350ms var(--ldt-ease-portal, ease),
        box-shadow 350ms var(--ldt-ease-portal, ease);
    margin: 0;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow:
            0 16px 36px rgba(0, 53, 128, 0.12),
            0 0 0 1px rgba(255, 140, 0, 0.06);
    }
}

/* Quote icon — large accent watermark */
body .ldt-testimonial-card__quote-icon {
    color: var(--ldt-accent, #ff8c00) !important;
    opacity: 0.18 !important;
    width: 48px !important;
    height: 48px !important;
    position: absolute;
    top: 16px;
    right: 16px;
    pointer-events: none;
}

[dir="rtl"] body .ldt-testimonial-card__quote-icon,
.ldt-rtl body .ldt-testimonial-card__quote-icon {
    right: auto;
    left: 16px;
    transform: scaleX(-1);
}

/* Quote text */
body .ldt-testimonial-card__text {
    color: var(--ldt-dark, #1e293b);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Star rating — accent stars with subtle glow */
body .ldt-testimonial-card__rating {
    color: var(--ldt-accent, #ff8c00);
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* Author block */
body .ldt-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 53, 128, 0.06);
}

/* Avatar — circular with accent ring */
body .ldt-testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ldt-gradient-brand,
                linear-gradient(135deg, #003580 0%, #0057b8 100%));
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.30);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    overflow: hidden;
}

body .ldt-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body .ldt-testimonial-card__initials {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* Author meta (name + dest) */
body .ldt-testimonial-card__name {
    color: var(--ldt-dark, #1e293b);
    font-weight: 700;
    font-size: 14px;
    font-style: normal;
    display: block;
}

body .ldt-testimonial-card__dest {
    color: var(--ldt-accent, #ff8c00);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Carousel dots — gradient on active */
body .ldt-testimonial-carousel__dots > * {
    transition:
        background 250ms var(--ldt-ease-portal, ease),
        width 350ms var(--ldt-ease-portal, ease);
}

body .ldt-testimonial-carousel__dots .is-active,
body .ldt-testimonial-carousel__dots > .is-active {
    background: var(--ldt-gradient-accent,
                linear-gradient(90deg, #ff8c00, #e07a00)) !important;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.50);
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 6. TESTIMONIALS STRIP (compact aggregate + cards)
 * ═══════════════════════════════════════════════════════════════════════════════ */

/* Title — gradient fill */
body .ldt-tst__title {
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-primary, #003580);  /* fallback */
    letter-spacing: -0.01em;
}

body .ldt-tst__subtitle {
    color: var(--ldt-gray-600, #64748b);
}

/* Aggregate rating box — glass-light with brand-tinted shadow */
body .ldt-tst__aggregate {
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.92));
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 53, 128, 0.08);
    border-radius: var(--ldt-radius-input, 0.75rem);
    box-shadow: 0 6px 16px rgba(0, 53, 128, 0.08);
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Aggregate rating number — gradient text */
body .ldt-tst__agg-rating {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-accent, #ff8c00);  /* fallback */
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

body .ldt-tst__agg-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

body .ldt-tst__agg-count {
    color: var(--ldt-gray-500, #94a3b8);
    font-size: 12px;
    font-weight: 500;
}

/* Stars — accent color with subtle drop-shadow */
body .ldt-tst__stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

body .ldt-tst__star {
    color: var(--ldt-gray-300, #cbd5e1);
    font-size: 14px;
    line-height: 1;
}

body .ldt-tst__star.is-full {
    color: var(--ldt-accent, #ff8c00);
    filter: drop-shadow(0 1px 2px rgba(255, 140, 0, 0.30));
}

body .ldt-tst__star.is-half {
    background: linear-gradient(
        90deg,
        var(--ldt-accent, #ff8c00) 0%,
        var(--ldt-accent, #ff8c00) 50%,
        var(--ldt-gray-300, #cbd5e1) 50%,
        var(--ldt-gray-300, #cbd5e1) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Strip cards — compact testimonial cards in a rail or grid */
body .ldt-tst__card {
    background: #ffffff;
    border: 1px solid rgba(0, 53, 128, 0.06);
    border-radius: var(--ldt-radius-input, 0.75rem);
    padding: 18px;
    box-shadow: 0 4px 14px rgba(0, 53, 128, 0.06);
    transition:
        transform 300ms var(--ldt-ease-portal, ease),
        box-shadow 300ms var(--ldt-ease-portal, ease);
    list-style: none;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-tst__card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0, 53, 128, 0.12);
    }
}

body .ldt-tst__card-quote {
    color: var(--ldt-dark, #1e293b);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

body .ldt-tst__card-rating {
    margin-bottom: 10px;
}

/* Rail layout — horizontal scroll with marquee-friendly setup */
body .ldt-tst__rail-wrap {
    overflow: hidden;
    position: relative;
}

body .ldt-tst__rail {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Grid layout — responsive auto-fill */
body .ldt-tst__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 7. RESPONSIVE
 * ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Deal card price size scales down naturally; nothing to override */

    /* Urgency strip: pills wrap fully on mobile */
    body .ldt-dus__pill-link {
        padding: 10px 12px;
        gap: 8px;
    }

    body .ldt-dus__discount {
        font-size: 1.25rem;
    }

    /* Testimonial card: tighter padding */
    body .ldt-testimonial-card {
        padding: 24px;
    }

    body .ldt-testimonial-card__quote-icon {
        width: 36px !important;
        height: 36px !important;
    }

    /* Testimonials strip: smaller aggregate */
    body .ldt-tst__agg-rating {
        font-size: 1.625rem;
    }
}


/* ─── END OF ldt-enhanced-sections-deals.css ──────────────────────────────── */
