/* ============================================================
   HALFNOOR Marketplace — Complete Stylesheet v5
   Full Consolidated Edition
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

* { box-sizing: border-box; }

/* ============ FULL PAGE GRADIENT BACKGROUND ============ */
body.hn-has-homepage,
body:has(.hn-homepage-v3) {
    background:
        radial-gradient(circle at 10% 5%, rgba(0,224,165,.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 95%, rgba(255,224,102,.12) 0%, transparent 40%),
        linear-gradient(180deg, #f0fdf4 0%, #ffffff 30%, #f7fdf9 60%, #f0fdf4 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.hn-homepage-v3,
.hn-search-container,
.hn-registration-form,
.hn-vendor-dashboard,
.hn-customer-dashboard,
.hn-vendor-profile {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f1f18;
    line-height: 1.55;
}

.hn-homepage-v3 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Decorative floating orbs behind the whole page */
.hn-homepage-v3::before {
    content: '';
    position: absolute;
    top: 20%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,179,104,.18), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: hnOrbMove 20s ease-in-out infinite;
}
.hn-homepage-v3::after {
    content: '';
    position: absolute;
    bottom: 10%; right: -10%;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(255,224,102,.2), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: hnOrbMove 25s ease-in-out infinite reverse;
}
@keyframes hnOrbMove {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px,-30px) scale(1.1); }
}

