/**
 * CouponPaisa Homepage Redesign Stylesheet
 * Inspired by GrabOn modular layout while preserving CouponPaisa Brand Theme
 * Brand Colors:
 *   - Teal: #32b6a7 / #249e90 (Tabs, badges, dots, secondary accents)
 *   - Orange-Red: #ff3300 / #e62e00 (CTAs, Get Code, Redeem buttons, discount highlights)
 *   - Dark Slate: #212529 / #191f2e (Headings, primary text)
 *   - Light BG: #f5f6f7 (Page background)
 *   - Surface: #ffffff (Card backgrounds)
 */

:root {
    --cp-teal: #32b6a7;
    --cp-teal-dark: #249e90;
    --cp-teal-light: #eaf8f6;
    --cp-orange: #ff3300;
    --cp-orange-dark: #e62e00;
    --cp-orange-light: #fff0eb;
    --cp-dark: #191f2e;
    --cp-text: #2c323f;
    --cp-muted: #6f7583;
    --cp-border: #e2e6ea;
    --cp-card-bg: #ffffff;
    --cp-bg: #f5f6f7;
    --cp-radius-lg: 14px;
    --cp-radius-md: 10px;
    --cp-radius-sm: 6px;
    --cp-shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
    --cp-shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --cp-shadow-hover: 0 8px 24px rgba(0,0,0,0.10);
    --cp-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & container adjustments */
body {
    overflow-x: hidden;
}

.cp-home-container {
    width: 94%;
    max-width: 1370px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    position: relative;
}

@media (max-width: 987px) {
    .cp-home-container {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
}

.cp-section {
    padding: 26px 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.cp-section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.cp-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-section-title i {
    color: var(--cp-teal);
    font-size: 20px;
}

.cp-view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--cp-teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--cp-transition);
}

.cp-view-all-link:hover {
    color: var(--cp-teal-dark);
    transform: translateX(3px);
}

/* ==========================================================================
   1. HERO SPLIT SECTION (Banner Slider + Top Picks Card)
   ========================================================================== */
.cp-hero-split {
    padding-top: 20px;
    padding-bottom: 20px;
}

.cp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .cp-hero-grid {
        grid-template-columns: 1fr;
    }
}

.cp-hero-slider-wrap {
    background: #fff;
    border-radius: var(--cp-radius-lg);
    box-shadow: var(--cp-shadow-md);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.cp-hero-slider-wrap .main-slider {
    border-radius: var(--cp-radius-lg);
    overflow: hidden;
}

.cp-hero-slider-wrap .main-slider .item a {
    display: block;
    width: 100%;
}

.cp-hero-slider-wrap .main-slider .item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: var(--cp-radius-lg);
}

@media (max-width: 768px) {
    .cp-hero-slider-wrap .main-slider .item img {
        height: 180px;
    }
}

/* Top Picks Spotlight Card */
.cp-top-picks-card {
    background: #fff;
    border-radius: var(--cp-radius-lg);
    box-shadow: var(--cp-shadow-md);
    border: 1px solid var(--cp-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--cp-transition);
}

.cp-top-picks-card:hover {
    box-shadow: var(--cp-shadow-hover);
    transform: translateY(-2px);
}

.cp-top-picks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--cp-border);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.cp-top-picks-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--cp-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cp-top-picks-label i {
    color: var(--cp-orange);
}

.cp-top-picks-badge {
    background: var(--cp-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cp-top-picks-body {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.cp-top-picks-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid var(--cp-border);
    padding: 6px;
    object-fit: contain;
    background: #fff;
    box-shadow: var(--cp-shadow-sm);
    flex-shrink: 0;
}

.cp-top-picks-info {
    flex-grow: 1;
}

.cp-top-picks-store {
    font-size: 16px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0 0 4px 0;
}

.cp-top-picks-discount {
    font-size: 18px;
    font-weight: 800;
    color: var(--cp-orange);
    line-height: 1.2;
    margin: 0 0 4px 0;
}

.cp-top-picks-desc {
    font-size: 12px;
    color: var(--cp-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cp-btn-grab {
    display: block;
    width: 100%;
    background: var(--cp-orange);
    color: #fff !important;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: var(--cp-radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--cp-transition);
}

.cp-btn-grab:hover {
    background: var(--cp-orange-dark);
    box-shadow: 0 4px 12px rgba(255, 51, 0, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   2. POPULAR OFFERS OF THE DAY (4-Card Grid)
   ========================================================================== */
.cp-popular-offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .cp-popular-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .cp-popular-offers-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cp-offer-card {
    background: var(--cp-card-bg);
    border-radius: var(--cp-radius-md);
    box-shadow: var(--cp-shadow-sm);
    border: 1px solid var(--cp-border);
    padding: 20px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--cp-transition);
}

.cp-offer-card:hover {
    box-shadow: var(--cp-shadow-hover);
    border-color: var(--cp-teal);
    transform: translateY(-3px);
}

.cp-offer-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cp-offer-store-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--cp-border);
    padding: 4px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cp-offer-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--cp-teal-light);
    color: var(--cp-teal-dark);
}

.cp-offer-tag.exclusive {
    background: var(--cp-orange-light);
    color: var(--cp-orange);
}

.cp-offer-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--cp-dark);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.cp-offer-desc {
    font-size: 12.5px;
    color: var(--cp-muted);
    line-height: 1.4;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
}

.cp-btn-redeem {
    width: 100%;
    background: #fff;
    color: var(--cp-teal);
    border: 1.5px solid var(--cp-teal);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: var(--cp-radius-sm);
    text-align: center;
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: var(--cp-transition);
}

.cp-btn-redeem:hover {
    background: var(--cp-teal);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(50, 182, 167, 0.3);
}

/* ==========================================================================
   3. POPULAR STORES SHOWCASE (Clean Logo Tiles with Active Counts)
   ========================================================================== */
.cp-stores-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .cp-stores-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .cp-stores-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

.cp-store-card {
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-md);
    box-shadow: var(--cp-shadow-sm);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    position: relative;
    transition: var(--cp-transition);
}

.cp-store-card:hover {
    border-color: var(--cp-teal);
    box-shadow: var(--cp-shadow-hover);
    transform: translateY(-3px);
}

.cp-store-logo-wrap {
    width: 64px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.cp-store-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cp-store-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.cp-store-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--cp-teal-dark);
    background: var(--cp-teal-light);
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   4. TABBED COUPONS & DEALS SECTION
   ========================================================================== */
.cp-coupons-tab-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 24px;
    padding-bottom: 4px;
}

.cp-coupons-tab-bar::-webkit-scrollbar {
    display: none;
}

.cp-tab-btn {
    padding: 8px 18px;
    border-radius: 24px;
    background: #fff;
    border: 1.5px solid var(--cp-border);
    color: var(--cp-muted);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--cp-transition);
}

.cp-tab-btn:hover {
    border-color: var(--cp-teal);
    color: var(--cp-teal-dark);
}

.cp-tab-btn.active {
    background: var(--cp-teal);
    border-color: var(--cp-teal);
    color: #fff;
    box-shadow: 0 3px 10px rgba(50, 182, 167, 0.35);
}

/* Modern Horizontal Ticket Coupon Card */
.cp-ticket-card {
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-md);
    box-shadow: var(--cp-shadow-sm);
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 130px 1fr 180px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: var(--cp-transition);
}

@media (max-width: 991px) {
    .cp-ticket-card {
        grid-template-columns: 110px 1fr;
    }
    .cp-ticket-action-box {
        grid-column: 1 / -1;
        border-top: 1px dashed var(--cp-border);
        border-left: none !important;
        padding: 12px 16px !important;
    }
}

.cp-ticket-card:hover {
    box-shadow: var(--cp-shadow-hover);
    border-color: var(--cp-teal);
}

.cp-ticket-store-col {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px dashed var(--cp-border);
    position: relative;
}

.cp-ticket-store-logo {
    width: 60px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 6px;
}

.cp-ticket-discount-pill {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--cp-orange);
    background: var(--cp-orange-light);
    padding: 3px 6px;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    max-width: 90px;
    line-height: 1.2;
}

.cp-ticket-content-col {
    padding: 16px 18px;
}

.cp-ticket-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.cp-ticket-badge-verified {
    font-size: 11px;
    font-weight: 700;
    color: #00a862;
    background: #e6f7ef;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-ticket-badge-type {
    font-size: 11px;
    font-weight: 700;
    color: var(--cp-teal-dark);
    background: var(--cp-teal-light);
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.cp-ticket-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.cp-ticket-desc {
    font-size: 12.5px;
    color: var(--cp-muted);
    margin: 0;
    line-height: 1.4;
}

.cp-ticket-action-box {
    padding: 16px 18px;
    border-left: 1px dashed var(--cp-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fafbfc;
    height: 100%;
}

.cp-ticket-action-box .btn-code {
    width: 100%;
    margin: 0 0 6px 0;
}

.cp-ticket-btn-code {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 38px;
    background: var(--cp-orange);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: var(--cp-radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255, 51, 0, 0.25);
    transition: var(--cp-transition);
}

.cp-ticket-btn-code:hover {
    background: var(--cp-orange-dark);
    box-shadow: 0 4px 14px rgba(255, 51, 0, 0.4);
    transform: translateY(-1px);
}

.cp-ticket-used-count {
    font-size: 11px;
    color: var(--cp-muted);
    margin-top: 4px;
}

/* ==========================================================================
   5. POPULAR CATEGORIES (Modern Pill / Icon Grid)
   ========================================================================== */
.cp-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

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

@media (max-width: 520px) {
    .cp-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cp-category-card {
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-md);
    box-shadow: var(--cp-shadow-sm);
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--cp-transition);
}

.cp-category-card:hover {
    border-color: var(--cp-teal);
    box-shadow: var(--cp-shadow-hover);
    transform: translateY(-2px);
}

.cp-category-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--cp-teal-light);
    color: var(--cp-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: var(--cp-transition);
}

.cp-category-card:hover .cp-category-icon-box {
    background: var(--cp-teal);
    color: #fff;
}

.cp-category-details {
    overflow: hidden;
}

.cp-category-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-category-count {
    font-size: 11px;
    color: var(--cp-muted);
    margin: 0;
}

/* ==========================================================================
   6. CLEAN NEWSLETTER BANNER
   ========================================================================== */
.cp-newsletter-card {
    background: linear-gradient(135deg, var(--cp-teal-dark) 0%, var(--cp-teal) 100%);
    border-radius: var(--cp-radius-lg);
    padding: 30px 36px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 6px 20px rgba(50, 182, 167, 0.35);
}

@media (max-width: 850px) {
    .cp-newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

.cp-newsletter-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

@media (max-width: 850px) {
    .cp-newsletter-left {
        flex-direction: column;
    }
}

.cp-newsletter-icon {
    font-size: 38px;
    opacity: 0.95;
}

.cp-newsletter-heading {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #fff;
}

.cp-newsletter-sub {
    font-size: 13.5px;
    margin: 0;
    opacity: 0.9;
}

.cp-newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 440px;
    width: 100%;
}

@media (max-width: 520px) {
    .cp-newsletter-form {
        flex-direction: column;
    }
}

.cp-newsletter-input {
    flex-grow: 1;
    height: 46px;
    border-radius: var(--cp-radius-sm);
    border: none;
    padding: 0 16px;
    font-size: 14px;
    color: var(--cp-dark);
    outline: none;
}

.cp-newsletter-submit {
    height: 46px;
    padding: 0 22px;
    background: var(--cp-orange);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: var(--cp-radius-sm);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(255, 51, 0, 0.3);
    transition: var(--cp-transition);
}

.cp-newsletter-submit:hover {
    background: var(--cp-orange-dark);
    transform: translateY(-1px);
}

/* ==========================================================================
   7. SEO CONTENT ACCORDION / STREAMLINED BLOCK
   ========================================================================== */
.cp-seo-wrap {
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-lg);
    box-shadow: var(--cp-shadow-sm);
    padding: 24px 28px;
    margin-top: 20px;
}

.cp-seo-wrap h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--cp-dark);
    margin-top: 0;
    margin-bottom: 12px;
}

.cp-seo-wrap h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--cp-dark);
    margin-top: 18px;
    margin-bottom: 6px;
}

.cp-seo-wrap p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--cp-muted);
    margin-bottom: 12px;
}

.cp-seo-content-collapsed {
    max-height: 140px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.cp-seo-content-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

.cp-seo-content-collapsed.expanded {
    max-height: none !important;
    overflow: visible !important;
}

.cp-seo-content-collapsed.expanded::after {
    display: none !important;
}

.cp-seo-readmore-btn {
    background: none;
    border: none;
    color: var(--cp-teal);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    outline: none;
}

.cp-seo-readmore-btn:hover {
    color: var(--cp-teal-dark);
    text-decoration: underline;
}

/* ==========================================================================
   8. SCOPED MODERNIZATION FOR COUPONS CELL (Inside #coupons_cell)
   ========================================================================== */
#coupons_cell .widget.coupons {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 20px;
    padding: 0;
}

#coupons_cell .nav.solo-nav.responsive-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: none;
    padding: 0;
}

.cp-tabs-wrap {
    margin-bottom: 16px;
    width: 100%;
}

.cp-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.cp-filter-btn {
    border: 1.5px solid var(--cp-border) !important;
    background: #ffffff !important;
    color: var(--cp-text) !important;
    border-radius: 24px !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: var(--cp-transition) !important;
    outline: none !important;
    user-select: none !important;
    height: 38px !important;
    line-height: normal !important;
    box-shadow: none !important;
}

.cp-filter-btn:hover {
    color: var(--cp-teal-dark) !important;
    border-color: var(--cp-teal) !important;
    background: var(--cp-teal-light) !important;
}

.cp-filter-btn.active {
    background: var(--cp-teal) !important;
    border-color: var(--cp-teal) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(50, 182, 167, 0.35) !important;
}

.cp-badge-pill {
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 12px !important;
    background: #f0f3f6 !important;
    color: var(--cp-text) !important;
    line-height: 1.2 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

.cp-filter-btn.active .cp-badge-pill {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}

/* Mobile: Compact 3-Column Grid - ALL 6 FILTERS 100% VISIBLE WITHOUT HORIZONTAL SCROLLING */
@media (max-width: 640px) {
    .cp-filter-bar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .cp-filter-btn {
        width: 100% !important;
        padding: 6px 3px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
        gap: 3px !important;
        height: 36px !important;
        overflow: hidden !important;
    }

    .cp-filter-btn i {
        font-size: 11px !important;
        display: none !important; /* Hide tiny icons on mobile so label & count stay large & clear */
    }

    .cp-badge-pill {
        font-size: 10px !important;
        padding: 1px 5px !important;
    }
}

/* ==========================================================================
   HORIZONTAL COUPONS CAROUSEL (Space-Saving & Mobile-Optimized)
   ========================================================================== */
.cp-carousel-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.cp-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--cp-border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    color: var(--cp-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: var(--cp-transition);
}

.cp-carousel-arrow:hover {
    background: var(--cp-teal);
    color: #fff;
    border-color: var(--cp-teal);
    box-shadow: 0 6px 18px rgba(50, 182, 167, 0.35);
}

.cp-arrow-left {
    left: -8px;
}

.cp-arrow-right {
    right: -8px;
}

@media (max-width: 991px) {
    .cp-carousel-arrow {
        display: none !important;
    }
}

.cp-coupons-horizontal-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 18px 4px;
}

/* Custom sleek scrollbar for horizontal track */
.cp-coupons-horizontal-track::-webkit-scrollbar {
    height: 5px;
}

.cp-coupons-horizontal-track::-webkit-scrollbar-track {
    background: #eef2f5;
    border-radius: 10px;
}

.cp-coupons-horizontal-track::-webkit-scrollbar-thumb {
    background: #b5c2cb;
    border-radius: 10px;
}

.cp-coupons-horizontal-track::-webkit-scrollbar-thumb:hover {
    background: var(--cp-teal);
}

.cp-coupons-horizontal-track .coupon-wrapper.filter {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
    display: flex;
}

