/*
 * CouponDeals Pro - Main Stylesheet (Fast, Secure & Mobile Responsive)
 */

:root {
    --cdp-primary: #ff4757;
    --cdp-primary-hover: #e84118;
    --cdp-secondary: #10b981;
    --cdp-accent: #2563eb;
    --cdp-header-bg: #ffffff;
    --cdp-hero-start: #1e293b;
    --cdp-hero-end: #0f172a;
    --cdp-bg: #f8fafc;
    --cdp-surface: #ffffff;
    --cdp-border: #e2e8f0;
    --cdp-text: #0f172a;
    --cdp-muted: #64748b;
    --cdp-radius: 12px;
    --cdp-radius-sm: 8px;
    --cdp-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --cdp-shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
    --cdp-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
    --cdp-logo-height: 44px;
    --cdp-logo-max-width: 220px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--cdp-bg);
    color: var(--cdp-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.cdp-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------- Topbar ---------------- */
.cdp-topbar {
    background: #111827;
    color: #f3f4f6;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cdp-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.cdp-topbar-link {
    color: #facc15;
    font-weight: 600;
}
.cdp-topbar-link:hover {
    text-decoration: underline;
}

/* ---------------- Header & Strict Logo Sizing ---------------- */
.cdp-header {
    background: var(--cdp-header-bg);
    border-bottom: 1px solid var(--cdp-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--cdp-shadow-sm);
}
.cdp-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    gap: 20px;
}

/* Strict Branding & Custom Logo Constraints */
.cdp-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-height: 60px;
}
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.cdp-branding .custom-logo,
.cdp-branding img {
    height: var(--cdp-logo-height, 44px) !important;
    max-height: var(--cdp-logo-height, 44px) !important;
    width: auto !important;
    max-width: var(--cdp-logo-max-width, 220px) !important;
    object-fit: contain !important;
    display: block !important;
    transition: all 0.2s ease;
}

.cdp-site-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
}
.cdp-site-title .brand-highlight {
    color: var(--cdp-primary);
}

.cdp-header-search {
    flex: 1;
    max-width: 460px;
}
.cdp-search-form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid var(--cdp-border);
    border-radius: 50px;
    padding: 4px 6px 4px 16px;
    transition: all 0.2s ease;
}
.cdp-search-form:focus-within {
    border-color: var(--cdp-primary);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15);
    background: #fff;
}
.search-icon {
    font-size: 15px;
    margin-right: 8px;
    opacity: 0.6;
}
.cdp-search-input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 14px;
    color: var(--cdp-text);
}
.cdp-search-submit {
    background: var(--cdp-primary);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.cdp-search-submit:hover {
    background: var(--cdp-primary-hover);
}

.cdp-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cdp-nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    font-weight: 600;
    font-size: 14px;
}
.cdp-nav-list a:hover {
    color: var(--cdp-primary);
}

.cdp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}
.cdp-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cdp-text);
}

/* ---------------- Store Monogram Avatar (Zero-Image Feature) ---------------- */
.cdp-store-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
    border-radius: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    user-select: none;
}
.cdp-store-monogram-sm {
    width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 8px;
}
.cdp-store-monogram-md {
    width: 52px;
    height: 52px;
    font-size: 19px;
    border-radius: 12px;
}
.cdp-store-monogram-lg {
    width: 80px;
    height: 80px;
    font-size: 28px;
    border-radius: 16px;
}

