/*
 * overrides.css — rules that override component CSS.
 *
 * Loaded after block CSS, so it wins at equal specificity. Values belong in tokens.css;
 * this file is for rules that genuinely compete on selectors.
 *
 * Fatetedentare is a DARK site on a light-first theme. Two kinds of rule follow:
 *   1. the appearance engine re-pointed at dark surfaces (the theme resets every
 *      appearance to its light ink, which undoes :root);
 *   2. the places where the theme uses --lvd-color-white as a surface or
 *      --lvd-color-black as ink outside the engine.
 * Reasoning and the contrast table: _MD-REPOSITORY/lvd-site-fatetedentare/IDENTITATE.md.
 */

/* ── Typography ─────────────────────────────────────────────────────────────────────────
 * After apple.com: one family (SF Pro / Inter), headings semibold and slightly tight, body
 * regular with a little negative tracking, nothing uppercase. Selected by design ROLE, never
 * by tag: the SEO tag is an ACF field decoupled from the visual role. */
.lvd-title,
.lvd-section-title,
.lvd-blog-single-title,
.lvd-blog-listing-title,
.lvd-blog-related-title,
.lvd-post-nav-title,
.lvd-archive-group-title,
.lvd-job-title,
.lvd-jobs-archive-title,
.lvd-team-archive-title,
.lvd-profile-posts-title,
.lvd-content :is(h1, h2, h3, h4, h5, h6),
.lvd-blog-single-body :is(h1, h2, h3, h4, h5, h6) {
    /* Sora for headings only: the theme's secondary font also sets the breadcrumbs. */
    font-family: var(--fd-display-font);
    /* Sora is drawn heavier than SF/Inter: 600 matches their 700. */
    font-weight: 600;
    letter-spacing: -0.02em;
    /* The comma below Ș/Ț collides with the circumflex of Î on the next line under ~1.15. */
    line-height: 1.15;
}

/* Display sizes a touch tighter, as Apple's headlines. */
:is(.lvd-title, .lvd-section-title):is(.lvd-text-d1, .lvd-text-d2, .lvd-text-d3, .lvd-text-h1, .lvd-text-h2) {
    letter-spacing: -0.03em;
}

/* Greyscale smoothing, as apple.com: macOS renders light-on-dark text with subpixel
 * smoothing by default, which thickens every weight and blurs the edges. */
