:root {
    color-scheme: light;
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-soft: #f2f5f7;
    --text: #1f2937;
    --muted: #667085;
    --soft-text: #8a94a6;
    --primary: #0f8b8d;
    --primary-strong: #0b6f71;
    --primary-soft: #e7f6f3;
    --primary-contrast: #ffffff;
    --gold: var(--primary);
    --success: #139b58;
    --danger: #ff6b6b;
    --border: #e6e9ee;
    --border-strong: #d9dee7;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.07);
    --focus-ring: 0 0 0 4px rgba(15, 139, 141, 0.24);
    --radius: 8px;
    --section-space: 32px;
    --card-padding: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.7;
}

.reading-page {
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 20;
    border-block-end: 1px solid #e9ecf0;
    background: #feffff;
    color: #1f2937;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    backdrop-filter: blur(18px);
}

.site-header > .container,
.site-footer > .container {
    width: min(100% - 32px, 1160px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: max-content;
    font-size: 1.04rem;
    font-weight: 850;
    line-height: normal;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.brand-icon {
    flex: 0 0 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #667085;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.main-nav a,
.header-action {
    border-radius: 999px;
    padding: 8px 12px;
    line-height: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.header-action:hover {
    background: #f2f5f7;
    color: #1f2937;
}

.header-action {
    border: 1px solid #e6e9ee;
    background: #ffffff;
    color: #0f8b8d;
    font-size: 0.88rem;
    font-weight: 850;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.brand:focus-visible,
.main-nav a:focus-visible,
.header-action:focus-visible,
.site-footer a:focus-visible {
    outline: 3px solid rgba(8, 117, 111, 0.24);
    outline-offset: 3px;
}

.quick-search {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    padding: 10px 12px;
    outline: none;
}

.quick-search:focus,
.radar-input:focus {
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
}

.hero {
    padding: 36px 0 24px;
}

.hero-grid {
    display: grid;
    gap: 12px;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero h1,
.article-header h1 {
    margin: 10px 0;
    font-size: clamp(1.2rem, 3.2vw, 1.85rem);
    line-height: 1.24;
    font-weight: 800;
}

.section-heading h2,
.overview-grid h2,
.related-coupons-widget h2,
.article-content h2 {
    margin: 8px 0;
    font-size: clamp(1.05rem, 2.3vw, 1.3rem);
    line-height: 1.32;
    font-weight: 800;
}

h3 {
    font-size: 1rem;
    line-height: 1.35;
}

.hero p,
.section-heading p,
p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

.radar-form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.radar-input {
    min-height: 92px;
    resize: vertical;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    padding: 12px;
    outline: none;
}

.primary-button,
.coupon-button,
.spin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.primary-button:hover,
.coupon-button:hover,
.spin-button:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
}

.primary-button:disabled,
.spin-button:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.is-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.radar-card,
.loading-card,
.alert-card,
.coupon-card,
.store-card,
.wheel-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.radar-card,
.loading-card,
.alert-card {
    margin-top: 12px;
    padding: 14px;
}

.alert-card {
    color: var(--danger);
}

.loading-card {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
}

.spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.16);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.section {
    padding: 26px 0;
}

.section-heading {
    margin-bottom: 14px;
}

.wheel-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.wheel-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
}

.wheel-pointer {
    position: absolute;
    top: 6px;
    z-index: 2;
    width: 0;
    height: 0;
    border-right: 16px solid transparent;
    border-left: 16px solid transparent;
    border-top: 34px solid var(--gold);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.wheel {
    position: relative;
    width: min(76vw, 320px);
    aspect-ratio: 1;
    border: 10px solid var(--surface-2);
    border-radius: 50%;
    background: conic-gradient(
        var(--primary) 0deg 60deg,
        var(--gold) 60deg 120deg,
        var(--success) 120deg 180deg,
        #e83e8c 180deg 240deg,
        #6f42c1 240deg 300deg,
        #fd7e14 300deg 360deg
    );
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18), var(--shadow);
    transition: transform 3.8s cubic-bezier(0.12, 0.76, 0.18, 1);
}

.wheel::after {
    content: "وفر";
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    color: var(--gold);
    font-weight: 900;
    transform: translate(-50%, -50%);
}

.wheel-labels {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 12px;
}

.store-card,
.coupon-card {
    padding: 14px;
}

.store-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-logo {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--gold);
    font-weight: 900;
}

.store-logo-badge {
    position: relative;
    overflow: hidden;
}

.store-logo-svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: visible;
}

.store-logo-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius);
}

.store-logo-text-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
}

.overview-grid {
    display: grid;
    gap: 12px;
}

.overview-grid article,
.faq-list {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 14px;
}

.overview-grid p,
.faq-item p {
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.faq-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.coupon-card {
    display: grid;
    gap: 10px;
}

.coupon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.coupon-code {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--text);
    padding: 6px 10px;
    overflow-wrap: anywhere;
    font-weight: 900;
}

.modal-root[hidden],
.toast[hidden],
[hidden] {
    display: none !important;
}

.modal-root {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 18px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal-panel {
    position: relative;
    width: min(460px, 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 18px;
    box-shadow: var(--shadow);
}

.modal-root:not([hidden]) .modal-panel {
    animation: dialog-enter 160ms ease-out;
}

.icon-button {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
}

.toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 80;
    max-width: min(360px, calc(100% - 32px));
    border: 1px solid rgba(255, 193, 7, 0.45);
    border-radius: var(--radius);
    background: #191919;
    color: var(--text);
    padding: 12px 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    border-block-start: 1px solid #e6e9ee;
    background: #ffffff;
    color: #1f2937;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.footer-inner {
    display: grid;
    padding-block: 72px 56px;
}

.site-footer .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
    align-items: start;
    gap: clamp(76px, 9vw, 132px);
    width: 100%;
}

.site-footer .footer-about {
    display: grid;
    gap: 22px;
    justify-items: start;
}

.footer-brand {
    margin-block-end: 0;
}

.footer-brand .brand-icon {
    width: 38px;
    height: 38px;
}

.footer-brand span {
    font-size: 1.08rem;
}

.site-footer p {
    max-width: 300px;
    margin: 0;
    color: #667085;
    font-size: 0.92rem;
    line-height: 1.85;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.site-footer .footer-nav-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    color: #667085;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.site-footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-nav-column li,
.site-footer .footer-nav-column a {
    display: block;
    width: auto;
}

.site-footer .footer-nav-column a {
    color: #667085;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.footer-nav-title {
    margin-bottom: 2px;
    color: #1f2937;
    font-size: 0.96rem;
    font-weight: 750;
    line-height: 1.4;
}

.site-footer a:hover {
    color: #0f8b8d;
}

.footer-copyright {
    border-block-start: 1px solid #e6e9ee;
    padding-block: 24px 22px;
}

.footer-copyright .container {
    width: min(100% - 32px, 1160px);
}

.footer-copyright p {
    max-width: none;
    margin: 0;
    color: #667085;
    font-size: 0.84rem;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 920px) {
    .main-nav {
        display: none;
    }

    .footer-inner {
        padding-block: 64px 50px;
    }

    .site-footer .footer-main {
        gap: 44px;
    }
}

@media (max-width: 760px) {
    .footer-inner {
        padding-block: 56px 44px;
        grid-template-columns: 1fr;
    }

    .site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .site-footer .footer-nav-column,
    .site-footer .footer-links {
        align-items: flex-start;
    }

    .site-footer p {
        max-width: 300px;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 62px;
    }

    .header-action {
        display: none;
    }
}

.blog-hero {
    padding-bottom: 18px;
}

.blog-grid {
    display: grid;
    gap: 12px;
}

.blog-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.blog-card-clean {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.blog-card-clean p,
.plain-meta {
    color: var(--muted);
}

.blog-card-clean h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
}

.clean-thumb {
    min-height: 150px;
    background: transparent;
}

.clean-thumb img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: 0;
}

.muted-link {
    color: var(--muted);
}

.blog-thumb {
    display: grid;
    min-height: 170px;
    place-items: center;
    background: transparent;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 900;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-card-body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.blog-card h3 {
    margin: 0;
    line-height: 1.35;
}

.blog-card p {
    margin: 0;
    color: var(--muted);
}

.blog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.text-link {
    color: var(--gold);
    font-weight: 800;
}

.article-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 12px;
}

.article-premium {
    color: var(--text);
}

.premium-article-header {
    max-width: 850px;
}

.premium-article-header h1 {
    color: var(--text);
    font-size: clamp(1.65rem, 4vw, 2.55rem);
}

.premium-article-header p {
    color: var(--muted);
    font-size: 1.08rem;
}

