
/* Exact v10 frontend with WordPress reset and requested connected steps */
html{margin-top:0!important}
body.admin-bar header{top:32px}
@media(max-width:782px){body.admin-bar header{top:46px}}
#wpadminbar{z-index:999999}
header{margin-bottom:0!important}
#app{margin-top:0!important;padding-top:0!important}
.full-hero-wrap,.showcase-slider{margin-top:0!important}
.showcase-slider{border-radius:0!important}
.showcase-bottom{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:5!important;background:linear-gradient(0deg,rgba(15,23,42,.55),transparent)!important;color:#fff!important;pointer-events:none}
.showcase-dots,.showcase-dot{pointer-events:auto}
.showcase-counter,.showcase-caption{color:#fff!important}
.steps{position:relative;isolation:isolate}
.steps:before{content:"";height:3px;position:absolute;left:10%;right:10%;top:39px;background:linear-gradient(90deg,#ff5a3d,#5b5fec);z-index:-1}
.steps .stp{position:relative}
.steps .stp:before{box-shadow:0 0 0 12px var(--bg)}
@media(max-width:700px){.steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}.steps:before{display:none}.showcase-left{display:none!important}.showcase-slide.on{display:block!important}.showcase-right{width:100%!important;min-height:390px!important}.showcase-photo-content{bottom:75px!important;left:24px!important;right:24px!important}.showcase-bottom{padding:10px!important}.showcase-caption{display:none!important}}
@media(max-width:420px){.showcase-right{min-height:345px!important}}

.cd-site-custom-logo{max-height:46px;max-width:220px;width:auto;height:auto;object-fit:contain}

.cd-wp-page{max-width:840px;margin:64px auto;padding:30px;background:#fff;border:1px solid #eee;border-radius:18px}.cd-wp-page a{color:#ff5a3d}.cd-wp-page input,.cd-wp-page textarea,.cd-wp-page select{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;margin:6px 0 14px}.cd-submission-form button{background:#ff5a3d;color:white;padding:12px 22px;border:0;border-radius:10px;cursor:pointer}

/* =====================================
   CATEGORY ICON - ALWAYS VISIBLE
   ===================================== */

/* Image card */
.cat.im2 {
    position: relative;
    overflow: hidden;
}

/* Content always at bottom left */
.cat.im2 .ov {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding: 20px !important;
}

/* Heading and icon in one line */
.cat.im2 .ov h3 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;

    padding: 0 !important;
    margin: 0 0 3px !important;

    color: #fff !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;

    /* Disable original hover animation */
    translate: none !important;
    transform: none !important;
}

/* Icon always visible */
.cat.im2 .cat-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: static !important;
    width: auto !important;
    height: auto !important;

    font-size: 22px !important;
    line-height: 1 !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
    translate: none !important;
    scale: 1 !important;
}

/* Disable hover movement */
.cat.im2:hover .ov h3,
.cat.im2:hover .cat-icon {
    translate: none !important;
    transform: none !important;
    scale: 1 !important;
}

/* Offer count below heading */
.cat.im2 .ov small {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .cat.im2 .ov {
        padding: 16px !important;
    }

    .cat.im2 .ov h3 {
        font-size: 19px !important;
        gap: 5px !important;
    }

    .cat.im2 .cat-icon {
        font-size: 19px !important;
    }

    .cat.im2 .ov small {
        font-size: 14px !important;
    }
}

/* Category title and icon always visible */

.cat.im2 .ov h3 {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 0 3px !important;
    transform: none !important;
}

.cat.im2 .ov h3 .cat-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    flex-shrink: 0 !important;
    font-size: 23px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cat.im2 .ov h3 .cat-title {
    display: inline-block !important;
    color: #fff !important;
}

/* Remove the old separately positioned icon */
.cat.im2 > .ci {
    display: none !important;
}

@media (max-width: 767px) {
    .cat.im2 .ov h3 .cat-icon {
        font-size: 19px !important;
    }
}

/* =========================================
   COUPONDOST - PERMANENT CATEGORY ICON FIX
   ========================================= */

/* Keep category content always visible */
.cat.im2 .ov,
.cat.im2:hover .ov {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Heading stays in the same position */
.cat.im2 .ov h3,
.cat.im2:hover .ov h3 {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;

    padding: 0 !important;
    margin: 0 0 3px !important;

    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
    translate: none !important;
    animation: none !important;
}

/* Hide old icon outside the heading */
.cat.im2 > .ci {
    display: none !important;
}

/* Icon directly before category title */
.cat.im2 .ov h3::before {
    content: "🏷️";
    display: inline-block !important;
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Category-specific icons */
.cat.im2[href*="category-fashion"] .ov h3::before {
    content: "👗";
}

.cat.im2[href*="category-electronics"] .ov h3::before {
    content: "💻";
}

.cat.im2[href*="category-travel"] .ov h3::before {
    content: "✈️";
}

.cat.im2[href*="category-food"] .ov h3::before {
    content: "🍔";
}

.cat.im2[href*="category-beauty"] .ov h3::before {
    content: "💄";
}

.cat.im2[href*="category-software"] .ov h3::before {
    content: "🧩";
}

.cat.im2[href*="category-hosting"] .ov h3::before {
    content: "🌐";
}

.cat.im2[href*="category-lifestyle"] .ov h3::before {
    content: "🏡";
}

/* Avoid duplicate icons */
.cat.im2 .ov h3 .cat-icon {
    display: none !important;
}

/* Offer count */
.cat.im2 .ov small {
    padding: 0 !important;
    margin: 0 !important;
    color: #fff !important;
}

/* Mobile */
@media (max-width: 767px) {
    .cat.im2 .ov h3 {
        gap: 5px !important;
    }

    .cat.im2 .ov h3::before {
        font-size: 19px !important;
    }
}

/* Category heading font size */
.cat.im2 .ov h3 {
    font-size: 21px !important;
    font-weight: 700 !important;
    gap: 6px !important;
    margin-bottom: 3px !important;
}

/* Category icon size */
.cat.im2 .ov h3::before {
    font-size: 19px !important;
}

/* Offer count font size */
.cat.im2 .ov small {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .cat.im2 .ov h3 {
        font-size: 18px !important;
    }

    .cat.im2 .ov h3::before {
        font-size: 17px !important;
    }

    .cat.im2 .ov small {
        font-size: 13px !important;
    }
}


/* Premium coupon-style discount badge */

.fd .fc .fo .off,
.fc .fo .off {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: fit-content !important;
    max-width: 100% !important;

    background: #ffffff !important;
    color: #f25445 !important;

    padding: 7px 13px !important;
    margin: 0 0 8px !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;

    border: 1px dashed #f5a69b !important;
    border-radius: 8px !important;

    box-shadow: 0 4px 15px rgba(0,0,0,0.12) !important;
    text-shadow: none !important;
    letter-spacing: 0.2px !important;
}

/* Store name */
.fc .fo b {
    display: block !important;
    color: #ffffff !important;
    font-size: 21px !important;
    font-weight: 700 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .fd .fc .fo .off,
    .fc .fo .off {
        font-size: 12px !important;
        padding: 6px 10px !important;
        margin-bottom: 6px !important;
    }

    .fc .fo b {
        font-size: 18px !important;
    }
}

/* Uploaded Store Logo */

.st .lg2:has(.cd-uploaded-logo) {
    background: #ffffff !important;
}

.st .lg2 .cd-uploaded-logo,
.lgx .cd-uploaded-logo,
.lg .cd-uploaded-logo {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    padding: 10px !important;
    box-sizing: border-box !important;
}
/* CouponDost Hero Slider Store Logo Fix */

.showcase-symbol {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f2e5e0;
    border-radius: 16px;
    overflow: hidden;
}

.showcase-symbol img {
    display: block;
    width: 85%;
    height: 85%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}
/* Individual coupon page navigation */

.cp.cd-clickable-coupon {
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cp.cd-clickable-coupon:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20, 30, 55, .13);
}

.cp .cd-card-edit {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    margin-top: 14px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.cp .cd-card-edit:hover {
    color: #ff5a3d;
    border-color: #ff5a3d;
}
/* Clickable no-code deal cards */
a.dl.cd-real-deal {
    display: flex;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

a.dl.cd-real-deal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(20, 32, 58, .12);
}

.cd-real-deal .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cd-real-deal .cd-deal-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
a.cd-wp-deal {
    display: flex;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

a.cd-wp-deal:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20,32,58,.12);
}



.cd-wp-deal .cd-deal-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
/* Top Deals filtering */

.cd-deals-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 24px;
}

.cd-deals-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0 !important;
}

.cd-deals-filters button {
    appearance: none;
    background: #fff;
    color: #14203a;
    border: 1px solid #e3e6ef;
    border-radius: 12px;
    padding: 11px 17px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.cd-deals-filters button:hover {
    border-color: #7561da;
    color: #7561da;
}

.cd-deals-filters button.on {
    background: #6957c8;
    color: #fff;
    border-color: #6957c8;
}

.cd-wp-deal {
    display: flex;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.cd-wp-deal .btn {
    pointer-events: none;
}

.cd-wp-deal:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20, 32, 58, 0.1);
}

.cd-deal-image {
    position: relative;
    overflow: hidden;
    background: #f4f5fa;
}

.cd-deal-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cd-deal-image > .cd-deal-logo-image {
    object-fit: contain;
    padding: 18px;
    background: white;
}

.cd-deal-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 125px;
    font-size: 38px;
    font-weight: 800;
    color: #6957c8;
}

