/**
 * OC — PLP PDP strip (hero banner + active / suggested FacetWP chips).
 * Pair with oc-plp-pdp-strip.js and oc-plp-pdp-strip-delivery.php
 */
.oc-plp-pdp-strip {
  --oc-pdp-banner-bg: linear-gradient(90deg, #1a2b5c 0%, #0f766e 55%, #14b8a6 100%);
  --oc-pdp-banner-text: #fff;
  --oc-pdp-chip-active: #1d4ed8;
  --oc-pdp-chip-active-text: #fff;
  --oc-pdp-chip-suggest-bg: #f3f4f6;
  --oc-pdp-chip-suggest-text: #111827;
  --oc-pdp-radius-pill: 999px;
  --oc-pdp-radius-btn: 10px;
  max-width: 100%;
  margin: 0 0 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.oc-plp-pdp-strip[hidden] {
  display: none !important;
}

/* --- Gradient hero + Explore --- */
.oc-plp-pdp-strip__banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: var(--oc-pdp-radius-pill);
  background: var(--oc-pdp-banner-bg);
  color: var(--oc-pdp-banner-text);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
}

.oc-plp-pdp-strip__banner-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.oc-plp-pdp-strip__banner-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.oc-plp-pdp-strip__banner-text {
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

.oc-plp-pdp-strip__banner-text strong {
  font-weight: 800;
}

.oc-plp-pdp-strip__explore {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--oc-pdp-radius-btn);
  background: #fff;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.oc-plp-pdp-strip__explore:hover,
.oc-plp-pdp-strip__explore:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  outline: none;
}

/* --- Chips row --- */
.oc-plp-pdp-strip__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 12px;
  padding: 4px 2px;
}

.oc-plp-pdp-strip__chips-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  width: 100%;
  margin-bottom: 2px;
}

.oc-plp-pdp-strip__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--oc-pdp-radius-pill);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  max-width: 100%;
}

.oc-plp-pdp-strip__chip--active {
  background: var(--oc-pdp-chip-active);
  color: var(--oc-pdp-chip-active-text);
}

.oc-plp-pdp-strip__chip--active .oc-plp-pdp-strip__chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 2px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.oc-plp-pdp-strip__chip--active .oc-plp-pdp-strip__chip-remove:hover {
  background: rgba(255, 255, 255, 0.35);
}

.oc-plp-pdp-strip__chip--suggest {
  background: var(--oc-pdp-chip-suggest-bg);
  color: var(--oc-pdp-chip-suggest-text);
}

.oc-plp-pdp-strip__chip--suggest:hover {
  background: #e5e7eb;
}

.oc-plp-pdp-strip__clear {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oc-plp-pdp-strip__clear:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: none;
}

@media (max-width: 767px) {
  .oc-plp-pdp-strip__banner {
    flex-wrap: wrap;
  }

  .oc-plp-pdp-strip__explore {
    width: 100%;
    justify-content: center;
  }

  .oc-plp-pdp-strip__clear {
    margin-left: 0;
    width: 100%;
    text-align: left;
    padding-top: 6px;
  }
}
