:root {
    --emerald: #0b5a44;
    --emerald-dark: #073e2f;
    --ivory: #faf8f3;
    --gold: #c9a86a;
    --gold-soft: #e8d9b8;
    --charcoal: #262622;
    --muted: #6b7268;
    --line: #e6e1d6;
    --card: #ffffff;
    --danger: #a3342c;
    --danger-bg: #fbeae8;
    --success: #1f6f4a;
    --success-bg: #e9f5ee;
    --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    background-color: var(--ivory);
    background-image:
        radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--gold) 7%, transparent) 0, transparent 40%),
        radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--emerald) 5%, transparent) 0, transparent 42%),
        radial-gradient(circle at 20% 92%, color-mix(in srgb, var(--gold) 6%, transparent) 0, transparent 38%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23c9a86a' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M0 40 L40 0 M0 90 L90 0 M0 140 L140 0 M0 190 L190 0 M30 220 L220 30 M80 220 L220 80 M130 220 L220 130 M180 220 L220 180'/%3E%3Ccircle cx='40' cy='40' r='2.4'/%3E%3Ccircle cx='140' cy='90' r='2.4'/%3E%3Ccircle cx='90' cy='170' r='2.4'/%3E%3Ccircle cx='190' cy='190' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat, no-repeat, repeat;
    background-attachment: scroll;
    background-size: 900px 900px, 900px 900px, 900px 900px, 220px 220px;
    color: var(--charcoal);
    -webkit-font-smoothing: antialiased;
}

body { font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.serif, h1, h2, h3, .section-title, .brand-text strong { font-family: var(--font-heading, Georgia, serif); }
.btn, button, input[type="submit"] { font-family: var(--font-button, inherit); }

/* ---------------- Utility form grid (appearance / shop admin) ---------------- */
.form-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; margin:14px 0; }
.form-field label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.input, select.input, input.input {
    width:100%; border:1px solid var(--line); border-radius:10px; padding:10px 12px;
    font-size:14px; background:#fff; color:var(--charcoal); min-height:42px;
}
.input:focus { outline:2px solid var(--gold); outline-offset:1px; }

/* ---------------- Header ---------------- */
.site-header {
    background: linear-gradient(180deg, color-mix(in srgb, var(--emerald-dark) 97%, transparent), color-mix(in srgb, var(--emerald) 94%, transparent));
    background-image: var(--nav-bg-image, none), linear-gradient(180deg, color-mix(in srgb, var(--emerald-dark) 97%, transparent), color-mix(in srgb, var(--emerald) 94%, transparent));
    background-size: cover; background-position: center;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 25%, transparent);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--emerald-dark) 22%, transparent);
    position: sticky; top: 0; z-index: 100;
    transition: padding .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
    box-shadow: 0 10px 32px color-mix(in srgb, var(--emerald-dark) 32%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--emerald-dark) 88%, transparent), color-mix(in srgb, var(--emerald) 82%, transparent));
    background-image: var(--nav-bg-image, none), linear-gradient(180deg, color-mix(in srgb, var(--emerald-dark) 88%, transparent), color-mix(in srgb, var(--emerald) 82%, transparent));
    background-size: cover; background-position: center;
}
.site-header-inner {
    max-width: 1180px; margin: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
    transition: padding .25s ease;
}
.site-header.scrolled .site-header-inner { padding: 10px 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(145deg, var(--gold), #a9863f); color: var(--emerald-dark);
    display: flex; align-items: center; justify-content: center;
    font-family: Georgia, serif; font-weight: 700; font-size: 18px;
    letter-spacing: 1px; box-shadow: 0 4px 12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.4);
}
.brand-text strong {
    display: block; font-family: Georgia, serif; font-size: 19px;
    color: #fff; letter-spacing: .2px;
}
.brand-text span {
    display: block; font-size: 10px; letter-spacing: 3px;
    color: var(--gold); font-weight: 600; margin-top: 2px;
}

.nav-desktop { display: flex; align-items: center; gap: 24px; }
.nav-desktop a { font-size: 14px; color: rgba(255,255,255,.88); font-weight: 500; position: relative; padding: 4px 0; }
.nav-desktop a::after {
    content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
    background: var(--gold); transition: width .2s ease;
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop a:hover::after { width: 100%; }
.nav-cta {
    background: linear-gradient(145deg, var(--gold), #b8944f); color: var(--emerald-dark) !important; padding: 10px 20px;
    border-radius: 24px; font-weight: 700; font-size: 13px;
    box-shadow: 0 4px 14px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.5);
    transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.5); }
.nav-cta::after { display: none; }
.nav-cta-outline {
    background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.5);
    box-shadow: none; padding: 9px 18px;
}
.nav-cta-outline:hover { border-color: var(--gold); background: rgba(255,255,255,.06); transform: none; }

.nav-toggle {
    display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: #fff;
}
.nav-mobile {
    display: none; flex-direction: column; gap: 2px;
    border-top: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, color-mix(in srgb, var(--emerald-dark) 98%, transparent), color-mix(in srgb, var(--emerald-dark) 96%, black));
    backdrop-filter: blur(14px);
}
.nav-mobile a {
    padding: 14px 24px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.92);
}
.nav-mobile.open { display: flex; }
.nav-mobile-cta { color: var(--gold) !important; font-weight: 700; }

@media (max-width: 860px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: block; }
}

