/* ==========================================================================
   WeirdShirt — signature styling
   Color/type tokens come from theme.json. This file holds effects the
   Site Editor's style controls can't express: the sticker-title heading
   treatment, the eye motif, and WooCommerce proof-card styling.
   ========================================================================== */

:focus-visible {
	outline: 3px solid var(--wp--preset--color--pink);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---- Eye motif ----
   A small single-eye icon prefixing eyebrow labels, in place of a
   generic bullet — the recurring "we see weird" signature. */
.ws-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--wp--preset--font-family--spec);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--pink);
}
.ws-eyebrow svg {
	width: 1.1em;
	height: 1.1em;
	flex-shrink: 0;
}

/* ---- Hero: sticker-title heading ----
   Thick outlined text with a solid offset shadow block — a gig-poster
   sticker look, distinct from a generic bold headline. */
.ws-sticker-title {
	color: var(--wp--preset--color--paper);
	-webkit-text-stroke: 3px var(--wp--preset--color--ink);
	text-shadow: 7px 7px 0 var(--wp--preset--color--acid);
	text-transform: uppercase;
}

.ws-badge-stamp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 108px;
	height: 108px;
	border: 3px dashed var(--wp--preset--color--mustard);
	border-radius: 50%;
	transform: rotate(-9deg);
	font-family: var(--wp--preset--font-family--spec);
	font-size: 0.7rem;
	color: var(--wp--preset--color--mustard);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.3;
	padding: 0.5rem;
}

.ws-hero {
	position: relative;
	overflow: hidden;
}

/* ---- Divi-managed pages (Home, About) ---- */
.ws-divi-canvas {
	padding: 0 !important;
	max-width: none !important;
}

/* ---- Header / primary nav ---- */
.ws-header {
	background: var(--wp--preset--color--void);
	transition: box-shadow 0.2s ease;
}
.ws-header.is-scrolled {
	box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.ws-header .wp-block-navigation a,
.ws-header .wp-block-site-title a {
	color: var(--wp--preset--color--paper) !important;
}
.ws-header .wp-block-navigation a {
	font-family: var(--wp--preset--font-family--spec);
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.06em;
	text-decoration: none;
}
.ws-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--acid) !important;
}

.wc-block-mini-cart__badge {
	background: var(--wp--preset--color--pink) !important;
	color: var(--wp--preset--color--paper) !important;
	font-family: var(--wp--preset--font-family--spec);
}
.ws-header .wc-block-mini-cart__button svg,
.ws-header .wc-block-mini-cart__icon {
	color: var(--wp--preset--color--paper) !important;
}

/* ---- Product grid ---- */
.wc-block-product-template,
ul.products {
	gap: 2rem;
}
.wc-block-product-price,
.woocommerce-Price-amount,
.price {
	font-family: var(--wp--preset--font-family--spec) !important;
	font-weight: 500;
}
.wc-block-components-product-sale-badge,
.onsale {
	background: var(--wp--preset--color--mustard) !important;
	color: var(--wp--preset--color--ink) !important;
	font-family: var(--wp--preset--font-family--spec) !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 2px !important;
}
.wc-block-grid__product,
.product {
	transition: transform 0.15s ease;
}
.wc-block-grid__product:hover,
.product:hover {
	transform: rotate(-1.5deg) translateY(-2px);
}

/* ---- Buttons ---- */
.wp-element-button,
button.button,
.wc-block-components-button {
	transition: transform 0.08s ease;
}
.wp-element-button:active,
button.button:active,
.wc-block-components-button:active {
	transform: translateY(1px) scale(0.99);
}

/* ---- Footer: same perforated-edge mechanic as the print-ticket
   footer, recolored for this brand. ---- */
.ws-ticket-footer {
	position: relative;
	background: var(--wp--preset--color--void);
	color: var(--wp--preset--color--paper);
}
.ws-ticket-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 12px;
	background-image: radial-gradient(circle, var(--wp--preset--color--paper) 4px, transparent 4.5px);
	background-size: 24px 24px;
	background-position: top center;
	background-repeat: repeat-x;
}
.ws-ticket-footer a {
	color: var(--wp--preset--color--paper);
}
.ws-ticket-footer a:hover {
	color: var(--wp--preset--color--acid);
}
.ws-ticket-footer .ws-eyebrow {
	color: var(--wp--preset--color--acid);
}

@media (max-width: 600px) {
	.ws-badge-stamp {
		display: none;
	}
}
