/* === Latest Offers Feed v1.7.1 (30.09.2026: no gradients, token type scale) === */
/* === Clean, Minimal Design - Better UX & SEO === */
/* === With navigation links to brand and category pages === */
/* v1.5.0: Migrated onto the Deal Design System — canonical --ds-* tokens (deep teal #1F7A46 on white),
          Figtree (var(--ds-font)), with literal fallbacks. Type/sale/urgency colors UNCHANGED.
          Every class name, data-* attribute and DOM node UNCHANGED (contract-preserving). */
/* === v1.4.7: WCAG focus-visible, reduced-motion, dark mode, Rule 1/3 fixes === */

/* CWV (2026-07-16, refonts): leftover Google Fonts @import removed. Figtree is now
   self-hosted site-wide by deal-design-system (css/fonts.css, priority 1) — this @import was a
   redundant render-blocking cross-origin request loading the same family (fired on HOME). */

/* v1.4.7: Rule 3 — Tailwind Preflight reset */
.lof-wrapper * { box-sizing: border-box !important; }
.lof-wrapper a { line-height: inherit !important; text-decoration: none !important; }

:root {
    /* Brand Colors — migrated to Deal Design System (v1.5.0) with literal fallbacks.
       Green = money/savings ONLY. Canonical deep teal #1F7A46 on white. */
    --lof-primary: var(--ds-money-solid, #1F7A46);
    --lof-primary-dark: var(--ds-money-ink, #1F7A46);
    --lof-primary-light: var(--ds-money-fill, #E2F1E7);
    --lof-primary-glow: rgba(46,147,88, 0.15);

    /* Type Colors — code = green family (UNCHANGED bright gradients), sale = amber (UNCHANGED) */
    --lof-code-bg: #E2F1E7;
    --lof-code-border: #C4E3D0;
    --lof-code-accent: #1F7A46;
    --lof-sale-bg: #FDF1E3;
    --lof-sale-border: #D9E0DC;
    --lof-sale-accent: #B8560B;

    /* Neutrals — canonical where shared */
    --lof-bg: var(--ds-surface, #FFFFFF);
    --lof-bg-subtle: var(--ds-surface-2, #F3F6F4);
    --lof-text-primary: var(--ds-ink, #16201B);
    --lof-text-secondary: var(--ds-muted, #56635B);
    --lof-text-muted: var(--ds-faint, #56635B);
    --lof-border: var(--ds-line, #D9E0DC);
    --lof-border-light: #E8EDEA;

    /* Effects — 27.09.2026: collapsed onto the shared 2-step elevation
       (resting / lift) instead of 4 plugin-local shadow recipes. -lg and
       -glow are kept only as names for any stray reference elsewhere; both
       now resolve to the same "lift" step, and -glow's colour tint is gone
       (reserved for one hero moment, not a routine button — see
       .lof-view-all-btn below). */
    --lof-shadow-sm: var(--ds-shadow, 0 1px 2px rgba(22,32,27,.04), 0 4px 12px rgba(22,32,27,.05));
    --lof-shadow-md: var(--ds-shadow-lift, 0 4px 16px rgba(22,32,27,.10));
    --lof-shadow-lg: var(--ds-shadow-lift, 0 4px 16px rgba(22,32,27,.10));
    --lof-shadow-glow: var(--ds-shadow-lift, 0 4px 16px rgba(22,32,27,.10));

    /* Transitions */
    --lof-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --lof-transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --lof-transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Spacing */
    --lof-gap: 16px;
    --lof-card-padding: 20px;
    --lof-radius: var(--ds-r-lg, 20px);
    --lof-radius-sm: var(--ds-r, 12px);
    --lof-radius-pill: var(--ds-r-pill, 100px);
}

/* === Main Wrapper === */
.lof-wrapper {
    font-family: var(--ds-font);
    color: var(--lof-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    margin: 2rem 0;
    position: relative;
}

/* === Header === */
.lof-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.lof-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--lof-text-primary);
    margin: 0;
    letter-spacing: -0.02em;
    white-space: nowrap; /* v1.1.9: Prevent wrapping */
}

/* v1.1.9: Smaller heading on mobile to fit one line */
@media (max-width: 400px) {
    .lof-heading {
        font-size: 18px;
    }
}

.lof-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--lof-primary-dark) !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: var(--lof-radius-pill);
    background: var(--lof-primary-light);
    transition: all var(--lof-transition-smooth);
}

.lof-view-all-link:hover {
    background: var(--lof-primary);
    color: white !important;
    transform: translateX(4px);
}

.lof-view-all-link .lof-arrow {
    transition: transform var(--lof-transition-smooth);
}

.lof-view-all-link:hover .lof-arrow {
    transform: translateX(4px);
}

/* === Filter Section - v1.1.0 Wolt-style === */
.lof-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    position: relative; /* v1.1.9: For gradient overlay positioning */
}

/* v1.3.2: Sort group — defaults (mobile) */
.lof-filter-group.lof-sort-group {
    display: flex;
    align-items: center;
}

/* Type filters: horizontal scroll on mobile */
.lof-filter-group.lof-type-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.lof-filter-group.lof-type-filters::-webkit-scrollbar {
    display: none;
}

/* v1.2.0: CSS Mask fade - works with any background color */
@media (max-width: 767px) {
    .lof-filter-group.lof-type-filters,
    .lof-filter-group.lof-category-filters {
    }
}

/* Category filters: Wrap on desktop, scroll on mobile */
.lof-filter-group.lof-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 4px;
}

/* v1.1.8: Mobile - horizontal scroll for categories (don't stack) */
@media (max-width: 767px) {
    .lof-filter-group.lof-category-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .lof-filter-group.lof-category-filters::-webkit-scrollbar {
        display: none;
    }

    /* Show all categories in scroll view (no hiding) */
    .lof-category-filters .lof-category-extra {
        display: inline-flex !important;
    }

    /* Hide "show more" button on mobile - scroll instead */
    .lof-show-more-btn {
        display: none !important;
    }

    /* Hide top "View All" link on mobile - bottom button is sufficient */
    .lof-view-all-link {
        display: none;
    }
}

/* === Filter Chip (Wolt-style) === */
/* v1.4.7: Rule 1 — inset box-shadow replaces border + border-radius; touch target 44px */
.lof-filter-chip {
    flex-shrink: 0;
    display: inline-block;
    text-align: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--lof-text-primary);
    background: var(--lof-bg);
    border: none;
    box-shadow: inset 0 0 0 1.5px var(--lof-border);
    border-radius: var(--lof-radius-pill);
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.4;
    min-height: 44px;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.lof-filter-chip:hover {
    box-shadow: inset 0 0 0 1.5px var(--lof-primary);
    color: var(--lof-primary-dark);
    background: var(--lof-primary-light);
}

.lof-filter-chip.active {
    background: var(--lof-primary);
    color: white;
    box-shadow: inset 0 0 0 1.5px var(--lof-primary);
    font-weight: 600;
}

.lof-filter-chip.active:hover {
    background: var(--lof-primary-dark);
    box-shadow: inset 0 0 0 1.5px var(--lof-primary-dark);
    color: white;
}

.lof-chip-icon {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.lof-chip-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 3px 8px;
    border-radius: var(--lof-radius-pill);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.lof-filter-chip:not(.active) .lof-chip-count {
    background: var(--lof-border-light);
    color: var(--lof-text-muted);
}

/* === Show More Button (v1.1.0) === */
/* v1.4.7: Rule 1 — inset box-shadow; touch target 44px */
.lof-show-more-btn {
    display: inline-block;
    text-align: center;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--lof-primary-dark);
    background: var(--lof-primary-light);
    border: none;
    box-shadow: inset 0 0 0 1.5px var(--lof-primary);
    border-radius: var(--lof-radius-pill);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    min-height: 44px;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.lof-show-more-btn:hover {
    background: var(--lof-primary);
    color: white;
}

/* Hide on desktop - all categories visible */
@media (min-width: 768px) {
    .lof-show-more-btn {
        display: none;
    }
}

/* === Cards Container === */
.lof-cards-container {
    position: relative;
    overflow: visible;
}

/* Mobile: Horizontal Scroll */
.lof-cards {
    display: flex;
    gap: var(--lof-gap);
    overflow-x: auto;
    overflow-y: visible;
    padding: 8px 1rem 24px 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lof-cards::-webkit-scrollbar {
    display: none;
}

/* === Card Base - Clean === */
/* v1.4.7: Rule 1 — inset box-shadow replaces border */
.lof-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
    min-height: 220px;
    background: var(--lof-bg);
    border-radius: var(--lof-radius);
    padding: var(--lof-card-padding);
    border: none;
    box-shadow: inset 0 0 0 1.5px var(--lof-border), var(--lof-shadow-sm);
    transition: box-shadow 0.15s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* v1.2.2: Mobile Responsiveness & Overflow Protection */
@media (max-width: 767px) {
    /* Wider cards to prevent code truncation */
    .lof-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }

    /* RULE 1: Smart Wrapping - Allow content (not data) to wrap */
    /* Chips/badges can wrap, but codes/buttons stay nowrap */
    .lof-tagline {
        white-space: normal;
        -webkit-line-clamp: 3; /* Allow 3 lines on mobile */
    }

    /* RULE 2: Fluid Height - Remove artificial min-heights */
    .lof-headline {
        min-height: auto; /* Remove desktop alignment constraint */
    }

    .lof-tagline {
        min-height: auto; /* Remove desktop alignment constraint */
    }
}

.lof-card:hover {
    box-shadow: inset 0 0 0 1.5px var(--lof-primary), var(--lof-shadow-md);
}

/* Type-specific card styling — v1.4.7: dashed via SVG background instead of border (Rule 1) */
.lof-card.lof-type-code {
    box-shadow: inset 0 0 0 1.5px var(--lof-code-accent), var(--lof-shadow-sm);
}

/* Hidden cards (filtered out) */
.lof-card.lof-hidden {
    display: none;
}

/* === Card Type Indicator - v1.1.1 Minimal === */
.lof-card-type {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.lof-type-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lof-type-dot.lof-type-code {
    background: var(--lof-code-accent);
}

.lof-type-dot.lof-type-sale {
    background: var(--lof-sale-accent);
}

.lof-type-label {
    /* v1.4.4: Hidden - adds clutter, zero unique value. Dot alone is sufficient. */
    display: none;
}

/* === Brand Name - Primary Focus with Link === */
.lof-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--lof-text-primary);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.lof-brand-link {
    color: var(--lof-text-primary) !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.lof-brand-link:hover {
    color: var(--lof-primary-dark) !important;
}

/* === v1.3.1: Content block absorbs whitespace above chips === */
.lof-content-block {
    flex-grow: 1;
}

/* === v1.3.1: Action footer — anchored to bottom === */
.lof-action-footer {
    margin-top: auto;
}

/* === Action Area Wrapper === */
.lof-action-area {
    /* v1.3.1: Padding removed — parent .lof-action-footer handles anchoring */
}

/* === Code Display - v1.1.6 Beefed up for visual weight === */
.lof-code-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    /* 29.09.2026: calm style, neutral surface, no gradient/dashed border */
    background: var(--ds-neutral-surface, #F3F6F4);
    border: none;
    border-radius: var(--lof-radius-sm);
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: none;
}

.lof-code-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--ds-ink, #16201B);
    font-family: var(--ds-font);
    letter-spacing: 1px;
    white-space: nowrap;      /* v1.1.7: Prevent code from wrapping */
    overflow: hidden;         /* Safety net */
    text-overflow: ellipsis;  /* Add '...' if truly too long */
    flex: 1;
    min-width: 0;
    max-width: 100%;
    text-shadow: none;
}

/* Copy Button - v1.4.4 Orange to match sale button visual weight */
.lof-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: var(--ds-cta-bg, #1F7A46);
    color: var(--ds-cta-text, #FFFFFF);
    border: none;
    border-radius: var(--lof-radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
    box-shadow: none;
}

.lof-copy-btn:hover {
    background: var(--ds-cta-bg-hover, #17643A);
    transform: none;
    box-shadow: none;
}

.lof-copy-btn:active {
    transform: scale(0.97);
}

.lof-copy-btn.copied {
    background: var(--ds-cta-bg-hover, #17643A);
    box-shadow: none;
}

/* === Sale Action Button (v1.1.5) === */
.lof-sale-action {
    margin: 10px 0;
}

.lof-sale-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    background: var(--ds-cta-bg, #1F7A46);
    color: white !important;
    border: none;
    border-radius: var(--lof-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.lof-sale-btn:hover {
    background: var(--ds-cta-bg-hover, #17643A);
    transform: translateY(var(--ds-hover-lift, -2px));
    color: white !important;
}

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

.lof-btn-arrow {
    transition: transform 0.15s ease;
}

.lof-sale-btn:hover .lof-btn-arrow {
    transform: translateX(3px);
}

/* === Headline === */
.lof-headline {
    font-size: 15px;
    font-weight: 600;
    color: var(--lof-text-primary);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em; /* v1.2.1: ELASTIC CORE - 2 lines minimum */
}

/* === Tagline === */
.lof-tagline {
    font-size: 13px;
    color: var(--lof-text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em; /* v1.2.1: ELASTIC CORE - 2 lines minimum */
}

/* === Card Footer - With Category Link === */
.lof-card-footer {
    /* v1.3.1: margin-top:auto moved to parent .lof-action-footer */
    padding-top: 10px;
    border-top: 1px solid var(--lof-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.lof-category-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--lof-text-muted) !important;
    text-decoration: none !important;
    padding: 3px 8px;
    background: var(--lof-bg-subtle);
    border-radius: var(--lof-radius-pill);
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.lof-category-link:hover {
    background: var(--lof-primary-light);
    color: var(--lof-primary-dark) !important;
}

.lof-expiry {
    font-size: 13px;
    font-weight: 600;
    color: var(--lof-text-muted);
    white-space: nowrap;
}

/* === View All Mobile === */
.lof-view-all-mobile {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

/* 27.09.2026: was a diagonal gradient + a colour-tinted glow shadow on a
   routine "view all" pill — flattened to the shared solid CTA colour and
   the shared elevation shadow (gradients/glows are reserved for at most
   one hero moment per page; a "view all" link isn't one). Hover lift also
   moved onto the single shared --ds-hover-lift value. */
.lof-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
    background: var(--ds-cta-bg, var(--lof-primary));
    color: white !important;
    border-radius: var(--lof-radius-pill);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: all var(--lof-transition-smooth);
    box-shadow: var(--ds-shadow, var(--lof-shadow-sm));
}

.lof-view-all-btn:hover {
    background: var(--ds-cta-bg-hover, var(--lof-primary-dark));
    transform: translateY(var(--ds-hover-lift, -2px));
    box-shadow: var(--ds-shadow-lift, var(--lof-shadow-md));
    color: white !important;
}

.lof-view-all-btn .lof-arrow {
    transition: transform var(--lof-transition-smooth);
}

.lof-view-all-btn:hover .lof-arrow {
    transform: translateX(6px);
}

/* === Empty State === */
.lof-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--lof-text-secondary);
    font-size: 15px;
}

/* === Empty Filter State (v1.1.0) === */
.lof-empty-filter {
    text-align: center;
    padding: 2rem;
    color: var(--lof-text-muted);
    font-size: 15px;
    grid-column: 1 / -1;
}

/* === Desktop Responsive === */
@media (min-width: 768px) {
    .lof-wrapper {
        margin: 3rem 0;
    }
    
    .lof-header {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .lof-heading {
        font-size: 24px;
    }
    
    .lof-filters {
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        align-items: flex-start;
    }
    
    .lof-filter-group.lof-type-filters {
        overflow-x: visible;
        flex-shrink: 0;
    }
    
    .lof-filter-group.lof-category-filters {
        flex: 1;
        min-width: 0;
    }

    /* v1.3.2: Sort group pushed to right on desktop */
    .lof-filter-group.lof-sort-group {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .lof-cards {
        /* Grid layout on desktop */
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        overflow-x: visible;
        padding: 8px 0 24px 0;
    }
    
    .lof-card {
        flex: none;
        min-width: unset;
        max-width: unset;
    }
    
    .lof-view-all-mobile {
        display: none;
    }
}

/* Large Desktop — v1.4.8: lowered from 1200px to 1024px for narrower themes */
@media (min-width: 1024px) {
    .lof-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === Animations === */
@keyframes lof-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lof-card {
    animation: lof-fadeIn 0.3s ease-out;
}

/* Filter transition - simple opacity */
.lof-card.lof-filtering {
    transition: opacity 0.2s ease;
}

/* === Scroll Indicators (Mobile) === */
@media (max-width: 767px) {
    .lof-cards-container::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 24px;
        width: 40px;
        background: none;
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.3s ease;
    }
    
    .lof-cards-container.scrolled-end::after {
        opacity: 0;
    }
}

/* === Link Resets === */
.lof-wrapper a,
.lof-wrapper a:link,
.lof-wrapper a:visited,
.lof-wrapper a:hover,
.lof-wrapper a:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* === Button Resets === */
.lof-wrapper button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.lof-filter-chip,
.lof-show-more-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* v1.4.7: WCAG 2.4.7 — :focus-visible on all interactive elements */
.lof-filter-chip:focus-visible,
.lof-show-more-btn:focus-visible,
.lof-copy-btn:focus-visible,
.lof-sale-btn:focus-visible,
.lof-view-all-link:focus-visible,
.lof-view-all-btn:focus-visible,
.lof-brand-link:focus-visible,
.lof-category-link:focus-visible {
    outline: 2px solid var(--lof-primary);
    outline-offset: 2px;
}

/* === Toast Notification === */
.lof-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 20px rgba(22,32,27, 0.15);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--ds-font);
}

.lof-toast.lof-toast-success {
    background: #1F7A46;
}

.lof-toast.lof-toast-error {
    background: #B8560B;
}

.lof-toast.lof-toast-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* === v1.4.7: Reduced Motion (WCAG) === */
@media (prefers-reduced-motion: reduce) {
    .lof-card,
    .lof-filter-chip,
    .lof-show-more-btn,
    .lof-copy-btn,
    .lof-sale-btn,
    .lof-view-all-link,
    .lof-view-all-btn,
    .lof-toast,
    .lof-brand-link,
    .lof-card.lof-filtering {
        animation: none !important;
        transition: none !important;
    }
}

/* === v1.4.7: Dark Mode === */

/* ==========================================================================
   v1.6.0 (29.09.2026, sweep C #5): calm card skin, matches deal-homepage cards.
   Neutral 1px border, no coloured accent, no gradient/orange button, headlines
   wrap (up to 3 lines) instead of being cut short. Placed last so it wins.
   ========================================================================== */
.lof-card,
.lof-card.lof-type-code {
    min-height: 0;
    border-radius: var(--ds-r-md, 12px);
    box-shadow: inset 0 0 0 1px var(--ds-line, #D9E0DC);
}
.lof-card:hover,
.lof-card.lof-type-code:hover {
    box-shadow: inset 0 0 0 1px var(--ds-muted, #56635B);
}
.lof-brand {
    font-size: 15px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}
.lof-headline,
.lof-tagline {
    -webkit-line-clamp: 3;
    min-height: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}
.lof-sale-btn,
.lof-sale-btn:hover {
    background: var(--ds-cta-bg, #1F7A46);
    box-shadow: none;
    transform: none;
    color: #FFFFFF !important;
}
.lof-sale-btn:hover { background: var(--ds-cta-bg-hover, #17643A); }
.lof-code-display { background: var(--ds-neutral-surface, #F3F6F4); border: none; }
.lof-code-text { color: var(--ds-muted, #56635B); }
.lof-expiry, .lof-category-link { font-size: 13px; }
.lof-view-all-link {
    background: transparent;
    padding: 6px 0;
    color: var(--ds-money-ink, #1F7A46) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.lof-view-all-link:hover { background: transparent; transform: none; color: var(--ds-money-ink, #1F7A46) !important; }
.lof-view-all-btn, .lof-view-all-btn:hover { box-shadow: none; transform: none; }
.lof-copy-btn:hover, .lof-copy-btn.copied { box-shadow: none; transform: none; }
.bhi-chip--discount { background: var(--ds-neutral-surface, #F3F6F4); color: var(--ds-ink, #16201B); }