.cd-deal-store-logo {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 5px;
}

.cd-deal-store-logo img {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

.cd-wp-deal .cd-deal-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.cd-empty-deals {
    grid-column: 1 / -1;
    padding: 35px;
    text-align: center;
}

@media (max-width: 600px) {
    .cd-deals-filters {
        gap: 7px;
    }

    .cd-deals-filters button {
        font-size: 12px;
        padding: 9px 12px;
    }
}
/* Restore images in real WordPress deal cards */

a.dl.cd-wp-deal {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

a.cd-wp-deal .cd-deal-image {
    position: relative;
    display: block !important;
    flex: 0 0 145px;
    width: 145px;
    min-height: 155px;
    height: auto;
    overflow: hidden;
    background: #f3f4f8;
}

a.cd-wp-deal .cd-deal-image > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 155px;
    object-fit: cover;
}

a.cd-wp-deal .cd-deal-store-logo {
    position: absolute;
    left: 9px;
    bottom: 9px;
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    overflow: hidden;
    padding: 4px;
}

a.cd-wp-deal .cd-deal-store-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

a.cd-wp-deal .in {
    flex: 1;
    min-width: 0;
}

@media (max-width: 600px) {
    a.cd-wp-deal .cd-deal-image {
        flex-basis: 105px;
        width: 105px;
        min-height: 145px;
    }

    a.cd-wp-deal .cd-deal-image > img {
        min-height: 145px;
    }
}
/* Deal card: separate affiliate button behavior */

.cd-wp-deal {
    cursor: pointer;
}

.cd-wp-deal .cd-direct-deal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto !important;
}

.cd-wp-deal .cd-direct-deal:hover {
    background: #eb4e3a;
    color: #fff;
}

.cd-wp-deal .cd-no-affiliate {
    opacity: .55;
    cursor: not-allowed;
}
/* WordPress deals: separate detail and affiliate links */

