.nac-content {
    max-width: 1100px;
    letter-spacing: 0;
}

.nac-category {
    margin: 0.35rem 0 1.5rem;
    color: #5e6872;
    font-size: 0.95rem;
}

.nac-order-label {
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.nac-order-table {
    width: 100%;
    table-layout: fixed;
}

.nac-order-table th,
.nac-order-table td {
    text-align: center;
    vertical-align: middle;
}

.nac-rule {
    width: 100%;
    margin-bottom: 2rem;
    color: #20252a;
    opacity: 1;
}

.nac-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
    gap: 2.5rem;
    align-items: start;
}

.nac-property-table {
    width: 100%;
    margin-top: 0;
    table-layout: fixed;
}

.nac-property-table th {
    width: 38%;
    background: #f2f4f5;
    text-align: left;
    font-weight: 600;
    vertical-align: top;
}

.nac-property-table td {
    overflow-wrap: anywhere;
}

.nac-structure {
    min-height: 320px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nac-structure img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 290px;
    object-fit: contain;
}

.nac-structure figcaption {
    margin-top: 0.75rem;
    color: #5e6872;
    font-size: 0.9rem;
    text-align: center;
}

.nac-footer {
    min-height: 9rem;
    width: 100%;
    padding: 2rem 1rem;
    background: #f2f2f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #111;
    text-align: center;
}

#mobile-detail-table .product-detail-card {
    min-height: 86px;
    margin-top: 0.75rem;
    padding: 0.85rem;
    border: 1px solid #c9cdd1;
    border-radius: 6px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#mobile-detail-table .product-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow-wrap: anywhere;
}

#mobile-detail-table .product-detail-card .quantity-container {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
}

@media (max-width: 900px) {
    .nac-content {
        max-width: none;
    }

    .nac-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .nac-structure {
        min-height: 260px;
    }

    .nac-structure img {
        height: 240px;
    }
}

@media (max-width: 540px) {
    .nac-property-table th,
    .nac-property-table td {
        padding: 0.5rem;
    }
}
