    /* Premium Deal Detail Modal Styles */
    .deal-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .deal-modal.is-open {
        display: flex;
        opacity: 1;
    }

    .deal-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(11, 22, 44, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .deal-modal-content {
        position: relative;
        z-index: 1;
        width: 90%;
        max-width: 680px;
        max-height: 90vh;
        overflow-y: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        background: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 28px;
        box-shadow: 0 32px 80px rgba(11, 22, 44, 0.25);
        transform: scale(0.9) translateY(40px);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
    }

    .deal-modal-content::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .deal-modal.is-open .deal-modal-content {
        transform: scale(1) translateY(0);
    }

    .deal-modal-close {
        position: fixed;
        top: 30px;
        right: 30px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        z-index: 10000;
        transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .deal-modal-close:hover {
        transform: scale(1.1) rotate(90deg);
        background: rgba(255, 255, 255, 0.35);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        color: #ffffff;
    }

    .deal-modal-body {
        display: flex;
        flex-direction: column;
    }

    .deal-modal-hero {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        background: #0f172a;
        overflow: hidden;
        border-top-left-radius: 28px;
        border-top-right-radius: 28px;
    }

    .deal-modal-hero img,
    .deal-modal-hero video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .deal-modal-badge {
        position: absolute;
        top: 20px;
        left: 20px;
        padding: 8px 16px;
        color: #fff;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--nearby-pink, #f43f5e), #be123c);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .02em;
        text-transform: uppercase;
        box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    }

    .deal-modal-main {
        padding: 28px 32px 32px;
    }

    .deal-modal-store {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 24px;
    }

    .deal-modal-store-logo {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 2px solid #f1f5f9;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        object-fit: cover;
        background: #fff;
    }

    .deal-modal-store-info h3 {
        margin: 0 0 4px;
        font-size: 18px;
        font-weight: 800;
        color: var(--nearby-ink, #0f172a);
    }

    .deal-modal-store-rating {
        display: none !important;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        color: #475569;
    }

    .deal-modal-store-rating i {
        color: #eab308;
    }

    .deal-modal-title {
        margin: 0 0 16px;
        font-size: 24px;
        font-weight: 800;
        line-height: 1.3;
        color: #0f172a;
    }

    .deal-modal-desc {
        margin: 0 0 28px;
        font-size: 15px;
        line-height: 1.6;
        color: #475569;
    }

    .deal-modal-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px;
        border-radius: 20px;
        background: #f8fafc;
        border: 1px solid #f1f5f9;
        margin-bottom: 28px;
    }

    .deal-modal-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .deal-modal-item-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: rgba(27, 79, 216, 0.08);
        color: #1b4fd8;
        font-size: 16px;
    }

    .deal-modal-item-details span {
        display: block;
        font-size: 12px;
        color: #64748b;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    .deal-modal-item-details strong {
        display: block;
        font-size: 14px;
        color: #0f172a;
        font-weight: 700;
    }

    .deal-modal-actions {
        display: flex;
        gap: 16px;
    }

    .deal-modal-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 16px;
        font-size: 15px;
        font-weight: 800;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .deal-modal-btn-primary {
        background: linear-gradient(135deg, #1b4fd8, #113495);
        color: #ffffff;
        box-shadow: 0 10px 24px rgba(27, 79, 216, 0.25);
    }

    .deal-modal-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(27, 79, 216, 0.35);
    }

    .deal-modal-btn-secondary {
        background: #f1f5f9;
        color: #475569;
        border: 1px solid #e2e8f0;
    }

    .deal-modal-btn-secondary:hover {
        background: #e2e8f0;
    }

    /* Shimmer loading layout for modal */
    .deal-modal-shimmer {
        padding: 32px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .shimmer-line {
        height: 16px;
        background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
        background-size: 200% 100%;
        animation: shimmer-anim 1.5s infinite;
        border-radius: 8px;
    }

    .shimmer-hero {
        height: 240px;
        width: 100%;
        border-radius: 20px;
    }

    @keyframes shimmer-anim {
        0% {
            background-position: 200% 0;
        }

        100% {
            background-position: -200% 0;
        }
    }

    @media (max-width: 640px) {
        .deal-modal-content {
            width: 95%;
            border-radius: 24px;
            max-height: 95vh;
        }

        .deal-modal-main {
            padding: 20px;
        }

        .deal-modal-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 576px) {
        .deal-modal-store {
            flex-direction: column;
            align-items: flex-start !important;
            gap: 12px;
        }

        .deal-modal-store .btn-save-store {
            align-self: flex-start;
            width: 100%;
            justify-content: center;
        }

        .offer-description-card {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }


        .deal-modal-hero {
            aspect-ratio: 4 / 3;
        }
    }

    @media (max-width: 480px) {
        .offer-meta-row {
            flex-direction: column;
            gap: 14px;
        }

        .meta-col-divider {
            width: 100% !important;
            height: 1px;
            align-self: stretch;
            background: #e2e8f0;
        }

        .modal-action-row {
            flex-direction: column;
            gap: 12px;
        }

        .btn-action {
            width: 100%;
        }
    }

    /* Mockup Matching Styles */
    .deal-hero-date-pill {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding: 8px 16px;
        color: #fff;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        font-size: 14px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        z-index: 2;
    }

    .store-logo-wrapper {
        position: relative;
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background: linear-gradient(135deg, #ff4e50, #f9d423);
        padding: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(255, 78, 80, 0.2);
        flex-shrink: 0;
    }

    .store-logo-img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: contain;
        border: 2px solid #ffffff;
        background: #ffffff;
    }

    .badge-rating-new {
        display: none !important;
        align-items: center;
        gap: 6px;
        background: #fff8eb;
        color: #d97706;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
    }

    .badge-rating-new i {
        color: #fbbf24;
    }

    .badge-delivery {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #f1f5f9;
        color: #475569;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
    }

    .badge-delivery i {
        color: #2563eb;
    }

    .btn-save-store {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-radius: 10px;
        border: 1.5px solid #1b4fd8;
        background: #ffffff;
        color: #1b4fd8;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 6px rgba(27, 79, 216, 0.04);
    }

    .btn-save-store:hover {
        background: #eff6ff;
    }

    .offer-description-card {
        background: #FDE8EF;
        border: 1px dashed #fb83ba;
        border-radius: 16px;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 20px;
        position: relative;
        overflow: hidden;
    }

    .offer-desc-left {
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .offer-desc-icon {
        padding-top: 1%;
        font-size: 25px;
        color: #ff0081;
        margin-top: 25px;
    }

    .offer-desc-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .offer-desc-title {
        font-size: 14px;
        font-weight: 800;
        color: #ff0081;
        margin: 0;
        text-transform: none;
        letter-spacing: normal;
    }

    .offer-desc-text {
        font-size: 13px;
        font-weight: 700;
        color: #0f172a;
        margin: 0;
        line-height: 1.4;
    }

    .offer-desc-subtext {
        font-size: 12px;
        color: #64748b;
        margin: 0;
        font-weight: 600;
    }


    .offer-badge-circle {
        position: absolute;
        width: 28px;
        height: 28px;
        background-color: #2d9044;
        /* Solid rich green inner circle */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .offer-badge-circle span {
        color: #ffffff;
        /* White percent symbol */
        font-size: 14px;
        font-weight: 800;
    }

    .offer-meta-row {
        display: flex;
        gap: 16px;
        margin-top: 20px;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 16px;
        background: #ffffff;
    }

    .meta-col {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .meta-col-divider {
        width: 1px;
        background: #e2e8f0;
        align-self: stretch;
    }

    .meta-icon-container {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }

    .meta-icon-blue {
        background: #eff6ff;
        color: #2563eb;
    }

    .meta-icon-pink {
        background: #fff5f5;
        color: #e53e3e;
    }

    .meta-text-wrap {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .meta-label {
        font-size: 11px;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .meta-val {
        font-size: 15px;
        font-weight: 800;
        color: #0f172a;
    }

    .modal-action-row {
        display: flex;
        gap: 16px;
        margin-top: 24px;
    }

    .btn-action {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 24px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-action-primary {
        background: #1b4fd8;
        color: #ffffff;
        border: none;
        box-shadow: 0 4px 14px rgba(27, 79, 216, 0.2);
    }

    .btn-action-primary:hover {
        background: #113495;
        transform: translateY(-1px);
        color: #ffffff;
        text-decoration: none;
    }

    .btn-action-secondary {
        background: #ffffff;
        color: #1b4fd8;
        border: 1.5px solid #1b4fd8;
    }

    .btn-action-secondary:hover {
        background: #eff6ff;
        transform: translateY(-1px);
        color: #1b4fd8;
        text-decoration: none;
    }

    .redeem-notice-box {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        background: #fffbeb;
        border-radius: 12px;
        padding: 14px 18px;
        margin-top: 20px;
        border: 1px solid #fef3c7;
    }

    .redeem-notice-icon {
        font-size: 16px;
        color: #d97706;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .redeem-notice-content {
        font-size: 13px;
        font-weight: 700;
        color: #78350f;
        line-height: 1.5;
        margin: 0;
    }