/* ---------------- Top sponsor/offer banner strip (sitewide, under navbar) ---------------- */
.top-banner-strip { padding: 10px 16px 0; }
.top-banner-slot {
    display: block; max-width: 1180px; margin: 0 auto; border-radius: 14px; overflow: hidden;
    position: relative; box-shadow: 0 6px 18px rgba(11,90,68,.12); border: 1px solid var(--line);
}
.top-banner-slot img { width: 100%; height: auto; max-height: 180px; object-fit: cover; display: block; }
.top-banner-tag {
    position: absolute; top: 8px; left: 8px; background: color-mix(in srgb, var(--emerald-dark) 75%, transparent); color: var(--gold-soft);
    font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 10px;
}

/* ---------------- Optional admin-controlled section background ---------------- */
body.has-section-bg .container:not(.hero-inner) { position: relative; }
body.has-section-bg::before {
    content: ""; position: fixed; inset: 0; z-index: -1;
    background-image: var(--section-bg-image, none); background-size: cover; background-position: center;
    opacity: .06; pointer-events: none;
}

/* ---------------- Hero ---------------- */
.hero {
    background: linear-gradient(180deg, #ffffff, var(--ivory));
    background-image: var(--hero-bg-image, none), linear-gradient(180deg, #ffffff, var(--ivory));
    background-size: cover; background-position: center;
    border-bottom: 1px solid var(--line);
    position: relative; overflow: hidden;
}
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(201,168,106,.28), transparent 70%);
    filter: blur(2px); animation: heroOrbFloat 10s ease-in-out infinite;
}
.hero::before { width: 260px; height: 260px; top: -60px; right: 8%; animation-delay: 0s; }
.hero::after {
    width: 190px; height: 190px; bottom: -50px; left: 4%;
    background: radial-gradient(circle, rgba(11,90,68,.14), transparent 70%);
    animation-delay: 3s;
}
@keyframes heroOrbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-18px) scale(1.06); }
}
@media (max-width: 720px) { .hero::before, .hero::after { display: none; } }
.hero-inner {
    max-width: 1180px; margin: auto; padding: 64px 24px 56px;
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
    position: relative;
}
.hero h1 {
    font-family: Georgia, serif; font-size: 44px; line-height: 1.12;
    color: var(--emerald-dark); margin: 0 0 18px;
}
.hero p.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 480px; margin: 0 0 14px; }
.hero-trust-line {
    font-size: 12.5px; letter-spacing: .4px; color: var(--emerald); font-weight: 600;
    margin: 0 0 22px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-panel {
    background: linear-gradient(160deg, var(--emerald), var(--emerald-dark)); border-radius: 22px; padding: 34px;
    color: var(--ivory); position: relative; overflow: hidden;
    box-shadow: 0 18px 40px rgba(7,40,30,.28);
}
.hero-panel::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(201,168,106,.25), transparent 60%);
}
.hero-panel::before {
    content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: 1;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.14), transparent);
    transform: skewX(-18deg); animation: btnShineSweep 5s ease-in-out infinite;
}
.hero-panel h3 { font-family: Georgia, serif; font-size: 22px; margin: 0 0 10px; position: relative; }
.hero-panel p { font-size: 14px; line-height: 1.6; color: var(--gold-soft); position: relative; margin: 0; }
.hero-price { font-size: 40px; font-weight: 700; color: var(--gold); margin: 16px 0; position: relative; }

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; padding: 40px 20px; }
    .hero h1 { font-size: 32px; }
}

/* ---------------- Buttons — premium 3D glass ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; border-radius: 26px; padding: 13px 24px; font-weight: 600;
    font-size: 14.5px; cursor: pointer; font-family: inherit;
    position: relative; overflow: hidden;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 4px rgba(0,0,0,.08);
}
.btn::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 45%);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 4px rgba(0,0,0,.1); }
.btn:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(0,0,0,.15), inset 0 2px 4px rgba(0,0,0,.15); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.btn-primary { background: linear-gradient(160deg, var(--emerald), var(--emerald-dark)); color: #fff; }
.btn-primary:hover { background: linear-gradient(160deg, #0d6a50, var(--emerald-dark)); }
.btn-gold { background: linear-gradient(160deg, #dcb977, var(--gold) 55%, #a9863f); color: #2c2412; }
.btn-outline {
    background: rgba(255,255,255,.5); backdrop-filter: blur(6px); border: 1.5px solid var(--emerald); color: var(--emerald);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.btn-outline-light {
    background: rgba(255,255,255,.08); backdrop-filter: blur(6px); border: 1.5px solid rgba(255,255,255,.5); color: #fff;
}
.btn-danger { background: linear-gradient(160deg, #c14338, var(--danger)); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------- Heart icon system (3D, realistic, used on key CTAs) ---------------- */
.btn-heart-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 16px; flex-shrink: 0;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)) drop-shadow(0 0 1px rgba(255,255,255,.4));
    transition: transform .25s ease;
}
.btn:hover .btn-heart-icon { transform: scale(1.12); }
.btn.is-loading .btn-heart-icon,
.loading-heart {
    animation: heartBeat 0.9s ease-in-out infinite;
}
.btn.is-loading .btn-label { opacity: .55; }
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.18); }
    40% { transform: scale(0.94); }
    60% { transform: scale(1.1); }
}

/* Full-page / section loading state built from the heart mark */
.heart-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 20px; }
.heart-loader .loading-heart svg { width: 46px; height: 32px; }
.heart-loader span { font-size: 13.5px; color: var(--muted); letter-spacing: .02em; }

/* ---------------- Layout ---------------- */
.container { max-width: 1180px; margin: auto; padding: 40px 24px; }
.container-narrow { max-width: 640px; margin: auto; padding: 40px 24px; }

.section-title { font-family: Georgia, serif; font-size: 28px; color: var(--emerald-dark); margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 30px; font-size: 15px; }

