/* LindoF Pombo Builder – matches the original configurator's look. */
.lpb.pombo-configurator {
  display: flex;
  gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
  justify-content: center;
  align-items: flex-start;
  font-family: inherit;
  color: #222;
  padding: 20px 0;
  box-sizing: border-box;
}
.lpb *, .lpb *::before, .lpb *::after { box-sizing: border-box; }

.lpb .preview-wrapper {
  width: 100%;
  max-width: 339px;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  flex: 0 1 339px;
}

.lpb .lpb-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 12px;
}
.lpb .lpb-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: none;
  margin: 0;
}
.lpb .lpb-preview img[hidden] { display: none; }
.lpb .lpb-pom-img { pointer-events: none; transform-origin: center 10%; }
.lpb .lpb-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #666;
  font-size: 17px;
}
.lpb .lpb-loading[hidden] { display: none; }

.lpb .lpb-selection {
  color: #000;
  background: #fff;
  padding: 16px 20px;
  margin: 16px 20px 0;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
  min-height: 1.4em;
}
.lpb .lpb-selection:empty { display: none; }

.lpb button.lpb-cart {
  display: block;
  background: #ff3366;
  color: #fff;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.3;
  white-space: nowrap;
  padding: 14px 22px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  width: 90%;
  max-width: 420px;
  margin: 24px auto 40px;
  transition: .2s;
  box-shadow: 0 6px 18px rgba(255, 51, 102, .3);
}
.lpb button.lpb-cart:hover:not(:disabled) { transform: scale(1.03); }
.lpb button.lpb-cart:disabled { opacity: .6; cursor: default; }

.lpb .lpb-message {
  margin: -24px 20px 24px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff0f3;
  color: #a1002b;
  text-align: center;
  font-size: 15px;
}
.lpb .lpb-message[hidden] { display: none; }

.lpb .config {
  width: 764px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  color: #222;
  padding: 40px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.lpb .section-title {
  color: #222;
  font-size: 24px;
  font-weight: 500;
  text-align: left;
  padding-left: 17px;
  margin: 0 0 26px;
}
.lpb .section-title.lpb-spaced { margin-top: 15px; }
.lpb .section-title.lpb-centered {
  text-align: center;
  padding-left: 0;
  margin: 30px 0 20px;
}

.lpb .lpb-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 6px;
  margin: 0 0 30px;
  padding: 0 0 0 17px;
}
.lpb .lpb-links button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #444;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background .22s, color .22s;
}
.lpb .lpb-links button:hover { background: #e5e5e5; }
.lpb .lpb-links button:focus-visible { outline: 2px solid #ff5e92; outline-offset: 2px; }
.lpb .lpb-links button.active,
.lpb .lpb-links button.active:hover {
  background: #ff5e92;
  color: #fff;
  font-weight: 600;
}

.lpb .options {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  justify-items: center;
  margin-bottom: 30px;
}
.lpb .options button.opt {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  border-radius: 50%;
}
.lpb .options button.opt:focus-visible { outline: 2px solid #ff3366; outline-offset: 4px; }

/* Colour name above a swatch on hover (not on the selected one, which the preview already names). */
.lpb .options button.opt { position: relative; }
.lpb .options button.opt::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 4px;
  background: #222;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s;
  z-index: 5;
}
@media (hover: hover) {
  .lpb .options button.opt:hover::after { opacity: 1; visibility: visible; }
}
.lpb .options button.opt:focus-visible::after { opacity: 1; visibility: visible; }
.lpb .options button.opt.active::after { display: none; }

.lpb .swatch {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform .2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.lpb .opt.active .swatch { transform: scale(1.5); }
.lpb .swatch.black { border: 1px solid #444; }
.lpb .swatch.light { border: 1px solid #ccc; }
.lpb .swatch-image { border: 1px solid #ccc; }

.lpb .sizes {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
}
.lpb .sizes button {
  background: #eee;
  color: #222;
  padding: 12px 22px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.3;
  transition: .2s;
  min-width: 110px;
  text-align: center;
}
.lpb .sizes button:hover { background: #e2e2e2; color: #222; }
.lpb .sizes button.active { background: #ff3366; color: #fff; transform: scale(1.06); }

@media (max-width: 1400px) {
  .lpb.pombo-configurator { gap: 30px; }
  .lpb .config { padding: 35px; }
}
@media (max-width: 1200px) {
  .lpb.pombo-configurator { flex-direction: column; align-items: center; }
  .lpb .preview-wrapper { flex-basis: auto; }
  .lpb .preview-wrapper { width: 339px; max-width: 92vw; }
  .lpb .config { width: 764px; max-width: 92vw; }
}
@media (max-width: 640px) {
  .lpb.pombo-configurator { padding: 16px 0; }
  .lpb .section-title { font-size: 20px; padding-left: 0; }
  .lpb .options { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .lpb .swatch { width: 40px; height: 40px; }
  .lpb .opt.active .swatch { transform: scale(1.3); }
  .lpb .lpb-links { padding-left: 0; }
  .lpb .lpb-links button { padding: 7px 14px; font-size: 15px; min-width: 70px; }
  .lpb .lpb-selection { margin: 10px 10px 0; padding: 12px 14px; font-size: 16px; }
  .lpb button.lpb-cart { font-size: 18px; width: 90%; }
  .lpb .sizes button { padding: 10px 16px; font-size: 14px; min-width: 96px; }
}
@media (max-width: 480px) {
  .lpb .options { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .lpb .config { padding: 26px 18px; }
}
