/* AminoProof premium product pages and subscription-savings preview v8 */
.pdp.section { max-width: 1380px; padding-top: 28px; }
.pdp .breadcrumbs { margin: 0 0 28px; color: #557298; font-size: 12px; }
.pdp-grid { grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); align-items: start; gap: clamp(30px,4vw,72px); }
.pdp-visual { position: sticky; top: 92px; }
.pdp-visual .pdp-art { height: auto; min-height: 0; aspect-ratio: 0.98; display:flex; align-items:center; justify-content:center; border-radius:21px; overflow:hidden; border:1px solid #c8dcf2; position:relative; background:linear-gradient(142deg,#ecf6ff 0%,#e4f1ff 59%,#d9eafc 100%); }
.pdp-visual .pdp-art::before { content:''; position:absolute; width:66%; height:66%; top:5%; right:-14%; border-radius:50%; background:radial-gradient(circle,#fff8,transparent 75%); pointer-events:none; }
.pdp-visual .pdp-art img { display:block; position:relative; width:94%; height:auto; max-width:94%; max-height:none; object-fit:contain; aspect-ratio:1/1; border-radius:15px; margin:auto; box-shadow:0 12px 30px #123f7a10; }
.pdp-visual .concept-label { color:#6b82a1; font-size:10px; margin-top:12px; text-align:left; letter-spacing:0; line-height:1.5; }
.ap-product-heading {display:grid; grid-template-columns:minmax(0,1fr) max-content; gap:15px; align-items:start; margin-bottom:20px;}
.ap-product-heading .eyebrow {margin:0 0 11px; font-size:11px; letter-spacing:.12em; color:#1c67b8; font-weight:750;}
.pdp-info .ap-product-heading h1 {font-size:clamp(35px,3.8vw,60px); line-height:1.07; margin:0 0 13px; letter-spacing:-.06em; font-weight:780; color:#102d56;}
.ap-material-tags {display:flex; gap:7px; flex-wrap:wrap; align-items:center;}
.ap-material-tags span {display:inline-flex; padding:7px 10px; border:1px solid #c6dcf4; background:#f5faff; border-radius:30px; font-size:10px; font-weight:750; letter-spacing:.055em; color:#3a6290; white-space:nowrap;}
.ap-product-price-box {text-align:right; padding-top:25px; white-space:nowrap;}
.pdp-info .ap-product-price-box .pdp-price {font-size:clamp(28px,2.6vw,39px); font-weight:800; letter-spacing:-.06em; line-height:1.08; margin:0 0 5px; color:#102d56;}
.ap-product-price-box small {font-size:10px; color:#6a86a4;}
.pdp-info .pdp-summary {font-size:13px; line-height:1.7; margin:0 0 16px; color:#536d8e;}
.pdp-info > .pill {font-size:11px; font-weight:700; margin-bottom:21px;}
.ap-purchase-panel {margin:0 0 15px; padding:16px; border:1px solid #cbdff5; border-radius:16px; background:linear-gradient(155deg,#f9fcff,#eef6ff);}
.ap-purchase-panel legend {padding:0; width:100%;}
.ap-purchase-panel legend strong {font-size:15px; color:#163a68; font-weight:800;}
.ap-purchase-panel legend small {display:block; margin:5px 0 12px; font-size:10px; color:#627e9c; font-weight:500;}
.ap-plan-options {display:grid;gap:9px;}
.ap-plan-option {display:flex; gap:12px; align-items:center; padding:12px 13px; border:1px solid #d3e0ee; background:#fff; border-radius:12px; cursor:pointer; transition:border-color .2s ease,background .2s ease;}
.ap-plan-option:has(input:checked) {border-color:#1766c0; background:#eef6ff; box-shadow:0 0 0 1px #1766c036;}
.ap-plan-option:focus-within {outline:2px solid #6ca9e6; outline-offset:2px;}
.ap-plan-option input {flex:0 0 auto; appearance:auto; accent-color:#145eb9; width:17px; height:17px; margin:0;}
.ap-plan-copy {display:flex; flex:1; flex-direction:column; gap:4px; min-width:0;}
.ap-plan-copy strong {font-size:13px; color:#163b68; font-weight:760; line-height:1.3;}
.ap-plan-copy small {font-size:10px; color:#617d99; line-height:1.45;}
.ap-plan-pricing {text-align:right; font-size:14px; color:#183f74; font-weight:800; white-space:nowrap; flex:0 0 auto;}
.ap-plan-pricing del {display:block; color:#8195ac; font-size:10px; font-weight:500;}
.ap-plan-badge {background:#dcecff; color:#155aad; border:1px solid #bad7fa; border-radius:7px; font-size:10px; font-weight:800; padding:3px 7px; margin-left:5px; vertical-align:baseline;}
.ap-plan-confirmation {font-size:11px; color:#416b9d; line-height:1.5; margin:12px 1px 0;}
.ap-purchase-legal {color:#69809c; font-size:10px; line-height:1.6; margin:7px 2px 0;}
.pdp-info .ap-bogo-pdp {margin:0 0 20px; padding:15px 16px; background:#fff; border-radius:13px; border:1px solid #d8e3f2;}
.pdp-info .ap-bogo-pdp strong {color:#173b6e; font-size:14px; margin-bottom:6px;}
.pdp-info .ap-bogo-pdp p {font-size:11px; line-height:1.6;}
.pdp-info .ap-bogo-pdp small {font-size:10px;}
.pdp-info .pdp-facts {margin-bottom:17px; padding-top:15px; color:#49688d;}
.pdp-info > .button {min-height:54px; font-weight:750; border-radius:12px;}
.pdp-info > .fine {font-size:10px; line-height:1.6; color:#607b99;}
@media(max-width:940px) {
 .pdp-grid {gap:27px; grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
 .pdp-visual {top:66px;}
 .pdp-visual .pdp-art {aspect-ratio:0.9;}
 .ap-product-heading {grid-template-columns:1fr; gap:5px;}
 .ap-product-price-box {text-align:left; padding-top:0;}
}
@media(max-width:760px) {
 .pdp.section {padding:18px 20px 25px;}
 .pdp-grid {grid-template-columns:1fr; gap:23px;}
 .pdp-visual {position:static;}
 .pdp-visual .pdp-art {aspect-ratio:1.1; height:auto; min-height:0; border-radius:16px;}
 .pdp-visual .pdp-art img {max-height:none; max-width:86%; width:86%; height:auto;}
 .pdp-info .ap-product-heading h1 {font-size:clamp(35px,9vw,48px);}
 .ap-product-price-box {text-align:left;}
 .ap-purchase-panel {padding:13px;}
 .ap-plan-option {padding:12px;}
 .pdp-visual .concept-label {font-size:9px;}
}
@media(prefers-reduced-motion:reduce) {.ap-plan-option {transition:none}}

/* AminoProof image chamber clean finish v9 â no inset square photo or blue halo. */
.pdp-visual .pdp-art {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid #d4e5f5;
  border-radius: 22px;
  background: #eaf3ff;
  overflow: hidden;
  box-shadow: 0 8px 27px rgba(19,76,147,.045);
}
.pdp-visual .pdp-art::before { display: none; }
.pdp-visual .pdp-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center;
}
@media(max-width:940px) {.pdp-visual .pdp-art {aspect-ratio: 1/1;} }
@media(max-width:760px) {
 .pdp-visual .pdp-art{height:auto;min-height:0;aspect-ratio:1/1;border-radius:16px;}
 .pdp-visual .pdp-art img{width:100%;height:100%;max-width:none;max-height:none;}
}

/* AminoProof mobile product presentation v13: presentation-only, no order or reservation behavior changes. */
@media (max-width: 760px) {
  .pdp.section { padding: 12px 14px 25px; max-width: 100%; }
  .pdp .breadcrumbs { margin: 0 0 11px; padding-left: 4px; font-size: 11px; gap: 9px; }
  .pdp-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 15px; align-items: start; }
  .pdp-visual { position: static; min-width: 0; }
  .pdp-visual .pdp-art { width: 100%; height: auto; aspect-ratio: 1/1; min-height: 0; border: 0; border-radius: 22px; overflow: hidden; box-shadow: none; background: #e7f2ff; position: relative; }
  .pdp-visual .pdp-art img { display: block; width: 100%; height: 100%; min-height: 100%; min-width: 100%; max-width: none; max-height: none; margin: 0; border: 0; box-shadow: none; border-radius: 0; object-fit: cover; object-position: center; }
  .pdp-visual .pdp-art:after {
    content: 'TESTING PENDING  |  LOT RECORD PENDING';
    position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%);
    width: max-content; max-width: calc(100% - 28px); box-sizing: border-box;
    border: 1px solid #d3e4f6; border-radius: 40px; padding: 9px 12px;
    color: #194d87; background: rgba(255,255,255,.96); box-shadow: 0 3px 11px #174b8e1c;
    font-size: 9px; letter-spacing: .035em; font-weight: 800; line-height: 1.2; text-align: center;
  }
  .pdp-visual .ap-illustrative-note { font-size: 10px; color: #748daa; line-height: 1.35; margin: 8px 2px 0; text-align: center; }
  .pdp-info {
    display: flex; flex-direction: column; gap: 0; width: 100%; min-width: 0; box-sizing: border-box;
    padding: 20px 17px; background: #fff; border: 1px solid #e4edf9;
    border-radius: 23px; box-shadow: 0 7px 25px rgba(23,67,124,.04);
  }
  .pdp-info .ap-product-heading { display:flex; flex-direction:column; gap:10px; order:1; margin:0 0 4px; }
  .pdp-info .ap-product-heading .eyebrow { font-size:10px; margin:0 0 8px; letter-spacing:.15em; }
  .pdp-info .ap-product-heading h1 { font-size: clamp(34px,9.1vw,46px); letter-spacing:-.056em; line-height:1.08; margin:0 0 12px; }
  .pdp-info .ap-material-tags { display:flex; gap:7px; flex-wrap:wrap; }
  .pdp-info .ap-material-tags span { padding:6px 10px; font-size:10px; border-radius:25px; }
  .pdp-info .ap-material-tags span:nth-child(2) { font-size:9px; }
  .pdp-info .ap-product-price-box { padding:0; text-align:left; }
  .pdp-info .ap-product-price-box .pdp-price { margin:0 0 2px; font-size:clamp(35px,10vw,46px); letter-spacing:-.055em; line-height:1.08; }
  .pdp-info .ap-product-price-box small {font-size:10px;}
  .pdp-info > .pdp-summary { order:2; font-size:12px; line-height:1.6; margin:10px 0 10px; color:#587291; }
  .pdp-info > .pill { order:3; align-self:flex-start; margin:0 0 15px; padding:8px 12px; font-size:10px; }
  .pdp-info .ap-bogo-pdp {
    order:4; margin:0 0 13px; border:1px solid #c6ddf8; border-radius:15px;
    background:linear-gradient(115deg,#eff7ff,#e4f0ff); padding:16px 17px;
  }
  .pdp-info .ap-bogo-pdp strong {font-size:17px; line-height:1.3; margin:0 0 6px; color:#163d70;}
  .pdp-info .ap-bogo-pdp strong:before {content:'\2726'; color:#176aca; margin-right:10px; font-size:17px;}
  .pdp-info .ap-bogo-pdp p {font-size:12px; line-height:1.55; color:#506f95; margin:0 0 7px;}
  .pdp-info .ap-bogo-pdp small {font-size:10px; color:#6481a2; line-height:1.4; display:block;}
  .pdp-info > .button { order:5; min-height:56px; width:100%; margin:0 0 5px; font-size:14px; font-weight:800; border-radius:14px; display:flex; justify-content:center; align-items:center; }
  .pdp-info > .fine {order:6; margin:7px 0 10px; font-size:11px; color:#6782a1; line-height:1.5;}
  .pdp-info > .inline-link {
    order:7; display:flex; align-items:center; justify-content:center; gap:11px;
    border:1px solid #cbddf3; background:#fff; color:#1a4c86; border-radius:13px;
    padding:11px 16px; margin:0 0 14px; font-size:12px; line-height:1.3; min-height:50px; text-align:center; font-weight:750;
  }
  .pdp-info > .inline-link:hover {background:#f3f8ff}
  .pdp-info .ap-purchase-panel {
    order:8; margin:0 0 12px; padding:16px 14px 13px; border-radius:15px;
    border:1px solid #d3e5fa; background:linear-gradient(125deg,#f7fbff,#eaf3ff);
  }
  .ap-purchase-panel legend strong {font-size:15px;}
  .ap-purchase-panel legend small {font-size:11px; line-height:1.5; margin-bottom:9px;}
  .ap-plan-options { gap:9px; }
  .ap-plan-option {padding:11px; border-radius:11px; gap:10px;}
  .ap-plan-copy strong {font-size:13px;}
  .ap-plan-copy small {font-size:11px;line-height:1.35;}
  .ap-plan-pricing {font-size:14px;}
  .ap-plan-confirmation {font-size:11px;line-height:1.5;}
  .ap-purchase-legal {font-size:10px;line-height:1.5;}
  .pdp-info .pdp-facts {order:9; margin:0; padding:11px 0 0; font-size:11px;}
  .product-details.section {padding-top:28px}
}
@media (max-width:360px){
  .pdp-visual .pdp-art:after {font-size:8px;padding:8px 9px}
  .pdp-info .ap-product-heading h1{font-size:32px}
  .pdp-info .ap-material-tags span{font-size:9px}
}

/* AminoProof verified-status pill styling v14: no analytical claim before a real lot result. */
@media (max-width: 760px) {
 .pdp-visual .pdp-art::after {
   content: "PURITY · PENDING   |   LOT CHECK · PENDING";
   font-size: clamp(8px,2.25vw,10px);
   letter-spacing: .025em;
   padding: 9px 11px;
   color:#1559a4;
   border-color:#c4d9f1;
 }
 .pdp-info .ap-material-tags span:first-child {font-weight:800;}
 .pdp-info .ap-product-price-box small {font-size:11px;color:#57759a;}
 .pdp-info .ap-purchase-panel legend small {font-size:11px;color:#57759a;}
}
