/* ═══════════════════════════════════════════════════════
   sh-shared.css — Shared design system for hotel & tour
   single pages. Loaded via wp_enqueue_scripts.
   ═══════════════════════════════════════════════════════ */

:root {
    --sh-accent:       var(--sh-hotel-accent,     #0db8b0);
    --sh-accent-dk:    var(--sh-hotel-accent-dk,   #07857f);
    --sh-accent-rgb:   var(--sh-hotel-accent-rgb,  13,184,176);
    --sh-heading-color:var(--sh-hotel-heading,     #1a1a1a);
    --sh-text:         var(--sh-hotel-text,        #444444);
    --sh-text-muted:   var(--sh-hotel-text-muted,  #757575);
    --sh-bg:           var(--sh-hotel-bg,          #f7f8fa);
    --sh-card:         var(--sh-hotel-card-bg,     #ffffff);
    --sh-border:       var(--sh-hotel-border,      #e5e7eb);
    --sh-radius:       16px;
    --sh-radius-sm:    10px;
    --sh-shadow:       0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
    --sh-shadow-lg:    0 8px 30px rgba(0,0,0,.08);
    --sh-font:         var(--statum-font, 'Mulish', -apple-system, sans-serif);
}

/* ── COMPACT HEADER ── */
.sh-header {
    padding: 100px 0 20px;
    background: var(--sh-card);
    border-bottom: 1px solid var(--sh-border);
}

.sh-header__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.sh-header__left  { flex: 1; min-width: 0; }

.sh-header__right {
    flex-shrink: 0;
    text-align: right;
    padding-top: 4px;
}

.sh-header__price-label {
    display: block;
    font-size: 12px;
    color: var(--sh-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.sh-header__price-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--sh-accent-dk);
    line-height: 1.1;
}

.sh-header__price-per {
    font-size: 13px;
    color: var(--sh-text-muted);
}

.sh-badge--stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #b8860b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sh-badge--stars svg  { color: #e8b730; }
.sh-badge--stars span { margin-left: 5px; }

.sh-header__title {
    font-family: var(--sh-font);
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--sh-heading-color);
    line-height: 1.2;
    margin: 0 0 10px;
}

.sh-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.sh-header__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sh-text-muted);
    background: var(--sh-bg);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid var(--sh-border);
    text-decoration: none;
    transition: all .2s;
}

.sh-header__meta-item svg { flex-shrink: 0; }

.sh-header__meta-item--link {
    cursor: pointer;
    color: var(--sh-accent-dk);
    border-color: rgba(var(--sh-accent-rgb), .2);
    background: rgba(var(--sh-accent-rgb), .05);
}

.sh-header__meta-item--link:hover {
    background: rgba(var(--sh-accent-rgb), .12);
    color: var(--sh-accent-dk);
}

/* ── GALLERY: Main + Thumbnails ── */
.sh-gallery {
    padding: 24px 0 0;
    background: var(--sh-card);
}

.sh-gal__main {
    position: relative;
    border-radius: var(--sh-radius);
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 16 / 9;
    max-height: 520px;
}

.sh-gal__main a {
    display: block;
    width: 100%;
    height: 100%;
}

.sh-gal__main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s ease;
}

.sh-gal__main--solo { cursor: default; }

.sh-gal__counter {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    z-index: 3;
}

.sh-gal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(6px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all .2s;
    opacity: 0;
}

.sh-gal__main:hover .sh-gal__nav { opacity: 1; }

.sh-gal__nav:hover {
    background: rgba(0,0,0,.7);
    transform: translateY(-50%) scale(1.08);
}

.sh-gal__nav--prev { left: 14px; }
.sh-gal__nav--next { right: 14px; }

.sh-gal__video-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
}

.sh-gal__video-btn:hover {
    background: rgba(0,0,0,.85);
    color: #fff;
    transform: translateY(-2px);
}

.sh-gal__thumbs {
    position: relative;
    margin-top: 10px;
}

.sh-gal__thumbs-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.sh-gal__thumbs-track::-webkit-scrollbar { display: none; }

.sh-gal__thumb {
    flex: 0 0 auto;
    width: 88px;
    height: 62px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: #eee;
    transition: border-color .2s, opacity .2s, transform .2s;
    opacity: .6;
}

.sh-gal__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.sh-gal__thumb:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.sh-gal__thumb--active {
    border-color: var(--sh-accent);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(var(--sh-accent-rgb), .25);
}

/* ── CONTENT AREA ── */
.sh-content {
    background: var(--sh-bg);
    padding: 36px 0 80px;
}

/* ── SECTIONS ── */
.sh-section {
    background: var(--sh-card);
    border-radius: var(--sh-radius);
    padding: 32px 36px;
    margin-bottom: 20px;
    box-shadow: var(--sh-shadow);
    border: 1px solid var(--sh-border);
}

.sh-section__header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--sh-bg);
}

.sh-section__title {
    font-family: var(--sh-font);
    font-size: 22px;
    font-weight: 800;
    color: var(--sh-heading-color);
    margin: 0;
    line-height: 1.3;
}

.sh-section__subtitle {
    font-size: 14px;
    color: var(--sh-text-muted);
    margin: 6px 0 0;
}

/* Prose */
.sh-prose { font-size: 15px; line-height: 1.8; color: var(--sh-text); }
.sh-prose p { margin-bottom: 14px; }
.sh-prose p:last-child { margin-bottom: 0; }

/* ── OVERVIEW EXPAND ── */
.sh-overview {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height .4s ease;
}

.sh-overview--expanded { max-height: 5000px; }

.sh-overview__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--sh-card));
    pointer-events: none;
    transition: opacity .3s;
}

