/*
Theme Name: ClubFactoryCoupon
Theme URI: https://clubfactorycoupon.com
Author: ClubFactoryCoupon
Description: Modern responsive coupon, deals, stores and shopping blog WordPress theme.
Version: 2.0.0
License: GPL-2.0-or-later
Text Domain: clubfactorycoupon
*/

/* =========================================================
   ROOT
========================================================= */

:root {
    --primary: #111827;
    --primary-soft: #1f2937;

    --accent: #635bff;
    --accent-dark: #5148e8;
    --accent-light: #eeecff;

    --green: #16a34a;
    --green-light: #ecfdf3;

    --red: #ef4444;
    --orange: #f59e0b;

    --bg: #f7f8fc;
    --white: #ffffff;

    --text: #111827;
    --text-soft: #374151;
    --muted: #6b7280;

    --border: #e5e7eb;
    --border-light: #eef0f4;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;

    --shadow-sm: 0 4px 18px rgba(15, 23, 42, .05);
    --shadow: 0 12px 35px rgba(15, 23, 42, .07);
    --shadow-lg: 0 22px 60px rgba(15, 23, 42, .11);

    --container: 1180px;

    --transition: .2s ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;
}

body,
button,
input,
textarea,
select {
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font-size: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

ul,
ol {
    margin-top: 0;
}

::selection {
    background: var(--accent);
    color: #fff;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid rgba(99, 91, 255, .35);
    outline-offset: 3px;
}


/* =========================================================
   LAYOUT
========================================================= */

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.section {
    padding: 72px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 30px;
}

.section-title {
    margin: 0;

    color: var(--text);

    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.8px;
}

.section-description {
    max-width: 650px;

    margin: 7px 0 0;

    color: var(--muted);
    font-size: 15px;
}

.view-all {
    flex-shrink: 0;

    color: var(--accent);

    font-size: 14px;
    font-weight: 800;

    transition: var(--transition);
}

.view-all:hover {
    color: var(--accent-dark);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 5000;

    background: rgba(255, 255, 255, .96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--text);

    font-size: 20px;
    font-weight: 850;

    letter-spacing: -.5px;
}

.logo-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #8b5cf6
        );

    color: #fff;

    font-size: 18px;
    font-weight: 900;

    box-shadow:
        0 8px 20px rgba(99, 91, 255, .25);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;

    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    color: #4b5563;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav .header-button {
    padding: 11px 17px;

    border-radius: 10px;

    background: var(--primary);
    color: #fff;

    transition: var(--transition);
}

.main-nav .header-button:hover {
    background: var(--primary-soft);
    color: #fff;
    transform: translateY(-1px);
}


/* =========================================================
   MOBILE HEADER BUTTON
========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: #fff;
    color: var(--text);
}

.mobile-menu-toggle span {
    font-size: 21px;
    line-height: 1;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    padding: 95px 0 85px;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(99, 91, 255, .14),
            transparent 32%
        ),
        radial-gradient(
            circle at 92% 20%,
            rgba(59, 130, 246, .12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #fff 0%,
            #fafaff 100%
        );
}

.hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -220px;

    border-radius: 50%;

    background: rgba(99, 91, 255, .06);

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin-inline: auto;

    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 20px;
    padding: 7px 14px;

    border: 1px solid #ddd9ff;
    border-radius: 999px;

    background: var(--accent-light);
    color: var(--accent);

    font-size: 12px;
    font-weight: 800;
}

.hero h1 {
    margin: 0;

    color: var(--text);

    font-size: clamp(42px, 7vw, 68px);
    line-height: 1.02;

    letter-spacing: -3.5px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 680px;

    margin: 24px auto 32px;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}

.hero-search {
    display: flex;

    max-width: 720px;

    margin-inline: auto;

    padding: 6px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow: var(--shadow);
}

.hero-search input {
    flex: 1;
    min-width: 0;

    padding: 15px 17px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);
}

.hero-search input::placeholder {
    color: #9ca3af;
}

.hero-search button {
    flex-shrink: 0;

    min-width: 105px;

    padding: 0 22px;

    border: 0;
    border-radius: 10px;

    background: var(--accent);
    color: #fff;

    font-weight: 800;

    transition: var(--transition);
}

.hero-search button:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;

    margin-top: 24px;

    color: #6b7280;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   STORE GRID
========================================================= */

