/* ============================================================
   Barber Directory – Main Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --gold:        #C9A227;
    --gold-light:  #F0C84A;
    --gold-dark:   #9a7a1a;
    --gold-grad:   linear-gradient(135deg, #C9A227 0%, #F0C84A 50%, #C9A227 100%);
    --salmon:      #E8927C;
    --salmon-light:#F0A892;
    --dark:        #0F0700;
    --dark-2:      #1C1008;
    --dark-3:      #2D1A04;
    --cream:       #F5E6D0;
    --text:        #2c1a04;
    --text-light:  #6b4c2a;
    --border:      rgba(201,162,39,.18);
    --shadow:      0 4px 24px rgba(15,7,0,.13);
    --shadow-lg:   0 12px 48px rgba(15,7,0,.22);
    --radius:      12px;
    --radius-lg:   20px;
    --transition:  .25s ease;
}

/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.hp-body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fdf8f2;
    margin: 0;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 .5rem;
    line-height: 1.2;
}

/* ── Utility ─────────────────────────────────────────────────── */
.hp-accent { color: var(--gold); font-weight: 700; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.hp-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15,7,0,.97);
    box-shadow: 0 2px 20px rgba(0,0,0,.4);
    transition: background var(--transition), box-shadow var(--transition);
}

.hp-header--scrolled {
    background: rgba(15,7,0,.97) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hp-nav {
    background: transparent !important;
    box-shadow: none !important;
    height: 64px;
    line-height: 64px;
}

.hp-nav .nav-wrapper {
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.hp-nav__logo {
    display: flex;
    align-items: center;
    height: 64px;
    flex-shrink: 0;
    padding: 0;
    position: static !important;
    transform: none !important;
}

/* Logo image */
.hp-logo-img {
    height: 48px;
    max-height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.hp-nav__logo .custom-logo-link {
    display: flex;
    align-items: center;
    height: 48px;
}

.hp-nav__logo .custom-logo,
.hp-nav__logo img.custom-logo {
    height: 48px;
    max-height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

/* Text logo fallback */
.hp-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.5px;
    display: flex;
    align-items: center;
}

.hp-logo-hed {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hp-logo-pop { color: var(--salmon); }

.hp-nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
    float: none !important;
    margin-left: auto;
}

/* On mobile Materialize's hide-on-med-and-down must win */
@media (max-width: 992px) {
    .hp-nav__links { display: none !important; }
}
.hp-nav__links li { display: flex; align-items: center; }
.hp-nav__links li a {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
    line-height: 1;
    height: auto;
}
.hp-nav__links li a:hover { color: #fff; background: rgba(255,255,255,.1); }

.hp-nav__cta {
    background: var(--gold) !important;
    color: var(--dark) !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    transition: background var(--transition) !important;
    line-height: 1 !important;
}
.hp-nav__cta:hover { background: var(--gold-light) !important; }
.hp-nav__cta .material-icons-round { font-size: 18px; }

.hp-nav__hamburger {
    color: #fff !important;
    display: flex;
    align-items: center;
    margin-right: 12px;
}

/* Sidenav */
.hp-sidenav { background: var(--dark-2) !important; }
.hp-sidenav li a { color: var(--cream) !important; }
.hp-sidenav .divider { background: rgba(201,162,39,.2) !important; }
.hp-sidenav__logo a {
    display: flex;
    align-items: center;
    padding: 20px 16px;
}
.hp-sidenav__logo .hp-logo-img,
.hp-sidenav__logo .custom-logo {
    height: 60px;
    width: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-2);
    overflow: hidden;
    padding-top: 64px;
}

.hp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,7,0,.88) 0%, rgba(45,26,4,.75) 100%);
    z-index: 1;
}

.hp-hero__particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hp-particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: .7;
}