/* ============ GRADIENT TEXT UTILITIES ============ */
.hn-grad-text {
    background: linear-gradient(120deg, #00b368 0%, #ffe066 30%, #00e0a5 60%, #007c4d 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hnGradShift 5s linear infinite;
    display: inline-block;
}
.hn-grad-text-light {
    background: linear-gradient(90deg, #ffe066 0%, #fff 50%, #ffe066 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hnGradShift 4s linear infinite;
    display: inline-block;
}
.hn-grad-text-gold {
    background: linear-gradient(120deg, #ffc107 0%, #ffe066 40%, #ffb300 80%, #ffc107 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hnGradShift 4s linear infinite;
    display: inline-block;
}
@keyframes hnGradShift { to { background-position: 250% center; } }

/* ============================================================
   HERO
   ============================================================ */
.hn-hero-v3 {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 90px 60px 100px;
    color: #fff;
    min-height: 620px;
    isolation: isolate;
    box-shadow: 0 30px 80px rgba(0,60,40,.18);
}
.hn-hero-grad {
    position: absolute; inset: 0; z-index: -3;
    background:
        radial-gradient(circle at 15% 20%, #00e0a5 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, #ffd93d 0%, transparent 40%),
        linear-gradient(135deg, #001a12 0%, #003d28 30%, #007c4d 60%, #00b368 100%);
    background-size: 200% 200%;
    animation: hnHeroBgShift 16s ease-in-out infinite;
}
@keyframes hnHeroBgShift {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hn-hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hn-halal-badge-anim {
    position: absolute;
    top: 50%; right: 5%;
    transform: translateY(-50%);
    width: 340px; height: 340px;
    opacity: .95;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
}
.hn-halal-badge-anim svg { width: 100%; height: 100%; }

.hn-spark {
    position: absolute;
    width: 10px; height: 10px;
    background: linear-gradient(135deg, #ffe066, #ffd93d);
    border-radius: 50%;
    box-shadow: 0 0 24px 6px rgba(255,224,102,.8);
    animation: hnSparkFloat 6s ease-in-out infinite;
}
.hn-spark.s1 { top: 12%; left: 8%;  animation-delay: 0s; }
.hn-spark.s2 { top: 25%; left: 78%; animation-delay: .6s; }
.hn-spark.s3 { top: 68%; left: 15%; animation-delay: 1.2s; }
.hn-spark.s4 { top: 82%; left: 60%; animation-delay: 1.8s; }
.hn-spark.s5 { top: 45%; left: 40%; animation-delay: 2.4s; }
.hn-spark.s6 { top: 8%;  left: 55%; animation-delay: 3s; }
@keyframes hnSparkFloat {
    0%,100% { transform: translateY(0) scale(1); opacity: .8; }
    50%     { transform: translateY(-34px) scale(1.5); opacity: 1; }
}

.hn-hero-content-v3 {
    position: relative;
    z-index: 3;
    max-width: 720px;
    animation: hnFadeUp .9s cubic-bezier(.2,.7,.3,1);
}
@keyframes hnFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hn-hero-badge-v3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.28);
    font-size: .92em;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 26px;
    color: #fff;
}
.hn-uk-flag { font-size: 1.15em; }

.hn-hero-h1-v3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4.2em;
    line-height: 1.05;
    margin: 0 0 22px;
    font-weight: 900;
    letter-spacing: -1.8px;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hn-hero-h1-v3 .hn-grad-text {
    font-size: 1em;
    filter: drop-shadow(0 4px 24px rgba(255,224,102,.5));
}

.hn-hero-lead-v3 {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 0 34px;
    opacity: .95;
    font-weight: 400;
    line-height: 1.6;
}

/* Live search */
.hn-live-search-wrapper-v3 {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 620px;
    background: #fff;
    border-radius: 60px;
    box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1);
    padding: 6px 6px 6px 22px;
    margin-bottom: 30px;
}
.hn-ls-icon { flex-shrink: 0; margin-right: 10px; }
.hn-live-search-wrapper-v3 input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 16px 8px;
    font-size: 1.05em;
    color: #1a1a1a;
    outline: none;
    font-family: inherit;
}
.hn-live-search-wrapper-v3 input::placeholder { color: #888; }
.hn-live-search-wrapper-v3 button {
    background: linear-gradient(135deg, #00b368, #007c4d, #00b368);
    background-size: 200% auto;
    color: #fff;
    border: 0;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .98em;
    cursor: pointer;
    transition: all .35s;
    font-family: inherit;
    box-shadow: 0 8px 20px rgba(0,179,104,.4);
}
.hn-live-search-wrapper-v3 button:hover {
    transform: translateY(-2px);
    background-position: 100% center;
    box-shadow: 0 14px 30px rgba(0,179,104,.55);
}

.hn-live-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    overflow: hidden;
    max-height: 460px;
    overflow-y: auto;
    z-index: 100;
    color: #1a1a1a;
}
.hn-sugg-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #f0f4f1;
    transition: background .2s;
}
.hn-sugg-item:last-child { border-bottom: 0; }
.hn-sugg-item:hover { background: #f0fdf4; }
.hn-sugg-thumb {
    width: 46px; height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f8ee, #d1f0dd);
    border-radius: 12px;
    margin-right: 14px;
    font-size: 1.4em;
    overflow: hidden;
    flex-shrink: 0;
}
.hn-sugg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hn-sugg-text { flex: 1; display: flex; flex-direction: column; text-align: left; }
.hn-sugg-text strong { font-size: 1em; color: #0d3a26; font-weight: 600; }
.hn-sugg-text small { color: #666; font-size: .85em; margin-top: 2px; }
.hn-sugg-type {
    font-size: .7em;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 12px;
    background: linear-gradient(135deg, #e6f8ee, #c9eeda);
    color: #007c4d;
    border-radius: 20px;
    letter-spacing: .5px;
}
.hn-sugg-loading, .hn-sugg-empty {
    padding: 22px; text-align: center; color: #666; font-size: .95em;
}

/* ============ FANCY BUTTONS ============ */
.hn-hero-cta-v3 {
    display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px;
}
.hn-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 36px;
    background: linear-gradient(135deg, #ffe066 0%, #ffd93d 50%, #ffc107 100%);
    background-size: 200% auto;
    color: #0d3a26 !important;
    font-weight: 800;
    text-decoration: none;
    border-radius: 60px;
    font-size: 1.03em;
    letter-spacing: .2px;
    transition: all .4s cubic-bezier(.2,.7,.3,1);
    box-shadow: 0 14px 34px rgba(255,217,61,.4), inset 0 1px 0 rgba(255,255,255,.6);
    border: 0;
    position: relative;
    overflow: hidden;
}
.hn-btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    transform: skewX(-20deg);
    transition: left .7s;
}
.hn-btn-primary:hover::after { left: 130%; }
.hn-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 22px 50px rgba(255,217,61,.55), inset 0 1px 0 rgba(255,255,255,.7);
    background-position: 100% center;
}

.hn-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 36px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: 60px;
    font-size: 1.03em;
    letter-spacing: .2px;
    transition: all .35s;
    border: 1.5px solid rgba(255,255,255,.4);
    position: relative;
    overflow: hidden;
}
.hn-btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 60%);
    opacity: 0;
    transition: opacity .35s;
}
.hn-btn-ghost:hover {
    background: rgba(255,255,255,.22);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.7);
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.hn-btn-ghost:hover::before { opacity: 1; }

/* ============================================================
   TRENDING SEARCHES + TRUST STRIP
   ============================================================ */
.hn-trending-v3 {
    margin: 50px 0;
    border-radius: 28px;
    padding: 40px 32px;
    background:
        radial-gradient(circle at 0% 0%, rgba(0,224,165,.12), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255,224,102,.14), transparent 45%),
        linear-gradient(135deg, #f0fdf4, #ffffff);
    border: 1.5px solid #d1f0dd;
    box-shadow: 0 12px 40px rgba(0,60,40,.06);
    position: relative;
    overflow: hidden;
}
.hn-trending-inner { position: relative; z-index: 2; }
.hn-trending-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.hn-trending-dot {
    width: 12px; height: 12px;
    background: #00b368;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0,179,104,.6);
    animation: hnPulseDot 1.8s ease-out infinite;
}
@keyframes hnPulseDot {
    0% { box-shadow: 0 0 0 0 rgba(0,179,104,.7); }
    70% { box-shadow: 0 0 0 14px rgba(0,179,104,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,179,104,0); }
}
.hn-trending-label {
    font-weight: 700;
    color: #0d3a26;
    letter-spacing: .3px;
    text-transform: uppercase;
    font-size: .85em;
}

.hn-trending-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.hn-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #fff;
    color: #0d3a26 !important;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: .95em;
    border: 1.5px solid #e0eae4;
    transition: all .3s cubic-bezier(.2,.7,.3,1);
    box-shadow: 0 4px 14px rgba(0,60,40,.05);
}
.hn-chip:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #007c4d 0%, #00b368 100%);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 18px 36px rgba(0,124,77,.3);
}
.hn-chip-icon { font-size: 1.15em; }

