/*
Theme Name: Foolish
Description: A dark, colourful WooCommerce storefront theme for Foolish riders' gear. Pink, blue and neon green on black, spray-paint drips, interactive hover effects and a slide-out cart.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: foolish
*/

/* ==========================================================
   Tokens
   ========================================================== */
:root {
	--pink: #FC0473;
	--blue: #0097FE;
	--green: #03FB03;
	--ink: #0B0B0C;
	--panel: #18181B;
	--line: #2a2a30;
	--muted: #B9B9C4;
	--paper: #FFFFFF;
	--ac: #FC0473;
	--display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
	--body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--marker: 'Permanent Marker', 'Comic Sans MS', cursive;
}
body.accent-pink { --ac: #FC0473; }
body.accent-blue { --ac: #0097FE; }
body.accent-green { --ac: #03FB03; }

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ink);
	color: #fff;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.5;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: #fff; }
a:hover { color: var(--ac); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--ac); color: var(--ink); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ac); color: var(--ink); padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

.dis { font-family: var(--display); text-transform: uppercase; font-weight: 400; letter-spacing: .01em; }
.mk { font-family: var(--marker); }
.muted { color: var(--muted); }
.label { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.h2 { margin: 0; font-size: clamp(56px, 8vw, 104px); line-height: .95; }
.sticker { display: inline-block; font-size: 28px; color: var(--ac); transform: rotate(-3deg); }
.section { padding-top: 96px; padding-bottom: 24px; }
.section-shop { padding-bottom: 112px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-head p { margin: 0; max-width: 24em; }

.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

/* ==========================================================
   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,
.single_add_to_cart_button, a.button, button.button {
	display: inline-block;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 16px 30px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	background: var(--ac) !important;
	color: var(--ink) !important;
	transition: transform .15s ease, filter .15s ease;
}
.btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover, a.button:hover, button.button:hover {
	transform: translate(-3px, -3px) rotate(-1deg);
	filter: brightness(1.1);
	color: var(--ink) !important;
}
.btn:active, a.button:active, button.button:active { transform: none; }
.btn-accent { background: var(--ac); color: var(--ink); }
.btn-ink { background: var(--ink) !important; color: #fff !important; }
.btn-ink:hover { color: #fff !important; }
.btn-outline { background: transparent !important; color: #fff !important; border: 3px solid #fff !important; padding: 13px 28px; }
.btn-outline:hover { color: #fff !important; }
.woocommerce a.button.disabled, .woocommerce button.button:disabled { opacity: .5; }

/* ==========================================================
   Header
   ========================================================== */
.announce { background: var(--ac); color: var(--ink); text-align: center; padding: 10px 20px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink); border-bottom: 3px solid #1d1d21; }
.admin-bar .site-header { top: 32px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; }
.logo img, .logo .custom-logo { height: 46px; width: auto; display: block; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.main-nav a { display: block; padding: 10px 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; text-decoration: none; transition: transform .15s ease; }
.main-nav a:hover { transform: translate(-2px, -2px) rotate(-1deg); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.paint { display: flex; gap: 8px; align-items: center; }
.dot { width: 28px; height: 28px; border-radius: 50%; padding: 0; border: 3px solid transparent; }
.dot[aria-pressed="true"] { border-color: #fff; }
.dot-pink { background: var(--pink); }
.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; }
.foolish-cart-count { background: var(--ink); color: #fff; min-width: 26px; height: 26px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; padding: 0 6px; }
.menu-toggle { display: none; background: transparent; border: 3px solid #fff; padding: 8px 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; overflow: hidden; --mx: 0; --my: 0; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 72px; min-height: 680px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; }
.hero-copy .sticker { align-self: flex-start; }
.hero-title { margin: 0; font-size: clamp(88px, 13vw, 188px); line-height: .86; }
.hero-line { display: block; }
.hero-word.w-pink { color: var(--pink); }
.hero-word.w-blue { color: var(--blue); }
.hero-word.w-green { color: var(--green); }
.hero-text { margin: 0; max-width: 30em; font-size: 20px; color: #D6D6DD; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-art { flex: 1 1 440px; min-width: 0; position: relative; aspect-ratio: 1 / 1; max-width: 640px; width: 100%; }
.fl { position: absolute; transition: transform .35s ease-out; }
.fl.face { left: 4%; top: 2%; width: 92%; }
.fl.s1 { left: -6%; top: -2%; width: 36%; transform: translate(calc(var(--mx) * -3px), calc(var(--my) * -3px)); }
.fl.s2 { right: -4%; top: 30%; width: 26%; transform: translate(calc(var(--mx) * 4px), calc(var(--my) * 4px)); }
.fl.s3 { left: 0; bottom: -4%; width: 32%; transform: translate(calc(var(--mx) * 5px), calc(var(--my) * 5px)); }
.fl.s4 { right: 6%; bottom: -6%; width: 34%; transform: translate(calc(var(--mx) * -5px), calc(var(--my) * -5px)); }

/* ==========================================================
   Ticker
   ========================================================== */
.ticker { background: var(--green); color: var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; padding: 14px 0; font-size: 40px; white-space: nowrap; animation: foolish-slide 30s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
@keyframes foolish-slide { to { transform: translateX(-50%); } }

/* ==========================================================
   Category tiles
   ========================================================== */
.tile { position: relative; display: block; height: 480px; overflow: hidden; background: #fff; color: var(--ink) !important; text-decoration: none; transition: transform .2s ease; }
.tile:hover { transform: rotate(-1.5deg) scale(1.015); }
.tile-label { position: absolute; left: 28px; top: 24px; font-size: 84px; line-height: .9; }
.tile-count { position: absolute; left: 30px; top: 122px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.tile img { position: absolute; left: 50%; bottom: -4%; width: 88%; transform: translateX(-50%); transition: transform .4s ease; }
.tile:hover img { transform: translateX(-50%) scale(1.1) rotate(-3deg); }
.tile-arrow { position: absolute; right: 24px; top: 28px; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; }

/* ==========================================================
   The drop: chips and product cards
   ========================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chip { background: transparent; border: 3px solid #fff; padding: 10px 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; transition: transform .15s ease; }
.chip:hover { transform: translate(-3px, -3px) rotate(-1deg); }
.chip.is-on { background: var(--ac); border-color: var(--ac); color: var(--ink); }
.card { display: flex; flex-direction: column; gap: 16px; transition: transform .2s ease; }
.card:hover { transform: translateY(-8px) rotate(-1.2deg); }
.shot { display: block; background: #fff; aspect-ratio: 1 / 1; overflow: hidden; transition: box-shadow .2s ease; }
.shot img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .35s ease; }
.card:hover .shot img { transform: scale(1.07); }
.card:nth-child(3n+1):hover .shot { box-shadow: 12px 12px 0 var(--pink); }
.card:nth-child(3n+2):hover .shot { box-shadow: 12px 12px 0 var(--blue); }
.card:nth-child(3n+3):hover .shot { box-shadow: 12px 12px 0 var(--green); }
.card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card-name { font-weight: 700; font-size: 20px; line-height: 1.25; text-decoration: none; }
.card-price { font-size: 30px; color: var(--ac); white-space: nowrap; }
.card-price .woocommerce-Price-amount { color: var(--ac); }
.card-price del { opacity: .5; font-size: .7em; }
.card-price ins { text-decoration: none; }
.card .button { background: transparent !important; color: #fff !important; border: 3px solid #fff !important; padding: 12px 18px; }
.card .button:hover { color: #fff !important; }
.card .added_to_cart { display: none; }
.card-teaser { background: var(--ac); color: var(--ink); justify-content: space-between; padding: 32px; min-height: 420px; }
.card-teaser:hover { transform: translateY(-8px) rotate(-1.2deg); }
.teaser-title { font-size: 72px; line-height: .92; }
.teaser-foot { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.teaser-foot p { margin: 0; font-weight: 500; }

/* ==========================================================
   Rules (white section)
   ========================================================== */
.ethos { background: #fff; color: var(--ink); }
.ethos-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.ethos-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.ethos-art img { width: 100%; max-width: 520px; }
.ethos-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ethos-copy .h2 { font-size: clamp(52px, 7vw, 92px); }
.bar { padding: 22px 28px; display: flex; flex-direction: column; gap: 6px; font-weight: 500; transition: transform .2s ease; }
.bar:hover { transform: translateX(18px); }
.bar-title { font-size: 48px; line-height: 1; font-weight: 400; }
.bar-pink { background: var(--pink); }
.bar-blue { background: var(--blue); }
.bar-green { background: var(--green); }

/* ==========================================================
   Newsletter
   ========================================================== */
.news { background: var(--ac); color: var(--ink); }
.news-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.news-copy { flex: 1 1 420px; min-width: 0; }
.news-copy .h2 { line-height: .92; }
.news-copy p { margin: 12px 0 0; font-weight: 500; font-size: 19px; }
.news-form { flex: 1 1 420px; min-width: 0; }
.news-fields { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.news-fields input { flex: 1 1 240px; min-width: 0; min-height: 56px; padding: 0 18px; border: 3px solid var(--ink); background: #fff; color: var(--ink); font-size: 17px; border-radius: 0; }
.news-fields .btn { min-height: 56px; padding: 0 30px; }
.news-note { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.news-ok { font-size: 44px; line-height: 1; }
.news a { color: var(--ink); }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--ink); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-top: 72px; padding-bottom: 40px; }
.footer-brand { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 260px; max-width: 100%; height: auto; }
.footer-brand .sticker { font-size: 24px; transform: rotate(-2deg); }
.footer-col { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col .label { color: var(--muted); }
.footer-col .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-base { border-top: 3px solid #1d1d21; padding-top: 24px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }

/* ==========================================================
   Cart drawer (WooCommerce mini cart)
   ========================================================== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .65); z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); z-index: 100; background: #121214; border-left: 6px solid var(--ac); display: flex; flex-direction: column; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 3px solid #1d1d21; }
.drawer-title { font-size: 40px; line-height: 1; }
.drawer-close { background: none; border: 3px solid #fff; width: 44px; height: 44px; font-size: 20px; padding: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer .widget_shopping_cart_content { display: flex; flex-direction: column; min-height: 100%; }
.drawer ul.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.drawer .woocommerce-mini-cart-item { position: relative; display: block; padding: 0 0 0 108px; min-height: 92px; }
.drawer .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 0; width: 92px; height: 92px; object-fit: contain; background: #fff; margin: 0; }
.drawer .woocommerce-mini-cart-item a:not(.remove) { font-weight: 700; text-decoration: none; display: block; line-height: 1.25; }
.drawer .woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 0; color: #fff !important; font-size: 22px; text-decoration: none; background: none; width: auto; height: auto; }
.drawer .woocommerce-mini-cart-item .quantity { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
.drawer .woocommerce-mini-cart-item .quantity .woocommerce-Price-amount { color: var(--ac); font-family: var(--display); font-size: 20px; }
.drawer .variation { margin: 4px 0 0; color: var(--muted); font-size: 14px; display: block; }
.drawer .variation dt, .drawer .variation dd { display: inline; margin: 0; }
.drawer .variation dd p { display: inline; margin: 0; }
.drawer p.woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 0 14px; padding-top: 20px; border-top: 3px solid #1d1d21; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.drawer p.woocommerce-mini-cart__total .woocommerce-Price-amount { font-family: var(--display); font-size: 38px; letter-spacing: 0; }
.drawer p.woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.drawer p.woocommerce-mini-cart__buttons a.button { padding: 16px 24px; }
.drawer p.woocommerce-mini-cart__buttons a.button:not(.checkout) { background: transparent !important; color: #fff !important; border: 3px solid #fff !important; padding: 13px 24px; }
.drawer p.woocommerce-mini-cart__empty-message { font-family: var(--display); text-transform: uppercase; font-size: 44px; line-height: 1; }

/* ==========================================================
   Pages and WooCommerce
   ========================================================== */
.page-main, .woo-main { padding-top: 56px; padding-bottom: 112px; }
.page-title { margin: 0 0 32px; font-size: clamp(52px, 7vw, 92px); line-height: .95; }
.page-title a { text-decoration: none; }
.entry-content { max-width: 60em; }
.woo-main .woocommerce-products-header__title, .woo-main h1.page-title { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(52px, 7vw, 92px); line-height: .95; margin: 0 0 24px; }
.woocommerce-breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-result-count { color: var(--muted); }
.woocommerce-ordering select { background: var(--panel); color: #fff; border: 3px solid #3a3a42; padding: 10px 14px; border-radius: 0; }

/* Shop and category grid */
.woocommerce ul.products { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; display: flex; flex-direction: column; gap: 12px; position: relative; transition: transform .2s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-8px) rotate(-1.2deg); }
.woocommerce ul.products li.product a img { background: #fff; aspect-ratio: 1 / 1; object-fit: contain; width: 100%; margin: 0 !important; display: block; transition: box-shadow .2s ease; }
.woocommerce ul.products li.product:nth-child(3n+1):hover a img { box-shadow: 12px 12px 0 var(--pink); }
.woocommerce ul.products li.product:nth-child(3n+2):hover a img { box-shadow: 12px 12px 0 var(--blue); }
.woocommerce ul.products li.product:nth-child(3n+3):hover a img { box-shadow: 12px 12px 0 var(--green); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--body); font-weight: 700; font-size: 20px; line-height: 1.25; padding: 0; margin: 0; color: #fff; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--display); font-size: 30px; color: var(--ac); }
.woocommerce ul.products li.product .price del, .woocommerce div.product p.price del { opacity: .5; font-size: .7em; }
.woocommerce ul.products li.product .price ins, .woocommerce div.product p.price ins { text-decoration: none; background: none; color: var(--ac); }
.woocommerce ul.products li.product .button { margin-top: auto; background: transparent !important; color: #fff !important; border: 3px solid #fff !important; padding: 12px 18px; }
.woocommerce span.onsale { background: var(--green); color: var(--ink); border-radius: 0; min-height: 0; min-width: 0; line-height: 1; padding: 10px 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; top: 12px; left: 12px; right: auto; }

/* Single product */
.woocommerce div.product { display: flow-root; }
.woocommerce div.product div.images { background: #fff; }
.woocommerce div.product div.images img { background: #fff; }
.woocommerce div.product .product_title { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(52px, 6vw, 84px); line-height: .95; margin: 0 0 16px; }
.woocommerce div.product p.price { font-size: 44px; margin: 0 0 20px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #D6D6DD; font-size: 18px; }
.woocommerce div.product form.cart { margin: 24px 0; }
.woocommerce div.product form.cart .variations { border: 0; margin-bottom: 20px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 10px; text-align: left; border: 0; background: none; }
.woocommerce div.product form.cart .variations label { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; color: #fff; }
.woocommerce div.product form.cart .variations select { min-height: 52px; padding: 0 16px; background: var(--panel); color: #fff; border: 3px solid #fff; border-radius: 0; min-width: 220px; }
.woocommerce div.product form.cart .reset_variations { color: var(--muted); margin-left: 12px; }
.woocommerce .quantity .qty { min-height: 54px; width: 80px; background: var(--panel); color: #fff; border: 3px solid #fff; border-radius: 0; text-align: center; font-weight: 700; }
.woocommerce div.product form.cart .button { padding: 18px 32px; vertical-align: top; }
.woocommerce div.product .product_meta { color: var(--muted); font-size: 14px; }
.woocommerce div.product .product_meta a { color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 3px solid var(--line); overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0 8px 0 0; padding: 0; }
.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 a { color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; padding: 12px 16px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ac); }
.woocommerce div.product .woocommerce-tabs .panel { color: #D6D6DD; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: .95; margin: 64px 0 0; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	background: var(--panel) !important; color: #fff !important; border-top: 4px solid var(--ac) !important; border-radius: 0 !important; padding: 18px 24px !important; margin-bottom: 24px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--ac) !important; }
.woocommerce-error { border-top-color: var(--pink) !important; }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; }

/* Forms and tables (classic cart and checkout) */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page input[type="text"], .woocommerce-page input[type="email"], .woocommerce-page input[type="tel"], .woocommerce-page input[type="password"], .woocommerce-page input[type="number"],
.select2-container--default .select2-selection--single {
	background: var(--panel); color: #fff; border: 3px solid #3a3a42; border-radius: 0; padding: 12px 14px; min-height: 50px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff; line-height: 26px; }
.woocommerce form .form-row label { font-weight: 700; letter-spacing: .06em; font-size: 14px; }
.woocommerce table.shop_table { border: 3px solid var(--line); border-radius: 0; border-collapse: collapse; color: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-top: 1px solid var(--line); padding: 16px; }
.woocommerce table.shop_table td.product-name a { font-weight: 700; text-decoration: none; }
.woocommerce table.shop_table img { width: 72px; background: #fff; }
.woocommerce a.remove { color: #fff !important; background: none !important; }
.woocommerce a.remove:hover { color: var(--ac) !important; background: none !important; }
.woocommerce-checkout #payment { background: var(--panel); border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: #212126; color: #fff; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #212126; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3, .woocommerce-account h2, .woocommerce .cross-sells h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 44px; line-height: 1; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { text-decoration: none; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; display: block; padding: 10px 0; }

/* Block-based cart and checkout */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: #fff; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-select .wc-blocks-components-select__select, .wc-block-components-form .wc-block-components-text-input input[type="text"] {
	background: var(--panel) !important; color: #fff !important; border: 3px solid #3a3a42 !important; border-radius: 0 !important;
}
.wc-block-components-text-input label, .wc-block-components-checkbox label, .wc-block-components-radio-control__label, .wc-block-components-product-name, .wc-block-components-totals-item, .wc-block-components-title { color: #fff !important; }
.wc-block-components-button:not(.is-link) { background: var(--ac) !important; color: var(--ink) !important; border-radius: 0 !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wc-block-components-product-metadata, .wc-block-components-product-metadata__description { color: var(--muted) !important; }
.wc-block-cart-items td, .wc-block-cart-items th, .wc-block-components-totals-wrapper { border-color: var(--line) !important; }
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-order-summary { color: #fff; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1000px) {
	.g3, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.menu-toggle { display: inline-block; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 3px solid #1d1d21; padding: 8px clamp(20px, 4vw, 40px) 16px; }
	.site-header.nav-open .main-nav { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; }
	.header-row { flex-wrap: wrap; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 620px) {
	.g3, .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); }
	.paint { display: none; }
	.ticker-track { font-size: 28px; }
	.tile { height: 400px; }
	.tile-label { font-size: 64px; }
	.teaser-title { font-size: 56px; }
}

/* ==========================================================
   Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation: none; }
	* { transition: none !important; }
}
