/* PRIME Commerce — deliberately scoped to the real front page. No third-party ads or scripts. */
.ast-commerce-home{--prime-bg:#101113;--prime-panel:#191b20;--prime-gold:#e6c18a;--prime-muted:#b8bbc3;--prime-line:#ffffff1a;background:var(--prime-bg)}
.ast-commerce-home [hidden]{display:none!important}
.ast-commerce-home .prime-hero{min-height:440px;margin-top:24px;border-radius:20px}
.ast-commerce-home .prime-hero-copy{width:53%;padding:44px 0 44px 44px}
.ast-commerce-home .prime-hero h1{font-size:clamp(43px,4.7vw,68px);line-height:1.04;letter-spacing:-.055em;font-weight:650}
.ast-commerce-home .prime-hero-art{left:40%}.ast-commerce-home .prime-hero-art img{object-position:62% 83%}
.ast-commerce-home .prime-hero p{font-size:17px;max-width:510px}
.ast-commerce-home .prime-discovery{margin-bottom:20px}
.ast-commerce-home .commerce-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 22px;min-width:0}
.ast-commerce-home .commerce-heading h2{font-size:clamp(28px,2.9vw,40px);font-weight:620;letter-spacing:-.04em;line-height:1.15;margin:0 0 9px}
.ast-commerce-home .commerce-heading p{font-size:16px;line-height:1.6;color:var(--prime-muted);max-width:690px;margin:0}
.ast-commerce-home .commerce-heading .shelf-more{flex-shrink:0;min-height:44px;white-space:normal;max-width:100%}
.ast-commerce-home .commerce-start{padding:24px 0 34px;border-bottom:1px solid var(--prime-line);margin-bottom:10px}
.ast-commerce-home .commerce-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ast-commerce-home .commerce-start-card{display:grid;grid-template-columns:minmax(0,35%) minmax(0,1fr);background:var(--prime-panel);border:1px solid var(--prime-line);border-radius:14px;overflow:hidden;min-width:0}
.ast-commerce-home .commerce-start-photo{min-height:180px;position:relative;overflow:hidden}.ast-commerce-home .commerce-start-photo img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center 75%}
.ast-commerce-home .commerce-start-card>div:last-child{padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.ast-commerce-home .commerce-start-card h3,.ast-commerce-home .commerce-tool h3,.ast-commerce-home .commerce-journey h3{font-size:21px;line-height:1.25;color:#f5f3ee;margin:0;font-weight:620;overflow-wrap:anywhere;letter-spacing:-.025em}
.ast-commerce-home .commerce-start-card p,.ast-commerce-home .commerce-journey p{font-size:15px;line-height:1.5;color:var(--prime-muted);margin:0;overflow-wrap:anywhere}
.ast-commerce-home .commerce-link{display:inline-flex;align-items:center;color:var(--prime-gold);text-decoration:none;font-weight:600;min-height:44px;margin-top:auto;font-size:14px}
.ast-commerce-home .commerce-link:hover{text-decoration:underline}
.ast-commerce-home .prime-collections .commerce-shelf>.wrap{width:100%;padding:32px 0 40px;border-bottom:1px solid var(--prime-line);margin:0;display:block}
.ast-commerce-home .commerce-shelf .catalog{margin:0}.ast-commerce-home .commerce-shelf .catalog-head{margin:0 0 7px}
.ast-commerce-home .commerce-shelf .cards{display:grid;grid-auto-flow:row;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-columns:auto;gap:14px;overflow:visible;align-items:stretch}
.ast-commerce-home .commerce-shelf .item{min-width:0;max-width:none;width:auto;display:flex;border-radius:12px;background:var(--prime-panel);border:1px solid var(--prime-line);overflow:hidden;transform:none!important}
.ast-commerce-home .commerce-shelf .item .media{aspect-ratio:1.75;height:auto;min-height:0;border-radius:0}
.ast-commerce-home .commerce-shelf .item .item-body{padding:14px;gap:7px}
.ast-commerce-home .commerce-shelf .item h4{font-size:17px;line-height:1.35;overflow-wrap:anywhere}
.ast-commerce-home :is(#academy,#digital-products,#ebooks) .prime-populated .item.lead{grid-column:1/-1}
.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,48%) minmax(0,1fr);min-height:240px;background:linear-gradient(115deg,#24272e,#191b20)}
.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead .media{aspect-ratio:auto;min-height:240px;height:100%;max-height:300px}
.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead .item-body{padding:26px;justify-content:center;gap:10px}
.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead h4{font-size:clamp(24px,2.6vw,36px);line-height:1.16;letter-spacing:-.04em}
.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead p{font-size:16px;max-width:560px}
.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead .item-foot{margin-top:12px;justify-content:flex-start;gap:16px}
.ast-commerce-home #ebooks .item .media.book{background:#24232a;aspect-ratio:1.04;min-height:172px;padding:12px}
.ast-commerce-home #ebooks .item.lead .media.book{aspect-ratio:auto;min-height:245px;background:radial-gradient(ellipse,#3b3330,#202127)}
.ast-commerce-home #ebooks .item.lead .media.book img{height:100%;max-height:260px;object-fit:contain}
.ast-commerce-home #journal .cards{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:10px 24px}
.ast-commerce-home #journal .item{display:grid;grid-template-columns:126px minmax(0,1fr);border:0;border-bottom:1px solid var(--prime-line);background:transparent;border-radius:0;padding:0 0 10px;align-items:start}
.ast-commerce-home #journal .item .media{aspect-ratio:1.4;border-radius:8px}.ast-commerce-home #journal .item .item-body{padding:0 0 0 2px;gap:3px}.ast-commerce-home #journal .item .item-foot{padding:0}.ast-commerce-home #journal .item p{display:none}
.ast-commerce-home #journal .item.lead{grid-column:1;grid-row:1/span 5;display:flex;padding:0;background:#191b20;border-radius:14px;border:1px solid var(--prime-line);align-self:start}
.ast-commerce-home #journal .item.lead .media{aspect-ratio:1.65;border-radius:0}.ast-commerce-home #journal .item.lead .item-body{padding:22px;gap:9px}.ast-commerce-home #journal .item.lead h4{font-size:clamp(24px,2.5vw,34px);line-height:1.2}.ast-commerce-home #journal .item.lead p{display:block;font-size:16px}
.ast-commerce-home #journal .item:not(.lead){grid-column:2}
.ast-commerce-home .commerce-shelf.prime-sparse .cards:not(:has(.empty)){display:grid;grid-template-columns:minmax(0,560px)}
.ast-commerce-home .commerce-shelf.prime-sparse .item{display:grid;grid-template-columns:minmax(100px,36%) minmax(0,1fr);max-width:560px;grid-row:auto;grid-column:auto}
.ast-commerce-home .commerce-shelf.prime-sparse .item .media{height:100%;aspect-ratio:auto;min-height:135px}
.ast-commerce-home #journal.prime-sparse .item.lead{grid-row:auto;grid-column:auto;display:grid;grid-template-columns:minmax(100px,36%) minmax(0,1fr)}
.ast-commerce-home #journal.prime-sparse .item.lead h4{font-size:20px}
.ast-commerce-home .commerce-shelf .cards:has(.empty){display:block}.ast-commerce-home .commerce-shelf .empty{padding:18px;border:1px solid var(--prime-line);border-radius:10px;background:#191b20}
.ast-commerce-home .commerce-campaign,.ast-commerce-home .commerce-workspace{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--prime-line);border-radius:16px;overflow:hidden;background:#1a1b20;margin-bottom:20px;min-height:240px}
.ast-commerce-home .commerce-campaign>div:first-child,.ast-commerce-home .commerce-workspace-image{position:relative;min-height:220px;overflow:hidden}.ast-commerce-home .commerce-campaign img,.ast-commerce-home .commerce-workspace-image img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.ast-commerce-home .commerce-campaign>div:last-child,.ast-commerce-home .commerce-tool{padding:28px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px}
.ast-commerce-home .commerce-campaign h3{font-size:clamp(25px,3vw,39px);line-height:1.15;margin:0;color:#f5f3ee;font-weight:620}.ast-commerce-home .commerce-campaign p,.ast-commerce-home .commerce-local{font-size:15px;color:var(--prime-muted);margin:0}
.ast-commerce-home .commerce-tool form{width:100%;margin:0}.ast-commerce-home .signature-calc-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ast-commerce-home .signature-calc-fields label{font-size:14px;display:grid;gap:6px;min-width:0}.ast-commerce-home .signature-calc-fields input,.ast-commerce-home .commerce-topic-select select{background:#111216;color:#f5f3ee;border:1px solid #ffffff30;border-radius:8px;min-height:44px;min-width:0;width:100%;padding:8px 10px;font-size:16px}.ast-commerce-home .signature-calc-fields button{grid-column:1/-1;justify-self:start}.ast-commerce-home .signature-calc-result{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;border-top:1px solid var(--prime-line);padding:10px 0}.ast-commerce-home .signature-calc-result output{font-size:24px;color:var(--prime-gold);font-weight:650;overflow-wrap:anywhere}.ast-commerce-home .commerce-tabs{display:flex;gap:8px;flex-wrap:wrap}.ast-commerce-home .commerce-tabs button{min-height:44px;background:transparent;color:var(--prime-muted);border:1px solid var(--prime-line);border-radius:8px;padding:7px 12px}.ast-commerce-home .commerce-tabs button[aria-pressed=true]{color:#171411;background:var(--prime-gold)}
.ast-commerce-home #resources .cards{grid-template-columns:repeat(5,minmax(0,1fr))}.ast-commerce-home #resources .item .media{height:62px;min-height:62px;aspect-ratio:auto}
.ast-commerce-home .commerce-journey{background:#1b1d22;border:1px solid var(--prime-line);border-radius:14px;padding:22px;margin-top:26px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,220px);gap:14px}.ast-commerce-home .commerce-topic-select{font-size:14px;align-self:start;display:grid;gap:6px}.ast-commerce-home .commerce-topic-items{grid-column:1/-1}.ast-commerce-home .commerce-topic-items h4{margin:0 0 8px;font-size:15px;color:var(--prime-muted)}.ast-commerce-home .commerce-topic-items>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}.ast-commerce-home .commerce-topic-items a{display:flex;flex-direction:column;gap:6px;min-width:0;border:1px solid var(--prime-line);border-radius:9px;padding:14px;color:#f5f3ee;text-decoration:none;overflow-wrap:anywhere}.ast-commerce-home .commerce-topic-items a span,.ast-commerce-home .commerce-topic-items a small{font-size:14px;color:var(--prime-gold)}.ast-commerce-home .commerce-topic-items a:hover{border-color:var(--prime-gold)}
@media(max-width:1100px){.ast-commerce-home .commerce-start-card{grid-template-columns:1fr}.ast-commerce-home .commerce-start-photo{min-height:130px}.ast-commerce-home .commerce-shelf .cards,.ast-commerce-home #resources .cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ast-commerce-home #journal .cards{grid-template-columns:1fr 1fr}.ast-commerce-home .prime-hero-copy{width:58%;padding-left:30px}}
@media(max-width:760px){.ast-commerce-home .commerce-heading{align-items:flex-start;flex-direction:column;gap:12px}.ast-commerce-home .commerce-start-grid{grid-template-columns:1fr}.ast-commerce-home .commerce-start-card{grid-template-columns:36% minmax(0,1fr)}.ast-commerce-home .commerce-start-photo{min-height:150px}.ast-commerce-home .commerce-shelf .cards,.ast-commerce-home #resources .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ast-commerce-home #journal .cards{grid-template-columns:1fr}.ast-commerce-home #journal .item:not(.lead){grid-column:1}.ast-commerce-home #journal .item.lead{grid-row:auto}.ast-commerce-home .commerce-campaign,.ast-commerce-home .commerce-workspace{grid-template-columns:1fr}.ast-commerce-home .commerce-workspace-image{display:none}.ast-commerce-home .commerce-journey{grid-template-columns:1fr}.ast-commerce-home .commerce-campaign>div:first-child{min-height:170px}.ast-commerce-home .commerce-campaign>div:last-child,.ast-commerce-home .commerce-tool{padding:20px}}
@media(max-width:620px){.ast-commerce-home .prime-hero{min-height:0;margin-top:14px}.ast-commerce-home .prime-hero-art{left:auto;height:220px}.ast-commerce-home .prime-hero-copy{width:100%;padding:16px 20px 24px}.ast-commerce-home .prime-hero h1{font-size:clamp(35px,8.5vw,49px)}.ast-commerce-home .prime-hero p{font-size:16px}.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead{grid-template-columns:1fr;min-height:0}.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead .media{min-height:150px;max-height:220px;height:auto;aspect-ratio:1.7}.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead .item-body{padding:18px}.ast-commerce-home #ebooks .item .media.book{min-height:140px}.ast-commerce-home .commerce-shelf .item .item-body{padding:10px}.ast-commerce-home .commerce-shelf .item h4{font-size:16px}.ast-commerce-home .commerce-shelf .item .small-btn{width:100%;justify-content:center}.ast-commerce-home .commerce-start-card>div:last-child{padding:12px}.ast-commerce-home .commerce-start-card h3{font-size:19px}.ast-commerce-home .commerce-start-card p{font-size:15px}.ast-commerce-home .commerce-start-card .prime-kicker{font-size:14px}.ast-commerce-home .commerce-shelf.prime-sparse .item{grid-template-columns:1fr}.ast-commerce-home #journal.prime-sparse .item.lead{grid-template-columns:1fr}.ast-commerce-home .prime-collections .commerce-shelf>.wrap{padding:24px 0 30px}.ast-commerce-home .commerce-heading h2{font-size:28px}}
@media(max-width:370px){.ast-commerce-home .commerce-shelf .cards,.ast-commerce-home #resources .cards{grid-template-columns:1fr}.ast-commerce-home .commerce-start-card{grid-template-columns:1fr}.ast-commerce-home .commerce-start-photo{min-height:145px}.ast-commerce-home #journal .item{grid-template-columns:95px minmax(0,1fr)}}
.ast-commerce-home :is(#academy,#digital-products,#ebooks).prime-populated .item.lead h4,.ast-commerce-home #journal .item.lead h4{line-height:1.32}
/* Clear product-price alignment; typography hierarchy without increasing card height. */
.ast-commerce-home .commerce-shelf .section-head h2{font-size:clamp(28px,2.9vw,40px);line-height:1.18;font-weight:620;letter-spacing:-.04em}
.ast-commerce-home .commerce-shelf .section-head .prime-kicker{display:block;color:#e6c18a;font-size:14px;font-weight:650;margin-bottom:8px;letter-spacing:.025em}
.ast-commerce-home .commerce-shelf .shelf-more.button{border:1px solid #ffffff30;padding:8px 14px;background:#ffffff03;white-space:normal}
.ast-commerce-home .commerce-shelf .item .item-foot{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.ast-commerce-home .commerce-shelf .item .item-foot .price,.ast-commerce-home .commerce-shelf .item .item-foot .owned{flex:0 1 auto;width:auto;min-width:0;max-width:100%;text-align:left;justify-content:flex-start}
.ast-commerce-home .commerce-shelf .item .item-foot .small-btn{flex:0 1 auto;min-width:0}
.ast-commerce-home .commerce-editorial-art{display:none}
.ast-commerce-home #academy.prime-populated .item.lead .media:has(.commerce-editorial-art)>.home-cover{display:none}
.ast-commerce-home #academy.prime-populated .item.lead .commerce-editorial-art{position:absolute;inset:0;display:block}
.ast-commerce-home #academy.prime-populated .item.lead .media{position:relative}
.ast-commerce-home .commerce-editorial-art img{width:100%;height:100%;object-fit:cover;object-position:30% 80%;display:block}
.ast-commerce-home .commerce-editorial-art>span{position:absolute;bottom:12px;left:12px;padding:5px 9px;background:#121417db;color:#fff;border-radius:5px;font-size:14px}
@media(max-width:620px){.ast-commerce-home .commerce-shelf .item .item-foot .small-btn{width:100%}.ast-commerce-home .commerce-shelf .section-head h2{font-size:28px}}
@media(min-width:1101px){.ast-commerce-home #apparel-lifestyle.prime-populated .cards{grid-template-columns:repeat(6,minmax(0,1fr))}}
/* A filter selecting one record must not create an oversized empty merchandising panel. */
.ast-commerce-home #journal .cards:has(>[data-home-item].lead):not(:has(>[data-home-item]:not(.lead):not([hidden]))){grid-template-columns:minmax(0,680px)}
.ast-commerce-home #journal .cards:has(>[data-home-item].lead):not(:has(>[data-home-item]:not(.lead):not([hidden]))) .item.lead{grid-row:auto}
.ast-commerce-home #journal .item:not(.lead){column-gap:14px}
.ast-commerce-home #journal .item:not(.lead) .item-body{padding-left:0}
