* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 { font-size: 28px; margin-bottom: 5px; }
header p { font-size: 14px; opacity: 0.9; }
.header-nav { margin-top: 10px; }
.header-nav a { color: white; background: rgba(255,255,255,0.2); padding: 8px 18px; border-radius: 20px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background 0.2s; display: inline-block; margin: 3px; }
.header-nav a:hover { background: rgba(255,255,255,0.35); }

/* Search Section */
.search-section {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-container input {
    flex: 1; min-width: 200px; padding: 12px 16px;
    border: 2px solid #e0e0e0; border-radius: 8px;
    font-size: 16px; outline: none; transition: border-color 0.3s;
}
.search-container input:focus { border-color: #667eea; }

.btn {
    padding: 12px 24px; border: none; border-radius: 8px;
    font-size: 16px; cursor: pointer; transition: all 0.3s; font-weight: 600;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white;
}
.btn-primary:hover {
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}
.btn-location { background: #4CAF50; color: white; }
.btn-location:hover { background: #45a049; }

/* Filter Tags */
.filters { max-width: 900px; margin: 10px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tag {
    padding: 6px 14px; border: 1px solid rgba(255,255,255,0.3); border-radius: 20px;
    background: rgba(255,255,255,0.15); color: white; cursor: pointer; font-size: 13px; transition: all 0.3s;
}
.filter-tag.active, .filter-tag:hover { background: white; color: #667eea; border-color: white; }
.filter-tag-women {
    padding: 6px 14px; border: 1px solid rgba(255,20,147,0.5); border-radius: 20px;
    background: rgba(255,20,147,0.2); color: #FFB6C1; cursor: pointer; font-size: 13px; font-weight: 700;
    transition: all 0.3s; animation: womenPulse 2s infinite;
}
.filter-tag-women:hover, .filter-tag-women.active { background: #FF1493; color: white; border-color: #FF1493; animation: none; }
@keyframes womenPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(255,20,147,0.4); } 50%{ box-shadow: 0 0 0 6px rgba(255,20,147,0); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
#heroGpsBtn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
#heroGpsBtn:active { transform: translateY(0); }
#searchBarWrap { display: none; }

/* Main Layout */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: block;
    padding: 20px;
}

.map-promo-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.map-section {
    flex: 1;
    min-width: 300px;
}

.promo-section {
    flex: 1;
    min-width: 300px;
}

#map {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container {
    position: relative;
    width: 100%;
}

/* Promotional Content */
.promotional-container {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.promo-slider {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.promo-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-slide.active {
    opacity: 1;
}

.promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    text-align: center;
}

.promo-slide-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.promo-slide-desc {
    font-size: 12px;
    opacity: 0.9;
}

.promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background 0.3s;
}

.promo-nav:hover {
    background: rgba(255,255,255,0.5);
}

.promo-prev {
    left: 10px;
}

.promo-next {
    right: 10px;
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: white;
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.promo-dot.active {
    background: #667eea;
}

.results-container {
    width: 100%;
    max-height: none;
    overflow-y: visible;
    margin: 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Slide Banner */
.slide-banner { background: white; border-radius: 12px; margin-bottom: 15px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.slides-wrapper { position: relative; width: 100%; height: 300px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); overflow: hidden; }
.slide { position: absolute; width: 100%; height: 100%; display: none; opacity: 0; transition: opacity 0.5s ease-in-out; padding: 30px; color: white; }
.slide.active { display: flex; opacity: 1; align-items: center; justify-content: center; }
.slide-content { text-align: center; }
.slide-title { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.slide-text { font-size: 14px; opacity: 0.9; margin-bottom: 15px; line-height: 1.5; }
.slide-video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); }
.slide-dots { display: flex; justify-content: center; gap: 8px; padding: 15px; background: white; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; cursor: pointer; transition: background 0.3s; }
.dot.active { background: #667eea; }
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.3); color: white; border: none; padding: 10px 15px; cursor: pointer; font-size: 18px; z-index: 10; transition: background 0.3s; }
.slide-nav:hover { background: rgba(255,255,255,0.5); }
.slide-prev { left: 10px; }
.slide-next { right: 10px; }

.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.results-header h2 { font-size: 20px; color: #333; }
.results-count { background: #667eea; color: white; padding: 4px 12px; border-radius: 12px; font-size: 13px; }

/* Section Title Bar */
.section-title-bar {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding: 0 4px;
}
.section-title-bar h2 { font-size: 18px; font-weight: 800; color: #333; display: flex; align-items: center; gap: 8px; }
.section-title-bar .section-badge { background: linear-gradient(135deg, #667eea, #764ba2); color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.section-title-bar .see-all { font-size: 13px; color: #667eea; font-weight: 600; cursor: pointer; text-decoration: none; }
.section-title-bar .see-all:hover { text-decoration: underline; }

/* Horizontal Scroll Row */
.hscroll-row {
    display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.hscroll-row::-webkit-scrollbar { height: 4px; }
.hscroll-row::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

/* Horizontal Card */
.hcard {
    flex-shrink: 0; width: 220px; background: white; border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); cursor: pointer; overflow: hidden;
    transition: all 0.3s; scroll-snap-align: start;
}
.hcard:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.14); }
.hcard-img { width: 100%; height: 140px; object-fit: cover; background: #eee; display: block; }
.hcard-body { padding: 12px; }
.hcard-name { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.hcard-number { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; background: #667eea; color: white; border-radius: 50%; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.hcard-rating { font-size: 12px; color: #FFB800; margin-bottom: 3px; }
.hcard-rating span { color: #999; font-size: 11px; }
.hcard-addr { font-size: 11px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard-status { font-size: 11px; font-weight: 600; margin-top: 4px; }
.hcard-status.open { color: #4CAF50; }

/* Recommended Card (larger) */
.hcard.recommended { width: 260px; border: 2px solid #667eea; }
.hcard.recommended .hcard-img { height: 160px; }
.hcard-badge-wrap { position: relative; }
.hcard-recommend-badge { position: absolute; top: 8px; left: 8px; background: linear-gradient(135deg, #667eea, #764ba2); color: white; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }

/* Review Card */
.review-card {
    flex-shrink: 0; width: 280px; height: 200px; border-radius: 14px; overflow: hidden;
    position: relative; cursor: pointer; scroll-snap-align: start;
    transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-3px); }
.review-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    filter: blur(3px) brightness(0.4); transform: scale(1.1);
}
.review-content {
    position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 16px; color: white;
}
.review-shop-name {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    opacity: 0.8; margin-bottom: 6px;
}
.review-stars { font-size: 13px; color: #FFD93D; margin-bottom: 6px; }
.review-text {
    font-size: 13px; line-height: 1.5; font-weight: 500;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.review-author {
    font-size: 11px; opacity: 0.7; margin-top: 8px; font-style: italic;
}

/* Section divider */
.section-block { margin-bottom: 28px; }

/* Place Card (for vertical list fallback) */
.place-card {
    background: white; border-radius: 12px; padding: 12px; margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); cursor: pointer;
    transition: all 0.3s; border-left: 4px solid transparent;
    display: flex; gap: 12px; align-items: stretch;
}
.place-thumb { width: 100px; min-height: 90px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #eee; transition: border 0.3s; }
.place-info { flex: 1; min-width: 0; }
.place-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); border-left-color: #667eea; }
.place-card.active { border-left-color: #667eea; box-shadow: 0 4px 16px rgba(102,126,234,0.3); }
.place-name { font-size: 17px; font-weight: 700; color: #333; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.place-number { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; background: #667eea; color: white; border-radius: 50%; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.place-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.stars { color: #FFB800; font-size: 14px; }
.rating-text { font-size: 14px; color: #666; }
.place-address { font-size: 13px; color: #888; margin-bottom: 6px; }
.place-status { font-size: 13px; font-weight: 600; }
.place-status.open { color: #4CAF50; }
.place-status.closed { color: #f44336; }
.place-details { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.detail-badge { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: #f0f0f0; color: #666; }

/* Loading */
.loading { text-align: center; padding: 40px; }
.spinner { width: 40px; height: 40px; border: 4px solid #e0e0e0; border-top-color: #667eea; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 15px; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 40px 20px; color: #999; }
.empty-state .icon { font-size: 48px; margin-bottom: 15px; }

/* Cities */
.cities-section { max-width: 900px; margin: 15px auto 0; }
.cities-section h3 { font-size: 14px; color: #888; margin-bottom: 8px; }
.city-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.city-btn { padding: 5px 12px; border: 1px solid #ddd; border-radius: 16px; background: white; color: #555; cursor: pointer; font-size: 12px; transition: all 0.2s; }
.city-btn:hover { background: #667eea; color: white; border-color: #667eea; }

/* Responsive */
@media (max-width: 768px) {
    .main-container { flex-direction: column; }
    header h1 { font-size: 22px; }
    .search-container { flex-direction: column; }
    #map { height: 300px; }
    .detail-panel { width: 100% !important; max-width: 100% !important; right: -105% !important; }
    .detail-panel.show { right: 0 !important; }
}

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 2000; }
.modal { background: white; border-radius: 16px; padding: 30px; max-width: 500px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal h2 { margin-bottom: 15px; color: #333; }
.modal p { color: #666; font-size: 14px; margin-bottom: 15px; line-height: 1.5; }
.modal input { width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 14px; margin-bottom: 15px; }
.modal .btn { width: 100%; }
.modal a { color: #667eea; }

.pagination { text-align: center; margin-top: 15px; }
.pagination .btn { padding: 8px 20px; font-size: 14px; }
.sort-select { padding: 6px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; outline: none; }

/* Search This Area Button */
.search-area-btn {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 10;
    background: white;
    color: #333;
    border: none;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
}
.search-area-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.search-area-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* ============================
   Detail Panel (Slide-in)
   ============================ */
.detail-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 3000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.detail-overlay.show { opacity: 1; pointer-events: auto; }
.detail-panel { position: fixed; top: 0; right: -560px; width: 540px; max-width: 95%; height: 100vh; background: #fff; z-index: 3001; overflow-y: auto; transition: right 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: -4px 0 30px rgba(0,0,0,0.2); }
.detail-panel.show { right: 0; }
.detail-panel .dp-close { position: sticky; top: 0; background: white; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #eee; }
.dp-back-btn { display: flex; align-items: center; gap: 6px; background: #f5f5f5; border: none; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; color: #555; transition: all 0.2s; white-space: nowrap; }
.dp-back-btn:hover { background: #667eea; color: white; }
.dp-close-title { flex: 1; font-weight: 700; font-size: 14px; color: #888; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-close-x { background: none; border: none; font-size: 28px; cursor: pointer; color: #999; line-height: 1; flex-shrink: 0; }
.dp-close-x:hover { color: #333; }
.dp-floating-back { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3010; background: linear-gradient(135deg, #667eea, #764ba2); color: white; border: none; padding: 12px 24px; border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 20px rgba(102,126,234,0.5); display: none; transition: all 0.3s; }
.dp-floating-back:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 6px 24px rgba(102,126,234,0.6); }
.dp-floating-back.show { display: flex; align-items: center; gap: 6px; }

/* Photos */
.dp-photos { position: relative; overflow: hidden; }
.dp-photos img.dp-main-photo { width: 100%; height: 280px; object-fit: cover; display: block; }
.dp-photos-small { display: flex; gap: 4px; padding: 4px 20px; overflow-x: auto; }
.dp-photos-small img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; flex-shrink: 0; }
.dp-photos-small img:hover, .dp-photos-small img.active { border-color: #667eea; }

.dp-body { padding: 20px; }
.dp-body h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; color: #222; }
.dp-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.dp-rating-big { font-size: 20px; font-weight: 700; color: #333; }
.dp-stars-big { color: #FFB800; font-size: 18px; }
.dp-review-count { color: #888; font-size: 14px; }
.dp-price { background: #e8f5e9; color: #2e7d32; padding: 3px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; }

.dp-info-section { margin-top: 16px; }
.dp-info-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #444; }
.dp-info-row:last-child { border-bottom: none; }
.dp-info-icon { width: 20px; text-align: center; color: #667eea; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.dp-info-content { flex: 1; }
.dp-info-label { font-size: 12px; color: #999; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.dp-info-value { color: #333; line-height: 1.5; }
.dp-info-value a { color: #667eea; text-decoration: none; }
.dp-info-value a:hover { text-decoration: underline; }

.dp-hours-list { list-style: none; padding: 0; margin: 0; }
.dp-hours-list li { display: flex; justify-content: space-between; padding: 3px 0; font-size: 13px; }
.dp-hours-list li.today { font-weight: 700; color: #667eea; }
.dp-hours-list li span:first-child { color: #666; min-width: 100px; }

/* Action buttons */
.dp-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.dp-action-btn { flex: 1; min-width: 100px; padding: 12px 16px; border-radius: 10px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; transition: all 0.2s; }
.dp-action-btn.call { background: #4CAF50; color: white; }
.dp-action-btn.call:hover { background: #45a049; }
.dp-action-btn.directions { background: #2196F3; color: white; }
.dp-action-btn.directions:hover { background: #1976D2; }
.dp-action-btn.website { background: #667eea; color: white; }
.dp-action-btn.website:hover { background: #5a6fd6; }
.dp-action-btn.share { background: #f5f5f5; color: #333; border: 1px solid #ddd; }
.dp-action-btn.share:hover { background: #eee; }

/* ============================
   BOOKING SECTION
   ============================ */
.dp-booking-section {
    margin-top: 24px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border: 2px solid #667eea30;
    border-radius: 14px;
    padding: 20px;
}
.dp-booking-section h3 {
    font-size: 18px; font-weight: 700; color: #333; margin-bottom: 4px;
}
.dp-booking-subtitle {
    font-size: 13px; color: #888; margin-bottom: 16px;
}
.dp-booking-options {
    display: flex; flex-direction: column; gap: 10px;
}
.dp-book-btn {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-radius: 12px; border: none;
    font-size: 15px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.2s; width: 100%;
}
.dp-book-btn .book-icon {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.dp-book-btn .book-text { flex: 1; text-align: left; }
.dp-book-btn .book-text small { display: block; font-weight: 400; font-size: 12px; opacity: 0.8; margin-top: 2px; }
.dp-book-btn .book-arrow { font-size: 18px; opacity: 0.6; }

.dp-book-btn.google-reserve {
    background: linear-gradient(135deg, #667eea, #764ba2); color: white;
}
.dp-book-btn.google-reserve:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(102,126,234,0.4); }
.dp-book-btn.google-reserve .book-icon { background: rgba(255,255,255,0.2); }

.dp-book-btn.book-website {
    background: white; color: #333; border: 2px solid #e0e0e0;
}
.dp-book-btn.book-website:hover { border-color: #667eea; background: #f8f9ff; }
.dp-book-btn.book-website .book-icon { background: #e3f2fd; color: #1976D2; }

.dp-book-btn.book-phone {
    background: white; color: #333; border: 2px solid #e0e0e0;
}
.dp-book-btn.book-phone:hover { border-color: #4CAF50; background: #f1f8e9; }
.dp-book-btn.book-phone .book-icon { background: #e8f5e9; color: #2e7d32; }

.dp-book-btn.book-yelp {
    background: white; color: #333; border: 2px solid #e0e0e0;
}
.dp-book-btn.book-yelp:hover { border-color: #d32323; background: #fff5f5; }
.dp-book-btn.book-yelp .book-icon { background: #ffebee; color: #d32323; }

/* ============================
   PHOTO GALLERY (Posts)
   ============================ */
.dp-gallery-section {
    margin-top: 24px;
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
}
.dp-gallery-section h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #333;
}
.dp-gallery-subtitle {
    font-size: 13px; color: #888; margin-bottom: 14px;
}
.dp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.dp-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}
.dp-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
}
.dp-gallery-item:hover img { transform: scale(1.05); }
.dp-gallery-item .gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white; padding: 20px 8px 6px; font-size: 11px;
}
.dp-gallery-more {
    display: flex; align-items: center; justify-content: center;
    background: #f0f0f0; border-radius: 8px; aspect-ratio: 1;
    cursor: pointer; transition: background 0.2s;
    font-size: 14px; font-weight: 600; color: #667eea;
    text-decoration: none;
}
.dp-gallery-more:hover { background: #e0e0e0; }

/* Lightbox */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92); z-index: 5000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox-overlay.show { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
    max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 8px;
}
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,0.2); border: none; color: white;
    font-size: 32px; cursor: pointer; width: 44px; height: 44px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2); border: none; color: white;
    font-size: 28px; cursor: pointer; width: 50px; height: 50px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255,255,255,0.4); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: white; font-size: 14px; background: rgba(0,0,0,0.5);
    padding: 6px 16px; border-radius: 20px;
}
.lightbox-caption {
    position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
    color: white; font-size: 13px; max-width: 80%; text-align: center;
}

/* Reviews section */
.dp-reviews-section { margin-top: 24px; border-top: 2px solid #f0f0f0; padding-top: 20px; }
.dp-reviews-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: #333; }
.dp-review { background: #fafafa; border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.dp-review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dp-review-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #ddd; }
.dp-review-author { font-weight: 600; font-size: 14px; color: #333; }
.dp-review-time { font-size: 12px; color: #999; }
.dp-review-stars { color: #FFB800; font-size: 13px; margin-bottom: 6px; }
.dp-review-text { font-size: 13px; line-height: 1.6; color: #555; }
.dp-review-text.truncated { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.dp-review-toggle { color: #667eea; cursor: pointer; font-size: 13px; border: none; background: none; margin-top: 4px; font-weight: 600; }
.dp-loading { display: flex; align-items: center; justify-content: center; height: 300px; }

/* Booking Modal */
.booking-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 4000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.booking-modal-overlay.show { opacity: 1; pointer-events: auto; }
.booking-modal {
    background: white; border-radius: 20px; padding: 0;
    max-width: 480px; width: 92%; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 90vh; overflow-y: auto;
}
.bm-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white; padding: 24px; border-radius: 20px 20px 0 0;
    position: relative;
}
.bm-header h2 { font-size: 20px; margin-bottom: 4px; }
.bm-header p { font-size: 13px; opacity: 0.9; }
.bm-close {
    position: absolute; top: 16px; right: 16px;
    background: rgba(255,255,255,0.2); border: none; color: white;
    font-size: 22px; cursor: pointer; width: 36px; height: 36px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.bm-close:hover { background: rgba(255,255,255,0.3); }
.bm-body { padding: 24px; }
.bm-field { margin-bottom: 16px; }
.bm-field label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.bm-field input, .bm-field select, .bm-field textarea {
    width: 100%; padding: 12px; border: 2px solid #e0e0e0;
    border-radius: 10px; font-size: 14px; outline: none;
    transition: border-color 0.2s; font-family: inherit;
}
.bm-field input:focus, .bm-field select:focus, .bm-field textarea:focus { border-color: #667eea; }
.bm-field textarea { resize: vertical; min-height: 80px; }
.bm-row { display: flex; gap: 12px; }
.bm-row .bm-field { flex: 1; }
.bm-submit {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white; border: none; border-radius: 12px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: all 0.2s; margin-top: 8px;
}
.bm-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(102,126,234,0.4); }
.bm-success {
    text-align: center; padding: 40px 24px;
}
.bm-success .check { font-size: 60px; margin-bottom: 16px; }
.bm-success h3 { font-size: 20px; color: #333; margin-bottom: 8px; }
.bm-success p { color: #888; font-size: 14px; line-height: 1.5; }

/* ============================
   ADVERTISEMENT BANNERS
   ============================ */
.ad-banner-container {
    position: fixed;
    z-index: 2500;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    cursor: move;
    user-select: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 14px;
    transition: box-shadow 0.2s;
}

.ad-banner-container:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.ad-banner-container.active {
    border: 2px dashed #667eea;
}

.ad-resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.2);
    cursor: se-resize;
    display: none;
}

.ad-banner-container:hover .ad-resize-handle {
    display: block;
}

.ad-close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.ad-banner-container:hover .ad-close-btn {
    display: flex;
}

.ad-close-btn:hover {
    background: rgba(0,0,0,0.6);
}

/* Banner positions */
.ad-position-top-left { top: 20px; left: 20px; width: 200px; height: 120px; }
.ad-position-top-right { top: 20px; right: 20px; width: 200px; height: 120px; }
.ad-position-top-center { top: 20px; left: 50%; transform: translateX(-50%); width: 300px; height: 120px; }
.ad-position-middle-left { top: 50%; left: 20px; transform: translateY(-50%); width: 200px; height: 150px; }
.ad-position-middle-right { top: 50%; right: 20px; transform: translateY(-50%); width: 200px; height: 150px; }
.ad-position-bottom-left { bottom: 20px; left: 20px; width: 200px; height: 120px; }
.ad-position-bottom-right { bottom: 20px; right: 20px; width: 200px; height: 120px; }
.ad-position-bottom-center { bottom: 20px; left: 50%; transform: translateX(-50%); width: 300px; height: 120px; }

/* NJ Region Section */
.nj-region-section {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    max-width: 900px;
    margin: 0 auto;
}

.nj-region-section h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 600;
}

.nj-region-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nj-region-btn {
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.nj-region-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.nj-region-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Inline Ad Banners */
.inline-ad-banner {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E72 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    min-height: 100px;
    cursor: pointer;
    transition: transform 0.2s;
}

.inline-ad-banner:hover {
    transform: translateY(-2px);
}

/* Mobile Optimized Layout */
@media (max-width: 768px) {
    .main-container {
        display: block;
        padding: 15px;
    }

    .map-promo-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .map-section,
    .promo-section {
        width: 100%;
    }

    #map {
        height: 300px;
    }

    .promotional-container {
        order: 2;
    }

    .promo-slider {
        height: 300px;
    }

    .results-container {
        max-height: none;
        overflow-y: visible;
        margin-top: 15px !important;
        padding: 15px !important;
    }

    .slide-banner {
        margin-bottom: 15px;
    }

    .slides-wrapper {
        height: 200px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slide-text {
        font-size: 12px;
    }

    .search-container {
        flex-direction: column;
    }

    .search-container input {
        min-width: 100%;
    }

    .results-header {
        flex-direction: column;
    }

    .detail-panel {
        width: 100% !important;
        max-width: 100% !important;
        right: -105% !important;
    }

    .nj-region-btn {
        flex: 1;
        min-width: 80px;
    }

    .promo-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 1px solid #444;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.3s;
}

.footer-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 12px;
    color: #999;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        width: 100%;
    }

    .footer-links {
        justify-content: center;
        width: 100%;
    }
}

/* ==================== WELCOME SCREEN ==================== */
.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
    padding: 20px;
}
.welcome-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}
.welcome-card {
    width: 100%;
    max-width: 420px;
    text-align: center;
    padding: 32px 28px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.welcome-logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    object-fit: cover;
    margin: 0 auto 12px;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.15));
}
.welcome-title {
    font-size: 28px;
    font-weight: 900;
    color: #FFC107;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
.welcome-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 32px;
}
.welcome-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
    margin-bottom: 12px;
}
.welcome-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.welcome-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.welcome-btn-customer {
    background: white;
    color: #1a1a2e;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.welcome-btn-customer .welcome-btn-icon {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #1a1a2e;
}
.welcome-btn-biz {
    background: rgba(255,255,255,0.1);
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.15);
}
.welcome-btn-biz .welcome-btn-icon {
    background: rgba(255,255,255,0.1);
}
.welcome-btn-desc {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.6;
    margin-top: 2px;
}
.welcome-skip {
    margin-top: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    cursor: pointer;
    padding: 8px;
}
.welcome-skip:hover {
    color: rgba(255,255,255,0.6);
}

/* Step 2: Customer location pick */
.welcome-step2 {
    display: none;
}
.welcome-step2.active {
    display: block;
}
.welcome-gps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
    color: #667eea;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transition: all 0.25s;
    margin-bottom: 20px;
}
.welcome-gps-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.welcome-gps-btn .pulse-dot {
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(102,126,234,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(102,126,234,0); }
    100% { box-shadow: 0 0 0 0 rgba(102,126,234,0); }
}
.welcome-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    font-weight: 600;
}
.welcome-divider::before,
.welcome-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.12);
}
.welcome-city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.welcome-city-btn {
    padding: 12px 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}
.welcome-city-btn:hover {
    border-color: #FFC107;
    color: #FFC107;
    background: rgba(255,193,7,0.1);
}

/* Step 2b: Business quick form */
.welcome-biz-form {
    display: none;
    text-align: left;
}
.welcome-biz-form.active {
    display: block;
}
.welcome-biz-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    color: white;
    outline: none;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}
.welcome-biz-form input:focus {
    border-color: #FFC107;
    background: rgba(255,255,255,0.12);
}
.welcome-biz-form input::placeholder {
    color: rgba(255,255,255,0.35);
}
.welcome-biz-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #1a1a2e;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 4px;
}
.welcome-biz-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,193,7,0.4);
}
.welcome-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 4px 0;
}
.welcome-back-btn:hover {
    color: #FFC107;
}
