/*
Theme Name: Payload Audio
Description: Custom storefront for Payload Audio with native WooCommerce shopping and checkout.
Version: 0.2.0
Author: Payload Audio
Text Domain: payload-audio
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
:root{--ink:#111315;--surface:#1a1d20;--line:#34383d;--muted:#b8bdc3;--paper:#f5f5f2;--orange:#baff68;--accent:#5ce1e6;--radius:8px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ink);color:var(--paper);font-family:Arial,Helvetica,sans-serif;font-size:1rem;line-height:1.6}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button,a.button,.pa-button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.03}h1{font-size:clamp(3.1rem,7.3vw,7.6rem);letter-spacing:-.065em;font-weight:900}h2{font-size:clamp(2rem,4vw,4rem);letter-spacing:-.05em}h3{font-size:1.45rem;letter-spacing:-.03em}.wrap{width:min(1280px,calc(100% - 64px));margin:auto}.skip-link{position:absolute;top:-100px;left:20px;background:var(--accent);color:#111;padding:12px;z-index:100}.skip-link:focus{top:10px}.masthead{border-bottom:1px solid var(--line);background:var(--ink)}.header-row{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{font-weight:900;font-size:1.65rem;letter-spacing:-.065em;line-height:.9;display:flex;align-items:center;gap:12px}.brand small{font-size:.8rem;letter-spacing:.36em;display:block;margin-top:6px}.brand .custom-logo{width:auto;max-width:190px;max-height:65px}.brand-mark{width:15px;height:40px;background:var(--orange);transform:skew(-12deg)}.nav{display:flex;align-items:center;gap:30px;font-weight:700;font-size:.95rem}.nav a:hover,.footer a:hover{color:var(--orange)}.cart-link{border:1px solid var(--line);padding:10px 16px;border-radius:30px}.cart-link span{color:var(--accent)}.mobile-nav{display:none}.hero{padding:66px 0 80px;display:grid;grid-template-columns:1.07fr 1fr;align-items:center;gap:45px}.eyebrow{font-size:.85rem;letter-spacing:.15em;font-weight:700;text-transform:uppercase;color:var(--accent);margin-bottom:22px}.hero h1{margin-bottom:25px}.hero h1 em{font-style:normal;color:var(--orange)}.intro{font-size:1.15rem;line-height:1.65;color:var(--muted);max-width:440px;margin-bottom:34px}.actions{display:flex;flex-wrap:wrap;gap:12px}.pa-button{display:inline-block;padding:15px 24px;border:1px solid var(--orange);background:var(--orange);color:#111315;font-weight:800;border-radius:4px;min-height:54px}.pa-button:hover{background:#ccff96}.pa-button.secondary{background:transparent;color:var(--paper);border-color:#666}.pa-button.secondary:hover{border-color:var(--paper)}.hero-visual{position:relative;margin:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.hero-visual img{width:100%;aspect-ratio:1/1;object-fit:cover}.hero-visual figcaption{font-size:.875rem;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;background:var(--surface)}.hero-visual figcaption span{color:var(--muted)}.stripe{background:var(--orange);color:var(--ink);padding:18px 0;font-size:.9rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.stripe .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.section{padding:84px 0}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:34px}.section-heading h2{margin-bottom:0;max-width:680px}.section-heading a{white-space:nowrap;border-bottom:1px solid var(--orange);padding-bottom:6px;font-weight:700}.categories{display:grid;grid-template-columns:1fr 1fr;gap:20px}.category{padding:38px;min-height:240px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);display:flex;flex-direction:column;align-items:flex-start}.category.orange{background:var(--orange);color:var(--ink);border-color:var(--orange)}.category .eyebrow{color:inherit;opacity:.8;margin-bottom:26px}.category h3{font-size:2.3rem;margin-bottom:14px}.category p{max-width:380px;margin-bottom:24px}.category a{font-weight:800;border-bottom:1px solid currentColor;padding-bottom:5px;margin-top:auto}.parts-section{background:#202427;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.product-card{background:var(--ink);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#eee}.product-card .copy{padding:28px}.product-card .price{font-weight:900;font-size:1.4rem;color:var(--accent)}.product-card h3{margin-bottom:14px}.product-card p{color:var(--muted)}.product-card a{font-weight:700;border-bottom:1px solid var(--orange)}.about{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}.about p{font-size:1.15rem;color:var(--muted);max-width:500px}.about h2{margin-bottom:0}.footer{border-top:1px solid var(--line);padding:50px 0 25px}.footer-row{display:flex;justify-content:space-between;gap:30px;align-items:start}.footer-nav{display:flex;gap:30px;flex-wrap:wrap;font-size:.9rem}.copyright{margin-top:40px;color:var(--muted);font-size:.8rem}.content-page{padding:60px 0 90px;min-height:60vh}.content-page>h1{font-size:clamp(2.5rem,5vw,4.5rem)}.entry-content{max-width:900px}.entry-content a{text-decoration:underline}.entry-content p{margin-bottom:1.4em}.empty-collection{padding:28px;border:1px solid var(--line);border-radius:8px;color:var(--muted)}
/* Keep native WooCommerce layout and payment-extension hooks intact. */
.woocommerce{color:var(--paper)}.woocommerce .woocommerce-breadcrumb,.woocommerce .woocommerce-result-count{color:var(--muted)}.woocommerce .woocommerce-breadcrumb a{color:var(--paper)}.woocommerce ul.products li.product{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:18px;overflow:hidden}.woocommerce ul.products li.product a img{border-radius:4px;aspect-ratio:1/1;object-fit:cover}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.4rem;line-height:1.2;margin:10px 0}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--accent);font-weight:800}.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{background:var(--orange);color:var(--ink);border-radius:4px;padding:15px 22px;line-height:1.25}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover{background:#ccff96;color:var(--ink)}.woocommerce div.product .product_title{font-size:clamp(2rem,4vw,4rem);line-height:1.08}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--surface);border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--muted)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--ink);color:var(--paper)}.woocommerce table.shop_table{border-color:var(--line)}.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--line)}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.woocommerce .quantity .qty,.entry-content input,.entry-content textarea,.entry-content select{background:#fff;color:#151719;border:1px solid #aab0b6;border-radius:4px;padding:12px}.woocommerce .quantity .qty{width:5em}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{background:var(--surface);color:var(--paper)}.woocommerce .woocommerce-message{border-top-color:var(--accent)}.woocommerce .woocommerce-info{border-top-color:var(--orange)}.woocommerce .woocommerce-error{border-top-color:#ff8787}.woocommerce .woocommerce-message::before{color:var(--accent)}.woocommerce .woocommerce-info::before{color:var(--orange)}.woocommerce-checkout #payment{background:var(--surface);border:1px solid var(--line)}.woocommerce-checkout #payment div.payment_box{background:#fff;color:#111}.woocommerce form .form-row label{font-weight:700}.woocommerce .select2-container--default .select2-selection--single{color:#111;background:#fff;height:48px}.woocommerce .select2-selection__rendered{line-height:46px!important}.woocommerce .select2-selection__arrow{height:46px!important}.woocommerce .related.products{margin-top:65px}.woocommerce .col2-set{margin-bottom:30px}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:var(--line)}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;border:1px solid var(--line)}.woocommerce .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line);padding:12px 20px}.woocommerce .woocommerce-MyAccount-navigation .is-active{background:var(--surface);color:var(--accent)}.pa-colors{margin:25px 0}.pa-colors input{width:100%;max-width:420px}.pa-colors label{display:block;font-weight:700;margin-bottom:8px}.pa-colors small{display:block;color:var(--muted);margin-top:7px}.woocommerce .woocommerce-pagination ul.page-numbers{border-color:var(--line)}.woocommerce .woocommerce-pagination ul.page-numbers li{border-color:var(--line)}.woocommerce .woocommerce-pagination .page-numbers.current{background:var(--orange);color:#111}.wc-block-components-button:not(.is-link){background:var(--orange);color:#111;border-radius:4px}.wc-block-components-text-input input,.wc-block-components-combobox .components-combobox-control__input,.wc-block-components-textarea{background:#fff!important;color:#111!important}.wc-block-components-notice-banner{color:#111}
@media(max-width:900px){.wrap{width:calc(100% - 40px)}.header-row{min-height:85px;gap:18px}.nav{gap:16px;font-size:.875rem}.hero{grid-template-columns:1fr;gap:40px;padding:45px 0}.hero h1{max-width:700px}.hero-visual{max-width:650px}.hero-visual img{aspect-ratio:4/3}.section{padding:60px 0}.about{gap:35px}.category{padding:28px}.footer-row{flex-wrap:wrap}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.nav{display:none}.mobile-nav{display:block;padding-bottom:16px}.mobile-nav summary{cursor:pointer;font-weight:700}.mobile-nav nav{display:flex;gap:18px;flex-wrap:wrap;padding-top:15px}.mobile-cart{margin-left:auto}.header-row{min-height:78px}.brand{font-size:1.4rem}.hero h1{font-size:clamp(2.8rem,14vw,4.6rem)}.categories,.product-grid,.about{grid-template-columns:1fr}.hero-visual figcaption{padding:15px;font-size:.8rem}.section-heading{display:block}.section-heading a{display:inline-block;margin-top:24px}.category h3{font-size:2rem}.footer-nav{gap:18px}.stripe .wrap{gap:8px 22px;font-size:.8rem}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:100%!important;margin-right:0!important}.about{gap:25px}.footer-row{gap:35px}}
@media(min-width:601px){.mobile-cart{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Original Payload Audio branding and supplied product photography. */
.masthead{background:#fff;color:#111315;border-bottom:0}.brand-logo{width:clamp(190px,22vw,300px);height:auto;max-height:80px;object-fit:contain}.masthead .brand{display:block}.masthead .cart-link{border-color:#a4aaad}.masthead .nav a:hover{color:#146f75}.hero-visual img{aspect-ratio:4/3;object-fit:cover;object-position:center}.hero-visual{border-color:#42464a}.hero h1{font-size:clamp(3.1rem,6.6vw,6.7rem)}.hero-visual figcaption span{color:#5ce1e6}.footer .brand-logo{width:260px;background:#fff;border-radius:4px;padding:8px}.hero h1 em{color:#baff68}.preview-inputs{padding:20px;color:var(--muted);border:1px solid var(--line);border-radius:8px;margin:35px auto}.preview-inputs strong{color:var(--paper)}@media(max-width:600px){.brand-logo{width:220px}.hero h1{font-size:clamp(2.8rem,14vw,4.6rem)}}

.photos-page{padding:65px 0 90px}.photo-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:40px}.photo-heading h1{font-size:clamp(3rem,7vw,6.5rem);margin-bottom:0}.photo-heading p{color:var(--muted);max-width:350px;font-size:1.1rem;margin-bottom:0}.photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.photo-gallery figure{margin:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}.photo-gallery .wide{grid-column:1/-1}.photo-gallery img{width:100%;height:auto}.photo-gallery figcaption{padding:18px 22px;display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:.9rem}.photo-gallery figcaption strong{color:var(--paper)}.photo-gallery a{display:block}.photo-help{margin-top:24px;font-size:.875rem;color:var(--muted)}.photos-page .wp-block-gallery{gap:24px}.photos-page .wp-block-image img{border-radius:6px}.photos-page .wp-block-gallery .wp-block-image figcaption{font-size:.875rem}@media(max-width:700px){.photo-heading{display:block}.photo-heading p{margin-top:24px;max-width:none}.photo-gallery{grid-template-columns:1fr}.photo-gallery figcaption{flex-wrap:wrap}.photos-page{padding:45px 0 60px}}dialog.photo-lightbox{background:#111315;color:#fff;border:1px solid #444;width:min(1200px,96vw);max-height:95vh;padding:15px;border-radius:8px}dialog.photo-lightbox::backdrop{background:rgba(0,0,0,.85)}dialog.photo-lightbox img{max-height:78vh;width:auto;margin:auto}dialog.photo-lightbox button{display:block;margin:0 0 12px auto;background:#baff68;border:0;padding:10px 18px;color:#111;border-radius:4px}.photo-open{background:transparent;border:0;padding:0;width:100%;cursor:zoom-in}

.case-nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 30px}.case-nav>span{width:100%;font-size:.875rem;color:var(--muted);margin-bottom:4px}.case-nav a{display:inline-block;border:1px solid #606870;border-radius:4px;padding:11px 15px;font-size:.875rem;font-weight:700;background:var(--ink)}.case-nav a:hover,.case-nav a[aria-current="page"]{background:var(--orange);color:#111;border-color:var(--orange)}.case-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 0 40px}.case-tile{background:var(--ink);border:1px solid var(--line);border-radius:8px;padding:22px 18px;display:flex;flex-direction:column;gap:10px;min-height:150px}.case-tile h3{font-size:1.1rem;line-height:1.2;margin:0}.case-tile p{font-size:.875rem;margin:0;color:var(--muted)}.case-tile a{margin-top:auto;font-size:.875rem;font-weight:700;text-decoration:underline;text-underline-offset:4px}.case-note{color:var(--muted);font-size:.875rem;margin-top:12px}@media(max-width:1000px){.case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.case-grid{grid-template-columns:1fr 1fr}.case-nav a{flex:1;text-align:center;min-width:135px}.case-tile{padding:18px 14px}}
