/* =========================================
   CENTRALIZED THEME (Global Rules)
========================================= */

:root {
    --color-primary: #00234E;
    --color-secondary: #5a5f65;
    --color-surface: #F8F9FA;
    --color-surface-container: #F1F3F5;
    --color-outline: #E1E3E6;

    --font-sans: 'Manrope', sans-serif;
    --font-serif: 'Newsreader', serif;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 16px;
    }
}

/* =========================================
   NEW COUPON CARD DESIGN (nc-*)
========================================= */

/* Filter bar */
.nc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #E1E3E6;
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 32px;
    margin-bottom: 24px;
}

.nc-filter-left {
    flex: 0 1 auto;
    min-width: 180px;
}

.nc-filter-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nc-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nc-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.nc-search-input {
    width: 250px;
    max-width: 100%;
    padding: 12px 48px 12px 36px;
    border: 1px solid #E1E3E6;
    border-radius: 24px !important;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    background: #F8F9FA;
    color: #1e293b;
    transition: all 0.2s;
    height: 48px;
}

.nc-search-input:focus {
    border-color: #00234E;
    box-shadow: 0 0 0 2px rgba(0, 35, 78, 0.1);
}

.nc-search-clear {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #94a3b8;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nc-type-tabs {
    display: flex;
    gap: 6px;
    background: #F1F3F5;
    border-radius: 8px;
    padding: 4px;
}

.nc-tab {
    padding: 6px 14px;
    border: none;
    background: none;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    color: #334155;
    transition: all 0.2s;
    font-family: inherit;
}

.nc-tab.active,
.nc-tab[aria-selected="true"] {
    background: #00234E;
    color: #ffffff;
}

.nc-sort-block {
    position: relative;
}

.nc-sort-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #E1E3E6;
    border-radius: 8px;
    background: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    color: #334155;
    font-family: inherit;
    transition: border-color 0.2s;
}

.nc-sort-btn:hover {
    border-color: #00234E;
    color: #00234E;
}

.nc-sort-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border: 1px solid #E1E3E6;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 160px;
    padding: 6px;
    display: none;
}

.nc-sort-menu.active {
    display: block;
}

.nc-sort-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    border: none;
    background: none;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    border-radius: 6px;
    font-family: inherit;
}

.nc-sort-menu button:hover,
.nc-sort-menu button.active {
    background: #F1F3F5;
    color: #00234E;
}

/* Grid */
.coupons-grid.nc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .coupons-grid.nc-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination-hidden cards: needs to beat display:flex !important on the grid cards */
.coupons-grid.nc-grid .coupons-promo-discounts-codes.nc-hidden {
    display: none !important;
}

/* Card base */
.coupons-grid.nc-grid .coupons-promo-discounts-codes,
.nc-card {
    position: relative;
    width: auto !important;
    height: auto !important;
    border: 1px solid #E1E3E6 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

.coupons-grid.nc-grid .coupons-promo-discounts-codes:hover,
.nc-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 35, 78, 0.1) !important;
}

.nc-card::before {
    display: none !important;
}

/* Card top: badges row */
.nc-card-top {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

/* Badges */
.nc-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: inherit;
}

.nc-badge--amber {
    background: #fef3c7;
    color: #b45309;
}

.nc-badge--blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.nc-badge--navy {
    background: #e0e7ff;
    color: #3730a3;
}

.nc-badge--slate {
    background: #f1f5f9;
    color: #475569;
}

.nc-badge--red {
    background: #fee2e2;
    color: #b91c1c;
}

.nc-badge--orange {
    background: #ffedd5;
    color: #c2410c;
}

.nc-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #15803d;
    margin-left: auto;
}

.nc-verified svg {
    color: #15803d;
}

/* Title */
.nc-card-title {
    font-family: 'Newsreader', serif !important;
    font-size: 17px !important;
    color: #00234E !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

/* Description */
.nc-card-desc {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.nc-view-more {
    color: #00234E;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* Meta row (expiry + chips) */
.nc-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.nc-expires,
.nc-used {
    font-size: 10px !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

/* Actions */
.nc-card-actions {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #F1F3F5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.nc-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.nc-btn-primary {
    flex: 1;
    background: #00234E !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: background 0.2s !important;
    box-shadow: none !important;
}

.nc-btn-primary:hover {
    background: #001535 !important;
}

.nc-code-box {
    flex: 1;
    background: #F8F9FA;
    border: 2px dashed #00234E;
    border-radius: 8px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.nc-code-text {
    font-size: 11px;
    font-weight: 900;
    color: #00234E;
    opacity: 0.55;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Show-more button */
.nc-show-more {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 8px auto 24px;
    padding: 14px 20px;
    background: #ffffff;
    border: 2px solid #00234E;
    border-radius: 100px;
    color: #00234E;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.nc-show-more:hover {
    background: #00234E;
    color: #ffffff;
}

/* keyword chips */
.keyword-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.keyword-chip {
    font-size: 9px;
    background: #EFF6FF;
    color: #1d4ed8;
    padding: 2px 7px;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* =========================================
   FAQ Section & Store About Content
========================================= */
.faq-content ul,
.store-about-section ul,
.store-content-section ul {
    list-style-type: disc !important;
    padding-left: 1.25rem !important;
    margin-top: 0.75rem !important;
}

.faq-content ol,
.store-about-section ol,
.store-content-section ol {
    list-style-type: decimal !important;
    padding-left: 1.25rem !important;
    margin-top: 0.75rem !important;
}

.faq-content p,
.store-about-section p,
.store-content-section p,
.faq-content li,
.store-about-section li,
.store-content-section li {
    font-size: 0.875rem !important;
    color: #475569 !important;
    line-height: 1.625 !important;
}

.faq-content p,
.store-about-section p,
.store-content-section p {
    margin-bottom: 1rem !important;
}

.faq-content li,
.store-about-section li,
.store-content-section li {
    margin-bottom: 0.5rem !important;
}

.faq-content a,
.store-about-section a,
.store-content-section a {
    color: #00234E !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.faq-content a:hover,
.store-about-section a:hover,
.store-content-section a:hover {
    color: #1d4ed8 !important;
}

.faq-content b,
.faq-content strong,
.faq-content .bold,
.store-about-section b,
.store-about-section strong,
.store-about-section .bold,
.store-content-section b,
.store-content-section strong,
.store-content-section .bold {
    font-weight: 700 !important;
    color: #1e293b !important;
}

.faq-content i,
.faq-content em,
.store-about-section i,
.store-about-section em,
.store-content-section i,
.store-content-section em {
    font-style: italic !important;
}

.faq-content .textcolor,
.store-about-section .textcolor,
.store-content-section .textcolor {
    color: #00234E !important;
}

/* =========================================
   About Us & Privacy Policy Specific Styles
========================================= */

/* Feature Cards & Stats */
.stat-item {
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.feature-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 35, 78, 0.1);
    transform: translateY(-2px);
}

/* Privacy Policy Formatting */
.policy-body p {
    color: #475569;
    line-height: 1.75;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.policy-body h2 {
    font-family: 'Newsreader', serif;
    font-size: 1.35rem;
    color: #00234E;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}