:root {
  --pdp-accent: #e85d75;
  --pdp-accent-dark: #d14d65;
  --pdp-border: #ece7e7;
  --pdp-muted: #6f6f6f;
  --pdp-text: #2b2b2b;
  --pdp-bg: #fafafa;
}

.product-page-body .top-offer-carousel {
  font-size: 14px;
}

.pdp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 13px;
  color: var(--pdp-muted);
}

.pdp-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.pdp-breadcrumb a:hover {
  color: var(--pdp-accent);
}

.pdp-breadcrumb-home {
  display: inline-flex;
  color: var(--pdp-text);
}

.pdp-breadcrumb-sep {
  display: inline-flex;
  opacity: 0.5;
}

.pdp {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  color: var(--pdp-text);
}

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) 320px;
  gap: 28px;
  align-items: start;
}

.pdp-gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-thumb,
.pdp-thumb-more {
  width: 72px;
  height: 72px;
  border: 1px solid var(--pdp-border);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
}

.pdp-thumb.is-active {
  border-color: var(--pdp-text);
  box-shadow: 0 0 0 1px var(--pdp-text);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.pdp-thumb-more {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pdp-muted);
}

.pdp-main-image-wrap {
  position: relative;
}

.pdp-main-image {
  width: 100%;
  border: 0;
  padding: 0;
  background: #fff;
  border-radius: 12px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-main-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.pdp-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pdp-text);
  z-index: 2;
}

.pdp-gallery-prev {
  left: 12px;
}

.pdp-gallery-next {
  right: 12px;
}

.pdp-features {
  grid-column: 1 / -1;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pdp-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--pdp-muted);
}

.pdp-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--pdp-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pdp-accent);
}

.pdp-brand {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pdp-accent);
}

.pdp-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pdp-title {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  color: #222;
}

.pdp-title-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
}

.pdp-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--pdp-border);
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pdp-text);
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 22px;
}

.pdp-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.pdp-stars strong {
  margin-left: 8px;
  font-size: 14px;
}

.pdp-reviews-link {
  margin-left: 4px;
  color: var(--pdp-muted);
  text-decoration: underline;
  font-size: 14px;
}

.pdp-star {
  position: relative;
  display: inline-flex;
  width: var(--star-size, 16px);
  height: var(--star-size, 16px);
  color: #e4d0c8;
  flex-shrink: 0;
  line-height: 0;
}

.pdp-star-empty,
.pdp-star-fill {
  display: block;
  width: var(--star-size, 16px);
  height: var(--star-size, 16px);
}

.pdp-star-empty svg,
.pdp-star-fill svg {
  display: block;
  width: var(--star-size, 16px);
  height: var(--star-size, 16px);
  max-width: none;
}

.pdp-star-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--star-fill, 0%);
  overflow: hidden;
  color: #f5b301;
  pointer-events: none;
}


.pdp-variant {
  margin-bottom: 20px;
}

.pdp-variant-label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.pdp-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pdp-swatch {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch-color, #ccc);
  cursor: pointer;
  padding: 0;
}

.pdp-swatch.is-active {
  border-color: #222;
  box-shadow: 0 0 0 2px #fff inset;
}

.pdp-swatch-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pdp-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.pdp-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp-size {
  min-width: 48px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--pdp-border);
  background: #fff;
  color: var(--pdp-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
}

.pdp-size:hover {
  border-color: var(--pdp-text);
}

