/* =====================================
   PACKAGE INFO PAGE — STYLED LIKE PRODUCT
   ===================================== */

/* Root style (mengadopsi variabel dari product.css) */

.package {
    --bark-900: #0b2142;
    --bark-800: #0f2d5a;
    --bark-700: #12376e;
    --bark-600: #164583;
    --bark-500: #1b5fb3;
    --bark-400: #2c82be;
    --bark-300: #6aa6d9;
    --bark-200: #a8ccef;
    --bark-100: #e7f1fb;
    --bg: #f7f9fc;
    --text: #0f172a;
    --muted: #6b7280;
    --card: #ffffff;
    --radius: 16px;
    --shadow: 0 12px 30px rgba(16, 24, 40, .08);
    --shadow-sm: 0 6px 18px rgba(16, 24, 40, .06);
}
.package article.product {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
}
@media (max-width: 980px) {
    .package article.product {
        grid-template-columns: 1fr;
    }
}
/* ============ Gallery ============ */

.gallery {
    position: relative;
    background: var(--card);
    border: 1px solid #e6eefc;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 14px;
}
.gallery .pkg-main {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    text-align: center;
}
.gallery .thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.gallery .thumb {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    border: 1px solid #dbe4ff;
    background: linear-gradient(180deg, #eaf2ff, #d7e8ff);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}
.gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.gallery .thumb.is-active {
    outline: 3px solid rgba(44, 130, 190, .3);
    transform: scale(1.05);
}
/* ============ Buybox (bundle picker area) ============ */

.buybox {
    background: var(--card);
    border: 1px solid #e6eefc;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}
.buybox h1 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--bark-800);
}
/* Bundle group box */

.bundle-picker {
    background: #f9fafc;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
    overflow: hidden;
    border: 1px solid #e6eefc;
    margin-top: 16px;
}
.slot {
    padding: 16px 12px 6px;
}
.slot+.slot {
    border-top: 1px solid #e6eefc;
}
.slot h4 {
    margin: 0 0 10px 4px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}
/* Item card */

.item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid #f1f5ff;
    margin-bottom: 6px;
    background: #fff;
}
.item.added {
    background: #eef5ff;
    border-color: #1b5fb3;
}
.item .thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}
.item .meta .name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
    color: #0f172a;
}
.item .meta .price {
    font-size: 13px;
    color: #475569;
}
.actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.icon-btn, .add-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.2s ease;
}
.icon-btn {
    border: 1px solid #dbe4ff;
    background: #fff;
    color: #0f264a;
}
.icon-btn:hover {
    background: #eef5ff;
}
.price .now {
    font-size: 16px;
    color: var(--bark-800);
    font-weight: 800;
}
.price .was {
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 8px;
}
.add-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: none;
    background: var(--bark-600);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 22px;
    font-weight: 700;
}
.add-btn:hover {
    background: var(--bark-700);
}
.add-btn.minus {
    background: #c0392b;
}
.add-btn.minus:hover {
    background: #a93226;
}
.add-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease, stroke 0.2s ease;
}
.add-btn.minus svg {
    display: none;
    stroke: #fff;
}
.item.added .add-btn {
    background: #c0392b;
}
.item.added .add-btn:hover {
    background: #a93226;
}
.item.added .add-btn::before {
    content: "✕";
    font-size: 18px;
}
/* CTA Button */

.cta-row {
    margin-top: 18px;
}
#cta {
    width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.2px;
    border: 1px solid #cfe1fb;
    background: #eef5ff;
    color: #1e293b;
    transition: all 0.2s ease;
    cursor: not-allowed;
}
#cta.ready {
    background: var(--bark-600);
    color: #fff;
    border-color: var(--bark-600);
    cursor: pointer;
}
#cta.loading {
    opacity: 0.8;
}
/* Tabs section (inherit style dari product.css) */

#main .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 1px solid #e6eefc;
    border-radius: 14px 14px 0 0;
    background: #fff;
    padding: 8px;
    margin-top: 22px;
    box-shadow: var(--shadow-sm);
}
#main .nav-tabs li {
    list-style: none;
}
#main .nav-tabs a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #dbe4ff;
    background: #fff;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: 0.2s;
}
#main .nav-tabs li.active a {
    background: #eef5ff;
    border-color: #cfe1fb;
    color: #0f264a;
    box-shadow: inset 0 -2px 0 #1b5fb3;
}
#main .tab-content {
    background: #fff;
    border: 1px solid #e6eefc;
    border-top: none;
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
}
#main .tab-pane p {
    color: #334155;
    font-size: 15px;
    line-height: 1.6;
}
/* Responsive */

@media (max-width: 768px) {
    .item {
        grid-template-columns: 52px 1fr auto;
    }
    .item .thumb {
        width: 52px;
        height: 52px;
    }
    .gallery .thumb {
        width: 56px;
        height: 56px;
    }
    #main .tab-content {
        padding: 12px;
    }
}
/* ====== Layout utama package detail (sejajar gallery & bundle) ====== */

.product {
    --bark-900: #0b2142;
    --bark-800: #0f2d5a;
    --bark-700: #12376e;
    --bark-600: #164583;
    --bark-500: #1b5fb3;
    --bark-400: #2c82be;
    --bark-300: #6aa6d9;
    --bark-200: #a8ccef;
    --bark-100: #e7f1fb;
    --bg: #f7f9fc;
    --text: #0f172a;
    --muted: #6b7280;
    --card: #ffffff;
    --radius: 16px;
    --shadow: 0 12px 30px rgba(16, 24, 40, .08);
    --shadow-sm: 0 6px 18px rgba(16, 24, 40, .06);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* gallery | paket SEO */
    gap: 22px;
}
@media (max-width: 980px) {
    .product {
        grid-template-columns: 1fr;
        /* mobile: jadi stack lagi */
    }
}
.pkg-main {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}
.pkg-main img {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}
.discount-pack {
    background: rgb(255 0 0 / 5%);
    border-radius: 99px;
    padding: 6px 10px;
    display: inline-block;
    font-size: 13px;
    border: 1px solid #ffbcbc;
}
.pkg-main .pkg-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
/* .pkg-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
  border-radius: 12px;
} */

/* Background color variants (keep existing scheme) */

.bg-anti-gtm {
    background: #f0a12a;
}
.bg-bb {
    background: #9a5f40;
}
.bg-mpasi {
    background: #4d73b3;
}
.bg-immune {
    background: #23a0a0;
}