:root{
  --bg:#f7faff;
  --white:#ffffff;
  --soft:#eef5ff;
  --soft2:#e7f1ff;
  --text:#07111f;
  --muted:#5c6b7a;
  --light:#8a97a6;
  --blue:#006dff;
  --blue2:#3ba3ff;
  --blue3:#00c8ff;
  --dark:#020817;
  --line:#d9e6f5;
  --line-blue:#bbd8ff;
  --red:#f04460;
  --shadow:0 18px 50px rgba(0,80,180,.12);
  --shadow-blue:0 18px 45px rgba(0,109,255,.22);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:radial-gradient(720px 420px at 50% 0,rgba(0,109,255,.10),transparent 72%),linear-gradient(180deg,#fff 0%,var(--bg) 42%,#fff 100%);min-height:100vh;overflow-x:hidden}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}img{max-width:100%;display:block}.container{width:min(1240px,calc(100% - 44px));margin:0 auto}.hidden{display:none!important}.bg-glows{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.bg-glows:before,.bg-glows:after{content:"";position:absolute;border-radius:999px;filter:blur(82px);opacity:.55}.bg-glows:before{width:430px;height:430px;background:rgba(0,109,255,.13);left:-120px;top:180px}.bg-glows:after{width:520px;height:520px;background:rgba(59,163,255,.13);right:-140px;top:360px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);border-bottom:1px solid var(--line);backdrop-filter:blur(20px);box-shadow:0 10px 30px rgba(7,17,31,.04)}.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative}.brand img{width:245px}.main-nav{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:7px;border-radius:999px;box-shadow:0 12px 30px rgba(7,17,31,.05)}.main-nav a{position:relative;color:var(--text);font-size:15px;font-weight:850;padding:11px 18px;border-radius:999px;transition:.25s}.main-nav a:hover,.main-nav a.active{color:#fff;background:linear-gradient(135deg,var(--blue2),var(--blue));box-shadow:0 10px 25px rgba(0,109,255,.22)}.header-icons{display:flex;align-items:center;gap:10px}.icon-btn{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);background:#fff;color:var(--text);border-radius:50%;cursor:pointer;position:relative;transition:.25s;box-shadow:0 10px 25px rgba(7,17,31,.05)}.icon-btn:hover{color:var(--blue);border-color:var(--line-blue);box-shadow:var(--shadow)}.count-dot{position:absolute;right:-3px;top:-3px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:var(--blue);color:#fff;font-size:11px;font-weight:1000;box-shadow:0 0 18px rgba(0,109,255,.45)}.burger{display:none}.search-pop{position:absolute;right:0;top:68px;width:min(480px,calc(100vw - 44px));padding:14px;border:1px solid var(--line);background:#fff;border-radius:20px;box-shadow:var(--shadow)}.search-pop input{width:100%;outline:0;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:14px;padding:14px 16px}.search-results{display:grid;gap:9px;margin-top:10px}.search-results a{display:grid;grid-template-columns:70px 1fr;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);background:#fff;border-radius:15px;transition:.2s}.search-results a:hover{border-color:var(--line-blue);box-shadow:0 12px 30px rgba(0,109,255,.08)}.search-thumb{height:72px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:var(--soft)}.search-thumb img{width:100%;height:100%;object-fit:cover}.search-results b{display:block}.search-results small{display:block;color:var(--muted);margin-top:4px}.empty-mini{padding:12px;border-radius:12px;color:var(--muted);background:var(--soft)}

/* Gate */
.age-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:22px;background:rgba(2,8,23,.48);backdrop-filter:blur(10px)}.age-card{width:min(620px,100%);padding:32px;border:1px solid var(--line-blue);background:#fff;border-radius:28px;box-shadow:0 40px 140px rgba(7,17,31,.22)}.age-card h2{font-size:34px;line-height:1.08;margin:17px 0 12px}.age-card p{color:var(--muted);line-height:1.7}.age-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.age-kicker,.eyebrow{display:inline-flex;align-items:center;justify-content:center;width:max-content;gap:8px;color:var(--blue);background:var(--blue-soft,var(--soft2));border:1px solid var(--line-blue);border-radius:999px;padding:8px 14px;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.075em}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:999px;padding:15px 24px;font-weight:950;cursor:pointer;white-space:nowrap;transition:.25s}.btn-primary{color:#fff;background:linear-gradient(135deg,var(--blue2),var(--blue) 76%);box-shadow:var(--shadow-blue),inset 0 1px 0 rgba(255,255,255,.28)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 24px 58px rgba(0,109,255,.30)}.btn-ghost{color:var(--text);background:#fff;border:1px solid var(--line);box-shadow:0 10px 25px rgba(7,17,31,.04)}.btn-ghost:hover{color:var(--blue);border-color:var(--line-blue);transform:translateY(-2px);box-shadow:var(--shadow)}.btn-danger{background:rgba(240,68,96,.12);color:#c51d3c;border:1px solid rgba(240,68,96,.2)}

/* Hero */
.hero{position:relative;display:flex;align-items:center;min-height:660px;padding:0;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(760px 430px at 50% 18%,rgba(0,109,255,.14),transparent 64%),radial-gradient(840px 500px at 55% 2%,rgba(59,163,255,.08),transparent 68%);pointer-events:none}.hero-inner{position:relative;z-index:1;text-align:center;display:grid;justify-items:center;padding:10px 0 30px}.hero-atom{width:min(465px,76vw);height:min(360px,58vw);display:grid;place-items:center;margin:-5px auto 2px;filter:drop-shadow(0 0 24px rgba(0,109,255,.28));animation:atomHue 6s ease-in-out infinite}.atom-svg{width:100%;height:100%;overflow:visible}.atom-orbit-base{fill:none;stroke:#54bfff;stroke-width:8;opacity:.65;filter:drop-shadow(0 0 10px rgba(0,109,255,.35));stroke-linecap:round}.atom-orbit-shimmer{fill:none;stroke:url(#atomShimmer);stroke-width:10;stroke-linecap:round;stroke-dasharray:90 470;opacity:.95;filter:drop-shadow(0 0 15px rgba(59,163,255,.55));animation:shimmerDash 4.5s linear infinite, shimmerGlow 3.4s ease-in-out infinite}.atom-orbit-shimmer.s2{animation-delay:-1.4s}.atom-orbit-shimmer.s3{animation-delay:-2.8s}.atom-core-svg{fill:#fff;filter:drop-shadow(0 0 24px rgba(0,109,255,.38)) drop-shadow(0 0 70px rgba(59,163,255,.35));animation:corePulse 4.2s ease-in-out infinite}.atom-dot{fill:#60d7ff;filter:drop-shadow(0 0 17px #60d7ff) drop-shadow(0 0 40px rgba(0,109,255,.35));animation:dotGlow 3.6s ease-in-out infinite}.atom-dot.d2{animation-delay:-1.1s}.atom-dot.d3{animation-delay:-2.2s}@keyframes shimmerDash{to{stroke-dashoffset:-560}}@keyframes shimmerGlow{0%,100%{opacity:.78;stroke-width:8}50%{opacity:1;stroke-width:11}}@keyframes corePulse{0%,100%{r:42}50%{r:46}}@keyframes dotGlow{0%,100%{fill:#60d7ff}45%{fill:#006dff}78%{fill:#7dbbff}}@keyframes atomHue{0%,100%{filter:drop-shadow(0 0 24px rgba(0,109,255,.28))}50%{filter:drop-shadow(0 0 38px rgba(0,109,255,.40))}}
.hero h1{font-size:clamp(48px,7vw,78px);line-height:.98;margin:0 0 16px}.hero h1 span{background:linear-gradient(135deg,var(--text) 0%,var(--text) 46%,var(--blue) 66%,var(--blue2) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{max-width:730px;color:var(--muted);line-height:1.65;font-size:18px;margin:0 auto 24px}.hero .btn{min-width:300px;padding:18px 34px;font-size:16px}

/* Features */
.feature-strip{margin-top:-24px;position:relative;z-index:3}.strip-card{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.strip-item{min-height:150px;border:1px solid var(--line);background:#fff;border-radius:22px;padding:26px;text-align:center;display:grid;justify-items:center;align-content:center;box-shadow:var(--shadow)}.strip-icon{width:46px;height:46px;color:var(--blue);filter:drop-shadow(0 0 12px rgba(0,109,255,.22));margin-bottom:16px}.strip-item h3{margin:0 0 6px;font-size:18px}.strip-item p{margin:0;color:var(--muted);line-height:1.55}
.section{padding:58px 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:24px}.section-kicker{display:inline-flex;margin:0 0 10px;color:var(--blue);font-size:13px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em}.section-title{font-size:clamp(34px,4vw,48px);line-height:1.06;margin:0;letter-spacing:-.04em}.section-title span{color:var(--blue)}.section-desc{color:var(--muted);line-height:1.7;margin:12px 0 0;max-width:680px}

/* Company */
.company-card{display:grid;grid-template-columns:1.04fr .96fr;gap:40px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:30px;padding:34px;box-shadow:var(--shadow);overflow:hidden}.company-poster{height:430px;border-radius:24px;overflow:hidden;border:1px solid var(--line);background:var(--soft)}.company-poster img{width:100%;height:100%;object-fit:cover}.company-info{display:grid;justify-items:flex-start}.company-info .eyebrow{justify-self:center;margin-bottom:22px}.company-info h2{font-size:clamp(42px,5vw,68px);line-height:1.02;letter-spacing:-.055em;margin:0 0 20px}.company-info h2 span{display:block;color:var(--blue)}.company-info p{color:var(--muted);font-size:18px;line-height:1.75;margin:0 0 22px}.check-list{list-style:none;display:grid;gap:12px;padding:0;margin:0 0 24px}.check-list li{display:flex;align-items:center;gap:12px;font-weight:800}.check-list li:before{content:'✓';width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;font-size:14px;box-shadow:0 7px 18px rgba(0,109,255,.22)}

/* Products */
.catalog-toolbar{display:flex;justify-content:center;margin-bottom:22px}.catalog-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 12px 30px rgba(7,17,31,.04)}.catalog-tabs button{border:0;border-radius:999px;padding:10px 16px;background:transparent;color:var(--muted);font-weight:900;cursor:pointer}.catalog-tabs button.active,.catalog-tabs button:hover{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product-card{border:1px solid var(--line);background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 14px 38px rgba(7,17,31,.07);transition:.25s;display:grid}.product-card:hover{transform:translateY(-4px);border-color:var(--line-blue);box-shadow:var(--shadow)}.product-img{height:245px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(180px 120px at 50% 62%,rgba(59,163,255,.20),transparent 62%),linear-gradient(180deg,#fff,var(--soft))}.product-photo{width:100%;height:100%;object-fit:cover;transition:.35s}.product-card:hover .product-photo{transform:scale(1.035)}.product-body{display:grid;gap:14px;padding:18px}.product-title{font-size:18px;line-height:1.25;font-weight:950;text-align:center;min-height:44px}.product-title:hover{color:var(--blue)}.variant-row{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.variant-chip{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:11px;padding:8px 12px;font-size:13px;font-weight:900;cursor:pointer;white-space:nowrap;min-width:58px}.variant-chip.active,.variant-chip:hover{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 8px 18px rgba(0,109,255,.20)}.product-bottom{display:grid;gap:13px;justify-items:center}.price{display:flex;justify-content:center;align-items:baseline;gap:8px;flex-wrap:nowrap;text-align:center}.price strong{font-size:26px;font-weight:1000;color:var(--text)}.price s{color:var(--light);font-weight:900}.product-card .price s+strong{color:var(--red)}.mini-cart{width:100%;height:50px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;font-size:15px;font-weight:1000;box-shadow:0 14px 30px rgba(0,109,255,.22),inset 0 1px 0 rgba(255,255,255,.24)}.mini-cart:before{content:"В корзину"}.mini-cart svg{width:21px;height:21px}

/* Footer */
.footer{margin-top:44px;background:radial-gradient(780px 260px at 50% 0,rgba(0,109,255,.22),transparent 72%),var(--dark);color:#fff;padding:54px 0 24px}.footer-brand{display:grid;justify-items:center;margin-bottom:32px}.footer-brand img{width:300px;filter:brightness(0) invert(1) drop-shadow(0 0 18px rgba(59,163,255,.25))}.footer-columns{display:grid;grid-template-columns:.9fr 1fr 1.3fr 1.45fr 1.1fr 1.25fr;gap:25px;padding:8px 0 34px;border-bottom:1px solid rgba(255,255,255,.10)}.footer-col h3{font-size:16px;margin:0 0 15px}.footer-col a,.footer-col p{display:block;color:#b7c6da;margin:10px 0;font-size:14px;line-height:1.55}.footer-col a:hover{color:#fff}.footer-col input{width:100%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:14px;color:#fff;margin-bottom:12px}.footer-col input::placeholder{color:#8494ad}.footer-col .btn{width:100%;border-radius:12px}.social-row{display:flex;justify-content:center;gap:14px;margin:24px 0}.social-row a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#eaf6ff;font-weight:800}.legal-grid{display:grid;grid-template-columns:1fr 1fr 1.45fr;gap:18px;margin-top:22px}.legal-box{border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.075);border-radius:18px;padding:20px}.legal-box h3{color:#b6c3d2;margin:0 0 12px;font-size:16px}.legal-box p{color:#a9b6c6;line-height:1.62;font-size:13px;margin:0}.bottom-footer{display:flex;align-items:center;justify-content: center;gap:18px;flex-wrap:wrap;margin-top:24px;color:#b8c5d5;font-size:13px}.bottom-links{display:flex;gap:22px;flex-wrap:wrap}

/* Catalog */
.page-hero{padding:64px 0 30px}.page-hero h1{font-size:clamp(42px,5.6vw,66px);letter-spacing:-.05em;margin:16px 0 10px}.filter-panel{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr auto;gap:12px;margin-bottom:22px;padding:16px;border:1px solid var(--line);background:#fff;border-radius:22px;box-shadow:var(--shadow)}.filter-panel input,.filter-panel select{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:14px;padding:14px;outline:none}.filter-panel option{background:#fff;color:var(--text)}.count-line{color:var(--muted);font-weight:850;margin-bottom:18px}.pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin:38px auto 0;padding:10px;border:1px solid var(--line);background:#fff;border-radius:999px;width:max-content;max-width:100%;box-shadow:0 12px 30px rgba(7,17,31,.06)}.page-btn{min-width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--text);font-weight:900;cursor:pointer}.page-btn.active{background:linear-gradient(135deg,var(--blue2),var(--blue));box-shadow:0 0 24px rgba(0,109,255,.22);color:#fff}.page-btn:disabled{opacity:.38;cursor:not-allowed}.page-dots{color:var(--light);padding:0 4px}

/* Product detail */
.product-page-wrap{padding-top:54px}.product-detail{display:grid;grid-template-columns:.92fr 1.08fr;gap:38px;align-items:center}.product-breadcrumb{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:-18px;color:var(--muted);font-size:14px;font-weight:800}.product-breadcrumb a{color:var(--muted);transition:.2s}.product-breadcrumb a:hover{color:var(--blue)}.product-breadcrumb span[aria-current="page"]{color:var(--text);max-width:min(520px,70vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.glass-card{border:1px solid var(--line);background:#fff;border-radius:24px;box-shadow:var(--shadow)}.detail-gallery{height:620px;display:block;overflow:hidden;padding:0}.detail-photo{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.detail-info .eyebrow{margin-bottom:18px}.detail-info h1{font-size:clamp(40px,5vw,64px);line-height:1;margin:0 0 15px;letter-spacing:-.045em}.detail-info p{color:var(--muted);line-height:1.72;font-size:17px}.detail-price{justify-content:flex-start;margin:20px 0}.detail-price strong{font-size:42px}.detail-variants{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin:14px 0 24px;overflow-x:auto;padding-bottom:4px}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.notice-card{margin-top:22px;padding:18px;border-radius:16px;background:var(--soft);border:1px solid var(--line);color:var(--muted);line-height:1.6}.detail-panels{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.detail-panels article{padding:24px}.detail-panels p{color:var(--muted);line-height:1.65}.related-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:44px 0 24px}.related-head h2{margin:0}

/* Cart / account */
.checkout-layout{display:grid;grid-template-columns:1.1fr .55fr;gap:24px}.steps{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 24px}.step-pill{padding:10px 14px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#fff;font-weight:900}.step-pill.active{color:#fff;background:linear-gradient(135deg,var(--blue2),var(--blue));border-color:var(--blue)}.checkout-step{display:none}.checkout-step.active{display:block}.cart-item{display:grid;grid-template-columns:96px 1fr auto auto auto;gap:16px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px;margin-bottom:12px;box-shadow:0 10px 25px rgba(7,17,31,.05)}.cart-thumb{height:96px;border-radius:14px;overflow:hidden;background:var(--soft);display:block}.cart-thumb img{width:100%;height:100%;object-fit:cover}.cart-item h3{margin:0 0 6px}.cart-item p,.cart-item span{margin:0;color:var(--muted)}.qty{display:flex;align-items:center;gap:10px}.qty button,.remove{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:10px;cursor:pointer}.qty button{width:34px;height:34px}.remove{padding:9px 12px;color:#c51d3c}.summary-card{position:sticky;top:106px;padding:22px;height:max-content}.summary-products{display:grid;gap:10px;margin-bottom:16px}.summary-product{display:grid;grid-template-columns:54px 1fr auto;gap:10px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:14px;background:#fff}.summary-thumb{width:54px;height:54px;border-radius:10px;overflow:hidden;background:var(--soft)}.summary-thumb img{width:100%;height:100%;object-fit:cover}.summary-product span span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.summary-line{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.summary-card p{color:var(--muted);line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:grid;gap:7px;color:var(--text);font-weight:850}.form-grid input{background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:12px;padding:13px}.pay-methods{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.pay-method{padding:18px;border-radius:16px;background:var(--soft);border:1px solid var(--line)}.pay-method b{display:block;margin-bottom:6px}.pay-method span{color:var(--muted);font-size:13px}.empty-cart{padding:34px;text-align:center}.thanks-modal{position:fixed;inset:0;background:rgba(2,8,23,.48);backdrop-filter:blur(10px);display:grid;place-items:center;z-index:90;padding:20px}.thanks-card{width:min(520px,100%);padding:34px;text-align:center;border-radius:24px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.thanks-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:linear-gradient(135deg,var(--blue2),var(--blue));font-size:34px;font-weight:1000;color:#fff}.account-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px}.profile-card,.orders-card,.address-card{padding:24px}.profile-card dl{display:grid;gap:14px}.profile-card div{display:grid;grid-template-columns:130px 1fr;gap:12px}.profile-card dt{color:var(--muted)}.order-item{padding:16px;border-radius:16px;background:var(--soft);border:1px solid var(--line);margin-bottom:12px}.order-item b{display:block;margin-bottom:6px}.order-item span{color:var(--muted)}.toast-root{position:fixed;right:18px;bottom:18px;z-index:200;display:grid;gap:10px}.toast{transform:translateY(12px);opacity:0;transition:.25s;padding:14px 16px;border-radius:14px;background:var(--dark);border:1px solid rgba(255,255,255,.10);box-shadow:var(--shadow);color:#fff}.toast.show{transform:translateY(0);opacity:1}

@media(max-width:1120px){.product-grid{grid-template-columns:repeat(3,1fr)}.footer-columns{grid-template-columns:repeat(3,1fr)}}
@media(max-width:980px){.main-nav{display:none;position:absolute;left:0;right:0;top:72px;border-radius:18px;padding:12px;background:#fff;flex-direction:column;box-shadow:var(--shadow)}.main-nav.open{display:flex}.burger{display:grid}.hero{min-height:auto}.strip-card,.company-card,.product-detail,.detail-panels,.checkout-layout,.account-grid,.legal-grid{grid-template-columns:1fr}.filter-panel{grid-template-columns:1fr 1fr}.detail-gallery{height:520px}.company-poster{height:360px}.footer-columns{grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.container{width:min(100% - 28px,1240px)}.header-inner{height:72px}.brand img{width:205px}.hero h1{font-size:42px}.hero-atom{width:min(360px,90vw)}.product-grid{grid-template-columns:1fr;gap:16px}.product-img{height:270px}.footer-columns,.filter-panel,.form-grid,.pay-methods{grid-template-columns:1fr}.cart-item{grid-template-columns:76px 1fr;gap:12px}.cart-item .qty,.cart-item>strong,.cart-item .remove{grid-column:2}.detail-actions{grid-template-columns:1fr}.variant-row{overflow-x:auto;justify-content:flex-start}.section-head{display:block}.footer-brand img{width:240px}.legal-grid{grid-template-columns:1fr}}
.account-page-hero{padding-bottom:28px}
.account-section{padding-top:0}
.account-dashboard{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:start}
.account-nav,.account-panel{border:1px solid var(--line);border-radius:22px;background:#fff;padding:20px;box-shadow:var(--shadow)}
.account-nav a{display:block;padding:13px 14px;border-radius:12px;font-weight:850;color:var(--text);transition:.22s}
.account-nav a:hover{color:var(--blue);background:var(--soft)}
.account-nav a.active{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;box-shadow:var(--shadow-blue)}
.account-user-card{padding:8px 8px 18px;margin-bottom:8px;border-bottom:1px solid var(--line);display:grid;gap:7px}
.account-avatar{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;display:grid;place-items:center;font-weight:1000;box-shadow:0 16px 28px rgba(0,109,255,.22)}
.account-user-card strong{font-size:18px;line-height:1.25}
.account-user-card span{font-size:14px;color:var(--muted);line-height:1.35;word-break:break-word}
.account-hero-card{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:28px;border-radius:22px;background:radial-gradient(circle at 20% 20%,rgba(59,163,255,.22),transparent 34%),linear-gradient(135deg,#07101f,#05070c);color:#fff;margin-bottom:18px;overflow:hidden}
.account-eyebrow{display:inline-flex;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);font-weight:950;font-size:13px;margin-bottom:14px;text-transform:uppercase;letter-spacing:.06em}
.account-hero-card h2{font-size:34px;line-height:1.05;margin:0 0 10px;letter-spacing:-.04em}
.account-hero-card p{margin:0;color:#deebff;font-size:17px;line-height:1.5;max-width:680px}
.account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}
.account-stat{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}
.account-stat span{display:block;color:var(--muted);font-weight:850;margin-bottom:8px}
.account-stat strong{font-size:28px;letter-spacing:-.04em}
.account-content{display:grid;gap:16px}
.account-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:10px 0 2px}
.account-section-head h3{margin:0;font-size:28px;letter-spacing:-.04em}
.account-section-head span{color:var(--muted);font-weight:850}
.account-empty{border:1px dashed var(--line-blue);border-radius:20px;background:var(--soft);padding:34px;text-align:center;display:grid;justify-items:center;gap:12px}
.account-empty-icon{width:68px;height:68px;border-radius:20px;background:var(--soft2);color:var(--blue);display:grid;place-items:center}
.account-empty-icon svg{width:34px;height:34px}
.account-empty h3{font-size:28px;margin:4px 0 0}
.account-empty p{margin:0 0 8px;color:var(--muted);font-size:18px;line-height:1.5;max-width:560px}
.account-orders-list{display:grid;gap:14px}
.account-order-card{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 14px 30px rgba(10,18,36,.05);padding:20px}
.account-order-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--line)}
.account-order-top strong{display:block;font-size:22px;letter-spacing:-.03em}
.account-order-top span{color:var(--muted);font-size:15px}
.order-status{padding:8px 12px;border-radius:999px;background:#ecfdf3;color:#087f42;font-weight:950;white-space:nowrap}
.account-order-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px 0;color:var(--muted)}
.account-order-meta strong{color:var(--text)}
.account-order-items{display:grid;gap:10px}
.account-order-item{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;padding:10px;border-radius:14px;background:var(--soft)}
.account-order-item img{width:54px;height:54px;object-fit:cover;border-radius:12px;background:#fff}
.account-order-item strong{display:block;margin-bottom:3px}
.account-order-item span{color:var(--muted);font-size:14px}
.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.profile-cell,.account-address-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:18px}
.profile-cell span{display:block;color:var(--muted);font-weight:850;margin-bottom:8px}
.profile-cell strong{font-size:19px;word-break:break-word}
.account-address-card{display:grid;grid-template-columns:54px 1fr;gap:14px;align-items:start}
.address-icon{width:54px;height:54px;border-radius:16px;background:var(--soft2);color:var(--blue);display:grid;place-items:center}
.address-icon svg{width:26px;height:26px}
.account-address-card strong{font-size:20px}
.account-address-card p{margin:8px 0 0;color:var(--muted);font-size:17px;line-height:1.5}

@media(max-width:980px){
  .account-dashboard{grid-template-columns:1fr}.account-hero-card,.account-order-top{flex-direction:column;align-items:flex-start}.account-stats,.account-order-meta,.profile-grid{grid-template-columns:1fr}.account-panel{padding:16px}.account-hero-card{padding:22px}.account-hero-card h2{font-size:28px}
}
@media(max-width:620px){.account-nav,.account-panel{padding:16px}.account-empty{padding:26px}.account-section-head{display:block}.account-dashboard{gap:16px}}


/* =========================================================
   Layout lock: theme switch changes colors only.
   Product tabs/cards use the same placement in light and dark.
   ========================================================= */
.catalog-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
  flex-wrap:wrap;
}
.catalog-tabs{
  gap:10px;
  padding:6px;
  border-radius:999px;
}
.catalog-tabs button{
  padding:11px 18px;
  font-weight:950;
}
.product-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.product-card{
  border-radius:20px;
}
.product-img{
  height:238px;
  background:radial-gradient(circle at 50% 64%,rgba(67,170,255,.30),transparent 58%),linear-gradient(180deg,#fff,var(--soft));
}
.product-photo{
  object-fit:cover;
  transform:scale(1.01);
}
.product-card:hover .product-photo{
  transform:scale(1.06);
}
.product-body{
  padding:16px;
}
.product-title{
  min-height:42px;
  font-size:17px;
  line-height:1.18;
  margin-bottom:14px;
}
.variant-row{
  gap:7px;
  margin-bottom:16px;
  overflow:hidden;
}
.variant-chip{
  min-width:58px;
  padding:8px 9px;
  font-size:12px;
  border-radius:10px;
}
.product-bottom{
  gap:12px;
}
.price strong{
  font-size:24px;
}
.mini-cart{
  height:48px;
  border-radius:13px;
}
.footer-col:empty{display:none}
@media(max-width:1180px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:820px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .product-img{height:245px;}
}
@media(max-width:520px){
  .product-grid{grid-template-columns:1fr;}
  .product-img{height:285px;}
}


/* Checkout payment step */
.payment-panel{padding:28px;position:relative;overflow:hidden}
.payment-panel:before{content:"";position:absolute;right:-90px;top:-110px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(59,163,255,.20),transparent 64%);pointer-events:none}
.payment-head{position:relative;z-index:1;margin-bottom:22px}.payment-head h2{font-size:34px;line-height:1.08;letter-spacing:-.035em;margin:14px 0 4px}.payment-head .section-desc{max-width:760px}
.pay-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;position:relative;z-index:1}
.pay-method{position:relative;display:grid;grid-template-columns:58px 1fr auto;gap:14px;align-items:center;min-height:116px;width:100%;text-align:left;padding:18px;border-radius:22px;background:linear-gradient(145deg,#fff,var(--soft));border:1px solid var(--line);box-shadow:0 14px 32px rgba(7,17,31,.06);cursor:pointer;color:var(--text);transition:.25s;overflow:hidden}
.pay-method:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(59,163,255,.14),rgba(0,109,255,.08));opacity:0;transition:.25s;pointer-events:none}.pay-method:hover{transform:translateY(-3px);border-color:var(--line-blue);box-shadow:0 22px 44px rgba(0,109,255,.13)}.pay-method.active{border-color:var(--blue);box-shadow:0 22px 55px rgba(0,109,255,.18),inset 0 0 0 1px rgba(0,109,255,.10)}.pay-method.active:before{opacity:1}
.pay-check{position:absolute;right:14px;top:14px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;font-size:13px;font-weight:1000;box-shadow:0 10px 24px rgba(0,109,255,.28);opacity:0;transform:scale(.72);transition:.2s}.pay-method.active .pay-check{opacity:1;transform:scale(1)}
.pay-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);box-shadow:0 12px 26px rgba(7,17,31,.06);font-size:31px;font-weight:1000;color:var(--blue);position:relative;z-index:1}.pay-icon svg{width:32px;height:24px}.pay-icon-cash{color:#11a766}.pay-icon-venmo{color:#1678ff}.pay-icon-card{color:#29445f}.pay-content{display:grid;gap:5px;position:relative;z-index:1}.pay-content b{font-size:19px;line-height:1.12}.pay-content small{color:var(--muted);font-size:13px;line-height:1.35}.pay-badge,.card-logos{align-self:end;justify-self:end;position:relative;z-index:1}.pay-badge,.card-logos em{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(0,109,255,.09);border:1px solid var(--line-blue);color:var(--blue);font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.03em}.card-logos{display:flex;gap:6px;align-self:center}.card-logos em{font-style:normal}
.payment-note{position:relative;z-index:1;margin-top:16px;padding:15px 16px;border-radius:18px;background:rgba(0,109,255,.07);border:1px solid var(--line-blue);color:var(--muted);line-height:1.55}.payment-note b{color:var(--text)}.payment-actions{position:relative;z-index:1;display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.thanks-modal{position:fixed;inset:0;background:rgba(2,8,23,.58);backdrop-filter:blur(14px);display:grid;place-items:center;z-index:120;padding:20px}.thanks-card{position:relative;width:min(560px,100%);padding:38px;text-align:center;border-radius:30px;background:linear-gradient(180deg,#fff,var(--bg));border:1px solid var(--line-blue);box-shadow:0 34px 120px rgba(2,8,23,.34);overflow:hidden}.thanks-card:before{content:"";position:absolute;width:280px;height:280px;left:50%;top:-135px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle,rgba(59,163,255,.28),transparent 66%)}.thanks-close{position:absolute;right:18px;top:18px;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--text);font-size:25px;line-height:1;cursor:pointer;z-index:2}.thanks-icon{position:relative;z-index:1;width:82px;height:82px;border-radius:50%;display:grid;place-items:center;margin:2px auto 16px;background:linear-gradient(135deg,var(--blue2),var(--blue));font-size:39px;font-weight:1000;color:#fff;box-shadow:0 22px 55px rgba(0,109,255,.30),0 0 0 12px rgba(0,109,255,.08)}.thanks-kicker{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:8px 13px;background:rgba(0,109,255,.08);border:1px solid var(--line-blue);color:var(--blue);font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.07em}.thanks-card h2{position:relative;z-index:1;font-size:38px;line-height:1.06;letter-spacing:-.045em;margin:15px 0 10px}.thanks-card p{position:relative;z-index:1;color:var(--muted);line-height:1.65;margin:0 auto 18px;max-width:410px}.thanks-details{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.thanks-details div{padding:14px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 25px rgba(7,17,31,.05);text-align:left}.thanks-details span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.thanks-details b{display:block;color:var(--text);font-size:16px}.thanks-actions{position:relative;z-index:1;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:18px}
@media(max-width:820px){.pay-methods{grid-template-columns:1fr}.payment-panel{padding:22px}.thanks-details{grid-template-columns:1fr}.payment-head h2{font-size:30px}}
@media(max-width:520px){.pay-method{grid-template-columns:50px 1fr;min-height:108px}.pay-icon{width:50px;height:50px;border-radius:16px}.pay-badge,.card-logos{grid-column:2;justify-self:start;align-self:start}.thanks-card{padding:30px 22px}.thanks-card h2{font-size:32px}.thanks-actions .btn{width:100%}}

.legal-grid{
  opacity:.36;
  filter:saturate(.25);
}
.legal-box{
  background:rgba(255,255,255,.018);
  border-color:rgba(255,255,255,.05);
  box-shadow:none;
}
.legal-box h3{
  color:rgba(255,255,255,.32);
}
.legal-box p{
  color:rgba(255,255,255,.25);
}

@media(max-width:620px){
  .home-catalog-section{
    padding-top:46px;
  }
  .home-catalog-section .section-head{
    display:block;
    margin-bottom:28px;
  }
  .home-catalog-section .section-kicker{
    margin-bottom:12px;
    font-size:13px;
    letter-spacing:.075em;
  }
  .home-catalog-section .section-title{
    font-size:clamp(38px,10vw,52px);
    line-height:1.04;
  }
  .home-catalog-section .section-head .btn{
    margin-top:16px;
    min-width:274px;
    min-height:72px;
    padding:18px 34px;
    font-size:17px;
    border-radius:999px;
  }
  .home-catalog-section .catalog-toolbar{
    display:block;
    margin-bottom:26px;
  }
  .home-catalog-section .catalog-tabs{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px 8px;
    padding:10px;
    border-radius:34px;
    background:#fff;
    border:1px solid #dce8f6;
    box-shadow:0 22px 58px rgba(18,80,160,.10);
  }
  .home-catalog-section .catalog-tabs button{
    min-height:48px;
    padding:11px 7px;
    font-size:13px;
    line-height:1.08;
    font-weight:950;
    white-space:nowrap;
  }
  .home-catalog-section .catalog-tabs button[data-tag="featured"]{
    justify-self:start;
    min-width:calc((100% - 16px) / 3);
  }
}

@media(max-width:360px){
  .home-catalog-section .section-head .btn{
    min-width:0;
    min-height:60px;
    padding:15px 25px;
    font-size:16px;
  }
  .home-catalog-section .catalog-tabs{
    gap:8px 6px;
    padding:9px;
    border-radius:28px;
  }
  .home-catalog-section .catalog-tabs button{
    font-size:12px;
    min-height:44px;
  }
}


/* Mobile navigation improvements and extra-small viewport support */
.mobile-nav-extra{display:none}
.mobile-nav-cart{gap:10px}
.mobile-cart-count{min-width:20px;height:20px;padding:0 6px;display:inline-grid;place-items:center;border-radius:999px;background:var(--blue);color:#fff;font-size:11px;font-weight:1000;box-shadow:0 0 16px rgba(0,109,255,.28)}

@media(max-width:980px){
  .header-inner{gap:12px}
  .header-icons{margin-left:auto;gap:8px}
  .header-icons a.icon-btn{display:none}
  .header-icons .js-search-toggle,
  .header-icons .burger{display:grid}
  .main-nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 10px);
    padding:14px;
    border-radius:22px;
    background:rgba(255,255,255,.98);
    border:1px solid var(--line);
    box-shadow:0 24px 60px rgba(7,17,31,.10);
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    z-index:40;
  }
  .main-nav.open{display:flex}
  .main-nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:14px 18px;
    font-size:15px;
    text-align:center;
  }
  .mobile-nav-extra{display:flex}
  .search-pop{
    left:0;
    right:0;
    top:calc(100% + 10px);
    width:auto;
    padding:12px;
    border-radius:18px;
  }
}

@media(max-width:620px){
  .container{width:min(100% - 20px,1240px)}
  .header-inner{height:68px}
  .brand img{width:180px}
  .icon-btn{width:42px;height:42px}
  .home-catalog-section{padding-top:42px}
  .home-catalog-section .section-title{font-size:clamp(34px,11vw,44px)}
  .home-catalog-section .section-head .btn{
    width:100%;
    min-width:0;
    min-height:60px;
    padding:16px 24px;
    font-size:16px;
  }
  .home-catalog-section .catalog-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:10px;
    border-radius:28px;
  }
  .home-catalog-section .catalog-tabs button{
    white-space:normal;
    min-height:46px;
    padding:10px 8px;
    font-size:13px;
  }
  .home-catalog-section .catalog-tabs button[data-tag="featured"]{
    justify-self:stretch;
    min-width:0;
  }
}

@media(max-width:360px){
  .container{width:min(100% - 16px,1240px)}
  .brand img{width:148px}
  .main-nav{padding:12px;border-radius:18px}
  .main-nav a{padding:12px 14px;font-size:14px}
  .search-pop{padding:10px;border-radius:16px}
  .search-pop input{padding:12px 14px}
  .home-catalog-section .section-kicker{font-size:12px}
  .home-catalog-section .section-title{font-size:clamp(30px,12vw,38px)}
  .home-catalog-section .section-head .btn{
    min-height:54px;
    padding:14px 18px;
    font-size:15px;
  }
  .home-catalog-section .catalog-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:8px;
  }
  .home-catalog-section .catalog-tabs button{font-size:12px;min-height:42px}
}

@media(max-width:300px){
  .brand img{width:132px}
  .header-inner{height:64px;gap:8px}
  .icon-btn{width:38px;height:38px}
  .main-nav a{font-size:13px;padding:11px 12px}
  .search-results a{grid-template-columns:1fr;gap:8px}
  .search-thumb{height:100px}
  .home-catalog-section .section-title{font-size:clamp(26px,13vw,34px)}
  .home-catalog-section .catalog-tabs{grid-template-columns:1fr}
  .home-catalog-section .catalog-tabs button{min-height:40px}
}

@media(max-width:260px){
  .container{width:min(100% - 12px,1240px)}
  .brand img{width:118px}
  .home-catalog-section .section-head .btn{
    min-height:50px;
    padding:12px 14px;
    font-size:14px;
  }
}


/* Footer legal content: made more visible while keeping soft footer style */
.footer .legal-box{
  border:1px solid rgba(255,255,255,.26);
  background:rgba(255,255,255,.12);
  box-shadow:0 16px 42px rgba(0,0,0,.16);
}
.footer .legal-box h3{
  color:#e5eef8;
}
.footer .legal-box p{
  color:#d4deea;
}

/* Banner adaptation for very small mobile screens */
@media(max-width:360px){
  .hero{
    min-height:auto;
    padding:28px 0 36px;
  }
  .hero-inner{
    padding:4px 0 6px;
  }
  .hero-atom{
    width:min(245px,92vw);
    height:min(198px,74vw);
    margin:0 auto 8px;
  }
  .hero h1{
    font-size:clamp(29px,12vw,40px);
    line-height:1.03;
    margin-bottom:12px;
    overflow-wrap:anywhere;
  }
  .hero p{
    max-width:100%;
    font-size:15px;
    line-height:1.55;
    margin-bottom:18px;
  }
  .hero .btn{
    width:100%;
    min-width:0;
    min-height:54px;
    padding:14px 16px;
    font-size:15px;
    white-space:normal;
    text-align:center;
  }
}

@media(max-width:300px){
  .hero{
    padding:22px 0 30px;
  }
  .hero-atom{
    width:min(210px,90vw);
    height:min(170px,72vw);
    margin-bottom:6px;
  }
  .hero h1{
    font-size:clamp(25px,12.5vw,34px);
    margin-bottom:10px;
  }
  .hero p{
    font-size:14px;
    line-height:1.48;
    margin-bottom:16px;
  }
  .hero .btn{
    min-height:50px;
    padding:12px 12px;
    font-size:14px;
  }
}

@media(max-width:260px){
  .hero{
    padding:18px 0 26px;
  }
  .hero:before{
    background:radial-gradient(250px 160px at 50% 18%,rgba(0,109,255,.13),transparent 68%);
  }
  .hero-atom{
    width:188px;
    max-width:88vw;
    height:152px;
    margin-bottom:4px;
  }
  .hero h1{
    font-size:28px;
    line-height:1.04;
    
  }
  .hero p{
    font-size:13px;
    line-height:1.45;
  }
  .hero .btn{
    min-height:48px;
    padding:11px 10px;
    font-size:13px;
  }
  .footer .legal-box{
    padding:16px;
    border-radius:16px;
  }
  .footer .legal-box h3{
    font-size:15px;
  }
  .footer .legal-box p{
    font-size:12px;
    line-height:1.55;
  }
}


/* Extra-small responsive account page tweaks */
@media(max-width:620px){
  .account-page-hero{
    padding-bottom:22px;
  }
  .account-page-hero h1{
    font-size:clamp(30px,10vw,40px);
    line-height:1.06;
  }
  .account-page-hero .section-desc{
    font-size:15px;
    line-height:1.55;
  }
  .account-nav,.account-panel{
    border-radius:18px;
  }
  .account-user-card{
    gap:8px;
  }
  .account-user-card strong{
    font-size:17px;
  }
  .account-hero-card{
    gap:16px;
  }
  .account-hero-card .btn{
    width:100%;
    min-width:0;
  }
  .account-stat strong{
    font-size:24px;
  }
  .account-order-card,
  .profile-cell,
  .account-address-card{
    padding:16px;
  }
  .account-empty .btn{
    width:100%;
    min-width:0;
  }
}

@media(max-width:360px){
  .account-page-hero{
    padding-bottom:18px;
  }
  .account-page-hero h1{
    font-size:clamp(26px,11vw,34px);
  }
  .account-page-hero .section-desc{
    font-size:14px;
  }
  .account-dashboard{
    gap:14px;
  }
  .account-nav,
  .account-panel{
    padding:14px;
    border-radius:16px;
  }
  .account-avatar{
    width:50px;
    height:50px;
    border-radius:16px;
    font-size:18px;
  }
  .account-user-card strong{
    font-size:16px;
  }
  .account-user-card span{
    font-size:13px;
  }
  .account-nav a{
    padding:12px;
    font-size:14px;
  }
  .account-hero-card{
    padding:18px;
    border-radius:18px;
  }
  .account-eyebrow{
    font-size:11px;
    padding:7px 10px;
    margin-bottom:10px;
  }
  .account-hero-card h2{
    font-size:24px;
    line-height:1.08;
  }
  .account-hero-card p{
    font-size:14px;
    line-height:1.5;
  }
  .account-hero-card .btn{
    padding:14px 16px;
    min-height:50px;
    font-size:14px;
  }
  .account-stats{
    gap:10px;
    margin-bottom:16px;
  }
  .account-stat{
    padding:14px;
    border-radius:16px;
  }
  .account-stat span{
    font-size:13px;
    margin-bottom:6px;
  }
  .account-stat strong{
    font-size:22px;
  }
  .account-section-head h3{
    font-size:22px;
  }
  .account-section-head span{
    font-size:13px;
    margin-top:6px;
    display:block;
  }
  .account-empty{
    padding:20px;
    gap:10px;
  }
  .account-empty-icon{
    width:56px;
    height:56px;
    border-radius:18px;
  }
  .account-empty-icon svg{
    width:28px;
    height:28px;
  }
  .account-empty h3{
    font-size:22px;
  }
  .account-empty p{
    font-size:14px;
    line-height:1.5;
  }
  .account-order-card{
    padding:14px;
    border-radius:16px;
  }
  .account-order-top{
    gap:10px;
    padding-bottom:12px;
  }
  .account-order-top strong{
    font-size:18px;
  }
  .account-order-top span,
  .account-order-item span{
    font-size:13px;
  }
  .account-order-meta{
    gap:8px;
    padding:12px 0;
    font-size:13px;
  }
  .account-order-item{
    grid-template-columns:46px 1fr;
    gap:10px;
    padding:8px;
  }
  .account-order-item img{
    width:46px;
    height:46px;
    border-radius:10px;
  }
  .profile-grid{
    gap:10px;
  }
  .profile-cell,
  .account-address-card{
    padding:14px;
    border-radius:16px;
  }
  .profile-cell strong,
  .account-address-card strong{
    font-size:16px;
  }
  .profile-cell span,
  .account-address-card p{
    font-size:13px;
    line-height:1.45;
  }
  .account-address-card{
    grid-template-columns:46px 1fr;
    gap:10px;
  }
  .address-icon{
    width:46px;
    height:46px;
  }
}

@media(max-width:300px){
  .account-page-hero h1{
    font-size:24px;
  }
  .account-page-hero .section-desc{
    font-size:13px;
  }
  .account-nav,
  .account-panel{
    padding:12px;
  }
  .account-nav a{
    padding:11px 10px;
    font-size:13px;
  }
  .account-hero-card{
    padding:16px;
  }
  .account-hero-card h2{
    font-size:21px;
  }
  .account-hero-card p{
    font-size:13px;
  }
  .account-hero-card .btn,
  .account-empty .btn{
    min-height:46px;
    padding:12px 12px;
    font-size:13px;
  }
  .account-stat{
    padding:12px;
  }
  .account-stat strong{
    font-size:20px;
  }
  .account-section-head h3,
  .account-empty h3{
    font-size:20px;
  }
  .account-empty p,
  .account-order-meta,
  .account-order-top span,
  .account-order-item span,
  .profile-cell span,
  .account-address-card p{
    font-size:12px;
  }
  .account-order-top strong{
    font-size:16px;
  }
}

@media(max-width:260px){
  .account-page-hero{
    padding-bottom:14px;
  }
  .account-page-hero h1{
    font-size:22px;
    line-height:1.08;
  }
  .account-page-hero .section-desc{
    font-size:12px;
    line-height:1.45;
  }
  .account-dashboard{
    gap:12px;
  }
  .account-nav,
  .account-panel{
    padding:10px;
    border-radius:14px;
  }
  .account-user-card{
    padding:4px 4px 14px;
  }
  .account-avatar{
    width:44px;
    height:44px;
    border-radius:14px;
    font-size:16px;
  }
  .account-user-card strong{
    font-size:14px;
  }
  .account-user-card span{
    font-size:12px;
  }
  .account-nav a{
    padding:10px 8px;
    font-size:12px;
    border-radius:10px;
  }
  .account-hero-card{
    padding:14px;
    border-radius:16px;
    gap:12px;
  }
  .account-eyebrow{
    font-size:10px;
    letter-spacing:.04em;
    padding:6px 9px;
  }
  .account-hero-card h2{
    font-size:18px;
    margin-bottom:8px;
  }
  .account-hero-card p{
    font-size:12px;
    line-height:1.42;
  }
  .account-hero-card .btn,
  .account-empty .btn{
    min-height:42px;
    padding:10px;
    font-size:12px;
  }
  .account-stats{
    gap:8px;
    margin-bottom:14px;
  }
  .account-stat{
    padding:10px;
    border-radius:14px;
  }
  .account-stat span{
    font-size:12px;
    margin-bottom:4px;
  }
  .account-stat strong{
    font-size:18px;
  }
  .account-section-head h3,
  .account-empty h3{
    font-size:18px;
  }
  .account-section-head span{
    font-size:12px;
  }
  .account-empty{
    padding:16px;
  }
  .account-empty-icon{
    width:48px;
    height:48px;
  }
  .account-empty-icon svg{
    width:24px;
    height:24px;
  }
  .account-empty p{
    font-size:12px;
    line-height:1.42;
  }
  .account-order-card,
  .profile-cell,
  .account-address-card{
    padding:12px;
    border-radius:14px;
  }
  .account-order-top strong{
    font-size:15px;
  }
  .order-status{
    font-size:12px;
  }
  .account-order-top span,
  .account-order-meta,
  .account-order-item span,
  .profile-cell span,
  .account-address-card p{
    font-size:11px;
    line-height:1.4;
  }
  .account-order-item{
    grid-template-columns:40px 1fr;
    gap:8px;
    padding:7px;
  }
  .account-order-item img{
    width:40px;
    height:40px;
    border-radius:9px;
  }
  .profile-cell strong,
  .account-address-card strong{
    font-size:14px;
  }
  .account-address-card{
    grid-template-columns:40px 1fr;
    gap:8px;
  }
  .address-icon{
    width:40px;
    height:40px;
  }
}


/* Extra-small responsive company section tweaks */
@media(max-width:620px){
  .company-card{
    padding:22px;
    gap:22px;
    border-radius:24px;
  }
  .company-poster{
    height:300px;
    border-radius:20px;
  }
  .company-info .eyebrow{
    justify-self:start;
    margin-bottom:16px;
  }
  .company-info h2{
    font-size:clamp(34px,10vw,46px);
    margin-bottom:16px;
  }
  .company-info p{
    font-size:16px;
    line-height:1.65;
    margin-bottom:18px;
  }
  .check-list{
    gap:10px;
    margin-bottom:20px;
  }
  .check-list li{
    align-items:flex-start;
    font-size:15px;
    line-height:1.45;
  }
  .company-info .btn{
    width:100%;
    min-width:0;
  }
}

@media(max-width:360px){
  .company-card{
    padding:16px;
    gap:18px;
    border-radius:20px;
  }
  .company-poster{
    height:230px;
    border-radius:18px;
  }
  .company-info .eyebrow{
    margin-bottom:12px;
    font-size:11px;
    padding:7px 12px;
  }
  .company-info h2{
    font-size:clamp(28px,11.5vw,36px);
    line-height:1.04;
    letter-spacing:-.04em;
    margin-bottom:14px;
  }
  .company-info p{
    font-size:14px;
    line-height:1.55;
    margin-bottom:16px;
  }
  .check-list li{
    gap:10px;
    font-size:14px;
  }
  .check-list li:before{
    width:22px;
    height:22px;
    font-size:13px;
    flex:0 0 22px;
  }
  .company-info .btn{
    min-height:50px;
    padding:14px 16px;
    font-size:14px;
  }
}

@media(max-width:300px){
  .company-card{
    padding:14px;
    gap:16px;
    border-radius:18px;
  }
  .company-poster{
    height:190px;
    border-radius:16px;
  }
  .company-info .eyebrow{
    font-size:10px;
    padding:6px 10px;
  }
  .company-info h2{
    font-size:clamp(24px,12vw,30px);
    margin-bottom:12px;
  }
  .company-info p{
    font-size:13px;
    line-height:1.5;
    margin-bottom:14px;
  }
  .check-list{
    gap:8px;
    margin-bottom:16px;
  }
  .check-list li{
    font-size:13px;
    line-height:1.4;
  }
  .check-list li:before{
    width:20px;
    height:20px;
    font-size:12px;
    flex:0 0 20px;
  }
  .company-info .btn{
    min-height:46px;
    padding:12px 12px;
    font-size:13px;
  }
}

@media(max-width:260px){
  .company-card{
    padding:12px;
    gap:14px;
    border-radius:16px;
  }
  .company-poster{
    height:168px;
    border-radius:14px;
  }
  .company-info .eyebrow{
    margin-bottom:10px;
    font-size:10px;
    padding:6px 9px;
  }
  .company-info h2{
    font-size:clamp(21px,12.5vw,26px);
    line-height:1.06;
    letter-spacing:-.03em;
    margin-bottom:10px;
  }
  .company-info p{
    font-size:12px;
    line-height:1.45;
    margin-bottom:12px;
  }
  .check-list{
    gap:8px;
    margin-bottom:14px;
  }
  .check-list li{
    gap:8px;
    font-size:12px;
    line-height:1.38;
  }
  .check-list li:before{
    width:18px;
    height:18px;
    font-size:11px;
    flex:0 0 18px;
  }
  .company-info .btn{
    min-height:42px;
    padding:10px;
    font-size:12px;
  }
}
/* v3 fixes */
.mini-cart:before{content:"Add to cart"!important}
.account-order-top{width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
.account-order-card .account-order-details{display:none;margin-top:16px;border-top:1px solid var(--line);padding-top:16px}
.account-order-card.open .account-order-details{display:grid;gap:14px}
.account-edit-form{padding:22px;display:grid;gap:18px}
.account-edit-form .btn{justify-self:start}
.account-order-details .profile-grid{margin-bottom:2px}
@media (max-width:520px){.account-edit-form{padding:16px}.account-order-top{padding:0}.account-order-details .profile-grid{grid-template-columns:1fr}}

/* NLW v5 account map and selected mg fixes */
.account-map-card{margin-top:14px;border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 14px 30px rgba(10,18,36,.05)}
.account-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fff,var(--soft))}
.account-map-head strong{display:block;font-size:20px;letter-spacing:-.03em}
.account-map-head span{display:block;margin-top:4px;color:var(--muted);line-height:1.45}
.account-map-head a{flex:0 0 auto;color:var(--blue);font-weight:950;padding:9px 12px;border:1px solid var(--line-blue);border-radius:999px;background:#fff}
.account-map-card iframe{display:block;width:100%;height:310px;border:0;background:var(--soft)}
.account-map-card.empty{padding:18px;background:var(--soft);box-shadow:none}
.account-map-placeholder{padding:22px;border:1px dashed var(--line-blue);border-radius:16px;color:var(--muted);font-weight:850;text-align:center;background:#fff}
.account-edit-form{margin-bottom:14px}
.strip-icon-flask .strip-icon{color:#006dff}.strip-icon-spark .strip-icon{color:#6d5cff}.strip-icon-package .strip-icon{color:#0ea5e9}.strip-icon-truck .strip-icon{color:#00a7a7}.strip-icon-check .strip-icon{color:#12a150}
@media(max-width:620px){.account-map-head{display:block}.account-map-head a{display:inline-flex;margin-top:10px}.account-map-card iframe{height:250px}}

/* v6 account address and pickup blocks */
.address-policy-card,
.pickup-info-card,
.pickup-checkout{
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,#fff,#f6faff);
  box-shadow:0 16px 36px rgba(10,18,36,.06);
  padding:20px 22px;
  margin:0 0 16px;
}
.address-policy-card h3,
.pickup-info-card h3,
.pickup-checkout h3{margin:0 0 8px;font-size:24px;letter-spacing:-.04em;color:var(--dark)}
.address-policy-card p,
.pickup-info-card p,
.pickup-checkout p{margin:8px 0;color:var(--muted);line-height:1.55;font-weight:750}
.pickup-info-card small,
.pickup-checkout small{display:block;color:var(--muted);line-height:1.55;font-weight:750}
.pickup-checkout{margin-top:18px;background:linear-gradient(135deg,#f7fbff,#eef6ff);border-color:var(--line-blue)}
.account-map-card + .pickup-info-card{margin-top:18px}
.account-address-card small{display:block;margin-top:5px;color:var(--muted);line-height:1.45}
@media(max-width:620px){.address-policy-card,.pickup-info-card,.pickup-checkout{padding:16px}.address-policy-card h3,.pickup-info-card h3,.pickup-checkout h3{font-size:21px}}

/* v7: editable social icons and account logout */
.social-row a svg,
.social-link svg{
  width:20px;
  height:20px;
  display:block;
}
.social-row a:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.32);
}
.account-logout-form{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.account-logout-form button{
  width:100%;
  border:1px solid #ffd4dc;
  background:#fff5f7;
  color:#c51d3c;
  border-radius:12px;
  padding:13px 14px;
  font-weight:900;
  cursor:pointer;
  transition:.2s;
}
.account-logout-form button:hover{
  background:#ffe8ee;
  transform:translateY(-1px);
}
.checkout-auth-note{
  padding:20px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,#fff,var(--soft));
  border-radius:18px;
  margin-bottom:16px;
}
.checkout-auth-note strong{display:block;margin-bottom:6px}
.checkout-auth-note p{margin:0;color:var(--muted);line-height:1.55}
.newsletter-form{display:grid;gap:10px}.newsletter-form label{color:#b7c6da;font-size:14px;line-height:1.45}.newsletter-form .newsletter-status{min-height:18px;color:#8fd4ff;font-size:12px;line-height:1.4}.newsletter-form button:disabled{opacity:.65;cursor:wait}

/* NLW security update: authentication validation and custom error pages */
.auth-section{padding-top:0}
.auth-container{max-width:860px}
.auth-container-small{max-width:620px}
.auth-form{position:relative;padding:28px}
.auth-form-grid{align-items:start}
.auth-form-grid-single{grid-template-columns:1fr}
.form-field{align-content:start}
.form-field>span:first-child{display:block}
.form-field input{width:100%;outline:none;transition:border-color .2s,box-shadow .2s,background .2s}
.form-field input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(0,109,255,.12);background:#fff}
.form-field input.is-invalid{border-color:#dc2f4f;background:#fff7f8;box-shadow:0 0 0 3px rgba(220,47,79,.08)}
.form-field input.is-invalid:focus{border-color:#c51d3c;box-shadow:0 0 0 4px rgba(197,29,60,.14)}
.field-error{display:block;color:#c51d3c;font-size:13px;line-height:1.4;font-weight:800}
.field-help{display:block;color:var(--muted);font-size:12px;line-height:1.45;font-weight:700}
.form-alert{border-radius:16px;padding:16px 18px;margin-bottom:18px;line-height:1.5}
.form-alert strong{display:block;margin-bottom:6px}
.form-alert ul{margin:0;padding-left:20px;display:grid;gap:3px}
.form-alert-error{border:1px solid #ffc3cf;background:#fff3f6;color:#a91635;box-shadow:0 12px 26px rgba(197,29,60,.08)}
.auth-checkbox{display:flex!important;align-items:center;gap:10px;width:max-content;cursor:pointer}
.auth-checkbox input{width:18px!important;height:18px;margin:0;accent-color:var(--blue)}
.auth-checkbox span{font-weight:800}
.auth-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.form-honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}

.error-page-body{min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--text)}
.error-site-header{border-bottom:1px solid var(--line);background:rgba(255,255,255,.9);backdrop-filter:blur(18px)}
.error-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.error-header-inner .brand img{width:245px}
.error-header-button{min-height:44px;padding:11px 18px}
.error-page-main{flex:1;display:grid;place-items:center;padding:64px 0}
.error-card{position:relative;overflow:hidden;width:min(760px,100%);padding:54px;text-align:center;background:linear-gradient(145deg,#fff,#f5f9ff)}
.error-card:before{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-80px;top:-90px;background:rgba(0,109,255,.10);filter:blur(4px)}
.error-code{position:relative;color:var(--blue);font-size:clamp(86px,18vw,170px);line-height:.82;font-weight:1000;letter-spacing:-.08em;text-shadow:0 18px 45px rgba(0,109,255,.16)}
.error-card .eyebrow{position:relative;margin-top:30px}
.error-card h1{position:relative;margin:18px 0 12px;font-size:clamp(34px,5vw,54px);line-height:1.05;letter-spacing:-.045em}
.error-card p{position:relative;max-width:590px;margin:0 auto;color:var(--muted);font-size:17px;line-height:1.65}
.error-actions{position:relative;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}
.error-footer{padding:22px 0;border-top:1px solid var(--line);color:var(--muted);text-align:center;font-size:13px;background:#fff}

@media(max-width:620px){
  .auth-form{padding:20px}
  .auth-actions .btn{width:100%}
  .error-header-inner .brand img{width:205px}
  .error-header-button{display:none}
  .error-page-main{padding:36px 0}
  .error-card{padding:38px 20px;border-radius:20px}
  .error-card p{font-size:15px}
  .error-actions .btn{width:100%}
}

/* =========================================================
   NLW CMS content additions: hero, About checklist, categories
   ========================================================= */
.hero-eyebrow{margin:0 0 18px}
.hero-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:nowrap}
.hero-actions .btn{min-width:190px}
.company-copy{color:var(--muted);font-size:18px;line-height:1.75;margin:0 0 22px}
.check-list-rich{width:100%;gap:16px}
.check-list-rich li{align-items:flex-start;gap:13px}
.check-list-rich li:before{display:none}
.check-list-icon{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--blue2),var(--blue));box-shadow:0 7px 18px rgba(0,109,255,.22);font-size:14px;font-weight:1000}
.check-list-copy{min-width:0;display:grid;gap:4px;padding-top:1px}
.check-list-copy strong{color:var(--text);font-size:17px;line-height:1.3}
.check-list-copy small{display:block;color:var(--muted);font-size:15px;font-weight:600;line-height:1.5}
.home-catalog-description{max-width:720px}
.home-catalog-section .category-tabs{display:flex;width:100%;max-width:100%;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}
.home-catalog-section .category-tabs button{flex:0 0 auto;white-space:nowrap}
.home-catalog-section .category-tabs button[data-category]{min-width:max-content}
.filter-panel{grid-template-columns:minmax(220px,1.5fr) minmax(180px,1fr) minmax(180px,1fr) auto}
@media(max-width:620px){
  .hero-actions{width:100%;flex-direction:column}
  .hero-actions .btn{width:100%;min-width:0}
  .company-copy{font-size:16px;line-height:1.65}
  .check-list-copy strong{font-size:15px}
  .check-list-copy small{font-size:14px}
  .home-catalog-section .category-tabs{display:flex;border-radius:24px;padding:8px}
  .home-catalog-section .category-tabs button{min-height:44px;padding:10px 15px}
}
@media(max-width:360px){
  .hero-eyebrow{margin-bottom:12px}
  .hero-actions{gap:10px}
  .check-list-rich{gap:13px}
  .check-list-icon{width:23px;height:23px;flex-basis:23px;font-size:12px}
}


/* =========================================================
   Product options — CSS-only fix
   One option stays compact. Two or more options fit inside
   the card without changing JavaScript.
   ========================================================= */
.product-card{
  height:100%;
}

.product-card .product-body{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.product-card .product-title{
  margin-bottom:0;
}

/* Default state: one dosage remains a compact centered button. */
.product-card .variant-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:66px;
  margin:0;
  padding:0;
  overflow:visible;
}

.product-card .variant-chip{
  flex:0 0 auto;
  width:auto;
  min-width:96px;
  max-width:100%;
  min-height:42px;
  padding:9px 18px;

  display:flex;
  align-items:center;
  justify-content:center;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;

  text-align:center;
  font-size:12px;
  line-height:1.15;
}

/* Two or more dosages: only this row becomes a two-column grid. */
.product-card .variant-row:has(.variant-chip:nth-child(2)){
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:8px;
}

/* Long labels, including the price suffix, wrap neatly. */
.product-card .variant-row:has(.variant-chip:nth-child(2)) .variant-chip{
  width:100%;
  min-width:0;
  min-height:66px;
  padding:7px 6px;

  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;

  font-size:11px;
  line-height:1.12;
  text-align:center;
}

/* Keep prices and Add to cart buttons aligned across the row. */
.product-card .product-bottom{
  margin-top:auto;
}

/* On very narrow cards, show the options one below another. */
@media(max-width:360px){
  .product-card .variant-row:has(.variant-chip:nth-child(2)){
    grid-template-columns:1fr;
    min-height:auto;
  }

  .product-card .variant-row:has(.variant-chip:nth-child(2)) .variant-chip{
    min-height:48px;
  }
}

/* =========================================================
   Final catalog, product details and responsive refinements
   ========================================================= */
.home-category-filter{
  margin:0 0 26px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:26px;
  background:linear-gradient(145deg,#fff,#f7fbff);
  box-shadow:0 18px 44px rgba(0,80,180,.08);
}
.home-category-filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.home-category-filter-head>div{display:grid;gap:3px}
.home-category-filter-kicker{
  color:var(--blue);
  font-size:11px;
  font-weight:1000;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.home-category-filter-head strong{font-size:20px;line-height:1.2}
.home-category-filter-count{
  padding:8px 12px;
  border-radius:999px;
  background:var(--soft);
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.home-category-filter .catalog-toolbar{margin:0}
.home-category-filter .home-category-tabs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  width:100%;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.home-category-filter .home-category-tabs button{
  min-width:0;
  min-height:54px;
  padding:11px 14px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  color:var(--muted);
  text-align:left;
  white-space:normal;
  line-height:1.25;
  box-shadow:0 8px 22px rgba(7,17,31,.035);
  transition:transform .2s,border-color .2s,box-shadow .2s,background .2s,color .2s;
}
.home-category-filter .home-category-tabs button:hover{
  transform:translateY(-2px);
  border-color:var(--line-blue);
  color:var(--blue);
  box-shadow:0 14px 30px rgba(0,109,255,.10);
}
.home-category-filter .home-category-tabs button.active{
  border-color:transparent;
  background:linear-gradient(135deg,var(--blue2),var(--blue));
  color:#fff;
  box-shadow:0 14px 30px rgba(0,109,255,.22);
}
.category-tab-dot{
  width:9px;
  height:9px;
  flex:0 0 9px;
  border-radius:50%;
  background:currentColor;
  opacity:.45;
  box-shadow:0 0 0 4px currentColor;
}
.home-category-tabs button.active .category-tab-dot{opacity:.9;box-shadow:0 0 0 4px rgba(255,255,255,.22)}
.home-category-mobile{display:none}
.catalog-empty-state{
  grid-column:1/-1;
  padding:34px;
  display:grid;
  gap:7px;
  text-align:center;
  border:1px dashed var(--line-blue);
  border-radius:22px;
  background:#fff;
  color:var(--muted);
}
.catalog-empty-state strong{color:var(--text);font-size:20px}

.filter-panel.catalog-filter-panel{
  grid-template-columns:minmax(230px,1.45fr) minmax(160px,.85fr) minmax(160px,.85fr) minmax(160px,.85fr) auto;
  align-items:end;
  gap:12px;
}
.filter-field{display:grid;gap:7px;min-width:0}
.filter-field>span{
  padding-left:3px;
  color:var(--muted);
  font-size:11px;
  font-weight:1000;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.filter-panel.catalog-filter-panel .filter-field input,
.filter-panel.catalog-filter-panel .filter-field select{
  min-height:50px;
  background:#f8fbff;
  border-color:var(--line);
  transition:border-color .2s,box-shadow .2s,background .2s;
}
.filter-panel.catalog-filter-panel .filter-field input:focus,
.filter-panel.catalog-filter-panel .filter-field select:focus{
  background:#fff;
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(0,109,255,.10);
}
.catalog-reset{min-height:50px;padding-inline:21px}

.product-information{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(310px,.72fr);
  gap:20px;
  align-items:start;
  margin-top:30px;
}
.product-information .glass-card{padding:28px}
.product-info-stack{display:grid;gap:20px}
.product-panel-heading{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}
.product-panel-heading.compact{margin-bottom:18px}
.product-panel-icon{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:linear-gradient(135deg,var(--blue2),var(--blue));
  color:#fff;
  font-size:13px;
  font-weight:1000;
  text-transform:uppercase;
  box-shadow:0 12px 26px rgba(0,109,255,.22);
}
.product-panel-heading>div{display:grid;gap:3px}
.product-panel-heading>div>span{
  color:var(--blue);
  font-size:10px;
  font-weight:1000;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.product-panel-heading h2{margin:0;font-size:25px;line-height:1.12;letter-spacing:-.025em}
.product-description-text{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.78;
  max-width:900px;
}
.mg-option-list{display:grid;gap:10px}
.mg-option-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:15px;
  background:linear-gradient(145deg,#fff,#f6faff);
}
.mg-option-item span{min-width:0;display:grid;gap:3px}
.mg-option-item b{line-height:1.3;overflow-wrap:anywhere}
.mg-option-item small{color:var(--muted);font-size:11px;font-weight:750}
.mg-option-item strong{flex:0 0 auto;color:var(--blue);font-size:18px}
.mg-option-empty{padding:16px;border-radius:14px;background:var(--soft);color:var(--muted);line-height:1.55}
.product-demo-panel{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#071a36,#082b5c);
  border-color:rgba(123,190,255,.28)!important;
  color:#fff;
  box-shadow:0 18px 44px rgba(4,34,76,.18)!important;
}
.product-demo-panel:after{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  right:-76px;
  bottom:-92px;
  border-radius:50%;
  background:rgba(59,163,255,.22);
}
.product-demo-panel .product-panel-heading,
.product-demo-panel p,
.product-demo-panel .demo-status{position:relative;z-index:1}
.product-demo-panel .product-panel-heading>div>span{color:#86caff}
.product-demo-panel .product-panel-icon{background:rgba(255,255,255,.13);box-shadow:none;border:1px solid rgba(255,255,255,.16)}
.product-demo-panel p{margin:0;color:#d8e8fb;line-height:1.65}
.demo-status{
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.demo-status span{width:8px;height:8px;border-radius:50%;background:#45e79b;box-shadow:0 0 14px rgba(69,231,155,.7)}

@media(max-width:1100px){
  .home-category-filter .home-category-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .filter-panel.catalog-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .filter-field-search{grid-column:1/-1}
  .catalog-reset{width:100%}
  .product-information{grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr)}
}

@media(max-width:760px){
  html{scroll-padding-top:72px}
  body{background:linear-gradient(180deg,#fff 0%,#f7faff 48%,#fff 100%)}
  .container{width:min(100% - 24px,1240px)}
  .section{padding:42px 0}
  .section-head{align-items:flex-start;gap:16px}
  .section-title{font-size:clamp(31px,9vw,42px)}
  .section-desc{font-size:15px;line-height:1.62}

  .site-header{backdrop-filter:blur(16px)}
  .header-inner{height:66px;gap:8px}
  .brand{min-width:0;flex:1}
  .brand img{width:min(186px,48vw)}
  .header-icons{gap:6px}
  .icon-btn{width:39px;height:39px;flex:0 0 39px}
  .search-pop{top:59px;right:0;width:100%;max-height:70vh;overflow:auto;border-radius:16px}
  .main-nav{top:62px;left:0;right:0;max-height:calc(100vh - 82px);overflow:auto;border-radius:18px}

  .hero{min-height:0;padding:24px 0 46px}
  .hero-inner{width:min(100% - 24px,640px);padding:0;grid-template-columns:minmax(0,1fr)}
  .hero-atom{width:min(315px,82vw);height:auto;aspect-ratio:520/420;margin:0 auto 4px}
  .hero-eyebrow{max-width:100%;margin-bottom:13px;white-space:normal;text-align:center;line-height:1.35}
  .hero h1{max-width:100%;font-size:clamp(37px,10.7vw,52px);line-height:1.01;margin-bottom:14px;overflow-wrap:anywhere}
  .hero p{max-width:540px;padding:0 5px;font-size:15px;line-height:1.62;margin-bottom:20px}
  .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:520px;gap:10px}
  .hero-actions .btn,.hero .btn{width:100%;min-width:0;padding:14px 12px;font-size:14px}

  .feature-strip{margin-top:-12px}
  .strip-card{grid-template-columns:1fr;gap:12px}
  .strip-item{min-height:0;padding:20px}

  .company-card{grid-template-columns:1fr;gap:22px;padding:18px;border-radius:24px}
  .company-poster{height:min(72vw,340px);border-radius:18px}
  .company-info{justify-items:stretch}
  .company-info .eyebrow{justify-self:flex-start;margin-bottom:16px}
  .company-info h2{font-size:clamp(34px,9.6vw,48px);margin-bottom:16px}
  .company-copy{font-size:15px;line-height:1.65}
  .check-list-rich{gap:14px}
  .company-info>.btn{width:100%}

  .home-category-filter{padding:16px;border-radius:22px}
  .home-category-filter-head{align-items:flex-start;margin-bottom:13px}
  .home-category-filter-head strong{font-size:18px}
  .home-category-filter-count{font-size:11px;padding:7px 10px}
  .home-category-desktop{display:none}
  .home-category-mobile{display:grid;gap:7px}
  .home-category-mobile>span{padding-left:3px;color:var(--muted);font-size:11px;font-weight:1000;letter-spacing:.07em;text-transform:uppercase}
  .home-category-mobile select{
    width:100%;
    min-height:52px;
    padding:0 44px 0 15px;
    border:1px solid var(--line-blue);
    border-radius:15px;
    background:#fff;
    color:var(--text);
    font-size:16px;
    font-weight:850;
    outline:none;
    box-shadow:0 10px 25px rgba(0,80,180,.07);
  }

  .page-hero{padding:38px 0 22px}
  .page-hero h1{font-size:clamp(36px,10vw,50px);margin-top:12px}
  .filter-panel.catalog-filter-panel{grid-template-columns:1fr;padding:14px;border-radius:18px}
  .filter-field-search{grid-column:auto}
  .filter-panel.catalog-filter-panel .filter-field input,
  .filter-panel.catalog-filter-panel .filter-field select{font-size:16px}
  .catalog-reset{width:100%}
  .count-line{font-size:13px;line-height:1.45}

  .product-page-wrap{padding-top:32px}
  .product-detail{grid-template-columns:1fr;gap:22px;align-items:start}
  .product-breadcrumb{margin-bottom:0;gap:7px;font-size:12px}
  .product-breadcrumb span[aria-current="page"]{max-width:52vw}
  .detail-gallery{height:min(115vw,480px);border-radius:20px}
  .detail-info h1{font-size:clamp(38px,11vw,52px)}
  .detail-info p{font-size:15px;line-height:1.65}
  .detail-price strong{font-size:38px}
  .detail-variants{width:100%;gap:8px;padding-bottom:8px}
  .detail-variants .variant-chip{min-height:48px;white-space:normal;line-height:1.2}
  .detail-actions{grid-template-columns:1fr;gap:10px}
  .detail-actions .btn{width:100%}
  .notice-card{margin-top:16px;padding:15px;font-size:14px}

  .product-information{grid-template-columns:1fr;gap:15px;margin-top:20px}
  .product-information .glass-card{padding:20px;border-radius:20px}
  .product-info-stack{gap:15px}
  .product-panel-heading{margin-bottom:17px}
  .product-panel-icon{width:42px;height:42px;flex-basis:42px;border-radius:13px}
  .product-panel-heading h2{font-size:22px}
  .product-description-text{font-size:15px;line-height:1.7}
  .mg-option-item{padding:12px}
  .related-head{align-items:flex-start;margin:34px 0 18px}
  .related-head h2{font-size:28px}
  .related-head a{font-size:13px;text-align:right}

  .product-card{border-radius:20px}
  .product-body{padding:16px}
  .product-title{font-size:19px}
  .product-img{height:min(80vw,330px)}

  .cart-item{padding:14px;border-radius:18px}
  .cart-thumb{width:76px;height:76px}
  .checkout-card,.summary-card,.account-panel,.account-nav{border-radius:20px}
  .form-grid input,.form-grid select,.form-grid textarea,input,select,textarea{font-size:16px}

  .footer{padding-top:42px}
  .footer-brand img{width:min(235px,75vw)}
  .footer-columns{gap:24px}
  .bottom-footer{flex-direction:column;align-items:flex-start;gap:14px}
  .bottom-links{flex-wrap:wrap;gap:10px 16px}
  .legal-box{padding:18px}
}

@media(max-width:420px){
  .container{width:min(100% - 20px,1240px)}
  .header-inner{height:62px}
  .brand img{width:min(164px,46vw)}
  .header-icons{gap:4px}
  .icon-btn{width:36px;height:36px;flex-basis:36px}
  .hero{padding-top:18px}
  .hero-atom{width:min(275px,78vw)}
  .hero h1{font-size:clamp(34px,11vw,43px)}
  .hero-actions{grid-template-columns:1fr;max-width:360px}
  .home-category-filter-head{display:grid;gap:10px}
  .home-category-filter-count{width:max-content}
  .section-head{display:grid}
  .section-head>.btn{width:100%}
  .related-head{display:grid;gap:8px}
  .related-head a{text-align:left}
  .product-information .glass-card{padding:17px}
  .mg-option-item{align-items:flex-start}
  .mg-option-item strong{font-size:16px}
  .pagination{gap:6px;padding:7px}
  .page-btn{min-width:38px;height:38px}
}

/* =========================================================
   Homepage category filter and clean product details — final overrides
   ========================================================= */
.home-category-filter{
  overflow:hidden;
  padding:24px;
}
.home-category-filter-copy{
  min-width:0;
  display:grid;
  gap:4px;
}
.home-category-filter-note{
  color:var(--muted);
  font-size:13px;
  font-weight:650;
  line-height:1.45;
}
.home-category-filter .home-category-tabs{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
  width:100%;
  min-width:0;
  overflow:visible !important;
}
.home-category-filter .home-category-tabs button{
  width:100%;
  max-width:100%;
  min-width:0 !important;
  min-height:68px;
  padding:13px 15px !important;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  overflow:hidden;
  white-space:normal !important;
  text-align:left;
}
.home-category-filter .category-tab-label{
  min-width:0;
  color:inherit;
  font-size:14px;
  font-weight:950;
  line-height:1.25;
  overflow-wrap:anywhere;
  word-break:normal;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.home-category-filter .category-tab-arrow{
  flex:0 0 auto;
  color:currentColor;
  font-size:18px;
  font-weight:1000;
  opacity:.42;
  transform:translateX(0);
  transition:transform .2s ease,opacity .2s ease;
}
.home-category-filter .home-category-tabs button:hover .category-tab-arrow,
.home-category-filter .home-category-tabs button.active .category-tab-arrow{
  opacity:1;
  transform:translateX(2px);
}
.home-category-filter .category-tab-dot{
  margin-left:1px;
}
.home-category-select-shell{
  position:relative;
  display:block;
  min-width:0;
}
.home-category-mobile select{
  appearance:none;
  -webkit-appearance:none;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-category-select-arrow{
  position:absolute;
  top:50%;
  right:16px;
  z-index:2;
  transform:translateY(-57%);
  color:var(--blue);
  font-size:23px;
  font-weight:1000;
  line-height:1;
  pointer-events:none;
}
.home-category-mobile>small{
  padding-left:3px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

/* The product details page now contains only Description and MG options. */
.product-information-clean{
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);
  align-items:start;
}
.product-information-clean .product-info-stack{
  align-self:start;
}
.product-information-clean .product-options-panel{
  width:100%;
}

@media(max-width:1120px){
  .home-category-filter .home-category-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .home-category-filter .home-category-tabs button{
    min-height:64px;
  }
}

@media(max-width:760px){
  .home-catalog-section .section-head{
    gap:14px;
    margin-bottom:20px;
  }
  .home-category-filter{
    margin-bottom:20px;
    padding:16px;
    border-radius:22px;
  }
  .home-category-filter-head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:12px;
    margin-bottom:15px;
  }
  .home-category-filter-note{
    max-width:32rem;
    font-size:12px;
  }
  .home-category-filter-count{
    align-self:start;
    padding:7px 10px;
  }
  .home-category-desktop{
    display:none !important;
  }
  .home-category-mobile{
    display:grid !important;
    gap:8px;
    min-width:0;
  }
  .home-category-mobile-label{
    padding-left:3px;
    color:var(--muted);
    font-size:11px;
    font-weight:1000;
    letter-spacing:.07em;
    text-transform:uppercase;
  }
  .home-category-mobile select{
    width:100%;
    max-width:100%;
    min-height:54px;
    padding:0 48px 0 16px;
    border:1px solid var(--line-blue);
    border-radius:16px;
    background:#fff;
    color:var(--text);
    font-size:16px;
    font-weight:900;
    outline:none;
    box-shadow:0 10px 25px rgba(0,80,180,.07);
  }
  .home-category-mobile select:focus{
    border-color:var(--blue);
    box-shadow:0 0 0 4px rgba(0,109,255,.10),0 10px 25px rgba(0,80,180,.07);
  }
  .product-information-clean{
    grid-template-columns:1fr;
    gap:15px;
  }
  .product-information-clean .product-description-panel,
  .product-information-clean .product-options-panel{
    width:100%;
    min-width:0;
  }
}

@media(max-width:420px){
  .home-catalog-section{
    padding-top:34px;
  }
  .home-catalog-section .section-head{
    margin-bottom:16px;
  }
  .home-category-filter{
    padding:14px;
    border-radius:19px;
  }
  .home-category-filter-head{
    grid-template-columns:1fr;
    gap:9px;
  }
  .home-category-filter-count{
    width:max-content;
  }
  .home-category-filter-head strong{
    font-size:17px;
  }
  .home-category-mobile select{
    min-height:52px;
    padding-left:14px;
    font-size:15px;
  }
  .home-category-select-arrow{
    right:14px;
  }
  .product-information-clean{
    margin-top:16px;
  }
  .product-information-clean .glass-card{
    padding:17px;
    border-radius:18px;
  }
}


.footer-columns--clean {
        display: grid !important;
        grid-template-columns: minmax(140px, 0.9fr) minmax(190px, 1fr) minmax(280px, 1.35fr) minmax(260px, 1.15fr) !important;
        gap: clamp(42px, 6vw, 120px) !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 1280px !important;
        margin: 0 auto !important;
    }

    .footer-columns--clean .footer-col {
        min-width: 0 !important;
    }

    .footer-columns--clean .footer-col h3 {
        margin-bottom: 18px;
        white-space: nowrap;
    }

    .footer-columns--clean .footer-col a,
    .footer-columns--clean .footer-col p,
    .footer-columns--clean .footer-col label {
        max-width: 100%;
    }

    .footer-columns--clean .footer-newsletter {
        width: 100%;
    }

    .footer-columns--clean .newsletter-form {
        width: 100%;
        max-width: 280px;
    }

    .footer-columns--clean .newsletter-form input,
    .footer-columns--clean .newsletter-form button {
        width: 100%;
    }

    @media (max-width: 1024px) {
        .footer-columns--clean {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 42px 70px !important;
            max-width: 760px !important;
        }

        .footer-columns--clean .newsletter-form {
            max-width: 100%;
        }
    }

    @media (max-width: 640px) {
        .footer-columns--clean {
            grid-template-columns: 1fr !important;
            gap: 32px !important;
            text-align: center !important;
            justify-items: center !important;
        }

        .footer-columns--clean .footer-col {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .footer-columns--clean .newsletter-form {
            max-width: 320px;
        }
    }


    .bottom-footer {
    width: 100%;
    padding: 22px 16px 28px;
    text-align: center;
}

.bottom-footer__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.78);
}

.bottom-footer__separator {
    color: rgba(226, 232, 240, 0.45);
}

.bottom-footer__heart {
    color: #ef4444;
    display: inline-block;
    transform: translateY(-1px);
}

.bottom-footer__studio-link {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.bottom-footer__studio-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.bottom-footer__studio-link:hover {
    color: #ffffff;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.bottom-footer__studio-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.bottom-footer__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 3px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.bottom-footer__logo-link:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

.bottom-footer__logo {
    display: block;
    width: 26px;
    height: 26px;
    max-width: 26px;
    max-height: 26px;
    object-fit: contain;
}

/* Мобильная версия */
@media (max-width: 640px) {
    .bottom-footer {
        padding: 18px 14px 24px;
    }

    .bottom-footer__inner {
        gap: 5px;
        font-size: 12px;
        line-height: 1.6;
    }

    .bottom-footer__copyright {
        flex-basis: 100%;
    }

    .bottom-footer__separator {
        display: none;
    }

    .bottom-footer__logo-link,
    .bottom-footer__logo {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
    }
}

/* Legal pages */
.legal-page {
    padding: 90px 0 120px;
    background:
        radial-gradient(circle at top left, rgba(0, 119, 255, 0.14), transparent 34%),
        radial-gradient(circle at bottom right, rgba(77, 166, 255, 0.12), transparent 34%);
}

.legal-hero {
    padding: 40px 0 30px;
    text-align: center;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 9px 18px;
    border: 1px solid rgba(77, 166, 255, 0.35);
    border-radius: 999px;
    background: rgba(0, 119, 255, 0.08);
    color: #1677ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    color: #071126;
}

.legal-hero p {
    max-width: 760px;
    margin: 22px auto 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.7;
}

.legal-content-card {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 60px);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
    color: #334155;
    line-height: 1.8;
}

.legal-content-card h2 {
    margin: 0 0 18px;
    color: #071126;
    font-size: 32px;
    line-height: 1.2;
}

.legal-content-card h3 {
    margin: 32px 0 12px;
    color: #071126;
    font-size: 22px;
}

.legal-content-card p {
    margin: 0 0 18px;
}

.legal-content-card ul,
.legal-content-card ol {
    margin: 0 0 22px 22px;
    padding: 0;
}

.legal-content-card li {
    margin-bottom: 10px;
}

.legal-content-card a {
    color: #1677ff;
    font-weight: 700;
    text-decoration: none;
}

.legal-content-card a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .legal-page {
        padding: 56px 0 80px;
    }

    .legal-hero {
        padding: 24px 0;
        text-align: left;
    }

    .legal-hero h1 {
        font-size: 42px;
    }

    .legal-hero p {
        font-size: 16px;
    }

    .legal-content-card {
        padding: 26px 20px;
        border-radius: 24px;
    }
}


/* Blog */
.blog-page,
.blog-detail-page {
    background:
        radial-gradient(circle at top left, rgba(0, 119, 255, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(77, 166, 255, 0.13), transparent 34%),
        #f7fbff;
}

.blog-hero {
    padding: 92px 0 56px;
}

.blog-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 44px;
    align-items: end;
}

.blog-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 16px;
    border: 1px solid rgba(22, 119, 255, 0.28);
    border-radius: 999px;
    background: rgba(22, 119, 255, 0.08);
    color: #1677ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-hero h1 {
    max-width: 920px;
    margin: 0;
    color: #071126;
    font-size: clamp(46px, 7vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.blog-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: #607086;
    font-size: 18px;
    line-height: 1.75;
}

.blog-hero__card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.blog-hero__card span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #1677ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-hero__card strong {
    display: block;
    color: #071126;
    font-size: 24px;
    line-height: 1.15;
}

.blog-hero__card p {
    margin-top: 14px;
    font-size: 15px;
}

.blog-featured-section,
.blog-list-section,
.blog-detail-content-section,
.blog-social-section,
.blog-related-section {
    padding: 34px 0;
}

.blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 42px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.1);
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog-featured:hover,
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.13);
}

.blog-featured__image,
.blog-card__image,
.blog-detail-hero__image {
    overflow: hidden;
    border-radius: 30px;
    background: #eaf3ff;
}

.blog-featured__image img,
.blog-card__image img,
.blog-detail-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured__image {
    aspect-ratio: 1.1 / 0.8;
}

.blog-featured__content {
    padding: 18px;
}

.blog-featured__content h2 {
    margin: 18px 0 16px;
    color: #071126;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.blog-featured__content p {
    color: #607086;
    font-size: 17px;
    line-height: 1.75;
}

.blog-section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.blog-section-head h2 {
    margin: 0;
    color: #071126;
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: -0.04em;
}

.blog-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.blog-categories span {
    padding: 8px 13px;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.22);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 32px;
    background: rgba(255,255,255,.86);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card__image {
    aspect-ratio: 1.2 / 0.82;
    border-radius: 0;
}

.blog-card__body {
    padding: 24px;
}

.blog-card__top,
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: #7b8aa0;
    font-size: 13px;
    font-weight: 800;
}

.blog-card__top {
    justify-content: space-between;
    margin-bottom: 14px;
}

.blog-card__badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(22,119,255,.09);
    color: #1677ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.blog-card h3 {
    margin: 0 0 12px;
    color: #071126;
    font-size: 25px;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.blog-card p {
    color: #607086;
    line-height: 1.65;
}

.blog-detail-hero {
    padding: 86px 0 42px;
}

.blog-back-link {
    display: inline-flex;
    margin-bottom: 28px;
    color: #1677ff;
    font-weight: 900;
    text-decoration: none;
}

.blog-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr);
    gap: 42px;
    align-items: center;
}

.blog-detail-hero h1 {
    margin: 18px 0;
    color: #071126;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -0.06em;
}

.blog-detail-hero p {
    max-width: 760px;
    color: #607086;
    font-size: 18px;
    line-height: 1.75;
}

.blog-detail-hero__image {
    aspect-ratio: 1 / .9;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.12);
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.blog-detail-card,
.blog-side-card,
.blog-social-card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 34px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 20px 70px rgba(15, 23, 42, 0.08);
}

.blog-detail-card {
    padding: clamp(28px, 5vw, 60px);
    color: #334155;
    line-height: 1.8;
}

.blog-detail-card h2 {
    margin: 34px 0 16px;
    color: #071126;
    font-size: 34px;
    line-height: 1.15;
}

.blog-detail-card h2:first-child {
    margin-top: 0;
}

.blog-detail-card p,
.blog-detail-card li {
    font-size: 17px;
}

.blog-detail-card img {
    max-width: 100%;
    border-radius: 26px;
    margin: 22px 0;
}

.blog-side-card {
    padding: 24px;
    position: sticky;
    top: 110px;
}

.blog-side-card h3,
.blog-reactions h3,
.blog-comments h3 {
    margin: 0 0 14px;
    color: #071126;
    font-size: 24px;
}

.blog-side-card p {
    color: #607086;
    line-height: 1.7;
}

.blog-social-card {
    padding: clamp(24px, 4vw, 44px);
    display: grid;
    gap: 36px;
}

.blog-reaction-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #071126;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.blog-reaction-btn:hover,
.blog-reaction-btn.is-active {
    transform: translateY(-2px);
    background: rgba(22,119,255,.09);
}

.blog-reaction-btn small {
    color: #64748b;
    font-weight: 800;
}

.blog-auth-note,
.blog-no-comments {
    color: #64748b;
}

.blog-comment-form {
    display: grid;
    gap: 14px;
}

.blog-comment-form textarea {
    min-height: 120px;
    resize: vertical;
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(148,163,184,.3);
    border-radius: 20px;
    background: #fff;
    font: inherit;
}

.blog-login-box {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 18px;
    border-radius: 24px;
    background: rgba(22,119,255,.07);
}

.blog-login-box p {
    flex-basis: 100%;
    margin: 0;
    color: #475569;
}

.blog-comment-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.blog-comment {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(248, 251, 255, .9);
}

.blog-comment__avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #35a7ff, #006dff);
    color: #fff;
    font-weight: 900;
}

.blog-comment__head {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.blog-comment__head strong {
    color: #071126;
}

.blog-comment__head span {
    color: #94a3b8;
    font-size: 13px;
}

.blog-comment p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.blog-status {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(34, 197, 94, .1);
    color: #15803d;
    font-weight: 800;
}

.blog-empty {
    grid-column: 1 / -1;
    padding: 36px;
    border-radius: 28px;
    background: #fff;
    text-align: center;
}

.blog-pagination {
    margin-top: 30px;
}


.certificate-showcase:hover .certificate-showcase__preview {
    transform: rotate(0deg) scale(1.03);
}

.certificate-showcase__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.certificate-showcase__badge {
    width: max-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 109, 255, 0.10);
    color: var(--blue);
    font-size: 10px;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: normal;
}

.certificate-showcase strong {
    display: block;
    color: var(--text);
    font-size: 23px;
    line-height: 1.05;
    font-weight: 1000;
    letter-spacing: -0.04em;
}

.certificate-showcase small {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
}


    18% {
        opacity: .9;
    }
    42% {
        left: 130%;
        opacity: 0;
    }
    100% {
        left: 130%;
        opacity: 0;
    }
}

/* Certificate modal */
.certificate-modal.hidden {
    display: none !important;
}

.certificate-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.certificate-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 38, 0.68);
    backdrop-filter: blur(10px);
}

.certificate-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    padding: 24px;
    border: 1px solid rgba(187, 216, 255, 0.35);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 34px 120px rgba(2, 8, 23, 0.35);
    overflow: auto;
}

.certificate-modal__close {
    position: sticky;
    top: 0;
    float: right;
    width: 44px;
    height: 44px;
    margin-left: 12px;
    border: 1px solid rgba(187, 216, 255, 0.75);
    border-radius: 999px;
    background: #f5f9ff;
    color: #071126;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.certificate-modal__content {
    clear: both;
    display: grid;
    place-items: center;
}

.certificate-modal__content img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    border-radius: 20px;
    object-fit: contain;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    
    .certificate-showcase__preview {
        width: 78px;
        height: 96px;
    }

    
    .certificate-showcase strong {
        font-size: 20px;
    }

    .certificate-showcase small {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    
    
    .certificate-showcase__preview {
        width: 108px;
        height: 130px;
    }

    
    .certificate-modal {
        padding: 14px;
    }

    .certificate-modal__dialog {
        padding: 16px;
        border-radius: 22px;
    }
}




    100% {
        transform: scale(0.96);
        opacity: 0.75;
        filter: brightness(0.96);
    }
}














.certificate-showcase__plus::before,
.certificate-showcase__plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: linear-gradient(180deg, #76bcff 0%, #2e83ff 45%, #0f69ff 100%);
    box-shadow:
        inset 0 2px 3px rgba(255,255,255,0.48),
        inset 0 -3px 8px rgba(0,55,155,0.18),
        0 10px 22px rgba(43, 112, 255, 0.24);
}

.certificate-showcase__plus::before {
    width: 84px;
    height: 22px;
}

.certificate-showcase__plus::after {
    width: 22px;
    height: 84px;
}



    50% {
        transform: scale(1.06);
        opacity: 1;
    }
    100% {
        transform: scale(0.96);
        opacity: 0.9;
    }
}

    100% { background-position: -40% 0; }
}

@media (max-width: 980px) {
    
    
    }




.certificate-showcase {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 150px;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 24px 26px;
    border-radius: 34px;
    border: 2px solid rgba(134, 176, 255, 0.45);
    background:
        radial-gradient(circle at 15% 20%, rgba(87, 150, 255, 0.12), transparent 35%),
        linear-gradient(135deg, #f7fbff 0%, #eef5ff 48%, #f7fbff 100%);
    box-shadow:
        0 14px 40px rgba(71, 109, 180, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.85);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.certificate-showcase:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 46px rgba(71, 109, 180, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.95);
    border-color: rgba(67, 129, 255, 0.55);
}

.certificate-showcase__shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.06) 30%, rgba(255,255,255,.18) 45%, rgba(255,255,255,.05) 60%, transparent 100%);
    background-size: 220% 100%;
    animation: certificateShine 5s linear infinite;
}

.certificate-showcase__plus {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, #6fb4ff 0%, #2f80ff 50%, #1268ff 100%);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    box-shadow:
        0 10px 24px rgba(47, 128, 255, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.35);
    animation: certificatePlusGlow 2.8s ease-in-out infinite;
}

.certificate-showcase__thumb {
    position: relative;
    z-index: 1;
    width: 135px;
    height: 180px;
    padding: 10px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,245,255,0.96));
    box-shadow:
        0 10px 26px rgba(64, 107, 181, 0.10),
        inset 0 0 0 1px rgba(178, 203, 247, 0.55);
    overflow: hidden;
}

.certificate-showcase__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.certificate-showcase__content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.certificate-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(74, 133, 255, 0.12);
    color: #266dff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.certificate-showcase__title {
    display: block;
    font-size: clamp(26px, 2.8vw, 34px);
    line-height: 1.02;
    font-weight: 900;
    color: #08142c;
    margin-bottom: 8px;
}

.certificate-showcase__text {
    display: block;
    font-size: clamp(16px, 1.8vw, 22px);
    line-height: 1.2;
    font-weight: 700;
    color: #667487;
    max-width: 320px;
}

.certificate-showcase__button {
    position: relative;
    z-index: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 72px;
    padding: 0 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #66b0ff 0%, #2e80ff 52%, #1b67f2 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    box-shadow:
        0 14px 28px rgba(44, 115, 255, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

@keyframes certificateShine {
    0% { background-position: 200% 0; }
    100% { background-position: -40% 0; }
}

@keyframes certificatePlusGlow {
    0%   { transform: scale(1); box-shadow: 0 10px 24px rgba(47,128,255,.18), inset 0 1px 0 rgba(255,255,255,.35); }
    50%  { transform: scale(1.07); box-shadow: 0 14px 30px rgba(47,128,255,.28), inset 0 1px 0 rgba(255,255,255,.35); }
    100% { transform: scale(1); box-shadow: 0 10px 24px rgba(47,128,255,.18), inset 0 1px 0 rgba(255,255,255,.35); }
}

@media (max-width: 980px) {
    .certificate-showcase {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px;
    }

    .certificate-showcase__thumb {
        width: 130px;
        height: 172px;
    }

    .certificate-showcase__button {
        justify-self: start;
        min-width: 116px;
        min-height: 64px;
        font-size: 22px;
    }

    .certificate-showcase__plus {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
}

/* =========================================================
   Certificate showcase restored: circle version
   ========================================================= */

.certificate-showcase {
    position: relative !important;
    width: min(520px, 100%) !important;
    margin: 20px 0 22px !important;
    padding: 16px !important;
    display: grid !important;
    grid-template-columns: 86px minmax(0, 1fr) auto !important;
    gap: 16px !important;
    align-items: center !important;
    overflow: hidden !important;
    border: 1px solid rgba(22, 119, 255, 0.30) !important;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at 14% 18%, rgba(59, 163, 255, 0.24), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f5faff 48%, #eaf4ff 100%) !important;
    color: var(--text) !important;
    cursor: pointer !important;
    text-align: left !important;
    box-shadow:
        0 22px 60px rgba(0, 109, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease !important;
}

.certificate-showcase::before {
    content: "" !important;
    position: absolute !important;
    right: -58px !important;
    top: -78px !important;
    width: 190px !important;
    height: 190px !important;
    border-radius: 999px !important;
    background: rgba(22, 119, 255, 0.12) !important;
    pointer-events: none !important;
}

.certificate-showcase:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(22, 119, 255, 0.58) !important;
    box-shadow:
        0 30px 74px rgba(0, 109, 255, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* Скрываем старый плюсик и старую колонку actions */
.certificate-showcase__plus,
.certificate-showcase__actions {
    display: none !important;
}

.certificate-showcase__shine {
    position: absolute !important;
    inset: -80% auto auto -35% !important;
    width: 90px !important;
    height: 260% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent) !important;
    transform: rotate(24deg) !important;
    animation: certificateShine 3.8s ease-in-out infinite !important;
    pointer-events: none !important;
}

.certificate-showcase__preview {
    position: relative !important;
    z-index: 1 !important;
    width: 86px !important;
    height: 108px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border: 1px solid rgba(187, 216, 255, 0.95) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow:
        0 16px 30px rgba(7, 17, 38, 0.12),
        0 0 0 7px rgba(255, 255, 255, 0.55) !important;
    transform: rotate(-2.5deg) !important;
    transition: transform .24s ease !important;
}

.certificate-showcase:hover .certificate-showcase__preview {
    transform: rotate(0deg) scale(1.03) !important;
}

.certificate-showcase__preview img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.certificate-showcase__content {
    position: relative !important;
    z-index: 1 !important;
    min-width: 0 !important;
    display: grid !important;
    gap: 6px !important;
}

.certificate-showcase__badge {
    width: max-content !important;
    max-width: 100% !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: rgba(0, 109, 255, 0.10) !important;
    color: var(--blue) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 1000 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    white-space: normal !important;
}

.certificate-showcase strong {
    display: block !important;
    color: var(--text) !important;
    font-size: 23px !important;
    line-height: 1.05 !important;
    font-weight: 1000 !important;
    letter-spacing: -0.04em !important;
}

.certificate-showcase small {
    display: block !important;
    color: var(--muted) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
}

.certificate-showcase__button {
    position: relative !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--blue2), var(--blue)) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 1000 !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 26px rgba(0, 109, 255, 0.22) !important;
}

@keyframes certificateShine {
    0% {
        left: -35%;
        opacity: 0;
    }
    18% {
        opacity: .9;
    }
    42% {
        left: 130%;
        opacity: 0;
    }
    100% {
        left: 130%;
        opacity: 0;
    }
}

@media (max-width: 760px) {
    .certificate-showcase {
        grid-template-columns: 78px minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    .certificate-showcase__preview {
        width: 78px !important;
        height: 96px !important;
    }

    .certificate-showcase__button {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }
}

@media (max-width: 420px) {
    .certificate-showcase {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
        padding: 18px 16px !important;
        border-radius: 22px !important;
    }

    .certificate-showcase__content {
        justify-items: center !important;
    }

    .certificate-showcase__preview {
        width: 108px !important;
        height: 130px !important;
    }

    .certificate-showcase__button {
        width: 100% !important;
    }
}

/* Certificate corner logo instead of circle */
.certificate-showcase::before {
    content: none !important;
    display: none !important;
}

.certificate-showcase__logo {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 1;
    width: 94px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid rgba(139, 184, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 12px 28px rgba(37, 109, 255, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 0.92;
}

.certificate-showcase__logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* чтобы кнопка View была выше логотипа и ничего не перекрывалось */
.certificate-showcase__button {
    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 760px) {
    .certificate-showcase__logo {
        top: 14px;
        right: 14px;
        width: 82px;
        height: 34px;
        padding: 6px 9px;
    }
}

@media (max-width: 420px) {
    .certificate-showcase__logo {
        width: 76px;
        height: 32px;
    }
}

/* Move certificate View button lower so it does not overlap the logo */
.certificate-showcase__button {
    margin-top: 58px !important;
    align-self: start !important;
    justify-self: end !important;
}

@media (max-width: 760px) {
    .certificate-showcase__button {
        margin-top: 46px !important;
    }
}

@media (max-width: 420px) {
    .certificate-showcase__button {
        margin-top: 18px !important;
    }
}

/* Active main menu item */
header nav a.is-active,
header nav a.active,
.site-nav a.is-active,
.site-nav a.active,
.header-nav a.is-active,
.header-nav a.active,
.main-nav a.is-active,
.main-nav a.active {
    background: linear-gradient(135deg, #2f9bff, #006dff) !important;
    color: #ffffff !important;
    border-color: rgba(0, 109, 255, 0.85) !important;
    box-shadow: 0 14px 34px rgba(0, 109, 255, 0.24) !important;
    border-radius: 999px !important;
}

header nav a.is-active *,
header nav a.active * {
    color: #ffffff !important;
}

/* Restore subtle active menu underline */
header nav a.is-active,
header nav a.active,
.site-nav a.is-active,
.site-nav a.active,
.header-nav a.is-active,
.header-nav a.active,
.main-nav a.is-active,
.main-nav a.active {
    position: relative !important;
    background: transparent !important;
    color: #071126 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

header nav a.is-active::after,
header nav a.active::after,
.site-nav a.is-active::after,
.site-nav a.active::after,
.header-nav a.is-active::after,
.header-nav a.active::after,
.main-nav a.is-active::after,
.main-nav a.active::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 8px !important;
    width: 22px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: #1677ff !important;
    transform: translateX(-50%) !important;
    box-shadow: 0 6px 14px rgba(22, 119, 255, 0.28) !important;
}

header nav a.is-active *,
header nav a.active * {
    color: inherit !important;
}

/* Final restore: old active menu style */
header nav a.is-active,
header nav a.active,
.site-nav a.is-active,
.site-nav a.active,
.header-nav a.is-active,
.header-nav a.active,
.main-nav a.is-active,
.main-nav a.active {
    position: relative !important;
    background: transparent !important;
    color: #1677ff !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

header nav a.is-active::after,
header nav a.active::after,
.site-nav a.is-active::after,
.site-nav a.active::after,
.header-nav a.is-active::after,
.header-nav a.active::after,
.main-nav a.is-active::after,
.main-nav a.active::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: -14px !important;
    width: 30px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: #1677ff !important;
    transform: translateX(-50%) !important;
    box-shadow: none !important;
}

header nav a.is-active *,
header nav a.active *,
.site-nav a.is-active *,
.site-nav a.active *,
.header-nav a.is-active *,
.header-nav a.active *,
.main-nav a.is-active *,
.main-nav a.active * {
    color: #1677ff !important;
}