@keyframes particleFloat {
    0%   { transform: translateY(0) rotate(0deg); opacity: .7; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

.hp-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.hp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,162,39,.15);
    border: 1px solid rgba(201,162,39,.35);
    color: var(--gold);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 28px;
}
.hp-hero__badge .material-icons-round { font-size: 16px; }

.hp-hero__title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}
.hp-hero__title-accent {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 40px;
    line-height: 1.7;
}
.hp-hero__count { color: var(--gold); }

/* Search bar */
.hp-hero__search { margin-bottom: 36px; }

.hp-search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(201,162,39,.35);
    border-radius: 999px;
    padding: 6px 6px 6px 20px;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
    transition: border-color var(--transition);
    position: relative;
}
.hp-search-box:focus-within { border-color: var(--gold); }

.hp-search-box__icon {
    color: var(--gold);
    font-size: 22px;
    flex-shrink: 0;
}

.hp-search-box__input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    padding: 8px 0 !important;
    margin: 0 !important;
    height: auto !important;
}
.hp-search-box__input::placeholder { color: rgba(255,255,255,.45); }
.hp-search-box__input:focus { border: none !important; box-shadow: none !important; }

.hp-search-box__btn {
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    padding: 10px 24px;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}
.hp-search-box__btn:hover { background: var(--gold-light); }

/* City pills */
.hp-hero__cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hp-city-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(201,162,39,.25);
    color: rgba(255,255,255,.8);
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.hp-city-pill:hover,
.hp-city-pill.hp-chip--active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}
.hp-city-pill .material-icons-round { font-size: 14px; }

/* Scroll indicator */
.hp-hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hp-scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(12px); opacity: .4; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.hp-stats {
    background: var(--dark);
    padding: 48px 0;
}

.hp-stats__row { margin: 0; }

.hp-stat {
    text-align: center;
    padding: 20px;
}

.hp-stat__icon {
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.hp-stat__num {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.hp-stat__label {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.hp-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.hp-section-head__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,162,39,.1);
    border: 1px solid var(--border);
    color: var(--gold-dark);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.hp-section-head__tag .material-icons-round { font-size: 15px; }

.hp-section-head__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--dark);
    margin-bottom: 10px;
}

.hp-section-head__sub {
    font-size: .95rem;
    color: var(--text-light);
}

/* ============================================================
   LISTINGS SECTION
   ============================================================ */
.hp-listings {
    padding: 72px 0;
    background: #fdf8f2;
}

/* Filter chips */
.hp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    justify-content: center;
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1.5px solid var(--border);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: .83rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.hp-chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.hp-chip--active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    font-weight: 600;
}
.hp-chip .material-icons-round { font-size: 14px; }

/* ============================================================
   BARBER CARDS
   ============================================================ */
.hp-card-col { margin-bottom: 24px; }

.hp-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}
.hp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hp-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hp-card__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--dark-3);
}
.hp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hp-card:hover .hp-card__media img { transform: scale(1.05); }

.hp-card__media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
}
.hp-card__media-placeholder .material-icons-round {
    font-size: 3rem;
    color: rgba(201,162,39,.4);
}

.hp-card__city-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(15,7,0,.75);
    backdrop-filter: blur(6px);
    color: var(--gold);
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}
.hp-card__city-badge .material-icons-round { font-size: 13px; }

.hp-card__body {
    padding: 18px 20px 12px;
    flex: 1;
}

.hp-card__title {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.hp-card__title a {
    color: var(--dark);
    transition: color var(--transition);
}
.hp-card:hover .hp-card__title a { color: var(--gold-dark); }

.hp-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.bd-star { font-size: 15px; }
.bd-star--full  { color: var(--gold); }
.bd-star--half  { color: var(--gold); font-size: 13px; }
.bd-star--empty { color: #ddd; }

.hp-rating__num {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-light);
}

.hp-card__address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: .82rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}
.hp-card__address .material-icons-round {
    font-size: 15px;
    color: var(--salmon);
    flex-shrink: 0;
    margin-top: 1px;
}

