/*
Theme Name: UK WHOLESALER
Theme URI: https://ukwholesaler.shop
Author: YUMMY DRINKS LTD
Description: Lightweight corporate theme for UK WHOLESALER (trading name of YUMMY DRINKS LTD). No page builder, no build step.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.2
License: Proprietary
Text Domain: ukwholesaler
*/

:root {
	--c-navy-900: #16253d;
	--c-navy-800: #1e3253;
	--c-navy-700: #263e62;
	--c-navy-50: #eef1f6;
	--c-red-600: #bc1823;
	--c-red-700: #9a1320;
	--c-red-50: #fbedee;
	--c-ink: #172033;
	--c-body: #3d4759;
	--c-muted: #5f6b7e;
	--c-line: #dfe4ec;
	--c-surface: #f6f8fb;
	--c-white: #ffffff;
	--c-amber-50: #fff6e5;
	--c-amber-800: #8a5300;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-xl: 1.375rem;
	--fs-2xl: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);
	--fs-3xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);

	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(11, 26, 51, 0.06), 0 4px 16px rgba(11, 26, 51, 0.06);
	--container: 1160px;
	--gutter: 16px;
	--section: clamp(56px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.65;
	color: var(--c-body);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	color: var(--c-ink);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 0 0 0.6em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
img, svg { max-width: 100%; height: auto; }

a { color: var(--c-navy-700); text-underline-offset: 2px; }
a:hover { color: var(--c-red-600); }

:focus-visible {
	outline: 3px solid var(--c-navy-700);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000;
	width: auto; height: auto; clip: auto;
	padding: 10px 16px;
	background: var(--c-white); color: var(--c-ink);
	border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }

.section { padding: var(--section) 0; }
.section--alt { background: var(--c-surface); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--c-muted); font-size: var(--fs-lg); }

.eyebrow {
	display: inline-block;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-red-600);
	margin-bottom: 10px;
}

.btn,
.wp-block-button__link,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	font: 600 var(--fs-base)/1 var(--font);
	text-decoration: none;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary,
.wp-block-button__link,
.wpcf7-submit { background: var(--c-red-600); color: var(--c-white); }
.btn--primary:hover,
.wp-block-button__link:hover,
.wpcf7-submit:hover { background: var(--c-red-700); color: var(--c-white); }

.btn--ghost { background: transparent; color: var(--c-white); border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--c-white); border-color: var(--c-white); }

.btn--outline { background: var(--c-white); color: var(--c-ink); border-color: var(--c-line); }
.btn--outline:hover { border-color: var(--c-navy-700); color: var(--c-navy-700); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--c-white);
	border-bottom: 3px solid var(--c-red-600);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px;
	min-height: 78px;
}

.brand {
	display: inline-flex; align-items: center; gap: 10px;
	text-decoration: none; color: var(--c-ink);
}
.site-header .brand { flex: none; }
.custom-logo-link img { display: block; height: 58px; width: auto; }
.brand__logo { display: block; height: 58px; width: auto; max-width: none; }
@media (max-width: 480px) { .brand__logo { height: 46px; } }

.nav-toggle {
	display: none;
	align-items: center; justify-content: center;
	width: 44px; height: 44px;
	background: none; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	color: var(--c-ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav li { margin: 0; }
.primary-nav a {
	display: block;
	padding: 10px 14px;
	color: var(--c-ink);
	font-weight: 500; font-size: 0.9375rem;
	text-decoration: none;
	border-radius: var(--radius-sm);
}
.primary-nav a:hover { background: var(--c-surface); color: var(--c-red-600); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--c-red-600); background: var(--c-red-50); }

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--c-white);
		border-bottom: 1px solid var(--c-line);
		box-shadow: var(--shadow);
		padding: 8px var(--gutter) 16px;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; }
	.primary-nav a { padding: 12px; }
}

.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--c-navy-900) 0%, var(--c-navy-800) 60%, var(--c-navy-700) 100%);
	color: #c9d4e6;
	padding: clamp(64px, 10vw, 120px) 0;
}
.hero::after {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
	pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--c-white); max-width: 820px; }
