/**
 * OfferDock production polish.
 *
 * Small, scoped overrides for the affiliate/coupon launch version.
 */
:root {
	--of-space-1: 8px;
	--of-space-2: 12px;
	--of-space-3: 16px;
	--of-space-4: 24px;
	--of-space-5: 32px;
	--of-card-radius: 10px;
	--of-card-border: #dce7f6;
	--of-card-shadow: 0 18px 45px rgba(2, 16, 47, 0.08);
	--of-primary: #1f69ed;
	--of-accent: #5e94f2;
	--of-text: #1d2d49;
	--of-muted: #657188;
	--of-primary-hover: #1558d4;
	--of-primary-dark: #02102f;
	--of-primary-soft: #eef5ff;
	--of-background: #eef3fa;
	--of-surface: #ffffff;
	--of-muted-light: #9aa3b3;
}

img {
	height: auto;
	max-width: 100%;
}

/* Header and mobile navigation. */
.header-navigation-column {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.offerdock-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid var(--of-card-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(30, 42, 62, 0.08);
	cursor: pointer;
}

.offerdock-menu-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	border-radius: 999px;
	background: var(--of-text);
}

.offerdock-primary-menu {
	width: 100%;
}

.offerdock-primary-menu .main-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--of-space-3);
	flex-wrap: wrap;
}

.offerdock-primary-menu .main-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 4px;
}

/* Consistent cards and media. */
.wrapper-3,
.home-store-card,
.home-offer-card,
.home-guide-card,
.home-category-card,
.home-info-card,
.item-thumb,
.items-landscape>li {
	border-color: var(--of-card-border);
	border-radius: var(--of-card-radius);
	box-shadow: var(--of-card-shadow);
}

.home-card-grid,
.home-category-grid,
.home-info-grid,
.items-carousel .slides,
.stores-carousel .slides {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.home-card-grid>li,
.home-category-grid>li,
.home-info-grid>li {
	display: flex;
	margin-bottom: var(--of-space-4);
}

.home-store-card,
.home-offer-card,
.home-guide-card,
.home-category-card,
.home-info-card,
.item-thumb {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 320px;
	padding: var(--of-space-4);
}

.home-offer-card,
.item-thumb {
	min-height: 340px;
}

.home-info-card,
.home-category-card {
	min-height: 240px;
}

.home-category-card .home-category-card__icon,
.home-info-card .home-info-card__icon {
	margin-bottom: 16px;
}

.home-store-card__logo,
.home-offer-card figure,
.home-guide-card figure,
.item-thumb figure,
.items-landscape figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 130px;
	margin: 0 0 var(--of-space-3);
	padding: var(--of-space-2);
	border-radius: 8px;
	background: #f7f9fb;
	overflow: hidden;
}

.items-landscape figure {
	height: 150px;
	margin-bottom: 0;
}

.home-store-card__logo img,
.home-offer-card figure img,
.home-guide-card figure img,
.item-thumb figure img,
.items-landscape figure img,
.company-box figure img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.home-guide-card figure img {
	object-fit: cover;
}

.company-box figure {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: var(--of-space-3);
	border-radius: 8px;
	background: #f7f9fb;
}

.home-card-title {
	min-height: 44px;
	margin-bottom: var(--of-space-2);
	line-height: 1.3;
}

.home-card-text {
	flex: 1 1 auto;
	min-height: 76px;
	margin-bottom: var(--of-space-3);
}

.home-card-footer,
.home-offer-card .bottom,
.item-thumb .bottom {
	display: flex;
	flex-direction: column;
	gap: var(--of-space-2);
	margin-top: auto;
}

.home-card-meta {
	color: var(--of-muted);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}

.offer-code-badge {
	display: block;
	width: 100%;
	padding: 8px 10px;
	border: 2px dashed rgba(244, 84, 53, 0.45);
	border-radius: 8px;
	background: #fff7f4;
	color: var(--of-accent);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	word-break: break-word;
}

.home-offer-card .input.button,
.item-thumb .input.button,
.items-landscape .input.button,
.home-store-card .input.button,
.home-guide-card .input.button {
	width: 100%;
	border-radius: 8px;
}

.items-landscape>li {
	margin-bottom: var(--of-space-4);
}