body {
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lvd-keyword {
    font-weight: 600;
}

/* ── Header ── Desktop keeps the theme's `lg` preset (40px in the 64px bar). On mobile the
 * theme compacts every logo to 28px; the stacked lockup needs 30px for its second line.
 * Menu labels regular, not bold: bold reads loud at this size. */
@media (max-width: 1024px) {
    body.lvd-header-logo-size-lg {
        --lvd-header-logo-h: 30px;
    }
}
.lvd-header-menu > ul > li,
.lvd-header-menu > ul > li > a {
    font-weight: 400;
}

/* Desktop menu: smaller and grey, white on hover, as Apple's nav. A solid grey rather than
 * opacity: opacity would also fade the chevrons and the open dropdown, and land on a
 * different shade over each surface. Desktop only — the mobile sheet has its own ink. */
@media (min-width: 1025px) {
    .lvd-header-menu {
        --lvd-cc-text:       #A1A1A6; /* 6.48 on the header surface */
        --lvd-cc-link-hover: var(--lvd-color-white);
    }
    .lvd-header-menu > ul > li {
        font-size: 14px; /* theme: 16px */
    }
}

/* Mobile menu, open: a white sheet with black ink — the bar too, since it holds the close
 * control. The theme's rule and chip tokens are white "to be invisible", which on this dark
 * site drew lines and a disc; they go transparent. The outlined CTA moves into the panel. */
@media (max-width: 1024px) {
    .lvd-header {
        transition: background-color 0.3s ease;
    }
    /* Three classes: must beat the appearance blocks further down, which sit at two. */
    .lvd-header.lvd-style-surface-apply.is-menu-open {
        --lvd-cc-surface:         #FFFFFF;
        --lvd-cc-title:           #111111;
        --lvd-cc-text:            #111111;
        --lvd-cc-link-hover:      #111111;
        --lvd-cc-button-o-border: #111111;
        --lvd-cc-button-o-text:   #111111;
        --lvd-cc-button-t-text:   #111111;
        --lvd-header-rule:        transparent;
        --lvd-header-chip:        transparent;
    }
}

/* Links follow the semantic token instead of the raw brand colour (4.15 on the page). */
a {
    color: var(--lvd-cc-link);
}

/* ── Appearances ────────────────────────────────────────────────────────────────────────
 * Editor labels are renamed to match (appearance-labels.php):
 *   transparent → the page · white → a real WHITE card, light ink (Material: a light
 *   surface used sparingly in a dark theme) · light → the dark card (1dp)
 *   sl / ss / sd → greys · pl / ps / pd → red tints · accent → brand red · dark → black.
 *
 * The dark-ink set below covers transparent, light, pl, ps, sl, ss. Their surfaces come from
 * the colour tokens, except light. pd, sd, accent and dark already carry white ink in the
 * theme; they only need the fixes further down. :root repeats the set for content outside
 * any appearance. White has its own light set, after this one. */
:root,
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-transparent, .lvd-style-light, .lvd-style-pl, .lvd-style-ps, .lvd-style-sl, .lvd-style-ss) {
    --lvd-cc-breadcrumbs-link:    var(--lvd-color-tertiary);
    --lvd-cc-section-title:       var(--lvd-color-white);
    --lvd-cc-keyword:             var(--lvd-color-tertiary);
    --lvd-cc-title:               var(--lvd-color-white);
    --lvd-cc-text:                var(--lvd-color-text);
    --lvd-cc-close:               var(--lvd-color-white);
    --lvd-cc-link:                var(--lvd-color-tertiary);
    --lvd-cc-link-hover:          var(--lvd-color-white);
    --lvd-cc-list-icon:           var(--lvd-color-primary);
    --lvd-cc-list-icon-on:        var(--lvd-color-primary-on);
    --lvd-cc-button-border:       var(--lvd-color-primary);
    --lvd-cc-button-bg:           var(--lvd-color-primary);
    --lvd-cc-button-text:         var(--lvd-color-primary-on);
    --lvd-cc-button-s-border:     var(--lvd-color-secondary);
    --lvd-cc-button-s-bg:         var(--lvd-color-secondary);
    --lvd-cc-button-s-text:       var(--lvd-color-secondary-on);
    --lvd-cc-button-o-border:     var(--lvd-color-text);
    --lvd-cc-button-o-text:       var(--lvd-color-text);
    --lvd-cc-button-t-text:       var(--lvd-color-text);
    --lvd-cc-badge-bg:            var(--lvd-color-black); /* black badge, white ink: 21:1 */
    --lvd-cc-badge-text:          var(--lvd-color-white);
    --lvd-cc-button-nudge-text:   var(--lvd-color-gray-400);
    /* Red icons are graphics (3:1): 3.40 on light, 3.49 on ps; sl and ss are the exception. */
    --lvd-cc-icon-primary:        var(--lvd-color-primary);
    --lvd-cc-icon-secondary:      var(--lvd-color-secondary);
    --lvd-cc-icon-tertiary:       var(--lvd-color-tertiary);
    /* Chips translucent, as Material's "primary 24%" container: they tint any surface. */
    --lvd-cc-icon-chip-primary:   rgba(225, 15, 15, 0.24);
    --lvd-cc-icon-chip-secondary: rgba(255, 255, 255, 0.12);
    --lvd-cc-positive:            #81C995; /* 6.45 on the lightest grey */
    --lvd-cc-negative:            var(--lvd-color-error); /* 5.29 */
    --lvd-cc-card-border:         rgba(255, 255, 255, 0.16);
    --lvd-cc-tag-bg:              rgba(255, 255, 255, 0.08);
    --lvd-cc-tag-text:            var(--lvd-color-tertiary);
    --lvd-cc-tag-border:          var(--lvd-color-tertiary);
    --lvd-cc-tabs-bg:             rgba(255, 255, 255, 0.08);
    --lvd-cc-tabs-border:         rgba(255, 255, 255, 0.16);
    --lvd-cc-tab-text:            var(--lvd-color-text);
    --lvd-cc-tab-text-active:     var(--lvd-color-white);
    --lvd-cc-tab-active-bg:       rgba(255, 255, 255, 0.16);
    --lvd-cc-tab-indicator:       var(--lvd-color-primary);
    --lvd-cc-field-bg:            rgba(255, 255, 255, 0.05);
    --lvd-cc-field-border:        rgba(255, 255, 255, 0.24);
    --lvd-cc-field-hover:         rgba(255, 255, 255, 0.08);
    --lvd-cc-field-menu-bg:       #2E2E2E; /* Material 8dp; must be solid */
    /* The theme deepens the gold toward black on pl/ps/sl/ss — on dark tints that vanishes.
       Bright gold: 10.18 on the page, 5.46 on the lightest grey. */
    --lvd-cc-rating:              var(--lvd-color-rating);
}

