/*
Theme Name: DCENTER
Description: Лёгкая корпоративная тема DCENTER с поддержкой Gutenberg и WooCommerce.
Version: 0.4.0
Text Domain: dcenter
Requires PHP: 8.3
*/
:root{--ink:#0b1426;--muted:#526079;--blue:#2563eb;--teal:#0d9488;--paper:#f3f6fa;--line:#dce3ee;--white:#fff;--radius:14px;--width:1320px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.6}
*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:#1745ad}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}:focus-visible{outline:3px solid #0d9488;outline-offset:4px}h1,h2,h3{line-height:1.16;letter-spacing:-.035em;color:var(--ink)}h1{font-size:clamp(2rem,3.8vw,3.5rem);max-width:1000px;margin:0 0 24px}h2{font-size:clamp(1.65rem,2.4vw,2.3rem);margin:0 0 22px}h3{font-size:1.2rem;margin:0 0 12px}p{margin:0 0 18px}ul{padding-left:22px}small,.dc-small{font-size:.875rem}.dc-container{width:min(calc(100% - 48px),var(--width));margin-inline:auto}.skip-link{position:absolute;left:16px;top:-100px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}.dc-header{background:var(--white);border-bottom:1px solid var(--line);position:relative;z-index:20}.dc-header-inner{display:flex;align-items:center;gap:22px;min-height:86px}.dc-logo{display:flex;align-items:center;flex-shrink:0}.dc-logo img{display:block;width:118px;height:66px;object-fit:contain}.dc-navigation{margin-left:auto}.dc-navigation ul{display:flex;list-style:none;padding:0;margin:0;gap:22px}.dc-navigation a{color:var(--ink);font-size:.875rem;font-weight:600;text-decoration:none;display:block;padding:28px 0}.dc-navigation .current-menu-item>a{color:var(--blue)}.dc-navigation .menu-item-has-children{position:relative}.dc-navigation .sub-menu{display:none;position:absolute;top:100%;left:-20px;min-width:280px;padding:12px 20px;background:white;border:1px solid var(--line);box-shadow:0 18px 36px #0b14261a;border-radius:0 0 12px 12px}.dc-navigation .sub-menu a{padding:9px 0;white-space:normal}.dc-navigation li:hover>.sub-menu,.dc-navigation li:focus-within>.sub-menu{display:block}.dc-tools{display:flex;align-items:center;gap:14px}.dc-button,.wp-block-button__link,button[type=submit]{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:11px 20px;border:1px solid var(--blue);border-radius:8px;background:var(--blue);color:white;font-weight:600;font-size:.9375rem;text-decoration:none;cursor:pointer}.dc-button:hover,.wp-block-button__link:hover,button[type=submit]:hover{color:white;background:#1745ad}.is-style-outline .wp-block-button__link{color:var(--ink);background:transparent;border:1px solid #acb9cc}.is-style-outline .wp-block-button__link:hover{background:#e5edf8}.dc-menu-button{display:none;border:1px solid var(--line);background:white;padding:8px 12px;border-radius:6px;color:var(--ink);min-height:44px}.dc-search{position:relative}.dc-search summary{cursor:pointer;list-style:none;font-size:.875rem;padding:10px 0}.dc-search summary::-webkit-details-marker{display:none}.dc-search-panel{position:absolute;right:0;top:46px;display:flex;gap:8px;width:360px;background:white;border:1px solid var(--line);padding:16px;box-shadow:0 12px 24px #0b14261a;border-radius:10px}.dc-search-panel input{min-width:0}.dc-main{min-height:55vh}.dc-home> .dc-section,.dc-home> .wp-block-group{padding-block:52px}.dc-home>.dc-hero{padding-block:52px 44px;background:white;border-bottom:1px solid var(--line)}.dc-hero .wp-block-columns{align-items:center;margin-bottom:0;gap:48px}.dc-hero p{color:var(--muted);max-width:710px}.dc-hero .dc-eyebrow{color:var(--teal);font-size:.875rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin-bottom:20px}.dc-hero .wp-block-image img{border-radius:var(--radius);width:100%;min-height:280px;object-fit:cover}.dc-hero .dc-caption{font-size:.875rem;border-left:3px solid var(--teal);padding-left:14px;margin-top:18px}.wp-block-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.dc-home .wp-block-columns{display:flex;gap:20px}.wp-block-column{flex:1;min-width:0}.dc-service-card{height:100%;padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:white}.dc-service-card h3 a{color:var(--ink);text-decoration:none}.dc-service-card h3 a:hover{color:var(--blue)}.dc-service-card p{color:var(--muted);font-size:.9375rem;margin-bottom:0}.dc-service-card .dc-label{font-size:.875rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);margin-bottom:20px}.dc-section-intro{max-width:760px;color:var(--muted);margin-bottom:28px}.dc-home>.dc-dark{background:var(--ink);color:white}.dc-dark h2,.dc-dark h3{color:white}.dc-dark p{color:#c3d0e7}.dc-dark .wp-block-button__link{background:white;color:var(--ink);border-color:white}.dc-dark .dc-step{padding:20px 0 0;border-top:1px solid #45516a}.dc-home>.dc-contact{background:#e9eff8}.dc-contact .wp-block-columns{gap:48px}.dc-contact a{overflow-wrap:anywhere}.dc-page{padding-block:42px 64px}.dc-breadcrumbs{font-size:.875rem;color:var(--muted);margin-bottom:28px;display:flex;gap:8px;flex-wrap:wrap}.dc-page-content{max-width:920px}.dc-page-content h2{margin-top:38px}.dc-page-content h3{margin-top:26px}.dc-page-content p,.dc-page-content li{max-width:820px}.dc-page-header{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:30px}.dc-page-header p{font-size:1.125rem;color:var(--muted);max-width:780px}.dc-lead-form{background:white;border:1px solid var(--line);padding:28px;border-radius:var(--radius);max-width:780px}.dc-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dc-field{display:flex;flex-direction:column;gap:7px;font-size:.875rem;font-weight:600}.dc-field-full{grid-column:1/-1}input:not([type=checkbox],[type=hidden]),textarea,select{width:100%;border:1px solid #aebbd0;border-radius:6px;padding:11px 12px;background:white;color:var(--ink);min-height:46px}textarea{resize:vertical;min-height:124px}.dc-check{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;font-weight:400;margin-block:18px}.dc-check input{flex-shrink:0;width:18px;height:18px;margin-top:3px}.dc-honey{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.dc-form-status{margin:16px 0 0;line-height:1.5}.dc-form-status:empty{display:none}.dc-form-status[data-state=error]{color:#a12020}.dc-form-status[data-state=success]{color:#08665d}.dc-form-note{font-size:.875rem;color:var(--muted);margin-top:14px}.dc-footer{background:var(--ink);color:#bac7de;padding:38px 0}.dc-footer a{color:white}.dc-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:32px}.dc-footer strong{color:white}.dc-footer p{font-size:.875rem}.dc-footer-links{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:.875rem}.dc-footer-bottom{border-top:1px solid #384358;margin-top:28px;padding-top:18px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.875rem}.dc-results{display:grid;gap:16px}.dc-result{background:white;border:1px solid var(--line);border-radius:10px;padding:24px}.dc-result h2{font-size:1.3rem;margin-bottom:10px}.dc-result p{margin-bottom:0;color:var(--muted)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;list-style:none;padding:0}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:20px;border:1px solid var(--line);border-radius:12px;background:white}.woocommerce ul.products li.product img{width:100%;height:220px;object-fit:contain}.woocommerce a.button{display:inline-flex;padding:10px 16px;border-radius:6px;background:var(--blue);color:white;text-decoration:none}.woocommerce-notices-wrapper:empty{display:none}.woocommerce table{border-collapse:collapse;width:100%}.woocommerce td,.woocommerce th{padding:12px;border-bottom:1px solid var(--line);text-align:left}.dc-notice{padding:18px 22px;background:#e6f4f1;border-left:3px solid var(--teal);margin:20px 0}.dc-error-page{padding-block:70px}.dc-editor-note{color:var(--muted)}
@media(min-width:1600px){.dc-container{width:min(calc(100% - 80px),var(--width))}.dc-hero .wp-block-columns{gap:64px}}
@media(max-width:1190px){.dc-header-inner{gap:16px}.dc-menu-button{display:block;margin-left:auto}.dc-navigation{display:none;position:absolute;left:0;right:0;top:100%;padding:16px 24px;background:white;border-bottom:1px solid var(--line);max-height:75vh;overflow:auto}.dc-navigation[data-open=true]{display:block}.dc-navigation ul{display:block}.dc-navigation a{padding:10px 0;font-size:1rem}.dc-navigation .sub-menu{position:static;display:block;box-shadow:none;border:0;border-left:2px solid var(--line);margin-left:8px;padding:0 0 0 16px;min-width:0}.dc-navigation .sub-menu a{font-size:.875rem}.dc-navigation .sub-menu .sub-menu{display:none}.dc-navigation li:hover>.sub-menu{display:block}.dc-tools{gap:18px}.dc-hero .wp-block-columns{gap:28px}.dc-home>.wp-block-group{padding-block:42px}}
@media(max-width:767px){.dc-container{width:calc(100% - 32px)}.dc-header-inner{min-height:72px;gap:12px}.dc-logo img{width:98px;height:55px}.dc-tools>.dc-button{display:none}.dc-search-panel{position:fixed;left:16px;right:16px;top:80px;width:auto}.dc-home .wp-block-columns{display:block}.dc-home .wp-block-column+.wp-block-column{margin-top:18px}.dc-home>.dc-hero{padding-block:32px}.dc-hero h1{font-size:2rem;margin-bottom:18px}.dc-hero .wp-block-column:last-child .wp-block-image{display:none}.dc-hero .dc-caption{margin-top:22px}.dc-home>.wp-block-group{padding-block:34px}.dc-service-card{padding:22px}.dc-fields{grid-template-columns:1fr}.dc-field-full{grid-column:auto}.dc-lead-form{padding:20px}.dc-footer-grid{grid-template-columns:1fr;gap:24px}.dc-footer{padding-block:30px}.dc-footer-bottom{display:block}.dc-footer-bottom span{display:block;margin-top:8px}.dc-page{padding-block:28px 42px}.dc-page-header h1{font-size:2rem}.woocommerce ul.products{grid-template-columns:1fr}.dc-cart-link{font-size:.875rem}.wp-block-buttons{gap:10px}.wp-block-button{flex-grow:1}.wp-block-button__link{width:100%}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dc-hero .wp-block-image img{aspect-ratio:8/5}
h1{font-size:clamp(2rem,3.2vw,3rem)}
@media(min-width:768px) and (max-width:900px){.dc-hero .wp-block-columns{display:grid;grid-template-columns:1.5fr 1fr}.dc-hero .wp-block-image img{min-height:220px}#solutions .wp-block-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
.dc-page-layout{display:grid;grid-template-columns:minmax(0,1fr)300px;grid-template-areas:"content aside";align-items:start;gap:40px}.dc-page-layout>.dc-page-content{grid-area:content;min-width:0;max-width:none}.dc-project-aside{grid-area:aside;position:sticky;top:24px;min-width:0}.dc-project-card{padding:24px;background:white;border:1px solid var(--line);border-top:3px solid var(--teal);border-radius:12px}.dc-aside-kicker{font-size:.875rem;letter-spacing:.04em;text-transform:uppercase;color:var(--teal);font-weight:700;margin-bottom:12px}.dc-project-card h2{font-size:1.3rem;line-height:1.25;margin:0 0 12px}.dc-aside-intro{font-size:.9375rem;color:var(--muted);margin:0 0 18px}.dc-project-card .dc-button{width:100%;margin-bottom:6px}.dc-aside-details{border-bottom:1px solid var(--line);padding:13px 0;font-size:.875rem}.dc-aside-details summary{cursor:pointer;font-weight:600;line-height:1.5}.dc-aside-details ul{margin:12px 0 0;padding-left:18px}.dc-aside-details li+li{margin-top:8px}.dc-aside-related{font-size:.875rem;margin-top:18px}.dc-aside-related p{font-weight:600;margin-bottom:8px}.dc-aside-related ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.dc-aside-related a{overflow-wrap:anywhere}.dc-page-content>.wp-block-heading:first-child{margin-top:0}.dc-page-content .wp-block-heading{scroll-margin-top:24px}.dc-page-content li+li{margin-top:8px}.dc-page-content .wp-block-table{margin:24px 0;overflow-x:auto;background:white;border:1px solid var(--line);border-radius:10px}.dc-page-content table{width:100%;border-collapse:collapse;font-size:.9375rem;line-height:1.5}.dc-page-content th,.dc-page-content td{padding:14px 16px;vertical-align:top;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.dc-page-content th{background:#e8eef8;font-weight:600}.dc-page-content tr:last-child td{border-bottom:0}.dc-page-content>.wp-block-details{padding:18px 20px;margin-block:12px;border:1px solid var(--line);border-radius:10px;background:white}.dc-page-content>.wp-block-details summary{font-weight:600;cursor:pointer;line-height:1.45}.dc-page-content>.wp-block-details[open] summary{margin-bottom:12px}.dc-page-content>.wp-block-details p:last-child{margin-bottom:0}.dc-related-pages{padding:20px 24px;border-left:3px solid var(--teal);background:#e8f2f1;border-radius:0 10px 10px 0}.dc-related-pages li+li{margin-top:8px}.dc-page-content .dc-request-note{font-size:.9375rem;color:var(--muted)}
@media(max-width:1023px){.dc-page-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"aside" "content";gap:30px}.dc-project-aside{position:static}.dc-project-card{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.dc-project-card>.dc-aside-kicker,.dc-project-card>h2,.dc-project-card>.dc-aside-intro,.dc-project-card>.dc-button{grid-column:1}.dc-project-card>.dc-aside-details,.dc-project-card>.dc-aside-related{grid-column:2}.dc-project-card>.dc-aside-details:first-of-type{grid-row:1/3;align-self:start}.dc-project-card>.dc-aside-details:nth-of-type(2){grid-row:3/5;align-self:start}.dc-project-card>.dc-aside-related{grid-row:5/7;align-self:start;margin-top:8px}}
@media(max-width:600px){.dc-project-card{display:block}.dc-project-card h2{font-size:1.2rem}.dc-project-card .dc-aside-related{display:none}.dc-aside-intro{margin-bottom:14px}.dc-page-content th,.dc-page-content td{padding:10px;font-size:.875rem}.dc-page-content>.wp-block-details{padding:16px}.dc-page-layout{gap:26px}}
/* 0.4.0: independent store, native Woo catalogue and editorial selections. */
.dc-equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:22px}.dc-equipment-card{display:flex;flex-direction:column;gap:10px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--ink);text-decoration:none;min-width:0}.dc-equipment-card:hover{border-color:var(--blue);box-shadow:0 6px 20px #0b142610}.dc-equipment-card img{width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:8px}.dc-equipment-card h3{font-size:1.05rem;line-height:1.35;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}.dc-equipment-label{font-size:.75rem;color:#366071;font-weight:600}.dc-equipment-price{font-size:.875rem;color:var(--muted)}.dc-equipment-action{font-size:.875rem;color:var(--blue);font-weight:600;margin-top:auto}.dc-article-products{padding-block:26px;margin-block:26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.dc-article-products>p{font-size:.9375rem;color:var(--muted)}.dc-demo-notice{padding:16px 20px;background:#e6f4f2;border:1px solid #99ccc7;border-radius:10px;margin-bottom:26px;color:#174e4a}.dc-demo-product-image img{width:100%;height:auto}.dc-demo-price{font-size:.875rem;color:var(--muted)}.woocommerce ul.products li.product{float:none;width:auto;margin:0;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.1rem;line-height:1.35;letter-spacing:-.02em}.woocommerce div.product .product_title{font-size:clamp(1.75rem,2.4vw,2.5rem)}.woocommerce .products img{aspect-ratio:4/3;object-fit:contain}.woocommerce div.product div.images{max-width:48%}.woocommerce div.product div.summary{overflow-wrap:anywhere}.woocommerce-tabs .panel{max-width:960px}.dc-store-links{display:flex;gap:14px;flex-wrap:wrap;margin:22px 0}
@media(max-width:767px){.dc-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dc-equipment-card{padding:12px}.dc-equipment-card h3{font-size:.9375rem}.woocommerce div.product div.images{max-width:100%}.dc-header .dc-tools>.dc-header-contact{display:inline-flex;font-size:.75rem;padding:8px 10px;min-height:40px;max-width:118px;text-align:center;line-height:1.25}.dc-header-inner{gap:8px}.dc-header .dc-logo img{width:78px;height:48px}.dc-header .dc-tools{gap:10px}.dc-header .dc-search summary{font-size:.75rem}.dc-header .dc-menu-button{font-size:.875rem;padding:7px 8px}}
.post-type-archive-product .dc-page-single>.dc-page-content,.single-product .dc-page-single>.dc-page-content{max-width:none}.post-type-archive-product ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}.post-type-archive-product ul.products li.product .button{font-size:.875rem;padding:9px 12px}@media(max-width:1190px){.post-type-archive-product ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:767px){.post-type-archive-product ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.post-type-archive-product ul.products li.product{padding:12px}.post-type-archive-product ul.products li.product .woocommerce-loop-product__title{font-size:.9375rem}}
