/* Add to <head> (used by the price card): 
<link href="https://fonts.googleapis.com/css2?family=Khand:wght@400;500;600;700&display=swap" rel="stylesheet"> */

:root {
  --orange: #ff8800;
  --orange-dark: #d90000;
  --ink: #121826;
  --muted: #697386;
  --line: #e6e9ee;
  --soft: #f5f6f8;
  --page: #ffffff;
}


.wd-40 {
  width: 40px;
}
.property-page { min-height: 100vh; }
.page-shell { max-width: 1770px; margin: 0 auto; }

.breadcrumb { --bs-breadcrumb-divider: '/'; }
.breadcrumb a { color: #1e293b; text-decoration: none; font-weight: 500; }
.breadcrumb-item.active { color: #ff8800; }

.page-title { font-size: 22px; line-height: 1.2; font-weight: 700; margin: 0 0 7px; }
.property-id { color: #767f8f; font-size: 16px; }
.property-id strong { color: #7c8491; font-weight: 500; }
.property-actions { color: #5e6878; font-size: 16px; }
.icon-btn { border: 0; background: transparent; padding: 2px; color: #4a5568; font-size: 18px; }

.property-media-card {
  position: relative;
  overflow: hidden;
  /* min-height: 340px; */
  border-radius: 12px;
  background: #eef1f4;
  /* height: 385px; */
}
.main-image-btn { border: 0; background: transparent; padding: 0; display: block; width: 100%; height: 100%; }
.main-property-image { width: 100%; height: 100%; min-height: 340px; max-height: 420px; object-fit: cover; display: block; }
.media-pills { position: absolute; left: 22px; bottom: 25px; display: flex; gap: 10px; }
.media-pill {
  display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.9); color: #263044; padding: 9px 13px; box-shadow: 0 3px 14px rgba(15,23,42,.12); font-size: 15px;
}
.media-pill b { font-weight: 600; }
.media-pill:hover { background: #fff; transform: translateY(-1px); }

.document-card, .price-card {
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, .05);
}
.document-card { padding: 17px; display: flex; flex-direction: column; height:185px; }
.document-preview { border-radius: 8px; overflow: hidden; flex: 1; width:45px; animation: pdfFloat 3s ease-in-out infinite;  }
.document-preview img { width: 100%; height: 100%; object-fit: cover; display: block;}
@keyframes pdfFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}
.document-content { padding-top: 12px; }
.document-content h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.document-content p { font-size: 16px; color: #757e8d; margin: 0 0 10px; }
.download-btn {
  height: 42px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--orange); text-decoration: none; background: #fff5f1; border: 1px solid #ffe8de; font-weight: 600;
}
.download-btn:hover { color: var(--orange-dark); background: #ffefe8; }

/* (old .price-card / .price / .price sup rules removed — see PRICE CARD section below) */
.price-note { font-size: 16px; line-height: 1.4; color: #6f6f6f;}
.asset-info { border: 1px solid #dfe3e8; border-radius: 8px; padding: 12px; text-align: left; margin-bottom: 30px; }
.asset-info div { display: flex; align-items: center; gap: 9px; color: #646d7b; font-size: 16px; }
.asset-info div + div { margin-top: 8px; }
.btn-orange { background: var(--orange); box-shadow: 0 8px 18px rgba(217,0,0,.3); border-color: var(--orange); color: #fff; font-weight: 600; }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-outline-orange { border-color: var(--orange); color: var(--orange); font-weight: 600; }
.btn-outline-orange:hover { background: #fff4ef; color: var(--orange-dark); border-color: var(--orange-dark); }

.quick-facts { border-bottom: 1px solid #eef0f2; padding-bottom: 20px; }
.quick-facts span { display: block; font-size: 16px; color: #6f6f6f; margin-bottom: 5px; }
.quick-facts strong { display: block; color: #141a25; }

.detail-section { margin-left: -1rem; margin-right: -1rem; background: #f5f5f5; border-top: 1px solid #e8eaed; padding-bottom: 12px; }
.detail-tabs { background: #f3f3f3; border: 1px solid #dfe3e8; border-radius: 8px; box-shadow:0 0 30px 0 rgba(0, 0, 0, .05); padding-left: 1rem; }
.detail-tabs .nav-link { font-weight: 600; border: 0; border-radius: 0; color: #3d474a; padding: 14px 16px 12px; border-bottom: 2px solid transparent; }
.detail-tabs .nav-link.active { color: var(--orange); background: transparent; border-bottom-color: var(--orange); }
.tab-content { background: #fff; padding: 26px;border-radius: 12px;box-shadow:0 0 30px 0 rgba(0, 0, 0, .05) }
.info-card { background: #fff; padding: 24px 10px; }
.info-card h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.detail-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: 26px; row-gap: 10px; }
.detail-grid dt { font-weight: 400; color: #6f6f6f; }
.detail-grid dd { margin: 0; color: #000000; font-weight: 500; overflow-wrap: anywhere; }

.gallery-modal .modal-dialog { max-width: min(92vw, 1000px); }
.gallery-modal .modal-content { margin-top:0; border: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.gallery-close { position: absolute; right: 20px; top: 18px; z-index: 10; width: 1.2rem; height: 1.2rem; }
.gallery-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(320px, .95fr); gap: 20px; padding: 25px; min-height: 500px; }
.gallery-stage { position: relative; border-radius: 8px; overflow: hidden; background: #0f172a; max-height: 550px; }
.gallery-stage > img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; display: block; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.82); color: #4f5d73; display: grid; place-items: center; font-size: 24px; }
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-sidebar { padding: 3px 2px 0 0; min-width: 0; }
.gallery-sidebar h2 { font-size: 28px; margin: 0 0 14px; font-weight: 600; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-height: 575px; overflow-y: auto; padding-right: 8px; }
.gallery-thumb { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; background: #f2f4f7; aspect-ratio: 1 / 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: #ff3347; }
.gallery-thumbs::-webkit-scrollbar { width: 8px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: #8f8f8f; border-radius: 999px; }
.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.video-stage { position: absolute; inset: 0; background: #0f172a; color: #fff; display: flex; align-items: center; justify-content: center; padding: 26px; z-index: 6; }
.video-placeholder { width: 100%; text-align: center; }
.video-placeholder > i { font-size: 52px; }
.video-placeholder h3 { margin-top: 10px; }
.video-placeholder p { color: #cbd5e1; }
.video-placeholder video { margin-bottom: 45px; max-width: 100%; max-height: 480px; border-radius: 8px; background: #000; }

@media (max-width: 1199.98px) {
  .document-preview { min-height: 190px; }
  .gallery-layout { grid-template-columns: 1.65fr .85fr; padding: 28px; min-height: 620px; }
  .gallery-stage, .gallery-stage > img { min-height: 540px; }
}

@media (max-width: 991.98px) {
  .main-property-image { max-height: 520px; }
  .document-card { min-height: 340px; }
  .gallery-modal .modal-dialog { max-width: 94vw; }
  .gallery-layout { grid-template-columns: 1fr; min-height: 0; padding: 28px; }
  .gallery-stage, .gallery-stage > img { min-height: 420px; max-height: 62vh; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); max-height: 210px; }
  .gallery-sidebar h2 { font-size: 22px; }
}

@media (max-width: 767.98px) {
  .page-title { font-size: 20px; }
  .property-actions { width: 100%; justify-content: flex-start; }
  .property-media-card, .main-property-image { min-height: 280px; }
  .main-property-image { height: 340px; }
  .detail-grid { grid-template-columns: 1fr; row-gap: 5px; }
  .detail-grid dt { margin-top: 8px; }
  .detail-grid dd { padding-bottom: 4px; }
  .info-card { padding: 20px; }
  .detail-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .detail-tabs .nav-link { white-space: nowrap; }
  .gallery-layout { padding: 22px 16px 16px; gap: 14px; }
  .gallery-stage, .gallery-stage > img { min-height: 320px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery-close { right: 12px; top: 12px; }
}

@media (max-width: 575.98px) {
  body { font-size: 13px; }
  .main-property-image { height: 290px; }
  .media-pills { left: 12px; bottom: 12px; gap: 7px; }
  .media-pill { padding: 6px 10px; font-size: 12px; }
  .gallery-modal .modal-dialog { margin: .5rem; max-width: calc(100vw - 1rem); }
  .gallery-layout { padding: 18px 10px 12px; }
  .gallery-stage, .gallery-stage > img { min-height: 260px; }
  .gallery-sidebar h2 { font-size: 19px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); max-height: 230px; }
  .gallery-arrow { width: 38px; height: 38px; font-size: 18px; }
}


/*====auction list page css start=====*/

  .notice-section {
            padding: 50px 4%;
        }

        .notice-card {
            background: #ffffff;
            min-height: 155px;
            padding: 24px 24px 24px 25px;
            display: flex;
            align-items: flex-start;
            gap: 16px;
            box-shadow: 0 0 30px 0 rgba(0, 0, 0, .05);
            height: 100%;
            border-radius: 5px;
            transition: .2s;
        }
        .notice-card:hover {
            transform: translateY(-4px);

        }
        

        .notice-icon {
            position: relative;
            width: 45px;
            height: 45px;
            min-width: 45px;
            border-radius: 50%;
            background: #ff8800;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 25px;
            padding: 15px;
            box-shadow: 0 8px 18px rgba(217,0,0,.3);

        }

        .notice-content {
            flex: 1;
            min-width: 0;
            padding-top: 6px;
        }

        .notice-title {
            color: #000;
            font-size: 18px;
            line-height: 1.8;
            font-weight: 400;
            margin: 0;
        }

        .notice-subtitle {
            display: block;
            font-style: italic;
            margin-top: 2px;
        }

        .view-btn {
            background: #ff8800;
            border: none;
            color: #fff;
            padding: 8px 16px;
            font-size: 16px;
            min-width: 73px;
            transition: 0.2s ease;
            margin-left: auto;
            box-shadow: 0 8px 18px rgba(217,0,0,.3);
        }

        .view-btn:hover {
            background: #d90000;
            color: #fff;
        }

        @media (max-width: 1199.98px) {
            .notice-card {
                min-height: 145px;
            }
        }

        @media (max-width: 767.98px) {
            .notice-section {
                padding: 25px 15px;
            }

            .notice-card {
                padding: 20px;
                min-height: auto;
            }

            .notice-title {
                font-size: 16px;
                line-height: 1.65;
            }

            .notice-icon {
                width: 50px;
                height: 50px;
                min-width: 50px;
                font-size: 21px;
            }

            .view-btn {
                padding: 7px 13px;
                font-size: 14px;
                min-width: auto;
            }
        }

        @media (max-width: 480px) {
            .notice-card {
                gap: 12px;
                padding: 16px;
            }

            .notice-icon {
                width: 44px;
                height: 44px;
                min-width: 44px;
            }

            .view-btn {
                padding: 6px 10px;
            }
        }



          .bullhorn {
      font-size: 27px;
      position: relative;
      z-index: 2;
      animation: bullhornPulse 2.5s ease-in-out infinite;
    }

    @keyframes bullhornPulse {
      0%, 70%, 100% { transform: scale(1) rotate(0deg); }
      78% { transform: scale(1.18) rotate(-5deg); }
      84% { transform: scale(1.08) rotate(4deg); }
      90% { transform: scale(1) rotate(0deg); }
    }

    .notice-icon::before,
    .notice-icon::after {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      border: 2px solid #ff7900;
      border-radius: 50%;
      opacity: 0;
      pointer-events: none;
      animation: noticeRipple 2.5s ease-out infinite;
    }

    .notice-icon::after {
      animation-delay: .35s;
    }

    @keyframes noticeRipple {
      0%, 65% {
        transform: scale(1);
        opacity: 0;
      }
      70% {
        transform: scale(1);
        opacity: .55;
      }
      100% {
        transform: scale(1.65);
        opacity: 0;
      }
    }

    .sound-wave {
      position: absolute;
      border: 2px solid #ff7900;
      border-left: 0;
      border-bottom: 0;
      border-radius: 50%;
      opacity: 0;
    }

    .wave-1 {
      width: 18px;
      height: 18px;
      right: -7px;
      top: 12px;
      display: none;
    }

    .wave-2 {
      width: 27px;
      height: 27px;
      right: -13px;
      top: 7px;
      display: none;
    }

    @keyframes waveAnimation {
      0%, 75%, 100% { opacity: 0; transform: scale(.7); }
      80% { opacity: .8; transform: scale(1); }
      90% { opacity: 0; transform: scale(1.3); }
    }

     @media (prefers-reduced-motion: reduce) {
      .bullhorn, .sound-wave { animation: none; }
    }



    .auction-properties-cta {
    /* max-width: 900px; */
    margin: 40px auto 20px;
    padding: 22px 25px;

    background: #fff;
    border-radius: 7px;
    border-left: 4px solid #ff8800;

    display: flex;
    align-items: center;
    gap: 18px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.auction-cta-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #ff8800;
    color: #fff;

    font-size: 24px;

    box-shadow: 0 10px 20px rgba(255, 121, 0, 0.25);
}

.auction-cta-content {
    flex: 1;
}

.auction-cta-content h4 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 600;
    color: #444444;
}

.auction-cta-content p {
    margin: 0;
    font-size: 15px;
    color: #6F6F6F;
}

.auction-cta-btn {
    background: #ff8800;
    color: #fff !important;

    padding: 11px 20px;
    border-radius: 5px;

    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    transition: 0.3s ease;
}

.auction-cta-btn:hover {
    background: #e96f00;
    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(255, 121, 0, 0.25);
}


/* Mobile */
@media (max-width: 767px) {

    .auction-properties-cta {
        margin-top: 25px;
        padding: 18px;

        flex-direction: column;
        text-align: center;
    }

    .auction-cta-content h4 {
        font-size: 18px;
    }

    .auction-cta-content p {
        font-size: 14px;
    }

    .auction-cta-btn {
        width: 100%;
        justify-content: center;
    }
}


/*====================================================
  Additions for reference-layout update
  (inline carousel/thumbnails, back-link, fact-cards)
====================================================*/

/* Breadcrumb row / back link */
.back-link { color: var(--orange); font-weight: 500; text-decoration: underline; font-size: 17px; }
.back-link:hover { color: var(--orange-dark); }
.property-actions span { font-size: 15px; color: #6f6f6f; }
.property-actions strong { color: #1a2230; font-weight: 600; }

/* Inline gallery stage (arrows + counter over the main image) */
.media-stage { position: relative; }
.gallery-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.85); color: #4f5d73;
  display: grid; place-items: center; font-size: 18px;
}
.gallery-nav-arrow:hover { background: #fff; }
.gallery-nav-prev { left: 16px; }
.gallery-nav-next { right: 16px; }

.counter-badge {
  position: absolute; left: 22px; top: 20px; z-index: 4;
  background: rgba(0,0,0,.6); color: #fff; font-size: 13px;
  padding: 4px 12px; border-radius: 999px;
}

/* Inline thumbnail strip below the main image */
.inline-thumb-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.inline-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: #eef1f4;
  overflow: hidden;
  height: 68px;
  cursor: pointer;
}
.inline-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inline-thumb.active { border-color: var(--orange); }
.inline-thumb.play-thumb {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; background: #fff4ea; color: var(--orange-dark);
}
.inline-thumb.play-thumb .play-circle {
  width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}
.inline-thumb.play-thumb small { font-size: 11px; font-weight: 600; }

/* Quick-fact icon cards */
.fact-card {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  /* align-items: center; */
  gap: 12px;
  height: 100%;
}
.fact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: #fff4ea; color: var(--orange);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.fact-icon i {
  margin: 8px 10px;
  font-size: 22px;
  color:#ff8800;
}
.fact-card span { display: block; font-size: 18px; color: #6f6f6f; margin-bottom: 2px; }
.fact-card strong { display: block; font-size: 16px; color: #141a25; }

/* Restyle detail tabs as pill buttons (kept inside existing .detail-tabs wrapper) */
.detail-tabs { display: flex; gap: 6px; padding: 6px; }
.detail-tabs .nav-link {
  border-radius: 8px;
  padding: 10px 16px;
  border-bottom: 0;
  display: flex; align-items: center;
}
.detail-tabs .nav-link.active {
  background: var(--orange);
  color: #fff;
  border-bottom: 0;
}

@media (max-width: 575.98px) {
  .inline-thumb-row { grid-template-columns: repeat(3, 1fr); }
}


/*====================================================
  PRICE CARD (SIDEBAR) — consolidated final version
  Replaces all earlier sidebar / price-card rules.
  (Remove the font-family line to use your site font.)
====================================================*/

.price-card {
  --pc-orange: #ff7a00;
  --pc-orange-light: #ff9a2e;
  --pc-text: #2b2f36;
  --pc-muted: #7a808a;
  --pc-panel: #f5f5f5;
  --pc-line: #e6e6e6;

  font-family: 'Khand', system-ui, sans-serif;
  color: var(--pc-text);
  background: #fff;
  border: 1px solid #edeef1;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

/* Price */
.price-card .price-label { font-size: 16px; color: #6f6f6f; line-height: 1; }
.price-card .price {
  font-size: 28px; font-weight: 700; color: #ff8800;
  line-height: 1.2; margin: 4px 0 0;
}
.price-card .price sup { font-size: 20px; top: -.3em; color: #ff8800; }

/* Schedule: two equal boxes, date + time stacked */
.price-card .schedule-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px;
}
.price-card .schedule-box {
  background: #f3f3f3; border: 1px solid var(--pc-line);
  border-radius: 10px; padding: 14px; min-width: 0;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}
.price-card .schedule-box:hover { transform: translateY(-2px); background: #fff4ea; border-color: #f2dfcd; }
.price-card .schedule-box h3 {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 600; color: #3D474A;
}
.price-card .schedule-box h3 i { color: var(--pc-orange); font-size: 18px; }
.price-card .schedule-date { font-size: 22px; font-weight: 600; margin-top: 10px; line-height: 1.1; color: #3D474A; }
.price-card .schedule-time { font-size: 16px; color: #6f6f6f; margin-top: 2px; }

/* Buttons */
.price-card .card-actions { margin-top: 24px; }
.price-card .btn-interested,
.price-card .btn-contact {
  height: 48px; padding: 0 18px; border-radius: 10px;
  font: 600 18px/1 'Khand', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.price-card .btn-interested {
  border: 0; color: #fff;
  background: #ff8800;
  box-shadow: 0 6px 16px rgba(255, 122, 0, .3);
}
.price-card .btn-interested:hover {
  color: #fff;
  background: linear-gradient(90deg, rgb(255, 138, 5) 0%, rgb(233, 111, 0) 100%);
}
.price-card .btn-contact {
  background: #fff; color: var(--pc-orange); border: 1.5px solid var(--pc-orange);
}
.price-card .btn-contact:hover { background: var(--pc-orange); color: #fff; border-color: var(--pc-orange); }

.price-card .contact-list { background: var(--pc-panel); border: 0; border-radius: 12px; font-size: 17px; margin-top: 8px; }
.price-card .contact-list a { color: var(--pc-text); text-decoration: none; }
.price-card .contact-list a:hover { color: var(--pc-orange); }

/* Documents */
.price-card .doc-divider { border: 0; border-top: 1px solid var(--pc-line); margin: 21px 0; opacity: 1; }
.price-card .doc-mini-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #f3f3f3; border-radius: 12px; padding: 14px;
}
.price-card .doc-mini-row + .doc-mini-row { margin-top: 12px; }
.price-card .doc-mini-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.price-card .pdf-icon-badge { flex: none; width: 48px; display: flex; }
.price-card .pdf-icon-badge img { width: 100%; height: auto; }
.price-card .doc-text { min-width: 0; }
.price-card .doc-text h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.1;}
.price-card .doc-text p { margin: 2px 0 0; font-size: 14px; color: #6f6f6f; }
.price-card .download-btn {
  flex: none; height: auto; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 16px; color: #ff8800;
  background: #fff; border: 1px solid #f0d9c8;
  border-radius: 10px; padding: 6px 16px; text-decoration: none;
}
.price-card .download-btn:hover { background: #ff8800; color: #fff; }

.price-card a:focus-visible,
.price-card button:focus-visible { outline: 3px solid #ff8800; outline-offset: 2px; }

@media (max-width: 575.98px) {
  .price-card { padding: 20px; }
  .price-card .price { font-size: 30px; }
}
@media (max-width: 400px) {
  .price-card .doc-mini-row { flex-wrap: wrap; }
  .price-card .download-btn { width: 100%; justify-content: center; }
}
@media (max-width: 359.98px) {
  .price-card .schedule-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   PROPERTY DETAIL — SUBTLE UI/UX MOTION LAYER
   ========================================================= */

/* Smooth interactions on existing elements */
.property-media-card,
.fact-card,
.price-card,
.doc-mini-row,
.auction-properties-cta {
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

/* Initial content reveal */
.property-page .breadcrumb,
.property-page .property-actions {
  animation: propertyFadeDown .45s ease both;
}

.property-page .title,
.property-page .property-id {
  animation: propertyFadeUp .5s .04s ease both;
}

.property-media-card {
  animation: propertyFadeUp .58s .08s ease both;
}

.quick-facts {
  animation: propertyFadeUp .58s .14s ease both;
}

.price-card {
  animation: propertyFadeLeft .58s .12s ease both;
}

.detail-section {
  animation: propertyFadeUp .58s .18s ease both;
}

.auction-properties-cta {
  animation: propertyFadeUp .58s .22s ease both;
}

@keyframes propertyFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes propertyFadeDown {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes propertyFadeLeft {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Main property image — tiny premium zoom only */
.media-stage {
  overflow: hidden;
}

.main-property-image {
  transition: transform .65s cubic-bezier(.2,.75,.25,1);
  will-change: transform;
}

.property-media-card:hover .main-property-image {
  transform: scale(1.012);
}

/* Gallery navigation */
.gallery-nav-arrow,
.gallery-arrow {
  transition:
    background-color .22s ease,
    box-shadow .22s ease,
    opacity .22s ease;
}

.gallery-nav-arrow i,
.gallery-arrow i {
  display: inline-block;
  transition: transform .22s ease;
}

.gallery-nav-prev:hover i,
.gallery-prev:hover i {
  transform: translateX(-2px);
}

.gallery-nav-next:hover i,
.gallery-next:hover i {
  transform: translateX(2px);
}

.gallery-nav-arrow:hover,
.gallery-arrow:hover {
  box-shadow: 0 5px 16px rgba(15,23,42,.13);
}

/* Image/video pills */
.media-pill {
  transition:
    transform .22s ease,
    background-color .22s ease,
    box-shadow .22s ease;
}

.media-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15,23,42,.14);
}

/* Quick facts */
.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15,23,42,.07);
}

.fact-icon {
  transition: transform .28s ease;
}

.fact-card:hover .fact-icon {
  transform: translateY(-2px);
}

/* Sidebar card */
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15,23,42,.07);
}

/* Main CTA — movement + very subtle light sweep */
.btn-interested {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

.btn-interested::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60px;
  width: 34px;
  background: rgba(255,255,255,.22);
  transform: skewX(-20deg);
  transition: left .52s ease;
  pointer-events: none;
  z-index: -1;
}

.btn-interested:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255,122,0,.30);
}

.btn-interested:hover::after {
  left: calc(100% + 45px);
}

.btn-interested:active,
.btn-contact:active,
.download-btn-sm:active,
.auction-cta-btn:active {
  transform: translateY(0) scale(.985);
}

/* Contact and download controls */
.btn-contact,
.download-btn-sm {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.btn-contact:hover,
.download-btn-sm:hover {
  transform: translateY(-2px);
}

.download-btn-sm:hover {
  box-shadow: 0 5px 14px rgba(15,23,42,.06);
}

/* Document rows */
.doc-mini-row:hover {
  transform: translateX(3px);
  box-shadow: 0 5px 16px rgba(15,23,42,.055);
}

.pdf-icon-badge {
  transition: transform .28s ease;
}

.doc-mini-row:hover .pdf-icon-badge {
  transform: scale(1.045);
}

/* Existing Bootstrap tabs: preserve behavior, animate only presentation */
.detail-tabs .nav-link {
  transition:
    background-color .22s ease,
    color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.detail-tabs .nav-link:not(.active):hover {
  transform: translateY(-1px);
}

/* Bootstrap applies .show to the newly selected pane */
#propertyTabContent .tab-pane.show {
  animation: propertyTabReveal .34s ease both;
}

@keyframes propertyTabReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bottom properties CTA */
.auction-properties-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 30px rgba(0,0,0,.075);
}

.auction-cta-icon {
  transition: transform .28s ease;
}

.auction-properties-cta:hover .auction-cta-icon {
  transform: scale(1.055);
}

.auction-cta-btn i {
  display: inline-block;
  transition: transform .22s ease;
}

.auction-cta-btn:hover i {
  transform: translateX(3px);
}

/* Modal thumbnails */
.gallery-thumb {
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0,0,0,.12);
}

/* Keyboard accessibility */
.gallery-nav-arrow:focus-visible,
.gallery-arrow:focus-visible,
.media-pill:focus-visible,
.btn-interested:focus-visible,
.btn-contact:focus-visible,
.download-btn-sm:focus-visible,
.detail-tabs .nav-link:focus-visible,
.auction-cta-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Accessibility: remove non-essential motion when requested */
@media (prefers-reduced-motion: reduce) {
  .property-page .breadcrumb,
  .property-page .property-actions,
  .property-page .title,
  .property-page .property-id,
  .property-media-card,
  .quick-facts,
  .price-card,
  .detail-section,
  .auction-properties-cta,
  #propertyTabContent .tab-pane.show {
    animation: none !important;
  }

  .property-media-card,
  .fact-card,
  .price-card,
  .price-card .schedule-box,
  .doc-mini-row,
  .auction-properties-cta,
  .main-property-image,
  .gallery-nav-arrow,
  .gallery-arrow,
  .gallery-nav-arrow i,
  .gallery-arrow i,
  .media-pill,
  .fact-icon,
  .btn-interested,
  .btn-interested::after,
  .btn-contact,
  .download-btn-sm,
  .pdf-icon-badge,
  .detail-tabs .nav-link,
  .auction-cta-icon,
  .auction-cta-btn i,
  .gallery-thumb {
    transition: none !important;
  }

  .property-media-card:hover .main-property-image,
  .fact-card:hover,
  .price-card:hover,
  .price-card .schedule-box:hover,
  .doc-mini-row:hover,
  .auction-properties-cta:hover,
  .auction-properties-cta:hover .auction-cta-icon,
  .gallery-thumb:hover {
    transform: none !important;
  }
}


/* View All Properties — same premium shine interaction as Interested CTA */
.auction-cta-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

.auction-cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60px;
  width: 34px;
  background: rgba(255,255,255,.22);
  transform: skewX(-20deg);
  transition: left .52s ease;
  pointer-events: none;
  z-index: -1;
}

.auction-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255,122,0,.30);
}

.auction-cta-btn:hover::after {
  left: calc(100% + 45px);
}

@media (prefers-reduced-motion: reduce) {
  .auction-cta-btn,
  .auction-cta-btn::after {
    transition: none !important;
  }
}


/* =========================================================
   PROPERTY DETAIL TABS — REFINED CONTENT LAYOUT
   Only the content inside the existing tabs is affected.
   ========================================================= */

.detail-content-card {
  padding: 6px 10px 12px;
}

.detail-content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 0 20px;
  border-bottom: 1px solid #eef0f2;
  margin-bottom: 22px;
}

.detail-content-header h2 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 600;
  color: #3D474A;
  text-transform: uppercase;
}

.detail-content-header p {
  margin: 0;
  color: #6f6f6f;
  font-size: 18px;
  line-height: 1.5;
}

.detail-group {
  margin-bottom: 24px;
}

.detail-group-title {
  margin: 0 0 10px;
  color: #737b86;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.detail-grid-box {
  grid-template-columns: minmax(210px, 27%) minmax(0, 1fr);
  column-gap: 0;
  row-gap: 0;
  overflow: hidden;
  border: 1px solid #d5dbe0;
  border-radius: 8px;
  background: #fff;
}
.detail-grid-box-modal {
  grid-template-columns: minmax(145px, 27%) minmax(0, 1fr) !important;
}

.detail-grid-box dt,
.detail-grid-box dd {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid #d5dbe0;
  transition: background-color .2s ease;
}

.detail-grid-box dt {
  color: #444444;
  background: #fafafa;
  font-weight: 400;
}

.detail-grid-box dd {
  color: #444444;
  font-weight: 500;
}

.detail-grid-box dt:last-of-type,
.detail-grid-box dd:last-of-type {
  border-bottom: 0;
}

.detail-grid-box dt:hover,
.detail-grid-box dt:hover + dd,
.detail-grid-box dt:has(+ dd:hover),
.detail-grid-box dd:hover {
  background-color: #fff4ea;
}

.detail-address-box {
  padding: 14px 16px;
  border: 1px solid #e8eaee;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 10px;
  transition: background-color .2s ease, border-color .2s ease;
}

.detail-address-box:hover {
  background: #fff4ea;
  border-color: #f2dfcd;
}

.detail-address-box span,
.detail-location-grid dt {
  display: block;
  margin: 0 0 5px;
  color: #7b838e;
  font-size: 13px;
  font-weight: 400;
}

.detail-address-box strong,
.detail-location-grid dd {
  display: block;
  margin: 0;
  color: #3D474A;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.detail-location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-location-grid > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e8eaee;
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.detail-location-grid > div:hover {
  transform: translateY(-2px);
  background: #fff4ea;
  border-color: #f2dfcd;
}

.detail-price-row {
  margin-top: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #f3ddc8;
  border-radius: 8px;
  background: #fff4ea;
}

.detail-price-row span {
  color: #6f7782;
  font-size: 14px;
}

.detail-price-row strong {
  color: var(--orange);
  font-size: 18px;
  font-weight: 800;
}

/* Responsive behavior for the redesigned content only */
@media (max-width: 991.98px) {
  .detail-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .detail-content-card {
    padding: 4px 0 8px;
  }

  .detail-grid-box {
    display: block;
  }

  .detail-grid-box dt,
  .detail-grid-box dd {
    min-height: auto;
    border-bottom: 0;
  }

  .detail-grid-box dt {
    padding: 12px 14px 3px;
  }

  .detail-grid-box dd {
    padding: 3px 14px 12px;
    border-bottom: 1px solid #eef0f2;
  }

  .detail-grid-box dd:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .detail-content-header {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }

  .detail-content-header h2 {
    font-size: 18px;
  }

  .detail-location-grid {
    grid-template-columns: 1fr;
  }

  .detail-price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-grid-box dt,
  .detail-grid-box dd,
  .detail-address-box,
  .detail-location-grid > div {
    transition: none !important;
  }

  .detail-location-grid > div:hover {
    transform: none !important;
  }
}


/* =========================================================
   AUCTION CARD / PAGE
   ========================================================= */

.auction-card{overflow:hidden;animation:fadeUp .5s ease both}
.auction-header{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:26px 28px;border-bottom:1px solid var(--line)}
.auction-eyebrow,.label{display:block;color:#3D474A;font-size:17px;font-weight:600;text-transform:uppercase;letter-spacing:.6px}
.auction-header h1{font-size:25px;margin:5px 0 7px}.auction-header p{margin:0;color:#6F6F6F;font-size:14px}.dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#aaa;margin:0 7px 3px}
.reserve-box{text-align:right;padding:12px 16px;background:#fff4ea;border:1px solid #f6dfc9;border-radius:9px;min-width:185px}
.reserve-box span{display:block;font-size:18px;color:#444444;}.reserve-box strong{font-size:25px;color:var(--orange);font-weight:600;}
.auction-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 28px;background:#fff;border-bottom:1px solid var(--line)}
.summary-item{display:flex;gap:12px;align-items:flex-start;padding:14px;background:#fafafa;;border:1px solid var(--line);border-radius:9px;transition:.25s}
.summary-item:hover{transform:translateY(-2px);background:#fff4ea;}
.summary-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #f0d9c8;border-radius:8px;background:#fff;color:var(--orange);flex:0 0 38px}
.summary-item strong,.summary-item small{display:block}.summary-item strong{color:#444444;font-size:18px;margin:5px 0 3px}.summary-item small{font-size:18px;color:#444444}
.content-section{padding:26px 28px;border-bottom:1px solid var(--line)}.content-section:last-child{border-bottom:0}.content-section.compact{padding-top:22px;padding-bottom:22px}
.section-heading{margin-bottom:17px}.section-heading h2{text-transform:uppercase;margin:0 0 5px;font-size:19px}.section-heading p{margin:0;color:#6F6F6F;font-size:18px}
.address-box{background: #fafafa;border:1px solid var(--line);border-radius:9px;padding:16px;margin-bottom:12px;transition:.22s}.address-box:hover{background:#fff4ea;border-color:#f2dfcd}.address-box p{margin:7px 0 0;font-size:18px;line-height:1.75;font-weight:500;color:#444444;}
.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.detail-item,.boundary-grid>div{background: #fafafa;border:1px solid var(--line);border-radius:8px;padding:13px 14px;transition:.22s}.detail-item:hover,.boundary-grid>div:hover{transform:translateY(-2px);background:#fff4ea;border-color:#f2dfcd}.detail-item strong{color:#444444;display:block;margin-top:5px;font-size:18px}
.detail-grid2{display: grid;} .detail-grid2.detail-grid-box dd {margin-bottom:0;}
.group-title{margin:0 0 12px;font-size:18px;letter-spacing:.7px;text-transform:uppercase}
.boundary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.boundary-grid span{display:block;color:#3D474A;font-size:17px;font-weight:600;margin-bottom:5px;text-transform:uppercase;}.boundary-grid strong{font-size:18px;color:#444444;}
.info-list{background: #fafafa;border:1px solid var(--line);border-radius:9px;overflow:hidden}.info-row{display:grid;grid-template-columns:190px 1fr;gap:20px;padding:13px 16px;border-bottom:1px solid #d5dbe0;}.info-row:last-child{border-bottom:0}.info-row span{color:#3D474A;font-size:18px;font-weight:600;}.info-row strong{font-size:18px;color:#444444;line-height:1.55}
.dues-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dues-list>div{padding:14px;border:1px solid var(--line);border-radius:8px;background:#fafafa;}.dues-list span,.dues-list strong,.dues-list small{display:block}.dues-list span{font-size:17px;color:#3D474A;font-weight:600;text-transform:uppercase;}.dues-list strong{color:#444444;font-size:18px;margin:7px 0 4px}.dues-list small{font-size:15px;color:#444444;}
.documents{display:grid;gap:9px}.document-row{display:flex;align-items:center;gap:13px;padding:12px 14px;background:#f7f7f7;border:1px solid #e6e9ee;border-radius:9px;text-decoration:none;color:var(--ink);transition:.22s}.document-row:hover{transform:translateX(3px);background:#fff4ea;border-color:#f2dfcd;box-shadow:0 5px 16px rgba(0,0,0,.04)}
.pdf-badge{display:grid;place-items:center;width:42px;height:42px;}.document-copy{flex:1}.document-copy strong,.document-copy small{display:block}.document-copy strong{font-size:18px;color:#3D474A;font-weight:600;}.document-copy small{font-size:16px;color:#444444;margin-top:3px}.document-action{font-size:16px;font-weight:600;color:var(--orange)}.document-action b{display:inline-block;margin-left:5px;transition:.2s}.document-row:hover .document-action b{transform:translateX(3px)}
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:900px){.auction-summary{grid-template-columns:1fr}.detail-grid{grid-template-columns:repeat(2,1fr)}.dues-list{grid-template-columns:1fr}}
@media(max-width:600px){.auction-page{padding:18px 10px}.auction-header{align-items:stretch;flex-direction:column;padding:20px}.reserve-box{text-align:left}.auction-summary,.content-section{padding-left:18px;padding-right:18px}.detail-grid,.boundary-grid{grid-template-columns:1fr}.info-row{grid-template-columns:1fr;gap:5px}.document-action{font-size:0}.document-action b{font-size:18px} .detail-grid2 {display: block;}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.summary-item:hover,.detail-item:hover,.boundary-grid>div:hover,.document-row:hover{transform:none!important}}



/* ===== Reserve box animation 2 (starts on scroll): rotating border + coin drop + odometer =====
   Paste at the VERY END of auction-new.css (after the AUCTION CARD section).
   Replace any earlier reserve-box animation CSS you pasted. */

@property --a {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.reserve-box {
  /* 2px transparent border shows the rotating gradient; padding reduced by 1px
     to keep the same overall size as your 1px border */
  /* padding: 11px 15px; */
  /* border: 2px solid transparent; */
  border-radius: 10px;
  background:
    linear-gradient(#fff4ea, #fff4ea) padding-box,
    conic-gradient(from var(--a), #ffd9a8, #ff8800, #ffd9a8, #ff8800, #ffd9a8) border-box;
  transition: transform .25s ease, box-shadow .25s ease;
}

.reserve-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 136, 0, .22);
}

/* --- Before the box scrolls into view (JS adds .reveal-ready, then .in-view) ---
   Without JS none of this applies and the box simply shows normally. */
.reserve-box.reveal-ready:not(.in-view) { opacity: 0; }
.reserve-box.reveal-ready:not(.in-view) .coin-icon { opacity: 0; }

/* --- Animations only run once .in-view is added --- */
.reserve-box.in-view {
  animation:
    reserveSpin 4s linear infinite,
    reservePop .6s cubic-bezier(.3, 1.5, .5, 1) backwards;
}

.reserve-box.in-view .coin-icon {
  animation: reserveDrop .8s cubic-bezier(.4, 0, .6, 1) .25s backwards;
}

@keyframes reserveSpin { to { --a: 360deg; } }

@keyframes reservePop {
  from { opacity: 0; transform: scale(.7); }
  to   { opacity: 1; transform: none; }
}

@keyframes reserveDrop {
  0%   { opacity: 0; transform: translateY(-46px); }
  55%  { opacity: 1; transform: translateY(0) scale(1.08, .9); }
  75%  { transform: translateY(-6px) scale(.97, 1.03); }
  100% { opacity: 1; transform: none; }
}

/* odometer price
   (digits are <b> tags on purpose: your ".reserve-box span" rule would restyle spans) */
.reserve-box strong {
  display: inline-flex;
  align-items: center;
  gap: .28em;
  line-height: 1.1;
}

.reserve-box strong .odo {
  display: inline-flex;       /* beats ".reserve-box span { display:block }" */
  font: inherit;
  color: inherit;
  line-height: 1.1;
}

.reserve-box .odo .digit {
  display: inline-block;
  height: 1.1em;
  overflow: hidden;           /* width = widest digit, so the box never resizes */
  text-align: center;
  font-weight: inherit;
}

.reserve-box .odo .strip {
  display: flex;
  flex-direction: column;
  font-weight: inherit;
}

.reserve-box .odo .strip b {
  display: block;
  height: 1.1em;
  line-height: 1.1;
  font-weight: inherit;
}

.reserve-box .odo .sep {
  font-weight: inherit;
  line-height: 1.1;
}
.price {
  text-align: left;
  background: #fff;
  border: none;
}
.price:hover{
  box-shadow: none;
  transform: none;
}
.price strong {
  font-size: 29px;
  font-weight: 700;
  gap: 5px;
}
/* ===== Modal animations: #auctionDocs, #contactUs, #mailId ===== */

/* 1. Springy open, quick close (replaces Bootstrap's slide-down) */
:is(#auctionDocs,#contactUs,#mailId).fade .modal-dialog{
  transform: translateY(28px) scale(.92);
  transition: transform .25s ease;
}
:is(#auctionDocs,#contactUs,#mailId).show .modal-dialog{
  transform: none;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}

/* 2. Content appears in sequence every time the modal opens */
:is(#auctionDocs,#contactUs,#mailId).show .detail-content-header{
  animation: fadeUp .45s ease .15s backwards;      /* fadeUp already exists in your CSS */
}
:is(#contactUs,#mailId).show .detail-grid-box{
  animation: fadeUp .5s ease .3s backwards;
}
#auctionDocs.show .document-row{
  animation: docSlide .5s cubic-bezier(.2,.8,.2,1) backwards;
}
#auctionDocs.show .document-row:nth-child(1){animation-delay:.25s}
#auctionDocs.show .document-row:nth-child(2){animation-delay:.37s}
#auctionDocs.show .document-row:nth-child(3){animation-delay:.49s}

@keyframes docSlide{
  from{opacity:0;transform:translateX(-24px)}
  to{opacity:1;transform:none}
}

/* 3. PDF icon tilts when a row is hovered */
.pdf-badge{transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.document-row:hover .pdf-badge{transform:rotate(-8deg) scale(1.1)}

/* 4. "View Document →" arrow slides further, with a spring */
.document-action b{transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.document-row:hover .document-action b{transform:translateX(8px)}

/* 5. Close button rotates on hover */
.modal .pop-up-close{padding: 5px 8px;border-radius: 0 8px 0 8px;transition:transform .3s ease;}
.modal .pop-up-close:hover{transform:rotate(90deg);background: #ff8800; color: #fff;border-radius: 5px 0 8px 0;}

/* Orange bar on document rows (Auction Documents modal) */
.document-row{
  position:relative;
  overflow:hidden;              /* clips the bar to the rounded corners */
}
.document-row::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background:#ff8800;
  transform:scaleY(0);          /* hidden until hover */
  transform-origin:center;
  transition:transform .25s ease;
}
.document-row:hover::before,
.document-row:focus-visible::before{
  transform:scaleY(1);          /* grows from the middle outward */
}



/* ========== GALLERY ANIMATIONS ========== */

/* Gallery modal zooms in when opened */
.gallery-modal.fade .modal-dialog{
  transform: scale(.94) translateY(16px);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.gallery-modal.show .modal-dialog{ transform:none; }

/* Thumbnails pop in one after another */
.gallery-modal.show .gallery-thumb{
  animation: thumbIn .4s cubic-bezier(.2,.8,.2,1) backwards;
}
.gallery-modal.show .gallery-thumb:nth-child(1){animation-delay:.15s}
.gallery-modal.show .gallery-thumb:nth-child(2){animation-delay:.20s}
.gallery-modal.show .gallery-thumb:nth-child(3){animation-delay:.25s}
.gallery-modal.show .gallery-thumb:nth-child(4){animation-delay:.30s}
.gallery-modal.show .gallery-thumb:nth-child(5){animation-delay:.35s}
.gallery-modal.show .gallery-thumb:nth-child(6){animation-delay:.40s}
.gallery-modal.show .gallery-thumb:nth-child(n+7){animation-delay:.45s}
@keyframes thumbIn{
  from{ opacity:0; transform:scale(.85); }
}

/* Active thumbnail stands out, the others are dimmed */
.gallery-thumb{
  opacity:.7;
  transition: opacity .25s, transform .2s, border-color .25s, box-shadow .25s;
}
.gallery-thumb:hover{ opacity:1; }
.gallery-thumb.active{
  opacity:1;
  border-color:var(--orange);              /* replaces your red #ff3347 */
  box-shadow:0 0 0 3px rgba(255,136,0,.25);
}

/* Arrow press feedback */
.gallery-arrow:active{ transform:translateY(-50%) scale(.92); }

/* Inline gallery arrows fade in on hover (desktop only) */
@media (hover:hover){
  .gallery-nav-arrow{ opacity:0; }
  .media-stage:hover .gallery-nav-arrow,
  .gallery-nav-arrow:focus-visible{ opacity:1; }
}

/* Photo slides in from the direction you navigated */
.img-in{ animation: imgIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes imgIn{
  from{ opacity:0; transform:translateX(var(--dx,0)) scale(1.03); }
}

/* Video panel fades in */
.video-stage:not(.d-none){ animation: fadeUp .35s ease both; }


/* ========== SHINE ON IMAGE HOVER ========== */

/* Main property image (inline gallery) */
.main-image-btn{
  position:relative;
  overflow:hidden;                 /* keeps the shine inside the image */
}
.main-image-btn::after,
.gallery-stage::after,
.gallery-thumb::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  left:-80%;
  width:45%;
  background:linear-gradient(105deg,
    transparent 0%,
    rgba(255,255,255,.35) 50%,
    transparent 100%);
  transform:skewX(-20deg);
  transition:left .8s ease;
  pointer-events:none;             /* clicks still reach the image */
  z-index:2;                       /* above the photo, below arrows and pills */
}

/* Sweep across on hover */
.main-image-btn:hover::after,
.gallery-stage:hover::after,
.gallery-thumb:hover::after{
  left:140%;
}

/* Thumbnails need a positioning context and a shorter, subtler shine */
.gallery-thumb{ position:relative; }
.gallery-thumb::after{
  width:60%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.4),transparent);
  transition:left .6s ease;
}

/* Skip the shine for users who turn animations off */
@media (prefers-reduced-motion:reduce){
  .main-image-btn::after,
  .gallery-stage::after,
  .gallery-thumb::after{ transition:none; }
}


/* ========== MODAL SHINE: plays once when the modal opens ========== */

:is(#auctionDocs,#contactUs,#mailId) .modal-content{
  position:relative;
  overflow:hidden;                 /* keeps the shine inside the rounded corners */
}

:is(#auctionDocs,#contactUs,#mailId) .modal-content::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  left:-80%;
  width:50%;
  background:linear-gradient(105deg,
    transparent 0%,
    rgba(255,150,40,.10) 30%,
    rgba(255,255,255,.85) 50%,     /* bright core */
    rgba(255,150,40,.10) 70%,
    transparent 100%);
  transform:skewX(-20deg);
  filter:blur(1px);
  pointer-events:none;             /* clicks and links still work */
  z-index:1;
  opacity:0;                       /* invisible until the modal opens */
}

:is(#auctionDocs,#contactUs,#mailId).show .modal-content::after{
  animation:modalShine 1.1s ease .55s forwards;
}

@keyframes modalShine{
  0%   { left:-80%; opacity:1; }
  100% { left:140%; opacity:1; }
}

/* Keep the close button above the shine */
:is(#auctionDocs,#contactUs,#mailId) .pop-up-close{ z-index:3; }

@media (prefers-reduced-motion:reduce){
  :is(#auctionDocs,#contactUs,#mailId) .modal-content::after{
    animation:none;
  }
}