/* static/css/pages/product-custom.css */

.product-detail-wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Custom Overrides for the standard Product Layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Hitch Detail Section */
.hitch-detail-section {
    padding: 2rem 0;
}

.hitch-detail-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .hitch-detail-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.hitch-detail-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

.hitch-detail-specs {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.hitch-detail-specs h3 {
    margin-top: 0;
    color: var(--brand-dark-blue);
    border-bottom: 2px solid var(--border-light-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Ensure the service table looks good inside the specs box */
.hitch-detail-specs .service-table {
    width: 100%;
    background: transparent;
    border: none;
}

.hitch-detail-specs .service-table th {
    text-align: left;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.hitch-detail-specs .service-table td {
    text-align: right;
    color: var(--text-dark-color);
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.hitch-detail-specs .service-table tr:last-child th,
.hitch-detail-specs .service-table tr:last-child td {
    border-bottom: none;
}

.full-width-promo {
    color: #000000;
}