.hp-card__footer {
    display: flex;
    border-top: 1px solid #f0e8d8;
    position: relative;
    z-index: 2;
}

.hp-card__action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 10px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
}
.hp-card__action + .hp-card__action { border-left: 1px solid #f0e8d8; }
.hp-card__action .material-icons-round { font-size: 16px; }

.hp-card__action--phone:hover { color: var(--salmon); background: rgba(232,146,124,.07); }
.hp-card__action--view        { color: var(--gold-dark); }
.hp-card__action--view:hover  { color: var(--dark); background: rgba(201,162,39,.1); }

/* Load more */
.hp-loadmore-wrap {
    text-align: center;
    margin-top: 40px;
}

/* Empty state */
.hp-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}
.hp-empty-state .material-icons-round {
    font-size: 3.5rem;
    color: rgba(201,162,39,.3);
    display: block;
    margin-bottom: 12px;
}
.hp-empty-state p { font-size: .95rem; }

/* Loading spinner */
.hp-loading-row {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    width: 100%;
}
.hp-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(201,162,39,.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   WHY SECTION
   ============================================================ */
.hp-why {
    background: var(--dark-2);
    padding: 80px 0;
}
.hp-why .hp-section-head__title { color: #fff; }
.hp-why .hp-section-head__sub   { color: rgba(255,255,255,.55); }

.hp-feature-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(201,162,39,.15);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
    margin-bottom: 24px;
    height: auto;
}
.hp-feature-card:hover {
    transform: translateY(-4px);
    background: rgba(201,162,39,.07);
    border-color: rgba(201,162,39,.35);
}

.hp-feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201,162,39,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.hp-feature-card__icon .material-icons-round {
    font-size: 28px;
    color: var(--gold);
}
.hp-feature-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.hp-feature-card p {
    color: rgba(255,255,255,.55);
    font-size: .88rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.hp-cta {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 56px 0;
}

.hp-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.hp-cta__text h2 { color: var(--dark); font-size: 1.8rem; margin-bottom: 8px; }
.hp-cta__text p  { color: rgba(15,7,0,.7); font-size: .95rem; margin: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    padding: 12px 28px;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}

.hp-btn--gold {
    background: var(--dark);
    color: var(--gold) !important;
    border: 2px solid var(--dark);
}
.hp-btn--gold:hover { background: var(--dark-2); color: var(--gold-light) !important; }

.hp-btn--outline {
    background: transparent;
    color: var(--gold) !important;
    border: 2px solid var(--gold);
}
.hp-btn--outline:hover { background: var(--gold); color: var(--dark) !important; }

.hp-btn .material-icons-round { font-size: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.hp-footer {
    background: var(--dark);
    color: rgba(255,255,255,.65);
    font-size: .88rem;
}

.hp-footer__wave { line-height: 0; }
.hp-footer__wave svg { display: block; width: 100%; height: 60px; }

.hp-footer__body { padding: 48px 0 32px; }

.hp-footer__brand p {
    color: rgba(255,255,255,.5);
    margin: 8px 0 20px;
    font-size: .88rem;
    line-height: 1.6;
}
.hp-footer__logo.hp-logo-text { font-size: 1.5rem; }
.hp-footer__logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.hp-footer__social { display: flex; gap: 10px; }
.hp-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7) !important;
    transition: background var(--transition), color var(--transition);
}
.hp-social-btn:hover { background: var(--gold); color: var(--dark) !important; }
.hp-social-btn .material-icons-round { font-size: 18px; }

.hp-footer__links h5,
.hp-footer__info h5 {
    color: var(--gold);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hp-footer__links ul { list-style: none; padding: 0; margin: 0; }
.hp-footer__links li { margin-bottom: 10px; }
.hp-footer__links li a {
    color: rgba(255,255,255,.55);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}
.hp-footer__links li a:hover { color: var(--gold); }
.hp-footer__links .material-icons-round { font-size: 14px; }

.hp-footer__info p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: rgba(255,255,255,.55);
}
.hp-footer__info .material-icons-round { font-size: 15px; color: var(--gold); }

.hp-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 16px 0;
    text-align: center;
    color: rgba(255,255,255,.3);
    font-size: .82rem;
}

