/* Anfield Homepage Widgets - shared design tokens */
:root {
	--af-ink: #0b0b0d;
	--af-red: #ff473d;
	--af-gold: #ffd23f;
	--af-cream: #fffdf7;
	--af-muted: #8b857f;
	--af-body: #3a3a3a;
	--af-comic: 'meoow', 'Bangers', cursive;
}

body .fkcart-shortcode-price {
	display: block !important;
}

body .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	box-shadow: none !important;
}

.af-w * { box-sizing: border-box; }

/* ---------- Shop By ---------- */
.af-shopby-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}
.af-shopby-eyebrow {
	font-family: var(--af-comic);
	font-size: 34px;
	color: var(--af-ink);
	letter-spacing: 0.02em;
	margin: 0;
}
.af-shopby-switch {
	display: flex;
	gap: 8px;
	background: #141218;
	border-radius: 13px;
	padding: 5px;
}
.af-shopby-switch button {
	font-family: var(--af-comic) !important;
	font-size: 17px !important;
	letter-spacing: 0.04em;
	padding: 10px 26px !important;
	border-radius: 9px !important;
	border: 2px solid transparent !important;
	background: transparent !important;
	color: #c9c3bb !important;
	cursor: pointer;
	line-height: 1;
}
.af-shopby-switch button.is-active {
	color: var(--af-ink) !important;
	background: var(--af-red) !important;
	border-color: var(--af-ink) !important;
}
.af-shopby-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.af-shopby-panel { display: none; }
.af-shopby-panel.is-active { display: grid; }
.af-shopby-tile {
	position: relative;
	display: block;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1.7;
	border: 2px solid var(--af-ink);
	box-shadow: 4px 4px 0 rgba(0,0,0,0.18);
	background-color: #181620;
	background-size: cover;
	background-position: center;
	text-decoration: none;
}
.af-shopby-tile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 62%);
}
.af-shopby-tile span {
	position: absolute;
	left: 18px;
	bottom: 16px;
	font-family: var(--af-comic);
	font-size: 26px;
	color: #fff;
	letter-spacing: 0.02em;
	text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}
@media (max-width: 1024px) {
	.af-shopby-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.af-shopby-eyebrow { font-size: 26px; }
	.af-shopby-tile span { font-size: 20px; }
}

/* ---------- Best Deals ---------- */
.af-deals-row {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 6px;
	margin-right: calc(50% - 49vw);
	padding-right: 24px;
}
.af-deals-chip {
	flex: 0 0 auto;
	font-family: var(--af-comic);
	font-size: 18px;
	letter-spacing: 0.03em;
	line-height: 1;
	color: var(--af-ink);
	background: var(--af-gold);
	border: 2px solid var(--af-ink);
	border-radius: 999px;
	padding: 10px 22px;
	box-shadow: 3px 3px 0 rgba(0,0,0,0.45) !important;
	white-space: nowrap;
}

/* ---------- Product Cards ---------- */
.af-products-row {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	padding-bottom: 8px;
	margin-right: calc(50% - 49vw);
	padding-right: 24px;
}
.af-product-card {
	flex: 0 0 260px;
	background: var(--af-cream);
	border: 2px solid var(--af-ink);
	box-shadow: 4px 4px 0 rgba(0,0,0,0.18);
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	display: block;
	color: inherit;
}
@media (max-width: 600px) {
	.af-product-card { flex-basis: 190px; }
	.af-product-title { font-size: 13px; height: 33px; }
	.af-product-price .now { font-size: 20px; }
	.af-product-btn { font-size: 15px; padding: 9px 0; }
}
.af-product-media {
	position: relative;
	aspect-ratio: 1;
	background: #fff;
}
.af-product-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.af-product-sale {
	position: absolute;
	top: 12px;
	left: 12px;
	font-family: var(--af-comic);
	font-size: 16px;
	letter-spacing: 0.04em;
	color: #fff;
	background: var(--af-red);
	border: 2px solid var(--af-ink);
	border-radius: 7px;
	padding: 3px 11px;
	transform: rotate(-4deg);
}

.af-product-body {
	padding: 16px;
}

.af-product-body .af-product-btn {
	padding: 11px 0;
	line-height: 1;
	width: 100%;
}

