/*
Theme Name: VPC Child v2
Theme URI: https://www.verifiedpromocode.com
Template: mts_coupon
Author: VerifiedPromoCode
Author URI: https://www.verifiedpromocode.com
Description: Staging child theme with updated design
Version: 2.0.0

*/

/* ── Base font size increase ── */
html {
    font-size: 20px;
}

/* ── Header & nav color scheme ── */
#header {
    background: #1a2b5e !important;
}

#primary-navigation {
    box-shadow: 0 2px 8px rgba(26, 43, 94, 0.08) !important;
    border-bottom: 1px solid #e8eaf2 !important;
}

/* Vertically center logo and other header elements */
#header .container {
    display: flex;
    align-items: center;
    min-height: 90px;
    gap: 12px;
}

/* Logo — sharp rendering, no blur */
.header-logo-img {
    display: block;
    max-height: 64px;
    width: auto;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
}

/* ── Search field redesign ── */
#header .header-search {
    flex: 0 0 auto;
    width: 240px;
    max-width: 420px;
    margin: 0;
    float: none !important;
    align-self: center;
    transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

#header .header-search:focus-within {
    width: 360px;
}

/* Override parent theme's min-width that prevents shrinking */
#header #searchform {
    min-width: 0 !important;
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
}

#header .search-form fieldset {
    display: flex;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: rgba(255,255,255,0.1);
}

#header .search-form fieldset:focus-within {
    border-color: rgba(255,255,255,0.5);
}

#header .search-form input[type="text"],
#header #s {
    background: transparent !important;
    color: #fff !important;
}

#header .search-form input[type="text"]::placeholder,
#header #s::placeholder {
    color: rgba(255,255,255,0.45);
}

#header .search-form input[type="text"],
#header #s {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 9px 14px !important;
    font-size: 0.88em !important;
    color: #1a1a2e !important;
    background: #fff !important;
    box-shadow: none !important;
    min-width: 0;
    margin: 0 !important;
    height: auto !important;
}

#header .search-form input[type="text"]::placeholder,
#header #s::placeholder {
    color: #aaa;
}

#header .sbutton,
#header #search-image {
    position: relative !important;
    right: auto !important;
    float: none !important;
    background: rgba(255,255,255,0.15) !important;
    border: none !important;
    border-radius: 0 !important;
    width: 42px !important;
    height: auto !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    align-self: stretch !important;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
    padding: 0 !important;
    z-index: auto !important;
}

#header .sbutton:hover,
#header #search-image:hover {
    background: rgba(255,255,255,0.28) !important;
}

/* Fix icon — parent theme absolutely positions it, undo that */
#header #searchform .fa-search,
#header .sbutton .fa,
#header #search-image .fa {
    position: static !important;
    right: auto !important;
    background: none !important;
    padding: 0 !important;
    height: auto !important;
    width: auto !important;
    color: #fff !important;
    font-size: 0.92em !important;
    line-height: 1;
}

/* ── Nav bar layout ── */
.nav-container {
    display: flex !important;
    align-items: center;
    min-height: 48px;
}

#primary-navigation .nav-container .navigation {
    flex: 1;
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 16px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.82em;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    line-height: 1;
}

.nav-btn--ghost {
    color: #1a2b5e;
    border: 1.5px solid #c8cce0;
    background: transparent;
}

.nav-btn--ghost:hover {
    border-color: #1a2b5e;
    background: #eef0f8;
    color: #1a2b5e;
    text-decoration: none;
}

.nav-btn--primary {
    background: #e8614d;
    color: #fff !important;
    border: 1.5px solid #e8614d;
}

.nav-btn--primary:hover {
    background: #cf4f3c;
    border-color: #cf4f3c;
    color: #fff !important;
    text-decoration: none;
}

.logo-wrap {
    float: none;
    margin: 0;
    flex: 1;
}

#header h1,
#header h2 {
    float: none;
}

#logo a {
    float: none;  
}

#logo img {
    float: none;
}

#header .header-search {
    float: none;
    margin-top: 0;
}

#header .header-search fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

#header .header-login {
    float: none;
}

/* ── Mobile header: logo centred, search below ── */
@media (max-width: 768px) {
    #header .container {
        flex-direction: column;
        align-items: center;
        padding: 14px 16px;
        min-height: unset;
        gap: 10px;
    }
    /* Flex-centre the logo block itself */
    .logo-wrap {
        flex: none;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #logo,
    #header h1,
    #header h2 {
        float: none !important;
        text-align: center;
        margin: 0;
    }
    #logo a {
        float: none !important;
        display: inline-flex;
        justify-content: center;
    }
    #header .header-search {
        flex: none;
        width: 100% !important;
        max-width: 100% !important;
        /* Override parent responsive.css overflow:hidden that clips AJAX dropdown */
        overflow: visible !important;
        position: relative;
    }
    #header .header-search:focus-within {
        width: 100% !important;
    }
    /* Ensure AJAX dropdown sits over content, not clipped */
    #header .ajax-search-results-container {
        z-index: 9999 !important;
    }
    #header .header-login { display: none; }
}

/* mob-nav-strip: hidden by default, shown on mobile once PHP cache clears */
#primary-navigation .mob-nav-strip { display: none; }

@media (max-width: 865px) {
    /* Suppress parent hamburger + slide-out */
    a#pull,
    .toggle-mobile-menu { display: none !important; }
    .mobile-menu-active .main-container { left: 0 !important; }

    /* ── nav-container: single scrollable row ── */
    .nav-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        padding: 0 !important;
        gap: 0 !important;
        min-height: unset !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .nav-container::-webkit-scrollbar { display: none; }

    /* .navigation: shrink to content, not full-width */
    .navigation,
    .navigation.mobile-menu-wrapper {
        display: inline-flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        float: none !important;
        border: none !important;
        overflow: visible !important;
        transition: none !important;
        left: auto !important;
        flex: 0 0 auto !important;
    }

    /* Menu: horizontal inline row */
    .navigation .menu {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        float: none !important;
        margin-bottom: 0 !important;
    }
    .navigation ul li {
        display: inline-flex !important;
        width: auto !important;
        float: none !important;
        flex-shrink: 0 !important;
    }
    .navigation ul li > ul { display: none !important; }

    /* Nav links — uniform */
    #primary-navigation .navigation ul li a,
    #primary-navigation .navigation ul li a:link,
    #primary-navigation .navigation ul li a:visited {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        padding: 10px 14px !important;
        font-size: 0.84em !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        color: #1a2b5e !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        border-bottom: none !important;
        text-indent: 0 !important;
        width: auto !important;
    }
    #primary-navigation .navigation ul li a:hover {
        color: #e8614d !important;
        background: transparent !important;
    }

    /* Blog & Submit Coupon — identical to nav links */
    .nav-btns {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    .nav-btn,
    .nav-btn--ghost,
    .nav-btn--primary {
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        padding: 10px 14px !important;
        font-size: 0.84em !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        color: #1a2b5e !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
    }
    .nav-btn:hover,
    .nav-btn--ghost:hover,
    .nav-btn--primary:hover {
        color: #e8614d !important;
        background: transparent !important;
        border: none !important;
    }
}

