/* Scoped additions; existing product, image and document styles are retained. */
.klow-product h3{text-transform:uppercase;}
/* The same approved compact secondary capsules for every catalog product. */
#productGrid .product .catalog-stacks{margin:14px 0 0;padding-top:12px;border-top:1px solid #294766;}
#productGrid .product .catalog-stacks-title{color:#bac8d8;font-size:12px;font-weight:400;line-height:1.45;margin:0 0 8px;letter-spacing:0;}
#productGrid .product .catalog-stack-options{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;}
#productGrid .product .catalog-stack-pill{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;position:relative;width:auto;max-width:100%;min-width:0;min-height:30px;box-sizing:border-box;padding:5px 9px;background:#071522;border:1px solid #766646;border-radius:999px;color:#ccb983;font-family:inherit;font-size:13px;font-weight:300;line-height:1.35;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation;box-shadow:none;transform:none;transition:background-color 160ms ease,border-color 160ms ease;}
#productGrid .product .catalog-stack-pill:visited{color:#ccb983;}
#productGrid .product .catalog-stack-pill:hover{background:#0b1c2e;border-color:#aa9260;box-shadow:none;transform:none;}
#productGrid .product .catalog-stack-pill:focus-visible{outline:2px solid #ccb983;outline-offset:3px;}
@media(max-width:700px),(pointer:coarse){
  #productGrid .product .catalog-stack-pill{min-height:36px;}
  #productGrid .product .catalog-stack-pill::after{content:"";position:absolute;top:50%;margin-top:-22px;height:44px;left:-1px;right:-1px;border-radius:inherit;}
}
#productGrid .product .regenerative-tagline{display:block;margin-top:6px;color:#ccb983;font-weight:400;}
#pdStorage{margin:12px 0;color:#bac8d8;font-size:13px;line-height:1.5;}
#pdStorage strong{display:block;color:#dbe7f5;font-weight:400;}
#pdStorage[hidden]{display:none!important;}