.items-landscape .row {
	display: flex;
	align-items: stretch;
}

.items-landscape .columns {
	display: flex;
	flex-direction: column;
}

.items-landscape .col-middle,
.items-landscape .col-right {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
}

.items-landscape .col-right {
	gap: var(--of-space-2);
	align-items: stretch;
}

/* Sticky store sidebar. */
.store-section-nav {
	position: sticky;
	top: 24px;
	z-index: 5;
}

.admin-bar .store-section-nav {
	top: 56px;
}

.store-section-nav__inner {
	border: 1px solid var(--of-card-border);
	border-radius: var(--of-card-radius);
	box-shadow: var(--of-card-shadow);
}

/* Standard section rhythm. */
.stripe-regular,
.stripe-white.big {
	padding-top: 48px;
	padding-bottom: 56px;
}

.home-section-action {
	margin-top: var(--of-space-3);
}

.home-section-intro {
	max-width: 820px;
	margin: 0 auto var(--of-space-5);
	color: var(--of-muted);
}

/* Offers archive without filter sidebar. */
.post-type-archive-offer .coupons-wrapper,
.tax-offer_type .coupons-wrapper {
	max-width: 100%;
}

/* Search bar placeholder area polish. */
.search-wrap .input.field {
	border-radius: 8px;
	box-sizing: border-box;
}

.search-wrap .input.button {
	border-radius: 8px;
}

@media only screen and (max-width: 1024px) {
	.items-landscape .row {
		display: block;
	}

	.items-landscape figure {
		height: 140px;
		margin-bottom: var(--of-space-3);
	}
}

