/* Морской гриб — визуальная система по присланному макету. */
:root{--ink:#13266b;--muted:#6c7ba5;--blue:#1544e8;--line:#e0e6f6;--surface:#f1f4fd;--radius:15px}
*{box-sizing:border-box}
body{background:#f4f6fc;color:var(--ink);background-image:none;font-family:Montserrat,Arial,sans-serif}
header{position:relative;z-index:20;padding:9px 2.4%;gap:20px;background:#f7f8ff;border:0;border-bottom:1px solid #e9edfa;box-shadow:0 2px 10px #1c347508}
.brand{gap:3px;font-size:17px;letter-spacing:-.7px;color:#0719c9}
.brand-mark{width:42px;height:42px;margin:0 5px 0 0;border-radius:0;background:transparent url('mascot.png') center/contain no-repeat;box-shadow:none}
.brand-light{font-weight:800}
header>nav{gap:clamp(10px,1.6vw,22px);font-size:12px;font-weight:700}
header>nav>a{white-space:nowrap}
.count{background:#e6ebff;color:var(--blue);border-radius:50%;padding:3px 7px}
.nav-login{border:0;border-radius:8px;background:#fff;padding:8px 15px}
.account-menu summary{width:39px;height:39px;border:1px solid var(--line);background:#fff;color:var(--blue);font-size:20px}
.menu-sheet{border-color:var(--line);border-radius:14px;box-shadow:0 12px 30px #15296520}
.menu-sheet>a:hover{background:#eff2ff}
.header-search{display:flex;align-items:center;gap:5px;width:clamp(145px,17vw,220px);padding:3px 5px 3px 10px;border:1px solid #e3e8f6;border-radius:9px;background:#eef2fb}
.header-search input{min-width:0;width:100%;height:28px;padding:4px 2px;border:0;background:transparent;font-size:10px;box-shadow:none}
.header-search button{flex:none;width:27px;height:27px;padding:0;border:0;border-radius:7px;box-shadow:none;font-size:17px;line-height:1}
.header-actions{display:flex;align-items:center;gap:8px}
.header-actions>.account-menu{margin-left:0}
.uicon{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.header-search button .uicon{width:16px;height:16px}
.header-cart .uicon{width:21px;height:21px}
.header-cart,.favorites-menu summary{display:flex;align-items:center;justify-content:center;gap:5px;min-width:34px;height:36px;padding:0 6px;border:0;border-radius:8px;background:transparent;color:#172b76;font-size:19px;cursor:pointer}
.header-cart .count,.favorites-menu .count{font-size:10px}
.favorites-menu,.account-menu{position:relative}
.favorites-menu summary{list-style:none}
.favorites-menu summary::-webkit-details-marker{display:none}
.favorites-menu[open] summary{background:#e9edff;color:var(--blue)}
.favorites-menu .menu-sheet{right:-44px;min-width:260px}
.favorites-menu .menu-sheet p{margin:8px;color:var(--muted);font-size:12px}
.favorites-menu .menu-sheet ul{margin:0;padding:0;list-style:none}
.favorites-menu .menu-sheet li{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:8px;font-size:12px}
.favorites-menu .menu-sheet li:hover{background:#f1f3fc}
.favorites-menu .menu-sheet li a{flex:1}
.favorite-remove{padding:2px 6px;border:0;background:transparent;color:#6c7ba5;box-shadow:none}
main{max-width:1500px;padding:22px 2.4% 70px}
main>*,main section{min-width:0}
h1,h2,h3,.side-title,.cover-word,.image-label{font-family:Montserrat,Arial,sans-serif;font-weight:800;color:var(--ink)}
.artist-name h1,.artist-meetings h2,.sample-top h2{font-family:Montserrat,Arial,sans-serif;font-weight:800}
h1{font-size:clamp(32px,4.2vw,58px);letter-spacing:-1.8px}
h2{font-size:22px;letter-spacing:-.5px}
h1:after,h2:after{content:"";display:inline-block;width:.52em;height:.52em;margin-left:.24em;vertical-align:-.02em;background:url('sea-decor.svg?v=1') center/contain no-repeat}
.eyebrow{display:flex;align-items:center;gap:7px;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.8px}
.eyebrow:before{content:"";flex:none;width:16px;height:16px;background:url('sea-decor.svg?v=1') center/contain no-repeat}
a:hover{color:#3d57f4}
button,.button{border:1px solid var(--blue);border-radius:9px;background:var(--blue);color:#fff;padding:10px 17px;font-size:13px;font-weight:800;box-shadow:0 4px 10px #0719ed1c}
button:hover,.button:hover{background:#0011c9;color:#fff;border-color:#0011c9;box-shadow:0 6px 14px #0719ed2b;transform:translateY(-1px)}
.secondary{border-color:var(--line);background:#fff;color:var(--ink);box-shadow:none}
input,select,textarea{border:1px solid #d9e1f3;border-radius:9px;background:#fff;color:var(--ink)}
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #aab8ff;outline-offset:2px}
.catalog-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:220px;margin:0 0 14px;padding:14px 2.2% 14px 0;overflow:hidden;background:transparent;border:0;border-radius:0;box-shadow:none}
.catalog-heading:after{content:none}
.catalog-heading>div{position:relative;z-index:1;max-width:62%}
.catalog-heading .eyebrow{font-size:11px;margin-bottom:10px}
.catalog-heading h1{margin:5px 0 11px;font-size:clamp(46px,6.5vw,76px);line-height:.93;letter-spacing:-3.2px}
.catalog-heading h1{font-family:Montserrat,Arial,sans-serif;font-weight:800}
.catalog-heading h1:after{display:none}
.catalog-heading h1 span{display:inline-block;background:none;color:var(--blue);padding:0;transform:none}
.catalog-heading .lead{max-width:390px;color:#536797;font-size:14px;line-height:1.5}
.catalog-mascot{display:block;width:min(35vw,350px);height:210px;object-fit:contain;filter:drop-shadow(0 8px 9px #0719ed13)}
.catalog-cta{margin-top:14px}
.catalog-cta span{font-size:16px}
.circle-link,.ticker{display:none}
.category-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:2px 0 26px}
.category-shortcuts a{display:flex;align-items:center;gap:11px;min-width:0;min-height:62px;padding:10px 13px;border:1px solid #e9edf8;border-radius:12px;background:#fff;color:var(--ink);font-size:12px;font-weight:800;box-shadow:0 4px 12px #182d6910;transition:transform .16s ease,box-shadow .16s ease}
.category-shortcuts a:hover{transform:translateY(-2px);box-shadow:0 8px 17px #182d6917}
.shortcut-mushroom{display:block;flex:none;width:29px;height:29px;background:url('sea-decor.svg?v=1') center/contain no-repeat}
.shortcut-arrow{display:grid;place-items:center;flex:none;margin-left:auto;width:23px;height:23px;border-radius:50%;background:#eef1ff;color:var(--blue);font-size:13px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:17px 0 14px}
.section-head h1,.section-head h2{margin:0}
.section-head h2{font-size:23px}
.section-head>.underlined{font-size:12px;font-weight:700;color:var(--blue)}
.result-count{display:inline-grid;place-items:center;min-width:25px;min-height:25px;padding:2px 7px;border:0;border-radius:8px;background:#e8edff;color:var(--blue);font-size:12px;transform:none}
.artist-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 17px;border-bottom:0}
.artist-tabs a{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border:1px solid transparent;border-radius:8px;background:#fff;color:#65749b;font-size:11px;font-weight:700}
.artist-tabs a:before{content:"";width:12px;height:12px;background:url('sea-decor.svg?v=1') center/contain no-repeat;opacity:.9}
.artist-tabs a[aria-current]{border-color:var(--blue);background:var(--blue);color:#fff}
.artist-tabs a[aria-current]:before{filter:brightness(0) invert(1)}
.catalog-filters{margin:15px 0 24px;padding:16px;background:#fff;border:1px solid #e6ebf7;border-radius:14px;box-shadow:0 5px 16px #152e710b}
.search-row{display:flex;gap:10px}
.search-row input{min-width:0;background:#f8f9fd;border-color:#e0e6f4}
.filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-top:14px}
.filter-grid label{min-width:0;color:#6c7ba5;font-size:10px;font-weight:800;letter-spacing:.25px}
.filter-grid select{display:block;width:100%;margin-top:5px;padding:9px 10px;font-size:12px}
.filter-footer{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:#8792ae;font-size:10px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 16px}
.product-card,.author-card{overflow:hidden;border:1px solid #e7ebf6;border-radius:13px;background:#fff;box-shadow:0 5px 16px #172c690d;transition:transform .17s ease,box-shadow .17s ease}
.product-card:hover,.author-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #172c6918}
.product-image{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;overflow:hidden;border:0;border-radius:12px;background:linear-gradient(145deg,#e7edff,#f5f7ff 68%,#e4ebff);color:#5270bb}
.product-media{position:relative;min-width:0}
.favorite-toggle{position:absolute;top:8px;right:8px;z-index:4;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #e5e9f5;border-radius:8px;background:#fffffff2;color:#263d92;font-size:19px;font-weight:500;line-height:1;box-shadow:none}
.favorite-toggle:hover,.favorite-toggle.is-active{border-color:#b8c5ff;background:#eef1ff;color:var(--blue);box-shadow:none}
.favorite-toggle.is-active{font-weight:800}
.detail-favorite{position:relative;top:auto;right:auto;display:inline-grid;vertical-align:middle;margin-left:8px}
.product-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.category-acrylic{background:linear-gradient(145deg,#e4edff,#d4e3ff);color:#4169c2}.category-clothing{background:linear-gradient(145deg,#e9efff,#f5f7fc);color:#435eaa}.category-candles{background:linear-gradient(145deg,#edf1f8,#f7f8fc);color:#697a9a}.category-print{background:linear-gradient(145deg,#e5eaff,#f5f6ff);color:#4b5bc2}
.image-label{position:relative;z-index:1;color:#5267a9;font-size:clamp(19px,2.4vw,30px);letter-spacing:-.6px}
.image-caption{position:absolute;bottom:10px;left:8px;right:8px;text-align:center;color:#8090b4;font-size:10px}
.image-badge{position:absolute;z-index:2;top:9px;left:9px;max-width:calc(100% - 40px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;border-radius:6px;background:#ffffffed;color:#56688f;font-size:9px;font-weight:700;padding:4px 7px}
.product-copy{padding:11px 12px 12px}
.card-meta{display:block;margin:0 0 3px;color:#8490ae;font-size:10px}
.product-name{display:block;color:#17275d;font-size:12px;font-weight:800;line-height:1.4}
.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.price{color:#152b86;font-size:13px;font-weight:800}
.product-arrow{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-size:15px}
.product-arrow:hover{background:#0011c9;color:#fff}
.empty{grid-column:1/-1;border:1px dashed #cbd5ef;border-radius:13px;background:#fff;padding:38px 20px;text-align:center}
.empty p{color:var(--muted)}
.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:40px}
.detail-image{position:sticky;top:15px;min-height:430px;border:1px solid #e5eafa;border-radius:15px}
.detail-price{color:var(--blue);font-size:25px;font-weight:800}
.description{color:#586995}
.variant{border-top:1px solid var(--line);padding:17px 0}
.variant-form{display:flex;gap:8px;margin-top:10px}
.variant-form input{max-width:70px}
.variant-form select{flex:1;min-width:0}
.notice,.message{border:1px solid #e4eaf8;border-left:3px solid #7187ff;border-radius:10px;background:#fff;color:#53648e;padding:12px 16px;font-size:12px}
.panel,.summary,.form-panel{border:1px solid #e5eaf6;border-radius:14px;background:#fff;box-shadow:0 5px 16px #172c690b}
.stats>div,.stats>div:nth-child(n){background:#f8f9fd;border-color:#e6eaf5}
.pill{border:0;border-radius:7px;background:#e9edff;color:#344fc5}
.author-card-cover,.author-card:nth-child(even) .author-card-cover{height:160px;background:#edf1ff url('mascot.png') 95% 57%/135px auto no-repeat}
.author-card:nth-child(even) .author-card-cover{background-color:#e7ecff}
.author-card-cover>span{font-family:Montserrat,Arial,sans-serif;font-size:23px;font-weight:800;color:#193797}
.profile-main{overflow:hidden;border:1px solid #e4e9f5;border-radius:15px;background:#fff}
.profile-cover{background:#e8edff url('mascot.png') 95% center/220px auto no-repeat;border-block:1px solid #dfe5f5}
.cover-word{font:800 48px/1 Montserrat,Arial,sans-serif;color:#17369c}
.cover-stamp{display:none}
.profile-tabs [aria-current],.profile-tags a,.feed-tags span{border:0;border-radius:7px;background:#edf0ff;color:#2949cf}
.side-note{position:relative;border:1px solid #e0e6f5;border-radius:13px;background:#f4f6ff;box-shadow:none}
.side-note:before{background:url('mascot.png') center/contain no-repeat}
.help-float{background:var(--blue);border:0;border-radius:9px;box-shadow:0 5px 14px #0719ed29}
footer{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 3%;border-top:1px solid #e3e8f5;background:#f7f8fc;color:#384c87}
.footer-about{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.footer-about small{color:#7380a1;font-size:10px}
.footer-note{width:100%;padding-left:49px}
.footer-brand{font-size:14px}
.footer-brand .brand-mark{width:31px;height:31px}
.footer-nav{display:flex;align-items:center;gap:17px;font-size:11px;font-weight:700}
.footer-nav a:before{content:"";display:inline-block;width:12px;height:12px;margin-right:4px;vertical-align:-2px;background:url('sea-decor.svg?v=1') center/contain no-repeat}
@media(max-width:1000px){header{flex-wrap:wrap;gap:8px 16px}header>nav{gap:12px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-detail{gap:24px}}
@media(max-width:700px){header{position:relative;padding:10px 4%}header>nav{width:100%;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;padding:2px 0 6px;scrollbar-width:thin}header>nav>a,header>nav>.inline,header>nav>.account-menu{flex:none;white-space:nowrap}header>nav .notification-label{display:none}main{padding:17px 4% 48px}.catalog-heading{min-height:0;padding:9px 0 17px;gap:0;margin-bottom:12px}.catalog-heading>div{max-width:66%}.catalog-heading h1{font-size:clamp(43px,12vw,66px);letter-spacing:-2.7px}.catalog-heading .lead{font-size:12px;max-width:260px}.catalog-mascot{width:36vw;height:150px;max-height:150px;margin-right:-3%}.catalog-cta{font-size:11px;padding:8px 12px}.category-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:21px}.category-shortcuts a{min-height:53px;padding:8px 10px;font-size:11px}.shortcut-mushroom{width:24px;height:24px}.section-head h2{font-size:19px}.section-head>.underlined{font-size:10px}.artist-tabs{gap:6px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.artist-tabs a{flex:none;padding:8px 10px;font-size:10px}.catalog-filters{padding:12px}.search-row{gap:7px}.search-row button{font-size:11px;padding:9px 11px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filter-grid select{font-size:11px;padding:8px 6px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.product-copy{padding:9px}.product-name{font-size:11px}.card-meta{font-size:9px}.image-label{font-size:21px}.detail-image{position:relative;top:auto;min-height:280px}.product-detail,.two-columns{grid-template-columns:1fr}.form-panel{padding:22px 16px}.footer-about{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 9px}.footer-about small{grid-column:2}.footer-note{padding-left:0}.footer-nav{width:100%;justify-content:space-between;gap:8px;flex-wrap:wrap}footer{flex-wrap:wrap;padding:18px 4%}}
@media(prefers-reduced-motion:reduce){.product-card,.author-card,.category-shortcuts a{transition:none}}
@media(max-width:1100px){header{flex-wrap:wrap;gap:8px 15px}header>nav{gap:12px}.header-search{width:210px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){header{position:relative;padding:10px 4%;gap:7px}.brand{font-size:15px}.brand-mark{width:36px;height:36px}.header-actions{margin-left:auto}header>nav{order:4;width:100%;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;padding:2px 0 6px;scrollbar-width:thin}header>nav>a{flex:none;white-space:nowrap}.header-search{order:3;width:100%;flex:1}main{padding:17px 4% 48px}.catalog-heading{min-height:0;padding:9px 0 17px;gap:0;margin-bottom:12px}.catalog-heading>div{max-width:66%}.catalog-heading h1{font-size:clamp(43px,12vw,66px);letter-spacing:-2.7px}.catalog-heading .lead{font-size:12px;max-width:260px}.catalog-mascot{width:36vw;height:150px;max-height:150px;margin-right:-3%}.category-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:21px}.category-shortcuts a{min-height:53px;padding:8px 10px;font-size:11px}.shortcut-mushroom{width:24px;height:24px}.section-head h2{font-size:19px}.section-head>.underlined{font-size:10px}.artist-tabs{gap:6px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.artist-tabs a{flex:none;padding:8px 10px;font-size:10px}.catalog-filters{padding:12px}.search-row{gap:7px}.search-row button{font-size:11px;padding:9px 11px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filter-grid select{font-size:11px;padding:8px 6px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.product-copy{padding:9px}.product-name{font-size:11px}.card-meta{font-size:9px}.image-label{font-size:21px}.detail-image{position:relative;top:auto;min-height:280px}.product-detail,.two-columns{grid-template-columns:1fr}.form-panel{padding:22px 16px}.footer-about{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 9px}.footer-about small{grid-column:2}.footer-note{padding-left:0}.footer-nav{width:100%;justify-content:space-between;gap:8px;flex-wrap:wrap}footer{flex-wrap:wrap;padding:18px 4%}}
/* Лёгкие контурные детали в духе библиотеки Uicons и компактная шапка. */
@media(min-width:701px){header{flex-wrap:nowrap;gap:clamp(8px,1.15vw,16px);padding-inline:2.4%}.brand{font-size:15px;letter-spacing:-.7px}.brand-mark{width:36px;height:36px;flex:none}header>nav{flex:none;gap:clamp(9px,1.15vw,16px);font-size:11px}.header-search{flex:1;width:auto;max-width:205px;min-width:128px}.header-actions{flex:none;gap:4px}}
.category-shortcuts a{position:relative;padding-right:30px}
.category-shortcuts a:after{content:"";position:absolute;right:8px;top:8px;width:15px;height:15px;background:url('uicon-star.svg') center/contain no-repeat;opacity:.62}
.favorites-menu summary>span:first-child{font-size:0;width:19px;height:19px;background:url('uicon-heart.svg') center/contain no-repeat}
@media(max-width:1000px) and (min-width:701px){.header-search{max-width:180px}.brand{font-size:14px}.header-actions{gap:1px}}
/* Новые синие грибочки и прохладный полупрозрачный фон. */
body{background-color:#eaf0ff;background-image:url('sea-pattern.svg?v=1'),radial-gradient(ellipse at 84% 11%,#315eff12 0,transparent 28%),radial-gradient(ellipse at 9% 78%,#315eff0e 0,transparent 24%);background-repeat:repeat, no-repeat, no-repeat;background-size:220px 200px,100% 850px,100% 850px}
header{background:rgba(247,249,255,.86);backdrop-filter:blur(10px)}
.category-shortcuts a,.product-card,.author-card,.catalog-filters,.panel,.summary,.form-panel,.artist-tabs a{background:rgba(237,243,255,.84);backdrop-filter:blur(5px)}
.product-image,.author-card-cover,.author-card:nth-child(even) .author-card-cover{background-color:rgba(216,229,255,.82)}
.authors-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.authors-grid .author-card{min-width:0}
.authors-grid .author-card-cover{height:auto;aspect-ratio:1.2/1;background-image:url('mushrooms.svg');background-size:130px auto}
.authors-grid .author-card-cover>img{width:100%;height:100%;object-fit:cover}
.authors-grid .author-card-body{padding:12px}
.authors-grid .author-card h2{font-size:15px;margin:2px 0 5px}
.authors-grid .author-card p{font-size:11px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0}
.authors-grid .card-bottom{gap:6px;font-size:10px}
.authors-grid .card-bottom .button{font-size:10px;padding:7px 9px}
.delivery-notice{margin:14px 0 20px;background:rgba(211,226,255,.68);border-left:3px solid #2452ed}
@media(max-width:1000px){.authors-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.authors-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.authors-grid .author-card-cover{aspect-ratio:1.12/1;background-size:100px auto}.authors-grid .author-card-body{padding:9px}.authors-grid .author-card h2{font-size:12px}.authors-grid .author-card p{font-size:10px}.authors-grid .card-bottom .button{font-size:9px;padding:6px 7px}.delivery-notice{font-size:12px}}

/* Публичная страница автора теперь использует общую синюю тему магазина. */
.author-theme{--author-bg:rgba(237,243,255,.84)!important;--author-accent:#1747df!important;--author-surface:rgba(226,236,255,.9)!important;--author-text:#13266b!important;--author-card-text:#13266b!important;--author-button-text:#fff!important;background:transparent!important;color:var(--ink)!important;padding:0!important;border:0!important;border-radius:0!important}
.author-theme .artist-breadcrumb{margin:0 0 14px;color:var(--muted)}
.author-theme .artist-intro{grid-template-columns:minmax(190px,260px) minmax(0,1fr);gap:24px;align-items:start;padding:18px;border:1px solid #dbe5fb;border-radius:17px;background:rgba(237,243,255,.84);box-shadow:0 5px 18px #1747df0a}
.author-theme .artist-portrait-wrap{padding:0}
.author-theme .artist-portrait{aspect-ratio:1/1;border:1px solid #d3def6;outline:0;border-radius:13px;background:rgba(220,232,255,.76);box-shadow:none}
.author-theme .portrait-placeholder{background:transparent}
.author-theme .portrait-placeholder img{width:80%;height:75%;object-fit:contain}
.author-theme .portrait-placeholder span{display:none}
.author-theme .artist-description{padding:4px 0 0}
.author-theme .artist-description>.eyebrow{margin:0 0 10px}
.author-theme .artist-name{gap:11px;align-items:center}
.author-theme .artist-name h1{font-size:clamp(27px,3.2vw,40px);line-height:1.08;margin:0 0 3px;letter-spacing:-1.1px}
.author-theme .profile-handle{color:var(--muted);font-size:12px}
.author-theme .profile-bio{color:#536797;font-size:14px;line-height:1.6;margin:15px 0}
.author-theme .artist-meta{color:var(--muted);font-size:11px}
.author-theme .sales-badges{margin:10px 0}
.author-theme .sales-badges>*{border-radius:8px;background:rgba(219,231,255,.8);color:#1747df;border-color:#d3e0ff}
.author-theme .author-delivery{margin-top:15px;padding:12px 14px;border:1px solid #dbe5fb;border-radius:11px;background:rgba(226,236,255,.64)}
.author-theme .author-delivery p{margin:5px 0;color:#536797}
.author-theme .social-links a,.author-theme .profile-tags a{border-radius:8px;background:rgba(226,236,255,.78);color:#1747df;border-color:#d5e1fb}
.author-theme .artist-meetings{margin-top:20px}
.author-theme .event-cap,.author-theme .event-empty{border:1px solid #dbe5fb;border-radius:12px;background:rgba(226,236,255,.72);color:var(--ink)}
.author-theme .event-empty img{width:76px;height:60px;object-fit:contain;opacity:.72}
.author-theme .author-ornaments{display:none!important}
.author-theme .author-rule{border:0;height:1px;background:#dbe5fb;margin:22px 0}
.author-theme #author-products,.author-theme .author-reviews{margin-top:22px}
.author-theme .artist-tabs a{border-color:transparent;background:rgba(226,236,255,.72);color:#536797}
.author-theme .artist-tabs a[aria-current]{background:#1747df;color:#fff}
.author-theme .product-card,.author-theme .author-review,.author-theme .panel{border:1px solid #dbe5fb;border-radius:13px;background:rgba(237,243,255,.88);box-shadow:0 5px 16px #1747df0a}
.author-theme .product-image{border:0;border-radius:10px;background:rgba(216,229,255,.82)}
.author-theme .result-count{background:rgba(215,229,255,.9);color:#1747df}
@media(max-width:700px){.author-theme .artist-intro{grid-template-columns:1fr;padding:12px;gap:16px}.author-theme .artist-portrait-wrap{max-width:220px;width:100%;margin:0 auto}.author-theme .artist-name h1{font-size:27px}.author-theme .profile-bio{font-size:12px}.author-theme .artist-meta{gap:7px;flex-wrap:wrap}}
/* Личный кабинет автора в общей визуальной системе сайта. */
.workshop-top{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 20px;padding:18px 20px;border:1px solid #dbe5fb;border-radius:17px;background:rgba(237,243,255,.86);box-shadow:0 5px 18px #1747df0a}
.workshop-top .eyebrow{margin-bottom:7px}
.workshop-top h1{margin:0;font-size:clamp(30px,4vw,46px);line-height:1.05}
.workshop-top .lead{margin-top:8px;font-size:13px}
.workshop-primary{display:flex;align-items:center;gap:8px;flex:none}
.workshop-primary .button{font-size:12px}
.workshop-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 20px}
.workshop-links a{position:relative;display:flex;flex-direction:column;gap:3px;min-width:0;padding:13px 34px 13px 14px;border:1px solid #dbe5fb;border-radius:12px;background:rgba(230,239,255,.82);color:var(--ink);transition:transform .16s ease,box-shadow .16s ease}
.workshop-links a:after{content:"";position:absolute;right:11px;top:13px;width:18px;height:18px;background:url('sea-decor.svg?v=1') center/contain no-repeat;opacity:.9}
.workshop-links a:hover{transform:translateY(-2px);box-shadow:0 7px 16px #1747df12}
.workshop-links a span{font-size:13px;font-weight:800}
.workshop-links a small{color:var(--muted);font-size:10px;line-height:1.35}
.sales-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;background:rgba(226,236,255,.78)}
.sales-panel h2{margin:0 0 5px}
.sales-panel p{margin:4px 0;color:#536797;font-size:12px}
.sales-panel small{font-size:10px;color:var(--muted)}
.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:17px 0 10px}
.stats>div{border:1px solid #dbe5fb;border-radius:12px;background:rgba(230,239,255,.82);padding:14px}
.stats span{font-size:10px;color:var(--muted)}
.stats strong{font-size:25px;color:var(--ink)}
.workshop-links a,.sales-panel,.stats>div,.panel{backdrop-filter:blur(5px)}
.stock-row{align-items:flex-start}
.stock-form input{background:rgba(255,255,255,.62)}
.table-wrap{border:1px solid #dbe5fb;border-radius:12px;background:rgba(237,243,255,.8)}
.table-wrap th{background:rgba(222,234,255,.88)}
@media(max-width:900px){.workshop-top{align-items:flex-start;flex-direction:column}.workshop-primary{flex-wrap:wrap}.workshop-links{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.workshop-top{padding:14px}.workshop-top h1{font-size:32px}.workshop-primary{width:100%}.workshop-primary .button{flex:1;font-size:10px;padding:9px 8px}.workshop-links{gap:7px}.workshop-links a{padding:11px 27px 11px 10px}.workshop-links a span{font-size:11px}.workshop-links a small{font-size:9px}.stats>div{padding:11px}.stats strong{font-size:21px}.stock-row{display:block}.stock-form{display:grid;grid-template-columns:1fr 1.5fr;gap:8px;margin-top:10px}.stock-form button{grid-column:1/-1;width:100%}.actions{flex-wrap:wrap}}

/* Белая подложка для фирменной иллюстрации и мини-грибов. */
.catalog-mascot{padding:12px;border:1px solid #e7ecf7;border-radius:22px;background:#fff;box-shadow:0 8px 22px #13266b12;filter:none}
.eyebrow:before,.shortcut-mushroom,h1:after,h2:after,.workshop-links a:after{background-color:#fff;border-radius:50%;box-shadow:0 2px 7px #13266b12}
.profile-cover{background-color:#e8edff;background-image:radial-gradient(circle,#fff 0 50%,transparent 51%),url('mascot.png');background-position:95% center,95% center;background-size:232px 232px,220px auto;background-repeat:no-repeat}
@media(max-width:700px){
  .catalog-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,34%);align-items:center;gap:10px;min-height:0;padding:8px 0 18px;overflow:visible}
  .catalog-heading>div{max-width:none;min-width:0}
  .catalog-heading h1{font-size:clamp(36px,10.6vw,58px);line-height:.98;letter-spacing:-2.5px}
  .catalog-heading .lead{max-width:none;font-size:12px;line-height:1.45}
  .catalog-mascot{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;margin:0;padding:8px;border-radius:18px}
  .profile-cover{background-size:192px 192px,180px auto}
}
@media(max-width:380px){
  .catalog-heading{grid-template-columns:minmax(0,1fr) 102px;gap:8px}
  .catalog-heading h1{font-size:34px;letter-spacing:-2.3px}
  .catalog-heading .lead{font-size:11px}
  .catalog-mascot{padding:6px;border-radius:15px}
}

/* Карточки каталога: одинаковая высота и общая линия цен и действий. */
.product-card{display:flex;height:100%;min-width:0;flex-direction:column}
.product-media{flex:none}
.product-copy{display:flex;min-width:0;flex:1;flex-direction:column}
.product-copy .card-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-copy .product-name{display:-webkit-box;min-height:2.8em;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.product-copy .card-bottom{min-height:36px;margin-top:auto;padding-top:8px}
.authors-grid{align-items:stretch}
.authors-grid .author-card{display:flex;height:100%;min-width:0;flex-direction:column}
.authors-grid .author-card-cover{display:block;flex:none}
.authors-grid .author-card-body{display:flex;min-width:0;flex:1;flex-direction:column}
.authors-grid .author-card h2{display:-webkit-box;min-height:2.4em;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.authors-grid .author-card p{min-height:2.9em}
.authors-grid .sales-badges{min-height:32px;align-content:flex-start;gap:5px;margin:7px 0}
.authors-grid .card-bottom{margin-top:auto}

/* Главный блок — единая белая плашка для текста и маскота. */
.catalog-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,36%);gap:clamp(14px,3vw,32px);align-items:center;min-height:240px;padding:clamp(18px,3vw,34px);overflow:visible;border:1px solid #dfe6f5;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px #13266b0d}
.catalog-heading>div{max-width:none;min-width:0}
.catalog-heading .lead{max-width:470px}
.catalog-mascot{width:100%;max-width:350px;height:clamp(180px,22vw,260px);justify-self:end;object-fit:contain}
@media(max-width:700px){
  .catalog-heading{grid-template-columns:minmax(0,1fr) minmax(112px,34%);gap:10px;min-height:0;padding:14px;border-radius:18px}
  .catalog-heading>div{max-width:none;min-width:0}
  .catalog-mascot{width:100%;height:auto;max-height:none;aspect-ratio:1/1;justify-self:stretch;margin:0;padding:7px;border-radius:15px}
  .catalog-cta{display:inline-flex;align-items:center;gap:7px}
  .catalog-cta span,.category-shortcuts .shortcut-arrow,.product-arrow{display:grid;width:24px;height:24px;flex:none;place-items:center;line-height:1}
  .catalog-cta span{font-size:15px}
}
@media(max-width:380px){.catalog-heading{grid-template-columns:minmax(0,1fr) 102px;gap:8px;padding:12px}.catalog-mascot{padding:6px}}

/* Одинаковая геометрия стрелок на больших экранах. */
.catalog-cta{display:inline-flex;align-items:center;gap:8px}
.catalog-cta span,.category-shortcuts .shortcut-arrow,.product-arrow{display:inline-grid;width:28px;height:28px;flex:none;place-items:center;line-height:1;vertical-align:middle}

/* Easier paths for shoppers and authors. */
header>nav{min-width:0}
.workshop-nav-link{color:var(--blue);font-weight:800}
.account-menu summary{display:flex;width:auto;min-width:40px;min-height:39px;align-items:center;justify-content:center;gap:7px;padding:0 10px;border-radius:9px;font-size:15px}
.account-menu .menu-label{font-size:11px;font-weight:800;white-space:nowrap}
.header-actions{flex:none}
.catalog-filters{backdrop-filter:blur(7px)}
.catalog-filters .filter-grid label{line-height:1.4}
.filter-footer{align-items:center;flex-wrap:wrap}
.product-grid{align-items:stretch}
.product-title-row{display:flex;align-items:flex-start;gap:10px;min-width:0}
.product-title-row h1{min-width:0;overflow-wrap:anywhere}
.product-title-row .detail-favorite{flex:none;margin:5px 0 0 auto}
.product-info{min-width:0;padding:clamp(16px,2.5vw,30px);border:1px solid #dfe6f5;border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 8px 24px #13266b0a}
.product-info>.eyebrow{flex-wrap:wrap}
.product-info .description{max-width:68ch}
.product-price-block{display:grid;gap:2px;margin:18px 0;padding:14px 16px;border:1px solid #e3eaf8;border-radius:12px;background:rgba(237,243,255,.72)}
.product-price-block .detail-price{margin:0}
.product-price-block small{color:var(--muted)}
.variant-picker{margin-top:22px}
.variant-picker>h2{margin-bottom:4px}
.variant{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.variant-details{min-width:0}
.variant-form{align-items:center}
.variant-form input{flex:none;width:78px;max-width:78px}
.variant-form select{min-width:130px}
.variant-form button{flex:none}
.delivery-explainer{display:flex;align-items:flex-start;gap:12px;margin-top:20px;padding:15px;border:1px solid #d8e4fa;border-radius:13px;background:rgba(226,236,255,.76)}
.delivery-explainer .shortcut-mushroom{width:34px;height:34px;padding:4px;border-radius:50%;background-color:#fff;box-shadow:0 2px 8px #13266b12}
.delivery-explainer p{margin:4px 0 0;color:var(--muted);font-size:13px}
.cart-layout{align-items:start;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:22px}
.cart-groups{min-width:0}
.cart-author-group{margin:0 0 16px;padding:clamp(14px,2vw,22px);background:rgba(255,255,255,.9)}
.cart-author-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.cart-author-identity{display:flex;min-width:0;align-items:center;gap:11px}
.cart-author-identity img{flex:none;width:44px;height:44px;border:1px solid #dfe6f5;border-radius:50%;object-fit:cover;background:#fff}
.cart-author-identity h2{margin:1px 0 0;overflow-wrap:anywhere}
.cart-author-total{display:grid;flex:none;text-align:right}
.cart-author-total strong{font-size:18px}
.cart-row{align-items:center;gap:16px;padding:16px 0}
.cart-item-copy{min-width:0;flex:1}
.cart-item-copy h3{margin:3px 0;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.cart-item-copy p{margin:4px 0}
.cart-item-actions{display:grid;flex:none;justify-items:end;gap:6px}
.cart-item-actions form{margin:0}
.cart-author-footer{display:grid;gap:8px;padding-top:14px;border-top:1px solid var(--line)}
.cart-author-footer>p{margin:0;color:var(--muted);font-size:13px}
.cart-author-footer>.button{justify-self:start}
.cart-author-footer>small{color:var(--muted)}
.cart-summary{position:sticky;top:18px}
.cart-summary .eyebrow{margin:0 0 8px}
.cart-summary details{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.cart-summary details a,.cart-summary details small{display:block;margin-top:9px}
.cart-empty .shortcut-mushroom{width:52px;height:52px;margin:0 auto 12px}
.checkout-panel{max-width:720px}
.checkout-panel .checkout-hint{font-size:14px;line-height:1.55}
.checkout-panel .delivery-notice{margin:14px 0 20px}
.checkout-panel .standard-form>p{margin:0 0 16px}
.checkout-panel .standard-form>button{width:100%;margin-top:8px}
.workshop-top{background:rgba(255,255,255,.9)}
.workshop-primary{flex-wrap:wrap;justify-content:flex-end}
.workshop-primary .button{min-height:42px}
.workshop-links{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.workshop-link-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;padding:14px;border:1px solid #dbe5fb;border-radius:14px;background:rgba(237,243,255,.78)}
.workshop-link-group h2{grid-column:1/-1;margin:0 0 3px;font-size:16px}
.workshop-link-group>a{height:100%;background:rgba(255,255,255,.76)}
.workshop-link-group>a:first-of-type:last-of-type{grid-column:1/-1}
.sales-panel .eyebrow{margin:0 0 6px}
.seller-overview{margin:12px 0 26px;padding:14px 16px;border:1px solid #dbe5fb;border-radius:14px;background:rgba(255,255,255,.7)}
.seller-overview .stats{margin:0 0 8px}
.seller-overview>.muted{margin:0}
.seller-products-heading{margin:26px 0 12px}
.seller-products-heading .button{flex:none}
.seller-product-panel{background:rgba(255,255,255,.9)}
.stock-row{gap:22px}
.stock-description{min-width:0;flex:1}
.stock-form{flex:none}
.seller-stock-history{margin-top:28px}
.seller-stock-history>h2{margin-bottom:12px}
@media(max-width:1000px){
  .cart-layout{grid-template-columns:minmax(0,1fr) minmax(240px,290px);gap:16px}
  .workshop-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workshop-primary{justify-content:flex-start}
}
@media(max-width:700px){
  header{align-items:center}
  .account-menu summary{min-width:38px;padding:0 8px}
  .account-menu .menu-label{font-size:10px}
  .header-search{min-width:0}
  .catalog-filters .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-filters .search-row button{flex:none}
  .cart-layout{grid-template-columns:minmax(0,1fr)}
  .cart-summary{position:static}
  .cart-author-group{padding:14px}
  .cart-row{align-items:flex-start}
  .cart-item-actions{min-width:72px}
  .cart-author-footer>.button{width:100%}
  .product-info{padding:16px;border-radius:15px}
  .detail-image{position:relative;top:auto;min-height:280px}
  .product-title-row{gap:6px}
  .product-info .title-small{font-size:clamp(26px,8vw,34px)}
  .variant{gap:8px}
  .variant-form{display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px}
  .variant-form input{width:74px;max-width:74px}
  .variant-form select{min-width:0;width:100%}
  .variant-form button{grid-column:1/-1;width:100%}
  .workshop-links{grid-template-columns:minmax(0,1fr)}
  .workshop-link-group{grid-template-columns:repeat(2,minmax(0,1fr));padding:11px}
  .workshop-link-group>a{padding:11px 28px 11px 10px}
  .workshop-link-group>a span{font-size:11px}
  .workshop-link-group>a small{font-size:9px}
  .seller-overview{padding:10px}
  .seller-products-heading{align-items:flex-start}
  .seller-products-heading .button{font-size:10px;padding:9px 10px}
  .stock-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .stock-form{width:100%;max-width:none}
}
@media(max-width:380px){
  .cart-author-heading{align-items:flex-start}
  .cart-author-total strong{font-size:15px}
  .workshop-link-group{grid-template-columns:minmax(0,1fr)}
  .workshop-link-group h2{grid-column:1}
  .workshop-link-group>a:first-of-type:last-of-type{grid-column:1}
}
.authors-grid .card-bottom .button{display:inline-flex;align-items:center;justify-content:center;line-height:1.2;white-space:nowrap}
@media(max-width:700px){.catalog-cta{gap:7px}.catalog-cta span,.category-shortcuts .shortcut-arrow,.product-arrow{width:24px;height:24px}.catalog-cta span{font-size:15px}}
/* Tiny UI decorations: bubbles and sparkles instead of mushroom stamps. */
.shortcut-mushroom {
  display: block;
  flex: none;
  width: 29px;
  height: 29px;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image:
    radial-gradient(circle at 6px 19px, transparent 2.3px, #1747df 2.8px 3.8px, transparent 4.3px),
    radial-gradient(circle at 15px 10px, transparent 3.3px, #1747df 3.8px 4.8px, transparent 5.3px),
    radial-gradient(circle at 24px 19px, transparent 1.3px, #1747df 1.8px 2.8px, transparent 3.3px);
  background-repeat: no-repeat;
  box-shadow: none !important;
}
.eyebrow:before,
h1:after,
h2:after,
.artist-tabs a:before,
.footer-nav a:before,
.workshop-links a:after {
  content: "✦" !important;
  display: inline-grid;
  place-items: center;
  color: #3157ef;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: Arial, sans-serif;
  line-height: 1;
}
.eyebrow:before { width: 16px; height: 16px; font-size: 13px; }
h1:after, h2:after { width: .52em; height: .52em; font-size: .65em; }
.artist-tabs a:before, .footer-nav a:before { width: 12px; height: 12px; font-size: 11px; }
.workshop-links a:after { width: 18px; height: 18px; font-size: 15px; }

/* Ясные подписи действий вместо декоративных стрелок. */
.product-open-link{display:inline-flex;min-height:32px;align-items:center;justify-content:center;padding:5px 9px;border:1px solid #d8e2fa;border-radius:8px;background:#fff;color:var(--blue);font-size:10px;font-weight:800;line-height:1.2;text-decoration:none;white-space:nowrap}
.product-open-link:hover{border-color:var(--blue);background:#f5f7ff;color:#0011c9}
.catalog-cta{gap:0}
@media(max-width:700px){.product-open-link{min-height:30px;padding:5px 7px;font-size:9px}}