/* Light is the dark card: Material 1dp. */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-light {
    --lvd-cc-surface: var(--lvd-color-gray-100);
}

/* White is white: the product's light ink, with the brand red where the dark site uses pink
 * (pink on white is 2.2). Ratios against white. */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-white {
    --lvd-cc-surface:             #FFFFFF;
    --lvd-cc-breadcrumbs-link:    var(--lvd-color-primary); /* brand red: 4.91 on white */
    --lvd-cc-section-title:       var(--lvd-color-black);
    --lvd-cc-keyword:             var(--lvd-color-primary);
    --lvd-cc-title:               var(--lvd-color-black);
    --lvd-cc-text:                #404040; /* 10.37 */
    --lvd-cc-close:               var(--lvd-color-black);
    --lvd-cc-link:                var(--lvd-color-primary);
    --lvd-cc-link-hover:          var(--lvd-color-black);
    --lvd-cc-list-icon:           var(--lvd-color-primary); /* 4.91 */
    --lvd-cc-list-icon-on:        var(--lvd-color-primary-on);
    --lvd-cc-button-border:       var(--lvd-color-primary);
    --lvd-cc-button-bg:           var(--lvd-color-primary);
    --lvd-cc-button-text:         var(--lvd-color-primary-on);
    /* The site's secondary is a light fill, invisible here: ink instead. */
    --lvd-cc-button-s-border:     #111111;
    --lvd-cc-button-s-bg:         #111111;
    --lvd-cc-button-s-text:       #FFFFFF; /* 18.88 */
    --lvd-cc-button-o-border:     #111111;
    --lvd-cc-button-o-text:       #111111;
    --lvd-cc-button-t-text:       #111111;
    --lvd-cc-badge-bg:            var(--lvd-color-black);
    --lvd-cc-badge-text:          var(--lvd-color-white); /* 21:1 */
    --lvd-cc-button-nudge-text:   #616161; /* 6.19 */
    --lvd-cc-icon-primary:        var(--lvd-color-primary);
    --lvd-cc-icon-secondary:      #111111;
    --lvd-cc-icon-tertiary:       var(--lvd-color-primary);
    --lvd-cc-icon-chip-primary:   rgba(225, 15, 15, 0.12);
    --lvd-cc-icon-chip-secondary: rgba(0, 0, 0, 0.06);
    --lvd-cc-positive:            #2E7D32; /* 5.13 */
    --lvd-cc-negative:            #C62828; /* 5.62 */
    --lvd-cc-card-border:         rgba(0, 0, 0, 0.12);
    --lvd-cc-tag-bg:              rgba(0, 0, 0, 0.05);
    --lvd-cc-tag-text:            var(--lvd-color-primary);
    --lvd-cc-tag-border:          var(--lvd-color-primary);
    --lvd-cc-tabs-bg:             rgba(0, 0, 0, 0.07);
    --lvd-cc-tabs-border:         rgba(0, 0, 0, 0.12);
    --lvd-cc-tab-text:            #404040;
    --lvd-cc-tab-text-active:     var(--lvd-color-black);
    --lvd-cc-tab-active-bg:       #FFFFFF;
    --lvd-cc-tab-indicator:       var(--lvd-color-primary);
    --lvd-cc-field-bg:            #FFFFFF;
    --lvd-cc-field-border:        rgba(0, 0, 0, 0.2);
    --lvd-cc-field-hover:         rgba(0, 0, 0, 0.05);
    --lvd-cc-field-menu-bg:       #FFFFFF;
    --lvd-cc-rating:              var(--lvd-color-rating-dark); /* 4.87 */
}

