/*
 * Coupon Monster theme — fresh green palette.
 * Overrides Bootstrap via CSS custom properties; no inline styles in templates.
 */

:root {
    /* Brand palette (fresh green) */
    --cm-primary: #27ae60;
    --cm-primary-dark: #1e8e4f;
    --cm-primary-darker: #14532d;
    --cm-accent: #2ecc71;
    --cm-bg: #f0fdf4;
    --cm-surface: #ffffff;
    /* Green-tinted text tones (no neutral grays) */
    --cm-text: #173a28;
    --cm-muted: #4e7a64;
    --cm-heading: #0f3d21;
    --cm-border: #d8ebe1;

    /* Map the palette onto Bootstrap's theming variables */
    --bs-primary: var(--cm-primary);
    --bs-primary-rgb: 39, 174, 96;
    --bs-link-color: var(--cm-primary-dark);
    --bs-link-color-rgb: 30, 142, 79;
    --bs-link-hover-color: var(--cm-primary-darker);
    --bs-body-color: var(--cm-text);
    --bs-body-bg: var(--cm-bg);
    --bs-border-color: var(--cm-border);
    --bs-secondary-color: var(--cm-muted);
    --bs-tertiary-color: var(--cm-muted);
    --bs-emphasis-color: var(--cm-heading);
}

/* Headings in very dark green (except on coloured surfaces) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--cm-heading);
}

.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6,
.section-brand :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
}

/* Replace neutral grays in utility text classes with green-tinted tones */
.text-secondary,
.text-body-secondary,
.text-muted {
    color: var(--cm-muted) !important;
}

body {
    background-color: var(--cm-bg);
    color: var(--cm-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Buttons */
.btn-primary {
    --bs-btn-bg: var(--cm-primary);
    --bs-btn-border-color: var(--cm-primary);
    --bs-btn-hover-bg: var(--cm-primary-dark);
    --bs-btn-hover-border-color: var(--cm-primary-dark);
    --bs-btn-active-bg: var(--cm-primary-darker);
    --bs-btn-active-border-color: var(--cm-primary-darker);
}

.btn-outline-primary {
    --bs-btn-color: var(--cm-primary-dark);
    --bs-btn-border-color: var(--cm-primary);
    --bs-btn-hover-bg: var(--cm-primary);
    --bs-btn-hover-border-color: var(--cm-primary);
    --bs-btn-active-bg: var(--cm-primary-dark);
}

.text-primary {
    color: var(--cm-primary-dark) !important;
}

.bg-primary {
    background-color: var(--cm-primary) !important;
}

/* Softer, more modern button corners */
.btn {
    --bs-btn-border-radius: 0.6rem;
    font-weight: 500;
}

/* Header / navbar */
.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    box-shadow: 0 2px 12px rgba(20, 83, 45, 0.06);
}

/* Perforated lower edge – the header reads like the tear-off line of a coupon */
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-image: linear-gradient(90deg, var(--cm-primary) 0 8px, transparent 8px 14px);
    background-size: 14px 2px;
    opacity: 0.5;
    pointer-events: none;
}

.site-header .navbar {
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
    transition: padding 0.25s ease;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--cm-primary-darker);
    text-decoration: none;
}

.site-brand img {
    height: 52px;
    width: auto;
    transition: height 0.25s ease;
}

/* Shrink the header smoothly once the page is scrolled (header_controller.js) */
.site-header.is-scrolled {
    box-shadow: 0 4px 16px rgba(20, 83, 45, 0.1);
}

.site-header.is-scrolled .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.site-header.is-scrolled .site-brand {
    font-size: 1.15rem;
}

.site-header.is-scrolled .site-brand img {
    height: 38px;
}

