/* Royal Flat only. Every rule is scoped so other storefront templates are untouched. */

body[data-landing-royal-flat="1"] {
  --rf-nav-bg: #1c2434;
  --rf-nav-ink: #ffffff;
  --rf-hero-bg: #f6f1e8;
  --rf-categories-bg: #efe6d4;
  --rf-products-bg: #f8f4ec;
  --rf-close-bg: #243044;
  --rf-close-ink: #ffffff;
  --rf-footer-bg: #1c2434;
  --rf-footer-ink: #ffffff;
  --rf-accent: #c6a15a;
  --rf-accent-ink: #111111;
  --rf-gold: var(--rf-accent);
  --rf-page: var(--rf-products-bg);
  --rf-ink: var(--text, #111111);
  --ch-navy: var(--rf-nav-bg);
  --ch-navy-2: var(--rf-nav-bg);
  --ch-search: var(--rf-accent);
  background: var(--rf-page) !important;
  color: var(--rf-ink);
  font-family: var(--store-font, Inter, system-ui, sans-serif);
}

body[data-landing-royal-flat="1"].lang-bn {
  font-family: var(--store-font-bn, var(--store-font, 'Noto Sans Bengali', Inter, sans-serif));
}

body[data-landing-royal-flat="1"] #main-content,
body[data-landing-royal-flat="1"] .rf-page {
  background: var(--rf-page);
  padding-top: 0;
}

body[data-landing-royal-flat="1"] .appbar-spacer,
body[data-landing-royal-flat="1"] #appbarSpacer.appbar-spacer {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
}

body[data-landing-royal-flat="1"] .container {
  max-width: 1220px;
}

body[data-landing-royal-flat="1"] .rf-wrap {
  width: min(1220px, calc(100% - 24px));
  margin-inline: auto;
}

body[data-landing-royal-flat="1"] .rf-header {
  background: #fff;
  color: var(--rf-ink);
  z-index: 1030;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease;
}

body[data-landing-royal-flat="1"] .rf-topbar {
  background: #000;
  color: #fff;
  max-height: 48px;
  overflow: hidden;
  font-size: 0.82rem;
  transition: max-height 0.4s ease, opacity 0.35s ease;
}

body[data-landing-royal-flat="1"] .rf-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  padding: 4px 0;
}

body[data-landing-royal-flat="1"] .rf-announce {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-landing-royal-flat="1"] .rf-top-contacts,
body[data-landing-royal-flat="1"] .rf-top-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

body[data-landing-royal-flat="1"] .rf-top-contacts a,
body[data-landing-royal-flat="1"] .rf-top-social a,
body[data-landing-royal-flat="1"] .rf-lang-btn {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
}

body[data-landing-royal-flat="1"] .rf-mast {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #eee;
}

body[data-landing-royal-flat="1"] .rf-mast-inner {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  transition: min-height 0.4s ease;
}

body[data-landing-royal-flat="1"] .rf-header.scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

body[data-landing-royal-flat="1"] .rf-header.scrolled .rf-topbar {
  max-height: 0;
  opacity: 0;
}

body[data-landing-royal-flat="1"] .rf-header.scrolled .rf-mast-inner {
  min-height: 62px;
}

body[data-landing-royal-flat="1"] .rf-header.scrolled .rf-logo img {
  max-height: 52px;
}

body[data-landing-royal-flat="1"] .rf-menu-toggle,
body[data-landing-royal-flat="1"] .rf-search-toggle {
  display: none;
}

body[data-landing-royal-flat="1"] .rf-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #111;
  text-decoration: none;
}

body[data-landing-royal-flat="1"] .rf-logo img {
  width: 100px;
  max-height: 76px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: max-height 0.4s ease;
}

body[data-landing-royal-flat="1"] .rf-logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
}

