/*
Theme Name: Homecockpit Shop
Description: WooCommerce-Theme im Design von homecockpit-simulation.de mit fünf Shop-Kategorien.
Version: 1.3.0
Author: Homecockpit-Simulation
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: homecockpit-shop
*/
.site-header{position:relative;background:#03090f}.nav-wrap{height:auto;min-height:120px;flex-wrap:wrap;padding:12px 0;gap:16px}.site-header .brand img{width:430px!important;max-height:105px!important}.nav-wrap nav{gap:20px}.header-right{font-size:12px;gap:16px}.hero{height:660px;min-height:580px;max-height:none}.hero-inner{padding-top:0}.hero h1{font-size:clamp(38px,4.5vw,64px)}.hero-copy{max-width:650px}.section-head h2{font-size:32px}.parts .card{padding:0!important;transition:border-color .2s,transform .2s}.parts .card:hover{border-color:var(--orange);transform:translateY(-3px)}.parts .real-shot{height:190px!important;min-height:190px!important;flex-basis:190px!important}.parts .card-body{padding:20px!important}.category-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.category-links a{font-size:12px;padding:8px 14px;border:1px solid var(--line)}.category-links a:hover{color:var(--orange);border-color:var(--orange)}.shop-content{padding-top:50px;padding-bottom:75px;min-height:45vh}.shop-content h1{font-size:clamp(28px,4vw,44px);line-height:1.15}.shop-content h2{font-size:28px;line-height:1.2}.shop-content p{line-height:1.7}.shop-content a:not(.button):not(.woocommerce-LoopProduct-link):not(.btn){color:var(--blue)}.shop-content img{height:auto}.shop-content:after{content:'';display:block;clear:both}.skip-link{position:absolute;left:16px;top:-100px;background:var(--orange);color:#06101a;padding:12px;z-index:99999}.skip-link:focus{top:10px}:focus-visible{outline:3px solid var(--orange);outline-offset:4px}#main-content,#cockpit-kategorien{scroll-margin-top:24px}
/* Native WooCommerce layouts, hooks and payment controls are retained. */
.woocommerce ul.products li.product{background:#0d1b28;border:1px solid var(--line);padding:16px;box-sizing:border-box}.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--ink);font-size:18px}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--orange)}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:#fff}.woocommerce span.onsale{background:var(--orange);color:#06101a}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.wp-element-button,.wp-block-button__link{background:var(--orange);color:#06101a;border-radius:0;line-height:1.4;font-weight:700;padding:13px 20px}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:#f3b967;color:#06101a}.woocommerce .quantity .qty{min-height:46px}.woocommerce .woocommerce-breadcrumb{color:var(--muted)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#0d1b28;border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#06101a;color:var(--ink)}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--ink)}.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}.woocommerce table.shop_table{border-color:var(--line)}.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--line)}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce .woocommerce-error{background:#122738;color:var(--ink)}.woocommerce .woocommerce-info{border-top-color:var(--blue)}.woocommerce .woocommerce-message{border-top-color:var(--orange)}.woocommerce .woocommerce-error{border-top-color:#ff8686}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:var(--line)}.woocommerce #payment{background:#0d1b28}.woocommerce #payment div.payment_box{background:#183043;color:var(--ink)}.woocommerce #payment div.payment_box::before{border-bottom-color:#183043}.woocommerce .cart-collaterals .cart_totals{background:#0d1b28;padding:24px}.woocommerce .woocommerce-customer-details address{border-color:var(--line)}.woocommerce .star-rating{color:var(--orange)}
input,select,textarea{max-width:100%;font:inherit}input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea{background:#fff;color:#142535;border:1px solid #718592;border-radius:2px;padding:10px}label{line-height:1.5}.select2-container .select2-selection--single{min-height:44px;background:#fff;color:#142535}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#142535;line-height:42px}.select2-dropdown{background:#fff;color:#142535}.woocommerce .select2-container{color:#142535}
/* Cart/Checkout Blocks use light form surfaces for legibility and provider compatibility. */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{background:#f7f9fb;color:#152632;padding:28px;border-radius:3px;--wc-form-color-text:#152632;--wc-form-color-background:#fff;--wc-form-border-color:#718592}.shop-content .wp-block-woocommerce-cart a,.shop-content .wp-block-woocommerce-checkout a{color:#245d78!important}.wc-block-components-button:not(.is-link){background:var(--orange);color:#06101a;border-radius:0}.wp-block-woocommerce-cart h2,.wp-block-woocommerce-checkout h2{color:#152632}.footer-grid ul{padding:0;list-style:none}.alignwide{max-width:100%}.wp-caption{max-width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.nav-wrap{justify-content:center}.nav-wrap nav{display:flex}.site-header .brand img{width:350px!important}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.shell{width:calc(100% - 30px)}.nav-wrap{gap:14px;padding:14px 0}.brand{width:100%;display:flex;justify-content:center}.site-header .brand img{width:290px!important;max-height:76px!important}.nav-wrap nav{font-size:11px;gap:20px;justify-content:center;flex-wrap:wrap}.header-right{width:100%;justify-content:center}.header-right .small-cta{display:inline-block;padding:8px 12px}.hero{height:590px;min-height:590px}.hero h1{font-size:44px}.hero-copy>p{font-size:15px}.cards{grid-template-columns:1fr}.section-head h2{font-size:28px}.photo-credit{font-size:8px;left:10px;right:10px}.shop-content{padding-top:30px;padding-bottom:45px}.woocommerce ul.products li.product{padding:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}.woocommerce ul.products li.product .button{padding:10px;font-size:12px}.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{padding:16px}.woocommerce table.shop_table_responsive tr:nth-child(2n) td{background:#0d1b28}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.parts .card{transition:none}}

/* Five shop departments. Systems/software use graphic tiles instead of hardware photos. */
.cards{grid-template-columns:repeat(5,minmax(0,1fr))}
.real-shot.mip{background-size:300% auto;background-position:36% 54%}
.real-shot.systems,.real-shot.software{background-image:linear-gradient(135deg,#17374b,#07131e);display:grid;place-items:center;color:var(--blue);font-size:44px;font-family:monospace;font-weight:bold}
.real-shot.systems::after{content:'I/O';border:2px solid var(--blue);padding:8px 20px}
.real-shot.software::after{content:'</>';color:var(--orange)}
@media(max-width:1100px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cards{grid-template-columns:1fr}}

.hc-subcategories{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:24px 0 36px}.hc-subcategories a{display:block;padding:20px;background:#0d1b28;border:1px solid var(--line);font-weight:bold}.hc-subcategories a:hover{border-color:var(--orange)}.hc-subcategories span{display:block;font-size:11px;color:var(--muted);margin-top:10px;font-weight:normal}
