:host{display:block;box-sizing:border-box;max-width:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d2f29;text-align:left;line-height:1.5;direction:ltr}:host([hidden]){display:none!important}*{box-sizing:border-box}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid var(--pttads-accent,#176b57);outline-offset:3px}
.pttads-ad{--pttads-accent:#176b57;border:1px solid #dce5dd;border-radius:10px;border-top:3px solid var(--pttads-accent);background:#fff;padding:15px;color:#1d2f29;box-shadow:0 2px 10px #19332206;position:relative;max-width:100%;overflow:visible}.pttads-heading{display:flex;align-items:center;gap:8px;color:var(--pttads-accent);font-size:10px;font-weight:700;letter-spacing:.7px;padding-bottom:11px;margin-bottom:2px;line-height:1.6}.pttads-ad-label{font-size:8px;letter-spacing:.5px;font-weight:700;background:#eef3eb;color:#68865b;border:1px solid #e3eadd;padding:2px 5px;border-radius:3px;flex-shrink:0}.pttads-product{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none!important;padding:13px 0;border-top:1px solid #eef1eb;min-width:0}.pttads-product:hover .pttads-title{color:var(--pttads-accent);text-decoration:underline;text-underline-offset:3px}.pttads-media{display:flex;align-items:center;justify-content:center;width:75px;height:78px;flex:none;background:#fafbf7;border-radius:6px;overflow:hidden;padding:4px}.pttads-media img{width:100%;height:100%;max-width:100%;object-fit:contain;display:block}.pttads-info{display:block;min-width:0}.pttads-title{font-size:12px;font-weight:550;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.pttads-deal{display:inline-block;font-size:8px;line-height:1.5;background:#edf3e5;color:#61814d;padding:2px 5px;border-radius:3px;margin-top:5px}.pttads-cta{display:block;color:var(--pttads-accent);font-size:9px;margin-top:7px;font-weight:550}.pttads-disclosure{font-size:9px;color:#94a08e;line-height:1.7;margin:12px 0 0;padding:0;border-top:1px solid #eff2ea;padding-top:9px}.pttads-carousel{margin:25px 0}.pttads-rail{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:0 0 5px;position:relative;max-width:100%;touch-action:pan-x pan-y}.pttads-rail::-webkit-scrollbar{display:none}.pttads-vertical{flex-direction:column;align-items:stretch;gap:9px;border:1px solid #e5eadd;border-radius:7px;padding:10px;background:#fff;scroll-snap-align:start;min-width:0}.pttads-rail .pttads-product{flex:0 0 min(var(--pttads-card-width,210px),78%)}.pttads-vertical .pttads-media{width:100%;height:var(--pttads-image-height,120px);padding:7px}.pttads-vertical .pttads-title{font-size:12px}.pttads-grid{display:grid;grid-template-columns:repeat(var(--pttads-columns,4),minmax(0,1fr));gap:12px}.pttads-widebar{margin:24px 0;padding:18px;background:#f5f8ef}.pttads-widebar .pttads-grid{max-width:1440px;margin:auto}.pttads-widebar .pttads-heading,.pttads-widebar .pttads-disclosure{max-width:1440px;margin-left:auto;margin-right:auto}.pttads-popup{padding:15px;box-shadow:0 8px 35px #19332221}.pttads-popup .pttads-heading{padding-right:24px}.pttads-popup-card{border-top:0;padding:0}.pttads-popup-card .pttads-media{width:80px;height:80px}.pttads-popup .pttads-disclosure{font-size:8px;margin-top:10px;padding-top:8px}.pttads-close{position:absolute;right:7px;top:6px;border:0;border-radius:50%;display:grid;place-items:center;color:#71806a;background:#f2f5ec;width:25px;height:25px;font-size:19px;line-height:1;padding:0;z-index:5}.pttads-close:hover{background:#e4ecdc;color:#345b39}.pttads-sticky{padding:0;border-top-width:1px;overflow:visible;box-shadow:0 4px 30px #172e1c29;background:#fff;border-radius:9px}.pttads-sticky>.pttads-close{top:-10px;right:-6px;background:#1d382c;color:#fff;border:1px solid #fff;width:24px;height:24px;font-size:18px}.pttads-slides{position:relative;overflow:hidden;border-radius:8px 8px 0 0;min-height:1px;transition:height .2s ease}.pttads-slide{display:block;position:absolute;top:0;left:0;width:100%;opacity:0;pointer-events:none;transition:opacity .45s ease;text-decoration:none;line-height:0}.pttads-slide.is-active{opacity:1;pointer-events:auto}.pttads-slide img{display:block;max-width:100%;width:100%;height:auto;max-height:min(180px,22vh);object-fit:contain;background:#fff}.pttads-sticky[data-effect=slide] .pttads-slide{transform:translateX(100%);transition:transform .4s ease,opacity .4s}.pttads-sticky[data-effect=slide] .pttads-slide.is-active{transform:translateX(0)}.pttads-sticky[data-effect=none] .pttads-slide{transition:none}.pttads-banner-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 9px;background:#f9fbf5;border-top:1px solid #e9efe1;border-radius:0 0 8px 8px;min-height:22px}.pttads-banner-footer>span{font-size:8px;color:#91a180;line-height:1.4}.pttads-banner-nav{display:flex;gap:5px;align-items:center;flex-shrink:0}.pttads-dot{width:6px;height:6px;min-width:6px;border-radius:50%;padding:0;border:0;background:#d4dfc9}.pttads-dot[aria-current=true]{background:var(--pttads-accent)}.pttads-banner-arrow{border:0;background:transparent;color:#889b77;font-size:18px;line-height:15px;padding:0 3px;display:grid;place-items:center;height:18px;width:18px}
@media(max-width:767px){.pttads-ad{padding:13px}.pttads-grid{gap:9px}.pttads-vertical{padding:8px}.pttads-vertical .pttads-media{height:100px}.pttads-vertical .pttads-title{font-size:11px}.pttads-widebar{padding:13px}.pttads-popup{padding:13px}.pttads-popup-card .pttads-media{width:70px;height:70px}.pttads-sticky{padding:0}.pttads-slide img{max-height:min(120px,20vh)}.pttads-banner-footer>span{font-size:7px}.pttads-banner-footer{padding:4px 7px}.pttads-dot{width:5px;height:5px;min-width:5px}.pttads-banner-nav{gap:4px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.pttads-badges{display:flex;align-items:center;gap:5px;margin-top:7px}.pttads-badges .pttads-deal{margin:0}.pttads-hot{display:inline-block;font-size:8px;font-weight:750;letter-spacing:.4px;line-height:1.5;background:#ffddca;color:#9c5439;padding:2px 5px;border-radius:3px}

/* Theme selection is resolved on the server, then applied to each shadow-root ad. */
:host([data-theme="amazon"]){color:#171717;--pttads-accent:#bd7100}
:host([data-theme="amazon"]) .pttads-ad{--pttads-accent:#bd7100;color:#171717;background:#fffdf7;border-color:#e6c36c;border-top:3px solid #ffbc17;box-shadow:0 3px 15px #31200018}
:host([data-theme="amazon"]) .pttads-heading{color:#171717}
:host([data-theme="amazon"]) .pttads-ad-label{background:#171717;color:#ffcf45;border-color:#171717}
:host([data-theme="amazon"]) .pttads-media{background:#fff6e0}
:host([data-theme="amazon"]) .pttads-product{border-top-color:#f1e3c2}
:host([data-theme="amazon"]) .pttads-vertical{border-color:#e8ce90;background:#fff}
:host([data-theme="amazon"]) .pttads-widebar{background:#fff3d4}
:host([data-theme="amazon"]) .pttads-disclosure{color:#6b6253;border-top-color:#f1e3c2}
:host([data-theme="amazon"]) .pttads-deal{background:#fff0c7;color:#624000}
:host([data-theme="amazon"]) .pttads-banner-footer{background:#fff4d6;border-top-color:#ecd59e}
:host([data-theme="amazon"]) .pttads-banner-footer>span{color:#5b4a28}
:host([data-theme="amazon"]) .pttads-close{background:#171717;color:#fff}
:host([data-theme="neutral"]){color:#222831;--pttads-accent:#49586c}
:host([data-theme="neutral"]) .pttads-ad{--pttads-accent:#49586c;color:#222831;background:#fff;border-color:#d7dde5;border-top:3px solid #49586c}
:host([data-theme="neutral"]) .pttads-heading{color:#344252}
:host([data-theme="neutral"]) .pttads-ad-label{background:#e8edf3;color:#36485b;border-color:#cdd6e1}
:host([data-theme="neutral"]) .pttads-media{background:#f4f6f8}
:host([data-theme="neutral"]) .pttads-product{border-top-color:#e8ebf0}
:host([data-theme="neutral"]) .pttads-vertical{border-color:#d9dee6}
:host([data-theme="neutral"]) .pttads-widebar{background:#f2f5f8}
:host([data-theme="neutral"]) .pttads-disclosure{color:#64748b;border-top-color:#e8ebf0}
:host([data-theme="neutral"]) .pttads-banner-footer{background:#f1f4f8;border-top-color:#d9dee6}
:host([data-theme="neutral"]) .pttads-banner-footer>span{color:#526174}
:host([data-theme="neutral"]) .pttads-close{background:#344252;color:#fff}
:host([data-theme="forest"]){color:#163b31;--pttads-accent:#176b57}
:host([data-theme="forest"]) .pttads-ad{--pttads-accent:#176b57;background:#fffef6;border-color:#ccddbd;border-top:3px solid #176b57}
:host([data-theme="forest"]) .pttads-ad-label{background:#eaf3dc;color:#346b4c;border-color:#cce4ba}
:host([data-theme="forest"]) .pttads-media{background:#f5f9ee}
:host([data-theme="forest"]) .pttads-widebar{background:#ecf5e4}
:host([data-theme="forest"]) .pttads-banner-footer{background:#eef6e9}
:host([data-theme="amazon"]) .pttads-ad,:host([data-theme="neutral"]) .pttads-ad,:host([data-theme="forest"]) .pttads-ad{border-top-color:var(--pttads-accent)}
.pttads-sticky .pttads-corner-ad{position:absolute;top:7px;left:8px;z-index:4;display:inline-flex;align-items:center;justify-content:center;background:#151515;color:#ffca35;border:1px solid #ffca35;border-radius:3px;padding:2px 5px;font-size:9px;font-weight:800;letter-spacing:.8px;line-height:1.35;pointer-events:none}
.pttads-sticky[data-mode=asin] .pttads-sticky-titlebar{display:flex;align-items:center;gap:10px;padding:7px 14px 4px;min-height:25px;border-radius:9px 9px 0 0;background:#fffdf7}
.pttads-sticky[data-mode=asin] .pttads-corner-ad{position:static;flex:none;white-space:nowrap;padding:2px 5px}
.pttads-sticky-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#53615a;font-size:10px;font-weight:700;letter-spacing:.3px;padding-right:25px}
.pttads-sticky[data-mode=asin] .pttads-slide{line-height:1.3}
.pttads-sticky-products{display:grid;grid-template-columns:repeat(var(--pttads-sticky-columns,3),minmax(0,1fr));gap:9px;padding:5px 12px 9px;min-width:0}
.pttads-sticky-products .pttads-product{display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:5px 6px;min-width:0;border:1px solid #e9e5da;border-radius:7px;background:#fff;text-decoration:none!important}
.pttads-sticky-products .pttads-media{position:relative;width:100%;height:72px;flex:none;padding:2px;border-radius:5px;background:#fdfbf7}
.pttads-sticky-products .pttads-info{width:100%;min-width:0}
.pttads-sticky-products .pttads-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:26px;max-height:29px;font-size:10px;font-weight:600;line-height:1.4;text-align:center}
.pttads-sticky-products .pttads-badges{top:3px;left:3px;right:3px;gap:2px}
.pttads-sticky-products .pttads-hot,.pttads-sticky-products .pttads-deal{padding:2px 4px;font-size:8px}
:host([data-theme=amazon]) .pttads-sticky[data-mode=asin] .pttads-sticky-titlebar{background:#fff4d6}
:host([data-theme=amazon]) .pttads-sticky-products .pttads-product{border-color:#f0d9a0}
:host([data-theme=neutral]) .pttads-sticky[data-mode=asin] .pttads-sticky-titlebar{background:#f1f4f8}
:host([data-theme=neutral]) .pttads-sticky-products .pttads-product{border-color:#d9dee6}
:host([data-theme=forest]) .pttads-sticky[data-mode=asin] .pttads-sticky-titlebar{background:#eef6e9}
:host([data-theme=forest]) .pttads-sticky-products .pttads-product{border-color:#d9e7c8}
@media(max-width:767px){.pttads-sticky-products{gap:5px;padding:4px 7px 6px}.pttads-sticky-products .pttads-product{padding:4px}.pttads-sticky-products .pttads-media{height:64px}.pttads-sticky-products .pttads-title{font-size:10px;min-height:27px}.pttads-sticky[data-mode=asin] .pttads-sticky-titlebar{padding:5px 8px 3px}.pttads-sticky-title{font-size:9px}}
:host([data-theme="neutral"]) .pttads-corner-ad{background:#344252;color:#fff;border-color:#fff}
:host([data-theme="forest"]) .pttads-corner-ad{background:#176b57;color:#fff;border-color:#dceac9}

/* Product artwork always leads; the title is below it across every surface.
   HOT / discount are separate image badges, never the surrounding AD label. */
.pttads-product{flex-direction:column;align-items:stretch;gap:8px}
.pttads-product .pttads-media{position:relative;width:100%;height:var(--pttads-image-height,145px);padding:7px;box-sizing:border-box}
.pttads-product .pttads-info{width:100%;min-width:0}
.pttads-product .pttads-badges{position:absolute;z-index:2;top:6px;left:6px;right:6px;display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px;margin:0;pointer-events:none}
.pttads-product .pttads-hot,.pttads-product .pttads-deal{display:inline-block;margin:0;font-size:9px;font-weight:800;padding:3px 6px;line-height:1.35;box-shadow:0 1px 3px #0002}
.pttads-popup-card .pttads-media{width:100%;height:min(32vh,220px)}
.pttads-popup-card .pttads-title{font-size:13px;line-height:1.5}
@media(max-width:767px){.pttads-product .pttads-media{height:var(--pttads-image-height,135px)}.pttads-popup-card .pttads-media{width:100%;height:min(31vh,190px)}}

/* Compact sticky: only the artwork/title (ASIN) or image (banner), AD and X.
   max-height applies to the whole unit. Art always keeps its own aspect ratio. */
.pttads-sticky{padding:0!important;border:1px solid #d5d9d9!important;border-radius:9px!important;background:#fff!important;box-shadow:0 4px 22px #17202a26!important;max-height:var(--pttads-sticky-max-height,132px);overflow:hidden!important}
.pttads-sticky .pttads-slides{border-radius:8px;min-height:0;background:#fff!important}
.pttads-sticky .pttads-slide img{width:100%;height:auto;max-height:calc(var(--pttads-sticky-max-height,132px) - 2px);object-fit:contain;background:#fff}
.pttads-sticky>.pttads-close{top:3px!important;right:4px!important;width:19px!important;height:19px!important;font-size:15px!important;border-radius:5px!important;border:0!important;background:#232f3e!important;color:#fff!important;box-shadow:0 1px 3px #0002}
.pttads-sticky>.pttads-close:hover{background:#111820!important}
.pttads-sticky .pttads-corner-ad{top:4px;left:6px;padding:1px 4px;font-size:8px;border:0;border-radius:3px;background:#232f3e;color:#ffca35;box-shadow:0 1px 3px #0002}
.pttads-sticky[data-mode=asin] .pttads-sticky-titlebar{display:flex;align-items:center;min-height:19px;height:19px;padding:2px 7px;background:#fff!important;border-bottom:1px solid #e9edf0;border-radius:8px 8px 0 0}
.pttads-sticky[data-mode=asin] .pttads-corner-ad{position:static;padding:1px 4px;font-size:8px;box-shadow:none}
.pttads-sticky-products{gap:7px;padding:4px 7px 5px}
.pttads-sticky-products .pttads-product{gap:3px;padding:2px 3px;border:0!important;border-radius:5px;background:transparent!important;min-width:0}
.pttads-sticky-products .pttads-media{width:100%;height:clamp(30px,calc(var(--pttads-sticky-max-height,132px) - 66px),86px);padding:0;border-radius:4px;background:#fff!important}
.pttads-sticky-products .pttads-media img{object-fit:contain;width:100%;height:100%}
.pttads-sticky-products .pttads-info{min-width:0}
.pttads-sticky-products .pttads-title{font-size:10px;line-height:1.3;font-weight:600;min-height:0;max-height:none;color:#20262d;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:center}
.pttads-sticky-products .pttads-badges{display:flex;flex-direction:column;align-items:flex-end;top:3px;left:auto;right:3px;width:max-content;max-width:calc(100% - 6px);gap:2px}
@media(max-width:767px){.pttads-sticky-products{gap:5px;padding:4px 6px 4px}.pttads-sticky-products .pttads-product{padding:1px 2px}.pttads-sticky-products .pttads-title{font-size:10px;line-height:1.25;min-height:0}.pttads-sticky-products .pttads-media{height:clamp(30px,calc(var(--pttads-sticky-max-height,106px) - 66px),76px)}}

/* Refined Amazon yellow / black: use yellow as an accent, not a large wash. */
:host([data-theme="amazon"]){--pttads-accent:#d38a00;color:#0f1111}
:host([data-theme="amazon"]) .pttads-ad:not(.pttads-sticky){background:#fff;color:#0f1111;border:1px solid #d5d9d9;border-top:2px solid #ff9900;box-shadow:0 3px 13px #202a3212;border-radius:9px;padding:12px}
:host([data-theme="amazon"]) .pttads-heading{color:#232f3e;letter-spacing:.15px;font-size:11px}
:host([data-theme="amazon"]) .pttads-ad-label{background:#232f3e;color:#ffd35c;border-color:#232f3e}
:host([data-theme="amazon"]) .pttads-media{background:#fff}
:host([data-theme="amazon"]) .pttads-vertical{background:#fff;border-color:#e5e8eb}
:host([data-theme="amazon"]) .pttads-product{border-top-color:#ebedef}
:host([data-theme="amazon"]) .pttads-product:hover .pttads-title{color:#c45500}
:host([data-theme="amazon"]) .pttads-widebar{background:#f7f8fa}
:host([data-theme="amazon"]) .pttads-disclosure{color:#6b7280;border-top-color:#eceff1}
:host([data-theme="amazon"]) .pttads-hot{background:#ffb84d;color:#232f3e}
:host([data-theme="amazon"]) .pttads-deal{background:#b12704;color:#fff}
:host([data-theme="amazon"]) .pttads-close{background:#232f3e;color:#fff}

/* Product cards are unboxed artwork + a two-line caption. The caption follows
   the actual, non-stretched image width measured after image load. */
.pttads-product{align-items:center;gap:5px}
.pttads-product .pttads-media,
.pttads-sticky-products .pttads-media,
.pttads-popup-card .pttads-media,
.pttads-vertical .pttads-media{display:block;align-self:center;width:min(100%,var(--pttads-art-width,100%));height:auto;min-height:0;max-height:none;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;overflow:visible;flex:none}
.pttads-product .pttads-media img,
.pttads-sticky-products .pttads-media img{display:block;width:auto;height:auto;max-width:100%;max-height:var(--pttads-image-height,145px);object-fit:contain;background:transparent!important;border:0;border-radius:0;box-shadow:none}
.pttads-product .pttads-info,
.pttads-sticky-products .pttads-info{display:block;align-self:center;min-width:0;width:min(100%,var(--pttads-art-width,100%));max-width:100%}
.pttads-product .pttads-title,
.pttads-popup-card .pttads-title,
.pttads-sticky-products .pttads-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;min-height:0;max-height:none}
.pttads-vertical{border:0;background:transparent;padding:0;gap:5px}
.pttads-sticky-products .pttads-product{border:0!important;box-shadow:none!important;background:transparent!important;padding:0 2px}
.pttads-sticky-products .pttads-media img{max-height:clamp(30px,calc(var(--pttads-sticky-max-height,132px) - 66px),86px)}
@media(max-width:767px){
  .pttads-product .pttads-media img{max-height:var(--pttads-image-height,135px)}
  .pttads-sticky-products .pttads-media img{max-height:clamp(30px,calc(var(--pttads-sticky-max-height,106px) - 66px),76px)}
}

/* Popup artwork remains optically centered for tall and wide source images.
   The caption below still follows the measured artwork width. */
.pttads-popup .pttads-popup-card{align-items:center;width:100%}
.pttads-popup .pttads-popup-card .pttads-media{margin-left:auto;margin-right:auto}
.pttads-popup .pttads-popup-card .pttads-media img{display:block;margin-left:auto;margin-right:auto;width:auto;height:auto;max-width:100%;max-height:var(--pttads-popup-image-max-height,360px);object-fit:contain}
.pttads-popup .pttads-popup-card .pttads-info{align-self:center}

/* Sticky ASIN slides: even columns, centered intrinsic artwork and a subtle
   separator only (never a white thumbnail box around individual products). */
.pttads-sticky-products{column-gap:0;align-items:stretch}
.pttads-sticky-products .pttads-product{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;padding:3px 8px!important;border:0!important;background:transparent!important;min-width:0}
.pttads-sticky-products .pttads-product+.pttads-product::before{content:"";position:absolute;top:7px;bottom:7px;left:0;width:1px;background:#e8ebef;pointer-events:none}
.pttads-sticky-products .pttads-media{display:flex!important;justify-content:center;align-items:center;align-self:stretch;width:100%!important;height:clamp(30px,calc(var(--pttads-sticky-max-height,132px) - 52px),86px);min-height:0;max-height:none;padding:0!important;margin:0 auto;background:transparent!important;border:0!important}
.pttads-sticky-products .pttads-media img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain;margin:0 auto;background:transparent!important}
.pttads-sticky-products .pttads-info{align-self:center;min-width:0;width:min(100%,var(--pttads-art-width,100%));max-width:100%;text-align:center}
.pttads-sticky[data-mode=asin] .pttads-corner-ad{position:absolute;top:4px;left:6px;z-index:4;padding:1px 4px;font-size:8px;line-height:1.35;background:#232f3e;color:#ffca35;border-radius:3px;pointer-events:none}
@media(max-width:767px){.pttads-sticky-products .pttads-product{padding:2px 5px!important}.pttads-sticky-products .pttads-media{height:clamp(30px,calc(var(--pttads-sticky-max-height,106px) - 52px),76px)}}

/* Keep the banner surface opaque even when photos have transparent pixels,
 * a new ASIN slide is waiting for its image, or a fade is in progress. */
.pttads-sticky .pttads-slide,.pttads-sticky .pttads-sticky-products{background-color:#fff!important}

/* Animate ONLY an independent border layer: never animate the banner's
 * actual background. A solid white inner layer prevents transparency flashes
 * while images/slide nodes change; AD and close remain above the border. */
@property --pttads-amber-angle{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes pttads-amber-ring{to{--pttads-amber-angle:360deg}}
:host([data-theme="amazon"]) .pttads-sticky{
  isolation:isolate;
  border:1px solid #d69a00!important;
  background:#fff!important;
  box-shadow:0 4px 22px #1118202d,0 0 0 1px #f5ad0038!important;
}
:host([data-theme="amazon"]) .pttads-sticky::before,
:host([data-theme="amazon"]) .pttads-sticky::after{
  content:"";position:absolute;pointer-events:none;z-index:0;border-radius:inherit;
}
:host([data-theme="amazon"]) .pttads-sticky::before{
  inset:0;
  background:conic-gradient(from var(--pttads-amber-angle),#151a20 0deg,#ffad00 50deg,#ffdf76 105deg,#131920 165deg,#f59b00 230deg,#fff0ab 285deg,#151a20 360deg);
  animation:pttads-amber-ring 6s linear infinite;
}
:host([data-theme="amazon"]) .pttads-sticky::after{inset:2px;background:#fff}
:host([data-theme="amazon"]) .pttads-sticky>.pttads-slides{position:relative;z-index:1;background:#fff!important}
@media(prefers-reduced-motion:reduce){:host([data-theme="amazon"]) .pttads-sticky::before{animation:none}}
.pttads-product .pttads-deal{font-size:11px;font-weight:800;padding:4px 8px;line-height:1.3}
@media(max-width:767px){.pttads-product .pttads-deal{font-size:10px;padding:3px 7px}}

/* Discounts sit on each sticky ASIN image, on the opposite corner to AD.
   Never add a label strip or increase the compact banner height. */
.pttads-sticky-products .pttads-product .pttads-hot,
.pttads-sticky-products .pttads-product .pttads-deal{font-size:9px;padding:2px 4px;line-height:1.2;white-space:nowrap}
.pttads-sticky .pttads-banner-deal{position:absolute;top:4px;left:43px;z-index:3;display:inline-block;padding:3px 6px;background:#b12704;color:#fff;font-size:10px;font-weight:800;line-height:1.2;border-radius:3px;box-shadow:0 1px 3px #0002;pointer-events:none}
@media(max-width:767px){.pttads-sticky-products .pttads-product .pttads-hot,.pttads-sticky-products .pttads-product .pttads-deal{font-size:8px;padding:2px 3px}}

/* Floating sidebar: quiet editorial rail, not a heavy Amazon card.
   Keep AD identification, but remove the title strip and bulky framing. */
.pttads-ad.pttads-sidebar{
  background:rgba(255,255,255,.9)!important;
  border:1px solid rgba(55,67,78,.12)!important;
  border-top:1px solid rgba(55,67,78,.12)!important;
  border-radius:12px!important;
  box-shadow:0 4px 18px rgba(30,42,53,.06)!important;
  padding:9px 12px 6px!important;
}
.pttads-sidebar .pttads-sidebar-head{min-height:18px;margin:0;padding:0 0 6px;gap:5px;letter-spacing:0}
.pttads-sidebar .pttads-sidebar-head .pttads-ad-label{font-size:8px;padding:1px 4px;line-height:1.2}
.pttads-sidebar .pttads-sidebar-list .pttads-product{border-top:1px solid rgba(55,67,78,.09);padding:11px 0 9px;gap:5px}
.pttads-sidebar .pttads-sidebar-list .pttads-product:first-child{border-top:0;padding-top:5px}
.pttads-sidebar .pttads-sidebar-list .pttads-product:last-child{padding-bottom:4px}
.pttads-sidebar .pttads-title{font-size:11px;font-weight:500;line-height:1.4;-webkit-line-clamp:2;line-clamp:2;color:#303947;text-align:left}
.pttads-sidebar .pttads-info{width:min(100%,var(--pttads-art-width,100%));margin:auto}

/* Compact ad layouts. Existing published configs are also capped by the
   frontend runtime, so an old 260px sidebar/large sticky cannot escape. */
.pttads-widebar{--pttads-image-height:96px;margin:16px 0!important;padding:11px 13px!important}
.pttads-widebar .pttads-heading{padding-bottom:5px!important;margin-bottom:0!important}
.pttads-widebar .pttads-grid{gap:9px}
.pttads-widebar .pttads-vertical{gap:3px}
.pttads-widebar .pttads-product .pttads-media img{max-height:96px}
@media(max-width:767px){
  .pttads-widebar{--pttads-image-height:76px;margin:13px 0!important;padding:9px!important}
  .pttads-widebar .pttads-grid{gap:7px}
  .pttads-widebar .pttads-product .pttads-media img{max-height:76px}
}

/* The automatic popup is a compact, non-modal product recommendation.
   No backdrop, page inertness, center-screen overlay or focus trap. */
.pttads-popup-compact{padding:10px!important;overflow:hidden!important}
.pttads-popup-compact .pttads-heading{margin:0!important;padding:0 25px 8px 0!important;max-height:30px;overflow:hidden}
.pttads-popup-compact .pttads-heading>span:not(.pttads-ad-label){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pttads-popup-compact .pttads-popup-card{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;padding:0!important;border:0!important;width:100%!important}
.pttads-popup-compact .pttads-popup-card .pttads-media{display:flex!important;flex:0 0 90px!important;align-items:center!important;justify-content:center!important;align-self:center!important;width:90px!important;height:90px!important;overflow:hidden!important}
.pttads-popup-compact .pttads-popup-card .pttads-media img{display:block!important;width:auto!important;height:auto!important;max-width:90px!important;max-height:90px!important;object-fit:contain!important}
.pttads-popup-compact .pttads-popup-card .pttads-info{flex:1!important;min-width:0!important;width:auto!important;align-self:center!important;text-align:left!important}
.pttads-popup-compact .pttads-popup-card .pttads-title{font-size:13px!important;line-height:1.35!important;-webkit-line-clamp:3;line-clamp:3;text-align:left!important}
.pttads-popup-compact .pttads-popup-text-only{width:100%!important;min-height:65px!important;justify-content:center!important}
.pttads-popup-compact .pttads-popup-text-only .pttads-info{width:100%!important;max-width:none!important;flex:1 1 auto!important;text-align:left!important}
.pttads-popup-compact .pttads-popup-text-only .pttads-cta{display:block;font-size:10px;margin-top:7px}
.pttads-popup-compact>.pttads-close{top:5px;right:5px;width:26px;height:26px}
@media(max-width:767px){
  .pttads-popup-compact{padding:8px!important}
  .pttads-popup-compact .pttads-heading{padding-bottom:5px!important}
  .pttads-popup-compact .pttads-popup-card .pttads-media{flex-basis:70px!important;width:70px!important;height:70px!important}
  .pttads-popup-compact .pttads-popup-card .pttads-media img{max-width:70px!important;max-height:70px!important}
  .pttads-popup-compact .pttads-popup-card .pttads-title{font-size:12px!important}
}

/* Full-width mobile sticky. A single ASIN is a horizontal ad with image and
   copy alongside each other, never a tiny vertical tile in the middle. */
@media(max-width:767px){
  .pttads-sticky[data-mode="asin"][data-layout="single"] .pttads-sticky-products{grid-template-columns:minmax(0,1fr);padding:7px 22px 7px 24px}
  .pttads-sticky[data-mode="asin"][data-layout="single"] .pttads-sticky-products .pttads-product{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%;min-width:0;padding:0!important}
  .pttads-sticky[data-mode="asin"][data-layout="single"] .pttads-sticky-products .pttads-media{display:flex!important;flex:0 0 86px!important;align-self:center!important;align-items:center!important;justify-content:center!important;width:86px!important;height:88px!important;margin:0!important}
  .pttads-sticky[data-mode="asin"][data-layout="single"] .pttads-sticky-products .pttads-media img{max-width:86px!important;max-height:88px!important}
  .pttads-sticky[data-mode="asin"][data-layout="single"] .pttads-sticky-products .pttads-info{flex:1 1 auto!important;align-self:center!important;width:auto!important;max-width:none!important;text-align:left!important}
  .pttads-sticky[data-mode="asin"][data-layout="single"] .pttads-sticky-products .pttads-title{text-align:left!important;font-size:11px;line-height:1.4;-webkit-line-clamp:3;line-clamp:3}
}
