/* Secondary-page, admin and checkout rules retain their existing behavior. */
*{box-sizing:border-box}
a{color:inherit;text-decoration:none}
input{font:inherit}
.breadcrumb a:hover{color:var(--green)}
.hero{min-height:430px;display:grid;grid-template-columns:2fr 1fr;align-items:center;gap:40px;padding:80px 0 55px}
.hero h1,.page-hero h1{font-size:clamp(2.5rem,5vw,5rem);letter-spacing:-.05em;line-height:1.06;margin:10px 0 20px}
.hero h1 em{color:var(--green);font-style:normal}
.hero p,.page-hero p{max-width:650px;color:var(--muted)}
.eyebrow{color:var(--gold)!important;font-size:.73rem;font-weight:800;letter-spacing:.23em}
.hero-mark{width:min(25vw,280px);height:min(25vw,280px);display:grid;place-content:center;border:2px solid var(--text);border-radius:30%;transform:rotate(-9deg);font-size:6rem;font-weight:900;box-shadow:none}
.hero-mark span{color:var(--green)}
form label{display:block;font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:25px 0 9px}
.search-row{display:flex;gap:10px;max-width:650px}
.search-row input{flex:1;min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text)}
.search-row button{cursor:pointer;border:0;border-radius:10px;padding:13px 21px;background:var(--control-bg);color:var(--control-text);font-weight:800}
.section-head{margin:20px 0 25px}
.section-head h2{font-size:2rem;margin:0}
.section-head p:not(.eyebrow){color:var(--muted)}
.tile-grid,.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.tile,.product-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .15s,border-color .15s}
.tile:hover,.product-card:hover{transform:translateY(-3px);border-color:var(--green)}
.tile{min-height:150px;padding:18px;display:flex;align-items:end;gap:12px;font-weight:800}
.tile img{width:68px;height:68px;object-fit:cover;border-radius:12px;align-self:start}
.tile span:last-child{margin-left:auto;color:var(--green)}
.breadcrumb{color:var(--muted);font-size:.85rem;padding:28px 0}
.page-hero{display:flex;gap:30px;align-items:center;margin:0 0 30px}
.page-hero h1{font-size:clamp(2rem,4vw,3.5rem)}
.page-art{width:200px;height:135px;object-fit:cover;border-radius:16px}
.product-card{display:flex;flex-direction:column}
.product-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.card-body{padding:19px;display:flex;flex-direction:column;gap:11px;flex:1}
.card-body h2{font-size:1rem;line-height:1.4;margin:0;flex:1}
.card-body strong{font-size:1.2rem}
.card-action{color:var(--green);font-size:.85rem;font-weight:700}
.stock{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.stock.unavailable{color:var(--muted)}
.pagination{display:flex;gap:18px;align-items:center;justify-content:center;margin:35px 0}
.pagination a{padding:10px 15px;border:1px solid var(--line);border-radius:9px}
.pagination span{color:var(--muted)}
.listing-search{margin:0 0 30px}
.product-detail{display:grid;grid-template-columns:minmax(250px,1fr) minmax(300px,1.2fr);gap:40px}
.detail-art{width:100%;border-radius:20px}
.detail-copy h1{font-size:clamp(2rem,3vw,3.4rem);line-height:1.2}
.detail-price{font-size:2rem;font-weight:900}
.detail-unit-label{display:block;margin-block-end:4px;color:var(--muted);font-size:.73rem;line-height:1.5;font-weight:700;letter-spacing:0}
.product-review-note{line-height:1.65;overflow-wrap:anywhere}
.product-review-note a{font-weight:750;text-decoration:underline;text-underline-offset:3px}
.product-selection-summary{margin:12px 0;padding:14px 16px;border:1px solid var(--separator);border-radius:12px;background:var(--surface-raised);min-inline-size:0}
.product-selection-summary>div{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 18px;min-inline-size:0}
.product-selection-summary dt{font-size:.78rem;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.product-selection-summary dd{margin:0;font-size:1.4rem;line-height:1.4;font-weight:850;color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-inline-size:100%}
.product-selection-error{margin:10px 0;color:var(--danger);font-size:.82rem;line-height:1.5;overflow-wrap:anywhere}
.product-selection-help{line-height:1.6;max-inline-size:64ch;overflow-wrap:anywhere}
.product-selection-summary[hidden],.product-selection-error[hidden]{display:none}
.description{white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid var(--line);padding:25px 0}
.notice,.empty{border:1px solid var(--line);background:var(--panel2);border-radius:12px;padding:20px;color:var(--muted)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.stats div{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:20px;display:grid;gap:5px}
.stats span{color:var(--muted)}
.stats strong{font-size:1.5rem}
@media(max-width:700px){
  .hero{grid-template-columns:1fr;min-height:0;padding:45px 0}
  .hero-mark{display:none}
  .page-hero{align-items:flex-start;flex-direction:column}
  .page-art{width:100%;height:auto;max-height:220px}
  .product-detail{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .search-row{flex-direction:column}
}
.admin-nav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 28px}
.admin-nav a{padding:11px 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.admin-nav a:hover{border-color:var(--green)}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.payment-instructions{min-inline-size:0;padding:20px;margin-block:16px;border:1px solid var(--edge);border-radius:14px;background:var(--surface)}
.payment-instructions h2{margin-block:0 18px;font-size:1.15rem}
.payment-instructions p,.payment-reference{overflow-wrap:anywhere}
.payment-facts{display:grid;gap:6px;margin-block:0 20px;min-inline-size:0}
.payment-facts dt{color:var(--muted);font-size:.85rem;margin-block-start:10px}
.payment-facts dd{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;min-inline-size:0}
.payment-facts dd>bdi,.payment-facts dd>strong,.payment-facts code,.payment-instructions code,.payment-reference code{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere;unicode-bidi:isolate}
.payment-facts .copy-control{flex-shrink:0}
.payment-instructions img{display:block;inline-size:220px;max-inline-size:100%;block-size:auto;margin-block:18px}
table{width:100%;border-collapse:collapse;min-width:650px}
th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}
tbody tr:last-child td{border-bottom:0}
.admin-form{max-width:900px;min-width:0}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.admin-form label{display:grid;gap:8px;color:var(--muted);margin:0 0 18px;font-size:.88rem}
.admin-form label span{font-size:.75rem}
.admin-form input,.admin-form select,.admin-form textarea{width:100%;background:var(--panel);color:var(--text);padding:13px;border:1px solid var(--line);border-radius:10px;font:inherit}
.admin-form textarea{resize:vertical}
.form-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:700px){
  .form-grid{grid-template-columns:1fr}
}
.reseller-docs{width:100%;max-width:900px;min-inline-size:0}
.reseller-docs pre,.reseller-docs .table-wrap{min-inline-size:0;max-inline-size:100%;overflow-x:auto}
.reseller-docs pre{padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:10px;direction:ltr;text-align:left}
.reseller-docs p{overflow-wrap:anywhere}
.auth-form{max-width:460px;margin:24px 0 32px;padding:26px;background:var(--panel);border:1px solid var(--line);border-radius:18px}
.auth-form label{display:grid;gap:8px;margin:0 0 18px;text-transform:none;letter-spacing:0;font-size:.92rem}
.auth-form input:not([type=checkbox]){width:100%;min-width:0;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text)}
.auth-form input:focus,.admin-form input:focus,.search-row input:focus{outline:2px solid var(--green);outline-offset:2px}
.auth-form label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px}
.auth-form button{width:100%}
@media(max-width:700px){
  .auth-form{padding:18px}
}
.delivery-center{margin:30px 0;padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:16px}
.delivery-center h2{margin-top:0}
.delivery-content{max-height:650px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;background:var(--bg);border:1px solid var(--line);border-radius:10px;user-select:text}
[dir=rtl] th,[dir=rtl] td{text-align:right}
[dir=rtl] .category-identity,[dir=rtl] .platform-page-head{text-align:right}
[dir=rtl] .detail-price,[dir=rtl] .delivery-content{direction:ltr;unicode-bidi:isolate}
.language-control select{max-width:86px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero{min-height:360px;padding:48px 0}
.hero h1{font-size:clamp(3rem,5vw,5rem)}
.hero-actions{display:flex;gap:12px;align-items:center;margin-top:26px}
.hero-actions .button{margin:0}
.hero-actions button{padding:13px 21px}
.home-intro{margin:20px 0 34px}
.home-intro h2{font-size:clamp(1.7rem,3vw,2.6rem);letter-spacing:-.04em;margin:4px 0}
.home-intro p:last-child{color:var(--muted);margin:0}
.preview-section{margin:0 0 56px}
.preview-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:0 0 16px}
.preview-heading h2{font-size:clamp(1.6rem,2.7vw,2.3rem);letter-spacing:-.035em;margin:0}
.preview-heading p:last-child{margin:5px 0 0;color:var(--muted)}
.mobile-more{display:none}
.listing-top{display:flex;justify-content:space-between;color:var(--muted);border-top:1px solid var(--line);margin:20px 0 14px;padding-top:12px;font-size:.85rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.listing-top p{margin:0}
.tile-symbol{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--separator);border-radius:12px;color:var(--text);background:var(--surface-raised);font-weight:900;align-self:start}
.tile{align-items:center;min-height:110px}
.page-art{width:min(38vw,390px);height:auto;aspect-ratio:16/9;object-fit:contain;background:var(--surface)}
.detail-art{aspect-ratio:16/9;object-fit:contain;background:var(--surface)}
.product-detail{align-items:start}
.hero{min-height:275px;padding:35px 0}
.hero h1{font-size:clamp(2.7rem,4.4vw,4.2rem)}
.hero-mark{width:min(19vw,200px);height:min(19vw,200px);font-size:4rem}
.home-intro{margin:10px 0 22px}
.tile img.tile-icon{width:44px;height:44px;object-fit:contain;border-radius:10px;align-self:center}
@media(max-width:700px){
  .hero{padding:38px 0;min-height:0}
  .hero h1{font-size:clamp(2.5rem,10vw,3.6rem)}
  .hero-actions{flex-wrap:wrap}
  .mobile-more{display:flex;margin-top:14px}
  .preview-section{margin-bottom:48px}
  .page-art{width:100%;max-width:none}
  .tile-grid{grid-template-columns:1fr 1fr}
  .tile{font-size:.88rem;padding:13px}
  .tile-symbol{display:none}
}
@media(max-width:420px){
  .tile-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .hero{padding:22px 0 18px}
  .hero h1{font-size:2.45rem;margin:6px 0 12px}
  .hero p:not(.eyebrow){font-size:.9rem;line-height:1.4}
  .hero-actions{margin-top:15px}
  .hero-actions .button,.hero-actions button{padding:10px 13px;font-size:.84rem}
  .home-intro h2{font-size:1.45rem}
  .home-intro p:last-child{font-size:.88rem}
}
.market-intro{padding:24px 0 20px;border-bottom:1px solid var(--line);margin-bottom:24px}
.market-intro h1{font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.2;margin:0 0 4px;letter-spacing:-.035em}
.market-intro p{margin:0;color:var(--muted);font-size:.92rem}
.preview-section{margin-bottom:42px}
.preview-heading{margin-bottom:13px}
.preview-heading h2{font-size:clamp(1.45rem,2.4vw,2rem)}
@media(max-width:700px){
  .market-intro{padding:16px 0 13px;margin-bottom:18px}
  .market-intro p{font-size:.84rem}
  .preview-section{margin-bottom:34px}
}
.theme-toggle,.language-control select{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border:1px solid var(--edge);border-radius:8px;background:var(--surface);color:var(--text);font-size:.8rem;font-weight:750}
.theme-toggle:hover,.language-control select:hover{border-color:var(--green);color:var(--green)}
.theme-toggle{width:36px;padding:0}
.language-control select{width:48px;padding:0 3px;cursor:pointer}
.collection-heading{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin:0 0 7px}
.collection-heading h3{font-size:.88rem;margin:0;font-weight:780}
.collection-heading span{font-size:.75rem;color:var(--muted)}
.detail-copy h1{font-size:clamp(1.55rem,2.2vw,2.3rem);line-height:1.18;overflow-wrap:anywhere}
.more-categories{margin-top:5px;border:1px solid var(--edge);border-radius:8px;background:var(--surface)}
.more-categories summary{cursor:pointer;padding:8px 11px;font-size:.78rem;font-weight:750;color:var(--text)}
.more-categories summary span{color:var(--muted)}
.more-categories>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2px;padding:0 8px 8px}
.more-categories a{display:flex;justify-content:space-between;gap:10px;padding:6px 8px;border-radius:5px;font-size:.75rem}
.more-categories a:hover{background:var(--surface-raised);color:var(--green)}
.more-categories a span{color:var(--muted)}
.breadcrumb{padding:14px 0}
.page-hero{gap:16px;margin-bottom:17px}
.page-hero h1{font-size:clamp(1.35rem,2.5vw,2rem);margin:3px 0 8px}
.page-art{width:min(28vw,250px);border-radius:11px;background:var(--surface-raised)}
.page-art[src^='/thumb/']{width:92px;height:92px;aspect-ratio:1;object-fit:cover}
.detail-art{aspect-ratio:16/9}
.detail-square{display:grid;place-items:center;min-height:235px;background:var(--surface);border:1px solid var(--edge);border-radius:15px}
.detail-square img{width:min(220px,65%);height:auto;aspect-ratio:1;border-radius:12px}
.detail-price{display:flex;gap:14px;align-items:baseline}
.detail-price small{font-size:1rem;color:var(--muted)}
.auth-form,.notice,.empty,.stats div,.admin-nav a,.table-wrap{background:var(--surface);border-color:var(--edge)}
.auth-form input:not([type=checkbox]),.admin-form input,.admin-form select,.admin-form textarea,.search-row input{background:var(--input-bg);color:var(--text)}
@media(max-width:700px){
  .theme-toggle{width:32px;height:36px;min-height:36px;padding:0}
  .language-control select{width:38px;height:36px;min-height:36px;font-size:.7rem}
  .more-categories summary{min-height:38px}
  .page-art{width:100%;max-width:none;max-height:200px}
  .page-art[src^='/thumb/']{width:86px;height:86px}
  .product-detail{gap:16px}
  .detail-square{min-height:170px}
  .detail-square img{width:130px}
}
.other-collections-heading{font-size:.92rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border-top:0;padding:18px 0 5px;margin:10px 0}
.more-categories>div{max-height:270px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.more-categories summary{list-style:none;display:flex;align-items:center;gap:5px}
.more-categories summary::-webkit-details-marker{display:none}
.more-categories summary:before{content:'▸';font-size:.9em;transition:transform .15s ease}
.more-categories[open] summary:before{transform:rotate(90deg)}
.more-categories summary:focus-visible,.more-categories a:focus-visible,.theme-toggle:focus-visible,.language-control select:focus-visible{outline:2px solid var(--green);outline-offset:2px}
@media(max-width:700px){
  .more-categories>div{max-height:240px;grid-template-columns:1fr}
  .more-categories a{min-height:34px;align-items:center}
  .other-collections-heading{padding-top:14px}
}
.cart-item{padding:12px 16px;margin:0 0 8px;gap:4px}
.cart-item .price-stack{display:flex;align-items:baseline;gap:9px}
.cart-item .price-stack strong{font-size:1.1rem;color:var(--price)}
.cart-item h2,.cart-item p{margin:0}
.description{white-space:normal;padding:15px 0}
.description-section{padding:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.description-section+.description-section{border-top:1px solid var(--separator)}
.description-section h2{font-size:.98rem;line-height:1.3;margin:0 0 7px;color:var(--green)}
.description-section div{font-size:.9rem;line-height:1.55}
.cart-item{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px}
.cart-line-form{display:flex;align-items:end;flex-wrap:wrap;gap:7px}
.cart-line-form label{margin:0;display:grid;gap:4px;font-size:.7rem}
.cart-line-form input{width:60px;padding:6px;background:var(--input-bg);color:var(--text);border:1px solid var(--edge);border-radius:6px}
.cart-line-form button{padding:7px 10px;font-size:.76rem;min-height:34px}
.cart-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--edge)}
@media(max-width:700px){
  .cart-item{align-items:stretch;flex-direction:column}
  .cart-summary{font-size:.82rem}
}
.category-identity{display:flex;align-items:baseline;gap:9px;min-width:0;flex:1}
.category-identity strong{font-size:.68rem;letter-spacing:.055em;white-space:nowrap;font-weight:900}
.category-identity>span,.category-identity h2{font-size:.86rem;font-weight:750;line-height:1.2;min-width:0;margin:0}
.category-facts{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.71rem;white-space:nowrap}
.category-ordinal{font-variant-numeric:tabular-nums;font-weight:850}
.category-from{color:var(--price);font-weight:800}
@media(max-width:700px){
  .category-identity{display:flex;flex-wrap:wrap;gap:2px 7px}
  .category-identity strong{font-size:.62rem}
  .category-identity>span,.category-identity h2{font-size:.76rem}
  .category-facts{gap:7px;font-size:.66rem}
  .category-from{white-space:normal}
}
.category-separator{font-weight:800;opacity:.65}
.category-identity{gap:7px}
.category-identity .category-ordinal{color:var(--green)}
.theme-toggle[title]{position:relative}
@media(max-width:700px){
  .category-identity strong{overflow:hidden;text-overflow:ellipsis}
  .category-identity>span:last-child{white-space:normal;overflow-wrap:anywhere}
}
.category-identity .category-name{min-width:0;overflow-wrap:anywhere}
.detail-copy{display:flex;flex-direction:column}
.detail-copy>.description{order:10}
.detail-copy>form,.detail-copy>a.button,.detail-copy>p.notice{order:5}
.detail-copy>form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:10px 0 14px;border-bottom:1px solid var(--edge)}
.detail-copy>form label{margin:0;display:grid;gap:4px;font-size:.76rem}
.detail-copy>form input{width:72px;min-height:38px;padding:6px;background:var(--input-bg);color:var(--text);border:1px solid var(--edge);border-radius:7px}
.detail-copy>form button,.detail-copy>a.button{min-height:40px;margin:0;padding:8px 17px}
.detail-copy>form button,.detail-copy>a.button{background:var(--control-bg);color:var(--control-text)}
@media(max-width:700px){
  .category-identity strong + .category-separator{display:none}
}
.detail-art,.tile-symbol{background:var(--surface-raised)}
.stock.unavailable{color:var(--muted)}
.search-row button{color:var(--control-text);background:var(--control-bg)}
.search-row button,.detail-copy>form button,.detail-copy>a.button{background:var(--control-bg);color:var(--control-text)}
.search-row button:hover{background:var(--brand-hover)}
.theme-toggle{background:var(--surface-raised);color:var(--text)}
.catalog-sort{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0;font-size:.8rem}
.catalog-sort label{margin:0;font-weight:800;letter-spacing:0;text-transform:none}
.catalog-sort select{background:var(--surface);color:var(--text);border:1px solid var(--edge);border-radius:7px;min-height:40px;padding:6px 10px;max-width:100%}
.catalog-sort button{min-height:40px;padding:6px 12px}
.catalog-sort small{color:var(--muted)}
.product-detail{display:block;padding:0;background:transparent;border:0}
.detail-overview{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:start;gap:28px;padding:28px;border:1px solid var(--separator);border-radius:12px;background:var(--surface)}
.detail-overview .detail-art{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:10px}
.detail-overview .detail-square{min-height:0;align-self:start;aspect-ratio:1;border:0;background:transparent}
.detail-overview .detail-square img{width:100%;max-width:160px;height:auto;border-radius:14px}
.detail-overview:not(:has(.detail-square)){grid-template-columns:minmax(0,1fr)}
.detail-copy{min-width:0;display:block;padding:0}
.detail-copy h1{margin:4px 0 12px;font-size:clamp(1.45rem,2.1vw,2.1rem);line-height:1.3;font-weight:850;letter-spacing:-.025em;overflow-wrap:anywhere}
.detail-copy .detail-price{margin:14px 0}
.detail-copy .detail-price strong{font-size:1.8rem}
.detail-copy .detail-price small{font-size:.85rem}
.detail-copy .purchase-actions{border:0;gap:8px;padding:10px 0;display:flex;align-items:end;flex-wrap:wrap}
.detail-copy .purchase-actions button,.detail-copy>a.button{min-height:46px;font-weight:900;padding:10px 20px}
.detail-copy .purchase-actions .secondary{background:var(--surface-raised);color:var(--text);border:1px solid var(--edge)}
.purchase-note{font-size:.78rem;line-height:1.45;color:var(--muted)}
.product-detail>.description{margin-top:28px;padding:24px 0 0;border:0;border-block-start:1px solid var(--separator);border-radius:0;background:transparent;max-width:none;column-count:1;font-size:.95rem;line-height:1.7}
.product-detail>.description p,.product-detail>.description li{max-inline-size:85ch}
.description-section{break-inside:avoid}
.description-section h2{font-size:1.08rem;line-height:1.45}
.auth-form{max-width:560px;margin:0 0 20px;padding:22px;border-radius:12px}
.auth-form label{margin:0 0 16px;letter-spacing:.025em;text-transform:none;font-weight:750}
.auth-form input:not([type=checkbox]){width:100%;min-height:44px;display:block;margin-top:6px;border:1px solid var(--edge);border-radius:7px;padding:10px}
.auth-form button{min-height:44px}
.page-hero:not(:has(img)){display:block;min-height:0}
.page-hero>div{min-width:0}
.page-hero h1{overflow-wrap:anywhere;line-height:1.2}
.stats{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}
.stats strong{overflow-wrap:anywhere}
@media(max-width:700px){
  .language-control select{width:40px;height:42px;min-height:42px;padding:0 2px;font-size:.72rem}
  .category-facts{flex-wrap:wrap}
  .category-identity{min-width:0;overflow-wrap:anywhere}
  .detail-overview{grid-template-columns:1fr;padding:12px;gap:14px}
  .detail-copy .purchase-actions{display:flex}
  .detail-copy .purchase-actions button{flex:1}
  .detail-copy>a.button{display:flex;justify-content:center;width:100%}
  .product-detail>.description{padding:13px}
  .auth-form{padding:16px}
}
html[dir=rtl] .catalog-sort,html[dir=rtl] .detail-copy{text-align:right}
.detail-price,.stats strong{unicode-bidi:isolate;direction:ltr}
.special-entry{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:20px 0;margin-bottom:20px;border-bottom:1px solid var(--line)}
.special-entry>div{display:grid;gap:4px;flex:1 1 260px}
.special-entry span{font-size:.85rem;color:var(--muted)}
.special-entry>a{padding:10px 16px;border-radius:12px;background:var(--panel);font-weight:700;color:var(--text)}
.special-account-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:24px 0}
.special-account-list>a{display:grid;gap:8px;padding:18px;border-radius:14px;background:var(--panel)}
.special-account-list span,.special-account-list small{color:var(--muted);font-size:.82rem}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
.detail-copy>form button,.detail-copy>a.button{background:var(--control-bg);color:var(--control-text);border-color:var(--accent-border);text-shadow:none;box-shadow:none;
  transition:background-color var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-fast),transform var(--motion-fast);}
