/* =========================================================
   PDP – Produto Interno (Premium)
   ========================================================= */

.pdp {
  padding: 34px 28px 70px;
}

.pdp-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.0fr 1.0fr;
  gap: 32px;
  align-items: start;
}

/* MEDIA */
.pdp-image {
  border-radius: 22px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.pdp-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* BUYBOX */
.pdp-buybox {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.pdp-title {
  font-size: 28px;
  margin: 0 0 10px;
  line-height: 1.2;
}

.pdp-meta {
  display: grid;
  gap: 10px;
}

.pdp-chip {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 16px;
  background: rgba(6,70,28,0.10);
  color: #06461c;
  font-weight: 600;
}

.pdp-sub {
  color: #2f2f2f;
  font-size: 14px;
  line-height: 1.35;
}

.pdp-section {
  margin-top: 18px;
}

.pdp-h2 {
  font-size: 16px;
  margin: 0 0 6px;
}

.pdp-help {
  margin: 0 0 14px;
  color: #5b5b5b;
  font-size: 14px;
}

/* SIZES LIST */
.pdp-sizes {
  display: grid;
  gap: 10px;
}

.size-item {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: left;
}

.size-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  border-color: rgba(6,70,28,0.25);
}

.size-left {
  display: grid;
  gap: 3px;
}

.size-title {
  font-size: 15px;
  font-weight: 700;
}

.size-sub {
  font-size: 13px;
  color: #5e5e5e;
}

.size-right {
  display: grid;
  gap: 4px;
  text-align: right;
}

.size-price {
  font-size: 18px;
  font-weight: 800;
  color: #06461c;
}

.size-tag {
  font-size: 12px;
  color: #06461c;
  background: rgba(6,70,28,0.10);
  padding: 4px 8px;
  border-radius: 999px;
  justify-self: end;
}

.pdp-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: #5e5e5e;
  line-height: 1.4;
}

/* DESC */
.pdp-desc {
  margin-top: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  color: #2b2b2b;
  line-height: 1.6;
  font-size: 14px;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* HIDDEN FORM */
.pdp-hidden-form { display: none; }

/* =========================================================
   MODAL
   ========================================================= */

html.modal-lock,
html.modal-lock body {
  overflow: hidden;
}

.pdp-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.pdp-modal.open {
  display: block;
}

.pdp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.pdp-modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 28px));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.pdp-modal-top {
  background: #06461c;
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdp-modal-title {
  font-size: 16px;
  font-weight: 800;
}

.pdp-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.pdp-modal-body {
  padding: 16px 18px 6px;
  display: grid;
  gap: 10px;
}

.pdp-modal-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.pdp-modal-label { color: #666; }
.pdp-modal-value { font-weight: 700; color: #111; }

.pdp-modal-qtd {
  margin-top: 8px;
  font-size: 14px;
  display: grid;
  gap: 8px;
}

.pdp-modal-qtd input {
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  font-size: 16px;
}

.pdp-modal-actions {
  padding: 14px 18px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pdp-btn {
  padding: 14px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  border: 0;
}

.pdp-btn.ghost {
  background: rgba(255,145,0,0.12);
  color: #a35300;
  border: 1px solid rgba(255,145,0,0.35);
}

.pdp-btn.solid {
  background: #06461c;
  color: #fff;
}

.pdp-btn.solid:hover { filter: brightness(1.05); }

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 980px) {
  .pdp {
    padding: 22px 18px 56px;
  }

  .pdp-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pdp-title {
    font-size: 22px;
  }

  .desktop-only { display: none; }
  .mobile-only { display: block; }

  .pdp-buybox {
    padding: 18px;
  }

  .size-item {
    padding: 14px 14px;
  }

  .pdp-modal-actions {
    grid-template-columns: 1fr;
  }
}
/* THUMBS */
.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pdp-thumb {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.pdp-thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

/* LIGHTBOX */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pdp-lightbox.open {
  display: flex;
}

.pdp-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}

.pdp-lightbox img {
  position: relative;
  max-width: 92%;
  max-height: 92%;
  border-radius: 14px;
  z-index: 1;
}

.pdp-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}
.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.pdp-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
}

.pdp-thumb.active {
  opacity: 1;
  border-color: #0f5132;
}

.pdp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pdp-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.pdp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pdp-lightbox.open {
  display: flex;
}

.pdp-lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.pdp-lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

.pdp-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

.pdp-lightbox-nav.prev { left: 20px; }
.pdp-lightbox-nav.next { right: 20px; }

.pdp-lightbox-overlay {
  position: absolute;
  inset: 0;
}