.hero__eyebrow { color: #ff9aa2; font-size: var(--fs-sm); letter-spacing: 0.14em; margin-bottom: 16px; }
.hero__subtitle { font-size: var(--fs-lg); max-width: 640px; margin-bottom: 32px; }

.page-hero {
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-line);
	padding: clamp(40px, 6vw, 72px) 0;
}
.page-hero h1 { margin-bottom: 0.3em; }
.page-hero p { color: var(--c-muted); font-size: var(--fs-lg); max-width: 680px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

.feature {
	padding: 28px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.feature h3 { font-size: var(--fs-lg); margin-bottom: 0.4em; }
.feature p { margin: 0; color: var(--c-muted); }

.icon-tile {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	margin-bottom: 18px;
	border-radius: 10px;
	background: var(--c-navy-50); color: var(--c-navy-700);
}
.icon-tile svg { width: 22px; height: 22px; }

.product-card {
	display: flex; flex-direction: column;
	padding: 28px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.product-card__icon {
	display: grid; place-items: center;
	width: 48px; height: 48px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--c-navy-50); color: var(--c-navy-700);
}
.product-card__icon svg { width: 24px; height: 24px; }
.product-card--soon .product-card__icon { background: var(--c-white); color: var(--c-muted); }
.product-card__media { margin: -28px -28px 20px; border-bottom: 1px solid var(--c-line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--c-white); }
.product-card__media img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.product-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.product-card__label {
	font-size: var(--fs-xs); font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--c-muted);
}
.badge {
	display: inline-block;
	padding: 3px 10px;
	font-size: var(--fs-xs); font-weight: 600;
	border-radius: 999px;
	background: var(--c-amber-50); color: var(--c-amber-800);
}
.product-card h3 { font-size: var(--fs-lg); }
.product-card__desc { color: var(--c-muted); flex: 1; }
.product-card__desc p:last-child { margin-bottom: 0; }
.product-card__action { margin-top: 22px; }
.product-card__action .btn {
	width: 100%;
	padding: 11px 16px;
	line-height: 1.25;
	text-align: center;
}
.product-card--soon { box-shadow: none; background: var(--c-surface); }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
	content: "";
	position: absolute; left: 0; top: 0.3em;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--c-red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bc1823' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.cta-band { background: var(--c-navy-800); color: #c9d4e6; padding: clamp(48px, 7vw, 72px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: var(--c-white); margin: 0; }

.entry-content > * { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content .eyebrow { margin-top: 0.5em; }
.entry-content .eyebrow + h2,
.entry-content .eyebrow + h3,
.entry-content > h2:first-child,
.entry-content > h3:first-child { margin-top: 0; }
.entry-content ul li::marker { color: var(--c-red-600); }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--c-line); margin: 48px 0; }
.entry-content .wp-block-group.is-style-panel,
.entry-content .uw-panel {
	padding: 28px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: var(--c-white);
	margin-bottom: 24px;
}
.entry-content .wp-block-columns { gap: 24px; }
.entry-content .uw-pill {
	display: inline-block;
	padding: 3px 10px;
	font-size: var(--fs-xs); font-weight: 600;
	border-radius: 999px;
	background: var(--c-amber-50); color: var(--c-amber-800);
	vertical-align: middle;
}
.entry-content .uw-delivery { font-size: var(--fs-sm); color: var(--c-muted); }
.legal-updated { color: var(--c-muted); font-size: var(--fs-sm); }

.info-card {
	padding: 28px;
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.info-card h2 { font-size: var(--fs-lg); }
.info-card dl { margin: 0; }
.info-card dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); margin-top: 16px; }
.info-card dt:first-child { margin-top: 0; }
.info-card dd { margin: 4px 0 0; color: var(--c-ink); }

.company-table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.company-table th, .company-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.company-table th { width: 40%; font-weight: 600; color: var(--c-ink); background: var(--c-surface); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.wpcf7 label { display: block; font-weight: 600; color: var(--c-ink); font-size: var(--fs-sm); margin-bottom: 18px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	display: block; width: 100%;
	margin-top: 6px; padding: 12px 14px;
	font: 400 var(--fs-base)/1.4 var(--font); color: var(--c-ink);
	background: var(--c-white);
	border: 1px solid #b9c2d0; border-radius: var(--radius-sm);
}
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 3px solid rgba(38, 62, 98, 0.25); border-color: var(--c-navy-700); }
.wpcf7-not-valid-tip { font-size: var(--fs-sm); font-weight: 500; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-notice { padding: 16px; border: 1px dashed var(--c-line); border-radius: var(--radius); color: var(--c-muted); }

.site-footer { background: var(--c-navy-900); color: #b4c0d4; font-size: var(--fs-sm); }
.site-footer a { color: #dce4f1; text-decoration: none; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.site-footer__cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 40px;
	padding: 56px 0 40px;
}
@media (max-width: 760px) { .site-footer__cols { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h2 { font-size: var(--fs-sm); color: var(--c-white); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__name { color: var(--c-white); font-weight: 800; font-size: 1.0625rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.site-footer__legal { display: flex; gap: 28px; align-items: flex-start; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 28px 0 36px; color: #93a1b8; font-size: var(--fs-xs); line-height: 1.7; }
.site-footer__legal p { margin-bottom: 0.8em; max-width: 920px; }
.site-footer__parent-logo { flex: none; width: 120px; height: auto; opacity: 0.9; }
@media (max-width: 600px) { .site-footer__legal { flex-direction: column; gap: 18px; } }

.not-found { text-align: center; padding: var(--section) 0; }
.not-found .btn-row { justify-content: center; }
