/*
 * Descuentium Child — redesign.css
 *
 * Capa de rediseño v3 que se aplica sobre las plantillas reescritas en el
 * child (header.php, footer.php, tpl-inicio.php, taxonomy-stores.php,
 * single-coupon.php, loop-coupon.php).
 *
 * - Sistema de tokens propio (cream + amarillo de marca + neutros cálidos).
 * - Componentes con namespace .dc-*.
 * - Mantiene compat con clases legacy (cupon, caducado) por si front-refresh
 *   las usa.
 */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* =========================================================
 * Tokens — paleta cálida editorial
 * ========================================================= */

:root {
	--dc-brand:        #fadc5c;
	--dc-brand-strong: #f5cd2a;
	--dc-brand-deep:   #b89519;

	--dc-ink:          #1a1d24;
	--dc-ink-soft:     #3b414f;
	--dc-ink-muted:    #6b7280;
	--dc-ink-faint:    #9ca3af;

	--dc-cream:        #faf7ee;
	--dc-cream-2:      #f5f1e2;
	--dc-paper:        #ffffff;
	--dc-line:         #e8e3d5;
	--dc-line-soft:    #f0ebde;

	--dc-success:      #15803d;
	--dc-success-soft: #dcfce7;
	--dc-danger:       #b91c1c;
	--dc-warning:      #b45309;

	--dc-shadow-xs: 0 1px 2px rgba(26, 29, 36, 0.04);
	--dc-shadow-sm: 0 2px 6px rgba(26, 29, 36, 0.06), 0 1px 2px rgba(26, 29, 36, 0.04);
	--dc-shadow-md: 0 8px 18px rgba(26, 29, 36, 0.07), 0 2px 6px rgba(26, 29, 36, 0.05);
	--dc-shadow-lg: 0 18px 38px rgba(26, 29, 36, 0.10), 0 4px 12px rgba(26, 29, 36, 0.06);

	--dc-r-sm: 8px;
	--dc-r:    12px;
	--dc-r-lg: 18px;
	--dc-r-xl: 24px;

	--dc-container: 1200px;
	--dc-gap: 24px;
}

/* =========================================================
 * Reset suave + base — solo para el body del child
 * ========================================================= */

body.dc-body,
body.wp-child-theme-descuentium-child {
	background: var(--dc-cream);
	color: var(--dc-ink);
	font-family: 'DM Sans', system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}

/* Override refresh.css Inter declarations with higher specificity */
body.wp-child-theme-descuentium-child,
body.wp-child-theme-descuentium-child p,
body.wp-child-theme-descuentium-child li,
body.wp-child-theme-descuentium-child td,
body.wp-child-theme-descuentium-child div {
	font-family: 'DM Sans', system-ui, sans-serif;
}

body.dc-body #wrapper,
body.wp-child-theme-descuentium-child .dc-wrapper {
	background: var(--dc-cream);
}
body.dc-body .dc-main {
	display: block;
}

body.dc-body .bg { display: none; }
body.dc-body .w1 { background: transparent; }

.dc-skip {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.dc-skip:focus {
	position: fixed;
	left: 16px;
	top: 16px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	background: var(--dc-ink);
	color: var(--dc-brand);
	font-weight: 700;
	border-radius: var(--dc-r-sm);
	z-index: 9999;
}

/* =========================================================
 * Layout primitives
 * ========================================================= */

.dc-container {
	max-width: var(--dc-container);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.dc-section {
	padding: 56px 0;
}
.dc-section + .dc-section {
	padding-top: 0;
}

.dc-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.dc-section__head--center {
	text-align: center;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}
.dc-section__title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--dc-ink);
}
.dc-section__sub {
	margin: 8px 0 0;
	color: var(--dc-ink-soft);
	font-size: 16px;
	max-width: 680px;
}
.dc-section__head--center .dc-section__sub {
	text-align: center;
}
.dc-section__link {
	font-weight: 600;
	color: var(--dc-ink);
	font-size: 15px;
	text-decoration: none;
	border-bottom: 2px solid var(--dc-brand);
	padding-bottom: 1px;
	transition: color 0.15s, border-color 0.15s;
}
.dc-section__link:hover {
	color: var(--dc-brand-deep);
	border-color: var(--dc-brand-deep);
	text-decoration: none;
}
.dc-section__more {
	margin-top: 32px;
	text-align: center;
}

.dc-hl {
	background: linear-gradient(180deg, transparent 62%, var(--dc-brand) 62%);
	padding: 0 4px;
}

/* =========================================================
 * Buttons
 * ========================================================= */

.dc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -0.005em;
	text-decoration: none !important;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.1s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
	font-family: inherit;
	line-height: 1;
}
.dc-btn--brand {
	background: var(--dc-brand);
	color: var(--dc-ink) !important;
	border-color: var(--dc-brand);
	box-shadow: 0 2px 0 rgba(0,0,0,0.04), inset 0 -2px 0 rgba(0,0,0,0.06);
}
.dc-btn--brand:hover {
	background: var(--dc-brand-strong);
	transform: translateY(-1px);
	color: var(--dc-ink) !important;
}
.dc-btn--dark {
	background: var(--dc-ink);
	color: #fff !important;
	border-color: var(--dc-ink);
}
.dc-btn--dark:hover {
	background: #000;
	transform: translateY(-1px);
}
.dc-btn--ghost {
	background: transparent;
	color: var(--dc-ink) !important;
	border-color: var(--dc-line);
}
.dc-btn--ghost:hover {
	background: var(--dc-paper);
	border-color: var(--dc-ink);
}
.dc-btn--lg {
	padding: 16px 32px;
	font-size: 16px;
}

