/*
Theme Name: Coupons District
Theme URI: https://couponsdistrict.com
Author: Coupons District
Description: Custom coupon and affiliate theme for Coupons District: stores, coupon codes with Show Code reveal, deals, categories, holidays, click tracking and a blog.
Version: 1.0.2
Requires at least: 6.2
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: couponsdistrict
*/

:root {
	--cd-teal: #0F5F5C;
	--cd-teal-dark: #0B3F3D;
	--cd-teal-tint: #E8F2F1;
	--cd-teal-bg: #F2F7F6;
	--cd-pink: #CC007E;
	--cd-pink-dark: #A80068;
	--cd-pink-tint: #FCEFF6;
	--cd-ink: #1B2B2A;
	--cd-muted: #4F6261;
	--cd-line: #E2EBEA;
	--cd-bg: #FDFDFD;
	--cd-radius: 14px;
	--cd-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--cd-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--cd-shadow: 0 10px 28px rgba(15, 95, 92, .12);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--cd-sans); font-size: 16px; line-height: 1.6; color: var(--cd-ink); background: var(--cd-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--cd-teal); text-decoration: none; }
a:hover { color: var(--cd-pink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--cd-serif); color: var(--cd-teal); }
button, input, select, textarea { font: inherit; max-width: 100%; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; padding: 10px 12px; border: 1.5px solid #CFDDDB; border-radius: 10px; }
.comment-form .submit { background: var(--cd-pink); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font-weight: 700; cursor: pointer; }
.comments-area { margin-top: 40px; }
:focus-visible { outline: 3px solid var(--cd-pink); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.cd-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.cd-wrap--narrow { max-width: 800px; }
.cd-mt { margin-top: 32px; }
.cd-mb { margin-bottom: 32px; }
.cd-pb { padding-bottom: 64px; }
.cd-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Buttons */
.cd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border: 0; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; text-align: center; transition: background .15s, transform .15s; }
.cd-btn--pink { background: var(--cd-pink); color: #fff; }
.cd-btn--pink:hover { background: var(--cd-pink-dark); color: #fff; }
.cd-btn--teal { background: var(--cd-teal); color: #fff; }
.cd-btn--teal:hover { background: var(--cd-teal-dark); color: #fff; }
.cd-btn--block { display: flex; width: 100%; }

/* Announcement bar */
.cd-bar { background: var(--cd-teal); color: #fff; text-align: center; font-size: 14px; padding: 9px 16px; }
.cd-bar a { color: #fff; font-weight: 600; text-decoration: underline; margin-left: 6px; }

/* Header */
.cd-header { background: var(--cd-bg); border-bottom: 1px solid var(--cd-line); position: relative; z-index: 50; }
.cd-header__top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.cd-brand img, .cd-brand .custom-logo { display: block; height: 56px; width: auto; }
.cd-search { flex: 1 1 320px; display: flex; min-width: 0; }
.cd-search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1.5px solid #CFDDDB; border-right: 0; border-radius: 10px 0 0 10px; background: #fff; color: var(--cd-ink); }
.cd-search input:focus { border-color: var(--cd-teal); outline: none; }
.cd-search button { width: 52px; height: 46px; border: 0; border-radius: 0 10px 10px 0; background: var(--cd-pink); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cd-search button:hover { background: var(--cd-pink-dark); }
.cd-search--inline { max-width: 520px; margin: 20px 0; }
.cd-menu-toggle { display: none; background: none; border: 0; color: var(--cd-ink); width: 44px; height: 44px; cursor: pointer; }
.cd-nav { padding-bottom: 10px; }
.cd-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.cd-menu a { display: inline-block; padding: 6px 0; color: var(--cd-ink); font-weight: 500; font-size: 15px; }
.cd-menu a:hover, .cd-menu .current-menu-item > a { color: var(--cd-pink); }
.cd-menu li { position: relative; }
.cd-menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: -12px; min-width: 220px; background: #fff; border: 1px solid var(--cd-line); border-radius: 12px; box-shadow: var(--cd-shadow); display: none; z-index: 60; }
.cd-menu .sub-menu a { display: block; padding: 8px 16px; }
.cd-menu li:hover > .sub-menu, .cd-menu li:focus-within > .sub-menu { display: block; }

/* Sections */
.cd-main { min-height: 50vh; }
.cd-section { padding-top: 56px; padding-bottom: 16px; }
.cd-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 16px; margin-bottom: 24px; }
.cd-section__head h2 { margin: 0; font-size: 34px; }
.cd-section__head--tight { margin-bottom: 16px; }
.cd-section__head a { font-weight: 600; }
.cd-sub { margin: 6px 0 0; color: var(--cd-muted); }
.cd-h3 { font-family: var(--cd-sans); font-size: 20px; font-weight: 700; color: var(--cd-teal); margin: 0; }
.cd-kicker { margin: 0 0 12px; color: var(--cd-pink); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.cd-kicker--light { color: #FFB3DC; }

/* Hero */
.cd-hero { background: var(--cd-teal-bg); }
.cd-hero__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.cd-hero__text { flex: 1 1 480px; min-width: 0; }
.cd-hero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.08; margin-bottom: 18px; }
.cd-hero__lead { font-size: 18px; color: var(--cd-muted); max-width: 540px; margin: 0 0 26px; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cd-chips > span { font-size: 14px; font-weight: 500; color: var(--cd-muted); }
.cd-chip { border: 1.5px solid #CFDDDB; background: #fff; color: var(--cd-ink); padding: 7px 14px; border-radius: 999px; font-size: 14px; }
.cd-chip:hover { border-color: var(--cd-pink); color: var(--cd-pink); }

/* Deal of the day */
.cd-dotd { flex: 1 1 340px; max-width: 440px; background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 16px 40px rgba(15, 95, 92, .12); border-top: 6px solid var(--cd-pink); }
.cd-dotd__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.cd-dotd__label { background: var(--cd-pink-tint); color: var(--cd-pink-dark); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; }
.cd-dotd__exp { font-size: 13px; color: var(--cd-muted); }
.cd-dotd__store { display: flex; align-items: center; gap: 14px; color: var(--cd-ink); font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.cd-dotd__badge { font-family: var(--cd-serif); font-size: 40px; font-weight: 800; color: var(--cd-pink); line-height: 1.1; margin: 0 0 6px; }
.cd-dotd__title { margin: 0 0 20px; font-size: 16px; }

/* Store logos */
.cd-logo { width: 96px; height: 56px; border-radius: 12px; background: #fff; border: 1px solid var(--cd-line); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cd-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cd-logo--dark { background: var(--cd-teal-dark); border-color: var(--cd-teal-dark); }
.cd-logo--letter { width: 56px; border-radius: 50%; background: var(--cd-teal-tint); border-color: transparent; color: var(--cd-teal); font-family: var(--cd-serif); font-weight: 800; font-size: 24px; }
.cd-logo--lg { width: 160px; height: 96px; font-size: 40px; border-radius: 20px; }
.cd-logo--lg.cd-logo--letter { width: 96px; }
.cd-logo--sm { width: 60px; height: 36px; font-size: 16px; border-radius: 8px; }
.cd-logo--sm.cd-logo--letter { width: 36px; border-radius: 50%; }

/* Store grid */
.cd-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cd-store-grid--sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cd-store-tile { background: #fff; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); padding: 22px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--cd-ink); text-align: center; transition: box-shadow .15s, transform .15s; }
.cd-store-tile:hover { box-shadow: var(--cd-shadow); transform: translateY(-2px); color: var(--cd-ink); }
.cd-store-tile__name { font-weight: 600; font-size: 15px; }
.cd-store-tile__cta { font-size: 13px; font-weight: 600; color: var(--cd-pink); }

/* Tabs */
.cd-tabs { display: flex; gap: 6px; background: #EEF4F3; padding: 5px; border-radius: 12px; flex-wrap: wrap; }
.cd-tabs button { border: 0; background: transparent; color: var(--cd-ink); font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 8px; cursor: pointer; min-height: 44px; }
.cd-tabs button[aria-selected="true"] { background: var(--cd-teal); color: #fff; }

/* Coupon card */
.cd-coupon-list { display: flex; flex-direction: column; gap: 14px; }
.cd-coupon { background: #fff; border: 1px solid var(--cd-line); border-radius: 16px; display: flex; flex-wrap: wrap; overflow: hidden; transition: box-shadow .15s; }
.cd-coupon:hover { box-shadow: var(--cd-shadow); }
.cd-coupon[hidden] { display: none; }
.cd-coupon__badge { flex: 0 0 132px; background: var(--cd-pink-tint); border-right: 2px dashed #F0B8D8; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 10px; }
.cd-coupon__big { font-family: var(--cd-serif); font-weight: 800; font-size: 30px; color: var(--cd-pink); line-height: 1; word-break: break-word; }
.cd-coupon__small { font-size: 12px; font-weight: 700; color: var(--cd-pink-dark); letter-spacing: .08em; margin-top: 6px; text-transform: uppercase; }
.cd-coupon__body { flex: 1 1 300px; min-width: 0; padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.cd-coupon__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cd-coupon__store { font-size: 13px; font-weight: 700; color: var(--cd-teal); text-transform: uppercase; letter-spacing: .06em; }
.cd-pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px; text-transform: uppercase; letter-spacing: .04em; }
.cd-pill--code { background: var(--cd-teal-tint); color: var(--cd-teal); }
.cd-pill--deal { background: #FFF1DD; color: #8A4B00; }
.cd-pill--excl { background: var(--cd-pink-tint); color: var(--cd-pink-dark); }
.cd-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #22703F; }
.cd-coupon__title { margin: 0; font-family: var(--cd-sans); font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--cd-ink); }
.cd-coupon__foot { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--cd-muted); }
.cd-coupon__details summary { cursor: pointer; color: var(--cd-teal); font-weight: 600; }
.cd-coupon__details div { color: var(--cd-ink); font-size: 14px; margin-top: 6px; }
.cd-coupon__details p { margin: 0 0 6px; }
.cd-coupon__action { flex: 0 1 230px; padding: 18px 22px; display: flex; align-items: center; justify-content: center; }
.cd-coupon.is-expired { opacity: .6; }
.cd-coupon.is-expired .cd-coupon__badge { filter: grayscale(1); }

/* Show code button */
.cd-reveal { position: relative; width: 190px; height: 48px; border: 2px dashed var(--cd-pink); background: #fff; border-radius: 10px; cursor: pointer; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; }
.cd-reveal__peek { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-weight: 700; color: var(--cd-pink); padding-right: 12px; letter-spacing: .08em; }
.cd-reveal__label { position: absolute; inset: 0 auto 0 0; width: 145px; background: var(--cd-pink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; border-radius: 0 20px 20px 0; transition: width .2s; }
.cd-reveal:hover .cd-reveal__label { width: 135px; background: var(--cd-pink-dark); }
.cd-reveal.is-revealed { border-color: var(--cd-teal); background: var(--cd-teal-tint); justify-content: center; }
.cd-reveal.is-revealed .cd-reveal__label { position: static; width: auto; background: none; color: var(--cd-teal); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; border-radius: 0; }
.cd-deal { width: 190px; }

/* Holidays */
.cd-holidays { background: var(--cd-teal); margin-top: 48px; }
.cd-holidays__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.cd-holidays__text { flex: 1 1 380px; min-width: 0; color: #D6E6E4; }
.cd-holidays__text h2 { color: #fff; font-size: 40px; }
.cd-holidays__text p { font-size: 17px; margin: 0 0 22px; }
.cd-holidays__grid { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cd-holidays__grid a { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; padding: 16px 18px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; }
.cd-holidays__grid a:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* Categories */
.cd-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cd-cat { background: #fff; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); padding: 18px; display: flex; align-items: center; gap: 14px; color: var(--cd-ink); transition: box-shadow .15s; }
.cd-cat:hover { box-shadow: var(--cd-shadow); color: var(--cd-ink); }
.cd-cat__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--cd-pink-tint); color: var(--cd-pink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cd-cat__text { display: flex; flex-direction: column; }
.cd-cat__name { font-weight: 600; }
.cd-cat__desc { font-size: 13px; color: var(--cd-muted); }

/* A–Z */
.cd-az { background: var(--cd-teal-bg); border-radius: 18px; padding: 28px; }
.cd-az h2 { font-family: var(--cd-sans); font-size: 20px; margin-bottom: 16px; }
.cd-az__letters { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-az__letters a, .cd-az__letters span { width: 44px; height: 44px; border: 1.5px solid #CFDDDB; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--cd-ink); }
.cd-az__letters a:hover { border-color: var(--cd-pink); color: var(--cd-pink); }
.cd-az__letters .is-empty { opacity: .35; }
.cd-letter { padding: 24px 0; border-bottom: 1px solid var(--cd-line); scroll-margin-top: 20px; }
.cd-letter__head { font-size: 32px; margin-bottom: 12px; }
.cd-letter__list { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 24px; }
.cd-letter__list li { padding: 4px 0; break-inside: avoid; }

/* Posts */
.cd-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.cd-post { background: #fff; border: 1px solid var(--cd-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.cd-post:hover { box-shadow: var(--cd-shadow); }
.cd-post__img { display: block; aspect-ratio: 16 / 9; background: var(--cd-teal-tint); }
.cd-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-post__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--cd-teal); opacity: .5; }
.cd-post__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.cd-post__cat { font-size: 12px; font-weight: 700; color: var(--cd-pink); letter-spacing: .08em; text-transform: uppercase; }
.cd-post__title { font-family: var(--cd-sans); font-size: 19px; font-weight: 700; margin: 0; line-height: 1.35; }
.cd-post__title a { color: var(--cd-ink); }
.cd-post__title a:hover { color: var(--cd-pink); }
.cd-post__date { margin: 0; font-size: 13px; color: var(--cd-muted); }
.navigation.pagination { margin: 40px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid #CFDDDB; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: var(--cd-ink); background: #fff; }
.page-numbers.current { background: var(--cd-teal); border-color: var(--cd-teal); color: #fff; }

/* Store hero */
.cd-store-hero { background: var(--cd-teal-bg); padding: 28px 0 36px; }
.cd-store-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 6px; }
.cd-store-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; margin-top: 12px; }
.cd-store-hero__text { flex: 1 1 320px; min-width: 0; }
.cd-store-hero__sub { margin: 0; color: var(--cd-muted); }
.cd-crumbs ol { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--cd-muted); }
.cd-crumbs li + li::before { content: "/"; margin-right: 6px; color: #9FB3B1; }
.cd-crumbs a { color: var(--cd-muted); }

/* Layout with sidebar */
.cd-layout { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 32px; padding-bottom: 56px; align-items: flex-start; }
.cd-layout__main { flex: 999 1 560px; min-width: 0; }
.cd-layout__side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 18px; }
.cd-box { background: #fff; border: 1px solid var(--cd-line); border-radius: 16px; padding: 20px; }
.cd-box--tint { background: var(--cd-pink-tint); border-color: #F3CFE3; }
.cd-box__title { font-family: var(--cd-sans); font-size: 16px; font-weight: 700; color: var(--cd-teal); margin: 0 0 12px; }
.cd-stats { margin: 0; display: grid; gap: 8px; }
.cd-stats div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--cd-line); padding-bottom: 6px; }
.cd-stats dt { color: var(--cd-muted); }
.cd-stats dd { margin: 0; font-weight: 700; }
.cd-link-list, .cd-mini-coupons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cd-link-list a, .cd-mini-coupons a { display: flex; align-items: center; gap: 10px; color: var(--cd-ink); font-size: 14px; }
.cd-mini-coupons strong { display: block; color: var(--cd-teal); font-size: 13px; }
.cd-steps { margin: 0; padding-left: 20px; font-size: 14px; }
.cd-steps li { margin-bottom: 6px; }
.cd-expired-head { margin: 36px 0 14px; }
.cd-empty { background: var(--cd-teal-bg); border-radius: 16px; padding: 32px; text-align: center; }
.cd-faq { margin-top: 40px; }
.cd-faq h2 { font-size: 26px; }
.cd-faq details { border-bottom: 1px solid var(--cd-line); padding: 14px 0; }
.cd-faq summary { cursor: pointer; font-weight: 600; }
.cd-faq p { margin: 8px 0 0; color: var(--cd-muted); }
.cd-about-store { margin-top: 32px; }

/* Article */
.cd-article__head { padding-top: 36px; padding-bottom: 12px; }
.cd-article__head h1 { font-size: clamp(30px, 4.5vw, 46px); }
.cd-article__meta { color: var(--cd-muted); font-size: 14px; margin: 0; }
.cd-article__img { margin: 12px auto 0; }
.cd-article__img img { width: 100%; border-radius: 18px; display: block; }
.cd-prose { font-size: 17px; line-height: 1.75; }
.cd-prose h2 { font-size: 28px; margin-top: 1.6em; }
.cd-prose h3 { font-size: 21px; margin-top: 1.4em; color: var(--cd-teal); }
.cd-prose a { text-decoration: underline; }
.cd-prose ul, .cd-prose ol { padding-left: 1.3em; }
.cd-prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 4px solid var(--cd-pink); color: var(--cd-muted); }
.cd-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.cd-prose th, .cd-prose td { border: 1px solid var(--cd-line); padding: 10px 12px; text-align: left; }
.cd-prose th { background: var(--cd-teal-bg); }
.cd-prose .wp-block-button__link { background: var(--cd-pink); color: #fff; text-decoration: none; border-radius: 10px; font-weight: 700; }
.cd-disclosure-note { font-size: 13px; color: var(--cd-muted); border-top: 1px solid var(--cd-line); padding-top: 14px; margin-top: 32px; }
.cd-tags a { display: inline-block; margin: 4px 6px 4px 0; padding: 4px 10px; border-radius: 999px; background: var(--cd-teal-tint); font-size: 13px; }
.widget { background: #fff; border: 1px solid var(--cd-line); border-radius: 16px; padding: 20px; }
.widget-title { font-family: var(--cd-sans); font-size: 16px; font-weight: 700; color: var(--cd-teal); }
.cd-404 { text-align: center; padding-top: 72px; padding-bottom: 72px; }
.cd-404 .cd-search { margin: 20px auto; }

/* Newsletter */
.cd-news { background: var(--cd-pink-tint); margin-top: 56px; }
.cd-news__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 52px; padding-bottom: 52px; }
.cd-news h2 { font-size: 30px; margin-bottom: 6px; }
.cd-news p { margin: 0; color: var(--cd-muted); }
.cd-news__form { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 10px; }
.cd-news__form input { flex: 1 1 240px; min-width: 0; height: 50px; padding: 0 16px; border: 1.5px solid #E7B6D2; border-radius: 10px; background: #fff; }

/* Footer */
.cd-footer { background: var(--cd-teal-dark); color: #D6E6E4; margin-top: 56px; }
.cd-news + .cd-footer { margin-top: 0; }
.cd-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 52px; padding-bottom: 28px; }
.cd-footer__name { font-family: var(--cd-serif); font-size: 26px; font-weight: 800; color: #fff; }
.cd-footer__name span { color: #FF6FBD; }
.cd-footer__about p { font-size: 14px; }
.cd-footer__title { font-family: var(--cd-sans); font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.cd-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.cd-footer a { color: #D6E6E4; }
.cd-footer a:hover { color: #fff; }
.cd-social { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.cd-footer__legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; padding-bottom: 28px; font-size: 13px; }
.cd-footer__legal p { margin: 0 0 6px; }

/* Modal */
.cd-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cd-modal[hidden] { display: none; }
.cd-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 63, 61, .55); }
.cd-modal__box { position: relative; background: #fff; border-radius: 20px; padding: 32px 28px 26px; width: 100%; max-width: 480px; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.cd-modal__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; color: var(--cd-muted); cursor: pointer; }
.cd-modal__store { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--cd-teal); text-transform: uppercase; letter-spacing: .08em; }
.cd-modal__title { font-size: 24px; margin-bottom: 14px; }
.cd-modal__hint { margin: 0 0 10px; color: var(--cd-muted); font-size: 14px; }
.cd-modal__code { display: flex; gap: 8px; align-items: stretch; border: 2px dashed var(--cd-teal); background: var(--cd-teal-tint); border-radius: 12px; padding: 6px; }
.cd-modal__code > span { flex: 1; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: .1em; color: var(--cd-teal); word-break: break-all; }
.cd-modal__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; }
body.cd-modal-open { overflow: hidden; }

/* Responsive */
@media (max-width: 760px) {
	.cd-menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
	.cd-brand { order: 1; }
	.cd-menu-toggle { order: 2; }
	.cd-header .cd-search { order: 3; flex-basis: 100%; }
	.cd-nav { display: none; }
	.cd-nav.is-open { display: block; }
	.cd-menu { flex-direction: column; gap: 0; }
	.cd-menu a { padding: 10px 0; }
	.cd-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.cd-brand img, .cd-brand .custom-logo { height: 44px; }
	.cd-section__head h2 { font-size: 28px; }
	.cd-coupon__badge { flex: 0 0 96px; }
	.cd-coupon__big { font-size: 24px; }
	.cd-coupon__action { flex: 1 1 100%; padding-top: 0; }
	.cd-reveal, .cd-deal { width: 100%; }
	.cd-reveal__label { width: 72%; }
	.cd-holidays__grid { grid-template-columns: minmax(0, 1fr); }
}
