:root {
  --brand: #3056ff;
  --brand-2: #314cb9;
    --accent: #f72585;
    --ink: #111827;
    --muted: #6b7280;
    --radius: 16px;
}

.offer-show-page {
    background: #f8fafc;
    color: var(--ink);
}

.hero {
    background:
        radial-gradient(1200px 450px at 20% 10%, rgba(255, 255, 255, .18), transparent 55%),
        linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    padding: 2.75rem 0;
    border-radius: 0 0 28px 28px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-weight: 900;
    margin: 0;
}

.hero-desc {
    opacity: .92;
    max-width: 880px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: .45rem .75rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .86rem;
    color: #fff;
    text-decoration: none;
}

.chip:hover {
    color: #fff;
    opacity: .96;
}

.cardx {
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.offer-hero-img {
    width: 100%;
    height: 460px;
    object-fit: contain;
    background: #fff;
    padding: 18px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    display: block;
}

.badge-discount {
    background: #ef4444;
    color: #fff;
    border-radius: 10px;
    padding: 3px 10px;
    font-weight: 900;
    font-size: .82rem;
    white-space: nowrap;
}

.muted {
    color: var(--muted);
}

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 900;
    border-radius: 12px;
    padding: 10px 14px;
}

.btn-brand:hover {
    background: var(--brand-2);
    border-color: var(--brand-2);
    color: #fff;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    padding-bottom: .75rem;
    margin-bottom: 1rem;
}

.section-title h3 {
    margin: 0;
    font-weight: 900;
    font-size: 1.15rem;
}

.offer-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
}

.offer-sidebar-stack .cardx {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.merchant-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 56px;
}

.merchant-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
}

.merchant-logo-placeholder i {
    color: var(--brand);
}

.merchant-name {
    font-weight: 900;
}

.social-link-btn {
    border-radius: 999px;
}

.offer-image-modal-content {
    border-radius: 18px;
    overflow: hidden;
}

.offer-image-modal-body {
    background: #111827;
}

.offer-image-modal-img {
    width: 100%;
    height: 80vh;
    object-fit: contain;
    background: #111827;
}

.offer-show-page footer {
    background: #111827;
    color: #e5e7eb;
    margin-top: 3rem;
    padding: 2.75rem 0;
    position: relative;
    z-index: 0;
}

.btn-merchant-login {
    background: #e5e7eb !important;
    color: #111827 !important;

}

.btn-merchant-login:hover {
    background: #f9fafb !important;
    color: #1f2937 !important;
}
.offer-show-page footer a {
    color: #e5e7eb;
    text-decoration: none;
}

.offer-show-page footer a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .offer-hero-img {
        height: 320px;
        padding: 12px;
    }

    .hero {
        padding: 2.1rem 0;
    }

}

.chip-discount {
    background: linear-gradient(135deg, #ff5a5f 0%, #ef4444 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-weight: 900;
    padding: .45rem 1rem;
    justify-content: center;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(239, 68, 68, .28);
}
