/* ---------------------------------------------------------------------------
   Pitampura Rishte Naate - Hindu matrimony skin on top of the (recoloured)
   TuruLav theme. Palette: maroon #9b1b30, saffron #f26b21, gold #e8b84a, cream.
   --------------------------------------------------------------------------- */
:root {
    --maroon: #9b1b30;
    --maroon-dark: #7a1225;
    --saffron: #f26b21;
    --gold: #e8b84a;
    --gold-dark: #c8942a;
    --cream: #fff6ea;
    --ink: #4a1522;
}
.hide { display: none; }
.hi { font-family: 'Hind', 'Noto Sans Devanagari', sans-serif; }

/* ---------- header ---------- */
.header-top { background: var(--maroon) !important; }
.header-top .header-top-area .left li, .header-top .header-top-area .left li a, .header-top .social-icons p { color: #fff3d6; }
.header-top .header-top-area .left li i { color: var(--gold); }
.header-top .social-icons a { background: rgba(255,255,255,.14) !important; color: #fff !important; }
.header-top .social-icons a.whatsapp { background: #25d366 !important; }
.header-top .social-icons a.youtube { background: #cd201f !important; }
.header-top .social-icons a.instagram { background: #e4405f !important; }
.header-top .social-icons a.fb { background: #3b5998 !important; }
.header-bottom { border-bottom: 3px solid var(--gold); }
.announce-bar { background: var(--gold); color: var(--ink); font-weight: 500; padding: 8px 0; font-size: 14px; text-align: center; }
.announce-bar i { color: var(--maroon); }

.header-wrapper .logo a.site-logo, .site-logo { display: inline-flex !important; flex-wrap: nowrap; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.site-logo .logo-mark { width: 46px; height: 46px; display: inline-flex; box-shadow: 0 6px 16px rgba(155, 27, 48, .3); border-radius: 50%; }
.site-logo .logo-mark svg { width: 46px; height: 46px; }
.site-logo .logo-text { font-family: 'Jost', sans-serif; font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.1; display: flex; flex-direction: column; white-space: nowrap; }
.site-logo .logo-text strong { color: var(--maroon); font-weight: 700; }
.site-logo .logo-text small { font-family: 'Hind', sans-serif; font-size: 12px; color: var(--gold-dark); font-weight: 500; letter-spacing: .3px; }
.header-fixed .site-logo .logo-text { font-size: 18px; }
@media (max-width: 575px) {
    .site-logo .logo-mark, .site-logo .logo-mark svg { width: 36px; height: 36px; }
    .site-logo .logo-text { font-size: 16px; }
    .site-logo .logo-text small { font-size: 11px; }
}
.header-wrapper .menu-area .signup { background: var(--maroon) !important; }
.header-wrapper .menu-area .login { color: var(--maroon); }
.header-bar span { background-color: var(--maroon) !important; }
.ellepsis-bar i { color: var(--maroon) !important; }

/* ---------- global accents ---------- */
.flash-wrap { position: relative; z-index: 5; }
.lab-btn { background: var(--maroon) !important; }
.lab-btn:hover { background: var(--maroon-dark) !important; }
.lab-btn-outline { background: transparent !important; border: 2px solid #fff; }
.section-header h4 { color: var(--saffron) !important; font-weight: 600; letter-spacing: .5px; }
.section-header h4 .hi { color: var(--gold-dark); font-weight: 500; font-size: .9em; }
.section-header h2 { color: var(--ink); }
.section-header h2::after { content: ''; display: block; width: 90px; height: 3px; margin: 14px auto 0; background: linear-gradient(90deg, var(--gold), var(--saffron), var(--gold)); border-radius: 3px; }
.page-header-section { background: linear-gradient(135deg, #fff6ea 0%, #ffe9d2 100%) !important; border-bottom: 3px solid var(--gold); }
.page-header-section .page-title h2 { color: var(--ink); }
.page-header-section .breadcrumb li a { color: var(--maroon); }

/* ---------- hero ---------- */
.banner-section { background: radial-gradient(1200px 600px at 80% 10%, #ffe9d2 0%, #fff6ea 55%, #fffaf3 100%); padding-bottom: 60px; }
.banner-section .all-shapes { display: none; }
.intro-form::before, .intro-form::after { display: none !important; }
.header-wrapper .logo, .logo { width: auto !important; min-width: 220px; }
.banner-section .intro-form { background: #fff; border: 1px solid #f3dcc2; box-shadow: 0 18px 50px rgba(155, 27, 48, .12) !important; border-radius: 14px; }
.hero-hi { display: block; color: var(--saffron); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.banner-form button { background: var(--maroon) !important; }
.hero-note { margin-top: 16px; font-size: 14px; color: #666; }
.hero-note a { color: var(--maroon); font-weight: 600; }
.hero-art { position: relative; padding: 20px 10px; }
.hero-mandala { width: 100%; max-width: 480px; display: block; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(155, 27, 48, .18)); }
.hero-badge { position: absolute; background: #fff; border-radius: 40px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--ink); box-shadow: 0 8px 22px rgba(0,0,0,.1); border: 1px solid #f3dcc2; white-space: nowrap; }
.hero-badge i { color: var(--saffron); margin-right: 4px; }
.hero-badge-1 { top: 8%; left: 0; }
.hero-badge-2 { top: 48%; right: 0; }
.hero-badge-3 { bottom: 6%; left: 8%; }
@media (max-width: 991px) { .hero-art { margin-top: 30px; } .hero-badge { position: static; display: inline-block; margin: 6px 4px 0; } }

/* ---------- counters ---------- */
.about-section { background: #fff; }
.about-item .lab-inner { border: 1px solid #f3dcc2; border-radius: 12px; }
.about-item .lab-content h2 { color: var(--maroon); }

/* ---------- trust cards ---------- */
.trust-section { background: var(--cream); }
.trust-card { background: #fff; border-radius: 14px; padding: 30px 24px; height: 100%; border-top: 4px solid var(--gold); box-shadow: 0 8px 24px rgba(155, 27, 48, .06); transition: transform .3s; }
.trust-card:hover { transform: translateY(-6px); }
.trust-card i { font-size: 40px; color: var(--maroon); display: block; margin-bottom: 14px; }
.trust-card h5 { color: var(--ink); margin-bottom: 8px; }
.trust-card p { color: #666; margin: 0; font-size: 15px; }

/* ---------- work / members / reviews ---------- */
.work-item .lab-content p { color: #555; }
.member-item .lab-thumb img { width: 100%; height: 220px; object-fit: cover; }
.grid-memberlist .member-item .lab-thumb img { height: 200px; }
.member-item .lab-content p.member-meta { font-size: 14px; color: #555; margin: 0; }
.top-member-section .filters-button-group .filter-btn.is-checked { background: var(--maroon) !important; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--maroon), #c0392b 60%, var(--saffron)); color: #fff; padding: 56px 0; }
.cta-band h3 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #ffe9d2; margin: 0; }
.cta-hi { display: block; color: var(--gold); font-size: 20px; font-weight: 600; }
.cta-band .lab-btn { background: #fff !important; color: var(--maroon) !important; }
.cta-band .lab-btn-outline { background: transparent !important; color: #fff !important; border: 2px solid #fff; }

/* ---------- footer ---------- */
.footer-section .footer-middle { background: var(--ink) !important; }
.footer-section .footer-bottom { background: #35101a !important; }
.footer-section .footer-bottom p, .footer-section .footer-bottom a { color: #ffe9d2; }
.footer-section .fm-item-title h4 { color: var(--gold) !important; }
.footer-section .fm-item-content p { color: #f3e4d4; }
.footer-hi { color: var(--gold) !important; font-size: 15px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; color: #f3e4d4; }
.footer-links a, .footer-contact a { color: #f3e4d4; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact i { color: var(--gold); margin-right: 8px; }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 90px; z-index: 999; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.wa-float:hover { color: #fff; transform: translateY(-2px); }

/* ---------- profile ---------- */
.profile-pic img { object-fit: cover; }
.gallery-img img { width: 100%; height: 225px; object-fit: cover; }
.viewed-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.viewed-list li { width: 110px; text-align: center; }
.viewed-list img { width: 100px; height: 120px; object-fit: cover; border-radius: 6px; }
.viewed-list a { color: var(--ink); font-size: 14px; }
.info-card .info-card-title h6 { color: var(--maroon); }
.interest-box { background: #fff; border: 1px solid #f3dcc2; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.interest-box textarea { width: 100%; border: 1px solid #e5d5c5; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.match-list { list-style: none; margin: 0; padding: 0; }
.match-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f3e9dd; flex-wrap: wrap; }
.match-list img { width: 60px; height: 70px; object-fit: cover; border-radius: 8px; }
.match-list .name { font-weight: 600; color: var(--ink); text-transform: capitalize; }
.match-list .meta { font-size: 13px; color: #777; }
.match-list form { display: inline; }
.badge-pending { background: #ffe9c2; color: #8a5a00; }
.badge-accepted { background: #d8f5e3; color: #146c3a; }
.badge-declined { background: #eee; color: #666; }
.profile-name p { color: #ffe9d2 !important; }

/* ---------- bio form ---------- */
.bio-form .title { color: var(--ink); border-bottom: 2px solid #f3dcc2; padding-bottom: 8px; font-size: 22px; }
.bio-form .title .hi { color: var(--gold-dark); font-size: 16px; font-weight: 500; }
.bio-form .form-control, .bio-form .form-select { padding: 12px 15px; }
.bio-form .is-invalid { border-color: #dc3545; }
.bio-form .form-text { color: #888; }
#profilepic { max-width: 150px; border-radius: 8px; }
.bio-progress { position: sticky; top: var(--header-h, 90px); z-index: 4; background: #fff; border: 1px solid #f3dcc2; border-radius: 10px; padding: 10px 16px; margin-bottom: 10px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.bio-progress a { color: var(--maroon); font-weight: 500; }

/* ---------- search ---------- */
.member-filter .member-filter-inner { background: #fff; border: 1px solid #f3dcc2; border-radius: 14px; }
.member-filter .filter-form label { font-weight: 500; color: var(--ink); margin-bottom: 4px; display: block; }
.member-filter .filter-form .form-select { padding: 10px 14px; }
.member-filter .filter-form .fcol { padding: 6px; }
.member-page-section .member-wrapper .member-info .all-member p:last-child { background: var(--maroon); }

/* ---------- membership ---------- */
.price-item .price-top h2 { color: var(--maroon); }
.membership-note { max-width: 760px; margin: 30px auto 0; text-align: center; color: #555; }
.pay-box { background: #fff; border: 1px dashed var(--gold-dark); border-radius: 12px; padding: 18px; margin-top: 18px; display: inline-block; text-align: left; }
.pay-box b { color: var(--maroon); }

/* ---------- account forms ---------- */
.account-wrapper .alert { text-align: left; }
.account-form label { display: block; text-align: left; margin-bottom: 6px; color: var(--ink); }
.account-form select { width: 100%; padding: 14px 20px; border: 1px solid #ecf0f3; margin-bottom: 20px; background: #fff; color: #555; }

/* ---------- misc ---------- */
.error-page { padding: 80px 0; text-align: center; }
.error-page .error-title { font-size: 96px; color: var(--maroon); line-height: 1; }

/* ---------- page headers: the theme padded 280px for an overlay header we don't use ---------- */
.page-header-section.style-1 { padding-top: 70px !important; padding-bottom: 50px !important; }
.page-header-section.style-1 .page-title h2 { font-weight: 600 !important; }
@media (max-width: 767px) { .page-header-section.style-1 { padding-top: 40px !important; padding-bottom: 32px !important; } .page-header-section.style-1 .page-title h2 { font-size: 28px; } }

/* ---------- header-top hindi + fixed header ---------- */
.header-top .header-top-area .left li .hi { color: var(--gold); font-weight: 600; }
.header-fixed .header-bottom { background: rgba(255, 249, 242, .97) !important; }
.header-section .header-bottom { background: rgba(255, 249, 242, .92) !important; }

/* ---------- mobile menu (theme used a purple glass panel) ---------- */
@media (max-width: 991px) {
    .menu { background: rgba(122, 18, 37, .98) !important; border-top: 3px solid var(--gold); box-shadow: 0 16px 30px rgba(0,0,0,.25); }
    .menu li a { color: #fff !important; border-top: 1px solid rgba(255,255,255,.12) !important; }
    .menu li a:hover, .menu li.open > a { background: rgba(232, 184, 74, .18) !important; color: var(--gold) !important; }
    .menu li .submenu { background: rgba(0,0,0,.15) !important; padding-left: 0 !important; }
    .menu li .submenu li a { padding-left: 40px !important; font-weight: 500 !important; }
    .header-top { background: var(--maroon-dark) !important; }
    .header-top .header-top-area { flex-direction: column; gap: 6px; padding: 10px 0; }
    .header-top .header-top-area .left { justify-content: center; flex-wrap: wrap; gap: 6px 14px; }
    .header-top .social-icons { justify-content: center; }
}

/* ---------- 404 art was pink ---------- */
.fore-zero .zero-thumb img { filter: hue-rotate(-14deg) saturate(1.1) brightness(.78); }

/* ---------- bio + profile on phones ---------- */
@media (max-width: 575px) {
    .profile-section .member-profile .profile-item .profile-information { flex-direction: column; align-items: center; text-align: center; }
    .profile-name p { color: var(--ink) !important; }
    .interest-box form .btn, .interest-box form .lab-btn { display: block; width: 100%; margin: 8px 0 0 !important; text-align: center; }
    .info-card .info-list li { flex-direction: column; align-items: flex-start; }
    .info-card .info-list li .info-name { width: 100%; margin-bottom: 2px; font-weight: 600; }
    .info-card .info-list li .info-name::after { content: ''; }
    .bio-progress { position: static; font-size: 13px; }
    .bio-form .title { font-size: 19px; }
    .member-filter .filter-form .fcol { flex: 0 0 50%; max-width: 50%; }
    .profile-nav .nav-tabs { flex-wrap: wrap; }
    .cta-band { text-align: center; }
    .cta-band .lab-btn { margin: 6px 4px; }
}

/* ---------- header in normal flow (theme overlaid it and padded every page 200-280px) ---------- */
.header-section { position: relative !important; top: auto !important; }
.header-section.header-fixed { position: fixed !important; }
.banner-section { padding-top: 50px !important; }
@media (max-width: 767px) { .banner-section { padding-top: 24px !important; padding-bottom: 30px; } }
.padding-tb { padding: 70px 0 !important; }
@media (max-width: 767px) { .padding-tb { padding: 48px 0 !important; } }
.pt-5 { padding-top: 0 !important; }

/* ---------- membership card: the theme's pink SVG background ---------- */
.price-item .price-item-inner .price-top { background: linear-gradient(160deg, var(--maroon), #b3213a) !important; color: #fff; padding-bottom: 60px !important; }
.price-item .price-item-inner .price-top h6, .price-item .price-item-inner .price-top h2, .price-item .price-item-inner .price-top p { color: #fff !important; }
.price-item .price-item-inner .price-top h2 { color: var(--gold) !important; }
.price-item.active { transform: none !important; }
.price-item .price-item-inner { border: 1px solid #f3dcc2; border-radius: 14px; overflow: hidden; }
.price-item .price-item-inner .price-bottom .purchase-btn { background: var(--maroon) !important; color: #fff !important; }

/* ---------- illustrations & decorations ---------- */
.hero-art { position: relative; padding: 10px 10px 0; }
.hero-mandala { width: 100%; max-width: 480px; }
.hero-couple { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 62%; max-width: 330px; filter: drop-shadow(0 18px 24px rgba(74, 21, 34, .25)); }
@media (max-width: 991px) { .hero-couple { width: 70%; } }

.work-item .lab-thumb .thumb-inner img.work-icon { width: 96px; height: 96px; object-fit: contain; }
.work-item .lab-inner .lab-thumb .thumb-inner { background: #fff; border: 2px solid var(--gold); }

.toran-top { position: relative; }
.toran-top::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60px; background: url(../images/hindu/toran.svg) repeat-x top center / 120px 60px; pointer-events: none; opacity: .95; }
.toran-top .section-header { margin-top: 30px; }
.trust-section { background: var(--cream) url(../images/hindu/paisley.svg) repeat; }

.page-header-section { position: relative; overflow: hidden; }
.page-header-section::before, .page-header-section::after { content: ''; position: absolute; top: 0; width: 220px; height: 220px; pointer-events: none; }
.page-header-section::before { left: 0; background: url(../images/hindu/corner.svg) no-repeat; }
.page-header-section::after { right: 0; background: url(../images/hindu/corner-r.svg) no-repeat; }
@media (max-width: 767px) { .page-header-section::before, .page-header-section::after { width: 120px; height: 120px; background-size: 120px 120px; } }

.rituals-band { background: url(../images/hindu/mandap.svg) center / cover no-repeat; color: #fff; padding: 60px 0; position: relative; }
.rituals-band::before { content: ''; position: absolute; inset: 0; background: rgba(74, 21, 34, .55); }
.rituals-inner { position: relative; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.rituals-text { flex: 1 1 320px; }
.rituals-text .hi { color: var(--gold); font-size: 20px; font-weight: 600; display: block; }
.rituals-text h3 { color: #fff; margin: 4px 0 10px; }
.rituals-text p { color: #ffe9d2; margin: 0; }
.rituals-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; flex: 1 1 320px; }
.rituals-icons li { background: rgba(255, 246, 234, .95); border-radius: 12px; padding: 12px 8px; text-align: center; color: var(--ink); font-weight: 600; font-size: 13px; border: 1px solid var(--gold); }
.rituals-icons img { width: 54px; height: 54px; display: block; margin: 0 auto 6px; }
@media (max-width: 575px) { .rituals-icons { grid-template-columns: repeat(2, 1fr); } }

.diya-row { position: relative; }
.diya-row::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: url(../images/hindu/diya.svg) repeat-x bottom center / 46px 46px; opacity: .9; pointer-events: none; }
.cta-band.diya-row { padding-bottom: 96px; }

.footer-toran { height: 44px; background: #fff6ea url(../images/hindu/toran.svg) repeat-x top center / 88px 44px; }

.account-motif { width: 70px; height: 70px; display: block; margin: 0 auto 10px; }

.member-item .lab-inner { border: 2px solid var(--gold); box-shadow: 0 0 0 4px #fff6ea inset; border-radius: 12px; overflow: hidden; }
.member-item .lab-inner .lab-thumb { position: relative; }
.member-item .lab-inner .lab-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: url(../images/hindu/toran.svg) repeat-x bottom center / 40px 20px; transform: scaleY(-1); opacity: .9; }

.clints-section { background: #fff url(../images/hindu/paisley.svg) repeat; }
.clints-section .client-list { border: 1px solid #f3dcc2; border-radius: 12px; }

.about-item .lab-thumb img.about-icon { width: 90px; height: 90px; object-fit: contain; }
.about-item .lab-inner .lab-content:before { background: var(--gold) !important; }
.profile-cover img.profile-cover-art { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

/* ================= traditional feel on every screen size ================= */
/* maroon top bar stays visible on phones/tablets (theme hid it) */
@media (max-width: 991px) {
    .header-top { display: block !important; padding: 0; }
    .header-top .header-top-area { flex-direction: row; justify-content: space-between; align-items: center; padding: 6px 0; gap: 6px; }
    .header-top .header-top-area .left { display: flex; gap: 12px; margin: 0; }
    .header-top .header-top-area .left li:nth-child(2) { display: none; }
    .header-top .header-top-area .left li.d-none { display: inline-block !important; }
    .header-top .social-icons p { display: none; }
    .header-top .social-icons a { width: 28px; height: 28px; line-height: 28px; font-size: 13px; }
    .header-top .social-icons li:not(:nth-child(4)) { display: none; }   /* only WhatsApp on small screens */
    .ellepsis-bar { display: none !important; }
    .header-bar { margin-left: 0 !important; }
}
/* gold-maroon ornamental strip under the header, on every page */
.header-section::after { content: ''; display: block; height: 6px; background: repeating-linear-gradient(90deg, var(--maroon) 0 14px, var(--gold) 14px 20px, var(--saffron) 20px 26px, var(--gold) 26px 32px); }
/* marigold toran hanging from the header on the home banner and inner page headers */
.banner-section, .page-header-section { position: relative; }
.banner-section::before, .page-header-section .page-header-content::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60px; background: url(../images/hindu/toran.svg) repeat-x top center / 120px 60px; pointer-events: none; z-index: 1; }
.banner-section { padding-top: 70px !important; }
.page-header-section.style-1 { padding-top: 80px !important; }
@media (max-width: 767px) {
    .banner-section::before, .page-header-section .page-header-content::before { height: 44px; background-size: 88px 44px; }
    .banner-section { padding-top: 50px !important; }
    .page-header-section.style-1 { padding-top: 60px !important; }
}
/* bride & groom first on phones/tablets, then the search card */
@media (max-width: 991px) {
    .banner-section .row { flex-direction: column-reverse; }
    .hero-art { margin-top: 0; padding: 0 30px 20px; }
    .hero-mandala { max-width: 360px; }
    .hero-couple { width: 60%; max-width: 250px; }
    .hero-badge { font-size: 12px; padding: 6px 12px; }
}
/* search card with gold double frame */
.banner-section .intro-form { border: 2px solid var(--gold) !important; outline: 1px solid var(--maroon); outline-offset: 5px; }
/* empty member section shows the couple art instead of plain text */
.empty-members { text-align: center; background: #fff url(../images/hindu/paisley.svg) repeat; border: 2px solid var(--gold); border-radius: 16px; padding: 30px 20px; max-width: 760px; margin: 0 auto; }
.empty-members .pair { display: flex; justify-content: center; gap: 24px; margin-bottom: 14px; }
.empty-members .pair img { width: 110px; height: 110px; }
.empty-members .hi { color: var(--saffron); font-size: 20px; font-weight: 600; display: block; }
.empty-members p { color: #555; margin: 6px 0 14px; }
/* section titles: small kalash ornament under the gold line */
.section-header { position: relative; }
.section-header h2::after { margin-bottom: 4px; }
/* body texture */
body { background: #fffaf3; }
.about-section { background: #fff url(../images/hindu/paisley.svg) repeat; }
/* small screens: top bar in one row, badges clear of the couple */
@media (max-width: 991px) {
    .header-top .header-top-area { flex-wrap: nowrap !important; }
    .header-top .header-top-area > ul { width: auto !important; margin: 0 !important; }
    .header-top .social-icons { margin-left: auto; }
    .hero-art { padding-bottom: 8px; }
    .hero-couple { bottom: 92px; width: 56%; }
    .hero-badge { display: inline-block; margin: 4px 3px 0; }
    .hero-mandala { margin-bottom: 8px; }
}
@media (max-width: 575px) { .hero-couple { bottom: 118px; width: 58%; } }

/* photo crop window */
.crop-stage { max-height: 60vh; }
.crop-stage img { max-width: 100%; display: block; }
.change-pass .form-control { padding: 10px 12px; }
/* legal pages */
.legal-page { background: #fff; border: 1px solid #f3dcc2; border-radius: 14px; padding: 36px; max-width: 900px; margin: 0 auto; line-height: 1.8; color: #444; }
.legal-page p { margin-bottom: 16px; }
@media (max-width: 575px) { .legal-page { padding: 20px; } }

/* mobile menu: icons in a fixed-width column so every row lines up cleanly */
@media (max-width: 991px) {
    .menu > li > a { display: flex; align-items: center; gap: 10px; }
    .menu > li > a > i { width: 20px; text-align: center; flex-shrink: 0; font-size: 16px; }
    .menu li .submenu li a { display: block; }
}

/* floating filter/profile cards that overlap upward into the page header (-40px margin-top
   in the theme) must explicitly out-rank the header's own stacking context, or the header
   paints over the card's first row of content (seen: "Looking For" label on /s hidden under
   the header). */
.member-page-section, .profile-section { position: relative; z-index: 2; }
.page-header-section { z-index: 1; }