/* ---------------- Flash ---------------- */
.flash { padding: 13px 18px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }
.flash.error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f0cac6; }
.flash.success { background: var(--success-bg); color: var(--success); border: 1px solid #c7e6d6; }

/* ---------------- Trust strip ---------------- */
.trust-strip {
    background: var(--emerald-dark); color: var(--gold-soft); padding: 14px 24px;
    text-align: center; font-size: 13.5px; letter-spacing: .3px;
}

/* ---------------- Trust / Why grid ---------------- */
.trust-grid, .steps-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 860px) { .trust-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-grid, .steps-grid { grid-template-columns: 1fr; } }

.trust-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; text-align: left; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.trust-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(11,90,68,.12); border-color: var(--gold-soft); }
.trust-card .icon { font-size: 22px; margin-bottom: 12px; color: var(--emerald); }
.trust-card b { display: block; font-size: 15px; margin-bottom: 6px; }
.trust-card span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.step-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(11,90,68,.12); }
.step-num {
    font-family: Georgia, serif; font-size: 28px; color: var(--gold);
    font-weight: 700; margin-bottom: 10px;
}
.step-card b { display: block; font-size: 15.5px; margin-bottom: 6px; color: var(--emerald-dark); }
.step-card span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------------- Profile grid/cards ---------------- */
.profile-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px;
}
.profile-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 6px 20px rgba(11,90,68,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.profile-card:hover {
    transform: translateY(-4px); border-color: var(--gold);
    box-shadow: 0 16px 32px rgba(11,90,68,.16);
}
.profile-photo { position: relative; height: 250px; background: #eee2cf; overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.profile-card:hover .profile-photo img { transform: scale(1.04); }
.photo-lock-badge {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
    justify-content: center; background: color-mix(in srgb, var(--emerald-dark) 35%, transparent); color: #fff; text-align: center; gap: 6px;
}
.photo-lock-badge .lock-circle {
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.status-chip {
    position: absolute; top: 12px; left: 12px; background: #fff; color: var(--emerald);
    font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 20px;
}
.profile-body { padding: 16px; }
.profile-code { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; color: var(--emerald-dark); }
.profile-meta { font-size: 13px; color: var(--muted); line-height: 1.9; }
.profile-body .btn { margin-top: 14px; width: 100%; }

/* ---------------- Cards / forms ---------------- */
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: 0 6px 20px rgba(11,90,68,.05);
}
label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 6px; color: var(--charcoal); }
input, select, textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
    font-size: 14.5px; font-family: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--emerald); outline-offset: 1px; }
