/*
Theme Name: LANEs Clothing
Theme URI: https://www.instagram.com/lanes.clothing12/
Author: LANEs Clothing
Description: A street-art inspired, clean and modern WooCommerce theme for LANEs Clothing. Black, white and spray-paint red, with a blackletter display face and hard-edged sticker details.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lanes
*/

:root {
	--black: #000;
	--white: #fff;
	--paper: #f1f0ec;
	--red: #e3101a;
	--grey: #8a8a8a;
	--line: #262626;
	--display: 'Pirata One', 'UnifrakturCook', Georgia, serif;
	--body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--black);
	color: var(--white);
	font: 400 1rem/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
}
/* Gritty print texture over everything */
body::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 999;
	pointer-events: none;
	opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1; margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: .75rem 1rem; z-index: 1000; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn,
.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,
.wc-block-components-button:not(.is-link), .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center;
	padding: .9rem 1.6rem;
	font: 800 1rem/1.1 var(--body);
	text-decoration: none;
	cursor: pointer;
	border: 2px solid #000;
	border-radius: 0;
	background: #fff;
	color: #000;
	box-shadow: 5px 5px 0 var(--red);
	transition: transform .12s, box-shadow .12s, background .12s, color .12s;
}
.btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wp-element-button:hover, .wc-block-components-button:not(.is-link):hover {
	transform: translate(3px, 3px);
	box-shadow: 2px 2px 0 var(--red);
	background: #fff; color: #000;
}
.btn--ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
.btn--ghost:hover { background: #fff; color: #000; box-shadow: none; transform: none; }

/* On the light (paper) surface buttons go black */
.site-main--light .btn,
.section--paper .btn,
.site-main--light .woocommerce a.button, .site-main--light .woocommerce button.button,
.site-main--light .woocommerce input.button, .site-main--light .woocommerce a.button.alt,
.site-main--light .woocommerce button.button.alt, .site-main--light .woocommerce input.button.alt,
.section--paper .woocommerce a.button, .section--paper .woocommerce button.button,
.site-main--light .wc-block-components-button:not(.is-link) {
	background: #000; color: #fff; border-color: #000;
}
.site-main--light .woocommerce a.button:hover, .site-main--light .woocommerce button.button:hover,
.site-main--light .woocommerce input.button:hover, .site-main--light .woocommerce a.button.alt:hover,
.site-main--light .woocommerce button.button.alt:hover, .section--paper .woocommerce a.button:hover,
.site-main--light .wc-block-components-button:not(.is-link):hover {
	background: #000; color: #fff;
}
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .45; cursor: not-allowed; }

