/* ====== Product Detail Page Styles ====== */

/* Breadcrumb */
.product-breadcrumb {
    padding: 2% 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #666;
}
.product-breadcrumb a { color: #1b569c; }
.product-breadcrumb a:hover { text-decoration: underline; }
.product-breadcrumb span { color: #555; font-weight: 500; }

/* Product Hero */
.product-hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    padding: 4% 0;
}
@media (max-width: 900px) {
    .product-hero { grid-template-columns: 1fr; }
}
.product-hero-image {
    background: #f6f6f6;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-hero-info h1 {
    font-size: 28px;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.product-sku {
    display: inline-block;
    background: #f0f5fa;
    color: #1b569c;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 1rem;
}
.product-category-tag {
    display: inline-block;
    background: #ecf0f1;
    color: #555;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 13px;
    margin-left: 8px;
}
.product-short-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 1rem 0;
}
.product-highlights {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.product-highlights h3 {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}
.highlight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f4ff;
    color: #1b569c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
.highlight-chip::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
}

/* Pricing */
.price-block {
    background: linear-gradient(135deg, #f0f5fa, #e8f4ff);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #1b569c;
}
.price-block h3 {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}
.price-range {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 0.5rem;
}
.price-currency {
    font-size: 16px;
    color: #db3345;
    font-weight: 600;
}
.price-amount {
    font-size: 28px;
    color: #db3345;
    font-weight: 700;
}
.price-sep {
    color: #999;
    font-size: 18px;
}
.price-specs {
    margin-top: 0.75rem;
    font-size: 13px;
    color: #666;
}

/* Section blocks */
.product-section {
    padding: 3% 0;
    border-bottom: 1px solid #f0f0f0;
}
.product-section:last-child { border-bottom: none; }
.section-heading {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1b569c;
    display: inline-block;
}
.subsection-heading {
    font-size: 17px;
    color: #1b569c;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

/* Overview */
.overview-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.overview-text p { margin-bottom: 0.75rem; }
.tech-term {
    background: #e8f4ff;
    color: #1b569c;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* Advantages grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 1rem;
}
.advantage-card {
    padding: 1.25rem;
    background: #f8f9fa;
    border-left: 3px solid #27ae60;
    border-radius: 0 6px 6px 0;
}
.advantage-card h4 {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.advantage-card h4::before {
    content: "✓";
    color: #27ae60;
    font-size: 18px;
}
.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Data tables */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 14px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.product-table th {
    background: #1b569c;
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}
.product-table td {
    padding: 11px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    line-height: 1.5;
}
.product-table tr:nth-child(even) td { background: #fafbfc; }
.product-table tr:last-child td { border-bottom: none; }
.product-table td strong { color: #2c3e50; }

/* Process steps */
.process-steps {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.process-step {
    flex: 1;
    min-width: 140px;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    position: relative;
    border: 1px solid #e0e0e0;
}
.process-step strong {
    display: block;
    color: #1b569c;
    font-size: 16px;
    margin-bottom: 6px;
}
.process-step span {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    color: #1b569c;
    font-size: 20px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .process-step:not(:last-child)::after { display: none; }
}

/* Image gallery */
.case-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 1rem;
}
.gallery-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: white;
}
.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.gallery-caption {
    padding: 10px 14px;
    font-size: 13px;
    color: #666;
    text-align: center;
    background: #f8f9fa;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #f8f9fa;
    border-left: 3px solid #1b569c;
    border-radius: 0 6px 6px 0;
    padding: 1.25rem 1.5rem;
}
.faq-item h4 {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.faq-item h4::before {
    content: "Q: ";
    color: #1b569c;
    font-weight: 700;
}
.faq-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Related products */
.related-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 1rem;
}
.related-card {
    display: block;
    padding: 1.25rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.related-card:hover {
    border-color: #1b569c;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.related-card .related-sku {
    font-size: 12px;
    color: #1b569c;
    font-weight: 600;
    margin-bottom: 4px;
}
.related-card h4 {
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 6px;
}
.related-card .related-link {
    font-size: 12px;
    color: #1b569c;
}

/* Category list page (palmitoylation etc.) */
.category-hero {
    background: linear-gradient(135deg, #1b569c, #2874a6);
    color: white;
    padding: 4% 4%;
    border-radius: 0 0 8px 8px;
    margin-bottom: 3%;
}
.category-hero h1 {
    font-size: 30px;
    margin-bottom: 0.75rem;
}
.category-hero p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 900px;
}
.category-highlights-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 1.5rem;
}
.category-highlight {
    background: rgba(255,255,255,0.15);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.category-highlight::before {
    content: "✓";
    font-size: 18px;
    font-weight: bold;
}

.product-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.product-card-link {
    display: block;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.product-card-link:hover {
    border-color: #1b569c;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.product-card-link .sku {
    font-size: 13px;
    color: #1b569c;
    font-weight: 600;
    margin-bottom: 6px;
}
.product-card-link h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-card-link p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}
.product-card-link .tag {
    display: inline-block;
    background: #ecf0f1;
    color: #555;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}