body[data-landing-royal-flat="1"] .rf-header .elastic-search-wrap {
  max-width: none;
  margin: 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

body[data-landing-royal-flat="1"] .rf-search-row {
  display: flex;
  align-items: stretch;
  min-height: 42px;
  background: #fff;
  border: 1px solid #ddd;
}

body[data-landing-royal-flat="1"] .rf-search-cat select,
body[data-landing-royal-flat="1"] .rf-search-input {
  border: 0;
  background: #fff;
  color: #111;
  font-size: 16px;
  min-height: 42px;
  outline: none;
  box-shadow: none;
}

body[data-landing-royal-flat="1"] .rf-search-cat select {
  max-width: 148px;
  padding: 0 8px 0 10px;
  border-right: 1px solid #e6e6e6;
  font-weight: 600;
}

body[data-landing-royal-flat="1"] .rf-search-input {
  flex: 1;
  min-width: 0;
  padding: 0 8px;
}

body[data-landing-royal-flat="1"] .rf-search-clear {
  display: none;
  border: 0;
  background: transparent;
  color: #666;
  padding: 0 8px;
}

body[data-landing-royal-flat="1"] .rf-search-btn {
  width: 46px;
  border: 0;
  background: var(--rf-accent);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background 0.25s ease;
}

body[data-landing-royal-flat="1"] .rf-search-btn:hover { background: #111; }

body[data-landing-royal-flat="1"] .rf-mast-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-landing-royal-flat="1"] .rf-icon-btn,
body[data-landing-royal-flat="1"] .rf-cart-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

body[data-landing-royal-flat="1"] .rf-cart-wrap { position: relative; }

body[data-landing-royal-flat="1"] .rf-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.92rem;
}

body[data-landing-royal-flat="1"] .rf-cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
}

body[data-landing-royal-flat="1"] .rf-minicart {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 240px;
  background: #fff;
  text-align: center;
  padding: 22px 16px 18px;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
  z-index: 30;
}

body[data-landing-royal-flat="1"] .rf-cart-wrap:hover .rf-minicart,
body[data-landing-royal-flat="1"] .rf-cart-wrap:focus-within .rf-minicart {
  display: block;
}

body[data-landing-royal-flat="1"] .rf-minicart-empty-icon {
  font-size: 2.4rem;
  opacity: 0.18;
  display: block;
  margin-bottom: 8px;
}

body[data-landing-royal-flat="1"] .rf-minicart-msg { margin: 0 0 12px; }

body[data-landing-royal-flat="1"] .rf-minicart-btn {
  display: inline-block;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  font-size: 0.82rem;
}

body[data-landing-royal-flat="1"] .rf-catnav {
  background: #fff;
  border-bottom: 1px solid #eee;
}

body[data-landing-royal-flat="1"] .rf-catnav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 22px;
  list-style: none;
  margin: 0;
  padding: 6px 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

body[data-landing-royal-flat="1"] .rf-catnav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.25s ease;
}

body[data-landing-royal-flat="1"] .rf-catnav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--rf-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

body[data-landing-royal-flat="1"] .rf-catnav-list a:hover,
body[data-landing-royal-flat="1"] .rf-catnav-list a.is-active {
  color: var(--rf-accent);
}

body[data-landing-royal-flat="1"] .rf-catnav-list a:hover::after,
body[data-landing-royal-flat="1"] .rf-catnav-list a.is-active::after {
  transform: scaleX(1);
}

body[data-landing-royal-flat="1"] .rf-mobile-menu[hidden] { display: none !important; }

body[data-landing-royal-flat="1"] .rf-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1040;
}

body[data-landing-royal-flat="1"] .rf-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: #fff;
  z-index: 1041;
  overflow: auto;
  padding-bottom: 24px;
}

body[data-landing-royal-flat="1"] .rf-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-weight: 800;
  border-bottom: 1px solid #eee;
}

body[data-landing-royal-flat="1"] .rf-mobile-drawer-head button {
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

body[data-landing-royal-flat="1"] .rf-mobile-drawer a {
  display: block;
  padding: 12px 18px;
  color: #222;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #ececec;
}

html.rf-menu-open { overflow: hidden; }

body[data-landing-royal-flat="1"] .rf-hero {
  position: relative;
  background: #fff;
  margin: 0;
  padding: 0;
  line-height: 0;
}

body[data-landing-royal-flat="1"] .rf-hero-rail { position: relative; min-height: 0; background: #fff; }

body[data-landing-royal-flat="1"] .rf-hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: #fff;
}

body[data-landing-royal-flat="1"] .rf-hero-track::-webkit-scrollbar { display: none; }

body[data-landing-royal-flat="1"] .rf-hero-slide,
body[data-landing-royal-flat="1"] .rf-hero-slide--plain {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  height: auto;
  min-height: 0;
  max-height: none;
  background: #fff8f2;
  overflow: hidden;
}

body[data-landing-royal-flat="1"] .rf-hero-slide--plain {
  height: 200px;
  max-height: 200px;
  background: linear-gradient(100deg, #2a2118 0%, #6b4e16 100%);
}

body[data-landing-royal-flat="1"] .rf-hero-slide img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

body[data-landing-royal-flat="1"] .rf-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.05) 46%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
}

