/* ========================================================================
   Royal 2026 Sale Section — 3D White Offer Revision
   Full CSS replacement
   Goal:
   - keep the luxury finance-section shell
   - arrange 75% OFF like the reference image
   - make 75% and OFF white 3D / embossed / extruded
   - separate Flooring Sale and materials more clearly
   ======================================================================== */

.royal-sale-2026-section,
.royal-sale-2026-section *,
.royal-sale-2026-section *::before,
.royal-sale-2026-section *::after {
  box-sizing: border-box;
}

.royal-sale-2026-section {
  --royal-navy: var(--rf-brand, #0a2342);
  --royal-navy-deep: #08172c;
  --royal-blue-glow: #7fa6e1;
  --royal-gold-cream: #fff8e7;
  --royal-gold-light: #f8e5b3;
  --royal-gold: #d7b25f;
  --royal-gold-rich: #bc8722;
  --royal-gold-deep: #84570e;
  --royal-gold-brown: #65420a;
  --royal-gold-brown-deep: #412805;
  --royal-gold-shadow: rgba(86, 56, 7, 0.24);
  --royal-text: #0f172a;
  --royal-text-soft: #526173;
  --royal-border: rgba(10, 35, 66, 0.10);
  --royal-shadow-xl: 0 30px 60px rgba(2, 6, 23, 0.18);
  --royal-shell-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(248, 250, 252, 0.94) 55%,
    rgba(247, 244, 234, 0.96) 100%
  );

  position: relative;
  isolation: isolate;
  overflow: visible;
  margin: clamp(2.75rem, 6vw, 5.5rem) 0 clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border-radius: 36px;

  background:
    radial-gradient(900px 380px at 14% 0%, rgba(251, 191, 36, 0.20), transparent 56%),
    radial-gradient(820px 420px at 86% 2%, rgba(149, 8, 112, 0.10), transparent 60%),
    radial-gradient(1200px 520px at 50% 100%, rgba(127, 166, 225, 0.18), transparent 72%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 52%, #f7f2e8 100%);

  box-shadow:
    0 24px 48px rgba(2, 6, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.royal-sale-2026-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.royal-sale-2026-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(620px 180px at 50% 0%, rgba(255, 255, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.royal-sale-2026__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: 30px;
  border: 1px solid var(--royal-border);
  background: var(--royal-shell-bg);
  box-shadow:
    var(--royal-shadow-xl),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.royal-sale-2026__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88),
    rgba(214, 178, 94, 0.28),
    rgba(127, 166, 225, 0.16),
    rgba(255, 255, 255, 0.74)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.royal-sale-2026__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(340px 180px at 10% 8%, rgba(255, 255, 255, 0.38), transparent 72%),
    radial-gradient(280px 180px at 90% 10%, rgba(127, 166, 225, 0.10), transparent 70%);
  pointer-events: none;
}

.royal-sale-2026__header,
.royal-sale-2026__stage,
.royal-sale-2026__body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.royal-sale-2026__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.royal-sale-2026__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-family: 'Roboto', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(145deg, #1a2748 0%, #2d4373 55%, #0a2342 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 10px 22px rgba(10, 35, 66, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.royal-sale-2026__title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  text-align: center;
  line-height: 1.05;
}

.royal-sale-2026__title-logo {
  width: 52px;
  height: auto;
  display: inline-block;
  flex: 0 0 auto;
  transform: translateY(-1px);
  filter:
    drop-shadow(0 8px 18px rgba(10, 35, 66, 0.14))
    drop-shadow(0 4px 10px rgba(214, 178, 94, 0.18));
}

.royal-sale-2026__title span {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4.4vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  background: linear-gradient(180deg, var(--royal-gold-light) 0%, var(--royal-gold) 40%, var(--royal-gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.royal-sale-2026__stage {
  margin-bottom: clamp(1.8rem, 3vw, 2.4rem);
}

.royal-sale-2026__card-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.royal-sale-2026__card-wrap::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -28px;
  height: 56px;
  background: radial-gradient(ellipse at center, rgba(10, 35, 66, 0.28) 0%, rgba(10, 35, 66, 0) 72%);
  filter: blur(18px);
  pointer-events: none;
}

.royal-sale-2026__limited-badge {
  position: absolute;
  top: -14px;
  right: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal-navy);
  background: linear-gradient(180deg, #fff6d5 0%, #e9c96a 100%);
  border: 1px solid rgba(10, 35, 66, 0.10);
  box-shadow:
    0 10px 18px rgba(10, 35, 66, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

/* ==================================================
   Premium plaque + 3D white offer like reference art
   ================================================== */

.royal-sale-2026-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  padding: clamp(1.9rem, 4vw, 2.8rem);
  border-radius: 32px;
  text-align: center;
  color: var(--royal-gold-brown-deep);

  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.82), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.30), transparent 24%),
    radial-gradient(circle at 84% 84%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg,
      #fff9ee 0%,
      #fae8bd 12%,
      #e9c872 24%,
      #ce9a34 40%,
      #f6d98f 56%,
      #b7801c 74%,
      #895d0f 100%);

  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 36px 72px rgba(10, 35, 66, 0.22),
    0 16px 34px rgba(184, 134, 23, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.88),
    inset 0 -3px 0 rgba(104, 67, 10, 0.16);
}

.royal-sale-2026-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.02) 16%,
      rgba(255, 255, 255, 0.44) 28%,
      rgba(255, 255, 255, 0.10) 40%,
      transparent 58%
    ),
    linear-gradient(180deg,
      rgba(255,255,255,0.14),
      transparent 24%,
      transparent 76%,
      rgba(90,58,10,0.08));
  background-size: 220% 100%, 100% 100%;
  animation: royal-sale-white3d-shine 6.8s linear infinite;
  pointer-events: none;
}

.royal-sale-2026-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(90,58,10,0.10);
  pointer-events: none;
}