/* Red icons fall to 2.84 on the 6dp grey and 2.57 on 12dp; the text red gives 6.23 / 5.64. */
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-sl, .lvd-style-ss) {
    --lvd-cc-icon-primary: var(--lvd-color-tertiary);
}

/* On the dark appearances the theme hovers links to gray-300, which the inverted greys make
 * a dark border colour. */
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-pd, .lvd-style-sd, .lvd-style-dark) {
    --lvd-cc-link-hover:        #BDBDBD; /* 5.35 on sd, the lightest of them */
    --lvd-cc-button-nudge-text: #BDBDBD;
}

/* On the red accent the theme links in primary-soft, here a dark tint. White, underlined by
 * the theme, gives 4.91. */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-accent {
    --lvd-cc-link:       var(--lvd-color-white);
    --lvd-cc-link-hover: var(--lvd-color-white);
}

/* On black the theme inverts the primary button to white; here it stays the brand red (4.91 white on it). */
:is(.lvd-style-apply, .lvd-style-surface-apply).lvd-style-dark {
    --lvd-cc-button-border: var(--lvd-color-primary);
    --lvd-cc-button-bg:     var(--lvd-color-primary);
    --lvd-cc-button-text:   var(--lvd-color-primary-on);
}

/* ── Badge ── Black with white ink on every appearance (the theme gives pd/sd/accent/dark
 * their own). No outline: on the black page and card it rests on the theme's shadow alone. */
:is(.lvd-style-apply, .lvd-style-surface-apply):is(.lvd-style-pd, .lvd-style-sd, .lvd-style-accent, .lvd-style-dark) {
    --lvd-cc-badge-bg:   var(--lvd-color-black);
    --lvd-cc-badge-text: var(--lvd-color-white);
}

/* ── Theme surfaces outside the engine ──────────────────────────────────────────────────
 * --lvd-color-white used as a card or panel background → Material 1dp. */
.lvd-share-menu,
.lvd-blog-nav .current-cat > a,
.lvd-blog-comments li.depth-2,
.lvd-job-hero .lvd-container,
.lvd-job-apply,
.lvd-job-card,
.lvd-team-archive .lvd-card,
.lvd-fab-bg-solid {
    background-color: var(--lvd-color-gray-100);
}

/* Team profile hero: the site's black card, as the homepage hero. Breadcrumbs without the
 * pink, which read as a second accent there: links white, the separators and the current page
 * in the muted grey (7.6 on black), so the links still read as links. Underline on hover. */
.lvd-profile-hero .lvd-container {
    background-color: #000;
    --lvd-cc-breadcrumbs-link: var(--lvd-color-white);
}
.lvd-profile-hero .lvd-breadcrumbs {
    color: #A1A1A6;
}
.lvd-profile-hero .lvd-breadcrumbs a:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Footer credit: white, never the pink link colour. Only the columns footer colours it in the
 * theme; the compact one leaves it to the generic `a` rule above. Hover in the muted grey,
 * underlined, so it still reads as a link. */
