/* Product-only refinements. Shared website design files are copied unchanged. */
.xr-pdp {background:#f6f3eb;}
.xr-pdp .xr-gallery-stage {aspect-ratio:1; padding:0; background:#f6f3eb;}
.xr-pdp .xr-gallery-stage>img {max-height:none;}
.xr-pdp .xr-gallery-stage.is-infographic {padding:0;}
.xr-pdp .xr-gallery-stage.is-scene {aspect-ratio:1;}
.xr-pdp .xr-gallery-stage.is-scene>img {object-fit:contain;object-position:center;}
.xr-pdp .xr-gallery-stage.is-label {padding:22px;}
.xr-pdp .xr-thumbnails {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:5px 3px 10px;scrollbar-width:thin;}
.xr-pdp .xr-thumb {flex:0 0 60px;width:60px;height:64px;}
.xr-pdp .xr-gallery-caption {display:grid;grid-template-columns:1fr auto;text-align:left;gap:3px 12px;font-size:12px;}
.xr-pdp .xr-gallery-caption strong {font-size:13px;}
.xr-pdp .xr-gallery-caption [data-xr-view-hint] {grid-column:1/-1;}
.xr-pdp .xr-summary {font-size:16px;line-height:1.8;}
.xr-pdp .xr-pack-line {font-size:14px;}
.xr-pdp .xr-eyebrow {font-size:11px;}
.xr-pdp .xr-hero-facts dt {font-size:22px;}
.xr-pdp .xr-hero-facts dd {font-size:12px;}
.xr-pdp .xr-button {font-size:15px;min-height:56px;}
.xr-pdp .xr-purchase-note {font-size:12px;line-height:1.7;}
.xr-pdp .xr-support-links {font-size:12px;}
.xr-pdp .xr-support-links a {min-height:36px;display:flex;align-items:center;}
.xr-pdp .xr-important {font-size:12px;line-height:1.8;}
.xr-pdp .xr-section-nav {font-size:13px;gap:12px 30px;}
.xr-pdp .xr-section-nav a {display:flex;align-items:center;min-height:40px;}
.xr-pdp .xr-prose {font-size:16px;line-height:1.9;}
.xr-pdp .xr-formula-item h3 {font-size:17px;}
.xr-pdp .xr-formula-item p {font-size:14px;}
.xr-pdp .xr-table {font-size:15px;}
.xr-pdp .xr-table caption,.xr-pdp .xr-table th {font-size:12px;}
.xr-pdp .xr-table tbody th {font-size:14px;}
.xr-pdp .xr-table-footnote {font-size:12px;}
.xr-pdp .xr-details details>div,.xr-pdp .xr-faqs details>p {font-size:15px;line-height:1.85;}
.xr-pdp .xr-faqs summary {font-size:15px;}
.xr-pdp .xr-direction-box p {font-size:15px;}
.xr-pdp .xr-card-detail {font-size:13px;}
.xr-pdp .xr-card-action {font-size:13px;min-height:48px;}
.xr-pdp .xr-recommendation-heading p {font-size:14px;}
.xr-pdp .xr-support p {font-size:14px;}
.xr-pdp .xr-support a {font-size:14px;min-height:44px;display:flex;align-items:center;}
.nv-panoramic {margin:0;background:#142459;color:#fffef9;overflow:hidden;border-radius:2px;}
.nv-panoramic picture {display:block;}
.nv-panoramic picture img {display:block;width:100%;height:auto;aspect-ratio:2.4;object-fit:cover;}
.nv-panoramic figcaption {display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:36px 40px;}
.nv-panoramic h2 {font-size:clamp(30px,3vw,42px);line-height:1.15;font-weight:500;letter-spacing:-.035em;color:inherit;margin:0;}
.nv-panoramic p {font-size:15px;line-height:1.9;color:#dde7df;max-width:53ch;margin:0;}
.nv-panoramic .xr-eyebrow {color:#deebaa;margin-bottom:12px;}
.nv-inline-guide {border-top:1px solid #d0d3c7;padding-top:24px;margin-top:24px;}
.nv-inline-guide a {font-size:14px;display:inline-flex;align-items:center;min-height:44px;color:#245c63;gap:14px;}
.xr-pdp a:focus-visible,.xr-pdp summary:focus-visible,.xr-pdp .xr-table-wrap:focus-visible {outline:3px solid #245c63;outline-offset:4px;}
.xr-zoom-stage:focus-visible {outline:3px solid #245c63;outline-offset:-4px;}
.site-header .brand img {height:auto;}
@media(max-width:760px){
 .xr-pdp .xr-hero {gap:28px;padding-bottom:38px;}
 .xr-pdp .xr-purchase {padding-top:0;}
 .xr-pdp .xr-hero-facts {gap:12px;padding-block:18px;}
 .xr-pdp .xr-hero-facts div+div {padding-left:12px;}
 .xr-pdp .xr-hero-facts dt {font-size:19px;}
 .xr-pdp .xr-hero-facts dd {font-size:11px;}
 .xr-pdp .xr-summary {font-size:15px;}
 .xr-pdp .xr-section-nav {display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding-block:10px;}
 .xr-pdp .xr-section-nav a {font-size:12px;}
 .xr-pdp .xr-section {padding-block:48px;}
 .xr-pdp .xr-thumb {flex-basis:56px;width:56px;height:60px;}
 .xr-pdp .xr-table-wrap {padding:10px 15px 18px;}
 .xr-pdp .xr-table {font-size:13px;}
 .xr-pdp .xr-table tbody th {font-size:13px;max-width:130px;}
 .xr-pdp .xr-table td {white-space:normal;}
 .nv-panoramic picture img {aspect-ratio:1.2;object-fit:cover;}
 .nv-panoramic figcaption {grid-template-columns:1fr;gap:20px;padding:28px 24px;}
 .nv-panoramic h2 {max-width:15ch;}
 .nv-panoramic p {font-size:14px;}
 .xr-pdp .xr-support {padding:25px 23px;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.xr-pdp *{transition:none!important;scroll-behavior:auto!important;}}

/* Keep a single relevant comparison compact instead of stretching a three-card grid. */
@media(min-width:761px){.xr-pdp .xr-cards[data-count="1"]{display:block}.xr-pdp .xr-cards[data-count="1"] .xr-card{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px;max-width:760px}.xr-pdp .xr-cards[data-count="1"] .xr-card-copy{padding:15px 0;justify-content:center}.xr-pdp .xr-cards[data-count="1"] .xr-card-detail{flex:0}.xr-pdp .xr-cards[data-count="1"] .xr-card-image{aspect-ratio:1;padding:22px}.xr-pdp .xr-cards[data-count="1"] .xr-card-image img{max-height:220px}}
/* Editorial artwork supplies its own safe composition. Preserve every pouch/base pixel. */
.xr-pdp .nv-panoramic{position:relative;background:#f6f3eb;color:#142459}
.xr-pdp .nv-panoramic picture img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.xr-pdp .nv-panoramic figcaption{position:absolute;inset:0 auto 0 0;width:42%;display:flex;flex-direction:column;justify-content:center;gap:16px;padding:clamp(18px,3vw,42px);background:transparent}
.xr-pdp .nv-panoramic .xr-eyebrow{color:#245c63}
.xr-pdp .nv-panoramic p{color:#52636b;font-size:14px;line-height:1.8}
@media(max-width:760px){.xr-pdp .nv-panoramic figcaption{position:static;width:auto;display:grid;grid-template-columns:1fr;gap:20px;padding:28px 24px;background:#142459;color:#fffef9}.xr-pdp .nv-panoramic .xr-eyebrow{color:#deebaa}.xr-pdp .nv-panoramic p{color:#dde7df}.xr-pdp .nv-panoramic picture img{aspect-ratio:auto;height:auto;object-fit:contain}}

/* Product 2318 only. The accepted XR components remain the layout authority. */
.nv-milkthistle120 .xr-purchase h1 {font-size:clamp(32px,3.1vw,49px);max-width:19ch;}
.nv-milkthistle120 .xr-subtitle {font-size:.52em;line-height:1.35;max-width:27ch;}
.nv-milkthistle120 .xr-summary {max-width:47ch;}
.nv-milkthistle120 .xr-purchase .nv9-product-purchase {margin-top:22px;}
.nv-milkthistle120 .nv9-current-price {font-size:26px;font-weight:650;color:#142459;margin-block:0 18px;}
.nv-milkthistle120 form.cart {display:flex;align-items:center;flex-wrap:wrap;gap:12px;}
.nv-milkthistle120 form.cart .quantity input {min-height:48px;max-width:85px;border:1px solid #b8c1b6;border-radius:3px;background:#fffef9;color:#142459;}
.nv-milkthistle120 .single_add_to_cart_button,.nv-milkthistle120 .xr-card .button {min-height:48px;background:#142459;color:#fffef9;border:1px solid #142459;padding:13px 22px;border-radius:3px;font:600 14px Montserrat,sans-serif;text-decoration:none;}
/* Outrank WooCommerce's default purple .button.alt rule on this product only. */
.nv-milkthistle120 .xr-purchase form.cart button.single_add_to_cart_button.button {background:#142459;color:#fffef9;border-color:#142459;min-height:48px;padding:13px 22px;font:600 14px Montserrat,sans-serif;}
.nv-milkthistle120 .xr-purchase form.cart button.single_add_to_cart_button.button:hover {background:#245c63;border-color:#245c63;color:#fffef9;}
.nv-milkthistle120 .single_add_to_cart_button:disabled {opacity:.55;cursor:not-allowed;}
.nv-milkthistle120 .variations_form {width:100%;display:block!important;}
.nv-milkthistle120 .variations select {max-width:100%;min-height:44px;}
.nv-milkthistle120 .woocommerce-error,.nv-milkthistle120 .woocommerce-message,.nv-milkthistle120 .woocommerce-info {width:100%;padding:14px 18px;line-height:1.6;}
.nv-milkthistle120 .xr-cards {align-items:stretch;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));}
.nv-milkthistle120 .xr-card-copy {display:flex;flex:1;flex-direction:column;}
.nv-milkthistle120 .xr-card-detail {min-height:4em;}
.nv-milkthistle120 .xr-card-native {margin-top:auto;}
.nv-milkthistle120 .xr-card-native .price {font-size:20px;color:#142459;font-weight:650;margin-block:8px 12px;}
.nv-milkthistle120 .xr-card-native .stock {font-size:12px;line-height:1.5;margin-bottom:12px;}
.nv-milkthistle120 .xr-card .button {display:inline-flex;align-items:center;justify-content:space-between;gap:20px;width:100%;box-sizing:border-box;}
.nv-milkthistle120 .xr-card-image img {object-fit:contain;transform:none!important;}
.nv-milkthistle120 .nv-milkthistle120-panorama {position:relative;margin:54px 0;background:#f6f3eb;color:#142459;overflow:hidden;}
.nv-milkthistle120 .nv-milkthistle120-panorama picture,.nv-milkthistle120 .nv-milkthistle120-panorama img {display:block;width:100%;}
.nv-milkthistle120 .nv-milkthistle120-panorama img {height:auto;object-fit:contain;}
.nv-milkthistle120 .nv-milkthistle120-panorama figcaption {position:absolute;inset:0 auto 0 0;width:58.333333%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:20px;padding:clamp(24px,3vw,48px);}
.nv-milkthistle120 .nv-milkthistle120-panorama h2 {color:inherit;margin:0;font-size:clamp(26px,2.5vw,36px);line-height:1.2;}
.nv-milkthistle120 .nv-milkthistle120-panorama p {color:inherit;font-size:14px;line-height:1.8;max-width:47ch;}
.nv-milkthistle120 .xr-facts-layout {align-items:start;}
.nv-milkthistle120 .xr-table-wrap {max-width:100%;overflow-x:auto;}
body.nv-refined .nv-milkthistle120 .xr-table {width:100%;min-width:0;table-layout:fixed;}
body.nv-refined .nv-milkthistle120 .xr-table th:first-child {width:34%;}
body.nv-refined .nv-milkthistle120 .xr-table td {white-space:normal;overflow-wrap:anywhere;line-height:1.7;}
body.nv-refined .nv-milkthistle120 .xr-table th:last-child,body.nv-refined .nv-milkthistle120 .xr-table td:last-child {width:20%;}
/* Keep the amount/unit and NRV percentage together on this product's one-row table. */
body.nv-refined .nv-milkthistle120 .xr-table td:nth-child(n+2) {white-space:nowrap;overflow-wrap:normal;word-break:normal;}
@media(max-width:400px){
  body.nv-refined .nv-milkthistle120 .xr-table th:last-child,body.nv-refined .nv-milkthistle120 .xr-table td:last-child {width:30%;}
  body.nv-refined .nv-milkthistle120 .xr-table th:nth-child(n+2),body.nv-refined .nv-milkthistle120 .xr-table td:nth-child(n+2) {padding-inline:8px;}
}
.nv-milkthistle120 .xr-faqs p {max-width:60ch;}
.nv-milkthistle120 a:focus-visible,.nv-milkthistle120 button:focus-visible,.nv-milkthistle120 input:focus-visible,.nv-milkthistle120 select:focus-visible,.xr-zoom button:focus-visible {outline:3px solid #245c63;outline-offset:4px;}
.nv-milkthistle120-preview-toolbar {padding:12px 20px;background:#e9e4d8;color:#142459;font:500 13px/1.6 Montserrat,sans-serif;text-align:center;}
.nv-milkthistle120-preview-purchase {padding:20px;background:#eeece3;border:1px solid #ccd2c6;margin-block:18px;}
.nv-milkthistle120-preview-purchase p {font-size:13px;line-height:1.7;margin:0 0 14px;}
.nv-milkthistle120-preview-purchase a {display:inline-flex;min-height:46px;align-items:center;padding:0 18px;background:#142459;color:#fffef9;text-decoration:none;border-radius:3px;}
.nv-milkthistle120 .xr-preview-card-note {font-size:12px;color:#52636b;line-height:1.6;margin-block:8px 12px;}
@media(max-width:760px){
  .nv-milkthistle120 .xr-purchase h1 {font-size:34px;max-width:20ch;}
  .nv-milkthistle120 .xr-subtitle {font-size:.54em;}
  .nv-milkthistle120 .xr-gallery-stage {aspect-ratio:1.16;}
  .nv-milkthistle120 .xr-gallery-stage.is-infographic {aspect-ratio:1;}
  .nv-milkthistle120 .xr-card-detail {min-height:0;}
  .nv-milkthistle120 .xr-card-native {margin-top:12px;}
  .nv-milkthistle120 .nv-milkthistle120-panorama {margin-block:35px;}
  .nv-milkthistle120 .nv-milkthistle120-panorama figcaption {position:static;inset:auto;width:100%;gap:18px;padding:25px;}
  .nv-milkthistle120 .xr-facts-layout {gap:26px;}
}
@media(max-width:340px){.nv-milkthistle120 .xr-purchase h1 {font-size:29px;}.nv-milkthistle120 .xr-container {width:calc(100% - 30px);}.nv-milkthistle120 .xr-card {grid-template-columns:90px 1fr;gap:14px;}.nv-milkthistle120 .xr-card .button {padding:12px;}}
@media(prefers-reduced-motion:reduce){.nv-milkthistle120 *,.xr-zoom * {scroll-behavior:auto!important;transition:none!important;}}

/* Keep the full composition table readable at tablet widths. */
@media (min-width:761px) and (max-width:900px){
  .nv-milkthistle120 .xr-facts-layout {grid-template-columns:minmax(0,1fr);gap:30px;}
}

.nv-milkthistle120 .nv-milkthistle120-strength-note {margin:16px 0;padding:14px 16px;border-left:3px solid #245C63;background:#eeeee6;font-size:13px;line-height:1.7;color:#40545b;}
.nv-milkthistle120 .nv-milkthistle120-strength-note p {margin:0;}

.nv-milkthistle120 .nv-milkthistle120-faq-sources {font-size:13px;line-height:1.7;margin-top:20px;color:#40545b;}
.nv-milkthistle120 .nv-milkthistle120-faq-sources a {color:#245C63;text-underline-offset:3px;}

/* Keep keyboard focus visible inside the scrollable image boundary. */
#xr-image-zoom .xr-zoom-stage[data-nv-milkthistle120-scroll-region]:focus-visible {outline:3px solid #245c63!important;outline-offset:-4px;}
@media(forced-colors:active){#xr-image-zoom .xr-zoom-stage[data-nv-milkthistle120-scroll-region]:focus-visible {outline-color:Highlight!important;}}

/* Actual narrow-screen review: give each long fact an independent row. */
@media(max-width:600px){
 .nv-milkthistle120 .xr-hero-facts{grid-template-columns:minmax(0,1fr);gap:16px;}
 .nv-milkthistle120 .xr-hero-facts>div{min-width:0;border-left:0;padding-left:0;}
 .nv-milkthistle120 .xr-hero-facts dt{font-size:20px;line-height:1.4;}
 .nv-milkthistle120 .xr-hero-facts dd{max-width:none;}
}

/* Milk Thistle two-row composition at narrow widths. */
@media(max-width:760px){body.nv-refined .nv-milkthistle120 .xr-table th:first-child{width:50%;}body.nv-refined .nv-milkthistle120 .xr-table th:last-child,body.nv-refined .nv-milkthistle120 .xr-table td:last-child{width:20%;}}
