/*
Theme Name:  Merch Moto
Template:    kadence
Description: Child theme for the motorcycle merch store. Dark streetwear look. Placeholder branding until real assets arrive.
Version:     0.7.5
Text Domain: merch-moto
*/

:root {
	--mm-bg: #0e0e0e;
	--mm-surface: #181818;
	--mm-text: #f2f2f2;
	--mm-muted: #9a9a9a;
	--mm-accent: #e63b2e;      /* swap for brand colour */
	--mm-accent-ink: #ffffff;
	--mm-hazard: #ffd400;      /* hazard yellow, like the subtitles in the Instagram videos */
	--mm-hazard-ink: #0e0e0e;
	--mm-radius: 2px;
}

body { background: var(--mm-bg); color: var(--mm-text); }
a { color: var(--mm-text); }
a:hover { color: var(--mm-accent); }

h1, h2, h3, .site-title, .product_title, .woocommerce-loop-product__title {
	font-family: "Anton", "Oswald", Impact, sans-serif;
	text-transform: uppercase;
	letter-spacing: .02em;
}

/* Header / footer */
#masthead, .site-header-row-container-inner, #colophon, .site-footer-row-container-inner {
	background: #000 !important; color: var(--mm-text);
}

/* Announcement bar */
.mm-announce {
	background: var(--mm-hazard); color: var(--mm-hazard-ink);
	text-align: center; font-weight: 700; font-size: .85rem;
	letter-spacing: .08em; text-transform: uppercase; padding: .5rem 1rem;
}

/* Buttons */
.button, button.button, .wp-element-button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit {
	background: var(--mm-accent) !important; color: var(--mm-accent-ink) !important;
	border-radius: var(--mm-radius) !important; text-transform: uppercase; font-weight: 700;
	letter-spacing: .05em; border: 0;
}
.button:hover, .wp-block-button__link:hover { filter: brightness(1.1); }

/* Product grid */
.woocommerce ul.products li.product, .wc-block-grid__product {
	background: var(--mm-surface); padding: 0 0 1rem; text-align: center;
}
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--mm-text); }
.woocommerce span.onsale { background: var(--mm-hazard); color: var(--mm-hazard-ink); border-radius: var(--mm-radius); }