html .lvd-footer-credit a {
    color: var(--lvd-color-white);
}
html .lvd-footer-credit a:is(:hover, :focus-visible) {
    color: #A1A1A6;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Locations archive: the theme writes lvd-style-white into the card template, with no setting.
 * Back to the site's black card (as Grid Cards): the dark ink over the white set above. The
 * extra html level outranks it whatever the load order. */
html .lvd-location-card.lvd-style-white {
    --lvd-cc-surface:         #000000;
    --lvd-cc-title:           var(--lvd-color-white);
    --lvd-cc-text:            #A1A1A6; /* 8.16 on black */
    --lvd-cc-keyword:         var(--lvd-color-tertiary);
    --lvd-cc-link:            var(--lvd-color-tertiary);
    --lvd-cc-link-hover:      var(--lvd-color-white);
    --lvd-cc-button-o-border: var(--lvd-color-text);
    --lvd-cc-button-o-text:   var(--lvd-color-text);
    --lvd-cc-button-t-text:   var(--lvd-color-text);
    --lvd-cc-icon-primary:    var(--lvd-color-primary);
    --lvd-cc-icon-tertiary:   var(--lvd-color-tertiary);
    --lvd-cc-card-border:     rgba(255, 255, 255, 0.16);
    --lvd-cc-tag-bg:          rgba(255, 255, 255, 0.08);
    --lvd-cc-tag-text:        var(--lvd-color-tertiary);
    background-color: #000;
}

/* Modal surfaces: the block sheets paint them white and load after this file, so the plain
 * selectors in the list above lost and the modal stayed white under the white close control.
 * One level more specific wins at any load order. */
.lvd-cm-imodal .lvd-modal-dialog .lvd-modal-content {
    background-color: var(--lvd-color-gray-100);
}
@media (min-width: 768px) { /* on mobile the video modal is already black, edge to edge */
    .lvd-cm-video-modal .lvd-cm-video-modal-content {
        background-color: var(--lvd-color-gray-100);
    }
}

/* --lvd-color-black used as ink → white. */
.lvd-blog-comments .comments-title,
.lvd-blog-comments .comment-reply-title,
.lvd-blog-single-title,
.lvd-blog-related-title,
.lvd-blog-listing-title,
.lvd-blog-single-body h6,
.lvd-blog-single-body th,
.lvd-jobs-archive-title,
.lvd-job-card .lvd-title,
.lvd-team-archive-title,
.lvd-team-archive .lvd-title,
.lvd-profile-posts-title,
.lvd-profile-posts .lvd-title,
.lvd-archive-group-title,
.lvd-table th {
    color: var(--lvd-color-white);
}
.lvd-blog-comments .comment-reply-title a {
    color: var(--lvd-color-white);
    border-color: var(--lvd-color-white);
}

/* Native form fields: black text and border by default. */
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    color: var(--lvd-cc-text);
    border-color: var(--lvd-cc-field-border);
    background-color: var(--lvd-cc-field-bg);
}
.lvd-header-search .lvd-search-input:focus-visible {
    background-color: var(--lvd-color-gray-100);
}

/* Swiper chevrons are black by design ("neutral"); on a dark page neutral is white. */
:root {
    --lvd-swiper-navigation-color: var(--lvd-color-white);
}

/* ── Flat corners ───────────────────────────────────────────────────────────────────────
 * The --lvd-rounded* tokens are 0 (tokens.css); these are the radii the theme writes as
 * literals. True circles stay round — avatars, pagination dots, play buttons, FAB icons are
 * shapes, not corners. */