.text-link { font-weight: 800; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand img { width: 60px; height: 60px; border-radius: 50%; }
.primary-nav { margin-inline: auto; }
.primary-nav ul, .footer-nav ul { display: flex; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a, .footer-nav a {
	display: inline-block; padding: .25rem 0; font-weight: 800; text-decoration: none;
	background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat;
	transition: background-size .2s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .footer-nav a:hover { background-size: 100% 3px; }
.header-tools { display: flex; align-items: center; gap: .25rem; }
.icon-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.icon-link:hover { color: var(--red); }
.cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
	display: grid; place-items: center; border-radius: 10px;
	background: var(--red); color: #fff; font: 800 .72rem/1 var(--body);
}
.cart-count[data-count="0"] { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before {
	display: block; width: 24px; height: 3px; background: currentColor; position: relative; margin: auto;
}
.nav-toggle .bars::before { content: ''; position: absolute; top: -8px; left: 0; box-shadow: 0 16px 0 currentColor; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; display: grid; align-content: center; min-height: min(88vh, 840px); padding: clamp(3rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); }
.hero-mark { position: relative; display: inline-block; padding: 0 .1em; }
.hero-title {
	position: relative; z-index: 1; margin: 0;
	font-size: clamp(6.5rem, 27vw, 23rem); line-height: .78; letter-spacing: -.01em;
	transform: rotate(-3deg); transform-origin: left bottom;
}
.spray { position: absolute; z-index: 0; left: -3%; bottom: -4%; width: 106%; height: 38%; transform: rotate(-3deg); overflow: visible; }
.hero-clothing { margin: 1.4rem 0 2.25rem .3rem; color: var(--red); font: 800 clamp(1.1rem, 3vw, 1.7rem)/1 var(--body); letter-spacing: .5em; }
.hero-copy { max-width: 36rem; }
.hero-line { font: 400 clamp(1.9rem, 4vw, 2.8rem)/1 var(--display); margin: 0 0 .75rem; }
.hero-copy p { margin: 0 0 1.75rem; font-size: 1.15rem; max-width: 34rem; }
.hero-copy .hero-line { max-width: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }

/* Road lane marking, the one moving thing on the page */
.lane-line {
	position: absolute; left: 0; right: 0; bottom: 2.2rem; height: 8px;
	background: repeating-linear-gradient(90deg, #fff 0 56px, transparent 56px 112px);
	animation: lane 3.2s linear infinite;
}
.lane-line--static { position: static; animation: none; opacity: .9; }
@keyframes lane { to { background-position: 112px 0; } }
@media (prefers-reduced-motion: reduce) { .lane-line { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Red strip ---------- */
.strip { background: var(--red); color: #fff; padding: .8rem 0; overflow: hidden; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 0; list-style: none; margin: 0 auto; padding: 0; font-weight: 800; font-size: 1.05rem; }
.strip li + li::before { content: '/'; margin: 0 1.25rem; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--paper { background: var(--paper); color: #000; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2.8rem, 7vw, 5rem); margin: 0; }
.notice-admin, .empty-drop { border: 2px dashed currentColor; padding: 1.5rem; font-weight: 600; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.story-grid h2 { font-size: clamp(3rem, 8vw, 6rem); margin: 0; transform: rotate(-2deg); }
.story-grid p { font-size: 1.2rem; max-width: 36rem; margin: .5rem 0 0; }

.insta-band { background: #fff; color: #000; padding: clamp(3rem, 7vw, 5.5rem) 0; text-align: center; }
.insta-kicker { margin: 0 0 .5rem; font-weight: 800; font-size: 1.1rem; }
.insta-handle {
	display: inline-block; font: 400 clamp(2.4rem, 9vw, 6.5rem)/1 var(--display); text-decoration: none; word-break: break-word;
	background: linear-gradient(var(--red), var(--red)) 0 90% / 100% .28em no-repeat; padding: 0 .1em;
}
.insta-handle:hover { color: var(--red); background-size: 100% 0; }

/* ---------- Footer ---------- */
.site-footer { background: #000; padding-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-brand img { border-radius: 50%; margin-bottom: 1rem; }
.footer-brand p { max-width: 20rem; margin: 0; color: #cfcfcf; }
.footer-nav ul { flex-direction: column; gap: .6rem; }
.footer-heading { font: 400 1.7rem/1 var(--display); margin: 0 0 1rem; }
.footer-insta { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; text-decoration: none; }
.footer-insta:hover { color: var(--red); }
.footer-base { border-top: 1px solid var(--line); padding: 1.25rem 0 2rem; color: var(--grey); font-size: .9rem; }
.footer-base p { margin: 0; }

/* ---------- Inner pages (paper surface) ---------- */
.site-main--light { background: var(--paper); color: #000; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3.5rem, 8vw, 6rem); min-height: 60vh; }
.site-main--light .wrap.prose { max-width: 46rem; }
.page-title, .woocommerce-products-header__title { font-size: clamp(3rem, 8vw, 5.5rem); margin: 0 0 1.5rem; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content a, .prose a { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.post-card h2 { font-size: 2rem; }
.post-card h2 a { text-decoration: none; }

/* Form fields */
.site-main input:where([type=text], [type=email], [type=tel], [type=password], [type=number], [type=search], [type=url]),
.site-main textarea, .site-main select {
	width: 100%; padding: .75rem .9rem; font: inherit; color: #000; background: #fff;
	border: 2px solid #000; border-radius: 0;
}
.site-main input:focus, .site-main textarea:focus, .site-main select:focus { outline: 3px solid var(--red); outline-offset: 0; }
.site-main .quantity .qty { width: 5rem; text-align: center; height: 3rem; padding: 0 .5rem; }
.site-main label { font-weight: 600; }

/* ---------- WooCommerce: product grid ---------- */
.woocommerce ul.products, .woocommerce-page ul.products, ul.products {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 2.25rem 1.5rem; margin: 0; padding: 0; list-style: none; clear: both;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: auto !important; float: none !important; margin: 0 !important; position: relative;
	display: flex; flex-direction: column;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; color: inherit; }
.woocommerce ul.products li.product a img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin: 0 0 1rem; background: #d9d8d3;
	border: 2px solid #000; transition: transform .15s;
}
.woocommerce ul.products li.product:hover a img { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--red); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 800 1.05rem/1.3 var(--body); padding: 0; margin: 0 0 .25rem; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: inherit; font-weight: 600; }
.woocommerce .price del { opacity: .5; }
.woocommerce .price ins { text-decoration: none; color: var(--red); font-weight: 800; }
.woocommerce ul.products li.product .button { margin-top: 1rem; align-self: flex-start; }
.woocommerce ul.products li.product .added_to_cart { margin-top: .6rem; font-weight: 800; }
.woocommerce span.onsale {
	position: absolute; top: .8rem; left: .8rem; right: auto; min-width: 0; min-height: 0; margin: 0;
	padding: .5rem .8rem; line-height: 1; border-radius: 0; background: var(--red); color: #fff;
	font: 800 .9rem/1 var(--body); transform: rotate(-6deg); z-index: 2;
}

/* Category tiles */
.woocommerce ul.products li.product-category a { position: relative; display: block; }
.woocommerce ul.products li.product-category a img { aspect-ratio: 1 / 1; margin: 0; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	position: absolute; left: -.4rem; bottom: 1.2rem; margin: 0; padding: .55rem 1rem;
	background: #fff; color: #000; font: 800 1.1rem/1 var(--body);
	transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--red);
}
.woocommerce ul.products li.product-category mark { background: none; color: var(--red); margin-left: .35rem; }

/* Shop header: result count + sorting */
.woocommerce .woocommerce-result-count { float: none; margin: 0 0 1.25rem; font-weight: 600; }
.woocommerce .woocommerce-ordering { float: none; margin: 0 0 2rem; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 14rem; }
.woocommerce-breadcrumb { font-size: .9rem; margin: 0 0 1.5rem; color: #555; }
.woocommerce-breadcrumb a { text-decoration-color: var(--red); }

/* Pagination */
.woocommerce nav.woocommerce-pagination { margin-top: 3rem; }
.woocommerce nav.woocommerce-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 2.75rem; padding: .65rem .8rem; border: 2px solid #000; background: #fff; color: #000; font-weight: 800;
}
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover { background: #000; color: #fff; }

/* ---------- WooCommerce: single product ---------- */
.woocommerce div.product { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce div.product div.images img { border: 2px solid #000; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related.products, .woocommerce div.product .upsells.products { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: .95; margin-bottom: .75rem; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.6rem; margin-bottom: 1.25rem; display: block; }
.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 1.5rem; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 0 0 1.5rem; }
.woocommerce div.product form.cart .variations { width: 100%; border: 0; margin: 0 0 .5rem; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 .5rem; text-align: left; }
.woocommerce div.product form.cart .reset_variations { font-size: .9rem; margin-left: .5rem; }
.woocommerce div.product .product_meta { font-size: .9rem; border-top: 2px solid #000; padding-top: 1rem; }
.woocommerce div.product .product_meta > span { display: block; }
.woocommerce div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.woocommerce div.product .flex-control-thumbs li { float: none !important; width: auto !important; margin: 0; }
.woocommerce div.product .flex-control-thumbs img { opacity: .6; cursor: pointer; aspect-ratio: 1; object-fit: cover; }
.woocommerce div.product .flex-control-thumbs img.flex-active, .woocommerce div.product .flex-control-thumbs img:hover { opacity: 1; }

.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 1.75rem; padding: 0; margin: 0 0 1.5rem; border-bottom: 2px solid #000; list-style: none; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: .6rem 0; font-weight: 800; text-decoration: none; color: #555; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #000; box-shadow: inset 0 -5px 0 var(--red); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 2rem; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { font-size: clamp(2.4rem, 5vw, 3.5rem); margin: 2rem 0 1.5rem; }

/* ---------- WooCommerce: notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
	margin: 0 0 2rem !important; padding: 1rem 1.25rem !important; list-style: none;
	background: #fff; color: #000; border: 2px solid #000 !important; border-left: 10px solid var(--red) !important; border-radius: 0;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button { float: none !important; order: 2; }
.woocommerce-error li { flex-basis: 100%; }

/* ---------- WooCommerce: cart, checkout, account ---------- */
.woocommerce table.shop_table { background: #fff; border: 2px solid #000; border-radius: 0; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 1rem; border-top: 1px solid #ddd; }
.woocommerce table.shop_table th { font-weight: 800; }
.woocommerce table.cart img { width: 72px; border: 2px solid #000; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 11rem !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 30rem; margin-left: auto; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3, .woocommerce-account h2 { font-size: 2.2rem; }
.woocommerce .checkout_coupon, .woocommerce form.login, .woocommerce form.register { background: #fff; border: 2px solid #000; border-radius: 0; padding: 1.5rem; }
.woocommerce-checkout #payment { background: #fff; border: 2px solid #000; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid #ddd; }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); color: #000; border-radius: 0; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce #payment #place_order { float: none; width: 100%; padding: 1.1rem; font-size: 1.1rem; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: .7rem 0; font-weight: 800; text-decoration: none; border-bottom: 1px solid #ccc; }
.woocommerce-MyAccount-navigation li.is-active a { box-shadow: inset 6px 0 0 var(--red); padding-left: 1rem; }

/* Block cart and checkout */
.wc-block-components-product-name { font-weight: 800; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.story-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.primary-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: #000; border-bottom: 2px solid var(--red); padding: 1rem 1.25rem 1.5rem;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; gap: .5rem; }
	.primary-nav a { font-size: 1.4rem; padding: .5rem 0; }
	.header-inner { gap: .5rem; }
	.header-tools { margin-left: auto; }
	.hero { min-height: 0; }
	.hero-clothing { letter-spacing: .35em; }
	.strip ul { font-size: .95rem; }
	.strip li + li::before { margin: 0 .75rem; }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
	.woocommerce ul.products li.product .button { padding: .7rem 1rem; font-size: .9rem; }
}
@media (max-width: 420px) {
	.hero-actions .btn { width: 100%; }
}
