/*
 * Bons plans, codes promo and agency pages (redesign 2026-09, slice C, from 321skivacances): the deals list,
 * last minute, partners A-Z, a partner's deals, -pourcent, tag, deal page with the code box, /code-promo/,
 * /agences-de-voyage/. Tokens of assets/styles/app.css (loaded after this file: selectors refining an app.css
 * component are scoped with .page-deals). Pink = promotion only (codes, discounts, the code box); blue =
 * actions; navy = text and normal prices.
 */

/* Page header band */
.deals-hero { background: #fff; border-bottom: 1px solid var(--voy-line-soft); padding: 1rem 0 1.75rem; }
.deals-hero-compact { padding-bottom: 0; border-bottom: 0; background: transparent; }
.deals-hero-compact + .deals-main { padding-top: 0; }
.deals-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--voy-navy); line-height: 1.15; margin: 0 0 .6rem; overflow-wrap: anywhere; }
.deals-title-sub { display: block; font-size: .5em; font-weight: 600; color: var(--voy-muted); letter-spacing: 0; margin-top: .3rem; }
.deals-title-accent { color: var(--voy-primary-dark); }
.deals-lead { color: var(--voy-text); max-width: 60rem; margin: 0 0 1rem; font-size: .98rem; }
.deals-lead-small { font-size: .86rem; color: var(--voy-muted); }
.deals-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 0; }
.deals-stats li { background: var(--voy-section); border: 1px solid var(--voy-line-soft); border-radius: var(--radius-chip); padding: .3rem .7rem; font-size: .86rem; color: var(--voy-muted); }
.deals-stats strong { color: var(--voy-navy); font-weight: 800; }
.section-kicker-promo { color: var(--voy-promo-dark); }

.deals-main { padding-top: 1.75rem; }
.deals-block { margin-top: 3rem; }
.deals-block .section-title { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.deals-back { margin: 2.5rem 0 0; font-size: .92rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.deals-back span { color: var(--voy-muted); }

/* One promotion card, picture beside the text (the TUI banner of the list) */
.page-deals .promo-grid-single { grid-template-columns: minmax(0, 1fr); }
.page-deals .promo-grid-single .promo-card { flex-direction: row; }
.page-deals .promo-grid-single .promo-card-media { flex: 0 0 58%; display: flex; align-items: center; }
@media (max-width: 767.98px) { .page-deals .promo-grid-single .promo-card { flex-direction: column; } .page-deals .promo-grid-single .promo-card-media { flex: none; } }

/* Partner search (POST /rechercher-un-voyagiste, suggestions of assets/controllers/location-search.js) */
.partner-search { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); padding: .9rem 1rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-soft); }
.partner-search form { flex: 1 1 22rem; min-width: 0; }
.partner-search .location-search { position: relative; }
.partner-search-row { display: flex; gap: .5rem; }
.partner-search-row .header-search-field { flex: 1; min-width: 0; }
.partner-search-row .form-control { min-height: 2.75rem; }
.partner-search-row .btn { border-radius: var(--radius-control); padding: 0 1.1rem; }
.partner-search-link { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }

/* Partner chips and percent links */
.percent-links { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin: 1rem 0 0; }
.partner-bar-label { flex: 0 0 auto; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--voy-muted); }
.percent-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.percent-chip { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--voy-line); border-radius: var(--radius-chip); padding: .38rem .75rem; color: var(--voy-promo-dark); font-weight: 800; font-size: .9rem; transition: border-color .15s ease, background-color .15s ease; }
.percent-chip:hover { border-color: var(--voy-promo); background: var(--voy-promo-soft); color: var(--voy-promo-dark); text-decoration: none; }
.percent-chip.is-current { background: var(--voy-promo-dark); border-color: var(--voy-promo-dark); color: #fff; }
.percent-chip-all { color: var(--voy-primary-dark); font-weight: 600; }
.percent-chip-all:hover { border-color: var(--voy-primary); background: var(--voy-surface); color: var(--voy-primary-hover); }
.percent-chip .count, .type-filter-btn .count, .deal-section-title .count { display: inline-block; min-width: 1.4rem; text-align: center; font-size: .74rem; font-weight: 700; line-height: 1.4; padding: 0 .35rem; border-radius: 6px; background: var(--voy-surface); color: var(--voy-primary-dark); }

/* Toolbar: section title + type filter */
.deals-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: 1.1rem; }
.deals-toolbar-title { font-size: 1.25rem; font-weight: 800; color: var(--voy-navy); margin: 0; }
.type-filter { display: inline-flex; flex-wrap: wrap; gap: .25rem; background: #fff; border: 1px solid var(--voy-line); border-radius: 12px; padding: .25rem; }
.type-filter[hidden] { display: none; }
.type-filter-btn { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: transparent; color: var(--voy-navy); font-weight: 600; font-size: .9rem; padding: .4rem .8rem; border-radius: 9px; min-height: 2.5rem; }
.type-filter-btn:hover { background: var(--voy-field); }
.type-filter-btn[aria-pressed="true"] { background: var(--voy-primary-dark); color: #fff; }
.type-filter-btn[aria-pressed="true"] .count { background: rgba(255, 255, 255, .22); color: #fff; }

/* Deal grid (cards of app.css, CTA variant of templates/deals/_card.html.twig) */
/* .deal-grid columns: app.css (slice A); two compact cards per row on phones below. */
.deal-grid > [hidden] { display: none !important; }
.deal-grid-empty { color: var(--voy-muted); text-align: center; padding: 2rem 0; margin: 0; }
.deal-section + .deal-section { margin-top: 2.25rem; }
.deal-section[hidden] { display: none; }
.deal-section-title { display: flex; align-items: center; gap: .15rem; font-size: 1.05rem; font-weight: 700; color: var(--voy-navy); margin: 0 0 .85rem; }
.deal-section-title .count { margin-left: .5rem; }
.deal-section-title .deal-section-sub { display: inline-flex; align-items: center; font-size: .85rem; font-weight: 500; color: var(--voy-muted); }
.deal-section-title .bi { color: var(--voy-primary); }
.deal-section-expired .deal-section-title, .deal-section-expired .deal-section-title .bi { color: var(--voy-muted); }
.deal-section-lead { font-size: .88rem; color: var(--voy-muted); margin: -.4rem 0 .9rem; }
.deals-empty { text-align: center; background: #fff; border: 1px dashed var(--voy-line); border-radius: var(--card-radius); padding: 2.5rem 1.25rem; color: var(--voy-muted); }
.deals-empty > .bi { font-size: 2rem; color: var(--voy-cyan); margin-bottom: .5rem; }
.deals-pagination { margin-top: 2rem; }
.deals-pagination .pagination { justify-content: center; flex-wrap: wrap; }

.page-deals .deal-card.has-cta .deal-card-expiry { margin: 0 0 .85rem; }
.page-deals .deal-card.has-cta .deal-card-body { padding-bottom: .9rem; }
.deal-card-logo { position: absolute; left: .65rem; bottom: .65rem; width: 4.25rem; height: 2.4rem; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--voy-line-soft); border-radius: 8px; padding: .2rem; box-shadow: var(--shadow-soft); }
.deal-card-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.deal-card-media.is-logo { display: flex; align-items: center; justify-content: center; background: var(--voy-section); }
.deal-card-media.is-logo img { width: 60%; height: 60%; object-fit: contain; }
.deal-card-cta { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; margin-top: auto; background: var(--voy-surface); color: var(--voy-primary-dark); font-weight: 700; font-size: .88rem; border-radius: var(--radius-chip); padding: .5rem .75rem; transition: background-color .15s ease, color .15s ease; }
span.deal-card-cta { z-index: auto; }
.deal-card:hover .deal-card-cta, .deal-card-cta:hover { background: var(--voy-primary-dark); color: #fff; text-decoration: none; }
/* The code CTA is promotional: pink dashed "ticket", the last characters of the code shown. */
.deal-card-cta.is-code { background: var(--voy-promo-soft); color: var(--voy-promo-dark); border: 1px dashed var(--voy-promo); }
.deal-card:hover .deal-card-cta.is-code, .deal-card-cta.is-code:hover { background: var(--voy-promo-dark); color: #fff; border-color: var(--voy-promo-dark); }
.deal-card-cta .code-tail { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; letter-spacing: .06em; opacity: .85; }
.deal-expired-badge { position: absolute; left: .65rem; top: .65rem; background: rgba(6, 74, 142, .85); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .22rem .5rem; border-radius: 6px; }
.page-deals .deal-card.is-expired .deal-card-media img { filter: grayscale(.85); opacity: .75; }
.page-deals .deal-card.is-expired .deal-value { background: #6f8095; }
.page-deals .deal-card.is-expired .deal-kind { background: #eef1f5; color: var(--voy-muted); }
.page-deals .deal-card.is-expired .deal-card-cta, .page-deals .deal-card.is-expired .deal-card-cta.is-code { background: var(--voy-section); color: var(--voy-muted); border-color: var(--voy-line); }
.page-deals .deal-card.is-expired:hover .deal-card-cta { background: var(--voy-field); color: var(--voy-navy); }

/* Partner header */
.company-head { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: .5rem; }
.company-logo { flex: 0 0 auto; width: 9rem; height: 5.5rem; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); padding: .6rem; box-shadow: var(--shadow-soft); }
.company-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.company-logo-text { font-size: 2rem; font-weight: 800; color: var(--voy-navy); }
.company-head-text { flex: 1 1 18rem; min-width: 0; }
.company-head .deals-title { margin-bottom: .4rem; }
.company-slogan { color: var(--voy-muted); font-style: italic; margin: 0 0 .5rem; }
.company-go { flex: 0 0 auto; border-radius: var(--radius-control); padding: .6rem 1.1rem; }
.company-text > :last-child { margin-bottom: 0; }
.company-text img { max-width: 100%; height: auto; }

/* Deal page */
.deal-detail { background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); padding: 1.5rem; }
.deal-detail-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.25rem; }
.deal-detail-logo { flex: 0 0 auto; width: 7.5rem; height: 4.25rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--voy-line-soft); border-radius: 12px; padding: .45rem; font-weight: 700; color: var(--voy-navy); text-align: center; font-size: .85rem; }
.deal-detail-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.deal-detail-heading { min-width: 0; }
.deal-detail-title { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 800; color: var(--voy-navy); line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.deal-verified { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: #1d7a46; }
.deal-expired-notice { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; background: #fff8e6; border: 1px solid #f2d78c; color: #5c4400; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1.25rem; font-size: .92rem; }
.deal-expired-notice > .bi { font-size: 1.2rem; flex: 0 0 auto; }
.deal-expired-notice p { flex: 1 1 16rem; }

.deal-detail-main { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.deal-detail-main.no-media { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
.deal-detail-media { position: relative; border-radius: var(--card-radius); overflow: hidden; background: var(--voy-section); border: 1px solid var(--voy-line-soft); aspect-ratio: 4 / 3; }
.deal-detail-media > img, .deal-gallery-track img { display: block; width: 100%; height: 100%; object-fit: cover; }
.deal-detail-media.is-banner { aspect-ratio: 6 / 5; background: #fff; }
.deal-detail-media.is-banner > img { object-fit: contain; }
.deal-value-lg { top: .9rem; right: .9rem; font-size: 1.15rem; padding: .35rem .7rem; border-radius: 9px; }
.deal-gallery, .deal-gallery-track { height: 100%; }
.deal-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.deal-gallery-track::-webkit-scrollbar { display: none; }
.deal-gallery-track img { flex: 0 0 100%; scroll-snap-align: start; }
.deal-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.deal-gallery-nav[hidden] { display: none; }
.deal-gallery-nav:disabled { opacity: .35; }
.deal-gallery-prev { left: .75rem; }
.deal-gallery-next { right: .75rem; }
.deal-gallery-count { position: absolute; left: .75rem; bottom: .75rem; background: rgba(6, 74, 142, .82); color: #fff; font-size: .76rem; font-weight: 600; padding: .2rem .55rem; border-radius: 7px; }

.offer-box { background: var(--voy-section); border: 1px solid var(--voy-line); border-radius: var(--card-radius); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.offer-box-price p { margin: 0; }
.offer-box-promo { display: inline-block; background: var(--voy-promo-dark); color: #fff; font-weight: 800; font-size: 1rem; padding: .25rem .65rem; border-radius: 8px; margin-bottom: .45rem !important; }
.offer-box-from { color: var(--voy-muted); font-size: .9rem; }
.offer-box-from strong { font-size: 1.9rem; font-weight: 800; color: var(--voy-navy); margin-left: .25rem; }
.offer-box-old { font-size: .86rem; color: var(--voy-muted); }
.code-box { background: #fff; border: 2px dashed var(--voy-promo); border-radius: 14px; padding: 1rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.code-box-label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--voy-promo-dark); margin: 0 0 .55rem; }
.code-box-code { display: flex; align-items: stretch; gap: .5rem; flex-wrap: wrap; }
.code-box-value { flex: 1 1 9rem; min-width: 0; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.5rem; font-weight: 800; letter-spacing: .08em; color: var(--voy-navy); background: var(--voy-promo-soft); border-radius: 10px; padding: .55rem .75rem; overflow-wrap: anywhere; text-align: center; }
.code-box-value[data-copy-value] { user-select: all; }
.code-box-value.is-masked { color: var(--voy-promo-dark); letter-spacing: .12em; }
.code-box-value.is-masked .mask { opacity: .45; letter-spacing: .02em; }
.code-box-reveal { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--voy-promo-dark); border: 0; border-radius: 10px; padding: .55rem 1.1rem; min-height: 2.9rem; }
.code-box-reveal:hover { background: #a50b49; color: #fff; text-decoration: none; }
.code-box-reveal:focus-visible { outline: 3px solid var(--voy-promo-dark); outline-offset: 2px; }
.code-box-copy { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--voy-primary-dark); background: #fff; border: 1.5px solid var(--voy-primary-dark); border-radius: 10px; padding: .55rem 1rem; min-height: 2.9rem; }
.code-box-copy:hover { background: var(--voy-surface); color: var(--voy-primary-hover); border-color: var(--voy-primary-hover); }
.code-box-copy.is-copied { background: #1d7a46; border-color: #1d7a46; color: #fff; }
.code-box-help { font-size: .82rem; color: var(--voy-muted); margin: .6rem 0 0; }
.code-box-none { display: flex; align-items: flex-start; font-size: .92rem; color: var(--voy-text); background: #fff; border: 1px solid var(--voy-line); border-radius: 12px; padding: .8rem 1rem; margin: 0; }
.code-box-none .bi { color: #1d7a46; margin-top: .2rem; }
.offer-box-cta { display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: var(--radius-control); padding: .8rem 1.2rem; font-size: 1.05rem; font-weight: 700; }
.offer-box-note { font-size: .78rem; color: var(--voy-muted); margin: -.5rem 0 0; text-align: center; }
.deal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--voy-line); }
.deal-facts dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--voy-muted); }
.deal-facts dd { margin: 0; font-weight: 600; color: var(--voy-navy); font-size: .92rem; }

.deal-conditions { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--voy-line-soft); color: var(--voy-text); font-size: .95rem; }
.deal-conditions-title { font-size: 1.15rem; font-weight: 800; color: var(--voy-navy); margin-bottom: .75rem; }
.deal-conditions-short { font-weight: 600; color: var(--voy-navy); margin-bottom: .75rem; }
.deal-conditions img { max-width: 100%; height: auto; }
/* Editorial HTML of the partners (inline styles, own <style> blocks): keep it inside the page width. */
.deal-conditions-body, .company-text, .codes-promo-text { overflow-wrap: anywhere; min-width: 0; }
.deal-conditions-body *, .company-text *, .codes-promo-text * { max-width: 100%; }
.deal-conditions-body table, .company-text table, .codes-promo-text table { display: block; overflow-x: auto; }
.deal-conditions > div > :last-child { margin-bottom: 0; }
.deal-tags { margin-top: 1.25rem; }
.deal-intro { margin: 1.25rem 0 0; font-size: .88rem; color: var(--voy-muted); }
.deal-share .share-links { justify-content: flex-start; }

/* Partners A-Z */
.az-index { position: sticky; top: var(--header-h); z-index: 5; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--voy-line-soft); }
.az-index ul { display: flex; gap: .25rem; margin: 0; padding: .5rem 0; overflow-x: auto; scrollbar-width: thin; }
.az-index li { flex: 0 0 auto; }
.az-index a, .az-index span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.35rem; height: 2.35rem; padding: 0 .4rem; border-radius: 8px; font-weight: 700; font-size: .9rem; }
.az-index a { color: var(--voy-primary-dark); background: var(--voy-surface); }
.az-index a:hover { background: var(--voy-primary-dark); color: #fff; text-decoration: none; }
.az-index span { color: #a9b8c9; }
.az-letters { columns: 4 16rem; column-gap: 1rem; }
.az-letter { break-inside: avoid; margin-bottom: 1rem; scroll-margin-top: calc(var(--header-h) + 4rem); background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); padding: .9rem; }
.az-letter:target { border-color: var(--voy-primary); box-shadow: var(--focus-ring); }
.az-letter-title { display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--voy-navy); color: #fff; font-size: 1.1rem; font-weight: 800; margin: 0 0 .7rem; }
.az-names { display: grid; gap: .15rem; margin: 0; }
.az-names a { display: block; padding: .3rem .45rem; border-radius: 7px; color: var(--voy-navy); font-weight: 600; font-size: .93rem; overflow-wrap: anywhere; }
.az-names a:hover { background: var(--voy-surface); color: var(--voy-primary-hover); text-decoration: none; }
.az-inline { display: flex; flex-wrap: wrap; gap: .3rem; }
.az-inline a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2rem; height: 2.2rem; border-radius: 8px; background: var(--voy-surface); font-weight: 700; font-size: .88rem; }
.az-inline a:hover { background: var(--voy-primary-dark); color: #fff; text-decoration: none; }

/* Logo tiles (agencies, similar partners) */
.company-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); margin: 0; }
.company-tile { display: flex; flex-direction: column; align-items: center; gap: .55rem; height: 100%; background: #fff; border: 1px solid var(--voy-line); border-radius: 12px; padding: .8rem .7rem; color: var(--voy-navy); font-weight: 600; text-align: center; box-shadow: var(--shadow-soft); transition: border-color .15s ease, box-shadow .15s ease; }
.company-tile:hover { border-color: #b7dcf2; box-shadow: var(--shadow-hover); text-decoration: none; color: var(--voy-primary-hover); }
.company-tile-logo { width: 100%; height: 3.4rem; display: flex; align-items: center; justify-content: center; }
.company-tile-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.company-tile-name { min-width: 0; overflow-wrap: anywhere; line-height: 1.25; font-size: .92rem; }
.company-tile-meta { max-width: 100%; font-size: .78rem; font-weight: 600; color: var(--voy-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.company-grid > li { min-width: 0; }
.company-tile-promo { display: inline-block; font-size: .8rem; font-weight: 800; color: #fff; background: var(--voy-promo-dark); border-radius: 7px; padding: .15rem .5rem; }
.company-tile-deal { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--voy-primary-dark); background: var(--voy-surface); border-radius: 7px; padding: .15rem .5rem; }

/* /code-promo/ and agency pages */
.codes-layout { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); align-items: start; }
.codes-aside { position: sticky; top: calc(var(--header-h) + 1rem); background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); padding: 1.1rem; font-size: .9rem; color: var(--voy-text); }
.codes-aside p:last-child { margin-bottom: 0; }
.codes-aside-title { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--voy-promo-dark); margin: 0 0 .5rem; }
.codes-aside .updated { display: flex; gap: .4rem; align-items: flex-start; color: var(--voy-muted); font-size: .84rem; }
.codes-aside .updated .bi { color: #1d7a46; margin-top: .15rem; }
.agency-deals { width: 100%; background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); overflow: hidden; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.agency-deals th, .agency-deals td { padding: .7rem .85rem; border-bottom: 1px solid var(--voy-line-soft); vertical-align: middle; }
.agency-deals thead th { background: var(--voy-section); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--voy-muted); }
.agency-deals tbody tr:last-child > * { border-bottom: 0; }
.agency-deals .value { font-weight: 800; color: var(--voy-promo-dark); white-space: nowrap; }
.agency-deals .title { color: var(--voy-navy); font-weight: 600; }
.agency-deals.is-expired .value { color: var(--voy-muted); }
.agency-table { overflow-x: auto; }
.faq-list { display: grid; gap: .6rem; }
.faq-item { background: #fff; border: 1px solid var(--voy-line); border-radius: 12px; padding: 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: .9rem 1.1rem; font-weight: 700; color: var(--voy-navy); display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .bi { color: var(--voy-primary); transition: transform .15s ease; flex-shrink: 0; margin-top: .2rem; }
.faq-item[open] summary .bi { transform: rotate(180deg); }
.faq-item > div { padding: 0 1.1rem 1rem; color: var(--voy-text); }
.faq-item > div > :last-child { margin-bottom: 0; }

@media (max-width: 991.98px) {
    .deal-detail-main { grid-template-columns: minmax(0, 1fr); }
    .codes-layout { grid-template-columns: minmax(0, 1fr); }
    .codes-aside { position: static; order: 2; }
}
@media (max-width: 767.98px) {
    .deals-hero { padding-bottom: 1.25rem; }
    .deals-lead { font-size: .92rem; }
    .deals-stats li { font-size: .8rem; padding: .25rem .6rem; }
    .deals-main { padding-top: 1.25rem; }
    .deals-toolbar { flex-direction: column; align-items: stretch; }
    .type-filter { display: flex; }
    .type-filter-btn { flex: 1 1 auto; justify-content: center; padding: .4rem .5rem; font-size: .86rem; }
    .type-filter-btn .bi { display: none; }
    .company-head { gap: .9rem; }
    .company-logo { width: 6.5rem; height: 4rem; }
    .company-go { width: 100%; }
    .percent-chip { padding: .32rem .6rem; font-size: .86rem; }
    .deal-detail { padding: 1rem; border-radius: 12px; }
    .deal-detail-head { display: block; margin-bottom: 1rem; }
    .deal-detail-logo { display: none; }
    .deal-detail-title { font-size: 1.3rem; }
    .offer-box { padding: 1rem; }
    .code-box-value { font-size: 1.25rem; }
    .code-box-copy, .code-box-reveal { width: 100%; }
    .partner-search-row .btn { padding: 0 .9rem; }
    .agency-deals { font-size: .86rem; }
    .agency-deals th, .agency-deals td { padding: .55rem .6rem; }
    .agency-deals .col-type { display: none; }
}
@media (max-width: 575.98px) {
    /* Two compact cards per row on phones (one column makes the lists very long). */
    .page-deals .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .page-deals .deal-grid .deal-card-body { padding: .65rem .7rem .75rem; }
    .page-deals .deal-grid .deal-card-title { font-size: .86rem; -webkit-line-clamp: 4; }
    .page-deals .deal-grid .deal-card-meta { gap: .3rem .4rem; font-size: .72rem; }
    .page-deals .deal-grid .deal-kind { font-size: .6rem; padding: .15rem .4rem; }
    .page-deals .deal-grid .deal-card-expiry { font-size: .72rem; }
    .page-deals .deal-grid .deal-value { font-size: .8rem; top: .45rem; right: .45rem; }
    .page-deals .deal-grid .deal-card-cta { font-size: .78rem; padding: .45rem .4rem; }
    .page-deals .deal-grid .deal-card-cta .code-tail { display: none; }
    .page-deals .deal-grid .deal-expired-badge { left: .45rem; top: .45rem; font-size: .6rem; }
    .page-deals .deal-grid .deal-card-logo { display: none; }
    .company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}
@media (max-width: 339.98px) {
    .page-deals .deal-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .deal-card-cta, .percent-chip, .company-tile, .faq-item summary .bi { transition: none; }
    .deal-gallery-track { scroll-behavior: auto; }
}

/* Travel agencies list (/agences-de-voyage/) */
.agency-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); margin: 0; }
.agency-card { position: relative; display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; border: 1px solid var(--voy-line); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); padding: 1rem; transition: box-shadow .18s ease; }
.agency-card:hover { box-shadow: var(--shadow-hover); }
.agency-card:has(.agency-card-title a:focus-visible) { outline: 3px solid var(--voy-primary); outline-offset: 2px; }
.agency-card-logo { flex: 0 0 8rem; height: 4.5rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--voy-line-soft); border-radius: 10px; padding: .4rem; background: #fff; }
.agency-card-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.agency-card-body { min-width: 0; }
.agency-card-title { font-size: 1.1rem; font-weight: 800; margin: 0 0 .35rem; }
.agency-card-title a { color: var(--voy-navy); }
.agency-card-title a:focus-visible { outline: 0; }
.agency-card-title a::after { content: ""; position: absolute; inset: 0; }
.agency-card-text { font-size: .9rem; color: var(--voy-muted); margin: 0; overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .agency-card { flex-direction: column; gap: .7rem; }
    .agency-card-logo { flex-basis: auto; width: 8rem; }
}
@media (prefers-reduced-motion: reduce) { .agency-card { transition: none; } }

/* Deal page of an expired offer: the value is no longer a current promotion (grey, never pink). */
.deal-detail.is-expired .deal-value, .deal-detail.is-expired .offer-box-promo { background: #6f8095; }