.lvd-button-primary, .lvd-button-primary-small,
.lvd-button-secondary, .lvd-button-secondary-small,
.lvd-button-outlined, .lvd-button-outlined-small,
.lvd-button-text, .lvd-button-text-small,
input:not([type="checkbox"]):not([type="radio"]), select, textarea,
.lvd-badge,
.lvd-tag,
.lvd-video-cta span,
.lvd-header-language-list,
.lvd-header-search .lvd-search-input,
.lvd-header-menu > ul > li > .sub-menu,
.lvd-post-tag,
.lvd-share-button, .lvd-share-toggle, .lvd-share-copy,
.lvd-copy-email,
.lvd-blog-nav, .lvd-blog-nav a,
.lvd-blog-comments li,
.lvd-blog-comments .comment-reply-title a,
.lvd-blog-comments .comment-form input[type=submit],
.lvd-facet-trigger, .lvd-facet-switch::before, .lvd-facet-text-input, .lvd-facet-options,
.lvd-facet-chip, .lvd-facets-open,
.lvd-facets-toggle:checked ~ .lvd-facets-panel,
.lvd-cm-facet-filter .lvd-facet-text-input,
.lvd-cm-itabs.lvd-tabs-pill .lvd-itabs-nav,
.lvd-cm-itabs.lvd-tabs-pill .lvd-itab-btn,
.lvd-cm-itabs.lvd-tabs-pill .lvd-itabs-indicator,
.lvd-cm-itabs.lvd-tabs-underline .lvd-itabs-indicator,
.lvd-cm-video-card-bg .lvd-play-pill,
.lvd-hero-cards-swiper .lvd-hcs-preview-count,
.lvd-cm-before-after .lvd-ba-label,
.lvd-fab, .lvd-fab-labels-always, .lvd-fab-labels-always .lvd-fab-btn:not(.lvd-fab-btn-more),
.lvd-fab-labels-hover .lvd-fab-label,
.lvd-fab-sheet, .lvd-fab-row, .lvd-fab-cta-pill {
    border-radius: 0;
}
.lvd-cm-before-after {
    --lvd-ba-pip-radius: 0;
}
/* Gravity Forms (Orbital): the theme's bridge sets the radii as variables (8px fields, 25px
 * buttons); GF's own rules outrank a plain border-radius, so the variables are set instead.
 * One level above the bridge's two classes. Radio buttons stay round (GF draws them at 50%). */
html .gform_wrapper.gform-theme--framework {
    --gf-radius: 0;
    --gf-ctrl-radius: 0;
    --gf-ctrl-btn-radius: 0;
    --gf-ctrl-select-dropdown-radius: 0;
    --gf-ctrl-checkbox-check-radius: 0;
}

/* LVD Configurator — the plugin is white label (white cards, black buttons). Here it takes the
 * site's dark set: black cards like lvd-style-dark, the brand red for actions and the selected
 * state, flat corners. Only its own tokens are set, so the plugin's rules stay untouched.
 * The plugin's sheet loads after this file, hence the extra html level. */
