.footer-title {
	display: block;
	margin-bottom: 14px;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.home #content { display: flex; flex-direction: column; }
body { font-size: calc(16px * var(--amt-font-scale)); }
body.home .hero { order: 0; }
.brand-name { white-space: nowrap; }
.header-search-toggle { width: 42px; height: 42px; display: none; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); }
.header-search-toggle svg, .search-submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-submit { display: grid; place-items: center; }
.search-submit::after { content: none; }
.amt-header-static .site-header { position: relative; }
.amt-font-modern { font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.amt-font-rounded { font-family: ui-rounded, "Nunito", system-ui, sans-serif; }
.amt-font-editorial { font-family: Georgia, "Times New Roman", serif; }
.amt-font-editorial .site-nav, .amt-font-editorial button, .amt-font-editorial input, .amt-font-editorial select, .amt-font-editorial .eyebrow { font-family: ui-sans-serif, system-ui, sans-serif; }
.offer-grid { grid-template-columns: repeat(var(--amt-columns),minmax(0,1fr)); }
.amt-cards-bordered .offer-card { box-shadow: none; border-width: 2px; }
.amt-cards-minimal .offer-card { box-shadow: none; border-color: transparent; }
.deal-button { background: var(--amt-button); }
.amt-buttons-outline .deal-button { border: 2px solid var(--amt-button); background: transparent; color: var(--amt-button); box-shadow: none; }
.offer-media { position: relative; overflow: hidden; }
.offer-media img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); max-width: none; object-fit: contain; }
.offer-media .discount-badge { z-index: 2; }
.offer-media.has-image-error img { display: none; }
.offer-media.has-image-error::after { content: "%"; color: #d7d3fa; font-size: 62px; font-weight: 900; }
.price-unavailable { color: var(--muted); font-size: 15px !important; letter-spacing: 0 !important; }
.single-copy .entry-content > figure:first-of-type { display: none; }

.hero-search { display: flex; max-width: 620px; margin-top: 28px; padding: 6px; border-radius: 15px; background: #fff; box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.hero-search input { min-width: 0; flex: 1; padding: 0 16px; border: 0; outline: 0; font: inherit; }
.hero-search button, .hero-cta, .social-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 11px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.hero-search button, .hero-cta { background: var(--amt-accent); color: #211800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.social-button { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff; }
.social-button:hover { background: rgba(255,255,255,.2); }
.header-social { min-height: 42px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 12px; background: var(--amt-brand); color: #fff; font-size: 13px; font-weight: 800; }
.header-social:hover { filter: brightness(1.08); }
.header-social-telegram { background: #168bd2; }
.header-social-facebook { background: #1877f2; }
.header-social-discord { background: #5865f2; }
.footer-disclosure a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.footer-social { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.09); color: #fff; font-size: 13px; font-weight: 800; }
.footer-social:hover { background: rgba(255,255,255,.16); }
.home-block { padding-top: 58px; }
.category-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.category-card { display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(23,28,48,.04); }
.category-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb,var(--amt-brand) 35%,var(--line)); }
.category-icon { grid-row: 1 / 3; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: var(--soft); font-size: 22px; }
.category-card strong { line-height: 1.2; }
.category-card small { color: var(--muted); }
.featured-section { padding-bottom: 10px; }
.offer-controls { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.offer-controls label { color: var(--muted); font-size: 12px; font-weight: 750; }
.offer-controls select { width: 100%; height: 42px; display: block; margin-top: 5px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #f8f9fc; color: var(--ink); font: inherit; font-size: 14px; }
.offer-card[hidden], .filter-empty[hidden], .load-more[hidden] { display: none; }
.load-more { min-height: 46px; display: block; margin: 28px auto 0; padding: 0 22px; border: 1px solid var(--amt-brand); border-radius: 11px; background: #fff; color: var(--amt-brand); font: inherit; font-weight: 800; cursor: pointer; }
.merchant-section { padding: 62px 0 78px; background: #eceef7; }
.merchant-deals + .merchant-deals { margin-top: 48px; }
.merchant-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.merchant-head h3 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.merchant-head a { color: var(--amt-brand); font-size: 14px; font-weight: 800; }

@media (max-width: 780px) {
	.offer-grid { grid-template-columns: repeat(var(--amt-mobile-columns),minmax(0,1fr)); }
	.category-cards, .offer-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.header-search-toggle { display: grid; }
	.header-inner { gap: 8px; }
	.header-inner .brand { min-width: 0; margin-right: auto; }
	.header-inner .brand-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
	.nav-toggle { margin-left: 0; order: 4; }
	.header-search-toggle { order: 3; }
	.header-actions { position: absolute; top: 66px; right: 14px; left: 14px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
	.header-actions.is-search-open { display: flex; }
	.header-actions .search-form { display: block; flex: 1; }
	.header-actions .search-field { width: 100%; }
}
@media (max-width: 520px) {
	.hero-search { display: grid; }
	.hero-search input { min-height: 48px; }
	.category-cards { grid-template-columns: 1fr; }
	.offer-controls { grid-template-columns: 1fr; }
	.offer-media img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
	.header-inner .brand-name { max-width: 112px; }
}

@media (min-width: 781px) and (max-width: 1050px) {
	.offer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* Hero background and bounded offer count. */
.hero { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero::after { display: var(--amt-hero-decoration, block); }
.hero-stat { width: 190px; min-width: 0; max-width: 100%; }
.hero-stat strong { white-space: nowrap; font-size: clamp(28px, 3vw, 36px); }
.hero-stat .screen-reader-text { margin: 0; }
