/*
Theme Name: Magazin Catalog
Theme URI: https://example.com/
Author: Dmitry Titov
Description: Быстрая адаптивная тема для каталога магазинов, филиалов и торговых центров.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: magazin-catalog
*/

:root{--mc-blue:#005bff;--mc-violet:#8624f5;--mc-ink:#14151a;--mc-muted:#70737d;--mc-bg:#f5f7fa;--mc-card:#fff;--mc-line:#e8ebf0;--mc-green:#10a64a;--mc-radius:22px;--mc-shadow:0 8px 32px rgba(22,35,61,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--mc-bg);color:var(--mc-ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.mc-container{width:min(1320px,calc(100% - 40px));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid var(--mc-line);backdrop-filter:blur(16px)}.mc-header-row{height:78px;display:flex;align-items:center;gap:22px}.custom-logo{display:block;max-width:165px;max-height:48px;width:auto}.site-title{font-size:27px;font-weight:900;letter-spacing:-1px;color:var(--mc-blue)}.site-title span{color:var(--mc-violet)}.mc-catalog-button{display:flex;align-items:center;gap:8px;background:var(--mc-blue);color:#fff;border:0;border-radius:12px;padding:13px 18px;font-weight:750;cursor:pointer}.mc-catalog-button svg{width:19px}.mc-search{flex:1;display:flex;height:48px;padding:3px;border:2px solid var(--mc-blue);border-radius:15px;background:#fff}.mc-search input{flex:1;min-width:0;border:0;outline:0;padding:0 15px;font-size:16px;background:transparent}.mc-search button{width:54px;border:0;border-radius:11px;background:var(--mc-blue);color:#fff;cursor:pointer}.mc-search svg{width:22px}.mc-header-actions{display:flex;gap:10px}.mc-icon-link{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#f2f5fa;color:var(--mc-ink)}.mc-icon-link:hover{background:#e8efff;color:var(--mc-blue)}.mc-icon-link svg{width:22px}.mc-nav{border-top:1px solid #f2f3f6}.mc-nav .menu{display:flex;gap:26px;list-style:none;padding:12px 0;margin:0;overflow:auto;white-space:nowrap;font-weight:650}.mc-nav a:hover{color:var(--mc-blue)}
.mc-hero{padding:34px 0 22px}.mc-hero-box{position:relative;overflow:hidden;min-height:290px;padding:52px;border-radius:30px;background:linear-gradient(125deg,#005bff 0%,#6243f5 52%,#ad2fe8 100%);color:#fff;box-shadow:0 20px 55px rgba(48,64,210,.22)}.mc-hero-box:before,.mc-hero-box:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.12)}.mc-hero-box:before{width:360px;height:360px;right:-80px;top:-180px}.mc-hero-box:after{width:220px;height:220px;right:220px;bottom:-150px}.mc-hero-content{position:relative;z-index:1;max-width:790px}.mc-eyebrow{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-size:13px;font-weight:750}.mc-hero h1{margin:15px 0 10px;font-size:clamp(34px,5vw,62px);line-height:1.02;letter-spacing:-2.5px}.mc-hero p{max-width:650px;margin:0 0 26px;font-size:18px;color:rgba(255,255,255,.88)}.mc-hero-search{display:flex;max-width:680px;height:58px;padding:5px;background:#fff;border-radius:17px;box-shadow:0 8px 25px rgba(21,18,90,.18)}.mc-hero-search input{flex:1;min-width:0;border:0;outline:0;padding:0 16px;font-size:16px}.mc-hero-search button{border:0;border-radius:13px;background:var(--mc-ink);color:#fff;padding:0 24px;font-weight:750;cursor:pointer}
.mc-section{padding:24px 0}.mc-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.mc-section-head h2{margin:0;font-size:30px;letter-spacing:-.8px}.mc-section-head p{margin:4px 0 0;color:var(--mc-muted)}.mc-more{color:var(--mc-blue);font-weight:700}.mc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mc-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.mc-card{position:relative;background:var(--mc-card);border:1px solid transparent;border-radius:var(--mc-radius);padding:20px;box-shadow:0 2px 10px rgba(26,32,44,.035);transition:.2s ease}.mc-card:hover{transform:translateY(-3px);border-color:#cddcff;box-shadow:var(--mc-shadow)}.mc-card-logo{display:grid;place-items:center;width:74px;height:74px;margin-bottom:18px;border:1px solid var(--mc-line);border-radius:19px;background:#fff;overflow:hidden}.mc-card-logo img{width:100%;height:100%;object-fit:contain;padding:8px}.mc-card-logo .mc-letter{font-size:27px;font-weight:900;color:var(--mc-blue)}.mc-card h3{margin:0 0 6px;font-size:18px;line-height:1.25}.mc-card-meta{color:var(--mc-muted);font-size:13px}.mc-card-meta strong{color:var(--mc-green)}.mc-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.mc-tag{padding:5px 9px;border-radius:999px;background:#f1f4f8;color:#5d626d;font-size:12px}.mc-card-arrow{position:absolute;right:18px;top:18px;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#f3f6fb;color:var(--mc-blue)}
.mc-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.mc-category{min-height:118px;padding:17px;border-radius:20px;background:#fff;transition:.2s}.mc-category:hover{background:#eaf1ff;color:var(--mc-blue);transform:translateY(-2px)}.mc-category-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:12px;border-radius:13px;background:linear-gradient(135deg,#e5efff,#eee4ff);font-size:21px}.mc-category strong{display:block;line-height:1.25}.mc-category small{color:var(--mc-muted)}
.mc-city-strip{display:flex;gap:10px;overflow:auto;padding-bottom:5px}.mc-city{flex:0 0 auto;padding:10px 16px;border-radius:13px;background:#fff;border:1px solid var(--mc-line);font-weight:650}.mc-city:hover,.mc-city.is-current{background:var(--mc-blue);border-color:var(--mc-blue);color:#fff}
.mc-breadcrumbs{padding:22px 0 10px;color:var(--mc-muted);font-size:13px}.mc-breadcrumbs a:hover{color:var(--mc-blue)}.mc-page-head{padding:14px 0 24px}.mc-page-head h1{margin:0 0 8px;font-size:clamp(32px,4vw,48px);line-height:1.1;letter-spacing:-1.5px}.mc-page-head p{margin:0;color:var(--mc-muted);font-size:17px}.mc-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;padding-bottom:50px}.mc-sidebar{align-self:start;position:sticky;top:112px;background:#fff;border-radius:20px;padding:18px}.mc-sidebar h3{margin:0 0 13px}.mc-filter-list{display:grid;gap:4px}.mc-filter-list a{padding:9px 11px;border-radius:10px}.mc-filter-list a:hover{background:#eef3ff;color:var(--mc-blue)}.mc-content-card{background:#fff;border-radius:24px;padding:26px}.mc-results-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.mc-results-head strong{font-size:18px}.mc-empty{padding:45px;text-align:center;color:var(--mc-muted)}
.mc-single{padding-bottom:55px}.mc-single-hero{display:grid;grid-template-columns:140px minmax(0,1fr) 270px;gap:26px;align-items:center;padding:28px;background:#fff;border-radius:25px}.mc-single-logo{display:grid;place-items:center;aspect-ratio:1;border:1px solid var(--mc-line);border-radius:24px;overflow:hidden}.mc-single-logo img{width:100%;height:100%;object-fit:contain;padding:12px}.mc-single-title h1{margin:0 0 8px;font-size:38px;line-height:1.1}.mc-single-title p{margin:0;color:var(--mc-muted)}.mc-status{display:inline-flex;align-items:center;gap:7px;margin-top:13px;color:var(--mc-green);font-weight:700}.mc-status:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.mc-contact-box{padding:18px;border-radius:18px;background:#f4f7fc}.mc-contact-box a{display:block;color:var(--mc-blue);font-weight:750}.mc-single-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr);gap:20px;margin-top:20px}.mc-panel{background:#fff;border-radius:22px;padding:26px}.mc-panel h2{margin-top:0}.mc-info-list{display:grid;gap:14px}.mc-info-row{display:grid;grid-template-columns:160px 1fr;gap:15px;padding-bottom:13px;border-bottom:1px solid var(--mc-line)}.mc-info-row:last-child{border:0}.mc-info-row span{color:var(--mc-muted)}.entry-content{font-size:16px}.entry-content h2,.entry-content h3{line-height:1.2}.entry-content a{color:var(--mc-blue)}
.mc-pagination{display:flex;justify-content:center;gap:7px;margin-top:25px}.mc-pagination .page-numbers{display:grid;place-items:center;min-width:40px;height:40px;padding:0 10px;border-radius:11px;background:#f1f4f8}.mc-pagination .current{background:var(--mc-blue);color:#fff}
.site-footer{margin-top:45px;background:#151820;color:#fff}.mc-footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:35px;padding:48px 0}.mc-footer-title{font-size:24px;font-weight:900}.mc-footer-text{color:#aeb4c0;max-width:330px}.mc-footer h3{margin:0 0 14px;font-size:15px}.mc-footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:8px;color:#aeb4c0}.mc-footer-bottom{padding:18px 0;border-top:1px solid rgba(255,255,255,.1);color:#8e95a3;font-size:13px}.mc-mobile-nav{display:none}
@media(max-width:1024px){.mc-grid{grid-template-columns:repeat(3,1fr)}.mc-categories{grid-template-columns:repeat(4,1fr)}.mc-header-actions{display:none}.mc-single-hero{grid-template-columns:110px 1fr}.mc-contact-box{grid-column:1/-1}.mc-layout{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:760px){body{padding-bottom:68px}.mc-container{width:min(100% - 24px,1320px)}.mc-header-row{height:66px;gap:10px}.mc-catalog-button{display:none}.site-title{font-size:22px}.mc-search{height:43px}.mc-search button{width:42px}.mc-nav{display:none}.mc-hero{padding-top:16px}.mc-hero-box{min-height:0;padding:28px 20px;border-radius:23px}.mc-hero h1{font-size:36px;letter-spacing:-1.5px}.mc-hero p{font-size:15px}.mc-hero-search{height:auto;display:grid;background:transparent;box-shadow:none;padding:0;gap:9px}.mc-hero-search input{height:50px;background:#fff;border-radius:13px}.mc-hero-search button{height:48px}.mc-section{padding:18px 0}.mc-section-head h2{font-size:25px}.mc-more{display:none}.mc-grid,.mc-grid--3{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mc-card{padding:14px;border-radius:17px}.mc-card-logo{width:58px;height:58px;border-radius:15px;margin-bottom:13px}.mc-card-arrow{display:none}.mc-card h3{font-size:15px}.mc-categories{grid-template-columns:repeat(2,1fr);gap:9px}.mc-category{min-height:104px}.mc-layout{display:block}.mc-sidebar{position:static;margin-bottom:12px}.mc-content-card{padding:14px;border-radius:18px}.mc-single-hero{grid-template-columns:80px 1fr;gap:15px;padding:17px}.mc-single-title h1{font-size:27px}.mc-single-grid{grid-template-columns:1fr}.mc-panel{padding:19px}.mc-info-row{grid-template-columns:1fr;gap:2px}.mc-footer-grid{grid-template-columns:1fr 1fr;padding:35px 0}.mc-footer-brand{grid-column:1/-1}.mc-mobile-nav{position:fixed;z-index:110;left:8px;right:8px;bottom:8px;display:grid;grid-template-columns:repeat(4,1fr);height:58px;padding:5px;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 8px 30px rgba(12,24,44,.2);backdrop-filter:blur(15px)}.mc-mobile-nav a{display:grid;place-items:center;gap:1px;font-size:10px;color:#656b76}.mc-mobile-nav svg{width:20px;height:20px}.mc-mobile-nav a:hover{color:var(--mc-blue)}}