/* ============================================================
   SINGLE BARBER PAGE
   ============================================================ */
.hp-single { padding-top: 64px; }

.hp-single__hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    background: var(--dark-2);
    overflow: hidden;
}

.hp-single__hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(.5);
    transform: scale(1.05);
}

.hp-single__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,7,0,.9) 0%, rgba(15,7,0,.4) 60%, transparent 100%);
}

.hp-single__hero-inner {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    width: 100%;
}

.hp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    margin-bottom: 16px;
}
.hp-breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.hp-breadcrumb a:hover { color: var(--gold); }
.hp-breadcrumb .material-icons-round { font-size: 14px; }

.hp-single__name {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 10px;
}

.hp-single__city {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gold);
    font-size: .9rem;
    font-weight: 500;
    margin: 0 0 10px;
}
.hp-single__city .material-icons-round { font-size: 17px; }

.hp-single__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hp-rating__val { color: rgba(255,255,255,.75); font-size: .88rem; }

.hp-single__body { padding: 48px 0 64px; }

/* Detail cards */
.hp-detail-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    overflow: hidden;
}

.hp-detail-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--dark-2);
    color: var(--gold);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .5px;
}
.hp-detail-card__head .material-icons-round { font-size: 20px; }

.hp-detail-card__body { padding: 20px 24px; }

.hp-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f5ede0;
}
.hp-info-row:last-child { border-bottom: none; padding-bottom: 0; }

.hp-info-row__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(201,162,39,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-info-row__icon .material-icons-round { font-size: 18px; color: var(--gold); }

.hp-info-row__label {
    font-size: .75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 2px;
}

.hp-info-row__val { font-size: .95rem; color: var(--dark); font-weight: 500; }

.hp-info-row__link { color: var(--gold-dark); transition: color var(--transition); }
.hp-info-row__link:hover { color: var(--gold); }

/* Opening hours */
.hp-hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5ede0;
    font-size: .9rem;
}
.hp-hours__row:last-child { border-bottom: none; }
.hp-hours__day { font-weight: 600; color: var(--dark); }
.hp-hours__time { color: var(--text-light); }

/* Map */
.hp-map-wrap { position: sticky; top: 88px; }

.hp-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hp-map--osm { border: none; display: block; }

.hp-map-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--dark-2);
    border-radius: var(--radius-lg);
    color: rgba(255,255,255,.4);
    text-align: center;
    gap: 12px;
}
.hp-map-placeholder .material-icons-round { font-size: 3rem; color: rgba(201,162,39,.3); }

.hp-map-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.hp-map-actions .hp-btn { flex: 1; justify-content: center; }

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.bd-archive { background: #fdf8f2; min-height: 100vh; }

.bd-archive__hero {
    background: var(--dark-2);
    padding: 110px 0 48px;
    text-align: center;
}

.bd-archive__hero-inner { max-width: 600px; margin: 0 auto; }

.bd-archive__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin: 14px 0 12px;
}

.bd-archive__sub {
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    margin: 0;
}
.bd-archive__sub strong { color: var(--gold); }

.bd-archive__filters {
    background: #fff;
    border-bottom: 1px solid #f0e8d8;
    padding: 16px 0;
    position: sticky;
    top: 64px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.bd-archive__filters .hp-chips { margin-bottom: 0; justify-content: flex-start; flex-wrap: wrap; }
.bd-archive__filters .hp-chip  { font-size: .8rem; padding: 6px 14px; }

.bd-archive__body { padding: 40px 0 64px; }

.bd-archive__pagination {
    margin-top: 40px;
    text-align: center;
}
.bd-archive__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    color: var(--text-light);
    font-size: .9rem;
    font-weight: 600;
    margin: 0 3px;
    transition: all var(--transition);
    text-decoration: none;
}
.bd-archive__pagination .page-numbers:hover,
.bd-archive__pagination .page-numbers.current {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}
.bd-archive__pagination .page-numbers .material-icons-round { font-size: 18px; }

