/* ====================================================================
   loftrek.css — PRODUCT-ZONE components only (breadcrumb, gallery slider,
   product info, spec card, related cards, CTA banner).
   Design tokens, base reset, top nav and footer come from loftrek-site.css
   (the authoritative chrome captured from loftrek.ro). Load order in <head>:
   loftrek-site.css FIRST, then this file. All var(--*) tokens resolve there.
   ==================================================================== */

/* BREADCRUMB */
.breadcrumb-wrap { max-width: 1360px; margin: 0 auto; padding: 88px clamp(16px,4vw,56px) 0; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 0.78rem; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb-sep { color: var(--border); }

/* GENERIC */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; color: var(--green-600); text-transform: uppercase; letter-spacing: 0.12em; }
.kicker::before { content: ''; width: 20px; height: 2px; background: var(--green-500); border-radius: 2px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; font-size: 0.75rem; font-weight: 500; color: var(--text-soft); }
.badge-green { background: rgba(141,198,63,0.1); border-color: rgba(141,198,63,0.3); color: var(--green-600); }

/* ===== PRODUCT PAGE ===== */
.product-wrap { max-width: 1360px; margin: 0 auto; padding: 24px clamp(16px,4vw,56px) 80px; }
.product-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px,4vw,56px); align-items: start; padding: 24px 0 56px; }
@media (max-width: 900px) { .product-top { grid-template-columns: 1fr; } }

/* Slider */
.slider { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.slider-track { display: flex; height: 100%; transition: transform 0.38s cubic-bezier(.4,0,.2,1); }
.slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.45); backdrop-filter: blur(4px); color: #fff; border: none; border-radius: 50%; width: 38px; height: 38px; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; padding: 0; }
.slider-btn:hover { background: rgba(0,0,0,.72); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-dots { display: flex; gap: 8px; justify-content: center; padding: 10px 0 2px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: background .2s, transform .2s; padding: 0; }
.slider-dot.active { background: var(--green-600); transform: scale(1.25); }
.slider-single .slider-btn, .slider-single .slider-dots { display: none; }

/* Info column */
.product-info { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.product-title { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
.product-code { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; font-size: 0.72rem; font-weight: 600; color: var(--green-600); letter-spacing: 0.08em; }
.product-pager { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: calc(var(--radius-md) + 4px); margin-bottom: 2px; }
.pager-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 38px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s; }
.pager-btn svg { width: 19px; height: 19px; }
.pager-btn:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; transform: translateY(-1px); }
.pager-btn:active { transform: translateY(0); }
.pager-sep { width: 1px; height: 20px; background: var(--border); }
.product-lead { font-size: 1rem; color: var(--text-soft); line-height: 1.7; }
.product-desc p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 12px; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; background: var(--green-600); color: #fff; font-size: 0.9rem; font-weight: 600; border-radius: var(--radius-md); transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--green-700); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; background: var(--surface); color: var(--text); border: 1px solid var(--border); font-size: 0.9rem; font-weight: 600; border-radius: var(--radius-md); transition: border-color 0.2s, transform 0.15s; }
.btn-ghost:hover { border-color: var(--green-400); transform: translateY(-1px); }

/* Spec table */
.spec-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 8px 22px; margin-top: 8px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.875rem; }
.spec-row:last-child { border-bottom: none; }
.spec-card, .spec-row, .spec-label, .spec-value { margin: 0; }
.spec-label { color: var(--text-muted); }
.spec-value { color: var(--text); font-weight: 500; text-align: right; }
.product-updated { margin-top: 12px; font-size: 0.72rem; color: var(--text-muted); }
.price-note { margin-top: 10px; font-size: 0.75rem; color: var(--text-soft); line-height: 1.5; }

/* Section */
.product-section { padding-top: 48px; }
.section-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text); margin-bottom: 20px; }

/* Related cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.product-card:hover { border-color: var(--green-400); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-thumb { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center top; background-color: var(--bg-alt); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.card-code { font-size: 0.68rem; font-weight: 600; color: var(--green-600); text-transform: uppercase; letter-spacing: 0.1em; }
.card-name { font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.35; }

/* CTA banner */
.cta-banner { margin-top: 56px; background: linear-gradient(135deg, var(--green-600), var(--green-700)); color: #fff; border-radius: var(--radius-xl); padding: clamp(28px,4vw,40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.2rem,2vw,1.6rem); font-weight: 700; margin-bottom: 6px; }
.cta-banner p { font-size: 0.875rem; opacity: 0.9; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: #fff; color: var(--green-700); font-size: 0.9rem; font-weight: 600; border-radius: var(--radius-md); white-space: nowrap; transition: transform 0.15s; }
.cta-btn:hover { transform: translateY(-1px); }

/* Footer styles come from loftrek-site.css (.ft-* classes). */

@media (max-width: 768px) { .nav-links { display: none; } }
