/*
Theme Name: Discounts Spot
Theme URI: https://discountsspot.com
Author: Discounts Spot
Author URI: https://discountsspot.com
Description: Discounts Spot is a lightning-fast, zero-bloat, custom WordPress theme for discountsspot.com — an American coupon and deals website. It features a Seasonal US Holiday slider with crisp inline SVG artwork, instant client-side search, drag-and-drop coupon ordering per store, verified deal badges, deep Customizer control (brand, colors, hero, footer, contact) and one-click demo content import. No frameworks, no jQuery on the frontend, no icon fonts — just clean CSS Grid, system fonts and vanilla ES6.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: discountsspot
Tags: e-commerce, custom-menu, custom-logo, featured-images, full-width-template, one-column, grid-layout, theme-options, left-sidebar, right-sidebar
*/

/* ==========================================================
   DISCOUNTS SPOT — Design System
   CSS custom properties are overridden live by the Customizer
   (inc/customizer.php). Defaults below are the fallback brand.
   ========================================================== */

:root {
	--ds-primary: #cf1b2b;
	--ds-primary-dark: #a8151f;
	--ds-secondary: #ffb703;
	--ds-button: #1f9d55;
	--ds-button-dark: #177a41;
	--ds-header-bg: #ffffff;
	--ds-footer-bg: #16181d;
	--ds-footer-text: #c9cdd4;
	--ds-body-bg: #f4f5f8;
	--ds-card-border: #e3e6ec;
	--ds-text: #1d2433;
	--ds-muted: #667085;
	--ds-soft: #f0f1f5;
	--ds-white: #ffffff;
	--ds-success: #1f9d55;
	--ds-warning: #b45309;
	--ds-danger: #b42318;

	--ds-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--ds-radius: 14px;
	--ds-radius-sm: 10px;
	--ds-radius-pill: 999px;
	--ds-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
	--ds-shadow-md: 0 6px 18px rgba(16, 24, 40, 0.10);
	--ds-shadow-lg: 0 16px 44px rgba(16, 24, 40, 0.18);
	--ds-container: 1220px;
	--ds-gutter: clamp(16px, 4vw, 32px);
	--ds-transition: 180ms ease;
}

/* ---------- Reset & base ---------- */

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

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

body {
	margin: 0;
	font-family: var(--ds-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ds-text);
	background: var(--ds-body-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
ul, ol { margin: 0 0 1em 1.25em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; color: var(--ds-text); }

.ds-container { width: min(var(--ds-container), 100% - (var(--ds-gutter) * 2)); margin-inline: auto; }

.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;
}

.ds-skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100000;
	background: var(--ds-primary); color: #fff; padding: 12px 20px;
	border-radius: 0 0 var(--ds-radius-sm) 0; font-weight: 700; text-decoration: none;
}
.ds-skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--ds-secondary); outline-offset: 2px; border-radius: 2px; }

.ds-icon { flex: 0 0 auto; vertical-align: -0.15em; }

/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
	background: var(--ds-header-bg);
	position: sticky; top: 0; z-index: 1000;
	border-bottom: 1px solid var(--ds-card-border);
	box-shadow: 0 1px 8px rgba(16, 24, 40, 0.05);
}

.ds-header-inner {
	display: flex; align-items: center; gap: 18px;
	padding: 12px 0;
}

