.stock-main { min-height: 70vh; }
.stock-intro { max-width: 800px; padding: 32px 0 48px; }
.stock-intro h1 { font-size: clamp(1.7rem, 4vw, 3rem); }
.stock-intro > p:last-child, .stock-empty p:not(.eyebrow) { color: #c5c5d3; font-size: 1.2rem; line-height: 1.7; }
.stock-section { padding-bottom: 56px; }
.stock-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.stock-heading h2 { color: var(--text-main); font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin: 0; }
.stock-status { color: var(--neon-cyan); border: 1px solid #303046; padding: 8px 12px; font-size: .7rem; }
.stock-empty { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 5vw, 56px); border: 1px solid #303046; border-top: 2px solid var(--neon-magenta); border-radius: 10px; background: var(--bg-card); }
.stock-symbol { color: var(--neon-cyan); }
.stock-symbol svg { display: block; width: 100%; max-width: 150px; height: auto; }
.stock-empty h3 { font-family: 'Orbitron', sans-serif; font-size: clamp(1.1rem, 2.5vw, 1.5rem); line-height: 1.5; margin-bottom: 16px; }
.stock-empty p:not(.eyebrow) { margin-bottom: 16px; }
.stock-empty .quote-link { margin-top: 8px; }
@media (max-width: 760px) {
    .stock-intro { padding: 20px 0 32px; }
    .stock-empty { grid-template-columns: 1fr; gap: 24px; }
    .stock-symbol svg { width: 64px; }
}
.stock-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); padding: clamp(20px, 3vw, 36px); border: 1px solid #303046; border-top: 2px solid var(--neon-magenta); border-radius: 10px; background: var(--bg-card); }
.stock-product + .stock-product { margin-top: 32px; }
.product-gallery { min-width: 0; }
.product-photo-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; aspect-ratio: 4 / 5; border: 1px dashed #45455e; background: #14141f; color: #a5a5b8; text-align: center; }
.product-photo-pending svg { width: 80px; color: var(--neon-cyan); }
.product-gallery > a { display: block; }
.product-gallery img { display: block; width: 100%; height: auto; border-radius: 6px; }
.product-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.product-thumbnails img { aspect-ratio: 1; object-fit: cover; }
.product-thumbnails a:hover { opacity: .8; }
.photo-hint { color: #a5a5b8; font-size: .7rem; margin-top: 14px; line-height: 1.6; }
.product-details h3 { font-family: 'Orbitron', sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; margin-bottom: 18px; }
.product-description { color: #c5c5d3; font-size: 1.15rem; line-height: 1.7; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.product-price strong { font-family: 'Orbitron', sans-serif; font-size: 2rem; color: var(--neon-cyan); }
.product-price span { color: #c5c5d3; }
.spec-title { font-family: 'Orbitron', sans-serif; font-size: 1rem; margin: 36px 0 16px; }
.product-specs { margin: 0; }
.product-specs > div { padding: 12px 0; border-bottom: 1px solid #303046; }
.product-specs dt { color: var(--neon-cyan); font-size: .85rem; margin-bottom: 4px; }
.product-specs dd { margin: 0; color: #dedee8; font-size: 1.1rem; line-height: 1.5; overflow-wrap: anywhere; }
.stock-lightbox { width: min(1000px, 94vw); max-height: 94vh; margin: auto; padding: 16px; background: #14141f; color: #dedee8; border: 1px solid var(--neon-cyan); }
.stock-lightbox::backdrop { background: rgba(8, 8, 16, .92); }
.stock-lightbox img { display: block; max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; }
.lightbox-close { display: block; margin: 0 0 16px auto; padding: 10px 16px; color: var(--neon-cyan); background: transparent; border: 1px solid currentColor; cursor: pointer; font: inherit; }
.lightbox-close:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 3px; }
.lightbox-viewer { position: relative; }
.stock-lightbox .lightbox-viewer img { max-height: 70vh; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; padding: 10px; border: 1px solid var(--neon-cyan); border-radius: 50%; color: var(--neon-cyan); background: rgba(20, 20, 31, .94); cursor: pointer; }
.lightbox-arrow[hidden] { display: none; }
.lightbox-previous { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-arrow:hover { background: #303046; }
.lightbox-arrow:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 3px; }
.lightbox-counter { margin: 12px 0 0; text-align: center; font-size: .85rem; color: #c5c5d3; }
@media (max-width: 760px) {
    .stock-product { grid-template-columns: 1fr; }
    .product-photo-pending { aspect-ratio: 4 / 3; }
}

.handheld-headline { color: var(--neon-cyan); font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; line-height: 1.4; margin-bottom: 18px; }
.product-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.offer-label { color: var(--neon-magenta); font-size: .85rem; }
.stock-handheld .product-thumbnails img, .stock-laptop .product-thumbnails img { object-fit: contain; background: #fff; }
.stock-handheld .product-gallery > a img, .stock-laptop .product-gallery > a img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.product-gallery a:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 4px; }

.purchase-actions { margin-top: 20px; }
.buy-now { cursor: pointer; font: inherit; text-align: left; }
.buy-now:disabled { opacity: .55; cursor: not-allowed; }
.purchase-note { font-size: .95rem; color: #c5c5d3; line-height: 1.5; }
.purchase-dialog { width: min(660px, 94vw); max-height: 92vh; margin: auto; padding: clamp(20px, 4vw, 36px); overflow-y: auto; background: #14141f; color: #dedee8; border: 1px solid var(--neon-cyan); border-radius: 8px; }
.purchase-dialog::backdrop { background: rgba(8,8,16,.92); }
.purchase-dialog h2 { font-family: 'Orbitron', sans-serif; font-size: 1.6rem; line-height: 1.5; }
.purchase-total { color: var(--neon-cyan); font-size: 1.8rem; margin: 16px 0 24px; }
.purchase-total small { color: #c5c5d3; font-size: 1rem; }
.purchase-dialog fieldset { min-width: 0; border: 0; margin: 0 0 24px; padding: 0; }
.purchase-dialog legend { padding: 0; margin-bottom: 12px; font-weight: 700; }
.collection-location { padding: 18px; border-left: 2px solid var(--neon-cyan); background: #20202e; margin: 20px 0; line-height: 1.6; }
.collection-location p { margin: 6px 0; overflow-wrap: anywhere; }
.purchase-dialog a { color: var(--neon-cyan); }
#collection-fields > label, .collection-contact > label { display: block; margin-bottom: 16px; line-height: 1.5; }
#collection-fields input:not([type=checkbox]), #collection-fields textarea, #collection-fields select { box-sizing: border-box; display: block; width: 100%; margin-top: 6px; padding: 12px; background: #20202e; color: #eeeef4; border: 1px solid #55556c; border-radius: 3px; font: inherit; }
.collection-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#collection-fields .reservation-consent { display: flex; gap: 10px; align-items: flex-start; }
.reservation-consent input { margin-top: 5px; }
.purchase-dialog :focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 3px; }
#purchase-message { color: #f2c7a1; line-height: 1.5; }
#reservation-result { border-top: 2px solid var(--neon-cyan); padding-top: 20px; line-height: 1.7; overflow-wrap: anywhere; }
#reservation-result h3 { font-family: 'Orbitron', sans-serif; color: var(--neon-cyan); }
@media(max-width: 540px) { .collection-contact { grid-template-columns: 1fr; gap: 0; } }

/* Keep conditional form sections hidden despite label layout rules. */
#collection-fields [hidden] { display: none; }

/* Readable specifications and a distinct space for the buying decision. */
.stock-product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); scroll-margin-top: 160px; }
.product-details { min-width: 0; }
.product-description, .product-specs, .product-purchase .purchase-note { font-family: Verdana, sans-serif; font-size: .98rem; line-height: 1.8; letter-spacing: normal; }
.product-description + .product-description { margin-top: 16px; }
.product-purchase { margin: 30px 0 36px; padding: clamp(20px, 3vw, 28px); border: 1px solid #38384e; border-left: 3px solid var(--neon-cyan); border-radius: 6px; background: #181824; }
.product-purchase .product-price { display: grid; gap: 10px; margin: 0 0 26px; }
.product-price strong { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.35; }
.product-purchase .product-price span { font-size: 1.05rem; }
.product-purchase .purchase-actions { margin: 0; }
.product-purchase .buy-now { width: 100%; min-height: 58px; justify-content: space-between; padding: 18px 20px; font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.4; text-transform: none; background: var(--neon-cyan); color: #0a1820; }
.product-purchase .buy-now:hover:not(:disabled) { background: #a3f5fa; }
.product-purchase .buy-now:disabled { background: #293c43; color: #c5d9df; opacity: 1; }
.product-purchase .purchase-note { margin-top: 14px; font-size: .85rem; }
.product-enquiry { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; width: 100%; margin-top: 20px; padding-top: 16px; border-top: 1px solid #38384e; color: #e0e0ec; font-size: 1.15rem; text-decoration: underline; text-underline-offset: 5px; }
.product-enquiry:hover { color: var(--neon-cyan); }
.product-specs > div { display: grid; grid-template-columns: minmax(90px, .65fr) minmax(0, 1.35fr); gap: 16px; padding: 17px 0; }
.product-specs dt { margin: 0; color: #a7dce0; font-size: .85rem; line-height: 1.8; }
.product-specs dd { font-size: .95rem; line-height: 1.8; }
.stock-product .spec-title { margin-top: 30px; }
.product-purchase :focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 5px; }
@media (max-width: 760px) {
    .stock-product { grid-template-columns: 1fr; gap: 30px; }
    .product-specs > div { grid-template-columns: 1fr; gap: 5px; }
    .product-purchase { margin-top: 26px; }
}