.royal-sale-2026-card__engraved-wrap {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.royal-sale-2026-card__tiny {
  margin: 0 0 0.95rem;
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(76, 46, 5, 0.88);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.55),
    0 -1px 0 rgba(120, 78, 14, 0.08);
}

/* Match the reference layout:
   big percent on the left, OFF smaller at the lower right */
.royal-sale-2026-card__offer {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: end;
  justify-items: start;
  column-gap: clamp(0.10rem, 0.5vw, 0.28rem);
  row-gap: 0;
  margin: 0 auto;
  line-height: 1;
}

.royal-sale-2026-card__percent,
.royal-sale-2026-card__off,
.royal-sale-2026-card__sale-line,
.royal-sale-2026-card__materials {
  position: relative;
}

.royal-sale-2026-card__percent {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: end;
  display: block;
  margin: 0;
  padding-right: 0.08em;
  font-family: 'Cinzel', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(5.2rem, 12vw, 8.4rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: #fffef8;
  text-shadow:
    0 1px 0 #ffffff,
    1px 1px 0 #fbf7ec,
    1px 2px 0 #f4eddd,
    2px 2px 0 #eadfca,
    2px 3px 0 #deceb2,
    3px 3px 0 #d0bb93,
    3px 4px 0 #bf9f63,
    4px 4px 0 #a67f34,
    4px 5px 0 #8b6525,
    5px 6px 0 #744f1b,
    6px 7px 0 #5e3f13,
    10px 14px 24px rgba(82, 53, 7, 0.24),
    18px 26px 40px rgba(82, 53, 7, 0.12),
    0 0 18px rgba(255, 247, 223, 0.30);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.55));
}

.royal-sale-2026-card__off {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  align-self: end;
  display: block;
  margin: 0 0 0.26em 0;
  font-family: 'Cinzel', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fffef8;
  text-shadow:
    0 1px 0 #ffffff,
    1px 1px 0 #fbf7ec,
    1px 2px 0 #f2e9d6,
    2px 2px 0 #e4d3b0,
    2px 3px 0 #c8a468,
    3px 4px 0 #a97f34,
    4px 5px 0 #875f22,
    5px 6px 0 #6b4917,
    8px 12px 18px rgba(82, 53, 7, 0.22),
    12px 18px 28px rgba(82, 53, 7, 0.10),
    0 0 12px rgba(255, 248, 227, 0.24);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.50));
}

.royal-sale-2026-card__sale-line {
  display: inline-block;
  margin: 1.45rem 0 0;
  padding: 0 1rem;
  font-family: 'Cinzel', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.16rem, 2vw, 1.58rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(68, 40, 4, 0.98);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.48),
    0 6px 14px rgba(102, 69, 10, 0.08);
}

.royal-sale-2026-card__sale-line::before,
.royal-sale-2026-card__sale-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(60px, 10vw, 92px);
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 51, 7, 0), rgba(79, 51, 7, 0.52), rgba(255, 255, 255, 0.44));
}

.royal-sale-2026-card__sale-line::before {
  right: calc(100% + 0.9rem);
}

.royal-sale-2026-card__sale-line::after {
  left: calc(100% + 0.9rem);
  transform: rotate(180deg);
}

.royal-sale-2026-card__materials {
  margin: 1.15rem 0 0;
  max-width: 96%;
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.02rem, 1.75vw, 1.18rem);
  font-weight: 700;
  line-height: 1.56;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(66, 39, 5, 0.98);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.58),
    0 6px 14px rgba(102, 69, 10, 0.08);
}

