/*
Theme Name: Notebook Merkezi
Description: Магазин компьютерной техники с поддержкой WooCommerce и TranslatePress.
Version: 1.0.0
Requires PHP: 8.3
Text Domain: notebook-merkezi
*/
:root{--ink:#14243b;--muted:#53637a;--blue:#125ce5;--line:#dde4ed;--paper:#f4f7fb;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f79820;outline-offset:4px}button,input,select,textarea{font:inherit}img{max-width:100%;height:auto}.wrap{width:min(1240px,calc(100% - 40px));margin:auto}.skip-link{position:absolute;left:20px;top:-100px;background:white;padding:12px;z-index:100}.skip-link:focus{top:10px}.topbar{background:#13253d;color:#fff;font-size:14px}.topbar .wrap{display:flex;justify-content:space-between;gap:16px;padding-block:9px}.topbar a{color:white}.header{background:white;border-bottom:1px solid var(--line)}.header-main{display:flex;align-items:center;gap:32px;padding-block:27px}.brand{color:var(--ink);font-size:23px;font-weight:850;line-height:1.1;letter-spacing:-.8px}.brand span{display:block;color:var(--blue);font-size:14px;letter-spacing:3px;margin-top:6px}form.search{display:flex;flex:1;border:1px solid var(--line);border-radius:10px;background:var(--paper);overflow:hidden}form.search input{min-width:0;width:100%;border:0;background:transparent;padding:13px 16px}form.search button,.button,button[type=submit],.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border:0;border-radius:8px;background:var(--blue);color:#fff;padding:12px 20px;font-weight:650;cursor:pointer;display:inline-block;line-height:1.4}form.search button{border-radius:0}.header-actions{display:flex;gap:20px;align-items:center}.header-actions a{color:var(--ink)}.nav{display:flex;gap:28px;padding-block:14px;border-top:1px solid var(--line);flex-wrap:wrap}.nav a{color:var(--ink);font-size:15px;font-weight:600}.nav a:first-child{color:var(--blue)}main{min-height:55vh;padding-block:32px 60px}.hero{background:#122643;color:white;padding:clamp(24px,5vw,60px);border-radius:var(--radius);position:relative;overflow:hidden}.hero:after{content:'';position:absolute;width:330px;height:330px;border:65px solid #1d3b62;border-radius:50%;right:-130px;top:-60px;pointer-events:none}.hero>*{position:relative;z-index:1}.eyebrow{font-size:14px;letter-spacing:2px;text-transform:uppercase;color:#b6d0ff}.hero h1{font-size:clamp(30px,4.5vw,58px);max-width:780px;letter-spacing:-1.8px;line-height:1.1;margin:18px 0}.hero p{max-width:590px;color:#cedbf0;margin-bottom:28px}.hero .button{background:white;color:var(--ink)}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:34px 0 20px}.section-head h2{font-size:28px;letter-spacing:-.6px;margin:0}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category{background:white;border:1px solid var(--line);padding:25px;border-radius:12px;color:var(--ink);font-weight:700;min-height:115px;display:flex;align-items:end}.category:hover{border-color:var(--blue)}.empty{border:1px solid var(--line);background:white;padding:40px;border-radius:var(--radius)}.empty p{color:var(--muted);margin-bottom:0}.content-panel{padding:clamp(20px,4vw,40px);background:white;border:1px solid var(--line);border-radius:var(--radius)}h1,h2,h3{line-height:1.2}.footer{background:#12243d;color:#d2dced;padding:36px 0}.footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer strong{color:white}.footer a{color:white}.footer p{margin:6px 0;font-size:14px}.woocommerce ul.products li.product{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.woocommerce ul.products li.product .price{color:var(--ink);font-size:21px;font-weight:750}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;line-height:1.4;color:var(--ink)}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain}.woocommerce div.product,.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{background:white;padding:24px;border-radius:16px}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{padding:12px;border:1px solid #8896aa;border-radius:6px;max-width:100%}.woocommerce .quantity .qty{padding:10px}.woocommerce .woocommerce-breadcrumb{font-size:14px}.woocommerce span.onsale{background:var(--blue)}.woocommerce table.shop_table{background:white}.woocommerce-message,.woocommerce-info{border-top-color:var(--blue)}.trp-language-switcher{max-width:170px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:800px){.header-main{flex-wrap:wrap;gap:20px}form.search{order:3;flex-basis:100%}.header-actions{margin-left:auto}.categories{grid-template-columns:repeat(2,1fr)}.nav{gap:18px}.hero:after{opacity:.5}.topbar .wrap{flex-wrap:wrap}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:48%}.woocommerce div.product{padding:16px}}
@media(max-width:420px){.wrap{width:calc(100% - 24px)}.header-actions{gap:12px;font-size:14px}.brand{font-size:20px}.categories{grid-template-columns:1fr}.hero h1{letter-spacing:-1px}.empty{padding:24px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:100%;float:none}.section-head h2{font-size:24px}}
/* Storefront layout, shared by Russian and Turkmen. */
:root{--ink:#162c37;--muted:#61717a;--blue:#087e83;--paper:#f5f7f7;--line:#dce5e5}
.header-main{padding-block:24px}.brand span{color:var(--blue)}.topbar{background:#183c40}.nav a:first-child{background:#e9f3f2;padding:6px 15px;border-radius:6px}.nav{align-items:center;padding-block:10px}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:35px;align-items:center;background:#153c40;padding:48px;min-height:400px}.hero:after{display:none}.hero h1{font-size:clamp(32px,4vw,52px);letter-spacing:-1.5px;max-width:620px}.hero p{color:#c1d7d7;max-width:480px}.hero .button{background:#d5f385;color:#173d34;padding:15px 24px}.hero .button span{margin-left:24px}.eyebrow{font-size:11px;letter-spacing:1.8px;color:#b7d7ce;font-weight:700}.eyebrow.dark{color:#5d7c7b;display:block;margin-bottom:9px}.hero-visual{min-width:0}.hero-product-image{background:white;border-radius:22px;padding:20px;transform:rotate(-4deg);max-width:380px;margin:0 auto 28px}.hero-product-image img{width:100%;height:230px;object-fit:contain;display:block}.hero-caption{display:flex;justify-content:space-between;font-size:13px;color:#d1e4df;max-width:370px;margin:auto}.device-art{padding:32px 15px;transform:rotate(-8deg);max-width:420px;margin:auto}.device-screen{height:220px;background:linear-gradient(135deg,#276168,#0d252d 65%,#b6d078);border:8px solid #96abab;border-radius:14px;display:grid;place-items:center;box-shadow:0 20px 45px #092327}.device-screen span{font-size:66px;letter-spacing:-5px;color:#d6edbc;font-weight:800}.device-base{height:12px;background:#b8cbcc;margin:0 -22px;border-radius:0 0 50% 50%}.section-head{margin-top:46px}.section-head h2{font-size:28px}.section-head a{font-size:14px;white-space:nowrap}.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.category{position:relative;padding:20px;display:flex;align-items:flex-start;flex-direction:column;gap:16px;min-height:140px;transition:background .15s,border-color .15s}.category svg{color:var(--blue)}.category:hover{background:#edf5f3;text-decoration:none}.category-arrow{position:absolute;right:18px;top:16px;color:#708985;font-weight:400}.category>span:not(.category-arrow){font-size:15px;line-height:1.4}.help-band{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:32px 36px;margin-top:48px;background:#e7efed;border-radius:16px}.help-band h2{margin:0 0 10px;font-size:25px}.help-band p{margin:0;max-width:660px;color:var(--muted)}.help-band .button{white-space:nowrap}.nm-preview-banner{background:#fff5d7;border:1px solid #e1c98b;color:#5d4919;padding:12px 18px;margin-bottom:24px;border-radius:8px;font-size:14px}.nm-preview-banner a{margin-left:12px;text-decoration:underline}.catalog-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px}.catalog-sidebar{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;align-self:start}.catalog-sidebar summary{font-weight:750;cursor:pointer}.catalog-sidebar nav{display:grid;margin-top:12px;gap:4px}.catalog-sidebar nav a{font-size:14px;color:var(--ink);padding:7px 8px;border-radius:6px}.catalog-sidebar nav a:hover,.catalog-sidebar nav a[aria-current]{background:#e9f3f2;color:var(--blue)}.stock-filter{border-top:1px solid var(--line);margin-top:20px;padding-top:20px;display:grid;gap:14px;font-size:14px}.stock-filter input{accent-color:var(--blue)}.catalog-results{min-width:0}.woocommerce-products-header h1{font-size:34px;margin-top:0;letter-spacing:-1px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.woocommerce .home-products ul.products,.home-products ul.products.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto!important;margin:0!important;padding:18px;display:flex;flex-direction:column;min-width:0}.woocommerce ul.products li.product .woocommerce-loop-product__link{display:flex;flex:1;flex-direction:column}.woocommerce ul.products li.product a img{height:180px;object-fit:contain;margin-bottom:20px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.5;font-weight:650;padding:0;margin-bottom:12px;overflow-wrap:anywhere}.woocommerce ul.products li.product .price{font-size:22px;line-height:1.4;margin-top:auto;padding-top:12px;margin-bottom:0}.woocommerce ul.products li.product .button{width:100%;text-align:center;margin-top:15px;background:#e9f3f2;color:#126065;border:1px solid #d6e7e4;padding:11px 8px;font-size:14px}.woocommerce ul.products li.product .button:hover{background:var(--blue);color:white}.nm-stock{font-size:12px;color:#787878;display:block;margin-bottom:8px}.nm-stock.available{color:#247350}.nm-stock.available:before{content:'●';font-size:8px;margin-right:6px}.woocommerce .woocommerce-result-count{font-size:14px;color:var(--muted)}.woocommerce .woocommerce-ordering select{font-size:13px;padding:9px;background:white;border-color:var(--line)}.woocommerce div.product{padding:32px}.woocommerce div.product .product_title{font-size:clamp(24px,3vw,34px);line-height:1.25;letter-spacing:-.6px}.woocommerce div.product p.price{color:var(--ink);font-size:32px;font-weight:750}.nm-part-number{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.nm-part-number span{color:var(--ink);font-family:monospace}.woocommerce-product-details__short-description{color:var(--muted);font-size:15px;line-height:1.8}.woocommerce div.product div.images img{max-height:480px;object-fit:contain}.woocommerce div.product div.images .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.woocommerce div.product div.images .flex-control-thumbs li{width:calc(25% - 6px);border:1px solid var(--line);border-radius:8px;overflow:hidden}.woocommerce div.product div.images .flex-control-thumbs img{height:85px;object-fit:contain}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#eef4f2;border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:white}.woocommerce div.product .woocommerce-tabs .panel{line-height:1.8}.woocommerce table.shop_attributes th{width:35%;font-size:14px;text-align:left;padding:12px}.woocommerce table.shop_attributes td{padding:8px 14px;font-style:normal;font-size:14px;overflow-wrap:anywhere}.woocommerce div.product .related.products{clear:both;padding-top:30px}.footer{background:#153c40}.footer a{color:#d9eeee}.woocommerce-store-notice.demo_store{background:#153c40;font-size:12px;padding:8px 16px}.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--blue)}
@media(max-width:1000px){.hero{padding:32px;gap:25px}.hero-product-image img{height:200px}.catalog-layout{grid-template-columns:200px minmax(0,1fr);gap:20px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.home-products ul.products.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}.header-main{gap:20px}.help-band{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.hero{grid-template-columns:1fr;padding:28px;gap:32px}.hero h1{font-size:38px;max-width:470px}.hero-visual{max-width:320px;width:100%;margin:auto}.hero-product-image img{height:170px}.device-screen{height:155px}.device-art{max-width:270px;padding:10px}.hero-caption{margin-top:22px}.categories{grid-template-columns:repeat(2,minmax(0,1fr))}.category{min-height:130px;padding:17px}.catalog-layout{grid-template-columns:1fr}.catalog-sidebar{padding:15px}.catalog-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-filter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px}.section-head h2{font-size:25px}.section-head{align-items:end}.section-head a{white-space:normal;text-align:right;max-width:90px}.help-band{padding:25px}.woocommerce div.product{padding:18px}.woocommerce ul.products{gap:12px}.woocommerce ul.products li.product a img{height:145px}.woocommerce ul.products li.product{padding:12px}.woocommerce ul.products li.product .price{font-size:19px}.header-actions{font-size:13px}.nav{gap:12px;font-size:13px}.nav a{font-size:13px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;display:block}.woocommerce .woocommerce-ordering select{width:100%}.woocommerce table.shop_attributes th{width:40%}}
@media(prefers-reduced-motion:reduce){.category{transition:none}}
/* Language selection stays in the header; avoid a duplicate floating control. */
.trp-floating-switcher{display:none!important}

/* Catalog navigation and uncropped product imagery. */
.woocommerce ul.products li.product a img{width:100%;height:200px;aspect-ratio:auto;object-fit:contain;object-position:center;background:#fff}
.woocommerce ul.products li.product .price bdi{white-space:nowrap}
.woocommerce-Price-currencySymbol{font-size:.72em;font-weight:500}
.catalog-sidebar nav{display:block}.catalog-sidebar nav>a,.nm-category-node>a{display:block}
.nm-category-branch{margin:3px 0}.catalog-sidebar .nm-category-branch>summary{font-size:14px;font-weight:600;padding:9px 8px;border-radius:6px;cursor:pointer}
.nm-category-branch[open]>summary{background:#e9f3f2;color:var(--blue)}
.nm-category-children{margin:4px 0 10px 10px;padding-left:9px;border-left:1px solid var(--line)}
.catalog-sidebar .nm-category-children a{font-size:13px;line-height:1.4;padding:8px}
.nm-subcategories{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin:20px 0 28px}
.nm-subcategories a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;background:white;border:1px solid var(--line);border-radius:9px;color:var(--ink);font-size:14px;font-weight:600}
.nm-subcategories a:hover{background:#e9f3f2;border-color:var(--blue);text-decoration:none}.nm-subcategories span{color:var(--blue)}
.stock-filter label{display:block}.stock-filter select{display:block;width:100%;margin-top:8px;padding:8px;border:1px solid var(--line);border-radius:6px;background:white}
@media(max-width:700px){.woocommerce ul.products li.product a img{height:160px}.catalog-sidebar nav{display:block}.stock-filter label{flex:1 1 180px}.nm-subcategories{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Local category illustrations stay available in the portable Denwer copy. */
.categories .category{min-height:225px;gap:14px;justify-content:flex-end}
.categories .category-image{display:block;width:100%;height:150px;object-fit:contain;object-position:center;margin:0 auto;mix-blend-mode:multiply}
.categories .category>span:not(.category-arrow){min-height:42px;display:flex;align-items:center}
@media(max-width:700px){.categories .category{min-height:195px;padding:14px;gap:10px}.categories .category-image{height:120px}.categories .category>span:not(.category-arrow){font-size:14px}}
