/* extras.css - Step 2 extras list with quantity selectors */
.flb-extras-v3 {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.flb-extra-check {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.flb-extra-card {
  border: 1px solid var(--flb-border);
  border-radius: var(--flb-radius);
  background: var(--flb-extra-bg, #fff);
  box-shadow: var(--flb-shadow);
  overflow: hidden;
  transition: .15s ease;
}

.flb-extra-card:hover {
  transform: translateY(-1px)
}

.flb-extra-card.is-selected {
  border-color: var(--flb-accent);
  background: var(--flb-extra-selected-bg, #fff7ed);
  box-shadow: var(--flb-shadow-accent);
}

/* row */
.flb-extra-hit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 14px;
  cursor: pointer;
}

.flb-extra-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0
}

.flb-extra-ico {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--flb-soft2);
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.flb-extra-ico img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 10px
}

.flb-extra-ico-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--flb-accent);
  display: block
}

.flb-extra-title {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--flb-text);
  line-height: var(--flb-lh-tight);
}

.flb-extra-desc {
  margin-top: 4px;
  color: var(--flb-muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.flb-extra-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto
}

.flb-extra-pricebox {
  text-align: right;
  line-height: 1
}

.flb-extra-price {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--flb-text);
}

.flb-extra-unit {
  font-size: 12px;
  color: var(--flb-muted);
  margin-top: 4px;
  font-weight: 700
}

/* check circle */
.flb-extra-checkcircle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid #cbd5e1;
  position: relative;
  flex: 0 0 auto;
  background: #fff;
}

.flb-extra-checkcircle:after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: transparent;
}

.flb-extra-card.is-selected .flb-extra-checkcircle {
  border-color: var(--flb-accent)
}

.flb-extra-card.is-selected .flb-extra-checkcircle:after {
  background: var(--flb-accent)
}

/* qty bar */
.flb-extra-qty {
  padding: 14px 18px 18px;
  display: none;
  grid-template-columns: 46px 1fr 46px;
  gap: 12px;
  align-items: center;
}

.flb-extra-card.is-selected .flb-extra-qty {
  display: grid
}

.flb-qty-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px solid var(--flb-accent);
  background: #fff;
  font-weight: 900;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .12s ease;
}

.flb-qty-btn:hover {
  background: #fff7ed
}

.flb-qty-btn:active {
  transform: scale(.98)
}

.flb-qty-input {
  height: 46px;
  width: 100%;
  text-align: center;
  border-radius: 12px;
  border: 2px solid var(--flb-border);
  background: #fff;
  font-weight: 900;
  font-size: 16px;
}

@media(max-width:640px) {
  .flb-extra-title {
    font-size: 16px
  }

  .flb-extra-price {
    font-size: 16px
  }

  .flb-extra-ico {
    width: 46px;
    height: 46px;
    border-radius: 14px
  }

  .flb-qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px
  }

  .flb-qty-input {
    height: 44px
  }
}