.cd-wp-deal {
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.cd-wp-deal .cd-deal-details-link {
    display: flex;
    flex: 1;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.cd-wp-deal .cd-deal-details-link .in {
    flex: 1;
    min-width: 0;
}

.cd-wp-deal .cd-deal-action {
    padding: 0 18px 16px;
}

.cd-wp-deal .cd-deal-action .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    pointer-events: auto !important;
    cursor: pointer;
    text-decoration: none;
}

.cd-wp-deal .cd-no-affiliate {
    opacity: .5;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.cd-wp-deal .cd-deal-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 600px) {
    .cd-wp-deal .cd-deal-action {
        padding: 0 14px 14px;
    }
}
.cd-offer-note-box{
    background:#eefaf1;
    border:1px solid #d7efdc;
    border-radius:14px;
    padding:14px 16px;
    margin-top:14px;
}
.cd-offer-note-item{
    color:#198754;
    font-size:14px;
    line-height:1.5;
    font-weight:500;
    margin:6px 0;
}
.cd-wp-deal{
    background:#fff;
    border:1px solid #ececf3;
    border-radius:18px;
    padding:18px;
    box-shadow:0 6px 18px rgba(20,20,43,.05);
    display:flex;
    flex-direction:column;
    gap:12px;
    transition:.2s ease;
}
.cd-wp-deal:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(20,20,43,.08);
}

.cd-deal-main-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.cd-deal-top{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:10px;
}

.cd-deal-thumb{
    width:52px;
    height:52px;
    border-radius:14px;
    overflow:hidden;
    background:#f7f7fb;
    border:1px solid #ececf3;
    flex:0 0 52px;
}
.cd-deal-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.cd-deal-store-meta{
    min-width:0;
}
.cd-deal-store-name{
    font-size:15px;
    font-weight:700;
    color:#1d2746;
    line-height:1.2;
    text-transform:capitalize;
}
.cd-deal-store-sub{
    font-size:12px;
    color:#7c8499;
    margin-top:2px;
}

.cd-wp-deal .lb{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:12px;
}
.cd-wp-deal .lb span{
    font-size:11px;
    padding:5px 10px;
    border-radius:999px;
    background:#f7f4ff;
    color:#5c47d6;
    font-weight:600;
}

.cd-wp-deal h3{
    font-size:22px;
    line-height:1.25;
    color:#17264a;
    margin:0 0 8px;
    font-weight:800;
}

.cd-deal-desc{
    font-size:14px;
    line-height:1.6;
    color:#6b7280;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.cd-deal-bottom{
    margin-top:auto;
}
.cd-deal-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:120px;
    padding:12px 18px;
    border-radius:12px;
    background:#ff6b4a;
    color:#fff !important;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
}
.cd-deal-btn.disabled{
    opacity:.5;
    pointer-events:none;
}
/* Enable real affiliate Get Deal links */
.cd-wp-deal .cd-deal-bottom a.cd-deal-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 5;
    text-decoration: none;
}

/* Disable only deals without an affiliate URL */
.cd-wp-deal .cd-deal-bottom .cd-deal-btn.disabled {
    pointer-events: none !important;
    opacity: .5;
    cursor: not-allowed !important;
}
/* CouponDost verification labels */

.cd-verified-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 20px;
    background: #e6f7ed;
    color: #16834a;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    white-space: nowrap;
}

.cd-default-label {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}

.cp .vt:has(.cd-verified-label),
.cp .vt:has(.cd-default-label) {
    margin-top: 5px;
}
/* Remove extra verification tick outside the badge */
.cp .vt:has(.cd-verified-label)::before,
.cp .vt:has(.cd-verified-label)::after {
    content: none !important;
    display: none !important;
}

/* Keep only the tick inside the verified badge */
.cp .cd-verified-label::before,
.cp .cd-verified-label::after {
    content: none !important;
    display: none !important;
}
/* Modern compact discount badge */
.cp .off {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 0 !important;
    max-width: 160px;

    padding: 7px 12px !important;
    margin: 0 !important;

    background: #fff1ed !important;
    color: #f15c42 !important;
    border: 1px solid #ffd9cf !important;
    border-radius: 999px !important;
    box-shadow: none !important;

    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
    flex-shrink: 0;
}

/* Small tag icon */
/* Tag icon before discount badge */
.cp .off::before {
    content: "" !important;
    display: inline-block !important;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-right: 6px;

    background-color: #f15c42;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41 13.41 20.59a2 2 0 0 1-2.82 0l-8.18-8.18A2 2 0 0 1 2 11V4a2 2 0 0 1 2-2h7a2 2 0 0 1 1.41.59l8.18 8.18a2 2 0 0 1 0 2.82Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41 13.41 20.59a2 2 0 0 1-2.82 0l-8.18-8.18A2 2 0 0 1 2 11V4a2 2 0 0 1 2-2h7a2 2 0 0 1 1.41.59l8.18 8.18a2 2 0 0 1 0 2.82Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Coupon card header — one unified layout for every section */
.cp .top {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 8px 12px !important;
    align-items: start !important;
    position: relative !important;
    padding: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
}
.cp .top > .lg {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 0 !important;
    margin: 0 !important;
}
.cp .top > div:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}
.cp .top > div:nth-child(2) > b {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}
.cp .top .vt {
    display: block !important;
    margin-top: 5px !important;
    width: max-content !important;
    max-width: 100% !important;
    overflow: visible !important;
}
.cp .top .vt::before,
.cp .top .vt::after,
.cp .cd-verified-label::before,
.cp .cd-verified-label::after {
    content: none !important;
    display: none !important;
}
.cp .top .cd-verified-label {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    max-width: 100% !important;
    padding: 5px 9px !important;
    background: #e6f7ed !important;
    color: #16834a !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}
.cp .top > .off {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    width: max-content !important;
    max-width: 100% !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}
.cp > h3 {
    margin-top: 12px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
}
.cp > .mu {
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
}
/* Only the Hot Right Now grid gets this column count. */
#hotg {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 18px !important;
}
#hotg .cp { min-width: 0; }
#hotg .cp .row { gap: 10px !important; flex-wrap: wrap !important; }
#hotg .cp .rv { flex-shrink: 0 !important; }
@media (max-width: 991px) {
    #hotg { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
    #hotg { grid-template-columns: 1fr !important; gap: 14px !important; }
    .cp .top { grid-template-columns: 46px minmax(0,1fr) !important; gap: 8px 10px !important; }
    .cp .top > .lg { width: 46px !important; height: 46px !important; }
    .cp .top > div:nth-child(2) > b { font-size: 14px !important; }
    .cp .top .cd-verified-label { font-size: 10px !important; }
    .cp .top > .off { font-size: 10px !important; }
}
/* CouponDost - Compact coupon card header */