@media (max-width: 576px) {
    .cp-coupons-horizontal-track .coupon-wrapper.filter {
        flex: 0 0 270px;
        width: 270px;
        max-width: 270px;
    }
}

/* ==========================================================================
   COMPACT TICKET CARD (Clean Vertical Flow for Horizontal Slider)
   ========================================================================== */
.cp-h-ticket-card {
    background: #ffffff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-md);
    box-shadow: var(--cp-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 310px;
    position: relative;
    overflow: hidden;
    transition: var(--cp-transition);
}

.cp-h-ticket-card:hover {
    border-color: var(--cp-teal);
    box-shadow: var(--cp-shadow-hover);
    transform: translateY(-3px);
}

/* Card Header */
.cp-ht-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 8px 14px;
}

.cp-ht-store-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-width: 0;
}

.cp-ht-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--cp-border);
    background: #fff;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.cp-ht-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cp-ht-store-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cp-ht-store-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--cp-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.cp-ht-store-info:hover .cp-ht-store-name {
    color: var(--cp-teal);
}

.cp-ht-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-transform: uppercase;
    width: fit-content;
    margin-top: 2px;
}

.cp-ht-badge.coupon {
    background: var(--cp-teal-light);
    color: var(--cp-teal-dark);
}

.cp-ht-badge.deal {
    background: var(--cp-orange-light);
    color: var(--cp-orange);
}

.cp-ht-verified {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e6f9ed;
    color: #1a9347;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* Card Body */
.cp-ht-body {
    padding: 6px 14px 10px 14px;
    flex-grow: 1;
}

.cp-ht-discount {
    font-size: 16px;
    font-weight: 800;
    color: var(--cp-orange);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cp-ht-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cp-dark);
    line-height: 1.35;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
}

.cp-ht-title a {
    color: var(--cp-dark);
    text-decoration: none;
    transition: var(--cp-transition);
}

.cp-ht-title a:hover {
    color: var(--cp-teal);
}

.cp-ht-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--cp-muted);
}

.cp-ht-success {
    color: #435b71;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.cp-ht-expiry {
    color: #b83a24;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Perforation Divider */
.cp-ht-perforation {
    position: relative;
    height: 14px;
    display: flex;
    align-items: center;
    margin: 0;
}

.cp-ht-line {
    width: 100%;
    border-top: 1.5px dashed #d5dbe2;
}

.cp-ht-notch {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--cp-bg);
    border-radius: 50%;
    border: 1px solid var(--cp-border);
    top: 0;
}

.cp-ht-notch.left {
    left: -8px;
}

.cp-ht-notch.right {
    right: -8px;
}

/* Card Footer */
.cp-ht-footer {
    padding: 10px 14px 14px 14px;
}

.cp-ht-footer .button-contain {
    margin-bottom: 8px;
}

.cp-ht-footer .btn-code {
    width: 100%;
    margin: 0 !important;
    display: block;
    border-radius: 6px !important;
    overflow: hidden;
    position: relative;
    border: 1.5px dashed var(--cp-orange);
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 51, 0, 0.12);
    transition: var(--cp-transition);
}

.cp-ht-footer .btn-code:hover {
    border-color: var(--cp-orange-dark);
    box-shadow: 0 4px 12px rgba(255, 51, 0, 0.28);
    transform: translateY(-1px);
}

.cp-ht-footer .btn-code {
    position: relative;
    height: 38px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.cp-ht-footer .btn-code .partial-code {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    height: 100%;
    width: 100%;
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 1px;
    background: #eef5ff;
    border: 1px dashed #4a90e2;
    border-radius: 6px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
}

.cp-ht-footer .btn-code .btn-offer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cp-orange);
    color: #fff !important;
    text-decoration: none;
    padding: 0 12px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    transition: width 0.2s ease, background 0.2s ease;
    border-radius: 6px;
    z-index: 2;
    box-sizing: border-box;
}

.cp-ht-footer .btn-code:hover .btn-offer {
    width: 78%;
    background: var(--cp-orange-dark);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cp-ht-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.cp-ht-gostore {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--cp-teal);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.cp-ht-gostore:hover {
    color: var(--cp-teal-dark);
    text-decoration: underline;
}

.cp-d-none {
    display: none !important;
}

.no_record_div {
    display: none;
}

/* Empty State / No Records */
.cp-no-records {
    background: #fff;
    border: 1px dashed var(--cp-border);
    border-radius: var(--cp-radius-md);
    padding: 30px 16px;
    text-align: center;
    margin: 10px 0;
    width: 100%;
}

.cp-no-records i {
    font-size: 32px;
    color: var(--cp-muted);
    margin-bottom: 8px;
    display: block;
}

.cp-no-records h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--cp-dark);
    margin-bottom: 6px;
}

.cp-no-records p {
    font-size: 12.5px;
    color: var(--cp-muted);
    max-width: 380px;
    margin: 0 auto;
}

/* ==========================================================================
   DEALS OF THE DAY GRID (GrabOn Style Deals Section)
   ========================================================================== */
.cp-deals-day-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .cp-deals-day-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .cp-deals-day-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cp-deal-card {
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-md);
    box-shadow: var(--cp-shadow-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--cp-transition);
}

.cp-deal-card:hover {
    border-color: var(--cp-teal);
    box-shadow: var(--cp-shadow-hover);
    transform: translateY(-3px);
}

.cp-deal-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cp-deal-badge {
    background: var(--cp-orange-light);
    color: var(--cp-orange);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cp-deal-store-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--cp-border);
    padding: 4px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-deal-store-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cp-deal-body {
    flex-grow: 1;
    margin-bottom: 12px;
}

.cp-deal-store-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--cp-muted);
    margin-bottom: 4px;
}

.cp-deal-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0 0 6px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cp-deal-expiry {
    font-size: 11px;
    color: var(--cp-muted);
}

.cp-deal-footer .btn-code {
    margin: 0 !important;
    border: none;
    background: transparent;
}

.cp-deal-footer .btn-code .partial-code {
    display: none;
}

.cp-deal-footer .btn-code .btn-offer {
    display: block;
    width: 100%;
    background: var(--cp-orange);
    color: #fff !important;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 9px 14px;
    border-radius: var(--cp-radius-sm);
    text-decoration: none;
    transition: var(--cp-transition);
}

.cp-deal-footer .btn-code .btn-offer:hover {
    background: var(--cp-orange-dark);
    box-shadow: 0 3px 10px rgba(255, 51, 0, 0.3);
}

/* ==========================================================================
   NEWSLETTER SUBSCRIPTION STRIP (GrabOn Style Banner)
   ========================================================================== */
.cp-newsletter-section {
    padding: 16px 0 24px 0;
}

.cp-newsletter-banner {
    background: linear-gradient(135deg, #191f2e 0%, #1e3a47 100%);
    border-radius: var(--cp-radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: var(--cp-shadow-md);
    position: relative;
    overflow: hidden;
}

.cp-newsletter-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(50, 182, 167, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cp-newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 580px;
}

.cp-newsletter-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(50, 182, 167, 0.18);
    border: 1.5px solid var(--cp-teal);
    color: var(--cp-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.cp-newsletter-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.cp-newsletter-subtitle {
    font-size: 13.5px;
    color: #b0b8c6;
    margin: 0;
    line-height: 1.5;
}

.cp-newsletter-form-wrap {
    flex-grow: 1;
    max-width: 460px;
}

.cp-newsletter-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 30px;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.cp-newsletter-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--cp-dark);
    outline: none;
    border-radius: 30px 0 0 30px;
}

.cp-newsletter-input::placeholder {
    color: #8c93a1;
}

.cp-newsletter-btn {
    background: var(--cp-orange);
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 26px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    transition: var(--cp-transition);
    flex-shrink: 0;
}

.cp-newsletter-btn:hover {
    background: var(--cp-orange-dark);
    box-shadow: 0 4px 12px rgba(255, 51, 0, 0.4);
    transform: translateY(-1px);
}

.cp-newsletter-alert {
    display: none;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.cp-newsletter-alert.alert-success {
    background: #e6f9ed;
    color: #1a9347;
    border: 1px solid #c2f0d1;
}

.cp-newsletter-alert.alert-danger {
    background: #fdf0ed;
    color: #b83a24;
    border: 1px solid #facbc4;
}

@media (max-width: 991px) {
    .cp-newsletter-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 24px;
    }
    .cp-newsletter-content {
        max-width: 100%;
    }
    .cp-newsletter-form-wrap {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cp-newsletter-input-group {
        flex-direction: column;
        border-radius: var(--cp-radius-md);
        background: transparent;
        padding: 0;
        gap: 8px;
    }
    .cp-newsletter-input {
        background: #fff;
        border-radius: var(--cp-radius-sm);
        width: 100%;
    }
    .cp-newsletter-btn {
        width: 100%;
        justify-content: center;
        border-radius: var(--cp-radius-sm);
    }
}

/* ==========================================================================
   MODERN HEADER REDESIGN (BRAND THEME #32b6a7)
   ========================================================================== */
.cp-header-redesign {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: transparent;
    transition: var(--cp-transition);
}

.cp-header-redesign .cp-nav-bar {
    background-color: #39b9aa !important;
    padding: 0 !important;
    height: 64px !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
}

.cp-header-redesign .cp-nav-container,
.cp-nav-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 1520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    height: 100% !important;
}

/* Brand Logo */
.cp-logo-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.cp-brand-logo {
    display: inline-block;
    line-height: 0;
}

.cp-brand-logo img {
    height: 40px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    transition: var(--cp-transition);
}

.cp-brand-logo:hover img {
    opacity: 0.95;
    transform: scale(1.02);
}

/* Mobile Toggle */
.cp-menu-toggle {
    display: none;
    border: none;
    background: transparent;
    padding: 8px;
    margin: 0;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.cp-menu-toggle .lines {
    width: 24px;
    height: 18px;
    position: relative;
}

.cp-menu-toggle .lines span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    margin-bottom: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cp-menu-toggle.open .lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.cp-menu-toggle.open .lines span:nth-child(2) {
    opacity: 0;
}

.cp-menu-toggle.open .lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Modern Pill Search */
.cp-search-area {
    flex: 1 1 360px;
    max-width: 440px;
    min-width: 200px;
    margin: 0 12px;
}

.cp-header-search-form {
    margin: 0;
    width: 100%;
}

.cp-search-box-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid transparent;
    border-radius: 30px;
    padding: 3px 4px 3px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--cp-transition);
    height: 42px;
    box-sizing: border-box;
}

.cp-search-box-inner:focus-within {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.cp-search-box-icon {
    font-size: 15px;
    color: #8c93a1;
    margin-right: 8px;
    flex-shrink: 0;
}

.cp-search-box-input {
    flex: 1;
    border: none;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--cp-dark) !important;
    font-size: 13.5px;
    padding: 4px 6px;
    min-width: 40px;
}

.cp-search-box-input::placeholder {
    color: #8c93a1;
    font-size: 13px;
}