.royal-sale-2026-card__materials span {
  display: inline-block;
  margin: 0 0.34em;
  color: rgba(121, 82, 12, 0.76);
}

.royal-sale-2026__body {
  text-align: center;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 24px;
  border: 1px solid rgba(10, 35, 66, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(248, 250, 252, 0.86));
  box-shadow:
    0 14px 28px rgba(10, 35, 66, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.royal-sale-2026__subtitle {
  max-width: 780px;
  margin: 0 auto;
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-size: 1.04rem;
  line-height: 1.82;
  color: var(--royal-text-soft);
}

.royal-sale-2026__subtitle strong {
  color: var(--royal-navy);
  font-weight: 800;
}

.royal-sale-2026__expiration {
  margin: 1rem auto 0;
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--royal-text-soft);
}

.royal-sale-2026__expiration strong,
.royal-sale-2026__expiration span {
  color: var(--royal-navy);
  font-weight: 800;
}

@keyframes royal-sale-white3d-shine {
  0% {
    background-position: -160% 0, 0 0;
  }
  100% {
    background-position: 160% 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .royal-sale-2026-card::before {
    animation: none;
  }
}

@media (max-width: 900px) {
  .royal-sale-2026__inner {
    padding: 1.75rem;
  }

  .royal-sale-2026__body {
    padding: 1.25rem;
  }
}

@media (max-width: 767px) {
  .royal-sale-2026-section {
    margin-top: clamp(2rem, 8vw, 3rem);
    padding: 0.8rem;
    border-radius: 28px;
  }

  .royal-sale-2026__inner {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .royal-sale-2026__header {
    gap: 0.82rem;
    margin-bottom: 1.45rem;
  }

  .royal-sale-2026__title {
    gap: 0.68rem;
  }

  .royal-sale-2026__title-logo {
    width: 42px;
  }

  .royal-sale-2026__title span {
    font-size: 1.95rem;
  }

  .royal-sale-2026__stage {
    margin-bottom: 1.45rem;
  }

  .royal-sale-2026__limited-badge {
    top: -10px;
    right: 14px;
    min-height: 32px;
    padding: 0.28rem 0.72rem;
    font-size: 0.66rem;
  }

  .royal-sale-2026-card {
    min-height: 308px;
    padding: 1.3rem 1rem;
    border-radius: 24px;
  }

  .royal-sale-2026-card::after {
    inset: 8px;
    border-radius: 18px;
  }

  .royal-sale-2026-card__tiny {
    margin-bottom: 0.7rem;
    font-size: 0.66rem;
    letter-spacing: 0.22em;
  }

  .royal-sale-2026-card__percent {
    font-size: clamp(4.4rem, 15vw, 6rem);
  }

  .royal-sale-2026-card__off {
    font-size: clamp(1.45rem, 4.2vw, 2rem);
    margin-bottom: 0.24em;
  }

  .royal-sale-2026-card__sale-line::before,
  .royal-sale-2026-card__sale-line::after {
    width: 42px;
  }

  .royal-sale-2026-card__materials {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.66;
    letter-spacing: 0.08em;
  }

  .royal-sale-2026__subtitle {
    font-size: 0.97rem;
    line-height: 1.72;
  }
}

@media (max-width: 520px) {
  .royal-sale-2026__title {
    flex-direction: column;
  }

  .royal-sale-2026-card__offer {
    column-gap: 0.06rem;
  }

  .royal-sale-2026-card__percent {
    font-size: clamp(4rem, 18vw, 5.2rem);
  }

  .royal-sale-2026-card__off {
    font-size: 1.18rem;
    margin-bottom: 0.18em;
  }

  .royal-sale-2026-card__sale-line {
    margin-top: 1.2rem;
    letter-spacing: 0.16em;
  }

  .royal-sale-2026-card__sale-line::before,
  .royal-sale-2026-card__sale-line::after {
    display: none;
  }
}

@media (max-width: 420px) {
  .royal-sale-2026__title span {
    font-size: 1.62rem;
  }

  .royal-sale-2026__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    padding: 0.42rem 0.74rem;
  }

  .royal-sale-2026__inner {
    padding: 1.1rem;
  }

  .royal-sale-2026-card {
    min-height: 286px;
  }

  .royal-sale-2026-card__percent {
    font-size: 3.7rem;
  }

  .royal-sale-2026-card__off {
    font-size: 1.02rem;
  }

  .royal-sale-2026-card__sale-line {
    font-size: 1.04rem;
    letter-spacing: 0.14em;
  }

  .royal-sale-2026-card__materials {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
  }
}
