@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap";

:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary: #1E293B;
    --success: #10B981;
    --warning: #F59E0B;
    --featured: #8B5CF6;
    --bg-main: #F9FAFB;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, .9);
    --text-main: #0F172A;
    --text-body: #475569;
    --text-muted: #4b5563;
    --text-inverse: #FFFFFF;
    --font-heading: "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    --transition: all .3s cubic-bezier(.4, 0, .2, 1)
}

*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center
}

.gradient-text {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.gradient-bg {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    color: #fff
}

/* WCAG AA High Contrast Accessibility Fixes */
.tagline {
    color: #374151 !important;
}

.nav-link {
    color: #1f2937 !important;
}

.section-subtitle {
    color: #111827 !important;
}

.merchant-name {
    color: #111827 !important;
}

.verified-badge {
    color: #065f46 !important;
}

.usage-stats,
.usage-stats * {
    color: #374151 !important;
}

.code-text {
    color: #111827 !important;
}

.live-badge {
    color: #b91c1c !important;
}

/* ── Responsive Table Styles (blog, deal, store pages) ─────────────── */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.article-body table,
.store-seo-article table,
.seo-content-section .page-content table {
    width: 100%;
    border-collapse: collapse;
    min-width: 400px;
    background: #fff;
}

.article-body th,
.article-body td,
.store-seo-article th,
.store-seo-article td,
.seo-content-section .page-content th,
.seo-content-section .page-content td {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.article-body thead tr,
.store-seo-article thead tr,
.seo-content-section .page-content thead tr {
    background: #f9fafb;
    font-weight: 600;
    color: var(--text-main);
}

.article-body tbody tr:nth-child(even),
.store-seo-article tbody tr:nth-child(even),
.seo-content-section .page-content tbody tr:nth-child(even) {
    background: #f9fafb;
}

.article-body tbody tr:hover,
.store-seo-article tbody tr:hover,
.seo-content-section .page-content tbody tr:hover {
    background: #f1f5f9;
}