/* Nav links: soft pills, the active page is a filled mint pill */
.site-header .navbar-nav .nav-link {
    font-weight: 500;
    color: var(--cm-text);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus-visible {
    color: var(--cm-primary-darker);
    background-color: var(--cm-bg);
}

.site-header .navbar-nav .nav-link.active,
.site-header .navbar-nav .nav-link.show {
    color: var(--cm-primary-darker);
    background-color: #e3f7ec;
    font-weight: 600;
}

@media (min-width: 992px) {
    .site-header .navbar-nav {
        gap: 0.2rem;
    }
}

/* Category dropdown — multi-column mega menu on desktop */
.dropdown-menu-categories {
    --bs-dropdown-border-color: var(--cm-border);
    --bs-dropdown-border-radius: 0.85rem;
    --bs-dropdown-link-active-bg: var(--cm-bg);
    --bs-dropdown-link-active-color: var(--cm-primary-dark);
    padding: 0.5rem;
    min-width: 16rem;
}

.dropdown-menu-categories .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.dropdown-menu-categories .dropdown-item:hover {
    background-color: var(--cm-bg);
}

@media (min-width: 992px) {
    /* Only lay out as a 3-column grid when the dropdown is open, so Bootstrap's
       default display:none (closed state) is preserved. */
    .dropdown-menu-categories.show {
        display: grid;
        grid-template-columns: repeat(3, minmax(170px, 1fr));
        gap: 0.1rem 0.35rem;
        width: max-content;
        max-width: 90vw;
    }

    .dropdown-menu-categories .dropdown-cats-full {
        grid-column: 1 / -1;
    }
}

/* Search field with leading icon */
.site-search {
    max-width: 520px;
}

/* Home: the header search appears once the hero search has scrolled away (header_controller.js) */
@media (min-width: 992px) {
    .site-search--deferred {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }

    .site-header.show-search .site-search--deferred {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
}

.site-search .input-group {
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--cm-border);
    background-color: var(--cm-bg);
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

.site-search .input-group:focus-within {
    box-shadow: inset 0 0 0 2px var(--cm-primary);
    background-color: var(--cm-surface);
}

.site-search .input-group-text {
    background-color: transparent;
    border: 0;
    color: var(--cm-primary-dark);
    padding-left: 1.1rem;
    font-size: 1.05rem;
}

.site-search .form-control {
    border: 0;
    background-color: transparent;
    box-shadow: none;
    padding-left: 0.25rem;
}

.site-search .form-control::placeholder {
    color: var(--cm-muted);
}

.site-search .form-control:focus {
    box-shadow: none;
    background-color: transparent;
}

.site-search .btn {
    --bs-btn-border-radius: 0;
    padding-inline: 1.1rem;
    font-weight: 600;
}

/* Header action buttons: same height as the search field, matching pill corners */
.site-header .navbar .btn {
    --bs-btn-border-radius: 999px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.site-search .input-group {
    min-height: 42px;
}

.site-header .site-search .btn {
    --bs-btn-border-radius: 0;
    min-height: 0;
}

/* Breadcrumb — compact, modern, chevron separators */
.cm-breadcrumb {
    margin-bottom: 1.25rem;
}

.cm-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.1rem;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.cm-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.cm-breadcrumb li:not(:first-child)::before {
    content: "\F285"; /* bi-chevron-right */
    font-family: "bootstrap-icons";
    font-size: 0.7rem;
    color: var(--cm-muted);
    margin: 0 0.35rem;
}

.cm-breadcrumb a {
    color: var(--cm-muted);
    text-decoration: none;
}

.cm-breadcrumb a:hover {
    color: var(--cm-primary-dark);
}

.cm-breadcrumb .is-current span {
    color: var(--cm-text);
    font-weight: 600;
}

/* A-Z index — compact so it fits on one desktop row */
.az-index {
    align-items: center;
    gap: 0.15rem !important;
    row-gap: 0.25rem !important;
}

.az-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    height: 1.8rem;
    padding-inline: 0.55rem;
    border-radius: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cm-primary-dark);
    text-decoration: none;
    border: 1px solid transparent;
}

.az-link:hover {
    background-color: var(--cm-bg);
}

.az-link.is-active {
    background-color: var(--cm-primary);
    color: #fff;
}

.az-link.is-disabled {
    color: var(--cm-muted);
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

/* Pagination — green theme */
.pagination {
    --bs-pagination-color: var(--cm-primary-dark);
    --bs-pagination-bg: var(--cm-surface);
    --bs-pagination-border-color: var(--cm-border);
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: var(--cm-primary);
    --bs-pagination-hover-border-color: var(--cm-primary);
    --bs-pagination-focus-color: var(--cm-primary-darker);
    --bs-pagination-focus-bg: var(--cm-bg);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(39, 174, 96, 0.25);
    --bs-pagination-active-bg: var(--cm-primary);
    --bs-pagination-active-border-color: var(--cm-primary);
    --bs-pagination-disabled-color: rgba(20, 83, 45, 0.35);
    --bs-pagination-disabled-bg: transparent;
    --bs-pagination-disabled-border-color: var(--cm-border);
    --bs-pagination-border-radius: 0.5rem;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.55;
}

.pagination .page-link {
    border-radius: 0.5rem;
    min-width: 2.4rem;
    text-align: center;
    font-weight: 600;
}

/* Tom Select — align with the green theme */
.ts-wrapper.form-select,
.ts-control {
    border-radius: 0.5rem;
}

.ts-dropdown .active {
    background-color: var(--cm-bg);
    color: var(--cm-primary-dark);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(46, 204, 113, 0.55), transparent 55%),
        linear-gradient(140deg, #14532d 0%, #1e8e4f 62%, #27ae60 100%);
}

/* Fine dot grid fading in from the left, like the perforation on a coupon sheet */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.2px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
}

.hero .btn-light {
    color: var(--cm-primary-dark);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.1rem, 4.6vw, 3.3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    max-width: 15ch;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.86);
    max-width: 46ch;
}

