
:root {
    --green: #075b2b;
    --deep: #063b1d;
    --hover: #005016;
    --gold: #f4b900;
    --soft: #f5f8f3;
    --muted: #68736b;
    --ink: #172019;
    --line: #e2eae2;
    --shadow: 0 15px 40px #092d1716;
}

/* ===== E-COMMERCE STYLE GALLERY ===== */
.gallery-wrap {
    position: sticky;
    top: 90px;
}

.main-media {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fafafa;
    position: relative;
    /* height: 460px; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.main-media img,
.main-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.main-media img.active,
.main-media video.active {
    display: block;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 64px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0,0,0,0.3);
    font-size: 72px;
}

.video-play-overlay.hidden {
    display: none;
}

.zoom-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    color: var(--green);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.zoom-badge:hover {
    transform: scale(1.1);
    background: var(--green);
    color: #fff;
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
    background: rgba(0,0,0,0.95);
    border: none;
    border-radius: 0;
}

.lightbox-modal .modal-body {
    padding: 0;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-modal .modal-body img,
.lightbox-modal .modal-body video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-modal .btn-close-white {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1055;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 12px;
    opacity: 1;
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.lightbox-modal .btn-close-white:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.lightbox-modal .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1055;
}

.lightbox-modal .lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-modal .lightbox-nav.prev {
    left: 20px;
}

.lightbox-modal .lightbox-nav.next {
    right: 20px;
}

.thumb-strip {
    display: flex;
    gap: 9px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumb-strip::-webkit-scrollbar {
    height: 5px;
}
.thumb-strip::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.thumb {
    flex: 0 0 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--line);
    cursor: pointer;
    position: relative;
    transition: .2s;
}

.thumb.active {
    border-color: var(--green);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb .video-flag {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

/* ===== RIGHT INFO PANEL ===== */
.service-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.price-block {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    margin: 16px 0;
}

.price-now {
    font-size: 32px;
    font-weight: 800;
    color: var(--green);
}

.price-old {
    font-size: 16px;
    color: var(--muted);
    text-decoration: line-through;
    margin-left: 10px;
}

.price-discount {
    color: #c62828;
    font-weight: 700;
    font-size: 13px;
    margin-left: 8px;
}

.price-note {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 4px;
}

.offer-box {
    background: var(--soft);
    border: 1px dashed #b7d7bd;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 16px 0;
}

.offer-box h6 {
    font-size: 13px;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 8px;
}

.offer-box li {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 5px;
}

.plan-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.plan-pill {
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    background: #fff;
    color: var(--muted);
}

.plan-pill.active,
.plan-pill:hover {
    border-color: var(--green);
    background: var(--soft);
    color: var(--green);
}

.highlight-list {
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.highlight-list li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.highlight-list li i {
    color: var(--green);
    margin-top: 3px;
}

.action-btns {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.action-btns .btn {
    flex: 1;
    padding: 14px;
    font-weight: 800;
    font-size: 14.5px;
    min-width: 150px;
}

.delivery-box {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    margin-top: 22px;
}

.delivery-box .row div {
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.delivery-box i {
    color: var(--green);
    font-size: 18px;
    margin-top: 2px;
}

/* ===== TABS ===== */
.detail-tabs {
    margin-top: 60px;
}

.nav-tabs .nav-link {
    color: var(--muted);
    font-weight: 700;
    border: 0;
    border-bottom: 3px solid transparent;
    padding: 14px 22px;
}

.nav-tabs .nav-link.active {
    color: var(--green);
    border-color: var(--green);
    background: transparent;
}

.tab-content {
    padding: 35px 0;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.9;
}

.spec-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.spec-table td:first-child {
    font-weight: 700;
    color: var(--ink);
    width: 220px;
    background: var(--soft);
}

/* ===== RELATED SERVICES ===== */
.related-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: .25s;
    background: #fff;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.related-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.related-card .body {
    padding: 16px;
}

.related-card h6 {
    font-size: 15px;
    margin-bottom: 5px;
}

.related-card .price {
    color: var(--green);
    font-weight: 800;
    font-size: 16px;
}

.section {
    padding: 30px 0;
}

.soft {
    background: var(--soft);
}

.tag {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
}

.title em {
    font-family: 'Playfair Display';
    font-style: normal;
    color: #ffc107;
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow);
}

.modal-header {
    border-bottom: 2px solid var(--green);
    padding: 20px 25px;
}

.modal-header .btn-close {
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header .btn-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid var(--line);
    padding: 15px 25px;
}

/* Booking Form Modal */
.booking-modal .form-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
}

.booking-modal .form-control,
.booking-modal .form-select {
    min-height: 45px;
    border: 1px solid #cdddcf;
    border-radius: 9px;
    font-size: 14px;
}

.booking-modal .form-control:focus,
.booking-modal .form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 0.2rem rgba(7, 91, 43, 0.12);
}

