/* ==========================================================================
   CrashCoupons — Premium Dark Theme
   Pure CSS3 · No framework dependencies
   ========================================================================== */

:root {
    --bg: #0c0e14;
    --bg-elevated: #12151d;
    --card: #181c26;
    --card-hover: #1e2330;
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --accent-soft: rgba(245, 158, 11, 0.12);
    --accent-border: rgba(245, 158, 11, 0.35);
    --text: #f3f4f6;
    --muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --container: 1280px;
    --font: "Lexend", system-ui, -apple-system, sans-serif;
    --transition: 0.2s ease;
    --focus-ring: 0 0 0 3px rgba(245, 158, 11, 0.45);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 14, 20, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 0;
}

.site-logo img {
    height: 32px;
    width: auto;
}

.site-search {
    position: relative;
    flex: 1;
    max-width: 560px;
    margin-inline: auto;
}

.site-search__input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-search__input::placeholder {
    color: var(--muted);
}

.site-search__input:focus {
    border-color: var(--accent-border);
    box-shadow: var(--focus-ring);
    outline: none;
}

.site-search__loader {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.site-search__loader .spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

.site-search__loader .spinner[hidden],
.site-search__loader .site-search__icon[hidden] {
    display: none;
}

.site-search__icon {
    color: var(--muted);
    width: 18px;
    height: 18px;
}

.site-search__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    max-height: 360px;
    overflow-y: auto;
    z-index: 200;
    scrollbar-color: rgba(245, 158, 11, 0.45) var(--bg-elevated);
    scrollbar-width: thin;
}

.site-search__dropdown::-webkit-scrollbar {
    width: 8px;
}

.site-search__dropdown::-webkit-scrollbar-track {
    background: var(--bg-elevated);
    border-radius: var(--radius-pill);
}

.site-search__dropdown::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.45);
    border-radius: var(--radius-pill);
}

.site-search__dropdown.is-open {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.search-item:hover,
.search-item.active {
    background: var(--card-hover);
}

.search-item-image {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.search-section-title {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.search-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--muted);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--accent);
    border: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
}

.icon-btn:hover {
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

/* --- Main layout --- */
.main-content {
    padding: 2rem 0 4rem;
}

/* --- SEO Intro --- */
.seo-intro {
    margin-bottom: 2.5rem;
    text-align: center;
}

.seo-intro h1 {
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 auto 1rem;
    letter-spacing: -0.02em;
    max-width: 48rem;
}

.seo-intro__lead {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    color: var(--muted);
    max-width: 68ch;
    margin: 0 auto 1.25rem;
}

.seo-intro .info-box {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.info-box {
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    max-width: 68ch;
}

.info-box strong {
    color: var(--accent);
}

/* --- Section headings --- */
.section-heading {
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    font-weight: 600;
    margin: 0 0 1.5rem;
}

/* --- Coupon grid --- */
.coupon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.coupon-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.coupon-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-border);
    box-shadow: var(--shadow);
}

.coupon-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.coupon-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coupon-card__rating {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.coupon-card__rating svg {
    width: 14px;
    height: 14px;
    fill: var(--accent);
}

.coupon-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem 1rem 0.75rem;
    gap: 0.5rem;
}

.coupon-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.coupon-card__tag {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.coupon-card__desc {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.coupon-card__stock {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 0.375rem;
    margin: 0.25rem 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
}

.coupon-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: #111;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition);
}

.coupon-card__cta:hover {
    background: var(--accent-hover);
}

.coupon-card__cta svg {
    width: 18px;
    height: 18px;
}

.coupon-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--muted);
}

.coupon-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* --- Pagination --- */
.pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    margin-top: 2.5rem;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    color: var(--muted);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.pagination a:hover {
    color: var(--text);
    background: var(--card);
}

.pagination .is-active span {
    background: var(--accent);
    color: #111;
    font-weight: 600;
}

.pagination .is-disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- SEO Content --- */
.seo-content {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.seo-content h2 {
    font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem);
    margin: 0 0 1rem;
}

.seo-content h3 {
    font-size: 1.125rem;
    margin: 2rem 0 0.75rem;
}

.seo-content p {
    max-width: 68ch;
    color: var(--muted);
    margin: 0 0 1rem;
}

.seo-content ul,
.seo-content ol {
    max-width: 68ch;
    color: var(--muted);
    padding-left: 1.25rem;
    margin: 0 0 1.25rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
}

.seo-content li strong {
    color: var(--text);
}

/* --- FAQ --- */
.faq-section {
    margin-top: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 800px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 1.25rem 1rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* --- CTA --- */
.cta-section {
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
}

.cta-section h2 {
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem);
    margin: 0 0 0.75rem;
}

