/* AI storefront catalogue. */
/* Source: compact-home.css */
/* Homepage-only catalogue. Product, checkout and account pages keep their shell. */
.store-catalog-page .compact-home-tools {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-top:24px}
.store-catalog-page .compact-home-tools .market-kind-tabs {margin:0}
.store-catalog-page .compact-home-links {display:flex;gap:18px;flex-wrap:wrap;font-size:14px}
.store-catalog-page .compact-home-links a {color:#655493;padding:8px 0}
.store-catalog-page[data-market-theme="dark"] .compact-home-links a {color:#cfc3ff}
.store-catalog-page {
  --market-ink:#242438; --market-muted:#66697f; --market-line:#ececf6;
  --market-panel:#fff; --market-panel-soft:#f7f7ff; --clear-accent:#5946ed;
  background:linear-gradient(180deg,#fafaff 0,#f5f4ff 100%); color:#242438;
  min-height:100vh; font-size:15px; color-scheme:light;
}
.store-catalog-page .market-kind-tabs {display:flex;width:max-content;padding:4px;border:1px solid #efeff8;background:#fff;border-radius:24px;gap:3px;margin:26px 0 0}
.store-catalog-page .market-kind-tabs>a {padding:6px 16px;font-size:14px;font-weight:600;border-radius:20px;color:#66697f;white-space:nowrap}
.store-catalog-page .market-kind-tabs>a.active {background:#7358ff;color:white;box-shadow:0 3px 10px #755aff32}
.store-catalog-page #marketplace {max-width:1440px;padding:0 24px;margin:auto}
.store-catalog-page .compact-heading {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:33px 0 32px}
.store-catalog-page .compact-heading h1 {font-size:32px;line-height:1.12;letter-spacing:-.7px;margin:0 0 8px;font-weight:750}
.store-catalog-page .compact-heading p {margin:0;color:#686b81;font-size:14px;line-height:1.6}
.store-catalog-page .compact-heading .compact-stats {display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px}
.store-catalog-page .compact-stats strong {font-size:24px;letter-spacing:4px;background:#efecff;color:#73669b;padding:0 2px 0 6px;line-height:1.25;border-radius:4px;font-variant-numeric:tabular-nums}
.store-catalog-page .market-categories {display:flex;gap:5px;flex-wrap:wrap;padding:0;border:0}
.store-catalog-page .market-categories button {position:relative;background:#f9f9ff;color:#686b81;border:0;border-radius:12px 12px 0 0;padding:13px 16px;font-size:14px;min-height:45px;font-weight:600;box-shadow:none;gap:7px}
.store-catalog-page .market-categories button.active {background:#fff;color:#383847;box-shadow:0 -5px 20px #5746d005}
.store-catalog-page .market-categories button.active:before {content:"";position:absolute;top:0;left:13px;right:13px;height:3px;background:#7a67ff;border-radius:3px}
.store-catalog-page .market-categories button span {font-size:14px;min-width:22px;line-height:22px;padding:0 4px;border-radius:8px;background:#eeedfa;color:#66647e}
.store-catalog-page .market-categories button.active span {background:#eeeaff;color:#644ac8}
.store-catalog-page .compact-board {padding:20px 20px 19px;background:#ffffffa3;border-radius:0 18px 18px 18px;box-shadow:0 16px 40px #3c376207}
.store-catalog-page .market-catalog-caption {padding:0 0 18px;gap:12px}
.store-catalog-page .market-catalog-caption h2 {font-size:14px;color:#66677d;font-weight:400;letter-spacing:0}
.store-catalog-page .market-result-count {font-size:14px;color:#686a80}
.store-catalog-page .market-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.store-catalog-page .compact-product {padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;display:flex;flex-direction:column;min-width:0}
.store-catalog-page .compact-product:hover {transform:none;border:0;box-shadow:none}
.store-catalog-page .compact-product .market-product-body {padding:22px 20px 18px;border-radius:17px;background:#fff;height:auto;min-height:320px;flex:1;box-shadow:0 3px 20px #48405b02}
.store-catalog-page .market-product-meta {margin-bottom:17px;min-height:16px}
.store-catalog-page .market-stock {color:#147c55;font-size:14px}
.store-catalog-page .market-stock:before {content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:5px;vertical-align:2px}
.store-catalog-page .market-stock.empty {color:#89634c}
.store-catalog-page .market-product-badge {font-size:14px;padding:2px 7px;line-height:1.4;border-radius:12px;background:#7660ff;color:#fff}
.store-catalog-page .market-product h3 {font-size:20px;font-weight:750;line-height:1.4;letter-spacing:-.25px;margin:0 0 4px;overflow-wrap:anywhere}
.store-catalog-page .compact-period {margin:0 0 7px;font-size:14px;color:#717286;line-height:1.5}
.store-catalog-page .market-product-desc {font-size:15px;line-height:1.7;color:#666a80;margin:0 0 18px;padding:0}
.store-catalog-page .compact-product-facts {padding:15px 0 0;border-top:1px solid #f0f0f8;display:flex;flex-direction:column;flex:1}
.store-catalog-page .compact-product-facts h4 {font-size:14px;line-height:1.4;margin:0 0 9px;color:#414258}
.store-catalog-page .market-product-features {font-size:15px;line-height:1.7;gap:8px;margin:0 0 15px;color:#656a82;overflow-wrap:anywhere}
.store-catalog-page .market-product-features li {gap:7px}
.store-catalog-page .market-product-features li:before {color:#917dff}
.store-catalog-page .market-detail-link {font-size:14px;margin-top:auto;align-self:flex-start;padding:0;color:#675b9b;background:none;border:0}
.store-catalog-page .compact-no-features {font-size:14px;color:#656a82;line-height:1.8;margin:0 0 15px}
.store-catalog-page .compact-price-button {display:flex;flex:0 0 auto;align-items:center;gap:6px;margin-top:9px;width:100%;min-height:40px;padding:10px 12px;border:0;border-radius:10px;background:#5038dc;color:#fff;box-shadow:0 5px 10px #5038dc21;font-size:14px;font-weight:500;text-align:left;line-height:1.5}
.store-catalog-page .compact-price-button:hover {background:#4730c9;transform:none}
.store-catalog-page .compact-price-period {flex:1;min-width:0;font-size:14px;overflow-wrap:anywhere}
.store-catalog-page .compact-price-button strong {font-weight:650;font-size:14px;white-space:nowrap}
.store-catalog-page .compact-price-arrow {font-size:14px}
.store-catalog-page .compact-price-button:disabled {background:#e5e2f2;color:#625c70;box-shadow:none;cursor:not-allowed;opacity:1}
.store-catalog-page .compact-catalog-note {font-size:14px;color:#686a80;line-height:1.8;margin:20px 0 0}
.store-catalog-page .compact-footer {max-width:1440px;padding:18px 24px 32px;margin:auto;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;color:#686a80;font-size:14px;line-height:1.9}
.store-catalog-page .compact-footer p {margin:0;max-width:480px}
.store-catalog-page .compact-footer nav {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 15px}
.store-catalog-page .market-empty {background:#fff;border:0;border-radius:14px;color:#66697f;padding:50px 20px;line-height:1.8}
@media(max-width:1050px){
 .store-catalog-page .market-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .store-catalog-page .market-kind-tabs {margin:18px auto 0}
 .store-catalog-page #marketplace {padding:0 14px}
 .store-catalog-page .compact-heading {padding:24px 3px;gap:12px;align-items:flex-start}
 .store-catalog-page .compact-heading h1 {font-size:27px}
 .store-catalog-page .compact-heading p {font-size:14px}
 .store-catalog-page .compact-heading .compact-stats {font-size:14px;display:block;text-align:right;line-height:1.9}
 .store-catalog-page .compact-stats strong {display:block;font-size:18px;letter-spacing:2px}
 .store-catalog-page .market-categories {flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:3px;padding:0}
 .store-catalog-page .market-categories button {padding:11px 13px;font-size:14px;min-height:42px}
 .store-catalog-page .compact-board {padding:16px 12px;border-radius:0 14px 14px 14px}
 .store-catalog-page .market-grid {grid-template-columns:minmax(0,1fr);gap:20px}
 .store-catalog-page .compact-product .market-product-body {min-height:0;padding:21px;border-radius:14px}
 .store-catalog-page .market-product h3 {font-size:18px}
 .store-catalog-page .market-product-desc,.store-catalog-page .market-product-features {font-size:15px}
 .store-catalog-page .compact-price-button {min-height:44px;padding:11px 16px}
 .store-catalog-page .compact-footer {padding:19px 17px 30px;display:block}
 .store-catalog-page .compact-footer nav {justify-content:flex-start;margin-top:9px;gap:5px 13px}
}

/* Source: catalog-groups.css */
/* Explicit plan/offer grouping; all availability still comes from merchant stock. */
.store-catalog-page .compact-brand-icon{display:inline-flex;flex:0 0 18px;width:18px;height:18px;align-items:center;justify-content:center;font-style:normal;line-height:1;background:currentColor;mask:var(--brand-logo) center/contain no-repeat;-webkit-mask:var(--brand-logo) center/contain no-repeat}
.store-catalog-page .compact-brand-icon[data-brand="chatgpt"]{color:#6254ff;--brand-logo:url('brand/chatgpt.svg')}
.store-catalog-page .compact-brand-icon[data-brand="grok"]{color:#9391aa;--brand-logo:url('brand/grok.svg')}
.store-catalog-page .compact-brand-icon[data-brand="x"]{color:var(--market-ink);--brand-logo:url('brand/x.svg')}
.store-catalog-page .compact-brand-icon[data-brand="cursor"]{color:#54c2ef;--brand-logo:url('brand/cursor.svg')}
.store-catalog-page .compact-brand-icon[data-brand="claude"]{color:#da997c;--brand-logo:url('brand/claude.svg')}
.store-catalog-page .compact-brand-icon[data-brand="gemini"]{background:none;mask:none;-webkit-mask:none}
.store-catalog-page .compact-brand-icon img{display:block;width:18px;height:18px;object-fit:contain}
.store-catalog-page .compact-offers{display:flex;flex-direction:column;gap:6px;margin-top:9px}
.store-catalog-page .compact-offers .compact-price-button{margin-top:0;min-height:46px}
.store-catalog-page .market-grid:has(.compact-offers){align-items:stretch}
.store-catalog-page .compact-product:has(.compact-offers){display:flex;flex-direction:column}
.store-catalog-page .compact-product:has(.compact-offers)>.market-product-body{min-height:0}
.store-catalog-page .compact-product>.compact-offers{margin-top:0;align-self:stretch}
@media(min-width:1300px){.store-catalog-page .market-grid[data-kind="membership"]:has(>.compact-product:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;row-gap:9px}}
.store-catalog-page .compact-price-period{flex:none;font-size:14px;white-space:nowrap}
.store-catalog-page .compact-offers .compact-price-button strong{font-size:16px}
.store-catalog-page .market-categories button{font-size:14px}
.store-catalog-page .compact-price-channel{font-size:14px;opacity:.8;flex:1;min-width:0;overflow-wrap:anywhere}
.store-catalog-page .compact-price-button.is-out{background:#eeedf7;color:#77748b;box-shadow:none}
.store-catalog-page #market-grid.compact-account-layout{display:block}
.compact-account-group+.compact-account-group{margin-top:28px}
.compact-account-group-heading{display:flex;align-items:center;gap:10px;margin:3px 0 14px}
.compact-account-group-heading h3{font-size:16px;margin:0}
.compact-account-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.compact-account-card{min-width:0;border:1px solid var(--market-line);border-radius:16px;background:var(--market-panel);overflow:hidden}
.store-catalog-page .compact-account-card>.market-product-body{padding:20px;display:flex;flex-direction:column;height:100%;gap:14px;cursor:pointer;min-width:0;box-sizing:border-box}
.compact-account-warranty{font-size:14px;color:#71649c}
.compact-account-title{font-size:16px;color:var(--market-ink);font-weight:700;line-height:1.55;overflow-wrap:anywhere}
.compact-account-tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:auto}
.compact-account-tags span{border-radius:6px;background:var(--market-panel-soft);font-size:14px;color:var(--market-muted);padding:4px 6px;line-height:1.5}
.compact-account-bottom,.compact-account-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.compact-account-bottom strong{font-size:19px;color:var(--market-ink)}
.compact-account-actions{border-top:1px solid var(--market-line);padding-top:12px;font-size:14px}
.compact-account-actions a{color:var(--clear-accent);padding:4px 0;white-space:nowrap}
@media(max-width:1050px){.compact-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.compact-account-grid{grid-template-columns:minmax(0,1fr)}.compact-account-card>.market-product-body{padding:20px}.store-catalog-page .compact-home-tools{justify-content:center;padding-top:20px}.store-catalog-page .compact-home-links{gap:20px}}


.store-catalog-page main{max-width:1440px;padding-top:0}
.source-catalog .market-kind-tabs{margin:0 0 20px}
.source-catalog .market-categories button{display:inline-flex;align-items:center}
.source-catalog .market-catalog-caption{display:flex;align-items:center;justify-content:space-between}
.source-catalog .market-catalog-caption h2{margin:0}
.source-catalog .market-grid{display:grid}
.source-catalog .market-product-meta{display:flex;justify-content:space-between;align-items:center}
.source-catalog .market-product-features{list-style:none;padding:0;display:flex;flex-direction:column}
.source-catalog .market-product-features li{display:flex;align-items:flex-start}
.source-catalog .market-product-features li:before{content:'✓';flex-shrink:0;font-size:14px;line-height:1.2}
.source-catalog .compact-product .market-product-body{min-height:0}
.source-catalog .compact-account-group-heading h3{font-size:16px}
.source-catalog .extra-products{margin-top:26px}
@media(max-width:640px){.store-catalog-page main{padding:0 14px 35px}.source-catalog .compact-product:has(.compact-offers)>.market-product-body{min-height:0}}


/* Search belongs before category navigation and results. */
.store-catalog-page .ai-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0 16px}
.store-catalog-page .ai-catalog-toolbar h2{font-size:20px;margin:0;color:var(--market-ink)}
.store-catalog-page .ai-catalog-search{display:flex;align-items:center;gap:12px;min-width:0}
.store-catalog-page .ai-catalog-search label{font-size:14px;color:#596170;white-space:nowrap}
.store-catalog-page #catalog-search{width:300px;max-width:100%;min-width:0;border:1px solid #dcdde8;border-radius:10px;padding:11px 14px;background:#fff;color:var(--market-ink);font-size:14px;line-height:1.5}
.store-catalog-page #clear-catalog-search{padding:10px 12px;background:#eeebff;border-radius:8px;color:#5946c9;white-space:nowrap;cursor:pointer}
.store-catalog-page .ai-search-status{margin:0 0 16px;color:#596170;font-size:14px}
.store-catalog-page .ai-catalog-empty{padding:32px 20px;background:white;border:1px solid var(--market-line);border-radius:12px;text-align:center;color:#596170}
@media(max-width:720px){
 .store-catalog-page main{padding-left:14px;padding-right:14px}
 .store-catalog-page .ai-catalog-toolbar{align-items:stretch;flex-direction:column;gap:14px;padding:22px 0 18px}
 .store-catalog-page .ai-catalog-search{flex-wrap:wrap;gap:8px}
 .store-catalog-page .ai-catalog-search label{width:100%}
 .store-catalog-page #catalog-search{flex:1;width:0}
 .store-catalog-page .market-kind-tabs{max-width:100%;margin-left:0;margin-right:0}
 .store-catalog-page .market-categories{flex-wrap:nowrap;overflow-x:auto}
 .store-catalog-page .market-categories button{flex-shrink:0}
}

/* Let offer labels and channels wrap independently at readable text sizes. */
.store-catalog-page .compact-price-button{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px;row-gap:2px;min-height:46px}
.store-catalog-page .compact-price-period{min-width:0;white-space:normal;overflow-wrap:anywhere;grid-column:1;grid-row:1}
.store-catalog-page .compact-price-button strong{grid-column:2;grid-row:1}
.store-catalog-page .compact-price-arrow{grid-column:3;grid-row:1}
.store-catalog-page .compact-price-channel{grid-column:1 / -1;grid-row:2;opacity:.9;line-height:1.6}
.store-catalog-page .compact-price-channel:empty{display:none}
.store-catalog-page .market-product-meta{gap:8px;flex-wrap:wrap}
.store-catalog-page .market-catalog-caption{flex-wrap:wrap}

/* Each card keeps the current price, purchase conditions and action together. */
.store-catalog-page .compact-product{border:1px solid var(--market-line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:none}
.store-catalog-page .compact-product:hover{border:1px solid #cbc5ee;box-shadow:none}
.store-catalog-page .compact-product.is-recommended{border:2px solid var(--clear-accent);box-shadow:0 5px 20px #6952ed10}
.store-catalog-page .compact-product .market-product-body{flex:0 0 auto;padding:20px 18px 8px;border-radius:0;background:transparent;min-height:0}
.store-catalog-page .market-product-meta{margin-bottom:12px}
.store-catalog-page .market-product h3 a{color:var(--market-ink)}
.store-catalog-page .compact-sale-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin:10px 0;color:var(--market-muted)}
.store-catalog-page .compact-sale-price strong{font-size:32px;line-height:1.25;color:var(--market-ink);font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.6px}
.store-catalog-page .compact-sale-price strong small{font-size:19px;margin-right:2px}
.store-catalog-page .is-recommended .compact-sale-price strong{color:var(--clear-accent)}
.store-catalog-page .compact-sale-price>span{font-size:14px}
.store-catalog-page .market-product-desc{font-size:14px;line-height:1.7;margin-bottom:14px}
.store-catalog-page .compact-product-facts{padding-top:12px;flex:0 0 auto}
.store-catalog-page .market-product-features{font-size:14px;line-height:1.7;gap:6px;margin-bottom:12px}
.store-catalog-page .market-detail-link{font-size:14px;line-height:1.6}
.store-catalog-page .compact-offers{padding:0 18px 16px;gap:12px}
.store-catalog-page .compact-offer-note{margin:0 0 8px;line-height:1.6;color:var(--market-muted);font-size:14px}
.store-catalog-page .compact-offer-note strong,.store-catalog-page .compact-offer-note span{display:block}
.store-catalog-page .compact-offer-note strong{color:var(--market-ink);margin-bottom:3px}
.store-catalog-page .compact-offers .compact-price-button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:10px 12px;text-align:center;font-size:15px;font-weight:600;margin:0}
.store-catalog-page .compact-catalog-note{margin-top:14px}
@media(max-width:640px){.store-catalog-page .market-grid{gap:14px}.store-catalog-page .compact-sale-price strong{font-size:30px}.store-catalog-page .compact-product .market-product-body{padding:18px 18px 8px}}

.store-catalog-page .compact-product-description{padding:16px 18px 20px;border-top:1px solid var(--market-line);flex:1;min-width:0}
.store-catalog-page .compact-product-description .market-product-desc{margin:0 0 14px}
.store-catalog-page .compact-product-description .compact-product-facts{padding:0;border-top:0}
.store-catalog-page .compact-purchase-condition{font-size:13px;line-height:1.75;margin:14px 0;color:var(--market-muted)}

.store-catalog-page .compact-delivery-note{margin:7px 0 0;text-align:center;font-size:13px}
