/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 992px) {
    .faq .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.faq .faq-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 100px;
}

@media (max-width: 992px) {
    .faq .faq-categories {
        position: static;
    }
}

.faq .faq-categories .nav-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: none;
    width: 100%;
}

@media (max-width: 992px) {
    .faq .faq-categories .nav-tabs {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.faq .faq-categories .nav-tabs .nav-item {
    width: 100%;
}

@media (max-width: 992px) {
    .faq .faq-categories .nav-tabs .nav-item {
        flex: 1;
        min-width: 140px;
        width: auto;
    }
}

.faq .category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--surface-color);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    text-align: left;
}

@media (max-width: 992px) {
    .faq .category-card {
        padding: 16px 20px;
    }
}

@media (max-width: 576px) {
    .faq .category-card {
        padding: 14px 16px;
        gap: 12px;
    }
}

.faq .category-card:hover {
    border-color: color-mix(in srgb, var(--accent-color) 30%, transparent);
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .faq .category-card:hover {
        transform: translateY(-4px);
    }
}

.faq .category-card.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.faq .category-card.active .category-icon {
    background: color-mix(in srgb, var(--contrast-color) 20%, transparent);
    color: var(--contrast-color);
}

.faq .category-card.active .category-info h5 {
    color: var(--contrast-color);
}

.faq .category-card.active .category-info span {
    color: color-mix(in srgb, var(--contrast-color) 80%, transparent);
}

.faq .category-card .category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    border-radius: 12px;
    color: var(--accent-color);
    font-size: 22px;
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .faq .category-card .category-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }
}

.faq .category-card .category-info h5 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .faq .category-card .category-info h5 {
        font-size: 14px;
    }
}

.faq .category-card .category-info span {
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color) 60%, transparent);
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .faq .category-card .category-info span {
        font-size: 12px;
    }
}

/*--------------------------------------------------------------
# Order Summary Section
--------------------------------------------------------------*/

.order-summary {
    background-color: var(--surface-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 100px;
}

.order-summary .order-summary-header {
    padding: 20px 24px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-summary .order-summary-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.order-summary .order-summary-header .item-count {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 50%);
    padding: 4px 10px;
    border-radius: 20px;
}

.order-summary .order-summary-content {
    padding: 24px;
}

.order-summary .order-summary-content .order-items {
    margin-bottom: 24px;
}

.order-summary .order-summary-content .order-items .order-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.order-summary .order-summary-content .order-items .order-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.order-summary .order-summary-content .order-items .order-item .order-item-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.order-summary .order-summary-content .order-items .order-item .order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-summary .order-summary-content .order-items .order-item .order-item-details {
    flex: 1;
}

.order-summary .order-summary-content .order-items .order-item .order-item-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-variant {
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 8px;
}

.order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .quantity {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.order-summary .order-summary-content .order-items .order-item .order-item-details .order-item-price .price {
    color: var(--heading-color);
}

.order-summary .order-summary-content .promo-code {
    margin-bottom: 24px;
}

.order-summary .order-summary-content .promo-code .input-group .form-control {
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-right: none;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.order-summary .order-summary-content .promo-code .input-group .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
    outline: none;
}

.order-summary .order-summary-content .promo-code .input-group .form-control::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    font-size: 0.9rem;
}

.order-summary .order-summary-content .promo-code .input-group .btn {
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-left: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0 16px;
    font-weight: 500;
    color: var(--accent-color);
    background-color: var(--surface-color);
    transition: all 0.25s ease;
}

.order-summary .order-summary-content .promo-code .input-group .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.order-summary .order-summary-content .promo-code .input-group .btn:focus {
    box-shadow: none;
}

.order-summary .order-summary-content .order-totals {
    background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 30%);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.order-summary .order-summary-content .order-totals>div {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.order-summary .order-summary-content .order-totals>div:last-child {
    margin-bottom: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed color-mix(in srgb, var(--default-color), transparent 80%);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
}

.order-summary .order-summary-content .secure-checkout {
    text-align: center;
}

.order-summary .order-summary-content .secure-checkout .secure-checkout-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--heading-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.order-summary .order-summary-content .secure-checkout .secure-checkout-header i {
    color: #28a745;
    font-size: 1.1rem;
}

.order-summary .order-summary-content .secure-checkout .payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* AFTER CHECKOUT / PESANAN SELESAI */
.checkout-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 1rem 1.25rem;
    margin-bottom: 1rem;

    background-color: #ffffff;
    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.checkout-summary-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.checkout-summary-header .item-count {
    font-size: 0.875rem;
    font-weight: 500;

    padding: 0.35rem 0.75rem;
    border-radius: 999px;

    background-color: color-mix(in srgb, var(--accent-color) 5%, transparent);
    color: var(--heading-color);
}

.checkout-done {
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 90%);
}


.checkout-done .order-items .order-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.checkout-done .order-items .order-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.checkout-done .order-items .order-item .order-item-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.checkout-done .order-items .order-item .order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-done .order-items .order-item .order-item-details {
    flex: 1;
}

.checkout-done .order-items .order-item .order-item-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.checkout-done .order-items .order-item .order-item-details .order-item-variant {
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 8px;
}

.checkout-done .order-items .order-item .order-item-details .order-item-price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.checkout-done .order-items .order-item .order-item-details .order-item-price .quantity {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.checkout-done .order-items .order-item .order-item-details .order-item-price .price {
    color: var(--heading-color);
}

.checkout-done .promo-code {
    margin-bottom: 24px;
}

.checkout-done .promo-code .input-group .form-control {
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-right: none;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.checkout-done .promo-code .input-group .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
    outline: none;
}

.checkout-done .promo-code .input-group .form-control::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    font-size: 0.9rem;
}

.checkout-done .promo-code .input-group .btn {
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-left: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0 16px;
    font-weight: 500;
    color: var(--accent-color);
    background-color: var(--surface-color);
    transition: all 0.25s ease;
}

.checkout-done .promo-code .input-group .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.checkout-done .promo-code .input-group .btn:focus {
    box-shadow: none;
}

.checkout-done .order-totals {
    /* background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 30%); */
    border-radius: 12px;
}

.checkout-done .order-totals>div {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.checkout-done .order-totals>div:last-child {
    margin-bottom: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed color-mix(in srgb, var(--default-color), transparent 80%);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
}

.checkout-done .secure-checkout {
    text-align: center;
}

.checkout-done .secure-checkout .secure-checkout-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--heading-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.checkout-done .secure-checkout .secure-checkout-header i {
    color: #28a745;
    font-size: 1.1rem;
}

.checkout-done .secure-checkout .payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}