/* =========================================================
 * Shell — header
 * ========================================================= */

body.dc-body .dc-shell-header {
	background: var(--dc-paper);
	border-bottom: 1px solid var(--dc-line);
	position: sticky;
	top: 0;
	z-index: 100;
}

/* ----- Topbar (stats) ----- */
.dc-topbar {
	background: var(--dc-ink);
	color: rgba(255, 255, 255, 0.78);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.005em;
}
.dc-topbar__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 7px;
	padding-bottom: 7px;
}
.dc-topbar__stat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.dc-topbar__stat strong {
	color: var(--dc-brand);
	font-weight: 800;
	letter-spacing: -0.005em;
}
.dc-topbar__stat--check {
	color: var(--dc-brand);
}
.dc-topbar__stat--check span { color: var(--dc-brand); }
.dc-topbar__stat--date { margin-left: auto; color: rgba(255,255,255,0.55); }
.dc-topbar__sep {
	color: rgba(255,255,255,0.25);
}
.dc-shell-header__row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 14px 24px;
}
.dc-shell-header .dc-logo {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}
/* Specificity boost: refresh.css fija `body.wp-child-theme-... img { height:auto }` (0,1,2)
 * y le ganamos con (0,2,1). */
body.dc-body .dc-shell-header .dc-logo__img,
body.wp-child-theme-descuentium-child .dc-shell-header .dc-logo__img {
	height: 36px !important;
	width: auto !important;
	max-width: none;
	display: block;
}

/* Search bar */
.dc-search {
	flex: 1;
	max-width: 520px;
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 0;
	background: var(--dc-cream-2);
	border: 1.5px solid transparent;
	border-radius: 999px;
	padding: 4px 4px 4px 16px;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.dc-search:focus-within {
	background: var(--dc-paper);
	border-color: var(--dc-brand-deep);
	box-shadow: 0 0 0 4px rgba(245, 205, 42, 0.18);
}
.dc-search__icon {
	width: 18px;
	height: 18px;
	color: var(--dc-ink-muted);
	flex-shrink: 0;
}
.dc-search__input {
	flex: 1;
	border: none !important;
	background: transparent !important;
	padding: 10px 12px !important;
	font-size: 15px !important;
	font-family: inherit !important;
	color: var(--dc-ink) !important;
	outline: none !important;
	box-shadow: none !important;
	height: auto !important;
	min-width: 0;
}
.dc-search__input::placeholder { color: var(--dc-ink-muted); }
.dc-search__submit {
	flex-shrink: 0;
	background: var(--dc-ink) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 10px 22px !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	font-family: inherit !important;
	cursor: pointer;
	transition: background 0.15s !important;
	height: auto !important;
}
.dc-search__submit:hover { background: #000 !important; }

.dc-nav-toggle {
	display: none;
	background: transparent;
	border: 1.5px solid var(--dc-line);
	border-radius: 10px;
	padding: 8px 10px;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;
}
.dc-nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--dc-ink);
	border-radius: 2px;
}

.dc-nav {
	border-top: 1px solid var(--dc-line-soft);
	background: var(--dc-paper);
}
.dc-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.dc-nav__item {
	margin: 0;
	padding: 0;
}
/* Specificity boost: refresh.css define `body.wp-child-theme-... a { color:#1d4ed8 }`
 * (0,1,1) y le ganamos con (0,2,1). */
body.dc-body .dc-nav .dc-nav__item a,
body.dc-body .dc-nav .dc-nav__item a:link,
body.dc-body .dc-nav .dc-nav__item a:visited,
body.wp-child-theme-descuentium-child .dc-nav .dc-nav__item a {
	display: inline-block;
	padding: 14px 18px;
	color: var(--dc-ink) !important;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	transition: color 0.15s;
	position: relative;
}
body.dc-body .dc-nav .dc-nav__item a:hover { color: var(--dc-brand-deep) !important; }
body.dc-body .dc-nav .dc-nav__item.is-active a { color: var(--dc-ink) !important; }
.dc-nav__item.is-active a::after {
	content: '';
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 8px;
	height: 3px;
	background: var(--dc-brand);
	border-radius: 3px;
}

/* =========================================================
 * Newsletter band
 *
 * Subimos specificity con `body.dc-body .dc-newsletter ...` (0,2,1) para
 * ganar a refresh.css `body.wp-child-theme-... h2/p { color:dark }` (0,1,2).
 * ========================================================= */

body.dc-body .dc-newsletter,
body.wp-child-theme-descuentium-child .dc-newsletter {
	background: var(--dc-ink);
	color: #fff;
	padding: 40px 0;
	margin-top: 80px;
}
.dc-newsletter__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
}
body.dc-body .dc-newsletter .dc-newsletter__title,
body.wp-child-theme-descuentium-child .dc-newsletter .dc-newsletter__title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff !important;
}
body.dc-body .dc-newsletter .dc-newsletter__title em,
body.wp-child-theme-descuentium-child .dc-newsletter .dc-newsletter__title em {
	color: var(--dc-brand) !important;
	font-style: normal;
}
body.dc-body .dc-newsletter .dc-newsletter__text,
body.wp-child-theme-descuentium-child .dc-newsletter .dc-newsletter__text {
	margin: 0;
	color: rgba(255,255,255,0.72) !important;
	font-size: 16px;
}