.ds-brand { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ds-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.ds-logo-svg { height: 46px; width: auto; display: block; }
.ds-logo-img { display: block; max-height: 52px; width: auto; }
.ds-tagline { font-size: 11px; color: var(--ds-muted); font-weight: 600; letter-spacing: 0.02em; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ds-search {
	flex: 1 1 auto; display: flex; align-items: center;
	max-width: 620px; margin-inline: auto;
	border: 2px solid var(--ds-card-border); border-radius: var(--ds-radius-pill);
	background: var(--ds-soft); overflow: hidden;
	transition: border-color var(--ds-transition), box-shadow var(--ds-transition), background var(--ds-transition);
}
.ds-search:focus-within { border-color: var(--ds-primary); background: var(--ds-white); box-shadow: 0 0 0 4px rgba(207, 27, 43, 0.12); }
.ds-search-input {
	flex: 1 1 auto; min-width: 0; border: 0; background: transparent;
	font: inherit; padding: 12px 18px; color: var(--ds-text);
}
.ds-search-input:focus { outline: none; }
.ds-search-input::placeholder { color: #98a2b3; }
.ds-search-btn {
	border: 0; background: var(--ds-primary); color: #fff; cursor: pointer;
	padding: 0 22px; align-self: stretch; display: inline-flex; align-items: center; justify-content: center;
	transition: background var(--ds-transition);
}
.ds-search-btn:hover { background: var(--ds-primary-dark); }

.ds-header-phone {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
	text-decoration: none; color: var(--ds-text); font-weight: 700; font-size: 13px;
	border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius-pill); padding: 8px 14px;
	transition: border-color var(--ds-transition), color var(--ds-transition);
}
.ds-header-phone:hover { border-color: var(--ds-primary); color: var(--ds-primary); }
.ds-header-phone small { display: block; font-weight: 600; font-size: 10px; color: var(--ds-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.ds-nav-toggle {
	display: none; border: 1px solid var(--ds-card-border); background: var(--ds-white);
	border-radius: var(--ds-radius-sm); padding: 8px; cursor: pointer; color: var(--ds-text);
}

.ds-primary-nav { border-top: 1px solid var(--ds-card-border); background: var(--ds-header-bg); }
.ds-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ds-menu, .ds-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.ds-menu > li > a {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
	font-size: 14px; font-weight: 700; color: var(--ds-text); text-decoration: none;
	border-radius: var(--ds-radius-sm); transition: color var(--ds-transition), background var(--ds-transition);
}
.ds-menu > li > a:hover, .ds-menu .current-menu-item > a { color: var(--ds-primary); background: rgba(207, 27, 43, 0.07); }
.ds-nav-cta {
	font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--ds-primary); text-decoration: none; white-space: nowrap;
}
.ds-nav-cta:hover { text-decoration: underline; }

/* ==========================================================
   BUTTONS
   ========================================================== */

.ds-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: inherit; font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
	border-radius: var(--ds-radius-sm); border: 0; cursor: pointer; text-decoration: none;
	padding: 12px 22px; transition: transform var(--ds-transition), box-shadow var(--ds-transition), background var(--ds-transition), color var(--ds-transition);
	white-space: nowrap;
}
.ds-btn:active { transform: translateY(1px); }
.ds-btn-primary { background: var(--ds-button); color: #fff; box-shadow: 0 4px 12px rgba(31, 157, 85, 0.35); }
.ds-btn-primary:hover { background: var(--ds-button-dark); }
.ds-btn-brand { background: var(--ds-primary); color: #fff; box-shadow: 0 4px 12px rgba(207, 27, 43, 0.32); }
.ds-btn-brand:hover { background: var(--ds-primary-dark); }
.ds-btn-outline { background: transparent; color: var(--ds-text); border: 2px solid var(--ds-card-border); }
.ds-btn-outline:hover { border-color: var(--ds-primary); color: var(--ds-primary); }
.ds-btn-ghost { background: transparent; color: var(--ds-muted); }
.ds-btn-ghost:hover { color: var(--ds-text); background: var(--ds-soft); }
.ds-btn-lg { padding: 15px 30px; font-size: 15px; border-radius: var(--ds-radius); }

/* ==========================================================
   HERO
   ========================================================== */

.ds-hero {
	background: linear-gradient(160deg, #fff7ed 0%, #fff 55%, #fdf2f2 100%);
	border-bottom: 1px solid var(--ds-card-border);
	padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 44px);
	position: relative; overflow: hidden;
}
.ds-hero::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 183, 3, 0.35), transparent 70%);
	pointer-events: none;
}
.ds-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.ds-hero-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ds-primary);
	background: rgba(207, 27, 43, 0.08); border: 1px solid rgba(207, 27, 43, 0.25);
	padding: 6px 14px; border-radius: var(--ds-radius-pill); margin-bottom: 14px;
}
.ds-hero h1 { font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -0.03em; margin-bottom: 12px; }
.ds-hero h1 .ds-accent { color: var(--ds-primary); }
.ds-hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--ds-muted); max-width: 54ch; margin-bottom: 18px; }