textarea { resize: vertical; }
.helptext { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.qr-box {
    width: 220px; height: 220px; margin: 18px auto; border-radius: 14px;
    border: 1px dashed var(--gold); display: flex; align-items: center; justify-content: center;
    background: #fdfaf3; color: var(--muted); text-align: center; font-size: 13px; overflow: hidden;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }

.upi-id-box {
    background: #fdfaf3; border: 1px solid var(--gold-soft); border-radius: 12px;
    padding: 12px 16px; text-align: center; font-weight: 700; color: var(--emerald-dark);
    margin: 14px 0;
}

ol.steps-list { padding-left: 20px; font-size: 14.5px; line-height: 2; color: var(--charcoal); }

/* ---------------- Table ---------------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13.5px; }
th { background: #f3f0e6; color: var(--emerald-dark); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }

/* ---------------- Stats ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 30px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; }
.stat-card .num { font-size: 28px; font-weight: 700; color: var(--emerald); }
.stat-card .label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------------- Tabs / badges ---------------- */
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a {
    padding: 8px 16px; border-radius: 20px; border: 1px solid var(--line); font-size: 13px; background: #fff;
}
.tabs a.active { background: var(--emerald); color: #fff; border-color: var(--emerald); }

.badge { padding: 4px 11px; border-radius: 12px; font-size: 11.5px; font-weight: 700; display: inline-block; }
.badge-pending { background: #fdf1d6; color: #8a6300; }
.badge-unlocked { background: var(--success-bg); color: var(--success); }
.badge-rejected { background: var(--danger-bg); color: var(--danger); }

/* ---------------- Full profile ---------------- */
.full-photo { width: 100%; max-height: 440px; object-fit: cover; border-radius: 18px; margin-bottom: 20px; }
.privacy-note {
    background: #fdfaf3; border: 1px solid var(--gold-soft); border-radius: 12px;
    padding: 14px 16px; font-size: 13px; color: var(--muted); margin-top: 18px;
}

/* ---------------- Empty states ---------------- */
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state .icon { font-size: 34px; margin-bottom: 12px; }

/* ---------------- Error pages ---------------- */
.error-page { text-align: center; padding: 90px 24px; }
.error-code { font-family: Georgia, serif; font-size: 72px; color: var(--gold); font-weight: 700; }
.error-title { font-size: 22px; color: var(--emerald-dark); margin: 10px 0; }
.error-msg { color: var(--muted); margin-bottom: 26px; }

/* ---------------- Footer ---------------- */
.site-footer {
    background: linear-gradient(180deg, var(--emerald-dark), color-mix(in srgb, var(--emerald-dark) 80%, black));
    background-image: var(--footer-bg-image, none), linear-gradient(180deg, var(--emerald-dark), color-mix(in srgb, var(--emerald-dark) 80%, black));
    background-size: cover; background-position: center;
    color: var(--gold-soft); padding: 48px 24px 26px; margin-top: 60px;
    border-top: 1px solid rgba(201,168,106,.25);
}
.footer-inner { max-width: 1180px; margin: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; color: rgba(232,217,184,.85); }
.footer-col a:hover { color: var(--gold); }
.footer-brand strong { color: #fff; font-family: Georgia, serif; font-size: 19px; }
.footer-bottom {
    max-width: 1180px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
    font-size: 12.5px; color: rgba(232,217,184,.7); text-align: center;
}
@media (max-width: 860px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .footer-inner { grid-template-columns: 1fr; }
}

.whatsapp-fab {
    position: fixed; bottom: 20px; right: 20px; background: #25D366; color: #fff;
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 24px; box-shadow: 0 8px 20px rgba(0,0,0,.2); z-index: 90;
}

.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }

/* ---------------- Logo image (branding) ---------------- */
.brand-logo-img { height: 42px; width: auto; border-radius: 8px; object-fit: contain; }

/* ---------------- Verification badges ---------------- */
.badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.badge-verified { background: var(--success-bg); color: var(--success); }
.badge-mini { background: #eef2ee; color: var(--emerald-dark); font-size: 10.5px; }
.profile-code-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }

/* ---------------- Filter bar ---------------- */
.filter-bar {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; margin-bottom: 26px;
}
.filter-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.filter-row select, .filter-row input { margin: 0; }
.filter-actions { display: flex; align-items: center; gap: 12px; grid-template-columns: none; }
.filter-count { font-size: 13px; color: var(--muted); margin-left: auto; }
@media (max-width: 720px) {
    .filter-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
    .filter-row { grid-template-columns: 1fr; }
    .filter-actions { flex-wrap: wrap; }
    .filter-count { margin-left: 0; }
}

/* ---------------- Pagination ---------------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.page-link {
    padding: 10px 18px; border: 1.5px solid var(--emerald); border-radius: 22px;
    color: var(--emerald); font-weight: 600; font-size: 13.5px;
}
.page-info { font-size: 13px; color: var(--muted); }

/* ---------------- Banners ---------------- */
.banner-strip { padding-top: 0; padding-bottom: 0; }
.banner-slot {
    display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 26px;
    border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(11,90,68,.06);
}
.banner-slot img { width: 100%; height: auto; display: block; }

/* ---------------- Checkbox rows (forms) ---------------- */
.checkbox-row {
    display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 400;
    margin: 12px 0; color: var(--charcoal);
}
.checkbox-row input[type="checkbox"] { width: auto; margin-top: 3px; }

/* ---------------- Form section labels ---------------- */
.section-label {
    font-family: Georgia, serif; font-size: 15px; color: var(--emerald-dark);
    margin: 26px 0 4px; padding-top: 14px; border-top: 1px solid var(--line);
}
.section-label:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }

/* ---------------- FAQ ---------------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.faq-item summary { font-weight: 600; cursor: pointer; color: var(--emerald-dark); font-size: 14.5px; }
.faq-item p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------------- Register Yourself — homepage feature section ---------------- */
.register-section {
    background: linear-gradient(160deg, var(--emerald), var(--emerald-dark));
    border-radius: 28px; padding: 46px 40px; color: #fff; position: relative; overflow: hidden;
    box-shadow: 0 20px 46px rgba(7,40,30,.28);
}
.register-section::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(201,168,106,.28), transparent 55%);
}
.register-section-inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 34px; align-items: center; }
.register-badge-pill {
    display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
    color: var(--gold-soft); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 6px 14px; border-radius: 20px; margin-bottom: 14px;
}
.register-section h2 { font-family: Georgia, serif; font-size: 30px; margin: 0 0 12px; color: #fff; }
.register-section p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.85); max-width: 520px; margin: 0 0 10px; }
.register-section ul { margin: 16px 0 24px; padding-left: 20px; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.9; }
.register-price-card {
    background: rgba(255,255,255,.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px; padding: 28px; text-align: center;
}
.register-price-card .price { font-family: Georgia, serif; font-size: 46px; color: var(--gold); font-weight: 700; }
.register-price-card .price-note { font-size: 12.5px; color: rgba(255,255,255,.75); margin: 4px 0 18px; }
@media (max-width: 860px) {
    .register-section-inner { grid-template-columns: 1fr; }
    .register-section { padding: 32px 24px; }
}

/* ---------------- Pricing option cards ---------------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pricing-card {
    background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 32px;
    text-align: center; position: relative; overflow: hidden;
    box-shadow: 0 8px 24px rgba(11,90,68,.06);
    transition: transform .18s ease, box-shadow .18s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(11,90,68,.14); }
.pricing-card.featured {
    border-color: var(--gold); background: linear-gradient(180deg, #fffdf7, #fff);
    position: relative; box-shadow: 0 0 0 1px rgba(201,168,106,.4), 0 18px 36px rgba(201,168,106,.18);
    animation: featuredGlow 3.4s ease-in-out infinite;
}
@keyframes featuredGlow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(201,168,106,.4), 0 18px 36px rgba(201,168,106,.14); }
    50% { box-shadow: 0 0 0 1px rgba(201,168,106,.7), 0 18px 40px rgba(201,168,106,.28); }
}
.pricing-tag {
    position: absolute; top: 16px; right: -34px; transform: rotate(40deg);
    background: linear-gradient(160deg, var(--gold), #a9863f); color: #2c2412;
    font-size: 10.5px; font-weight: 700; letter-spacing: .5px; padding: 5px 40px;
}
.pricing-card .price { font-family: Georgia, serif; font-size: 42px; color: var(--emerald-dark); font-weight: 700; margin: 10px 0 2px; }
.pricing-card .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.pricing-card .plabel { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.pricing-card .pnote { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; font-size: 13.5px; color: var(--charcoal); }
.pricing-card ul li { padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; }
.pricing-card ul li::before { content: "✓"; color: var(--emerald); font-weight: 700; }
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------------- Register-yourself card page ---------------- */
.reg-card { position: relative; }
.reg-badge {
    display: inline-block; background: linear-gradient(160deg, var(--gold), #a9863f); color: #2c2412;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 20px; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* =====================================================================
   UI UPGRADE BATCH — banner carousel, shine/gfx, verified tick,
   screenshot deterrent, hobbies grid, deeper mobile responsiveness,
   floating FAQ chatbot widget.
   ===================================================================== */

/* ---------------- Banner carousel (auto-rotating, fade + shine sweep) ---------------- */
.banner-carousel {
    position: relative; width: 100%; overflow: hidden; border-radius: var(--radius);
    height: 230px; box-shadow: 0 6px 20px rgba(11,90,68,.06); border: 1px solid var(--line);
}
.top-banner-carousel { height: 180px; border-radius: 14px; box-shadow: 0 6px 18px rgba(11,90,68,.12); }
.banner-slide {
    position: absolute; inset: 0; display: block; opacity: 0; pointer-events: none;
    transition: opacity .9s ease;
}
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-shine {
    position: absolute; top: 0; left: -60%; width: 35%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-18deg); animation: bannerShineSweep 3.6s ease-in-out infinite; pointer-events: none;
}
@keyframes bannerShineSweep {
    0% { left: -60%; }
    45% { left: 130%; }
    100% { left: 130%; }
}
@media (max-width: 720px) {
    .banner-carousel { height: 150px; }
    .top-banner-carousel { height: 110px; border-radius: 10px; }
}
@media (max-width: 420px) {
    .banner-carousel { height: 120px; }
    .top-banner-carousel { height: 88px; }
}

/* ---------------- Verified tick badge (photo overlay) ---------------- */
.verified-tick {
    position: absolute; top: 8px; right: 8px; z-index: 3;
    width: 26px; height: 26px; border-radius: 50%;
    background: linear-gradient(160deg, #2fae7c, var(--emerald));
    color: #fff; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 2px 8px rgba(0,0,0,.25);
    animation: verifiedGlow 2.4s ease-in-out infinite;
}
.verified-tick-sm { width: 18px; height: 18px; font-size: 10px; top: 6px; right: 6px; }
@keyframes verifiedGlow {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 0 0 rgba(47,174,124,.5); }
    50% { box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 0 10px rgba(47,174,124,.65); }
}
.full-photo-wrap { position: relative; margin-bottom: 20px; }

/* ---------------- Screenshot / copy deterrent (best-effort only — see note in chat) ---------------- */
.protected-photo, .protected-photo img, .full-photo {
    -webkit-user-select: none; user-select: none;
    -webkit-touch-callout: none;
}
.protected-photo::after {
    content: ""; position: absolute; inset: 0; z-index: 2;
    /* transparent layer that blocks long-press "save image" on most mobile browsers */
}

/* ---------------- Hobbies checkbox grid ---------------- */
.hobbies-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 14px; margin: 10px 0 18px;
}
@media (max-width: 480px) { .hobbies-grid { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; }

/* ---------------- Extra shine sweep on primary gold CTAs ---------------- */
.btn-gold { position: relative; }
.btn-gold::after {
    content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.75), transparent);
    transform: skewX(-18deg); animation: btnShineSweep 3s ease-in-out infinite;
}
@keyframes btnShineSweep {
    0% { left: -70%; } 55% { left: 130%; } 100% { left: 130%; }
}

