/* A compact studio shelf for cut-out product photos, placed above the lamp
   gallery. Same panel, card anatomy and actions as the lamps; denser on
   purpose, so the lamps' lifestyle photographs stay the visual lead.
   No carousel, arrows or JavaScript (owner decision, 2026-10-31). */
.ev-charging {
    min-width: 0;
    padding: 24px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    color: #0f172a;
}
.ev-charging__heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 32px; }
/* ~75 characters per line, and no single-word last line ("įvadą."). */
.ev-charging__lede { min-width: 0; max-width: 36rem; }
.ev-charging h2 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.ev-charging__intro { margin: 8px 0 0; color: #475569; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.ev-charging__all { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 14px 8px 18px; border: 1px solid #a7f3d0; border-radius: 999px; background: #fff; color: #047857; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; }
.ev-charging__all svg { flex: none; width: 16px; height: 16px; }
.ev-charging__all:hover { border-color: #34d399; background: #ecfdf5; color: #065f46; }
.ev-charging__all:focus-visible { outline: 2px solid #047857; outline-offset: 3px; }
/* Phones reach the link after the rows; display:none keeps one copy in the
   accessibility tree and tab order at every width. */
.ev-charging__all--top { display: none; }
.ev-charging__all--bottom { display: flex; width: 100%; margin-top: 20px; }
.ev-charging__products { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.ev-charger { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 16px; min-width: 0; padding: 0 0 16px; border-bottom: 1px solid #edf0f2; }
.ev-charger:last-child { padding-bottom: 0; border-bottom: 0; }
/* Supplier photos are cut-outs on white. Multiplying them onto one studio
   tint removes the white square they used to leave inside a grey mat;
   isolation keeps the blend inside the tile. */
.ev-charger__media { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #f1f5f9; isolation: isolate; }
.ev-charger__media img { display: block; width: 100%; height: 100%; padding: 7%; object-fit: contain; mix-blend-mode: multiply; }
.ev-charger__details { min-width: 0; padding-top: 2px; }
.ev-charger h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; text-wrap: pretty; }
.ev-charger h3 a { color: inherit; text-decoration: none; }
.ev-charger h3 a::after { position: absolute; inset: -5px; border-radius: 14px; content: ''; }
.ev-charger h3 a:focus-visible { outline: none; }
.ev-charger h3 a:focus-visible::after { outline: 2px solid #047857; outline-offset: 2px; }
.ev-charger__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 8px; }
.ev-charger__price { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.ev-charger__cta { display: inline-flex; align-items: center; min-height: 40px; color: #047857; font-size: 14px; font-weight: 600; line-height: 1.4; text-underline-offset: 3px; }
.ev-charger:focus-within .ev-charger__cta { color: #065f46; text-decoration: underline; }
.ev-charger:focus-within .ev-charger__media { background: #e8edf3; }
@media (hover: hover) {
    .ev-charger:hover .ev-charger__cta { color: #065f46; text-decoration: underline; }
    .ev-charger:hover .ev-charger__media { background: #e8edf3; }
}
@media (prefers-reduced-motion: no-preference) {
    .ev-charger__cta { transition: color 180ms ease; }
    .ev-charger__media { transition: background-color 180ms ease; }
    .ev-charging__all { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
}
@media (max-width: 359px) {
    .ev-charging { padding-inline: 16px; }
    .ev-charger { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
}
@media (min-width: 640px) {
    .ev-charging { padding: 32px; }
    .ev-charging h2 { font-size: 30px; }
    .ev-charging__all--top { display: inline-flex; }
    .ev-charging__all--bottom { display: none; }
    .ev-charging__products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; margin-top: 24px; }
    .ev-charger { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; }
    .ev-charger__media { aspect-ratio: 4 / 3; border-radius: 16px; }
    .ev-charger__details { display: flex; flex: 1; flex-direction: column; width: 100%; padding: 0 2px; }
    .ev-charger__footer { margin-top: auto; padding-top: 8px; }
}
/* One row of six: half the height of the lamp grid that follows. Titles
   stay whole up to 4 lines (the longest, RU, is 89 characters). */
@media (min-width: 1280px) {
    .ev-charging__products { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; }
    .ev-charger__media { aspect-ratio: 1; border-radius: 14px; }
    .ev-charger h3 { display: -webkit-box; overflow: hidden; font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
    .ev-charger__price { font-size: 18px; }
}
