* {
  box-sizing: border-box;
}

:root {
  --primary: #2ecc71;
  --secondary: #2c3e50;
  --accent: #f1c40f;
  --bg: #ffffff;
  --text: #2d3436;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f6f8fb;
  color: #111827;
}

a {
  text-decoration: none;
}

.rd-wrap {
  width: 1220px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.rd-header {
  background: #fff;
  border-bottom: 1px solid #eceff4;
  position: sticky;
  top: 0;
  z-index: 30;
}

.rd-header-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rd-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.rd-logo-mark {
  width: 40px;
  height: 36px;
  border-radius: 6px;
  background: #ff4f0f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.rd-logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.rd-logo-text strong {
  color: #ff4f0f;
  font-size: 17px;
  font-weight: 700;
}

.rd-logo-text em {
  color: #1f2a44;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
}

.rd-menu-toggle {
  display: none;
  border: 1px solid #d4dbe4;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-weight: 600;
  padding: 10px 14px;
}

.rd-header-search {
  display: flex;
  align-items: center;
  border: 1px solid #d5dce6;
  border-radius: 999px;
  background: #fff;
  height: 42px;
  width: 320px;
  margin-left: 12px;
  overflow: hidden;
}

.rd-header-search-wrap {
  position: relative;
  margin-left: 12px;
}

.rd-header-search-wrap .rd-header-search {
  margin-left: 0;
}

.rd-header-live-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  background: #fff;
  border: 1px solid #d5dce6;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 40;
}

.rd-header-live-results .display_box {
  border-bottom: 1px solid #edf1f5;
}

.rd-header-live-results .rd-search-item {
  border-bottom: 1px solid #edf1f5;
}

.rd-header-live-results .display_box:last-child {
  border-bottom: 0;
}

.rd-header-live-results .rd-search-item:last-child {
  border-bottom: 0;
}

.rd-header-live-results .display_box a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #2d3436;
  font-size: 12px;
}

.rd-header-live-results .rd-search-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #2d3436;
  font-size: 12px;
}

.rd-header-live-results .display_box a:hover {
  background: #f7f9fb;
}

.rd-header-live-results .rd-search-item:hover {
  background: #f7f9fb;
}

.rd-header-live-results .searchimgfunc {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border: 1px solid #d5dce6;
  border-radius: 6px;
}

.rd-header-live-results .rd-search-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border: 1px solid #d5dce6;
  border-radius: 6px;
}

.rd-header-live-results .name b {
  color: #2ecc71;
}

.rd-header-live-results .rd-search-item mark {
  background: #f1c40f;
  color: #2c3e50;
  padding: 0 1px;
}

.rd-header-search input {
  border: 0;
  width: 100%;
  padding: 0 14px;
  font-size: 14px;
  color: #1f2a44;
  background: transparent;
}

.rd-header-search input:focus {
  outline: 0;
}

.rd-header-search button {
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 16px;
  flex: 0 0 42px;
  border-left: 1px solid #d5dce6;
}

.rd-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.rd-nav {
  margin-left: auto;
}

.rd-nav li {
  position: relative;
}

.rd-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 82px;
  padding: 0;
  color: #000;
  font-size: 16px;
  font-weight: 500;
}

.rd-nav > ul > li > a:hover {
  color: #1f67df;
}

.rd-nav > ul > li > a i {
  font-size: 15px;
}

.rd-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  min-width: 260px;
  border: 1px solid #e6ecf3;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
  padding: 10px;
}

.rd-has-dropdown:hover .rd-dropdown {
  display: block;
}

.rd-dropdown a {
  display: block;
  padding: 9px 11px;
  font-size: 14px;
  color: #1f2937;
  border-radius: 6px;
}

.rd-dropdown a:hover {
  background: #f0f8fa;
  color: #0f8b8d;
}