/* The mascot jumps in once on page load – the page's only ambient motion */
.hero-illustration {
    max-height: 300px;
    width: auto;
    filter: drop-shadow(0 18px 26px rgba(5, 40, 20, 0.35));
    animation: cm-mascot-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes cm-mascot-in {
    from {
        opacity: 0;
        transform: translateY(28px) rotate(-6deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-illustration {
        animation: none;
    }
}

/* Hero search as a coupon ticket: notched sides, perforation, scissors button */
.hero-search {
    max-width: 640px;
    filter: drop-shadow(0 14px 24px rgba(5, 40, 20, 0.35));
}

.search-ticket {
    --notch: 13px;
    display: flex;
    align-items: stretch;
    min-height: 66px;
    background-color: #fff;
    border-radius: 1rem;
    -webkit-mask:
        radial-gradient(circle var(--notch) at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle var(--notch) at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle var(--notch) at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle var(--notch) at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
    transition: box-shadow 0.15s ease;
}

.search-ticket:focus-within {
    box-shadow: inset 0 0 0 3px var(--cm-accent);
}

.search-ticket__icon {
    display: flex;
    align-items: center;
    margin: 0.65rem 0;
    padding: 0 1rem 0 1.7rem;
    border-right: 2px dashed var(--cm-border);
    color: var(--cm-primary-dark);
    font-size: 1.3rem;
    cursor: text;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.search-ticket:focus-within .search-ticket__icon {
    color: var(--cm-primary);
    border-right-color: var(--cm-primary);
}

.search-ticket__input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 1rem;
    background: transparent;
    color: var(--cm-heading);
    font-size: 1.1rem;
}

.search-ticket__input::placeholder {
    color: var(--cm-muted);
}

.search-ticket__input:focus {
    outline: none;
}

.search-ticket__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.55rem 1.5rem 0.55rem 0;
    padding: 0 1.35rem;
    border: 0;
    border-radius: 0.7rem;
    background-color: #ffd84d;
    color: #14532d;
    font-weight: 800;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.search-ticket__button:hover {
    background-color: #ffcc1a;
}

.search-ticket__button:focus-visible {
    outline: 3px solid var(--cm-primary-darker);
    outline-offset: 2px;
}

.search-ticket__button .bi {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.search-ticket__button:hover .bi {
    transform: rotate(-18deg);
}

@media (max-width: 575.98px) {
    .search-ticket {
        min-height: 58px;
    }

    .search-ticket__icon {
        padding-left: 1.4rem;
    }

    .search-ticket__button {
        margin-right: 1.25rem;
        padding: 0 0.9rem;
    }

    .search-ticket__button span {
        display: none;
    }
}

/* Quick links to popular shops below the search */
.hero-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    font-size: 0.9rem;
}

.hero-quick__label {
    color: rgba(255, 255, 255, 0.78);
    margin-right: 0.15rem;
}

.hero-quick__chip {
    padding: 0.25rem 0.8rem;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.hero-quick__chip:hover,
.hero-quick__chip:focus-visible {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.95rem;
}

.hero-trust li {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    white-space: nowrap;
}

.hero-trust li:not(:last-child) {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.hero-trust .bi {
    font-size: 1.2rem;
    color: #ffd84d;
}

@media (max-width: 575.98px) {
    .hero-trust li:not(:last-child) {
        padding-right: 0;
        border-right: 0;
    }

    .hero-illustration {
        max-height: 200px;
    }
}

/* Full-bleed content bands with alternating backgrounds */
.section-bleed {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.section-tint {
    background-color: #ffffff;
}

.section-muted {
    background-color: #e3f7ec;
}

.section-brand {
    background: linear-gradient(135deg, var(--cm-primary) 0%, var(--cm-accent) 100%);
    color: #fff;
}

/* Inner padding helper for bleed bands */
.section-bleed > .container {
    padding-top: 0.25rem;
}

/* Floating cookie consent toggle (cookie_consent_controller.js) */
.cookie-toggle {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1030;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--cm-border);
    background-color: var(--cm-surface);
    color: var(--cm-primary-dark);
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.cookie-toggle:hover {
    transform: translateY(-2px);
    background-color: var(--cm-bg);
}

/* Klaro: hide the "Realised with Klaro" credit */
.klaro .cm-powered-by,
.klaro .cookie-modal .cm-powered-by,
.klaro .cookie-notice .cm-powered-by {
    display: none !important;
}

/* Cards */
.coupon-card {
    background-color: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: 0.75rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.coupon-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(20, 83, 45, 0.12);
    transform: translateY(-2px);
}

/* Allows text-truncate inside flex children */
.min-width-0 {
    min-width: 0;
}

/* Shop logos / initials avatar */
.shop-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 0.7rem;
    background-color: #fff;
    border: 1px solid var(--cm-border);
    padding: 4px;
    flex-shrink: 0;
}

.shop-logo--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: var(--cm-primary);
    border-color: var(--cm-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.shop-logo--lg {
    width: 88px;
    height: 88px;
}

/* Compact discount badge (top, next to the title) */
.coupon-discount {
    display: inline-flex;
    align-items: center;
    background-color: var(--cm-bg);
    color: var(--cm-primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.1;
    padding: 0.12rem 0.45rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(39, 174, 96, 0.25);
    white-space: nowrap;
}

/* Category tiles (home + category index) */
.category-tile {
    color: var(--cm-text);
}

.category-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 0.7rem;
    background-color: var(--cm-bg);
    color: var(--cm-primary-dark);
    font-size: 1.25rem;
}

.category-tile:hover .category-tile__icon {
    background-color: var(--cm-primary);
    color: #fff;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--cm-primary-darker) 0%, #0f3d21 100%);
    color: #d1fae5;
}

.footer-brand {
    color: #fff;
    text-decoration: none;
}

.footer-muted {
    color: rgba(209, 250, 229, 0.7);
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0.9rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.site-footer a {
    color: #d1fae5;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover,
.site-footer a:hover {
    color: #fff;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.05rem;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
    background-color: var(--cm-primary);
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

/* Content pages (Impressum, Datenschutz, Über uns) */
.page-body {
    line-height: 1.7;
    color: var(--cm-text);
}

.page-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cm-primary-darker);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.page-body h2:first-child {
    margin-top: 0;
}

.page-body p {
    margin-bottom: 1rem;
}

.page-body ul,
.page-body ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.page-body li {
    margin-bottom: 0.4rem;
}

.page-body a {
    color: var(--cm-primary-dark);
    text-decoration: underline;
}

.page-body .lead {
    color: var(--cm-text);
}

/* FAQ page */
.faq-group {
    scroll-margin-top: 6rem;
}

.faq-accordion {
    --bs-accordion-bg: var(--cm-surface);
    --bs-accordion-border-color: var(--cm-border);
    --bs-accordion-color: var(--cm-text);
    --bs-accordion-btn-color: var(--cm-heading);
    --bs-accordion-active-color: var(--cm-primary-darker);
    --bs-accordion-active-bg: var(--cm-bg);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(39, 174, 96, 0.25);
    --bs-accordion-border-radius: 0.75rem;
    --bs-accordion-inner-border-radius: calc(0.75rem - 1px);
}

.faq-accordion .accordion-header {
    margin: 0;
    font-size: 1rem;
}

.faq-accordion .accordion-button {
    font-weight: 600;
}

.faq-accordion .accordion-body {
    line-height: 1.6;
}

.faq-item {
    scroll-margin-top: 6rem;
}

.faq-permalink {
    margin-left: 0.25rem;
    color: var(--cm-muted);
    text-decoration: none;
}

.faq-permalink:hover {
    color: var(--cm-primary-dark);
}

/* Shop page: expired coupons + key figures */
.shop-expired__item {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--cm-border);
    color: var(--cm-muted);
}

.shop-expired__item:last-child {
    border-bottom: 0;
}

.shop-stats dd {
    margin-bottom: 0.35rem;
}

/* Shop page: AI shop profile */
.shop-intro {
    font-size: 1.05rem;
    color: var(--cm-text);
}

.shop-profile__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cm-primary-dark);
    margin-bottom: 0.5rem;
}

.shop-profile__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.shop-profile__chips li {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--cm-bg);
    border: 1px solid var(--cm-border);
    font-size: 0.85rem;
}

.shop-profile__sources summary {
    cursor: pointer;
}

.shop-profile__sources ul {
    padding-left: 1.1rem;
    word-break: break-all;
}
