.hocy-package-detail-page {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.hocy-package-detail-page .package-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow:
        0 10px 30px rgba(0,0,0,.05),
        0 1px 2px rgba(0,0,0,.04);
}

.hocy-package-detail-page .package-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hocy-package-detail-page .package-detail-image img {
    width: 100%;
    max-width: 850px;
    height: auto;
    object-fit: contain;
}

.hocy-package-detail-page .package-title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 20px;
    color: #243447;
}

.hocy-package-detail-page .package-price {
    font-size: 56px;
    font-weight: 800;
    color: #18a957;
    line-height: 1;
    margin-bottom: 20px;
}

.hocy-package-detail-page .package-qty {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 30px;
}

.hocy-package-detail-page .package-description {
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.8;
}

.hocy-package-detail-page .package-description p {
    margin-bottom: 16px;
}

.hocy-package-detail-page .package-cart-form {
    margin-top: 35px;
}

.hocy-package-detail-page .package-add-cart {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 18px 24px;
    background: linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
}

.hocy-package-detail-page .package-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,.25);
}

/* toolbar */

.package-header-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 25px;
    padding: 0 20px;
}

.shop-link {
    color: #243447;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.shop-link:hover {
    color: #2563eb;
}

.cart-link {
    position: relative;
    font-size: 34px;
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -10px;
    min-width: 22px;
    height: 22px;
    background: #ef4444;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    font-weight: 700;
}

/* scrollbar */
.package-detail-content {
    display: flex;
    flex-direction: column;
}

.package-description {
    max-height: 280px;
    overflow: hidden;
    position: relative;
    transition: max-height .3s ease;
}

.package-description:not(.expanded)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(
        rgba(255,255,255,0),
        rgba(255,255,255,1)
    );
}

.package-description.expanded {
    max-height: 5000px;
}

.package-view-more {
    margin-top: 15px;
    border: 0;
    background: none;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

/* mobile */
@media (max-width: 991px) {

    .hocy-package-detail-page .package-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }

    .hocy-package-detail-page .package-title {
        font-size: 32px;
    }

    .hocy-package-detail-page .package-price {
        font-size: 42px;
    }

    .hocy-package-detail-page .package-description {
        font-size: 16px;
    }
}