.detail-copy>form button:hover,.detail-copy>a.button:hover{background:var(--brand-hover);color:var(--control-hover-text);filter:none;}
.accordion-chevron{width:20px;height:20px;min-width:20px;display:block;transition:transform var(--motion-fast)}
.catalog-sort .filter-switch{display:inline-flex;align-items:center;gap:7px;margin:0;min-height:44px;text-transform:none;letter-spacing:0;font-size:.8rem;font-weight:650}
.filter-switch input{width:18px;height:18px}
.stock.unavailable{color:var(--muted)}
.notice[data-state=success],.notice.success{border-color:var(--success)}
.notice[data-state=error],.notice.error{border-color:var(--danger)}
.tile,.tile-symbol,.detail-square,.detail-art,.page-art,.cart-item,.delivery-center{background:var(--surface);border-color:var(--edge)}
input,textarea,select{accent-color:var(--control-bg)}
input:focus,textarea:focus,select:focus{border-color:var(--accent-border)}
a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px;}
[aria-disabled=true]{cursor:wait;opacity:.75}
.is-submitting{position:relative;box-shadow:inset 0 0 0 2px currentColor}
.is-submitting::after{content:"";display:inline-block;width:10px;height:10px;margin-inline-start:8px;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:venom-spin 700ms linear infinite}
@keyframes venom-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
  .is-submitting::after{animation:none}
}
.connection-panel{max-width:760px;min-width:0;padding:18px;border:1px solid var(--edge);border-radius:12px;background:var(--surface);margin-block:14px}
.connection-panel h2{margin:0 0 10px;font-size:1.2rem}
.connection-panel p,.connection-proof{overflow-wrap:anywhere}
.connection-proof{max-width:100%;direction:ltr;unicode-bidi:isolate;user-select:all;font-family:ui-monospace,monospace;letter-spacing:.03em}
.connection-panel input{max-width:100%;min-width:0}
.connection-panel .form-actions{align-items:center}
@media(max-width:700px){
  .connection-panel{padding:13px}
  .connection-proof{font-size:.82rem}
  .connection-panel button{min-height:42px}
}
.account-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.account-panel{border:1px solid var(--edge);background:var(--surface);border-radius:12px;padding:18px;min-width:0}
.account-panel h2{font-size:1rem;margin:0 0 14px}
.account-links{display:grid;gap:12px}
.account-links>a:not(.button){min-height:32px;color:var(--text)}
.detail-overview{gap:28px;padding:28px}
.detail-copy .detail-price{display:flex;align-items:baseline;gap:12px;margin:18px 0}
.detail-copy .detail-price strong{font-size:2.35rem;letter-spacing:-.035em;line-height:1.15}
.detail-copy .purchase-actions{padding:16px 0;gap:10px}
.detail-copy .purchase-actions button{min-height:48px;box-shadow:none}
.detail-copy .purchase-actions label{margin:0;font-size:.76rem}
.detail-copy .purchase-actions input{max-width:72px;min-height:44px}
.description-section{padding:12px 0}
.description-section+ .description-section{border-top:1px solid var(--separator)}
.direct-payment-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:20px 0}
.direct-payment-options>form{display:grid;align-content:start;gap:12px;border:1px solid var(--edge);border-radius:12px;background:var(--surface);padding:18px}
.direct-payment-options button{min-height:48px}
.direct-payment-options select{width:100%;max-width:100%}
@media(max-width:700px){
  .account-hub{grid-template-columns:1fr;gap:10px}
  .account-panel{padding:16px}
  .account-links>a:not(.button){min-height:40px;display:flex;align-items:center}
  .detail-overview{grid-template-columns:1fr;padding:14px;gap:16px}
  .detail-overview .detail-square{width:76px;min-height:0}
  .detail-overview .detail-square img{width:100%}
  .detail-copy .purchase-actions{display:grid;grid-template-columns:72px 1fr}
  .detail-copy .purchase-actions .secondary{grid-column:1/-1}
  .detail-copy .detail-price strong{font-size:1.8rem}
}

/* Three monochrome themes. Contrast, type and surface depth establish hierarchy;
   identity artwork is never recolored. Legacy token names remain neutral aliases. */
:root{color-scheme:dark;--bg:#000;--surface:#0c0c0c;--surface-raised:#191919;--text:#fff;--muted:#b8b8b8;--heading:var(--text);--price:var(--text);--panel:var(--surface);--panel2:var(--surface-raised);--row-bg:var(--surface);--header-bg:var(--surface);--rail-bg:var(--surface);--input-bg:var(--surface-raised);--edge:#727272;--control-border:var(--edge);--separator:#292929;--line:var(--separator);--brand:#fff;--brand-strong:#fff;--brand-hover:#e8e8e8;--brand-pressed:#d0d0d0;--green:var(--text);--accent:var(--text);--control-bg:var(--brand-strong);--control-text:#000;--control-hover-text:#000;--control-pressed-text:#000;--accent-border:var(--text);--focus-ring:var(--text);--category-active-bg:#242424;--category-active-text:var(--text);--accent-selected-text:var(--text);--ghost-bg:var(--category-active-bg);--ghost-text:var(--text);--catalog-availability:var(--text);--success:var(--text);--warning:#ffc96b;--danger:#ff939d;--gold:var(--muted);--motion-fast:120ms;--motion-normal:180ms}
/* Shared rhythm: a section gets space, a row gets alignment, not another box. */
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-10:40px;--radius-control:8px;--radius-card:12px;--page-gutter:24px;--font-caption:.78rem;--font-control:.85rem;--font-product:.96rem}
:root[data-theme=grey]{color-scheme:dark;--bg:#181818;--surface:#222;--surface-raised:#303030;--text:#fff;--muted:#c7c7c7;--edge:#8a8a8a;--separator:#424242;--category-active-bg:#3b3b3b}
:root[data-theme=white]{color-scheme:light;--bg:#fff;--surface:#f6f6f6;--surface-raised:#eaeaea;--text:#000;--muted:#505050;--edge:#747474;--separator:#d3d3d3;--brand:#000;--brand-strong:#000;--brand-hover:#171717;--brand-pressed:#2b2b2b;--control-text:#fff;--control-hover-text:#fff;--control-pressed-text:#fff;--category-active-bg:#e0e0e0;--warning:#7d4b02;--danger:#a51c34}
:root[data-theme=black]{color-scheme:dark}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}
main{max-width:1464px;min-height:65vh;margin:auto;padding:0 var(--page-gutter) 20px}
main:focus{outline:0}
.skip-link{position:fixed;inset-block-start:8px;inset-inline-start:var(--page-gutter);z-index:110;display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:var(--radius-control);background:var(--control-bg);color:var(--control-text);font-weight:700;transform:translateY(calc(-100% - 16px))}
.skip-link:focus{transform:none;outline:3px solid var(--focus-ring);outline-offset:3px}
button,input,select,textarea{font:inherit}
button,.button{cursor:pointer;border:0;border-radius:8px;padding:11px 18px;background:var(--control-bg);color:var(--control-text);font-weight:800;text-shadow:none;box-shadow:none;transition:background-color var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast)}
.button{display:inline-block;margin-top:20px}
button:hover,.button:hover{background:var(--brand-hover);color:var(--control-hover-text);filter:none}
button:active,.button:active{background:var(--brand-pressed);color:var(--control-pressed-text)}
button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
.secondary,.detail-copy .purchase-actions .secondary{background:var(--surface-raised);color:var(--text);border:1px solid var(--control-border)}
.secondary:hover,.detail-copy .purchase-actions .secondary:hover{background:var(--ghost-bg);color:var(--ghost-text);border-color:var(--accent-border)}
.secondary:active,.detail-copy .purchase-actions .secondary:active{background:var(--surface-raised);color:var(--text)}
button:disabled,[aria-disabled=true]{cursor:not-allowed;opacity:.75}
.is-submitting{cursor:wait}
[hidden]{display:none!important}
.stock.available{color:var(--catalog-availability)}

/* Global commerce header: search takes the available space; utilities stay quiet. */
.site-header{position:sticky;top:0;z-index:40;display:grid;grid-template-columns:auto minmax(200px,1fr) auto;align-items:center;gap:24px;min-height:76px;padding:14px max(24px,calc((100vw - 1416px)/2));background:var(--header-bg);border-bottom:1px solid var(--separator);transition:transform var(--motion-normal) cubic-bezier(.2,.8,.2,1)}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:.85rem;font-weight:800;letter-spacing:.075em;white-space:nowrap;color:var(--text)}
.brand img{width:44px;height:44px;object-fit:contain;border-radius:10px}
.brand span,.brand strong{color:var(--text)}
.header-search{display:flex;align-items:center;min-width:0;width:100%;max-width:760px;margin:0;border:1px solid var(--control-border);border-radius:10px;background:var(--input-bg)}
.header-search:focus-within{border-color:var(--accent-border)}
.header-search:has(input:focus-visible){outline:3px solid var(--focus-ring);outline-offset:3px}
.header-search input{width:100%;min-width:0;min-height:44px;padding:10px 14px;border:0;border-radius:10px;background:transparent;color:var(--text);font-size:.9rem;outline:0}
.header-search input::placeholder{color:var(--muted);opacity:1}
.header-search button{display:grid;place-items:center;flex:none;width:44px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text)}
.header-search button:hover,.header-search button:focus-visible{background:var(--ghost-bg);color:var(--ghost-text)}
.header-search svg,.header-actions svg{width:21px;height:21px;flex:none}
.header-actions{display:flex;align-items:center;gap:6px;min-width:0}
.header-actions>a,.header-actions>button,.business-menu>summary,.account-menu>summary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text);font-size:.82rem;font-weight:650;white-space:nowrap}
.header-actions>a:hover,.header-actions>button:hover,.business-menu>summary:hover,.account-menu>summary:hover{background:var(--ghost-bg);color:var(--ghost-text)}
.header-actions .header-utility{color:var(--muted);font-size:.78rem}
.business-menu,.account-menu{position:relative;border:0;margin:0;padding:0;background:transparent}
.business-menu>summary,.account-menu>summary{list-style:none;cursor:pointer}
.business-menu>summary::-webkit-details-marker,.account-menu>summary::-webkit-details-marker{display:none}
.business-menu>summary svg{width:15px;height:15px}
.business-menu>nav,.account-menu>nav{position:absolute;inset-inline-end:0;top:calc(100% + 10px);z-index:80;width:260px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);overflow-y:auto;padding:8px;border:1px solid var(--control-border);border-radius:12px;background:var(--surface);box-shadow:0 18px 48px #0004}
.business-menu[open]>nav,.account-menu[open]>nav{display:grid;gap:2px;animation:control-enter var(--motion-normal) ease-out}
.business-menu nav>a,.account-menu nav>a,.account-menu nav>button{display:flex;align-items:center;gap:11px;min-height:44px;padding:9px 12px;border:0;border-radius:6px;background:transparent;color:var(--text);font-size:.85rem;font-weight:500;text-align:start;white-space:normal;transition:background-color var(--motion-fast),color var(--motion-fast)}
.account-menu nav svg{width:19px;height:19px;flex:none;color:var(--muted)}
.account-menu nav span{min-width:0;overflow-wrap:anywhere}
.business-menu nav>a:hover,.account-menu nav>a:hover,.account-menu nav>button:hover{background:var(--ghost-bg);color:var(--ghost-text)}
.account-menu .menu-account-link{font-weight:750}
.menu-section-label{margin:6px 4px 0;padding:12px 8px 4px;border-top:1px solid var(--separator);color:var(--muted);font-size:.72rem}
.account-menu{display:none}