/* ---------------- Deeper mobile responsiveness pass ---------------- */
@media (max-width: 480px) {
    .container { padding: 24px 14px; }
    .container-narrow { padding: 24px 14px; }
    .section-title { font-size: 22px; }
    .hero-inner h1, .hero h1 { font-size: 26px !important; line-height: 1.25 !important; }
    .profile-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 12px !important; }
    .profile-photo { height: 170px; }
    .trust-grid, .steps-grid { grid-template-columns: 1fr !important; }
    .btn { padding: 11px 18px; font-size: 13.5px; }
    table { font-size: 12.5px; }
    .card { padding: 18px !important; }
}
@media (max-width: 360px) {
    .hero-inner h1, .hero h1 { font-size: 22px !important; }
    .profile-grid { grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)) !important; }
    .profile-photo { height: 150px; }
}

/* ---------------- Floating FAQ chatbot widget ---------------- */
.chatbot-fab {
    position: fixed; bottom: 86px; right: 20px; z-index: 999;
    width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
    background: linear-gradient(160deg, var(--emerald), var(--emerald-dark));
    color: var(--gold-soft); font-size: 21px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(7,40,30,.35); animation: chatbotPulse 2.6s ease-in-out infinite;
}
@keyframes chatbotPulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(7,40,30,.35); }
    50% { box-shadow: 0 8px 26px rgba(7,40,30,.5), 0 0 0 8px rgba(11,90,68,.08); }
}
.chatbot-panel {
    position: fixed; bottom: 148px; right: 20px; z-index: 999;
    width: 320px; max-width: calc(100vw - 32px); max-height: 440px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0,0,0,.22); display: none; flex-direction: column; overflow: hidden;
}
.chatbot-panel.open { display: flex; }
.chatbot-head {
    background: linear-gradient(160deg, var(--emerald), var(--emerald-dark)); color: #fff;
    padding: 12px 16px; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center;
}
.chatbot-head button { background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; }
.chatbot-body { flex: 1; overflow-y: auto; padding: 12px 14px; font-size: 13.5px; display: flex; flex-direction: column; gap: 8px; }
.chatbot-msg { padding: 9px 12px; border-radius: 12px; max-width: 85%; line-height: 1.45; }
.chatbot-msg.bot { background: var(--ivory); border: 1px solid var(--line); align-self: flex-start; }
.chatbot-msg.user { background: var(--emerald); color: #fff; align-self: flex-end; }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; border-top: 1px solid var(--line); }
.chatbot-quick button {
    background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; padding: 6px 11px;
    font-size: 12px; cursor: pointer; color: var(--charcoal);
}
.chatbot-quick button:hover { border-color: var(--gold); }

/* ---------------- Scroll-reveal (progressive enhancement via IntersectionObserver in main.js) ---------------- */
.reveal-init { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-init.revealed { opacity: 1; transform: translateY(0); }

/* ---------------- Compatibility / match score badges ---------------- */
.match-score-badge {
    position: absolute; bottom: 6px; left: 6px; z-index: 3;
    background: linear-gradient(160deg, var(--gold), #a9863f); color: #fff;
    font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,.25);
}
.badge-match {
    background: linear-gradient(160deg, #fff6e6, #fdecc8); color: #7a5a1e;
    border: 1px solid var(--gold-soft); font-weight: 700;
}

.stat-card-link { display: block; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; cursor: pointer; }
.stat-card-link:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(11,90,68,.1); border-color: var(--gold-soft); }

/* ---------------- Admin Command Center (dashboard) ---------------- */
.admin-alert {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 14px; padding: 18px 22px; border-radius: 18px; margin-bottom: 28px;
}
.admin-alert.is-warn { background: #fff4e5; border: 1px solid #f3d19e; color: #7a4d0a; }
.admin-alert.is-ok { background: #e9f7ef; border: 1px solid #b7e4c7; color: #14532d; }
.admin-alert-title { font-size: 15.5px; font-weight: 700; margin: 0 0 2px; }
.admin-alert-sub { font-size: 12.5px; opacity: .85; margin: 0; }
.admin-alert-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-alert-chip {
    background: rgba(255,255,255,.75); border-radius: 20px; padding: 7px 15px;
    font-size: 12.5px; font-weight: 700; text-decoration: none; color: inherit;
    white-space: nowrap; transition: background .15s ease;
}
.admin-alert-chip:hover { background: #fff; }

.admin-section { margin-bottom: 30px; }
.admin-section-head {
    display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700;
    color: var(--emerald-dark); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px;
}
.admin-section-head .ic { font-size: 16px; }

.admin-tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.admin-tile {
    display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 16px; text-decoration: none; color: var(--charcoal); position: relative;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.admin-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(11,90,68,.1); border-color: var(--gold-soft); }
.admin-tile .admin-tile-icon {
    font-size: 19px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    background: var(--ivory); border-radius: 10px; border: 1px solid var(--gold-soft);
}
.admin-tile .admin-tile-title { font-size: 13px; font-weight: 700; line-height: 1.35; }
.admin-tile .admin-tile-badge { position: absolute; top: 12px; right: 12px; }
.admin-tile.admin-tile-danger .admin-tile-icon { background: var(--danger-bg); border-color: var(--danger-bg); }
.admin-tile.admin-tile-logout { border-style: dashed; }

@media (max-width: 640px) {
    .admin-alert { flex-direction: column; align-items: flex-start; }
    .admin-tile-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ======================================================================
   ISLAMIC SHOP
   ====================================================================== */
.shop-hero {
    background: linear-gradient(160deg, var(--emerald-dark), var(--emerald));
    color: #fff; border-radius: var(--radius); padding: 44px 30px; margin-bottom: 30px;
    position: relative; overflow: hidden;
}
.shop-hero h1 { font-family: var(--font-heading); color: #fff; margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); }
.shop-hero p { color: var(--gold-soft); max-width: 520px; margin: 0; font-size: 15px; }

.shop-cat-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 26px; }
.shop-cat-chip {
    padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
    font-size: 13.5px; font-weight: 600; color: var(--charcoal); transition: all .15s ease;
}
.shop-cat-chip:hover, .shop-cat-chip.active { border-color: var(--gold); background: var(--gold); color: #2c2412; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 6px 18px rgba(11,90,68,.06); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(11,90,68,.14); }
.product-photo { position: relative; height: 210px; background: #f1ece0; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-photo img { transform: scale(1.05); }
.product-photo .no-image { display:flex; align-items:center; justify-content:center; height:100%; color:var(--muted); font-size:13px; }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #2c2412; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.product-badge-stock { position: absolute; top: 10px; right: 10px; background: rgba(163,52,44,.92); color: #fff; font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); font-weight: 700; }
.product-name { font-family: var(--font-heading); font-size: 16px; margin: 0; color: var(--emerald-dark); }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.product-price { font-size: 17px; font-weight: 700; color: var(--emerald-dark); }
.product-price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }

.product-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 760px) { .product-detail-grid { grid-template-columns: 1fr; } }
.product-gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; background:#f1ece0; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.product-gallery-thumbs img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; border: 1.5px solid var(--line); cursor: pointer; }
.product-gallery-thumbs img.active { border-color: var(--gold); }
.variant-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.variant-chip { padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; cursor: pointer; background: #fff; }
.variant-chip.active { border-color: var(--emerald); background: var(--emerald); color: #fff; }
.variant-chip.out { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.cart-row { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; background: #f1ece0; }
.cart-qty-box { display: flex; align-items: center; gap: 8px; }
.cart-qty-box input { width: 50px; text-align: center; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.cart-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 90px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; margin: 14px 0; color: var(--emerald-dark); }

.order-status-timeline { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.order-status-step { padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #eee; color: #999; }
.order-status-step.done { background: var(--success-bg); color: var(--success); }
.order-status-step.current { background: var(--gold); color: #2c2412; }

@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .product-photo { height: 150px; }
    .cart-row { grid-template-columns: 56px 1fr; grid-template-areas: "img name" "img qty" "img total"; }
    .cart-row img { grid-area: img; width: 56px; height: 56px; }
}

/* ======================================================================
   TWO-TIER HEADER — MICRO-BAR (Match Coins wallet + trust anchor)
   ====================================================================== */
.micro-bar {
    background: linear-gradient(90deg, #0A261C, #0F382A);
    border-bottom: 1px solid rgba(212,175,55,.35);
    overflow-x: auto;
    scrollbar-width: none;
}
.micro-bar::-webkit-scrollbar { display: none; }
.micro-bar-inner {
    max-width: 1180px; margin: auto; padding: 7px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    white-space: nowrap; font-size: 12.5px;
}
.micro-bar-item { color: #F3E5AB; display: flex; align-items: center; gap: 6px; }
.micro-bar-trust { opacity: .9; font-weight: 500; }
.micro-bar-wallet {
    background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.35);
    padding: 4px 12px; border-radius: 999px; font-weight: 600; transition: background .2s ease;
}
.micro-bar-wallet:hover { background: rgba(212,175,55,.22); }
.micro-bar-wallet-value { opacity: .85; font-weight: 500; }
.micro-bar-redeem { color: #D4AF37; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.micro-bar-redeem-muted { color: #cbb98a; font-weight: 500; }
@media (max-width: 640px) {
    .micro-bar-inner { font-size: 11.5px; padding: 6px 14px; gap: 10px; }
    .micro-bar-trust { display: none; }
}

/* ---------------- Coin redemption box (checkout forms) ---------------- */
.coin-redeem-box {
    background: linear-gradient(135deg, rgba(212,175,55,.10), rgba(212,175,55,.02));
    border: 1.5px dashed var(--gold); border-radius: 12px; padding: 14px 16px; margin: 16px 0;
}
.coin-redeem-box label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin: 0; }
.coin-redeem-box .helptext { margin-top: 6px; }

/* ======================================================================
   HEART-LOCK CTA (Unlock / Register / Redeem primary actions)
   ====================================================================== */
.btn-heart-lock { position: relative; overflow: hidden; }
.btn-heart-lock::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%);
    background-size: 220% 100%; background-position: 120% 0;
    animation: goldShimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes goldShimmer { 0%, 45% { background-position: 140% 0; } 100% { background-position: -40% 0; } }
.heart-lock-icon { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; position: relative; z-index: 1; }
.heart-lock-icon .shackle {
    transform-origin: 65% 45%; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.btn-heart-lock:hover .heart-lock-icon .shackle { transform: rotate(-28deg) translateX(-3px); }
.btn-heart-lock:hover { box-shadow: 0 0 0 3px rgba(212,175,55,.25), 0 8px 20px rgba(212,175,55,.25); }
.btn-heart-lock .btn-label, .btn-heart-lock .btn-heart-icon { position: relative; z-index: 1; }

/* ---------------- Notification bell + panel + toast ---------------- */
.notif-bell-wrap { position: relative; flex-shrink: 0; }
.notif-bell {
    background: none; border: none; color: #F3E5AB; font-size: 15px; cursor: pointer;
    position: relative; padding: 2px 4px; line-height: 1;
}
.notif-bell.has-new { animation: bellRing 2.2s ease-in-out infinite; }
@keyframes bellRing { 0%, 92%, 100% { transform: rotate(0); } 94% { transform: rotate(-14deg); } 96% { transform: rotate(12deg); } 98% { transform: rotate(-8deg); } }
.notif-count {
    position: absolute; top: -4px; right: -6px; background: #c0392b; color: #fff;
    font-size: 9.5px; font-weight: 700; border-radius: 999px; min-width: 15px; height: 15px;
    align-items: center; justify-content: center; padding: 0 3px;
}
.notif-panel {
    display: none; position: absolute; top: 28px; right: 0; width: 280px; max-height: 320px; overflow-y: auto;
    background: #fff; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.22); z-index: 200;
}
.notif-item { padding: 12px 14px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
.notif-item:hover { background: #faf8f3; }
.notif-item strong { font-size: 13px; color: var(--charcoal); }
.notif-item span { font-size: 12px; color: var(--muted); }
.notif-empty { padding: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }

.notif-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--emerald-dark); color: #fff; padding: 14px 20px; border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0,0,0,.3); max-width: 320px; z-index: 999; cursor: pointer;
    opacity: 0; transition: opacity .35s ease, transform .35s ease;
    display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--gold);
}
.notif-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.notif-toast strong { font-size: 13.5px; color: #F3E5AB; }
.notif-toast span { font-size: 12.5px; color: #e7e7e2; }

/* ======================================================================
   SUCCESS STORY TESTIMONIALS
   ====================================================================== */
.testimonial-slider {
    display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory;
}
.testimonial-slider::-webkit-scrollbar { height: 6px; }
.testimonial-slider::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.testimonial-card {
    scroll-snap-align: start; flex: 0 0 280px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px 18px; text-align: center; box-shadow: 0 6px 18px rgba(11,90,68,.06);
}
.testimonial-card.featured { border-color: var(--gold); box-shadow: 0 10px 26px rgba(212,175,55,.18); }
.testimonial-photo-wrap {
    width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; overflow: hidden;
    border: 3px solid var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.15);
}
.testimonial-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-photo-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: var(--emerald); color: #fff; font-family: var(--font-heading); font-size: 22px; font-weight: 700;
}
.testimonial-verified { font-size: 11px; font-weight: 700; color: var(--emerald); margin-bottom: 4px; }
.testimonial-names { font-family: var(--font-heading); font-size: 16.5px; color: var(--emerald-dark); }
.testimonial-date { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.testimonial-stars { color: var(--gold); margin: 6px 0; font-size: 13px; }
.testimonial-quote { font-size: 13.5px; color: var(--charcoal); font-style: italic; line-height: 1.6; min-height: 44px; }
.testimonial-read-more { background: none; border: none; color: var(--gold); font-weight: 700; font-size: 12.5px; cursor: pointer; margin-top: 6px; }

.testimonial-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(10,38,28,.6); z-index: 500;
    align-items: center; justify-content: center; padding: 20px;
}
.testimonial-modal-overlay.open { display: flex; }
.testimonial-modal {
    background: #fff; border-radius: 16px; max-width: 480px; width: 100%; max-height: 82vh; overflow-y: auto;
    padding: 30px 26px; position: relative;
}
.testimonial-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--muted); }

/* ======================================================================
   "WHERE DESTINIES MEET" — scroll-triggered hands animation
   ====================================================================== */
.hands-section { text-align: center; padding-bottom: 10px; }
.hands-stage { position: relative; height: 130px; display: flex; align-items: center; justify-content: center; }
.hand-left, .hand-right { position: absolute; top: 12px; transition: transform 1.1s cubic-bezier(.22,1,.36,1), opacity 1.1s ease; opacity: 0; }
.hand-left { transform: translateX(-90px); left: calc(50% - 130px); }
.hand-right { transform: translateX(90px) scaleX(-1); right: calc(50% - 130px); }
.hands-stage.joined .hand-left { transform: translateX(0); opacity: 1; }
.hands-stage.joined .hand-right { transform: translateX(0) scaleX(-1); opacity: 1; }
.hands-particle-burst { position: absolute; top: 45px; left: 50%; width: 0; height: 0; }
.hand-particle {
    position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
    opacity: 0; transform: rotate(var(--angle)) translateX(0);
    animation: burstOut 0.9s ease-out forwards;
}
@keyframes burstOut {
    0% { opacity: 0; transform: rotate(var(--angle)) translateX(0) scale(1); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: rotate(var(--angle)) translateX(46px) scale(0.4); }
}
@media (max-width: 480px) {
    .hand-left { left: calc(50% - 90px); }
    .hand-right { right: calc(50% - 90px); }
    .hand-left, .hand-right { width: 100px; height: 75px; }
}

/* ======================================================================
   WELCOME OVERLAY — first-visit greeting (Phase 3)
   Shown once per browser session via welcome.js / sessionStorage.
   ====================================================================== */
.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 62, 47, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 220ms ease;
}
.welcome-overlay.is-visible { opacity: 1; }
.welcome-overlay[hidden] { display: none; }

.welcome-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--ivory, #faf8f3);
    border: 1px solid rgba(197, 168, 106, 0.35);
    border-radius: var(--radius, 16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    padding: 32px 24px 28px;
    text-align: center;
    transform: translateY(10px) scale(0.98);
    transition: transform 220ms ease;
}
.welcome-overlay.is-visible .welcome-card { transform: translateY(0) scale(1); }

.welcome-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    color: var(--muted, #6b7268);
    cursor: pointer;
    padding: 6px;
    min-width: 32px;
    min-height: 32px;
}

.welcome-bismillah {
    font-family: var(--font-heading, "Playfair Display"), serif;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: var(--gold, #c9a86a);
    margin: 0 0 10px;
}
.welcome-heading {
    font-family: var(--font-heading, "Playfair Display"), serif;
    font-size: 24px;
    color: var(--emerald-dark, #073e2f);
    margin: 0 0 12px;
}
.welcome-message {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--charcoal, #262622);
    margin: 0 0 22px;
}
.welcome-cta { width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .welcome-overlay, .welcome-card { transition: none; }
}

/* ---------------- Payment Waiting Lounge (stepper) ---------------- */
.wl-stepper {
    display: flex; align-items: flex-start; justify-content: space-between;
    max-width: 420px; margin: 22px auto 6px; gap: 4px;
}
.wl-step {
    flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative; font-size: 12px; color: var(--muted);
}
.wl-step:not(:last-child)::after {
    content: ""; position: absolute; top: 17px; left: 55%; width: 90%; height: 2px;
    background: var(--line); z-index: 0;
}
.wl-step-circle {
    width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 16px; margin-bottom: 8px; position: relative; z-index: 1;
    background: var(--line); color: var(--muted); border: 2px solid var(--line);
    transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.wl-step-done .wl-step-circle { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.wl-step-done:not(:last-child)::after { background: var(--emerald); }
.wl-step-active .wl-step-circle {
    background: var(--gold); border-color: var(--gold); color: var(--emerald-dark);
    animation: wlPulse 1.6s ease-in-out infinite;
}
.wl-step-label { font-weight: 600; color: var(--charcoal); }
@keyframes wlPulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 45%, transparent); }
    50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--gold) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
    .wl-step-active .wl-step-circle { animation: none; }
}
#wlStatusMessage { font-size: 14px; color: var(--charcoal); margin: 18px 0 0; font-weight: 500; }
.wl-success-box {
    display: none; margin-top: 16px; padding: 14px; border-radius: 12px;
    background: var(--success-bg); color: var(--success); font-weight: 600; font-size: 14px;
}
.wl-rejected-box {
    display: none; margin-top: 16px; padding: 14px; border-radius: 12px;
    background: var(--danger-bg); color: var(--danger); font-weight: 600; font-size: 14px;
}

/* ---------------- Footer social icons ---------------- */
.footer-social-row a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); font-size: 17px; padding: 0;
    border: 1px solid rgba(255,255,255,.15); transition: background .2s ease, transform .15s ease;
}
.footer-social-row a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
