/* WordPress content and real purchase/media controls inside the supplied layouts. */
:is(#av-universal,#av-bundle) :is(.u-grid2,.details-grid)>:only-child{grid-column:1/-1}
:is(#av-universal,#av-bundle) .u-sample-layout{align-items:start}
:is(#av-universal,#av-bundle).avn-expanded-product{overflow:clip;min-width:0}
:is(#av-universal,#av-bundle) :is(h1,h2,h3,p,small,span){overflow-wrap:break-word}
:is(#av-universal,#av-bundle) :is(.u-hero,.u-grid2,.u-grid3,.u-metrics,.u-sample-layout)>*{min-width:0}
:is(#av-universal,#av-bundle) .u-hero.avn-no-art{grid-template-columns:1fr}
:is(#av-universal,#av-bundle) .avn-hero-stage{border:0;background:none;box-shadow:none;width:100%;min-width:0;margin:0;cursor:zoom-in;overflow:hidden;border-radius:0}
:is(#av-universal,#av-bundle) .avn-main-image{transform:scale(var(--avn-hero-scale,1));transform-origin:center}
:is(#av-universal,#av-bundle):not([data-avn-frame="original"]) .avn-hero-stage{height:var(--avn-hero-height,320px);aspect-ratio:auto;padding:12px}
:is(#av-universal,#av-bundle):not([data-avn-frame="original"]) .avn-main-image{height:100%;width:100%;max-width:100%;max-height:100%;object-fit:contain}
:is(#av-universal,#av-bundle) .u-gallery-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
:is(#av-universal,#av-bundle) .avn-zoom-button{padding:0;border:0;background:none;color:inherit;box-shadow:none;font:inherit;text-transform:inherit;letter-spacing:inherit;min-height:30px}
:is(#av-universal,#av-bundle) .avn-gallery-choices{display:flex;gap:8px;overflow-x:auto;padding:10px 0 15px}
:is(#av-universal,#av-bundle) .avn-gallery-choices button{flex:none;width:52px;height:46px;border:1px solid #ffffff18;border-radius:8px;padding:5px;background:transparent;box-shadow:none}
:is(#av-universal,#av-bundle) .avn-gallery-choices button[aria-pressed="true"]{border-color:#c67bcf}
:is(#av-universal,#av-bundle) .avn-gallery-choices img{width:100%;height:100%;object-fit:contain}
:is(#av-universal,#av-bundle) .avn-short-description p{color:#a2a1ac;font-size:14px;line-height:1.87}
#av-universal .avn-tagline{font-size:22px;color:#ded8e2;margin-bottom:12px}
:is(#av-universal,#av-bundle) .avn-purchase{align-items:center;scroll-margin-top:calc(var(--avf-sticky-height,80px) + 75px)}
:is(#av-universal,#av-bundle) .avn-purchase form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0}
:is(#av-universal,#av-bundle) .avn-purchase .variations_form{flex-basis:100%}
:is(#av-universal,#av-bundle) .avn-purchase .single_variation_wrap{margin-top:12px}
:is(#av-universal,#av-bundle) :is(.avn-purchase,.avn-closing) :is(.single_add_to_cart_button,.lxp-btn-main){padding:13px 21px;min-height:48px;border:1px solid #f2f2f4;border-radius:99px;background:#f2f2f4;color:#0b0b0c;font:600 12px/1.6 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:none;letter-spacing:0;text-transform:none}
#av-bundle :is(.avn-purchase,.avn-closing) :is(.single_add_to_cart_button,.lxp-btn-main){min-height:43px;padding:11px 18px;font-size:11px;min-width:190px}
:is(#av-universal,#av-bundle) :is(.u-btn,.u-track,.u-compare button){box-shadow:none;text-transform:none;letter-spacing:0}
:is(#av-universal,#av-bundle) :is(.u-price,.price,.avn-related-bottom,.avn-individual-price) ins{text-decoration:none;background:none}
:is(#av-universal,#av-bundle) :is(.u-price,.avn-related-bottom,.avn-individual-price) del{font-size:.65em;opacity:.55;margin-right:8px}
:is(#av-universal,#av-bundle) .u-nav{top:var(--avf-sticky-height,0px)}
:is(#av-universal,#av-bundle) .u-section{scroll-margin-top:calc(var(--avf-sticky-height,0px) + 85px)}
:is(#av-universal,#av-bundle) .u-metric strong{overflow-wrap:anywhere}
:is(#av-universal,#av-bundle) summary{cursor:pointer}
:is(#av-universal,#av-bundle) .avn-audio-disclosure>summary{list-style:none}
:is(#av-universal,#av-bundle) .avn-audio-disclosure>summary::-webkit-details-marker{display:none}
:is(#av-universal,#av-bundle) .avn-pane-title{font-size:21px;line-height:1.15;letter-spacing:-.055em;font-weight:600}
:is(#av-universal,#av-bundle) .avn-disclosure-label{display:flex;gap:10px;align-items:center;flex:none;font-size:11px}
:is(#av-universal,#av-bundle) details:not([open])>summary .when-open,:is(#av-universal,#av-bundle) details[open]>summary .when-closed{display:none}
:is(#av-universal,#av-bundle) details[open]>summary .avn-disclosure-mark{transform:rotate(45deg)}
:is(#av-universal,#av-bundle) .u-track-copy{display:block;flex:1;min-width:0;white-space:normal}
:is(#av-universal,#av-bundle) .u-track-copy small{display:block;color:#a2a1ac;font-size:10px}
:is(#av-universal,#av-bundle) .u-track[aria-pressed="true"]{border-color:#c67bcf;background:#c131e712}
/* Restore the supplied sample-card bars; movement follows the real player's state. */
:is(#av-universal,#av-bundle) .u-bars{display:flex;align-items:flex-end;gap:3px;flex:none;height:22px;margin-left:auto}
:is(#av-universal,#av-bundle) .u-bars i{display:block;width:3px;border-radius:99px;background:linear-gradient(180deg,#fff,var(--avn-accent,#c131e7));opacity:.9;transform-origin:bottom}
:is(#av-universal,#av-bundle) .u-bars i:nth-child(1){height:9px}
:is(#av-universal,#av-bundle) .u-bars i:nth-child(2){height:15px}
:is(#av-universal,#av-bundle) .u-bars i:nth-child(3){height:22px}
:is(#av-universal,#av-bundle) .u-bars i:nth-child(4){height:13px}
:is(#av-universal,#av-bundle) .u-bars i:nth-child(5){height:18px}
:is(#av-universal,#av-bundle) .u-track.is-playing .u-bars i{animation:avnPreviewBars .85s ease-in-out infinite alternate}
:is(#av-universal,#av-bundle) .u-track.is-playing .u-bars i:nth-child(2){animation-delay:-.4s}
:is(#av-universal,#av-bundle) .u-track.is-playing .u-bars i:nth-child(3){animation-delay:-.2s}
:is(#av-universal,#av-bundle) .u-track.is-playing .u-bars i:nth-child(4){animation-delay:-.6s}
@keyframes avnPreviewBars{from{transform:scaleY(.4)}to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){:is(#av-universal,#av-bundle) .u-bars i{animation:none!important}}
:is(#av-universal,#av-bundle) .avn-pause-symbol{display:none}
:is(#av-universal,#av-bundle) [aria-pressed="true"] .avn-pause-symbol{display:inline}
:is(#av-universal,#av-bundle) [aria-pressed="true"] .avn-play-symbol{display:none}
:is(#av-universal,#av-bundle) .u-compare button[aria-pressed="true"]{background:#eeeaf0;color:#111}
:is(#av-universal,#av-bundle) .avn-preview-status{font-size:12px;color:#d8b1e2}
:is(#av-universal,#av-bundle) .avn-preview-status:empty{display:none}
:is(#av-universal,#av-bundle) .avn-content-card{padding:24px}
:is(#av-universal,#av-bundle) .avn-content-card :is(p,ul,ol,blockquote)+:is(p,ul,ol,blockquote,h3){margin-top:14px}
:is(#av-universal,#av-bundle) .avn-content-card :is(ul,ol){padding-left:20px;margin:12px 0;color:#a2a1ac;font-size:13px;line-height:1.84}
:is(#av-universal,#av-bundle) .avn-content-card a:not(.u-btn){text-decoration:underline;text-underline-offset:3px}
:is(#av-universal,#av-bundle) .avn-content-card img{max-width:100%;height:auto}
:is(#av-universal,#av-bundle) .avn-content-card .avn-module-art{width:100%;height:210px;object-fit:contain;margin-bottom:18px}
:is(#av-universal,#av-bundle) .avn-content-card :is(table,pre){max-width:100%;overflow:auto;display:block}
:is(#av-universal,#av-bundle) .avn-module-grid+.avn-module-grid{margin-top:18px}
:is(#av-universal,#av-bundle) .avn-feature-value{display:block;font-size:30px;margin-bottom:12px}
:is(#av-universal,#av-bundle) .u-media :is(iframe,video){width:100%;height:100%;border:0;display:block;object-fit:contain}
:is(#av-universal,#av-bundle) .u-review{margin:0}
:is(#av-universal,#av-bundle) .u-review cite{display:block;font-size:10px;color:#9f91ab;font-style:normal;margin-top:20px}
:is(#av-universal,#av-bundle) .avn-release-notes details{padding:12px 0;border-bottom:1px solid #ffffff15}
:is(#av-universal,#av-bundle) .avn-release-notes summary{font-size:12px}
:is(#av-universal,#av-bundle) .avn-related-art{height:180px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
:is(#av-universal,#av-bundle) .avn-related-art img{width:100%;height:100%;object-fit:contain}
:is(#av-universal,#av-bundle) .avn-related-product{padding:24px}
:is(#av-universal,#av-bundle) .avn-related-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}
:is(#av-universal,#av-bundle) :is(.avn-related-group,.avn-story-group)+:is(.avn-related-group,.avn-story-group){margin-top:40px}
:is(#av-universal,#av-bundle) .avn-story-group>.u-card{margin-bottom:18px}
:is(#av-universal,#av-bundle) .avn-specification-pane{padding:24px}
:is(#av-universal,#av-bundle) .avn-specification-pane .u-head{margin:0}
:is(#av-universal,#av-bundle) .avn-specification-pane h2{font-size:31px}
:is(#av-universal,#av-bundle) .avn-specification-pane .u-list{min-width:min(250px,100%);max-width:100%}
:is(#av-universal,#av-bundle) .u-list div>span:last-child{text-align:right;min-width:0;overflow-wrap:anywhere}
:is(#av-universal,#av-bundle) .avn-closing{padding:26px;margin-bottom:70px}
:is(#av-universal,#av-bundle) .avn-closing h2{font-size:32px}
:is(#av-universal,#av-bundle) .avn-closing .u-price{font-size:28px;margin:0}
:is(#av-universal,#av-bundle) .avn-closing .u-actions{align-items:center;flex-wrap:wrap}
#av-bundle .bundle-inner>summary{display:flex;justify-content:space-between;list-style:none;font-size:11px}
#av-bundle .bundle-inner>summary::-webkit-details-marker{display:none}
#av-bundle .avn-child-tracks{margin-top:12px}
#av-bundle .avn-individual-price small{display:block;font-size:9px;color:#8c8293}
#av-bundle .u-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
#av-bundle .u-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
#av-bundle .avn-content-card h3{font-size:22px;margin-bottom:11px}
#av-bundle .u-compare{display:flex;gap:10px;margin-top:17px}
#av-bundle .u-compare button{border:1px solid var(--b-line);border-radius:99px;color:#cfc7d5;background:transparent;padding:10px 14px;font-size:11px}
#av-bundle .u-media{aspect-ratio:16/9;border-radius:16px;overflow:hidden;border:1px solid var(--b-line)}
body.avn-custom-appearance :is(#av-universal,#av-bundle){--bg:var(--avn-bg);--b-bg:var(--avn-bg);--panel:var(--avn-panel);--text:var(--avn-text);--muted:var(--avn-muted);--b-muted:var(--avn-muted);--accent:var(--avn-accent);--b-purple:var(--avn-accent);background:transparent;color:var(--avn-text);font-family:var(--avn-font)}
body.avn-custom-appearance :is(#av-universal,#av-bundle)::before{display:none}
body.avn-custom-appearance :is(#av-universal,#av-bundle) .u-wrap{width:min(var(--avn-width),calc(100% - 68px))}
body.avn-custom-appearance :is(#av-universal,#av-bundle) :is(.u-card,.u-pane,.u-gallery,.hero-media,.u-metric){background:var(--avn-panel);border-radius:var(--avn-radius)}
@media(max-width:1000px){#av-bundle .u-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){:is(#av-universal,#av-bundle):not([data-avn-frame="original"]) .avn-hero-stage{height:min(var(--avn-hero-height,320px),75vw);padding:8px}:is(#av-universal,#av-bundle) .u-hero h1{overflow-wrap:anywhere}:is(#av-universal,#av-bundle) .u-head{align-items:start}:is(#av-universal,#av-bundle) .avn-specification-pane .u-head{display:block}:is(#av-universal,#av-bundle) .avn-specification-pane .u-list{width:100%;margin-top:15px}:is(#av-universal,#av-bundle) .avn-closing .u-actions{margin-top:20px}#av-bundle :is(.u-grid2,.u-grid3){grid-template-columns:1fr}body.avn-custom-appearance :is(#av-universal,#av-bundle) .u-wrap{width:calc(100% - 30px)}}

/* Product headings must not inherit the legacy dark heading color. */
#av-universal .u-copy h1,#av-bundle .u-copy h1{color:#fff;-webkit-text-fill-color:#fff}

/* Match the reference gallery: separate four-column thumbnail cards below the viewer. */
:is(#av-universal,#av-bundle) .avn-gallery-shell{min-width:0}
:is(#av-universal,#av-bundle) .avn-gallery-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px;padding:0;overflow:visible}
:is(#av-universal,#av-bundle) .avn-gallery-choices button{width:100%;height:66px;min-height:0;min-width:0;padding:9px 8px;border-radius:13px;background:#0d0d10}
:is(#av-universal,#av-bundle) .avn-gallery-choices button img{display:block;width:100%;height:44px;object-fit:contain;margin:auto}
@media(max-width:480px){:is(#av-universal,#av-bundle) .avn-gallery-choices{gap:7px}:is(#av-universal,#av-bundle) .avn-gallery-choices button{height:53px;padding:7px 5px}:is(#av-universal,#av-bundle) .avn-gallery-choices button img{height:35px}}