body[data-landing-royal-flat="1"] .rf-hero-copy {
  position: absolute;
  z-index: 2;
  left: max(16px, calc((100% - 1220px) / 2));
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 560px;
  margin: 0;
  line-height: 1.3;
}

body[data-landing-royal-flat="1"] .rf-hero-kicker {
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fcb414;
}

body[data-landing-royal-flat="1"] .rf-hero-title {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

body[data-landing-royal-flat="1"] .rf-hero-lead {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.35;
  max-width: 34rem;
  max-height: 2.7em;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
}

body[data-landing-royal-flat="1"] .rf-hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--rf-accent);
  color: #111;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

body[data-landing-royal-flat="1"] .rf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-landing-royal-flat="1"] .rf-hero-cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

body[data-landing-royal-flat="1"] .rf-hero-cta.is-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

body[data-landing-royal-flat="1"] .rf-hero-cta.is-ghost:hover {
  background: #fff;
  color: #111;
}

body[data-landing-royal-flat="1"] .public-appbar-wrapper,
body[data-landing-royal-flat="1"] #appbarSpacer {
  display: none !important;
  height: 0 !important;
}

body[data-landing-royal-flat="1"] .ch-header {
  background: var(--rf-nav-bg, var(--ch-navy, #131921)) !important;
  color: var(--rf-nav-ink, #fff);
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.35s ease;
}

body[data-landing-royal-flat="1"] .ch-header.is-scrolled {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

body[data-landing-royal-flat="1"] .ch-header .ch-header-row {
  transition: padding 0.35s ease;
}

body[data-landing-royal-flat="1"] .ch-header.is-scrolled .ch-header-row {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

body[data-landing-royal-flat="1"] .ch-subnav {
  background: var(--rf-nav-bg, var(--ch-navy-2, #232f3e)) !important;
  color: var(--rf-nav-ink, #fff);
}

body[data-landing-royal-flat="1"] .ch-header-row {
  display: flex;
  align-items: center;
}

body[data-landing-royal-flat="1"] .ch-header .ch-search,
body[data-landing-royal-flat="1"] .ch-header .ch-search.elastic-search-wrap {
  display: flex !important;
  align-items: stretch;
  max-width: none;
  width: auto;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  background: #fff;
  border-radius: 4px;
  overflow: visible;
}

body[data-landing-royal-flat="1"] .ch-search-btn {
  background: var(--rf-accent, var(--ch-search, #febd69)) !important;
  color: var(--rf-accent-ink, #111) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 1;
}

body[data-landing-royal-flat="1"] .ch-search-btn i {
  font-size: 1.05rem;
  line-height: 1;
  display: block;
}

@media (max-width: 767.98px) {
  body[data-landing-royal-flat="1"] .ch-header .ch-search,
  body[data-landing-royal-flat="1"] .ch-header .ch-search.elastic-search-wrap {
    height: 40px;
    min-height: 40px;
    border-radius: 999px;
    overflow: hidden;
    align-items: stretch;
  }
  body[data-landing-royal-flat="1"] .ch-search-field,
  body[data-landing-royal-flat="1"] .ch-search input[type="search"],
  body[data-landing-royal-flat="1"] .ch-search .elastic-search-input {
    height: 40px;
    min-height: 0;
    border-radius: 0;
  }
  body[data-landing-royal-flat="1"] .ch-search-btn {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 40px !important;
    min-height: 40px;
    border-radius: 0 999px 999px 0 !important;
    font-size: 1rem;
  }
}

body[data-landing-royal-flat="1"] .ch-logo,
body[data-landing-royal-flat="1"] .ch-tool,
body[data-landing-royal-flat="1"] .ch-tool small,
body[data-landing-royal-flat="1"] .ch-tool strong,
body[data-landing-royal-flat="1"] .ch-subnav a,
body[data-landing-royal-flat="1"] .ch-subnav button {
  color: var(--rf-nav-ink, #fff);
}

body[data-landing-royal-flat="1"] .elastic-search-backdrop,
body[data-landing-royal-flat="1"] .elastic-search-backdrop--hub {
  background: rgba(15, 23, 42, 0.18) !important;
  backdrop-filter: none !important;
  z-index: 1050 !important;
}

body[data-landing-royal-flat="1"] .elastic-search-dropdown,
body[data-landing-royal-flat="1"].elastic-search-overlay-open .elastic-search-dropdown,
body[data-landing-royal-flat="1"] .elastic-search-dropdown--hub {
  left: var(--elastic-dropdown-left, 1rem) !important;
  top: var(--elastic-dropdown-top, 120px) !important;
  bottom: auto !important;
  right: auto !important;
  width: var(--elastic-dropdown-width, min(720px, calc(100vw - 1rem))) !important;
  max-height: var(--elastic-dropdown-max-h, min(70vh, 420px)) !important;
  border-radius: 0 0 6px 6px !important;
  border: 1px solid #d5d9d9 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18) !important;
  background: #fff !important;
  transform: none !important;
  z-index: 1060 !important;
}

body[data-landing-royal-flat="1"] .elastic-search-dropdown .sheet-handle,
body[data-landing-royal-flat="1"] .elastic-search-result .result-meta { display: none !important; }

body[data-landing-royal-flat="1"] .elastic-search-result {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: #0f1111;
  text-decoration: none;
}

body[data-landing-royal-flat="1"] .elastic-search-result:hover,
body[data-landing-royal-flat="1"] .elastic-search-result.is-active { background: #f7f8f8 !important; }

body[data-landing-royal-flat="1"] .elastic-search-dropdown.open,
body[data-landing-royal-flat="1"].elastic-search-overlay-open .elastic-search-dropdown,
body[data-landing-royal-flat="1"].elastic-search-overlay-open--hub .elastic-search-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  max-height: var(--elastic-dropdown-max-h, min(70vh, 420px)) !important;
  overflow: hidden !important;
}

body[data-landing-royal-flat="1"] .rf-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

body[data-landing-royal-flat="1"] .rf-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 148px;
  padding: 14px 10px 12px;
  background: #fff;
  border: 1px solid #ececec;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body[data-landing-royal-flat="1"] .rf-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

body[data-landing-royal-flat="1"] .rf-cat-card-img {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

body[data-landing-royal-flat="1"] .rf-cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

body[data-landing-royal-flat="1"] .rf-cat-card:hover .rf-cat-card-img img { transform: scale(1.06); }

body[data-landing-royal-flat="1"] .rf-cat-card-img i { font-size: 1.8rem; color: #888; }

@media (min-width: 768px) {
  body[data-landing-royal-flat="1"] .rf-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body[data-landing-royal-flat="1"] .rf-hero-rail .rf-rail-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

body[data-landing-royal-flat="1"] .rf-rail-prev { left: 12px; }
body[data-landing-royal-flat="1"] .rf-rail-next { right: 12px; }

body[data-landing-royal-flat="1"] .rf-section {
  padding: 22px 0 6px;
  background: transparent;
}

body[data-landing-royal-flat="1"] .rf-sec-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

body[data-landing-royal-flat="1"] .rf-sec-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #e4e4e4;
  white-space: nowrap;
}

body[data-landing-royal-flat="1"] .rf-sec-more:hover {
  border-color: var(--rf-accent);
  background: #fff8e8;
  color: #111;
}

body[data-landing-royal-flat="1"] .rf-sec-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
}

body[data-landing-royal-flat="1"] .rf-sec-title b {
  flex: 1;
  height: 2px;
  background: rgba(0, 0, 0, 0.12);
}

body[data-landing-royal-flat="1"] .rf-sec-title span { white-space: nowrap; }

body[data-landing-royal-flat="1"] .rf-marquee {
  overflow: hidden;
  padding: 6px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

body[data-landing-royal-flat="1"] .rf-marquee.is-run .rf-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: rf-slide-ltr max(28s, var(--rf-marquee-s, 36s)) linear infinite;
  will-change: transform;
}

body[data-landing-royal-flat="1"] .rf-marquee.is-run {
  overflow: hidden;
  padding: 16px 0 28px;
}

body[data-landing-royal-flat="1"] .rf-marquee.is-static {
  -webkit-mask-image: none;
  mask-image: none;
  overflow: visible;
  padding: 8px 0 28px;
}

body[data-landing-royal-flat="1"] .rf-marquee.is-static .rf-marquee-track {
  display: flex;
  gap: 14px;
  width: min(1220px, calc(100% - 24px));
  margin-inline: auto;
  justify-content: center;
  flex-wrap: wrap;
  animation: none;
}

body[data-landing-royal-flat="1"] .rf-marquee:hover .rf-marquee-track,
body[data-landing-royal-flat="1"] .rf-marquee:focus-within .rf-marquee-track {
  animation-play-state: paused;
}

@keyframes rf-slide-ltr {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

body[data-landing-royal-flat="1"] .rf-card {
  width: 230px;
  flex: 0 0 230px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #ececec;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 0 0 12px;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

body[data-landing-royal-flat="1"] .rf-card:hover {
  transform: translateY(-10px);
  border-color: #f3c14b;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

body[data-landing-royal-flat="1"] .rf-card-img {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

body[data-landing-royal-flat="1"] .rf-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body[data-landing-royal-flat="1"] .rf-card:hover .rf-card-img img {
  transform: scale(1.08);
}

body[data-landing-royal-flat="1"] .rf-card:hover .rf-atc {
  background: var(--rf-gold) !important;
  color: #fff !important;
}

body[data-landing-royal-flat="1"] .rf-card-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #ccc;
  font-size: 2rem;
}

body[data-landing-royal-flat="1"] .rf-sale {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 50%;
  background: #e11d2e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}

body[data-landing-royal-flat="1"] .rf-card-title {
  margin: 8px 10px 2px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.6em;
}

body[data-landing-royal-flat="1"] .rf-card-title a {
  color: #222;
  text-decoration: none;
}

body[data-landing-royal-flat="1"] .rf-card-price {
  margin: 0 10px 8px;
  font-weight: 700;
  color: #111;
}

body[data-landing-royal-flat="1"] .rf-card-price del {
  color: #9a9a9a;
  font-weight: 500;
  margin-right: 6px;
}

body[data-landing-royal-flat="1"] .rf-card-price ins { text-decoration: none; }

body[data-landing-royal-flat="1"] .rf-card form { margin: 0; }

body[data-landing-royal-flat="1"] .rf-atc {
  width: calc(100% - 20px);
  margin: 2px auto 0;
  min-height: 40px;
  padding: 0 8px;
  border: 2px solid var(--rf-gold) !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--rf-gold) !important;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none !important;
  text-transform: capitalize;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body[data-landing-royal-flat="1"] .rf-atc:hover {
  background: var(--rf-gold) !important;
  color: #fff !important;
}

body[data-landing-royal-flat="1"] .rf-atc.is-disabled {
  border-color: #ccc !important;
  color: #888 !important;
  cursor: default;
}

body[data-landing-royal-flat="1"] .rf-reviews { padding-bottom: 28px; }

body[data-landing-royal-flat="1"] .rf-reviews-title {
  margin: 8px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
}

body[data-landing-royal-flat="1"] .rf-review-track {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-landing-royal-flat="1"] .rf-review-card {
  background: #fff;
  border: 1px solid #ececec;
  overflow: hidden;
}

body[data-landing-royal-flat="1"] .rf-review-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

body[data-landing-royal-flat="1"] .rf-review-body { padding: 12px 14px 14px; }
body[data-landing-royal-flat="1"] .rf-review-body strong,
body[data-landing-royal-flat="1"] .rf-review-body span { display: block; }
body[data-landing-royal-flat="1"] .rf-review-body span { color: #666; font-size: 0.85rem; }
body[data-landing-royal-flat="1"] .rf-review-stars { margin: 6px 0; color: var(--rf-accent); }
body[data-landing-royal-flat="1"] .rf-review-body p:last-child { margin: 0; font-size: 0.92rem; }

body[data-landing-royal-flat="1"] .rf-footer-main {
  background: var(--rf-footer-bg) !important;
  color: var(--rf-footer-ink, #fff) !important;
  padding: 36px 0 28px;
}

body[data-landing-royal-flat="1"] .rf-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 28px 32px;
}

body[data-landing-royal-flat="1"] .rf-footer-col h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rf-footer-ink, #fff);
}

body[data-landing-royal-flat="1"] .rf-footer-rule {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--rf-footer-ink, #fff);
  opacity: 0.85;
  margin-bottom: 12px;
}

body[data-landing-royal-flat="1"] .rf-footer-address {
  margin: 0 0 14px;
  line-height: 1.65;
  color: var(--rf-footer-ink, #fff);
}

body[data-landing-royal-flat="1"] .rf-footer-col a { color: var(--rf-footer-ink, #fff); text-decoration: none; }
body[data-landing-royal-flat="1"] .rf-footer-col ul { list-style: none; margin: 0; padding: 0; }
body[data-landing-royal-flat="1"] .rf-footer-col li { margin: 0 0 8px; }

body[data-landing-royal-flat="1"] .rf-footer-social { display: flex; flex-wrap: wrap; gap: 8px; }

body[data-landing-royal-flat="1"] .rf-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--rf-footer-ink, #fff) 16%, transparent);
  color: var(--rf-footer-ink, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

body[data-landing-royal-flat="1"] .rf-footer-bottom {
  background: var(--rf-footer-bg) !important;
  color: var(--rf-footer-ink, #fff) !important;
  text-align: center;
  padding: 18px 0 22px;
  border-top: 1px solid color-mix(in srgb, var(--rf-footer-ink, #fff) 18%, transparent);
}

body[data-landing-royal-flat="1"] .rf-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

body[data-landing-royal-flat="1"] .rf-footer-bottom-links a {
  color: var(--rf-footer-ink, #fff);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
}

body[data-landing-royal-flat="1"] .rf-copy { margin: 0; }

body[data-landing-royal-flat="1"] .rf-toast-container {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1080;
}

body[data-landing-royal-flat="1"] .rf-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  font-weight: 600;
}

body[data-landing-royal-flat="1"] .rf-search-btn:focus-visible,
body[data-landing-royal-flat="1"] .rf-icon-btn:focus-visible,
body[data-landing-royal-flat="1"] .rf-cart:focus-visible,
body[data-landing-royal-flat="1"] .rf-atc:focus-visible,
body[data-landing-royal-flat="1"] .rf-catnav-list a:focus-visible {
  outline: 2px solid var(--rf-accent);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  body[data-landing-royal-flat="1"] .rf-review-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  body[data-landing-royal-flat="1"] .rf-announce { max-width: 46%; }
}

@media (min-width: 1200px) {
  body[data-landing-royal-flat="1"] .rf-marquee .rf-card {
    width: 248px;
    flex-basis: 248px;
  }
}

@media (max-width: 991.98px) {
  body[data-landing-royal-flat="1"] .rf-announce,
  body[data-landing-royal-flat="1"] .rf-top-social { display: none; }
  body[data-landing-royal-flat="1"] .rf-topbar-inner { justify-content: center; }
  body[data-landing-royal-flat="1"] .rf-mast-inner {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 70px;
  }
  body[data-landing-royal-flat="1"] .rf-menu-toggle,
  body[data-landing-royal-flat="1"] .rf-search-toggle { display: inline-flex; }
  body[data-landing-royal-flat="1"] .rf-logo { justify-content: center; }
  body[data-landing-royal-flat="1"] .rf-logo img { max-height: 58px; width: auto; }
  body[data-landing-royal-flat="1"] .rf-cart-label { display: none; }
  body[data-landing-royal-flat="1"] .rf-minicart { display: none !important; }
  body[data-landing-royal-flat="1"] .rf-search {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px 12px 12px;
    background: #fff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    z-index: 6;
  }
  body[data-landing-royal-flat="1"] .rf-header.is-search-open .rf-search { display: block; }
  body[data-landing-royal-flat="1"] .rf-catnav-list { justify-content: flex-start; }
  body[data-landing-royal-flat="1"] .rf-footer-grid { grid-template-columns: 1fr; }
  body[data-landing-royal-flat="1"] .rf-sec-title { font-size: 1.05rem; }
  body[data-landing-royal-flat="1"] .rf-hero-slide--plain {
    height: 168px;
    max-height: 168px;
  }
  body[data-landing-royal-flat="1"] .rf-hero-slide img {
    height: auto;
    max-height: none;
  }
  body[data-landing-royal-flat="1"] .rf-hero-copy { left: 16px; right: 16px; max-width: none; }
  body[data-landing-royal-flat="1"] .rf-hero-title { font-size: 1.2rem; }
  body[data-landing-royal-flat="1"] .rf-marquee .rf-card { width: 168px; flex-basis: 168px; }
}

/* Catalog, cart, and CMS pages keep this navbar/footer and the same cards */
body[data-landing-royal-flat="1"] .landing-product-card {
  background: #fff !important;
  border: 1px solid #ececec !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center;
}

body[data-landing-royal-flat="1"] .landing-product-card .img-wrap {
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

body[data-landing-royal-flat="1"] .landing-product-card .img-wrap img {
  object-fit: contain;
}

body[data-landing-royal-flat="1"] .landing-product-card .card-actions form.d-flex,
body[data-landing-royal-flat="1"] .landing-product-card .btn-order-now {
  display: none !important;
}

body[data-landing-royal-flat="1"] .landing-product-card .card-actions form.d-inline { width: 100%; }

body[data-landing-royal-flat="1"] .landing-product-card .btn-add-to-cart {
  width: calc(100% - 16px);
  min-height: 40px;
  margin: 6px auto 0;
  border: 2px solid var(--rf-gold) !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--rf-gold) !important;
  font-weight: 700;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body[data-landing-royal-flat="1"] .landing-product-card .btn-add-to-cart::after {
  content: attr(aria-label);
}

body[data-landing-royal-flat="1"] .landing-product-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body[data-landing-royal-flat="1"] .landing-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12) !important;
}

body[data-landing-royal-flat="1"] .landing-product-card .img-wrap img {
  transition: transform 0.45s ease;
}

body[data-landing-royal-flat="1"] .landing-product-card:hover .img-wrap img {
  transform: scale(1.06) !important;
}

body[data-landing-royal-flat="1"] .landing-product-card .btn-add-to-cart:hover {
  background: var(--rf-gold) !important;
  color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
  body[data-landing-royal-flat="1"] .rf-atc,
  body[data-landing-royal-flat="1"] .rf-header,
  body[data-landing-royal-flat="1"] .rf-topbar,
  body[data-landing-royal-flat="1"] .rf-card,
  body[data-landing-royal-flat="1"] .rf-card-img img,
  body[data-landing-royal-flat="1"] .rf-hero-cta {
    transition: none !important;
  }
  body[data-landing-royal-flat="1"] .rf-marquee.is-run .rf-marquee-track,
  body[data-landing-royal-flat="1"] .rf-marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    width: min(1220px, calc(100% - 24px));
    margin-inline: auto;
  }
  body[data-landing-royal-flat="1"] .rf-marquee .rf-card[aria-hidden="true"] { display: none; }
  body[data-landing-royal-flat="1"] .rf-card:hover,
  body[data-landing-royal-flat="1"] .rf-card:hover .rf-card-img img,
  body[data-landing-royal-flat="1"] .landing-product-card:hover,
  body[data-landing-royal-flat="1"] .landing-product-card:hover .img-wrap img {
    transform: none;
  }
}

body[data-landing-royal-flat="1"] .rf-contact {
  background: #fff;
  border-bottom: 1px solid #ececec;
}

body[data-landing-royal-flat="1"] .rf-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  min-height: 46px;
  padding: 8px 0;
}

body[data-landing-royal-flat="1"] .rf-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

body[data-landing-royal-flat="1"] .rf-contact-row a:hover { color: #9a6b00; }

body[data-landing-royal-flat="1"] .rf-close {
  margin: 18px auto 8px;
  width: min(1220px, calc(100% - 24px));
  background: var(--rf-close-bg, #243044) !important;
  color: var(--rf-close-ink, #fff) !important;
  border-radius: 4px;
}

body[data-landing-royal-flat="1"] .rf-close-inner {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 18px;
}

body[data-landing-royal-flat="1"] .rf-close h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 800;
}

body[data-landing-royal-flat="1"] .rf-close p { margin: 0; color: var(--rf-close-ink, #fff); opacity: 0.88; }

body[data-landing-royal-flat="1"] .rf-close-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--rf-accent);
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

body[data-landing-royal-flat="1"] .rf-close-btn.is-line {
  background: transparent !important;
  color: var(--rf-close-ink, #fff);
  border: 2px solid currentColor;
}

body[data-landing-royal-flat="1"] .rf-close-btn:hover { background: #fff; color: #111; }

@media (prefers-reduced-motion: reduce) {
  body[data-landing-royal-flat="1"] .rf-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Theme + section colors: text, cards, hero, categories, products, font */
body[data-landing-royal-flat="1"] .rf-page,
body[data-landing-royal-flat="1"] #main-content {
  background: var(--rf-products-bg, var(--bg, #f0f0f0));
  color: var(--text, var(--rf-ink, #111));
}

body[data-landing-royal-flat="1"] .rf-hero,
body[data-landing-royal-flat="1"] .rf-hero-slide--plain {
  background: var(--rf-hero-bg, var(--bg, #fff));
}

body[data-landing-royal-flat="1"] .rf-hero:has(.rf-hero-slide--plain) .rf-hero-title,
body[data-landing-royal-flat="1"] .rf-hero:has(.rf-hero-slide--plain) .rf-hero-lead,
body[data-landing-royal-flat="1"] .rf-hero:has(.rf-hero-slide--plain) .rf-hero-copy {
  color: var(--rf-hero-ink, #fff);
}

body[data-landing-royal-flat="1"] .rf-cats-section {
  background: var(--rf-categories-bg, transparent);
}

body[data-landing-royal-flat="1"] .rf-card,
body[data-landing-royal-flat="1"] .rf-cat-card,
body[data-landing-royal-flat="1"] .rf-review-card,
body[data-landing-royal-flat="1"] .landing-product-card,
body[data-landing-royal-flat="1"] .card {
  background: var(--card-bg, #fff) !important;
  color: var(--text, #111);
}

body[data-landing-royal-flat="1"] .rf-sec-title,
body[data-landing-royal-flat="1"] .rf-card-title a,
body[data-landing-royal-flat="1"] .rf-card-price,
body[data-landing-royal-flat="1"] .rf-card-price ins,
body[data-landing-royal-flat="1"] .landing-product-card,
body[data-landing-royal-flat="1"] .landing-product-card .product-title,
body[data-landing-royal-flat="1"] .landing-product-card .price {
  color: var(--text, #111);
}

body[data-landing-royal-flat="1"] .rf-atc,
body[data-landing-royal-flat="1"] .rf-hero-cta,
body[data-landing-royal-flat="1"] .rf-close-btn,
body[data-landing-royal-flat="1"] .landing-product-card .btn-add-to-cart {
  border-color: var(--rf-accent, var(--accent, #fcb414)) !important;
}

body[data-landing-royal-flat="1"] .rf-hero-cta,
body[data-landing-royal-flat="1"] .rf-close-btn:not(.is-line) {
  background: var(--rf-accent, var(--accent, #c6a15a));
  color: var(--rf-accent-ink, #111);
}

body[data-landing-royal-flat="1"] .rf-close {
  background: var(--rf-close-bg, #243044) !important;
  color: var(--rf-close-ink, #fff) !important;
}

body[data-landing-royal-flat="1"] .rf-footer-main,
body[data-landing-royal-flat="1"] .rf-footer-main a,
body[data-landing-royal-flat="1"] .rf-footer-main h3,
body[data-landing-royal-flat="1"] .rf-footer-main p {
  color: var(--rf-footer-ink, #fff);
}
body[data-landing-royal-flat="1"] input,
body[data-landing-royal-flat="1"] select,
body[data-landing-royal-flat="1"] textarea,
body[data-landing-royal-flat="1"] .ch-header,
body[data-landing-royal-flat="1"] .ch-subnav,
body[data-landing-royal-flat="1"] .rf-footer {
  font-family: inherit;
}
body[data-landing-royal-flat="1"] #footer,
body[data-landing-royal-flat="1"] .rf-footer,
body[data-landing-royal-flat="1"] .rf-footer-main,
body[data-landing-royal-flat="1"] .rf-footer-bottom {
  background: var(--rf-footer-bg, #1c2434) !important;
  color: var(--rf-footer-ink, #fff) !important;
}
