/* ===== Product Detail Page Styles =====
   Shared by: acrylna-boya.html, studen-plastik.html, shpric-plastik.html
   ========================================= */

.product-detail-section {
    background: var(--white);
    padding: 80px 0 100px;
}
.product-detail-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.product-detail-img-wrap {
    background: var(--dark-3);
    border-radius: 20px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: sticky;
    top: 100px;
}
.product-detail-img-wrap img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}
.product-detail-body { padding-top: 8px; }
.product-detail-body .section-tag { color: var(--blue); display: block; margin-bottom: 16px; }
.product-detail-body h2 {
    font-family: var(--font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 28px;
}
.product-detail-body .product-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}
.specs-table tr {
    border-bottom: 1px solid var(--border-dark);
}
.specs-table tr:first-child { border-top: 1px solid var(--border-dark); }
.specs-table td {
    padding: 14px 0;
    font-size: 0.92rem;
    vertical-align: top;
}
.specs-table td:first-child {
    font-weight: 700;
    color: var(--dark);
    width: 42%;
    padding-right: 16px;
}
.specs-table td:last-child { color: var(--text-muted); }
.specs-table tr:nth-child(even) td { background: rgba(0,0,0,0.035); }

.product-detail-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.related-section {
    background: var(--dark);
    padding: 80px 0;
}
.related-section .section-header { margin-bottom: 48px; }
.related-section .section-header h2 { color: var(--white); }
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
}
@media (max-width: 900px) {
    .product-detail-inner { grid-template-columns: 1fr; gap: 40px; }
    .product-detail-img-wrap { position: static; aspect-ratio: 4/3; }
    .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .product-detail-inner { padding: 0 24px; }
    .related-grid { padding: 0 24px; }
}

/* ===== RAL Stripe Section ===== */
.ral-stripe-section {
    padding: 40px 0 60px;
    background: var(--white);
}
.ral-stripe {
    position: relative;
    background:
        linear-gradient(135deg, #ffffff 0%, #dbeafe 65%, #eff6ff 100%) padding-box,
        linear-gradient(90deg, #BF1B1B, #D96B27, #E8A900, #3E7A2F, #1A6B9E, #2B4E8C, #5C3E80, #BF1B1B) border-box;
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 36px 48px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
}
.ral-stripe::before { content: none; }
.ral-stripe-glow { display: none; }
.ral-stripe-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.ral-palette {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    align-items: center;
}
.ral-swatch {
    width: 20px;
    height: 44px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: transform 0.2s ease;
}
.ral-stripe:hover .ral-swatch {
    transform: scaleY(1.06);
}
.ral-stripe-body {
    flex: 1;
    min-width: 200px;
}
.ral-stripe-label {
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 700;
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 6px;
}
.ral-stripe-text {
    color: #0f172a;
    font-family: var(--font);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.ral-stripe-cta {
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    background: #0f172a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 100px;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.ral-stripe-cta:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,23,42,0.25);
}
.ral-stripe-cta svg { transition: transform 0.25s ease; }
.ral-stripe-cta:hover svg { transform: translateX(3px); }
@media (max-width: 768px) {
    .ral-stripe { padding: 28px 28px; }
    .ral-stripe-content { flex-direction: column; align-items: flex-start; gap: 20px; }
    .ral-swatch { width: 16px; height: 36px; }
    .ral-stripe-cta { align-self: flex-start; }
}