.cp-search-box-btn {
    background: linear-gradient(135deg, #ff4d17 0%, #e62e00 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: var(--cp-transition);
    flex-shrink: 0;
    line-height: 1.2;
}

.cp-search-box-btn:hover {
    background: linear-gradient(135deg, #ff5c26 0%, #d62700 100%);
    box-shadow: 0 2px 10px rgba(255, 51, 0, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   INSTANT BROWSER-BASED AI SEARCH DROPDOWN (Zero-Latency, Mobile & Desktop)
   ========================================================================== */
.cp-search-area {
    position: relative;
}

.cp-instant-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    z-index: 99999 !important;
    animation: cpSearchFadeDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cpSearchFadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cp-instant-search-results {
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.cp-instant-search-results::-webkit-scrollbar {
    width: 5px;
}
.cp-instant-search-results::-webkit-scrollbar-thumb {
    background: #ccd5dc;
    border-radius: 6px;
}
.cp-instant-search-results::-webkit-scrollbar-thumb:hover {
    background: var(--cp-teal);
}

.cp-ai-smart-banner {
    padding: 10px 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e6fffa 100%);
    border-bottom: 1px solid #bbf7d0;
}

.cp-ai-pick-inner {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cp-ai-pick-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0d9488;
}

.cp-ai-pick-badge i {
    font-size: 11px;
    color: #0f766e;
}

.cp-ai-pick-text {
    margin: 0;
    font-size: 12px;
    color: #1e293b;
    line-height: 1.4;
    font-weight: 500;
}

.cp-search-section-header {
    padding: 8px 14px 4px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #8b95a5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cp-search-section-header i {
    font-size: 11px;
}

.cp-search-group {
    padding: 2px 6px;
}

.cp-search-row {
    display: flex;
    align-items: center;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #1e293b !important;
    transition: background 0.15s ease, transform 0.15s ease;
    cursor: pointer;
    min-height: 44px;
}

.cp-search-row:hover,
.cp-search-row.active {
    background: #f0fdfa;
    color: var(--cp-teal-dark) !important;
}

.cp-search-thumb {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #eef2f5;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 12px;
}

.cp-search-thumb img {
    max-width: 26px;
    max-height: 26px;
    object-fit: contain;
}

.cp-search-cat-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--cp-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-right: 12px;
}

.cp-search-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cp-search-title {
    font-size: 13.5px;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-search-title mark {
    background: rgba(50, 182, 167, 0.22);
    color: var(--cp-teal-dark);
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 700;
}

.cp-search-badge {
    font-size: 11px;
    font-weight: 700;
    background: #e0f2f1;
    color: #00796b;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cp-search-arrow {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 8px;
    transition: transform 0.15s ease;
}

.cp-search-row:hover .cp-search-arrow,
.cp-search-row.active .cp-search-arrow {
    color: var(--cp-teal);
    transform: translateX(2px);
}

.cp-search-empty {
    padding: 20px 16px;
    text-align: center;
}

.cp-search-empty p {
    margin: 0 0 10px 0;
    color: #64748b;
    font-size: 13px;
}

.cp-search-view-all {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 20px;
    color: var(--cp-teal-dark) !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

.cp-search-footer {
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    padding: 8px 12px;
}

.cp-search-submit-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--cp-teal-dark) !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.cp-search-submit-link:hover {
    background: #e6fffa;
}

@media (max-width: 987px) {
    .cp-instant-search-dropdown {
        position: fixed !important;
        top: 60px !important;
        left: 8px !important;
        right: 8px !important;
        width: calc(100% - 16px) !important;
        max-height: calc(100vh - 130px) !important;
        border-radius: 14px !important;
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        z-index: 99999 !important;
    }

    .cp-instant-search-results {
        max-height: calc(100vh - 180px) !important;
    }

    .cp-search-row {
        padding: 11px 12px !important;
        min-height: 48px !important;
    }

    .cp-search-thumb {
        width: 36px !important;
        height: 36px !important;
    }

    .cp-search-title {
        font-size: 14px !important;
    }
}

/* Nav Menu & Links - Strictly Single Line Horizontal */
.cp-nav-menus-wrap {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.cp-header-nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    white-space: nowrap !important;
}

.cp-header-nav-list > li {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.cp-header-nav-list > li > a {
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 7px 12px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    transition: var(--cp-transition);
    text-decoration: none !important;
}

.cp-header-nav-list > li > a .cp-nav-link-main {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.cp-header-nav-list > li > a .cp-nav-icon {
    font-size: 14.5px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.cp-header-nav-list > li:hover > a .cp-nav-icon,
.cp-header-nav-list > li.open > a .cp-nav-icon {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.06) !important;
}

.cp-header-nav-list > li > a .cp-nav-arrow {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-left: 3px !important;
    transition: transform 0.2s ease !important;
}

.cp-header-nav-list > li:hover > a,
.cp-header-nav-list > li.open > a {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

.cp-header-nav-list > li:hover > a .cp-nav-arrow,
.cp-header-nav-list > li.open > a .cp-nav-arrow {
    color: #ffffff !important;
    transform: rotate(180deg) !important;
}

.cp-header-nav-list > li.active > a {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}

/* Premium Leaderboard Nav Link */
.cp-header-nav-list > li.cp-nav-leaderboard-item > a .cp-nav-icon {
    background: rgba(255, 215, 0, 0.25) !important;
    color: #ffd700 !important;
}

.cp-header-nav-list > li.cp-nav-leaderboard-item:hover > a .cp-nav-icon {
    background: rgba(255, 215, 0, 0.4) !important;
    color: #fff275 !important;
}

/* Submenu Dropdown (Desktop) */
.cp-header-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 210px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    list-style: none;
    margin-top: 4px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}

/* Hover bridge */
.cp-header-submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.cp-header-nav-list > li:hover > .cp-header-submenu,
.cp-header-nav-list > li.open > .cp-header-submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cp-header-submenu li a {
    display: block !important;
    padding: 8px 20px !important;
    color: #212121 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: capitalize !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.cp-header-submenu li a:hover {
    background: #f7f8fa !important;
    color: #6e8cd7 !important;
}

.cp-header-submenu li span {
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: normal !important;
    text-transform: inherit !important;
    color: inherit !important;
    display: inline !important;
    padding: 0 !important;
}

.cp-header-submenu .cp-submenu-icon {
    display: none !important;
}

.cp-submenu-divider {
    height: 1px;
    margin: 6px 0;
    background: #eeeeee;
}

.cp-submenu-action a {
    color: #f30 !important;
    font-weight: 700 !important;
}

.cp-submenu-action a:hover {
    color: #ed3c39 !important;
    background: #fff5f2 !important;
}

/* CTA Submit Coupon Button in Nav: Clean single line pill */
.cp-header-nav-list > li.cp-nav-cta-item > a.cp-submit-coupon-nav-btn {
    background: linear-gradient(135deg, #ff4d17 0%, #e62e00 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 8px 16px !important;
    border-radius: 22px !important;
    box-shadow: 0 3px 10px rgba(255, 51, 0, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    text-decoration: none !important;
    border: none !important;
    flex-shrink: 0 !important;
}

.cp-header-nav-list > li.cp-nav-cta-item > a.cp-submit-coupon-nav-btn:hover {
    background: linear-gradient(135deg, #ff5c26 0%, #d62700 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(255, 51, 0, 0.48) !important;
}

.cp-header-nav-list > li.cp-nav-cta-item > a.cp-submit-coupon-nav-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(255, 51, 0, 0.35) !important;
}

.cp-header-nav-list > li.cp-nav-cta-item > a.cp-submit-coupon-nav-btn i {
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* Laptop & Standard Desktop (1180px to 1380px) */
@media (min-width: 1180px) and (max-width: 1380px) {
    .cp-header-redesign .cp-nav-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
        gap: 10px !important;
    }
    .cp-brand-logo img {
        height: 36px !important;
        max-width: 180px !important;
    }
    .cp-search-area {
        max-width: 320px !important;
        min-width: 180px !important;
        margin: 0 8px !important;
    }
    .cp-search-box-inner {
        height: 40px !important;
        padding: 2px 3px 2px 12px !important;
    }
    .cp-search-ai-btn {
        padding: 5px 10px !important;
        font-size: 11.5px !important;
        margin-right: 4px !important;
    }
    .cp-search-box-btn {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
    .cp-header-nav-list {
        gap: 4px !important;
    }
    .cp-header-nav-list > li > a {
        font-size: 13.5px !important;
        padding: 6px 9px !important;
        gap: 4px !important;
    }
    .cp-header-nav-list > li > a .cp-nav-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 13px !important;
    }
    .cp-header-nav-list > li.cp-nav-cta-item > a.cp-submit-coupon-nav-btn {
        padding: 7px 13px !important;
        font-size: 13px !important;
    }
}

/* Compact Desktop & Tablet Landscape (988px to 1179px) */
@media (min-width: 988px) and (max-width: 1179px) {
    .cp-header-redesign .cp-nav-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: 8px !important;
    }
    .cp-brand-logo img {
        height: 32px !important;
        max-width: 150px !important;
    }
    .cp-search-area {
        max-width: 250px !important;
        min-width: 150px !important;
        margin: 0 6px !important;
    }
    .cp-search-box-inner {
        height: 38px !important;
        padding: 2px 3px 2px 10px !important;
    }
    .cp-search-box-icon {
        font-size: 13px !important;
        margin-right: 5px !important;
    }
    .cp-search-box-input {
        font-size: 12px !important;
        padding: 2px 4px !important;
    }
    .cp-search-ai-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
        margin-right: 4px !important;
    }
    .cp-search-box-btn {
        padding: 5px 10px !important;
        font-size: 11.5px !important;
    }
    .cp-header-nav-list {
        gap: 3px !important;
    }
    .cp-header-nav-list > li > a {
        font-size: 12.5px !important;
        padding: 5px 7px !important;
        gap: 3px !important;
    }
    .cp-header-nav-list > li > a .cp-nav-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 12px !important;
    }
    .cp-header-nav-list > li > a .cp-nav-link-main {
        gap: 4px !important;
    }
    .cp-header-nav-list > li.cp-nav-cta-item > a.cp-submit-coupon-nav-btn {
        padding: 6px 11px !important;
        font-size: 12px !important;
    }
}

/* Mobile Body Lock */
body.cp-menu-locked {
    overflow: hidden !important;
}

/* Mobile Backdrop */
.cp-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cp-menu-backdrop.active {
    display: block;
    opacity: 1;
}

.cp-mobile-search-toggle {
    display: none;
}

.cp-search-close-btn {
    display: none;
}

.cp-mobile-drawer-header,
.cp-drawer-footer {
    display: none !important;
}

/* Responsive Header */
@media (max-width: 987px) {
    .cp-nav-container {
        padding-top: 4px;
        padding-bottom: 4px;
        position: relative;
    }

    .cp-logo-block {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cp-menu-toggle,
    #cpMenuToggleBtn {
        display: none !important;
    }

    .cp-brand-logo {
        flex: 0 0 auto;
        text-align: left;
        margin: 0;
    }

    .cp-brand-logo img {
        height: 32px;
        max-width: 165px;
        margin: 0;
    }

    .cp-mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .cp-mobile-submit-btn {
        color: #ffffff !important;
        background: #ff3300 !important;
        border-radius: 20px !important;
        padding: 0 11px !important;
        height: 32px !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: 0 2px 6px rgba(255, 51, 0, 0.4) !important;
        border: none !important;
        line-height: 1 !important;
    }

    .cp-mobile-submit-btn:hover,
    .cp-mobile-submit-btn:active {
        background: #e62e00 !important;
        color: #ffffff !important;
    }

    /* Small Mobile Search Icon on Right */
    .cp-mobile-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: #ffffff;
        font-size: 16px;
        cursor: pointer;
        transition: var(--cp-transition);
        outline: none;
        flex-shrink: 0;
    }

    .cp-mobile-search-toggle:hover {
        background: rgba(255, 255, 255, 0.35);
    }

    /* Ensure Hamburger Menu Toggle is hidden in Mobile Header */
    .navbar-toggle,
    .cp-navbar-toggle,
    .cp-mobile-menu-toggle {
        display: none !important;
    }

    /* Expandable Search Area */
    .cp-search-area {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #39b9aa;
        z-index: 1045;
        margin: 0;
        padding: 8px 12px;
        display: none;
        align-items: center;
    }

    .cp-search-area.open {
        display: flex;
        animation: cpSearchDrop 0.22s ease-out;
    }

    @keyframes cpSearchDrop {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cp-search-box-inner {
        width: 100%;
        padding: 4px 6px 4px 14px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    }

    .cp-search-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #eef2f5;
        border: none;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        font-size: 11px;
        color: #666;
        cursor: pointer;
        margin-left: 6px;
        flex-shrink: 0;
        transition: var(--cp-transition);
    }

    .cp-search-close-btn:hover {
        background: #e2e6ea;
        color: #000;
    }

    /* LEFT SLIDE-OUT OFF-CANVAS DRAWER */
    .cp-nav-menus-wrap {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: #39b9aa !important;
        z-index: 1050 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .cp-nav-menus-wrap.open {
        transform: translateX(0) !important;
    }

    /* Drawer Header */
    .cp-mobile-drawer-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 14px !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .cp-drawer-brand {
        display: flex !important;
        align-items: center !important;
    }

    .cp-drawer-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
    }

    .cp-drawer-logo {
        height: 25px !important;
        width: auto !important;
        max-width: 135px !important;
        object-fit: contain !important;
        display: block !important;
        transition: opacity 0.2s ease;
    }

    .cp-drawer-logo-link:hover .cp-drawer-logo {
        opacity: 0.85;
    }

    .cp-drawer-close-btn {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        transition: transform 0.25s ease, background 0.2s ease !important;
        outline: none !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .cp-drawer-close-btn:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: rotate(90deg) !important;
    }

    /* Mobile Navigation List */
    .cp-header-nav-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 3px !important;
        padding: 10px 12px !important;
        margin: 0 !important;
        list-style: none !important;
        box-sizing: border-box !important;
    }

    /* Crucial: Each <li> is a full-width block so submenu expands underneath, NEVER beside */
    .cp-header-nav-list > li {
        display: block !important;
        width: 100% !important;
        margin: 0 0 3px 0 !important;
        padding: 0 !important;
        position: relative !important;
        white-space: normal !important;
        box-sizing: border-box !important;
        flex: none !important;
    }

    .cp-header-nav-list > li > a {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 9px 12px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        border: none !important;
        background: transparent !important;
        transition: background 0.2s ease !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
    }

    .cp-header-nav-list > li > a .cp-nav-link-main {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .cp-header-nav-list > li > a .cp-nav-icon {
        font-size: 15px !important;
        width: 28px !important;
        height: 28px !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.16) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        flex-shrink: 0 !important;
    }

    .cp-header-nav-list > li > a .cp-nav-arrow {
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        transition: transform 0.25s ease !important;
    }

    .cp-header-nav-list > li:hover > a,
    .cp-header-nav-list > li.open > a {
        background: rgba(255, 255, 255, 0.18) !important;
        color: #ffffff !important;
    }

    .cp-header-nav-list > li.open > a .cp-nav-arrow {
        transform: rotate(180deg) !important;
        color: #ffffff !important;
    }

    /* Submenu Accordion Container - Clean, Sleek, Full-Width Directly Below Header Link */
    .cp-header-submenu {
        position: static !important;
        float: none !important;
        display: none; /* Controlled by jQuery slideDown/slideUp */
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        background: rgba(0, 0, 0, 0.16) !important;
        padding: 6px 4px !important;
        margin: 4px 0 8px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        pointer-events: auto !important;
        list-style: none !important;
    }

    .cp-header-submenu > li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .cp-header-submenu > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        color: rgba(255, 255, 255, 0.92) !important;
        padding: 7px 12px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transition: background 0.15s ease, padding-left 0.15s ease, color 0.15s ease !important;
    }

    .cp-header-submenu > li > a:hover,
    .cp-header-submenu > li > a:active {
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        padding-left: 16px !important;
    }

    .cp-header-submenu .cp-submenu-icon {
        display: inline-block !important;
        font-size: 10px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        flex-shrink: 0 !important;
    }

    .cp-submenu-divider {
        background: rgba(255, 255, 255, 0.1) !important;
        margin: 6px 10px !important;
        height: 1px !important;
    }

    .cp-submenu-action a {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #ffd166 !important;
        font-weight: 700 !important;
        margin: 4px 6px 2px 6px !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        justify-content: center !important;
        text-align: center !important;
        border: 1px dashed rgba(255, 209, 102, 0.4) !important;
    }

    .cp-submenu-action a:hover {
        background: rgba(255, 255, 255, 0.22) !important;
        color: #ffffff !important;
    }

    /* Submit Coupon Nav Button on Mobile */
    .cp-header-nav-list > li.cp-nav-cta-item {
        margin-top: 8px !important;
    }

    .cp-header-nav-list > li.cp-nav-cta-item > a.cp-submit-coupon-nav-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 11px 16px !important;
        background: #ff3300 !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 25px !important;
        box-shadow: 0 4px 14px rgba(255, 51, 0, 0.35) !important;
        text-align: center !important;
    }

    .cp-header-nav-list > li.cp-nav-cta-item > a.cp-submit-coupon-nav-btn:hover {
        background: #e62e00 !important;
        box-shadow: 0 6px 18px rgba(255, 51, 0, 0.45) !important;
    }

    /* Mobile Drawer Footer */
    .cp-drawer-footer {
        display: block !important;
        padding: 12px 16px !important;
        background: rgba(0, 0, 0, 0.2) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        margin-top: 12px !important;
    }

    .cp-drawer-trust-badge {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .cp-drawer-trust-badge i {
        font-size: 15px !important;
        color: #ffd166 !important;
    }
}

/* ==========================================================================
   MODERN HOW IT WORKS / VALUE PROPOSITION
   ========================================================================== */
.cp-how-it-works-section {
    padding: 35px 0 20px 0;
}

.cp-title-center {
    justify-content: center;
    text-align: center;
    margin-bottom: 28px;
}

.cp-title-center .cp-section-title {
    width: 100%;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--cp-dark);
}

.cp-section-subtitle {
    width: 100%;
    font-size: 14px;
    color: var(--cp-muted);
    margin-top: 4px;
}

.cp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    box-sizing: border-box;
}

.cp-step-card {
    background: #ffffff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-lg);
    padding: 24px 22px;
    box-shadow: var(--cp-shadow-sm);
    transition: var(--cp-transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.cp-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cp-shadow-hover);
    border-color: var(--cp-teal);
}

.cp-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cp-step-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cp-step-icon-wrap.step-teal {
    background: var(--cp-teal-light);
    color: var(--cp-teal-dark);
}

.cp-step-icon-wrap.step-orange {
    background: var(--cp-orange-light);
    color: var(--cp-orange);
}

.cp-step-icon-wrap.step-purple {
    background: #f3ebfc;
    color: #8a3ffc;
}

.cp-step-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 20px;
    background: #f1f4f7;
    color: var(--cp-muted);
}

.cp-step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.cp-step-tagline {
    font-size: 13.5px;
    color: var(--cp-muted);
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.cp-step-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f1f4f7;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cp-step-features li {
    font-size: 12.5px;
    color: var(--cp-text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.cp-step-features li i {
    color: #00a862;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .cp-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   MODERN FOOTER REDESIGN
   ========================================================================== */
#footer.cp-modern-footer,
.cp-modern-footer {
    background: #ffffff !important;
    border-top: 1px solid var(--cp-border);
    color: var(--cp-text);
    margin-top: 40px;
    position: static !important;
}

.cp-footer-top {
    padding: 50px 0 30px 0;
    background: #ffffff !important;
}

.cp-footer-row {
    margin-bottom: 35px;
}

.cp-footer-col {
    margin-bottom: 25px;
}

.cp-footer-logo {
    max-height: 42px;
    width: auto;
    margin-bottom: 14px;
}

.cp-footer-tagline {
    font-size: 13px;
    line-height: 1.6;
    color: var(--cp-muted);
    margin-bottom: 14px;
}

.cp-footer-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cp-teal-light);
    color: var(--cp-teal-dark);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
}

.cp-footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0 0 16px 0;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 8px;
}

.cp-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--cp-teal);
    border-radius: 2px;
}

.cp-footer-links li {
    margin-bottom: 9px;
}

.cp-footer-links li a {
    font-size: 13px;
    color: var(--cp-muted);
    transition: var(--cp-transition);
    display: inline-block;
}

.cp-footer-links li a:hover {
    color: var(--cp-orange);
    transform: translateX(3px);
}

