/* Retain the stable v1.2.2 tp-bar styling */
.tp-bar{
  --gap:10px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:#fff; color:#111;
  padding:12px; border-radius:12px; border:1px solid #e5e7eb;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  display:flex; align-items:center; gap:var(--gap);
  flex-wrap:nowrap; position:relative; z-index:10;
  width:auto; max-width:none; box-sizing:border-box;
}

.tp-field{display:flex; align-items:center; gap:6px}
.tp-label{font-size:12px; letter-spacing:.04em; color:#6b7280; text-transform:uppercase; white-space:nowrap}
.tp-select{
  background:#fff; color:#111; border:1px solid #e5e7eb; border-radius:9px;
  padding:8px 10px; font-size:14px; outline:none; min-width:170px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}
.tp-pris{font-size:14px; font-weight:700; white-space:nowrap; margin-left:4px}
.tp-btn{
  background:#e50914; color:#fff; text-decoration:none;
  padding:10px 16px; border-radius:10px; font-weight:700;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid transparent; box-shadow:0 1px 2px rgba(0,0,0,.06);
  margin-left:6px;
}

.elementor-widget-html, .elementor-widget-container, .elementor-column, .elementor-container{
  overflow:visible!important
}

@media (max-width: 768px){
  .tp-bar{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:6px;
    width:90vw; max-width:380px; margin:0 auto;
    padding:10px; border-radius:10px;
  }

  /* FIX: Prevent select from being squeezed (mobile) */
  .tp-field{
    grid-column: 1 / -1;     /* span both columns */
    flex-direction: column; /* label above select */
    align-items: stretch;
    gap: 6px;
  }
  .tp-label{
    font-size:10px;
    white-space: normal;    /* allow wrapping */
  }
  .tp-select{
    width:100%;
    min-width:0;
    padding:6px 9px;
    font-size:12.5px;

    /* Android/Chrome: ensure selected text is visible */
    color:#111 !important;
    background-color:#fff !important;
    -webkit-text-fill-color:#111 !important;
    opacity:1 !important;
    text-indent:0 !important;
    text-shadow:none !important;
  }
  .tp-select option{
    color:#111 !important;
    -webkit-text-fill-color:#111 !important;
  }

  .tp-pris{grid-column:1; align-self:center; font-size:12.5px}
  .tp-btn{grid-column:2; justify-self:stretch; padding:8px 12px; font-size:13px; margin-left:0}
}