/* One customer menu, shared by desktop and phone; logical edges support RTL. */
.main-menu-open{overflow:hidden}
.main-menu-toggle{flex:none}
.main-menu-backdrop{position:fixed;inset:0;z-index:90;background:#0009;opacity:0;transition:opacity 180ms ease-out}
.main-menu-backdrop[data-state=open]{opacity:1}
.main-menu-drawer{position:fixed;inset-block:0;inset-inline-start:0;z-index:91;width:min(420px,100vw);padding:24px;overflow:auto;overscroll-behavior:contain;background:var(--surface);color:var(--text);box-shadow:12px 0 48px #0005;transform:translateX(-100%);transition:transform 180ms cubic-bezier(.2,.8,.2,1);outline:0}
[dir=rtl] .main-menu-drawer{transform:translateX(100%);box-shadow:-12px 0 48px #0005}
.main-menu-drawer[data-state=open]{transform:translateX(0)}
.main-menu-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.main-menu-identity{display:flex;align-items:center;gap:12px;min-width:0}
.main-menu-identity>img{width:44px;height:44px;object-fit:contain;flex:none;border-radius:10px}
.main-menu-top .eyebrow{margin:0 0 4px;font-size:.65rem;letter-spacing:.12em}
.main-menu-top h2{margin:0;font-size:1.55rem;font-weight:900;letter-spacing:-.035em;overflow-wrap:anywhere}
.main-menu-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--separator);border-radius:12px;background:var(--surface-raised);color:var(--text);font-size:1.6rem}
.main-menu-description{margin:12px 0 20px;color:var(--muted);font-size:.8rem;line-height:1.5}
.main-menu-navigation{display:grid;gap:22px}
.main-menu-section h3{margin:0 0 9px;padding-inline:2px;color:var(--muted);font-size:.65rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.main-menu-links{display:grid;gap:4px;border-top:1px solid var(--separator);padding-top:7px}
.main-menu-link{display:flex;align-items:center;gap:12px;min-height:48px;min-width:0;width:100%;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:var(--text);font-size:.88rem;font-weight:750;text-align:start;line-height:1.35}
.main-menu-link>span{min-width:0;overflow-wrap:anywhere}
.main-menu-link[data-native-reader][hidden]{display:none}
.main-menu-link svg,.main-menu-link img{flex:none;width:22px;height:22px;object-fit:contain;color:var(--muted)}
.main-menu-link:hover,.main-menu-link:focus-visible{background:var(--ghost-bg);color:var(--ghost-text)}
.main-menu-link[aria-current=page]{background:var(--category-active-bg);color:var(--text);font-weight:800;box-shadow:inset 3px 0 0 var(--text)}
[dir=rtl] .main-menu-link[aria-current=page]{box-shadow:inset -3px 0 0 var(--text)}
.main-menu-featured{background:var(--category-active-bg);color:var(--text);font-weight:800}

/* Curated rail and product-free directory. Vertical wheel scrolling is native. */
.discovery-shell{position:sticky;top:var(--header-height,76px);z-index:39;background:var(--rail-bg);border-bottom:1px solid var(--separator);transition:transform var(--motion-normal) cubic-bezier(.2,.8,.2,1)}
html[data-navigation=hidden] .site-header{transform:translateY(-100%);pointer-events:none}
html[data-navigation=hidden] .discovery-shell{transform:translateY(calc(-100% - var(--header-height,76px)));pointer-events:none}
.discovery-rail{display:flex;align-items:center;gap:8px;min-width:0;max-width:1464px;min-height:58px;padding:7px 24px;margin:auto}
#explore-toggle{--directory-edge:3px;display:inline-flex;align-items:center;gap:10px;min-height:44px;white-space:nowrap;padding:9px 14px;border:1px solid var(--accent-border);border-radius:10px;background:var(--surface-raised);color:var(--accent-selected-text);font-size:.81rem;font-weight:850;letter-spacing:.015em;box-shadow:inset var(--directory-edge) 0 0 var(--accent-border),0 2px 0 var(--separator);transition:background-color var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-fast),transform var(--motion-fast)}
#explore-toggle svg{width:21px;height:21px;flex:none;stroke-width:2.15}
#explore-toggle:hover,#explore-toggle[aria-expanded=true]{background:var(--ghost-bg);color:var(--ghost-text);border-color:var(--focus-ring);box-shadow:inset var(--directory-edge) 0 0 var(--accent-border),0 3px 0 var(--separator)}
#explore-toggle:active{transform:translateY(1px);box-shadow:inset var(--directory-edge) 0 0 var(--accent-border)}
#explore-toggle:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
.family-rail{display:flex;align-items:center;gap:6px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;scroll-padding-inline:4px}
.family-rail::-webkit-scrollbar{display:none}
.family-rail a{display:inline-flex;align-items:center;gap:7px;flex:none;min-height:44px;padding:6px 10px;border:1px solid transparent;border-radius:var(--radius-control);background:transparent;color:var(--text);font-size:var(--font-control);font-weight:600;white-space:nowrap;transition:background-color var(--motion-fast),color var(--motion-fast)}
.family-rail img{width:24px;height:24px;object-fit:contain;border-radius:6px}
.rail-platform-copy{display:block}
.family-rail a:hover,.family-rail a[aria-current=page]{background:var(--ghost-bg);color:var(--ghost-text)}
.family-rail a[aria-current=page]{font-weight:800;box-shadow:inset 0 -2px 0 var(--text)}
.rail-arrow{display:grid;place-items:center;flex:none;width:36px;min-height:42px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted)}
.rail-arrow svg{width:20px;height:20px}
.rail-arrow:hover,.rail-arrow:focus-visible{background:var(--ghost-bg);color:var(--ghost-text)}
.rail-arrow:disabled{opacity:.35;cursor:default}
.explore-open{overflow:hidden}
.explore-backdrop{position:fixed;inset:0;z-index:48;background:#0009}
.explore-panel{position:fixed;z-index:49;inset-inline:max(24px,calc((100vw - 1300px)/2));top:146px;max-height:calc(100dvh - 170px);overflow:auto;padding:24px;border:1px solid var(--control-border);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 70px #0006;overscroll-behavior:contain;animation:control-enter var(--motion-normal) ease-out}
.explore-top{display:flex;justify-content:space-between;align-items:start;gap:20px}
.explore-top .eyebrow{margin:0 0 4px;letter-spacing:.13em}
.explore-top h2{font-size:clamp(1.3rem,2vw,1.75rem);font-weight:850;letter-spacing:-.025em;margin:0 0 20px}
.explore-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:1.6rem}
.explore-close:hover{background:var(--ghost-bg);color:var(--ghost-text)}
.explore-search-tools{display:flex;align-items:center;gap:16px;margin-bottom:20px}
#explore-filter{flex:1;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--control-border);border-radius:8px;background:var(--input-bg);color:var(--text)}
.explore-search-tools>a{flex:none;min-height:44px;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.8rem}
.explore-search-tools>a:hover{color:var(--green);text-decoration:underline}
.explore-groups{display:grid;gap:10px}
.explore-group{overflow:hidden;margin:0;border:1px solid var(--separator);border-radius:10px;background:var(--surface)}
.explore-group>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:12px 16px;list-style:none;cursor:pointer;color:var(--text);font-size:.9rem;font-weight:700;background:var(--surface-raised)}
.explore-group>summary::-webkit-details-marker{display:none}
.navigation-chevron{flex:none;width:18px;height:18px;color:var(--muted);transition:transform 180ms ease-out}
details[open]>summary .navigation-chevron{transform:rotate(180deg)}
.explore-category-content{padding:14px 16px 18px}
.explore-category-link{display:inline-flex;align-items:center;min-height:36px;margin-bottom:10px;font-size:.8rem;color:var(--green)}
.explore-category-link:hover{text-decoration:underline;text-underline-offset:3px}
.explore-families{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.explore-family{min-width:0;border:1px solid var(--separator);border-radius:8px;padding:14px}
.explore-family h3{margin:0 0 8px;font-size:.9rem;line-height:1.35}
.explore-family h3>a{display:flex;align-items:center;gap:8px;min-height:32px}
.explore-family h3 img{width:26px;height:26px;border-radius:6px;object-fit:contain}
.explore-subcategories{display:grid;gap:3px}
.explore-subcategories a{display:block;min-height:34px;padding:6px 8px;border-radius:5px;color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.explore-subcategories a:hover,.explore-subcategories a:focus-visible{background:var(--ghost-bg);color:var(--ghost-text)}
.explore-direct{font-size:.78rem;color:var(--muted);margin:0;line-height:1.45}

/* Platform identity > equal-weight categories > one comparison preview. */
.platform-block{margin:36px 0 0;padding:0;scroll-margin-top:var(--navigation-clearance,150px)}
.home-platform{content-visibility:auto;contain-intrinsic-size:auto 1000px}
.home-platform+.home-platform{padding-top:var(--space-8);border-top:1px solid var(--separator)}
.platform-heading{display:flex;align-items:center;gap:18px;min-height:104px;margin:0 0 18px;padding:0;border:0;background:transparent;color:var(--text);box-shadow:none}
.platform-heading>img{width:88px;height:88px;object-fit:contain;flex:none;border:0;border-radius:16px;background:transparent}
.platform-heading-copy{flex:1;min-width:0}
.platform-heading h2{font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.18;letter-spacing:-.025em;font-weight:850;margin:0 0 7px;color:var(--text);overflow-wrap:anywhere}
.platform-heading h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.platform-heading-count{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;color:var(--muted);font-size:.82rem;font-weight:400;letter-spacing:0}
.platform-heading-count strong{font-weight:700}
.home-platform-browse{min-height:44px;display:inline-flex;align-items:center;flex:none;gap:8px;color:var(--muted);font-size:.82rem}
.home-platform-browse:hover{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.home-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex:none;max-width:560px}
.home-heading-controls{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-3);min-height:44px}
.home-heading-controls .home-platform-browse{min-height:44px}
.home-promo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;flex:1}
.home-telegram-bot,.home-telegram-bulk{display:flex;align-items:center;gap:10px;min-height:60px;min-width:0;max-width:260px;padding:6px 0 6px 14px;border-inline-start:2px solid var(--separator);color:var(--text);transition:color var(--motion-fast),border-color var(--motion-fast)}
.home-telegram-bot>svg,.home-telegram-bulk>svg{flex:none;color:var(--text)}
.home-bot-copy,.home-bulk-copy{display:grid;gap:2px;min-width:0;font-size:.71rem;line-height:1.4}
.home-bot-copy strong,.home-bulk-copy strong{font-size:.8rem;font-weight:800}
.home-bot-description,.home-bulk-description{color:var(--muted)}
.home-bot-action,.home-bulk-action{color:var(--text);font-size:.7rem;font-weight:700;overflow-wrap:anywhere}
.home-telegram-bot:hover,.home-telegram-bulk:hover{border-color:var(--focus-ring);color:var(--ghost-text)}
.home-telegram-bot:focus-visible,.home-telegram-bulk:focus-visible{outline:3px solid var(--focus-ring);outline-offset:5px;border-radius:4px}
.home-category-navigator{display:flex;align-items:stretch;gap:var(--space-2);margin-bottom:var(--space-2);overflow-x:auto;padding:4px 4px 8px;scrollbar-width:none;scroll-padding-inline:4px;scroll-margin-top:var(--navigation-clearance,150px);overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;mask-image:linear-gradient(to right,#000 calc(100% - 12px),transparent)}
.home-category-navigator::-webkit-scrollbar{display:none}
.home-category-choice{flex:0 0 264px;width:264px;min-width:264px;height:144px;padding:12px 14px;display:grid;grid-template-rows:22px minmax(0,1fr) 38px;align-content:start;gap:6px;background:var(--surface);color:var(--text);border:1px solid var(--separator);border-radius:var(--radius-card);font-weight:500;text-align:start;transition:background-color var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-fast),transform var(--motion-fast)}
.home-category-choice:hover,.home-category-choice:focus-visible{background:var(--ghost-bg);color:var(--text);border-color:var(--accent-border);box-shadow:0 2px 0 var(--separator)}
.home-category-choice:active{transform:translateY(1px)}
.home-category-choice:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}
.home-category-choice[aria-pressed=true],.home-category-choice[aria-current=true]{border-color:var(--accent-border);background:var(--category-active-bg);color:var(--text);box-shadow:inset 0 3px 0 var(--accent-border)}
.home-category-choice .category-kicker{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.72rem;font-weight:700;line-height:1.25;letter-spacing:.035em;text-transform:uppercase}
.home-category-choice .category-kicker img{flex:none;width:22px;height:22px;object-fit:contain;border-radius:5px}
.home-category-choice[aria-pressed=true] .category-kicker,.home-category-choice[aria-current=true] .category-kicker{color:var(--accent-selected-text)}
.home-category-choice .category-name{font-size:.94rem;line-height:1.35;font-weight:800;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.home-category-choice .category-facts{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:18px 18px;gap:2px 8px;margin-top:0;padding-top:0;font-size:.76rem;font-weight:550;line-height:1.35;color:var(--muted);font-variant-numeric:tabular-nums}
.home-category-choice .category-products{grid-column:1;white-space:nowrap}
.home-category-choice .category-stock{grid-column:2;text-align:end;white-space:nowrap;font-size:.74rem}
.home-category-choice .category-from{grid-column:1/-1;grid-row:2;font-size:.8rem;font-weight:700;color:var(--text)}
.home-category-fallback{display:flex;flex-wrap:wrap;gap:8px}
.home-category-fallback a{padding:10px 12px;border:1px solid var(--control-border);border-radius:8px;font-size:.8rem}
.home-preview-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:12px;min-height:44px}
:root{--marketplace-logo-platform:80px;--marketplace-logo-category:48px;--marketplace-logo-product:32px}
.marketplace-category-identity{display:flex;align-items:center;gap:10px;min-width:0}
.marketplace-category-logo{flex:none;width:var(--marketplace-logo-category);height:var(--marketplace-logo-category);aspect-ratio:1;object-fit:contain;border-radius:8px}
.marketplace-category-identity .category-kicker{display:block;margin-bottom:4px;color:var(--muted);font-size:.62rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
.category-header-description{margin:5px 0 0;color:var(--muted);font-size:.72rem;line-height:1.45;max-width:58ch}
.marketplace-category-summary{display:grid;gap:3px;color:var(--muted);font-size:.72rem;line-height:1.4;text-align:end}
.home-preview-from{font-weight:650;color:var(--text)}
.home-preview-title{margin:0;min-width:0;font-size:1.05rem;line-height:1.35;font-weight:650;overflow-wrap:anywhere}
.home-preview-count{color:var(--muted);font-size:.76rem;flex:none}
.home-view-all{display:flex;align-items:center;justify-content:center;width:fit-content;min-height:44px;gap:8px;padding:9px 14px;margin:12px auto 0;border:1px solid var(--control-border);border-radius:8px;background:var(--surface);color:var(--text);font-size:.8rem;font-weight:750;line-height:1.4;text-decoration:none;transition:background-color var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}
.home-view-all:hover{background:var(--ghost-bg);color:var(--accent-selected-text);border-color:var(--accent-border);text-decoration:none}
.home-view-all:active{transform:translateY(1px)}
.home-preview-heading,.home-category-preview{scroll-margin-top:var(--navigation-clearance,156px)}
.home-preview-tools{display:flex;align-items:center;gap:8px;flex:none}
.home-price-sort{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:var(--radius-control);background:transparent;color:var(--muted);font-size:var(--font-control);font-weight:650;white-space:nowrap;transition:background-color var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast)}
.home-price-sort:hover,.home-price-sort:focus-visible{background:var(--ghost-bg);color:var(--ghost-text);border-color:var(--accent-border)}
.home-price-sort .home-sort-icon{width:16px;height:16px;flex:none;transition:transform var(--motion-fast)}
.home-price-sort[data-sort-direction=desc] .home-sort-icon{transform:rotate(180deg)}
.home-category-pagination{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.home-category-pagination button{display:grid;align-content:start;gap:4px;min-width:0;min-height:54px;padding:8px 0;border:0;border-radius:6px;background:transparent;color:var(--text);font-size:.82rem;font-weight:650;text-align:start}
.home-category-pagination .home-category-next{text-align:end}
.home-category-pagination button:hover:not(:disabled){background:var(--ghost-bg);color:var(--ghost-text)}
.home-category-pagination button:disabled{opacity:.4;cursor:default}
.category-pagination-label{font-size:.68rem;font-weight:500;color:var(--muted)}
.category-pagination-name{font-weight:650;overflow-wrap:anywhere}
.home-category-feedback{margin:12px 0;color:var(--muted);font-size:.8rem;line-height:1.45}
.product-list{display:grid;gap:0}
.product-list[data-updating]{animation:comparison-update var(--motion-normal) ease-out}
@keyframes comparison-update{from{opacity:.78;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}
@keyframes control-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.product-row{display:grid;grid-template-columns:var(--marketplace-logo-product) minmax(0,1fr) minmax(230px,260px);align-items:center;gap:20px;min-height:80px;padding:12px 4px;border:0;border-bottom:1px solid var(--separator);border-radius:0;background:transparent;color:var(--text);box-shadow:none;transition:background-color var(--motion-fast)}
.product-row:hover{background:var(--surface-raised);transform:none}
.product-list>.product-row:last-of-type{border-bottom:0}
.product-row.product-row--last-visible{border-bottom:0}
.product-row:active{background:var(--ghost-bg)}
.product-row:focus-visible{outline-offset:0;background:var(--surface-raised)}
.product-visual{display:grid;place-items:center;width:var(--marketplace-logo-product);height:var(--marketplace-logo-product);aspect-ratio:1;border-radius:7px;overflow:hidden;background:transparent}
.product-visual img{width:100%;height:100%;object-fit:contain}
.product-visual .identity-placeholder{font-size:1.2rem;color:var(--muted)}
.product-summary{display:block;min-width:0}
.product-key-facts{display:block;margin-top:4px;color:var(--muted);font-size:var(--font-caption);line-height:1.5;overflow-wrap:anywhere}
.reference-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.copy-control{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:36px;padding:7px;border:0;background:transparent;color:var(--muted);vertical-align:middle;transition:color var(--motion-fast),background-color var(--motion-fast)}
.copy-control:hover,.copy-control[data-copy-state=copied]{color:var(--accent-selected-text);background:var(--ghost-bg)}
.copy-control[data-copy-state=failed]{color:var(--warning)}
.copy-feedback:not(:empty){position:absolute;bottom:calc(100% + 4px);inset-inline-start:0;z-index:5;padding:5px 8px;border-radius:6px;background:var(--surface-raised);color:var(--text);font-size:.72rem;white-space:nowrap;box-shadow:0 3px 12px #0003;animation:control-enter var(--motion-fast) ease-out}
.browsing-context{--dock-gutter:max(16px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));position:fixed;inset-inline:var(--dock-gutter);inset-block-end:max(14px,env(safe-area-inset-bottom,0px));z-index:35;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:0;width:max-content;max-width:min(560px,calc(100% - 2 * var(--dock-gutter)));margin:auto;padding:6px;border:1px solid var(--edge);border-radius:14px;background:var(--surface-raised);color:var(--text);box-shadow:0 10px 30px #0006;transition:opacity 160ms ease,transform 160ms ease,visibility 0s}
.browsing-context[data-presence="footer"]{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px);transition-delay:0s,0s,160ms}
@starting-style{.browsing-context[data-presence="visible"]{opacity:0;transform:translateY(6px)}}
.browsing-context__label{position:relative;display:grid;align-content:center;gap:2px;min-width:0;max-width:270px;min-height:46px;padding-block:5px;padding-inline:12px 30px;border:0;border-radius:10px;background:transparent;color:var(--text);text-align:start;cursor:pointer;transition:background-color 180ms ease}
.browsing-context__label::after{content:"↑";position:absolute;inset-inline-end:11px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:1rem;font-weight:850}
.browsing-context__label:hover,.browsing-context__label:focus-visible{background:var(--ghost-bg)}
.browsing-context__label:hover::after,.browsing-context__label:focus-visible::after{color:var(--text)}
.browsing-context__label:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.browsing-context__primary{min-width:0;font-size:.87rem;font-weight:850;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.browsing-context__secondary{min-width:0;color:var(--muted);font-size:.72rem;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.browsing-context__actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:center;gap:5px;min-width:0}
.browsing-context__action{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:46px;padding:8px 13px;border:1px solid var(--separator);border-radius:10px;background:var(--surface);color:var(--text);font-size:.79rem;font-weight:800;line-height:1.35;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto;text-wrap:balance;cursor:pointer;touch-action:manipulation;transition:background-color 120ms ease,border-color 120ms ease}
.browsing-context__action:hover,.browsing-context__action:focus-visible{background:var(--ghost-bg);border-color:var(--focus-ring);color:var(--text)}
.browsing-context__action:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.browsing-context[data-dock-state="countries"] [data-action="countries"],.browsing-context[data-dock-state="categories"] [data-action="categories"]{background:var(--category-active-bg);border-color:var(--accent-border);color:var(--accent-selected-text)}
/* The selected destination is not communicated by colour alone. The inset
   marker does not resize controls or move the user's next touch target. */
.browsing-context[data-dock-state="countries"] [data-action="countries"],.browsing-context[data-dock-state="categories"] [data-action="categories"],.browsing-context[data-dock-state="search"] [data-action="search"],.browsing-context__action[aria-current="location"]{background:var(--category-active-bg);border-color:var(--accent-border);color:var(--accent-selected-text);box-shadow:inset 0 -2px 0 var(--accent-selected-text)}
.browsing-context__action:active{background:var(--category-active-bg);color:var(--accent-selected-text);border-color:var(--accent-border)}
.browsing-context__action[aria-disabled=true]{cursor:not-allowed;background:var(--surface);border-color:var(--separator);color:var(--muted);box-shadow:none;opacity:1}
.product-title{display:block;font-size:1.03rem;font-weight:750;line-height:1.5;overflow-wrap:anywhere;color:var(--text)}
.country-flag{display:inline-block;width:24px;height:18px;object-fit:contain;vertical-align:-2px;border-radius:2px;unicode-bidi:isolate;direction:ltr}
.product-meta{display:grid;gap:4px;font-size:var(--font-caption);line-height:1.45;color:var(--muted);min-width:0;font-variant-numeric:tabular-nums}
.product-purchase-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(92px,auto);align-items:center;gap:20px;min-width:0}
.product-meta .stock{font-size:inherit;font-weight:600;letter-spacing:0;text-transform:none}
.product-end{display:grid;justify-items:end;gap:6px;text-align:end;min-width:0}
.price-stack{display:grid;justify-items:end;line-height:1.25;unicode-bidi:isolate;direction:ltr}
.price-stack strong{font-size:1.24rem;font-weight:850;letter-spacing:-.025em;white-space:normal;overflow-wrap:anywhere;color:var(--price);font-variant-numeric:tabular-nums}
.row-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 0;background:transparent;color:var(--muted);border:0;border-radius:4px;font-size:.76rem;font-weight:500;white-space:nowrap}
.product-row:hover .row-action,.row-action:hover{background:transparent;color:var(--green);text-decoration:underline;text-underline-offset:3px}
.section-more,.view-more{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;width:auto;max-width:100%;margin-top:14px;padding:9px 14px;background:transparent;color:var(--green);border:1px solid var(--control-border);border-radius:8px;font-size:.82rem;font-weight:600;white-space:normal}
.section-more:hover,.view-more:hover{background:var(--ghost-bg);color:var(--ghost-text);border-color:var(--accent-border)}
.feed-more-wrap{display:flex;justify-content:center;padding:28px 0}
.feed-more{min-height:44px;width:min(100%,440px)}
/* One platform introduction, shared category cards, then continuous inventory. */
.platform-introduction{padding:12px 0 0;border:0;border-radius:0;background:transparent;margin-bottom:8px}
.telegram-introduction{border:0;background:transparent;padding:12px 0 0;margin-bottom:8px}
.telegram-introduction .platform-page-head{flex-direction:row;align-items:center}
.telegram-introduction .platform-page-head>img{flex:none;object-fit:contain;border-radius:14px;width:var(--marketplace-logo-platform);height:var(--marketplace-logo-platform)}
.telegram-intro-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.2fr);align-items:center;gap:28px}
.telegram-intro-row .platform-page-head{min-width:0;margin-bottom:0}
.customer-promo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-self:center;gap:0;min-width:0}
.customer-promo-pair>.marketplace-bulk{width:100%;max-width:none;min-width:0;min-height:72px;margin:0;padding:10px 16px;box-sizing:border-box;align-self:stretch;align-content:center;border:0;border-inline-start:1px solid var(--separator);border-radius:0;background:transparent}
.customer-promo-pair .bulk-copy strong{font-size:.82rem;font-weight:750;line-height:1.4}
.customer-promo-pair .bulk-copy>span{font-size:.73rem;line-height:1.5;color:var(--muted)}
.customer-promo-pair .bulk-action{font-size:.73rem;font-weight:650;line-height:1.5}
.customer-promo-pair>.marketplace-bulk:hover{background:var(--surface);border-color:var(--separator)}
.telegram-total{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:.82rem;margin-top:12px}
.telegram-search{margin-block:20px 18px;width:100%;max-width:none}
.telegram-search>label{display:block;font-weight:700;margin-bottom:9px}
.telegram-search>div{display:flex;gap:8px}
.telegram-search input{flex:1;min-width:0;min-height:48px;background:var(--surface);border:1px solid var(--separator);border-radius:12px;padding:12px 14px;color:var(--text)}
.telegram-search input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.telegram-search>div{position:relative}
.telegram-enhanced .telegram-search input{padding-inline-end:48px}
.telegram-clear{position:absolute;inset-inline-end:4px;inset-block-start:4px;width:40px;min-height:40px;padding:0;border:0;background:transparent;color:var(--muted);font-size:1.35rem}
.telegram-results .home-preview-heading{align-items:center;gap:12px;margin-block:12px 8px}
.telegram-result-context{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;margin:0 0 4px}
.telegram-result-context .telegram-total{margin:0}
.telegram-continuation-sentinel{display:block;height:1px}
.telegram-auto-scroll .telegram-load-more{display:none}
.telegram-results .home-preview-heading p{margin:8px 0;color:var(--muted);font-size:.8rem}
.telegram-results h2{font-size:1.2rem;line-height:1.35;margin:0;overflow-wrap:anywhere}
.telegram-sort{display:flex;align-items:center;gap:6px;margin:0;flex:none;max-width:46%}
.telegram-sort .marketplace-sort-cycle{max-width:100%;font-size:.76rem}
.marketplace-sort-cycle [data-sort-cycle-label]{min-width:0;white-space:normal;line-height:1.35}
.telegram-availability{margin:0 0 8px;font-size:.73rem}
.marketplace-bulk{display:flex;align-items:center;gap:12px;max-width:880px;padding:13px 15px;margin:12px 0 20px;border:1px solid var(--accent-border);border-radius:12px;background:var(--surface-raised);color:var(--muted);font-size:.76rem;line-height:1.5;transition:background-color var(--motion-fast),border-color var(--motion-fast)}
.marketplace-bulk>svg{flex:none;color:var(--accent-selected-text)}
.bulk-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.bulk-copy strong{font-size:.88rem;color:var(--text);font-weight:850}
.bulk-action{font-size:.75rem;font-weight:700;color:var(--accent-selected-text)}
.marketplace-bulk:hover{background:var(--ghost-bg);border-color:var(--accent)}
.marketplace-bulk:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.telegram-bulk--compact{flex:0 1 420px;margin:0;padding:10px 12px;display:grid;grid-template-columns:22px minmax(0,1fr);gap:2px 10px;max-width:440px;border-color:var(--separator);font-size:.71rem;line-height:1.4}
.telegram-bulk--compact>svg{grid-row:1/3;align-self:center}
.telegram-bulk--compact .bulk-copy strong{font-size:.8rem}
.telegram-bulk--compact .bulk-action{grid-column:2;font-size:.7rem}
.product-contact .customer-promo-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.product-contact .customer-promo-pair>.marketplace-bulk{min-height:72px}
.product-information-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 22px;margin:16px 0}
.product-information-facts div{min-width:0}
.product-information-facts dt{color:var(--muted);font-size:.8rem;margin-bottom:4px}
.product-information-facts dd{margin:0;font-weight:650}
.description-section{margin-block:0 26px}
.description-section:last-child{margin-bottom:0}
.description-section>div{white-space:pre-line;overflow-wrap:anywhere}
.related-sort{align-self:flex-end}
.home-category-choice .category-kicker{display:flex;align-items:center;gap:7px}
.category-kicker img{flex:none;object-fit:contain;border-radius:4px}
.category-stock{color:var(--muted);font-size:.71rem;line-height:1.35;font-weight:600}
.telegram-product-list{overflow-anchor:none}
.telegram-load-navigation{display:flex;flex-direction:column;align-items:center;gap:9px;padding-block:20px}
.telegram-load-more{width:min(100%,360px);justify-content:center;gap:14px}
.telegram-shown,.telegram-feedback{color:var(--muted);font-size:.76rem;line-height:1.5}
.telegram-earlier{display:inline-flex;align-items:center;min-height:44px;color:var(--accent-selected-text);font-size:.78rem}
.telegram-category-pagination a{display:grid;gap:5px;min-height:58px;padding-block:8px;font-size:.76rem;border-radius:6px}
.telegram-category-pagination a:last-child{text-align:end}
.telegram-category-pagination a>span{color:var(--muted);font-size:.69rem}
.telegram-category-pagination a:hover{color:var(--accent-selected-text)}
.telegram-explore-end{margin-top:24px;padding-top:20px;border-top:1px solid var(--separator)}
.telegram-explore-end h3,.telegram-related-categories h2{font-size:1.05rem;line-height:1.4;margin:0 0 14px}
.telegram-related-categories{margin-top:28px}
.telegram-native-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:.8rem;margin-block:12px 20px}
.telegram-native-nav>span{color:var(--muted)}
.telegram-native-nav>a{font-weight:600}
.telegram-wallet{margin:18px 0;padding-block:12px;border-block:1px solid var(--separator);font-size:.86rem}
.telegram-wallet>strong{margin-inline-start:12px}
.telegram-wallet>p{color:var(--muted);line-height:1.5;font-size:.78rem;margin:8px 0 0}
.platform-page-head{display:flex;align-items:center;gap:var(--space-4);padding:0;border:0;scroll-margin-top:var(--navigation-clearance,150px)}
.platform-page-head>div{min-width:0}
.platform-page-head .platform-hero-square{width:80px;height:80px;flex:none;object-fit:contain;border-radius:var(--radius-card)}
.platform-page-head .eyebrow{margin:0 0 6px;letter-spacing:.12em}
.platform-page-head h1{font-size:clamp(1.65rem,2.7vw,2.5rem);font-weight:850;letter-spacing:-.03em;line-height:1.15;margin:0 0 8px;overflow-wrap:anywhere}
.platform-page-count{font-size:.8rem;font-weight:650;color:var(--muted);margin:0 0 8px}
.platform-page-count>span{padding-inline:5px}
.platform-page-head p:last-child{margin:0;color:var(--muted);font-size:.84rem;line-height:1.55}
.platform-sort{display:grid;grid-template-columns:minmax(130px,230px) minmax(100px,max-content) max-content;align-items:center;gap:12px;flex-wrap:nowrap;margin:20px 0 16px;min-width:0}
.platform-sort select{width:100%;min-width:0;min-height:44px;font-size:var(--font-control);padding:8px 10px;border-color:var(--control-border)}
.platform-sort .filter-switch{min-width:0;gap:6px;font-size:.77rem;line-height:1.25}
.platform-sort .filter-switch input{flex:none;width:17px;height:17px;margin:0}
.platform-sort button{min-height:44px;padding:8px 12px;font-size:var(--font-control)}
.platform-browse-toolbar,.platform-browse-toolbar.platform-sort{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:8px 0 12px}
.platform-browse-toolbar .telegram-result-context{margin:0;min-height:44px}
.platform-browse-toolbar .telegram-sort{max-width:none}
.platform-browse-toolbar .marketplace-sort-cycle,.platform-browse-toolbar .home-price-sort{min-height:44px;padding:8px 10px;font-size:var(--font-control);font-weight:750;border-color:var(--control-border);background:var(--surface);color:var(--text)}
.platform-browse-toolbar [data-sort-direction=desc] svg{transform:rotate(180deg)}
.marketplace-stock-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:8px 0;color:var(--text);font-size:var(--font-control);font-weight:650;letter-spacing:0;text-transform:none;cursor:pointer}
.platform-browse-toolbar .marketplace-stock-toggle input{position:relative;appearance:none;-webkit-appearance:none;flex:none;width:36px;height:22px;min-height:22px;margin:0;padding:0;border:1px solid var(--control-border);border-radius:999px;background:var(--surface-raised);cursor:pointer;transition:background-color var(--motion-fast),border-color var(--motion-fast)}
.platform-browse-toolbar .marketplace-stock-toggle input::before{content:"";position:absolute;inset-block-start:3px;inset-inline-start:3px;width:14px;height:14px;border-radius:50%;background:var(--muted);transition:transform var(--motion-fast)}
.platform-browse-toolbar .marketplace-stock-toggle input:checked{background:var(--control-bg);border-color:var(--accent-border)}
.platform-browse-toolbar .marketplace-stock-toggle input:checked::before{background:var(--control-text);transform:translateX(14px)}
[dir=rtl] .platform-browse-toolbar .marketplace-stock-toggle input:checked::before{transform:translateX(-14px)}
.platform-enhanced .platform-category-head{display:none}
.platform-enhanced .platform-category{margin:0;padding:0}
.platform-enhanced .platform-search input{padding-inline-end:48px}
.platform-search-results{scroll-margin-top:var(--navigation-clearance,150px)}
.telegram-search,.telegram-workspace-heading,.platform-category-head,.site-footer{scroll-margin-block-start:var(--navigation-clearance,150px)}
.catalog-earlier-sentinel,.catalog-next-sentinel{display:block;height:1px}
.platform-category-pagination a{display:grid;gap:5px;min-height:54px;line-height:1.45;color:var(--text);padding:8px 0;font-size:var(--font-control)}
.platform-category-pagination a:last-child{text-align:end}
.platform-category-pagination a>span{font-size:var(--font-caption);color:var(--muted)}
.platform-category-pagination a:hover{color:var(--accent-selected-text)}
.platform-journey-end .telegram-explore-end{margin-top:20px;padding-top:20px;border-top:0}
.telegram-explore-end h2{font-size:1.2rem;line-height:1.4;margin:0 0 12px}
.platform-recommendation .related-heading{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.product-contact{margin-top:20px}
.platform-jump.home-category-navigator{position:static;z-index:auto;top:auto;margin:0;padding-bottom:3px;background:transparent;border:0}
.platform-category{margin:0 0 36px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;scroll-margin-top:var(--navigation-clearance,150px)}
.platform-category+.platform-category{padding-top:12px;border:0}
main>.platform-category:last-child{margin-bottom:0}
.platform-category-head{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:var(--space-4);margin:0 0 8px;padding:16px 4px 12px;background:transparent;border:0;border-block-start:1px solid var(--separator);border-radius:0}
.platform-category-head--opening{padding-top:4px;border-block-start:0}
.marketplace-sort-cycle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;max-width:100%;background:transparent;color:var(--text);border:1px solid var(--control-border);border-radius:8px}
.marketplace-sort-cycle span{min-width:0;white-space:normal;text-align:start;line-height:1.35}
.marketplace-sort-cycle svg{flex:none}
.category-chapter-copy{display:grid;gap:6px;min-width:0}
.category-chapter-copy>.eyebrow{margin:0;font-size:.61rem;letter-spacing:.08em}
.platform-category-head h2{margin:0;font-size:1.08rem;line-height:1.4;font-weight:700;overflow-wrap:anywhere;color:var(--text)}
.category-chapter-description{margin:0;font-size:.78rem;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.platform-category-head .category-facts{gap:4px 12px;font-size:var(--font-caption);flex-wrap:wrap;font-variant-numeric:tabular-nums}
.platform-category .product-list{padding-inline:0}
/* Full titles make row heights variable. Keep real layout sizes so native
   category anchors and Back/Forward never land on estimated offscreen heights. */
.platform-category-head>a{display:grid;place-items:center;width:44px;min-height:44px;flex:none;color:var(--muted);border-radius:var(--radius-control);transition:background-color var(--motion-fast),color var(--motion-fast)}
.platform-category-head>a:hover{background:var(--ghost-bg);color:var(--ghost-text)}
.platform-category-head>a svg{width:18px;height:18px}
.related-products{margin:var(--space-10) 0 0;padding:var(--space-6) 0 0;border-top:1px solid var(--separator)}
.related-heading{display:flex;flex-direction:column;align-items:start;gap:6px;padding:0 0 16px}
.related-heading h2{margin:0;font-size:1.35rem;font-weight:850;letter-spacing:-.025em}
.related-heading p{margin:0;font-size:.82rem;color:var(--muted);line-height:1.5}
/* Footer: visible essential routes, secondary groups, then device preferences. */
.site-footer{display:block;margin:16px 0 0;padding:40px max(24px,calc((100vw - 1416px)/2)) 18px;border-top:1px solid var(--separator);background:var(--surface);color:var(--muted);font-size:.82rem}
.footer-main{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2.6fr);gap:52px;padding-bottom:30px}
.footer-top{display:grid;align-content:start;gap:18px;min-width:0;max-width:340px}
.footer-brand{display:flex;align-items:center;gap:12px;max-width:340px}
.footer-brand img{width:48px;height:48px;flex:none;object-fit:contain;border-radius:11px}
.footer-brand strong{color:var(--text);font-size:1.1rem;font-weight:850;letter-spacing:.06em}
.footer-brand p{font-size:.74rem;line-height:1.5;margin:5px 0 0;color:var(--muted)}
.footer-essential{display:flex;flex-wrap:wrap;gap:4px 20px}
.footer-essential a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--text);font-size:var(--font-control);font-weight:550}
.footer-essential svg{width:16px;height:16px;flex:none;color:var(--muted)}
.footer-support{display:flex;align-items:center;gap:10px;min-height:62px;padding:11px 12px;border:0;border-radius:10px;background:var(--surface-raised);transition:background-color var(--motion-fast),transform var(--motion-fast)}
.footer-support>span{display:grid;gap:4px;min-width:0;flex:1}
.footer-support strong{color:var(--text);font-size:.79rem;font-weight:650}
.footer-support span span{color:var(--muted);font-size:.7rem;line-height:1.35}
.footer-support svg{width:20px;height:20px;color:var(--accent-selected-text);flex:none}
.footer-support>svg:last-child{width:16px;height:16px;color:var(--muted)}
.footer-support:hover{border-color:var(--accent-border);background:var(--ghost-bg)}
.footer-promotion-pair{display:grid;gap:8px;min-width:0}
.footer-app,.main-menu-app{display:flex;align-items:center;gap:12px;min-height:62px;min-width:0;padding:11px 12px;border:1px solid var(--separator);border-radius:10px;background:var(--surface-raised);color:var(--text);text-align:start;text-decoration:none;transition:background-color var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}
.footer-app>svg,.main-menu-app>svg{width:24px;height:24px;flex:none}
.footer-app>svg:last-child,.main-menu-app>svg:last-child{width:17px;height:17px}
.footer-app>span,.main-menu-app>span{display:grid;gap:4px;flex:1;min-width:0}
.footer-app strong,.main-menu-app strong{font-size:.83rem;font-weight:900;line-height:1.35;overflow-wrap:anywhere}
.footer-app span span,.main-menu-app span span{font-size:.72rem;line-height:1.4;opacity:.8;overflow-wrap:anywhere}
.main-menu-app{margin-top:24px}
.account-app-card{max-inline-size:430px;margin-block:18px 24px}
.footer-app:hover,.main-menu-app:hover{background:var(--ghost-bg);border-color:var(--accent-border);color:var(--text);text-decoration:none}
.footer-app:focus-visible,.main-menu-app:focus-visible{outline:2px solid var(--focus-ring);outline-offset:4px}
.footer-bot{display:flex;align-items:center;gap:10px;min-height:62px;padding:11px 12px;border:1px solid var(--separator);border-radius:10px;background:var(--surface-raised);color:var(--text);transition:background-color var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}
.footer-bot>svg{width:20px;height:20px;flex:none;color:var(--text)}
.footer-bot>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}
.footer-bot strong{color:var(--text);font-size:.79rem;font-weight:750}
.footer-bot>span:nth-child(2)>span{color:var(--muted);font-size:.7rem;line-height:1.35}
.footer-bot-arrow{color:var(--muted);font-size:.9rem;flex:none}
.footer-bot:hover{border-color:var(--control-border);background:var(--ghost-bg);color:var(--ghost-text);transform:translateY(-1px)}
.footer-bot:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}
.main-menu-bot>span:last-child{margin-inline-start:auto;color:var(--muted);font-size:.85rem}
.site-footer a:hover,.site-footer button:hover{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.footer-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:0;align-content:start}
.footer-group{margin:0;padding:0;border:0;background:transparent}
.footer-group>summary{display:flex;align-items:center;gap:9px;list-style:none;min-height:38px;margin:0 0 8px;color:var(--text);font-size:.83rem;font-weight:750;cursor:pointer;line-height:1.4}
.footer-group>summary>svg{width:17px;height:17px;flex:none;color:var(--accent-selected-text)}
.footer-group>summary::-webkit-details-marker{display:none}
.footer-group>summary .navigation-chevron{display:none}
.footer-group[open]>nav{display:grid;align-content:start;gap:5px;animation:control-enter var(--motion-normal) ease-out}
.footer-group nav>a,.footer-group nav>button{display:flex;align-items:center;min-height:40px;padding:0;border:0;background:transparent;color:var(--muted);font-size:var(--font-control);font-weight:500;text-align:start;line-height:1.45;overflow-wrap:anywhere;transition:color var(--motion-fast)}
.footer-utility{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--separator);padding-top:12px}
.footer-utility small{font-size:.73rem}
.footer-utility>nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.footer-utility button{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 10px;border:0;border-radius:var(--radius-control);background:transparent;color:var(--text);font-size:var(--font-caption);font-weight:550;text-align:start}
.footer-utility button svg{width:17px;height:17px;flex:none;color:var(--green)}
.footer-utility .footer-preferences-label{margin-inline-start:7px;padding-inline-start:12px;border-inline-start:1px solid var(--separator);color:var(--text)}

