﻿.gallery-section { max-width: 1100px; margin: 48px auto; padding: 0 24px; }

  /* MAIN SLIDER */
  .swiper-main {
    width: 100%; border-radius: 12px; overflow: hidden;
    aspect-ratio: 16/7; background: #111;
    box-shadow: 0 8px 40px rgba(26,39,68,.2);
  }
  .swiper-main .swiper-slide { overflow: hidden; }
  .swiper-main .swiper-slide img {
    width: 100%; height: 100%; object-fit: cover;
    cursor: pointer; transition: transform .5s ease; display: block;
  }
  .swiper-main .swiper-slide img:hover { transform: scale(1.03); }

  .swiper-main .swiper-button-next,
  .swiper-main .swiper-button-prev {
    background: rgba(255,255,255,.18) !important;
    backdrop-filter: blur(6px);
    border-radius: 50% !important;
    width: 44px !important; height: 44px !important;
    transition: background .2s;
  }
  .swiper-main .swiper-button-next:hover,
  .swiper-main .swiper-button-prev:hover { background: rgba(255,255,255,.38) !important; }
  .swiper-main .swiper-button-next::after,
  .swiper-main .swiper-button-prev::after { font-size: 16px !important; color: #fff; font-weight: 900; }
  .swiper-pagination-bullet { background: rgba(255,255,255,.6) !important; }
  .swiper-pagination-bullet-active { background: #fff !important; }

  /* THUMBS SWIPER */
  .swiper-thumbs {
    margin-top: 10px;
    height: 90px;
  }
  .swiper-thumbs .swiper-slide {
    width: auto;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: .5;
    outline: 2px solid transparent;
    transition: opacity .25s, outline .25s;
  }
  .swiper-thumbs .swiper-slide img {
    height: 90px;
    width: 140px;
    object-fit: cover;
    display: block;
  }
  .swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    outline: 2px solid var(--red);
  }
  .swiper-thumbs .swiper-slide:hover { opacity: .8; }

  /* LISTING INFO */
  .listing-info {
    margin-top: 32px; background: var(--white);
    border-radius: 12px; padding: 36px 40px;
    box-shadow: 0 2px 16px rgba(26,39,68,.07);
  }
  .listing-info h1 { font-size: 1.9rem; font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
  .listing-info h1 em { color: var(--red); font-style: normal; }
  .listing-info p { font-size: 1rem; line-height: 1.7; color: #555; max-width: 780px; }

  /* LIGHTBOX */
  .lb-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.93); z-index: 9999;
    align-items: center; justify-content: center;
  }
  .lb-overlay.open { display: flex; }
  .lb-inner { position: relative; width: 90vw; max-width: 1100px; }
  .lb-close {
    position: absolute; top: -48px; right: 0;
    background: none; border: none; color: #fff;
    font-size: 2.4rem; cursor: pointer; opacity: .75; transition: opacity .2s;
  }
  .lb-close:hover { opacity: 1; }

  .swiper-lb { width: 100%; border-radius: 10px; overflow: hidden; }
  .swiper-lb .swiper-slide {
    display: flex; align-items: center; justify-content: center; background: #000;
    height: 80vh;
  }
  .swiper-lb .swiper-slide img { max-width: 100%; max-height: 80vh; object-fit: contain; display: block; }

  .swiper-lb .swiper-button-next,
  .swiper-lb .swiper-button-prev {
    background: rgba(255,255,255,.15) !important;
    backdrop-filter: blur(6px);
    border-radius: 50% !important;
    width: 48px !important; height: 48px !important;
  }
  .swiper-lb .swiper-button-next:hover,
  .swiper-lb .swiper-button-prev:hover { background: rgba(255,255,255,.35) !important; }
  .swiper-lb .swiper-button-next::after,
  .swiper-lb .swiper-button-prev::after { font-size: 18px !important; color: #fff; font-weight: 900; }

  .lb-counter {
    text-align: center; color: rgba(255,255,255,.65);
    margin-top: 14px; font-size: .9rem; letter-spacing: 1px;
  }



  .property-detail-header {
            padding: 120px 0 40px;
            background: #f8f9fa;
        }

        .gallery-container {
            margin-bottom: 2rem;
        }

        .swiper-main {
            height: 500px;
            width: 100%;
            border-radius: 30px;
            overflow: hidden;
            margin-bottom: 15px;
            box-shadow: var(--shadow-soft);
        }

        .swiper-main .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            cursor: zoom-in;
        }

        .swiper-nav-btn {
            width: 50px;
            height: 50px;
            background: white !important;
            border-radius: 50%;
            color: var(--primary-color) !important;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        .swiper-nav-btn:after {
            font-size: 20px !important;
            font-weight: bold;
        }

        .swiper-nav-btn:hover {
            background: var(--primary-color) !important;
            color: white !important;
        }

        .swiper-thumbs {
            height: 100px;
            width: 100%;
        }

        .swiper-thumbs .swiper-slide {
            width: 25%;
            height: 100%;
            opacity: 0.4;
            cursor: pointer;
            border-radius: 15px;
            overflow: hidden;
            transition: var(--transition);
            border: 2px solid transparent;
        }

        .swiper-thumbs .swiper-slide-thumb-active {
            opacity: 1;
            border-color: var(--primary-color);
        }

        .swiper-thumbs .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .spec-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: var(--shadow-soft);
            border: 1px solid #f1f3f5;
        }

        .spec-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px dashed #eee;
        }

        .spec-item:last-child {
            border-bottom: none;
        }

        .spec-label {
            color: var(--text-muted);
            font-weight: 500;
        }

        .spec-value {
            font-weight: 700;
            color: var(--primary-color);
        }

        .agent-sidebar-card {
            background: white;
            border-radius: 25px;
            padding: 30px;
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 100px;
        }

        .feature-list-item {
            padding: 10px 15px;
            background: #f8f9fa;
            border-radius: 10px;
            margin-bottom: 10px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .distance-badge {
            display: flex;
            align-items: center;
            padding: 15px;
            background: white;
            border-radius: 15px;
            border: 1px solid #eee;
            margin-bottom: 15px;
        }

        .distance-icon {
            width: 45px;
            height: 45px;
            background: var(--accent-light);
            color: var(--secondary-color);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }