:root{--bg:#090909;--panel:#121212;--text:#f3f3f3;--muted:#aaa;--red:#d01818;--line:#2a2a2a;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;line-height:1.45}a{color:inherit;text-decoration:none}img{display:block;width:100%}button{font:inherit}
.topbar{position:sticky;top:0;z-index:20;height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;background:rgba(9,9,9,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:.08em}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border:2px solid var(--red);clip-path:polygon(50% 0,100% 18%,92% 79%,50% 100%,8% 79%,0 18%);color:#fff;background:#141414}.topbar nav{display:flex;gap:28px;color:#c5c5c5;font-size:14px}.topbar nav a:hover{color:#fff}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;background:var(--red);border:1px solid var(--red);color:#fff;font-weight:800;transition:.2s;cursor:pointer}.btn:hover{transform:translateY(-2px);filter:brightness(1.08)}.btn-small{min-height:42px;padding:0 17px;font-size:13px}.btn-ghost{background:transparent;border-color:#555}.full{width:100%;margin-top:25px}
.hero{min-height:760px;display:grid;grid-template-columns:1.05fr .95fr;gap:5vw;align-items:center;padding:80px 5vw 70px;overflow:hidden;background:radial-gradient(circle at 80% 30%,rgba(208,24,24,.16),transparent 35%)}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.22em;color:#df3d3d;margin-bottom:16px}.hero h1{font-size:clamp(64px,9vw,142px);line-height:.83;letter-spacing:-.07em;margin:0 0 32px;text-transform:uppercase}.hero h1 span{color:transparent;-webkit-text-stroke:1.5px #fff}.hero-copy>p{max-width:560px;color:#b8b8b8;font-size:18px}.hero-actions{display:flex;gap:12px;margin:34px 0}.trust-row{display:flex;gap:34px;margin-top:48px}.trust-row div{display:flex;flex-direction:column;border-left:1px solid #444;padding-left:14px}.trust-row strong{font-size:24px}.trust-row span{font-size:12px;color:#999}.hero-visual{position:relative;min-height:590px}.hero-card{position:absolute;overflow:hidden;border:1px solid #333;background:#151515;box-shadow:0 28px 80px rgba(0,0,0,.55)}.hero-card img{height:100%;object-fit:cover}.hero-card-main{width:72%;height:92%;right:3%;top:0;transform:rotate(2deg)}.hero-card-small{width:38%;height:46%;left:0;bottom:0;transform:rotate(-5deg);z-index:2}.stamp{position:absolute;right:-5px;bottom:15px;z-index:3;width:120px;height:120px;border-radius:50%;border:3px solid var(--red);background:#111;display:grid;place-items:center;text-align:center;font-weight:900;color:#ddd;transform:rotate(-9deg);box-shadow:0 10px 40px #000}.stamp small{color:var(--red)}
.marquee{overflow:hidden;border-block:1px solid var(--line);background:var(--red);color:#fff;white-space:nowrap}.marquee div{padding:14px 0;font-weight:900;letter-spacing:.16em;animation:marquee 20s linear infinite}@keyframes marquee{to{transform:translateX(-50%)}}
.section{padding:100px 5vw}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:38px}.section h2{font-size:clamp(38px,5vw,72px);line-height:.95;margin:0;letter-spacing:-.04em}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid #3b3b3b;background:#151515;color:#aaa;padding:10px 15px;cursor:pointer}.filter.active,.filter:hover{background:#fff;color:#111;border-color:#fff}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{background:#111;border:1px solid #222;overflow:hidden;cursor:pointer;transition:.25s}.product-card:hover{transform:translateY(-5px);border-color:#555}.product-image{aspect-ratio:4/5;overflow:hidden;background:#ecebea}.product-image img{height:100%;object-fit:cover;transition:.4s}.product-card:hover img{transform:scale(1.025)}.product-body{padding:18px}.product-top{display:flex;justify-content:space-between;gap:14px}.product-title{font-size:18px;font-weight:850}.product-price{font-size:18px;font-weight:900;white-space:nowrap}.product-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.tag{font-size:11px;color:#aaa;border:1px solid #333;padding:5px 7px}.product-arrow{margin-top:18px;color:#e43b3b;font-weight:800;font-size:13px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center;background:#101010}.split-media{height:700px;overflow:hidden}.split-media img{height:100%;object-fit:cover}.split-copy p{color:#aaa;font-size:18px;max-width:560px}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:35px}.facts div{border-top:2px solid var(--red);padding-top:16px}.facts span{font-weight:900;font-size:25px}.facts p{font-size:12px;margin:6px 0;color:#8d8d8d}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.info-grid article{padding:32px;background:#131313;border:1px solid #262626;min-height:230px}.info-grid article>span{color:var(--red);font-weight:900}.info-grid h3{font-size:24px}.info-grid p{color:#aaa}.cta{margin:0 5vw 80px;padding:55px;display:flex;align-items:center;justify-content:space-between;gap:30px;background:linear-gradient(120deg,#151515,#2b0a0a);border:1px solid #4b1b1b}.cta h2{font-size:clamp(40px,6vw,78px);margin:0}.cta p{color:#aaa}
footer{padding:45px 5vw;border-top:1px solid #292929;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;color:#929292;font-size:12px}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.footer-links a:hover{color:#fff}footer>p{grid-column:1/-1;border-top:1px solid #222;padding-top:20px}
dialog{width:min(1100px,94vw);max-height:92vh;border:1px solid #333;background:#0d0d0d;color:#fff;padding:0;overflow:auto}dialog::backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(5px)}.modal-close{position:sticky;float:right;top:12px;right:12px;z-index:4;width:42px;height:42px;border-radius:50%;border:1px solid #555;background:#111;color:#fff;font-size:28px;cursor:pointer}.modal-layout{display:grid;grid-template-columns:1.1fr .9fr;min-height:650px}.modal-gallery{padding:24px;background:#e9e7e3}.modal-gallery>img{height:590px;object-fit:cover}.thumbs{display:flex;gap:8px;margin-top:10px}.thumbs button{width:70px;height:70px;padding:0;border:2px solid transparent;background:none;cursor:pointer}.thumbs button.active{border-color:var(--red)}.thumbs img{height:100%;object-fit:cover}.modal-copy{padding:55px 45px}.modal-copy h2{font-size:42px;line-height:1;margin:0 0 18px}.modal-price{font-size:28px;font-weight:900;margin-bottom:20px}.meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}.meta span{border:1px solid #333;padding:7px 9px;font-size:12px;color:#bbb}.size-table{border-top:1px solid #333}.size-row{display:grid;grid-template-columns:.7fr 1fr 1fr 1.2fr;gap:10px;padding:11px 0;border-bottom:1px solid #292929;font-size:13px}.size-row.head{color:#888;font-size:11px;text-transform:uppercase}
@media(max-width:980px){.topbar nav{display:none}.hero{grid-template-columns:1fr;padding-top:55px}.hero-visual{min-height:520px}.grid{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.split-media{height:520px}.info-grid{grid-template-columns:1fr}.modal-layout{grid-template-columns:1fr}.modal-gallery>img{height:500px}}
@media(max-width:640px){.topbar{padding:0 16px}.topbar .btn-small{display:none}.brand{font-size:13px}.hero{padding:55px 18px}.hero h1{font-size:58px}.hero-actions{flex-direction:column}.trust-row{gap:10px;justify-content:space-between}.trust-row strong{font-size:18px}.hero-visual{min-height:430px}.hero-card-main{width:82%;height:88%}.hero-card-small{width:43%;height:43%}.stamp{width:90px;height:90px;font-size:12px}.section{padding:75px 18px}.section-head{align-items:flex-start;flex-direction:column}.grid{grid-template-columns:1fr}.split-media{height:430px}.facts{grid-template-columns:1fr}.cta{margin:0 18px 55px;padding:34px 24px;flex-direction:column;align-items:flex-start}footer{grid-template-columns:1fr;padding:35px 18px}.modal-copy{padding:36px 22px}.modal-gallery{padding:12px}.modal-gallery>img{height:430px}.size-row{grid-template-columns:.55fr 1fr 1fr 1.1fr;font-size:11px}}
.brand-logo{width:34px;height:34px;object-fit:cover;border-radius:50%;border:1px solid #c11;display:block}.modal-description{margin:18px 0;color:#d4d4d4;line-height:1.55}.modal-description p{margin:0 0 8px}.thumbs{max-height:180px;overflow:auto}

/* Refined brand logo and hero mascot composition */
.brand-logo{
  width:42px;
  height:42px;
  flex:0 0 42px;
  object-fit:contain;
  object-position:center;
  border:0;
  border-radius:0;
  background:transparent;
  image-rendering:auto;
  filter:drop-shadow(0 0 8px rgba(208,24,24,.18));
}
.hero-tail{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:2;
  overflow:visible;
  pointer-events:none;
}
.hero-tail path{
  fill:none;
  stroke:#cf1d24;
  stroke-width:8;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 4px 3px rgba(0,0,0,.75));
}
.stamp{
  right:-14px;
  bottom:4px;
  width:138px;
  height:138px;
  padding:0;
  overflow:hidden;
  border:3px solid #d01818;
  background:#080808;
  transform:rotate(-8deg);
  border-radius:50%;
}
.stamp img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:scale(1.08);
}
@media(max-width:640px){
  .brand-logo{width:38px;height:38px;flex-basis:38px}
  .stamp{width:98px;height:98px;right:-2px;bottom:12px}
  .hero-tail path{stroke-width:7}
}

/* V4: crisp logo, warmer product gallery and real mascot-tail composition */
.brand-logo{
  transition:transform .22s ease,filter .22s ease;
  transform-origin:center;
}
.brand:hover .brand-logo{
  transform:scale(1.07);
  filter:drop-shadow(0 0 12px rgba(208,24,24,.42));
}

.hero-tail{z-index:2;filter:drop-shadow(0 8px 5px rgba(0,0,0,.68))}
.hero-tail .tail-shadow{fill:#180306;opacity:.9}
.hero-tail .tail-body{fill:url(#tailGradient);stroke:#250307;stroke-width:4;stroke-linejoin:round}
.hero-tail .tail-highlight{fill:none;stroke:rgba(255,154,154,.55);stroke-width:3.5;stroke-linecap:round}
.hero-mascot{
  position:absolute;
  right:-10px;
  bottom:-6px;
  z-index:4;
  width:170px;
  pointer-events:none;
  filter:drop-shadow(0 16px 18px rgba(0,0,0,.75));
}
.hero-mascot img{width:100%;height:auto;object-fit:contain}

/* Pure white was too harsh next to the dark interface. A warm light-gray keeps the product clear but looks more premium. */
.modal-gallery{
  background:linear-gradient(145deg,#e4e1dc 0%,#cac6bf 100%);
  border-right:1px solid rgba(255,255,255,.08);
}
.modal-gallery>img{
  background:#d8d4ce;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 16px 42px rgba(0,0,0,.24);
}
.thumbs button{background:#d8d4ce;border-radius:2px;overflow:hidden}

@media(max-width:640px){
  .hero-mascot{width:112px;right:-3px;bottom:2px}
  .hero-tail .tail-body{stroke-width:5}
}

/* V5: a real long rat tail wrapping the photo collage */
.hero-tail{
  position:absolute;inset:-2% -3% -4% -5%;width:108%;height:108%;z-index:2;
  overflow:visible;pointer-events:none;filter:drop-shadow(0 6px 7px rgba(0,0,0,.72));
}
.hero-tail .tail-outline,.hero-tail .tail-body,.hero-tail .tail-highlight{fill:none;stroke-linecap:round;stroke-linejoin:round}
.hero-tail .tail-outline{stroke:#260307;stroke-width:25}
.hero-tail .tail-body{stroke:url(#tailStroke);stroke-width:15}
.hero-tail .tail-highlight{stroke:rgba(255,151,151,.58);stroke-width:3.2}
.hero-mascot{z-index:5;width:142px;right:-5px;bottom:-8px;filter:drop-shadow(0 12px 14px rgba(0,0,0,.82))}
.hero-card-main{z-index:1}.hero-card-small{z-index:4}
@media(max-width:640px){
  .hero-tail{inset:0 -5% -4% -7%;width:113%;height:106%}
  .hero-tail .tail-outline{stroke-width:21}
  .hero-tail .tail-body{stroke-width:12}
  .hero-tail .tail-highlight{stroke-width:2.6}
  .hero-mascot{width:96px;right:-2px;bottom:0}
}

/* V6: one continuous tail — the SVG begins underneath the rat's body. */
.hero-mascot{
  width:124px;
  right:-1px;
  bottom:-7px;
}
.hero-mascot img{
  width:100%;
  height:auto;
  display:block;
}
.hero-tail{
  z-index:3;
}
.hero-card-main{z-index:1}
.hero-card-small{z-index:4}
.hero-mascot{z-index:5}
@media(max-width:640px){
  .hero-mascot{width:86px;right:0;bottom:0}
}


/* V7: make the collage tail visually start from the rat itself */
.hero-mascot{
  position:absolute;
  width:128px;
  right:-2px;
  bottom:-6px;
}
.hero-mascot img{
  position:relative;
  z-index:1;
}
.hero-mascot::after{
  content:"";
  position:absolute;
  right:-10px;
  bottom:18px;
  width:60px;
  height:24px;
  background:radial-gradient(circle at 35% 45%, #0d0909 0%, #090909 72%);
  border-radius:999px;
  transform:rotate(-6deg);
  z-index:2;
  pointer-events:none;
}
.hero-tail{
  z-index:3;
}
@media(max-width:640px){
  .hero-mascot{width:92px;right:0;bottom:-1px}
  .hero-mascot::after{right:-6px;bottom:12px;width:42px;height:16px}
}


/* CDEK checkout */
#cdekModal{max-width:560px;width:calc(100% - 28px);border:1px solid #333;background:#111;color:#fff;padding:0;border-radius:18px}
#cdekModal::backdrop{background:rgba(0,0,0,.78)}
.cdek-form{padding:34px;display:grid;gap:14px}.cdek-form h2{margin:0 0 4px}.cdek-product{color:#ff493f;margin:0 0 8px}.cdek-form label{display:grid;gap:7px;font-size:13px;color:#bbb}.cdek-form input{background:#191919;color:#fff;border:1px solid #363636;border-radius:10px;padding:13px 14px;font:inherit;outline:none}.cdek-form input:focus{border-color:#ff493f}.cdek-status{min-height:20px;font-size:13px}.cdek-note{font-size:11px;color:#777;margin:0}.btn.full{width:100%;text-align:center}.cdek-form button:disabled{opacity:.55;cursor:wait}
/* Account + PVZ checkout */
.account-btn{margin-left:auto}.auth-modal{max-width:460px;width:calc(100% - 28px);border:1px solid #333;background:#111;color:#fff;padding:0;border-radius:18px}.auth-box{padding:34px}.auth-box h2{font-size:38px;margin:0 0 24px}.auth-box form{display:grid;gap:14px}.auth-box label{display:grid;gap:7px;color:#bbb;font-size:13px}.auth-box input{background:#191919;color:#fff;border:1px solid #363636;border-radius:10px;padding:13px 14px;font:inherit}.auth-switch{display:block;margin:16px auto 0;border:0;background:transparent;color:#aaa;cursor:pointer;text-decoration:underline}.auth-switch:hover{color:#fff}
.pvz-picker{position:relative}.pvz-picker>input{width:100%}.pvz-results{display:none;position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;max-height:290px;overflow:auto;background:#fff;color:#111;border:1px solid #bbb;box-shadow:0 14px 40px rgba(0,0,0,.5)}.pvz-results.open{display:block}.pvz-item{display:grid;width:100%;gap:3px;padding:13px 14px;text-align:left;border:0;border-bottom:1px solid #ddd;background:#fff;color:#111;cursor:pointer}.pvz-item:hover{background:#f0f0f0}.pvz-item strong{font-size:14px}.pvz-item span{font-size:13px}.pvz-item small{color:#777}.pvz-loading{padding:15px;color:#555}.pvz-selected{padding:12px 14px;background:#191919;border:1px solid #363636;border-radius:10px;color:#ddd;font-size:13px}.cdek-quote{min-height:24px;padding:0 2px;color:#f2f2f2;font-size:14px}.cdek-quote small{color:#888}
@media(max-width:720px){.account-btn{min-height:38px;padding:0 12px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.cdek-form{padding:24px}.auth-box{padding:24px}.pvz-results{max-height:240px}}

.turnstile-box{margin:4px 0 14px;min-height:66px}.turnstile-box small{display:block;margin-top:6px;color:#aaa;font-size:12px}.turnstile-box[hidden]{display:none}


/* Store v2: cart, checkout, profile */
.header-actions{display:flex;gap:8px;align-items:center}.cart-btn span{display:inline-flex;min-width:22px;height:22px;border-radius:11px;align-items:center;justify-content:center;background:#fff;color:#111;margin-left:6px;font-size:12px}.product-options{display:grid;grid-template-columns:1fr 1fr .7fr;gap:10px;margin:18px 0}.product-options label,.profile-form label{display:grid;gap:7px;font-size:13px;color:#c9c9c9}.product-options select,.product-options input,.profile-form input{width:100%;background:#171717;color:#fff;border:1px solid #383838;padding:12px 13px;border-radius:8px}.mini-status{min-height:22px;margin-top:10px;color:#bbb;font-size:13px}.store-dialog{width:min(760px,94vw);max-height:90vh;background:#111;color:#fff;border:1px solid #343434;border-radius:20px;padding:0;overflow:auto}.store-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(8px)}.store-box{padding:32px}.cart-items{display:grid;gap:12px;margin:20px 0}.cart-line{display:grid;grid-template-columns:86px 1fr auto;gap:14px;padding:12px;border:1px solid #2d2d2d;border-radius:12px;background:#151515}.cart-line img{width:86px;height:102px;object-fit:cover;border-radius:8px}.cart-line-main{display:flex;flex-direction:column;gap:5px}.cart-line-main span,.cart-line-main small{color:#aaa}.cart-line-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.qty{display:flex;align-items:center;gap:8px}.qty button,.remove{background:#222;color:#fff;border:1px solid #3a3a3a;border-radius:6px;cursor:pointer}.qty button{width:30px;height:30px}.remove{padding:5px 8px;color:#aaa}.cart-summary{display:flex;justify-content:space-between;padding:16px 0;border-top:1px solid #333;font-size:20px}.empty-state{padding:24px;border:1px dashed #343434;border-radius:12px;color:#999;text-align:center}.checkout-totals{display:grid;gap:10px;padding:16px;border:1px solid #343434;border-radius:12px;background:#151515}.checkout-totals>div{display:flex;justify-content:space-between;gap:20px}.checkout-total{padding-top:10px;border-top:1px solid #343434;font-size:20px}.checkout-totals small{color:#999}.profile-email{color:#aaa;margin:-8px 0 18px}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:28px}.profile-form .full,.profile-form .cdek-status{grid-column:1/-1}.profile-orders{display:grid;gap:12px}.order-card{border:1px solid #323232;border-radius:12px;padding:16px;background:#151515}.order-head,.order-meta{display:flex;justify-content:space-between;gap:12px}.order-head span{color:#ff4b4b}.order-items{margin:12px 0;color:#ccc;display:grid;gap:4px}.order-meta{color:#999;margin-bottom:8px}.retry-cdek{margin-top:10px}.btn:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:760px){.header-actions{gap:5px}.header-actions .btn{padding:9px 10px;font-size:12px}.profile-form,.product-options{grid-template-columns:1fr}.cart-line{grid-template-columns:68px 1fr}.cart-line img{width:68px;height:84px}.cart-line-actions{grid-column:2;align-items:flex-start;flex-direction:row;flex-wrap:wrap}.store-box{padding:24px 18px}}


/* Mobile header fix: keep account/cart accessible */
@media(max-width:640px){
  .topbar{height:68px;padding:0 10px;gap:8px}
  .topbar .brand{flex:0 0 auto}
  .topbar .brand span{display:none}
  .topbar .brand-logo{width:38px;height:38px;flex-basis:38px}
  .header-actions{margin-left:auto;display:flex;gap:5px;min-width:0}
  .topbar .header-actions .btn-small{display:inline-flex;min-height:38px;padding:0 9px;font-size:11px;white-space:nowrap}
  .topbar .header-actions .btn[hidden]{display:none!important}
  .topbar .account-btn{max-width:104px;overflow:hidden;text-overflow:ellipsis}
  .topbar .cart-btn span{min-width:19px;height:19px;margin-left:4px;font-size:10px}
}
@media(max-width:380px){
  .topbar{padding:0 8px;gap:5px}
  .topbar .header-actions .btn-small{padding:0 7px;font-size:10px}
  .topbar .account-btn{max-width:86px}
}


/* Catalog availability */
.product-image{position:relative}.stock-badge{position:absolute;left:12px;top:12px;z-index:2;padding:6px 9px;border:1px solid #8ba063;background:rgba(238,242,224,.94);color:#5d6d3d;font-size:10px;font-weight:900;letter-spacing:.06em}.stock-badge.sold{border-color:#555;background:rgba(22,22,22,.9);color:#aaa}.product-card.sold-out .product-image img{filter:grayscale(.7);opacity:.68}.product-card.sold-out .product-arrow{color:#777}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none!important}