/* Personalization retains the existing native dialog and CAS save behavior. */
.preferences-open{overflow:hidden}
.personalization-sheet{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid var(--control-border);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px #0006;overscroll-behavior:contain}
.personalization-sheet::backdrop{background:#0009}
.personalization-sheet[open]{animation:preference-sheet-enter var(--motion-normal) ease-out}
@keyframes preference-sheet-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.personalization-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.personalization-heading h2{margin:0;font-size:1.35rem;font-weight:850;letter-spacing:-.025em}
.preferences-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--text);font-size:1.6rem}
.preferences-close:hover{background:var(--ghost-bg);color:var(--ghost-text)}
.personalization-intro{font-size:.84rem;color:var(--muted);line-height:1.5;margin:8px 0 22px}
.personalization-field{border:0;padding:0;margin:0 0 20px;min-width:0}
.personalization-field legend{padding:0;font-size:.85rem;font-weight:650;margin-bottom:10px}
.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.theme-option{display:grid;grid-template-columns:1fr auto;gap:7px;text-align:start;min-width:0;min-height:80px;padding:10px;border:1px solid var(--control-border);border-radius:9px;background:var(--surface-raised);color:var(--text);font-size:.73rem;font-weight:750;line-height:1.35}
.theme-preview{grid-column:1/-1;width:100%;height:26px;border:1px solid #888;border-radius:5px}
.theme-preview-black{background:#000}.theme-preview-grey{background:#181818}.theme-preview-white{background:#fff}
.preference-check{visibility:hidden;font-weight:750}
[role=radio][aria-checked=true]{border-color:var(--accent-border);background:var(--category-active-bg);color:var(--accent-selected-text);box-shadow:inset 0 0 0 1px var(--accent-border)}
[role=radio][aria-checked=true] .preference-check{visibility:visible}
.theme-option:hover{background:var(--ghost-bg);color:var(--ghost-text);border-color:var(--accent-border)}
.personalization-selects{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.personalization-selects label{display:grid;gap:7px;margin:0;text-transform:none;letter-spacing:0;font-size:.84rem;font-weight:600;color:var(--text);min-width:0}
.personalization-selects select{width:100%;max-width:none;min-height:44px;border:1px solid var(--control-border);border-radius:8px;background:var(--surface-raised);color:var(--text);padding:8px;font-size:.85rem}
.personalization-currency-note{font-size:.73rem;line-height:1.5;color:var(--muted);margin:12px 0 16px}
.personalization-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--separator);padding-top:14px}
.personalization-bottom p{font-size:.76rem;color:var(--muted);margin:0;line-height:1.4}
.personalization-bottom button{min-height:44px;padding:9px 19px}
.preferences-transition body,.preferences-transition .site-header,.preferences-transition .product-row,.preferences-transition .platform-heading{transition:background-color var(--motion-normal),color var(--motion-normal),border-color var(--motion-normal)}
[dir=rtl] .personalization-sheet{text-align:right}
[dir=rtl] .family-rail{direction:rtl}
[dir=rtl] .home-category-navigator{mask-image:linear-gradient(to left,#000 calc(100% - 12px),transparent)}
[dir=rtl] #explore-toggle{--directory-edge:-3px}
[dir=rtl] .footer-support>svg:last-child{transform:rotate(180deg)}
[dir=rtl] .price-stack{direction:ltr;unicode-bidi:isolate}
@media(max-width:1100px){
  .site-header{gap:14px;grid-template-columns:auto minmax(180px,1fr) auto}
  .brand>span{display:none}
  .header-actions .nav-label{display:none}
  .header-actions>a,.header-actions>button{width:44px;padding:0}
  .telegram-intro-row{grid-template-columns:1fr;gap:12px}
  .telegram-intro-row .platform-page-head{grid-column:1/-1}
  .telegram-intro-row .customer-promo-pair>.marketplace-bulk{min-height:64px}
}
@media(max-width:900px){
  .home-heading-actions{gap:12px;max-width:520px}
  .home-telegram-bot,.home-telegram-bulk{max-width:220px}
  .home-bot-description,.home-bulk-description{display:none}
  .explore-families{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-row{grid-template-columns:var(--marketplace-logo-product) minmax(0,1fr);grid-template-rows:auto auto;gap:6px 14px}
  .product-visual{grid-column:1;grid-row:1/3;align-self:start}
  .product-summary{grid-column:2;grid-row:1}
  .product-purchase-summary{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}
  .product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
  .product-end{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;max-width:100%;margin-inline-start:auto}
  .footer-main{grid-template-columns:minmax(200px,.8fr) minmax(0,2fr);gap:24px}
  .footer-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
}
@media(max-width:700px){
  :root{--page-gutter:16px;--font-product:.92rem;--font-caption:.78rem;--font-control:.82rem}
  main{padding:0 16px 18px}
  .site-header{grid-template-columns:36px minmax(0,1fr) auto;gap:8px;height:64px;min-height:64px;padding:8px 12px}
  .brand img{width:36px;height:36px;border-radius:8px}
  .header-actions{gap:0}
  .header-actions .header-account,.header-actions .header-utility{display:none}
  .header-actions>.header-account{display:inline-flex;width:44px;min-height:44px;padding:0}
  .header-actions>.header-purchases{display:inline-flex;width:44px;min-height:44px;padding:0}
  .header-actions>.header-cart{width:44px;min-height:44px;padding:0}
  .header-actions>.main-menu-toggle{width:44px;min-height:44px;padding:0}
  .main-menu-drawer{padding:20px 16px}
  .account-menu{display:block}
  .account-menu>summary{width:44px;min-height:44px;padding:0}
  .header-search{border-radius:8px}
  .header-search input{padding:10px 9px;font-size:.87rem}
  .header-search button{width:36px}
  .header-search svg{width:18px;height:18px}
  .discovery-shell{top:var(--header-height,64px)}
  .discovery-rail{min-height:54px;padding:6px 12px;gap:5px}
  #explore-toggle{min-height:44px;font-size:.73rem;padding:7px 10px;gap:7px}
  #explore-toggle svg{width:19px;height:19px}
  .family-rail{gap:3px}
  .family-rail a{padding:6px 8px;min-height:44px;font-size:var(--font-control)}
  .family-rail img{width:22px;height:22px}
  .rail-arrow{display:none}
  .explore-panel{inset:10px 10px auto;max-height:calc(100dvh - 20px);padding:18px 14px;border-radius:14px}
  .explore-search-tools{align-items:stretch;flex-direction:column;gap:4px;margin-bottom:14px}
  .explore-search-tools>a{min-height:36px}
  .explore-families{grid-template-columns:1fr}
  .explore-family{padding:12px}
  .explore-subcategories a{min-height:40px}
  .platform-block{margin-top:34px;scroll-margin-top:var(--navigation-clearance,130px)}
  .home-platform+.home-platform{padding-top:24px}
  .platform-heading{display:grid;grid-template-columns:64px minmax(0,1fr);min-height:0;gap:10px 12px;padding-bottom:0;margin-bottom:10px}
  .platform-heading>img{width:64px;height:64px;border-radius:13px}
  .platform-heading h2{font-size:1.4rem}
  .platform-heading-count{font-size:var(--font-caption);line-height:1.55}
  .home-heading-actions{grid-column:1/-1;width:100%;max-width:none;display:grid;grid-template-columns:1fr;gap:8px;justify-content:stretch}
  .home-heading-controls{display:flex;justify-content:flex-end;gap:8px;min-height:44px;max-width:none;min-width:0;width:100%}
  .home-promo-pair{width:100%;gap:8px}
  .home-telegram-bot,.home-telegram-bulk{flex:1;max-width:none;min-height:44px;padding:3px 0 3px 9px;gap:7px}
  .home-telegram-bot>svg,.home-telegram-bulk>svg{width:16px;height:16px}
  .home-bot-copy strong,.home-bulk-copy strong{font-size:var(--font-control)}
  .home-bot-description,.home-bulk-description{display:none}
  .home-bot-action,.home-bulk-action{font-size:.75rem}
  .home-heading-actions:not(:has(.home-telegram-bulk)) .home-heading-controls{justify-content:space-between}
  .home-platform-browse{display:inline-flex;font-size:var(--font-control)}
  .home-category-navigator{gap:8px;padding:4px 4px 8px;margin-bottom:4px;scroll-margin-top:var(--navigation-clearance,134px)}
  .home-category-choice{flex-basis:252px;width:252px;min-width:252px;height:142px;padding:12px;gap:6px}
  .home-category-choice .category-kicker{font-size:.71rem}
  .home-category-choice .category-name{font-size:.91rem}
  .home-category-choice .category-facts{font-size:.74rem;gap:2px 7px}
  .home-category-choice .category-stock{font-size:.72rem}
  .home-view-all{width:100%;box-sizing:border-box;font-size:.77rem}
  .home-preview-heading{gap:8px;align-items:start}
  .home-preview-title{font-size:.93rem}
  .home-preview-count{font-size:.69rem;padding-top:2px}
  .home-preview-tools{gap:3px}
  .home-price-sort{min-height:44px;padding:8px;font-size:var(--font-control)}
  .platform-introduction{padding:8px 0 0;border-radius:0;margin-bottom:8px}
  .telegram-introduction{padding:8px 0 0;margin-bottom:8px}
  .telegram-intro-row{gap:10px}
  .telegram-sort{max-width:52%}
  .telegram-sort .marketplace-sort-cycle{font-size:var(--font-control);padding-inline:8px}
  .telegram-results h2{font-size:1.04rem}
  .telegram-results .home-preview-heading p{font-size:var(--font-caption);line-height:1.5}
  .marketplace-bulk{font-size:.71rem;padding:11px;flex-wrap:wrap;gap:8px 10px}
  .marketplace-bulk .bulk-action{margin-inline-start:32px;font-size:.72rem}
  .telegram-bulk--compact{flex:auto;width:100%;max-width:none;box-sizing:border-box;padding:10px 12px;gap:2px 10px}
  .telegram-bulk--compact .bulk-action{margin-inline-start:0;font-size:.7rem}
  .telegram-intro-row .telegram-bulk--compact{grid-template-columns:18px minmax(0,1fr);padding:10px;gap:3px 7px}
  .telegram-intro-row .telegram-bulk--compact>svg{width:18px;height:18px}
  .telegram-intro-row .bulk-copy strong{font-size:.79rem;line-height:1.35}
  .telegram-intro-row .bulk-copy>span{font-size:.7rem;line-height:1.45}
  .telegram-intro-row .bulk-action{overflow-wrap:anywhere;line-height:1.4}
  .telegram-total{font-size:var(--font-caption);gap:5px}
  .platform-page-head{flex-direction:row;align-items:center;gap:12px;scroll-margin-top:var(--navigation-clearance,130px)}
  .platform-page-head h1{font-size:1.5rem}
  .platform-page-head p:last-child{font-size:var(--font-caption)}
  .platform-sort{grid-template-columns:minmax(0,1fr) minmax(0,max-content) auto;gap:8px;margin:16px 0 12px}
  .platform-sort select{font-size:var(--font-control);padding:8px;border-radius:var(--radius-control)}
  .platform-sort .filter-switch{font-size:var(--font-caption);gap:6px;min-height:44px}
  .platform-sort .filter-switch span{overflow-wrap:anywhere}
  .platform-sort button{font-size:var(--font-control);padding:8px}
  .platform-category{scroll-margin-top:var(--navigation-clearance,130px);margin-bottom:28px}
  .platform-category+.platform-category{padding-top:8px}
  .platform-category-head{grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:12px 4px;margin-bottom:4px}
  .platform-category-head--opening{padding-top:4px}
  .platform-category-head h2{font-size:1rem}
  .category-chapter-description{font-size:.71rem}
  .platform-category-head .category-facts{font-size:var(--font-caption);gap:4px 8px}
  .platform-category-head>a{width:44px}
  .platform-category .product-list{padding-inline:0}
  .related-products{margin-top:30px;padding-top:22px}
  .related-heading h2{font-size:1.2rem}
  .related-heading p{font-size:var(--font-caption)}
  .product-row{grid-template-columns:var(--marketplace-logo-product) minmax(0,1fr);grid-template-rows:auto auto;gap:5px 12px;min-height:88px;padding:13px 2px}
  .product-visual{grid-column:1;grid-row:1/3;align-self:start}
  .product-summary{grid-column:2;grid-row:1}
  .product-title{font-size:.97rem;line-height:1.5}
  .product-purchase-summary{gap:4px 12px}
  .product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:var(--font-caption)}
  .product-meta .stock{font-size:inherit}
  .product-end{gap:10px}
  .price-stack strong{font-size:1.13rem}
  .row-action{min-height:36px;font-size:var(--font-caption);white-space:normal}
  .product-detail>.description{margin-top:20px;padding:20px 0 0}
  .section-more,.view-more{width:100%;font-size:.77rem;padding:9px 12px}
  .home-category-pagination{gap:14px;margin-top:12px}
  .home-category-pagination button{font-size:.76rem;min-height:54px}
  .category-pagination-label{font-size:var(--font-caption)}
  .site-footer{padding:24px 16px 14px;margin-top:12px}
  .footer-main{grid-template-columns:1fr;gap:16px;padding-bottom:14px}
  .footer-top{gap:9px;max-width:none}
  .footer-brand{gap:10px}
  .footer-brand strong{font-size:.88rem}
  .footer-brand p{font-size:.71rem}
  .footer-essential{justify-content:space-between;width:100%;gap:8px}
  .footer-essential a{font-size:var(--font-control);min-height:44px}
  .footer-support{min-height:54px;padding:8px 10px}
  .footer-bot{min-height:54px;padding:8px 10px}
  .footer-groups{grid-template-columns:1fr;gap:0;padding:0}
  .footer-group+ .footer-group{border-top:1px solid var(--separator)}
  .footer-group>summary{display:flex;align-items:center;min-height:44px;margin:0;font-size:.8rem}
  .footer-group>summary>span{flex:1}
  .footer-group>summary .navigation-chevron{display:block;width:16px;height:16px}
  .footer-group>nav{padding:0 0 12px}
  .footer-group nav>a,.footer-group nav>button{min-height:44px}
  .footer-utility{align-items:center;flex-direction:column-reverse;gap:12px;padding-top:14px}
  .footer-utility>nav{width:100%;justify-content:space-between;gap:4px}
  .footer-utility button{font-size:var(--font-caption);min-height:44px;justify-content:center;padding:8px}
  .browsing-context{--dock-gutter:max(10px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));width:calc(100% - 2 * var(--dock-gutter));grid-template-columns:minmax(0,1fr);gap:0;padding:6px;border-radius:14px}
  .browsing-context__label{max-width:none;min-height:32px;padding-block:3px;padding-inline:9px 30px}
  .browsing-context__secondary{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .browsing-context__actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:5px}
  .browsing-context__action{font-size:.77rem;min-height:44px;padding:7px 6px;white-space:normal;overflow-wrap:anywhere}
  .footer-utility small{font-size:.68rem}
  .personalization-sheet{width:calc(100vw - 16px);max-width:none;max-height:calc(100dvh - 16px);margin:auto 8px 8px;padding:20px 16px;border-radius:16px}
  .personalization-heading h2{font-size:1.2rem}
  .theme-option{font-size:.68rem;padding:9px}
}
@media(prefers-reduced-motion:reduce){
  .main-menu-backdrop,.main-menu-drawer,.navigation-chevron{transition:none}
  .browsing-context,.copy-feedback:not(:empty),.footer-group[open]>nav{animation:none}
  .browsing-context,.browsing-context[data-presence="footer"]{transition:none;transform:none}
  .browsing-context__label,.browsing-context__action{transition:none}
  .home-view-all,.copy-control{transition:none}
  .personalization-sheet[open]{animation:none}
  .preferences-transition body,.preferences-transition .site-header,.preferences-transition .product-row,.preferences-transition .platform-heading{transition:none}
  .family-rail{scroll-behavior:auto}
  .home-category-choice,.home-price-sort,.product-row{transition:none}
  .platform-browse-toolbar .marketplace-stock-toggle input,.platform-browse-toolbar .marketplace-stock-toggle input::before{transition:none}
  .product-list[data-updating]{animation:none}
}

/* Continuous platform chapters: one boundary, then content, not repeated cards. */
.platform-continuous .platform-category{margin:0 0 24px;padding:0}
.platform-category-head.platform-category-chapter{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;width:100%;min-height:110px;margin:0 0 12px;padding:20px 24px;border:1px solid var(--edge);border-radius:var(--radius-card);background:var(--surface-raised)}
.platform-category-head.platform-category-chapter h2{font-size:clamp(1.05rem,1.9vw,1.4rem);font-weight:850;line-height:1.3}
.platform-continuous .category-kicker{font-size:.7rem;letter-spacing:.08em}
.platform-continuous .platform-category:last-of-type{margin-bottom:0}
.catalog-window{display:grid;align-content:start;gap:8px;contain:layout style}
.catalog-window--waiting{position:relative;background:transparent}
.catalog-window[aria-busy="true"]::before{content:'';position:absolute;inset:16px 0 auto;height:48px;border-radius:8px;background:linear-gradient(90deg,var(--surface),var(--surface-raised),var(--surface));opacity:.55}
.platform-journey-end{margin-top:28px}
.platform-journey-end:empty{display:none}
.platform-journey-end .platform-recommendation{margin:0;padding:20px 0 0;border:0}
.platform-recommendation-identity{display:flex;align-items:center;gap:14px;min-width:0}
.platform-recommendation-identity img{width:48px;height:48px;object-fit:contain;flex:none}
.platform-recommendation-identity h2{margin:3px 0 0;font-weight:850}
.platform-recommendation .product-row:last-child{border-bottom:0}
html[data-browsing-dock="visible"] body{padding-bottom:calc(var(--browsing-dock-height,96px) + 28px + env(safe-area-inset-bottom))}
html:not([data-native-app="5"])[data-browsing-dock="visible"]{scroll-padding-block-end:calc(var(--browsing-dock-height,96px) + 24px + env(safe-area-inset-bottom,0px))}
/* V5 native tabs own global navigation and already resize the web viewport.
   Catalog context remains useful, but is an ordinary in-page control group. */
html[data-native-app="5"] .browsing-context{position:static;inset:auto;inline-size:100%;width:100%;max-width:none;margin:0 0 16px;padding:6px;border-radius:12px;box-shadow:none;animation:none;transition:none;transform:none}
html[data-native-app="5"] .browsing-context__actions{display:flex;flex-wrap:wrap;gap:6px}
html[data-native-app="5"] .browsing-context__action{flex:1 1 auto;min-height:44px;padding:8px 12px}
html[data-native-app="5"][data-browsing-dock="visible"] body{padding-bottom:0}
.category-jump-dialog{width:min(460px,calc(100vw - 24px));max-height:75dvh;padding:20px;border:1px solid var(--separator);border-radius:16px;background:var(--surface-raised);color:var(--text);box-shadow:0 16px 60px #0006;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:12px}
.category-jump-dialog::backdrop{background:#0008}
.category-jump-dialog>button{float:inline-end;background:transparent;color:var(--text);min-width:44px;min-height:44px;border:1px solid var(--separator);border-radius:10px;cursor:pointer;touch-action:manipulation}
.category-jump-dialog h2{margin:8px 0 18px;padding-inline-end:48px;font-size:1.3rem;overflow-wrap:anywhere}
.category-jump-dialog nav{display:grid;gap:4px;clear:both}
.category-jump-dialog nav button{min-width:0;min-height:48px;text-align:start;background:transparent;color:var(--text);padding:12px;border:1px solid transparent;border-radius:8px;font-weight:650;line-height:1.4;white-space:normal;overflow-wrap:anywhere;cursor:pointer;touch-action:manipulation}
.category-jump-dialog nav button[aria-current="true"]{background:var(--category-active-bg);border-color:var(--accent-border);color:var(--accent-selected-text);font-weight:850;box-shadow:inset 0 -2px 0 var(--accent-selected-text)}
.category-jump-dialog nav button:hover:not([aria-current="true"]){background:var(--ghost-bg)}
.category-jump-dialog button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
@media(forced-colors:active){
  .browsing-context,.category-jump-dialog{border-color:CanvasText;box-shadow:none}
  .browsing-context__action{border-color:ButtonText}
  .browsing-context__action[aria-current="location"],.category-jump-dialog nav button[aria-current="true"]{border-color:Highlight;outline:2px solid Highlight;outline-offset:-3px;box-shadow:none}
  .browsing-context__action:focus-visible,.category-jump-dialog button:focus-visible{outline-color:Highlight}
}
@media(max-width:599px){.platform-journey-end{margin-top:20px}.platform-recommendation .related-heading{gap:12px}.platform-recommendation-identity img{width:40px;height:40px}.platform-recommendation .home-platform-browse{font-size:.8rem}}

/* Home is a quick destination directory; inventory lives on platform pages. */
.home-destinations{scroll-margin-top:120px;padding-block-start:20px}
.home-destination-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.home-destination-item{min-width:0}
.home-destination-group-heading{margin:0 0 12px;font-size:.82rem;font-weight:800;letter-spacing:.045em;color:var(--muted)}
.home-destination-group-heading--platforms{margin-block-start:20px}
.home-destination-row{display:grid;grid-template-columns:36px 72px minmax(0,1fr) 40px;align-items:center;gap:20px;min-height:112px;padding:18px 24px;background:var(--surface);border:1px solid var(--separator);border-radius:var(--radius-card);transition:background-color var(--motion-normal),border-color var(--motion-normal)}
.home-destination-item--service>.home-destination-row{min-height:124px;background:var(--surface-raised);border-color:var(--edge)}
.home-destination-item--service .home-destination-icon{width:64px;height:64px;background:var(--ghost-bg);border:1px solid var(--edge);border-radius:16px}
.home-destination-item--service .home-destination-number{background:transparent;color:var(--muted);border-color:transparent}
.home-destination-item--service .home-destination-action{background:transparent;color:var(--text)}
.home-destination-item--service .home-destination-summary{font-size:.86rem;max-width:650px}
.home-destination-number{font-size:.85rem;font-weight:750;line-height:1;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:var(--radius-control);font-variant-numeric:tabular-nums;color:var(--muted)}
.home-destination-icon{display:grid;place-items:center;width:72px;height:72px;flex:none}
.home-destination-icon img{display:block;width:100%;height:100%;object-fit:contain;border-radius:var(--radius-card)}
.home-destination-copy{display:grid;gap:7px;min-width:0}
.home-destination-name{font-size:clamp(1.1rem,1.6vw,1.55rem);font-weight:850;line-height:1.2;overflow-wrap:anywhere;letter-spacing:-.025em}
.home-destination-summary{font-size:.79rem;font-weight:650;line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums}
.home-destination-action{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:transparent;color:var(--muted);transition:color 180ms ease}
.home-destination-row:hover .home-destination-action,.home-destination-row:focus-visible .home-destination-action{color:var(--text)}
[dir=rtl] .home-destination-action svg{transform:scaleX(-1)}
.home-destination-row:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}
.home-destination-row:active{background:var(--category-active-bg)}
.home-collection-sections{display:grid;gap:16px;min-width:0}
.home-collection-section{min-width:0;padding-inline-start:clamp(8px,2vw,24px);border-inline-start:1px solid var(--separator)}
.home-collection-section h2{margin:0 0 8px;color:var(--text);font-size:1rem;overflow-wrap:anywhere}
.home-collection-section .home-collection-list{gap:6px}
.home-collection-section .home-collection-row{grid-template-columns:32px minmax(0,1fr) 24px;gap:10px;min-height:64px;padding:10px 12px}
.home-collection-row .home-destination-name{font-size:1rem;text-align:match-parent}
.home-collection-row .home-destination-action{width:24px}
@media(hover:hover){.home-destination-row:hover{background:var(--surface-raised);border-color:var(--edge)}}
.platform-jump.platform-category-jump{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:0;margin:18px 0 8px;overflow:visible;scroll-margin-top:120px}
.platform-category-jump>label{margin:0;color:var(--muted);font-size:var(--font-control);font-weight:700;letter-spacing:0;text-transform:none;flex:none}
.platform-category-jump>select{min-height:44px;min-width:0;max-width:100%;width:min(100%,440px);padding:10px 12px;font:inherit;font-size:var(--font-control);font-weight:750;background:var(--input-bg);color:var(--text);border:1px solid var(--edge);border-radius:var(--radius-control)}
.platform-category-jump>select:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}
.platform-category-jump>noscript{flex-basis:100%}
.platform-category-chapter .category-chapter-copy{gap:0}
.platform-category-chapter .marketplace-category-identity{min-width:0}
.platform-category-chapter .marketplace-category-identity>div{display:grid;gap:4px}
.platform-category .product-list>.product-row:last-child,.platform-category .catalog-window:last-child>.product-row:last-child{border-bottom:0}
@media(max-width:599px){
  .home-destination-list{gap:10px}
  .home-destinations{padding-block-start:16px}
  .home-destination-group-heading--platforms{margin-block-start:14px}
  .home-destination-row{grid-template-columns:26px 52px minmax(0,1fr) 24px;gap:10px;min-height:96px;padding:14px 12px}
  .home-destination-item--service>.home-destination-row{min-height:108px;padding:16px 12px}
  .home-destination-item--service .home-destination-icon{width:48px;height:48px;border-radius:12px}
  .home-destination-item--service .home-destination-summary{font-size:.76rem}
  .home-destination-item--service .home-destination-action{background:transparent;color:var(--text)}
  .home-destination-icon{width:52px;height:52px}
  .home-destination-number{width:25px;height:25px;font-size:.73rem}
  .home-destination-name{font-size:1.06rem;line-height:1.25}
  .home-destination-summary{font-size:.7rem;line-height:1.5}
  .home-destination-action{width:24px;height:32px;background:transparent}
  .home-destination-action svg{width:20px;height:20px}
  .platform-jump.platform-category-jump{gap:7px;margin-top:14px}
  .platform-category-jump>label{width:100%;font-size:.75rem}
  .platform-category-jump>select{width:100%}
}
@media(prefers-reduced-motion:reduce){.home-destination-row{transition:none}}
/* Shared square artwork roles and one localized category marker per chapter. */
.platform-page-head:has(.platform-hero-square){flex:1;min-width:0;align-items:center}
.platform-page-head .platform-hero-square{width:var(--marketplace-logo-platform);height:var(--marketplace-logo-platform);aspect-ratio:1;object-fit:contain;border-radius:14px}
.marketplace-category-identity--chapter{display:grid;grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr);align-items:center;gap:9px 14px}
.category-chapter-marker{display:block;justify-self:start;max-width:100%;padding:3px 8px;border:1px solid var(--separator);border-radius:6px;background:var(--ghost-bg);color:var(--muted);font-size:.74rem;font-weight:800;line-height:1.4;letter-spacing:.015em;overflow-wrap:anywhere}
.marketplace-category-identity--chapter>.marketplace-category-logo{grid-column:1;grid-row:1;align-self:center}
.marketplace-category-identity--chapter>.marketplace-category-copy{grid-column:2;grid-row:1;min-width:0}
.marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo)){grid-template-columns:minmax(0,1fr)}
.marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo))>.marketplace-category-copy{grid-column:1}
.platform-category-head.platform-category-chapter h2{margin:0;font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.3;font-weight:850;overflow-wrap:anywhere}
.category-chapter-facts{grid-column:2/-1;grid-row:2;display:flex;flex-wrap:wrap;gap:4px 16px;min-width:0;font-size:.79rem;line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums}
.marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo))>.category-chapter-facts{grid-column:1}
.category-chapter-facts>span{min-width:0;overflow-wrap:anywhere}
.category-chapter-facts .category-from{color:var(--text);font-weight:800}
.home-destination-service-symbol{width:40px;height:40px}