/* ============================================================
   SINGLE CONTENT
   ============================================================ */
.hp-single__content { line-height: 1.8; color: var(--text); }
.hp-single__content p { margin-bottom: 1em; }

/* ============================================================
   NO RESULTS
   ============================================================ */
.hp-no-results,
.bd-no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: .95rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hp-hero { min-height: 90vh; }
    .hp-cta__inner { flex-direction: column; text-align: center; }
    .hp-map-wrap { position: static; }
    .hp-map { height: 300px; }

    /* Mobile nav: logo centred, hamburger on right */
    .hp-nav .nav-wrapper {
        justify-content: center;
    }
    .hp-nav__logo {
        position: static;
        transform: none;
        height: 64px;
        display: flex;
        align-items: center;
        flex: unset;
    }
    .hp-nav__hamburger {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
}

@media (max-width: 600px) {
    .hp-hero { min-height: unset !important; padding-bottom: 60px; }
    .hp-hero__inner { padding: 70px 16px 60px; }
    .hp-search-box { border-radius: 12px; flex-wrap: wrap; padding: 12px 16px; }
    .hp-search-box__btn { width: 100%; justify-content: center; }
    .hp-card__footer { flex-direction: column; }
    .hp-card__action + .hp-card__action { border-left: none; border-top: 1px solid #f0e8d8; }
    .hp-stat__num { font-size: 2.2rem; }
    .hp-map-actions { flex-direction: column; }
    .hp-map-actions .hp-btn { flex: unset; }
}

/* ============================================================
   ADD LISTING FORM
   ============================================================ */
.hp-add-listing {
    padding: 100px 0 72px;
    background: #fdf8f2;
    min-height: 100vh;
}

.hp-form {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 48px;
}

@media (max-width: 600px) {
    .hp-form { padding: 28px 20px; }
}

.hp-form__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(201,162,39,.08);
    border: 1px solid rgba(201,162,39,.25);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: .88rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.5;
}
.hp-form__notice .material-icons-round { color: var(--gold); font-size: 20px; flex-shrink: 0; }

.hp-field {
    margin-bottom: 24px;
}

.hp-field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 8px;
}

.hp-required { color: var(--salmon); margin-left: 2px; }

.hp-field input[type="text"],
.hp-field input[type="tel"],
.hp-field input[type="url"],
.hp-field input[type="email"],
.hp-field select,
.hp-field textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e8ddd0;
    border-radius: 0;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    color: var(--dark);
    padding: 10px 0;
    outline: none;
    transition: border-color var(--transition);
    box-shadow: none !important;
    height: auto;
}

.hp-field input:focus,
.hp-field select:focus,
.hp-field textarea:focus {
    border-bottom-color: var(--gold);
    box-shadow: none !important;
}

.hp-field input::placeholder,
.hp-field textarea::placeholder { color: #bbb; }

.hp-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A227' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}

.hp-field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.hp-field--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 600px) {
    .hp-field--half { grid-template-columns: 1fr; gap: 0; }
}

/* Success state */
.hp-form__success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.hp-form__success .material-icons-round {
    font-size: 4rem;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}
.hp-form__success h3 { font-size: 1.8rem; color: var(--dark); margin-bottom: 10px; }
.hp-form__success p  { color: var(--text-light); font-size: .95rem; }

/* ── Image Upload Field ──────────────────────────────────────── */
.hp-upload {
    position: relative;
    border: 2px dashed rgba(201,162,39,.35);
    border-radius: var(--radius);
    background: #fdf8f2;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    overflow: hidden;
}
.hp-upload:hover,
.hp-upload--drag { border-color: var(--gold); background: rgba(201,162,39,.05); }