/* ---------------- Buttons ---------------- */
.cdp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--cdp-radius-sm);
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.cdp-btn-primary {
    background: var(--cdp-primary);
    color: #fff;
}
.cdp-btn-primary:hover {
    background: var(--cdp-primary-hover);
    transform: translateY(-1px);
}
.cdp-btn-outline-sm {
    border: 1.5px solid var(--cdp-primary);
    color: var(--cdp-primary);
    background: transparent;
    padding: 7px 14px;
    font-size: 13px;
}
.cdp-btn-outline-sm:hover {
    background: var(--cdp-primary);
    color: #fff;
}
.cdp-btn-code {
    background: #fff;
    color: var(--cdp-primary);
    border: 2px dashed var(--cdp-primary);
    padding: 10px 18px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(255, 71, 87, 0.12);
}
.cdp-btn-code:hover {
    background: #fff5f5;
    border-color: var(--cdp-primary-hover);
    transform: translateY(-1px);
}
.cdp-btn-deal {
    background: var(--cdp-secondary);
    color: #fff;
    padding: 10px 18px;
}
.cdp-btn-deal:hover {
    background: #059669;
    transform: translateY(-1px);
}
.cdp-btn-telegram {
    background: #0088cc;
    color: #fff;
    width: 100%;
}
.cdp-btn-telegram:hover {
    background: #0077b5;
}
.cdp-btn-block {
    width: 100%;
}
.cdp-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ---------------- Hero Section ---------------- */
.cdp-hero-section {
    background: linear-gradient(135deg, var(--cdp-hero-start) 0%, var(--cdp-hero-end) 100%);
    color: #fff;
    padding: 60px 0 70px;
    text-align: center;
}
.cdp-hero-content {
    max-width: 800px;
}
.cdp-hero-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.cdp-hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.cdp-hero-subtitle {
    font-size: 17px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.5;
}
.cdp-hero-search-box {
    margin: 0 auto 25px;
    max-width: 650px;
}
.cdp-hero-form {
    display: flex;
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    align-items: center;
}
.hero-search-icon {
    font-size: 18px;
    padding-left: 16px;
    opacity: 0.5;
}
.cdp-hero-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 15px;
    color: #0f172a;
}
.cdp-hero-trending {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #94a3b8;
}
.trending-tags-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cdp-trending-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    padding: 3px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}
.cdp-trending-tag:hover {
    background: var(--cdp-primary);
    color: #fff;
}