/* Telegram directory: country and category choices open the same product picker. */
.telegram-country-workspace{--telegram-country-card-height:124px;--telegram-country-grid-gap:10px;display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);align-items:start;gap:18px;margin-block-start:16px}
.telegram-country-workspace[hidden]{display:none}
.telegram-countries,.telegram-workspace-categories{min-width:0;position:static;max-height:none;overflow:visible}
.telegram-workspace-heading{margin:0 0 14px;padding-block-end:9px;border-block-end:1px solid var(--separator);font-size:1.1rem;font-weight:850;letter-spacing:-.015em}
.telegram-workspace-title{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-block-end:12px;padding-block-end:9px;border-block-end:1px solid var(--separator)}
.telegram-workspace-title .telegram-workspace-heading{margin:0;padding:0;border:0}
.telegram-country-count{color:var(--muted);font-size:.78rem;font-weight:750;font-variant-numeric:tabular-nums}
.telegram-country-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(var(--telegram-country-card-height),auto);align-content:start;gap:var(--telegram-country-grid-gap);height:calc(2 * var(--telegram-country-card-height) + 2 * var(--telegram-country-grid-gap) + 44px);overflow:auto;overscroll-behavior:auto;scrollbar-width:auto;scrollbar-color:var(--muted) var(--surface);padding:2px;scroll-padding-block:2px;overflow-anchor:none}
@media(min-width:1100px){
  .telegram-country-workspace{align-items:stretch}
  .telegram-countries{display:flex;flex-direction:column;min-height:0}
  .telegram-country-grid{flex:1 1 0;height:0;min-height:360px}
}
@media(min-width:600px) and (max-width:900px){.telegram-country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.telegram-country-grid:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:var(--radius-card)}
.telegram-country-scroll-footer{min-height:44px;display:flex;justify-content:center;align-items:center}
.telegram-country-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;background:transparent;color:var(--text);border:0;border-radius:8px;font-size:.78rem;font-weight:750;cursor:pointer}
.telegram-country-more:hover{background:var(--ghost-bg)}
.telegram-country-more:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}
.telegram-country-more svg{flex:none}
.telegram-country-card{display:grid;grid-template-rows:76px minmax(0,1fr);align-content:start;gap:8px;min-width:0;width:100%;height:var(--telegram-country-card-height);padding:12px;background:var(--surface);color:var(--text);border:1px solid var(--separator);border-radius:var(--radius-card);text-align:start;text-decoration:none;font:inherit;cursor:pointer;transition:background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
.telegram-country-card[hidden]{display:none}
.telegram-country-grid{scroll-margin-block-start:var(--navigation-clearance,150px)}
.telegram-country-card[aria-expanded=true]{border-color:var(--text);background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--text)}
.telegram-country-card:focus-visible,.telegram-category-card:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-3px}
.telegram-country-identity{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:3px 9px;min-width:0;min-height:0}
.telegram-country-identity>img{grid-column:1;grid-row:1/3;width:32px;height:24px;object-fit:contain;border-radius:3px}
.telegram-country-identity>strong{grid-column:2;min-width:0;font-size:.98rem;font-weight:850;line-height:1.25;overflow-wrap:anywhere}
.telegram-calling-code{grid-column:2;min-height:1em;font-size:.75rem;line-height:1.35;color:var(--muted)}
.telegram-country-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(24px,auto) minmax(18px,auto) minmax(20px,auto);align-content:start;gap:3px 8px;min-width:0;font-size:.72rem;line-height:1.35;color:var(--muted);font-variant-numeric:tabular-nums}
.telegram-country-facts>span{min-width:0;overflow-wrap:anywhere}
.telegram-country-facts bdi{font-weight:850;color:var(--text)}
.telegram-country-facts>[data-country-products]{grid-column:1;grid-row:1}
.telegram-country-facts>[data-country-categories]{grid-column:2;grid-row:1}
.telegram-country-facts>[data-country-stock]{grid-column:1/-1;grid-row:2}
.telegram-country-facts>[data-country-from]{grid-column:1/-1;grid-row:3;color:var(--text);font-size:.8rem;font-weight:850}
.telegram-country-grid .telegram-country-entry{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;min-height:var(--telegram-country-card-height);height:100%;padding:0;border:1px solid var(--separator);border-radius:var(--radius-card);background:var(--surface);color:var(--text);transition:border-color 180ms ease,background-color 180ms ease,box-shadow 180ms ease}
.telegram-country-grid .telegram-country-entry:hover,.telegram-country-grid .telegram-country-entry:focus-within{border-color:var(--text);background:var(--surface-raised);box-shadow:0 5px 18px rgba(0,0,0,.1)}
.telegram-country-grid .telegram-country-card{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(22px,1fr);align-content:start;gap:7px;min-width:0;min-height:0;height:100%;padding:11px 12px 8px;border:0;border-radius:inherit;background:transparent}
.telegram-country-grid .telegram-country-identity{grid-column:1/-1;grid-row:1;display:block;min-width:0;line-height:1.35}
.telegram-country-grid .telegram-country-identity>img{display:inline-block;width:28px;height:21px;margin-block-start:0;margin-inline-end:6px;vertical-align:text-top}
.telegram-country-grid .telegram-country-name{display:inline;min-width:0;font-size:.94rem;font-weight:850;line-height:1.35;color:var(--text);overflow-wrap:anywhere}
.telegram-country-grid .telegram-country-name>strong{font:inherit}
.telegram-country-grid .telegram-calling-code{display:inline;font:inherit;color:inherit;line-height:inherit;direction:ltr;unicode-bidi:isolate;white-space:normal;overflow-wrap:anywhere}
.telegram-country-grid .telegram-country-facts{grid-column:1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;align-content:start;gap:4px 8px;min-width:0;font-size:.76rem;line-height:1.4}
.telegram-country-grid .telegram-country-facts>[data-country-categories],.telegram-country-grid .telegram-country-facts>[data-country-products],.telegram-country-grid .telegram-country-facts>[data-country-stock],.telegram-country-grid .telegram-country-facts>[data-country-from]{grid-column:auto;grid-row:auto;display:block;min-width:0;padding:0;border:0;font-size:inherit;line-height:inherit;overflow-wrap:anywhere}
.telegram-country-grid .telegram-country-facts>[data-country-from]{color:var(--text);font-weight:650}
.telegram-country-grid .telegram-country-arrow{display:none}
.telegram-country-grid .telegram-country-buy{grid-column:1;grid-row:3;align-self:end;justify-self:stretch;display:flex;align-items:center;justify-content:flex-end;gap:5px;min-height:24px;padding-block-start:5px;border-block-start:1px solid var(--separator);color:var(--text);font:inherit;font-size:.76rem;font-weight:850;line-height:1.25;pointer-events:none}
.telegram-country-arrow{grid-column:2;grid-row:3;justify-self:end;align-self:end;margin-block-end:2px;color:var(--text);pointer-events:none}
[dir=rtl] .telegram-country-arrow{transform:rotate(180deg)}
.telegram-country-results{margin-block-start:12px;border:1px solid var(--text);border-radius:var(--radius-card);background:var(--surface-raised);padding:12px;min-width:0;scroll-margin-block-start:var(--navigation-clearance,150px)}
.telegram-country-results[hidden]{display:none}
.telegram-country-results h3{margin:0 0 6px;font-size:1rem;font-weight:850;line-height:1.4;overflow-wrap:anywhere}
.telegram-country-results h3>img{margin-inline-end:7px;vertical-align:middle}
.telegram-country-results .telegram-calling-code{margin-inline-start:8px}
.telegram-country-results [data-country-result-count]{margin:0 0 8px;color:var(--muted);font-size:.76rem}
.telegram-workspace-categories{padding:0}
.telegram-category-entry{margin-block-end:10px}
.telegram-workspace-categories .telegram-category-card.platform-category-chapter{appearance:none;display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:10px;width:100%;min-height:108px;margin:0;padding:14px;border:1px solid var(--separator);border-radius:var(--radius-card);background:var(--surface);color:var(--text);text-align:start;font:inherit;cursor:pointer;transition:background-color 180ms ease,border-color 180ms ease,transform 180ms ease}
.telegram-workspace-categories .telegram-category-card.platform-category-chapter:hover{background:var(--surface-raised);border-color:var(--edge)}
.telegram-category-card>.category-chapter-copy{display:block;min-width:0}
.telegram-category-card>.navigation-chevron{width:16px;height:16px;justify-self:end;color:var(--muted);transition:transform 180ms ease}
.telegram-category-card:hover>.navigation-chevron{transform:translateX(2px)}
[dir=rtl] .telegram-category-card>.navigation-chevron{transform:rotate(180deg)}
[dir=rtl] .telegram-category-card:hover>.navigation-chevron{transform:rotate(180deg) translateX(2px)}
.telegram-category-card .marketplace-category-identity--chapter{grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr);gap:10px}
.telegram-category-card .category-chapter-marker{padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:.68rem;letter-spacing:.12em}
.telegram-category-card h3{margin:0;font-size:1.04rem;line-height:1.35;font-weight:850;overflow-wrap:anywhere}
.telegram-category-card .category-chapter-facts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:3px 11px;font-size:.72rem}
.telegram-category-card .category-chapter-facts .category-from{color:var(--text)}
.telegram-panel-products{min-width:0;max-height:390px;overflow:auto;overscroll-behavior:auto;scrollbar-width:thin;scrollbar-color:var(--edge) transparent;padding-inline:12px;contain:layout style;scroll-padding-block:8px}
.telegram-panel-products:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}
.telegram-panel-products .product-row{grid-template-columns:var(--marketplace-logo-product) minmax(0,1fr) minmax(110px,max-content);padding:13px 2px;gap:10px;min-height:88px}
.telegram-panel-products .product-visual{grid-column:1;grid-row:1;align-self:start}
.telegram-panel-products .product-summary{grid-column:2;grid-row:1}
.telegram-panel-products .product-purchase-summary{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:end;gap:6px;min-width:0}
.telegram-panel-products .product-title{font-size:.88rem;line-height:1.5}
.telegram-panel-products .product-meta{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:.72rem}
.telegram-panel-products .product-end{display:grid;gap:5px;max-width:100%;margin:0}
.telegram-panel-products .price-stack strong{font-size:1.06rem;line-height:1.35}
.telegram-category-card .product-row{grid-template-columns:var(--marketplace-logo-product) minmax(0,1fr);gap:7px 10px}
.telegram-category-card .product-purchase-summary{grid-column:2;grid-row:2;align-items:start}
.telegram-category-card .product-end{justify-items:start;text-align:start}
.telegram-category-card .price-stack{justify-items:start}
.telegram-category-card .telegram-panel-products{max-height:320px;padding-inline:10px}
.telegram-panel-feedback{color:var(--muted);font-size:.8rem;line-height:1.5;padding-block:10px}
.telegram-panel-products .empty{margin-block:12px}
.telegram-panel-products .catalog-window[aria-busy=true]:empty::before{content:'';display:block;height:80px;background:var(--surface-raised);border-radius:8px;margin-block:12px}
.telegram-country-page .platform-page-head.telegram-country-identity{display:flex;align-items:center;gap:20px;width:100%;min-width:0}
.telegram-country-page .platform-page-head .country-flag{width:32px;height:24px;vertical-align:middle}
.telegram-country-page .telegram-country-code{display:inline-block;vertical-align:middle;padding:4px 7px;border:1px solid var(--separator);border-radius:6px;font-size:.74rem;line-height:1.2;letter-spacing:.04em;color:var(--muted)}
.telegram-country-page .platform-page-head .telegram-calling-code{margin:0 0 6px;font-size:.8rem}
.telegram-country-page .platform-page-count>.telegram-country-from{display:block;padding:4px 0 0;color:var(--text);font-weight:800}
.telegram-country-catalog{min-width:0;margin-block-start:20px}
.telegram-country-catalog .telegram-panel-products{max-height:none;overflow:visible;padding-inline:0;contain:none}
.telegram-country-catalog .platform-category{margin:0;padding:0}
.telegram-country-page .country-page-related-products,.telegram-country-page .telegram-related-countries{margin-block-start:28px;padding-block-start:20px;border-block-start:1px solid var(--separator)}
.country-page-countries{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;min-width:0}
.telegram-related-countries .telegram-country-card{height:auto;min-height:148px;grid-template-rows:68px minmax(0,1fr)}
.telegram-related-countries .telegram-country-facts{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:6px}
.telegram-related-countries .telegram-country-from{color:var(--text);font-size:.8rem;font-weight:800}
.telegram-country-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-block:24px;font-size:.85rem}
.platform-enhanced .telegram-country-pagination{display:none}
@media(hover:hover){.telegram-country-card:hover{background:var(--ghost-bg)}}
@media(max-width:1099px){
  .telegram-country-workspace{grid-template-columns:minmax(0,1fr);gap:20px}
  .telegram-countries{grid-row:1}
  .telegram-workspace-categories{grid-row:2}
  .telegram-category-card .marketplace-category-identity--chapter{grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr)}
  .telegram-category-card h3{font-size:1.12rem}
  .telegram-category-card .category-chapter-facts{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:.76rem}
  .telegram-panel-products .product-row,.telegram-category-card .product-row{grid-template-columns:var(--marketplace-logo-product) minmax(0,1fr)}
  .telegram-panel-products .product-purchase-summary,.telegram-category-card .product-purchase-summary{grid-column:2;grid-row:2;flex-direction:row;justify-content:space-between;align-items:start;flex-wrap:wrap}
  .telegram-panel-products .product-end{justify-items:end;text-align:end}
  .telegram-panel-products .price-stack{justify-items:end}
}
@media(max-width:599px){
  :root{--marketplace-logo-platform:64px;--marketplace-logo-category:40px;--marketplace-logo-product:28px}
  .platform-category-head.platform-category-chapter{padding:16px;min-height:94px}
  #platform-catalog>.platform-category>.platform-category-chapter{width:calc(100% + 32px);margin-inline:-16px;border-radius:0;border-inline:0;padding-inline:16px}
  .marketplace-category-identity--chapter{grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr);gap:8px 12px}
  .marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo)){grid-template-columns:minmax(0,1fr)}
  .category-chapter-marker{font-size:.7rem}
  .platform-category-head.platform-category-chapter h2{font-size:1.16rem}
  .category-chapter-facts{font-size:.74rem;gap:4px 12px}
  .telegram-country-page .platform-page-head.telegram-country-identity{gap:12px}
  .telegram-country-workspace{--telegram-country-card-height:156px;gap:18px}
  .telegram-country-grid{grid-template-columns:repeat(2,minmax(0,1fr));height:clamp(320px,52svh,400px)}
  .telegram-country-card{grid-template-rows:80px minmax(0,1fr);padding:11px;gap:7px}
  .telegram-country-grid .telegram-country-entry{padding:0}
  .telegram-country-grid .telegram-country-identity>img{width:24px;height:18px;margin-inline-end:5px}
  .telegram-country-grid .telegram-country-name{font-size:.9rem}
  .telegram-country-grid .telegram-country-facts{font-size:.73rem;gap:4px 6px}
  .telegram-country-identity{grid-template-columns:26px minmax(0,1fr);gap:3px 7px}
  .telegram-country-identity>img{width:26px;height:20px}
  .telegram-country-identity>strong{font-size:.86rem;line-height:1.25}
  .telegram-calling-code{font-size:.69rem}
  .telegram-country-facts{grid-template-rows:minmax(32px,auto) minmax(18px,auto) minmax(28px,auto);font-size:.67rem;gap:3px 6px}
  .telegram-country-facts>[data-country-from]{font-size:.75rem;line-height:1.4}
  .telegram-category-card .marketplace-category-identity--chapter{grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr)}
  .telegram-category-card h3{font-size:1.05rem}
  .telegram-category-card .category-chapter-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));font-size:.74rem}
  .telegram-panel-products{max-height:360px;padding-inline:10px}
  .telegram-category-card .telegram-panel-products{max-height:280px}
  .telegram-panel-products .product-title{font-size:.86rem}
}
@media(max-width:479px){
  .telegram-country-workspace{--telegram-country-card-height:124px}
  .telegram-country-grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.telegram-country-card,.telegram-category-card,.telegram-category-card>.navigation-chevron,.browsing-context__action{transition:none}}