.sh-overview--expanded .sh-overview__fade { opacity: 0; }

.sh-overview__toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sh-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--sh-accent);
    transition: color .2s;
}

.sh-overview__toggle:hover { color: var(--sh-accent-dk); }
.sh-overview__toggle svg  { transition: transform .3s; }
.sh-overview__toggle-less { display: none; }
.sh-overview--expanded ~ .sh-overview__toggle .sh-overview__toggle-more { display: none; }
.sh-overview--expanded ~ .sh-overview__toggle .sh-overview__toggle-less { display: flex; align-items: center; gap: 4px; }

/* ── HIGHLIGHTS FACILITIES ── */
.sh-highlights__group       { margin-bottom: 20px; }
.sh-highlights__group:last-child { margin-bottom: 0; }

.sh-highlights__group-title {
    font-family: var(--sh-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--sh-heading-color);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.sh-highlights__group-title img { border-radius: 4px; flex-shrink: 0; }

.sh-highlights__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sh-highlights__items:last-child { margin-bottom: 0; }

.sh-highlights__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: var(--sh-bg);
    border: 1px solid var(--sh-border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sh-text);
    transition: all .2s;
}

.sh-highlights__item:hover {
    border-color: rgba(var(--sh-accent-rgb), .3);
    background: rgba(var(--sh-accent-rgb), .05);
}

.sh-highlights__item i   { color: var(--sh-accent); font-size: 14px; width: 18px; text-align: center; }
.sh-highlights__item svg { flex-shrink: 0; }

/* ── PACKAGES ── */
.sh-packages { display: flex; flex-direction: column; gap: 14px; }

.sh-pkg {
    border: 2px solid var(--sh-border);
    border-radius: var(--sh-radius);
    padding: 22px 26px;
    transition: all .3s;
    position: relative;
    background: var(--sh-card);
}

.sh-pkg:hover {
    border-color: var(--sh-accent);
    box-shadow: 0 4px 20px rgba(var(--sh-accent-rgb), .1);
}

.sh-pkg--featured {
    border-color: var(--sh-accent);
    box-shadow: 0 4px 20px rgba(var(--sh-accent-rgb), .1);
}

.sh-pkg__badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--sh-accent);
    color: #fff;
    padding: 4px 14px 6px;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.sh-pkg__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.sh-pkg__info  { flex: 1; min-width: 180px; }

.sh-pkg__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sh-heading-color);
    margin: 0 0 4px;
}

.sh-pkg__desc {
    font-size: 13px;
    color: var(--sh-text-muted);
    margin: 0;
    line-height: 1.5;
}

.sh-pkg__pricing { text-align: right; flex-shrink: 0; }

.sh-pkg__price {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--sh-accent-dk);
    line-height: 1;
}

