.detail-page { background: #fff; }
.detail-shell {
    width: min(var(--sg-container),calc(100% - 40px));
    margin: 0 auto;
    padding: 55px 0 105px;
}
.detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
    color: #8a8d92;
    font-size: 11px;
    text-transform: uppercase;
}
.detail-breadcrumb a:hover { color: var(--sg-orange); }
.detail-breadcrumb strong { color: var(--sg-orange); }
.detail-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 40px;
}
.detail-tags { display: flex; gap: 8px; }
.detail-tags span {
    padding: 5px 11px;
    color: #fff;
    background: var(--sg-orange);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.detail-heading h1 {
    max-width: 780px;
    margin: 12px 0 8px;
    font-family: Georgia,serif;
    font-size: clamp(38px,5vw,60px);
    font-weight: 400;
    line-height: 1.08;
}
.detail-heading p { margin: 0; color: #777; }
.detail-price { flex: 0 0 auto; text-align: right; }
.detail-price small,
.detail-price span { display: block; color: #8b8e92; font-size: 10px; text-transform: uppercase; }
.detail-price strong { display: block; margin: 5px 0; color: var(--sg-orange); font-size: 27px; }
.detail-showcase {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(330px,.75fr);
    gap: 28px;
    align-items: start;
}
.detail-main-image {
    position: relative;
    height: 570px;
    overflow: hidden;
    background: #eee;
}
.detail-main-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 48px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 0 0 5px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.38);
    background: rgba(24,28,31,.72);
    font-family: Arial,sans-serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background .2s ease,transform .2s ease;
}
.detail-gallery-nav:hover {
    background: var(--sg-orange);
    transform: translateY(-50%) scale(1.06);
}
.detail-gallery-prev { left: 18px; }
.detail-gallery-next { right: 18px; }
.detail-photo-count {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: grid;
    gap: 2px;
    padding: 11px 14px;
    text-align: left;
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(0,0,0,.68);
    cursor: pointer;
    transition: background .2s ease;
}
.detail-photo-count:hover { background: var(--sg-orange); }
.detail-photo-count strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
}
.detail-photo-count small {
    color: rgba(255,255,255,.76);
    font-size: 9px;
    white-space: nowrap;
}
.detail-thumb-strip {
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.detail-thumb-strip::-webkit-scrollbar { display: none; }
.detail-thumb-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(76px,1fr);
    gap: 10px;
}
.gallery-thumb {
    width: 100%;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    background: #eee;
    cursor: pointer;
}
.gallery-thumb.is-active { border-color: var(--sg-orange); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-lightbox {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 35px 90px;
    color: #fff;
    background: rgba(10,12,14,.96);
}
.detail-lightbox.is-open { display: flex; }
.detail-lightbox figure {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-rows: minmax(0,1fr) auto;
    gap: 15px;
}
.detail-lightbox figure img { width: 100%; height: 100%; object-fit: contain; }
.detail-lightbox figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
}
.detail-lightbox figcaption strong { color: var(--sg-orange); }
.detail-lightbox-close {
    position: absolute;
    z-index: 3;
    top: 22px;
    right: 25px;
    width: 48px;
    height: 48px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    background: transparent;
    font-size: 31px;
    line-height: 1;
    cursor: pointer;
}
.detail-lightbox-close:hover { background: var(--sg-orange); }
.detail-lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 55px;
    height: 70px;
    padding: 0 0 7px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.06);
    font-size: 48px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}
.detail-lightbox-nav:hover { background: var(--sg-orange); }
.detail-lightbox-prev { left: 24px; }
.detail-lightbox-next { right: 24px; }
body.gallery-lightbox-open { overflow: hidden; }
.detail-facts-panel {
    border: 1px solid var(--sg-line);
    background: #fff;
}
.detail-facts-head {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #fff;
    background: #292d31;
}
.detail-facts-head small { color: var(--sg-orange); font-size: 10px; text-transform: uppercase; }
.detail-facts-head h2 { margin: 4px 0 0; font-family: Georgia,serif; font-weight: 400; }
.detail-facts-grid { display: grid; grid-template-columns: repeat(2,1fr); }
.detail-fact { min-height: 78px; padding: 15px; border-right: 1px solid #eee; border-bottom: 1px solid #eee; }
.detail-fact span { display: block; color: #8b8e92; font-size: 10px; text-transform: uppercase; }
.detail-fact strong { display: block; margin-top: 5px; font-size: 13px; }
.detail-content-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 45px;
    margin-top: 70px;
    align-items: start;
}
.detail-section { margin-bottom: 45px; }
.detail-section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.detail-section-title span { color: var(--sg-orange); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.detail-section-title i { flex: 1; height: 1px; background: #e5e5e5; }
.detail-copy { color: #666; font-size: 15px; line-height: 1.85; }
.detail-attribute-groups { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.detail-attribute-group { padding: 22px; background: var(--sg-soft); }
.detail-attribute-group h3 { margin-top: 0; font-family: Georgia,serif; font-weight: 400; }
.detail-contact-card {
    position: sticky;
    top: 25px;
    padding: 30px;
    color: #fff;
    background: #292d31;
}
.detail-contact-kicker { color: var(--sg-orange); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; }
.detail-contact-card h2 { margin: 8px 0; font-family: Georgia,serif; font-size: 28px; font-weight: 400; }
.detail-contact-card p { color: rgba(255,255,255,.67); }
.detail-contact-card a { min-height: 46px; display: grid; place-items: center; margin-top: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.detail-contact-primary { color: #fff; background: var(--sg-orange); }
.detail-contact-whatsapp { color: #fff; background: #25d366; }
.detail-contact-card > small { display: block; margin-top: 18px; color: rgba(255,255,255,.58); }

@media (max-width: 980px) {
    .detail-showcase,
    .detail-content-layout { grid-template-columns: 1fr; }
    .detail-contact-card { position: static; }
}
@media (max-width: 640px) {
    .detail-shell { width: calc(100% - 28px); padding-top: 35px; }
    .detail-heading { align-items: flex-start; flex-direction: column; }
    .detail-price { text-align: left; }
    .detail-main-image { height: 380px; }
    .detail-gallery-nav { width: 40px; height: 50px; font-size: 34px; }
    .detail-gallery-prev { left: 10px; }
    .detail-gallery-next { right: 10px; }
    .detail-photo-count { right: 10px; bottom: 10px; }
    .detail-photo-count small { display: none; }
    .detail-lightbox { padding: 75px 12px 30px; }
    .detail-lightbox-nav { top: auto; bottom: 25px; width: 48px; height: 48px; transform: none; }
    .detail-lightbox-prev { left: 15px; }
    .detail-lightbox-next { right: 15px; }
    .detail-lightbox figcaption { padding-bottom: 12px; }
    .detail-lightbox figcaption span { display: none; }
    .detail-facts-grid,
    .detail-attribute-groups { grid-template-columns: 1fr; }
}