/* All coupon cards */
.cp .top,
#hotg .cp .top {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) auto !important;
    grid-template-rows: auto !important;
    gap: 8px 10px !important;
    align-items: start !important;
    position: relative !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
}

/* Store logo */
.cp .top > .lg,
#hotg .cp .top > .lg {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 0 !important;
}

/* Store name and verified status */
.cp .top > div:nth-child(2),
#hotg .cp .top > div:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* Store name */
.cp .top > div:nth-child(2) > b {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
}

/* Verified Coupon */
.cp .top .vt,
.cp .top .cd-verified-label {
    max-width: 100% !important;
}

.cp .top .cd-verified-label {
    display: inline-flex !important;
    width: auto !important;
    white-space: normal !important;
    padding: 4px 7px !important;
    font-size: 10px !important;
}

/* Discount badge - top-right */
.cp .top > .off,
#hotg .cp .top > .off {
    position: static !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: start !important;
    margin: 0 !important;
    width: max-content !important;
    max-width: 120px !important;
    padding: 6px 8px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

/* Smaller icon */
.cp .top > .off::before {
    width: 12px !important;
    height: 12px !important;
    flex-basis: 12px !important;
    margin-right: 4px !important;
}

/* No badge overlap on small cards */
@media (max-width: 480px) {
    .cp .top,
    #hotg .cp .top {
        grid-template-columns: 42px minmax(0, 1fr) auto !important;
        gap: 7px !important;
    }

    .cp .top > .lg {
        width: 42px !important;
        height: 42px !important;
    }

    .cp .top > .off {
        font-size: 9px !important;
        padding: 5px 6px !important;
        max-width: 105px !important;
    }
}

/* CouponGrabit - Clean Premium Mobile Menu */

@media (max-width: 767px) {

    body > header {
        position: relative !important;
        z-index: 1200 !important;
        background: #fff !important;
        box-shadow: 0 2px 12px rgba(15,23,42,.06);
    }

    body > header > .w {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        height: auto !important;
        min-height: 70px !important;
        padding: 10px 15px !important;
    }

    body > header .w > a.logo {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body > header .w > a.logo img {
        display: block !important;
        max-height: 60px !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Hide desktop search and buttons */
    body > header .w > input.hs,
    body > header .w > .hd {
        display: none !important;
    }

    /* Compact hamburger button */
    body > header .cg-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff3ef !important;
        border: 1px solid #ffe1d8 !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        position: relative !important;
        inset: auto !important;
        z-index: 2 !important;
    }

    .cg-hamburger-lines {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .cg-hamburger-lines i {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 4px;
        background: #ff5a3d;
        transition: transform .25s, opacity .25s;
    }

    .cg-menu-toggle.is-active
    .cg-hamburger-lines i:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .cg-menu-toggle.is-active
    .cg-hamburger-lines i:nth-child(2) {
        opacity: 0;
    }

    .cg-menu-toggle.is-active
    .cg-hamburger-lines i:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Background overlay stays BEHIND menu */
    .cg-menu-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(12,20,35,.32) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s, visibility .25s;
        z-index: 1100 !important;
    }

    body.cg-menu-open .cg-menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.cg-menu-open {
        overflow: hidden;
    }

    /* Dropdown menu below header */
    body > header #nv {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 12px !important;
        right: 12px !important;
        bottom: auto !important;

        width: auto !important;
        max-width: none !important;
        height: auto !important;
        max-height: calc(100dvh - 160px) !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 3px !important;

        padding: 18px !important;
        margin: 0 !important;

        background: #fff !important;
        border: 1px solid #edf0f4 !important;
        border-radius: 20px !important;
        box-shadow: 0 18px 55px rgba(15,23,42,.18) !important;

        transform: translateY(-10px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        overflow-y: auto !important;
        z-index: 1300 !important;

        transition: transform .25s, opacity .25s, visibility .25s !important;
    }

    body > header #nv.on {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Menu search */
    body > header #nv .cg-mobile-search {
        display: block !important;
        width: 100% !important;
        padding: 0 0 14px !important;
        margin: 0 0 9px !important;
        border-bottom: 1px solid #edf0f4;
    }

    .cg-menu-label {
        display: block;
        margin-bottom: 11px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.2px;
        color: var(--pr, #ff5a3d);
    }

    .cg-menu-search-box {
        display: flex !important;
        align-items: center;
        gap: 9px;
        width: 100%;
        height: 44px;
        padding: 0 12px;
        background: #f7f8fb !important;
        border: 1px solid #e6e9f0 !important;
        border-radius: 12px !important;
        box-sizing: border-box;
    }

    .cg-search-icon {
        color: #ff5a3d;
        font-size: 23px;
        line-height: 1;
    }

    .cg-menu-search-box input {
        display: block !important;
        flex: 1;
        width: 100% !important;
        min-width: 0;
        height: 100% !important;
        padding: 0 !important;
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 13px !important;
    }

    /* Navigation links */
    body > header #nv > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between;
        flex: 0 0 auto !important;
        width: 100% !important;
        min-height: 43px !important;
        padding: 10px 13px !important;
        margin: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 10px !important;
        color: #17233c !important;

        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        text-decoration: none !important;
        box-sizing: border-box;
        cursor: pointer;
    }

    body > header #nv > a::before {
        display: none !important;
    }

    body > header #nv > a::after {
        content: "›" !important;
        position: static !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        margin-left: auto !important;
        background: none !important;
        color: #a6afbd !important;
        font-size: 20px !important;
        font-weight: 400 !important;
        transform: none !important;
    }

    body > header #nv > a:hover,
    body > header #nv > a.on {
        background: #fff0eb !important;
        color: #f2573c !important;
    }

    /* Login */
    body > header #nv > a.mo {
        display: flex !important;
    }

    body > header #nv > a.mo:nth-last-child(2) {
        margin-top: 12px !important;
        border: 1px solid #e4e8f0 !important;
        justify-content: center !important;
    }
