html {
    scroll-behavior: smooth;
}

.vendor-gallery { width: 100%; max-width: 1100px; margin: 0 auto 0px; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 150px); gap: 8px; }
.gallery-grid .gallery-item:nth-child(n+6) { display: none; }
.gallery-item { overflow: hidden; background: #f3f4f6; border-radius: 8px; cursor: pointer; }
.gallery-item a { display: block; width: 100%; height: 100%; }
.gallery-main { grid-column: span 2; grid-row: span 2; }
.gallery-vertical { grid-column: span 1; grid-row: span 2; }
.gallery-horizontal { grid-column: span 1; grid-row: span 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.vendor-container { max-width: 1140px; margin: 0 auto; padding: 0 20px 80px; }
.back-link { display: block; padding: 14px 0; font-size: 14px; color: #6b7280; text-decoration: none; }
.back-link:hover { color: #1a1a1a; }

.vendor-identity { display: flex; gap: 16px; align-items: center; padding-bottom: 16px; }
.vendor-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.vendor-name { font-size: 24px; font-weight: 700; margin-bottom: 2px; }
.vendor-role { font-size: 14px; color: #6b7280; }
.vendor-tagline { font-size: 14px; color: #374151; margin-top: 4px; }

hr { border: none; border-top: 1px solid #e5e7eb; margin: 0; }

.vendor-meta { display: flex; gap: 32px; flex-wrap: wrap; padding: 8px 0; }
.meta-price { display: flex; align-items: center; gap: 0px; }
.price-amount { font-size: 22px; font-weight: 700; }
.price-suffix { font-size: 13px; color: #6b7280; }
.meta-location, .meta-phone { display: flex; gap: 10px; align-items: center; }
.location-city { font-weight: 600; }
.location-note { font-size: 12px; color: #6b7280; }
.meta-phone a { color: #1a1a1a; font-weight: 500; text-decoration: none; }
.meta-capacity { display: flex; gap: 10px; align-items: center; }
.capacity-value { font-size: 20px; font-weight: 700; color: #1a1a1a; }

.vendor-rating-bar { display: flex; justify-content: space-between; align-items: center; }
.rating-left { display: flex; gap: 12px; align-items: center; }
.stars { display: flex; gap: 2px; }
.stars-large svg { width: 22px; height: 22px; }
.stars-small svg { width: 14px; height: 14px; }
.reviews-link { font-size: 14px; color: #6b7280; border-bottom: 1px dashed #6b7280; text-decoration: none; }
.rating-right { display: flex; gap: 8px; }
.icon-btn { background: none; border: none; color: #6b7280; padding: 6px; border-radius: 8px; cursor: pointer; transition: background 0.2s; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: #f3f4f6; }

.vendor-info { margin-top: 16px; }
.vendor-info h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.info-text { font-size: 15px; line-height: 1.5; color: #374151; }
.info-text ul, .info-text ol { padding-left: 20px; margin-bottom: 12px; }
.info-text li { font-size: 15px; line-height: 1.7; color: #374151; }
.info-text.is-collapsed { max-height: 200px; overflow: hidden; position: relative; }
.info-text.is-collapsed::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.info-read-more { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 400; color: #374151; cursor: pointer; border: none; background: none; padding: 0; line-height: 1.5; text-decoration: underline; }
.info-read-more:hover { opacity: 0.6; }

.vendor-packages { margin-top: 32px; }
.vendor-packages h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.package-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; }
.package-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.package-price { font-size: 18px; font-weight: 700; display: inline; vertical-align: middle; }
.package-suffix { font-size: 12px; color: #6b7280; display: inline; margin-left: 0; vertical-align: middle; }
.package-price-row { display: block; margin-bottom: 12px; }
.package-card hr { margin: 12px 0; }
.package-duration { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #1a1a1a; margin-bottom: 0; }
.package-features { list-style: none; margin-top: 4px; }
.package-features li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.5; padding: 3px 0; }
.package-features li svg { margin-top: 4px; flex-shrink: 0; }
.package-duration svg { margin-top: 0; }
.packages-note { font-size: 13px; color: #6b7280; margin-top: 10px; }

.vendor-reviews { margin-top: 32px; }
.vendor-reviews h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.review-item { padding: 20px 0; border-bottom: 1px solid #e5e7eb; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; }
.review-author { display: flex; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; }
.review-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.review-stars-row { display: flex; gap: 8px; align-items: center; }
.review-rating { font-size: 13px; color: #6b7280; }
.review-date { font-size: 13px; color: #6b7280; }
.review-text { font-size: 14px; line-height: 1.65; margin-top: 10px; }
.review-photos { display: flex; gap: 8px; margin-top: 16px; }
.review-photo-placeholder { flex: 1; height: 100px; background: #e5e7eb; border-radius: 8px; }

.vendor-contact { margin-top: 32px; }
.vendor-contact h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.contact-grid { display: flex; gap: 48px; flex-wrap: wrap; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; color: #1a1a1a; text-decoration: none; }
.contact-link:hover { opacity: 0.6; }
.address-title { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.address-text { font-size: 14px; color: #6b7280; line-height: 1.6; padding-left: 28px; }

.vendor-map { margin-top: 24px; }

.vendor-location { margin-top: 32px; }
.vendor-location .address-title { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.vendor-location .address-text { font-size: 14px; color: #6b7280; line-height: 1.6; padding-left: 28px; }

.cta-buttons { margin-top: 24px; display: flex; gap: 12px; }
.btn { padding: 13px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; justify-content: center; transition: opacity 0.2s; }
.btn:hover { opacity: 0.9; }
.btn-primary { background: #1a1a1a; color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }

.vendor-related { margin-top: 40px; }
.vendor-related h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; display: block; text-decoration: none; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover img { transform: scale(1.04); }
.related-card span { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,0.55)); color: #fff; font-size: 15px; font-weight: 600; }

.gallery-last-visible { position: relative; }
.gallery-overlay { display: flex; align-items: center; justify-content: center; position: absolute; inset: 0; background: rgba(0,0,0,0.45); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 8px; }

/* Тойхана — зал ерекшеліктері */
.venue-features { margin-top: 32px; }
.venue-features h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; font-size: 14px; font-weight: 500; }
.feature-icon { width: 36px; height: 36px; border-radius: 8px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #374151; }

/* Тойхана — шарттар */
.venue-conditions { margin-top: 28px; }
.venue-conditions h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.conditions-list { display: flex; flex-direction: column; gap: 8px; }
.condition-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.condition-item.allowed { background: #e8f5ec; color: #2d7a4f; }
.condition-item.denied { background: #fceaea; color: #c44b4b; }
.condition-icon { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; color: #fff; }
.condition-item.allowed .condition-icon { background: #2d7a4f; }
.condition-item.denied .condition-icon { background: #c44b4b; }

/* Тойхана — бонустар */
.venue-bonuses { margin-top: 28px; }
.venue-bonuses h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.bonuses-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.bonuses-paid { margin-top: 12px; }
.bonus-tag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.bonus-tag svg { flex-shrink: 0; }
.bonus-tag.free { background: #fbf6e3; color: #92780a; border: 1px solid #efe5b8; }
.bonus-tag.paid { background: #f3f1ed; color: #6b7280; border: 1px solid #e5e7eb; }
.paid-label { font-size: 11px; font-weight: 400; opacity: 0.7; }

/* Асаба бейджи */
.vendor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -8px;
  margin-bottom: 16px;
}
.vendor-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #92780a;
  background: #fbf6e3;
  border-radius: 20px;
}

/* Асаба іс-шара түрлері */
.vendor-event-types {
  margin-top: 32px;
}
.vendor-event-types h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.event-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px 24px;
}
.event-type-item {
  font-size: 15px;
  color: #1a1a1a;
  padding: 4px 0;
}

@media (min-width: 768px) {
  .gallery-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-grid .gallery-item:nth-child(2) { grid-column: span 1; grid-row: span 2; }
  .gallery-grid .gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .gallery-grid .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  .gallery-grid .gallery-item:nth-child(5) { grid-column: 5 / 6; grid-row: 1 / 3; }
}

@media (max-width: 768px) {
  .gallery-overlay { display: flex; align-items: center; justify-content: center; position: absolute; inset: 0; background: rgba(0,0,0,0.45); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 8px; }
  .gallery-grid .gallery-item:nth-child(n+6) { display: none; }
  .gallery-grid .gallery-item:nth-child(2) { grid-column: span 1; grid-row: span 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: 60px 70px 90px; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .event-types-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; gap: 6px; }
  .gallery-item:nth-child(n+3) { display: block; }
  .gallery-main { grid-column: span 2; grid-row: span 2; }
  .gallery-vertical { grid-column: span 1; grid-row: span 1; }
  .gallery-horizontal { grid-column: span 1; grid-row: span 1; }
  .packages-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .vendor-container { padding-bottom: 100px; }
  .cta-buttons { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,0.1); z-index: 100; }
  .cta-buttons .btn { flex: 1; }
  .meta-phone { display: none; }
  .vendor-avatar { width: 60px; height: 60px; }
  .vendor-name { font-size: 20px; }
  .vendor-meta { gap: 20px; }
  .vendor-tagline { font-size: 15px; font-weight: 500; }
  .package-title { font-size: 18px; }
  .package-duration { font-size: 15px; margin-bottom: 0; }
  .package-features li { font-size: 15px; }
  .details-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feature-item { padding: 10px 12px; font-size: 13px; }
  .feature-icon { width: 32px; height: 32px; font-size: 14px; }
}

/* ===== REVIEW FORM ===== */
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.reviews-avg {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}
.reviews-empty {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 24px;
}
.review-text {
    white-space: pre-line;
}
.review-success {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e8f5ec;
    color: #2d7a4f;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    margin-bottom: 20px;
}
.review-form-wrapper {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
    margin-top: 24px;
}
.review-form-wrapper h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}
.review-form .form-group {
    margin-bottom: 16px;
}
.review-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.review-form input[type="text"]:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}
.review-form textarea {
    resize: vertical;
    min-height: 100px;
}
.star-rating-input {
    display: flex;
    gap: 4px;
}
.star-rating-input .star-input {
    cursor: pointer;
    transition: fill 0.15s, transform 0.15s;
}
.star-rating-input .star-input:hover {
    transform: scale(1.15);
}
.review-submit-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.review-submit-btn:hover {
    background: #333;
}
.form-error {
    color: #c44b4b;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* ===== REVIEW MODAL ===== */
.review-open-btn {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s;
    margin-top: 16px;
}
.review-open-btn:hover {
    border-color: #1a1a1a;
}
.review-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.review-modal-overlay.active {
    display: flex;
}
.review-modal {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.review-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.review-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}
.review-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
}
.review-modal-close:hover {
    color: #1a1a1a;
}
.review-form-wrapper {
    display: none;
}

.vendor-videos { margin: 32px 0; }
.vendor-videos h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; color: #1a1a1a; }
.videos-grid { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.videos-grid::-webkit-scrollbar { display: none; }
.video-item { position: relative; flex: 0 0 180px; height: 320px; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; }
.video-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: transparent; border: none; cursor: pointer; transition: opacity 0.2s; }
.video-play-btn:hover { opacity: 0.85; }

/* ===== BLOG ===== */
.post-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0px 20px 80px;
}
.post-container .info-text {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-top: 24px;
}
.post-container .info-text p {
    margin-bottom: 16px;
}
.post-container .info-text img {
    border-radius: 10px;
    margin: 16px 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.blog-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.03);
}
.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
}
.blog-card-body {
    padding: 16px 18px 18px;
}
.blog-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 8px;
}
.blog-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.blog-card-date {
    font-size: 12px;
    color: #9ca3af;
}
@media (max-width: 600px) {
    .post-container { padding: 0px 16px 60px; }
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
}

