/* Package Listing */
.package-item .inner-content {
    min-height: 180px;
}

.package-item .package-category {
    font-size: 13px;
    color: #888;
}

.package-item .package-category a {
    font-size: 13px;
}

.package-item .package-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.package-item .package-item-meta {
    font-size: 13px;
    color: #555;
    gap: 8px 14px;
}

.package-item .package-item-duration {
    font-weight: 500;
    color: #333;
}

.package-item .package-item-duration i {
    color: #006633;
    margin-right: 2px;
}

.package-item .package-item-price {
    font-weight: 700;
    color: #006633;
}

.package-item .package-item-price i {
    margin-right: 2px;
}

.package-item .package-item-price-value {
    color: #cc0000;
    font-size: 15px;
}

.package-item .package-item-currency {
    font-size: 12px;
    font-weight: 500;
}

.package-item .btn-outline-success {
    border-color: #006633;
    color: #006633;
}

.package-item .btn-outline-success:hover {
    background-color: #006633;
    border-color: #006633;
    color: #fff;
}

/* Package Category Description */
.package-category-description {
    margin-bottom: 30px;
}

.package-category-desc-content {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.package-category-desc-content.active {
    max-height: 2000px;
}

.package-category-desc-toggle {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    cursor: pointer;
    color: #cc0000;
}

.package-category-desc-toggle i {
    margin-right: 4px;
}

/* Package Horizontal Item */
.package-list-horizontal {
    display: flex;
    flex-direction: column;
}

.package-list-horizontal > div {
    width: 100%;
    max-width: 100%;
    flex: none;
    padding-left: 0;
    padding-right: 0;
}

.package-item-horizontal {
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.package-item-horizontal:last-child {
    border-bottom: none;
}

.package-item-horizontal-inner {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.package-item-horizontal-image {
    flex: 0 0 300px;
    max-width: 300px;
    overflow: hidden;
    border-radius: 4px;
}

.package-item-horizontal-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-item-horizontal-image:hover img {
    transform: scale(1.03);
}

.package-item-horizontal-content {
    flex: 1;
    min-width: 0;
}

.package-item-horizontal-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.package-item-horizontal-title a {
    color: #006633;
    text-decoration: none;
}

.package-item-horizontal-title a:hover {
    color: #004d26;
    text-decoration: underline;
}

.package-item-horizontal-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.package-item-horizontal-link {
    font-size: 14px;
    font-weight: 700;
    color: #006633;
    text-decoration: none;
}

.package-item-horizontal-link:hover {
    color: #004d26;
    text-decoration: underline;
}

/* Package Detail - Photos Tab */
.package-albums .album-title {
    font-size: 18px;
}

.package-albums .album-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.package-albums .album-grid-item {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
}

.package-albums .album-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-albums .album-grid-item:hover img {
    transform: scale(1.05);
}

/* Package Detail - Map & Content */
.package-detail .product-detail-footer iframe,
.package-detail .product-detail-footer video,
.package-detail .product-detail-footer img,
.package-detail .product-detail-footer table {
    max-width: 100%;
}

.package-detail .product-detail-footer img {
    height: auto;
}

/* Category Package Sidebar */
.category-package-sidebar {
    border-radius: 6px;
    overflow: hidden;
}

.category-package-header {
    background: linear-gradient(135deg, #e91704);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 18px;
    text-transform: uppercase;
}

.category-package-body {
    background-color: #d91604;
}

.category-package-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-package-children {
    display: none;
    background-color: rgba(0, 0, 0, 0.12);
}

.category-package-children[style*="block"],
[nh-toggle-element].active + .category-package-children,
.category-package-children.show {
    display: block;
}

.category-package-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.category-package-item:last-child {
    border-bottom: none;
}

.category-package-link-wrap {
    display: flex;
    align-items: center;
}

.category-package-link {
    flex: 1;
    display: block;
    padding: 15px 18px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.category-package-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.category-package-children .category-package-link {
    padding-left: 32px;
    font-size: 13px;
}

.category-package-children .category-package-children .category-package-link {
    padding-left: 46px;
}

.category-package-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    transition: transform 0.2s ease;
    align-self: stretch;
}

.category-package-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.category-package-toggle.active i {
    transform: rotate(90deg);
}

.has-children > .category-package-link-wrap {
    font-weight: 600;
}

.has-children > .category-package-link-wrap > .category-package-link::before {
    content: "\203A";
    margin-right: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

/* Category Package Home */
.category-package-home {
    padding: 30px 0;
}

.category-package-home-title {
    color: #d91604;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 10px;
}

.category-package-home-desc {
    color: #555;
    font-size: 15px;
    margin-bottom: 0;
}

.category-package-home-item {
    text-align: center;
    height: 100%;
    background: #F5F5F5 !important;
    border-radius: 10px;
    padding-bottom: 15px;
}

.category-package-home-image {
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
    margin-bottom: 15px;
}

.category-package-home-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.category-package-home-image:hover img {
    transform: scale(1.05);
}

.category-package-home-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.category-package-home-name a {
    color: #222;
    text-decoration: none;
}

.category-package-home-name a:hover {
    color: #006633;
}

.category-package-home-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #1aab4a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.category-package-home-btn:hover {
    background-color: #148a3c;
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .package-item-horizontal-image {
        flex: 0 0 220px;
        max-width: 220px;
    }

    .package-item-horizontal-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .package-albums .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-item-horizontal-inner {
        flex-direction: column;
        gap: 15px;
    }

    .package-item-horizontal-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .category-package-home-title {
        font-size: 24px;
    }

    .category-package-home-image img {
        height: 180px;
    }

    .category-package-home-name {
        font-size: 17px;
    }

    .category-package-home-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}