.pdp-size.is-active {
  border-color: var(--wine, #4b0909);
  background: var(--wine, #4b0909);
  color: #fff;
}

.pdp-sku {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--pdp-muted);
}

.pdp-summary h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.pdp-summary p {
  margin: 0 0 14px;
  line-height: 1.6;
  color: #444;
}

.pdp-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdp-summary li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.pdp-summary li svg {
  color: var(--pdp-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.pdp-more-details {
  margin-top: 18px;
  border: 0;
  background: none;
  color: var(--pdp-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

.pdp-buy-card {
  position: sticky;
  top: 110px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--pdp-border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.pdp-price-old {
  font-size: 16px;
  color: #9a7a7a;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.pdp-price {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.pdp-installments {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--pdp-muted);
}

.pdp-seller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--pdp-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pdp-border);
  margin-bottom: 18px;
}

.pdp-seller-check {
  color: #e53935;
  flex-shrink: 0;
}

.pdp-stock {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
}

.pdp-stock--available {
  color: #166534;
}

.pdp-stock--out {
  color: #b91c1c;
}

.pdp-qty-row {
  margin-bottom: 14px;
}

.pdp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pdp-border);
  border-radius: 8px;
  overflow: hidden;
}

.pdp-qty button {
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pdp-qty input {
  width: 52px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--pdp-border);
  border-right: 1px solid var(--pdp-border);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  appearance: textfield;
}

.pdp-qty input::-webkit-outer-spin-button,
.pdp-qty input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.pdp-add-cart {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--pdp-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.pdp-add-cart:hover {
  background: var(--pdp-accent-dark);
}

.pdp-add-cart--disabled,
.pdp-add-cart:disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.pdp-add-cart--disabled:hover,
.pdp-add-cart:disabled:hover {
  background: #d1d5db;
}

.pdp-cashback {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 20px;
  font-size: 13px;
  color: var(--pdp-muted);
}

.pdp-shipping {
  padding-top: 18px;
  border-top: 1px solid var(--pdp-border);
}

.pdp-shipping h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.pdp-shipping-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.pdp-shipping-form input {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 42px;
  border: 1px solid var(--pdp-border);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.pdp-shipping-form button {
  flex: 0 0 auto;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #222;
  color: #fff;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.pdp-shipping-result {
  margin: 10px 0 0;
  font-size: 13px;
}

.pdp-shipping-result.is-success {
  color: #2e7d32;
}

.pdp-shipping-result.is-error {
  color: #c62828;
}

.pdp-shipping-result.is-loading {
  color: #666;
}

.pdp-shipping-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pdp-shipping-options li {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--pdp-border);
  border-radius: 8px;
  background: #faf8f8;
}

.pdp-shipping-option-name {
  font-weight: 700;
  color: #222;
}

.pdp-shipping-option-meta {
  color: #2e7d32;
}

.pdp-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--pdp-border);
}

.pdp-trust li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pdp-border);
  font-size: 14px;
}

.pdp-trust li span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pdp-tabs {
  margin-top: 56px;
  border-top: 1px solid var(--pdp-border);
  scroll-margin-top: 96px;
}

.pdp-tabs-nav {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--pdp-border);
  overflow-x: auto;
}

.pdp-tabs-nav button {
  border: 0;
  background: none;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--pdp-muted);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.pdp-tabs-nav button.is-active {
  color: var(--pdp-text);
}

.pdp-tabs-nav button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--pdp-accent);
  border-radius: 3px 3px 0 0;
}

.pdp-tab-panels {
  padding-top: 28px;
}

.pdp-tab-panel[hidden] {
  display: none !important;
}

.pdp-tab-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.pdp-tab-content--single {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.pdp-tab-text h2,
.pdp-tab-content--single h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.pdp-tab-text p,
.pdp-tab-content--single p,
.pdp-tab-content--single ol {
  line-height: 1.7;
  color: #444;
}

.pdp-tab-media img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}

.pdp-reviews-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.pdp-reviews-score {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.pdp-stars--lg {
  margin-bottom: 6px;
}

.pdp-review-card {
  border: 1px solid var(--pdp-border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

.pdp-review-card strong {
  display: block;
  margin-bottom: 6px;
}

.pdp-review-card p {
  margin: 10px 0 0;
  color: #444;
  line-height: 1.55;
}

.pdp-reviews-empty {
  margin: 8px 0 0;
  color: #666;
}

.pdp-reviews-pagination {
  margin-top: 24px;
}

#avaliacoes {
  scroll-margin-top: 96px;
}

@media (max-width: 1100px) {
  .pdp-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .pdp-details {
    grid-column: 1 / -1;
    order: 2;
  }

  .pdp-gallery {
    order: 1;
  }

  .pdp-buy {
    order: 3;
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 900px) {
  .pdp {
    padding: 16px 16px 60px;
  }

  .pdp-layout {
    grid-template-columns: 1fr;
  }

  .pdp-buy,
  .pdp-details,
  .pdp-gallery {
    grid-column: auto;
    grid-row: auto;
    order: initial;
  }

  .pdp-gallery {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .pdp-thumb,
  .pdp-thumb-more {
    width: 56px;
    height: 56px;
  }

  .pdp-main-image {
    min-height: 360px;
  }

  .pdp-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdp-buy-card {
    position: static;
  }

  .pdp-tab-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pdp-title-row {
    flex-direction: column;
  }

  .pdp-breadcrumb {
    padding-top: 12px;
  }

  .pdp-tabs-nav {
    gap: 18px;
  }
}

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pdp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.pdp-lightbox[hidden] {
  display: none !important;
}

.pdp-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease;
}

.pdp-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pdp-lightbox-stage {
  position: relative;
  width: min(92vw, 1100px);
  height: min(82vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.pdp-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
}

.pdp-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.pdp-lightbox-prev {
  left: 16px;
}

.pdp-lightbox-next {
  right: 16px;
}

.pdp-lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 3;
}

body.pdp-lightbox-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .pdp-lightbox {
    padding: 12px;
  }

  .pdp-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .pdp-lightbox-prev {
    left: 8px;
  }

  .pdp-lightbox-next {
    right: 8px;
  }

  .pdp-lightbox-close {
    top: 10px;
    right: 10px;
  }
}