.hn-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 26px;
    border-top: 1px dashed #c9eeda;
}
.hn-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92em;
    font-weight: 600;
    color: #0d3a26;
}
.hn-trust-item span {
    font-size: 1.3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #e6f8ee, #c9eeda);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   SECTION HEADERS with Gradient Eyebrow
   ============================================================ */
.hn-section-head-v3 {
    text-align: center;
    margin: 80px 0 50px;
}
.hn-eyebrow {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, #00b368, #00e0a5, #00b368);
    background-size: 200% auto;
    color: #fff;
    border-radius: 40px;
    font-size: .8em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    box-shadow: 0 10px 26px rgba(0,179,104,.32);
    animation: hnGradShift 4s linear infinite;
}
.hn-section-head-v3 h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2em;
    font-weight: 900;
    color: #0d3a26;
    margin: 0 0 12px;
    letter-spacing: -1.2px;
    line-height: 1.15;
}
.hn-section-head-v3 h2 .hn-grad-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
}
.hn-section-head-v3 p {
    color: #556;
    font-size: 1.08em;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   CUISINES — Fancy Gradient Cards
   ============================================================ */
.hn-cuisine-grid-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
}
.hn-cuisine-card-v3 {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    padding: 34px 22px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all .4s cubic-bezier(.2,.7,.3,1);
    box-shadow: 0 8px 30px rgba(0,60,40,.06);
    border: 1.5px solid #eef6f1;
    position: relative;
    overflow: hidden;
}
.hn-cuisine-card-v3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #007c4d 0%, #00b368 50%, #00e0a5 100%);
    background-size: 200% auto;
    opacity: 0;
    transition: opacity .4s;
    z-index: 0;
}
.hn-cuisine-card-v3 > * { position: relative; z-index: 1; }
.hn-cuisine-card-v3:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,124,77,.3);
    border-color: transparent;
}
.hn-cuisine-card-v3:hover::before { opacity: 1; background-position: 100% center; }
.hn-cuisine-card-v3:hover h3,
.hn-cuisine-card-v3:hover small { color: #fff; }
.hn-cuisine-card-v3:hover .hn-cuisine-icon {
    background: rgba(255,255,255,.22);
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
}

.hn-cuisine-icon {
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f8ee, #c9eeda);
    color: #007c4d;
    border-radius: 22px;
    transition: all .4s cubic-bezier(.2,.7,.3,1);
    box-shadow: 0 8px 20px rgba(0,124,77,.12);
}
.hn-cuisine-icon svg { width: 40px; height: 40px; stroke: currentColor; }
.hn-cuisine-card-v3 h3 {
    margin: 0 0 6px;
    font-size: 1.15em;
    font-weight: 800;
    color: #0d3a26;
    transition: color .3s;
    font-family: 'Inter', sans-serif;
}
.hn-cuisine-card-v3 small {
    color: #667;
    font-size: .88em;
    transition: color .3s;
    font-weight: 500;
}

/* ============================================================
   WHY US — Rich Gradient Icon Cards
   ============================================================ */
.hn-why-v3 {
    position: relative;
    padding: 20px 0;
}
.hn-why-grid-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
}
.hn-why-card-v3 {
    background: #fff;
    padding: 42px 30px 38px;
    border-radius: 28px;
    text-align: center;
    transition: all .4s cubic-bezier(.2,.7,.3,1);
    box-shadow: 0 10px 34px rgba(0,60,40,.07);
    border: 1.5px solid #eef6f1;
    position: relative;
    overflow: hidden;
}
.hn-why-card-v3::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(0,224,165,.25), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
}
.hn-why-card-v3:hover::before { opacity: 1; }
.hn-why-card-v3:hover {
    transform: translateY(-10px);
    box-shadow: 0 34px 68px rgba(0,124,77,.18);
    border-color: #c9eeda;
}
.hn-why-icon-v3 {
    width: 82px; height: 82px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #007c4d 0%, #00b368 50%, #00e0a5 100%);
    background-size: 200% auto;
    color: #fff;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1em;
    font-weight: 700;
    box-shadow: 0 16px 38px rgba(0,124,77,.3), inset 0 2px 0 rgba(255,255,255,.25);
    animation: hnGradShift 5s linear infinite;
    transition: transform .4s;
}
.hn-why-card-v3:hover .hn-why-icon-v3 {
    transform: scale(1.08) rotate(-5deg);
}
.hn-why-card-v3 h3 {
    color: #0d3a26;
    margin: 0 0 12px;
    font-size: 1.35em;
    font-weight: 800;
    letter-spacing: -.3px;
}
.hn-why-card-v3 p {
    color: #556;
    font-size: 1em;
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS — Fancy Numbered Steps
   ============================================================ */
.hn-steps-v3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    position: relative;
}
.hn-step-v3 {
    background: #fff;
    padding: 46px 26px 34px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 10px 34px rgba(0,60,40,.07);
    border: 1.5px solid #eef6f1;
    position: relative;
    transition: all .4s cubic-bezier(.2,.7,.3,1);
    overflow: hidden;
}
.hn-step-v3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 60%, rgba(0,224,165,.1) 100%);
    opacity: 0;
    transition: opacity .4s;
}
.hn-step-v3:hover::before { opacity: 1; }
.hn-step-v3:hover {
    transform: translateY(-10px);
    border-color: #c9eeda;
    box-shadow: 0 34px 68px rgba(0,124,77,.15);
}
.hn-step-num {
    position: absolute;
    top: -24px; left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #00e0a5 0%, #00b368 50%, #007c4d 100%);
    background-size: 200% auto;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    font-size: 1.5em;
    box-shadow: 0 16px 34px rgba(0,124,77,.4), inset 0 2px 0 rgba(255,255,255,.3);
    border: 4px solid #fff;
    animation: hnGradShift 4s linear infinite;
    z-index: 2;
}
.hn-step-v3 h3 {
    color: #0d3a26;
    margin: 22px 0 12px;
    font-size: 1.35em;
    font-weight: 800;
    letter-spacing: -.3px;
}
.hn-step-v3 p {
    color: #556;
    font-size: 1em;
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   CTA
   ============================================================ */
.hn-cta-v3 {
    margin: 80px 0 40px;
    border-radius: 36px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,224,102,.22), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(0,224,165,.22), transparent 55%),
        linear-gradient(135deg, #001a12 0%, #003d28 40%, #007c4d 80%, #00b368 100%);
    background-size: 200% 200%;
    animation: hnHeroBgShift 14s ease-in-out infinite;
    color: #fff;
    text-align: center;
    box-shadow: 0 40px 90px rgba(0,60,40,.28);
}
.hn-cta-inner-v3 { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.hn-cta-v3 h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.4em;
    margin: 0 0 16px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.hn-cta-v3 p {
    opacity: .95;
    font-size: 1.18em;
    margin-bottom: 36px;
    line-height: 1.6;
}
.hn-cta-btns-v3 {
    display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}

/* ============================================================
   DASHBOARDS & FORMS
   ============================================================ */
.hn-search-container,
.hn-registration-form,
.hn-vendor-dashboard,
.hn-customer-dashboard,
.hn-vendor-profile {
    max-width: 1020px;
    margin: 24px auto;
    padding: 34px;
    background: #fff;
    border: 1px solid #eef6f1;
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(0,60,40,.08);
}
.hn-form-row { margin-bottom: 18px; }
.hn-form-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0d3a26;
    font-size: .95em;
    letter-spacing: .2px;
}
.hn-form-row input,
.hn-form-row textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #d9e6de;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: .25s;
    background: #fafdfb;
    color: #0d3a26;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}
