/* Product Description Rich Content Styles */
/* Matches the original vinylfrog.com Shopify theme layout */

.product-description-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Section Header */
.pd-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pd-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Description intro paragraph */
.pd-description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 2rem;
    text-align: left;
}

/* Section headings within description */
.product-description-section h2,
.product-description-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #eee;
}

.product-description-section h3 {
    font-size: 1.1rem;
    border-bottom: none;
}

/* Features list */
.pd-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.pd-features-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
    color: #444;
    font-size: 0.95rem;
}

.pd-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5dcb4a;
    font-weight: 700;
    font-size: 1rem;
}

.pd-features-list li strong {
    color: #1a1a1a;
}

/* Things You Should Know links */
.pd-know-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.pd-know-links li {
    padding: 0.35rem 0;
}

.pd-know-links a {
    color: #667eea;
    text-decoration: underline;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.pd-know-links a:hover {
    color: #764ba2;
}

/* YouTube video embeds */
.pd-videos {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.pd-videos.single-video {
    grid-template-columns: 1fr;
}

.pd-videos.multi-video {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pd-videos .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.pd-videos .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Structure diagram */
.pd-structure-img {
    text-align: center;
    margin: 1.5rem 0;
}

.pd-structure-img img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Material/Feature highlight blocks */
.pd-feature-highlight {
    margin: 1.5rem 0;
}

.pd-feature-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.pd-feature-highlight li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #444;
}

.pd-feature-highlight li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5dcb4a;
    font-weight: 700;
}

.pd-feature-highlight img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0.5rem 0 1rem;
}

/* Tables */
.pd-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
}

.pd-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 500px;
}

.pd-table-wrapper table th {
    background-color: #f8f8f8;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.pd-table-wrapper table td {
    padding: 10px 12px;
    text-align: center;
    border: 1px solid #ddd;
    vertical-align: middle;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Application details */
.pd-application-details {
    margin: 1.5rem 0;
}

.pd-application-details p {
    margin: 0.5rem 0;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #444;
}

.pd-application-details a {
    color: #667eea;
    text-decoration: underline;
}

.pd-caution {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background-color: #fff5f5;
    border-left: 4px solid #ff2a00;
    border-radius: 0 4px 4px 0;
}

.pd-caution strong {
    color: #ff2a00;
}

/* Generic content images */
.product-description-section img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 1rem auto;
}

/* Description paragraphs */
.product-description-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0.5rem 0;
}

/* Links within description */
.product-description-section a {
    color: #667eea;
    text-decoration: underline;
}

.product-description-section a:hover {
    color: #764ba2;
}

/* Responsive */
@media (max-width: 768px) {
    .product-description-section {
        padding: 1.5rem 0.75rem;
    }

    .pd-header h2 {
        font-size: 1.4rem;
    }

    .pd-videos.multi-video {
        grid-template-columns: 1fr;
    }
}