.ds-hero-search { display: flex; gap: 0; border: 2px solid var(--ds-primary); border-radius: var(--ds-radius-pill); overflow: hidden; background: #fff; box-shadow: var(--ds-shadow-md); max-width: 560px; }
.ds-hero-search input { flex: 1 1 auto; min-width: 0; border: 0; padding: 16px 20px; font: inherit; font-size: 16px; }
.ds-hero-search input:focus { outline: none; }
.ds-hero-search button { flex: 0 0 auto; background: var(--ds-primary); color: #fff; border: 0; padding: 0 26px; font-weight: 800; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.ds-hero-search button:hover { background: var(--ds-primary-dark); }

.ds-hero-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--ds-muted); font-weight: 600; }
.ds-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.ds-hero-trust .ds-icon { color: var(--ds-success); }
.ds-live-count { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ds-text); }

.ds-hero-art { display: flex; justify-content: center; align-items: center; }
.ds-hero-art svg { width: min(340px, 100%); height: auto; filter: drop-shadow(0 18px 28px rgba(207, 27, 43, 0.28)); }

.ds-no-results { display: none; background: #fff; border: 1px dashed var(--ds-card-border); border-radius: var(--ds-radius); padding: 18px; text-align: center; color: var(--ds-muted); margin: 12px 0; }
.ds-no-results.is-visible { display: block; }

/* ==========================================================
   SEASONAL HOLIDAY SLIDER
   ========================================================== */

.ds-slider-section { padding-top: 18px; }
.ds-slider {
	position: relative; border-radius: calc(var(--ds-radius) + 4px); overflow: hidden;
	box-shadow: var(--ds-shadow-md); isolation: isolate;
}
.ds-slide-track { display: flex; transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.ds-slide {
	position: relative; flex: 0 0 100%; min-height: 210px;
	display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 12px;
	padding: clamp(20px, 3.5vw, 40px) clamp(20px, 4vw, 44px);
	color: #fff; overflow: hidden;
}
.ds-slide-badge {
	display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800;
	letter-spacing: 0.18em; text-transform: uppercase;
	background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.45);
	padding: 5px 12px; border-radius: var(--ds-radius-pill); margin-bottom: 12px; backdrop-filter: blur(4px);
}
.ds-slide h2 { color: #fff; font-size: clamp(22px, 3.4vw, 38px); letter-spacing: -0.02em; margin-bottom: 8px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.ds-slide p { color: rgba(255, 255, 255, 0.92); font-size: clamp(13px, 1.4vw, 16px); margin-bottom: 14px; max-width: 46ch; }
.ds-slide-btn {
	display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #111;
	font-weight: 800; font-size: 13px; letter-spacing: 0.02em; text-decoration: none;
	padding: 11px 20px; border-radius: var(--ds-radius-pill); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
	transition: transform var(--ds-transition);
}
.ds-slide-btn:hover { transform: translateY(-2px) scale(1.02); }
.ds-slide-art { display: flex; justify-content: center; align-items: center; height: 100%; }
.ds-art { width: clamp(130px, 16vw, 215px); height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4)); }
.ds-slide-image { max-height: 200px; width: auto; border-radius: var(--ds-radius-sm); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }

.ds-slider-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
	background: rgba(0, 0, 0, 0.35); color: #fff; display: flex; align-items: center; justify-content: center;
	backdrop-filter: blur(4px); transition: background var(--ds-transition);
}
.ds-slider-arrow:hover { background: rgba(0, 0, 0, 0.6); }
.ds-slider-prev { left: 10px; }
.ds-slider-next { right: 10px; }
.ds-slider-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.ds-slider-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; padding: 0; transition: transform var(--ds-transition), background var(--ds-transition); }
.ds-slider-dot.is-active { background: #fff; transform: scale(1.35); }

/* ==========================================================
   SECTION SCAFFOLD
   ========================================================== */

.ds-section { padding: clamp(24px, 4vw, 44px) 0; }
.ds-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ds-section-head h2 { font-size: clamp(21px, 2.6vw, 30px); margin-bottom: 4px; }
.ds-section-head p { margin: 0; color: var(--ds-muted); font-size: 14px; }
.ds-section-link { font-size: 13px; font-weight: 800; color: var(--ds-primary); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.ds-section-link:hover { text-decoration: underline; }

/* ==========================================================
   STORE (BRAND) CARDS
   ========================================================== */

.ds-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ds-store-card {
	display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
	background: var(--ds-white); border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius);
	padding: 16px 10px 12px; text-decoration: none; color: inherit;
	transition: transform var(--ds-transition), box-shadow var(--ds-transition), border-color var(--ds-transition);
}
.ds-store-card:hover { transform: translateY(-3px); box-shadow: var(--ds-shadow-md); border-color: var(--ds-primary); }
.ds-store-logo { width: 84px; height: 84px; object-fit: contain; border-radius: var(--ds-radius-sm); background: #fff; }
.ds-store-badge { width: 84px; height: 84px; border-radius: var(--ds-radius-sm); }
.ds-store-name { font-weight: 800; font-size: 14px; line-height: 1.3; }
.ds-store-offers { font-size: 12px; color: var(--ds-success); font-weight: 700; }

/* ==========================================================
   COUPON CARDS (perforated ticket look)
   ========================================================== */

.ds-coupon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ds-coupon-list { display: grid; gap: 14px; }

.coupon-card {
	position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0;
	background: var(--ds-white); border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius);
	overflow: hidden; box-shadow: var(--ds-shadow-sm);
	transition: box-shadow var(--ds-transition), transform var(--ds-transition);
}
.coupon-card:hover { box-shadow: var(--ds-shadow-md); transform: translateY(-2px); }

/* Perforated divider with punched notches */
.coupon-card::before,
.coupon-card::after {
	content: ""; position: absolute; right: 132px; width: 22px; height: 22px;
	border-radius: 50%; background: var(--ds-body-bg); border: 1px solid var(--ds-card-border);
}
.coupon-card::before { top: -12px; }
.coupon-card::after { bottom: -12px; }

.coupon-card__body { padding: 16px 18px 14px; min-width: 0; }
.coupon-card__store { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ds-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.coupon-card__store img, .coupon-card__store .ds-store-badge { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; }
.coupon-card__title { font-size: 17px; font-weight: 800; line-height: 1.3; margin-bottom: 6px; }
.coupon-card__desc { font-size: 13px; color: var(--ds-muted); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coupon-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; color: var(--ds-muted); }
.ds-badge-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ds-success); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.ds-badge-expiry { display: inline-flex; align-items: center; gap: 4px; background: var(--ds-soft); border-radius: var(--ds-radius-pill); padding: 3px 9px; font-weight: 600; }
.ds-badge-expired { display: inline-flex; align-items: center; gap: 4px; background: #fdecec; color: var(--ds-danger); border-radius: var(--ds-radius-pill); padding: 3px 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.ds-badge-type { background: var(--ds-soft); border-radius: var(--ds-radius-pill); padding: 3px 9px; font-weight: 700; color: var(--ds-text); text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em; }

.coupon-card__cta {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 16px; min-width: 132px;
	border-left: 2px dashed var(--ds-card-border);
	background: linear-gradient(180deg, #fffdf5, #fff);
}
.ds-masked-code {
	display: inline-flex; align-items: center; gap: 6px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 12px; font-weight: 700; color: var(--ds-muted);
	border: 1px dashed #c9ccd4; border-radius: 6px; padding: 4px 8px; background: #fff;
	letter-spacing: 0.08em; white-space: nowrap;
}
.ds-coupon-btn { width: 100%; }

/* Expired state — visually dimmed + labeled */
.coupon-card.is-expired { opacity: 0.55; filter: grayscale(0.7); }
.coupon-card.is-expired .coupon-card__cta { background: var(--ds-soft); }

/* ==========================================================
   STORE PAGE HEADER & FILTER TABS
   ========================================================== */

.store-hero {
	background: var(--ds-white); border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius);
	padding: clamp(18px, 3vw, 30px); display: grid; grid-template-columns: auto 1fr auto;
	gap: 22px; align-items: center; margin: 22px 0; box-shadow: var(--ds-shadow-sm);
}
.store-hero__logo { width: 110px; height: 110px; object-fit: contain; border-radius: var(--ds-radius-sm); background: #fff; border: 1px solid var(--ds-card-border); }
.store-hero__badge { width: 110px; height: 110px; }
.store-hero h1 { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.store-hero__desc { color: var(--ds-muted); font-size: 15px; max-width: 70ch; margin-bottom: 10px; }
.store-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ds-muted); font-weight: 600; }
.store-hero__actions { display: flex; flex-direction: column; gap: 8px; }

.ds-filter-tabs { display: flex; gap: 8px; margin: 0 0 16px; border-bottom: 2px solid var(--ds-card-border); padding-bottom: 0; }
.ds-filter-tab {
	border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 14px;
	padding: 10px 18px; cursor: pointer; color: var(--ds-muted);
	border-bottom: 3px solid transparent; margin-bottom: -2px;
	display: inline-flex; align-items: center; gap: 8px; transition: color var(--ds-transition), border-color var(--ds-transition);
}
.ds-filter-tab:hover { color: var(--ds-primary); }
.ds-filter-tab.is-active { color: var(--ds-primary); border-bottom-color: var(--ds-primary); }
.ds-filter-count { background: var(--ds-soft); border-radius: var(--ds-radius-pill); font-size: 11px; padding: 2px 8px; font-variant-numeric: tabular-nums; }
.ds-filter-tab.is-active .ds-filter-count { background: rgba(207, 27, 43, 0.12); color: var(--ds-primary); }

/* ==========================================================
   HOW WE WORK / TRUST STEPS
   ========================================================== */

.ds-how { background: var(--ds-white); border-top: 1px solid var(--ds-card-border); border-bottom: 1px solid var(--ds-card-border); }
.ds-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.ds-how-step {
	position: relative; background: var(--ds-body-bg); border: 1px solid var(--ds-card-border);
	border-radius: var(--ds-radius); padding: 22px 18px 18px; text-align: center;
}
.ds-how-num {
	position: absolute; top: -14px; left: 18px; width: 34px; height: 34px; border-radius: 50%;
	background: var(--ds-primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
	font-size: 15px; box-shadow: 0 4px 10px rgba(207, 27, 43, 0.4);
}
.ds-how-icon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ds-primary); box-shadow: var(--ds-shadow-sm); }
.ds-how-step h3 { font-size: 17px; margin-bottom: 6px; }
.ds-how-step p { font-size: 13px; color: var(--ds-muted); margin: 0; }

/* ==========================================================
   AFTER-CONTENT / SEO BLOCK
   ========================================================== */

.ds-after-content { background: var(--ds-white); border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius); padding: clamp(20px, 3vw, 34px); }
.ds-after-content h2 { font-size: clamp(20px, 2.4vw, 28px); }
.ds-after-content p { color: #3f4756; }

/* ==========================================================
   PAGE / ARCHIVE / TAXONOMY LAYOUTS
   ========================================================== */

.ds-page { background: var(--ds-white); border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius); padding: clamp(22px, 4vw, 44px); margin: 26px auto; max-width: 980px; box-shadow: var(--ds-shadow-sm); }
.ds-page h1 { font-size: clamp(26px, 4vw, 40px); }
.ds-page h2 { font-size: clamp(20px, 2.6vw, 28px); margin-top: 1.4em; }
.ds-page ul li, .ds-page ol li { margin-bottom: 6px; }
.ds-page .ds-contact-list { list-style: none; margin-left: 0; }
.ds-page .ds-contact-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--ds-soft); }
.ds-page .ds-contact-list li:last-child { border-bottom: 0; }