.rd-hero {
  background: #f6f2ea;
  padding: 102px 0 122px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rd-hero h1 {
  margin: 0;
  color: #000;
  font-size: 44px;
  line-height: 1.18;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.rd-search {
  max-width: 700px;
  margin: 34px auto 0;
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 38px;
  border: 2px solid #1f67df;
  padding: 0;
  box-shadow: 0 8px 14px rgba(22, 36, 63, 0.2);
  position: relative;
  z-index: 2;
}

.rd-search input {
  flex: 1;
  border: 0;
  background: #fff;
  padding: 0 22px;
  font-size: 28px;
  color: #59647a;
  min-height: 56px;
  border-radius: 36px 0 0 36px;
}

.rd-search input:focus {
  outline: 0;
}

.rd-search button {
  border: 0;
  min-width: 62px;
  border-radius: 0 36px 36px 0;
  background: #fff;
  color: #1f67df;
  font-size: 30px;
  font-weight: 500;
  cursor: pointer;
}

.rd-search button span {
  display: inline-block;
  transform: translateY(1px);
}

.rd-live-results {
  width: 700px;
  max-width: 100%;
  margin: 8px auto 0;
  background: #fff;
  border: 1px solid #d6ddea;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
  text-align: left;
  display: none;
  max-height: 360px;
  overflow-y: auto;
  position: relative;
  z-index: 8;
}

.rd-live-results .display_box {
  border-bottom: 1px solid #edf1f6;
}

.rd-live-results .rd-search-item {
  border-bottom: 1px solid #edf1f6;
}

.rd-live-results .display_box:last-child {
  border-bottom: 0;
}

.rd-live-results .rd-search-item:last-child {
  border-bottom: 0;
}

.rd-live-results .display_box a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #182437;
  font-size: 14px;
}

.rd-live-results .rd-search-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #182437;
  font-size: 14px;
}

.rd-live-results .display_box a:hover {
  background: #f4f8ff;
}

.rd-live-results .rd-search-item:hover {
  background: #f4f8ff;
}

.rd-live-results .searchimgfunc {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  flex: 0 0 46px;
}

.rd-live-results .rd-search-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  flex: 0 0 46px;
}

.rd-live-results .name b {
  color: #1f67df;
}

.rd-live-results .rd-search-item mark {
  background: #f1c40f;
  color: #2c3e50;
  padding: 0 2px;
}

.rd-shape {
  position: absolute;
  pointer-events: none;
}

.rd-shape-purple {
  width: 260px;
  height: 170px;
  left: -48px;
  top: -30px;
  background: #a974bb;
  border-radius: 0 0 200px 0;
}

.rd-shape-gift {
  width: 260px;
  height: 190px;
  right: 58px;
  bottom: -38px;
  background: linear-gradient(90deg, #ff4e3b 0 56%, #ec544d 56% 100%);
  border-radius: 0;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15) inset;
}

.rd-shape-gift:before,
.rd-shape-gift:after {
  content: '';
  position: absolute;
  background: #f6d1bf;
}

.rd-shape-gift:before {
  width: 5px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.rd-shape-gift:after {
  width: 100%;
  height: 5px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.rd-shape-leaf {
  width: 190px;
  height: 190px;
  right: 310px;
  top: -24px;
}

.rd-shape-leaf:before,
.rd-shape-leaf:after {
  content: '';
  position: absolute;
  background: #39b4c8;
  border-radius: 50px 50px 50px 0;
  width: 34px;
  height: 56px;
  transform-origin: center;
}

.rd-shape-leaf:before {
  left: 68px;
  top: 2px;
  box-shadow: -26px 20px 0 #39b4c8, -50px 46px 0 #39b4c8, -74px 70px 0 #39b4c8;
}

.rd-shape-leaf:after {
  right: 24px;
  top: 16px;
  transform: rotate(20deg);
  box-shadow: -24px 28px 0 #39b4c8, -49px 54px 0 #39b4c8;
}

.rd-shape-stars {
  left: 320px;
  top: 64px;
  width: 72px;
  height: 72px;
}

.rd-shape-stars:before,
.rd-shape-stars:after {
  content: '';
  position: absolute;
  background: #f8c600;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.rd-shape-stars:before {
  width: 48px;
  height: 48px;
  left: 18px;
  top: 16px;
}

.rd-shape-stars:after {
  width: 24px;
  height: 24px;
  left: 0;
  top: 0;
}

.rd-section {
  padding: 48px 0;
}

.rd-white {
  background: #fff;
}

.rd-gray {
  background: #f1f3f6;
}

.rd-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
}

.rd-gray .rd-title {
  font-size: 47px;
  font-weight: 600;
  color: #314a6a;
}

.rd-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.rd-brand-card {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  padding: 16px 12px 14px;
}

.rd-brand-card img {
  width: 128px;
  height: 128px;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  padding: 7px;
  border: 1px solid #dbe3ec;
  border-radius: 50%;
  display: block;
}

.rd-brand-card span {
  display: block;
  padding: 12px 6px 0;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  min-height: 44px;
}

.rd-coupon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rd-coupon-card {
  background: #f7f8fa;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
  text-align: center;
  padding: 16px 14px 22px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.rd-discount {
  display: block;
  color: #1363eb;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 12px;
}

.rd-coupon-divider {
  height: 1px;
  background: #d4d9df;
  width: 100%;
  margin: 0 0 26px;
}

.rd-store-logo {
  display: inline-block;
}

.rd-store-logo img {
  width: 116px;
  height: 116px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid #dbe3ec;
  padding: 6px;
  background: #fff;
  display: block;
}

.rd-coupon-title {
  margin: 22px 0 8px;
  min-height: 74px;
}

.rd-coupon-title a {
  color: #344767;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.rd-verified {
  color: #1d6be2;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
}

.rd-verified:after {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-left: 7px;
  border-radius: 50%;
  background: #13bf58;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
}

.rd-coupon-btn {
  display: block;
  width: 100%;
  margin-top: auto;
  background: #1063eb;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 14px;
  border-radius: 12px;
  letter-spacing: 0.7px;
  box-shadow: 0 4px 8px rgba(16, 99, 235, 0.25);
}

.rd-category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 30px 22px;
}

.rd-cat-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: block;
}