.premium-toc {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.article-reading-layout {
    display: grid;
    gap: 22px;
    align-items: start;
}

.article-longform {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
    padding: 24px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-longform section + section {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.article-longform p,
.article-longform li {
    color: var(--muted);
    font-size: 1.1rem;
}

.article-longform h2 {
    color: var(--text);
    margin-top: 34px;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.article-longform h3 {
    color: var(--text);
    margin: 24px 0 8px;
}

.article-longform ul,
.article-longform ol {
    padding-inline-start: 24px;
}

.article-longform blockquote {
    margin: 24px 0;
    border-right: 4px solid var(--primary);
    background: var(--surface-2);
    padding: 14px 18px;
    color: var(--text);
}

.article-lead {
    font-size: 1.18rem !important;
    color: var(--text) !important;
}

.article-callout,
.article-coupon-callout {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    padding: 14px 16px;
    margin: 22px 0;
}

.article-coupon-callout {
    display: grid;
    gap: 10px;
}

.soft-widget {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.article-header {
    display: grid;
    gap: 10px;
    max-width: 820px;
    margin-bottom: 20px;
}

.article-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

.article-meta span,
.article-meta time {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 4px 8px;
}

.table-of-contents {
    display: grid;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 12px;
    margin-bottom: 12px;
}

.table-of-contents nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-of-contents a {
    color: var(--muted);
    border-bottom: 1px solid transparent;
}

.table-of-contents a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.article-layout {
    display: grid;
    gap: 12px;
    align-items: start;
}

.article-content {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 16px;
    box-shadow: var(--shadow);
}

.article-content section + section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.article-content p {
    margin: 0;
    color: var(--muted);
}

.related-coupons-widget {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(255, 193, 7, 0.24);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 14px;
    box-shadow: var(--shadow);
}

.related-coupons-widget h2 {
    margin: 0;
}

.mini-coupon-card {
    display: grid;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    padding: 10px;
}

.mini-coupon-card h3 {
    margin: 0;
    font-size: 0.95rem;
}

.static-page {
    padding: 34px 0;
}

.static-page-inner {
    max-width: 840px;
}

.static-page h1 {
    margin: 8px 0;
    font-size: clamp(1.2rem, 3.2vw, 1.85rem);
    line-height: 1.24;
    font-weight: 800;
}

.static-page-lead {
    color: var(--muted);
    max-width: 680px;
}

.static-page-content {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 18px;
    box-shadow: var(--shadow);
}

.static-page-long {
    color: var(--text);
}

.longform-panel {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.longform-panel h2 {
    color: var(--text);
    margin: 0 0 8px;
}

.longform-panel p {
    color: var(--muted);
    line-height: 1.85;
    font-size: 1.05rem;
}

.static-page-template .static-page {
    padding-top: 12px;
}

.static-page-template .static-page-inner {
    max-width: 900px;
}

.static-page-template .static-page h1 {
    margin: 2px 0 6px;
    color: var(--text);
    font-size: clamp(1.85rem, 2.6vw, 2.125rem);
    line-height: 1.18;
    font-weight: 720;
    letter-spacing: 0;
}

.static-page-template .static-page-lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.static-page-template .eyebrow,
.static-page-template .static-page-breadcrumb {
    font-size: 0.8125rem;
    line-height: 1.6;
}

.static-page-template .static-page-content {
    max-width: 900px;
    margin-top: 15px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.static-page-template .static-page-content section + section,
.static-page-template .static-page-callout {
    margin-top: 15px;
}

.static-page-template .static-page-callout p {
    margin: 8px 0 0;
}

.stores-directory-search {
    max-width: 520px;
}

.directory-tools {
    display: grid;
    gap: 12px;
}

.directory-search-form {
    display: flex;
    max-width: 640px;
    flex-wrap: wrap;
    gap: 8px;
}

.directory-search-form .quick-search {
    flex: 1 1 260px;
}

.directory-search-button {
    min-height: 40px;
    padding: 0 16px;
}

.directory-filter-placeholder {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.directory-filter-placeholder button,
.directory-filter-placeholder a {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
    padding: 7px 10px;
    font-weight: 800;
}

.directory-filter-placeholder a.is-active {
    border-color: var(--primary);
    color: var(--primary);
}

.store-directory-card {
    min-height: 84px;
}

.store-card-content {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.store-card-title {
    color: var(--text);
    font-weight: 900;
}

.store-card-meta,
.coupon-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.store-card-badge {
    color: var(--success);
}

.stores-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.stores-pagination a,
.stores-pagination span {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
    padding: 7px 10px;
}

.stores-pagination a:hover,
.stores-pagination span[aria-current="page"] {
    border-color: var(--primary);
    color: var(--primary);
}

.coupon-directory-card,
.deal-directory-card,
.category-directory-card {
    display: grid;
    gap: 12px;
    align-content: start;
    color: inherit;
}

.coupon-directory-card {
    min-height: 178px;
}

.coupon-store-logo {
    width: 48px;
    height: 48px;
}

.coupon-card-content {
    display: grid;
    gap: 7px;
}

.coupon-store-name {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 850;
}

.coupon-discount-text {
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
}

.coupon-availability {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 850;
}

.coupon-card-meta {
    align-items: center;
}

.coupon-card-cta {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--primary-contrast);
    padding: 7px 12px;
    font-size: 0.88rem;
    font-weight: 850;
    cursor: pointer;
    text-align: center;
}

.coupon-deal-helper {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.45;
}

.coupon-claim-dialog {
    display: grid;
    width: min(500px, 100%);
    gap: 14px;
    justify-items: center;
    padding: 28px 26px;
    text-align: center;
}

.coupon-claim-store {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 850;
}

.coupon-claim-logo {
    width: auto;
    max-width: 112px;
    height: auto;
    max-height: 42px;
    object-fit: contain;
}

.coupon-claim-store-link {
    color: var(--text);
    font-weight: 900;
}

.coupon-claim-store-link:hover {
    color: var(--primary);
}

.coupon-claim-dialog h3,
.coupon-claim-dialog p {
    margin: 0;
}

.coupon-claim-dialog h3 {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.35;
}

.coupon-claim-dialog p {
    max-width: 32rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.coupon-claim-code {
    justify-content: center;
    width: min(100%, 380px);
    border-width: 2px;
    border-color: rgba(15, 139, 141, 0.32);
    background: var(--surface-2);
    color: var(--text);
    padding: 18px 20px;
    font-size: clamp(1.55rem, 7vw, 2.35rem);
    letter-spacing: 0.08em;
    text-align: center;
}

.coupon-claim-actions {
    display: grid;
    width: min(100%, 380px);
    gap: 10px;
}

.coupon-claim-actions .primary-button {
    min-height: 48px;
    justify-content: center;
    font-size: 1rem;
}

@keyframes dialog-enter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.deal-directory-card {
    grid-template-rows: 184px minmax(0, 1fr);
    gap: 8px;
    height: 100%;
    min-height: 294px;
    padding-block-end: 12px;
    overflow: hidden;
}

.deal-card-thumbnail {
    display: grid;
    width: calc(100% + (var(--card-padding) * 2));
    height: 184px;
    margin-block-start: calc(var(--card-padding) * -1);
    margin-inline: calc(var(--card-padding) * -1);
    place-items: center;
    overflow: hidden;
    border-start-start-radius: inherit;
    border-start-end-radius: inherit;
}

.deal-card-thumbnail-img {
    width: 100%;
    min-height: 100%;
    height: auto;
    object-fit: cover;
}

.deal-card-thumbnail-logo {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.deal-card-thumbnail-logo[hidden],
.deal-card-thumbnail-img[hidden] {
    display: none;
}

.deal-card-thumbnail-logo .store-logo,
.deal-card-thumbnail-logo .coupon-store-logo {
    width: min(96px, 58%);
    height: min(72px, 58%);
    border: 0;
    background: transparent;
    box-shadow: none;
}

.deal-card-thumbnail-logo .store-logo-img,
.deal-card-thumbnail-logo .store-logo-svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.deal-directory-card .coupon-card-content {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 8px;
    align-content: start;
}

.deal-directory-card .deal-title-text {
    order: 1;
    grid-column: 1 / -1;
}

.deal-directory-card .coupon-discount-text {
    order: 2;
    grid-column: 1;
}

.deal-directory-card .coupon-store-name {
    order: 3;
    grid-column: 1 / -1;
}

.deal-directory-card .coupon-card-meta {
    order: 2;
    grid-column: 2;
    justify-self: end;
    line-height: 1.15;
    white-space: nowrap;
}

.deal-directory-card .deal-card-badge {
    display: none;
}

.deal-title-text {
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.35;
}

.deal-title-text,
.deal-directory-card .coupon-discount-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.deal-title-text {
    min-height: 2.7em;
    -webkit-line-clamp: 2;
}

.deal-directory-card .coupon-discount-text {
    min-height: 0;
    -webkit-line-clamp: 1;
}

.deal-card-badge {
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    padding: 3px 8px;
}

.category-directory-card {
    min-height: 190px;
}

.category-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--gold);
    font-weight: 900;
}

.category-card-description {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.directory-empty-state p {
    margin: 4px 0 0;
}

.category-detail-page main {
    background: var(--bg);
}

.category-breadcrumb {
    padding: 18px 0 8px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.category-breadcrumb .container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

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

.category-hero-section {
    padding: 0 0 48px;
    background: var(--bg);
}

.category-hero {
    display: grid;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 18px 20px;
    box-shadow: var(--shadow);
}

.category-hero-main {
    display: grid;
    gap: 8px;
}

.category-hero-main h1,
.category-copy-section h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.28rem, 2.4vw, 1.72rem);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

.category-hero-main p,
.category-copy-section p {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.category-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.category-stats div {
    display: grid;
    gap: 4px;
}

.category-stats dt {
    order: 2;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.category-stats dd {
    order: 1;
    margin: 0;
    color: var(--text);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 900;
    line-height: 1.1;
}

.category-section-muted {
    background: var(--surface-soft);
}

.category-copy-section {
    display: grid;
    gap: 10px;
}

.category-detail-page .section {
    padding-top: 0;
    padding-bottom: 52px;
}

.category-detail-page .section-heading {
    margin-bottom: 20px;
}

.category-detail-page .category-hero-section + .section,
.category-detail-page .section + .section {
    margin-top: 0;
}

.category-detail-page .category-breadcrumb {
    padding-bottom: 8px;
}

.category-detail-page .category-balanced-grid {
    width: min(100%, 760px);
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-detail-page .store-category-card {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 112px;
    gap: 6px;
    padding: 12px 14px;
    text-align: center;
    transition: transform 190ms ease, border-color 190ms ease;
}

.category-detail-page .store-category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-detail-page .store-category-card .store-logo,
.category-detail-page .store-category-card .store-logo-badge {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.category-detail-page .store-category-card .store-logo-img,
.category-detail-page .store-category-card .store-logo-svg {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
}

.category-detail-page .store-category-card .store-card-content {
    justify-items: center;
    gap: 3px;
}

.category-detail-page .store-category-card .store-card-meta {
    justify-content: center;
    gap: 5px;
    font-weight: 500;
}

.category-detail-page .store-category-card .store-card-meta-number {
    font-weight: 700;
}

.category-detail-page .store-category-card .store-card-meta-label {
    font-weight: 500;
}

.category-detail-page .category-stores-link {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 800;
}

.static-page-content p {
    margin: 0;
}

.contact-form {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--text);
    padding: 10px 12px;
    outline: none;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
}

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

@media (min-width: 720px) {
    .radar-form {
        grid-template-columns: 1fr auto;
        align-items: stretch;
    }

    .radar-input {
        min-height: 64px;
    }

    .wheel-panel {
        grid-template-columns: 1fr 0.9fr;
        align-items: center;
    }

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

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

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

    .article-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .article-reading-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .related-coupons-widget {
        position: sticky;
        top: 96px;
    }

    .overview-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }

}

@media (min-width: 980px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Final readability and layout corrections */
.reading-page {
    background: var(--bg);
    color: var(--text);
}

.article-premium,
.premium-article-header,
.premium-article-header h1,
.premium-article-header p {
    color: var(--text);
}

.premium-article-header p,
.article-meta,
.plain-meta {
    color: var(--muted);
}

.premium-toc {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: none;
}

.premium-toc a,
.table-of-contents a {
    color: var(--muted);
}

.article-reading-layout {
    display: grid;
    gap: 22px;
    align-items: start;
}

.article-content,
.article-longform {
    max-width: 760px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: none;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content p,
.article-content li,
.article-content blockquote,
.article-longform p,
.article-longform li,
.article-longform blockquote {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content h2,
.article-content h3,
.article-longform h2,
.article-longform h3 {
    color: var(--text);
}

.article-lead {
    color: var(--text) !important;
    font-size: 1.08rem !important;
}

.article-content blockquote,
.article-longform blockquote,
.article-callout,
.article-coupon-callout {
    border: 0;
    border-left: 4px solid var(--primary);
    background: var(--surface-2);
    color: var(--text);
    padding: 12px 16px;
}

.article-coupon-callout strong,
.article-callout strong {
    color: var(--text);
}

.soft-widget,
.related-coupons-widget {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: none;
}

.soft-widget .mini-coupon-card,
.related-coupons-widget .mini-coupon-card {
    background: var(--surface-2);
}

.soft-widget p,
.related-coupons-widget p {
    color: var(--muted);
}

.blog-thumb,
.clean-thumb {
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: 200px;
    overflow: hidden;
    background: transparent;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: none;
}

.blog-thumb img,
.clean-thumb img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.blog-thumb img[src$=".svg"],
.clean-thumb img[src$=".svg"] {
    object-fit: contain;
    padding: 0;
    background: transparent;
}

.blog-card-clean {
    overflow: hidden;
}

@media (min-width: 900px) {
    .article-reading-layout {
        grid-template-columns: minmax(0, 760px) 300px;
        justify-content: center;
        direction: ltr;
    }

    .article-reading-layout > * {
        direction: rtl;
    }

    .related-coupons-widget {
        width: 300px;
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 899px) {
    .article-content,
    .article-longform {
        max-width: 100%;
        padding: 16px;
    }

    .related-coupons-widget {
        width: 100%;
    }
}

.offer-detail-page .offer-hero-section {
    padding: 10px 0 18px;
    background: var(--bg);
}

.offer-detail-page .offer-hero {
    display: grid;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 16px 20px;
    box-shadow: var(--shadow);
}

.offer-detail-page .offer-hero-main {
    display: grid;
    gap: 10px;
}

.offer-detail-page .offer-store-line,
.offer-detail-page .offer-badge-row,
.offer-detail-page .offer-store-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.offer-detail-page .offer-store-line {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.offer-detail-page .offer-store-logo {
    width: auto;
    max-width: 96px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
}

.offer-detail-page .offer-hero h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.2rem, 2.1vw, 1.55rem);
    line-height: 1.22;
    font-weight: 900;
}

.offer-detail-page .offer-discount-badge,
.offer-detail-page .offer-muted-badge {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.78rem;
    font-weight: 850;
}

.offer-detail-page .offer-discount-badge {
    background: #e7f6f3;
    color: var(--primary);
}

.offer-detail-page .offer-muted-badge {
    background: var(--surface-soft);
    color: var(--muted);
}

.offer-detail-page .offer-hero-media {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.offer-detail-page .offer-hero-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.offer-detail-page .offer-action-card {
    display: grid;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 16px;
    box-shadow: var(--shadow);
}

.offer-detail-page .offer-card-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.offer-detail-page .offer-code {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    border: 1px dashed var(--border-strong);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text);
    padding: 7px 12px;
    overflow-wrap: anywhere;
    font-size: 1rem;
    font-weight: 900;
}

.offer-detail-page .coupon-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.offer-detail-page .offer-store-summary {
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 14px 16px;
    box-shadow: var(--shadow);
}

.offer-detail-page .offer-store-summary strong {
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
}

@media (max-width: 979px) {
}

@media (min-width: 761px) {

    .offer-detail-page .offer-hero.has-media {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    }

    .offer-detail-page .offer-action-card {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 760px) {
}/* Global visual system normalization */
.reading-page,
.offer-detail-page,
.category-detail-page {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-soft: #f2f5f7;
    --text: #1f2937;
    --muted: #667085;
    --soft-text: #8a94a6;
    --primary: #0f8b8d;
    --primary-strong: #0b6f71;
    --primary-soft: #e7f6f3;
    --primary-contrast: #ffffff;
    --gold: var(--primary);
    --success: #139b58;
    --border: #e6e9ee;
    --border-strong: #d9dee7;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.07);
    --focus-ring: 0 0 0 4px rgba(15, 139, 141, 0.24);
    --radius: 8px;
    background: var(--bg);
    color: var(--text);
}

.quick-search,
.radar-input,
.contact-form input,
.contact-form textarea,
select {
    border-color: var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
}

.quick-search::placeholder,
.radar-input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--soft-text);
}

.quick-search:focus,
.radar-input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
    outline: none;
}

.primary-button,
.coupon-button,
.spin-button,
.directory-search-button,
.coupon-card-cta {
    border: 0;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--primary-contrast);
    box-shadow: none;
}

.primary-button:hover,
.coupon-button:hover,
.spin-button:hover,
.directory-search-button:hover,
.coupon-card-cta:hover {
    background: var(--primary-strong);
    color: var(--primary-contrast);
    transform: translateY(-1px);
}

.primary-button:focus-visible,
.coupon-button:focus-visible,
.spin-button:focus-visible,
.directory-search-button:focus-visible,
.coupon-card-cta:focus-visible,
.icon-button:focus-visible,
.text-link:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(15, 139, 141, 0.35);
    outline-offset: 3px;
}

.primary-button:disabled,
.coupon-button:disabled,
.spin-button:disabled,
.coupon-card-cta:disabled {
    cursor: not-allowed;
    opacity: 0.58;
    transform: none;
    box-shadow: none;
}.radar-card,
.loading-card,
.alert-card,
.coupon-card,
.store-card,
.wheel-panel,
.blog-card,
.blog-card-clean,
.overview-grid article,
.faq-list,
.article-content,
.article-longform,
.table-of-contents,
.static-page-content,
.longform-panel,
.premium-toc,
.soft-widget,
.related-coupons-widget,
.mini-coupon-card,
.category-hero,
.offer-detail-page .offer-hero,
.offer-detail-page .offer-action-card,
.offer-detail-page .offer-store-summary,
.directory-filter-placeholder button,
.directory-filter-placeholder a {
    border-color: var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}.coupon-card:hover,
.store-card:hover,
.blog-card:hover,
.blog-card-clean:hover,
.mini-coupon-card:hover,
.offer-detail-page .offer-action-card:hover,
.directory-filter-placeholder a:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-hover);
}

.section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.section-heading {
    margin-bottom: 16px;
}.section-heading h2,
.overview-grid h2,
.related-coupons-widget h2,
.article-content h2,
.offer-detail-page .offer-hero h1,
.category-hero-main h1,
.category-copy-section h1 {
    color: var(--text);
    letter-spacing: 0;
}.hero p,
.section-heading p,
p,
.coupon-meta,
.store-card-meta,
.coupon-card-meta,
.plain-meta,
.article-meta,
.article-header p,
.article-content p,
.article-content li,
.article-longform p,
.article-longform li,
.longform-panel p,
.blog-card p,
.blog-card-clean p,
.category-card-description,
.category-hero-main p,
.category-copy-section p,
.offer-detail-page .offer-store-line,
.offer-detail-page .offer-card-label {
    color: var(--muted);
}.eyebrow,
.text-link,
.table-of-contents a:hover {
    color: var(--primary);
}

.store-logo,
.category-card-icon,
.deal-card-badge,
.coupon-code,
.offer-detail-page .offer-code,
.offer-detail-page .offer-muted-badge,
.directory-filter-placeholder button,
.directory-filter-placeholder a,
.stores-pagination a,
.stores-pagination span {
    border-color: var(--border);
    background: var(--surface-2);
    color: var(--text);
}

.store-logo-text-fallback,
.blog-thumb {
    background: var(--surface-2);
    color: var(--text);
}

.clean-thumb,
.blog-thumb img[src$=".svg"],
.clean-thumb img[src$=".svg"] {
    background: var(--surface-2);
}

.toast {
    border-color: var(--border-strong);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-hover);
}

.store-badge-verified,
.store-card-badge,
.offer-detail-page .offer-discount-badge {
    color: var(--success);
}.category-section-muted {
    background: var(--surface-soft);
}

/* Visible global visual-system polish */
:root {
    color-scheme: light;
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-soft: #f2f5f7;
    --text: #1f2937;
    --muted: #667085;
    --soft-text: #8a94a6;
    --primary: #0f8b8d;
    --primary-strong: #0b6f71;
    --primary-soft: #e7f6f3;
    --primary-contrast: #ffffff;
    --success: #139b58;
    --border: #e6e9ee;
    --border-strong: #d9dee7;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.07);
    --focus-ring: 0 0 0 4px rgba(15, 139, 141, 0.24);
    --section-space: clamp(58px, 7vw, 92px);
    --card-padding: 22px;
}body,
.reading-page,
.offer-detail-page,
.category-detail-page {
    background: var(--bg);
    color: var(--text);
}.section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}.section-heading {
    margin-bottom: 26px;
}.section-heading h2,
.offer-detail-page .offer-hero h1,
.category-hero-main h1,
.category-copy-section h1,
.article-header h1 {
    color: var(--text);
    font-size: clamp(1.32rem, 2.4vw, 1.75rem);
    line-height: 1.18;
    font-weight: 900;
}p,
.section-heading p,
.store-card-meta,
.coupon-card-meta,
.article-meta,
.offer-detail-page .offer-store-line,
.offer-detail-page .offer-card-label,
.category-hero-main p,
.category-copy-section p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.78;
}

.quick-search,
.radar-input,
.contact-form input,
.contact-form textarea,
select {
    min-height: 46px;
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.quick-search:focus,
.radar-input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: var(--focus-ring);
}.primary-button,
.coupon-button,
.spin-button,
.directory-search-button,
.coupon-card-cta,
.offer-detail-page .coupon-button {
    min-height: 52px;
    padding-inline: 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 850;
    box-shadow: 0 14px 30px rgba(22, 163, 165, 0.24);
}.primary-button:hover,
.coupon-button:hover,
.spin-button:hover,
.directory-search-button:hover,
.coupon-card-cta:hover,
.offer-detail-page .coupon-button:hover {
    background: var(--primary-strong);
    box-shadow: 0 18px 38px rgba(22, 163, 165, 0.3);
    transform: translateY(-2px);
}.radar-card,
.loading-card,
.alert-card,
.coupon-card,
.store-card,
.wheel-panel,
.blog-card,
.blog-card-clean,
.overview-grid article,
.faq-list,
.article-content,
.article-longform,
.table-of-contents,
.static-page-content,
.longform-panel,
.premium-toc,
.soft-widget,
.related-coupons-widget,
.mini-coupon-card,
.category-hero,
.coupon-directory-card,
.deal-directory-card,
.category-directory-card,
.offer-detail-page .offer-hero,
.offer-detail-page .offer-action-card,
.offer-detail-page .offer-store-summary,
.directory-filter-placeholder button,
.directory-filter-placeholder a,
.stores-pagination a,
.stores-pagination span {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}.radar-card,
.loading-card,
.alert-card,
.coupon-card,
.store-card,
.blog-card,
.blog-card-clean,
.overview-grid article,
.faq-list,
.article-content,
.article-longform,
.table-of-contents,
.static-page-content,
.longform-panel,
.premium-toc,
.soft-widget,
.related-coupons-widget,
.mini-coupon-card,
.category-hero,
.coupon-directory-card,
.deal-directory-card,
.category-directory-card,
.offer-detail-page .offer-hero,
.offer-detail-page .offer-action-card,
.offer-detail-page .offer-store-summary {
    padding: var(--card-padding);
}.coupon-card:hover,
.store-card:hover,
.blog-card:hover,
.blog-card-clean:hover,
.mini-coupon-card:hover,
.coupon-directory-card:hover,
.deal-directory-card:hover,
.category-directory-card:hover,
.offer-detail-page .offer-action-card:hover,
.directory-filter-placeholder a:hover {
    border-color: var(--border-strong);
    background: var(--surface-2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}.store-logo,
.category-card-icon,
.deal-card-badge,
.coupon-code,
.offer-detail-page .offer-code,
.offer-detail-page .offer-muted-badge {
    border-color: var(--border);
    background: var(--surface-2);
    color: var(--text);
}.store-logo-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
    box-shadow: var(--shadow);
}.category-section-muted {
    background: var(--surface-soft);
}.stores-directory-grid,
.directory-tools {
    gap: 22px;
}.offer-detail-page .offer-code {
    padding: 12px 18px;
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
}

/* Stores Directory page redesign */
.stores-directory-page {
    --stores-bg: #f6f7f9;
    --stores-surface: #ffffff;
    --stores-muted-surface: #f8fafc;
    --stores-soft-surface: #f2f5f7;
    --stores-text: #1f2937;
    --stores-muted: #667085;
    --stores-soft-text: #8a94a6;
    --stores-line: #e6e9ee;
    --stores-line-strong: #d9dee7;
    --stores-primary: #0f8b8d;
    --stores-primary-strong: #0b6f71;
    --stores-primary-soft: #e7f6f3;
    --stores-success: #139b58;
    --stores-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --stores-shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.07);
    --stores-shadow-md: 0 18px 42px rgba(15, 23, 42, 0.1);
    --stores-radius-sm: 14px;
    --stores-radius-md: 18px;
    background: var(--stores-bg);
    color: var(--stores-text);
}

.stores-directory-page .quick-search {
    min-height: 44px;
    border: 1px solid var(--stores-line);
    border-radius: 999px;
    background: var(--stores-surface);
    color: var(--stores-text);
    box-shadow: var(--stores-shadow-xs);
}

.stores-directory-page .quick-search::placeholder {
    color: var(--stores-soft-text);
}

.stores-directory-page .quick-search:focus {
    border-color: var(--stores-primary);
    box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.16);
}

.stores-directory-page main {
    background: var(--stores-bg);
}

.stores-directory-page .store-breadcrumb,
.stores-directory-page .category-breadcrumb {
    padding: 20px 0 8px;
    color: var(--stores-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.stores-directory-page .section {
    padding: clamp(46px, 6vw, 72px) 0;
    background: var(--stores-bg);
}

.stores-directory-page .store-section-muted {
    background: var(--stores-muted-surface);
}

.stores-directory-page .store-copy-section {
    max-width: 780px;
}

.stores-directory-page .store-copy-section .eyebrow,
.stores-directory-page .section-heading .eyebrow,
.stores-directory-page .eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--stores-primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
}

.stores-directory-page .store-copy-section h1 {
    margin: 0 0 12px;
    color: var(--stores-text);
    font-size: clamp(1.62rem, 3.5vw, 2.45rem);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
}

.stores-directory-page .store-copy-section p {
    max-width: 720px;
    margin: 0;
    color: var(--stores-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.stores-directory-page .directory-tools {
    gap: 14px;
}

.stores-directory-page .directory-search-form {
    max-width: 760px;
    gap: 10px;
}

.stores-directory-page .directory-search-form .quick-search {
    flex: 1 1 320px;
    min-height: 52px;
    padding: 0 18px;
}

.stores-directory-page .directory-search-button,
.stores-directory-page .primary-button.directory-search-button {
    min-height: 52px;
    border-radius: 999px;
    background: var(--stores-primary);
    color: #fff;
    padding: 0 26px;
    font-size: 0.94rem;
    font-weight: 850;
    box-shadow: 0 10px 22px rgba(15, 139, 141, 0.16);
}

.stores-directory-page .directory-search-button:hover,
.stores-directory-page .primary-button.directory-search-button:hover {
    background: var(--stores-primary-strong);
    box-shadow: 0 14px 28px rgba(15, 139, 141, 0.22);
    transform: translateY(-1px);
}

.stores-directory-page .directory-filter-placeholder {
    gap: 8px;
}

.stores-directory-page .directory-filter-placeholder button,
.stores-directory-page .directory-filter-placeholder a {
    border: 1px solid var(--stores-line);
    border-radius: 999px;
    background: var(--stores-surface);
    color: var(--stores-muted);
    padding: 8px 12px;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: var(--stores-shadow-xs);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.stores-directory-page .directory-filter-placeholder a.is-active,
.stores-directory-page .directory-filter-placeholder a:hover {
    border-color: rgba(15, 139, 141, 0.26);
    background: var(--stores-primary-soft);
    color: var(--stores-primary-strong);
    transform: translateY(-1px);
    box-shadow: var(--stores-shadow-sm);
}

.stores-directory-page .section-heading {
    margin-bottom: 22px;
}

.stores-directory-page .section-heading h2 {
    margin: 0;
    color: var(--stores-text);
    font-size: clamp(1.28rem, 2.3vw, 1.62rem);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: 0;
}

.stores-directory-page .grid.stores-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.stores-directory-page .store-card.store-directory-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 118px;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--stores-line);
    border-radius: var(--stores-radius-sm);
    background: var(--stores-surface);
    color: var(--stores-text);
    padding: 18px;
    box-shadow: var(--stores-shadow-xs);
    transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.stores-directory-page .store-card.store-directory-card:hover {
    border-color: rgba(15, 139, 141, 0.3);
    background: #fff;
    box-shadow: var(--stores-shadow-sm);
    transform: translateY(-3px);
}

.stores-directory-page .store-card.store-directory-card .store-logo,
.stores-directory-page .store-card.store-directory-card .store-logo-badge {
    display: grid;
    width: 74px;
    height: 58px;
    flex: 0 0 74px;
    place-items: center;
    border: 1px solid var(--stores-line);
    border-radius: 12px;
    background: #fff;
    color: var(--stores-primary);
    padding: 10px;
    box-shadow: var(--stores-shadow-xs);
}

.stores-directory-page .store-card.store-directory-card .store-logo-img,
.stores-directory-page .store-card.store-directory-card .store-logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stores-directory-page .store-card-content {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.stores-directory-page .store-card-title {
    color: var(--stores-text);
    overflow-wrap: anywhere;
    font-size: 0.98rem;
    line-height: 1.3;
    font-weight: 900;
}

.stores-directory-page .store-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--stores-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.stores-directory-page .store-card-badge {
    color: var(--stores-success);
}

.stores-directory-page .alert-card.directory-empty-state {
    border: 1px solid var(--stores-line);
    border-radius: var(--stores-radius-sm);
    background: var(--stores-surface);
    color: var(--stores-text);
    padding: 22px;
    box-shadow: var(--stores-shadow-xs);
}

.stores-directory-page .directory-empty-state p {
    color: var(--stores-muted);
}

.stores-directory-page .stores-pagination-placeholder {
    background: var(--stores-bg);
    padding-top: 0;
}

.stores-directory-page .stores-pagination {
    gap: 10px;
}

.stores-directory-page .stores-pagination a,
.stores-directory-page .stores-pagination span {
    border: 1px solid var(--stores-line);
    border-radius: 999px;
    background: var(--stores-surface);
    color: var(--stores-muted);
    padding: 9px 13px;
    font-size: 0.88rem;
    font-weight: 850;
    box-shadow: var(--stores-shadow-xs);
}

.stores-directory-page .stores-pagination a:hover,
.stores-directory-page .stores-pagination span[aria-current="page"] {
    border-color: rgba(15, 139, 141, 0.26);
    background: var(--stores-primary-soft);
    color: var(--stores-primary-strong);
}

@media (max-width: 760px) {
    .stores-directory-page .section {
        padding: 38px 0;
    }

    .stores-directory-page .directory-search-form {
        display: grid;
    }

    .stores-directory-page .directory-search-form .quick-search,
    .stores-directory-page .directory-search-button {
        width: 100%;
    }

    .stores-directory-page .grid.stores-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stores-directory-page .store-card.store-directory-card {
        min-height: 104px;
        padding: 16px;
    }

    .stores-directory-page .store-card.store-directory-card .store-logo,
    .stores-directory-page .store-card.store-directory-card .store-logo-badge {
        width: 66px;
        height: 54px;
    }
}

/* Stores Directory compact header refinement */
.stores-directory-page .store-breadcrumb {
    padding: 16px 0 0;
}

.stores-directory-page main > .section[aria-labelledby="stores-directory-title"] {
    padding: 26px 0 18px;
}

.stores-directory-page main > .section[aria-labelledby="stores-directory-title"] .store-copy-section {
    max-width: 760px;
}

.stores-directory-page main > .section[aria-labelledby="stores-directory-title"] .eyebrow {
    margin-bottom: 6px;
}

.stores-directory-page main > .section[aria-labelledby="stores-directory-title"] h1 {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 2.9vw, 2.08rem);
}

.stores-directory-page main > .section[aria-labelledby="stores-directory-title"] p {
    max-width: 680px;
    font-size: 0.96rem;
    line-height: 1.7;
}

.stores-directory-page main > .section.store-section-muted[aria-label] {
    padding: 0 0 24px;
    background: var(--stores-bg);
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--stores-line);
    border-radius: var(--stores-radius-md);
    background: var(--stores-surface);
    padding: 12px;
    box-shadow: var(--stores-shadow-xs);
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-search-form {
    flex: 1 1 520px;
    max-width: none;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-search-form .quick-search {
    min-height: 48px;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-search-button,
.stores-directory-page main > .section.store-section-muted[aria-label] .primary-button.directory-search-button {
    min-height: 48px;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-filter-placeholder {
    flex: 0 1 auto;
    justify-content: flex-end;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only {
    justify-content: flex-start;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only .directory-filter-placeholder {
    width: 100%;
    justify-content: flex-start;
}

.stores-directory-page main > .section[aria-labelledby="stores-grid-title"] {
    padding: 28px 0 42px;
}

.stores-directory-page main > .section[aria-labelledby="stores-grid-title"] .section-heading {
    margin-bottom: 18px;
}

.stores-directory-page .stores-pagination-placeholder {
    padding-bottom: 44px;
}

@media (max-width: 900px) {
    .stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .stores-directory-page main > .section.store-section-muted[aria-label] .directory-search-form {
        flex-basis: auto;
    }

    .stores-directory-page main > .section.store-section-muted[aria-label] .directory-filter-placeholder {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .stores-directory-page .store-breadcrumb {
        padding-top: 12px;
    }

    .stores-directory-page main > .section[aria-labelledby="stores-directory-title"] {
        padding: 22px 0 14px;
    }

    .stores-directory-page main > .section.store-section-muted[aria-label] {
        padding-bottom: 18px;
    }

    .stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools {
        border-radius: var(--stores-radius-sm);
        padding: 10px;
    }

    .stores-directory-page main > .section[aria-labelledby="stores-grid-title"] {
        padding: 24px 0 34px;
    }
}

/* Stores Directory final polish */
.stores-directory-page main > .section[aria-labelledby="stores-directory-title"] {
    padding-top: 10px;
    padding-bottom: 15px;
}

.stores-directory-page main > .section[aria-labelledby="stores-directory-title"] h1 {
    margin-bottom: 6px;
}

.stores-directory-page main > .section.store-section-muted[aria-label] {
    padding-bottom: 6px;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only .directory-filter-placeholder {
    align-items: center;
    gap: 10px;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only .directory-filter-placeholder a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    box-shadow: none;
    line-height: 1;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.stores-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only .directory-filter-placeholder a.is-active {
    border-color: rgba(15, 139, 141, 0.34);
    box-shadow: 0 8px 20px rgba(15, 139, 141, 0.08);
}

.stores-directory-page .store-card.store-directory-card {
    padding: 20px;
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.stores-directory-page .store-card.store-directory-card:hover {
    border-color: rgba(15, 139, 141, 0.28);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    transform: translateY(-2px);
}

.stores-directory-page .store-card.store-directory-card .store-logo,
.stores-directory-page .store-card.store-directory-card .store-logo-badge {
    overflow: hidden;
}

.stores-directory-page .store-card.store-directory-card .store-logo-img,
.stores-directory-page .store-card.store-directory-card .store-logo-svg {
    max-width: 100%;
    max-height: 100%;
}

.stores-directory-page main > .section[aria-labelledby="stores-grid-title"] {
    padding-top: 24px;
}

.stores-directory-page main > .section[aria-labelledby="stores-grid-title"] .section-heading::after {
    content: "اختر متجرًا لعرض جميع الكوبونات والعروض الخاصة به.";
    display: block;
    margin-top: 6px;
    color: var(--stores-muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .stores-directory-page main > .section[aria-labelledby="stores-directory-title"] {
        padding-top: 9px;
        padding-bottom: 12px;
    }

    .stores-directory-page main > .section.store-section-muted[aria-label] {
        padding-bottom: 5px;
    }

    .stores-directory-page main > .section[aria-labelledby="stores-grid-title"] {
        padding-top: 22px;
    }
}

/* Stores Directory lightweight layout */
.stores-directory-page .grid.stores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.stores-directory-page .store-card.store-directory-card {
    position: relative;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    height: 60px;
    min-height: 60px;
    gap: 12px;
    align-items: center;
    border-color: rgba(15, 23, 42, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.52);
    padding: 9px 14px;
    box-shadow: none;
    transition: background 180ms ease, border-color 180ms ease;
}

.stores-directory-page .store-card.store-directory-card:hover {
    border-color: rgba(15, 139, 141, 0.18);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: none;
    transform: none;
}

.stores-directory-page .store-card.store-directory-card:hover .store-card-title {
    color: var(--stores-primary-strong);
}

.stores-directory-page .store-card.store-directory-card::after {
    content: "";
    width: 8px;
    height: 8px;
    border-color: rgba(15, 23, 42, 0.38);
    border-style: solid;
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
}

.stores-directory-page .store-card.store-directory-card .store-logo,
.stores-directory-page .store-card.store-directory-card .store-logo-badge {
    width: 40px;
    height: 38px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.stores-directory-page .store-card.store-directory-card .store-logo-img,
.stores-directory-page .store-card.store-directory-card .store-logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stores-directory-page .store-card-content {
    align-self: center;
    gap: 0;
}

.stores-directory-page .store-card-title {
    line-height: 1.25;
    transition: color 180ms ease;
}

.stores-directory-page .store-card-meta {
    display: none;
}

@media (max-width: 760px) {
    .stores-directory-page .grid.stores-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stores-directory-page .store-card.store-directory-card {
        height: 58px;
        min-height: 58px;
        padding: 9px 12px;
    }

    .stores-directory-page .store-card.store-directory-card .store-logo,
    .stores-directory-page .store-card.store-directory-card .store-logo-badge {
        width: 38px;
        height: 36px;
    }
}

/* Coupons Directory light alignment */
.coupons-directory-page {
    --coupons-bg: #f6f7f9;
    --coupons-surface: #ffffff;
    --coupons-muted-surface: #f8fafc;
    --coupons-text: #1f2937;
    --coupons-muted: #667085;
    --coupons-line: #e6e9ee;
    --coupons-primary: #0f8b8d;
    --coupons-primary-strong: #0b6f71;
    --coupons-primary-soft: #e7f6f3;
    --coupons-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --coupons-shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.07);
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-soft: #f2f5f7;
    --border: #e6e9ee;
    --border-strong: #d9dee7;
    --text: #1f2937;
    --muted: #667085;
    --soft-text: #8a94a6;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.07);
    background: var(--coupons-bg);
    color: var(--coupons-text);
}

.coupons-directory-page main {
    background: var(--coupons-bg);
}

.coupons-directory-page .store-breadcrumb,
.coupons-directory-page .category-breadcrumb {
    padding: 16px 0 0;
    color: var(--coupons-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.coupons-directory-page .section {
    background: var(--coupons-bg);
}

.coupons-directory-page main > .section[aria-labelledby="coupons-directory-title"] {
    padding-top: 10px;
    padding-bottom: 15px;
}

.coupons-directory-page main > .section[aria-labelledby="coupons-directory-title"] .store-copy-section {
    max-width: 760px;
}

.coupons-directory-page main > .section[aria-labelledby="coupons-directory-title"] .eyebrow,
.coupons-directory-page .section-heading .eyebrow,
.coupons-directory-page .eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--coupons-primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
}

.coupons-directory-page main > .section[aria-labelledby="coupons-directory-title"] h1 {
    margin: 0 0 6px;
    color: var(--coupons-text);
    font-size: clamp(1.5rem, 2.9vw, 2.08rem);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
}

.coupons-directory-page main > .section[aria-labelledby="coupons-directory-title"] p {
    max-width: 680px;
    margin: 0;
    color: var(--coupons-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.coupons-directory-page main > .section.store-section-muted[aria-label] {
    padding: 0 0 6px;
    background: var(--coupons-bg);
}

.coupons-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only {
    justify-content: flex-start;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.coupons-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only .directory-filter-placeholder {
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.coupons-directory-page .directory-filter-placeholder a,
.coupons-directory-page .directory-filter-placeholder button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid var(--coupons-line);
    border-radius: 999px;
    background: var(--coupons-surface);
    color: var(--coupons-muted);
    padding: 8px 12px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.coupons-directory-page .directory-filter-placeholder a.is-active,
.coupons-directory-page .directory-filter-placeholder a:hover {
    border-color: rgba(15, 139, 141, 0.34);
    background: var(--coupons-primary-soft);
    color: var(--coupons-primary-strong);
    box-shadow: 0 8px 20px rgba(15, 139, 141, 0.08);
}

.coupons-directory-page main > .section[aria-labelledby="coupons-grid-title"] {
    padding-top: 24px;
    padding-bottom: 42px;
}

.coupons-directory-page main > .section[aria-labelledby="coupons-grid-title"] .section-heading {
    margin-bottom: 18px;
}

.coupons-directory-page .grid.coupons-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.coupons-directory-page .section-heading h2 {
    margin: 0;
    color: var(--coupons-text);
    font-size: clamp(1.28rem, 2.3vw, 1.62rem);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: 0;
}

.coupons-directory-page .alert-card.directory-empty-state {
    border: 1px solid var(--coupons-line);
    border-radius: 14px;
    background: var(--coupons-surface);
    color: var(--coupons-text);
    padding: 22px;
    box-shadow: var(--coupons-shadow-xs);
}

.coupons-directory-page .directory-empty-state p {
    color: var(--coupons-muted);
}

.coupons-directory-page .stores-pagination-placeholder {
    background: var(--coupons-bg);
    padding-top: 0;
    padding-bottom: 44px;
}

.coupons-directory-page .stores-pagination {
    gap: 10px;
}

.coupons-directory-page .stores-pagination a,
.coupons-directory-page .stores-pagination span {
    border: 1px solid var(--coupons-line);
    border-radius: 999px;
    background: var(--coupons-surface);
    color: var(--coupons-muted);
    padding: 9px 13px;
    font-size: 0.88rem;
    font-weight: 850;
    box-shadow: var(--coupons-shadow-xs);
}

.coupons-directory-page .stores-pagination a:hover,
.coupons-directory-page .stores-pagination span[aria-current="page"] {
    border-color: rgba(15, 139, 141, 0.26);
    background: var(--coupons-primary-soft);
    color: var(--coupons-primary-strong);
}

.coupons-directory-page .coupon-directory-card {
    position: relative;
    width: 100%;
    min-height: 180px;
    height: 180px;
    justify-items: center;
    gap: 6px;
    border-color: var(--coupons-line);
    border-radius: var(--stores-radius-sm);
    background: var(--coupons-surface);
    color: var(--coupons-text);
    padding: 14px 12px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--coupons-shadow-xs);
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.coupons-directory-page .coupon-directory-card:hover {
    border-color: rgba(15, 139, 141, 0.28);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    transform: translateY(-2px);
}

.coupons-directory-page .coupon-directory-card .coupon-store-name,
.coupons-directory-page .coupon-directory-card .coupon-discount-text {
    color: var(--coupons-text);
}

.coupons-directory-page .coupon-directory-card .coupon-card-content {
    display: contents;
}

.coupons-directory-page .coupon-directory-card .coupon-store-name {
    display: none;
}

.coupons-directory-page .coupon-directory-card .coupon-discount-text {
    display: -webkit-box;
    overflow: hidden;
    order: 2;
    width: 100%;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.coupons-directory-page .coupon-directory-card .coupon-availability,
.coupons-directory-page .coupon-directory-card .coupon-card-meta,
.coupons-directory-page .coupon-directory-card .coupon-deal-helper {
    color: var(--coupons-muted);
}

.coupons-directory-page .coupon-directory-card .coupon-availability,
.coupons-directory-page .coupon-directory-card .coupon-deal-helper {
    display: none;
}

.coupons-directory-page .coupon-directory-card .coupon-card-meta {
    order: 3;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    gap: 0;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coupons-directory-page .coupon-directory-card .coupon-card-cta {
    order: 4;
    justify-self: center;
}

.coupons-directory-page .coupon-directory-card .store-badge-verified {
    display: none;
}

.coupons-directory-page .coupon-directory-card .coupon-store-logo {
    position: static;
    order: 1;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.coupons-directory-page .coupon-directory-card .coupon-store-logo .store-logo-img,
.coupons-directory-page .coupon-directory-card .coupon-store-logo .store-logo-svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.coupons-directory-page .modal-close {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.coupons-directory-page .modal-close:hover {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 760px) {
    .coupons-directory-page .grid.coupons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coupons-directory-page .store-breadcrumb {
        padding-top: 12px;
    }

    .coupons-directory-page main > .section[aria-labelledby="coupons-directory-title"] {
        padding-top: 9px;
        padding-bottom: 12px;
    }

    .coupons-directory-page main > .section.store-section-muted[aria-label] {
        padding-bottom: 5px;
    }

    .coupons-directory-page main > .section[aria-labelledby="coupons-grid-title"] {
        padding-top: 22px;
        padding-bottom: 34px;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    .coupons-directory-page .grid.coupons-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Deals Directory light alignment */
.deals-directory-page {
    --coupons-bg: #f6f7f9;
    --coupons-surface: #ffffff;
    --coupons-muted-surface: #f8fafc;
    --coupons-text: #1f2937;
    --coupons-muted: #667085;
    --coupons-line: #e6e9ee;
    --coupons-primary: #0f8b8d;
    --coupons-primary-strong: #0b6f71;
    --coupons-primary-soft: #e7f6f3;
    --coupons-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-soft: #f2f5f7;
    --border: #e6e9ee;
    --border-strong: #d9dee7;
    --text: #1f2937;
    --muted: #667085;
    --soft-text: #8a94a6;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.07);
    background: var(--coupons-bg);
    color: var(--coupons-text);
}

.deals-directory-page main,
.deals-directory-page .section {
    background: var(--coupons-bg);
}

.deals-directory-page .store-breadcrumb,
.deals-directory-page .category-breadcrumb {
    padding: 16px 0 0;
    color: var(--coupons-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.deals-directory-page main > .section[aria-labelledby="deals-directory-title"] {
    padding-top: 10px;
    padding-bottom: 15px;
}

.deals-directory-page main > .section[aria-labelledby="deals-directory-title"] .store-copy-section {
    max-width: 760px;
}

.deals-directory-page main > .section[aria-labelledby="deals-directory-title"] .eyebrow,
.deals-directory-page .section-heading .eyebrow,
.deals-directory-page .eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--coupons-primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
}

.deals-directory-page main > .section[aria-labelledby="deals-directory-title"] h1 {
    margin: 0 0 6px;
    color: var(--coupons-text);
    font-size: clamp(1.5rem, 2.9vw, 2.08rem);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
}

.deals-directory-page main > .section[aria-labelledby="deals-directory-title"] p {
    max-width: 680px;
    margin: 0;
    color: var(--coupons-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.deals-directory-page main > .section.store-section-muted[aria-label] {
    padding: 0 0 6px;
    background: var(--coupons-bg);
}

.deals-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only {
    justify-content: flex-start;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.deals-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only .directory-filter-placeholder {
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.deals-directory-page .directory-filter-placeholder a,
.deals-directory-page .directory-filter-placeholder button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid var(--coupons-line);
    border-radius: 999px;
    background: var(--coupons-surface);
    color: var(--coupons-muted);
    padding: 8px 12px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.deals-directory-page .directory-filter-placeholder a.is-active,
.deals-directory-page .directory-filter-placeholder a:hover {
    border-color: rgba(15, 139, 141, 0.34);
    background: var(--coupons-primary-soft);
    color: var(--coupons-primary-strong);
    box-shadow: 0 8px 20px rgba(15, 139, 141, 0.08);
}

.deals-directory-page main > .section[aria-labelledby="deals-grid-title"] {
    padding-top: 24px;
    padding-bottom: 42px;
}

.deals-directory-page main > .section[aria-labelledby="deals-grid-title"] .section-heading {
    margin-bottom: 18px;
}

.deals-directory-page .section-heading h2 {
    margin: 0;
    color: var(--coupons-text);
    font-size: clamp(1.28rem, 2.3vw, 1.62rem);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: 0;
}

.deals-directory-page .alert-card.directory-empty-state {
    border: 1px solid var(--coupons-line);
    border-radius: 14px;
    background: var(--coupons-surface);
    color: var(--coupons-text);
    padding: 22px;
    box-shadow: var(--coupons-shadow-xs);
}

.deals-directory-page .directory-empty-state p {
    color: var(--coupons-muted);
}

.deals-directory-page .stores-pagination-placeholder {
    background: var(--coupons-bg);
    padding-top: 0;
    padding-bottom: 44px;
}

.deals-directory-page .stores-pagination {
    gap: 10px;
}

.deals-directory-page .stores-pagination a,
.deals-directory-page .stores-pagination span {
    border: 1px solid var(--coupons-line);
    border-radius: 999px;
    background: var(--coupons-surface);
    color: var(--coupons-muted);
    padding: 9px 13px;
    font-size: 0.88rem;
    font-weight: 850;
    box-shadow: var(--coupons-shadow-xs);
}

.deals-directory-page .stores-pagination a:hover,
.deals-directory-page .stores-pagination span[aria-current="page"] {
    border-color: rgba(15, 139, 141, 0.26);
    background: var(--coupons-primary-soft);
    color: var(--coupons-primary-strong);
}

.deals-directory-page .deal-directory-card {
    border-color: var(--coupons-line);
    border-radius: var(--stores-radius-sm);
    background: var(--coupons-surface);
    color: var(--coupons-text);
    box-shadow: var(--coupons-shadow-xs);
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.deals-directory-page .deal-directory-card:hover {
    border-color: rgba(15, 139, 141, 0.28);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    transform: translateY(-2px);
}

.deals-directory-page .deal-directory-card .coupon-store-name,
.deals-directory-page .deal-directory-card .deal-title-text,
.deals-directory-page .deal-directory-card .coupon-discount-text {
    color: var(--coupons-text);
}

.deals-directory-page .deal-directory-card .coupon-store-name {
    font-weight: 900;
}

.deals-directory-page .deal-directory-card .coupon-card-meta {
    color: var(--coupons-muted);
}

.deals-directory-page .deal-directory-card .deal-card-badge {
    border-color: var(--coupons-line);
    background: var(--coupons-muted-surface);
    color: var(--coupons-primary-strong);
}

.deals-directory-page .deal-directory-card .deal-card-thumbnail-logo .store-logo-img,
.deals-directory-page .deal-directory-card .deal-card-thumbnail-logo .store-logo-svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 760px) {
    .deals-directory-page .store-breadcrumb {
        padding-top: 12px;
    }

    .deals-directory-page main > .section[aria-labelledby="deals-directory-title"] {
        padding-top: 9px;
        padding-bottom: 12px;
    }

    .deals-directory-page main > .section.store-section-muted[aria-label] {
        padding-bottom: 5px;
    }

    .deals-directory-page main > .section[aria-labelledby="deals-grid-title"] {
        padding-top: 22px;
        padding-bottom: 34px;
    }
}

/* Categories Directory light alignment */
.categories-directory-page {
    --coupons-bg: #f6f7f9;
    --coupons-surface: #ffffff;
    --coupons-muted-surface: #f8fafc;
    --coupons-text: #1f2937;
    --coupons-muted: #667085;
    --coupons-line: #e6e9ee;
    --coupons-primary: #0f8b8d;
    --coupons-primary-strong: #0b6f71;
    --coupons-primary-soft: #e7f6f3;
    --coupons-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-soft: #f2f5f7;
    --border: #e6e9ee;
    --border-strong: #d9dee7;
    --text: #1f2937;
    --muted: #667085;
    --soft-text: #8a94a6;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.07);
    background: var(--coupons-bg);
    color: var(--coupons-text);
}

.categories-directory-page main,
.categories-directory-page .section {
    background: var(--coupons-bg);
}

.categories-directory-page .store-breadcrumb,
.categories-directory-page .category-breadcrumb {
    padding: 16px 0 0;
    color: var(--coupons-muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.categories-directory-page main > .section[aria-labelledby="categories-directory-title"] {
    padding-top: 10px;
    padding-bottom: 15px;
}

.categories-directory-page main > .section[aria-labelledby="categories-directory-title"] .store-copy-section {
    max-width: 760px;
}

.categories-directory-page main > .section[aria-labelledby="categories-directory-title"] .eyebrow,
.categories-directory-page .section-heading .eyebrow,
.categories-directory-page .eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--coupons-primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
}

.categories-directory-page main > .section[aria-labelledby="categories-directory-title"] h1 {
    margin: 0 0 6px;
    color: var(--coupons-text);
    font-size: clamp(1.5rem, 2.9vw, 2.08rem);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
}

.categories-directory-page main > .section[aria-labelledby="categories-directory-title"] p {
    max-width: 680px;
    margin: 0;
    color: var(--coupons-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.categories-directory-page main > .section.store-section-muted[aria-label] {
    padding: 0 0 6px;
    background: var(--coupons-bg);
}

.categories-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only {
    justify-content: flex-start;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.categories-directory-page main > .section.store-section-muted[aria-label] .directory-tools--sort-only .directory-filter-placeholder {
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.categories-directory-page .directory-filter-placeholder a,
.categories-directory-page .directory-filter-placeholder button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid var(--coupons-line);
    border-radius: 999px;
    background: var(--coupons-surface);
    color: var(--coupons-muted);
    padding: 8px 12px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.categories-directory-page .directory-filter-placeholder a.is-active,
.categories-directory-page .directory-filter-placeholder a:hover {
    border-color: rgba(15, 139, 141, 0.34);
    background: var(--coupons-primary-soft);
    color: var(--coupons-primary-strong);
    box-shadow: 0 8px 20px rgba(15, 139, 141, 0.08);
}

.categories-directory-page main > .section[aria-labelledby="categories-grid-title"] {
    padding-top: 24px;
    padding-bottom: 42px;
}

.categories-directory-page main > .section[aria-labelledby="categories-grid-title"] .section-heading {
    margin-bottom: 18px;
}

.categories-directory-page .section-heading h2 {
    margin: 0;
    color: var(--coupons-text);
    font-size: clamp(1.28rem, 2.3vw, 1.62rem);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: 0;
}

.categories-directory-page .alert-card.directory-empty-state {
    border: 1px solid var(--coupons-line);
    border-radius: 14px;
    background: var(--coupons-surface);
    color: var(--coupons-text);
    padding: 22px;
    box-shadow: var(--coupons-shadow-xs);
}

.categories-directory-page .directory-empty-state p {
    color: var(--coupons-muted);
}

.categories-directory-page .stores-pagination-placeholder {
    background: var(--coupons-bg);
    padding-top: 0;
    padding-bottom: 44px;
}

.categories-directory-page .stores-pagination {
    gap: 10px;
}

.categories-directory-page .stores-pagination a,
.categories-directory-page .stores-pagination span {
    border: 1px solid var(--coupons-line);
    border-radius: 999px;
    background: var(--coupons-surface);
    color: var(--coupons-muted);
    padding: 9px 13px;
    font-size: 0.88rem;
    font-weight: 850;
    box-shadow: var(--coupons-shadow-xs);
}

.categories-directory-page .stores-pagination a:hover,
.categories-directory-page .stores-pagination span[aria-current="page"] {
    border-color: rgba(15, 139, 141, 0.26);
    background: var(--coupons-primary-soft);
    color: var(--coupons-primary-strong);
}

.categories-directory-page .category-directory-card {
    border-color: var(--coupons-line);
    border-radius: var(--stores-radius-sm);
    background: var(--coupons-surface);
    color: var(--coupons-text);
    box-shadow: var(--coupons-shadow-xs);
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.categories-directory-page .category-directory-card:hover {
    border-color: rgba(15, 139, 141, 0.28);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    transform: translateY(-2px);
}

.categories-directory-page .category-directory-card .deal-title-text {
    color: var(--coupons-text);
}

.categories-directory-page .category-directory-card .category-card-description,
.categories-directory-page .category-directory-card .coupon-card-meta {
    color: var(--coupons-muted);
}

.categories-directory-page .category-directory-card .category-card-icon {
    border-color: var(--coupons-line);
    background: var(--coupons-muted-surface);
    color: var(--coupons-primary-strong);
    box-shadow: var(--coupons-shadow-xs);
}

@media (max-width: 760px) {
    .categories-directory-page .store-breadcrumb {
        padding-top: 12px;
    }

    .categories-directory-page main > .section[aria-labelledby="categories-directory-title"] {
        padding-top: 9px;
        padding-bottom: 12px;
    }

    .categories-directory-page main > .section.store-section-muted[aria-label] {
        padding-bottom: 5px;
    }

    .categories-directory-page main > .section[aria-labelledby="categories-grid-title"] {
        padding-top: 22px;
        padding-bottom: 34px;
    }
}

/* Blog Directory light alignment */
.blog-directory-page {
    --blog-bg: #f6f7f9;
    --blog-surface: #ffffff;
    --blog-muted-surface: #f8fafc;
    --blog-text: #1f2937;
    --blog-muted: #667085;
    --blog-line: #e6e9ee;
    --blog-primary: #0f8b8d;
    --blog-primary-strong: #0b6f71;
    --blog-primary-soft: #e7f6f3;
    --blog-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-soft: #f2f5f7;
    --border: #e6e9ee;
    --border-strong: #d9dee7;
    --text: #1f2937;
    --muted: #667085;
    --soft-text: #8a94a6;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.07);
    background: var(--blog-bg);
    color: var(--blog-text);
}

.blog-directory-page main,
.blog-directory-page .section,
.blog-directory-page .hero {
    background: var(--blog-bg);
}

.blog-directory-page .blog-hero {
    padding-top: 34px;
    padding-bottom: 18px;
}

.blog-directory-page .blog-hero .eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--blog-primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
}

.blog-directory-page .blog-hero h1 {
    margin: 0 0 6px;
    color: var(--blog-text);
    font-size: clamp(1.5rem, 2.9vw, 2.08rem);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
}

.blog-directory-page .blog-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--blog-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.blog-directory-page .blog-hero + .section {
    padding-top: 24px;
    padding-bottom: 42px;
}

.blog-directory-page .blog-card-clean {
    border-color: var(--blog-line);
    border-radius: var(--stores-radius-sm);
    background: var(--blog-surface);
    color: var(--blog-text);
    box-shadow: var(--blog-shadow-xs);
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.blog-directory-page .blog-card-clean:hover {
    border-color: rgba(15, 139, 141, 0.28);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    transform: translateY(-2px);
}

.blog-directory-page .blog-card-clean h2,
.blog-directory-page .blog-card-clean h2 a {
    color: var(--blog-text);
}

.blog-directory-page .blog-card-clean p,
.blog-directory-page .plain-meta,
.blog-directory-page .muted-link {
    color: var(--blog-muted);
}

.blog-directory-page .clean-thumb,
.blog-directory-page .blog-thumb img[src$=".svg"],
.blog-directory-page .clean-thumb img[src$=".svg"] {
    background: transparent;
}

.blog-directory-page .text-link {
    color: var(--blog-primary-strong);
}

.blog-directory-page .stores-pagination-placeholder {
    background: var(--blog-bg);
    padding-top: 0;
    padding-bottom: 44px;
}

.blog-directory-page .stores-pagination {
    gap: 10px;
}

.blog-directory-page .stores-pagination a,
.blog-directory-page .stores-pagination span {
    border: 1px solid var(--blog-line);
    border-radius: 999px;
    background: var(--blog-surface);
    color: var(--blog-muted);
    padding: 9px 13px;
    font-size: 0.88rem;
    font-weight: 850;
    box-shadow: var(--blog-shadow-xs);
}

.blog-directory-page .stores-pagination a:hover,
.blog-directory-page .stores-pagination span[aria-current="page"] {
    border-color: rgba(15, 139, 141, 0.26);
    background: var(--blog-primary-soft);
    color: var(--blog-primary-strong);
}

@media (max-width: 760px) {
    .blog-directory-page .blog-hero {
        padding-top: 24px;
        padding-bottom: 12px;
    }

    .blog-directory-page .blog-hero + .section {
        padding-top: 22px;
        padding-bottom: 34px;
    }
}

/* Article Page definitive editorial template */
.article-page {
    --article-bg: #ffffff;
    --article-text: #1f2937;
    --article-secondary: #4b5563;
    --article-muted: #6b7280;
    --article-soft: #f5f7f8;
    --article-line: #e5e9ec;
    --article-accent: #0f8b8d;
    --surface: #ffffff;
    --surface-2: #f5f7f8;
    --border: #e5e9ec;
    --text: #182126;
    --muted: #647076;
    background: var(--article-bg);
    color: var(--article-text);
}

.article-page main {
    background: var(--article-bg);
}

.article-breadcrumb,
.article-editorial {
    width: min(100% - 40px, 920px);
    margin-inline: auto;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 14px;
    color: var(--article-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.article-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

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

.article-editorial {
    padding: 0 0 64px;
}

.article-editorial-header {
    padding: 18px 0 24px;
}

.article-category {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--article-accent);
    font-size: 0.84rem;
    font-weight: 900;
}

.article-editorial-header h1 {
    max-width: 880px;
    margin: 0;
    color: var(--article-text);
    font-size: clamp(2rem, 4.6vw, 3.25rem);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: 0;
}

.article-editorial-header p {
    max-width: 780px;
    margin: 16px 0 0;
    color: var(--article-muted);
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
    line-height: 1.8;
}

.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
    color: var(--article-muted);
    font-size: 0.9rem;
    font-weight: 750;
}

.article-byline span + time::before,
.article-byline time + span::before {
    content: "·";
    margin-inline-end: 14px;
    color: #a0a8ad;
}

.article-featured-media {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    margin: 0 0 40px;
    overflow: hidden;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
}

.article-featured-media img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.article-featured-placeholder {
    width: 100%;
    aspect-ratio: 16 / 7;
    background: linear-gradient(135deg, #f5f7f8, #eaf1f1);
}

.article-body {
    max-width: 820px;
    margin-inline: auto;
    color: var(--article-text);
    font-size: 1.08rem;
    line-height: 1.9;
}

.article-body section + section {
    margin-top: 34px;
}

.article-body h2 {
    margin: 0 0 14px;
    color: var(--article-text);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: 0;
}

.article-body h3 {
    margin: 24px 0 8px;
    color: var(--article-text);
    font-size: clamp(1.08rem, 1.7vw, 1.24rem);
    line-height: 1.35;
    font-weight: 850;
}

.article-body p,
.article-body li {
    color: var(--article-secondary);
    font-size: 1.08rem;
    line-height: 1.9;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
    margin: 12px 0 20px;
    padding-inline-start: 24px;
}

.article-body blockquote,
.article-callout,
.article-coupon-callout {
    margin: 26px 0;
    border: 0;
    border-inline-start: 4px solid var(--article-accent);
    border-radius: 0;
    background: var(--article-soft);
    padding: 16px 18px;
    color: var(--article-text);
    box-shadow: none;
}

.article-page .article-body blockquote,
.article-page .article-body blockquote p,
.article-page .article-callout,
.article-page .article-callout p,
.article-page .article-callout li,
.article-page .article-callout span,
.article-page .article-coupon-callout,
.article-page .article-coupon-callout p,
.article-page .article-coupon-callout li,
.article-page .article-coupon-callout span,
.article-page .article-note,
.article-page .article-tip,
.article-page .article-warning {
    color: var(--article-secondary);
}

.article-page .article-body h1,
.article-page .article-body h2,
.article-page .article-body h3,
.article-page .article-body h4,
.article-page .article-body strong,
.article-page .article-body blockquote strong,
.article-page .article-callout strong,
.article-page .article-coupon-callout strong,
.article-page .article-note strong,
.article-page .article-tip strong,
.article-page .article-warning strong {
    color: var(--article-text);
}

.article-page .article-body a,
.article-page .article-callout a,
.article-page .article-coupon-callout a,
.article-page .article-note a,
.article-page .article-tip a,
.article-page .article-warning a {
    color: var(--article-accent);
}

.article-page .article-body code,
.article-page .article-body pre,
.article-page .article-body kbd,
.article-page .article-body samp {
    color: var(--article-text);
}

.article-page .article-body figcaption,
.article-page .article-body caption,
.article-page .article-featured-media figcaption,
.article-page .table-of-contents,
.article-page .table-of-contents a {
    color: var(--article-muted);
}

.article-faq {
    padding-top: 10px;
}

.static-page-template .article-body {
    font-size: 0.97rem;
    line-height: 1.75;
}

.static-page-template .article-body section + section {
    margin-top: 16px;
}

.static-page-template .article-body h2 {
    margin: 0 0 7px;
    font-size: clamp(1.5rem, 2vw, 1.625rem);
    line-height: 1.28;
    font-weight: 700;
}

.static-page-template .article-body h3 {
    margin: 12px 0 5px;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
}

.static-page-template .article-body p,
.static-page-template .article-body li {
    font-size: 0.97rem;
    line-height: 1.75;
}

.static-page-template .article-body p {
    margin-bottom: 9px;
}

.static-page-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.static-page-feature {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 10px;
    box-shadow: var(--shadow);
}

.static-page-feature h2 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 720;
}

.static-page-feature p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

.static-contact-form {
    max-width: 600px;
    gap: 7px;
    margin-top: 0;
}

.static-contact-form label {
    margin-top: 4px;
}

.static-contact-form .primary-button {
    justify-self: start;
    margin-top: 6px;
}

.static-contact-note {
    max-width: 600px;
}

.static-contact-note ul {
    margin: 10px 0 0;
    padding-inline-start: 22px;
}

.static-contact-note li {
    margin: 4px 0;
}

.faq-accordion {
    display: grid;
    gap: 7px;
}

.faq-accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.static-page-template .article-body .faq-accordion-item h3,
.faq-accordion-item h3 {
    margin: 0;
}

.faq-accordion-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    padding: 11px 13px;
    text-align: start;
    font: inherit;
    font-weight: 700;
    line-height: 1.4;
}

.faq-accordion-trigger::after {
    content: "+";
    float: left;
    color: var(--muted);
    font-weight: 800;
}

.faq-accordion-trigger[aria-expanded="true"]::after {
    content: "-";
}

.faq-accordion-panel {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 180ms ease, opacity 180ms ease;
    opacity: 1;
}

.faq-accordion-panel[aria-hidden="true"] {
    grid-template-rows: 0fr;
    opacity: 0;
}

.faq-accordion-panel > p {
    min-height: 0;
    overflow: hidden;
    padding: 0 13px 11px;
}

@media (max-width: 760px) {
    .static-page-feature-grid {
        grid-template-columns: 1fr;
    }

    .static-page-template .static-page h1 {
        font-size: clamp(1.65rem, 6.5vw, 2rem);
    }

    .static-page-template .article-body h2 {
        font-size: clamp(1.3rem, 4.8vw, 1.5rem);
    }

    .static-page-template .article-body p,
    .static-page-template .article-body li,
    .static-page-template .static-page-lead {
        font-size: 0.95rem;
        line-height: 1.75;
    }
}

.article-related {
    max-width: 820px;
    margin: 46px auto 0;
}

.article-related h2 {
    margin: 0 0 14px;
    color: var(--article-text);
    font-size: clamp(1.18rem, 2vw, 1.42rem);
    line-height: 1.3;
    font-weight: 900;
}

.article-related ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-related a {
    color: var(--article-text);
    text-decoration: none;
}

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

.article-related-articles ul {
    display: grid;
    gap: 16px;
}

.article-related-articles a {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.article-related-articles img {
    width: 118px;
    height: 78px;
    object-fit: contain;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.article-related-articles a > span {
    display: grid;
    gap: 4px;
}

.article-related-articles strong {
    color: var(--article-text);
    font-size: 1rem;
    line-height: 1.45;
}

.article-related-articles span span {
    color: var(--article-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.article-related-stores ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.article-related-stores li + li::before {
    content: "·";
    margin-inline-end: 14px;
    color: #a0a8ad;
}

.article-related-stores a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--article-muted);
    font-size: 0.94rem;
    font-weight: 800;
}

.article-related-stores img {
    width: auto;
    height: auto;
    max-width: 30px;
    max-height: 22px;
    object-fit: contain;
}

@media (max-width: 760px) {
    .article-breadcrumb,
    .article-editorial {
        width: min(100% - 32px, 920px);
    }

    .article-breadcrumb {
        padding-top: 18px;
    }

    .article-editorial-header {
        padding-top: 12px;
    }

    .article-featured-media {
        min-height: 190px;
        margin-bottom: 30px;
    }

    .article-body,
    .article-body p,
    .article-body li {
        font-size: 1rem;
        line-height: 1.85;
    }

    .article-related-articles a {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
    }

    .article-related-articles img {
        width: 92px;
        height: 64px;
    }
}

/* Store Page clean rebuild */
body.merchant-page {
    --merchant-bg: #f6f8f9;
    --merchant-surface: #ffffff;
    --merchant-surface-soft: #eef3f4;
    --merchant-text: #132123;
    --merchant-muted: #6d7b80;
    --merchant-border: rgba(19, 33, 35, 0.1);
    --merchant-border-strong: rgba(15, 139, 141, 0.24);
    --merchant-accent: #0f8b8d;
    --merchant-accent-strong: #0b6f71;
    --merchant-success: #12835a;
    --merchant-shadow: 0 16px 40px rgba(15, 33, 36, 0.08);
    --merchant-radius: 12px;
}

body.merchant-page main {
    background: var(--merchant-bg);
    color: var(--merchant-text);
}

body.merchant-page .quick-search {
    min-height: 44px;
    border: 1px solid #e6e9ee;
    border-radius: 999px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.merchant-page .quick-search::placeholder {
    color: #8a94a6;
}

body.merchant-page .quick-search:focus {
    border-color: #0f8b8d;
    box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.16);
}

body.merchant-page main .container {
    width: min(100% - 32px, 1120px);
}

.merchant-breadcrumb {
    padding: 16px 0 6px;
    color: var(--merchant-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.merchant-breadcrumb .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.merchant-breadcrumb a {
    color: inherit;
}

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

.merchant-identity-section {
    padding: 10px 0 22px;
}

.merchant-simple-head {
    padding: 10px 0 18px;
}

.merchant-simple-head-inner {
    display: grid;
    align-items: center;
    gap: 14px;
}

.merchant-simple-logo {
    width: 64px;
    height: 64px;
}

.merchant-simple-title {
    max-width: 860px;
}

.merchant-simple-title h1 {
    margin: 0 0 6px;
    color: var(--merchant-text);
    font-size: clamp(1.55rem, 3.1vw, 2.25rem);
    line-height: 1.16;
    font-weight: 850;
    letter-spacing: 0;
}

.merchant-simple-title p {
    margin: 0;
    color: var(--merchant-muted);
    font-size: 0.98rem;
    line-height: 1.68;
}

.merchant-identity {
    display: grid;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--merchant-border);
    border-radius: var(--merchant-radius);
    background: var(--merchant-surface);
    padding: clamp(18px, 3vw, 26px);
    box-shadow: var(--merchant-shadow);
}

.merchant-logo,
.merchant-logo-fallback {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
}

.merchant-logo {
    border: 1px solid var(--merchant-border);
    border-radius: 14px;
    background: var(--merchant-surface-soft);
    padding: 14px;
}

.merchant-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.merchant-logo-fallback {
    color: var(--merchant-accent);
    font-size: 1.8rem;
    font-weight: 900;
}

.merchant-identity-main h1 {
    margin: 0 0 10px;
    color: var(--merchant-text);
    font-size: clamp(1.55rem, 3.1vw, 2.25rem);
    line-height: 1.16;
    font-weight: 850;
    letter-spacing: 0;
}

.merchant-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--merchant-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.merchant-meta span {
    border: 1px solid var(--merchant-border);
    border-radius: 999px;
    background: #f9fbfb;
    padding: 5px 10px;
}

.merchant-primary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--merchant-accent);
    padding: 0 20px;
    color: #ffffff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 750;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.merchant-primary:hover {
    background: var(--merchant-accent-strong);
    box-shadow: 0 10px 22px rgba(15, 139, 141, 0.18);
    transform: translateY(-1px);
}

.merchant-primary:focus-visible,
.merchant-text-link:focus-visible,
.merchant-related-card:focus-visible {
    outline: 3px solid rgba(15, 139, 141, 0.28);
    outline-offset: 3px;
}

.merchant-visit-link {
    justify-self: start;
    min-width: 144px;
}

.merchant-trust-strip {
    border-top: 1px solid var(--merchant-border);
    border-bottom: 1px solid var(--merchant-border);
    background: var(--merchant-surface-soft);
}

.merchant-trust-grid {
    display: grid;
    min-height: 74px;
    align-items: center;
    gap: 14px;
}

.merchant-trust-item {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 10px 6px;
    text-align: center;
}

.merchant-trust-item span {
    order: 2;
    color: var(--merchant-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.merchant-trust-item strong {
    order: 1;
    color: var(--merchant-text);
    font-size: clamp(1.05rem, 2vw, 1.42rem);
    line-height: 1.15;
    font-weight: 850;
}

.merchant-page .section {
    padding: clamp(24px, 3.8vw, 38px) 0;
}

.merchant-section-soft {
    background: #f1f5f6;
}

.merchant-page .section-heading {
    max-width: 880px;
    margin-bottom: 12px;
}

.merchant-page .eyebrow,
.merchant-page .section-heading .eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--merchant-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.merchant-page .section-heading h2,
.merchant-copy h2 {
    margin: 0;
    color: var(--merchant-text);
    font-size: clamp(1.22rem, 2.1vw, 1.58rem);
    line-height: 1.26;
    font-weight: 850;
    letter-spacing: 0;
}

.merchant-decision-section {
    padding-top: clamp(20px, 3.2vw, 32px);
}

.merchant-check-strip {
    display: grid;
    gap: 0;
    margin-bottom: 16px;
    border-top: 1px solid var(--merchant-border);
    border-bottom: 1px solid var(--merchant-border);
}

.merchant-check-strip div {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--merchant-border);
}

.merchant-check-strip div:last-child {
    border-bottom: 0;
}

.merchant-check-strip strong,
.merchant-decision-row strong {
    color: var(--merchant-text);
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 850;
}

.merchant-check-strip span {
    color: var(--merchant-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.merchant-decision-list {
    display: grid;
    gap: 0;
    max-width: 880px;
}

.merchant-decision-row {
    display: grid;
    gap: 5px;
    padding: 12px 0;
}

.merchant-decision-row h3 {
    margin: 0;
    color: var(--merchant-text);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.35;
    font-weight: 850;
}

.merchant-decision-row p {
    margin: 0;
    color: var(--merchant-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.merchant-coupon-list,
.merchant-deal-grid {
    display: grid;
    gap: 12px;
}

.merchant-coupon-card {
    display: grid;
    align-items: center;
    gap: 14px;
    min-height: 124px;
    border: 1px solid var(--merchant-border-strong);
    border-radius: var(--merchant-radius);
    background: var(--merchant-surface);
    padding: clamp(14px, 2vw, 19px);
    box-shadow: var(--merchant-shadow);
}

.merchant-coupon-card:hover {
    border-color: rgba(15, 139, 141, 0.42);
}

.merchant-coupon-list-compact {
    max-width: 920px;
    gap: 10px;
}

.merchant-coupon-card-compact {
    min-height: 0;
    padding: 13px 16px;
    box-shadow: none;
}

.merchant-coupon-card-compact h3 {
    font-size: clamp(0.96rem, 1.3vw, 1.08rem);
}

.merchant-coupon-card-compact p {
    margin: 0;
}

.merchant-verified-badge {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    border: 1px solid rgba(18, 131, 90, 0.18);
    border-radius: 999px;
    background: rgba(18, 131, 90, 0.08);
    color: var(--merchant-success);
    padding: 4px 9px;
    font-size: 0.75rem;
    font-weight: 750;
}

.merchant-coupon-card h3,
.merchant-deal-card h3 {
    margin: 8px 0 3px;
    color: var(--merchant-text);
    font-size: clamp(1.02rem, 1.45vw, 1.22rem);
    line-height: 1.28;
    font-weight: 850;
}

.merchant-coupon-card p,
.merchant-copy p,
.merchant-faq-item p {
    color: var(--merchant-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.merchant-coupon-action {
    display: grid;
    gap: 8px;
    justify-items: stretch;
}

.merchant-coupon-action .merchant-primary,
.merchant-deal-card .merchant-primary {
    min-height: 42px;
    min-width: 144px;
}

.merchant-coupon-code {
    display: inline-flex;
    min-width: 132px;
    justify-content: center;
    border: 1px dashed rgba(19, 33, 35, 0.25);
    border-radius: 10px;
    background: #f4f8f8;
    color: var(--merchant-text);
    padding: 10px 14px;
    overflow-wrap: anywhere;
    font-size: clamp(1rem, 1.8vw, 1.28rem);
    font-weight: 900;
    letter-spacing: 0;
}

.merchant-deal-card {
    display: grid;
    gap: 8px;
    align-content: start;
    min-height: 116px;
    border: 1px solid var(--merchant-border);
    border-radius: var(--merchant-radius);
    background: var(--merchant-surface);
    padding: 14px;
}

.merchant-deal-card span {
    color: var(--merchant-accent);
    font-size: 0.82rem;
    font-weight: 850;
}

.merchant-text-link {
    color: var(--merchant-accent);
    font-size: 0.92rem;
    font-weight: 750;
}

.merchant-text-link:hover {
    color: var(--merchant-accent-strong);
    text-decoration: underline;
}

.merchant-category-pills,
.merchant-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.merchant-category-pills span {
    border: 1px solid var(--merchant-border);
    border-radius: 999px;
    background: var(--merchant-surface);
    color: var(--merchant-text);
    padding: 7px 12px;
    font-size: 0.86rem;
    font-weight: 700;
}

.merchant-copy {
    max-width: 880px;
}

.merchant-copy > .eyebrow + h2 {
    margin-top: 0;
}

.merchant-copy > p {
    margin: 12px 0 0;
}

.merchant-copy-block {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.merchant-copy-block h3 {
    margin: 0;
    color: var(--merchant-text);
    font-size: 0.96rem;
    line-height: 1.35;
    font-weight: 800;
}

.merchant-copy-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-inline-start: 20px;
    color: var(--merchant-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.merchant-link-list {
    margin-top: 10px;
}

.merchant-related-copy {
    max-width: none;
}

.merchant-related-stores-grid.grid.stores-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 100%;
    margin-top: 14px;
}

.merchant-related-stores-grid .store-card-related {
    display: grid;
    min-height: 188px;
    align-content: center;
    justify-items: center;
    gap: 10px;
    border-color: var(--merchant-border);
    border-radius: var(--merchant-radius);
    background: var(--merchant-surface);
    padding: 18px 16px;
    box-shadow: none;
    text-align: center;
}

.merchant-related-stores-grid .store-card-related:hover {
    border-color: var(--merchant-border-strong);
    box-shadow: none;
    transform: none;
}

.merchant-related-stores-grid .store-card-related .store-logo,
.merchant-related-stores-grid .store-card-related .store-logo-badge {
    display: flex;
    width: 72px;
    height: 56px;
    flex-basis: auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.merchant-related-stores-grid .store-card-related .store-logo {
    margin-inline: auto;
}

.merchant-related-stores-grid .store-card-related .store-logo-img,
.merchant-related-stores-grid .store-card-related .store-logo-svg {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.merchant-related-stores-grid .store-card-related .store-card-content {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-width: 0;
}

.merchant-related-stores-grid .store-card-related .store-card-title {
    color: var(--merchant-text);
    font-weight: 700;
    line-height: 1.25;
}

.merchant-related-stores-grid .store-card-related .store-card-description {
    display: block;
    max-width: 22ch;
    color: var(--merchant-muted);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
}

.merchant-related-stores-grid .store-card-related .store-card-cta {
    display: inline-flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--merchant-accent);
    color: #ffffff;
    margin-top: 2px;
    padding: 6px 11px;
    font-size: 0.8rem;
    font-weight: 800;
}

.merchant-editorial-note {
    padding-top: 18px;
}

.merchant-facts {
    display: grid;
    max-width: 760px;
    margin: 14px 0 0;
    border: 1px solid var(--merchant-border);
    border-radius: var(--merchant-radius);
    background: var(--merchant-surface);
    overflow: hidden;
}

.merchant-facts div {
    display: grid;
    grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
    gap: 16px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--merchant-border);
}

.merchant-facts div:last-child {
    border-bottom: 0;
}

.merchant-facts dt {
    color: var(--merchant-text);
    font-size: 0.9rem;
    font-weight: 800;
}

.merchant-facts dd {
    margin: 0;
    color: var(--merchant-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.merchant-pros-grid {
    display: grid;
    gap: 18px;
}

.merchant-faq-list {
    display: grid;
    border: 1px solid var(--merchant-border);
    border-radius: var(--merchant-radius);
    background: var(--merchant-surface);
    padding: 0 14px;
}

.merchant-faq-item {
    border-bottom: 1px solid var(--merchant-border);
    padding: 12px 0;
}

.merchant-faq-item:last-child {
    border-bottom: 0;
}

.merchant-faq-item h3 {
    margin: 0 0 6px;
    color: var(--merchant-text);
    font-size: 0.96rem;
    line-height: 1.4;
    font-weight: 800;
}

.merchant-related-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 26px;
}

.merchant-related-card {
    display: grid;
    min-height: 72px;
    place-items: center;
    border: 1px solid var(--merchant-border);
    border-radius: var(--merchant-radius);
    background: var(--merchant-surface);
    padding: 12px;
    transition: border-color 180ms ease, background 180ms ease;
}

.merchant-related-card:hover {
    border-color: var(--merchant-border-strong);
    background: #fbfdfd;
}

.merchant-related-logo,
.merchant-related-fallback {
    display: grid;
    place-items: center;
}

.merchant-related-brand-logo {
    width: auto;
    max-width: 112px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
}

.merchant-related-fallback {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--merchant-surface-soft);
    color: var(--merchant-accent);
    font-weight: 900;
}

@media (min-width: 761px) {
    .merchant-simple-head-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .merchant-check-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .merchant-check-strip div {
        border-bottom: 0;
        border-inline-start: 1px solid var(--merchant-border);
        padding: 14px 16px;
    }

    .merchant-check-strip div:first-child {
        border-inline-start: 0;
    }

    .merchant-identity {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .merchant-trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .merchant-coupon-card {
        grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
    }

    .merchant-deal-grid,
    .merchant-pros-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .merchant-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .merchant-related-stores-grid.grid.stores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .merchant-page main .container {
        width: min(100% - 24px, 1120px);
    }

    .merchant-identity {
        text-align: center;
    }

    .merchant-simple-head-inner {
        text-align: center;
    }

    .merchant-logo,
    .merchant-simple-logo {
        margin-inline: auto;
    }

    .merchant-visit-link {
        justify-self: stretch;
    }

    .merchant-meta {
        justify-content: center;
    }

    .merchant-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px 0;
    }

    .merchant-coupon-code {
        width: 100%;
    }

    .merchant-facts div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .merchant-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .merchant-related-stores-grid.grid.stores-grid {
        grid-template-columns: 1fr;
    }
}