.ds-archive-head { margin: 26px 0 18px; }
.ds-archive-head h1 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 6px; }
.ds-archive-head p { color: var(--ds-muted); margin: 0; max-width: 70ch; }

.ds-breadcrumb { font-size: 12px; color: var(--ds-muted); margin: 18px 0 0; }
.ds-breadcrumb a { color: var(--ds-primary); text-decoration: none; font-weight: 700; }
.ds-breadcrumb a:hover { text-decoration: underline; }

.ds-empty-state { text-align: center; padding: 48px 16px; background: var(--ds-white); border: 1px dashed var(--ds-card-border); border-radius: var(--ds-radius); color: var(--ds-muted); }

.pagination, .ds-pagination { display: flex; gap: 8px; justify-content: center; margin: 26px 0; }
.ds-pagination a, .ds-pagination span { padding: 8px 13px; border: 1px solid var(--ds-card-border); border-radius: var(--ds-radius-sm); background: var(--ds-white); text-decoration: none; color: var(--ds-text); font-weight: 700; font-size: 13px; }
.ds-pagination .current, .ds-pagination a:hover { border-color: var(--ds-primary); color: var(--ds-primary); }

.ds-search-results-grid { display: grid; gap: 14px; margin-top: 16px; }

/* ==========================================================
   MODAL — Get Code / Get Deal popup
   ========================================================== */