.rd-cat-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

.rd-cat-card span {
  display: block;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #1f2f4a;
  text-align: center;
  line-height: 1.35;
}

.rd-categories-section {
  background: #f1f2f4;
}

.rd-categories-section .rd-title {
  font-size: 42px;
  font-weight: 600;
  color: #314a6a;
}

.rd-info {
  padding-top: 8px;
}

.rd-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rd-info-grid article {
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  padding: 22px;
  background: #fff;
}

.rd-info-grid h3 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #1f2937;
}

.rd-info-grid p,
.rd-info-grid li {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.rd-info-grid ul {
  margin: 0;
  padding-left: 17px;
}

.rd-blogs {
  padding-top: 0;
}

.rd-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rd-blog-card {
  border: 1px solid #dce8ef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.rd-blog-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f5f8fb;
}

.rd-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-blog-body {
  padding: 14px;
}

.rd-blog-body h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.rd-blog-body h3 a {
  color: #2c3e50;
}

.rd-blog-body p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #2d3436;
}

.rd-blog-btn {
  display: inline-block;
  margin-top: 12px;
  border-radius: 8px;
  background: #2ecc71;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}

.rd-blog-btn:hover {
  background: #2c3e50;
}

.rd-featured {
  padding-top: 0;
}

.rd-store-links {
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.rd-store-links a {
  color: #2f3a4a;
  font-size: 14px;
}

.rd-store-links a:hover {
  color: #0f8b8d;
}

.rd-footer {
  background: #2c3e50;
  color: #ffffff;
  padding: 42px 0 26px;
}

.rd-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 16px;
}

.rd-popup-overlay.rd-open {
  display: flex;
}

.rd-popup-box {
  width: 620px;
  max-width: 100%;
  background: #ffffff;
  border: 2px solid #f1c40f;
  border-radius: 16px;
  padding: 22px;
  position: relative;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.rd-popup-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #2c3e50;
  color: #ffffff;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.rd-popup-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 14px;
}

.rd-popup-store-logo {
  width: 125px;
  height: 125px;
  border: 2px solid #f1c40f;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 125px;
}

.rd-popup-store-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
}

.rd-popup-kicker {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2ecc71;
}

.rd-popup-box h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 23px;
  line-height: 1.4;
  font-weight: 400;
}

#rdPopupPageName {
  font-weight: 700;
}

.rd-popup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.rd-popup-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #2ecc71;
  border-radius: 10px;
  padding: 0 13px;
  font-size: 14px;
}

.rd-popup-form button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #2ecc71;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
}

.rd-popup-form button:hover {
  background: #2c3e50;
}

.rd-popup-msg {
  margin: 11px 0 0;
  font-size: 13px;
}

.rd-popup-msg.success {
  color: #2ecc71;
}

.rd-popup-msg.error {
  color: #f1c40f;
}

.rd-newsletter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #2ecc71;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  margin-bottom: 24px;
}

.rd-newsletter-copy h3 {
  margin: 0;
  font-size: 17px;
  color: #ffffff;
}

.rd-newsletter-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #ffffff;
}

.rd-newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 420px;
  max-width: 100%;
}

.rd-newsletter-form input {
  flex: 1;
  min-height: 38px;
  border: 1px solid #f1c40f;
  border-radius: 8px;
  padding: 0 11px;
  font-size: 12px;
  color: #2d3436;
  background: #ffffff;
}

.rd-newsletter-form button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #2ecc71;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
}

.rd-newsletter-msg {
  margin: -8px 0 14px;
  font-size: 12px;
  text-align: left;
}

.rd-newsletter-msg.success {
  color: #2ecc71;
}

.rd-newsletter-msg.error {
  color: #f1c40f;
}

.rd-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
  margin-bottom: 34px;
}

.rd-footer-col h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.rd-footer-col a {
  display: block;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 4px;
}