.store-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 15px;
}

.store-card {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 145px;

    padding: 20px 12px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

    text-align: center;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.store-card:hover {
    transform: translateY(-4px);

    border-color: #c9c5ff;

    box-shadow: var(--shadow);
}

.store-logo {
    width: 58px;
    height: 58px;

    margin: 0 auto 12px;

    object-fit: contain;

    border: 1px solid #edf0f4;
    border-radius: 13px;

    background: #fff;
}

.store-placeholder {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin: 0 auto 12px;

    border-radius: 13px;

    background: var(--accent-light);
    color: var(--accent);

    font-size: 22px;
    font-weight: 900;
}

.store-name {
    overflow: hidden;

    max-width: 100%;

    color: var(--text);

    font-size: 14px;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-count {
    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   COUPONS
========================================================= */

.coupon-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.coupon-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid #e8e8f0;

    border-radius: var(--radius-lg);

    background: #fff;

    box-shadow: var(--shadow-sm);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.coupon-card:hover {
    transform: translateY(-5px);

    border-color: #d1cdfd;

    box-shadow: var(--shadow-lg);
}

.coupon-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    min-height: 76px;

    padding: 19px 22px;

    background:
        linear-gradient(
            135deg,
            #f0eeff,
            #fbfaff
        );

    border-bottom: 1px solid #eeeef5;
}

.coupon-discount {
    color: #554bdc;

    font-size: 25px;
    font-weight: 900;

    line-height: 1.1;
}

.coupon-verified {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    padding: 6px 10px;

    border: 1px solid #ccefd7;

    border-radius: 999px;

    background: var(--green-light);
    color: #168342;

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
}

.coupon-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 24px;
}

.coupon-title {
    margin: 0 0 9px;

    color: #171827;

    font-size: 19px;
    font-weight: 850;

    line-height: 1.35;
}

.coupon-title a {
    color: inherit !important;
}

.coupon-title a:hover {
    color: var(--accent) !important;
}

.coupon-description {
    margin-bottom: 0;

    color: #6b6e7e;

    font-size: 14px;
    line-height: 1.65;
}

.coupon-expiry {
    width: fit-content;

    margin-top: 16px;
    padding: 7px 10px;

    border-radius: 8px;

    background: #f7f7fa;
    color: #737585;

    font-size: 11px;
    font-weight: 700;
}

.coupon-code-box {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 17px;
    padding: 9px;

    border: 1px dashed #bcb7ee;

    border-radius: 11px;

    background: #f9f8ff;
}

.coupon-code-label {
    color: #77798a;

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;
}

.coupon-code {
    flex: 1;
    min-width: 0;

    overflow: hidden;

    color: #27263c;

    font-size: 13px;
    font-weight: 850;

    letter-spacing: .4px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-code-button {
    flex-shrink: 0;

    padding: 7px 11px;

    border: 1px solid #dedcf4;
    border-radius: 8px;

    background: #fff;
    color: #5b50e6;

    font-size: 11px;
    font-weight: 800;

    transition: var(--transition);
}

.copy-code-button:hover {
    background: var(--accent);
    color: #fff;
}

.coupon-card-action {
    margin-top: auto;
    padding-top: 20px;
}

.coupon-button,
.single-coupon-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    padding: 12px 18px;

    border: 0;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #6258f5,
            #8064ff
        );

    color: #fff !important;

    font-size: 14px;
    font-weight: 850;

    text-align: center;

    box-shadow:
        0 9px 23px rgba(98, 88, 245, .25);

    transition: var(--transition);
}

.coupon-button:hover,
.single-coupon-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(98, 88, 245, .34);
}

