/* product-description.css v1-1
   Structured product description styles.
   All colors use CSS variables set by cms-loader.js from site-settings.json.
   Drop in /assets/css/ and link from product-template.html.
*/

.pd {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-medium);
}

/* Lead paragraph */
.pd-lead {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0 0 4px;
    color: var(--text-medium);
}

/* Section heading */
.pd-h2 {
    font-family: 'Ubuntu Condensed', 'Ubuntu', Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-medium);
    margin: 26px 0 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    display: block;
}

/* Feature tile grid */
.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0 0 4px;
    border: 1px solid var(--gray-border);
}

.pd-feat {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-medium);
    border-bottom: 1px solid var(--gray-border);
    border-right: 1px solid var(--gray-border);
}

.pd-feat:nth-child(even) {
    border-right: none;
}

.pd-feat:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Odd last tile spans full width */
.pd-feat:nth-last-child(1):nth-child(odd) {
    grid-column: span 2;
    border-right: none;
}

.pd-feat strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Callout block */
.pd-callout {
    border-left: 4px solid var(--primary-color);
    padding: 14px 20px;
    margin: 20px 0 0;
    background: var(--gray-light);
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--text-medium);
}

.pd-callout-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 6px;
}

/* Specs block */
.pd-specs-wrap {
    border: 1px solid var(--gray-border);
    padding: 16px 18px;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-medium);
}

.pd-specs-wrap p {
    margin: 0 0 8px;
}

.pd-specs-wrap p:last-child {
    margin: 0;
}

.pd-specs-wrap ul {
    margin: 4px 0 12px 18px;
    padding: 0;
}

.pd-specs-wrap li {
    margin-bottom: 3px;
}

.pd-specs-wrap strong {
    font-weight: 700;
    color: var(--text-dark);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .pd-grid {
        grid-template-columns: 1fr;
    }
    .pd-feat {
        border-right: none;
    }
    .pd-feat:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--gray-border);
    }
    .pd-feat:last-child {
        border-bottom: none;
    }
    .pd-feat:nth-last-child(1):nth-child(odd) {
        grid-column: span 1;
    }
    .pd-h2 { font-size: 10px; margin-top: 20px; }
    .pd-lead { font-size: 14px; }
    .pd-callout { font-size: 14px; padding: 12px 14px; }
    .pd-specs-wrap { font-size: 13px; }
}