body > header #nv > a.mo::after {
        display: none !important;
    }

    /* Search suggestions above overlay */
    #sgp {
        z-index: 1500 !important;
    }
}

@media (min-width: 768px) {
    .cg-mobile-search,
    .cg-menu-backdrop {
        display: none !important;
    }
}

/* ==========================================
   CouponGrabit - Premium Moving Deals Bar
========================================== */

.cg-deals-topbar {
    position: relative;
    z-index: 30;
    width: 100%;
    background: #101a35;
    color: #fff;
    font-family: inherit;
}

.cg-deals-topbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1400px;
    min-height: 46px;
    padding: 7px 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.cg-topbar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #ff5a3d;
    color: #fff;
    font-size: 19px;
}

/* Moving text area */
.cg-topbar-marquee {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent,
        black 5%,
        black 95%,
        transparent
    );
}

.cg-topbar-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: cgDealsScroll 32s linear infinite;
    will-change: transform;
}

.cg-topbar-items {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
    white-space: nowrap;
}

.cg-topbar-items a {
    color: #f5f7ff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1px;
    text-decoration: none;
    transition: color .2s ease;
}

.cg-topbar-items a:hover {
    color: #ff927b;
}

.cg-topbar-separator {
    color: #ff7658;
    font-size: 12px;
}

@keyframes cgDealsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause on interaction */
.cg-topbar-marquee:hover .cg-topbar-track,
.cg-topbar-marquee:focus-within .cg-topbar-track {
    animation-play-state: paused;
}

/* CTA */
.cg-topbar-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 8px;
    background: #ff5a3d;
    color: #fff !important;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s ease;
}

.cg-topbar-action:hover {
    background: #f0462a;
}