/* ---------------- Stores Bar ---------------- */
.cdp-stores-bar {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid var(--cdp-border);
}
.cdp-section-heading-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.cdp-section-heading-inline h2 {
    font-size: 22px;
    font-weight: 700;
}
.cdp-view-all {
    color: var(--cdp-primary);
    font-weight: 700;
    font-size: 14px;
}
.cdp-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 15px;
}
.cdp-store-card {
    background: #fff;
    border: 1px solid var(--cdp-border);
    border-radius: var(--cdp-radius);
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cdp-store-card:hover {
    border-color: var(--cdp-primary);
    box-shadow: var(--cdp-shadow);
    transform: translateY(-2px);
}
.store-card-logo {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.store-card-logo img {
    max-height: 48px;
    max-width: 110px;
    object-fit: contain;
}
.store-card-name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}
.store-card-count {
    font-size: 12px;
    color: var(--cdp-secondary);
    font-weight: 600;
}

/* ---------------- Featured Deals Section ---------------- */
.cdp-featured-section {
    padding: 40px 0 20px;
}
.cdp-section-heading {
    text-align: center;
    margin-bottom: 30px;
}
.cdp-section-heading .sub-badge {
    background: #fef3c7;
    color: #b45309;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 8px;
}
.cdp-section-heading h2 {
    font-size: 26px;
    font-weight: 800;
}
.cdp-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.cdp-featured-card {
    background: #fff;
    border-radius: var(--cdp-radius);
    border: 2px solid #ffd166;
    box-shadow: var(--cdp-shadow);
    position: relative;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ff4757;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}
.featured-store-name {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}
.featured-title {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0;
    line-height: 1.35;
}
.featured-desc {
    color: var(--cdp-muted);
    font-size: 14px;
    margin-bottom: 20px;
    flex: 1;
}
.featured-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.expiry-pill {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* ---------------- Layout & Sidebar ---------------- */
.cdp-main-section {
    padding: 40px 0 60px;
}
.cdp-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}
.cdp-main-content {
    min-width: 0;
}

/* Filter Tabs */
.cdp-tabs-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--cdp-border);
    padding-bottom: 10px;
    overflow-x: auto;
}
.cdp-tab-btn {
    background: #fff;
    border: 1px solid var(--cdp-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.cdp-tab-btn.active, .cdp-tab-btn:hover {
    background: var(--cdp-primary);
    color: #fff;
    border-color: var(--cdp-primary);
}

/* ---------------- Coupon Card Feed ---------------- */
.cdp-coupons-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cdp-coupon-card {
    background: #fff;
    border: 1px solid var(--cdp-border);
    border-radius: var(--cdp-radius);
    display: grid;
    grid-template-columns: 140px 1fr 180px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: var(--cdp-shadow-sm);
}
.cdp-coupon-card:hover {
    box-shadow: var(--cdp-shadow);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.coupon-cut-col {
    background: #f8fafc;
    border-right: 2px dashed #cbd5e1;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.coupon-discount-badge {
    background: var(--cdp-primary);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
    width: 100%;
    word-break: break-word;
}
.coupon-type-label {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
}

.coupon-info-col {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.coupon-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.coupon-store-tag {
    font-weight: 700;
    font-size: 13px;
    color: #3b82f6;
}
.badge-verified {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}
.badge-exclusive {
    background: #f3e8ff;
    color: #7e22ce;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}
.coupon-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}
.coupon-title a:hover {
    color: var(--cdp-primary);
}
.coupon-desc {
    font-size: 13px;
    color: var(--cdp-muted);
    margin-bottom: 10px;
}
.coupon-meta-bottom {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}
.expiry-text.expiring {
    color: #ea580c;
    font-weight: 700;
}

.coupon-action-col {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-left: 1px solid #f1f5f9;
}
.coupon-btn-wrapper {
    width: 100%;
}
.coupon-action-col .cdp-btn {
    width: 100%;
}
.action-note {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}

/* ---------------- Sidebar Widgets ---------------- */
.cdp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cdp-widget {
    background: #fff;
    border: 1px solid var(--cdp-border);
    border-radius: var(--cdp-radius);
    padding: 20px;
    box-shadow: var(--cdp-shadow-sm);
}
.cdp-widget-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}
.cdp-widget-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cdp-widget-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
.cdp-widget-list li a:hover {
    color: var(--cdp-primary);
}
.count-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 50px;
}

/* Telegram Widget */
.cdp-telegram-widget {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: #fff;
    text-align: center;
    border: none;
}
.cdp-telegram-widget h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}
.cdp-telegram-widget p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.4;
}
.cdp-telegram-widget .cdp-btn-telegram {
    background: #fff;
    color: #0088cc;
    font-weight: 800;
}

