*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --accent: #2438b8;
  --black: #000000;
  --white: #fff;
  --gray: #888;
  --light: #f2f2f2;
  --border: #ddd;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
html, body {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}
#app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}
@media (min-width: 768px) {
  #main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
  }
  #reels-panel {
    width: 380px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
  }
  #listings-panel {
    flex: 1;
    overflow-y: auto;
  }
}
@media (max-width: 767px) {
  #main-content {
    flex: 1;
    overflow: hidden;
    position: relative;
  }
  #reels-panel, #listings-panel {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  #listings-panel {
    overflow-y: auto;
    display: none;
  }
  #listings-panel.active {
    display: block;
  }
  #reels-panel.hidden {
    display: none;
  }
}
#header {
  background: var(--white);
  border-bottom: 2px solid var(--black);
  padding: 10px 14px 0;
  flex-shrink: 0;
  z-index: 10;
}
#header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#header h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
#header h1 span {
  color: var(--accent);
}
#header .subtitle {
  font-size: 11px;
  color: var(--gray);
  margin-top: 1px;
}
footer {
  margin-top: 20px;
  padding-bottom: 10px;
}
#did-you-know {
  display: inline-block;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px; 
  padding: 6px 10px;
  font-size: 12px;
  color: #444;
  max-width: 260px;
  text-align: left;
  line-height: 1.4;
  word-break: normal;
}
#did-you-know strong {
  color: var(--accent);
  font-size: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
#tabs {
  display: flex;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: none;
}
.tab-btn.active {
  font-weight: 600;
  color: var(--black);
  border-bottom: 2px solid var(--black);
}
@media (min-width: 768px) {
  #tabs {
    display: none;
  }
}
#reels-container {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#reels-container::-webkit-scrollbar {
  display: none;
}
.reel-card {
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  background: var(--black);
  overflow: hidden;
  flex-shrink: 0;
}
.reel-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 100%;
}
.reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 18px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.reel-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}
.reel-place {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.2px;
}
.reel-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.45);
  color: var(--white);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
}
#listings-panel {
  background: var(--white);
}
#listings-inner {
  width: 100%;
  padding: 0 16px 40px;
}
#quick-filters {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
#quick-filters::-webkit-scrollbar { display: none; }
.filter-btn {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}
#search-wrap {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
#search-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font);
  background: var(--light);
  outline: none;
}
#search-input:focus {
  border-color: var(--black);
  background: var(--white);
}
#results-info {
  padding: 8px 14px 4px;
  font-size: 11px;
  color: var(--gray);
}
#listings-list {
  list-style: none;
}
.listing-item {
  border: 1px solid #ececec;
  border-radius: 10px;
  margin: 10px 12px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 10px;
}
.listing-item:hover {
  background: var(--light);
}
#listings-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

@media (min-width: 768px) {
  #listings-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1200px) {
  #listings-list {
    grid-template-columns: repeat(2.9, 1fr);
  }
}
.listing-main {
  padding: 12px 14px 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.listing-info {
  flex: 1;
  min-width: 0;
}
.listing-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.listing-category {
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.listing-desc {
  font-size: 13px;
  color: #444;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.tag {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 10px;
  color: #555;
}
.listing-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.btn-call, .btn-wa {
  display: block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-call {
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
}
.btn-wa {
  background: #25D366;
  color: var(--white);
  border-radius: 6px;
}
#no-results {
  display: none;
  padding: 30px 14px;
  text-align: center;
  font-size: 14px;
  color: var(--gray);
}
#shop-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 100;
  overflow-y: auto;
}
#shop-modal.open {
  display: block;
}
#shop-modal-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0 40px;
}
#shop-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}
#shop-content {
  padding: 20px 14px;
}
#shop-content h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
#shop-cat {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
#shop-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}
#shop-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}
#shop-address {
  font-size: 13px;
  color: #555;
  margin-top: 10px;
}
#shop-tags-wrap {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.shop-tag {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 12px;
}
@media (max-width: 767px) {
  #shop-desc{
    padding: 0 4px;
  }
  #shop-cat{
    padding: 0 4px;
  }
  #shop-content h2 {
    padding: 0 4px;
  }
  #shop-name{
    padding: 0 4px;
  }
  #shop-tags-wrap{
    padding: 0 4px;
  }
  }
#shop-cta {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
#shop-cta a {
  flex: 1;
  padding: 13px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}
#shop-cta .cta-call {
  background: var(--black);
  color: var(--white);
}
#shop-cta .cta-wa {
  background: #25D366;
  color: var(--white);
}
.shop-banner {
  width: 100%;
  height : 100%;
  object-fit: cover;
  display: block;
}
.shop-modal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0 0 10px 10px;
  margin-bottom: 12px;
}
.skeleton{
  height: 160px;
  margin: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}
.skeleton1{
  height: 600px;
  margin: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;}
@keyframes shimmer {
  0% {background-position: -200% 0;}
  100% {background-position: 200% 0;}
}
.end-card {
  color: #eee;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;
}
.end-card h2 {
  
  font-size: 22px;
  margin-bottom: 10px;
}
.end-card p {
  color: #888;
  margin-bottom: 20px;
}
.wa-btn {
  background: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
/* #area-list button {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #f7f7f7;
  font-size: 14px;
} */
.image-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 180px;   
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.icon {
  width: 20px;
  height: 20px;
  margin-right: 0.1px;
  vertical-align: middle;
  stroke: #2438b8;
}
.filter-btn.active .icon,
.tab-btn.active .icon {
  stroke: #000000;
}
/* .cta-map {
  background: #2438b8;
  color: #fff;
  padding: 100px;
  border-radius: 8px;
  text-decoration: none;
} */
.btn-map {
  background: #2438b8;
  color: white;
  border-radius: 6px;
  padding: 6px 12px;
  text-align: center;
}
.cta-map {
  background: #2438b8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  height: 50px;
  width: 100%;
}
.cta-map svg {
  width: 20px;
  height: 20px;
}
.badge {
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 4px;
}
.badge.featured {
  background: #fff3cd;
  color: #856404;
  padding: 2 px 6px;
  border-radius: 6px ;
}
.badge.sponsored {
  background: #e3f2fd;
  color: #2438b8;
  font-weight: 600;
}
.featured-card {
  border: 2px solid #2438b8;
}
.reel-place {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  display: flex;
  gap: 6px;
}