.cg-topbar-dismiss {
    flex: 0 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #d6dbe8;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.cg-topbar-dismiss:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* Tablet and mobile */
@media (max-width: 767px) {
    .cg-deals-topbar-inner {
        min-height: 43px;
        gap: 9px;
        padding: 6px 10px;
    }

    .cg-topbar-icon {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 16px;
        border-radius: 7px;
    }

    .cg-topbar-items {
        gap: 16px;
        padding-right: 16px;
    }

    .cg-topbar-items a {
        font-size: 12px;
    }

    .cg-topbar-track {
        animation-duration: 27s;
    }

    .cg-topbar-action {
        padding: 8px 10px;
        border-radius: 7px;
        font-size: 11px;
    }

    .cg-topbar-action span {
        display: none;
    }

    .cg-topbar-dismiss {
        flex-basis: 20px;
        width: 20px;
        height: 24px;
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .cg-topbar-icon {
        display: none;
    }

    .cg-deals-topbar-inner {
        gap: 7px;
    }

    .cg-topbar-action {
        padding: 7px 8px;
        font-size: 10px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .cg-topbar-track {
        animation: none;
    }

    .cg-topbar-marquee {
        overflow-x: auto;
    }
}

/* CouponGrabit Member Accounts */

.cg-account-page {
    min-height: 65vh;
    padding: 65px 20px;
    background: #f7f8fc;
}

.cg-account-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.cg-account-card {
    padding: 36px;
    background: #fff;
    border: 1px solid #e9ebf2;
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .07);
}

.cg-account-eyebrow {
    display: block;
    color: var(--pr, #ff5a3d);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cg-account-card h1 {
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #101a35;
}

.cg-account-card h2 {
    font-size: 21px;
    margin: 28px 0 16px;
}

.cg-account-card > p {
    color: #69758a;
    margin-bottom: 25px;
}

.cg-account-card form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #25314a;
    margin-bottom: 8px;
}

.cg-account-card input:not([type="checkbox"]) {
    width: 100%;
    min-height: 48px;
    border: 1px solid #e2e6ef;
    border-radius: 11px;
    padding: 12px 14px;
    margin: 8px 0 15px;
    background: #fafbfe;
    box-sizing: border-box;
}

.cg-account-card input:focus {
    outline: 2px solid rgba(255, 90, 61, .16);
    border-color: var(--pr, #ff5a3d);
}

.cg-account-card input[type="submit"],
.cg-account-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 11px;
    background: var(--pr, #ff5a3d);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.cg-account-links,
.cg-account-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.cg-account-links a,
.cg-account-actions a {
    color: #ef543a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
}

.cg-account-details {
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.cg-account-details > div {
    display: grid;
    gap: 5px;
    padding: 14px;
    background: #f7f8fc;
    border-radius: 11px;
    overflow-wrap: anywhere;
}

.cg-account-details small {
    color: #69758a;
}

.cg-account-details strong {
    color: #15213b;
}

.cg-account-success {
    color: #15803d !important;
}

.cg-account-error {
    color: #dc2626 !important;
}

@media (max-width: 767px) {
    .cg-account-page {
        padding: 30px 14px;
    }

    .cg-account-card {
        padding: 24px 18px;
        border-radius: 17px;
    }

    .cg-account-card h1 {
        font-size: 25px;
    }
}
/* =============================================================
   CouponGrabit - Unified responsive header (2026-11-03)
   Desktop >= 1400: single row
   Laptop/tablet 768-1399: logo, search, account, hamburger
   Phone <= 767: logo and hamburger; search stays in menu
   Existing .on / .cg-menu-open JS state is preserved.
   ============================================================= */

body > header {
    background: #fff !important;
    border-bottom: 1px solid #e9edf4 !important;
    box-shadow: 0 3px 16px rgba(15,23,42,.05);
    overflow: visible !important;
}
body > header > .w {
    box-sizing: border-box;
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body > header .cg-header-search {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 5px 6px 5px 14px !important;
    border: 1px solid #e2e7f0 !important;
    border-radius: 14px !important;
    background: #f8f9fc !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}
body > header .cg-header-search:focus-within {
    border-color: var(--pr,#ff5a3d) !important;
    box-shadow: 0 0 0 3px rgba(255,90,61,.1) !important;
    background: #fff !important;
}
body > header .cg-header-search > svg.cg-search-icon {
    flex: 0 0 21px !important;
    width: 21px !important;
    height: 21px !important;
    color: var(--pr,#ff5a3d) !important;
}
body > header .cg-header-search > input.hs {
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
}
body > header .cg-header-search > button.cg-search-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--pr,#ff5a3d) !important;
    color: #fff !important;
    cursor: pointer;
}
body > header .cg-header-search > button.cg-search-submit svg {
    width: 18px !important;
    height: 18px !important;
    color: #fff !important;
}
body > header > .w > a.cg-account-header {
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    height: 44px !important;
    padding: 5px 12px 5px 6px !important;
    margin: 0 !important;
    border: 1px solid #e5e9f1 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #18233a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
body > header .cg-account-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 9px !important;
    background: #fff0eb !important;
    color: var(--pr,#ff5a3d) !important;
}
body > header .cg-account-icon svg { width: 17px !important; height: 17px !important; }
#sgp {
    max-width: min(420px,calc(100vw - 16px)) !important;
    max-height: 340px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #e9ecf3 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 15px 40px rgba(20,30,55,.13) !important;
    z-index: 1600 !important;
    box-sizing: border-box !important;
}
#sgp .sgi { padding: 11px 13px !important; }
#sgp .sgi:hover { background: #fff2ed !important; }

/* Wide desktop: everything on a single line. */
@media (min-width: 1400px) {
    body > header > .w {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: clamp(8px,1vw,18px) !important;
        width: calc(100% - 56px) !important;
        height: 86px !important;
        min-height: 86px !important;
        padding: 0 !important;
    }
    body > header > .w > a.logo { flex: 0 0 auto !important; margin: 0 !important; }
    body > header #nv {
        display: flex !important;
        position: static !important;
        flex: 0 0 auto !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        white-space: nowrap;
    }
    body > header #nv > a:not(.mo) {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-height: 42px !important;
        padding: 9px clamp(5px,.5vw,10px) !important;
        margin: 0 !important;
        font-size: clamp(12px,.72vw,14px) !important;
        border-radius: 10px !important;
    }
    body > header #nv > a.mo,
    body > header .cg-menu-toggle,
    body > header .bg,
    body > header #nv .cg-mobile-search { display: none !important; }
    body > header > .w > form.cg-header-search {
        flex: 1 1 270px !important;
        min-width: 180px !important;
        max-width: none !important;
        width: auto !important;
        height: 50px !important;
        margin: 0 !important;
    }
    body > header > .w > a.cg-account-header { display: inline-flex !important; }
}

/* Laptop/tablet: keep one-row controls; move nav into dropdown. */
@media (min-width: 768px) and (max-width: 1399px) {
    body > header { position: relative !important; }
    body > header > .w {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 14px !important;
        width: calc(100% - 40px) !important;
        height: auto !important;
        min-height: 76px !important;
        padding: 10px 0 !important;
    }
    body > header > .w > a.logo { flex: 0 0 auto !important; margin: 0 !important; }
    body > header > .w > form.cg-header-search {
        display: flex !important;
        flex: 1 1 240px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 48px !important;
        margin: 0 !important;
    }
    body > header > .w > a.cg-account-header { display: inline-flex !important; }
    body > header .cg-menu-toggle,
    body > header .bg {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff3ef !important;
        border: 1px solid #ffe1d8 !important;
        border-radius: 12px !important;
        cursor: pointer;
        z-index: 1401;
    }
    body > header #nv {
        display: flex !important;
        position: absolute !important;
        flex-direction: column !important;
        align-items: stretch !important;
        top: calc(100% + 8px) !important;
        right: 20px !important;
        bottom: auto !important;
        left: auto !important;
        width: min(370px,calc(100vw - 40px)) !important;
        max-width: none !important;
        max-height: calc(100dvh - 110px) !important;
        overflow-y: auto !important;
        gap: 4px !important;
        padding: 18px !important;
        margin: 0 !important;
        background: #fff !important;
        border: 1px solid #e9edf4 !important;
        border-radius: 18px !important;
        box-shadow: 0 20px 60px rgba(15,23,42,.16) !important;
        transform: translateY(-8px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 1400 !important;
        transition: transform .2s,opacity .2s,visibility .2s !important;
    }
    body > header #nv.on,
    body.cg-menu-open > header #nv {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    body > header #nv > a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 44px !important;
        padding: 11px 14px !important;
        margin: 0 !important;
        border-radius: 10px !important;
        font-size: 14px !important;
    }
    body > header #nv > a:hover,
    body > header #nv > a.on { background: #fff0eb !important; color: #ff5a3d !important; }
    body > header #nv .cg-mobile-search { display: none !important; }
    .cg-menu-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(12,20,35,.32) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1100 !important;
    }
    body.cg-menu-open .cg-menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}
@media (min-width: 768px) and (max-width: 1050px) {
    body > header > .w { gap: 9px !important; width: calc(100% - 28px) !important; }
    body > header > .w > a.cg-account-header {
        min-width: 44px !important;
        padding: 5px !important;
    }
    body > header > .w > a.cg-account-header > span:not(.cg-account-icon) { display: none !important; }
}

/* Mobile: retain the existing styled slide-down menu and its search. */
@media (max-width: 767px) {
    body > header > .w {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 68px !important;
        height: auto !important;
        padding: 10px 15px !important;
    }
    body > header > .w > form.cg-header-search,
    body > header > .w > a.cg-account-header { display: none !important; }
    body > header > .w > a.logo { min-width: 0 !important; max-width: calc(100% - 64px) !important; }
    body > header > .w > a.logo img { max-width: 100% !important; height: auto !important; object-fit: contain !important; }
    body > header .cg-menu-toggle,
    body > header .bg { display: inline-flex !important; flex: 0 0 44px !important; width: 44px !important; height: 44px !important; margin-left: auto !important; }
    #sgp { max-height: 260px !important; }
}

/* ==========================================
   CouponGrabit - My Account Dashboard
   Page-specific styles
========================================== */

body.cg-member-page {
    background: #f7f8fc;
}

.cg-member-page .cg-member-main {
    display: block;
    width: 100%;
    min-height: 70vh;
    padding: 48px 20px 100px;
    background: #f7f8fc;
    font-size: 15px;
    line-height: 1.6;
}

.cg-member-page .cg-member-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Page heading */

.cg-member-intro {
    margin-bottom: 28px;
}

.cg-member-kicker {
    display: block;
    color: #ff5a3d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cg-member-intro h1 {
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.2;
    font-weight: 800;
    color: #121d35;
    margin: 8px 0 10px;
}

.cg-member-intro p {
    font-size: 15px;
    color: #69758a;
    margin: 0;
}

/* Welcome panel */

.cg-member-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 30px;
    margin-bottom: 24px;
    background: linear-gradient(110deg, #fff0eb, #fff);
    border: 1px solid #ffe2d8;
    border-radius: 20px;
}

.cg-member-avatar {
    flex: 0 0 64px;
}

.cg-member-avatar img {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.cg-member-welcome span {
    color: #ff5a3d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cg-member-welcome h2 {
    color: #14213b;
    font-size: 25px;
    margin: 5px 0;
}

.cg-member-welcome p {
    font-size: 14px;
    color: #69758a;
}

/* Account quick links */

.cg-member-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.cg-member-shortcuts a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e7eaf1;
    border-radius: 18px;
    color: #15213b;
    text-decoration: none;
    transition: .2s ease;
}

.cg-member-shortcuts a:hover {
    border-color: #ffd5c9;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15,23,42,.07);
}

.cg-shortcut-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff0eb;
    color: #ff5a3d;
    font-size: 22px;
    font-weight: 800;
}

.cg-member-shortcuts strong {
    font-size: 17px;
    font-weight: 800;
}

.cg-member-shortcuts small {
    font-size: 13px;
    color: #69758a;
}

/* Profile section */

.cg-member-profile-section {
    margin: 0 0 48px;
}

.cg-member-profile-section .cg-account-page {
    padding: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
}

.cg-member-page .cg-account-wrap {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.cg-member-page .cg-account-card {
    width: 100%;
    max-width: none;
    padding: 32px;
    background: #fff;
    border: 1px solid #e7eaf1;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
}

.cg-member-page .cg-account-card h1 {
    font-size: 27px;
    margin: 0 0 20px;
}

/* Latest coupon cards */

.cg-member-offers {
    padding: 0;
}

.cg-member-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.cg-member-section-heading h2 {
    font-size: 27px;
    color: #14213b;
    margin: 7px 0 0;
}

.cg-member-section-heading > a {
    color: #ff5a3d;
    font-size: 14px;
    font-weight: 800;
}

.cg-member-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cg-member-offer-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e7eaf1;
    border-radius: 18px;
    transition: .2s ease;
}

.cg-member-offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15,23,42,.07);
}

.cg-offer-label {
    color: #ff5a3d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cg-member-offer-card h3 {
    font-size: 18px;
    line-height: 1.45;
    color: #14213b;
    margin: 13px 0 10px;
    overflow-wrap: anywhere;
}

.cg-member-offer-card p {
    flex: 1;
    font-size: 14px;
    line-height: 1.65;
    color: #69758a;
    overflow-wrap: anywhere;
}

.cg-member-offer-card > a {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 18px;
    color: #ff5a3d;
    font-size: 14px;
    font-weight: 800;
}

/* Tablet */

@media (max-width: 991px) {
    .cg-member-shortcuts,
    .cg-member-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 767px) {
    .cg-member-page .cg-member-main {
        padding: 28px 15px 75px;
    }

    .cg-member-welcome {
        padding: 20px;
        gap: 14px;
    }

    .cg-member-welcome h2 {
        font-size: 21px;
    }

    .cg-member-shortcuts,
    .cg-member-offers-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cg-member-shortcuts a {
        padding: 18px;
    }

    .cg-member-page .cg-account-card {
        padding: 22px 18px;
    }

    .cg-member-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .cg-member-section-heading h2 {
        font-size: 23px;
    }
}

/* Final account-page polish: applies even when original .w rules are present. */
body.cg-member-page .cg-member-main { width:100%; padding:48px 20px 96px; font-size:16px; line-height:1.6; }
body.cg-member-page .cg-member-container { max-width:1200px; width:min(100%,1200px); margin:0 auto; }
body.cg-member-page .cg-member-intro { margin:0 0 28px; }
body.cg-member-page .cg-member-intro h1 { font-size:clamp(32px,3vw,44px); line-height:1.15; }
body.cg-member-page .cg-member-profile-section { width:100%; }
body.cg-member-page .cg-account-wrap { width:100%; }
body.cg-member-page .cg-member-offer-card { min-height:215px; }
.cg-standard-page { background:#f8fafc; padding:64px 20px 100px; }
.cg-standard-page-inner { max-width:1100px; margin:0 auto; padding:35px; border:1px solid #e5e7eb; border-radius:20px; background:#fff; }
.cg-standard-page-inner h1 { font-size:clamp(28px,4vw,42px); margin-bottom:22px; }
.cg-standard-content { line-height:1.75; }
@media(max-width:767px){body.cg-member-page .cg-member-main {padding:28px 14px 70px;} .cg-standard-page {padding:25px 14px 70px;} .cg-standard-page-inner {padding:20px 16px;} }
/* Hide obsolete demo cookie popup without breaking any other JS. */
body > .ck {display:none!important;}

/* CouponGrabit - Fix Invisible Hamburger Icon */

@media (min-width: 768px) and (max-width: 1399px) {

    body > header .cg-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border: 1px solid #ffdcd2 !important;
        border-radius: 12px !important;
        background: #fff2ed !important;
        color: #ff5a3d !important;
        cursor: pointer;
    }

    body > header .cg-hamburger-lines {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        width: 22px !important;
        height: 22px !important;
    }

    body > header .cg-hamburger-lines i {
        display: block !important;
        flex: 0 0 2px !important;
        width: 22px !important;
        height: 2px !important;
        background: #ff5a3d !important;
        border-radius: 4px !important;
        opacity: 1;
        transition: transform .25s, opacity .25s;
    }

    body > header .cg-menu-toggle.is-active
    .cg-hamburger-lines i:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    body > header .cg-menu-toggle.is-active
    .cg-hamburger-lines i:nth-child(2) {
        opacity: 0;
    }

    body > header .cg-menu-toggle.is-active
    .cg-hamburger-lines i:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }
}


/* =========================================
   CouponGrabit - Visible Navigation + Sticky Header
========================================= */

/* Sticky header on scroll */
body > header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1200 !important;
    background: #fff !important;
    box-shadow: 0 3px 16px rgba(15,23,42,.07) !important;
}