/* =========================================================
 * Shell — footer
 * ========================================================= */

body.dc-body .dc-shell-footer,
body.wp-child-theme-descuentium-child .dc-shell-footer {
	background: #0e1117;
	color: rgba(255,255,255,0.72);
	padding: 56px 0 0;
}
.dc-shell-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}

/* Override masivo de colores dentro del footer — necesario porque
 * refresh.css fija textos oscuros con `body.wp-child-...` (0,1,1+). */
body.dc-body .dc-shell-footer p,
body.dc-body .dc-shell-footer li,
body.dc-body .dc-shell-footer a,
body.dc-body .dc-shell-footer a:link,
body.dc-body .dc-shell-footer a:visited,
body.dc-body .dc-shell-footer span,
body.dc-body .dc-shell-footer strong,
body.wp-child-theme-descuentium-child .dc-shell-footer p,
body.wp-child-theme-descuentium-child .dc-shell-footer li,
body.wp-child-theme-descuentium-child .dc-shell-footer a,
body.wp-child-theme-descuentium-child .dc-shell-footer span,
body.wp-child-theme-descuentium-child .dc-shell-footer strong {
	color: rgba(255,255,255,0.72) !important;
}
body.dc-body .dc-shell-footer h2,
body.dc-body .dc-shell-footer h3,
body.dc-body .dc-shell-footer h4,
body.dc-body .dc-shell-footer .dc-shell-footer__title,
body.wp-child-theme-descuentium-child .dc-shell-footer h2,
body.wp-child-theme-descuentium-child .dc-shell-footer h3,
body.wp-child-theme-descuentium-child .dc-shell-footer h4,
body.wp-child-theme-descuentium-child .dc-shell-footer .dc-shell-footer__title {
	color: #fff !important;
}
body.dc-body .dc-shell-footer a:hover,
body.wp-child-theme-descuentium-child .dc-shell-footer a:hover {
	color: var(--dc-brand) !important;
	text-decoration: none !important;
}

.dc-shell-footer__pitch {
	font-size: 15px;
	line-height: 1.65;
	margin: 16px 0 0;
}
body.dc-body .dc-shell-footer__logo img,
body.wp-child-theme-descuentium-child .dc-shell-footer__logo img {
	max-height: 38px !important;
	height: auto;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}
.dc-shell-footer__title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 14px;
}
.dc-shell-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.dc-shell-footer__list li {
	margin: 0 0 8px;
}
.dc-shell-footer__list a {
	font-size: 14.5px;
	text-decoration: none !important;
	transition: color 0.15s;
}
.dc-shell-footer__bar {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 20px 0;
}
.dc-shell-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}
body.dc-body .dc-shell-footer__copy,
body.dc-body .dc-shell-footer__legal,
body.wp-child-theme-descuentium-child .dc-shell-footer__copy,
body.wp-child-theme-descuentium-child .dc-shell-footer__legal {
	margin: 0;
	font-size: 13px;
	color: rgba(255,255,255,0.55) !important;
}
.dc-shell-footer__legal {
	max-width: 600px;
	text-align: right;
}

/* =========================================================
 * Hero (home)
 * ========================================================= */

.dc-hero {
	padding: 64px 0 56px;
	background:
		radial-gradient(ellipse 900px 500px at 105% -5%, rgba(250, 220, 92, 0.55), transparent 55%),
		radial-gradient(ellipse 500px 600px at -10% 105%, rgba(250, 220, 92, 0.25), transparent 60%),
		radial-gradient(ellipse 600px 300px at 50% 50%, rgba(250, 220, 92, 0.06), transparent 80%),
		var(--dc-cream);
}
.dc-hero__inner {
	max-width: 880px;
	text-align: center;
	margin: 0 auto;
}
.dc-hero__eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--dc-ink-soft);
	background: var(--dc-paper);
	padding: 7px 16px;
	border-radius: 999px;
	margin: 0 0 24px;
	border: 1px solid var(--dc-line);
}
.dc-hero__title {
	font-size: 48px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--dc-ink);
	margin: 0 0 16px;
}
.dc-hero__lead {
	font-size: 18px;
	line-height: 1.55;
	color: var(--dc-ink-soft);
	margin: 0 auto 28px;
	max-width: 640px;
}

