/* ========== KORPA 5: Tab selector (Opcija 5) ========== */

.walmart-design-3 {
  display: block;
}

.walmart-tabbed {
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  padding: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", Roboto, sans-serif;
}

.walmart-tab-header {
  font-size: 14px;
  color: #2c2c2c;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Selected state — show plan name in header */
.walmart-design-3.has-selection .walmart-tab-header {
  font-size: 13px;
  font-weight: 400;
}

.walmart-design-3.has-selection .walmart-tab-header strong {
  font-weight: 600;
}

.walmart-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.walmart-tab {
  flex: 1;
  cursor: pointer;
}

.walmart-tab input[type="radio"] {
  display: none;
}

.walmart-tab-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  height: 60px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
  transform: translateZ(0);
}

.walmart-tab:hover .walmart-tab-content {
  border-color: #FFCB05;
  background: #fffef8;
}

.walmart-tab input[type="radio"]:checked + .walmart-tab-content {
  border-color: #FFCB05;
  background: #fffef8;
}

.walmart-tab-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  background: #FFCB05;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #000;
}

/* Featured styling removed - only apply on actual selection */

.walmart-tab-name {
  font-size: 13px;
  color: #2c2c2c;
  font-weight: 500;
}

.walmart-tab-price {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

.walmart-tab-details {
  background: none;
  border: none;
  color: #666;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.walmart-tab-details:hover {
  color: #333;
  text-decoration-color: #FFCB05;
}

/* Clear button on selected tab */
.walmart-tab-clear {
  display: none;
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #FFCB05;
  color: #333;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 10;
}

.walmart-tab input[type="radio"]:checked + .walmart-tab-content .walmart-tab-clear {
  display: flex;
}

.walmart-tab-clear:hover {
  background: #FFCB05;
  color: #fff;
  transform: scale(1.1);
}