/* WordPress admin bar adjustment */
body.admin-bar > header {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar > header {
        top: 46px !important;
    }
}

/* Desktop: all links in a single row */
@media (min-width: 1200px) {

    body > header > .w {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: clamp(8px, .9vw, 17px) !important;
        width: calc(100% - 36px) !important;
        max-width: 1800px !important;
        height: 78px !important;
        min-height: 78px !important;
        padding: 0 !important;
        margin: auto !important;
    }

    body > header > .w > a.logo {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    body > header > .w > a.logo img {
        max-height: 54px !important;
        object-fit: contain;
    }

    /* Always show full navigation */
    body > header #nv {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        white-space: nowrap !important;
    }

    body > header #nv > a:not(.mo) {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-height: 42px !important;
        align-items: center !important;
        padding: 9px clamp(5px, .42vw, 10px) !important;
        margin: 0 !important;
        border-radius: 10px !important;
        font-size: clamp(11px, .75vw, 14px) !important;
        font-weight: 650 !important;
        white-space: nowrap !important;
    }

    /* Hide mobile-only elements */
    body > header #nv > a.mo,
    body > header #nv .cg-mobile-search,
    body > header .cg-menu-toggle {
        display: none !important;
    }

    /* Search uses remaining space */
    body > header > .w > form.cg-header-search {
        display: flex !important;
        flex: 1 1 230px !important;
        width: auto !important;
        min-width: 150px !important;
        max-width: none !important;
        height: 48px !important;
        margin: 0 !important;
    }

    /* Compact account button */
    body > header > .w > a.cg-account-header {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: max-content !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 5px 10px 5px 6px !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
}