.rd-footer-col a:hover {
  color: #f1c40f;
}

.rd-copy,
.rd-note {
  text-align: center;
  color: #ffffff;
}

.rd-copy {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.rd-note {
  margin: 8px auto 16px;
  max-width: 880px;
  font-size: 12px;
}

.rd-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.rd-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.rd-socials a:hover {
  border-color: #2ecc71;
  background: #2ecc71;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .rd-menu-toggle {
    display: inline-block;
  }

  .rd-header-search {
    display: none;
  }

  .rd-header-search-wrap {
    display: none;
  }

  .rd-logo-text strong {
    font-size: 17px;
  }

  .rd-logo-text em {
    font-size: 17px;
  }

  .rd-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 82px;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    padding: 10px;
    display: none;
  }

  .rd-nav.rd-open {
    display: block;
  }

  .rd-nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .rd-nav > ul > li {
    width: 100%;
  }

  .rd-nav > ul > li > a {
    min-height: 48px;
    width: 100%;
    padding: 0 10px;
    font-size: 19px;
  }

  .rd-nav > ul > li > a i {
    font-size: 17px;
  }

  .rd-dropdown {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 10px;
    min-width: 100%;
  }

  .rd-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rd-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .rd-hero h1 {
    font-size: 38px;
  }

  .rd-search input {
    font-size: 21px;
  }

  .rd-coupon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .rd-wrap {
    max-width: calc(100% - 20px);
  }

  .rd-logo {
    min-width: 0;
  }

  .rd-logo-mark {
    width: 32px;
    height: 30px;
    font-size: 21px;
  }

  .rd-logo-text strong {
    font-size: 18px;
  }

  .rd-logo-text em {
    font-size: 19px;
  }

  .rd-hero {
    padding: 70px 0 84px;
  }

  .rd-hero h1 {
    font-size: 30px;
  }

  .rd-search {
    margin-top: 24px;
    max-width: 100%;
  }

  .rd-search input {
    min-height: 52px;
    font-size: 17px;
  }

  .rd-search button {
    min-width: 58px;
    font-size: 26px;
  }

  .rd-shape-purple {
    width: 120px;
    height: 88px;
  }

  .rd-shape-gift,
  .rd-shape-leaf,
  .rd-shape-stars {
    display: none;
  }

  .rd-title {
    font-size: 28px;
  }

  .rd-gray .rd-title {
    font-size: 32px;
  }

  .rd-coupon-card {
    min-height: 320px;
  }

  .rd-discount {
    font-size: 22px;
  }

  .rd-coupon-title a {
    font-size: 16px;
  }

  .rd-verified {
    font-size: 14px;
  }

  .rd-coupon-btn {
    font-size: 13px;
  }

  .rd-brand-grid,
  .rd-coupon-grid,
  .rd-info-grid,
  .rd-blog-grid {
    grid-template-columns: 1fr;
  }

  .rd-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .rd-cat-card img {
    width: 62px;
    height: 62px;
  }

  .rd-footer {
    padding: 34px 0 20px;
  }

  .rd-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    margin-bottom: 24px;
  }

  .rd-newsletter-bar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .rd-newsletter-form {
    width: 100%;
  }

  .rd-newsletter-msg {
    margin-top: -2px;
    margin-bottom: 12px;
  }

  .rd-footer-col h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .rd-footer-col a {
    font-size: 12px;
  }

  .rd-copy {
    font-size: 13px;
  }

  .rd-note {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .rd-popup-box h3 {
    font-size: 17px;
  }

  .rd-popup-box {
    padding: 16px;
  }

  .rd-popup-form {
    grid-template-columns: 1fr;
  }
}

/* Strict 5-color palette */
.rd-body,
body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

.rd-header {
  background: var(--bg) !important;
}

.rd-footer {
  background: var(--secondary) !important;
}

.rd-nav > ul > li > a,
.rd-title,
.rd-coupon-title a,
.rd-brand-card span,
.rd-category-card span,
.rd-info-grid h3,
.rd-logo-text em,
.rd-logo-text strong {
  color: var(--secondary) !important;
}

.rd-nav > ul > li > a:hover,
.rd-live-results .name b,
.rd-discount,
.rd-verified,
.rd-header-search button,
.rd-logo-mark {
  color: var(--primary) !important;
}

.rd-search,
.rd-live-results,
.rd-coupon-card,
.rd-brand-card,
.rd-cat-card,
.rd-info-grid article {
  border-color: var(--secondary) !important;
}

.rd-coupon-btn,
.rd-search button,
.rd-header-search button {
  background: var(--primary) !important;
  color: var(--bg) !important;
  box-shadow: none !important;
}