.dc-hero__search {
	display: flex;
	max-width: 580px;
	margin: 0 auto 28px;
	background: var(--dc-paper);
	border: 1.5px solid var(--dc-line);
	border-radius: 999px;
	padding: 6px 6px 6px 20px;
	align-items: center;
	gap: 0;
	box-shadow: var(--dc-shadow-md);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.dc-hero__search:focus-within {
	border-color: var(--dc-brand-deep);
	box-shadow: 0 0 0 5px rgba(245, 205, 42, 0.20);
}
.dc-hero__search-icon {
	width: 20px;
	height: 20px;
	color: var(--dc-ink-muted);
	flex-shrink: 0;
}
.dc-hero__search-input {
	flex: 1;
	border: none !important;
	background: transparent !important;
	padding: 14px 14px !important;
	font-size: 16px !important;
	font-family: inherit !important;
	color: var(--dc-ink) !important;
	outline: none !important;
	height: auto !important;
	min-width: 0;
}
.dc-hero__search-submit {
	flex-shrink: 0;
	background: var(--dc-ink);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 12px 26px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s;
}
.dc-hero__search-submit:hover { background: #000; }

.dc-hero__stats {
	display: flex;
	justify-content: center;
	gap: 48px;
	margin: 32px 0 0;
}
.dc-hero__stat {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.dc-hero__stat dt {
	font-size: 13px;
	font-weight: 600;
	color: var(--dc-ink-muted);
	letter-spacing: 0.02em;
	order: 2;
}
.dc-hero__stat dd {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	color: var(--dc-ink);
	letter-spacing: -0.02em;
	order: 1;
}

/* =========================================================
 * Trending stores (home)
 * ========================================================= */

.dc-trending__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px;
}
.dc-trending__item { margin: 0; }
.dc-trending__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 18px 12px;
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r);
	text-decoration: none !important;
	color: var(--dc-ink) !important;
	transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
	height: 100%;
	box-sizing: border-box;
}
.dc-trending__card:hover {
	border-color: var(--dc-brand);
	box-shadow: var(--dc-shadow-sm);
	transform: translateY(-2px);
	text-decoration: none !important;
}
.dc-trending__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--dc-cream-2);
	border-radius: 12px;
}
.dc-trending__logo {
	max-width: 44px;
	max-height: 44px;
	object-fit: contain;
}
.dc-trending__name {
	font-weight: 700;
	font-size: 14px;
	text-align: center;
	color: var(--dc-ink);
}
.dc-trending__count {
	font-size: 12px;
	color: var(--dc-ink-muted);
	font-weight: 500;
}

/* =========================================================
 * Categories grid (home)
 * ========================================================= */

.dc-categories__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}
.dc-cat-card {
	display: block;
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r-lg);
	overflow: hidden;
	text-decoration: none !important;
	color: var(--dc-ink) !important;
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
	height: 100%;
}
.dc-cat-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--dc-shadow-md);
	border-color: var(--dc-brand);
	text-decoration: none !important;
}
.dc-cat-card__media {
	display: block;
	width: 100%;
	height: 160px;
	background-size: cover;
	background-position: center;
	background-color: var(--dc-cream-2);
}
.dc-cat-card__body {
	display: block;
	padding: 20px 22px;
}
.dc-cat-card__count {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--dc-success);
	background: var(--dc-success-soft);
	padding: 4px 10px;
	border-radius: 999px;
	margin: 0 0 10px;
}
.dc-cat-card__title {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--dc-ink);
}
.dc-cat-card__blurb {
	font-size: 14px;
	line-height: 1.5;
	color: var(--dc-ink-soft);
	margin: 0 0 12px;
}
.dc-cat-card__blurb a {
	color: var(--dc-ink-soft) !important;
	border-bottom: 1px dotted var(--dc-line);
	text-decoration: none !important;
}
.dc-cat-card__cta {
	font-size: 14px;
	font-weight: 700;
	color: var(--dc-ink);
	border-bottom: 2px solid var(--dc-brand);
}

/* =========================================================
 * Latest coupons (home)
 * ========================================================= */

.dc-latest__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
}
.dc-latest__card {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 16px;
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r);
	padding: 18px;
	text-decoration: none !important;
	color: var(--dc-ink) !important;
	transition: border-color 0.15s, box-shadow 0.15s;
	height: 100%;
	box-sizing: border-box;
}
.dc-latest__card:hover {
	border-color: var(--dc-brand);
	box-shadow: var(--dc-shadow-sm);
	text-decoration: none !important;
}
.dc-latest__logo-wrap {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dc-cream-2);
	border-radius: var(--dc-r-sm);
	flex-shrink: 0;
}
.dc-latest__logo {
	max-width: 52px;
	max-height: 52px;
	object-fit: contain;
}
.dc-latest__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.dc-latest__store {
	font-size: 12px;
	font-weight: 700;
	color: var(--dc-brand-deep);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.dc-latest__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--dc-ink);
	line-height: 1.3;
}
.dc-latest__excerpt {
	font-size: 13.5px;
	color: var(--dc-ink-muted);
	line-height: 1.4;
}

/* =========================================================
 * Trust band (home)
 * ========================================================= */

.dc-trust {
	padding: 64px 0;
}
.dc-trust__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.dc-trust__item {
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r-lg);
	padding: 28px 26px;
	text-align: left;
}
.dc-trust__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--dc-brand);
	border-radius: 12px;
	font-size: 22px;
	margin: 0 0 16px;
	color: var(--dc-ink);
}
.dc-trust__item h3 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 8px;
	color: var(--dc-ink);
}
.dc-trust__item p {
	margin: 0;
	color: var(--dc-ink-soft);
	font-size: 15px;
	line-height: 1.55;
}

/* =========================================================
 * Articles (home + relacionados)
 * ========================================================= */

.dc-articles__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
.dc-article-card {
	display: block;
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r-lg);
	overflow: hidden;
	text-decoration: none !important;
	color: var(--dc-ink) !important;
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
	height: 100%;
}
.dc-article-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--dc-shadow-md);
	border-color: var(--dc-brand);
	text-decoration: none !important;
}
.dc-article-card__media {
	display: block;
	width: 100%;
	height: 180px;
	background-size: cover;
	background-position: center;
	background-color: var(--dc-cream-2);
}
.dc-article-card__body {
	display: block;
	padding: 20px 22px;
}
.dc-article-card__title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 800;
	color: var(--dc-ink);
	line-height: 1.3;
}
.dc-article-card__excerpt {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--dc-ink-soft);
	line-height: 1.5;
}
.dc-article-card__cta {
	font-size: 14px;
	font-weight: 700;
	color: var(--dc-ink);
	border-bottom: 2px solid var(--dc-brand);
}