.hn-form-row input {
    height: 54px;
    min-height: 54px;
    line-height: 24px;
    display: block;
}
.hn-form-row textarea {
    min-height: 120px;
    line-height: 1.5;
}
.hn-form-row select {
    width: 100%;
    min-width: 100%;
    height: 54px;
    min-height: 54px;
    line-height: 24px;
    padding: 14px 50px 14px 18px;
    border: 1.5px solid #d9e6de;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    color: #0d3a26;
    background-color: #fafdfb;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%23007c4d' d='M7 9L0 0h14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: all .25s;
    box-sizing: border-box;
    display: block;
    vertical-align: middle;
    -webkit-line-clamp: 1;
    align-items: center;
}
.hn-form-row select option {
    color: #0d3a26;
    background: #ffffff;
    padding: 12px 16px;
    font-weight: 500;
    line-height: 2;
    font-size: 15px;
    min-height: 32px;
}
.hn-form-row input:focus,
.hn-form-row select:focus,
.hn-form-row textarea:focus {
    outline: none;
    border-color: #00b368;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0,179,104,.14);
}
.hn-search-btn,
.hn-registration-form button {
    background: linear-gradient(135deg, #007c4d 0%, #00b368 50%, #00e0a5 100%);
    background-size: 200% auto;
    color: #fff;
    padding: 15px 26px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: .3px;
    transition: .35s;
    box-shadow: 0 12px 30px rgba(0,124,77,.3);
}
.hn-search-btn:hover,
.hn-registration-form button:hover {
    transform: translateY(-3px);
    background-position: 100% center;
    box-shadow: 0 18px 40px rgba(0,124,77,.45);
}

/* Search page fix — when inside hero use solid white background */
.hn-hero-search-row .hn-search-container {
    background: #ffffff;
    color: #0d3a26;
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.hn-hero-search-row .hn-search-container h2 {
    color: #0d3a26;
    font-size: 1.3em;
    margin-bottom: 14px;
}
.hn-hero-search-row .hn-form-row label {
    color: #0d3a26;
}

/* Dashboard action buttons */
.hn-dashboard-actions { margin: 22px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hn-action-button {
    display: inline-block;
    padding: 12px 22px;
    background: linear-gradient(135deg, #007c4d, #00b368);
    color: #fff !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: .3s;
    font-size: .95em;
    box-shadow: 0 8px 22px rgba(0,124,77,.22);
}
.hn-action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0,124,77,.35);
}
.hn-action-logout { background: linear-gradient(135deg, #d9534f, #b52b27); }
.hn-action-logout:hover { box-shadow: 0 16px 36px rgba(217,83,79,.4); }

/* Tables */
.hn-table {
    width: 100%; border-collapse: collapse; margin: 20px 0;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,60,40,.06);
}
.hn-table th, .hn-table td { padding: 15px; text-align: left; border-bottom: 1px solid #eef6f1; }
.hn-table th {
    background: linear-gradient(135deg, #f4faf6, #e6f8ee);
    font-weight: 800; color: #0d3a26; font-size: .85em;
    text-transform: uppercase; letter-spacing: .8px;
}
.hn-table tr:hover { background: #f9fdfa; }

/* Pagination */
.hn-pagination { text-align: center; margin: 26px 0; }
.hn-pagination .page-numbers {
    display: inline-block; padding: 10px 16px; margin: 0 3px;
    background: #fff; border: 1.5px solid #e0eae4; border-radius: 10px;
    color: #0d3a26; text-decoration: none; font-weight: 700; transition: .25s;
}
.hn-pagination .page-numbers.current {
    background: linear-gradient(135deg, #007c4d, #00b368);
    color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(0,124,77,.3);
}
.hn-pagination .page-numbers:hover:not(.current) { background: #f0fdf4; border-color: #c9eeda; }

/* Vendor cards */
.vendor-card {
    display: flex; align-items: center; background: #fff;
    border: 1.5px solid #eef6f1; border-radius: 20px; padding: 22px;
    margin-bottom: 16px; box-shadow: 0 6px 24px rgba(0,60,40,.06);
    transition: all .35s;
}
.vendor-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(0,124,77,.14); }
.vendor-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 18px; margin-right: 22px; }
.vendor-info { flex: 1; }
.vendor-info h3 { margin: 0 0 8px; color: #0d3a26; font-weight: 800; }
.vendor-info p { margin: 4px 0; color: #556; font-size: .95em; }

.badge-green {
    background: linear-gradient(135deg, #007c4d, #00b368);
    color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 12px;
    font-weight: 800; display: inline-block; margin-top: 8px; letter-spacing: .4px;
    box-shadow: 0 6px 14px rgba(0,124,77,.25);
}
.badge-yellow {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #222; padding: 6px 14px; border-radius: 20px; font-size: 12px;
    font-weight: 800; display: inline-block; margin-top: 8px; letter-spacing: .4px;
    box-shadow: 0 6px 14px rgba(255,193,7,.3);
}
.success { color: #007c4d; font-weight: 600; }
.error { color: #d9534f; font-weight: 600; }
.hn-loading { color: #556; font-style: italic; }
.hn-no-results { text-align: center; padding: 40px 20px; background: #f4faf6; border-radius: 16px; }

.hn-vendor-logo-preview { max-width: 130px; border-radius: 14px; display: block; margin-bottom: 12px; }
.hn-logo-upload { padding: 20px; background: #f4faf6; border-radius: 14px; margin-bottom: 20px; }

/* ============================================================
   AUTH SWITCH LINK (registration pages)
   ============================================================ */
.hn-auth-switch {
    text-align: center;
    color: #556;
    font-size: .95em;
    margin: -10px 0 22px;
}
.hn-auth-switch a {
    color: #007c4d;
    font-weight: 700;
    text-decoration: underline;
    transition: color .2s;
}
.hn-auth-switch a:hover { color: #00b368; }

/* ============================================================
   AUTH GATE (login-required box on dashboards)
   ============================================================ */
.hn-auth-gate {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}
.hn-auth-gate-card {
    max-width: 520px;
    width: 100%;
    background: #fff;
    border-radius: 26px;
    padding: 46px 40px 40px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,60,40,.12);
    border: 1.5px solid #eef6f1;
    position: relative;
    overflow: hidden;
}
.hn-auth-gate-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00b368, #ffe066, #00b368);
    background-size: 200% auto;
    animation: hnGradShift 4s linear infinite;
}
.hn-auth-gate-icon {
    width: 96px; height: 96px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, #f0fdf4, #d1f0dd);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,124,77,.15);
    animation: hnFloat 4s ease-in-out infinite;
}
@keyframes hnFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hn-auth-gate h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9em;
    color: #0d3a26;
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: -.5px;
}
.hn-auth-gate-sub {
    color: #556;
    font-size: 1em;
    line-height: 1.55;
    margin: 0 0 10px;
}
.hn-auth-gate-label {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, #e6f8ee, #c9eeda);
    color: #007c4d;
    border-radius: 20px;
    font-size: .78em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 26px;
}
.hn-auth-gate-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.hn-btn-dark {
    background: #0d3a26 !important;
    color: #fff !important;
    border-color: transparent !important;
}
.hn-btn-dark:hover {
    background: #007c4d !important;
    transform: translateY(-3px);
}
.hn-auth-gate-foot {
    font-size: .9em;
    color: #778;
    margin: 0;
    border-top: 1px dashed #e0eae4;
    padding-top: 18px;
}
.hn-auth-gate-foot a {
    color: #007c4d;
    font-weight: 700;
    text-decoration: underline;
}
.hn-auth-gate-foot a:hover { color: #00b368; }

.hn-notice-box {
    max-width: 720px;
    margin: 40px auto;
    padding: 24px 28px;
    background: #f4faf6;
    border-radius: 16px;
    border: 1.5px solid #c9eeda;
    text-align: center;
    color: #0d3a26;
    font-weight: 500;
}
.hn-notice-error {
    background: #fff5f5;
    border-color: #f5c6c6;
    color: #a02622;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hn-halal-badge-anim { width: 260px; height: 260px; right: 2%; opacity: .8; }
    .hn-hero-h1-v3 { font-size: 3em; }
}
@media (max-width: 900px) {
    .hn-hero-v3 { padding: 70px 30px 80px; min-height: auto; }
    .hn-hero-h1-v3 { font-size: 2.5em; }
    .hn-halal-badge-anim { width: 220px; height: 220px; opacity: .6; right: -40px; }
    .hn-steps-v3 { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
    .hn-section-head-v3 h2 { font-size: 2.4em; }
    .hn-cta-v3 h2 { font-size: 2.4em; }
    .hn-trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hn-homepage-v3 { padding: 12px; }
    .hn-form-row select,
    .hn-form-row input {
        height: 52px;
        min-height: 52px;
        font-size: 15px;
    }
    .hn-hero-v3 { padding: 50px 20px 60px; border-radius: 22px; }
    .hn-hero-h1-v3 { font-size: 2em; letter-spacing: -.8px; }
    .hn-hero-lead-v3 { font-size: 1em; }
    .hn-halal-badge-anim { width: 160px; height: 160px; opacity: .35; right: -50px; }
    .hn-live-search-wrapper-v3 { flex-direction: column; padding: 14px; border-radius: 18px; }
    .hn-live-search-wrapper-v3 input { width: 100%; padding: 10px; text-align: center; }
    .hn-live-search-wrapper-v3 button { width: 100%; margin-top: 8px; padding: 14px; }
    .hn-ls-icon { display: none; }
    .hn-hero-cta-v3 { flex-direction: column; }
    .hn-btn-primary, .hn-btn-ghost { width: 100%; justify-content: center; }
    .hn-steps-v3 { grid-template-columns: 1fr; }
    .hn-why-grid-v3 { grid-template-columns: 1fr; }
    .hn-cuisine-grid-v3 { grid-template-columns: repeat(2, 1fr); }
    .hn-cta-v3 { padding: 50px 20px; border-radius: 26px; }
    .hn-cta-v3 h2 { font-size: 1.9em; }
    .hn-section-head-v3 h2 { font-size: 1.8em; }
    .hn-section-head-v3 { margin: 55px 0 32px; }
    .hn-trending-v3 { padding: 26px 18px; border-radius: 20px; }
    .hn-trust-strip { grid-template-columns: 1fr; }
    .hn-chip { padding: 10px 16px; font-size: .88em; }
    .hn-dashboard-actions { flex-direction: column; }
    .hn-action-button { text-align: center; }
    .vendor-card { flex-direction: column; text-align: center; }
    .vendor-card img { margin: 0 auto 14px; }
    .hn-auth-gate-card { padding: 34px 22px 28px; border-radius: 20px; }
    .hn-auth-gate-actions { flex-direction: column; }
    .hn-auth-gate-actions .hn-btn-primary,
    .hn-auth-gate-actions .hn-btn-ghost { width: 100%; justify-content: center; }
}