/* ==========================================================================
   Panda Lighting — page builder widgets
   Loaded on the front end AND inside the editor canvas, so what you build
   is exactly what visitors see.
   ========================================================================== */

.plb-section { position: relative; background: #fff; }
.plb-section.has-bg-image { background-size: cover; background-position: center; }
.plb-section.has-bg-image::before { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 24, .45); }
.plb-section.has-overlay::before { background: rgba(14, 26, 24, .62); }
.plb-section > div { position: relative; }

.plb-wrap-width { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.plb-full { width: 100%; }

.plb-grid { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.plb-grid.plb-align-center { justify-content: center; text-align: center; }
.plb-grid.plb-align-right { justify-content: flex-end; text-align: right; }

.plb-col { flex: 1 1 auto; min-width: 0; }
.plb-col-25 { flex: 0 0 calc(25% - 18px); }
.plb-col-33 { flex: 0 0 calc(33% - 16px); }
.plb-col-34 { flex: 0 0 calc(34% - 16px); }
.plb-col-50 { flex: 0 0 calc(50% - 12px); }
.plb-col-66 { flex: 0 0 calc(66% - 16px); }
.plb-col-100 { flex: 0 0 100%; }

.plb-widget { margin-bottom: 20px; }
.plb-widget:last-child { margin-bottom: 0; }

/* ---------------- basic ---------------- */
.plb-heading { margin: 0 0 12px; line-height: 1.2; font-weight: 700; }
.plb-heading h1, h1.plb-heading { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2.plb-heading { font-size: clamp(1.4rem, 3vw, 2rem); }
h3.plb-heading { font-size: 1.2rem; }
h4.plb-heading { font-size: 1.02rem; }

.plb-text p:last-child { margin-bottom: 0; }

.plb-btn-wrap { display: flex; }
.plb-btn-wrap.plb-align-left { justify-content: flex-start; }
.plb-btn-wrap.plb-align-center { justify-content: center; }
.plb-btn-wrap.plb-align-right { justify-content: flex-end; }

.plb-image { display: flex; }
.plb-image.plb-align-left { justify-content: flex-start; }
.plb-image.plb-align-center { justify-content: center; }
.plb-image.plb-align-right { justify-content: flex-end; }
.plb-image-inner { display: block; overflow: hidden; }
.plb-image img { width: 100%; height: auto; display: block; }

.plb-gallery { display: grid; gap: 12px; }
.plb-gallery-2 { grid-template-columns: repeat(2, 1fr); }
.plb-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.plb-gallery-4 { grid-template-columns: repeat(4, 1fr); }
.plb-gallery-item { display: block; overflow: hidden; border-radius: 10px; background: #1d322c; }
.plb-gallery-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

.plb-video { position: relative; }
.plb-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; display: block; }
.plb-video-ph {
  display: grid; place-items: center; aspect-ratio: 16/9; border-radius: 12px;
  background: #1d322c; color: rgba(255, 255, 255, .6); font-size: .85rem;
}
.plb-video-cap { font-size: .82rem; color: #6b7c77; text-align: center; margin: 8px 0 0; }

.plb-divider hr { border: 0; border-top: 1px solid rgba(14, 26, 24, .14); margin: 0 auto; }
.plb-spacer { width: 100%; }

/* ---------------- products ---------------- */
.plb-products { display: grid; gap: 20px; }
.plb-products-2 { grid-template-columns: repeat(2, 1fr); }
.plb-products-3 { grid-template-columns: repeat(3, 1fr); }
.plb-products-4 { grid-template-columns: repeat(4, 1fr); }

.plb-tiles { display: grid; gap: 16px; }
.plb-tiles-2 { grid-template-columns: repeat(2, 1fr); }
.plb-tiles-3 { grid-template-columns: repeat(3, 1fr); }
.plb-tiles-4 { grid-template-columns: repeat(4, 1fr); }
.plb-tile {
  position: relative; border-radius: 14px; overflow: hidden; background: #1d322c;
  aspect-ratio: 1/1; display: flex; align-items: flex-end;
}
.plb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.plb-tile span {
  position: relative; z-index: 2; color: #fff; font-weight: 700; padding: 14px; width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .68)); font-size: .92rem;
}
.plb-tile small { display: block; font-size: .72rem; font-weight: 500; opacity: .82; }

.plb-rfq { background: #fff8ef; border-radius: 16px; padding: 22px; }

/* ---------------- marketing ---------------- */
.plb-feature {
  background: #fff; border: 1px solid rgba(14, 26, 24, .12); border-radius: 14px;
  padding: 22px; height: 100%;
}
.plb-feature-ico { font-size: 1.6rem; margin-bottom: 8px; }
.plb-feature h3 { font-size: 1.02rem; margin: 0 0 8px; }
.plb-feature p { font-size: .9rem; color: #6b7c77; margin: 0; }

.plb-icon-list { list-style: none; margin: 0; padding: 0; }
.plb-icon-list li { padding: 7px 0; font-size: .95rem; border-bottom: 1px solid rgba(14, 26, 24, .08); }
.plb-icon-list li:last-child { border-bottom: 0; }

.plb-counter { text-align: center; }
.plb-counter b { display: block; font-size: 2.1rem; line-height: 1.1; color: #ffb43a; }
.plb-counter span { font-size: .84rem; color: #6b7c77; }

.plb-steps { display: grid; gap: 16px; }
.plb-steps-2 { grid-template-columns: repeat(2, 1fr); }
.plb-steps-3 { grid-template-columns: repeat(3, 1fr); }
.plb-steps-4 { grid-template-columns: repeat(4, 1fr); }
.plb-step { position: relative; background: #fff; border: 1px solid rgba(14, 26, 24, .12); border-radius: 14px; padding: 20px; }
.plb-step-num {
  position: absolute; top: 12px; right: 16px; font-size: 1.6rem; font-weight: 800; color: #ffe0a3;
}
.plb-step h4 { margin: 0 0 6px; font-size: .98rem; }
.plb-step p { font-size: .86rem; color: #6b7c77; margin: 0; }

.plb-accordion { border-top: 1px solid rgba(14, 26, 24, .12); }
.plb-acc-item { border-bottom: 1px solid rgba(14, 26, 24, .12); }
.plb-acc-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 16px 0; font: inherit;
  font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 14px;
}
.plb-acc-q::after { content: "+"; color: #2e9e6b; font-weight: 800; }
.plb-acc-q.is-open::after { content: "−"; }
.plb-acc-a { display: none; padding: 0 0 16px; color: #6b7c77; font-size: .92rem; }
.plb-acc-a p { margin: 0; }

.plb-quote { background: #fff8ef; border-radius: 16px; padding: 26px; }
.plb-quote-text { font-size: 1.02rem; line-height: 1.6; margin: 0 0 16px; }
.plb-quote-by { display: flex; align-items: center; gap: 12px; }
.plb-quote-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.plb-quote-mark { font-size: 1.5rem; color: #ffb43a; }
.plb-quote-by b { display: block; font-size: .9rem; }
.plb-quote-by small { color: #6b7c77; font-size: .8rem; }

.plb-cta {
  background: #1d322c; color: #fff; border-radius: 18px; padding: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.plb-cta h3 { margin: 0 0 6px; font-size: 1.3rem; }
.plb-cta p { margin: 0; color: rgba(255, 255, 255, .76); }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .plb-col-25, .plb-col-33, .plb-col-34, .plb-col-50, .plb-col-66 { flex: 0 0 100%; }
  .plb-products-4, .plb-tiles-4 { grid-template-columns: repeat(2, 1fr); }
  .plb-steps-3, .plb-steps-4 { grid-template-columns: repeat(2, 1fr); }
  .plb-gallery-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .plb-products-2, .plb-products-3, .plb-products-4,
  .plb-tiles-2, .plb-tiles-3, .plb-tiles-4,
  .plb-steps-2, .plb-steps-3, .plb-steps-4 { grid-template-columns: 1fr; }
  .plb-gallery-2, .plb-gallery-3, .plb-gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .plb-cta { padding: 24px; }
}