/* Hero banner */
#hero-banner {
    width: 100%;
    background-color: #eef0f8;
    position: relative;
    z-index: 10;
}

.hero-inner {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 380px;
}

.hero-text {
    flex: 1 1 520px;
    padding: 50px 48px 50px 0;
}

.hero-title {
    font-size: 2.6em;
    line-height: 1.2;
    margin: 0 0 18px;
    font-weight: 700;
}

.hero-title-coral {
    color: #e8614d;
}

.hero-title-navy {
    color: #1a2b5e;
}

.hero-subtitle {
    font-size: 1.05em;
    color: #444;
    line-height: 1.7;
    margin: 0 0 28px;
}

.hero-cta {
    display: inline-block;
    background: #1a2b5e;
    color: #ffffff;
    padding: 14px 48px;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    animation: ctaPulse 2s ease-in-out infinite;
}

.hero-cta:hover {
    background: #0f1c3f;
    color: #ffffff;
    text-decoration: none;
    animation: none;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(26, 43, 94, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(26, 43, 94, 0);
    }
}

/* Hero search outer wrapper */
.hero-search-outer {
    flex: 0 0 460px;
    position: relative;
    align-self: center;
    padding: 44px;
}

/* Badges — above card, in the padding zone around it */
.hsw-deco {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    pointer-events: none;
    z-index: 2;
    user-select: none;
    line-height: 1;
    opacity: 0.55;
}

/* % — coral circle, top-right outside card */
.hsw-d1 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e8614d;
    color: #fff;
    font-size: 1.2em;
    top: 4px;
    right: 4px;
    box-shadow: 0 4px 14px rgba(232, 97, 77, 0.35);
    animation: hswFloat 3s ease-in-out infinite;
}

/* SAVE — yellow pill, top-left outside card */
.hsw-d2 {
    padding: 7px 15px;
    border-radius: 50px;
    background: #fbbf24;
    color: #78350f;
    font-size: 0.72em;
    letter-spacing: 1px;
    top: 10px;
    left: 48px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.38);
    animation: hswFloat 3.5s ease-in-out infinite 0.5s;
}
   
/* ★ — purple circle, right outside card */
.hsw-d3 {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #8338ec;
    color: #fff;
    font-size: 1.1em;
    top: 35%;
    right: 2px;
    box-shadow: 0 4px 14px rgba(131, 56, 236, 0.35);
    animation: hswFloat 2.8s ease-in-out infinite 0.3s;
}

/* $ — teal circle, left outside card */
.hsw-d4 {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #2a9d8f;
    color: #fff;
    font-size: 1.15em;
    top: 55%;
    left: 2px;
    box-shadow: 0 4px 14px rgba(42, 157, 143, 0.35);
    animation: hswFloat 3.8s ease-in-out infinite 0.9s;
}

/* DEAL — navy pill, bottom-left outside card */
.hsw-d5 {
    padding: 7px 14px;
    border-radius: 50px;
    background: #1a2b5e;
    color: #fff;
    font-size: 0.7em;
    letter-spacing: 1.2px;
    bottom: 10px;
    left: 48px;
    box-shadow: 0 4px 12px rgba(26, 43, 94, 0.32);
    animation: hswFloat 3.2s ease-in-out infinite 1.1s;
}

@keyframes hswFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* Hero search widget — sits above the decorative circles */
.hero-search-widget {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 8px 32px rgba(26, 43, 94, 0.18);
    position: relative;
    z-index: 1;
}

.hero-search-widget-title {
    margin: 0 0 6px;
    font-size: 1.25em;
    font-weight: 800;
    color: #1a2b5e;
    line-height: 1.2;
}

.hero-search-widget-sub {
    margin: 0 0 22px;
    font-size: 0.82em;
    color: #888;
}

.hero-search-row {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(26, 43, 94, 0.1);
    border: 2px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.hero-search-row:focus-within {
    border-color: #1a2b5e;
    box-shadow: 0 4px 20px rgba(26, 43, 94, 0.18);
}

.hero-search-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    outline: none;
    font-size: 0.92em;
    color: #1a1a2e;
    background: #f7f8fc;
    min-width: 0;
    transition: background 0.25s;
}

.hero-search-row:focus-within .hero-search-input {
    background: #fff;
}

.hero-search-input::placeholder {
    color: #aaa;
}

.hero-search-btn {
    padding: 0 20px;
    background: #e8614d;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: #cf4f3c;
}

/* Popular chips */
.hero-search-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-search-chips-label {
    font-size: 0.76em;
    font-weight: 600;
    color: #888;
    white-space: nowrap;
}

.hero-search-chip {
    font-size: 0.76em;
    font-weight: 600;
    color: #1a2b5e;
    background: #eef0f8;
    border: 1px solid #dde0ef;
    border-radius: 50px;
    padding: 4px 12px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.hero-search-chip:hover {
    background: #1a2b5e;
    color: #fff;
    border-color: #1a2b5e;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        padding: 30px 20px;
        min-height: unset;
    }
    .hero-text {
        padding: 0 0 24px;
        text-align: center;
    }
    .hero-search-outer {
        width: 100%;
        flex: none;
        padding: 24px 16px;
    }
}

/* Hero trust badges */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82em;
    font-weight: 600;
    color: #444;
}

.hero-trust-item svg {
    color: #2a9d8f;
    flex-shrink: 0;
}

/* Hero popular stores strip */
.hero-stores {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(26, 43, 94, 0.1);
}

