.epa-product-detail {
    padding-top: 18px;
    padding-bottom: 28px;
}

.epa-product-detail .breadcrumb {
    margin-bottom: 18px;
    font-size: .9rem;
}

.epa-product-detail .compact-row {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    gap: 26px;
    align-items: start;
}

.epa-product-detail .media-card,
.epa-product-detail .info-card,
.epa-product-detail .card-lite {
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
}

.epa-product-detail .media-card {
    padding: 14px;
}

.epa-product-detail .media-frame {
    height: 560px;
    min-height: 560px;
    border: 1px solid rgba(226, 232, 240, .95);
    background: #fff;
    border-radius: 16px;
}

.epa-product-detail .media-frame .img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    padding: 0;
    background: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epa-product-detail .media-frame .img-wrap img {
    width: 100%;
    height: 100%;
    max-width: 96%;
    max-height: 96%;
    object-fit: contain;
    padding: 18px;
    display: block;
}

.epa-product-detail .carousel-control-prev,
.epa-product-detail .carousel-control-next {
    width: 52px;
    opacity: .65;
}

.epa-product-detail .carousel-control-prev:hover,
.epa-product-detail .carousel-control-next:hover {
    opacity: 1;
}

.epa-product-detail .info-card {
    padding: 26px;
}

.epa-product-detail .kod {
    font-weight: 700;
    color: #94a3b8;
}

.epa-product-detail .badge-soft,
.epa-product-detail .badge-out {
    font-weight: 800;
    padding: .36rem .65rem;
}

.epa-product-detail .title {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 900;
    color: #0f172a;
}

.epa-product-detail .price-row {
    margin-top: 16px;
    margin-bottom: 10px;
}

.epa-product-detail .price-row del {
    font-size: .95rem;
    color: #94a3b8;
}

.epa-product-detail .price-final {
    color: #dc2626;
    font-size: 2.15rem;
    letter-spacing: -.03em;
}

.epa-product-detail .alert-success {
    background: #eaf8ef;
    border-color: #c7ebd2;
    color: #155e35;
}

.epa-product-detail .sepetForm > .d-flex.align-items-center {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: center !important;
}

.epa-product-detail .sepetForm .qty {
    width: 150px;
    gap: 6px;
}

.epa-product-detail .sepetForm .qty input {
    width: 58px;
    height: 42px;
    padding: 0;
}

.epa-product-detail .btn-qty {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.epa-product-detail .sepetForm .btn-buy {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.epa-product-detail .sepetForm .btn-stock {
    grid-column: 1 / -1;
    width: 100%;
    height: 42px;
    margin-left: 0 !important;
    border-radius: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.epa-product-detail .stok-text {
    display: block;
    margin-top: 8px;
}

.epa-product-detail .feature-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.epa-product-detail .feature-item {
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 16px;
    padding: 18px 12px;
    background: #fff;
    min-height: 92px;
}

.epa-product-detail .share-row {
    gap: 6px;
}

.epa-product-detail .kategori-box {
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 14px;
    background: #fff;
    padding: 16px;
}

.epa-product-detail .kategori-thumb {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epa-product-detail .card-lite .tab-content {
    padding: 16px 0 0;
}

@media (max-width: 1199.98px) {
    .epa-product-detail .compact-row {
        grid-template-columns: 1fr;
    }

    .epa-product-detail .info-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .epa-product-detail {
        padding-top: 10px;
    }

    .epa-product-detail .breadcrumb {
        font-size: .8rem;
        margin-bottom: 10px;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    .epa-product-detail .media-card,
    .epa-product-detail .info-card,
    .epa-product-detail .card-lite {
        border-radius: 16px;
    }

    .epa-product-detail .media-card {
        padding: 8px;
    }

    .epa-product-detail .media-frame {
        height: 360px;
        min-height: 360px;
        border-radius: 14px;
    }

    .epa-product-detail .media-frame .img-wrap img {
        max-width: 98%;
        max-height: 98%;
        padding: 10px;
    }

    .epa-product-detail .info-card {
        padding: 18px;
    }

    .epa-product-detail .title {
        font-size: 1.05rem;
    }

    .epa-product-detail .price-final {
        font-size: 1.8rem;
    }

    .epa-product-detail .sepetForm > .d-flex.align-items-center {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .epa-product-detail .sepetForm .qty {
        width: 100%;
        justify-content: center;
    }

    .epa-product-detail .sepetForm .btn-stock {
        grid-column: auto;
    }

    .epa-product-detail .feature-row {
        grid-template-columns: 1fr;
    }

    .epa-product-detail .feature-item {
        min-height: auto;
        padding: 14px 12px;
    }

    .epa-product-detail .share-row strong {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .epa-product-detail .media-frame {
        height: 310px;
        min-height: 310px;
    }

    .epa-product-detail .price-final {
        font-size: 1.6rem;
    }
}