/* Plan Booking Modal */
.plan-booking-modal .form-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
}

.plan-booking-modal .form-control,
.plan-booking-modal .form-select {
    min-height: 45px;
    border: 1px solid #cdddcf;
    border-radius: 9px;
    font-size: 14px;
}

.plan-booking-modal .form-control:focus,
.plan-booking-modal .form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 0.2rem rgba(7, 91, 43, 0.12);
}

.plan-summary {
    background: var(--soft);
    border-radius: 12px;
    padding: 15px 20px;
    border: 1px solid var(--line);
}

.plan-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.plan-summary .summary-row:last-child {
    border-bottom: none;
}

/* Step Progress */
.step-progress-wrapper {
    margin-bottom: 25px;
    padding: 0 5px;
}

.step-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.step-progress .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-progress .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--soft);
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--muted);
    transition: all 0.4s ease;
    margin-bottom: 6px;
}

.step-progress .step-item.active .step-circle {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    box-shadow: 0 4px 20px rgba(7, 91, 43, 0.3);
    transform: scale(1.1);
}

.step-progress .step-item.completed .step-circle {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.step-progress .step-name {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.step-progress .step-item.active .step-name {
    color: var(--ink);
    font-weight: 700;
}

.step-progress .step-line {
    flex: 1;
    height: 2px;
    background: var(--line);
    position: relative;
    z-index: 1;
    margin: 0 -5px;
    top: -14px;
}

.step-progress .step-line.completed {
    background: var(--green);
}

/* Client Type Buttons */
.client-type-group {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.client-type-btn {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--line);
    background: #fff;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.client-type-btn i {
    font-size: 18px;
}

.client-type-btn:hover {
    border-color: var(--green);
    background: var(--soft);
}

.client-type-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* Slot Grid */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}

.slot-btn {
    padding: 10px 5px;
    border: 1px solid #afd2b4;
    background: #f5fff6;
    color: var(--green);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.slot-btn:hover:not(.booked):not(.selected) {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: scale(1.05);
}

.slot-btn.booked {
    background: #fde9e9;
    border-color: #efbebe;
    color: #b52222;
    text-decoration: line-through;
    cursor: not-allowed;
}

.slot-btn.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.visit-modal .info-card-mini {
    background: var(--soft);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.visit-modal .info-card-mini i {
    color: var(--green);
    font-size: 20px;
}

@media(max-width:991px) {
    .gallery-wrap {
        position: static;
    }
    .main-media {
        height: 320px;
    }
    .action-btns {
        flex-direction: column;
    }
    .action-btns .btn {
        flex: none;
        width: 100%;
    }
    .slot-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:767px) {
    /* .main-media {
        height: 250px;
    } */
    .thumb {
        flex: 0 0 60px;
        height: 60px;
    }
    .lightbox-modal .modal-body {
        height: 70vh;
    }
    .lightbox-modal .lightbox-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    .lightbox-modal .lightbox-nav.prev {
        left: 10px;
    }
    .lightbox-modal .lightbox-nav.next {
        right: 10px;
    }
    .slot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .client-type-group {
        flex-direction: column;
    }
    .step-progress .step-circle {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .step-progress .step-name {
        font-size: 8px;
    }
    .step-progress .step-line {
        top: -10px;
    }
}
