.hero-stores-label {
    display: block;
    font-size: 0.72em;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero-stores-logos {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-store-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e0e2ee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.hero-store-logo:hover {
    box-shadow: 0 4px 12px rgba(26, 43, 94, 0.14);
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-store-logo img {
    max-width: 34px;
    max-height: 30px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-store-initial {
    font-size: 0.68em;
    font-weight: 700;
    color: #1a2b5e;
}

.hero-stores-more {
    font-size: 0.8em;
    font-weight: 700;
    color: #1a2b5e;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 4px;
    transition: color 0.2s;
}

.hero-stores-more:hover {
    color: #e8614d;
    text-decoration: none;
}

/* ===== Today's Offers — Pill Tabs + Card Grid ===== */

.tabs-container {
    background: #f7f8fc;
    padding: 50px 0;
    border-top: none;
    border-bottom: none;
}

.tabs-header {
    display: flex; 
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.tabs-section-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1a2b5e;
    margin: 0;
}

/* Grid layout */
.tabs-container .tab-content {
    display: none !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tabs-container .tab-content.is-active {
    display: grid !important;
}

/* ── Coupon card v2 ── */
.coupon-card-v2 {
    background: #fff;
    border: 1px solid #e4e6f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.coupon-card-v2:hover {
    box-shadow: 0 6px 24px rgba(26, 43, 94, 0.1);
    transform: translateY(-2px);
}

/* Top section: discount box + info */
.coupon-card-v2-top {
    display: flex;
    align-items: stretch;
    padding: 18px 18px 14px;
    gap: 16px;
    flex: 1;
}

/* Discount box on the left */
.coupon-discount-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    flex-shrink: 0;
    text-align: center;
    gap: 1px;
}

.discount-prefix {
    font-size: 0.72em;
    font-weight: 600;
    color: #1a2b5e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.discount-amount {
    font-size: 1.9em;
    font-weight: 800;
    color: #1a2b5e;
    line-height: 1.1;
}

.discount-amount--sm {
    font-size: 1em;
}

/* Generic "BEST DEAL" label — smaller, stacked */
.coupon-discount-box--generic .discount-prefix,
.coupon-discount-box--generic .discount-amount {
    font-size: 1.1em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.discount-suffix {
    font-size: 0.72em;
    font-weight: 600;
    color: #1a2b5e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Right info area */
.coupon-card-v2-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    border-left: 1px solid #e8eaf2;
    padding-left: 16px;
}

.coupon-card-v2-title {
    margin: 0;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.45;
}

.coupon-card-v2-title a {
    color: #1a1a2e;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.coupon-card-v2-title a:hover {
    color: #1a2b5e;
    text-decoration: none;
}

.coupon-card-v2-validity {
    margin: 0;
    font-size: 0.8em;
    color: #888;
}

/* Bottom strip: store logo + see all link */
.coupon-card-v2-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #f7f8fc;
    border-top: 1px solid #e8eaf2;
    gap: 10px;
}

.coupon-card-v2-logo {
    display: flex;
    align-items: center;
}

.coupon-card-v2-logo img {
    max-height: 28px;
    max-width: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.coupon-logo-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a2b5e;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-card-v2-link {
    font-size: 0.78em;
    font-weight: 600;
    color: #1a2b5e;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.coupon-card-v2-link:hover {
    color: #e8614d;
    text-decoration: none;
}

/* ===== Coupons by Category Section ===== */

.coupon-categories-section {
    background: #fff;
    padding: 50px 0;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e8eaf2;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    border-left: 4px solid var(--cat-color);
}

.cat-card:hover {
    box-shadow: 0 4px 18px rgba(26, 43, 94, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    border-color: var(--cat-color);
}

.cat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--cat-color);
    color: #fff;
    font-size: 1.2em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cat-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.cat-card-name {
    font-size: 0.92em;
    font-weight: 700;
    color: #1a2b5e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-card-count {
    font-size: 0.78em;
    color: #888;
}

.cat-card-arrow {
    font-size: 1.3em;
    color: var(--cat-color);
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

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

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

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

/* ===== About Section ===== */

.about-section {
    background: #f9fafb;
    padding: 70px 0;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 108px;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
}

/* Character */
.about-character-wrap {
    flex: 0 0 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-character-svg {
    width: 100%;
    max-width: 230px;
    height: auto;
    overflow: visible;
    animation: aboutFloat 3.8s ease-in-out infinite;
}

.about-tag-l {
    animation: tagFloatL 3s ease-in-out infinite;
    transform-origin: 28px 65px;
}

.about-tag-r {
    animation: tagFloatR 3.4s ease-in-out infinite;
    transform-origin: 195px 32px;
}

.about-coin-l {
    animation: coinBob 2.8s ease-in-out infinite;
}

.about-coin-r {
    animation: coinBob 2.8s ease-in-out infinite;
    animation-delay: 0.5s;
}

.about-sparkles {
    animation: sparklePulse 3.2s ease-in-out infinite alternate;
}

@keyframes aboutFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-13px); }
}

@keyframes tagFloatL {
    0%, 100% { transform: rotate(-8deg) translateY(0px); }
    50%       { transform: rotate(5deg)  translateY(-8px); }
}

@keyframes tagFloatR {
    0%, 100% { transform: rotate(8deg)  translateY(0px); }
    50%       { transform: rotate(-5deg) translateY(-6px); }
}

@keyframes coinBob {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

@keyframes sparklePulse {
    0%   { opacity: 0.5;  transform: scale(1); }
    100% { opacity: 1;    transform: scale(1.08); }
}

/* Text */
.about-text {
    flex: 0 1 440px;
    min-width: 0;
}

.about-eyebrow {
    display: inline-block;
    background: rgba(232, 97, 77, 0.1);
    color: #e8614d;
    font-size: 0.73em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.about-title {
    font-size: 2em;
    font-weight: 800;
    color: #1a2b5e;
    margin: 0 0 18px;
    line-height: 1.2;
}

.about-lead {
    font-size: 1.06em;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px;
}

.about-desc {
    font-size: 0.97em;
    color: #555;
    line-height: 1.8;
    margin: 0 0 30px;
    max-width: 480px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2a9d8f;
    font-weight: 700;
    font-size: 0.95em;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid rgba(42, 157, 143, 0.35);
    transition: color 0.2s, border-color 0.2s;
}

.about-link svg {
    transition: transform 0.2s;
}

.about-link:hover {
    color: #1a2b5e;
    border-color: #1a2b5e;
    text-decoration: none;
}

.about-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .about-inner {
        flex-direction: column;
        gap: 36px;
        text-align: center;
    }
    .about-character-wrap {
        flex: none;
        width: 220px;
    }
    .about-desc {
        max-width: 100%;
    }
}

/* ===== Trust / Stats Section ===== */

.trust-section {
    background: #fff;
    padding: 60px 0;
}

.trust-header {
    margin-bottom: 48px;
}

.trust-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1a2b5e;
    margin: 0 0 16px;
    line-height: 1.2;
}

.trust-desc {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-width: 800px;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid #e8eaf2;
    border-top: 4px solid var(--stat-color, #1a2b5e);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(26, 43, 94, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.trust-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(26, 43, 94, 0.1);
}

.trust-stat--blue   { --stat-color: #1a2b5e; }
.trust-stat--coral  { --stat-color: #e8614d; }
.trust-stat--teal   { --stat-color: #2a9d8f; }
.trust-stat--purple { --stat-color: #8338ec; }

.trust-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--stat-color, #1a2b5e);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.trust-stat-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.trust-stat-value {
    font-size: 1.2em;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
}

.trust-stat-label {
    font-size: 0.82em;
    font-weight: 600;
    color: var(--stat-color, #1a2b5e);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.trust-stat-desc {
    font-size: 0.83em;
    color: #888;
    margin: 6px 0 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-title {
        font-size: 1.5em;
    }
}

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

/* ===== Subscribe Section ===== */

.subscribe-section.promote {
    background: #1a2b5e !important;
    padding: 36px 0 !important;
    text-align: left !important;
}

.subscribe-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.subscribe-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.subscribe-icon-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    animation: subscribePulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

.subscribe-icon-ring svg {
    width: 100%;
    height: 100%;
}

@keyframes subscribePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232, 97, 77, 0.3); }
    50%       { box-shadow: 0 0 0 12px rgba(232, 97, 77, 0); }
}

.subscribe-text {
    flex: 1;
    min-width: 260px;
}

.subscribe-heading {
    font-size: 1.7em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}

.subscribe-subtext {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.6;
}

.subscribe-form-wrap {
    flex: 1;
    min-width: 300px;
}

/* Honeypot — visually hidden from humans */
.mts-sub-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.subscribe-input-row {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.subscribe-email-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: 0.95em;
    outline: none;
    background: #fff;
    color: #1a1a2e;
    min-width: 0;
}

.subscribe-email-input::placeholder {
    color: #aaa;
}

.subscribe-btn {
    padding: 14px 28px;
    background: #e8614d;
    color: #fff;
    border: none;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    letter-spacing: 0.3px;
}

.subscribe-btn:hover {
    background: #cf4f3c;
}

.subscribe-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.subscribe-msg {
    margin: 10px 0 0;
    font-size: 0.88em;
    min-height: 1.2em;
}

.subscribe-msg--ok  { color: #6effa0; }
.subscribe-msg--err { color: #ffb3a7; }


@media (max-width: 768px) {
    .subscribe-inner {
        flex-direction: column;
        gap: 28px;
    }
    .subscribe-form-wrap {
        width: 100%;
    }
    .subscribe-icon-wrap {
        display: none;
    }
}

/* ===== Popular Stores Section ===== */

.popular-store-container {
    background: #fff !important;
    padding: 40px 0 !important;
}

.stores-header {
    margin-bottom: 24px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.store-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    border: 1px solid #e8eaf2;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.store-card:hover {
    box-shadow: 0 4px 16px rgba(26, 43, 94, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.store-card-logo {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-card-logo img {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.store-card-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a2b5e;
    color: #fff;
    font-size: 0.9em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-card-name {
    font-size: 0.8em;
    font-weight: 600;
    color: #1a2b5e;
    text-align: center;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.stores-footer {
    margin-top: 28px;
    text-align: center;
}

.stores-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    border: 2px solid #1a2b5e;
    border-radius: 8px;
    font-size: 0.88em;
    font-weight: 700;
    color: #1a2b5e !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}

.stores-view-all:hover {
    background: #1a2b5e;
    color: #fff !important;
    text-decoration: none !important;
}

.stores-view-all-arrow {
    transition: transform 0.2s;
    display: inline-block;
}

.stores-view-all:hover .stores-view-all-arrow {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .store-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== FAQ Section ===== */

.faq-section {
    background: #fff;
    padding: 70px 0;
    overflow: hidden;
}

/* Header — centred, matching other sections */
.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-eyebrow {
    display: inline-block;
    background: rgba(232, 97, 77, 0.1);
    color: #e8614d;
    font-size: 0.73em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.faq-title {
    font-size: 1.75em;
    font-weight: 800;
    color: #1a2b5e;
    margin: 0 0 10px;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 0.95em;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1.5px solid #e8eaf2;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: #c8cce0;
    box-shadow: 0 4px 16px rgba(26, 43, 94, 0.07);
}

.faq-item.is-open {
    border-color: #1a2b5e;
    box-shadow: 0 4px 20px rgba(26, 43, 94, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 700;
    color: #1a2b5e;
    text-align: left;
    line-height: 1.4;
    transition: background 0.15s;
}

.faq-question:hover,
.faq-item.is-open .faq-question {
    background: #f7f8fc;
}

/* +/× toggle icon */
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef0f8;
    position: relative;
    transition: background 0.2s, transform 0.3s;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #1a2b5e;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px; height: 12px; transition: transform 0.3s; }

.faq-item.is-open .faq-icon {
    background: #1a2b5e;
    transform: rotate(45deg);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
    background: #fff;
}

/* Answer panel */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    padding: 16px 22px 20px;
    font-size: 0.92em;
    color: #555;
    line-height: 1.75;
    border-top: 1px solid #e8eaf2;
}


/* ===== Store Page ===== */

/* Page header / breadcrumb */
.sp-page-header {
    background: #f7f8fc;
    border-bottom: 1px solid #e8eaf2;
    padding: 12px 0;
}

.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82em;
    color: #888;
}

.sp-breadcrumb a {
    color: #1a2b5e;
    text-decoration: none;
}

.sp-breadcrumb a:hover {
    color: #e8614d;
    text-decoration: none;
}

/* Page wrapper */
.sp-wrap {
    background: #f7f8fc;
    padding: 32px 0 60px;
}

/* Two-column layout */
.sp-layout {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

/* ── SIDEBAR ── */
.sp-sidebar {
    flex: 0 0 264px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
}

.sp-store-card {
    background: #fff;
    border: 1px solid #e8eaf2;
    border-radius: 14px;
    padding: 28px 20px 22px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(26,43,94,0.06);
}

.sp-store-logo-wrap {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    border: 1px solid #e8eaf2;
    background: #f7f8fc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto 16px;
}

.sp-store-logo-img {
    max-width: 72px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.sp-store-initials {
    font-size: 1.8em;
    font-weight: 800;
    color: #1a2b5e;
}

.sp-store-name {
    font-size: 1.2em;
    font-weight: 800;
    color: #1a2b5e;
    margin: 0 0 12px;
    line-height: 1.2;
}

.sp-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 16px;
}

.sp-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.sp-rating-num {
    font-size: 0.88em;
    font-weight: 700;
    color: #1a1a2e;
}

.sp-rating-count {
    font-size: 0.75em;
    color: #aaa;
    width: 100%;
    text-align: center;
}

.sp-store-stats {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid #f0f2f8;
    border-bottom: 1px solid #f0f2f8;
    margin-bottom: 14px;
}

.sp-store-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.sp-store-stat-val {
    font-size: 1em;
    font-weight: 800;
    color: #1a2b5e;
}

.sp-store-stat-lbl {
    font-size: 0.7em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sp-store-desc {
    font-size: 0.82em;
    color: #666;
    line-height: 1.65;
    margin: 0;
    text-align: left;
}

/* Related stores */
.sp-related-card {
    background: #fff;
    border: 1px solid #e8eaf2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(26,43,94,0.06);
}

.sp-related-title {
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f2f8;
}

.sp-related-list {
    display: flex;
    flex-direction: column;
}

.sp-related-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 18px;
    text-decoration: none;
    color: #1a1a2e;
    border-bottom: 1px solid #f7f8fc;
    transition: background 0.15s;
}

.sp-related-item:last-child { border-bottom: none; }

.sp-related-item:hover {
    background: #f7f8fc;
    text-decoration: none;
    color: #1a2b5e;
}

.sp-related-item:hover svg { color: #e8614d; }

.sp-related-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e8eaf2;
    background: #f7f8fc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.sp-related-logo img {
    max-width: 28px;
    max-height: 26px;
    object-fit: contain;
    display: block;
}

.sp-related-logo span {
    font-size: 0.7em;
    font-weight: 700;
    color: #1a2b5e;
}

/* ── Related Categories pill layout ── */
.sp-cat-card {
    background: #fff;
    border: 1px solid #e8eaf2;
    border-radius: 14px;
    padding: 18px 20px 20px;
    box-shadow: 0 2px 12px rgba(26,43,94,0.06);
}

.sp-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.sp-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: #f7f8fc;
    border: 1px solid #e4e6f0;
    border-radius: 50px;
    font-size: 0.78em;
    font-weight: 600;
    color: #1a2b5e;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.sp-cat-pill:hover {
    background: #1a2b5e;
    border-color: #1a2b5e;
    color: #fff;
    text-decoration: none;
}

.sp-related-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sp-related-name {
    font-size: 0.85em;
    font-weight: 700;
    color: #1a2b5e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-related-count {
    font-size: 0.72em;
    color: #aaa;
}

.sp-related-item svg {
    flex-shrink: 0;
    color: #c8cce0;
    transition: color 0.2s;
}

/* ── MAIN CONTENT ── */
.sp-main {
    flex: 1;
    min-width: 0;
}

.sp-main-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sp-main-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #1a2b5e;
    margin: 0;
}

.sp-main-count {
    font-size: 1em;
    color: #888;
    font-weight: 600;
    white-space: nowrap;
}

/* Coupon list */
.sp-coupon-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.sp-coupon-item {
    background: #fff;
    border: 1.5px solid #e8eaf2;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.sp-coupon-item:hover {
    box-shadow: 0 6px 24px rgba(26,43,94,0.1);
    transform: translateY(-1px);
}

.sp-coupon-item--expired {
    opacity: 0.6;
}

/* Discount badge (left column) */
.sp-coupon-badge {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    text-align: center;
    gap: 3px;
    align-self: stretch;
}

.sp-coupon-badge--deal {
    background: rgba(26,43,94,0.05);
    border-right: 1px solid rgba(26,43,94,0.08);
}

.sp-coupon-badge--code {
    background: rgba(232,97,77,0.06);
    border-right: 1px solid rgba(232,97,77,0.1);
}

.sp-cb-type {
    font-size: 0.62em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 50px;
    margin-bottom: 4px;
}

.sp-coupon-badge--deal .sp-cb-type {
    background: #1a2b5e;
    color: #fff;
}

.sp-coupon-badge--code .sp-cb-type {
    background: #e8614d;
    color: #fff;
}

.sp-cb-prefix {
    font-size: 0.68em;
    font-weight: 700;
    color: #1a2b5e;
    text-transform: uppercase;
}

.sp-cb-amount {
    font-size: 1.6em;
    font-weight: 900;
    color: #1a2b5e;
    line-height: 1;
}

.sp-cb-suffix {
    font-size: 0.68em;
    font-weight: 700;
    color: #e8614d;
    text-transform: uppercase;
}

/* Info column */
.sp-coupon-info {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.sp-coupon-title {
    margin: 0;
    font-size: 0.95em;
    font-weight: 700;
    line-height: 1.4;
}

.sp-coupon-title a {
    color: #1a1a2e;
    text-decoration: none;
}

.sp-coupon-title a:hover {
    color: #1a2b5e;
}

.sp-coupon-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-coupon-expired-tag {
    background: #f0f0f0;
    color: #999;
    font-size: 0.72em;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

.sp-coupon-validity {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78em;
    color: #888;
}

/* Code strip */
.sp-coupon-code-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-coupon-code {
    font-family: monospace;
    font-size: 0.82em;
    font-weight: 700;
    color: #1a2b5e;
    background: #eef0f8;
    border: 1.5px dashed #c8cce0;
    border-radius: 6px;
    padding: 4px 12px;
    letter-spacing: 1.5px;
}

.sp-coupon-copy {
    background: none;
    border: 1.5px solid #1a2b5e;
    color: #1a2b5e;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.74em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.sp-coupon-copy:hover,
.sp-coupon-copy--done {
    background: #1a2b5e;
    color: #fff;
}

/* CTA column */
.sp-coupon-action {
    flex: 0 0 auto;
    padding: 20px 18px;
    display: flex;
    align-items: center;
}

.sp-coupon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 0.84em;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.sp-coupon-btn--deal {
    background: #1a2b5e;
    color: #fff !important;
}

.sp-coupon-btn--deal:hover {
    background: #0f1c3f;
    color: #fff !important;
    text-decoration: none;
}

.sp-coupon-btn--code {
    background: #e8614d;
    color: #fff !important;
}

.sp-coupon-btn--code:hover {
    background: #cf4f3c;
    color: #fff !important;
    text-decoration: none;
}

/* Empty / pagination */
.sp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    background: #fff;
    border-radius: 14px;
}

.sp-pagination { text-align: center; }

/* Responsive */
@media (max-width: 900px) {
    .sp-layout {
        flex-direction: column;
    }
    .sp-main    { order: 1; }
    .sp-sidebar {
        order: 2;
        flex: none;
        width: 100%;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sp-store-card { flex: 1 1 260px; }
    .sp-related-card { flex: 1 1 260px; }
}

@media (max-width: 560px) {
    .sp-coupon-item {
        flex-direction: column;
        align-items: stretch;
    }
    .sp-coupon-badge {
        flex: none;
        flex-direction: row;
        padding: 12px 16px;
        gap: 8px;
        align-self: auto;
        border-right: none;
        border-bottom: 1px solid rgba(26,43,94,0.08);
    }
    .sp-coupon-action {
        padding: 0 18px 16px;
    }
    .sp-coupon-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ── Store page wrapper — avoids parent #page constraints ── */
#sp-tax-wrap {
    width: 100%;
    clear: both;
}

/* ── Store page coupon list (spcl = store-page-coupon-list) ── */
#sp-coupon-loop {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.spcl-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e8eaf2;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    text-align: left;
    margin-bottom: 12px;
}

/* Initial flex loop uses gap — no margin needed for direct children */
#sp-coupon-loop > .spcl-item {
    margin-bottom: 0;
}

.spcl-item:hover {
    box-shadow: 0 6px 24px rgba(26,43,94,0.1);
    transform: translateY(-2px);
}

.spcl-item.spcl--expired { opacity: 0.6; }

.spcl-left {
    flex: 0 0 100px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 10px;
    background: #f7f8fc;
    border-right: 1px solid #e8eaf2;
    text-align: center;
}

.spcl-badge {
    display: inline-block;
    font-size: 0.62em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 50px;
}

.spcl-badge--deal { background: #1a2b5e; color: #fff; }
.spcl-badge--code { background: #e8614d; color: #fff; }

.spcl-discount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.spcl-prefix {
    font-size: 0.65em;
    font-weight: 700;
    color: #1a2b5e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spcl-amount {
    font-size: 1.55em;
    font-weight: 900;
    color: #1a2b5e;
    line-height: 1;
}

.spcl-amount--sm { font-size: 1em; }

.spcl-suffix {
    font-size: 0.65em;
    font-weight: 700;
    color: #e8614d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spcl-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}

.spcl-title {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.4;
}

.spcl-title a { color: #1a1a2e; text-decoration: none; }
.spcl-title a:hover { color: #1a2b5e; }

.spcl-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.spcl-exp { font-size: 0.77em; font-weight: 600; color: #888; }
.spcl-exp--soon    { color: #e8614d; font-weight: 700; }
.spcl-exp--ongoing { color: #2a9d8f; font-weight: 700; }
.spcl-exp--over    { color: #aaa;    font-weight: 700; }

.spcl-desc {
    margin: 0;
    font-size: 0.82em;
    color: #999;
    line-height: 1.5;
}

.spcl-action {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 16px 18px;
}

/* ── Action column: stretches full row height, content centred inside ── */
.spcl-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 18px !important;
    flex: 0 0 auto !important;
    position: relative !important;
}

/* ── Activate Deal button ── */
.spcl-action .deal-button.activate-button:not(.show-coupon-button) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 11px 24px !important;
    background: linear-gradient(135deg, #1a2b5e 0%, #243e82 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 0.85em !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: none !important;
    float: none !important;
    width: 230px !important;
    height: 46px !important;
    box-shadow: 0 4px 12px rgba(26,43,94,0.28) !important;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s !important;
    cursor: pointer !important;
}

.spcl-action .deal-button.activate-button:not(.show-coupon-button):hover {
    background: linear-gradient(135deg, #0f1c3f 0%, #1a2b5e 100%) !important;
    box-shadow: 0 6px 18px rgba(26,43,94,0.38) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* ── Show Coupon: two-layer reveal ── */

/* Checkout hint — sits just below the button (button is 46px, centered at 50%) */
.spcl-checkout-hint {
    position: absolute;
    top: calc(50% + 30px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    margin: 0;
    font-size: 0.68em;
    color: #2a9d8f;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.spcl-action.hint-visible .spcl-checkout-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Container — defines the overall button size */
.spcl-code-stack {
    position: relative;
    width: 230px;
    height: 46px;
    border-radius: 8px;
    overflow: hidden;
}

/* Layer 1: gray background with full code, always visible, never moves */
.spcl-code-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef0f8;
    border: 1.5px solid #dde0ef;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.84em;
    font-weight: 700;
    color: #1a2b5e;
    letter-spacing: 2px;
    user-select: none;
    pointer-events: none;
}

/* Layer 2: orange overlay, covers 90% from left, animates on hover, gone on click */
.spcl-show-btn {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 90% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #e8614d 0%, #d44f3b 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 0.84em !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 2 !important;
    overflow: hidden !important;
    box-shadow: 2px 0 8px rgba(232,97,77,0.25) !important;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease !important;
    float: none !important;
    inset: auto !important;
}

/* Hover: shrink to 85% revealing more code */
.spcl-show-btn:hover {
    width: 85% !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Revealed: slide away entirely */
.spcl-show-btn.spcl-revealed {
    width: 0% !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Activate Deal button — !important guards against parent theme's .deal-button overrides */
.spcl-action .spcl-deal-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 190px !important;
    height: 46px !important;
    padding: 0 22px !important;
    background: linear-gradient(135deg, #1a2b5e 0%, #243e82 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 0.85em !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(26,43,94,0.28) !important;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s !important;
    cursor: pointer !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.spcl-action .spcl-deal-btn:hover {
    background: linear-gradient(135deg, #0f1c3f 0%, #1a2b5e 100%) !important;
    box-shadow: 0 6px 18px rgba(26,43,94,0.38) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
    text-decoration: none !important;
}


/* Hide mobile-only expiry on desktop — must come before the mobile media query */
.spcl-meta--mob { display: none; }

@media (max-width: 560px) {
    /* Cards: more gap + visible outline */
    .spcl-item {
        flex-direction: column;
        border: 1.5px solid #c8cdd8;
        border-radius: 14px;
        box-shadow: 0 3px 14px rgba(26,43,94,0.13);
        margin-bottom: 42px;
    }
    .spcl-item.spcl-badge--code-item { border-left: 3px solid #e8614d; }

    /* Slim accent strip — dark charcoal bar */
    .spcl-left {
        flex: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 6px 12px;
        background: #3a3f4c;
        border-right: none;
        border-bottom: 1px solid #2a2e38;
        border-radius: 12px 12px 0 0;
    }
    .spcl-left .spcl-discount {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }
    /* Badge: darker shade of bar = pressed-button effect */
    .spcl-left .spcl-badge {
        font-size: 0.7em;
        padding: 2px 8px;
        background: #22262f;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.45);
    }
    .spcl-left .spcl-badge--deal { color: #a8b8e8; }
    .spcl-left .spcl-badge--code { color: #f0a090; }
    .spcl-left .spcl-amount,
    .spcl-left .spcl-prefix,
    .spcl-left .spcl-suffix {
        font-size: 1em;
        font-weight: 800;
        color: #ffffff;
    }

    /* Body: center-aligned, more top spacing */
    .spcl-body { padding: 18px 14px 6px; text-align: center; }
    .spcl-title { font-size: 1.4em; }
    .spcl-desc  { display: block; font-size: 0.8em; margin-top: 6px; }

    /* Expiry on mobile: match description grey */
    .spcl-meta--desk { display: none; }
    .spcl-meta--mob {
        display: flex;
        justify-content: center;
        padding: 0 14px 12px;
    }
    .spcl-meta--mob .spcl-exp--soon { color: #999; font-weight: 600; }

    .spcl-action { padding: 0 14px 10px; }
    .spcl-action .deal-button,
    .spcl-action .activate-button { width: 100% !important; }

    #move-to-top { bottom: 20px !important; }

    /* Modal: override parent's 50% width so auto-margin centering works */
    .mfp-inline-holder .mfp-content {
        width: 100% !important;
        text-align: center !important;
    }
    .white-popup-block {
        width: 96vw !important;
        margin: 12px auto !important;
    }
}

/* ===== Coupon Modal ===== */

.mfp-bg {
    background: rgba(15, 28, 63, 0.75) !important;
    backdrop-filter: blur(4px);
}

.white-popup-block {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 0 !important;
    max-width: 560px !important;
    width: 92vw !important;
    margin: 24px auto !important;
    box-shadow: 0 28px 72px rgba(15, 28, 63, 0.28) !important;
    position: relative !important;
    font-size: 16px !important;
    display: block !important;
}

/* ── Header: store logo + name ── */
.vpc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 20px;
    background: #f7f8fc;
    border-bottom: 1px solid #e8eaf2;
    border-radius: 20px 20px 0 0;
}

.vpc-store-logo {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8eaf2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(26,43,94,0.1);
}

.vpc-store-logo img {
    max-width: 52px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.vpc-initials {
    font-size: 22px;
    font-weight: 800;
    color: #1a2b5e;
    line-height: 1;
}

.vpc-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vpc-store-name {
    font-size: 18px;
    font-weight: 800;
    color: #1a2b5e;
    line-height: 1.2;
}

.vpc-verified {
    font-size: 12px;
    font-weight: 600;
    color: #2a9d8f;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Body ── */
.vpc-body {
    padding: 26px 28px 28px;
}

.vpc-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1a2b5e !important;
    margin: 0 0 10px !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.vpc-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 22px;
    text-align: center;
}

/* Code section */
.vpc-code-wrap {
    background: #f7f8fc;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
}

.vpc-code-label {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.vpc-code-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2.5px dashed #c8cce0;
    border-radius: 12px;
    padding: 12px 16px;
    box-sizing: border-box;
}

.vpc-code-text {
    font-family: monospace;
    font-size: 24px;
    font-weight: 800;
    color: #1a2b5e;
    letter-spacing: 4px;
    flex: 1;
    text-align: center;
    min-width: 0;
    word-break: break-all;
}

.vpc-copy-btn {
    background: #e8614d;
    color: #fff;
    border: none;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.vpc-copy-btn:hover {
    background: #cf4f3c;
    transform: scale(1.05);
}

.couponcodeval {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
}

/* Deal activated state in modal */
.vpc-deal-wrap {
    background: #e8f5f4;
}

.vpc-deal-wrap .vpc-code-label {
    color: #2a9d8f;
}

.vpc-deal-wrap .vpc-code-label .fa {
    color: #2a9d8f;
}

.vpc-deal-row {
    border-color: #2a9d8f;
    border-style: solid;
}

.vpc-deal-text {
    color: #2a9d8f;
    letter-spacing: 3px;
}

/* CTA — Go to Website */
.vpc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1a2b5e 0%, #243e82 100%);
    color: #fff !important;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none !important;
    box-sizing: border-box;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(26,43,94,0.3);
}

.vpc-cta:hover {
    background: linear-gradient(135deg, #0f1c3f 0%, #1a2b5e 100%);
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26,43,94,0.38);
}

/* Footer — used count */
.vpc-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: #f7f8fc;
    border-top: 1px solid #e8eaf2;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    border-radius: 0 0 20px 20px;
}

.vpc-footer .fa {
    color: #2a9d8f;
    font-size: 14px;
}

/* Magnific close button */
/* Hide MFP's built-in close (modal:true disables it anyway; we use vpc-close-btn) */
.mfp-close { display: none !important; }

/* Our custom close button */
.vpc-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e8eaf2;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.vpc-close-btn:hover {
    background: #1a2b5e;
    border-color: #1a2b5e;
    color: #fff;
}

/* ===== Stores Directory Page ===== */

/* ===== Stores Directory ===== */

/* Reserve scrollbar space so it never causes a layout shift on load */
body.page-template-page-stores-php {
    scrollbar-gutter: stable;
}

#stores-dir-wrap {
    background: #f7f8fc;
    min-height: 60vh;
}

/* ── Full-bleed centering ───────────────────────────────────────────────────
   Header and A-Z bar: side padding that grows with viewport.
   Body: grid with 1fr side columns forces all letter sections into the
   same center column — physically identical width, no wrapper needed. */

/* Header — padding-based centering (avoids grid-column specificity fights) */
.sdir-header {
    background: #fff;
    padding: 80px max(20px, calc((100% - 1140px) / 2)) 36px;
    border-bottom: 1px solid #e8eaf2;
    box-sizing: border-box;
}

.sdir-title {
    font-size: 2em;
    font-weight: 800;
    color: #1a2b5e !important;
    margin: 0 0 8px;
    line-height: 1.2;
    display: block;
}

.sdir-subtitle {
    font-size: 0.95em;
    color: #666;
    margin: 0;
}

/* A–Z sticky bar */
.sdir-az-bar {
    background: #fff;
    border-bottom: 1px solid #e8eaf2;
    position: sticky;
    top: 0;
    z-index: 98;
    padding: 12px max(20px, calc((100% - 1140px) / 2));
    box-shadow: 0 2px 8px rgba(26,43,94,0.06);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.sdir-az-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 0.82em;
    font-weight: 700;
    color: #1a2b5e;
    background: #f7f8fc;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.sdir-az-btn:hover {
    background: #1a2b5e;
    color: #fff;
    text-decoration: none;
}

.sdir-az-btn--off {
    color: #c8cce0;
    cursor: default;
    pointer-events: none;
}

/* Body — grid centres all letter sections into the same column 2 */
.sdir-body {
    display: grid;
    grid-template-columns: 1fr min(1140px, calc(100% - 40px)) 1fr;
    row-gap: 36px;
    align-items: start;
    padding-top: 32px;
    padding-bottom: 60px;
}

.sdir-body > * {
    grid-column: 2;
}

.sdir-section {
    scroll-margin-top: 68px;
}

.sdir-letter {
    font-size: 1.4em;
    font-weight: 800;
    color: #1a2b5e;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 2px solid #e8eaf2;
}

/* Store grid — minmax(0,1fr) locks columns to exactly 25% */
.sdir-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* Store card */
.sdir-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8eaf2;
    border-radius: 12px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    box-sizing: border-box;
}

.sdir-card:hover {
    box-shadow: 0 4px 18px rgba(26,43,94,0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.sdir-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 10px;
    border: 1px solid #e8eaf2;
    background: #f7f8fc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sdir-logo img {
    max-width: 42px;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.sdir-initials {
    font-size: 0.88em;
    font-weight: 800;
    color: #1a2b5e;
    line-height: 1;
}

.sdir-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sdir-name {
    font-size: 0.88em;
    font-weight: 700;
    color: #1a2b5e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sdir-count {
    font-size: 0.75em;
    color: #888;
}

.sdir-arrow {
    color: #c8cce0;
    flex-shrink: 0;
    transition: color 0.2s;
    min-width: 14px;
}

.sdir-card:hover .sdir-arrow { color: #e8614d; }

.sdir-empty {
    color: #888;
    text-align: center;
    padding: 60px 0;
}

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

@media (max-width: 700px) {
    .sdir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sdir-az-btn { width: 30px; height: 30px; font-size: 0.75em; }
}

@media (max-width: 420px) {
    .sdir-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Categories Directory ===== */
#cats-dir-wrap {
    background: #f7f8fc;
    min-height: 60vh;
}

/* cdir-body: flat grid — no letter-section row-gap, just top/bottom padding */
.cdir-body {
    display: block !important;
    max-width: 1140px;
    margin: 0 auto;
    padding: 32px 20px 60px;
    box-sizing: border-box;
}

/* ===== Footer ===== */

#site-footer {
    background: #1a2b5e !important;
    margin-top: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    overflow: visible !important;
}

.subscribe-section.promote {
    margin-bottom: 0 !important;
    padding-bottom: 36px !important;
}

/* Top row */
.footer-top {
    padding: 32px 0 28px;
}

.footer-top-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Logo */
.footer-brand {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 72px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-site-name {
    font-size: 1.4em;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: -0.3px;
}

/* Nav groups */
.footer-nav {
    display: flex;
    gap: 48px;
    flex: 1;
    flex-wrap: wrap;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-label {
    font-size: 0.72em;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.footer-nav-label::after {
    content: '';
    display: block;
    height: 2px;
    width: 24px;
    border-radius: 2px;
    background: var(--label-accent, #e8614d);
}

.footer-nav-group:nth-child(1) .footer-nav-label { --label-accent: #e8614d; }
.footer-nav-group:nth-child(2) .footer-nav-label { --label-accent: #2a9d8f; }
.footer-follow .footer-nav-label              { --label-accent: #8338ec; }

.footer-nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.footer-nav-links a {
    font-size: 0.85em;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-nav-links a:hover {
    color: #e8614d !important;
    text-decoration: none;
}

/* Follow Us */
.footer-follow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.footer-social-icons-row {
    display: flex;
    gap: 10px;
}

.fsoc-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2) !important;
    background: rgba(255,255,255,0.07) !important;
    color: rgba(255,255,255,0.7) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
    text-decoration: none;
    transition: all 0.2s;
}

.fsoc-btn:hover { color: #fff !important; text-decoration: none; }
.fsoc-fb:hover  { background: #1877f2 !important; border-color: #1877f2 !important; }
.fsoc-ig:hover  { background: #e1306c !important; border-color: #e1306c !important; }
.fsoc-pi:hover  { background: #e60023 !important; border-color: #e60023 !important; }
.fsoc-tw:hover  { background: #111 !important;    border-color: #111 !important; }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-disclaimer {
    font-size: 0.73em;
    color: rgba(255,255,255,0.25) !important;
    margin: 0;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 0.75em;
    color: rgba(255,255,255,0.38) !important;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer-top-inner {
        flex-direction: column;
        gap: 24px;
    }
    .footer-nav {
        gap: 28px;
    }
    .footer-bottom .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Nav menu links ── */
#primary-navigation .navigation .menu > li > a {
    display: inline-flex !important;
    align-items: center;
    padding: 10px 16px !important;
    font-size: 0.85em !important;
    font-weight: 600 !important;
    color: #1a2b5e !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    border: none !important;
    background: transparent !important;
    border-radius: 6px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.2px;
}

#primary-navigation .navigation .menu > li > a:hover {
    color: #e8614d !important;
    background: rgba(232, 97, 77, 0.07) !important;
    text-decoration: none !important;
}

#primary-navigation .navigation .menu > li.current-menu-item > a,
#primary-navigation .navigation .menu > li.current-menu-ancestor > a {
    color: #e8614d !important;
    background: rgba(232, 97, 77, 0.1) !important;
}

/* Remove parent theme's red underline bar on active/hover */
#primary-navigation .navigation ul li:hover > a:before,
#primary-navigation .navigation ul .current-menu-item > a:before {
    display: none !important;
}

/* Load-more placeholder divs injected by ajax.js */
[class^="more-page-"] .spcl-item,
[class*=" more-page-"] .spcl-item {
    margin-bottom: 12px;
}
[class^="more-page-"] .spcl-item:last-child,
[class*=" more-page-"] .spcl-item:last-child {
    margin-bottom: 0;
}

/* Load More button — theme styling */
#load-posts {
    text-align: center;
    margin: 28px 0 44px;
    clear: both;
}

#load-posts a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 40px !important;
    background: linear-gradient(135deg, #e8614d 0%, #cf4f3c 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 700;
    height: auto !important;
    line-height: 1.4 !important;
    min-width: 0 !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(232,97,77,0.28);
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.15s;
}

#load-posts a:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,97,77,0.38);
    text-decoration: none !important;
    color: #fff !important;
}

#load-posts a.loading {
    opacity: 0.75;
    pointer-events: none;
}

/* Hide when no more posts remain */
#load-posts a.disabled,
#load-posts:has(a.disabled) {
    display: none !important;
}

/* Responsive — coupon cards */
@media (max-width: 900px) {
    .tabs-container .tab-content.is-active {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 560px) {
    .tabs-container .tab-content.is-active {
        grid-template-columns: 1fr !important;
    }
    .tabs-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