/* ---------------- Single Coupon Page ---------------- */
.cdp-breadcrumbs-bar {
    background: #fff;
    border-bottom: 1px solid var(--cdp-border);
    padding: 12px 0;
    font-size: 13px;
    color: #64748b;
}
.cdp-breadcrumbs-bar a {
    color: #3b82f6;
}
.cdp-single-coupon-box {
    background: #fff;
    border: 1px solid var(--cdp-border);
    border-radius: var(--cdp-radius);
    padding: 30px;
    box-shadow: var(--cdp-shadow-sm);
    margin-bottom: 30px;
}
.cdp-single-header {
    border-bottom: 1px solid var(--cdp-border);
    padding-bottom: 20px;
    margin-bottom: 25px;
}
.cdp-single-title {
    font-size: 26px;
    font-weight: 800;
    margin: 10px 0;
}
.cdp-single-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #64748b;
}
.cdp-single-code-card {
    background: #f8fafc;
    border: 2px dashed #94a3b8;
    border-radius: var(--cdp-radius);
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.code-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cdp-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
}
.cdp-big-code-box {
    display: flex;
    max-width: 440px;
    margin: 20px auto 10px;
    border: 2px solid var(--cdp-primary);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.masked-code {
    flex: 1;
    font-family: monospace;
    font-size: 20px;
    font-weight: 800;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    letter-spacing: 1px;
}
.cdp-btn-copy-single {
    background: var(--cdp-primary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
}
.cdp-voting-box {
    margin-top: 25px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.vote-buttons {
    display: flex;
    gap: 10px;
}
.vote-btn {
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.vote-btn:hover {
    border-color: var(--cdp-primary);
}

/* ---------------- Store Banner Page ---------------- */
.cdp-store-banner {
    background: #fff;
    border-bottom: 1px solid var(--cdp-border);
    padding: 35px 0;
}
.cdp-store-banner-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}
.store-banner-logo {
    width: 100px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.store-banner-logo img {
    max-height: 55px;
    max-width: 95px;
    object-fit: contain;
}
.store-banner-details h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}
.store-banner-details p {
    color: var(--cdp-muted);
    font-size: 14px;
    margin-bottom: 12px;
}
.store-banner-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ---------------- Form Card ---------------- */
.cdp-form-card {
    background: #fff;
    border: 1px solid var(--cdp-border);
    border-radius: var(--cdp-radius);
    padding: 30px;
    box-shadow: var(--cdp-shadow-sm);
}
.cdp-form-group {
    margin-bottom: 18px;
}
.cdp-form-group label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}
.cdp-form-group input, .cdp-form-group select, .cdp-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--cdp-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.cdp-form-group input:focus, .cdp-form-group select:focus, .cdp-form-group textarea:focus {
    border-color: var(--cdp-primary);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.12);
}
.cdp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.cdp-notice {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.cdp-notice-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}
.cdp-notice-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ---------------- Footer ---------------- */
.cdp-footer {
    background: #0f172a;
    color: #e2e8f0;
}
.cdp-disclosure-bar {
    background: #020617;
    padding: 12px 0;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cdp-footer-main {
    padding: 60px 0 40px;
}
.cdp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.cdp-footer-brand {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.cdp-footer-brand .brand-highlight {
    color: var(--cdp-primary);
}
.cdp-footer-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.cdp-footer-socials {
    display: flex;
    gap: 12px;
    font-size: 20px;
}
.cdp-footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}
.cdp-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: #94a3b8;
}
.cdp-footer-links a:hover {
    color: #fff;
}
.cdp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    font-size: 13px;
    color: #64748b;
}
.cdp-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.cdp-footer-trust-badges {
    display: flex;
    gap: 20px;
    font-weight: 600;
}

/* ---------------- Interactive Modal Popup ---------------- */
.cdp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cdp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}
.cdp-modal-content {
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: var(--cdp-radius);
    max-width: 500px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: cdpFadeUp 0.3s ease-out;
}
@keyframes cdpFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.cdp-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    color: #94a3b8;
    cursor: pointer;
}
.cdp-modal-close:hover {
    color: #0f172a;
}
.cdp-modal-badge {
    background: var(--cdp-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 10px;
}
.cdp-modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}
.cdp-modal-store-name {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 20px;
}
.cdp-modal-instruction {
    font-size: 14px;
    color: #475569;
    margin-bottom: 14px;
}
.cdp-code-box {
    display: flex;
    border: 2px dashed var(--cdp-primary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff5f5;
}
.cdp-code-box input {
    flex: 1;
    border: none;
    background: transparent;
    text-align: center;
    font-family: monospace;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--cdp-primary);
    outline: none;
    padding: 12px;
}
.cdp-btn-copy {
    background: var(--cdp-primary);
    color: #fff;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.cdp-btn-copy:hover {
    background: var(--cdp-primary-hover);
}
.cdp-modal-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 15px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .cdp-layout-sidebar {
        grid-template-columns: 1fr;
    }
    .cdp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .cdp-main-nav, .cdp-header-buttons {
        display: none;
    }
    .cdp-mobile-toggle {
        display: flex;
    }
    .cdp-coupon-card {
        grid-template-columns: 1fr;
    }
    .coupon-cut-col {
        border-right: none;
        border-bottom: 2px dashed #cbd5e1;
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 16px;
    }
    .coupon-discount-badge {
        width: auto;
        margin-bottom: 0;
    }
    .cdp-hero-title {
        font-size: 28px;
    }
    .cdp-footer-grid {
        grid-template-columns: 1fr;
    }
}
