/*
Theme Name: Microsmith Shop
Description: Microsmith Electronics public WooCommerce storefront. Product approval and ordering default to closed.
Version: 0.2.2
Requires at least: 6.8
Requires PHP: 8.1
Author: Microsmith Electronics Ltd
Text Domain: ms-shop
*/
:root{--ink:#0e3441;--muted:#5e7280;--teal:#536f79;--mint:#e9edef;--paper:#f5f7f8;--line:#dce3e7;--radius:10px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:1rem/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}a,button,input,select,textarea{outline-offset:5px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #267c91}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.04em}h1{font-size:clamp(2.5rem,5vw,4.6rem)}h2{font-size:clamp(1.8rem,3vw,2.5rem)}h3{font-size:1.4rem}.shell{width:min(1240px,calc(100% - 80px));margin-inline:auto}.screen-reader-text,.skip-link:not(:focus){clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.skip-link:focus{position:fixed;left:20px;top:20px;padding:15px;background:#fff;z-index:200}.topbar{background:var(--ink);color:#fff;font-size:.875rem}.topbar .shell{display:flex;justify-content:space-between;gap:20px;padding-block:8px}.topbar a{color:#e4ecef;text-decoration:none}.site-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}.admin-bar .site-header{top:32px}.is-stuck{box-shadow:0 5px 18px #142f3c0d}.header-main{display:flex;align-items:center;gap:44px;padding-block:22px}.brand{display:flex;gap:10px;align-items:center;font-size:1.8rem;font-weight:750;line-height:1;text-decoration:none;letter-spacing:-.07em;flex-shrink:0}.brand-mark{background:var(--ink);color:#fff;padding:7px 11px 11px;border-radius:10px;font-size:2.3rem;letter-spacing:-.13em}.brand-mark span,.footer-brand span{color:#85bfb2}.brand-sub{display:block;font-size:.625rem;letter-spacing:.25em;margin-top:8px;font-weight:600}.product-search{display:flex;border:1px solid var(--line);border-radius:7px;background:var(--paper);flex:1;max-width:490px;margin-left:auto}.product-search input{width:100%;border:0;background:none;padding:11px 16px;min-width:0;color:var(--ink)}.product-search button{border:0;background:none;padding:10px 15px;cursor:pointer;color:var(--ink)}.product-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;display:block}.header-actions{display:flex;align-items:center;gap:24px;font-size:.9rem;font-weight:600;white-space:nowrap}.header-actions a{text-decoration:none}.basket span{display:inline-grid;place-items:center;background:#eef2f4;min-width:25px;height:25px;border-radius:50%;margin-left:5px}.nav{display:flex;align-items:center;gap:32px;padding-block:13px;font-size:.875rem;font-weight:600}.nav a{text-decoration:none}.nav a:hover,.text-link:hover{color:var(--teal)}.nav-local{margin-left:auto;font-weight:400;color:var(--muted);font-size:.875rem}.shop-notice{background:#f0f3f5;color:#0e3441;text-align:center;font-size:.875rem;padding:9px 20px}.hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;padding-block:58px 64px;gap:30px}.eyebrow{font-size:.75rem;letter-spacing:.14em;font-weight:700;color:var(--teal);margin-bottom:20px}.eyebrow span{display:inline-block;background:var(--teal);width:6px;height:6px;border-radius:50%;vertical-align:middle;margin-right:7px}.hero h1{line-height:1.05;font-weight:720;margin-bottom:24px}.hero h1>span,.archive-intro h1>span{color:var(--teal)}.hero-lead{font-size:1.125rem;line-height:1.7;color:var(--muted);max-width:465px;margin-bottom:28px}.hero-actions{display:flex;gap:28px;align-items:center}.button,button.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-block;padding:13px 22px;border:1px solid var(--ink);border-radius:6px;background:var(--ink);color:white;font-weight:600;text-decoration:none;cursor:pointer;font-size:.9375rem;line-height:1.5}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--teal);border-color:var(--teal);color:white}.text-link{font-size:.9375rem;font-weight:600}.hero-footnote{font-size:.8125rem;color:var(--muted);margin:25px 0 0}.hero-art{position:relative;background:#e5f0ef;min-height:440px;border-radius:25px 25px 100px 25px;overflow:hidden;isolation:isolate}.hero-art img{position:absolute;z-index:2;width:110%;max-width:none;left:-5%;top:15px}.art-orbit{position:absolute;border:1px solid #b4d2ce;border-radius:50%;z-index:-1}.orbit-one{width:420px;height:420px;right:-90px;top:-125px}.orbit-two{width:570px;height:570px;right:-165px;top:-200px}.art-caption{font-size:.7rem;letter-spacing:.15em;font-weight:700;line-height:1.6;position:absolute;top:26px;left:28px;color:#426b6b}.art-tag{position:absolute;bottom:25px;left:28px;font-size:.9rem;font-weight:650;z-index:3}.art-tag span{display:block;font-size:.75rem;color:var(--muted);font-weight:400}.art-dot{position:absolute;border-radius:50%;background:#b1d6cc}.dot-one{width:18px;height:18px;right:42px;top:100px}.dot-two{width:9px;height:9px;left:25px;bottom:100px}.benefits{border-block:1px solid var(--line);background:#fbfcfc}.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);padding-block:26px;gap:35px}.benefits-grid>div{display:flex;gap:17px;align-items:center}.benefits h2{font-size:.9375rem;letter-spacing:0;margin:0 0 4px}.benefits p{font-size:.8125rem;color:var(--muted);margin:0}.benefit-symbol{font-size:1.9rem;color:var(--teal);line-height:1}.product-section{padding-block:60px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:10px}.empty-stock{border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:30px;padding:35px;background:#fbfcfc}.empty-stock-icon{font-size:3.8rem;letter-spacing:-.12em;color:#536f79;min-width:90px;text-align:center}.empty-stock h3{margin-bottom:10px}.empty-stock p{color:var(--muted);max-width:600px;margin-bottom:14px}.service-banner{background:var(--ink);border-radius:14px;color:white;display:flex;justify-content:space-between;align-items:center;padding:42px 48px;margin-bottom:60px;overflow:hidden}.service-banner .eyebrow{color:#9bd1c1;margin-bottom:16px}.service-banner h2{margin-bottom:18px}.service-banner p:not(.eyebrow){color:#c1d0d4}.button-light{background:#eef2f4;color:var(--ink);border-color:#eef2f4}.service-monogram{font-size:11rem;letter-spacing:-.12em;line-height:1;color:#345360;font-weight:800;margin-right:40px;position:relative}.service-monogram span{font-size:5rem;position:absolute;color:#a3d4c5;right:-40px;top:0}.site-footer{background:#f3f6f7;border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px;padding-block:45px}.footer-brand{font-size:2rem;font-weight:750;letter-spacing:-.06em;text-decoration:none}.footer-grid p{font-size:.9375rem;color:var(--muted);margin-top:15px}.footer-grid h2{font-size:.9375rem;letter-spacing:0;margin:10px 0 20px}.footer-grid>div>a:not(.footer-brand){display:block;font-size:.875rem;margin-block:8px;text-decoration:none;color:var(--muted)}.footer-bottom{border-top:1px solid var(--line);padding-block:20px;font-size:.8125rem;color:var(--muted)}.commerce-main,.page-main{padding-block:45px 65px;min-height:50vh}.archive-intro{background:#f1f4f6;padding:35px;border-radius:12px;margin-bottom:35px}.archive-intro h1{font-size:2.8rem;margin-bottom:15px}.archive-intro p:last-child{margin:0;color:var(--muted)}.woocommerce-breadcrumb{font-size:.875rem;color:var(--muted);margin-bottom:25px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;list-style:none;padding:0;clear:both}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product{width:auto;margin:0;float:none;border:1px solid var(--line);padding:20px;border-radius:10px;position:relative}.woocommerce-loop-product__link{text-decoration:none}.woocommerce ul.products li.product img{width:100%;height:230px;object-fit:contain}.woocommerce-loop-product__title{font-size:1.1rem;line-height:1.4;letter-spacing:-.02em;margin:18px 0 12px}.woocommerce .price{display:block;font-size:1.2rem;font-weight:650;margin-bottom:16px}.woocommerce .price del{font-size:.9rem;color:var(--muted);margin-right:8px}.woocommerce .price ins{text-decoration:none}.woocommerce .onsale{position:absolute;top:12px;left:12px;background:var(--teal);color:white;border-radius:4px;padding:3px 9px;font-size:.8125rem}.woocommerce-result-count{float:left}.woocommerce-ordering{float:right}.woocommerce select,.woocommerce input:not([type=checkbox]):not([type=radio]),.woocommerce textarea{border:1px solid var(--line);padding:10px;border-radius:5px;background:#fff;color:var(--ink);max-width:100%}.woocommerce div.product{position:relative;display:flow-root}.woocommerce div.product div.images{float:left;width:47%}.woocommerce div.product div.summary{float:right;width:47%}.woocommerce div.product .product_title{font-size:2.5rem}.woocommerce-product-details__short-description{color:var(--muted)}.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related{clear:both;padding-top:30px}.woocommerce div.product .quantity{display:inline-block;margin-right:10px}.woocommerce div.product .quantity input{width:70px}.woocommerce .product_meta{font-size:.875rem;margin-top:25px}.woocommerce .product_meta>span{display:block}.woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:20px;padding:0;border-bottom:1px solid var(--line)}.woocommerce-tabs ul.tabs li{padding-block:10px}.woocommerce-tabs .panel{padding-block:15px}.woocommerce-notices-wrapper,.woocommerce-info,.woocommerce-message,.woocommerce-error{clear:both}.woocommerce-info,.woocommerce-message,.woocommerce-error{padding:16px 20px;background:#f1f4f6;border-left:3px solid var(--teal);margin:20px 0;list-style:none}.woocommerce-error{background:#fff0ed;border-color:#a74434}.woocommerce-pagination ul{display:flex;justify-content:center;list-style:none;gap:18px;padding:20px}.woocommerce table{width:100%;border-collapse:collapse}.woocommerce th,.woocommerce td{padding:12px;text-align:left;border-bottom:1px solid var(--line)}.woocommerce .form-row label{display:block}.woocommerce .form-row input.input-text,.woocommerce .form-row textarea{width:100%}.woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:20px;margin-bottom:30px}.woocommerce .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:25px}.woocommerce .cart-collaterals{margin-top:30px}.woocommerce a.remove{font-size:1.4rem;color:#92372b}.woocommerce .shop_table .product-thumbnail img{width:70px}.woocommerce .star-rating{font-size:.875rem}.woocommerce .woocommerce-product-gallery__trigger{display:block;padding:8px}.woocommerce .flex-control-thumbs{display:flex;list-style:none;gap:10px;padding:0}.woocommerce .flex-control-thumbs li{width:20%}.woocommerce .woocommerce-product-gallery__image img{width:100%;object-fit:contain}.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-size:1rem}
@media(max-width:1000px){.shell{width:calc(100% - 48px)}.header-main{gap:25px}.brand{font-size:1.5rem}.header-actions{gap:14px}.hero{gap:22px;padding-block:45px}.hero-art{min-height:380px}.hero-art img{top:40px}.hero h1{font-size:3.2rem}.nav-local{display:none}.benefits-grid{gap:18px}.service-monogram{font-size:8rem}}
@media(max-width:700px){.shell{width:calc(100% - 32px)}.topbar{font-size:.75rem}.topbar .shell>span{max-width:62%}.header-main{flex-wrap:wrap;padding-block:16px;gap:18px}.brand{font-size:1.55rem}.brand-mark{font-size:1.85rem}.header-actions{margin-left:auto;font-size:.8125rem;gap:16px}.product-search{order:3;max-width:none;flex-basis:100%}.product-search input{padding:10px 12px}.nav{gap:24px;font-size:.8125rem;overflow-x:auto;white-space:nowrap;padding-block:12px}.shop-notice{font-size:.8125rem;padding:10px 16px}.site-header{position:relative}.admin-bar .site-header{top:0}.hero{grid-template-columns:1fr;padding-block:35px 30px;gap:30px}.hero h1{font-size:3.1rem}.hero-lead{font-size:1rem;max-width:100%}.hero-art{min-height:340px;max-width:480px;width:100%;justify-self:center;border-bottom-right-radius:65px}.hero-art img{width:100%;left:0;top:0;height:330px;object-fit:contain}.art-caption{top:18px;left:20px;font-size:.625rem}.art-tag{bottom:17px;left:20px;font-size:.8125rem}.art-tag span{font-size:.6875rem}.benefits-grid{grid-template-columns:1fr;padding-block:24px;gap:23px}.benefits-grid>div{gap:20px}.benefit-symbol{width:30px;text-align:center}.product-section{padding-block:35px}.section-heading{align-items:flex-end}.section-heading h2{font-size:1.8rem}.section-heading .text-link{font-size:.8125rem;white-space:nowrap}.empty-stock{padding:23px;gap:18px;align-items:flex-start}.empty-stock-icon{min-width:45px;font-size:2.6rem}.empty-stock h3{font-size:1.2rem}.empty-stock p{font-size:.9375rem}.service-banner{padding:28px;margin-bottom:35px}.service-banner h2{font-size:1.9rem}.service-monogram{display:none}.footer-grid{grid-template-columns:1fr 1fr;padding-block:30px;gap:20px}.footer-grid>div:first-child{grid-column:1/-1}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.woocommerce ul.products li.product{padding:13px}.woocommerce ul.products li.product img{height:150px}.woocommerce-loop-product__title{font-size:.9375rem}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%;float:none}.woocommerce div.product div.summary{margin-top:25px}.woocommerce div.product .product_title{font-size:2rem}.woocommerce .col2-set{grid-template-columns:1fr}.woocommerce-ordering,.woocommerce-result-count{float:none}.archive-intro{padding:25px}.archive-intro h1{font-size:2.1rem}.woocommerce table{font-size:.875rem}.woocommerce th,.woocommerce td{padding:8px}.commerce-main,.page-main{padding-block:30px 45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.stock-source{font-size:.8125rem;color:var(--muted);font-weight:400;margin-block:0 16px}.art-tag{background:#e5f0eff2;border:1px solid #d1e5df;padding:9px 13px;border-radius:7px}

/* Existing Microsmith artwork is used verbatim; navy/white/slate lead the UI. */
.brand{display:block;width:235px;flex-shrink:0;line-height:0}.brand img{display:block;width:100%;height:auto}.footer-brand{display:block;max-width:220px;line-height:0}.footer-brand img{display:block;width:100%;height:auto}.hero-brand{background:#fff;border:1px solid var(--line);border-radius:12px;padding:38px;display:flex;align-items:center;justify-content:center;min-height:400px}.hero-brand img{display:block;width:100%;max-width:440px;height:auto}.empty-stock-logo{width:85px;height:auto;flex-shrink:0}.repair-feature{margin-bottom:60px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.repair-banner{display:block;width:100%;height:auto}.repair-feature-actions{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 30px}.repair-feature-actions p{margin:0;color:var(--muted)}.repair-feature-actions .button{flex-shrink:0}.shop-notice a{color:var(--ink)}
@media(max-width:1000px){.brand{width:200px}.hero-brand{padding:28px;min-height:340px}}
@media(max-width:700px){.brand{width:175px}.hero-brand{min-height:0;padding:30px;max-width:440px;justify-self:center}.hero-brand img{max-width:300px}.empty-stock-logo{width:55px}.repair-feature{margin-bottom:35px}.repair-feature-actions{align-items:flex-start;flex-direction:column;padding:22px}.header-actions{gap:14px}.footer-brand{max-width:190px}}
@media(max-width:370px){.brand{width:155px}.header-actions{gap:9px;font-size:.75rem}}

/* Catalogue launch: clean product photographs on white. */
.woocommerce ul.products li.product img{background:#fff;object-fit:contain}
/* Native Woo column widths must not shrink cards inside this CSS grid. */
.woocommerce ul.products[class*="columns-"] li.product,.woocommerce-page ul.products[class*="columns-"] li.product{width:100%;min-width:0;margin:0;float:none}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-weight:700;font-size:1.25rem}
