/* The catalogue uses the revived store, generated store and guide markups.
   Keep numbering and indicators decorative so the native summary remains the label. */
:is(.singleStorePage, .bd-page) :is(.fr-faqlist, .fr-faqs, div.fr-faq, .storeFaq__list, .bd-details) {
    counter-reset: question;
    background: var(--sv3-surface);
    border: 0;
    border-top: 1px solid var(--sv3-border);
    border-radius: 0;
    padding: 0;
}
:is(.singleStorePage, .bd-page) :is(.fr-faqlist, .fr-faqs, div.fr-faq, .storeFaq__list, .bd-details) > details {
    counter-increment: question;
    padding: 0;
    border-bottom: 1px solid var(--sv3-border);
}
.singleStorePage .store-revive details.fr-evidence {
    border-top: 1px solid var(--sv3-border);
    padding-top: 0;
}
:is(.singleStorePage .store-revive, .singleStorePage, .bd-page, .storesPage, .bfFacts .bff-faq) details > summary {
    display: block;
    position: relative;
    list-style: none;
    min-height: 44px;
    padding: 1rem 2.75rem 1rem 0;
    color: var(--sv3-text);
    font: 600 1rem/1.45 var(--font-sans);
    cursor: pointer;
}
:is(.singleStorePage .store-revive, .singleStorePage, .bd-page, .storesPage, .bfFacts .bff-faq) details > summary::-webkit-details-marker {
    display: none;
}
:is(.singleStorePage .store-revive, .singleStorePage, .bd-page, .storesPage, .bfFacts .bff-faq) details > summary::after {
    content: '+';
    content: '+' / '';
    position: absolute;
    inset-inline-end: .5rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
    border: 1px solid var(--sv3-border);
    border-radius: 50%;
    background: var(--sv3-surface);
    color: var(--sv3-text);
    font: 500 1rem/1 var(--font-mono);
    transition: background-color .16s ease, border-color .16s ease;
}
:is(.singleStorePage .store-revive, .singleStorePage, .bd-page, .storesPage, .bfFacts .bff-faq) details[open] > summary::after {
    content: '−';
    content: '−' / '';
    transform: translateY(-50%);
    background: var(--sv3-surface-2);
}
:is(.singleStorePage .store-revive, .singleStorePage, .bd-page, .storesPage, .bfFacts .bff-faq) details > summary:hover::after {
    border-color: currentColor;
}
:is(.singleStorePage .store-revive, .singleStorePage, .bd-page, .storesPage, .bfFacts .bff-faq) details > summary:focus-visible,
.singleStorePage :is(.fr-code, .copiedCode__copy):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.singleStorePage :is(details.fr-faq, div.fr-faq > details, .fr-faqlist > details) > summary > svg {
    display: none;
}
.bd-page .bd-details > details > summary {
    padding-inline-start: 1rem;
}
:is(.singleStorePage, .bd-page) :is(.fr-faqlist, .fr-faqs, div.fr-faq, .storeFaq__list, :where(#faq) .bd-details) > details > summary {
    padding-inline-start: 3.25rem;
}
:is(.singleStorePage, .bd-page) :is(.fr-faqlist, .fr-faqs, div.fr-faq, .storeFaq__list, :where(#faq) .bd-details) > details > summary::before {
    content: counter(question, decimal-leading-zero);
    content: counter(question, decimal-leading-zero) / '';
    position: absolute;
    inset-inline-start: .75rem;
    padding-top: .17rem;
    color: var(--sv3-muted);
    font: 500 .8rem/1.45 var(--font-mono);
    font-variant-numeric: tabular-nums;
}
:is(.singleStorePage, .bd-page) :is(.fr-faqlist, .fr-faqs, div.fr-faq, .storeFaq__list, .bd-details) > details[open] {
    background: var(--sv3-surface-2);
}
:is(.singleStorePage, .bd-page) :is(.fr-faq__a, .storeFaq__answer, :where(#faq) .bd-details details > p) {
    margin: 0;
    padding: 0 1rem 1.25rem 3.25rem;
    color: var(--sv3-text-2);
    line-height: 1.6;
}
.singleStorePage .store-revive .fr-evidence > summary {
    padding-block: .75rem;
    font: 600 .9375rem/1.45 var(--font-sans);
}
.storesPage details.storesAz__group > summary { color: var(--color-text); }
.storesPage .storesAz__group > .storesAz__summary { display: flex; }

/* A short printed code and a full-width copy button share the same ink and edge.
   Code labels keep the casing provided by the merchant. */
.singleStorePage[data-store-slug] :is(.fr-code.js-copy-code, .couponCard__code, .copiedCode__code, .tm-mob-sticky__code, .tm-rail-card__code code, .fr-hero__intro code),
.storesPage .storesTested__card .storesTested__code,
.bd-page .bd-code {
    max-width: 100%;
    padding: .2em .65em;
    border: 1px dashed var(--sv3-border);
    border-radius: .5rem;
    background: var(--sv3-surface-2);
    color: var(--sv3-text);
    font-family: var(--font-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    letter-spacing: .035em;
    white-space: normal;
    overflow-wrap: anywhere;
}
.singleStorePage[data-store-slug] .fr-code.js-copy-code {
    border-radius: var(--radius-button);
    min-height: 44px;
    padding: .65rem .875rem;
    transition: border-color .16s ease, background-color .16s ease;
}
.singleStorePage .store-revive .fr-code.sv3-ticket {
    grid-template-columns: minmax(0, 1fr) 1.5rem;
    align-items: center;
}
.singleStorePage .fr-code.sv3-ticket .js-code-text {
    padding: 0;
    border: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}
.singleStorePage .fr-code.sv3-ticket::before,
.singleStorePage .fr-code.sv3-ticket::after { content: none; }
.singleStorePage .fr-code.js-copy-code svg { width: 1rem; height: 1rem; color: inherit; }
.singleStorePage[data-store-slug] .fr-code.js-copy-code:is(:hover, :focus-visible),
.storesPage .storesTested__card:is(:hover, :focus-visible) .storesTested__code {
    border-color: var(--color-primary);
}
.singleStorePage .fr-code.js-copy-code:active { transform: translateY(1px); }
.singleStorePage[data-store-slug] .fr-code.js-copy-code.is-copied {
    border-color: currentColor;
    color: var(--sv3-cash);
    background: var(--sv3-surface);
}

/* Keep the layout and CTA geometry of each card. The offer, about and
   comparison surfaces use one radius and a single warm rule. */
.singleStorePage .store-revive .fr-coupon,
.singleStorePage .store-revive .fr-cards > .fr-coupon:first-of-type:has(.fr-badge--tested),
.singleStorePage .couponList .couponCard,
.singleStorePage .storeAbout .container,
.singleStorePage .store-revive .sv3-about {
    padding: clamp(1rem, 2.5vw, 2rem);
    border: 1px solid var(--sv3-border);
    border-radius: 16px;
    background: var(--sv3-surface);
    box-shadow: none;
}
.singleStorePage .store-revive .sv3-about { background: var(--sv3-surface-2); }
.singleStorePage .store-revive .fr-coupon__right:has(.fr-code) {
    padding: 0;
    border: 0;
    background: transparent;
}
@media (prefers-reduced-motion: reduce) {
    :is(.singleStorePage .store-revive, .singleStorePage, .bd-page, .storesPage, .bfFacts .bff-faq) details > summary::after,
    .singleStorePage .fr-code.js-copy-code { transition: none; }
}

.bfFacts .bff-faq { margin-top: 24px; }
.bfFacts .bff-faq details { border-bottom: 1px solid var(--sv3-border); }
.bfFacts .bff-faq details:first-of-type { border-top: 1px solid var(--sv3-border); }
.bfFacts .bff-faq details > summary { padding-inline-start: 1rem; }
.bfFacts .bff-faq details[open] { background: var(--sv3-surface-2); }
.bfFacts .bff-faq summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.bfFacts .bff-faq details p {
    padding: 0 1rem 1rem;
    color: var(--sv3-text-2);
    font-size: .9375rem;
    line-height: 1.6;
}