.af-product-cat {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--af-muted);
	margin-bottom: 5px;
}
.af-product-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--af-ink);
	line-height: 1.3;
	height: 39px;
	overflow: hidden;
}
.af-product-price {
	display: flex;
	gap: 9px;
	align-items: baseline;
	margin: 9px 0 13px;
}
.af-product-price .now {
	font-family: var(--af-comic);
	font-size: 26px;
	color: var(--af-red);
	letter-spacing: 0.02em;
}
.af-product-price .was {
	color: var(--af-muted);
	text-decoration: line-through;
	font-size: 14px;
}
.af-product-btn {
	background: var(--af-red) !important;
	color: #fff !important;
	font-family: var(--af-comic) !important;
	font-size: 17px !important;
	letter-spacing: 0.03em;
	border-radius: 11px !important;
	padding: 11px 0 !important;
	text-align: center;
	border: 2px solid var(--af-ink) !important;
	cursor: pointer;
	width: 100%;
	display: block;
}
.af-product-btn { text-decoration: none !important; box-sizing: border-box; }
.af-product-btn.loading { opacity: 0.6; pointer-events: none; }
.af-product-btn.added { opacity: 0.85; }
/* WooCommerce appends a "View cart" link after the button; the mini-cart drawer covers that. */
.af-product-card .added_to_cart { display: none; }

