/* ============================================================
   Screen 03 — Select Product
   ============================================================ */

.screen {
  min-height: 1093px;
}

/* ── Light header variant for screen 03
   The .pen frame 03 uses bg-card (white) header with navy text,
   not the default dark navy .kiosk-header. ── */
#screen-03 .kiosk-header--light {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
}

#screen-03 .kiosk-header--light .logo {
  color: var(--text-primary);
}

#screen-03 .kiosk-header--light .time {
  color: var(--text-primary);
}

.title-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 28px 16px;
  text-align: center;
}

.title-block .screen-title {
  font-size: 38px;
}

/* ── Chips Wrapper (arrow + scroll container) ── */
.chips-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 18px;
}

/* Arrow buttons */
.chip-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27,27,92,0.12);
  color: var(--text-primary);
  transition: opacity 0.15s, box-shadow 0.15s;
}

.chip-arrow:hover:not(:disabled) {
  box-shadow: 0 6px 16px rgba(27,27,92,0.18);
}

.chip-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chip-arrow i[data-lucide] {
  width: 20px;
  height: 20px;
}

/* Scrollable chip viewport */
.chips-row {
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chips-row::-webkit-scrollbar { display: none; }

.chip {
  height: 52px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.12s;
  /* Default/inactive styling */
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px -4px rgba(27, 27, 92, 0.10);
}

.chip i[data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

/* Emoji chip icon — sized to match former Lucide icon footprint */
.chip-emoji {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.chip:hover { transform: translateY(-1px); }

/* Active chip */
.chip.is-active {
  background: linear-gradient(135deg, #3b5998, #4a69bd);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px #3b599866;
}

.chip.is-active i,
.chip.is-active svg {
  color: #fff;
  stroke: #fff;
}

/* Screen-03 footer is 109px in the .pen (slightly taller).
   margin-top: auto pins the footer to the bottom of the flex-column .screen
   regardless of how many product rows are shown (ski: 3 rows, aqua: 2 rows). */
.kiosk-footer {
  height: 109px;
  margin-top: auto;
}

/* ── Product Grid ── */
.product-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px 14px;
}

.product-row {
  display: flex;
  gap: 10px;
}

.product-card {
  flex: 1;
  height: 210px;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 6px 18px -6px rgba(27, 27, 92, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(27, 27, 92, 0.18);
}

.product-image {
  width: 100%;
  height: 105px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tag {
  position: absolute;
  left: 6px;
  top: 6px;
  height: 20px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 10px;
}

.product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Product subtitle line (e.g. "Lyžiarsky lístok Jasná") */
.product-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
}

.product-loc {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-loc i[data-lucide] {
  width: 11px;
  height: 11px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.product-loc span {
  font-size: 11px;
  color: var(--text-secondary);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
}

.product-price-from {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

.product-price-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-price);
}
