/* AzlinkPRO - Showcase. Scoped to .atps-showcase to avoid theme conflicts. */
.atps-showcase,.atps-showcase *{box-sizing:border-box}
.atps-showcase{--atps-blue:#17659b;--atps-text:#32363d;--atps-gold-top:#f8dfa0;--atps-gold-bottom:#f2c64f;position:relative;margin:34px auto 28px;max-width:1180px;padding:0;background:linear-gradient(150deg,#fff 0%,#fff 66%,#f7f7f8 100%);border:1px solid #e9e9eb;border-radius:10px;box-shadow:0 20px 48px rgba(35,41,57,.13),0 2px 8px rgba(35,41,57,.05);color:var(--atps-text);font-family:inherit;isolation:isolate}
.atps-showcase .atps-heading{padding:clamp(45px,4.5vw,62px) clamp(25px,4vw,55px) 0;max-width:100%;text-align:center}
.atps-showcase .atps-panel{display:grid;grid-template-columns:minmax(210px,.41fr) minmax(0,.59fr);gap:clamp(24px,4vw,52px);align-items:center;padding:24px clamp(28px,4vw,55px) clamp(28px,4vw,55px)}
.atps-showcase .atps-image-side{min-width:0;min-height:240px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 48% 43%,#fff 0,#fff 52%,#f9fafb 100%);border-radius:8px}
.atps-showcase .atps-product-photo-link{display:block;width:100%;max-width:445px;min-width:0;text-align:center}
.atps-showcase .atps-product-photo{display:block;max-width:100%;width:auto;height:auto;max-height:430px;object-fit:contain;margin:0 auto;mix-blend-mode:multiply}
.atps-showcase .atps-image-placeholder{width:100%;min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:2px dashed #e2e5e9;background:#fbfbfc;border-radius:12px;color:#77808c;font-size:19px;font-weight:600;text-align:center}
.atps-showcase .atps-image-placeholder small{font-size:12px;color:#979eaa;font-weight:400}
.atps-showcase .atps-product-content{min-width:0}
.atps-showcase .atps-title{font-family:inherit;font-size:clamp(23px,2.45vw,33px);line-height:1.25;letter-spacing:-.5px;color:var(--atps-blue);font-weight:750;margin:0;padding:0;border:0;text-align:center;overflow-wrap:break-word;text-wrap:balance}
.atps-showcase .atps-features{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:12px}
.atps-showcase .atps-features li{position:relative;list-style:none;margin:0;padding:0 0 0 31px;color:#424852;font-size:clamp(15px,1.55vw,18px);line-height:1.53;overflow-wrap:anywhere}
.atps-showcase .atps-features li::before{content:"✓";position:absolute;left:0;top:-1px;color:#76c827;font-size:22px;font-weight:850;line-height:1.25}
.atps-showcase .atps-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:14px 22px}
.atps-showcase .atps-check-price,.atps-showcase .atps-check-price:visited{display:inline-flex;justify-content:center;align-items:center;min-height:54px;min-width:190px;padding:13px 27px;text-decoration:none!important;background:linear-gradient(to bottom,var(--atps-gold-top),var(--atps-gold-bottom))!important;border:1px solid #987b32!important;border-bottom:2px solid #947126!important;border-radius:4px!important;box-shadow:0 2px 3px rgba(72,53,20,.13);font-family:inherit;font-size:19px;font-weight:500;color:#171717!important;line-height:1.2;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.atps-showcase .atps-check-price:hover,.atps-showcase .atps-check-price:focus-visible{filter:brightness(1.04);transform:translateY(-2px);box-shadow:0 5px 15px rgba(108,82,30,.17);text-decoration:none!important}
.atps-showcase .atps-review-link{font-size:15px;color:#17659b;text-decoration:underline;text-underline-offset:3px}
.atps-showcase .atps-ribbon{position:absolute;z-index:3;top:-13px;left:-12px;background:#19b447;color:#fff;font-size:16px;line-height:1.3;font-weight:700;padding:10px 21px;border-radius:2px 2px 2px 0;box-shadow:0 2px 5px rgba(27,51,39,.2);max-width:calc(100% - 28px);overflow-wrap:anywhere}
.atps-showcase .atps-ribbon::before{content:"";position:absolute;left:0;bottom:-12px;border-width:0 12px 12px 0;border-style:solid;border-color:transparent #105c29 transparent transparent}
.atps-showcase .atps-disclosure{color:#777f87;font-size:12px;text-align:right;border-top:1px solid #eeeff0;padding:10px 25px 11px;margin:0;line-height:1.4;background:rgba(245,246,247,.66);border-radius:0 0 10px 10px}
/* Right: the PHP output also puts details before the image, so it stays on the
   correct side even if a cached/default layout stylesheet is shown. */
.atps-showcase.atps-layout-right .atps-panel{grid-template-columns:minmax(0,.59fr) minmax(210px,.41fr)}
.atps-showcase.atps-layout-right .atps-product-content{grid-column:1;grid-row:1;min-width:0}
.atps-showcase.atps-layout-right .atps-image-side{grid-column:2;grid-row:1;min-width:0}
.atps-showcase.atps-layout-centered .atps-panel{display:flex;flex-direction:column;gap:27px;align-items:stretch;padding:24px clamp(27px,4.5vw,60px) clamp(27px,4.5vw,60px)}
.atps-showcase.atps-layout-centered .atps-image-side{width:100%;min-height:270px}
.atps-showcase.atps-layout-centered .atps-product-photo-link{max-width:540px}
.atps-showcase.atps-layout-centered .atps-product-photo{max-height:400px}
.atps-showcase.atps-layout-centered .atps-title{text-align:center}
.atps-showcase.atps-layout-centered .atps-features{max-width:940px;margin:0 auto 32px}
.atps-showcase.atps-layout-centered .atps-actions{justify-content:center}
@media(max-width:750px){
 .atps-showcase{margin:26px auto 20px;border-radius:9px;box-shadow:0 10px 28px rgba(35,41,57,.11)}
 .atps-showcase .atps-heading{padding:44px 20px 0}
 .atps-showcase .atps-panel{display:flex;flex-direction:column;align-items:stretch;gap:21px;padding:21px 23px 28px}
 .atps-showcase .atps-image-side{width:100%;min-height:200px}
 .atps-showcase .atps-product-photo-link{max-width:390px}
 .atps-showcase .atps-product-photo{max-height:300px}
 .atps-showcase .atps-title{font-size:clamp(22px,5vw,30px);line-height:1.25;text-align:center;margin:0}
 .atps-showcase .atps-features{gap:11px;margin-bottom:25px}
 .atps-showcase .atps-features li{font-size:16px;padding-left:27px}
 .atps-showcase .atps-actions{flex-direction:column;align-items:stretch}
 .atps-showcase .atps-check-price{width:100%;min-width:0}
 .atps-showcase .atps-review-link{text-align:center}
 .atps-showcase .atps-ribbon{font-size:14px;left:-8px;top:-11px;padding:9px 15px}
 .atps-showcase .atps-disclosure{text-align:center;padding:12px 15px}
 /* Mobile: the image appears above the feature list for readability. */
 .atps-showcase.atps-layout-right .atps-image-side{grid-column:auto;grid-row:auto;order:0}
 .atps-showcase.atps-layout-right .atps-product-content{grid-column:auto;grid-row:auto;order:1}
 .atps-showcase.atps-layout-centered .atps-panel{padding:21px 23px 28px;gap:20px}
}
@media(prefers-reduced-motion:reduce){.atps-showcase .atps-check-price{transition:none}.atps-showcase .atps-check-price:hover{transform:none}}


/* v1.3.7 — additional Showcase designs. No price/rating/star/discount data. */
.atps-showcase .atps-title,.atps-showcase .atps-review-link{color:var(--atps-blue)}
.atps-showcase .atps-review-link:visited{color:var(--atps-blue)}
.atps-showcase:is(.atps-layout-classic,.atps-layout-vertical,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-heading{padding:0;text-align:left}
.atps-showcase:is(.atps-layout-classic,.atps-layout-vertical,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-title{text-align:left;text-wrap:pretty}
.atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-panel{grid-template-columns:minmax(130px,240px) minmax(0,1fr) minmax(145px,205px);align-items:center;gap:clamp(17px,2.4vw,35px);padding:clamp(25px,3vw,40px)}
.atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-image-side{min-height:155px}
.atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-product-photo{max-height:220px}
.atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-features{margin:15px 0 0;gap:7px}
.atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-features li{font-size:14px;line-height:1.55;padding-left:24px}
.atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-features li::before{font-size:17px}
.atps-showcase .atps-buy-column .atps-actions{flex-direction:column;align-items:stretch;gap:12px}
.atps-showcase .atps-buy-column .atps-check-price{width:100%;min-width:0;font-size:16px}
.atps-showcase .atps-buy-column .atps-review-link{text-align:center}
/* The classic box is a true three-column product card, unlike the legacy heading-above layout. */
.atps-showcase.atps-layout-classic{background:#fff;border:1px solid #e2e7ed;box-shadow:0 9px 24px #22374c14}
.atps-showcase.atps-layout-classic .atps-title{font-size:clamp(19px,2vw,25px)}
.atps-showcase.atps-layout-classic .atps-panel{grid-template-columns:minmax(135px,220px) minmax(0,1fr) minmax(155px,205px)}
.atps-showcase.atps-layout-classic .atps-image-side{background:#fff}
/* Vertical: one centered card for a sidebar, narrower column, or stack. */
.atps-showcase.atps-layout-vertical{max-width:425px;box-shadow:0 10px 28px #22374c17;background:#fff}
.atps-showcase.atps-layout-vertical .atps-panel{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:28px}
.atps-showcase.atps-layout-vertical .atps-image-side{min-height:180px;width:100%;background:#fff}
.atps-showcase.atps-layout-vertical .atps-product-photo{max-height:230px}
.atps-showcase.atps-layout-vertical .atps-title{font-size:22px}
.atps-showcase.atps-layout-vertical .atps-features{margin:16px 0 21px;gap:8px}
.atps-showcase.atps-layout-vertical .atps-features li{font-size:14px;line-height:1.5;padding-left:24px}
.atps-showcase.atps-layout-vertical .atps-features li::before{font-size:17px}
.atps-showcase.atps-layout-vertical .atps-actions{flex-direction:column;align-items:stretch}
.atps-showcase.atps-layout-vertical .atps-check-price{min-width:0;width:100%}
.atps-showcase.atps-layout-vertical .atps-review-link{text-align:center}
/* Compact is intentionally only a short summary line and a button. */
.atps-showcase.atps-layout-compact{max-width:1100px;box-shadow:none;background:#fff;border-color:#dce5ee}
.atps-showcase.atps-layout-compact .atps-panel{grid-template-columns:100px minmax(0,1fr) minmax(140px,175px);padding:16px 21px;gap:20px}
.atps-showcase.atps-layout-compact .atps-image-side{min-height:92px;background:#fff}
.atps-showcase.atps-layout-compact .atps-product-photo{max-height:95px}
.atps-showcase.atps-layout-compact .atps-title{font-size:clamp(17px,1.8vw,21px)}
.atps-showcase.atps-layout-compact .atps-features{margin:7px 0 0}
.atps-showcase.atps-layout-compact .atps-features li{font-size:13px}
.atps-showcase.atps-layout-compact .atps-check-price{min-height:44px;padding:9px 12px;font-size:15px}
.atps-showcase.atps-layout-compact .atps-disclosure{font-size:11px;padding:7px 14px}
/* Featured card: editorial banner without star or unverified offer claims. */
.atps-showcase.atps-layout-featured{border:2px solid var(--atps-blue);background:linear-gradient(118deg,#edf5fb,#fff 32%,#fff 100%);box-shadow:0 18px 40px #20395024}
.atps-showcase.atps-layout-featured .atps-panel{padding-top:48px;padding-bottom:45px}
.atps-showcase.atps-layout-featured .atps-title{font-size:clamp(23px,2.5vw,30px)}
.atps-showcase.atps-layout-featured .atps-ribbon{background:var(--atps-blue);border-radius:6px 6px 4px 0}
.atps-showcase.atps-layout-featured .atps-ribbon::before{border:none}
/* Minimal editorial: typographic hierarchy, thin border, almost no decoration. */
.atps-showcase.atps-layout-minimal{box-shadow:none!important;background:#fff;border:1px solid #dce3ea;border-radius:5px}
.atps-showcase.atps-layout-minimal .atps-panel{grid-template-columns:minmax(110px,170px) minmax(0,1fr) minmax(130px,175px);padding:22px;gap:21px}
.atps-showcase.atps-layout-minimal .atps-image-side{min-height:110px;background:#fff}
.atps-showcase.atps-layout-minimal .atps-product-photo{max-height:170px}
.atps-showcase.atps-layout-minimal .atps-title{font-size:clamp(18px,1.9vw,23px)}
.atps-showcase.atps-layout-minimal .atps-features li::before{content:'–';color:var(--atps-blue)}
.atps-showcase.atps-layout-minimal .atps-ribbon{background:var(--atps-blue);font-size:12px;left:12px;top:-13px;border-radius:4px;padding:7px 12px}
.atps-showcase.atps-layout-minimal .atps-ribbon::before{border:none}
.atps-showcase.atps-layout-minimal .atps-disclosure{background:#fff}
/* Grid reuses saved Showcase IDs and live product data, 2–4 desktop columns. */
.atps-showcase.atps-layout-grid{max-width:1240px;border:0;box-shadow:none;background:transparent}
.atps-showcase.atps-layout-grid .atps-grid{display:grid;grid-template-columns:repeat(var(--atps-cols,3),minmax(0,1fr));gap:19px;align-items:stretch}
.atps-showcase.atps-layout-grid .atps-grid-card{position:relative;display:flex;flex-direction:column;gap:12px;min-width:0;background:#fff;border:1px solid #dbe4ec;border-radius:12px;padding:22px 19px;box-shadow:0 8px 19px #233e5912}
.atps-showcase.atps-layout-grid .atps-grid-ribbon{position:absolute;top:-12px;left:12px;z-index:1;border-radius:5px;background:var(--atps-blue);color:#fff;font-size:12px;font-weight:800;padding:6px 11px;max-width:calc(100% - 24px)}
.atps-showcase.atps-layout-grid .atps-image-side{min-height:140px;background:#fff}
.atps-showcase.atps-layout-grid .atps-product-photo{max-height:170px}
.atps-showcase.atps-layout-grid .atps-image-placeholder{min-height:140px;font-size:14px}
.atps-showcase.atps-layout-grid .atps-grid-title{font-family:inherit;font-size:19px;font-weight:800;line-height:1.35;margin:0;color:var(--atps-blue);overflow-wrap:anywhere}
.atps-showcase.atps-layout-grid .atps-features{margin:0;gap:7px;flex:1}
.atps-showcase.atps-layout-grid .atps-features li{font-size:13px;line-height:1.5;padding-left:21px}
.atps-showcase.atps-layout-grid .atps-features li::before{font-size:16px}
.atps-showcase.atps-layout-grid .atps-actions{align-items:stretch;flex-direction:column;gap:10px;margin-top:auto}
.atps-showcase.atps-layout-grid .atps-check-price{width:100%;min-width:0;padding:10px 14px;min-height:46px;font-size:16px}
.atps-showcase.atps-layout-grid .atps-review-link{text-align:center;font-size:13px}
.atps-showcase.atps-layout-grid .atps-disclosure{text-align:center;margin-top:15px;background:transparent}
@media(max-width:1080px){
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-panel{grid-template-columns:minmax(105px,.30fr) minmax(0,.70fr);gap:20px}
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-buy-column{grid-column:2;grid-row:2}
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-buy-column .atps-actions{flex-direction:row;align-items:center}
 .atps-showcase.atps-layout-grid .atps-grid{grid-template-columns:repeat(min(var(--atps-cols,3),3),minmax(0,1fr))}
}
@media(max-width:750px){
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-panel{display:flex;flex-direction:column;align-items:stretch;padding:22px 18px;gap:14px}
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-image-side{min-height:130px;order:0}
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-product-content{order:1}
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-buy-column{order:2;width:100%}
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-buy-column .atps-actions{flex-direction:column;align-items:stretch}
 .atps-showcase:is(.atps-layout-classic,.atps-layout-compact,.atps-layout-featured,.atps-layout-minimal) .atps-buy-column .atps-check-price{width:100%;min-width:0}
 .atps-showcase.atps-layout-grid .atps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .atps-showcase.atps-layout-grid .atps-grid-card{padding:20px 14px}
 .atps-showcase.atps-layout-vertical{max-width:100%}
}
@media(max-width:530px){
 .atps-showcase.atps-layout-grid .atps-grid{grid-template-columns:1fr}
 .atps-showcase.atps-layout-compact .atps-image-side{min-height:100px}
 .atps-showcase.atps-layout-grid .atps-grid-card{padding:20px 19px}
}