/* =========================================================
 * Store hero (taxonomy-stores + single-coupon)
 * ========================================================= */

.dc-store-hero {
	background: var(--dc-paper);
	border-bottom: 1px solid var(--dc-line);
	padding: 40px 0;
}
.dc-store-hero--single {
	background: linear-gradient(180deg, var(--dc-cream-2) 0%, var(--dc-paper) 100%);
}
.dc-store-hero__inner {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 36px;
	align-items: center;
}
.dc-store-hero__media {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r-lg);
	padding: 18px;
	box-shadow: var(--dc-shadow-sm);
	min-height: 140px;
}
.dc-store-hero__logo {
	max-width: 100%;
	max-height: 110px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.dc-store-hero__eyebrow {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--dc-ink-muted);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.dc-store-hero__eyebrow a {
	color: inherit;
	text-decoration: none;
}
.dc-store-hero__eyebrow a:hover { color: var(--dc-ink); }
.dc-store-hero__title {
	margin: 0 0 14px;
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--dc-ink);
	line-height: 1.15;
}
.dc-store-hero__desc {
	color: var(--dc-ink-soft);
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 18px;
}
.dc-store-hero__desc p:last-child { margin-bottom: 0; }
.dc-store-hero__stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	padding: 16px 0;
	border-top: 1px solid var(--dc-line-soft);
	border-bottom: 1px solid var(--dc-line-soft);
	margin: 14px 0 18px;
}
.dc-store-hero__stat {
	display: flex;
	align-items: center;
	gap: 8px;
}
.dc-store-hero__stat-num {
	font-size: 22px;
	font-weight: 800;
	color: var(--dc-ink);
}
.dc-store-hero__stat-label {
	font-size: 13.5px;
	color: var(--dc-ink-soft);
	font-weight: 500;
}
.dc-store-hero__stat--cats {
	flex-wrap: wrap;
}
.dc-store-meta__cats {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	font-size: 13.5px;
}
.dc-store-meta__catlink {
	color: var(--dc-ink-soft) !important;
	text-decoration: none !important;
	border-bottom: 1px dotted var(--dc-line);
}
.dc-store-meta__catlink:hover {
	color: var(--dc-ink) !important;
	border-color: var(--dc-brand);
}
.dc-store-hero__cta { margin: 0; }

/* =========================================================
 * Store layout: main + aside
 * ========================================================= */

.dc-store-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	padding-top: 40px;
	padding-bottom: 64px;
	align-items: flex-start;
}
.dc-store-layout__main { min-width: 0; }
.dc-store-layout__aside { display: flex; flex-direction: column; gap: 16px; }

/* =========================================================
 * Coupon section + list
 * ========================================================= */

.dc-coupon-section {
	margin-bottom: 36px;
}
.dc-coupon-section__head {
	margin-bottom: 18px;
}
.dc-coupon-section__title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.015em;
	color: var(--dc-ink);
	display: flex;
	align-items: center;
	gap: 10px;
}
.dc-coupon-section__title::before {
	content: '';
	width: 6px;
	height: 22px;
	background: var(--dc-brand);
	border-radius: 3px;
}
.dc-coupon-section__sub {
	margin: 6px 0 0 16px;
	color: var(--dc-ink-muted);
	font-size: 14px;
}

.dc-coupon-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.dc-coupon-list li { margin: 0; }

/* =========================================================
 * COUPON CARD v2 — la pieza clave
 * ========================================================= */

body.dc-body .dc-coupon,
body.wp-child-theme-descuentium-child .dc-coupon {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r);
	padding: 18px 22px;
	text-decoration: none !important;
	color: var(--dc-ink) !important;
	transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
	box-shadow: var(--dc-shadow-xs);
	position: relative;
	overflow: hidden;
}
body.dc-body .dc-coupon:hover {
	transform: translateY(-2px);
	box-shadow: var(--dc-shadow-md);
	border-color: var(--dc-brand);
	text-decoration: none !important;
}

.dc-coupon__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 10px 12px;
	background: var(--dc-cream-2);
	border: 1px dashed var(--dc-brand-deep);
	border-radius: var(--dc-r-sm);
	font-weight: 800;
	font-size: 18px;
	color: var(--dc-ink);
	letter-spacing: -0.02em;
	text-align: center;
	line-height: 1.1;
}
.dc-coupon--pct .dc-coupon__badge,
.dc-coupon--eur .dc-coupon__badge {
	font-size: 24px;
	background: var(--dc-brand);
	border-color: var(--dc-brand-deep);
}
.dc-coupon--shipping .dc-coupon__badge {
	font-size: 13.5px;
	font-weight: 700;
}
.dc-coupon--offer .dc-coupon__badge,
.dc-coupon--promo .dc-coupon__badge,
.dc-coupon--code .dc-coupon__badge {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dc-coupon__main {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
body.dc-body .dc-coupon .dc-coupon__title,
body.dc-body .dc-coupon h3.dc-coupon__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--dc-ink);
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.dc-coupon__desc {
	margin: 0;
	font-size: 14px;
	color: var(--dc-ink-soft);
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.dc-coupon__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 4px;
	font-size: 12.5px;
	color: var(--dc-ink-muted);
}
.dc-coupon__verified {
	color: var(--dc-success);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.dc-coupon__expires {
	color: var(--dc-ink-muted);
	font-weight: 500;
}
.dc-coupon__expires.is-expired {
	color: var(--dc-warning);
}

.dc-coupon__action {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	flex-shrink: 0;
	min-width: 140px;
}
.dc-coupon__code-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.1em;
	color: var(--dc-ink-soft);
	background: var(--dc-cream-2);
	border: 1px dashed var(--dc-line);
	border-radius: var(--dc-r-sm);
	padding: 6px 10px;
	text-transform: uppercase;
}
.dc-coupon__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--dc-brand);
	color: var(--dc-ink);
	font-weight: 800;
	font-size: 14.5px;
	padding: 11px 18px;
	border-radius: 999px;
	transition: background 0.15s, transform 0.1s;
	box-shadow: 0 2px 0 rgba(0,0,0,0.04), inset 0 -2px 0 rgba(0,0,0,0.06);
}
body.dc-body .dc-coupon:hover .dc-coupon__cta {
	background: var(--dc-brand-strong);
}
.dc-coupon__cta-arrow {
	transition: transform 0.15s;
}
body.dc-body .dc-coupon:hover .dc-coupon__cta-arrow {
	transform: translateX(2px);
}