@media only screen and (max-width: 767px) {
	.top-wrap {
		position: relative;
		z-index: 50;
	}

	.top-wrap .row {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.top-wrap .large-3.columns,
	.top-wrap .header-navigation-column {
		float: none;
		width: auto;
		margin-bottom: 0;
	}

	.offerdock-menu-toggle {
		display: inline-block;
	}

	.offerdock-primary-menu {
		position: absolute;
		top: calc(100% + 10px);
		left: 15px;
		right: 15px;
		display: none;
		width: auto;
		padding: var(--of-space-3);
		border: 1px solid var(--of-card-border);
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 18px 50px rgba(30, 42, 62, 0.18);
	}

	.offerdock-primary-menu.is-open {
		display: block;
	}

	.offerdock-primary-menu .main-menu {
		display: block;
	}

	.offerdock-primary-menu .main-menu li {
		display: block;
		width: 100%;
		border-bottom: 1px solid #eef0f3;
	}

	.offerdock-primary-menu .main-menu li:last-child {
		border-bottom: 0;
	}

	.offerdock-primary-menu .main-menu a {
		display: flex;
		justify-content: space-between;
		width: 100%;
		min-height: 46px;
		padding: 12px 6px;
		color: var(--of-text);
		font-weight: 700;
	}

	.home-card-grid>li,
	.home-category-grid>li,
	.home-info-grid>li {
		width: 100%;
	}

	.home-store-card,
	.home-offer-card,
	.home-guide-card,
	.home-category-card,
	.home-info-card,
	.item-thumb {
		min-height: auto;
	}

	.home-card-title,
	.home-card-text {
		min-height: 0;
	}

	.search-wrap .small-6,
	.search-wrap .small-3 {
		width: 100%;
		margin-bottom: var(--of-space-2);
	}

	.store-section-nav {
		position: static;
		margin-top: var(--of-space-4);
	}
}


/* OfferDock brand palette: light software-deals look from the new placeholder artwork. */
body {
	background: var(--of-background);
	color: var(--of-text);
}

a,
a:visited,
h2 a,
.ui-links a.current,
.ui-links a:hover,
.subtitle a,
.tags a,
p.text a,
.text-content a,
.footer-menu a:hover {
	color: var(--of-primary);
}

h1.alt,
h2.alt,
h2.alt a,
h3,
h5.alt,
.value.primary,
.logo a,
.offerdock-primary-menu .main-menu a {
	color: var(--of-primary-dark);
}

h2,
h2 span,
h4,
h6,
p.text.secondary,
.home-card-meta,
.pre-footer-wrap p,
.pre-footer-wrap ul,
.footer-wrap .copyright {
	color: var(--of-muted);
}

header[role="banner"] {
	background:
		radial-gradient(circle at 12% 18%, rgba(31, 105, 237, 0.12) 0 2px, transparent 3px),
		linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
	color: var(--of-primary-dark);
}

header[role="banner"].allpages h1,
header[role="banner"] .h1,
header[role="banner"] h1 {
	color: var(--of-primary-dark);
}

.top-wrap {
	background: rgba(255, 255, 255, 0.78);
	border-bottom: 1px solid var(--of-card-border);
	box-shadow: 0 12px 35px rgba(2, 16, 47, 0.05);
	color: var(--of-primary-dark);
}

.offerdock-primary-menu .main-menu a:hover,
.offerdock-primary-menu .main-menu .current-menu-item>a,
.offerdock-primary-menu .main-menu .current_page_item>a {
	color: var(--of-primary);
}

.stripe-white,
.wrapper-3,
.wrapper-5,
.home-store-card,
.home-offer-card,
.home-guide-card,
.home-category-card,
.home-info-card,
.item-thumb,
.items-landscape>li,
.company-box figure,
.store-section-nav__inner {
	background: var(--of-surface);
	border-color: var(--of-card-border);
}

.home-store-card__logo,
.home-offer-card figure,
.home-guide-card figure,
.item-thumb figure,
.items-landscape figure,
.company-box figure {
	background: linear-gradient(180deg, #f8fbff 0%, var(--of-primary-soft) 100%);
}

.input.field,
.input.border {
	background: #f8fbff;
	border-color: var(--of-card-border);
	color: var(--of-text);
}

.input.field:focus,
.input.border.high {
	background: #fff;
	border-color: var(--of-primary);
	box-shadow: 0 0 0 3px rgba(31, 105, 237, 0.12);
	color: var(--of-text);
}

.input.field::-webkit-input-placeholder {
	color: var(--of-muted-light);
}

.input.field::-moz-placeholder {
	color: var(--of-muted-light);
}

.input.field:-ms-input-placeholder {
	color: var(--of-muted-light);
}

.input.button,
.input.red,
.input.blue,
.input.red.blue-h:hover,
.item-thumb:hover .input {
	background: linear-gradient(135deg, var(--of-primary) 0%, #5e94f2 100%);
	box-shadow: 0 10px 22px rgba(31, 105, 237, 0.18);
	color: #fff;
}

.input.button:hover,
.input.red:hover,
.input.blue:hover,
.item-thumb:hover .input:hover {
	background: linear-gradient(135deg, var(--of-primary-hover) 0%, var(--of-primary) 100%);
	box-shadow: 0 12px 26px rgba(31, 105, 237, 0.24);
	color: #fff;
}

.input.dark,
.input.dark:hover,
.stripe-dark,
.stripe-darker,
.main-slider-wrap {
	background: var(--of-primary-dark);
}

.newsletter-wrap.stripe-white {
	background: #f8fbff;
}

.offer-code-badge {
	background: var(--of-primary-soft);
	border-color: rgba(31, 105, 237, 0.32);
	color: var(--of-primary);
}

.blog-summary .col-right .input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.65em 1em;
	line-height: 1.2;
}

.blog-summary h2.alt a:hover,
.item-thumb:hover h2 {
	color: var(--of-primary);
	text-decoration: none;
}

.search-wrap.stripe-white {
	background: rgba(255, 255, 255, 0.92);
}

.offerdock-menu-toggle {
	border-color: var(--of-card-border);
}

.offerdock-menu-toggle__bar {
	background: var(--of-primary-dark);
}

.offerdock-primary-menu {
	border-color: var(--of-card-border);
}

footer .stripe-dark {
	background: #071a43;
}

footer .stripe-darker {
	background: #02102f;
}

footer h3,
footer .logo a {
	color: #fff;
}

footer a:hover {
	color: #5e94f2;
}

@media only screen and (max-width: 1024px) {
	.blog-summary .col-right .input.button {
		width: 100%;
	}
}

.offerdock-primary-menu.is-open {
	border-radius: 0;
	border: 0;
	position: fixed;
	top: 92px;
	left: 0;
	right: 0;
	bottom: 0;
}

.newsletter-wrap.stripe-white {
	display: none;
}