.cp-footer-connect-desc {
    font-size: 13px;
    color: var(--cp-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.cp-footer-social-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.cp-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #39b9aa !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--cp-transition);
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(57, 185, 170, 0.28);
}

.cp-social-btn i {
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1;
}

.cp-social-btn:hover {
    background: #2ea597 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 185, 170, 0.45);
}

/* Category stores cloud in footer */
.cp-footer-cat-stores-container {
    border-bottom: 1px solid #edf0f3;
    padding-bottom: 24px;
    margin-bottom: 30px;
    width: 100%;
}

.cp-footer-cat-stores-wrap {
    background: #ffffff !important;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-md);
    padding: 14px 18px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.cp-footer-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f3f6;
}

.cp-footer-section-heading {
    font-size: 12px;
    font-weight: 700;
    color: var(--cp-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cp-footer-section-heading i {
    color: var(--cp-teal);
    font-size: 13px;
}

.cp-footer-cat-toggle-btn {
    background: #f1f4f7;
    border: 1px solid var(--cp-border);
    border-radius: 20px;
    color: var(--cp-text);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--cp-transition);
    outline: none;
}

.cp-footer-cat-toggle-btn:hover {
    background: var(--cp-teal-light);
    color: var(--cp-teal-dark);
    border-color: var(--cp-teal);
}

.cp-footer-cat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    transition: max-height 0.35s ease;
}

.cp-footer-cat-list.cp-footer-cat-collapsed {
    max-height: 80px;
    overflow: hidden;
    position: relative;
}

.cp-footer-cat-list.cp-footer-cat-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.cp-footer-cat-list.expanded {
    max-height: 2500px;
}

.cp-footer-cat-list.expanded::after {
    display: none;
}

@media (max-width: 768px) {
    .cp-footer-cat-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.cp-footer-cat-row {
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--cp-muted);
}

.cp-footer-cat-label {
    display: inline;
    margin-right: 4px;
}

.cp-footer-cat-label a {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--cp-dark);
    text-decoration: none;
}

.cp-footer-cat-label a:hover {
    color: var(--cp-teal);
}

.cp-footer-store-tags {
    display: inline;
    font-size: 11px;
    color: #697386;
}

.cp-footer-store-tags a {
    color: #697386;
    font-size: 11px;
    transition: color 0.15s ease;
}

.cp-footer-store-tags a:hover {
    color: var(--cp-orange);
    text-decoration: underline;
}

.cp-footer-sep {
    margin: 0 4px;
    color: #cfd5dc;
    font-size: 9px;
}

/* Footer Bottom Bar */
.cp-footer-bottom {
    background: #ffffff !important;
    color: var(--cp-muted) !important;
    border-top: 1px solid var(--cp-border);
    padding: 18px 0;
}

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

.cp-copyright {
    font-size: 13px;
    color: var(--cp-text) !important;
    margin: 0;
}

.cp-copyright strong {
    color: var(--cp-dark) !important;
}

.cp-heart-icon {
    color: var(--cp-orange);
    font-size: 12px;
    vertical-align: middle;
}

.cp-disclaimer {
    font-size: 11.5px;
    color: var(--cp-muted) !important;
    margin: 0;
    max-width: 600px;
}