.rd-verified:after {
  background: var(--primary) !important;
  color: var(--bg) !important;
}

.rd-badge,
.rd-shape-stars:before,
.rd-shape-stars:after {
  background: var(--accent) !important;
}

.rd-gray,
.rd-categories-section {
  background: var(--bg) !important;
}

.rd-shape-purple,
.rd-shape-gift,
.rd-shape-leaf:before,
.rd-shape-leaf:after {
  background: var(--accent) !important;
}

.rd-logo-mark {
  background: var(--primary) !important;
  color: var(--bg) !important;
}

.rd-header-search,
.rd-dropdown,
.rd-hero,
.rd-brand-card,
.rd-coupon-card,
.rd-cat-card,
.rd-info-grid article,
.rd-store-links,
.rd-note,
.rd-copy {
  color: var(--text) !important;
}

.rd-footer {
  border-top: 1px solid var(--accent) !important;
}

.rd-footer-links a,
.rd-socials a,
.rd-note,
.rd-copy {
  color: var(--bg) !important;
}

.rd-newsletter-copy h3,
.rd-newsletter-copy p,
.rd-newsletter-form button {
  color: var(--bg) !important;
}

.rd-newsletter-bar {
  border-color: var(--primary) !important;
}

.rd-newsletter-form input {
  border-color: var(--accent) !important;
}

.rd-newsletter-form button {
  background: var(--primary) !important;
}

.rd-newsletter-msg.success {
  color: var(--primary) !important;
}

.rd-newsletter-msg.error {
  color: var(--accent) !important;
}

.rd-footer-col a,
.rd-socials a {
  border-color: var(--primary) !important;
}

.rd-footer-col a:hover,
.rd-socials a:hover {
  color: var(--accent) !important;
}

.rd-popup-box {
  border-color: var(--accent) !important;
}

.rd-popup-form button,
.rd-popup-close {
  background: var(--primary) !important;
  color: var(--bg) !important;
}

.rd-popup-box h3 {
  color: var(--secondary) !important;
}

.rd-popup-field input {
  border-color: var(--primary) !important;
}

.rd-popup-msg.success {
  color: var(--primary) !important;
}

.rd-popup-msg.error {
  color: var(--accent) !important;
}

/* Unified header style across all pages */
.rd-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #ffffff !important;
  border-bottom: 1px solid #d9e5ed;
}

.rd-header-wrap {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}

.rd-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rd-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #2c3e50;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.rd-logo-text {
  display: inline-flex;
  gap: 3px;
  font-size: 20px;
  line-height: 1;
}

.rd-logo-text strong { color: #2c3e50; }
.rd-logo-text em { color: #2ecc71; font-style: normal; }

.rd-header-search {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  border: 1px solid #ccdce6;
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
}

.rd-header-search input {
  border: 0;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.rd-header-search button {
  border: 0;
  min-height: 42px;
  width: 42px;
  background: #2ecc71;
  color: #fff;
  border-left: 0;
}

.rd-nav {
  grid-column: 1 / -1;
  margin-left: 0;
}

.rd-nav ul {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rd-nav > ul > li > a {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #2c3e50;
  font-size: 13px;
  font-weight: 600;
}

.rd-nav > ul > li > a:hover {
  background: #f4fbf7;
  color: #2ecc71;
}

.rd-dropdown {
  top: calc(100% + 4px);
  border: 1px solid #dbe7ee;
  box-shadow: 0 10px 22px rgba(28, 39, 57, 0.12);
  padding: 6px;
}

.rd-dropdown a {
  font-size: 13px;
  padding: 8px 10px;
}

@media (max-width: 980px) {
  .rd-header-wrap {
    grid-template-columns: auto 1fr auto;
  }

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

  .rd-nav {
    display: none;
    grid-column: 1 / -1;
  }

  .rd-nav.rd-open {
    display: block;
  }

  .rd-nav ul {
    display: grid;
    gap: 6px;
  }

  .rd-has-dropdown:hover .rd-dropdown {
    display: none;
  }
}

@media (max-width: 640px) {
  .rd-header-wrap {
    grid-template-columns: auto auto;
    grid-template-areas:
      "logo menu"
      "search search";
    gap: 8px;
    padding: 8px 0;
  }

  .rd-logo { grid-area: logo; min-width: 0; }
  .rd-menu-toggle { grid-area: menu; justify-self: end; }
  .rd-header-search-wrap { grid-area: search; }

  .rd-logo-mark {
    width: 32px;
    height: 32px;
  }

  .rd-logo-text {
    font-size: 16px;
    white-space: nowrap;
  }
}