.coupon-button span {
    margin-left: 8px;
}


/* =========================================================
   CATEGORIES
========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.category-card {
    position: relative;

    display: flex;
    align-items: center;
    gap: 15px;

    min-height: 82px;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: #fff;

    color: var(--text);

    font-weight: 800;

    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-3px);

    border-color: #c9c5ff;

    box-shadow: var(--shadow-sm);
}

.category-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--accent-light);
    color: var(--accent);

    font-size: 17px;
    font-weight: 900;
}

.category-card-content {
    min-width: 0;
}

.category-card-content h2 {
    margin: 0;

    font-size: 15px;
    line-height: 1.3;
}

.category-card-content p {
    margin: 3px 0 0;

    color: var(--muted);

    font-size: 12px;
    font-weight: 500;
}

.category-arrow {
    margin-left: auto;

    color: var(--accent);

    font-size: 20px;
}


/* =========================================================
   BLOG
========================================================= */

.blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.blog-card {
    overflow: hidden;

    border: 1px solid #e8e8ef;

    border-radius: 18px;

    background: #fff;

    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.blog-image {
    display: block;

    width: 100%;
    height: 215px;

    overflow: hidden;

    background: #f1f2f8;
}

.blog-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.04);
}

.blog-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #635bff,
            #8b5cf6
        );

    color: #fff;

    font-size: 30px;
    font-weight: 900;
}

.blog-card-content {
    padding: 23px;
}

.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 11px;

    color: #77798a;

    font-size: 12px;
}

.blog-meta span + span {
    padding-left: 10px;

    border-left: 1px solid #dddde5;
}

.blog-card-title {
    margin: 0 0 11px;

    font-size: 20px;

    line-height: 1.35;
}

