/**
 * Product Infosheet: Lyson RAPID Hive (10-Frame) — Long-Form
 * Imports shared infosheet design system + adds longform component sections.
 * @package PerfectBee4
 */
@import url('../../../products/shared/infosheet.css');

/* ============================================================
   COMPONENT INDEX (sticky nav)
   ============================================================ */
.pb-products-showcase .component-index {
    position: sticky;
    top: 49px;
    z-index: 99;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.pb-products-showcase .component-index .ps-container {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pb-products-showcase .component-index .ps-container::-webkit-scrollbar { display: none; }

.pb-products-showcase .component-index-label {
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    white-space: nowrap;
    padding: 14px 18px 14px 0;
    border-right: 1px solid var(--border);
    margin-right: 4px;
    flex-shrink: 0;
}

.pb-products-showcase .index-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text-light);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}
.pb-products-showcase .index-link:hover {
    color: var(--navy);
    background: var(--gold-pale);
}
.pb-products-showcase .index-link.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}
.pb-products-showcase .index-link .index-sku {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-faint);
    letter-spacing: 0.06em;
    font-family: 'Courier New', monospace;
}
.pb-products-showcase .index-link .index-addon {
    font-size: 8px;
    font-weight: 800;
    color: var(--gold);
    background: var(--navy);
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================================
   COMPONENT SECTIONS
   ============================================================ */
.pb-products-showcase .component-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
}
.pb-products-showcase .component-section:nth-child(even) {
    background: var(--gold-pale);
}
.pb-products-showcase .component-section:last-child {
    border-bottom: none;
}

.pb-products-showcase .component-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.pb-products-showcase .component-section:nth-child(even) .component-layout {
    direction: rtl;
}
.pb-products-showcase .component-section:nth-child(even) .component-layout > * {
    direction: ltr;
}

/* Section number */
.pb-products-showcase .section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 14px;
}

/* Hero image */
.pb-products-showcase .hero-right img {
    max-width: 320px;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

/* Image side */
.pb-products-showcase .component-image {
    position: relative;
}
.pb-products-showcase .component-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}
.pb-products-showcase .component-image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, var(--off-white), var(--border-light));
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-faint);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    gap: 8px;
    text-align: center;
}
.pb-products-showcase .component-image-placeholder .img-icon {
    font-size: 36px;
    opacity: 0.45;
}
.pb-products-showcase .component-image-sku {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 4px;
}

/* Content side */
.pb-products-showcase .component-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.pb-products-showcase .component-tag {
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 4px;
}
.pb-products-showcase .component-name {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.pb-products-showcase .sku-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: var(--navy-light);
    border: 1px solid rgba(21,47,94,0.15);
    border-radius: var(--radius);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Component features (reuse panel-feature styling but with slightly larger text) */
.pb-products-showcase .component-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}
.pb-products-showcase .component-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.5;
}
.pb-products-showcase .component-feature::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--gold);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-top: 5px;
}

/* ============================================================
   LONGFORM KIT OVERVIEW (centered, larger)
   ============================================================ */
.pb-products-showcase .kit-overview-longform {
    padding: 48px 0;
    background: var(--gold-pale);
    border-bottom: 1px solid var(--border);
}
.pb-products-showcase .kit-overview-longform .section-label {
    text-align: center;
    margin-bottom: 6px;
}
.pb-products-showcase .kit-overview-longform .section-label-badge {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--navy);
    padding: 4px 14px;
    border-radius: 4px;
}
.pb-products-showcase .kit-overview-longform .section-title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    color: var(--navy);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.pb-products-showcase .kit-overview-longform .kit-configs {
    max-width: 900px;
    margin: 0 auto;
}
.pb-products-showcase .kit-overview-longform .kit-config-card {
    text-align: center;
    padding: 20px 22px;
}
.pb-products-showcase .kit-overview-longform .kit-config-name {
    font-size: 14px;
    margin-bottom: 6px;
}
.pb-products-showcase .kit-overview-longform .kit-config-items {
    font-size: 13px;
}
.pb-products-showcase .kit-overview-longform .kit-config-link {
    margin-top: 14px;
}

/* ============================================================
   RESPONSIVE -- LONGFORM
   ============================================================ */
@media (max-width: 860px) {
    .pb-products-showcase .component-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pb-products-showcase .component-section:nth-child(even) .component-layout {
        direction: ltr;
    }
    .pb-products-showcase .component-section { padding: 36px 0; }
    .pb-products-showcase .component-index-label { display: none; }
    .pb-products-showcase .index-link { padding: 8px 10px; font-size: 10px; }
}

@media (max-width: 540px) {
    .pb-products-showcase .component-header { flex-direction: column; gap: 8px; }
    .pb-products-showcase .component-name { font-size: 20px; }
}
