/* ══════════════════════════════════════════════════════════════
   CoisaPet — style-pdp.css  |  Página de Produto (PDP)
   ══════════════════════════════════════════════════════════════ */

/* ── LAYOUT PRINCIPAL ────────────────────────────────────────── */
.pdp-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 120px 48px 100px;
}
/* Breadcrumb fica dentro do pdp-grid, na info-col */
.pdp-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--txt3);
  margin-bottom: 20px;
}
.pdp-breadcrumb a { color: var(--copper); transition: color .2s; }
.pdp-breadcrumb a:hover { color: var(--cream); }
.pdp-breadcrumb span { color: var(--txt3); }

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}

/* ── COLUNA DA FOTO ──────────────────────────────────────────── */
.pdp-photo-col { position: sticky; top: 100px; }
.pdp-photo-main {
  aspect-ratio: 1/1;
  background: rgba(245,236,215,.05);
  border: 1px solid rgba(196,149,106,.12);
  border-radius: 28px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pdp-photo-main img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 24px;
}
.pdp-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.pdp-photo-placeholder svg { opacity: .15; width: 80px; height: 80px; }
.pdp-photo-placeholder span { font-size: 13px; color: var(--txt3); }

/* ── COLUNA DE INFORMAÇÕES ───────────────────────────────────── */
.pdp-info-col {}
.pdp-cat-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--copper);
  margin-bottom: 16px;
}
.pdp-cat-tag::before { content: ''; width: 20px; height: 1px; background: var(--copper); }

.pdp-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900; line-height: 1.1; letter-spacing: -1px;
  color: var(--cream); margin-bottom: 20px;
}
.pdp-title em { font-style: italic; color: var(--copper); }

.pdp-short-desc {
  font-size: 16px; font-weight: 300; color: var(--txt2);
  line-height: 1.75; margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(196,149,106,.1);
}

/* ── FICHA TÉCNICA ───────────────────────────────────────────── */
.pdp-specs {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(196,149,106,.1);
}
.pdp-specs-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--copper);
  margin-bottom: 14px;
}
.pdp-specs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.pdp-spec-item {
  background: rgba(196,149,106,.06);
  border: 1px solid rgba(196,149,106,.12);
  border-radius: 14px; padding: 14px 16px;
  text-align: center;
}
.pdp-spec-val {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--cream); line-height: 1;
}
.pdp-spec-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--txt3); margin-top: 4px;
}

/* ── BOTÕES DE COMPRA ────────────────────────────────────────── */
.pdp-buy { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pdp-btn-shopee {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 24px; border-radius: 16px;
  font-size: 14px; font-weight: 700; letter-spacing: .3px;
  background: rgba(238,77,45,.9); color: #fff;
  border: none; cursor: pointer; text-decoration: none;
  transition: all .25s; box-shadow: 0 6px 24px rgba(238,77,45,.25);
}
.pdp-btn-shopee:hover { background: #ee4d2d; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(238,77,45,.35); }
.pdp-btn-ml {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 24px; border-radius: 16px;
  font-size: 14px; font-weight: 700;
  background: rgba(255,230,0,.9); color: #1a1a2e;
  border: none; cursor: pointer; text-decoration: none;
  transition: all .25s; box-shadow: 0 6px 24px rgba(255,230,0,.15);
}
.pdp-btn-ml:hover { background: #ffe600; transform: translateY(-2px); }
.pdp-btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 24px; border-radius: 16px;
  font-size: 14px; font-weight: 700;
  background: #25d366; color: #fff;
  border: none; cursor: pointer; text-decoration: none;
  transition: all .25s; box-shadow: 0 6px 24px rgba(37,211,102,.2);
}
.pdp-btn-whatsapp:hover { background: #1fba58; transform: translateY(-2px); }

/* ── GARANTIAS / SELOS ───────────────────────────────────────── */
.pdp-seals {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 0; flex-wrap: wrap;
}
.pdp-seal {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--txt3);
}
.pdp-seal svg { color: var(--copper); shrink: 0; }

/* ── DESCRIÇÃO COMPLETA ──────────────────────────────────────── */
.pdp-description {
  margin-top: 80px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
  padding: 0 48px 80px;
}
.pdp-description-inner {
  background: rgba(196,149,106,.04);
  border: 1px solid rgba(196,149,106,.1);
  border-radius: 28px; padding: 48px;
}
.pdp-description h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  color: var(--cream); margin-bottom: 24px;
}
.pdp-description-text {
  font-size: 15px; font-weight: 300; color: var(--txt2);
  line-height: 1.85; white-space: pre-wrap;
}

/* ── PRODUTOS RELACIONADOS ───────────────────────────────────── */
.pdp-related {
  background: var(--bg2);
  border-top: 1px solid rgba(196,149,106,.1);
  padding: 80px 48px;
}
.pdp-related-inner { max-width: 1200px; margin: 0 auto; }
.pdp-related-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900; color: var(--cream);
  margin-bottom: 8px;
}
.pdp-related-title em { font-style: italic; color: var(--copper); }
.pdp-related-sub { font-size: 14px; color: var(--txt3); margin-bottom: 40px; }
.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* Reutiliza os .plp-card da PLP */

/* ── NOT FOUND ───────────────────────────────────────────────── */
.pdp-notfound {
  min-height: 60vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.pdp-notfound h2 {
  font-family: var(--serif); font-size: 40px; font-weight: 900;
  color: var(--cream); margin-bottom: 16px;
}
.pdp-notfound p { font-size: 15px; color: var(--txt3); margin-bottom: 32px; }

/* ── LOADING ─────────────────────────────────────────────────── */
.pdp-loading {
  min-height: 60vh; display: flex;
  align-items: center; justify-content: center;
}
.pdp-spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(196,149,106,.2);
  border-top-color: var(--copper);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MOBILE ──────────────────────────────────────────────────── */
@media(max-width:900px){
  .pdp-wrap { padding: 96px 24px 64px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 40px; }
  .pdp-photo-col { position: static; }
  .pdp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-description { padding: 0 24px 64px; }
  .pdp-related { padding: 64px 24px; }
}
@media(max-width:540px){
  .pdp-related-grid { grid-template-columns: 1fr; }
  .pdp-specs-grid { grid-template-columns: repeat(2, 1fr); }
}