/* Forms on dark */
input, select, textarea { background: var(--mm-surface); color: var(--mm-text); border-color: #333; }

/* Order bump (merch-upsells) */
.merch-order-bump {
	border: 2px dashed var(--mm-accent); background: var(--mm-surface);
	padding: 1rem; margin: 1rem 0;
}
.merch-order-bump label { display: flex; gap: .5rem; align-items: center; cursor: pointer; color: var(--mm-accent); }
.merch-order-bump__body { display: flex; gap: 1rem; align-items: center; margin-top: .75rem; }
.merch-order-bump__body img { width: 64px; height: auto; }
.merch-order-bump__title { font-weight: 700; }
.merch-order-bump__price ins { text-decoration: none; font-weight: 700; }
.merch-order-bump__badge {
	display: inline-block; margin-left: .5rem; font-size: .75rem;
	background: var(--mm-accent); color: var(--mm-accent-ink); padding: 0 .4rem;
}

/* Free shipping progress (merch-upsells) */
.merch-freeship { margin: 0 0 1.25rem; }
.merch-freeship p { margin: 0 0 .4rem; }
.merch-freeship__bar { height: 6px; background: #333; }
.merch-freeship__bar span { display: block; height: 100%; background: var(--mm-hazard); transition: width .3s; }

/* Brand touches from the Instagram (v0.2) */
.mm-hl { color: var(--mm-hazard); }
h2.wp-block-heading { color: var(--mm-text); }
h2.wp-block-heading::after {
	content: ""; display: block; width: 64px; height: 5px; margin: .4rem auto 0;
	background: repeating-linear-gradient(-45deg, var(--mm-hazard) 0 8px, #000 8px 16px);
}
.mm-sub { color: var(--mm-muted); }
.woocommerce-products-header__title, .term-description { color: var(--mm-hazard); }
.mm-ig { background: var(--mm-hazard); color: var(--mm-hazard-ink); padding: 3rem 1rem; margin-top: 3rem; }
.mm-ig h2.wp-block-heading { color: var(--mm-hazard-ink); }
.mm-ig h2.wp-block-heading::after { background: var(--mm-hazard-ink); }
.mm-ig .wp-block-button__link { background: #000 !important; }
.mm-404 { text-align: center; padding: 5rem 1rem; }
.mm-404 h1 { font-size: clamp(3rem, 10vw, 7rem); color: var(--mm-hazard); }

/* ===== v0.5 pro-shop upgrades ===== */
/* hover: swap to the flat design */
.woocommerce ul.products li.product{position:relative}
.woocommerce ul.products li.product img.mm-hover-img{position:absolute;top:0;left:0;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff!important;padding:8%!important;border-radius:6px;opacity:0;transition:opacity .25s;pointer-events:none}
.woocommerce ul.products li.product:hover img.mm-hover-img{opacity:1}
.woocommerce ul.products li.product a img{padding:0!important;background:#ececea!important}
/* trust row + accordions */
.mm-trust{list-style:none;margin:1.2rem 0;padding:1rem 1.1rem;border:1px solid #2a2a2a;border-radius:8px;background:#141414}
.mm-trust li{margin:.25rem 0;font-size:.95rem;color:#e6e6e6}
.mm-trust li span{display:inline-block;width:1.6em}
.mm-acc details{border-top:1px solid #2a2a2a;padding:.8rem 0}
.mm-acc details:last-child{border-bottom:1px solid #2a2a2a}
.mm-acc summary{cursor:pointer;font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.9rem;list-style:none;display:flex;justify-content:space-between}
.mm-acc summary::after{content:"+";color:var(--mm-hazard,#ffd400);font-size:1.2rem}
.mm-acc details[open] summary::after{content:"–"}
.mm-acc p{margin:.6rem 0 0;color:#bbb;font-size:.95rem}
.mm-acc a{color:var(--mm-hazard,#ffd400)}
/* size buttons */
.mm-sizes{display:flex;flex-wrap:wrap;gap:.5rem}
.mm-sizes button{min-width:3.2rem;padding:.65rem .9rem;background:#141414;color:#f2f2f2;border:2px solid #3a3a3a;border-radius:6px;font-weight:700;cursor:pointer}
.mm-sizes button:hover{border-color:#f2f2f2}
.mm-sizes button.on{background:var(--mm-hazard,#ffd400);color:#0e0e0e;border-color:var(--mm-hazard,#ffd400)}
.single-product table.variations th.label{vertical-align:top;padding-top:.7rem}
/* sticky buy bar on phones */
.mm-sticky{position:fixed;left:0;right:0;bottom:0;z-index:999;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#0e0e0e;border-top:3px solid var(--mm-hazard,#ffd400);transform:translateY(110%);transition:transform .25s}
.mm-sticky.show{transform:none}
.mm-sticky strong{display:block;font-size:.85rem;color:#fff}
.mm-sticky span{font-size:.85rem;color:var(--mm-hazard,#ffd400)}
.mm-sticky button{background:#e63b2e;color:#fff;border:0;border-radius:6px;padding:.75rem 1.4rem;font-weight:800;text-transform:uppercase}
/* shop-by-type tiles on the home page */
.mm-types{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0 auto 3rem}
.mm-types a{position:relative;display:block;border-radius:10px;overflow:hidden;background:#ececea;aspect-ratio:1/1}
.mm-types img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.mm-types a:hover img{transform:scale(1.05)}
.mm-types span{position:absolute;left:12px;bottom:12px;background:#0e0e0e;color:#fff;padding:.45em .9em;font-weight:800;text-transform:uppercase;letter-spacing:.05em;border-radius:4px}
.mm-types a:hover span{background:var(--mm-hazard,#ffd400);color:#0e0e0e}
@media (max-width:760px){.mm-types{grid-template-columns:repeat(2,1fr);gap:10px}}

/* ===== v0.6 Morose-style layout (2026-11-16) ===== */
.mm-tag,.mm-lead,.mm-mini,.mm-num p,.mm-info p,.mm-sub,.mm-btn{font-family:"Space Mono",ui-monospace,monospace}
/* split hero */
.mm-split{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;max-width:1240px!important;margin:0 auto 4rem!important;padding:64px 24px 24px!important}
.mm-tag{color:var(--mm-hazard,#ffd400);font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .8rem}
.mm-split h1{font-size:clamp(2.6rem,5.4vw,4.8rem);line-height:.95;margin:0 0 1.2rem;text-transform:uppercase}
.mm-lead{color:#bbb;font-size:1rem;line-height:1.7;max-width:34em;margin:0 0 1.8rem}
.mm-btns{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:1.6rem}
.mm-btn{display:inline-block;padding:.95em 1.8em;font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.9rem;text-decoration:none!important;border-radius:2px;transition:transform .15s,background .15s}
.mm-btn-red{background:#e63b2e;color:#fff!important;box-shadow:0 4px 0 #8f1d15}
.mm-btn-red:hover{transform:translateY(-2px);background:#f24a3c}
.mm-btn-ghost{border:2px solid #f2f2f2;color:#f2f2f2!important}
.mm-btn-ghost:hover{background:var(--mm-hazard,#ffd400);border-color:var(--mm-hazard,#ffd400);color:#0e0e0e!important}
.mm-mini{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.78rem;color:#9a9a9a;text-transform:uppercase;letter-spacing:.05em}
.mm-mini li::before{content:"■ ";color:var(--mm-hazard,#ffd400)}
.mm-split-img{position:relative;padding:0 0 60px 60px}
.mm-split-img img{display:block;width:100%;border-radius:10px}
.mm-big img{box-shadow:0 30px 60px rgba(0,0,0,.5)}
.mm-inset{position:absolute;left:0;bottom:0;width:38%;transform:rotate(-6deg);transition:transform .2s}
.mm-inset2{position:absolute;right:-18px;top:-22px;width:26%;transform:rotate(7deg);transition:transform .2s}
.mm-inset img,.mm-inset2 img{border:4px solid #0e0e0e;box-shadow:0 14px 30px rgba(0,0,0,.6)}
.mm-inset:hover{transform:rotate(-2deg) scale(1.04)}.mm-inset2:hover{transform:rotate(2deg) scale(1.04)}
/* numbered "why" */
.mm-why{max-width:1240px!important;margin:4rem auto!important;text-align:center}
.mm-why-grid{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:36px;align-items:center;margin-top:2.4rem;text-align:left}
.mm-num{display:flex;gap:16px;align-items:flex-start;margin:0 0 2rem}
.mm-num b{font-family:Anton,Impact,sans-serif;font-size:3.6rem;line-height:.85;color:#2e2e2e;-webkit-text-stroke:1px #555;min-width:1.6em}
.mm-num:hover b{color:var(--mm-hazard,#ffd400);-webkit-text-stroke:0}
.mm-num h4{margin:0 0 .3rem;font-size:1rem;text-transform:uppercase;letter-spacing:.04em;color:#fff}
.mm-num p{margin:0;color:#9a9a9a;font-size:.82rem;line-height:1.6}
.mm-why-collage{display:grid;grid-template-columns:1fr 1fr;gap:12px;position:relative}
.mm-why-collage img{width:100%;border-radius:8px;box-shadow:0 12px 26px rgba(0,0,0,.5)}
.mm-why-collage .c1{transform:rotate(-2deg)}.mm-why-collage .c2{transform:translateY(24px) rotate(3deg)}
.mm-why-collage .c3{transform:translateY(-10px) rotate(2deg)}.mm-why-collage .c4{transform:translateY(14px) rotate(-3deg)}
.mm-why-collage::before,.mm-why-collage::after{content:"";position:absolute;width:3px;height:70px;background:#e63b2e}
.mm-why-collage::before{left:-14px;top:10px}.mm-why-collage::after{right:-14px;bottom:10px}
/* info strip */
.mm-info{display:grid;grid-template-columns:repeat(3,1fr);gap:0;max-width:1000px!important;margin:3rem auto 4rem!important;background:#181818;border:1px solid #2a2a2a;border-radius:10px;overflow:hidden}
.mm-info>div{padding:28px 24px;text-align:center;border-right:1px solid #2a2a2a}
.mm-info>div:last-child{border-right:0}
.mm-ico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;background:#f2f2f2;border-radius:8px;font-size:1.6rem;margin-bottom:.8rem}
.mm-info h4{margin:0 0 .4rem;text-transform:uppercase;letter-spacing:.05em;color:#fff}
.mm-info p{margin:0;color:#9a9a9a;font-size:.8rem;line-height:1.6}
.mm-info a{color:var(--mm-hazard,#ffd400)}
/* product cards: bigger, always-visible full-width button */
.woocommerce ul.products li.product .product-details{text-align:center}
.woocommerce ul.products li.product .product-action-wrap{opacity:1!important;transform:none!important;position:static!important;visibility:visible!important;margin-top:.6rem}
.woocommerce ul.products li.product .product-action-wrap .button{display:block!important;width:100%;background:#f2f2f2!important;color:#0e0e0e!important;border-radius:2px!important;font-family:"Space Mono",monospace;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:.75em 1em!important}
.woocommerce ul.products li.product .product-action-wrap .button:hover{background:var(--mm-hazard,#ffd400)!important}
.woocommerce ul.products li.product a img{border-radius:8px}
/* product page button fix */
.single-product .single_add_to_cart_button{line-height:1.2!important;height:auto!important;padding:.9em 2.2em!important}
/* footer, 4 columns */
.mm-foot{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;text-align:left;max-width:1200px;margin:0 auto;padding:40px 0 24px}
.mm-foot .mm-logo{font-family:Anton,Impact,sans-serif;font-size:1.8rem;color:#fff;text-transform:uppercase;margin:0 0 .6rem}
.mm-foot p{font-family:"Space Mono",monospace;font-size:.78rem;line-height:1.7;color:#9a9a9a;margin:0}
.mm-foot h5{margin:0 0 .8rem;color:var(--mm-hazard,#ffd400);text-transform:uppercase;letter-spacing:.08em;font-size:.85rem}
.mm-foot ul{list-style:none;margin:0;padding:0}
.mm-foot li{margin:0 0 .45rem}
.mm-foot a{margin:0!important;font-family:"Space Mono",monospace;font-size:.8rem;text-transform:uppercase}
.mm-copy{border-top:1px solid #2a2a2a;padding-top:16px;font-family:"Space Mono",monospace;font-size:.72rem;color:#777;text-align:center}
.site-footer .footer-html{width:100%}
.site-footer .footer-html-inner{width:100%}
@media (max-width:900px){
 .mm-split{grid-template-columns:1fr;gap:28px;padding-top:32px!important}
 .mm-split-img{padding:0 0 40px 30px}
 .mm-why-grid{grid-template-columns:1fr}
 .mm-why-collage{order:-1;margin-bottom:1.6rem}
 .mm-info{grid-template-columns:1fr}.mm-info>div{border-right:0;border-bottom:1px solid #2a2a2a}
 .mm-foot{grid-template-columns:1fr 1fr}
}

/* ===== v0.7 phone + desktop fixes (2026-11-16) ===== */
/* sort dropdown: one arrow, not five */
.woocommerce-ordering select,.orderby{background-repeat:no-repeat!important;background-position:right 10px center!important;padding-right:32px!important;background-color:#141414!important;color:#f2f2f2!important;border:1px solid #333!important;border-radius:6px}
/* coupon + cart buttons never spill out */
.woocommerce .coupon .button,.woocommerce .actions .button{white-space:nowrap;font-size:.8rem!important;padding:.7em 1.1em!important;line-height:1.2!important}
/* hide SKU/category line on product pages (clutter) */
.single-product .product_meta{display:none}
@media (max-width:767px){
 /* two products per row everywhere */
 .woocommerce ul.products,.woocommerce ul.products[class*=grid-ss-col]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}
 .woocommerce ul.products li.product{width:auto!important;margin:0!important}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.82rem!important;line-height:1.25;min-height:2.5em}
 .woocommerce ul.products li.product .price{font-size:.85rem!important}
 .woocommerce ul.products li.product .product-action-wrap .button{font-size:.66rem!important;padding:.75em .4em!important;letter-spacing:.02em}
 .woocommerce ul.products li.product img.mm-hover-img{display:none}
 /* compact page title bars (Shop, Cart, Checkout) */
 .entry-hero .entry-header{min-height:0!important;padding:1.1rem 0!important}
 .entry-hero h1{font-size:1.7rem!important;margin:0}
 /* product page */
 .single-product .woocommerce-breadcrumb{display:none}
 .single-product .content-container{padding-left:12px!important;padding-right:12px!important}
 .single-product div.product .woocommerce-product-gallery{margin-bottom:1rem}
 .single-product .product_title{font-size:1.9rem!important;margin-top:.2rem}
 .single-product form.cart{display:flex;flex-wrap:wrap;gap:10px}
 .single-product form.cart .single_variation_wrap,.single-product form.cart table.variations{width:100%}
 .single-product .woocommerce-variation-add-to-cart{display:flex;gap:10px;width:100%}
 .single-product .single_add_to_cart_button{flex:1}
 .mm-sizes button{flex:1 0 18%;padding:.8rem .2rem}
 .single-product table.variations th.label{display:block;padding:0 0 .4rem}
 .single-product table.variations td{display:block;padding:0}
 body.single-product{padding-bottom:70px}
 /* home */
 .mm-split{padding:24px 16px 8px!important;margin-bottom:2rem!important}
 .mm-split h1{font-size:2.5rem}
 .mm-lead{font-size:.92rem}
 .mm-btns .mm-btn{flex:1;text-align:center;padding:.95em .6em}
 .mm-split-img{padding:0 10px 36px 26px;max-width:420px;margin:0 auto}
 .mm-types{padding:0 16px}
 .mm-why{margin:2.5rem auto!important;padding:0 16px}
 .mm-why-collage{max-width:340px;margin:0 auto 1.6rem}
 .mm-num{margin-bottom:1.3rem}
 .mm-num b{font-size:2.6rem}
 .mm-info{margin:2rem 16px 3rem!important}
 /* footer */
 .mm-foot{gap:22px;padding:28px 4px 18px}
 .mm-foot>div:first-child{grid-column:1/-1}
 /* cart */
 .woocommerce-cart table.cart img{width:64px!important}
 .woocommerce .coupon{display:flex;gap:8px;width:100%}
 .woocommerce .coupon .input-text{flex:1;min-width:0}
 .woocommerce-cart .actions .button[name=update_cart]{width:100%;margin-top:8px}
}
@media (min-width:768px){ .mm-sticky{display:none!important} }

/* v0.7.1 keep home sections inside the screen */
.mm-split,.mm-why,.mm-info,.mm-types,.mm-why-grid{box-sizing:border-box}
.mm-split,.mm-why,.mm-types{width:100%}
@media (max-width:767px){.mm-info{width:auto}}

.home article.entry,.home .entry.single-entry{margin-left:0!important;margin-right:0!important}

/* v0.7.3 */
@media (max-width:767px){.single-product .kadence-breadcrumbs,.single-product .product-title.product-above,.single-product nav.woocommerce-breadcrumb{display:none!important}
.woocommerce ul.products li.product .product-action-wrap{display:block!important;width:100%!important}
.woocommerce ul.products li.product .product-action-wrap .button{width:100%!important;white-space:nowrap}}

/* v0.7.4 phone cards: buttons as wide as the picture */
@media (max-width:767px){.woocommerce ul.products li.product .product-details{padding:10px 0 0!important}
.woocommerce ul.products li.product .product-action-wrap{padding:0!important;margin-top:.5rem}}

/* v0.7.5 phone menu readable + stock text */
#mobile-drawer .drawer-inner,.popup-drawer .drawer-inner{background:#0e0e0e!important}
.mobile-navigation ul li>a,.mobile-navigation ul li .drawer-nav-drop-wrap>a,#mobile-drawer a{color:#f2f2f2!important;font-family:Anton,Impact,sans-serif;font-size:1.35rem!important;text-transform:uppercase;letter-spacing:.03em;padding-top:.9em!important;padding-bottom:.9em!important}
.mobile-navigation ul li.current-menu-item>a,#mobile-drawer a:hover{color:var(--mm-hazard,#ffd400)!important}
.mobile-navigation ul li{border-bottom:1px solid #2a2a2a!important}
#mobile-drawer .drawer-toggle,#mobile-drawer .menu-toggle-close{color:#f2f2f2!important}
.single-product .stock{color:var(--mm-hazard,#ffd400)!important;font-size:.85rem;font-weight:700}