.hp-upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.hp-upload__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px 20px;
    pointer-events: none;
}
.hp-upload--has-file .hp-upload__placeholder { display: none; }

.hp-upload__placeholder .material-icons-round {
    font-size: 2.8rem;
    color: var(--gold);
}
.hp-upload__label {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text);
}
.hp-upload__hint {
    font-size: .78rem;
    color: var(--text-light);
}

.hp-upload__preview {
    position: relative;
    width: 100%;
    max-height: 240px;
    overflow: hidden;
}
.hp-upload__preview img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.hp-upload__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(15,7,0,.7);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background var(--transition);
}
.hp-upload__remove:hover { background: rgba(232,146,124,.9); }
.hp-upload__remove .material-icons-round { font-size: 18px; color: #fff; }

.hp-upload__error {
    color: #c0392b;
    font-size: .82rem;
    margin-top: 6px;
}

/* ============================================================
   MATERIALIZE OVERRIDES
   ============================================================ */

/* Fix Materialize select on forms */
.hp-field .select-wrapper { width: 100%; }
.hp-field .select-wrapper input.select-dropdown {
    border: none !important;
    border-bottom: 2px solid #e8ddd0 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: .95rem !important;
    color: var(--dark) !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    height: auto !important;
    box-shadow: none !important;
    width: 100% !important;
}
.hp-field .select-wrapper input.select-dropdown:focus {
    border-bottom-color: var(--gold) !important;
}
.hp-field .select-wrapper .caret {
    fill: var(--gold) !important;
    right: 0;
}
.hp-field .select-wrapper + label { display: none; }

/* Materialize dropdown content */
.dropdown-content li > a,
.dropdown-content li > span {
    color: var(--dark) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: .9rem !important;
}
.dropdown-content li.selected,
.dropdown-content li:hover { background: rgba(201,162,39,.1) !important; }
.container { max-width: 1200px !important; width: 93% !important; }

nav { height: auto; line-height: normal; }

.waves-effect.hp-chip,
.waves-effect.hp-city-pill,
.waves-effect.hp-card,
.waves-effect.hp-btn { position: relative; }

/* Fix Materialize removing padding on inputs */
input[type="search"]:not(.browser-default) {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ── Search Suggestions Dropdown ────────────────────────────── */
#bd-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(15,7,0,.22);
    border: 1px solid rgba(201,162,39,.2);
    z-index: 9999;
    overflow: hidden;
    max-height: 420px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bd-suggestion-group {
    padding: .45rem .9rem .2rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-light);
    border-top: 1px solid rgba(201,162,39,.12);
}

.bd-suggestion-group:first-child { border-top: none; }

.bd-suggestion-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .9rem;
    cursor: pointer;
    transition: background var(--transition);
    text-decoration: none;
    color: var(--text);
}

.bd-suggestion-item:hover,
.bd-suggestion-item--active {
    background: rgba(201,162,39,.08);
}

.bd-suggestion-item .material-icons-round {
    font-size: 1.1rem;
    color: var(--gold);
    flex-shrink: 0;
}

.bd-suggestion-name {
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark);
}

.bd-suggestion-city {
    font-size: .75rem;
    color: var(--text-light);
    margin-top: .05rem;
}

.bd-suggestion-item--city .bd-suggestion-name {
    font-weight: 400;
}

/* Highlight matched text */
#bd-suggestions mark {
    background: transparent;
    color: var(--gold-dark);
    font-weight: 700;
    padding: 0;
}

/* Scrollbar */
#bd-suggestions::-webkit-scrollbar { width: 4px; }
#bd-suggestions::-webkit-scrollbar-track { background: transparent; }
#bd-suggestions::-webkit-scrollbar-thumb {
    background: rgba(201,162,39,.35);
    border-radius: 4px;
}
