:root{color-scheme:dark;--bg:#0d1117;--panel:#151b23;--line:#303b4a;--text:#f5f7fb;--muted:#9aa4b2;--blue:#58a6ff;--purple:#8b5cf6;--gold:#f6c453}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.tm-shop-wrap{width:min(1200px,calc(100% - 32px));margin:auto}.tm-shop-header{padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.tm-shop-logo{display:inline-flex;align-items:center;font-size:30px;line-height:1.1;font-weight:850;letter-spacing:-.03em;white-space:nowrap;background:linear-gradient(90deg,#70b7ff,#9b6cff);-webkit-background-clip:text;background-clip:text;color:transparent;text-decoration:none}@media(max-width:700px){.tm-shop-logo{font-size:26px}}.tm-shop-header .tm-site-nav{flex-wrap:wrap}.tm-shop-header .tm-site-nav a[aria-current=page]{color:var(--gold)}.tm-shop-hero{padding:52px 42px;border:1px solid #373553;border-radius:24px;background:radial-gradient(circle at 82% 15%,rgba(139,92,246,.27),transparent 44%),linear-gradient(135deg,#171b30,#111722 75%)}.tm-shop-kicker{color:var(--gold);font-size:12px;font-weight:850;letter-spacing:.16em}.tm-shop-hero h1{font-size:clamp(35px,5vw,58px);letter-spacing:-.04em;line-height:1.08;margin:12px 0}.tm-shop-hero p{max-width:570px;color:#c2c8d4;margin:0 0 27px}.tm-shop-search{display:flex;max-width:650px;gap:10px}.tm-shop-search input{min-width:0;flex:1;background:#0d1117;border:1px solid #485168;border-radius:12px;color:var(--text);padding:14px 16px;font:inherit}.tm-shop-search button{background:var(--gold);color:#171411;padding:13px 24px;font-weight:850;font:inherit;border:0;border-radius:12px;cursor:pointer}.tm-shop-search button:hover{filter:brightness(1.08)}.tm-shop-visually-hidden{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}.tm-shop-section{margin:36px 0}.tm-shop-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:17px}.tm-shop-section-head h2{margin:0;font-size:23px}.tm-shop-section-head span,.tm-shop-card-meta{color:var(--muted);font-size:12px}.tm-shop-chips{display:flex;gap:9px;flex-wrap:wrap}.tm-shop-chips a{padding:9px 15px;background:var(--panel);border:1px solid var(--line);border-radius:999px;font-size:13px;transition:border-color .15s,color .15s}.tm-shop-chips a:hover,.tm-shop-chips a[aria-current=true]{color:var(--gold);border-color:var(--gold)}.tm-shop-franchises a{background:#1c1c30}.tm-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.tm-shop-card{display:flex;flex-direction:column;padding:14px;background:var(--panel);border:2px solid var(--purple);border-radius:16px;overflow:hidden;transition:transform .16s,border-color .16s}.tm-shop-card:hover,.tm-shop-card:focus-visible{border-color:var(--gold);transform:translateY(-3px)}.tm-shop-card-image{width:100%;background:#101722;border-radius:8px;overflow:hidden}.tm-shop-card-image img{display:block;width:100%;height:auto}.tm-shop-placeholder{width:100%;height:100%;min-height:160px;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#1c2440,#342354);font-size:55px;font-weight:900;letter-spacing:-.06em;color:#947bc8}.tm-shop-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0;width:100%;padding:12px 0 0;overflow-wrap:anywhere}.tm-shop-card-meta{line-height:1.2}.tm-shop-card h3{margin:5px 0 7px;font-size:15px;line-height:1.2}.tm-shop-card p{font-size:13px;line-height:1.25;color:var(--muted);margin:0 0 10px}.tm-shop-detail-link{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid var(--purple);border-radius:9px;background:var(--purple);color:#fff;font-size:13px;line-height:1.2;font-weight:750;transition:background .16s,border-color .16s,color .16s}.tm-shop-card:hover .tm-shop-detail-link,.tm-shop-card:focus-visible .tm-shop-detail-link{background:var(--gold);border-color:var(--gold);color:#171411}.tm-shop-empty{padding:44px 24px;background:var(--panel);border:1px dashed #394358;border-radius:16px;text-align:center;color:var(--muted)}.tm-shop-empty h3{color:var(--text);margin:0}.tm-shop-empty p{margin:8px auto 0;max-width:510px}.tm-shop-footer{padding:25px 0 38px;border-top:1px solid var(--line);display:flex;gap:16px;flex-wrap:wrap;justify-content:space-between;color:var(--muted);font-size:12px}.tm-shop-breadcrumb{padding:20px 0;color:var(--muted);font-size:13px}.tm-shop-breadcrumb a:hover{color:var(--gold)}.tm-shop-product{display:grid;grid-template-columns:1fr 1fr;gap:44px;padding:14px 0 70px}.tm-shop-product-art{aspect-ratio:4/4.4;background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden}.tm-shop-product-art img{width:100%;height:100%;object-fit:contain}.tm-shop-product h1{font-size:clamp(29px,3.8vw,43px);line-height:1.16;margin:12px 0}.tm-shop-summary{color:#d2d7e1;font-size:17px}.tm-shop-purchase-note{margin:26px 0;padding:18px;border:1px solid #61513a;border-radius:12px;background:#292418;color:#e8d0a1;font-size:13px}.tm-shop-description{margin-top:30px;border-top:1px solid var(--line);padding-top:18px}.tm-shop-description h2{font-size:21px}.tm-shop-description p{white-space:normal;color:#d1d7e3}@media(max-width:880px){.tm-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-shop-product{gap:24px}}@media(max-width:640px){.tm-shop-header{align-items:flex-start;flex-direction:column;padding:17px 0}.tm-shop-hero{padding:32px 22px;border-radius:17px}.tm-shop-search{flex-direction:column}.tm-shop-grid{gap:10px}.tm-shop-card{padding:14px}.tm-shop-card-body{padding:10px 0 0}.tm-shop-card h3{font-size:14px}.tm-shop-product{grid-template-columns:1fr}.tm-shop-section{margin:27px 0}.tm-shop-section-head{align-items:flex-start;flex-direction:column;gap:3px}.tm-shop-footer{flex-direction:column}}

.tm-shop-buy{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:12px;background:#f6c453;color:#151515;font-weight:850;margin-top:10px}.tm-shop-buy:hover{background:#ffdc88}

/* Product card: dark gallery, purple franchise chips, yellow marketplace action. */
.tm-shop-product-art{background:linear-gradient(145deg,#0b101a,#18162a);box-shadow:0 16px 60px #0003}
.tm-shop-product-art img{padding:20px}
.tm-shop-product .tm-shop-chips a{border-radius:8px;background:#1c2135;border-color:#323455}
.tm-shop-buy{width:100%;background:#ffda36;box-shadow:0 4px 20px #ffd63316}
.tm-shop-buy:hover{background:#ffe76e}
.tm-shop-purchase-note{background:transparent;border:0;padding:0;color:var(--muted)}
.tm-shop-preview-note{padding:14px 18px;background:#241c3c;border:1px solid #7452ba;border-radius:12px}
.tm-shop-preview-note a{color:#c9adff}
@media(max-width:640px){.tm-shop-product-art{max-height:480px}.tm-shop-product h1{font-size:29px}}

.tm-shop-price-block{display:flex;flex-direction:column;gap:4px;margin:14px 0}
.tm-shop-price{font-size:23px;line-height:1.2;color:var(--gold);font-weight:850}
.tm-shop-price-note{font-size:11px;line-height:1.35;color:var(--muted)}
.tm-shop-price-unknown{font-size:13px;color:var(--muted)}
.tm-shop-product-info .tm-shop-price{font-size:32px}
.tm-shop-product-info .tm-shop-price-note{font-size:12px}

.tm-shop-card-image{position:relative}
.tm-shop-image-price{position:absolute;right:10px;bottom:10px;max-width:calc(100% - 20px);padding:8px 12px;border-radius:10px;background:#f6c453;color:#171411;box-shadow:0 3px 14px #0004;font-size:20px;font-weight:850;line-height:1.2}
.tm-shop-image-price-unknown{background:#151b23ed;color:#f5f7fb;font-size:12px;font-weight:650}
.tm-shop-catalog-price-note{margin:0 0 14px;color:var(--muted);font-size:12px}
@media(max-width:640px){.tm-shop-image-price{right:7px;bottom:7px;padding:6px 9px;font-size:17px}.tm-shop-image-price-unknown{font-size:11px}}

/* Article-style product page with a compact store sidebar. */
.tm-shop-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start}
.tm-shop-detail-main{min-width:0}
.tm-shop-detail-layout .tm-shop-product{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;padding:22px;border:1px solid var(--line);background:var(--panel);border-radius:18px}
.tm-shop-detail-layout .tm-shop-product h1{font-size:clamp(25px,2.4vw,34px);overflow-wrap:anywhere}
.tm-shop-detail-layout .tm-shop-product-art{align-self:start;aspect-ratio:4/5}
.tm-shop-detail-layout .tm-shop-product-art img{padding:12px}
.tm-shop-detail-layout .tm-shop-summary{font-size:15px}
.tm-shop-detail-layout .tm-shop-purchase-note{margin:18px 0}
.tm-shop-sidebar{display:grid;gap:14px;position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;scrollbar-width:thin}
.tm-shop-side-card{padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--panel)}
.tm-shop-side-card h2{font-size:19px;margin:6px 0 12px}.tm-shop-side-card p,.tm-shop-side-card small{font-size:12px;color:var(--muted)}
.tm-shop-related{background:radial-gradient(at top right,#38265255,transparent 70%),var(--panel);border-color:#654293}
.tm-shop-mini-list{display:grid;gap:10px;margin:14px 0}.tm-shop-mini-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;padding:8px;border-width:1px;border-color:#3f3558}
.tm-shop-mini-card .tm-shop-card-image{height:100px}.tm-shop-mini-card img{height:100%;object-fit:contain}
.tm-shop-mini-card .tm-shop-placeholder{min-height:100px;font-size:26px}
.tm-shop-mini-card .tm-shop-card-body{padding:0;gap:6px}.tm-shop-mini-card h3{margin:0;font-size:12px;line-height:1.35}
.tm-shop-mini-price{color:var(--gold);font-size:15px}.tm-shop-mini-card .tm-shop-detail-link{padding:4px 7px;font-size:11px}
.tm-shop-more .tm-shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tm-shop-more .tm-shop-card{padding:9px}
.tm-shop-more .tm-shop-card-image{aspect-ratio:4/5}.tm-shop-more img{height:100%;object-fit:contain}
.tm-shop-more .tm-shop-card h3{font-size:13px}.tm-shop-more .tm-shop-image-price{font-size:15px;padding:5px 7px;right:6px;bottom:6px}
.tm-shop-more .tm-shop-image-price-unknown{font-size:10px}
.tm-shop-compact-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 18px;font-size:12px}
.tm-shop-compact-nav>a,.tm-shop-compact-nav summary{padding:7px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel);cursor:pointer}
.tm-shop-compact-nav details{position:relative}.tm-shop-nav-options{position:absolute;z-index:5;top:100%;left:0;margin-top:6px;padding:8px;display:grid;width:230px;max-height:260px;overflow:auto;background:#151b23;border:1px solid #4b3c67;border-radius:12px;box-shadow:0 12px 28px #0008}
.tm-shop-nav-options a{padding:7px 9px;border-radius:6px}.tm-shop-nav-options a:hover{background:#292038;color:var(--gold)}
.tm-shop-live-frame{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#080b0f}
.tm-shop-live-frame button{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:none;color:white;cursor:pointer}
.tm-shop-live-frame img,.tm-shop-live-frame iframe{width:100%;height:100%;object-fit:cover;border:0}
.tm-shop-live-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#080b0fcc}
.tm-shop-live-badge{position:absolute;right:8px;top:8px;background:#ff5a67;padding:3px 6px;border-radius:6px;font-size:10px;font-weight:850;pointer-events:none}
.tm-shop-live-overlay{position:absolute;bottom:0;left:0;right:0;display:grid;gap:2px;padding:22px 9px 7px;background:linear-gradient(transparent,#03070eee);font-size:11px;pointer-events:none}
.tm-shop-live-link{display:block;text-align:center;padding:9px;margin-top:10px;border-radius:8px;background:var(--blue);color:#07111a;font-size:12px;font-weight:850}
@media(max-width:1050px){.tm-shop-detail-layout{grid-template-columns:minmax(0,1fr) 280px}.tm-shop-detail-layout .tm-shop-product{grid-template-columns:1fr}.tm-shop-detail-layout .tm-shop-product-art{max-height:520px}.tm-shop-more .tm-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.tm-shop-detail-layout{grid-template-columns:1fr}.tm-shop-detail-layout .tm-shop-product{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tm-shop-sidebar{position:static;max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))}.tm-shop-related{grid-column:1/-1}.tm-shop-mini-list{grid-template-columns:repeat(3,minmax(0,1fr))}.tm-shop-mini-card{grid-template-columns:1fr}.tm-shop-mini-card .tm-shop-card-image{height:150px}}
@media(max-width:580px){.tm-shop-detail-layout .tm-shop-product{grid-template-columns:1fr;padding:16px}.tm-shop-sidebar{grid-template-columns:1fr}.tm-shop-mini-list{grid-template-columns:1fr}.tm-shop-mini-card{grid-template-columns:82px minmax(0,1fr)}.tm-shop-mini-card .tm-shop-card-image{height:100px}.tm-shop-nav-options{width:190px}.tm-shop-compact-nav details:last-child .tm-shop-nav-options{left:auto;right:0}}

.tm-shop-detail-layout .tm-shop-description{grid-column:1/-1;margin-top:0;padding-top:14px}.tm-shop-detail-layout .tm-shop-description h2{margin:0 0 12px}

/* Compact navigation follows the site's purple and gold controls. */
.tm-shop-compact-nav{gap:8px}
.tm-shop-compact-nav>a,.tm-shop-compact-nav summary{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 14px;border:1px solid #66509b;border-radius:999px;background:linear-gradient(135deg,#28213e,#1a1c2c);color:#e1d7f8;font-weight:750;transition:background .15s,border-color .15s,color .15s}
.tm-shop-compact-nav summary{list-style:none}.tm-shop-compact-nav summary::-webkit-details-marker{display:none}
.tm-shop-compact-nav summary::after{content:'⌄';font-size:15px;line-height:1;transition:transform .15s}
.tm-shop-compact-nav details[open] summary::after{transform:rotate(180deg)}
.tm-shop-compact-nav>a:hover,.tm-shop-compact-nav summary:hover,.tm-shop-compact-nav details[open] summary{background:#33294b;border-color:var(--gold);color:var(--gold)}
.tm-shop-compact-nav>a.tm-shop-back-selection{background:linear-gradient(135deg,#a86b17,#e8ba51);border-color:#e8ba51;color:#1c1305}
.tm-shop-compact-nav summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.tm-shop-news-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.tm-shop-news-heading h2{font-size:17px}.tm-shop-news-heading>a{font-size:11px;color:var(--blue);white-space:nowrap}
.tm-shop-news-list{display:grid;gap:12px}.tm-shop-news-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;align-items:center}
.tm-shop-news-item img{width:76px;height:54px;object-fit:cover;border-radius:8px;background:#0b0f14}
.tm-shop-news-item strong{display:block;font-size:12px;line-height:1.35}.tm-shop-news-item small{display:block;margin-top:5px;font-size:10px;color:var(--muted)}
.tm-shop-news-item:hover strong{color:var(--gold)}
.tm-shop-sidebar>.tm-telegram-card{order:0}

.tm-shop-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tm-shop-news-card{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--panel)}
.tm-shop-news-card>img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.tm-shop-news-card>div{padding:12px}
.tm-shop-news-card h3{margin:0 0 10px;font-size:13px;line-height:1.4}.tm-shop-news-card small{font-size:10px;color:var(--muted)}
.tm-shop-news-card:hover{border-color:var(--purple)}
.tm-shop-bottom-live{display:grid;grid-template-columns:280px minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:15px;background:var(--panel);margin:20px 0 36px}
.tm-shop-bottom-live>.tm-shop-live-frame{border-radius:0;aspect-ratio:auto;min-height:180px}
.tm-shop-bottom-live-copy{padding:20px}.tm-shop-bottom-live-copy h2{margin:7px 0;font-size:22px;line-height:1.2}
.tm-shop-live-kicker{font-size:10px;letter-spacing:.08em;color:#ff5a67;font-weight:850}
.tm-shop-bottom-live-copy p{font-size:12px;color:var(--muted)}.tm-shop-bottom-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.tm-shop-bottom-actions button{border:0;margin:0;font:inherit;font-size:12px;font-weight:850;cursor:pointer}
.tm-shop-bottom-actions>a{font-size:12px;padding:8px 12px;border:1px solid var(--line);border-radius:8px}
@media(max-width:1050px){.tm-shop-bottom-live{grid-template-columns:1fr}.tm-shop-bottom-live>.tm-shop-live-frame{aspect-ratio:16/9}}
@media(max-width:580px){.tm-shop-news-grid{grid-template-columns:1fr}}

/* Keep the desktop sidebar within the screen, with its own scroll area. */
@media(min-width:801px){
 .tm-shop-sidebar{top:18px;max-height:calc(100dvh - 100px);grid-auto-rows:max-content;align-content:start;min-height:0;overscroll-behavior:contain;scrollbar-width:none;padding-right:4px}
 .tm-shop-sidebar::-webkit-scrollbar{display:none}
}

/* Both columns share the same bottom edge before the footer. */
.tm-shop-detail-main{display:flow-root}
.tm-shop-detail-main>.tm-shop-bottom-live{margin-bottom:0}
.tm-shop-detail-layout{margin-bottom:36px}
@media(min-width:801px){
 .tm-shop-sidebar{align-self:start;top:18px;max-height:calc(100dvh - 36px)}
}

/* The sidebar moves only inside the main column's exact top/bottom bounds. */
@media(min-width:801px){
 .tm-shop-sidebar-rail{position:relative;min-height:0;align-self:stretch;contain:size;overflow:clip}
 .tm-shop-sidebar-rail>.tm-shop-sidebar{position:absolute;top:0;left:0;right:0;max-height:none;overflow:hidden;padding-right:0;grid-auto-rows:max-content;align-content:start;overscroll-behavior:auto}
}
@media(max-width:800px){.tm-shop-sidebar-rail{min-width:0}.tm-shop-sidebar-rail>.tm-shop-sidebar{transform:none!important;height:auto!important}}

/* Shop landing matches the homepage shell. */
.tm-shop-catalog-wrap{width:min(1440px,calc(100% - 32px))}
@media(max-width:760px){.tm-shop-catalog-wrap{width:min(1440px,calc(100% - 20px))}}

/* Approved rain illustration for the shop landing hero. */
.tm-shop-catalog-wrap .tm-shop-hero{min-height:400px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,rgba(9,13,27,.32),transparent 70%),url("/assets/shop/hero-rain-headphones.webp") center right/cover no-repeat #0c1021}
.tm-shop-catalog-wrap .tm-shop-hero h1{max-width:650px}
.tm-shop-catalog-wrap .tm-shop-search{width:100%;max-width:600px}
@media(max-width:760px){.tm-shop-catalog-wrap .tm-shop-hero{min-height:380px;padding:30px 22px;background-position:70% center;background-image:linear-gradient(90deg,rgba(9,13,27,.88),rgba(9,13,27,.48)),url("/assets/shop/hero-rain-headphones.webp")}.tm-shop-catalog-wrap .tm-shop-hero h1{font-size:clamp(34px,7vw,48px)}.tm-shop-catalog-wrap .tm-shop-search button{padding:12px 16px}}

.tm-shop-search-page{padding:24px 0}.tm-shop-search-page h1{font-size:36px;margin:18px 0}.tm-shop-results-views{display:flex;gap:10px;margin:18px 0}.tm-shop-results-views a{padding:9px 16px;border:1px solid #4a3b69;border-radius:10px;background:#201b31;font-weight:750}.tm-shop-results-views a[aria-current=true]{background:var(--purple);border-color:var(--purple)}.tm-shop-results-list{grid-template-columns:1fr}.tm-shop-results-list .tm-shop-card{display:grid;grid-template-columns:190px minmax(0,1fr)}.tm-shop-results-list .tm-shop-card-image{height:210px;aspect-ratio:auto}.tm-shop-results-list .tm-shop-card-body{justify-content:center}.tm-shop-results-list .tm-shop-card-body p{max-width:750px}
@media(max-width:580px){.tm-shop-results-list .tm-shop-card{grid-template-columns:120px minmax(0,1fr)}.tm-shop-results-list .tm-shop-card-image{height:170px}.tm-shop-results-list .tm-shop-card-body{padding:12px}.tm-shop-results-list .tm-shop-card-body p{display:none}.tm-shop-results-list .tm-shop-image-price{font-size:14px;padding:5px}.tm-shop-results-list .tm-shop-image-price-unknown{font-size:10px}}

/* Compact catalog filters keep products close to the hero. */
.tm-shop-filter-panel{margin:20px 0 22px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.tm-shop-filter-panel .tm-shop-filter-row{display:grid;grid-template-columns:165px minmax(0,1fr);gap:14px;align-items:start;margin:0}
.tm-shop-filter-panel .tm-shop-filter-row+.tm-shop-filter-row{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.tm-shop-filter-row .tm-shop-section-head{margin:0;min-height:36px;align-items:center}
.tm-shop-filter-row .tm-shop-section-head h2{font-size:16px;margin:0;line-height:1.3}
.tm-shop-filter-row .tm-shop-chips{gap:7px;margin:0}
.tm-shop-filter-row .tm-shop-chips a{padding:8px 13px;font-size:12px}
.tm-shop-catalog-products{margin-top:0}
.tm-shop-catalog-products .tm-shop-section-head{margin-bottom:8px}
.tm-shop-catalog-products .tm-shop-catalog-price-note{margin:0 0 14px}
@media(max-width:760px){.tm-shop-filter-panel{padding:14px;margin:16px 0 20px}.tm-shop-filter-panel .tm-shop-filter-row{grid-template-columns:1fr;gap:8px}.tm-shop-filter-row .tm-shop-section-head{min-height:0}.tm-shop-filter-row .tm-shop-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.tm-shop-filter-row .tm-shop-chips a{flex-shrink:0;white-space:nowrap}}

.tm-shop-navigation-section{margin:22px 0}.tm-shop-navigation-section .tm-shop-section-head{margin-bottom:12px;gap:12px;flex-wrap:wrap}.tm-shop-navigation-section h2{font-size:20px;margin:0}.tm-shop-navigation-cards{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 9px;scroll-snap-type:x proximity}.tm-shop-navigation-card{flex:0 0 145px;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-align:center;scroll-snap-align:start;transition:border-color .2s}.tm-shop-navigation-card:hover,.tm-shop-navigation-card[aria-current=true]{border-color:var(--purple)}.tm-shop-navigation-art{height:105px;background:linear-gradient(135deg,#20213e,#352254);display:grid;place-items:center;overflow:hidden}.tm-shop-navigation-art img{width:100%;height:100%;object-fit:cover}.tm-shop-navigation-art>span{font-size:42px;font-weight:850;color:#b49aff}.tm-shop-category-card .tm-shop-navigation-art{background:#f2f3f5}.tm-shop-category-card .tm-shop-navigation-art img{object-fit:contain}.tm-shop-navigation-card strong{font-size:12px;line-height:1.3;padding:9px 7px 3px}.tm-shop-navigation-card small{font-size:11px;color:var(--muted);padding:0 7px 9px;margin-top:auto}
@media(max-width:760px){.tm-shop-navigation-card{flex-basis:125px}.tm-shop-navigation-art{height:95px}.tm-shop-navigation-section{margin:18px 0}}

/* Full image navigation cards with a readable text overlay. */
.tm-shop-navigation-card{position:relative;height:160px;display:block;background:#111722}
.tm-shop-navigation-card .tm-shop-navigation-art{position:absolute;inset:0;height:auto}
.tm-shop-navigation-card .tm-shop-navigation-art img{object-fit:contain}
.tm-shop-navigation-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 42%,rgba(7,10,17,.75) 72%,rgba(7,10,17,.96) 100%)}
.tm-shop-navigation-card>strong{position:absolute;z-index:1;left:7px;right:7px;bottom:27px;padding:0;color:#fff;text-shadow:0 1px 4px #000}
.tm-shop-navigation-card>small{position:absolute;z-index:1;left:7px;right:7px;bottom:9px;padding:0;margin:0;color:#d1d9e5;text-shadow:0 1px 4px #000}
@media(max-width:760px){.tm-shop-navigation-card{height:145px}.tm-shop-navigation-card .tm-shop-navigation-art{height:auto}}

.tm-shop-catalog-wrap .tm-shop-hero{position:relative;padding-bottom:90px}
.tm-shop-hero-actions{position:absolute;right:24px;bottom:22px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.tm-shop-hero-actions a,.tm-shop-hero-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 17px;border:1px solid #8263b6;border-radius:12px;background:rgba(23,18,39,.9);color:#ece2ff;font:750 13px/1.2 inherit;cursor:pointer;backdrop-filter:blur(8px)}
.tm-shop-hero-actions button{font-family:inherit;font-size:13px;font-weight:750}
.tm-shop-hero-actions a:hover,.tm-shop-hero-actions button:hover{background:#46306c}
.tm-shop-hero-actions [aria-expanded=true]{background:var(--purple);border-color:#b08aff;color:#fff}
.tm-shop-hero-actions [aria-current=page]{background:var(--gold);border-color:var(--gold);color:#171411}
.tm-shop-navigation-section[hidden]{display:none}
.tm-shop-hero+.tm-shop-navigation-section[hidden]+.tm-shop-navigation-section[hidden]+.tm-shop-catalog-products{margin-top:24px}
@media(max-width:760px){.tm-shop-catalog-wrap .tm-shop-hero{padding-bottom:26px}.tm-shop-hero-actions{position:static;margin-top:24px;align-self:flex-end}.tm-shop-hero-actions a,.tm-shop-hero-actions button{padding:9px 12px;min-height:38px;font-size:12px}}

.tm-shop-catalog-wrap .tm-shop-hero{padding-bottom:112px}
.tm-shop-hero-catalog-info{position:absolute;left:42px;bottom:20px;max-width:calc(100% - 590px)}
.tm-shop-hero-catalog-info h2{font-size:20px;line-height:1.2;margin:0 0 4px}
.tm-shop-hero-catalog-info>span{font-size:11px;color:#c3cbd8}
.tm-shop-catalog-wrap .tm-shop-hero-catalog-info p{font-size:11px;line-height:1.4;margin:4px 0 0;color:#b6c0d0}
.tm-shop-catalog-wrap .tm-shop-catalog-products{margin-top:14px}
.tm-shop-catalog-wrap .tm-shop-hero+.tm-shop-navigation-section[hidden]+.tm-shop-navigation-section[hidden]+.tm-shop-catalog-products{margin-top:14px}
.tm-shop-navigation-section{margin:14px 0}
@media(max-width:1100px){.tm-shop-catalog-wrap .tm-shop-hero{padding-bottom:160px}.tm-shop-hero-catalog-info{bottom:77px;max-width:calc(100% - 84px)}}
@media(max-width:760px){.tm-shop-catalog-wrap .tm-shop-hero{padding-bottom:22px}.tm-shop-hero-catalog-info{position:static;max-width:100%;margin-top:20px;order:1}.tm-shop-hero-actions{order:2;margin-top:16px}}

/* Paginated store catalogue: crawlable navigation matching the existing dark theme. */
.tm-shop-pagination{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0 4px}
.tm-shop-pagination a,.tm-shop-pagination span{padding:9px 15px;border:1px solid var(--line);border-radius:10px;font-size:13px}
.tm-shop-pagination a{background:var(--panel);color:var(--text);font-weight:750}
.tm-shop-pagination a:hover,.tm-shop-pagination a:focus-visible{border-color:var(--gold);color:var(--gold)}
.tm-shop-pagination span{color:var(--muted);border-color:transparent}

/* Shift only the Categories button; keep the other hero links in place. */
@media(min-width:761px){
  .tm-shop-catalog-wrap .tm-shop-hero-actions > button[data-shop-toggle="shop-category-panel"]{
    transform:translateX(-128px);
  }
}

/* Per-product verification time always stays visible, including compact cards. */
.tm-shop-price-checked{display:block;max-width:100%;margin:0 0 10px;color:var(--muted);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.tm-shop-mini-card .tm-shop-price-checked,.tm-shop-price-block .tm-shop-price-checked{margin:0}

/* Progressive catalog: a small mounted page window; ordinary links remain without JS. */
.tm-shop-grid.tm-shop-feed-grid{display:block;overflow-anchor:none}
.tm-shop-batch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;padding-bottom:17px}
.tm-shop-results-list>.tm-shop-batch{grid-template-columns:1fr}
.tm-shop-feed-controls{text-align:center;padding:16px 0;min-height:58px;color:var(--muted);font-size:13px}
.tm-shop-feed-controls button,.tm-shop-feed-controls a{display:inline-block;margin:5px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);font:inherit;cursor:pointer}
.tm-shop-feed-controls button:hover,.tm-shop-feed-controls button:focus-visible,.tm-shop-feed-controls a:focus-visible{border-color:var(--gold);color:var(--gold)}
.tm-shop-feed-spacer{pointer-events:none;overflow-anchor:none}
.tm-shop-feed-controls [hidden],.tm-shop-feed-controls[hidden],[data-shop-pagination][hidden]{display:none!important}
@media(max-width:880px){.tm-shop-batch{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-shop-results-list>.tm-shop-batch{grid-template-columns:1fr}}
@media(max-width:640px){.tm-shop-batch{gap:10px;padding-bottom:10px}}

/* Uniform catalog/search cards. Keep compact product-page and news tiles separate. */
.tm-shop-catalog-card{min-width:0}
.tm-shop-catalog-card .tm-shop-card-image{position:relative;flex:none;aspect-ratio:1;background:#f2f3f5}
.tm-shop-catalog-card .tm-shop-card-image img,.tm-shop-catalog-card .tm-shop-placeholder{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center;padding:10px}
.tm-shop-catalog-card .tm-shop-placeholder{display:flex;align-items:center;justify-content:center}
.tm-shop-catalog-card .tm-shop-card-body{display:grid;flex:1;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto 1fr auto;gap:6px;align-items:start;padding-top:12px}
.tm-shop-catalog-card .tm-shop-card-meta{display:block;height:1.2em;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-shop-catalog-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;height:2.6em;margin:0;overflow:hidden;font-size:15px;line-height:1.3}
.tm-shop-catalog-card .tm-shop-card-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;height:2.6em;margin:0;overflow:hidden;font-size:13px;line-height:1.3}
.tm-shop-catalog-card .tm-shop-catalog-price{overflow-wrap:anywhere}
.tm-shop-catalog-card .tm-shop-catalog-price-long{font-size:16px}
.tm-shop-catalog-card .tm-shop-price-checked{min-height:1.4em;margin:0;font-size:10px;line-height:1.4}
.tm-shop-catalog-card .tm-shop-detail-link{width:100%;min-height:36px;margin:0}
.tm-shop-results-list .tm-shop-catalog-card{grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:center}
.tm-shop-results-list .tm-shop-catalog-card .tm-shop-card-image{height:auto;aspect-ratio:1}
.tm-shop-results-list .tm-shop-catalog-card .tm-shop-card-body{padding:0;gap:6px}
.tm-shop-results-list .tm-shop-catalog-card .tm-shop-detail-link{width:max-content}
@media(max-width:640px){
 .tm-shop-catalog-card{padding:10px}
 .tm-shop-catalog-card .tm-shop-card-image img,.tm-shop-catalog-card .tm-shop-placeholder{padding:7px}
 .tm-shop-catalog-card .tm-shop-card-body{padding-top:10px}
 .tm-shop-catalog-card h3{font-size:14px}
 .tm-shop-catalog-card .tm-shop-detail-link{padding-inline:6px}
 .tm-shop-catalog-card .tm-shop-card-description{font-size:12px}
 .tm-shop-catalog-card .tm-shop-catalog-price{right:2px;bottom:4px;max-width:calc(100% - 4px);padding:4px;font-size:15px;line-height:1}
 .tm-shop-catalog-card .tm-shop-catalog-price-long{font-size:12px}
 .tm-shop-catalog-card .tm-shop-image-price-unknown{font-size:11px}
}
@media(max-width:580px){
 .tm-shop-results-list .tm-shop-catalog-card{grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:start}
 .tm-shop-results-list .tm-shop-catalog-card .tm-shop-card-body{padding:0;grid-template-rows:auto auto 1fr auto}
 .tm-shop-results-list .tm-shop-catalog-card .tm-shop-card-description{display:none}
 .tm-shop-results-list .tm-shop-catalog-card .tm-shop-detail-link{width:100%}
}


/* SHOP01: selected filter state, individual removal and one-click reset. */
.tm-shop-active-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.tm-shop-active-filters-label{font-size:13px;color:#c2c9d6;margin-right:4px}
.tm-shop-active-filter,.tm-shop-reset-filters{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid #6f549e;border-radius:10px;font-size:13px;line-height:1.25;font-weight:700}
.tm-shop-active-filter{background:#241c39;color:#f2eaff;gap:7px}
.tm-shop-reset-filters{background:#34244b;border-color:#a17bcf;color:#fff}
.tm-shop-active-filter:hover,.tm-shop-reset-filters:hover{border-color:var(--gold);color:var(--gold)}
@media(max-width:640px){.tm-shop-active-filters{gap:7px}.tm-shop-active-filters-label{width:100%}.tm-shop-active-filter,.tm-shop-reset-filters{max-width:100%;overflow-wrap:anywhere}}

/* Product decision first; keep full images and the existing catalog tile geometry. */
.tm-shop-compact-nav>.tm-shop-back-selection{overflow-wrap:anywhere}
.tm-shop-context-note{margin:18px 0;color:var(--gold);overflow-wrap:anywhere}
.tm-shop-detail-layout .tm-shop-product{grid-template-areas:"art heading" "art info" "description description";grid-template-rows:auto 1fr auto;row-gap:14px}
.tm-shop-product-heading{grid-area:heading;min-width:0}
.tm-shop-detail-layout .tm-shop-product-art{grid-area:art}
.tm-shop-product-info{grid-area:info;min-width:0}
.tm-shop-detail-layout .tm-shop-description{grid-area:description}
.tm-shop-product-heading .tm-shop-price{font-size:32px}
.tm-shop-detail-layout .tm-shop-purchase-note{margin:0 0 18px}
.tm-shop-buy{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
.tm-shop-card[id]{scroll-margin-top:18px}
@media(min-width:801px) and (max-width:1050px){
 .tm-shop-detail-layout .tm-shop-product{grid-template-areas:"heading" "art" "info" "description";grid-template-rows:auto;grid-template-columns:minmax(0,1fr)}
 .tm-shop-detail-layout .tm-shop-product-art{aspect-ratio:auto;height:280px}
}
@media(max-width:580px){
 .tm-shop-detail-layout .tm-shop-product{grid-template-areas:"heading" "art" "info" "description";grid-template-rows:auto;gap:14px}
 .tm-shop-detail-layout .tm-shop-product h1{font-size:24px;margin:6px 0 10px}
 .tm-shop-detail-layout .tm-shop-product-art{aspect-ratio:auto;height:220px}
 .tm-shop-product-heading .tm-shop-price{font-size:28px}
 .tm-shop-product-heading .tm-shop-price-note{font-size:12px}
 .tm-shop-detail-layout .tm-shop-purchase-note p{margin:0 0 8px}
 .tm-shop-detail-layout .tm-shop-buy{display:block;padding:12px;font-size:15px}
}

.tm-shop-related>h2{color:var(--gold)}
