/*
Theme Name: Kappersproducten
Template: storefront
*/

/* Globale fonts */

body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:where(a, button, [role="button"], .button, input, select, textarea, summary, [tabindex]) {
	-webkit-tap-highlight-color: transparent;
}

:where(a, button, [role="button"], .button, input, select, textarea, summary, [tabindex]):focus,
:where(a, button, [role="button"], .button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Wider desktop container across the site */
@media (min-width: 768px) {
	.col-full {
		max-width: 1400px;
	}
}

h1,
h2,
h3,
h4,
h5,
h6,
.kp-home-title {
	font-family: 'Playfair Display', 'Times New Roman', serif;
}

/* WooCommerce AJAX add-to-cart inserts a “View cart” link. Hide it inside our custom cards
   because we use the mini-cart drawer instead. */
.kp-product-card a.added_to_cart,
.kp-product-card a.added_to_cart.wc-forward {
	display: none !important;
}

/* Product card add-to-cart: disabled + loading state (AJAX) */
.kp-product-card .kp-product-cart-btn {
	position: relative;
}

.kp-product-card .kp-product-cart-btn.kp-atc-loading {
	opacity: 0.72;
	pointer-events: none;
	cursor: wait;
}

.kp-product-card .kp-product-cart-btn.kp-atc-loading::after {
	content: '';
	position: absolute;
	right: 12px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border-radius: 999px;
	border: 2px solid rgba(46, 34, 31, 0.22);
	border-top-color: rgba(46, 34, 31, 0.62);
	animation: kpAtcSpin 700ms linear infinite;
}

@keyframes kpAtcSpin {
	to {
		transform: rotate(360deg);
	}
}

/* Brand archive (taxonomy-product_brand.php) */

.kp-brand-archive {
	padding: 24px 0 80px;
}

.kp-brand-header {
	padding: 22px 0 10px;
	text-align: center;
}

.kp-brand-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(46, 34, 31, 0.55);
	margin-bottom: 10px;
}

.kp-brand-title {
	margin: 0 0 14px;
	font-family: 'Playfair Display', 'Times New Roman', serif;
	font-size: 44px;
	font-weight: 500;
	line-height: 1.05;
	color: #2e221f;
}

.kp-brand-logo img {
	max-width: 160px;
	height: auto;
	display: inline-block;
	margin: 0 auto 14px;
}

.kp-brand-desc {
	max-width: 820px;
	margin: 0 auto;
	color: rgba(46, 34, 31, 0.78);
	font-size: 16px;
	line-height: 1.7;
}

.kp-brand-breadcrumbs {
	margin: 10px 0 18px;
}

/* GLS pickup overlay – plugin injects this HTML globally but it should
   only ever appear on checkout when triggered by JS. */
.GLS-pickup {
	display: none !important;
}