@media (max-width: 768px) {
    .cp-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   CouponPaisa Store Page Redesign (GrabOn Style + CouponPaisa Brand Theme)
   ========================================================================== */

.cp-store-page {
    background-color: var(--cp-bg, #f5f6f7);
    padding: 20px 0 50px;
    min-height: 80vh;
}

/* Breadcrumbs */
.cp-store-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cp-muted, #6f7583);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cp-store-breadcrumb a {
    color: var(--cp-muted, #6f7583);
    text-decoration: none;
    transition: var(--cp-transition, all 0.2s ease);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-store-breadcrumb a:hover {
    color: var(--cp-teal, #32b6a7);
}

.cp-store-breadcrumb .cp-bc-sep {
    font-size: 10px;
    color: #a5b0be;
}

.cp-store-breadcrumb .cp-bc-current {
    font-weight: 600;
    color: var(--cp-dark, #191f2e);
}

/* Hero Header Card */
.cp-store-hero {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}

.cp-store-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cp-store-hero-left {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}

.cp-store-hero-logo {
    width: 86px;
    height: 86px;
    min-width: 86px;
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cp-store-hero-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.cp-store-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cp-store-hero-details {
    flex: 1;
}

.cp-store-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.cp-store-rating-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}

.cp-store-stars {
    color: #ffb400;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.cp-store-stars .ti-star {
    opacity: 0.3;
}

.cp-store-stars .ti-star.is-active {
    opacity: 1;
}

.cp-star-num {
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin-left: 5px;
    font-size: 13px;
}

.cp-rating-count {
    color: var(--cp-muted, #6f7583);
    font-size: 12.5px;
}

.cp-hero-pill {
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 20px;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-pill-verified {
    background: #e8f7f5;
    color: #209a8c;
    border: 1px solid #c6ece6;
}

.cp-pill-updated {
    background: #f3f4f6;
    color: #5e6573;
}

.cp-store-hero-desc {
    font-size: 13px;
    color: #5e6573;
    margin: 6px 0 0;
    line-height: 1.5;
    max-width: 780px;
}

.cp-store-hero-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
}

.cp-btn-visit-store {
    background: var(--cp-teal, #32b6a7);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(50, 182, 167, 0.25);
    transition: all 0.2s ease;
}

.cp-btn-visit-store:hover {
    background: var(--cp-teal-dark, #249e90);
    transform: translateY(-1px);
    color: #ffffff;
}

.cp-btn-subscribe-store {
    background: #ffffff;
    color: var(--cp-dark, #191f2e);
    border: 1px solid #d5dce3;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cp-btn-subscribe-store:hover {
    border-color: var(--cp-orange, #ff3300);
    color: var(--cp-orange, #ff3300);
    background: #fff8f5;
}

/* Main Layout Grid */
.cp-store-main-row {
    margin-left: -12px;
    margin-right: -12px;
}

.cp-store-main-col,
.cp-store-sidebar-col {
    padding-left: 12px;
    padding-right: 12px;
}

/* Store Filter Bar */
.cp-store-filter-card {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cp-store-filter-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.cp-store-filter-nav::-webkit-scrollbar {
    display: none;
}

.cp-filter-pill {
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: #525a68;
    background: #f4f6f8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    user-select: none;
    border: 1px solid transparent;
}

.cp-filter-pill:hover {
    background: #eaf1f5;
    color: var(--cp-dark, #191f2e);
}

.cp-filter-pill.active {
    background: var(--cp-teal, #32b6a7) !important;
    color: #ffffff !important;
    border-color: var(--cp-teal, #32b6a7);
    box-shadow: 0 3px 10px rgba(50, 182, 167, 0.28);
}

.cp-fp-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    background: #e0e4ea;
    color: #373f4d;
    transition: all 0.2s ease;
}

.cp-filter-pill.active .cp-fp-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Coupon Ticket Card (GrabOn Horizontal Ticket Style) */
.cp-store-ticket {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.cp-store-ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #ccd5df;
}

.cp-ticket-inner {
    display: flex;
    align-items: stretch;
    min-height: 140px;
}

/* Left Notch Column */
.cp-ticket-notch-col {
    width: 140px;
    min-width: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px dashed #d5dce4;
    background: #fafbfc;
}

.cp-ticket-notch-badge {
    padding: 18px 10px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Ticket Notch Cutouts */
.cp-ticket-cut {
    position: absolute;
    right: -9px;
    width: 17px;
    height: 17px;
    background: var(--cp-bg, #f5f6f7);
    border-radius: 50%;
    z-index: 2;
    border: 1px solid #d5dce4;
}

.cp-ticket-cut.top {
    top: -9px;
    border-top: none;
}

.cp-ticket-cut.bottom {
    bottom: -9px;
    border-bottom: none;
}

.cp-ticket-discount-text {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.is-coupon .cp-ticket-discount-text {
    color: var(--cp-orange, #ff3300);
}

.is-deal .cp-ticket-discount-text {
    color: var(--cp-teal, #32b6a7);
}

.cp-ticket-sub-text {
    font-size: 10.5px;
    font-weight: 700;
    color: #737c8b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.cp-ticket-type-pill {
    margin-top: 10px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-ticket-type-pill.coupon-pill {
    background: #fff0ec;
    color: var(--cp-orange, #ff3300);
    border: 1px solid #ffd3c6;
}

.cp-ticket-type-pill.deal-pill {
    background: #eaf7f5;
    color: var(--cp-teal, #32b6a7);
    border: 1px solid #c7ece6;
}

/* Center Body Column */
.cp-ticket-body-col {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cp-ticket-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.cp-meta-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-verified-pill {
    background: #e8f8f5;
    color: #1e998a;
}

.cp-success-pill {
    background: #eef6fc;
    color: #2378b8;
}

.cp-used-pill {
    background: #f3f4f6;
    color: #5d6574;
}

.cp-expiry-pill {
    background: #faf0e6;
    color: #a46313;
}

.cp-ticket-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cp-ticket-title a {
    color: var(--cp-dark, #191f2e);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cp-ticket-title a:hover {
    color: var(--cp-teal, #32b6a7);
}

.cp-ticket-terms-wrap {
    margin-bottom: 8px;
}

.cp-terms-toggle {
    font-size: 12px;
    font-weight: 600;
    color: #6d7684;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.cp-terms-toggle:hover {
    color: var(--cp-teal, #32b6a7);
}

.cp-ticket-terms-collapse {
    margin-top: 8px;
}

.cp-terms-inner {
    background: #f8fafc;
    border-left: 3px solid var(--cp-teal, #32b6a7);
    padding: 10px 14px;
    font-size: 12px;
    color: #4d5562;
    border-radius: 0 6px 6px 0;
    line-height: 1.6;
}

.cp-ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f3f6;
}

.cp-feedback-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp-feedback-label {
    font-size: 11.5px;
    color: #7a8391;
}

.cp-btn-vote {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #dbe1e8;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #5a6372;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cp-btn-vote:hover {
    border-color: var(--cp-teal, #32b6a7);
    color: var(--cp-teal, #32b6a7);
    background: #f0faf9;
}

.cp-recommend-text {
    font-size: 11.5px;
    color: #7a8391;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-recommend-text i {
    color: #ff4757;
}

/* Right Action Column */
.cp-ticket-action-col {
    width: 195px;
    min-width: 195px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px dashed #e2e6ea;
    background: #ffffff;
}

.cp-ticket-code-box {
    position: relative;
    width: 100%;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
}

.cp-ticket-code-box .partial-code {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 0 14px 0 8px;
    background: #eef5ff;
    border: 1.5px dashed #4a90e2;
    border-radius: 8px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: 800;
    font-size: 13.5px;
    letter-spacing: 1.5px;
    color: #1e293b;
    text-transform: uppercase;
    box-sizing: border-box;
    line-height: 40px;
    overflow: hidden;
    white-space: nowrap;
}

.cp-ticket-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff !important;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: width 0.22s ease-in-out, background 0.2s ease, transform 0.2s ease;
    text-align: center;
    box-sizing: border-box;
}

.cp-ticket-cta .btn-hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.cp-ticket-cta.is-coupon {
    background: linear-gradient(135deg, #ff4500 0%, #e62e00 100%);
    box-shadow: 0 3px 10px rgba(255, 69, 0, 0.28);
}

.cp-ticket-code-box:hover .cp-ticket-cta.is-coupon {
    width: 78%;
    background: linear-gradient(135deg, #ff571a 0%, #cc2900 100%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cp-ticket-cta.is-deal {
    width: 100%;
    background: linear-gradient(135deg, #32b6a7 0%, #20998b 100%);
    box-shadow: 0 3px 10px rgba(50, 182, 167, 0.28);
}

.cp-ticket-cta.is-deal:hover {
    background: linear-gradient(135deg, #3ec8b8 0%, #1a877a 100%);
}

.cp-ticket-tested {
    font-size: 10.5px;
    color: #1e998a;
    font-weight: 600;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Empty State / No Records */
.cp-no-records {
    padding: 30px 20px;
    background: #ffffff;
    border: 1px dashed #ced7e0;
    border-radius: 12px;
}

.cp-no-records-box .cp-no-record-icon {
    font-size: 32px;
    color: var(--cp-teal, #32b6a7);
    margin-bottom: 12px;
}

.cp-no-record-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 6px 0;
}

.cp-no-record-desc {
    font-size: 13px;
    color: var(--cp-muted, #6f7583);
    margin: 0;
}

/* Sidebar Modern Cards */
.cp-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.cp-sidebar-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid #edf1f5;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    box-sizing: border-box;
}

.cp-sidebar-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--cp-dark, #191f2e) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    float: none !important;
}

.cp-sidebar-title i {
    color: var(--cp-teal, #32b6a7);
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.cp-sidebar-card-body {
    padding: 16px 18px;
}

.cp-store-stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cp-store-stats-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #f1f4f7;
    font-size: 12.5px;
}

.cp-store-stats-list li:last-child {
    border-bottom: none;
}

.cp-stat-label {
    color: #687282;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp-stat-value {
    font-weight: 600;
    color: var(--cp-dark, #191f2e);
}

.cp-stat-value.text-teal {
    color: var(--cp-teal, #32b6a7);
}

.cp-tips-content,
.cp-about-content {
    font-size: 13px;
    color: #4b5462;
    line-height: 1.6;
}

.cp-tips-content p,
.cp-about-content p {
    margin-bottom: 10px;
}

.cp-tips-content p:last-child,
.cp-about-content p:last-child {
    margin-bottom: 0;
}

.cp-store-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-store-tips-list li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: #4b5462;
    line-height: 1.5;
}

.cp-store-tips-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--cp-teal, #32b6a7);
    font-weight: 700;
    font-size: 12px;
}

/* Similar Stores & Sidebar Widgets Redesign */
.cp-sidebar-view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--cp-teal, #32b6a7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
}

.cp-sidebar-view-all:hover {
    color: var(--cp-teal-dark, #249e90);
}

/* Similar Stores List (GrabOn Style) */
.cp-similar-stores-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-similar-store-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #edf1f5;
    background: #ffffff;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-similar-store-row:hover {
    border-color: var(--cp-teal, #32b6a7);
    background: #f8fdfc;
    box-shadow: 0 4px 12px rgba(50, 182, 167, 0.08);
    transform: translateX(3px);
}

.cp-similar-store-logo {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
    border: 1px solid #e5eaef;
    padding: 4px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.cp-similar-store-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.cp-similar-store-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cp-similar-store-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.cp-similar-store-row:hover .cp-similar-store-name {
    color: var(--cp-teal, #32b6a7);
}

.cp-similar-store-offers {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--cp-teal-dark, #209a8c);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cp-similar-store-arrow {
    color: #a6b2c0;
    font-size: 12px;
    transition: all 0.2s ease;
}

.cp-similar-store-row:hover .cp-similar-store-arrow {
    color: var(--cp-teal, #32b6a7);
    transform: translateX(2px);
}

/* Sidebar Categories Widget (GrabOn Clean Style) */
.cp-sidebar-cat-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cp-sidebar-cat-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #f4f6f9;
}

.cp-sidebar-cat-item:last-child {
    border-bottom: none;
}

.cp-sidebar-cat-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 10px !important;
    border-radius: 8px;
    color: #3e4654 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.cp-sidebar-cat-link:hover {
    background: #edf8f6 !important;
    color: var(--cp-teal, #32b6a7) !important;
    transform: translateX(3px);
}

.cp-sidebar-cat-item-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.cp-cat-icon-badge {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 7px;
    background: #eef8f6;
    color: var(--cp-teal, #32b6a7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s ease;
}

.cp-sidebar-cat-link:hover .cp-cat-icon-badge {
    background: var(--cp-teal, #32b6a7);
    color: #ffffff;
}

.cp-sidebar-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--cp-dark, #191f2e);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.cp-sidebar-cat-link:hover .cp-sidebar-cat-name {
    color: var(--cp-teal, #32b6a7);
}

.cp-cat-count-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    background: #edf1f5;
    color: #555f6f;
    transition: all 0.2s ease;
}

.cp-sidebar-cat-link:hover .cp-cat-count-pill {
    background: var(--cp-teal, #32b6a7);
    color: #ffffff;
}

/* Sidebar Popular Stores Tags / Chips */
.cp-sidebar-store-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cp-store-chip {
    display: inline-block;
    background: #f2f5f8;
    color: #3e4653;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid #e2e7ec;
}

.cp-store-chip:hover {
    background: var(--cp-teal, #32b6a7);
    color: #ffffff;
    border-color: var(--cp-teal, #32b6a7);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(50, 182, 167, 0.25);
}

/* 2 Column Layout with Left Sidebar (GrabOn Style) */
.cp-store-main-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: -12px;
    margin-right: -12px;
}

.cp-store-sidebar-col {
    width: 32%;
    max-width: 360px;
    padding-left: 12px;
    padding-right: 12px;
    order: 1;
    position: relative;
}

.cp-sidebar-sticky-wrap {
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .cp-store-sidebar-col {
        position: relative;
    }
    .cp-sidebar-sticky-wrap {
        width: 100%;
        box-sizing: border-box;
    }
}

.cp-store-main-col {
    width: 68%;
    flex: 1;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
    order: 2;
}

@media (max-width: 991px) {
    .cp-store-main-row {
        flex-direction: column;
    }
    .cp-store-main-col {
        width: 100%;
        order: 1;
    }
    .cp-store-sidebar-col {
        width: 100%;
        max-width: 100%;
        order: 2;
        margin-top: 24px;
    }
    .cp-sidebar-sticky-wrap {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
}

/* SEO Content & Tabbed Section */
.cp-store-seo-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.cp-store-seo-card {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.cp-seo-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5eaf0;
    background: #f8fafc;
    padding: 6px 12px 0;
    margin: 0;
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cp-seo-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.cp-seo-tabs li {
    margin-bottom: 0;
}


.cp-seo-tabs li a {
    font-size: 13.5px;
    font-weight: 600;
    color: #586170;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 12px 18px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp-seo-tabs li.active a,
.cp-seo-tabs li a:hover {
    color: var(--cp-teal, #32b6a7) !important;
    background: transparent !important;
    border-bottom: 3px solid var(--cp-teal, #32b6a7) !important;
}

.cp-seo-tab-content {
    padding: 24px;
}

.cp-seo-content-body {
    font-size: 13.5px;
    line-height: 1.75;
    color: #414a58;
}

.cp-seo-content-body h2,
.cp-seo-content-body h3,
.cp-seo-content-body h4 {
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin-top: 18px;
    margin-bottom: 10px;
}

.cp-seo-content-body p {
    margin-bottom: 14px;
}

.cp-seo-content-body table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e6ea !important;
    border-radius: 10px !important;
    overflow: hidden;
    margin: 16px 0 20px !important;
}

.cp-seo-content-body table th {
    background: #f0f7f6 !important;
    color: var(--cp-dark, #191f2e) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 11px 16px !important;
    border-bottom: 2px solid #cfe8e4 !important;
    border-top: none !important;
}

.cp-seo-content-body table td {
    padding: 10px 16px !important;
    border-bottom: 1px solid #edf1f5 !important;
    font-size: 13px !important;
    color: #3e4653 !important;
}

.cp-seo-content-body table tr:last-child td {
    border-bottom: none !important;
}

.cp-seo-content-body table tr:nth-child(even) td {
    background: #fafbfc;
}

/* Responsive Media Queries for Store Pages */
@media (max-width: 991px) {
    .cp-store-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cp-store-hero-right {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }

    .cp-btn-visit-store,
    .cp-btn-subscribe-store {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .cp-ticket-inner {
        flex-direction: column;
    }

    .cp-ticket-notch-col {
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: 1px dashed #d5dce4;
        padding: 10px 16px;
    }

    .cp-ticket-notch-badge {
        padding: 10px;
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
    }

    .cp-ticket-cut {
        display: none;
    }

    .cp-ticket-notch-col .cp-ticket-type-pill {
        margin-top: 0;
    }

    .cp-ticket-body-col {
        padding: 14px 16px;
    }

    .cp-ticket-action-col {
        width: 100%;
        min-width: 100%;
        border-left: none;
        border-top: 1px dashed #e2e6ea;
        padding: 12px 16px;
    }

    .cp-store-hero {
        padding: 18px 16px;
    }

    .cp-store-hero-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .cp-store-hero-logo {
        width: 68px;
        height: 68px;
        min-width: 68px;
    }

    .cp-store-title {
        font-size: 18px;
    }

    .cp-store-hero-right {
        flex-direction: column;
    }

    .cp-seo-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .cp-seo-tab-content {
        padding: 16px;
    }
}

/* ==========================================================================
   Newsletter Alert & Popular Stores/Categories Redesign (Matches Screenshot)
   ========================================================================== */

.cp-newsletter-alert-section {
    background-color: var(--cp-bg, #f5f6f7);
    padding: 24px 0 16px;
    position: relative;
    border-top: 1px solid var(--cp-border, #e2e6ea);
}

.cp-newsletter-alert-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.cp-pop-tabs-col,
.cp-newsletter-box-col {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .cp-newsletter-alert-row {
        display: block;
    }
}

/* Popular Stores & Categories Tabs Card */
.cp-pop-tabs-wrapper {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cp-pop-nav-tabs {
    display: flex;
    border-bottom: 1px solid #edf1f5;
    background: #fafbfc;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-pop-nav-tabs li {
    margin: 0;
    padding: 0;
}

.cp-pop-nav-tabs li a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: #555f6d;
    background: transparent;
    border: none;
    border-bottom: 2.5px solid transparent;
    border-radius: 0;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.cp-pop-nav-tabs li a:hover {
    color: var(--cp-orange, #ff3300);
    background: rgba(255, 255, 255, 0.6);
}

.cp-pop-nav-tabs li.active a,
.cp-pop-nav-tabs li.active a:focus,
.cp-pop-nav-tabs li.active a:hover {
    color: var(--cp-orange, #ff3300) !important;
    background: #ffffff !important;
    border-bottom: 2.5px solid var(--cp-orange, #ff3300) !important;
    font-weight: 700;
}

.cp-pop-tab-content {
    padding: 14px 20px;
    flex: 1;
}

/* 3-Column Links Grid for Stores & Categories */
.cp-pop-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 20px;
}

.cp-pop-link-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-pop-link {
    font-size: 13px;
    font-weight: 500;
    color: #3b4451;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.4;
}

.cp-pop-link:hover {
    color: var(--cp-teal, #32b6a7);
    transform: translateX(3px);
}

/* Wider & Compact Newsletter Card (Right) */
.cp-newsletter-card {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cp-newsletter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.cp-nl-icon-wrap {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: #fff0ec;
    color: var(--cp-orange, #ff3300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.cp-nl-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0;
    line-height: 1.4;
}

.cp-newsletter-form {
    margin: 0 0 8px 0;
}

.cp-nl-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-nl-input-wrap {
    position: relative;
    flex: 1;
}

.cp-nl-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b95a5;
    font-size: 15px;
    pointer-events: none;
}

.cp-nl-input {
    height: 42px;
    padding-left: 38px !important;
    padding-right: 14px;
    font-size: 13.5px;
    border-radius: 8px;
    border: 1.5px solid #d5dce3;
    background: #fafbfc;
    color: #191f2e;
    transition: all 0.2s ease;
    box-shadow: none !important;
    width: 100%;
    margin-bottom: 0 !important;
}

.cp-nl-input:focus {
    border-color: var(--cp-orange, #ff3300);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.12) !important;
}

.cp-nl-submit-btn {
    height: 42px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--cp-orange, #ff3300) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 51, 0, 0.22) !important;
}

.cp-nl-submit-btn:hover {
    background: #e02d00 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 51, 0, 0.32) !important;
}

.cp-nl-disclaimer {
    font-size: 12px;
    color: #8492a6;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cp-nl-disclaimer i {
    font-size: 11px;
}

/* Responsive Media Queries for Newsletter Alert Section */
@media (max-width: 991px) {
    .cp-pop-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cp-pop-links-grid {
        grid-template-columns: 1fr;
    }

    .cp-nl-input-group {
        flex-direction: column;
    }

    .cp-nl-input-wrap,
    .cp-nl-submit-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Modernized Popup Modal (Newsletter & Coupons) - Wide & Low Height
   ========================================================================== */

.couponModal.modal {
    z-index: 10500;
}

.couponModal .modal-dialog {
    margin: 40px auto;
    transition: all 0.3s ease;
}

.cp-modern-modal-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22) !important;
    border: none !important;
    overflow: hidden !important;
    padding: 24px 30px 20px !important;
    position: relative;
}

.cp-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f4f8;
    color: #555f6d;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s ease;
    border: none;
    z-index: 10;
    line-height: 1;
    cursor: pointer;
}

.cp-modal-close-btn:hover {
    background: #e2e8f0;
    color: #191f2e;
    opacity: 1;
    transform: rotate(90deg);
}

/* Modernized Newsletter Box in Popup Modal - Horizontal & Compact */
.cp-modal-nl-box {
    padding: 0 4px;
}

.cp-modal-nl-header {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    margin-bottom: 16px;
}

.cp-modal-nl-icon-badge {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff0ec 0%, #ffe0d6 100%);
    color: var(--cp-orange, #ff3300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(255, 51, 0, 0.16);
}

.cp-modal-nl-title-wrap {
    flex: 1;
}

.cp-modal-nl-heading {
    font-size: 20px;
    font-weight: 800;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.cp-modal-nl-subtext {
    font-size: 13.5px;
    color: #637083;
    margin: 0;
    line-height: 1.45;
}

.cp-modal-nl-form {
    margin: 0 0 12px 0;
}

.cp-modal-nl-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-modal-nl-input-wrap {
    position: relative;
    flex: 1;
}

.cp-modal-nl-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c97a8;
    font-size: 15px;
    pointer-events: none;
}

.cp-modal-nl-input {
    height: 46px;
    padding-left: 40px !important;
    padding-right: 14px;
    font-size: 14px;
    border-radius: 10px;
    border: 1.5px solid #d5dce3;
    background: #fafbfc;
    color: #191f2e;
    transition: all 0.2s ease;
    box-shadow: none !important;
    width: 100%;
}

.cp-modal-nl-input:focus {
    border-color: var(--cp-orange, #ff3300);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.12) !important;
}

.cp-modal-nl-btn {
    height: 46px;
    padding: 0 22px;
    border-radius: 10px;
    background: var(--cp-orange, #ff3300) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 12px rgba(255, 51, 0, 0.25) !important;
}

.cp-modal-nl-btn:hover {
    background: #e02d00 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(255, 51, 0, 0.35) !important;
}

.cp-modal-nl-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 12.5px;
    color: #7b889b;
    margin-top: 4px;
}

.cp-modal-nl-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cp-modal-nl-badge-item i {
    color: var(--cp-teal, #32b6a7);
}

.cp-modal-nl-dot {
    color: #c5ced8;
}

.cp-modal-nl-alert {
    border-radius: 8px;
    font-size: 13.5px;
    padding: 10px 14px;
    margin-bottom: 12px;
    text-align: center;
}

/* Coupon Modal Content Styling */
.couponModal .coupon_modal_content h2#couponModalOffer {
    font-size: 22px;
    font-weight: 800;
    color: var(--cp-dark, #191f2e);
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.couponModal .coupon_modal_content p#couponModalTitle {
    font-size: 14.5px;
    font-weight: 600;
    color: #434d5d;
    margin-bottom: 6px;
}

.couponModal .coupon_modal_content p#couponModalDescription {
    font-size: 13px;
    color: #717d91;
    margin-bottom: 14px;
    line-height: 1.45;
}

.couponModal .coupon_code {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc !important;
    border: 2px dashed var(--cp-teal, #32b6a7) !important;
    border-radius: 10px !important;
    padding: 8px 14px 8px 18px !important;
    color: #191f2e !important;
    text-decoration: none !important;
    margin-top: 8px;
    margin-bottom: 14px;
}

.couponModal #couponModalShowCode {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--cp-teal, #32b6a7);
}

.couponModal #copy-button {
    background: var(--cp-teal, #32b6a7) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 12.5px;
    padding: 8px 18px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.couponModal #copy-button:hover {
    background: #289c8e !important;
    transform: translateY(-1px);
}

.couponModal #couponModalGoStore a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff !important;
    border: 1.5px solid var(--cp-orange, #ff3300) !important;
    color: var(--cp-orange, #ff3300) !important;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.couponModal #couponModalGoStore a:hover {
    background: var(--cp-orange, #ff3300) !important;
    color: #ffffff !important;
}

@media (max-width: 600px) {
    .cp-modern-modal-card {
        padding: 22px 16px 18px !important;
    }
    .cp-modal-nl-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .cp-modal-nl-icon-badge {
        margin: 0 auto;
    }
    .cp-modal-nl-input-group {
        flex-direction: column;
    }
    .cp-modal-nl-input-wrap,
    .cp-modal-nl-btn {
        width: 100%;
        justify-content: center;
    }
    .cp-modal-nl-footer {
        justify-content: center;
        flex-direction: column;
        gap: 4px;
    }
    .cp-modal-nl-dot {
        display: none;
    }
}

/* ==========================================================================
   CATEGORY PAGES REDESIGN (GrabOn Layout & Consistency)
   ========================================================================== */

/* Category Store Badge in Ticket Card */
.cp-ticket-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
}

.cp-ticket-store-badge:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: var(--cp-teal, #32b6a7);
}

.cp-ticket-store-badge .cp-ticket-store-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
}

.cp-ticket-store-badge i {
    font-size: 12px;
    color: var(--cp-teal, #32b6a7);
}

.cp-ticket-store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--cp-teal, #32b6a7);
    margin-top: 8px;
    text-decoration: none;
    transition: color 0.15s ease;
    cursor: pointer;
}

.cp-ticket-store-link:hover {
    color: var(--cp-orange, #ff3300);
    text-decoration: underline;
}

.cp-cat-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(50, 182, 167, 0.1) 0%, rgba(50, 182, 167, 0.04) 100%);
    border: 1px solid rgba(50, 182, 167, 0.2);
    font-size: 36px;
    color: var(--cp-teal, #32b6a7);
    flex-shrink: 0;
}

.cp-cat-hero-icon img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

/* Browse All Categories Page (Categories/index.ctp) */
.cp-browse-cats-section {
    padding: 30px 0 60px 0;
}

.cp-cat-browse-header {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 30px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cp-cat-browse-title-wrap h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 6px 0;
}

.cp-cat-browse-title-wrap p {
    font-size: 14px;
    color: var(--cp-muted, #6f7583);
    margin: 0;
}

.cp-cat-browse-search {
    position: relative;
    min-width: 280px;
    max-width: 360px;
    flex: 1;
}

.cp-cat-browse-search input {
    width: 100%;
    height: 44px;
    border-radius: 22px;
    border: 1.5px solid #d9dfe6;
    padding: 0 18px 0 42px;
    font-size: 14px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.cp-cat-browse-search input:focus {
    background: #ffffff;
    border-color: var(--cp-teal, #32b6a7);
    box-shadow: 0 0 0 3px rgba(50, 182, 167, 0.15);
    outline: none;
}

.cp-cat-browse-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
}

/* Featured / Top Categories Grid */
.cp-browse-subheading {
    font-size: 18px;
    font-weight: 800;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-browse-subheading i {
    color: var(--cp-teal, #32b6a7);
}

.cp-cat-browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.cp-cat-browse-card {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cp-cat-browse-card:hover {
    transform: translateY(-3px);
    border-color: var(--cp-teal, #32b6a7);
    box-shadow: 0 8px 20px rgba(50, 182, 167, 0.12);
    text-decoration: none;
}

.cp-cat-browse-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #eef8f6;
    color: var(--cp-teal, #32b6a7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cp-cat-browse-card:hover .cp-cat-browse-card-icon {
    background: var(--cp-teal, #32b6a7);
    color: #ffffff;
    transform: scale(1.06);
}

.cp-cat-browse-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0;
    line-height: 1.3;
}

.cp-cat-browse-card:hover .cp-cat-browse-card-title {
    color: var(--cp-teal, #32b6a7);
}

.cp-cat-browse-card-badge {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--cp-muted, #6f7583);
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 10px;
}

/* Alphabet Filter Bar for Stores & Categories */
.cp-cat-alpha-bar {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cp-cat-alpha-bar .filter-store,
.cp-alpha-filter-btn {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--cp-dark, #191f2e);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    outline: none;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.cp-cat-alpha-bar .filter-store:hover,
.cp-alpha-filter-btn:hover {
    background: #e6f7f5;
    color: var(--cp-teal, #32b6a7);
    border-color: #b3e7e0;
}

.cp-cat-alpha-bar .filter-store.active,
.cp-alpha-filter-btn.active {
    background: var(--cp-teal, #32b6a7) !important;
    color: #ffffff !important;
    border-color: var(--cp-teal, #32b6a7) !important;
    box-shadow: 0 3px 8px rgba(50, 182, 167, 0.35);
}

/* Category & Store Alphabetical List Grid */
.cp-cat-alpha-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cp-alpha-item-col {
    min-width: 0;
}

.cp-cat-alpha-item {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    transition: all 0.18s ease;
    color: var(--cp-dark, #191f2e);
    min-width: 0;
}

.cp-cat-alpha-item:hover {
    border-color: var(--cp-teal, #32b6a7);
    background: #f8fbfb;
    transform: translateX(3px);
    text-decoration: none !important;
    color: var(--cp-teal, #32b6a7);
}

.cp-cat-alpha-item-name {
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-cat-alpha-item-arrow {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.15s ease, color 0.15s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.cp-cat-alpha-item:hover .cp-cat-alpha-item-arrow {
    color: var(--cp-teal, #32b6a7);
    transform: translateX(3px);
}

.cp-alpha-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    background: #ffffff;
    border: 1px dashed #d9dfe6;
    border-radius: 12px;
    color: #64748b;
}

.cp-alpha-empty-state i {
    font-size: 34px;
    color: #94a3b8;
    margin-bottom: 10px;
    display: block;
}

.cp-alpha-empty-state p {
    font-size: 14px;
    margin: 0 0 14px 0;
}

.cp-alpha-empty-reset {
    background: var(--cp-teal, #32b6a7);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cp-alpha-empty-reset:hover {
    background: #28998c;
    box-shadow: 0 3px 10px rgba(50, 182, 167, 0.35);
}

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

@media (max-width: 767px) {
    .cp-cat-alpha-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cp-cat-browse-header {
        padding: 20px;
    }
    .cp-cat-browse-title-wrap h1 {
        font-size: 22px;
    }
}

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

/* ==========================================================================
   CATEGORY COUPONS PAGE REDESIGN & IMAGE CONSTRAINTS
   ========================================================================== */
.cp-store-page .cp-store-hero-logo {
    width: 86px;
    height: 86px;
    min-width: 86px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--cp-border, #e2e6ea);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cp-store-page .cp-store-hero-logo img,
.cp-store-hero-logo .cp-store-logo-img {
    max-width: 70px !important;
    max-height: 70px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}

.cp-cat-hero-icon {
    font-size: 34px;
    color: var(--cp-teal, #32b6a7);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Category Coupons Ticket Isolation from Legacy style.css */
.cp-store-page .cp-store-ticket.coupon-wrapper.coupon-single {
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--cp-border, #e2e6ea) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    min-height: 140px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.cp-store-page .cp-ticket-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 140px;
}

/* Store Badge & Logo in Category Ticket */
.cp-ticket-store-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 3px 8px !important;
    background: #f1f4f8 !important;
    border-radius: 6px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--cp-dark, #191f2e) !important;
    text-decoration: none !important;
    max-width: 190px !important;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.cp-ticket-store-badge:hover {
    background: #e2e8f0 !important;
    color: var(--cp-teal, #32b6a7) !important;
}

.cp-ticket-store-badge .cp-ticket-store-img,
.cp-store-ticket .cp-ticket-store-img,
.cp-ticket-meta .gostore img,
a.gostore img.cp-ticket-store-img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    border-radius: 3px !important;
    display: inline-block !important;
    vertical-align: middle;
}

.cp-ticket-store-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 140px;
    font-size: 11.5px;
}

/* Action column button normalization */
.cp-store-page .cp-ticket-action-col.button-contain {
    padding: 16px 18px !important;
    margin: 0 !important;
    width: 195px !important;
    min-width: 195px !important;
}

.cp-store-page .cp-ticket-code-box.btn-code {
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

.cp-store-page .cp-ticket-code-box .partial-code {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 14px 0 8px !important;
    background: #eef5ff !important;
    border: 1.5px dashed #4a90e2 !important;
    border-radius: 8px !important;
    font-family: 'Consolas', 'Courier New', monospace !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    letter-spacing: 1.5px !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
    line-height: 40px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.cp-store-page .cp-ticket-cta {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.cp-store-page .cp-ticket-code-box:hover .cp-ticket-cta.is-coupon {
    width: 78% !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.cp-store-page .cp-ticket-cta .btn-hover {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: inherit !important;
    border: none !important;
}

.cp-store-page .cp-ticket-body-col img,
.cp-store-page .cp-terms-inner img {
    max-width: 100% !important;
    height: auto !important;
}

/* Category & Store Coupon Tickets Responsive (Mobile View) */
@media (max-width: 767px) {
    .cp-store-page .cp-ticket-inner {
        flex-direction: column !important;
        min-height: auto !important;
    }

    .cp-store-page .cp-ticket-notch-col {
        width: 100% !important;
        min-width: 100% !important;
        border-right: none !important;
        border-bottom: 1px dashed #d5dce4 !important;
        padding: 10px 14px !important;
        background: #fafbfc !important;
    }

    .cp-store-page .cp-ticket-notch-badge {
        padding: 0 !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .cp-store-page .cp-ticket-cut {
        display: none !important;
    }

    .cp-store-page .cp-ticket-discount-text {
        font-size: 18px !important;
    }

    .cp-store-page .cp-ticket-sub-text {
        margin-top: 0 !important;
        margin-left: 6px !important;
        font-size: 11px !important;
        display: inline-block !important;
    }

    .cp-store-page .cp-ticket-type-pill {
        margin-top: 0 !important;
    }

    .cp-store-page .cp-ticket-body-col {
        padding: 14px 14px 10px !important;
        width: 100% !important;
    }

    .cp-store-page .cp-ticket-meta {
        gap: 6px !important;
        margin-bottom: 8px !important;
    }

    .cp-store-page .cp-ticket-store-badge {
        max-width: 100% !important;
    }

    .cp-store-page .cp-ticket-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }

    .cp-store-page .cp-ticket-action-col.button-contain {
        width: 100% !important;
        min-width: 100% !important;
        border-left: none !important;
        border-top: 1px dashed #e2e6ea !important;
        padding: 12px 14px !important;
    }

    .cp-store-page .cp-ticket-code-box.btn-code {
        width: 100% !important;
        max-width: 100% !important;
        height: 42px !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 8px !important;
    }

    .cp-store-page .cp-ticket-cta {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 16px !important;
        font-size: 13.5px !important;
    }

    .cp-store-page .cp-ticket-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .cp-store-page .cp-store-hero {
        padding: 16px 14px !important;
        margin-bottom: 16px !important;
    }

    .cp-store-page .cp-store-hero-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .cp-store-page .cp-store-hero-left {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .cp-store-page .cp-store-hero-logo {
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
        padding: 6px !important;
    }

    .cp-store-page .cp-store-hero-logo img,
    .cp-store-page .cp-store-hero-logo .cp-store-logo-img {
        max-width: 48px !important;
        max-height: 48px !important;
    }

    .cp-store-page .cp-cat-hero-icon {
        font-size: 26px !important;
    }

    .cp-store-page .cp-store-title {
        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    .cp-store-page .cp-store-rating-bar {
        gap: 6px !important;
        font-size: 11.5px !important;
    }

    .cp-store-page .cp-store-hero-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 12px !important;
    }

    .cp-store-page .cp-store-hero-right {
        width: 100% !important;
        flex-direction: row !important;
        gap: 8px !important;
    }

    .cp-store-page .cp-btn-visit-store,
    .cp-store-page .cp-btn-subscribe-store {
        flex: 1 !important;
        padding: 8px 12px !important;
        font-size: 12.5px !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   BROWSE ALL STORES & CATEGORIES DIRECTORY (Stores/index.ctp & Categories/index.ctp)
   ========================================================================== */
.cp-store-browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.cp-store-browse-card {
    background: #ffffff;
    border: 1px solid var(--cp-border, #e2e6ea);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.22s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cp-store-browse-card:hover {
    transform: translateY(-3px);
    border-color: var(--cp-teal, #32b6a7);
    box-shadow: 0 8px 20px rgba(50, 182, 167, 0.12);
    text-decoration: none !important;
}

.cp-store-browse-card-logo {
    width: 90px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.cp-store-browse-card-logo img {
    max-width: 90px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.cp-store-browse-card:hover .cp-store-browse-card-logo img {
    transform: scale(1.06);
}

.cp-store-browse-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.cp-store-browse-card:hover .cp-store-browse-card-title {
    color: var(--cp-teal, #32b6a7);
}

.cp-store-browse-card-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--cp-muted, #6f7583);
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 767px) {
    .cp-store-browse-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .cp-cat-browse-header {
        padding: 18px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .cp-cat-browse-search {
        max-width: 100%;
        min-width: 100%;
    }
    .cp-cat-browse-title-wrap h1 {
        font-size: 20px;
    }
    .cp-cat-alpha-bar {
        padding: 10px 12px;
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .cp-cat-alpha-bar::-webkit-scrollbar {
        display: none;
    }
    .cp-cat-alpha-bar .filter-store,
    .cp-alpha-filter-btn {
        padding: 6px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }
}
@media (max-width: 480px) {
    .cp-store-browse-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   MODERN CONTACT US PAGE REDESIGN
   ========================================================================== */
.cp-contact-page {
    background: #f8fafc;
    padding: 20px 0 60px 0;
    min-height: calc(100vh - 350px);
}

.cp-contact-hero {
    margin-bottom: 35px;
    padding: 10px 0;
}

.cp-contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(50, 182, 167, 0.12);
    color: var(--cp-teal, #32b6a7);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.cp-contact-hero-badge i {
    font-size: 15px;
}

.cp-contact-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 12px 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.cp-contact-hero-subtitle {
    font-size: 15px;
    color: var(--cp-muted, #6f7583);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Left Form Column Card */
.cp-contact-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 32px 30px;
    margin-bottom: 30px;
}

.cp-contact-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f3f5;
}

.cp-contact-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(50, 182, 167, 0.16), rgba(50, 182, 167, 0.06));
    color: var(--cp-teal, #32b6a7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cp-contact-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 4px 0;
}

.cp-contact-card-subtext {
    font-size: 13.5px;
    color: var(--cp-muted, #6f7583);
    margin: 0;
}

/* Alert Styling */
#alert-msg {
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 18px;
    margin-bottom: 22px;
}

#alert-msg.alert-success {
    background-color: #e8f8f5;
    border: 1px solid #a3e4d7;
    color: #117a65;
}

#alert-msg.alert-danger {
    background-color: #fdeed9;
    border: 1px solid #fad7a0;
    color: #b9770e;
}

/* Form Groups & Controls */
.cp-contact-form .cp-form-group {
    margin-bottom: 20px;
}

.cp-form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.cp-required {
    color: #e53e3e;
    font-weight: 700;
}

.cp-optional {
    color: #8c95a6;
    font-size: 12px;
    font-weight: 400;
}

/* User Type Switcher */
.cp-user-type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 4px;
}

.cp-type-option {
    cursor: pointer;
    margin: 0;
    position: relative;
    flex: 1;
}

.cp-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cp-type-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4a5568;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.cp-type-pill i {
    font-size: 15px;
    color: #718096;
    transition: color 0.2s ease;
}

.cp-type-option input[type="radio"]:checked + .cp-type-pill {
    border-color: var(--cp-teal, #32b6a7);
    background: rgba(50, 182, 167, 0.08);
    color: #1a7a6e;
    box-shadow: 0 0 0 1px rgba(50, 182, 167, 0.25);
}

.cp-type-option input[type="radio"]:checked + .cp-type-pill i {
    color: var(--cp-teal, #32b6a7);
}

.cp-type-pill:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

/* Input Fields With Left Icons */
.cp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.cp-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s ease;
}

.cp-input-icon-textarea {
    top: 14px;
}

.cp-input-wrap .cp-input {
    width: 100%;
    height: 46px;
    padding: 10px 14px 10px 42px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.cp-input-wrap .cp-input:focus {
    border-color: var(--cp-teal, #32b6a7) !important;
    box-shadow: 0 0 0 3px rgba(50, 182, 167, 0.16) !important;
    outline: none !important;
}

.cp-input-wrap:focus-within .cp-input-icon {
    color: var(--cp-teal, #32b6a7);
}

.cp-input-wrap .cp-textarea {
    height: auto !important;
    min-height: 125px;
    padding-top: 12px !important;
    resize: vertical;
    line-height: 1.55;
}

/* Submit Area */
.cp-form-submit-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    padding-top: 6px;
}

.cp-contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #32b6a7 0%, #259487 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 14px rgba(50, 182, 167, 0.35);
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.2;
}

.cp-contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 182, 167, 0.45);
    background: linear-gradient(135deg, #2da597 0%, #1e7d72 100%);
}

.cp-contact-submit-btn:active {
    transform: translateY(0);
}

.cp-contact-submit-btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cp-contact-submit-btn .cp-btn-icon {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.cp-contact-submit-btn:hover .cp-btn-icon {
    transform: translateX(3px);
}

.cp-form-privacy-note {
    font-size: 12.5px;
    color: #8c95a6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp-form-privacy-note i {
    color: var(--cp-teal, #32b6a7);
    font-size: 14px;
}

/* ==========================================================================
   RIGHT COLUMN: CORPORATE INFO, FAQ, SOCIAL CARDS
   ========================================================================== */
.cp-contact-info-card,
.cp-contact-faq-card,
.cp-contact-social-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
    padding: 24px;
    margin-bottom: 22px;
}

.cp-info-card-header,
.cp-faq-header,
.cp-social-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f3f5;
}

.cp-info-header-badge,
.cp-faq-header-icon,
.cp-social-card-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(50, 182, 167, 0.12);
    color: var(--cp-teal, #32b6a7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cp-info-card-title,
.cp-faq-card-title,
.cp-social-card-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 2px 0;
}

.cp-info-card-sub,
.cp-faq-card-sub,
.cp-social-card-sub {
    font-size: 12.5px;
    color: var(--cp-muted, #6f7583);
    margin: 0;
}

/* Info Items */
.cp-info-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cp-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cp-info-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--cp-teal, #32b6a7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cp-info-item-content {
    font-size: 13.5px;
    color: #4a5568;
    line-height: 1.55;
}

.cp-info-item-content strong {
    color: #1e293b;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.cp-info-link {
    color: var(--cp-teal, #32b6a7);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cp-info-link:hover {
    color: var(--cp-orange, #ff3300);
    text-decoration: underline;
}

.cp-response-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(50, 182, 167, 0.1);
    color: #1a7a6e;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 6px;
}

/* FAQ Accordion */
.cp-contact-accordion {
    margin-bottom: 0;
}

.cp-contact-accordion .cp-faq-panel {
    border: 1px solid #eef2f6 !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    overflow: hidden;
    box-shadow: none !important;
    background: #ffffff;
}

.cp-contact-accordion .cp-faq-panel:last-child {
    margin-bottom: 0 !important;
}

.cp-faq-heading {
    background: #ffffff !important;
    padding: 0 !important;
    border: none !important;
}

.cp-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none !important;
    transition: all 0.2s ease;
    background: #ffffff;
}

.cp-faq-toggle:hover {
    color: var(--cp-teal, #32b6a7);
}

.cp-faq-toggle i {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.cp-faq-toggle:not(.collapsed) {
    background: #f8fafc;
    color: var(--cp-teal, #32b6a7);
}

.cp-faq-toggle:not(.collapsed) i {
    transform: rotate(180deg);
    color: var(--cp-teal, #32b6a7);
}

.cp-faq-body {
    padding: 12px 16px 16px 16px !important;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
}

/* Social Card */
.cp-contact-social-card .cp-footer-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.cp-contact-social-card .cp-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #39b9aa !important;
    border: 1.5px solid #39b9aa !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(57, 185, 170, 0.3);
}

.cp-contact-social-card .cp-social-btn i {
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1;
    transition: color 0.2s ease;
}

.cp-contact-social-card .cp-social-btn:hover {
    background: #2ea597 !important;
    border-color: #2ea597 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(57, 185, 170, 0.45);
}

.cp-contact-social-card .cp-social-btn:hover i {
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .cp-contact-col-info {
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .cp-contact-hero-title {
        font-size: 24px;
    }
    .cp-contact-hero-subtitle {
        font-size: 14px;
    }
    .cp-contact-card {
        padding: 22px 16px;
    }
    .cp-user-type-selector {
        flex-direction: column;
        gap: 8px;
    }
    .cp-form-submit-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .cp-contact-submit-btn {
        width: 100%;
        justify-content: center;
    }
    .cp-form-privacy-note {
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   MODERN ABOUT US PAGE REDESIGN
   ========================================================================== */
.cp-about-page {
    background: #f8fafc;
    padding: 20px 0 60px 0;
    min-height: calc(100vh - 350px);
}

.cp-about-hero {
    margin-bottom: 35px;
    padding: 10px 0;
}

.cp-about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(50, 182, 167, 0.12);
    color: var(--cp-teal, #32b6a7);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.cp-about-hero-badge i {
    font-size: 15px;
}

.cp-about-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 12px 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.cp-about-hero-subtitle {
    font-size: 15px;
    color: var(--cp-muted, #6f7583);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats Row */
.cp-about-stats-row {
    margin-bottom: 40px;
}

.cp-stat-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.cp-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(50, 182, 167, 0.35);
}

.cp-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(50, 182, 167, 0.1);
    color: var(--cp-teal, #32b6a7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px auto;
}

.cp-stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--cp-dark, #191f2e);
    margin-bottom: 4px;
    line-height: 1.2;
}

.cp-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--cp-muted, #6f7583);
}

/* Story & Mission Section */
.cp-about-story-section {
    margin-bottom: 45px;
}

.cp-about-story-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 32px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.cp-about-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(50, 182, 167, 0.1);
    color: var(--cp-teal, #32b6a7);
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.cp-about-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.cp-about-story-text p {
    font-size: 14.5px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 14px;
}

.cp-about-story-text strong,
.cp-about-story-text b {
    color: var(--cp-dark, #191f2e);
}

/* Promises List */
.cp-about-promises-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f3f5;
}

.cp-promise-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cp-promise-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(50, 182, 167, 0.15);
    color: var(--cp-teal, #32b6a7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cp-promise-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin-bottom: 2px;
}

.cp-promise-content span {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* Spotlight Card (Right Column) */
.cp-about-spotlight-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    padding: 32px 28px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cp-spotlight-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.cp-spotlight-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(50, 182, 167, 0.2);
    color: #32b6a7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cp-spotlight-tag {
    font-size: 12px;
    font-weight: 700;
    color: #32b6a7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.cp-spotlight-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
}

.cp-spotlight-body p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 18px;
}

.cp-spotlight-quote {
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid #32b6a7;
    border-radius: 0 10px 10px 0;
    padding: 14px 16px;
    margin-bottom: 22px;
}

.cp-quote-icon {
    font-size: 16px;
    color: #32b6a7;
    opacity: 0.8;
    margin-bottom: 4px;
    display: block;
}

.cp-spotlight-quote p {
    font-size: 13.5px;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 6px;
    line-height: 1.55;
}

.cp-quote-author {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    display: block;
}

.cp-spotlight-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cp-spotlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.cp-spotlight-pill i {
    color: #32b6a7;
}

/* Features Grid */
.cp-about-features-section {
    margin-bottom: 45px;
}

.cp-about-features-header {
    margin-bottom: 30px;
}

.cp-about-section-sub {
    font-size: 14.5px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.cp-about-feature-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 26px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cp-about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    border-color: rgba(50, 182, 167, 0.35);
}

.cp-feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.cp-icon-teal {
    background: rgba(50, 182, 167, 0.12);
    color: #32b6a7;
}

.cp-icon-orange {
    background: rgba(255, 107, 53, 0.12);
    color: #ff6b35;
}

.cp-icon-purple {
    background: rgba(142, 68, 173, 0.12);
    color: #8e44ad;
}

.cp-icon-blue {
    background: rgba(41, 128, 185, 0.12);
    color: #2980b9;
}

.cp-feature-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0 0 8px 0;
}

.cp-feature-card-text {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Core Values Section */
.cp-about-values-section {
    margin-bottom: 45px;
}

.cp-about-value-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.cp-value-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cp-value-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(50, 182, 167, 0.1);
    color: #32b6a7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.cp-value-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--cp-dark, #191f2e);
    margin: 0;
}

.cp-value-text {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Bottom CTA Card */
.cp-about-cta-section {
    margin-bottom: 25px;
}

.cp-about-cta-card {
    background: linear-gradient(135deg, #191f2e 0%, #25282e 100%);
    border-radius: 16px;
    padding: 36px 32px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(25, 31, 46, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(50, 182, 167, 0.2);
    color: #32b6a7;
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
    margin-bottom: 10px;
}

.cp-cta-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.cp-cta-subtitle {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.cp-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    height: 100%;
}

.cp-about-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #32b6a7 0%, #259487 100%);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 12px rgba(50, 182, 167, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
}

.cp-about-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(50, 182, 167, 0.45);
    background: linear-gradient(135deg, #2da597 0%, #1e7d72 100%);
}

.cp-about-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
}

.cp-about-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Responsive adjustments for About Us */
@media (max-width: 991px) {
    .cp-about-spotlight-card {
        margin-top: 24px;
    }
    .cp-cta-btn-col {
        margin-top: 20px;
    }
    .cp-cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .cp-feature-col,
    .cp-value-col {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .cp-about-hero-title {
        font-size: 24px;
    }
    .cp-about-hero-subtitle {
        font-size: 14px;
    }
    .cp-stat-card {
        padding: 16px 10px;
        margin-bottom: 12px;
    }
    .cp-stat-number {
        font-size: 22px;
    }
    .cp-stat-label {
        font-size: 11.5px;
    }
    .cp-about-story-card {
        padding: 22px 18px;
    }
    .cp-about-section-title {
        font-size: 20px;
    }
    .cp-about-cta-card {
        padding: 24px 18px;
    }
    .cp-cta-title {
        font-size: 20px;
    }
    .cp-about-btn-primary,
    .cp-about-btn-secondary {
        width: 100%;
    }
}

/* ==========================================================================
   MOBILE HORIZONTAL SCROLLABLE SECTIONS (Single Row & Multi-Row Chips)
   ========================================================================== */
@media (max-width: 767px) {
    /* 1. Popular Offers of the Day - Single Row Horizontal Scroll */
    .cp-popular-offers-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 14px !important;
        padding: 4px 2px 14px 2px !important;
        margin-right: -15px;
        padding-right: 15px !important;
        scrollbar-width: none;
    }
    .cp-popular-offers-grid::-webkit-scrollbar {
        display: none;
    }
    .cp-popular-offers-grid .cp-offer-card {
        flex: 0 0 270px !important;
        min-width: 270px !important;
        max-width: 270px !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }

    /* 2. Popular Stores Showcase - Single Row Horizontal Scroll */
    .cp-stores-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 10px !important;
        padding: 4px 2px 12px 2px !important;
        margin-right: -15px;
        padding-right: 15px !important;
        scrollbar-width: none;
    }
    .cp-stores-grid::-webkit-scrollbar {
        display: none;
    }
    .cp-stores-grid .cp-store-card {
        flex: 0 0 115px !important;
        min-width: 115px !important;
        max-width: 115px !important;
        scroll-snap-align: start;
        padding: 12px 8px !important;
    }
    .cp-stores-grid .cp-store-logo-wrap {
        width: 48px !important;
        height: 48px !important;
    }
    .cp-stores-grid .cp-store-name {
        font-size: 11.5px !important;
    }

    /* 3. Deals of the Day - Single Row Horizontal Scroll */
    .cp-deals-day-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 14px !important;
        padding: 4px 2px 14px 2px !important;
        margin-right: -15px;
        padding-right: 15px !important;
        scrollbar-width: none;
    }
    .cp-deals-day-grid::-webkit-scrollbar {
        display: none;
    }
    .cp-deals-day-grid .cp-deal-card {
        flex: 0 0 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }

    /* 4. Popular Categories - Single Row Horizontal Scroll */
    .cp-categories-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 10px !important;
        padding: 4px 2px 12px 2px !important;
        margin-right: -15px;
        padding-right: 15px !important;
        scrollbar-width: none;
    }
    .cp-categories-grid::-webkit-scrollbar {
        display: none;
    }
    .cp-categories-grid .cp-category-card {
        flex: 0 0 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        scroll-snap-align: start;
        padding: 10px 10px !important;
    }

    /* 5. How CouponPaisa Works - Single Row Horizontal Scroll */
    .cp-steps-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 14px !important;
        padding: 4px 2px 14px 2px !important;
        margin-right: -15px;
        padding-right: 15px !important;
        scrollbar-width: none;
    }
    .cp-steps-grid::-webkit-scrollbar {
        display: none;
    }
    .cp-steps-grid .cp-step-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }

    /* 6. Popular Stores & Categories (#tab1 & #tab2) - Compact 3-4 Row Horizontal Chip Slider */
    .cp-pop-links-grid {
        display: grid !important;
        grid-template-rows: repeat(3, auto) !important;
        grid-auto-flow: column !important;
        grid-auto-columns: max-content !important;
        gap: 8px 10px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 4px 2px 10px 2px !important;
        margin-right: -15px;
        padding-right: 15px !important;
        scrollbar-width: thin;
    }
    .cp-pop-links-grid::-webkit-scrollbar {
        height: 4px;
    }
    .cp-pop-links-grid::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    .cp-pop-links-grid .cp-pop-link {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 20px !important;
        padding: 6px 14px !important;
        white-space: nowrap !important;
        text-align: center !important;
        display: inline-block !important;
        transition: all 0.2s ease !important;
    }
    .cp-pop-links-grid .cp-pop-link:hover,
    .cp-pop-links-grid .cp-pop-link:active {
        background: var(--cp-teal, #32b6a7) !important;
        color: #ffffff !important;
        border-color: var(--cp-teal, #32b6a7) !important;
        transform: translateY(-1px) !important;
    }
}

/* ==========================================================================
   NATIVE MOBILE APP-STYLE EXPERIENCE (Bottom Tab Navigation & Compact Density)
   ========================================================================== */

/* Desktop / Tablet: Hide Mobile Bottom Nav Completely */
.cp-mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    /* 1. Body & Content Clearance for Fixed Bottom Bar */
    body,
    .site-wrapper,
    .wrapper {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* 2. Fixed Bottom Tab Bar */
    .cp-mobile-bottom-nav {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.96) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        backdrop-filter: blur(14px) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.07) !important;
        z-index: 1020 !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        transition: transform 0.25s ease !important;
    }

    .cp-bottom-nav-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        height: 56px !important;
        max-width: 480px !important;
        margin: 0 auto !important;
    }

    .cp-bottom-nav-item {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        color: #64748b !important;
        text-decoration: none !important;
        position: relative !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: color 0.15s ease, transform 0.15s ease !important;
    }

    .cp-bottom-nav-icon {
        font-size: 19px !important;
        line-height: 1.1 !important;
        margin-bottom: 2px !important;
        transition: transform 0.2s ease, color 0.15s ease !important;
        display: inline-block !important;
    }

    .cp-bottom-nav-label {
        font-size: 10.5px !important;
        font-weight: 600 !important;
        letter-spacing: -0.2px !important;
        line-height: 1 !important;
        transition: color 0.15s ease !important;
    }

    .cp-bottom-nav-item:active {
        transform: scale(0.92) !important;
    }

    .cp-bottom-nav-item.active {
        color: var(--cp-teal, #32b6a7) !important;
    }

    .cp-bottom-nav-item.active .cp-bottom-nav-icon {
        color: var(--cp-teal, #32b6a7) !important;
        transform: translateY(-1px) !important;
    }

    .cp-bottom-nav-item.active .cp-bottom-nav-label {
        color: var(--cp-teal, #32b6a7) !important;
        font-weight: 700 !important;
    }

    .cp-bottom-nav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        width: 22px;
        height: 3px;
        background: var(--cp-teal, #32b6a7);
        border-radius: 0 0 3px 3px;
    }

    /* 3. Compact Sticky Top App Bar */
    .cp-nav-bar {
        min-height: 50px !important;
        height: 50px !important;
        padding: 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    }

    .cp-nav-container {
        padding: 0 12px !important;
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
    }

    .cp-logo-block {
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
    }

    .cp-brand-logo img {
        max-height: 30px !important;
        width: auto !important;
    }

    .cp-mobile-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important;
    }

    .cp-mobile-submit-btn {
        width: auto !important;
        height: 32px !important;
        padding: 0 11px !important;
        border-radius: 20px !important;
        background: #ff3300 !important;
        color: #ffffff !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: 0 2px 6px rgba(255, 51, 0, 0.4) !important;
        border: none !important;
        line-height: 1 !important;
    }

    .cp-mobile-action-btn:not(.cp-mobile-submit-btn) {
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.14) !important;
        color: #ffffff !important;
        border: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 15px !important;
        text-decoration: none !important;
        transition: background 0.15s ease !important;
        cursor: pointer !important;
    }

    .cp-mobile-action-btn:active {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: scale(0.94) !important;
    }

    /* 4. Compact Screen Density on Mobile */
    .cp-section {
        margin-bottom: 20px !important;
        padding-top: 4px !important;
    }

    .cp-section-title-wrap {
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .cp-section-title {
        font-size: 16.5px !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }

    .cp-view-all-link {
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .cp-hero-banner-wrap {
        margin-bottom: 16px !important;
        border-radius: 12px !important;
    }

    /* 5. Compact Mobile Footer Styling */
    .cp-footer {
        padding-bottom: 16px !important;
    }

    .cp-footer-top {
        padding: 24px 0 14px 0 !important;
    }

    .cp-footer-col {
        margin-bottom: 20px !important;
    }

    .cp-footer-heading {
        font-size: 14.5px !important;
        margin-bottom: 10px !important;
    }

    .cp-newsletter-alert-section {
        padding: 16px 0 !important;
        margin-bottom: 16px !important;
    }
}


@media (max-width: 987px) {
    .header .navigation-menu{
        max-height: 100%;
    }
}

/* ==========================================================================
   COUPONPAISA "ASK AI" ASSISTANT & TOP SEARCH INTEGRATION
   ========================================================================== */

/* Ask AI button inside Search Input */
.cp-search-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    margin-right: 6px;
    flex-shrink: 0;
}

.cp-search-ai-btn:hover {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.15);
}

.cp-search-ai-btn i {
    font-size: 13px;
    color: #059669;
}

@media (max-width: 767px) {
    .cp-search-ai-btn {
        padding: 4px 8px;
        font-size: 11px;
        margin-right: 4px;
    }
}

/* Quick AI row in dropdown */
.cp-search-ai-quick-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border-bottom: 1px solid #ccfbf1;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cp-search-ai-quick-row:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #cffafe 100%);
}

.cp-search-ai-quick-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-search-ai-sparkle {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #0d9488;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.cp-search-ai-text {
    font-size: 13px;
    color: #0f766e;
    font-weight: 500;
}

.cp-search-ai-badge {
    font-size: 11px;
    font-weight: 700;
    color: #0f766e;
    background: #ccfbf1;
    padding: 3px 8px;
    border-radius: 12px;
}

.cp-search-ai-trigger-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    margin: 8px 0;
    transition: all 0.2s ease;
}

.cp-search-ai-trigger-pill:hover {
    background: #d1fae5;
    color: #047857;
    transform: translateY(-1px);
}

/* ==========================================================================
   FLOATING BOTTOM-RIGHT AI LAUNCHER BUTTON
   ========================================================================== */
.cp-ai-floating-launcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99990;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #094044 0%, #0d9488 100%);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 11px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px -3px rgba(13, 148, 136, 0.45), 0 4px 10px -2px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-ai-floating-launcher:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 30px -3px rgba(13, 148, 136, 0.55), 0 6px 12px -2px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #073538 0%, #0f766e 100%);
    color: #ffffff;
}

.cp-ai-launcher-icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fef08a;
}

.cp-ai-launcher-pulse {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    border: 1.5px solid #094044;
    animation: cpPulseGlow 1.8s infinite;
}

@keyframes cpPulseGlow {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.cp-ai-launcher-text {
    letter-spacing: 0.2px;
}

@media (max-width: 767px) {
    .cp-ai-floating-launcher {
        bottom: 72px; /* Positioned right above the 60px mobile bottom navigation bar */
        right: 14px;
        padding: 8px 13px;
        font-size: 12px;
        gap: 6px;
    }
}

/* ==========================================================================
   AI ASSISTANT MODAL / DESKTOP BOTTOM-RIGHT DOCKED COPILOT
   ========================================================================== */
.cp-ai-assistant-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 24px 84px 0;
    box-sizing: border-box;
}

.cp-ai-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.cp-ai-modal-window {
    position: relative;
    width: 400px;
    height: 580px;
    max-height: calc(100vh - 105px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: cpAiModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

@keyframes cpAiModalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cp-ai-sheet-handle-wrap {
    display: none;
}

.cp-ai-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: linear-gradient(135deg, #094044 0%, #0d9488 100%);
    color: #ffffff;
}

.cp-ai-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cp-ai-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fef08a;
}

.cp-ai-pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    border: 2px solid #094044;
}

.cp-ai-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.cp-ai-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.cp-ai-close-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s ease;
}

.cp-ai-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Chat Body */
.cp-ai-chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overscroll-behavior: contain;
}

.cp-ai-messages-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cp-ai-msg {
    display: flex;
    gap: 10px;
    max-width: 88%;
}

.cp-ai-msg-bot {
    align-self: flex-start;
}

.cp-ai-msg-user {
    align-self: flex-end;
}

.cp-ai-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #0d9488;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.cp-ai-msg-bubble {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.45;
}

.cp-ai-msg-bot .cp-ai-msg-bubble {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-top-left-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cp-ai-msg-user .cp-ai-msg-bubble {
    background: #0d9488;
    color: #ffffff;
    border-top-right-radius: 2px;
    margin-left: auto;
}

.cp-ai-welcome-text {
    margin: 0;
    color: #334155;
}

/* Starter Chips */
.cp-ai-starter-chips {
    margin-top: 6px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.cp-ai-chips-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.cp-ai-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cp-ai-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cp-ai-chip:hover {
    background: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
    transform: translateY(-1px);
}

/* Deals grid in chat */
.cp-ai-deals-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.cp-ai-deal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.cp-ai-deal-item:hover {
    border-color: #0d9488;
    background: #f0fdfa;
}

.cp-ai-deal-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cp-ai-deal-logo img {
    max-width: 26px;
    max-height: 26px;
    object-fit: contain;
}

.cp-ai-deal-meta {
    flex-grow: 1;
    min-width: 0;
}

.cp-ai-deal-store {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-ai-deal-badge {
    font-size: 11px;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.cp-ai-deal-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #0d9488;
    color: #ffffff !important;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.cp-ai-deal-btn:hover {
    background: #0f766e;
}

.cp-ai-cats-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
}

.cp-ai-cat-lead {
    font-weight: 600;
    color: #64748b;
}

.cp-ai-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e0f2fe;
    color: #0369a1 !important;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none !important;
}

.cp-ai-msg-footer {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
}

.cp-ai-full-search-link {
    font-size: 12px;
    font-weight: 600;
    color: #0d9488 !important;
    text-decoration: none !important;
}

.cp-ai-full-search-link:hover {
    text-decoration: underline !important;
}

/* Typing Indicator */
.cp-ai-typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
}

.cp-ai-typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 8px 12px;
}

.cp-typing-dot {
    width: 6px;
    height: 6px;
    background: #0d9488;
    border-radius: 50%;
    animation: cpDotPulse 1.4s infinite ease-in-out both;
}
.cp-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.cp-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes cpDotPulse {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.cp-typing-text {
    font-size: 11.5px;
    color: #64748b;
    margin-left: 4px;
}

/* Chat Footer Input */
.cp-ai-chat-footer {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.cp-ai-input-wrap {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    padding: 4px 6px 4px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cp-ai-input-wrap:focus-within {
    border-color: #0d9488;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.cp-ai-input-icon {
    font-size: 15px;
    color: #94a3b8;
    margin-right: 8px;
}

.cp-ai-user-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: #0f172a;
    padding: 6px 0;
}

.cp-ai-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d9488;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s ease;
}

.cp-ai-send-btn:hover {
    background: #0f766e;
    transform: scale(1.05);
}

.cp-ai-footer-note {
    text-align: center;
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 6px;
}

/* Mobile native bottom sheet drawer */
@media (max-width: 767px) {
    .cp-ai-assistant-modal {
        padding: 0;
        align-items: flex-end;
        justify-content: center;
    }
    .cp-ai-modal-backdrop {
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    .cp-ai-modal-window {
        width: 100%;
        max-width: 100%;
        height: 86vh;
        max-height: 88vh;
        border-radius: 20px 20px 0 0;
        animation: cpAiSheetUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cp-ai-sheet-handle-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 0 3px;
        background: #094044;
        width: 100%;
    }
    .cp-ai-sheet-handle {
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.45);
        border-radius: 4px;
    }
    @keyframes cpAiSheetUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
}

/* ==========================================================================
   IN-PAGE STORE & CATEGORY FILTER SEARCH BAR
   ========================================================================== */
.cp-page-filter-header {
    margin-bottom: 12px;
}

.cp-page-filter-search-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.cp-page-filter-search-box:focus-within {
    background: #ffffff;
    border-color: var(--cp-teal, #0d9488);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.cp-pfs-icon {
    font-size: 15px;
    color: #94a3b8;
    margin-right: 10px;
}

.cp-page-filter-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: #1e293b;
    padding: 0;
}

.cp-page-filter-clear {
    border: none;
    background: #e2e8f0;
    color: #475569;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.cp-page-filter-clear:hover {
    background: #cbd5e1;
}

.cp-page-filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cp-page-filter-search-box {
    flex-grow: 1;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.cp-page-filter-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.cp-page-filter-ai-btn:hover {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.15);
}

.cp-page-filter-ai-btn i {
    font-size: 13px;
    color: #059669;
}

/* Quick Filter Chips */
.cp-page-quick-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-top: 2px;
}

.cp-pqc-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-right: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cp-pqc-btn,
.cp-cat-pqc-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 5px 11px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cp-pqc-btn:hover,
.cp-cat-pqc-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.cp-pqc-btn.active,
.cp-cat-pqc-btn.active {
    background: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

/* Active Filter Feedback Bar */
.cp-filter-feedback-bar {
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12.5px;
    color: #0f766e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cp-clear-query-link,
.cp-clear-cat-query {
    font-weight: 700;
    color: #0d9488 !important;
    text-decoration: underline !important;
    cursor: pointer;
}

/* ==========================================================================
   SUBMIT COUPON COMMUNITY WIZARD & LEADERBOARD ALIGNMENT STYLES
   ========================================================================== */
.cp-page-container {
    width: 94%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 50px;
    box-sizing: border-box;
}

.cp-submit-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

/* Submit Coupon Hero Banner */
.cp-submit-banner {
    background: linear-gradient(135deg, #1f9488 0%, #157369 100%);
    color: #ffffff;
    border-radius: var(--cp-radius-lg);
    padding: 26px 30px;
    box-shadow: 0 4px 18px rgba(31, 148, 136, 0.22);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.cp-submit-banner-content h1,
.cp-submit-banner-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.cp-submit-banner-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.5;
    max-width: 540px;
}

.cp-submit-banner-btn {
    background: #ffcc00;
    color: #191f2e !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 24px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: var(--cp-transition);
    white-space: nowrap;
}

.cp-submit-banner-btn:hover {
    background: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* Submit Form Card */
.cp-submit-card {
    background: #ffffff;
    border-radius: var(--cp-radius-lg);
    box-shadow: var(--cp-shadow-md);
    border: 1px solid var(--cp-border);
    padding: 32px 36px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cp-submit-card {
        padding: 22px 18px;
    }
    .cp-submit-banner {
        padding: 20px 18px;
    }
}

/* Step Progress Indicator Bar */
.cp-wizard-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 34px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
}

.cp-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    cursor: default;
}

.cp-step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
    transition: var(--cp-transition);
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.cp-step-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.2px;
    transition: var(--cp-transition);
}

.cp-step-item.active .cp-step-circle {
    background: var(--cp-teal);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(50, 182, 167, 0.4);
    transform: scale(1.08);
}

.cp-step-item.active .cp-step-title {
    color: var(--cp-teal-dark);
}

.cp-step-item.completed .cp-step-circle {
    background: #10b981;
    color: #ffffff;
}

.cp-step-item.completed .cp-step-title {
    color: #10b981;
}

/* Form Elements Alignment */
.cp-form-group {
    margin-bottom: 22px;
}

.cp-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.cp-form-group label .required-star {
    color: var(--cp-orange);
}

.cp-form-control,
.cp-form-group .form-control {
    width: 100% !important;
    height: 44px !important;
    border-radius: var(--cp-radius-sm) !important;
    border: 1.5px solid #d8e0e9 !important;
    padding: 9px 14px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.cp-form-group textarea.form-control {
    height: auto !important;
    min-height: 90px !important;
}

.cp-form-control:focus,
.cp-form-group .form-control:focus {
    border-color: var(--cp-teal) !important;
    box-shadow: 0 0 0 3px rgba(50, 182, 167, 0.2) !important;
    outline: none !important;
}

.cp-type-toggle-group {
    display: flex;
    gap: 14px;
    margin-top: 4px;
}

.cp-type-option {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1.5px solid #d8e0e9;
    border-radius: var(--cp-radius-sm);
    background: #f8fafc;
    cursor: pointer;
    transition: var(--cp-transition);
}

.cp-type-option:hover {
    border-color: var(--cp-teal);
    background: #f0fdfa;
}

.cp-type-option input[type="radio"] {
    margin: 0 10px 0 0;
    accent-color: var(--cp-teal);
    cursor: pointer;
}

.cp-type-option.selected {
    border-color: var(--cp-teal);
    background: #f0fdfa;
    box-shadow: 0 2px 8px rgba(50, 182, 167, 0.15);
}

.cp-type-option-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

.cp-type-option-desc {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}

.cp-helper-hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Action Buttons */
.cp-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
    gap: 12px;
}

.cp-btn-back {
    background: #f1f5f9;
    color: #475569 !important;
    border: 1px solid #cbd5e1;
    border-radius: var(--cp-radius-sm);
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--cp-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
}

.cp-btn-back:hover {
    background: #e2e8f0;
    color: #1e293b !important;
}

.cp-btn-next {
    background: var(--cp-teal);
    color: #ffffff !important;
    border: none;
    border-radius: var(--cp-radius-sm);
    padding: 11px 26px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--cp-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(50, 182, 167, 0.3);
    margin-left: auto;
}

.cp-btn-next:hover {
    background: var(--cp-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(50, 182, 167, 0.4);
}

.cp-btn-submit {
    background: var(--cp-orange);
    color: #ffffff !important;
    border: none;
    border-radius: var(--cp-radius-sm);
    padding: 11px 28px;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--cp-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(255, 51, 0, 0.3);
    margin-left: auto;
}

.cp-btn-submit:hover {
    background: var(--cp-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(255, 51, 0, 0.4);
}

.cp-submission-info-box {
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: var(--cp-radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    color: #0f766e;
    font-size: 13px;
    line-height: 1.5;
}

.cp-submission-info-box i {
    font-size: 18px;
    color: var(--cp-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   LEADERBOARD PAGE ALIGNMENT & PODIUM
   ========================================================================== */
.cp-leaderboard-hero {
    text-align: center;
    margin-bottom: 30px;
}

.cp-leaderboard-hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: #191f2e;
    margin: 0 0 10px 0;
}

.cp-leaderboard-hero p {
    font-size: 15px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 18px auto;
}

.cp-leaderboard-cta-btn {
    background: var(--cp-orange);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(255, 51, 0, 0.25);
    transition: var(--cp-transition);
}

.cp-leaderboard-cta-btn:hover {
    background: var(--cp-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(255, 51, 0, 0.35);
}

/* Leaderboard Timeframe Tabs */
.cp-leaderboard-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.cp-timeframe-pill-nav {
    display: inline-flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px;
    border-radius: 30px;
    box-shadow: var(--cp-shadow-sm);
    gap: 4px;
    list-style: none;
    margin: 0;
}

.cp-timeframe-pill-nav li a {
    display: block;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 700;
    color: #64748b;
    text-decoration: none !important;
    transition: var(--cp-transition);
}

.cp-timeframe-pill-nav li.active a,
.cp-timeframe-pill-nav li a.active {
    background: var(--cp-teal);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(50, 182, 167, 0.35);
}

.cp-timeframe-pill-nav li a:hover:not(.active) {
    background: #f1f5f9;
    color: #1e293b;
}

/* Leaderboard Top 3 Podium */
.cp-podium-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .cp-podium-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
}

.cp-podium-card {
    background: #ffffff;
    border-radius: var(--cp-radius-lg);
    box-shadow: var(--cp-shadow-sm);
    border: 1px solid var(--cp-border);
    padding: 24px 20px;
    text-align: center;
    flex: 1;
    max-width: 320px;
    position: relative;
    transition: var(--cp-transition);
}

@media (max-width: 768px) {
    .cp-podium-card {
        max-width: 100%;
    }
}

.cp-podium-card:hover {
    box-shadow: var(--cp-shadow-hover);
    transform: translateY(-3px);
}

.cp-podium-card.rank-1 {
    order: 2;
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.22);
    padding: 30px 22px;
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .cp-podium-card.rank-1 {
        order: 1;
        transform: none;
    }
}

.cp-podium-card.rank-2 {
    order: 1;
    border-color: #cbd5e1;
}

@media (max-width: 768px) {
    .cp-podium-card.rank-2 {
        order: 2;
    }
}

.cp-podium-card.rank-3 {
    order: 3;
    border-color: #fbd38d;
}

.cp-podium-crown {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 8px;
}

.cp-podium-name {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin: 6px 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-podium-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.cp-podium-badge.gold {
    background: #fef3c7;
    color: #b45309;
}

.cp-podium-badge.silver {
    background: #f1f5f9;
    color: #475569;
}

.cp-podium-badge.bronze {
    background: #ffedd5;
    color: #9a3412;
}

.cp-podium-pts {
    font-size: 24px;
    font-weight: 800;
    color: var(--cp-teal);
    margin-bottom: 4px;
}

.cp-podium-pts small {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.cp-podium-coupons {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

/* Leaderboard Rankings Table */
.cp-leaderboard-card {
    background: #ffffff;
    border-radius: var(--cp-radius-lg);
    box-shadow: var(--cp-shadow-md);
    border: 1px solid var(--cp-border);
    overflow: hidden;
}

.cp-leaderboard-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfc;
}

.cp-leaderboard-card-header h2,
.cp-leaderboard-card-header h5 {
    font-size: 17px;
    font-weight: 800;
    color: #191f2e;
    margin: 0;
}

.cp-leaderboard-status-badge {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    background: #edf2f7;
    padding: 4px 10px;
    border-radius: 12px;
}

.cp-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.cp-leaderboard-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-bottom: 1.5px solid #edf2f7;
}

.cp-leaderboard-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    vertical-align: middle;
}

.cp-leaderboard-table tr:hover td {
    background-color: #f8fafc;
}

.cp-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 12.5px;
    font-weight: 800;
}

.cp-rank-badge.top-1 {
    background: #fef3c7;
    color: #b45309;
}

.cp-rank-badge.top-2 {
    background: #f1f5f9;
    color: #475569;
}

.cp-rank-badge.top-3 {
    background: #ffedd5;
    color: #9a3412;
}

.cp-rank-badge.standard {
    background: transparent;
    color: #64748b;
    font-weight: 700;
}

.cp-user-name-cell {
    font-weight: 700;
    color: #1e293b;
}

.cp-approved-pill {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #ccfbf1;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.cp-table-points {
    font-weight: 800;
    color: var(--cp-teal);
    font-size: 15px;
}