/* Catalog actions reuse the product's existing reviewed checkout. */
.product-row-main{grid-column:1/3;grid-row:1;display:grid;grid-template-columns:var(--marketplace-logo-product) minmax(0,1fr);align-items:center;gap:20px;min-width:0;align-self:stretch}
.product-row-main .product-visual{grid-column:1;grid-row:1;align-self:start}
.product-row-main .product-summary{grid-column:2;grid-row:1}
.product-row>.product-purchase-summary{grid-column:3;grid-row:1}
.product-row-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px;min-width:0}
.product-row-buy{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:72px;padding:8px 12px;border:1px solid var(--text);border-radius:8px;background:var(--text);color:var(--surface);font-size:.78rem;line-height:1.3;font-weight:850;white-space:nowrap}
.product-row-buy:hover{background:var(--surface-raised);color:var(--text)}
.product-row-buy[aria-disabled=true]{background:var(--ghost-bg);border-color:var(--edge);color:var(--muted);cursor:not-allowed}
.product-row-main:focus-visible,.product-row-actions>a:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:6px}
.product-row-actions>.product-row-detail{display:inline-flex;align-items:center;gap:5px;min-height:44px}
.catalog-buy-open{overflow:hidden}
.telegram-country-picker,.catalog-buy-dialog{position:fixed;width:min(900px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--edge);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 20px 72px #0008;overflow:hidden}
.telegram-country-picker[open],.catalog-buy-dialog[open]{display:flex;flex-direction:column;animation:catalog-picker-in 160ms ease-out}
.telegram-country-picker::backdrop,.catalog-buy-dialog::backdrop{background:#000b}
.telegram-country-picker-heading,.catalog-buy-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;flex:none;padding:20px;border-block-end:1px solid var(--separator)}
.telegram-product-picker .telegram-country-picker-heading{background:var(--surface-raised)}
.telegram-country-picker-heading>div,.catalog-buy-heading>div{min-width:0}
.telegram-product-picker-eyebrow{display:block;margin-block-end:5px;color:var(--muted);font-size:.68rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.telegram-country-picker-heading h2,.catalog-buy-heading h2{margin:0;font-size:1.15rem;line-height:1.4;font-weight:850;overflow-wrap:anywhere}
.telegram-product-picker .telegram-country-picker-heading h2{font-size:clamp(1.18rem,2vw,1.55rem);line-height:1.22;letter-spacing:-.02em}
.telegram-country-picker-heading p{margin:4px 0 0;color:var(--muted);font-size:.85rem}
.telegram-country-picker-close,.catalog-buy-close{flex:none;display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;background:var(--surface-raised);color:var(--text);border:1px solid var(--edge);border-radius:8px;font-size:1.6rem;line-height:1;cursor:pointer}
.telegram-country-picker .telegram-panel-products{height:min(60dvh,620px);max-height:none;flex:1 1 auto;padding-inline:20px;overscroll-behavior:contain}
.telegram-country-picker-footer,.catalog-buy-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-block-start:1px solid var(--separator)}
.catalog-buy-dialog{width:min(680px,calc(100vw - 32px));overflow:auto;overscroll-behavior:contain}
.catalog-buy-heading .eyebrow{margin:0 0 5px;letter-spacing:.08em}
.catalog-buy-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:16px 20px 0}
.catalog-buy-price{font-size:1.5rem;line-height:1.3;font-weight:850}
.catalog-buy-stock{color:var(--muted);font-size:.8rem}
.catalog-buy-status,.catalog-buy-dialog>.purchase-note{margin:12px 20px;color:var(--muted);font-size:.85rem;line-height:1.6}
.catalog-buy-controls{padding-inline:20px;min-width:0}
.catalog-buy-controls .purchase-slot{margin:0;padding:0;border:0;background:transparent}
.catalog-buy-controls form label{margin-block:12px 6px}
.catalog-buy-controls .purchase-actions{flex-wrap:wrap}
.catalog-buy-close:focus-visible,.telegram-country-picker-close:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}
@keyframes catalog-picker-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:1100px){
  .product-row-main{grid-column:1/-1;gap:14px}
  .product-row>.product-purchase-summary{grid-column:2;grid-row:2}
}
@media(max-width:767px){
  .telegram-panel-products .product-row-main{grid-column:1/-1;gap:10px}
  .telegram-panel-products .product-row>.product-purchase-summary{grid-column:2;grid-row:2}
  .telegram-country-picker,.catalog-buy-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}
  .telegram-country-picker-heading,.catalog-buy-heading{padding:16px;gap:12px}
  .telegram-country-picker .telegram-panel-products,.catalog-buy-controls{padding-inline:16px}
  .catalog-buy-summary{padding:12px 16px 0}
  .catalog-buy-status,.catalog-buy-dialog>.purchase-note{margin-inline:16px}
  .telegram-country-picker-footer,.catalog-buy-footer{padding:10px 16px}
}
.telegram-category-card .product-row-main{grid-column:1/-1;gap:10px}
.telegram-category-card .product-row>.product-purchase-summary{grid-column:2;grid-row:2}
.telegram-country-picker .product-row{cursor:pointer}
@media(prefers-reduced-motion:reduce){.telegram-country-picker[open],.catalog-buy-dialog[open]{animation:none}}

