/* ── Single Package Page v3.0.0 ── */

.cani-hl-single-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 80px;
    font-family: inherit;
    color: #1a1a1a;
}
/* Extra padding for sticky bar on mobile */
@media (max-width:600px) {
    .cani-hl-single-page { padding-bottom: 100px; }
}

/* Breadcrumb */
.cani-hl-breadcrumb {
    font-size: 12px;
    color: #999;
    padding: 16px 0 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.cani-hl-breadcrumb a { color: #999; text-decoration: none; }
.cani-hl-breadcrumb a:hover { color: #8B1A1A; }
.cani-hl-breadcrumb-sep { color: #ccc; font-size: 14px; }

/* Two-column top layout */
.cani-hl-sp-top {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
    padding: 0 0 40px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    /* Tablet: stack image below info */
    .cani-hl-sp-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    /* Put image first on mobile */
    .cani-hl-sp-right { order: -1; }
}
@media (max-width: 600px) {
    .cani-hl-sp-top { gap: 20px; padding-bottom: 28px; }
}

/* Left panel */
.cani-hl-sp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.15s;
}
.cani-hl-sp-back:hover { color: #1a1a2e; }

.cani-hl-sp-range { font-size: 12px; font-weight: 700; color: #8B1A1A; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; }
.cani-hl-sp-title { font-size: 28px; font-weight: 800; color: #1a1a1a; margin: 0 0 8px; line-height: 1.2; }
.cani-hl-sp-price { font-size: 17px; font-weight: 600; color: #333; margin-bottom: 14px; }

@media (max-width: 600px) {
    .cani-hl-sp-title { font-size: 22px; }
    .cani-hl-sp-price { font-size: 15px; }
}

.cani-hl-sp-specs {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.cani-hl-sp-spec {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.cani-hl-sp-spec svg { width: 18px; height: 18px; color: #555; flex-shrink: 0; }

.cani-hl-sp-divider { border: none; border-top: 1px solid #e0e0e0; margin: 14px 0; }
.cani-hl-sp-address   { font-size: 14px; color: #444; margin: 0 0 4px; line-height: 1.5; }
.cani-hl-sp-blocksize { font-size: 14px; color: #444; margin: 0; }

/* Contact */
.cani-hl-sp-contact-info { margin: 4px 0; }
.cani-hl-sp-contact-label { font-size: 11px; color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.cani-hl-sp-contact-person { font-size: 14px; color: #1a1a1a; }
.cani-hl-sp-contact-person a { color: #1a1a2e; text-decoration: none; font-weight: 600; }
.cani-hl-sp-contact-person a:hover { text-decoration: underline; }

/* CTA buttons */
.cani-hl-sp-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cani-hl-sp-btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 11px 20px;
    background: transparent; border: 2px solid #1a1a2e;
    color: #1a1a2e !important; font-size: 13px; font-weight: 700;
    border-radius: 3px; text-decoration: none; transition: all 0.15s;
    touch-action: manipulation;
}
.cani-hl-sp-btn-outline:hover { background: #1a1a2e; color: #fff !important; }
.cani-hl-sp-btn-filled {
    display: inline-flex; align-items: center; gap: 7px; justify-content: center;
    padding: 11px 20px;
    background: #1a1a2e; border: 2px solid #1a1a2e;
    color: #fff !important; font-size: 13px; font-weight: 700;
    border-radius: 3px; text-decoration: none; transition: background 0.15s;
    touch-action: manipulation;
}
.cani-hl-sp-btn-filled svg { width: 14px; height: 14px; flex-shrink: 0; }
.cani-hl-sp-btn-filled:hover { background: #0d0d1f; border-color: #0d0d1f; }

.cani-hl-sp-flyer-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: #8B1A1A;
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
}
.cani-hl-sp-flyer-link svg { width: 13px; height: 13px; }
.cani-hl-sp-flyer-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .cani-hl-sp-btns { flex-direction: column; }
    .cani-hl-sp-btn-outline,
    .cani-hl-sp-btn-filled { width: 100%; text-align: center; justify-content: center; }
}

/* Right panel: hero image */
.cani-hl-sp-hero-wrap {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 16/10;
}
.cani-hl-sp-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cani-hl-sp-hero-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 80px; color: #ccc; background: #f5f5f5;
    aspect-ratio: 16/10;
}
.cani-hl-sp-titled-badge {
    position: absolute; top: 12px; right: 12px;
    background: #1a1a2e; color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
    text-transform: uppercase; padding: 5px 12px; border-radius: 2px;
}

/* Thumbnails */
.cani-hl-sp-thumbs {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px;
}
.cani-hl-sp-thumb {
    width: 72px; height: 50px; border-radius: 3px; overflow: hidden;
    cursor: pointer; border: 2px solid transparent; background: #f0f0f0;
    transition: border-color 0.15s; touch-action: manipulation;
}
.cani-hl-sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cani-hl-sp-thumb.active, .cani-hl-sp-thumb:hover { border-color: #1a1a2e; }

/* Bottom section */
.cani-hl-sp-bottom {
    background: #f2f4f7;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 36px;
    margin-top: 40px;
}
@media (max-width: 800px) { .cani-hl-sp-bottom { grid-template-columns: 1fr; gap: 28px; padding: 24px; } }
@media (max-width: 600px) { .cani-hl-sp-bottom { padding: 18px; margin-top: 24px; } }

.cani-hl-sp-bottom-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.cani-hl-sp-bottom-price { font-size: 15px; color: #555; margin-bottom: 16px; }

/* Measurements table */
.cani-hl-sp-meas-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.cani-hl-sp-meas-table tr { border-bottom: 1px solid #e0e0e0; }
.cani-hl-sp-meas-table tr:last-child { border-bottom: none; }
.cani-hl-sp-meas-label { padding: 9px 0; font-size: 13px; font-weight: 600; color: #555; width: 50%; }
.cani-hl-sp-meas-value { padding: 9px 0; font-size: 13px; font-weight: 700; color: #1a1a1a; text-align: right; }

/* Inclusions */
.cani-hl-sp-inclusions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 600px) { .cani-hl-sp-inclusions { grid-template-columns: 1fr; } }
.cani-hl-sp-inclusion-item {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: #444; line-height: 1.4;
    padding: 8px 12px; background: #fff; border-radius: 3px; border: 1px solid #e8e8e8;
}
.cani-hl-sp-inclusion-item svg { width: 14px; height: 14px; color: #8B1A1A; flex-shrink: 0; margin-top: 2px; }

/* Floorplan */
.cani-hl-sp-floorplan-wrap { background: #fff; border-radius: 4px; border: 1px solid #e0e0e0; overflow: hidden; }
.cani-hl-sp-floorplan-header { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: flex-end; }
.cani-hl-sp-expand-btn {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600; color: #555; text-decoration: none; transition: color 0.15s;
}
.cani-hl-sp-expand-btn svg { width: 14px; height: 14px; }
.cani-hl-sp-expand-btn:hover { color: #1a1a2e; }
.cani-hl-sp-floorplan-img { width: 100%; height: auto; display: block; padding: 16px; box-sizing: border-box; }
.cani-hl-sp-floorplan-missing {
    padding: 40px; text-align: center; background: #fff;
    border: 1px dashed #ddd; border-radius: 4px; font-size: 14px; color: #aaa;
}

/* Related */
.cani-hl-sp-related { margin-top: 48px; padding-top: 36px; border-top: 2px solid #f0f0f0; }
.cani-hl-sp-related-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.cani-hl-sp-related-title { font-size: 22px; font-weight: 800; margin: 0; }
.cani-hl-sp-related-link { font-size: 12px; font-weight: 700; color: #8B1A1A; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; }
.cani-hl-sp-related-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .cani-hl-sp-related { margin-top: 28px; }
    .cani-hl-sp-related-title { font-size: 18px; }
    /* Related: 2 cols on tablet, 1 on phone */
    .cani-hl-sp-related .cani-hl-grid { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
    .cani-hl-sp-related .cani-hl-grid { grid-template-columns: repeat(2,1fr); }
}

/* Sticky bar */
.cani-hl-sp-sticky-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: #1a1a2e; color: #fff;
    transform: translateY(100%);
    transition: transform 0.25s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cani-hl-sp-sticky-bar.visible { transform: translateY(0); }
.cani-hl-sp-sticky-inner {
    max-width: 1140px; margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cani-hl-sp-sticky-title { font-size: 14px; font-weight: 700; }
.cani-hl-sp-sticky-price { font-size: 12px; color: #aaa; }
.cani-hl-sp-sticky-btn {
    display: inline-block; padding: 10px 20px;
    background: #8B1A1A; color: #fff !important;
    font-size: 13px; font-weight: 700; text-decoration: none;
    border-radius: 3px; white-space: nowrap; transition: background 0.15s;
    touch-action: manipulation;
}
.cani-hl-sp-sticky-btn:hover { background: #6B1010; }
@media (max-width: 600px) {
    .cani-hl-sp-sticky-inner { padding: 10px 16px; }
    .cani-hl-sp-sticky-title { font-size: 13px; }
    .cani-hl-sp-sticky-btn { padding: 8px 16px; font-size: 12px; }
}