/* Variante caducado */
body.dc-body .dc-coupon--expired {
	background: #fafaf6;
	opacity: 0.78;
}
body.dc-body .dc-coupon--expired:hover { opacity: 1; }
body.dc-body .dc-coupon--expired .dc-coupon__title { color: var(--dc-ink-muted); }
body.dc-body .dc-coupon--expired .dc-coupon__cta {
	background: var(--dc-line);
	color: var(--dc-ink-muted);
	box-shadow: none;
}
body.dc-body .dc-coupon--expired .dc-coupon__badge {
	background: var(--dc-line-soft);
	border-color: var(--dc-line);
	color: var(--dc-ink-muted);
}

/* Quitamos el ::before "CADUCADO" del CSS antiguo (refresh.css lo añade) */
body.dc-body .dc-coupon.cupon.caducado::before { content: none; }

/* =========================================================
 * Single coupon spotlight
 * ========================================================= */

.dc-single-coupon {
	display: grid;
	grid-template-columns: 140px 1fr auto;
	gap: 28px;
	align-items: center;
	background: var(--dc-paper);
	border: 2px solid var(--dc-brand);
	border-radius: var(--dc-r-lg);
	padding: 28px;
	box-shadow: var(--dc-shadow-md);
	margin-bottom: 32px;
}
.dc-single-coupon__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dc-brand);
	color: var(--dc-ink);
	font-weight: 800;
	font-size: 32px;
	letter-spacing: -0.02em;
	border-radius: var(--dc-r);
	min-height: 100px;
	padding: 16px;
	text-align: center;
	line-height: 1.05;
}
.dc-single-coupon__verified {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--dc-success);
	font-weight: 700;
}
.dc-single-coupon__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	color: var(--dc-ink);
	letter-spacing: -0.02em;
	line-height: 1.25;
}
.dc-single-coupon__expires {
	margin: 0;
	font-size: 14px;
	color: var(--dc-ink-soft);
}

/* =========================================================
 * Aside cards
 * ========================================================= */

.dc-aside-card {
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r-lg);
	padding: 22px;
}
.dc-aside-card--ad { padding: 0; overflow: hidden; }
.dc-aside-card__title {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--dc-ink);
}
.dc-aside-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.dc-aside-steps li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 12px;
	font-size: 14px;
	color: var(--dc-ink-soft);
	line-height: 1.5;
}
.dc-aside-steps li > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--dc-brand);
	color: var(--dc-ink);
	font-weight: 800;
	font-size: 13px;
	border-radius: 50%;
	flex-shrink: 0;
}
.dc-aside-stores {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.dc-aside-stores__link {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 12px;
	align-items: center;
	padding: 8px 10px;
	border: 1px solid transparent;
	border-radius: var(--dc-r-sm);
	text-decoration: none !important;
	color: var(--dc-ink) !important;
	transition: border-color 0.15s, background 0.15s;
}
.dc-aside-stores__link:hover {
	background: var(--dc-cream-2);
	border-color: var(--dc-line);
}
.dc-aside-stores__link img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	background: var(--dc-cream-2);
	border-radius: 6px;
	padding: 4px;
	box-sizing: border-box;
}
.dc-aside-stores__link strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--dc-ink);
}
.dc-aside-stores__link small {
	font-size: 12px;
	color: var(--dc-ink-muted);
}

/* =========================================================
 * Expired details/summary
 * ========================================================= */

.dc-expired {
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r);
	padding: 0;
	margin-bottom: 24px;
}
.dc-expired__summary {
	cursor: pointer;
	padding: 16px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-weight: 700;
	color: var(--dc-ink-soft);
	font-size: 15px;
	list-style: none;
}
.dc-expired__summary::-webkit-details-marker { display: none; }
.dc-expired__summary::after {
	content: '▾';
	color: var(--dc-ink-muted);
	transition: transform 0.18s;
	margin-left: auto;
}
.dc-expired[open] .dc-expired__summary::after {
	transform: rotate(180deg);
}
.dc-expired__hint {
	font-weight: 500;
	font-size: 13px;
	color: var(--dc-ink-muted);
}
.dc-expired .dc-coupon-list {
	padding: 0 22px 22px;
}

/* =========================================================
 * Empty state
 * ========================================================= */