/* Tablet: visible navigation in a separate compact row */
@media (min-width: 768px) and (max-width: 1199px) {

    body > header > .w {
        display: grid !important;
        grid-template-columns: auto minmax(0,1fr) auto !important;
        grid-template-rows: 66px 46px !important;
        grid-template-areas:
            "logo search account"
            "nav nav nav" !important;
        align-items: center !important;
        gap: 0 16px !important;
        width: calc(100% - 32px) !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

    body > header > .w > a.logo {
        grid-area: logo !important;
        margin: 0 !important;
    }

    body > header > .w > form.cg-header-search {
        grid-area: search !important;
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 46px !important;
        margin: 0 !important;
    }

    body > header > .w > a.cg-account-header {
        grid-area: account !important;
        display: inline-flex !important;
        width: auto !important;
        margin: 0 !important;
    }

    body > header #nv {
        grid-area: nav !important;
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
        height: 46px !important;
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border: 0 !important;
        border-top: 1px solid #eef0f5 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        white-space: nowrap !important;
    }

    body > header #nv > a:not(.mo) {
        display: inline-flex !important;
        width: auto !important;
        min-height: 40px !important;
        padding: 8px 10px !important;
        margin: 0 !important;
    font-size: 15px !important;
    }

    body > header .cg-menu-toggle,
    body > header #nv > a.mo,
    body > header #nv .cg-mobile-search {
        display: none !important;
    }
}

/* Mobile: keep existing hamburger menu */
@media (max-width: 767px) {

    body > header {
        position: sticky !important;
        top: 0 !important;
    }

    body > header .cg-menu-toggle {
        display: flex !important;
    }
}