/* Marketplace chapters and products use one visual hierarchy on every platform. */
#platform-catalog>.platform-category>.platform-category-chapter{min-height:104px;padding:18px 20px;margin-block-end:10px;background:var(--surface-raised);border-color:var(--edge)}
#platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter{grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr) minmax(250px,max-content);column-gap:18px;row-gap:8px}
#platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo)){grid-template-columns:minmax(0,1fr) minmax(250px,max-content)}
#platform-catalog>.platform-category>.platform-category-chapter .category-chapter-facts{grid-column:3;grid-row:1;align-items:center;justify-content:flex-end;gap:6px 14px;font-size:.8rem;line-height:1.45}
#platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo))>.category-chapter-facts{grid-column:2}
#platform-catalog>.platform-category>.platform-category-chapter .category-chapter-marker{width:fit-content;margin:0;padding:3px 8px;background:var(--text);border-color:var(--text);color:var(--surface);font-size:.68rem;line-height:1.35;letter-spacing:.02em}
#platform-catalog>.platform-category>.platform-category-chapter h2{font-size:clamp(1.15rem,1.7vw,1.42rem);line-height:1.24}
#platform-catalog>.platform-category>.platform-category-chapter .category-from{font-weight:850;white-space:nowrap}

.product-list{gap:8px}
.product-row{grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:18px;min-height:100px;padding:14px 16px;border:1px solid transparent;border-radius:var(--radius-card);background:var(--surface)}
.product-row:hover{border-color:var(--separator);background:var(--surface-raised)}
.product-list>.product-row:last-of-type,.product-row.product-row--last-visible,.platform-category .product-list>.product-row:last-child,.platform-category .catalog-window:last-child>.product-row:last-child,.platform-recommendation .product-row:last-child{border-bottom-color:transparent}
.product-row-main{grid-column:1;grid-row:1;align-self:center;gap:14px}
.product-row>.product-purchase-summary{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr) auto;gap:12px}
.product-row .product-title{font-size:1rem;font-weight:750;line-height:1.45}
.product-row .price-stack strong{font-size:1.2rem;font-weight:900;line-height:1.25;letter-spacing:-.025em}
.product-row .product-meta{gap:3px}
.product-row .product-end{gap:6px}
.product-row .product-row-actions{gap:6px 10px}
.product-row .product-row-detail{color:var(--muted);font-weight:650}
.product-row .product-row-buy{min-width:68px}

