/* All detail styles are scoped: the existing header and home keep their rules. */
#homeView[hidden],#productDetail[hidden],.pd [hidden]{display:none!important}
.pd{background:#f3f6f8;color:#0d2052;font-family:Outfit,"Segoe UI",Arial,sans-serif;min-height:70vh;padding-bottom:34px}
.pd *{box-sizing:border-box}
.pd h1:focus{outline:none}
.pd .pd-wrap{width:min(1300px,calc(100% - 64px));margin:auto}
.pd svg{width:25px;height:25px;flex:none}
.pd a,.pd button{touch-action:manipulation}
.pd a:focus-visible,.pd button:focus-visible{outline:3px solid #0754ff;outline-offset:4px}
.pd .pd-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;font-weight:400;padding:25px 0 29px;line-height:1.5}
.pd .pd-breadcrumb a{color:#004aff}
.pd .pd-breadcrumb>span:last-child{color:#253048}
.pd .pd-product-sheet {
  padding: clamp(20px, 2.4vw, 34px);
  border: 1px solid #e0e7eb;
  border-radius: 16px;
  background: #fff;
}
.pd .pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(25px, 4vw, 60px);
}
.pd .pd-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0 14px;
  min-width: 0;
}
.pd .pd-gallery:has(.pd-thumbnails) { grid-template-columns: 58px minmax(0, 1fr); }
.pd .pd-photo-track {
  position: relative;
  display: flex;
  grid-column: -2/-1;
  aspect-ratio: 1.17;
  max-height: 480px;
  background: #fff;
  overflow: hidden;
  scroll-snap-type: x mandatory;
}
.pd .pd-photo-button {
  --photo-inset: 12px;
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.pd .pd-photo-button img {
  position: absolute;
  inset: var(--photo-inset);
  width: calc(100% - 2 * var(--photo-inset));
  height: calc(100% - 2 * var(--photo-inset));
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.pd .pd-photo-button:focus-visible { outline-offset: -4px; }
.pd .pd-photo-empty { display: grid; min-height: 200px; place-items: center; color: #50617d; }
.pd .pd-zoom {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #dce6eb;
  border-radius: 50%;
  background: #fff;
  color: #11695e;
}
.pd .pd-zoom svg { width: 19px; height: 19px; }
.pd .pd-thumbnails { display: flex; flex-direction: column; gap: 8px; max-height: 480px; padding: 2px; overflow-y: auto; }
.pd .pd-thumbnails button {
  flex: none;
  width: 52px;
  height: 52px;
  padding: 4px;
  border: 1px solid #d9e5eb;
  border-radius: 9px;
  background: #fff;
}
.pd .pd-thumbnails button[aria-pressed="true"] { border: 2px solid #138177; }
.pd .pd-thumbnails button:focus-visible { outline-offset: -3px; }
.pd .pd-thumbnails img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pd .pd-gallery-controls { display: none; justify-content: center; align-items: center; gap: 12px; }
.pd .pd-gallery-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #11695e;
  font-size: 26px;
  line-height: 1;
}
.pd .pd-gallery-controls button:disabled { color: #a7b7be; }
.pd .pd-gallery-controls button:focus-visible { outline-offset: -3px; }
.pd .pd-gallery-count { min-width: 34px; color: #43596b; font-size: 13px; text-align: center; }

.pd .pd-credit{grid-column:1/-1;font-size:11px;color:#64708a;margin:12px 4px 0;line-height:1.5;overflow-wrap:anywhere}
.pd .pd-category{display:inline-block;padding:4px 10px;background:#e3e9ff;color:#0049ee;border-radius:15px;text-transform:uppercase;font-size:12px;font-weight:500}
.pd h1{font-size:clamp(23px,2.05vw,30px);font-weight:400;line-height:1.25;letter-spacing:-.45px;margin:12px 0 8px;overflow-wrap:anywhere}
.pd .pd-seller-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 9px; width: fit-content; margin: 12px 0 4px; color: #36576a; font-size: 15px; line-height: 1.4; }
.pd .pd-seller-line svg { width: 20px; height: 20px; color: #087471; }
.pd .pd-seller-link { color: #087471; text-decoration: underline; text-underline-offset: 3px; }
.pd .pd-price{font-size:30px;font-weight:400;letter-spacing:-.45px;line-height:1.25;margin:9px 0 22px}
.pd .pd-actions{display:flex;gap:9px;align-items:center}
.pd .pd-whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(110deg,#00894c,#007d42);color:white;border-radius:11px;min-height:43px;padding:8px 14px;font-size:15px;font-weight:400;text-align:center;flex:0 1 auto;line-height:1.25}
.pd .pd-whatsapp svg{width:21px;height:21px}
.pd .pd-share{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #c7d4f4;border-radius:11px;color:#0754ff;background:#fff}
.pd .pd-share svg{width:19px;height:19px}
.pd .pd-contact-missing{display:flex;gap:10px;align-items:center;background:#f0f3fd;border:1px solid #dce3f5;border-radius:13px;min-height:62px;padding:12px 14px;font-size:14px;line-height:1.45;flex:1;color:#44516c}
.pd .pd-demo-contact { margin: 8px 0 0; color: #44516c; font-size: 13px; line-height: 1.5; }
.pd .pd-share-status{font-size:12px;margin:8px 0;color:#24516f;line-height:1.4}
.pd .pd-share-status:empty{display:none}
.pd .pd-share-fallback{margin:10px 0;font-size:12px}
.pd .pd-share-fallback input{display:block;width:100%;padding:10px;border:1px solid #ccd5ec;border-radius:6px;margin-top:5px}
.pd .pd-notice {
  text-align: left;
  margin-top: 15px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #fff2bf;
  color: #111;
}
.pd .pd-notice h2 { margin: 0 0 5px; color: inherit; font-size: 17px; font-weight: 400; line-height: 1.3; }
.pd .pd-notice p { margin: 0; color: inherit; font-size: 13px; line-height: 1.5; }
.pd .pd-notice .pd-notice-advice {
  margin: 9px -8px 0;
  padding: 7px 8px;
  border-radius: 7px;
  background: #ffdf7a;
  font-size: 14px;
  font-weight: 400;
}
.pd .pd-outline{display:flex;align-items:center;justify-content:center;gap:15px;border:1.5px solid #0754ff;border-radius:13px;min-height:47px;padding:11px 12px;color:#004aff;font-size:15px;font-weight:500;text-align:center}
.pd .pd-outline span{font-size:25px;line-height:1}
.pd .pd-description {
  margin-top: 26px;
  padding-top: 23px;
  border-top: 1px solid #dce5ec;
}
.pd .pd-description h2 { margin: 0 0 9px; font-size: 25px; font-weight: 400; line-height: 1.3; }
.pd .pd-description > p {
  margin: 0;
  color: #344460;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.pd .pd-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
}
.pd .pd-details > div { min-width: 0; padding: 9px 0 5px; border-top: 1px solid #e7edf2; }
.pd .pd-details dt { font-size: 13px; color: #50617d; }
.pd .pd-details dd { margin: 3px 0 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.pd .pd-details a { color: #004aff; }
.pd .pd-related { margin-top: 27px; }
.pd .pd-related-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 15px}
.pd .pd-related-heading h2{display:flex;align-items:center;gap:10px;margin:0;font-size:25px;font-weight:400;letter-spacing:-.5px;line-height:1.3}
.pd .pd-related-heading h2 svg{color:#0754ff}
.pd .pd-related-heading>a{font-size:14px;color:#004aff;line-height:1.4}
.pd .pd-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pd .pd-related-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #dce3f0;
  border-radius: 15px;
  background: #fff;
  color: #0d2052;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 3px 10px #142a640e;
}
.pd .pd-related-photo {
  --photo-padding: 12px;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  padding: var(--photo-padding);
  border-bottom: 1px solid #eef1f6;
  color: #50617d;
}
.pd .pd-related-photo img {
  position: absolute;
  inset: var(--photo-padding);
  width: calc(100% - 2 * var(--photo-padding));
  height: calc(100% - 2 * var(--photo-padding));
  object-fit: contain;
}
.pd .pd-related-copy { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 13px 15px 15px; }
.pd .pd-related-card h3 { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.3; overflow-wrap: anywhere; }
.pd .pd-related-label { color: #50617d; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.pd .pd-related-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: auto; padding-top: 7px; }
.pd .pd-related-bottom p { margin: 0; color: #0d2052; font-size: 26px; font-weight: 400; line-height: 1.1; }
.pd .pd-related-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  padding: 6px;
  border-radius: 50%;
  background: #a7efea;
  color: #07516a;
}
.pd .pd-related-arrow svg { display: block; width: 20px; height: 20px; }
@media (max-width: 700px) {
  .pd .pd-related-arrow { flex-basis: 27px; width: 27px; height: 27px; padding: 4px; }
  .pd .pd-related-arrow svg { width: 18px; height: 18px; }
}
@media (hover: hover) {
  .pd .pd-related-card:hover { border-color: #9abce4; box-shadow: 0 5px 16px #142a641c; }
  .pd .pd-related-card:hover .pd-related-arrow { background: #72e2d9; }
}
.pd .pd-empty{padding-top:50px;padding-bottom:70px;max-width:650px}
.pd-image-dialog{width:min(900px,calc(100% - 24px));max-height:92dvh;padding:45px 20px 20px;background:#fff}
.pd-image-dialog>img{width:100%;height:calc(85dvh - 80px);object-fit:contain;display:block}
.pd-close-image{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;border-radius:50%;font-size:26px;background:#eef2f8}
@media (max-width: 1100px) {
  .pd .pd-wrap { width: calc(100% - 40px); }
  .pd .pd-layout { gap: 25px; }
}
@media (max-width: 650px) {
  .pd { background: #fff; }
  .pd .pd-wrap { width: calc(100% - 28px); }
  .pd .pd-breadcrumb { font-size: 12px; padding: 17px 0; gap: 5px; }
  .pd .pd-product-sheet { padding: 0; border: 0; border-radius: 0; }
  .pd .pd-layout { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .pd .pd-gallery:has(.pd-thumbnails) { grid-template-columns: minmax(0, 1fr); }
  .pd .pd-thumbnails { display: none; }
  .pd .pd-photo-track { aspect-ratio: 1; max-height: min(460px, 65svh); overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .pd .pd-photo-track::-webkit-scrollbar { display: none; }
  .pd .pd-photo-button { --photo-inset: 9px; }
  .pd .pd-gallery-controls { display: flex; }
  .pd .pd-credit { margin-top: 6px; }
  .pd h1 { font-size: 32px; letter-spacing: -.5px; }
  .pd .pd-category { font-size: 11px; }
  .pd .pd-price { font-size: 38px; margin: 9px 0 17px; }
  .pd .pd-related-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .pd .pd-related-heading h2 { font-size: 23px; }
  .pd .pd-contact-missing { font-size: 13px; }
  .pd .pd-actions:has(.pd-whatsapp) { justify-content: center; }
  .pd .pd-whatsapp { flex: 0 1 auto; width: min(84%, 300px); min-height: 48px; font-size: 14px; }
  .pd .pd-share { width: 44px; height: 44px; }
  .pd .pd-actions:has(.pd-whatsapp) .pd-share { display: none; }
}

@media (max-width: 900px) {
  .pd .pd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd .pd-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .pd .pd-description { margin-top: 23px; padding-top: 19px; }
  .pd .pd-description h2 { font-size: 23px; }
  .pd .pd-description > p { font-size: 15px; }
  .pd .pd-details { gap: 7px; }
  .pd .pd-details > div { padding: 8px 0 4px; }
  .pd .pd-related { margin-top: 24px; }
  .pd .pd-related-grid { gap: 10px; }
  .pd .pd-related-photo { --photo-padding: 9px; aspect-ratio: 1; }
  .pd .pd-related-copy { padding: 10px 11px 13px; }
  .pd .pd-related-card h3 { font-size: 16px; }
  .pd .pd-related-bottom p { font-size: clamp(19px, 5.9vw, 23px); }
}

@media (min-width: 651px) {
  .pd .pd-actions { gap: 14px; }
  .pd .pd-whatsapp { padding-inline: 23px; }
  .pd h1, .pd .pd-price { font-family: "Segoe UI", system-ui, sans-serif; }
  .pd .pd-related { width: min(calc(100% - clamp(28px, 8vw, 110px)), 1060px); margin-inline: auto; }
}