html .lvd-cfg,
html .lvd-cfg-sheet {
    --lvd-cfg-ink: var(--lvd-color-primary, #E10F0F); /* white on it 4.91 */
    --lvd-cfg-on-ink: #fff;
    --lvd-cfg-text: #fff;
    --lvd-cfg-muted: #A1A1A6; /* 8.16 on the black cards, 7.4 on the #111 page */
    --lvd-cfg-line: #2A2A2A;
    --lvd-cfg-line-strong: #6E6E73;
    --lvd-cfg-soft: #1E1E1E;
    --lvd-cfg-track: #3A3A3A;
    --lvd-cfg-surface: #000;
    --lvd-cfg-radius: 0;
}
html .lvd-cfg .lvd-cfg-btn-primary:hover,
html .lvd-cfg-sheet .lvd-cfg-btn-primary:hover {
    background: #B80C0C; /* the theme's darker red, instead of the plugin's #333 */
}
/* The configurator's own radii (not tokenised): flat, like the rest of the site. */
html .lvd-cfg :is(.lvd-cfg-notice, .lvd-cfg-progress-track, .lvd-cfg-chip, .lvd-cfg-stepper, .lvd-cfg-summary,
    .lvd-cfg-btn, .lvd-cfg-estimate-total, .lvd-cfg-gate, .lvd-cfg-field input, .lvd-cfg-field textarea, .lvd-cfg-gate-error, .lvd-cfg-badge, .lvd-cfg-cost-next,
    .lvd-cfg-next, .lvd-cfg-next-head:focus-visible),
html .lvd-cfg-sheet,
html .lvd-cfg-sheet :is(.lvd-cfg-badge, .lvd-cfg-cost-next, .lvd-cfg-btn) {
    border-radius: 0;
}
/* Mobile bottom bar: the plugin's frosted white would hide the white total. Frosted page black. */
html .lvd-cfg .lvd-cfg-bar {
    background: rgba(17, 17, 17, 0.9);
}
/* Card badges ("Preț de pachet", "Pachet recomandat"): the ps pair, like the tags on the homepage
 * Grid Cards — dark-red chip, pink ink (7.66). */
html .lvd-cfg .lvd-cfg-badge,
html .lvd-cfg-sheet .lvd-cfg-badge {
    background: var(--lvd-color-primary-soft);
    color: var(--lvd-color-primary-soft-on);
}
/* Phone / WhatsApp FAB: the iOS green, as on the Phone and Messages app icons — a light-to-deep
 * gradient instead of the flat #2E7D32 (AA for white text, but lifeless). These buttons carry a
 * glyph, not text: white on this green is a brand choice, about 2:1. */
.lvd-fab .lvd-fab-btn-success {
    background: linear-gradient(180deg, #5BF675 0%, #0CBD2A 100%);
    color: #fff;
}
/* FAB panel ("more options"): the theme paints it white and the dark set inks its rows white,
 * so the labels vanished. Same raised surface as the site's modals. Mobile only, under round
 * buttons, so here the panel keeps a radius (16px, rows 8px = 16 minus the 8px padding) as the
 * one exception to the flat corners. Later than the flat-corners rule above, same weight. */
.lvd-fab .lvd-fab-sheet {
    background: var(--lvd-color-gray-100);
    border-radius: 16px;
}
.lvd-fab .lvd-fab-row {
    color: #fff;
    border-radius: 8px;
}
.lvd-fab .lvd-fab-row:hover,
.lvd-fab .lvd-fab-row:focus-visible {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}
/* The rest of the greens and reds the user meets, on Apple's system colours (iOS light):
 * - the FAB "more" dots, white button with a green glyph;
 * - the Do / Do Not tick and cross, on any surface.
 * Glyphs, not text. On white the red #FF3B30 gives 3.55 and the green #34C759 2.2, a brand
 * choice like the FAB gradient; on black both pass easily (9.3 / 5.5). */
.lvd-fab .lvd-fab-btn-white-success {
    color: #34C759;
}
.lvd-cm-do-donot .lvd-do-donot-icon-success {
    color: #34C759;
}
.lvd-cm-do-donot .lvd-do-donot-icon-error {
    color: #FF3B30;
}
/* Plugin headings take the site's display face too: the configurator's questions, card titles
 * and totals, and the price tables' titles. Their own sheets load after this file. */
html .lvd-cfg :is(.lvd-cfg-q, .lvd-cfg-sub, .lvd-cfg-card-title, .lvd-cfg-estimate-amount, .lvd-cfg-sum-total, .lvd-cfg-bar-total, .lvd-cfg-cost-total),
html .lvd-cfg-sheet .lvd-cfg-sheet-title,
html .lvd-price .lvd-price-title {
    font-family: var(--fd-display-font);
    font-weight: 600;
    letter-spacing: -0.02em;
}
/* ── CookieYes banner ── Its buttons on the site's tokens. The banner sets them inline from the
 * CookieYes dashboard (style="color:…"), so only !important wins. The preference centre's
 * "Save my preferences" is the same secondary action as Reject / Customize. */
.cky-btn-accept {
    color: var(--lvd-color-white) !important;
    background: var(--lvd-color-primary) !important;
    border-color: var(--lvd-color-primary) !important;
}
.cky-btn-reject,
.cky-btn-customize,
.cky-btn-preferences {
    color: var(--lvd-color-primary) !important;
    border-color: var(--lvd-color-white) !important;
}
/* Reject and Save come filled from the dashboard: outlined in the brand red instead, so refusing
 * reads as clearly as accepting. Customize stays a borderless text button. */
.cky-btn-reject,
.cky-btn-preferences {
    background: transparent !important;
    border-color: var(--lvd-color-primary) !important;
}