.dc-empty {
	background: var(--dc-paper);
	border: 1px dashed var(--dc-line);
	border-radius: var(--dc-r-lg);
	padding: 48px 32px;
	text-align: center;
}
.dc-empty__title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 800;
	color: var(--dc-ink);
	letter-spacing: -0.015em;
}
.dc-empty__text {
	max-width: 540px;
	margin: 0 auto 22px;
	color: var(--dc-ink-soft);
	font-size: 16px;
	line-height: 1.55;
}
.dc-empty p:has(.dc-btn) > .dc-btn { margin: 0 6px; }

/* =========================================================
 * Store prose (long description)
 * ========================================================= */

.dc-store-prose {
	background: var(--dc-paper);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-r-lg);
	padding: 28px 32px;
	margin-top: 16px;
}
.dc-store-prose h2 {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 800;
	color: var(--dc-ink);
	letter-spacing: -0.015em;
}
.dc-store-prose__body {
	color: var(--dc-ink-soft);
	font-size: 15.5px;
	line-height: 1.65;
}

/* =========================================================
 * Modal v2 — sobreescribe estilos antiguos del padre
 * ========================================================= */

#myModal.reveal-modal.dc-modal {
	border-radius: var(--dc-r-lg);
	padding: 0 0 12px;
	overflow: hidden;
	background: var(--dc-paper);
	box-shadow: 0 30px 80px rgba(0,0,0,0.30);
}
.dc-modal__head {
	background: var(--dc-cream-2);
	padding: 20px 24px !important;
	border-left: none !important;
	border-bottom: 4px solid var(--dc-brand) !important;
	border-radius: 0 !important;
	margin: 0 !important;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px !important;
	font-weight: 800;
}
#myModal #showcupon.dc-modal__code {
	background: var(--dc-ink);
	color: var(--dc-brand);
	font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.16em;
	padding: 22px;
	margin: 22px 24px 6px;
	text-align: center;
	border-radius: var(--dc-r);
	border: 2px dashed var(--dc-brand);
	cursor: pointer;
	transition: transform 0.1s;
	box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
#myModal #showcupon.dc-modal__code:hover { transform: scale(1.01); }
#myModal #showcupon.dc-modal__code .elcupon { color: var(--dc-brand) !important; }
.dc-modal__hint {
	margin: 4px 24px 18px;
	font-size: 13px;
	color: var(--dc-ink-muted);
	text-align: center;
}
.dc-modal__steps {
	list-style: none;
	margin: 0;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.dc-modal__steps li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 10px;
	font-size: 14.5px;
	color: var(--dc-ink-soft);
	line-height: 1.5;
}
.dc-modal__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--dc-brand);
	color: var(--dc-ink);
	font-weight: 800;
	font-size: 13px;
}
.dc-modal__foot {
	border-top: 1px solid var(--dc-line);
	padding: 16px 24px !important;
	margin-top: 18px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--dc-ink-muted);
	flex-wrap: wrap;
}
.dc-modal__share-label { margin-right: 6px; }
.dc-modal__share { display: inline-flex; }
.dc-modal__share img {
	transition: transform 0.15s;
	width: 22px;
	height: 22px;
}
.dc-modal__share:hover img { transform: scale(1.1); }
#myModal.dc-modal .close-reveal-modal {
	font-size: 28px;
	right: 16px;
	top: 12px;
	color: var(--dc-ink-muted);
	font-weight: 300;
}
#myModal.dc-modal .close-reveal-modal:hover { color: var(--dc-danger); }

/* =========================================================
 * Typography — Bricolage Grotesque for display headings
 * ========================================================= */

body.dc-body .dc-hero__title,
body.dc-body .dc-section__title,
body.dc-body .dc-store-hero__title,
body.dc-body .dc-coupon-section__title,
body.dc-body .dc-trust__item h3,
body.dc-body .dc-newsletter__title,
body.dc-body .dc-single-coupon__title,
body.dc-body .dc-empty__title,
body.dc-body .dc-aside-card__title,
body.dc-body h1, body.dc-body h2, body.dc-body h3 {
	font-family: 'Bricolage Grotesque', system-ui, sans-serif;
}

/* =========================================================
 * Hero entrance animation
 * ========================================================= */

@keyframes dc-fade-up {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

.dc-hero__eyebrow { animation: dc-fade-up 0.55s ease both; }
.dc-hero__title   { animation: dc-fade-up 0.55s ease 0.08s both; }
.dc-hero__lead    { animation: dc-fade-up 0.55s ease 0.16s both; }
.dc-hero__search  { animation: dc-fade-up 0.55s ease 0.24s both; }
.dc-hero__stats   { animation: dc-fade-up 0.55s ease 0.34s both; }

@media (prefers-reduced-motion: reduce) {
	.dc-hero__eyebrow,
	.dc-hero__title,
	.dc-hero__lead,
	.dc-hero__search,
	.dc-hero__stats { animation: none; }
}

/* =========================================================
 * Trust items — hover lift
 * ========================================================= */

.dc-trust__item {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dc-trust__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--dc-shadow-md);
}

/* =========================================================
 * Newsletter band — textured dark atmosphere
 * ========================================================= */