@media(max-width:1100px){
  #platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter{grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr)}
  #platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo)){grid-template-columns:minmax(0,1fr)}
  #platform-catalog>.platform-category>.platform-category-chapter .category-chapter-facts,#platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo))>.category-chapter-facts{grid-column:2;grid-row:2;justify-content:flex-start}
  #platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo))>.category-chapter-facts{grid-column:1}
  .product-row{grid-template-columns:minmax(0,1fr);gap:8px}
  .product-row-main{grid-column:1;grid-row:1}
  .product-row>.product-purchase-summary{grid-column:1;grid-row:2;display:flex;justify-content:space-between;align-items:center;gap:8px 14px;padding-inline-start:calc(var(--marketplace-logo-product) + 14px)}
}
@media(max-width:599px){
  #platform-catalog>.platform-category>.platform-category-chapter{min-height:0;padding:14px 16px;margin-block-end:8px}
  #platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter{column-gap:12px}
  #platform-catalog>.platform-category>.platform-category-chapter h2{font-size:1.08rem}
  #platform-catalog>.platform-category>.platform-category-chapter .category-chapter-facts{gap:4px 10px;font-size:.74rem}
  .product-row{min-height:0;padding:12px;gap:10px}
  .product-row-main{gap:10px}
  .product-row .product-title{font-size:.92rem;line-height:1.4}
  .product-row>.product-purchase-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding-inline-start:calc(var(--marketplace-logo-product) + 10px)}
  .product-row .product-meta{display:grid;gap:2px}
  .product-row .product-end{display:grid;justify-items:end;gap:5px;margin:0}
  .product-row .product-row-actions{justify-content:flex-end;gap:4px 8px}
  .product-row .product-row-buy{min-width:64px}
}

/* Telegram's compact category pane and full-width search/dialog share the same row anatomy. */
.telegram-panel-products .product-row{grid-template-columns:minmax(0,1fr) minmax(230px,290px);gap:12px;padding:12px;min-height:0}
.telegram-panel-products .product-row-main{grid-column:1;grid-row:1;gap:10px}
.telegram-panel-products .product-row>.product-purchase-summary{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0}
.telegram-panel-products .product-end{display:grid;justify-items:end;text-align:end;gap:5px;margin:0}
.telegram-category-card .telegram-panel-products .product-row{grid-template-columns:minmax(0,1fr)}
.telegram-category-card .telegram-panel-products .product-row>.product-purchase-summary{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:start;gap:5px;padding-inline-start:calc(var(--marketplace-logo-product) + 10px)}
.telegram-category-card .telegram-panel-products .product-end{justify-items:start;text-align:start}
.telegram-category-card .telegram-panel-products .product-row-actions{justify-content:flex-start}
@media(max-width:1100px){
  .telegram-panel-products .product-row{grid-template-columns:minmax(0,1fr)}
  .telegram-panel-products .product-row>.product-purchase-summary{grid-column:1;grid-row:2;display:flex;justify-content:space-between;align-items:center;padding-inline-start:calc(var(--marketplace-logo-product) + 10px)}
  .telegram-category-card .telegram-panel-products .product-row>.product-purchase-summary{align-items:start;flex-direction:column}
}
@media(min-width:768px) and (max-width:1100px){
  .telegram-category-card .telegram-panel-products .product-row{grid-template-columns:minmax(0,1fr) minmax(215px,250px)}
  .telegram-category-card .telegram-panel-products .product-row>.product-purchase-summary{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0}
  .telegram-category-card .telegram-panel-products .product-end{justify-items:end;text-align:end}
  .telegram-category-card .telegram-panel-products .product-row-actions{justify-content:flex-end}
}
@media(max-width:599px){
  .telegram-panel-products .product-row>.product-purchase-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
  .telegram-category-card .telegram-panel-products .product-row>.product-purchase-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
  .telegram-category-card .telegram-panel-products .product-end{justify-items:end;text-align:end}
  .telegram-category-card .telegram-panel-products .product-row-actions{justify-content:flex-end}
}

/* Ordinary platform chapter cards: quiet numbering, strong title, one compact facts line. */
#platform-catalog>.platform-category>.platform-category-chapter{min-height:0;padding:20px 22px;border:1px solid var(--separator);border-inline-start:2px solid var(--text);border-radius:14px;background:var(--surface-raised);box-shadow:none}
#platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter{grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr) minmax(220px,max-content);column-gap:16px;row-gap:4px}
#platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-logo{align-self:center;border:1px solid var(--separator);border-radius:10px;background:var(--surface-raised)}
#platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-copy{display:grid;gap:3px}
#platform-catalog>.platform-category>.platform-category-chapter .category-chapter-marker{width:auto;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:.72rem;font-weight:850;line-height:1.2;letter-spacing:.05em;font-variant-numeric:tabular-nums}
#platform-catalog>.platform-category>.platform-category-chapter h2{font-size:clamp(1.2rem,1.75vw,1.48rem);line-height:1.25;font-weight:850;letter-spacing:-.015em}
#platform-catalog>.platform-category>.platform-category-chapter .category-chapter-facts{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:5px 16px;color:var(--muted);font-size:.79rem;line-height:1.4}
#platform-catalog>.platform-category>.platform-category-chapter .category-chapter-facts>span{white-space:nowrap}
#platform-catalog>.platform-category>.platform-category-chapter .category-from{color:var(--text);font-weight:850}
@media(max-width:767px){
  #platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter{grid-template-columns:var(--marketplace-logo-category) minmax(0,1fr)}
  #platform-catalog>.platform-category>.platform-category-chapter .category-chapter-facts{grid-column:2;grid-row:2;justify-content:flex-start;margin-block-start:5px}
  #platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter:not(:has(>.marketplace-category-logo))>.category-chapter-facts{grid-column:1}
}
@media(max-width:599px){
  #platform-catalog>.platform-category>.platform-category-chapter{width:calc(100% + 32px);margin-inline:-16px;margin-block-end:10px;padding:16px 16px 16px 17px;border-inline-end:0;border-radius:0;box-shadow:none}
  #platform-catalog>.platform-category>.platform-category-chapter .marketplace-category-identity--chapter{column-gap:12px;row-gap:1px}
  #platform-catalog>.platform-category>.platform-category-chapter h2{font-size:1.12rem;line-height:1.3}
  #platform-catalog>.platform-category>.platform-category-chapter .category-chapter-facts{gap:3px 12px;font-size:.73rem}
}
@media(min-width:768px){
  .telegram-product-picker .telegram-panel-products .product-row{grid-template-columns:minmax(0,1fr) minmax(170px,205px);align-items:center;min-height:94px;gap:12px}
  .telegram-product-picker .telegram-panel-products .product-row-main{grid-column:1;grid-row:1;align-self:center}
  .telegram-product-picker .telegram-panel-products .product-row>.product-purchase-summary{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:end;justify-content:center;gap:5px;padding:0}
  .telegram-product-picker .telegram-panel-products .product-row-actions{justify-content:flex-end}
}
