/* ========================================
   Single Store Visual Components
   ======================================== */

.store-slider-section {
  margin-bottom: 0;
}
.store-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.slider-main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface-soft);
}
.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
}
.slide-item.active { opacity: 1; }
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-thumbnails {
  display: flex;
  gap: 10px;
  padding: 16px;
  overflow-x: auto;
  background: var(--color-surface);
}
.thumbnail {
  flex: 0 0 84px;
  height: 84px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  transition: all .28s ease;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail:hover,
.thumbnail.active {
  border-color: var(--color-text);
  box-shadow: var(--shadow-soft);
}
.slider-info {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: var(--color-text);
  font-size: .82rem;
  font-weight: 700;
}
.store-slider-placeholder {
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text-muted);
}

.pricing-highlight {
  margin-bottom: 18px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(239,183,199,.45), rgba(169,199,243,.36));
}
.price-item label {
  display: block;
  margin-bottom: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.price-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 700;
  color: var(--color-text);
}
.price-value .time {
  font-size: .95rem;
  color: var(--color-text-muted);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pricing-table tbody tr { border-bottom: 1px solid var(--color-border); }
.pricing-table tbody tr:last-child { border-bottom: 0; }
.pricing-table td {
  padding: 14px 16px;
  background: var(--color-surface);
}
.pricing-table td:first-child {
  color: var(--color-text-muted);
  width: 42%;
}
.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
}
.pricing-table .time {
  margin-left: 8px;
  font-size: .8rem;
  color: var(--color-text-muted);
}
.pricing-table .rate-info td { background: var(--color-surface-soft); }

.rating-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.rating-item {
  padding: 18px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
  text-align: center;
}
.rating-item label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: .8rem;
  font-weight: 700;
}
.rating-item .rating-stars { font-size: 1.05rem; }

.cast-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cast-photo-item {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
}
.cast-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease;
}
.cast-photo-item:hover img { transform: scale(1.03); }

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.instagram-embed-wrapper {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
}
.instagram-embed-wrapper iframe {
  max-width: 100%;
}
.store-address {
  margin-bottom: 14px;
  color: var(--color-text-muted);
}
.gmaps-embed {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

@media (max-width: 1023px) {
  .rating-grid,
  .cast-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .slider-thumbnails { padding: 12px; gap: 8px; }
  .thumbnail { flex-basis: 70px; height: 70px; }
  .pricing-highlight { padding: 22px 18px; }
  .pricing-table td:last-child { text-align: left; }
  .pricing-table td { display: block; width: 100%; }
  .pricing-table tr { display: block; }
  .rating-grid,
  .cast-gallery,
  .instagram-feed { grid-template-columns: 1fr; }
}