.dc-newsletter {
	position: relative;
	overflow: hidden;
}
.dc-newsletter::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 700px 300px at 100% 50%, rgba(250, 220, 92, 0.10), transparent 65%),
		radial-gradient(ellipse 400px 400px at 0% 50%, rgba(250, 220, 92, 0.05), transparent 70%);
	pointer-events: none;
}
.dc-newsletter__inner {
	position: relative;
	z-index: 1;
}
.dc-newsletter__title {
	font-size: 26px;
	letter-spacing: -0.025em;
}
.dc-newsletter__title em {
	font-style: normal;
	color: var(--dc-brand);
}

/* =========================================================
 * Footer — brand accent top stripe
 * ========================================================= */

body.dc-body .dc-shell-footer {
	border-top: 3px solid var(--dc-brand);
}

.dc-shell-footer__pitch {
	border-left: 2px solid rgba(250, 220, 92, 0.3);
	padding-left: 14px;
	margin-top: 16px;
}

/* =========================================================
 * Mobile / responsive
 * ========================================================= */

@media (max-width: 1024px) {
	.dc-shell-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.dc-store-layout {
		grid-template-columns: 1fr;
	}
	.dc-store-layout__aside {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.dc-store-layout__aside > * { flex: 1 1 280px; }
	.dc-trending__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	body.dc-body { font-size: 16px; }

	body.dc-body .dc-shell-header { position: static; }

	.dc-topbar { font-size: 12px; }
	.dc-topbar__inner {
		justify-content: center;
		gap: 8px;
		text-align: center;
	}
	.dc-topbar__stat--date,
	.dc-topbar__sep:nth-of-type(3) { display: none; }
	.dc-topbar__stat--date { margin-left: 0; }

	.dc-shell-header__row {
		flex-wrap: wrap;
		padding: 12px 16px;
		gap: 10px;
	}
	.dc-search {
		order: 3;
		flex-basis: 100%;
		max-width: none;
		margin-left: 0;
	}
	.dc-nav-toggle {
		display: inline-flex;
		margin-left: auto;
	}
	.dc-nav {
		display: none;
	}
	.dc-nav.is-open { display: block; }
	.dc-nav__list {
		flex-direction: column;
		padding: 8px 0;
	}
	.dc-nav__item a {
		padding: 12px 24px;
		display: block;
	}
	.dc-nav__item.is-active a::after {
		left: 0;
		right: auto;
		bottom: auto;
		top: 0;
		width: 4px;
		height: 100%;
	}

	.dc-newsletter__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.dc-shell-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.dc-shell-footer__bar-inner {
		justify-content: center;
		text-align: center;
	}
	.dc-shell-footer__legal { text-align: center; }

	.dc-hero { padding: 40px 0 44px; }
	.dc-hero__title { font-size: 32px; }
	.dc-hero__lead { font-size: 16px; }
	.dc-hero__stats {
		gap: 24px;
	}
	.dc-hero__stat dd { font-size: 22px; }
	.dc-hero__search {
		flex-direction: column;
		border-radius: var(--dc-r);
		padding: 12px;
		gap: 10px;
	}
	.dc-hero__search-input { padding: 10px 0 !important; width: 100%; }
	.dc-hero__search-submit {
		width: 100%;
		padding: 14px;
	}
	.dc-hero__search-icon { display: none; }

	.dc-trending__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.dc-store-hero { padding: 28px 0; }
	.dc-store-hero__inner {
		grid-template-columns: 1fr;
		gap: 20px;
		text-align: center;
	}
	.dc-store-hero__media {
		margin: 0 auto;
		max-width: 200px;
	}
	.dc-store-hero__title { font-size: 28px; }
	.dc-store-hero__stats {
		justify-content: center;
	}
	.dc-store-hero__cta { text-align: center; }

	body.dc-body .dc-coupon {
		grid-template-columns: 70px 1fr;
		gap: 14px;
		padding: 14px 16px;
	}
	.dc-coupon__badge {
		min-height: 56px;
		font-size: 16px !important;
		padding: 6px;
	}
	.dc-coupon--pct .dc-coupon__badge,
	.dc-coupon--eur .dc-coupon__badge {
		font-size: 18px !important;
	}
	.dc-coupon__action {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: stretch;
		min-width: 0;
		gap: 8px;
		margin-top: 4px;
	}
	.dc-coupon__code-preview { flex: 1; padding: 10px; }
	.dc-coupon__cta { flex: 1; padding: 12px; }

	.dc-single-coupon {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 22px;
		text-align: center;
	}
	.dc-single-coupon__badge {
		min-height: 80px;
		font-size: 28px;
	}

	.dc-section { padding: 40px 0; }
	.dc-section__title { font-size: 22px; }
	.dc-section__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.dc-trending__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.dc-hero__title { font-size: 26px; }
	.dc-store-hero__title { font-size: 24px; }
	.dc-section__title { font-size: 20px; }
}

/* =========================================================
 * Neutralización de estilos legacy del refresh.css que ya
 * no aplican (porque ahora el HTML es nuevo).
 * ========================================================= */

/* El #header del padre no se renderiza en plantillas rediseñadas,
 * pero por si alguna ruta legacy lo usa, mantenemos refresh.css. */

/* Quitamos el border-bottom de header_destacado dentro del modal
 * que pisaba con el nuevo .dc-modal__head. */
body.dc-body #myModal .header_destacado.dc-modal__head { border-left: none !important; }

/* Para el link "ver caducados" que dc-expired usa, ocultamos los
 * botones legacy que el JS antiguo (refresh.js) inyectaba. */
body.dc-body .dc-coupon-section--expired .dc-expired-toggle,
body.dc-body .dc-coupon-section--expired .dc-expired-content {
	display: none !important;
}