#productDetailModal[data-product-id="klow5"] .klow-intro-heading{display:block;color:#f4f7fb;font-size:17px;line-height:1.35;margin:0 0 10px;font-weight:700;}
.klow-product .product-subtitle{color:#e9bd37;margin:6px 0 12px;}
.klow-composition{margin:0 0 12px;line-height:1.55;}
.klow-benefit{margin:0;line-height:1.6;}
.klow-price{width:100%;white-space:normal;line-height:1.5;}
.klow-separate{font-size:13px;color:#bac8d8;margin-bottom:6px;}
.klow-stack-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;}
.klow-stack-price>span:first-child{font-size:13px;}
.klow-stack-price .current-price{color:#e9bd37;font-size:1em;}
.klow-price .savings-line{font-size:13px;color:#e9bd37;margin-top:6px;}
.klow-cross-link{display:block;position:relative;margin:14px 0 0;padding:10px 0;color:#e9bd37;text-decoration:none;font-size:12px;line-height:1.45;border-top:1px solid #294766;}
.klow-cross-link:hover{text-decoration:underline;}
.klow-presentations{margin:12px 0;}
.klow-detail-content{color:#bac8d8;line-height:1.6;font-size:14px;}
.klow-detail-content section{border-top:1px solid #294766;padding-top:17px;margin-top:20px;}
.klow-detail-content h3{color:#f4f7fb;font-size:17px;line-height:1.35;margin:0 0 10px;}
.klow-detail-content h4{color:#e9bd37;font-size:14px;line-height:1.5;margin:18px 0 5px;}
.klow-detail-content p{margin:0 0 10px;}
.klow-detail-content ul{padding-left:20px;margin:0;}
.klow-detail-content li{margin:0 0 8px;}
.klow-detail-content a{color:#e9bd37;text-underline-offset:3px;}
.klow-doc-group{padding:12px 0;}
.klow-doc-group+.klow-doc-group{border-top:1px solid #294766;}
.klow-doc-group h3{font-size:14px;color:#dbe7f5;margin:0 0 10px;}
.klow-docs .pd-docs-buttons{display:flex;flex-wrap:wrap;gap:8px;}
.klow-docs .pd-doc-btn{font-size:12px;}
.klow-cross-sell{margin:22px 0 8px;border:1px solid rgba(233,189,55,.3);border-radius:14px;padding:16px;background:#0a2037;}
.klow-cross-sell p{color:#bac8d8;font-size:13px;line-height:1.5;margin:8px 0;}
.klow-cross-sell a{text-decoration:none;margin-top:5px;}
.klow-back{margin:0 40px 12px 0;max-width:calc(100% - 40px);text-align:left;}
#pdKlowPresentations[hidden],#pdKlowContent[hidden],#pdKlowDocs[hidden],#pdKlowCrossSell[hidden],#pdKlowBack[hidden]{display:none!important;}
#stackGuideDialog{padding:0;width:min(1100px,96vw);max-height:94vh;max-height:94dvh;overflow:hidden;}
#stackGuideDialog[open]{display:flex;flex-direction:column;height:94vh;height:94dvh;}
.stack-guide-head{padding:10px 14px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-shrink:0;}
#stackGuideTitle{font-size:13px;line-height:1.4;}
#stackGuideFrame{width:100%;border:0;flex:1;min-height:0;background:#061426;}
@media(max-width:700px){
 .klow-detail #pdName{font-size:26px!important;line-height:1.2!important;}
 .klow-product .klow-stack-price{flex-direction:row!important;}
 .klow-docs .pd-doc-btn{padding:9px 10px;}
 .klow-detail-content{font-size:13px;}
}

/* Compact KLOW detail only; catalog capsules and individual products are unchanged. */
#productDetailModal.klow-detail .product-detail-grid{gap:22px!important;align-items:start!important;}
#productDetailModal.klow-detail #pdInfo{margin:12px 0;font-size:14px;line-height:1.55;}
#productDetailModal.klow-detail #pdKlowContent section{border:0;padding:0;margin:0;}
#productDetailModal.klow-detail #pdKlowContent h3{font-size:16px;line-height:1.35;margin:0 0 7px;}
#productDetailModal.klow-detail #pdKlowContent ul{list-style:none;padding:0;margin:0;}
#productDetailModal.klow-detail #pdKlowContent li{font-size:13px;line-height:1.5;margin:0 0 5px;}
#productDetailModal.klow-detail #pdKlowContent a{color:#ccb983;text-decoration:underline;text-decoration-color:#766646;text-underline-offset:3px;}
#productDetailModal.klow-detail #pdKlowContent a:hover{color:#e9bd37;}
#productDetailModal.klow-detail #pdPrice{margin:14px 0!important;}
#productDetailModal.klow-detail #pdKlowPurchase{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:0 0 12px;}
#pdKlowPurchase[hidden]{display:none!important;}
#productDetailModal.klow-detail .klow-quantity{flex:0 0 auto;}
#productDetailModal.klow-detail .klow-quantity label{display:block;font-size:12px;color:#bac8d8;margin-bottom:6px;}
#productDetailModal.klow-detail .klow-quantity-control{display:flex;align-items:center;border:1px solid #294766;border-radius:10px;overflow:hidden;background:#071522;}
#productDetailModal.klow-detail .klow-quantity-control button{width:36px;height:44px;flex:0 0 36px;border:0;background:transparent;color:#e9bd37;font-size:19px;cursor:pointer;}
#productDetailModal.klow-detail .klow-quantity-control button:disabled{opacity:.35;cursor:default;}
#productDetailModal.klow-detail #pdKlowQuantity{width:44px;height:44px;border:0;border-radius:0;padding:0 3px;background:transparent;text-align:center;font-size:16px;appearance:textfield;-moz-appearance:textfield;}
#pdKlowQuantity::-webkit-inner-spin-button,#pdKlowQuantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
#productDetailModal.klow-detail #pdKlowPurchase #pdAdd{flex:1 1 180px;width:auto!important;min-height:46px;margin:0;}
#productDetailModal.klow-detail #pdShare{margin-top:8px;margin-bottom:8px;}
#productDetailModal.klow-detail #pdDisclaimer{margin:8px 0;font-size:12px;line-height:1.4;}

/* KLOW dose is included in its full name and variant selector. */
#productDetailModal.klow-detail #pdDose{display:none!important;}

/* Secondary distribution line, visibly smaller than the premium line. */
body .topbar .brand-copy{min-width:0;}
body .topbar .brand-copy .brand-premium{
  display:block!important;font-size:10px!important;letter-spacing:.09em!important;white-space:nowrap!important;
}
body .topbar .brand-copy .brand-distribution{
  display:block!important;
  margin:3px 0 0!important;
  font-family:inherit!important;
  font-size:8.5px!important;
  font-weight:300!important;
  line-height:1.3!important;
  letter-spacing:.045em!important;
  color:#ccb983!important;
  white-space:nowrap!important;
}
@media(max-width:700px){
  body .topbar .brand-copy .brand-premium{font-size:9.5px!important;letter-spacing:.065em!important;}
  body .topbar .brand-copy .brand-distribution{font-size:8px!important;letter-spacing:.03em!important;margin-top:2px!important;}
}
@media(max-width:360px){
  body .topbar .brand-copy .brand-premium{letter-spacing:.04em!important;}
  body .topbar .brand-copy .brand-distribution{letter-spacing:.015em!important;}
}

/* Catalog reading order: presentation, complete price, summary, stack links, purchase. */
body #productGrid .product .catalog-copy{min-width:0;padding-bottom:0!important;}
body #productGrid .product .catalog-copy>.dose{min-height:0!important;margin-bottom:0!important;}
body #productGrid .product .catalog-price{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;max-width:100%;margin:8px 0 0;padding:0;}
body #productGrid .product .catalog-price>div:first-child:empty{display:none;}
body #productGrid .product .catalog-price>div:first-child:not(.price){margin:0!important;font-size:11px;line-height:1.35;}
body #productGrid .product .catalog-price-label{color:#e9bd37;font-weight:400;letter-spacing:.45px;}
body #productGrid .product .catalog-price .price{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:baseline;gap:7px;width:100%!important;min-width:0;max-width:100%;margin:0!important;line-height:1.35!important;}
body #productGrid .product .catalog-price .old-price{display:inline!important;margin:0!important;font-size:15px!important;line-height:1.35!important;}
body #productGrid .product .catalog-price .current-price{display:inline!important;font-size:23px!important;line-height:1.35!important;}
body #productGrid .product .catalog-price .savings-line{align-self:flex-start;justify-self:start!important;max-width:100%!important;width:auto!important;margin:0!important;font-size:12px!important;line-height:1.4;white-space:normal;}
body #productGrid .product .catalog-price .klow-stack-price .current-price{font-size:23px!important;}
body #productGrid .product .catalog-price+.product-subtitle{margin:12px 0 0;}
body #productGrid .product .catalog-actions{display:flex;flex-direction:column;gap:8px;width:100%;min-width:0;margin:18px 0 0;padding-top:0;}
body #productGrid .product .catalog-actions>.add{display:flex;order:1;align-items:center;justify-content:center;width:100%!important;min-width:0;max-width:100%;min-height:44px;margin:0!important;white-space:normal;line-height:1.35;}
body #productGrid .product .catalog-actions>.product-restock{margin:0!important;}
/* These original blue photographs are intact. Remove white letterboxing in the UI. */
body #productGrid .product[data-product-id="tesa30day"] .product-media-wrap{aspect-ratio:1024/1180!important;background:#061426!important;}
body #productGrid .product[data-product-id="stackTirzCjc"] .product-media-wrap{background:#061426!important;}
body #productGrid .product:is([data-product-id="tesa30day"],[data-product-id="stackTirzCjc"]) .product-photo-action{background:#061426!important;}
body #productGrid .product:is([data-product-id="tesa30day"],[data-product-id="stackTirzCjc"]) .product-image{width:100%!important;height:100%!important;object-fit:contain!important;background:#061426!important;}
body #productDetailModal:is([data-product-id="tesa30day"],[data-product-id="stackTirzCjc"]) #pdImage{display:block;width:auto!important;height:auto!important;max-width:100%!important;min-width:0;aspect-ratio:auto!important;object-fit:contain!important;background:#061426!important;border:0!important;padding:0!important;justify-self:center;align-self:start;}

/* Keep the existing research notice legible on every detail view. */
#productDetailModal .pd-ruo-footer{color:#9eb0c9;font-size:12px;line-height:1.5;letter-spacing:.025em;overflow-wrap:anywhere;}

/* Blue stack artwork: preserve the full RETA photo and remove white UI letterboxing.
   Tesamorelin's approved image and existing rules remain unchanged. */
body #productGrid .product[data-product-id="stackRetaCjc"] .product-media-wrap{background:#061426!important;}
body #productGrid .product[data-product-id="stackRetaCjc"] .product-photo-action{background:#061426!important;}
body #productGrid .product[data-product-id="stackRetaCjc"] .product-image{width:100%!important;height:100%!important;object-fit:contain!important;background:#061426!important;}
body #productDetailModal:is([data-product-id="triTirz"],[data-product-id="triReta"],[data-product-id="stackMotsCjc"],[data-product-id="stackWolvGhk"],[data-product-id="stackRetaCjc"],[data-product-id="intimateDuo"],[data-product-id="stackStud"],[data-product-id="stackPhoenix"],[data-product-id="stackBeast"]) #pdImage{display:block;width:auto!important;height:auto!important;max-width:100%!important;min-width:0;aspect-ratio:auto!important;object-fit:contain!important;background:#061426!important;border:0!important;padding:0!important;justify-self:center;align-self:start;}