/* ---------- Klarna promo ---------- */
.af-klarna {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--af-cream);
	border: 2px solid var(--af-ink);
	box-shadow: 4px 4px 0 rgba(0,0,0,0.18);
	border-radius: 18px;
	padding: 26px;
}
.af-klarna-badge {
	width: 62px;
	height: 38px;
	border-radius: 8px;
	background: #ffb3c7;
	color: var(--af-ink);
	font-family: var(--af-comic);
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}
.af-klarna-title { font-size: 18px; font-weight: 700; color: var(--af-ink); }
.af-klarna-sub { font-size: 13px; color: #6b655f; margin-top: 3px; }

/* ---------- Newsletter promo ---------- */
.af-newsletter {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	padding: 26px 30px;
	background: radial-gradient(circle at 85% 20%, #2a0d0c, #120a10);
	border: 2px solid rgba(255,210,63,0.45);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px 26px;
}
.af-newsletter-copy { flex: 1 1 200px; min-width: 0; }
.af-newsletter-title {
	font-family: var(--af-comic);
	font-size: 38px;
	color: var(--af-gold);
	letter-spacing: 0.02em;
	line-height: 1;
	text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.af-newsletter-sub { font-size: 14px; color: #e7ddd3; margin-top: 6px; }
.af-newsletter-form { flex: 1 1 260px; min-width: 0; }
.af-newsletter-form .wpcf7-form { margin: 0; }
.af-newsletter-form .wpcf7-response-output { color: #e7ddd3; border-color: rgba(255,255,255,0.2) !important; margin: 10px 0 0; }

.af-newsletter-form form > p,
.af-newsletter-form .wpcf7-form-control-wrap {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.af-newsletter-form .cf7-subscribe-col.submit-col .wpcf7-spinner {
	position: absolute;
}

.af-newsletter-form .cf7-subscribe-col.submit-col p {
	margin: 0;
}

.af-newsletter-form .cf7-subscribe-row {
	display: flex;
	gap: 10px;
}

.af-newsletter-form input[type="email"],
.af-newsletter-form input.wpcf7-email {
	flex: 1 1 200px;
	min-width: 0;
	height: 50px;
	border-radius: 12px;
	background: #0b0b0d;
	border: 1px solid rgba(255,255,255,0.14);
	padding: 0 16px;
	font-size: 14px;
	color: #f4efe8;
}
.af-newsletter-form input[type="email"]::placeholder { color: #6f6a64; }
.af-newsletter-form input.wpcf7-submit {
	flex: 0 0 auto;
	background: var(--af-red) !important;
	color: #fff !important;
	font-family: var(--af-comic) !important;
	font-size: 18px !important;
	border-radius: 12px !important;
	padding: 0 26px !important;
	height: 50px;
	border: 2px solid var(--af-ink) !important;
	cursor: pointer;
}
.af-newsletter-form .wpcf7-not-valid-tip { color: #ff9d95; font-size: 12px; width: 100%; }
.af-newsletter-form .wpcf7-spinner { margin: 0 0 0 8px; }

/* ---------- Klarna + Newsletter side-by-side row ---------- */
.af-promo-row {
	display: grid !important;
	grid-template-columns: 1fr 1.15fr;
	gap: 22px;
	align-items: stretch;
}
.af-promo-row .af-klarna { height: 100%; }
@media (max-width: 900px) {
	.af-promo-row { grid-template-columns: 1fr !important; }
}

/* ---------- Click & Collect + Award side-by-side row ---------- */
.af-collect-row {
	display: grid !important;
	grid-template-columns: 1.55fr 1fr;
	gap: 22px;
	align-items: stretch;
}

.latest-products {
	font-size: 15px;
	color: #ff473d;
	font-weight: 700;
	text-decoration: none;
}

.latest-products span:last-of-type {
	display: none;
}

.af-product-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 18px;
}

@media (max-width: 1140px) {
	.af-collect-row, .af-promo-row, .an-mobile-home-block, .af-product-title {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.af-products-row {
		margin-left: 16px;
	}
}

@media (max-width: 900px) {
	.latest-products span:first-of-type {
		display: none;
	}

	.latest-products span:last-of-type {
		display: block;
	}
	.af-collect-row { grid-template-columns: 1fr !important; }
}

/* ---------- Click & Collect ---------- */
.af-collect-card {
	background: var(--af-cream);
	border: 2px solid var(--af-ink);
	box-shadow: 4px 4px 0 rgba(0,0,0,0.18);
	border-radius: 18px;
	padding: 28px;
	height: 100%;
}
.af-steps-title {
	font-family: var(--af-comic);
	font-size: 30px;
	color: var(--af-ink);
	letter-spacing: 0.02em;
	margin: 0 0 22px;
}
.af-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.dgwt-wcas-search-submit {
	display: none !important;
}

body .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	padding-left: 40px;
}

.af-step { display: flex; flex-direction: column; gap: 11px; }
.af-step-n {
	width: 38px;
	min-width: 38px;
	height: 38px;
	min-height: 38px;
	border-radius: 50%;
	background: var(--af-gold);
	color: var(--af-ink);
	font-family: var(--af-comic);
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--af-ink);
}
.af-step-body { font-size: 13.5px; color: var(--af-body); line-height: 1.45; }
@media (max-width: 767px) {
	.af-steps-grid { grid-template-columns: 1fr; }
	.af-step { flex-direction: row; align-items: flex-start; }
}

/* ---------- Award badge ---------- */
.af-award {
	text-align: center;
	background: var(--af-cream);
	border: 2px solid var(--af-ink);
	box-shadow: 4px 4px 0 rgba(0,0,0,0.18);
	border-radius: 18px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}
.af-award-stars { font-size: 24px; color: #eaa500; letter-spacing: 4px; margin-bottom: 10px; }
.af-award-title { font-family: var(--af-comic); font-size: 26px; color: var(--af-ink); line-height: 1.06; letter-spacing: 0.02em; }
.af-award-sub { font-size: 13.5px; color: #555; margin-top: 10px; }

.anf-block-icons .elementor-image-box-wrapper, .anf-block-icons .elementor-image-box-wrapper .elementor-image-box-content {
	text-align: left !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.anf-block-icons .elementor-image-box-wrapper .elementor-image-box-title {
	color: rgb(255, 210, 63) !important;
}

.anf-block-icons .elementor-image-box-wrapper .elementor-image-box-content .elementor-image-box-title {
	font-family: var(--af-comic) !important;
	font-size: 14px !important;
	line-height: 1.05 !important;
	color: rgb(255, 210, 63) !important;
	letter-spacing: 0.02em !important;
	margin: 0;
}

.anf-block-icons .elementor-image-box-wrapper .elementor-image-box-content .elementor-image-box-description {
	font-size: 12px !important;
	line-height: 1.3 !important;
	color: rgb(164, 157, 149) !important;
	margin: 0;
}

.anf-block-icons .elementor-image-box-wrapper .elementor-image-box-img {
	margin-bottom: 0 !important;
	min-height: 24px;
}

.anf-bg-h100 {
	height: 110px !important;
	margin-bottom: 20px !important;
	position: relative !important;
	z-index: 1 !important;
	background: linear-gradient(rgb(11, 11, 13) 0%, rgba(11, 11, 13, 0.55) 45%, rgba(11, 11, 13, 0) 100%) !important;
}

.anf-block-icons .elementor-image-box-wrapper .elementor-image-box-img img {
	height: auto;
	width: auto;
}

.af-w.af-shopby, .af-w.af-best-deals, .af-promo-row {
	max-width: 1140px;
	margin: 0 auto;
}

/* ---------- About Us + Categories side-by-side row ---------- */
.af-about-row {
	display: flex;
	align-items: center;
	justify-content: center;
}

.af-about-row > .e-con-inner {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}
@media (max-width: 900px) {
	.af-about-row,
	.af-about-row > .e-con-inner { grid-template-columns: 1fr !important; gap: 32px; }
}

/* ---------- About / read-more ---------- */
.af-readmore-title {
	font-family: var(--af-comic);
	font-size: 32px;
	color: var(--af-ink);
	letter-spacing: 0.02em;
	margin: 0 0 14px;
}
.af-readmore p {
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--af-ink);
	margin: 0 0 13px;
}
.af-readmore-extra { display: none; }
.af-readmore-extra.is-open { display: block; }
.af-readmore-btn {
	margin-top: 3px;
	display: inline-block;
	background: var(--af-red) !important;
	color: #fff !important;
	font-family: var(--af-comic) !important;
	font-size: 16px !important;
	letter-spacing: 0.04em;
	padding: 10px 24px !important;
	border-radius: 12px !important;
	border: 2px solid var(--af-ink) !important;
	box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
	cursor: pointer;
}

/* ---------- FAQ accordion ---------- */
.af-faq-title {
	font-family: var(--af-comic);
	font-size: 32px;
	color: var(--af-ink);
	letter-spacing: 0.02em;
	margin: 0 0 12px;
}
.af-faq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 40px;
}
.af-faq-item {
	border-top: 1px solid rgba(0,0,0,0.15);
}

.af-faq-item .af-faq-q {
	width: 100%;
	display: flex;
}

.af-w.af-footer {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
}

.af-faq-item .af-faq-q span:first-of-type {
	font-size: 15px;
	font-weight: 700;
	color: rgb(11, 11, 13);
	line-height: 1.35;
}

.af-faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 2px !important;
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	cursor: pointer;
	text-align: left;
	font-size: 15.5px !important;
	font-weight: 700;
	color: var(--af-ink) !important;
	line-height: 1.35;
	font-family: inherit !important;
}
.af-faq-sign {
	font-size: 24px;
	color: var(--af-red);
	font-weight: 700;
	flex: 0 0 auto;
	line-height: 1;
}
.af-faq-a {
	display: none;
	padding: 0 2px 16px;
}
.af-faq-item.is-open .af-faq-a { display: block; }
.af-faq-a p {
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--af-ink);
	margin: 0;
}
@media (max-width: 767px) {
	.af-faq-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.af-footer { color: #c9c3bb; }
.af-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 34px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.af-footer-logo { height: 52px; width: auto; object-fit: contain; margin-bottom: 18px; display: block; }
.af-footer-address { font-size: 13.5px; color: #a49d95; line-height: 1.65; }
.af-footer-pay { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.af-footer-pay-badge {
	font-size: 12px;
	font-weight: 700;
	color: #c9c3bb;
	background: #1c1a20;
	border-radius: 6px;
	padding: 6px 12px;
}
.af-footer-col { display: flex; flex-direction: column; gap: 12px; }
.af-footer-col-heading {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8b857f;
}
.af-footer-link {
	font-size: 14px;
	color: #c9c3bb !important;
	text-decoration: none !important;
}
.af-footer-link:hover { color: #fff !important; }
.af-footer-legal {
	font-size: 11px;
	color: #6f6a64;
	line-height: 1.6;
	padding-top: 22px;
}
.af-footer-logo-mobile { display: none; }

@media (max-width: 1200px) {
	.af-footer-grid {
		grid-template-columns: max-content max-content;
		justify-content: start;
		column-gap: 56px;
	}
	.af-footer-brand { grid-column: 1 / -1; }
	.af-footer-col-occasions { display: none; }
}
@media (max-width: 767px) {
	/* Mobile footer order per the mockup: logo alone, then Shop/Info
	   side by side (Occasions dropped), then address + payment, then
	   the legal line - not the desktop's 4-column block. Grid areas
	   let two of the four items share a row without adding a wrapper
	   element that the desktop layout doesn't need. */
	.af-footer-logo-mobile { display: block; margin: 0 0 20px; }
	.af-footer-logo-desktop { display: none; }
	.af-footer-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"shop info"
			"brand brand";
		gap: 24px 40px;
	}
	.af-footer-col-shop { grid-area: shop; }
	.af-footer-col-info { grid-area: info; }
	.af-footer-brand { grid-area: brand; margin-top: 4px; }
	.af-footer-col-occasions { display: none; }
}