/* MODULE: PRICING PACKAGE */
.ht-pricing-pkg {
    box-sizing: border-box;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--htdev-pink);
}

.ht-pricing-pkg.is-featured {
    border-color: var(--htdev-pink);
}

.ht-pkg-badge {
    position: absolute;
    background-color: var(--htdev-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
}

.ht-pkg-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ht-pkg-dropdown-wrap {
    margin-bottom: 12px;
}

.ht-pkg-toggle {
    background: #fbebf0;
    color: var(--htdev-pink);
    border: none;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: none;
}

.ht-pkg-toggle svg {
    transition: transform 0.3s ease;
}

.ht-pkg-dropdown-wrap.is-open .ht-pkg-toggle svg {
    transform: rotate(180deg);
}

.ht-pkg-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.ht-pkg-dropdown-wrap.is-open .ht-pkg-content {
    max-height: 2000px;
}

.ht-pkg-content-inner {
    font-size: 14px;
    color: #444;
}

.ht-pkg-content-inner p:last-child,
.ht-pkg-content-inner ul:last-child {
    margin-bottom: 0;
}

.ht-pkg-content-inner ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ht-pkg-content-inner ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.ht-pkg-content-inner ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eb4770' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.ht-pkg-options {
    display: flex;
    gap: 10px;
}

.ht-pkg-opt {
    flex: 1;
    border: 1px solid var(--htdev-pink);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: #fff;
    user-select: none;
}

.ht-pkg-opt.active {
    background-color: var(--htdev-pink-light);
    border-color: var(--htdev-pink-light);
}

.ht-pkg-opt-icon {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 20px;
    height: 20px;
    background-color: var(--htdev-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.ht-pkg-opt.active .ht-pkg-opt-icon {
    opacity: 1;
    transform: scale(1);
}

.ht-pkg-opt-time {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.ht-pkg-opt-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--htdev-pink);
}

.ht-pkg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--htdev-pink);
    color: #fff;
    font-family: var(--htdev-font-body);
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ht-pkg-btn:hover {
    background: var(--htdev-pink-hover);
    transform: translateY(-2px);
    color: #fff;
    /* Keep white on hover */
    box-shadow: 0 4px 12px rgba(235, 71, 112, 0.3);
}

/* DESKTOP LAYOUT (Default / > 849px) */
@media (min-width: 850px) {
    .ht-pricing-pkg {
        padding: 35px 25px 25px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }

    .ht-pkg-icon {
        display: none;
    }

    .ht-pkg-badge {
        border-radius: 0 0 6px 6px;
        padding: 6px 14px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .ht-pkg-title {
        font-size: 24px;
        margin-bottom: 5px;
        margin-top: 10px;
    }

    .ht-pkg-dropdown-wrap {
        margin-bottom: 20px;
        width: 100%;
    }

    .ht-pkg-content-inner {
        text-align: left;
    }

    .ht-pkg-options {
        justify-content: center;
        margin-bottom: 25px;
        width: 100%;
    }

    .ht-pkg-opt {
        padding: 10px;
    }

    .ht-pkg-opt-price {
        font-size: 18px;
    }

    .ht-pkg-action {
        margin-top: auto;
        width: 100%;
    }

    .ht-pkg-btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* MOBILE LAYOUT (< 850px) */
@media (max-width: 849px) {
    .ht-pricing-pkg {
        padding: 15px;
        border-radius: 12px;
        display: flex;
        flex-direction: row;
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }

    .ht-pkg-badge {
        top: -1px;
        right: -1px;
        width: 34px;
        height: 34px;
        border-radius: 0 12px 0 12px;
    }

    .ht-pkg-icon {
        flex: 0 0 65px;
        width: 65px;
        height: 65px;
        background-color: var(--htdev-pink-light);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 12px;
        box-sizing: border-box;
    }

    .ht-pkg-content-wrap {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        min-width: 0;
        flex-wrap: wrap;
        /* allows button to drop safely */
    }

    .ht-pkg-info {
        flex: 1;
        min-width: 180px;
    }

    .ht-pkg-title {
        font-size: 23px;
        margin-bottom: 8px;
        margin-top: 0;
        padding-right: 25px;
        /* space for absolute badge */
    }

    .ht-pkg-dropdown-wrap {
        margin-bottom: 0;
    }

    .ht-pkg-opt-price {
        font-size: 15px;
    }

    .ht-pkg-action {
        flex: 0 0 auto;
    }

    .ht-pkg-content-inner ul li {
        margin-left: 0 !important;
    }

    .ht-pkg-options .ht-pkg-opt.single-opt {
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
    }

    .pack-title h3,
    .pack-text p {
        padding: 0 25px;
    }

    .pack-title h3 {
        font-size: 25px;
        line-height: 1.2;
    }
}

.col-packaging .htdev-custom-btn {
    padding: 10px;
    gap: 5px;
    border-radius: 10px;
}

.col-packaging .htdev-cb-text {
    font-size: 16px;
    color: var(--htdev-pink);
}

.col-packaging .htdev-cb-icon svg {
    width: 10px;
    height: 10px;
}