.blog-card-title a {
    color: #181927;
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-excerpt {
    margin-bottom: 17px;

    color: #696b7b;

    font-size: 14px;
    line-height: 1.7;
}

.blog-read-more {
    color: var(--accent);

    font-size: 14px;
    font-weight: 800;
}

.blog-read-more:hover {
    text-decoration: underline;
}

.blog-pagination {
    margin-top: 45px;

    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    border: 1px solid var(--border);

    border-radius: 9px;

    background: #fff;

    color: var(--text);

    font-size: 13px;
    font-weight: 700;
}

.blog-pagination .current,
.blog-pagination a:hover {
    border-color: var(--accent);

    background: var(--accent);
    color: #fff;
}


/* =========================================================
   STANDARD PAGES
========================================================= */

.page-section,
.single-post-page {
    background: var(--bg);
}

.standard-page,
.single-post {
    max-width: 900px;

    margin-inline: auto;

    overflow: hidden;

    border: 1px solid #e8e8ef;

    border-radius: 20px;

    background: #fff;
}

.standard-page {
    padding: 45px;
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 22px;

    border-bottom: 1px solid #e8e8ef;
}

.page-title {
    margin: 0;

    color: #181927;

    font-size: 38px;

    line-height: 1.2;
}

.page-content {
    color: #505262;

    font-size: 16px;
    line-height: 1.85;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #181927;
}

.page-content h2 {
    margin-top: 35px;
}

.page-content h3 {
    margin-top: 28px;
}

.page-content a {
    color: var(--accent);
}


/* =========================================================
   SINGLE POST
========================================================= */

.single-post-header {
    padding: 45px 55px 30px;
}

.single-post-title {
    margin: 15px 0;

    color: #181927;

    font-size: 44px;
    line-height: 1.18;

    letter-spacing: -1px;
}

.single-post-excerpt {
    margin: 0;

    color: #686a7a;

    font-size: 18px;
    line-height: 1.7;
}

.single-post-image {
    width: 100%;
    max-height: 520px;

    overflow: hidden;

    background: #f1f2f8;
}

.single-post-image img {
    width: 100%;
}

.single-post-content {
    padding: 35px 55px 50px;

    color: #424452;

    font-size: 17px;
    line-height: 1.85;
}

.single-post-content h2 {
    margin-top: 38px;
    color: #181927;
}

.single-post-content h3 {
    margin-top: 30px;
    color: #181927;
}

.single-post-content a {
    color: var(--accent);
}

.post-navigation {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 25px 55px;

    border-top: 1px solid #e7e8ef;
}

.post-navigation a {
    color: var(--accent);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   SINGLE COUPON
========================================================= */

.single-coupon-page {
    min-height: 70vh;

    padding: 50px 20px 80px;

    background: var(--bg);
}

.single-coupon-container {
    max-width: 900px;

    margin-inline: auto;
}

.single-coupon-breadcrumb {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 22px;

    color: #77798a;

    font-size: 13px;
}

.single-coupon-breadcrumb a {
    color: var(--accent);
    font-weight: 800;
}

.single-coupon-card {
    overflow: hidden;

    border: 1px solid #e7e7f0;

    border-radius: 24px;

    background: #fff;

    box-shadow: var(--shadow);
}

.single-coupon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 25px 30px;

    background:
        linear-gradient(
            135deg,
            #f0eeff,
            #faf9ff
        );

    border-bottom: 1px solid #eeeef6;
}

.single-coupon-discount {
    color: #554bdc;

    font-size: 30px;
    font-weight: 900;
}

.single-coupon-verified {
    padding: 8px 13px;

    border-radius: 999px;

    background: var(--green-light);
    color: #168342;

    font-size: 11px;
    font-weight: 850;
}

.single-coupon-content {
    padding: 35px;
}

.single-coupon-store {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 25px;
}

.single-store-logo {
    width: 58px;
    height: 58px;

    padding: 8px;

    object-fit: contain;

    border: 1px solid #e8e8ef;
    border-radius: 12px;

    background: #fff;
}

.single-coupon-store span {
    display: block;

    margin-bottom: 4px;

    color: #8a8b98;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.single-coupon-store a {
    color: #202031;

    font-size: 16px;
    font-weight: 850;
}

.single-coupon-content h1 {
    margin: 0 0 15px;

    color: #171827;

    font-size: 32px;
    line-height: 1.25;
}

.single-coupon-description {
    color: #656777;

    font-size: 16px;
    line-height: 1.75;
}

.single-coupon-expiry {
    display: inline-block;

    margin-top: 22px;
    padding: 9px 13px;

    border-radius: 9px;

    background: #f7f7fa;
    color: #707181;

    font-size: 12px;
    font-weight: 700;
}

.single-coupon-code {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 25px;
    padding: 14px;

    border: 1px dashed #aaa5e9;

    border-radius: 14px;

    background: #f8f7ff;
}

.single-coupon-code span {
    color: #77798a;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}

.single-coupon-code strong {
    flex: 1;
    min-width: 0;

    overflow: hidden;

    color: #25243a;

    font-size: 17px;

    letter-spacing: 1px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-copy-code {
    flex-shrink: 0;

    padding: 10px 15px;

    border: 0;
    border-radius: 9px;

    background: var(--accent);
    color: #fff;

    font-size: 13px;
    font-weight: 800;

    transition: var(--transition);
}

.single-copy-code:hover {
    background: var(--accent-dark);
}


/* =========================================================
   STORE PAGE
========================================================= */

.store-page {
    min-height: 70vh;

    background: var(--bg);
}

.store-hero {
    padding: 60px 20px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(99, 91, 255, .12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fff,
            #f5f4ff
        );

    border-bottom: 1px solid #e8e8f0;
}

.store-hero-inner {
    display: flex;
    align-items: center;

    gap: 30px;

    max-width: 1100px;

    margin-inline: auto;
}

.store-logo-wrap {
    flex-shrink: 0;
}

.store-logo-wrap .store-logo,
.store-logo-placeholder {
    width: 130px;
    height: 130px;
}

.store-logo-wrap .store-logo {
    padding: 15px;

    object-fit: contain;

    border: 1px solid #e6e6ef;

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(30, 30, 60, .08);
}

.store-logo-placeholder {
    display: grid;
    place-items: center;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #8b5cf6
        );

    color: #fff;

    font-size: 48px;
    font-weight: 900;
}

.store-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.store-info h1 {
    margin: 0;

    color: #171827;

    font-size: 38px;
    line-height: 1.2;
}

.store-description {
    max-width: 650px;

    margin: 15px 0 0;

    color: #686a79;

    font-size: 15px;
    line-height: 1.7;
}

.store-coupons {
    max-width: 1200px;

    margin-inline: auto;

    padding: 55px 20px 80px;
}

.store-section-heading {
    margin-bottom: 28px;
}

.store-section-heading span {
    color: var(--accent);

    font-size: 11px;
    font-weight: 850;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.store-section-heading h2 {
    margin: 5px 0 0;

    color: #171827;

    font-size: 28px;
}

.no-coupons {
    grid-column: 1 / -1;

    padding: 60px 20px;

    text-align: center;

    border: 1px solid #e7e7f0;

    border-radius: 20px;

    background: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 65px 0 25px;

    background: #111827;
    color: #fff;
}

.site-footer .site-logo {
    color: #fff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 45px;
}

.footer-description {
    max-width: 370px;

    margin: 18px 0 0;

    color: #9ca3af;

    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    margin: 2px 0 16px;

    color: #fff;

    font-size: 14px;
    font-weight: 800;
}

.footer-links {
    display: grid;

    gap: 9px;

    color: #9ca3af;

    font-size: 13px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 50px;
    padding-top: 22px;

    border-top: 1px solid #374151;

    color: #9ca3af;

    font-size: 12px;
}


/* =========================================================
   MOBILE BOTTOM NAVIGATION
========================================================= */

.mobile-nav {
    display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 17px;
    }

    .store-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .coupon-grid,
    .blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    body {
        padding-bottom: 72px;
    }

    .container {
        width: min(
            100% - 30px,
            var(--container)
        );
    }

    .section {
        padding: 48px 0;
    }

    /* HEADER */

    .header-inner {
        min-height: 64px;
    }

    .site-logo {
        font-size: 17px;
    }

    .logo-mark {
        width: 35px;
        height: 35px;

        border-radius: 10px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }


    /* HERO */

    .hero {
        padding: 58px 0 52px;
    }

    .hero h1 {
        font-size: clamp(
            39px,
            12vw,
            55px
        );

        letter-spacing: -2.5px;
    }

    .hero-description {
        margin-top: 18px;

        font-size: 15px;
    }

    .hero-search {
        display: block;

        padding: 0;

        border: 0;

        background: transparent;

        box-shadow: none;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;

        min-height: 52px;

        margin-bottom: 9px;

        border-radius: 11px;
    }

    .hero-search input {
        padding: 13px 15px;

        border: 1px solid var(--border);

        background: #fff;

        box-shadow: var(--shadow-sm);
    }

    .hero-search button {
        padding: 13px;
    }

    .hero-features {
        gap: 10px 18px;

        margin-top: 17px;

        font-size: 11px;
    }


    /* SECTIONS */

    .section-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .section-title {
        font-size: 25px;
    }


    /* STORES */

    .store-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .store-card {
        min-height: 135px;

        padding: 16px 10px;
    }


    /* COUPONS */

    .coupon-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .coupon-card {
        min-height: 0;
    }


    /* CATEGORIES */

    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .category-card {
        min-height: 72px;

        padding: 13px;

        gap: 9px;
    }

    .category-icon {
        width: 37px;
        height: 37px;

        border-radius: 10px;

        font-size: 14px;
    }

    .category-card-content h2 {
        font-size: 13px;
    }

    .category-arrow {
        display: none;
    }


    /* BLOG */

    .blog-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .blog-image {
        height: 200px;
    }


    /* PAGES */

    .standard-page {
        padding: 25px;
    }

    .page-title {
        font-size: 30px;
    }

    .single-post-header {
        padding: 30px 24px 20px;
    }

    .single-post-title {
        font-size: 32px;
    }

    .single-post-content {
        padding: 25px 24px 35px;
    }

    .post-navigation {
        padding: 20px 24px;

        flex-direction: column;
    }


    /* SINGLE COUPON */

    .single-coupon-page {
        padding: 30px 15px 55px;
    }

    .single-coupon-header {
        padding: 20px;
    }

    .single-coupon-content {
        padding: 23px;
    }

    .single-coupon-content h1 {
        font-size: 26px;
    }

    .single-coupon-code {
        flex-wrap: wrap;
    }

    .single-coupon-code strong {
        flex-basis: 100%;

        width: 100%;
    }

    .single-copy-code {
        width: 100%;
    }


    /* STORE */

    .store-hero {
        padding: 38px 15px;
    }

    .store-hero-inner {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }

    .store-logo-wrap .store-logo,
    .store-logo-placeholder {
        width: 100px;
        height: 100px;
    }

    .store-logo-placeholder {
        font-size: 38px;
    }

    .store-info h1 {
        font-size: 29px;
    }

    .store-coupons {
        padding: 38px 15px 60px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 7px;
    }


    /* MOBILE BOTTOM NAV */

    .mobile-nav {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 999999;

        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        width: 100%;
        height: 68px;

        padding-bottom:
            env(safe-area-inset-bottom);

        background: rgba(255, 255, 255, .98);

        border-top: 1px solid #e5e7eb;

        box-shadow:
            0 -8px 30px rgba(15, 23, 42, .10);

        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .mobile-nav a {
        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 4px;

        color: #64748b;

        font-size: 10px;

        font-weight: 800;

        text-decoration: none;

        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav a span {
        display: block;

        font-size: 20px;

        line-height: 1;
    }

    .mobile-nav a small {
        display: block;

        font-size: 10px;

        line-height: 1;
    }

    .mobile-nav a.active,
    .mobile-nav a:active {
        color: var(--accent);
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .hero {
        padding-top: 48px;
    }

    .coupon-card-top {
        padding: 17px 18px;
    }

    .coupon-card-body {
        padding: 19px;
    }

    .coupon-discount {
        font-size: 22px;
    }

    .coupon-verified {
        padding: 5px 8px;

        font-size: 9px;
    }

    .mobile-nav {
        height: 64px;
    }
}

/* =========================================
   COUPON STORE INFO
========================================= */

.coupon-store {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.coupon-store-logo,
.coupon-store-placeholder {
    width: 44px;
    height: 44px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    overflow: hidden;

    border: 1px solid #e5e7eb;
    border-radius: 11px;

    background: #fff;
}

.coupon-store-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.coupon-store-placeholder {
    background: #f0eeff;
    color: var(--accent);
    font-size: 17px;
    font-weight: 900;
}

.coupon-store-info {
    min-width: 0;
}

.coupon-store-info span {
    display: block;
    margin-bottom: 1px;

    color: #9294a2;
    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .5px;
}

.coupon-store-info a {
    display: block;

    overflow: hidden;

    color: #25243a;
    font-size: 13px;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.coupon-store-info a:hover {
    color: var(--accent);
}


/* =========================================
   COUPON CARD IMPROVEMENTS
========================================= */

.coupon-card-body {
    min-width: 0;
}

.coupon-title {
    overflow-wrap: anywhere;
}

.coupon-description {
    margin-top: 0;
    margin-bottom: 0;
}

.coupon-code {
    overflow: hidden;
}


/* =========================================
   COUPON CARD MOBILE
========================================= */

@media (max-width: 700px) {

    .coupon-card-top {
        min-height: 70px;
        padding: 17px 20px;
    }

    .coupon-card-body {
        padding: 21px;
    }

    .coupon-store {
        margin-bottom: 15px;
    }

    .coupon-title {
        font-size: 19px;
    }

    .coupon-code-box {
        gap: 8px;
    }

    .copy-code-button {
        padding: 8px 11px;
    }

}