.sh-pkg__price-old {
    display: block;
    font-size: 15px;
    color: var(--sh-text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.sh-pkg__per { font-size: 12px; color: var(--sh-text-muted); }

.sh-pkg__action {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--sh-border);
}

/* ── MAP ── */
.sh-map { border-radius: var(--sh-radius-sm); overflow: hidden; height: 360px; }
.sh-map iframe { width: 100% !important; height: 100% !important; border: 0 !important; }

/* ── BUTTONS ── */
.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sh-font);
    font-weight: 700;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: var(--sh-radius-sm);
    border: none;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    line-height: 1;
}

.sh-btn--primary { background: var(--sh-accent); color: #fff; }

.sh-btn--primary:hover {
    background: var(--sh-accent-dk);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--sh-accent-rgb), .25);
}

.sh-btn--whatsapp { background: #25D366; color: #fff; }

.sh-btn--whatsapp:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,.25);
}

.sh-btn--full { width: 100%; }

/* ── SIDEBAR ── */
.sh-sidebar {
    position: sticky;
    top: 100px;
}

.sh-bookcard {
    background: var(--sh-card);
    border-radius: var(--sh-radius);
    padding: 28px;
    box-shadow: var(--sh-shadow-lg);
    border: 1px solid var(--sh-border);
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 16px;
}

.sh-bookcard__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--sh-text-muted);
    display: block;
    margin-bottom: 4px;
}

.sh-bookcard__amount {
    font-size: 34px;
    font-weight: 800;
    color: var(--sh-accent-dk);
    line-height: 1;
}

.sh-bookcard__per {
    font-size: 14px;
    font-weight: 400;
    color: var(--sh-text-muted);
}

.sh-bookcard__divider { height: 1px; background: var(--sh-border); }

.sh-bookcard__perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sh-bookcard__perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sh-text);
}

.sh-bookcard__perks li svg { flex-shrink: 0; }

.sh-helpcard {
    background: rgba(var(--sh-accent-rgb), .05);
    border: 1px solid rgba(var(--sh-accent-rgb), .12);
    border-radius: var(--sh-radius);
    padding: 24px;
    text-align: center;
}

.sh-helpcard svg { margin-bottom: 10px; }

.sh-helpcard h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sh-heading-color);
    margin: 0 0 6px;
}

.sh-helpcard p {
    font-size: 13px;
    color: var(--sh-text-muted);
    margin: 0 0 14px;
    line-height: 1.5;
}

.sh-helpcard__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--sh-accent-dk);
    text-decoration: none;
}

.sh-helpcard__link:hover { color: var(--sh-accent); }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .sh-header     { padding-top: 90px; }
    .sh-gal__main  { max-height: 420px; }
    .sh-gal__nav   { opacity: 1; }
    .sh-section    { padding: 24px; }
    .sh-sidebar    { position: static; margin-top: 20px; }
}

@media (max-width: 767px) {
    .sh-header        { padding-top: 80px; padding-bottom: 16px; }
    .sh-header__row   { flex-direction: column; gap: 10px; }
    .sh-header__right { text-align: left; }
    .sh-header__price-value { font-size: 22px; }

    .sh-gal__main { max-height: 280px; border-radius: 12px; }
    .sh-gal__thumb { width: 64px; height: 46px; border-radius: 6px; }
    .sh-gal__nav   { width: 36px; height: 36px; }
    .sh-gal__counter { padding: 4px 10px; font-size: 11px; }

    .sh-content   { padding: 20px 0 50px; }
    .sh-section   { padding: 20px 18px; border-radius: 12px; }
    .sh-section__title { font-size: 18px; }

    .sh-pkg__header  { flex-direction: column; gap: 12px; }
    .sh-pkg__pricing { text-align: left; }

    .sh-bookcard   { padding: 20px; }
    .sh-bookcard__amount { font-size: 26px; }

    .sh-map        { height: 240px; }
    .sh-overview   { max-height: 160px; }
}

@media (max-width: 480px) {
    .sh-gal__main  { max-height: 220px; }
    .sh-gal__thumb { width: 52px; height: 38px; }
    .sh-gal__thumbs-track { gap: 6px; }
    .sh-highlights__item  { font-size: 12px; padding: 5px 10px; }
}