.cta-section p {
    color: var(--muted);
    max-width: 48ch;
    margin: 0 auto 1.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--accent);
    color: #111;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    transition: background var(--transition), transform var(--transition);
}

.cta-btn:hover {
    background: var(--accent-hover);
    color: #111;
    transform: translateY(-1px);
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 3rem 0 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.site-footer__logo {
    margin-bottom: 1rem;
}

.site-footer__logo img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.site-footer__about p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.site-footer__social {
    display: flex;
    gap: 0.625rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--accent-border);
    color: var(--accent);
    transition: background var(--transition);
}

.social-link:hover {
    background: var(--accent-soft);
    color: var(--accent-hover);
}

.site-footer h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    color: var(--text);
    transition: border-color var(--transition), background var(--transition);
}

.brand-link:hover {
    border-color: var(--accent-border);
    background: var(--card-hover);
    color: var(--text);
}

.brand-link img {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.brand-link small {
    display: block;
    color: var(--muted);
    font-size: 0.8125rem;
}

.trust-item {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.trust-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    color: var(--accent);
}

.trust-item h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.trust-item p {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.site-footer__bottom {
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

/* --- Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-overlay.is-closing {
    animation: fadeOut 0.24s ease forwards;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

.coupon-modal {
    width: min(100%, 480px);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.coupon-modal__header {
    position: relative;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.coupon-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1;
    z-index: 2;
}

.coupon-modal__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    padding-right: 2rem;
}

.coupon-modal__brand {
    font-size: 0.8125rem;
    color: var(--accent);
    margin: 0;
}

.coupon-modal__body {
    padding: 1.5rem;
}

.coupon-modal__step {
    display: none;
}

.coupon-modal__step.is-active {
    display: block;
}

.coupon-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem;
    background: var(--accent);
    color: #111;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.coupon-modal__btn:hover {
    background: var(--accent-hover);
}

.coupon-modal__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.coupon-modal__progress {
    height: 4px;
    background: var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin: 1rem 0;
}

.coupon-modal__progress-bar {
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width 0.1s linear;
}

.coupon-modal__message {
    text-align: center;
    color: var(--muted);
    font-size: 0.9375rem;
    min-height: 1.5rem;
}

.coupon-modal__code-box {
    text-align: center;
    padding: 1.25rem;
    background: var(--bg);
    border: 1px dashed var(--accent-border);
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.coupon-modal__code-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.coupon-modal__code {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    letter-spacing: 0.05em;
}

.coupon-modal__loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

body.modal-open {
    overflow: hidden;
}

.count.updating {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    50% { opacity: 0.5; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .coupon-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .coupon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .site-header__inner {
        flex-wrap: wrap;
    }

    .site-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .coupon-grid {
        grid-template-columns: 1fr;
    }

    .container {
        width: min(100% - 1.25rem, var(--container));
    }

    .main-content {
        padding: 1.5rem 0 3rem;
    }
}

/* --- Brand pages --- */
.brand-page {
    padding: 2rem 0 4rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb__sep {
    opacity: 0.5;
}

.brand-page__layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 2rem;
    align-items: start;
}

.brand-sidebar {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.brand-panel__logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 0 auto 1rem;
    border: 1px solid var(--border);
}

.brand-panel__title {
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.brand-panel__desc {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
    text-align: center;
}

.brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.brand-stat {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.875rem 0.5rem;
    text-align: center;
}

.brand-stat__icon {
    color: var(--accent);
    font-size: 1.125rem;
    margin-bottom: 0.35rem;
}

.brand-stat__value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-stat__label {
    font-size: 0.6875rem;
    color: var(--muted);
    text-transform: lowercase;
    margin-top: 0.25rem;
    line-height: 1.3;
}

.brand-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-rating__stars {
    display: flex;
    gap: 0.15rem;
    color: var(--accent);
}

.brand-rating__stars svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.brand-rating__score {
    font-size: 1.125rem;
    font-weight: 700;
}

.brand-rating__count {
    color: var(--muted);
    font-size: 0.875rem;
}

.brand-tips h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.brand-tips li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.brand-tips li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.brand-coupons__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.brand-coupons__header h2 {
    margin: 0;
    font-size: 1.375rem;
}

.brand-coupons__count {
    color: var(--muted);
    font-size: 0.875rem;
}

.brand-coupons .coupon-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (max-width: 1024px) {
    .brand-page__layout {
        grid-template-columns: 1fr;
    }

    .brand-sidebar {
        position: static;
    }

    .brand-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .brand-stats {
        grid-template-columns: 1fr;
    }

    .brand-panel__logo {
        width: 96px;
        height: 96px;
    }
}