.ds-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.ds-modal.is-open { display: flex; }
.ds-modal-overlay { position: absolute; inset: 0; background: rgba(9, 11, 17, 0.66); backdrop-filter: blur(3px); animation: dsFadeIn 200ms ease; }
.ds-modal-dialog {
	position: relative; width: min(480px, 100%); max-height: 92vh; overflow: auto;
	background: var(--ds-white); border-radius: calc(var(--ds-radius) + 4px); box-shadow: var(--ds-shadow-lg);
	padding: 26px 26px 22px; animation: dsSlideUp 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes dsFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dsSlideUp { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.ds-modal-close { position: absolute; top: 10px; right: 10px; border: 0; background: var(--ds-soft); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ds-muted); transition: color var(--ds-transition), transform var(--ds-transition); }
.ds-modal-close:hover { color: var(--ds-text); transform: rotate(90deg); }

.ds-modal-store { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ds-muted); margin-bottom: 10px; }
.ds-modal h2 { font-size: 21px; margin-bottom: 4px; padding-right: 34px; }
.ds-modal-terms { font-size: 13px; color: var(--ds-muted); margin: 10px 0 16px; border-top: 1px solid var(--ds-soft); padding-top: 12px; }

.ds-code-box { text-align: center; background: #fffdf0; border: 2px dashed var(--ds-secondary); border-radius: var(--ds-radius); padding: 18px 14px 14px; margin: 6px 0 14px; }
.ds-code-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ds-muted); font-weight: 800; margin-bottom: 6px; }
.ds-code-value { font-family: "SFMono-Regular", Consolas, monospace; font-size: clamp(20px, 5vw, 28px); font-weight: 800; letter-spacing: 0.14em; color: var(--ds-text); user-select: all; word-break: break-all; }

.ds-copied-badge { display: inline-flex; align-items: center; gap: 6px; background: #e8f7ee; color: var(--ds-success); border: 1px solid #bfe8cf; font-size: 12px; font-weight: 800; border-radius: var(--ds-radius-pill); padding: 6px 14px; margin-top: 10px; }

.ds-copy-again { width: 100%; margin-top: 10px; }
.ds-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ds-deal-success { text-align: center; padding: 8px 0 4px; }
.ds-deal-success .ds-deal-ring { width: 76px; height: 76px; border-radius: 50%; background: #e8f7ee; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--ds-success); }

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer { background: var(--ds-footer-bg); color: var(--ds-footer-text); margin-top: 40px; }
.ds-affiliate-bar { border-bottom: 1px solid rgba(255, 255, 255, 0.09); padding: 14px 0; font-size: 12px; line-height: 1.6; color: #9aa3af; }
.ds-affiliate-bar strong { color: #e5e7eb; }

.ds-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 34px; padding: 38px 0 28px; }
.ds-footer-col h3 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.ds-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-footer-col a { color: var(--ds-footer-text); text-decoration: none; font-size: 14px; }
.ds-footer-col a:hover { color: #fff; text-decoration: underline; }
.ds-footer-logo { height: 42px; width: auto; margin-bottom: 10px; }
.ds-footer-about { font-size: 13px; line-height: 1.7; color: var(--ds-footer-text); }
.ds-footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.ds-footer-contact .ds-icon { color: var(--ds-secondary); margin-top: 2px; }
.ds-footer-contact a { color: var(--ds-footer-text); text-decoration: none; }
.ds-footer-contact a:hover { color: #fff; }

.ds-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 16px 0; }
.ds-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #9aa3af; }
.ds-footer-bottom-inner p { margin: 0; }
.ds-footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.ds-footer-legal a { color: var(--ds-footer-text); text-decoration: none; }
.ds-footer-legal a:hover { color: #fff; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
	.ds-header-phone { display: none; }
	.ds-footer-grid { grid-template-columns: repeat(2, 1fr); }
	.ds-coupon-grid { grid-template-columns: 1fr; }
	.coupon-card::before, .coupon-card::after { right: 128px; }
}

@media (max-width: 880px) {
	.ds-hero-grid { grid-template-columns: 1fr; }
	.ds-hero-art { display: none; }
	.ds-how-grid { grid-template-columns: 1fr; gap: 22px; }
	.ds-slide { grid-template-columns: 1fr; min-height: 190px; }
	.ds-slide-art { display: none; }

	/* Mobile nav */
	.ds-nav-toggle { display: inline-flex; }
	.ds-primary-nav { display: none; border-top: 1px solid var(--ds-card-border); }
	.ds-primary-nav.is-open { display: block; box-shadow: var(--ds-shadow-md); }
	.ds-nav-inner { flex-direction: column; align-items: flex-start; padding: 10px 0 14px; gap: 10px; }
	.ds-menu, .ds-menu ul { flex-direction: column; width: 100%; gap: 2px; }
	.ds-menu > li > a { display: flex; width: 100%; padding: 12px 14px; background: var(--ds-soft); border-radius: var(--ds-radius-sm); }
}

@media (max-width: 640px) {
	.ds-tagline { display: none; }
	.ds-search { order: 3; flex-basis: 100%; max-width: none; }
	.ds-header-inner { flex-wrap: wrap; gap: 10px; }
	.ds-logo-svg { height: 38px; }

	.coupon-card { grid-template-columns: 1fr; }
	.coupon-card::before, .coupon-card::after { display: none; }
	.coupon-card__cta { border-left: 0; border-top: 2px dashed var(--ds-card-border); padding: 12px 16px; flex-direction: row; justify-content: space-between; }
	.ds-coupon-btn { width: auto; flex: 1 1 auto; }

	.store-hero { grid-template-columns: auto 1fr; }
	.store-hero__actions { grid-column: 1 / -1; flex-direction: row; }
	.store-hero__actions .ds-btn { flex: 1; }
	.ds-footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.ds-slider-arrow { width: 34px; height: 34px; }
}

/* ==========================================================
   PRINT
   ========================================================== */

@media print {
	.site-header, .site-footer, .ds-slider-section, .ds-filter-tabs, .ds-modal, .ds-nav-toggle { display: none !important; }
	.coupon-card, .ds-store-card { break-inside: avoid; box-shadow: none; }
}
