.raghas-diwali-popup {
  --rd-popup-maroon: #65152f;
  --rd-popup-maroon-deep: #350c20;
  --rd-popup-emerald: #0d6146;
  --rd-popup-saffron: #f5b83d;
  --rd-popup-gold-light: #ffe7a3;
  --rd-popup-cream: #fff8e9;
  width: min(820px, calc(100% - 30px));
  max-width: none;
  max-height: min(700px, calc(100dvh - 30px));
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(255, 231, 163, 0.72);
  border-radius: 8px;
  color: #211714;
  background: var(--rd-popup-cream);
  box-shadow: 0 36px 130px rgba(24, 7, 14, 0.5);
}

.raghas-diwali-popup::backdrop { background: rgba(19, 7, 12, 0.78); backdrop-filter: blur(5px); }
.raghas-diwali-popup[open] { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); animation: raghas-popup-enter 320ms ease both; }
.raghas-diwali-popup__close { position: absolute !important; z-index: 6; top: 12px !important; right: 12px !important; left: auto !important; display: grid !important; width: 44px !important; min-width: 44px !important; max-width: 44px !important; height: 44px !important; min-height: 44px !important; padding: 0 !important; place-items: center; cursor: pointer; border: 1px solid rgba(70,25,38,0.2) !important; border-radius: 50% !important; color: #4c1025 !important; background: rgba(255,248,233,0.96) !important; box-shadow: 0 6px 20px rgba(48, 12, 26, 0.15); font-size: 1.7rem !important; line-height: 1 !important; transform: none; transition: transform 160ms ease, background 160ms ease; }
.raghas-diwali-popup__close:hover { transform: rotate(5deg) scale(1.04); background: white; }
.raghas-diwali-popup__visual { position: relative; min-height: 540px; display: grid; place-items: center; overflow: hidden; padding: 4.5rem 1.5rem 5.5rem; background: linear-gradient(145deg, var(--rd-popup-maroon-deep) 0 50%, #7f1d35 50% 72%, var(--rd-popup-emerald) 72% 100%); isolation: isolate; }
.raghas-diwali-popup__visual::before { content: ""; position: absolute; inset: 18px; z-index: -1; border: 1px solid rgba(255,231,163,0.45); background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,231,163,0.09) 18px 19px); }
.raghas-diwali-popup__visual::after { content: "✦  ✦  ✦"; position: absolute; z-index: -1; top: 3.1rem; right: 1.6rem; color: var(--rd-popup-saffron); font-size: 1rem; letter-spacing: 0.5rem; animation: raghas-popup-sparkle 2.8s ease-in-out infinite; }
.raghas-diwali-popup__visual-kicker { position: absolute; z-index: 2; top: 1.35rem; left: 1.5rem; margin: 0 !important; color: var(--rd-popup-gold-light) !important; font: 850 0.68rem/1.2 "Avenir Next", Avenir, sans-serif !important; text-transform: uppercase; letter-spacing: 0.12em !important; }
.raghas-diwali-popup__visual img { width: min(100%, 330px); height: auto; object-fit: contain; border: 8px solid rgba(255,248,233,0.9); background: #f7e7c5; box-shadow: 0 25px 55px rgba(28, 4, 14, 0.36); transform: rotate(-2deg); animation: raghas-popup-product 4.6s ease-in-out infinite; }
.raghas-diwali-popup__visual-note { position: absolute; z-index: 3; right: 1.5rem; bottom: 1.4rem; left: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; color: #31111d; background: var(--rd-popup-saffron); box-shadow: 0 12px 32px rgba(27, 5, 13, 0.28); }
.raghas-diwali-popup__visual-note strong, .raghas-diwali-popup__visual-note span { display: block; }
.raghas-diwali-popup__visual-note strong { font: 850 0.82rem/1.2 "Avenir Next", Avenir, sans-serif; }
.raghas-diwali-popup__visual-note span { font-size: 0.66rem; text-align: right; text-transform: uppercase; letter-spacing: 0.08em; }
.raghas-diwali-popup__copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 3.2vw, 2.5rem); border-top: 7px solid var(--rd-popup-emerald); background: linear-gradient(180deg, #fffaf0 0%, var(--rd-popup-cream) 100%); }
.raghas-diwali-popup__eyebrow { margin: 0 0 0.6rem !important; color: var(--rd-popup-maroon) !important; font: 850 0.67rem/1.4 "Avenir Next", Avenir, sans-serif !important; text-transform: uppercase; letter-spacing: 0.11em !important; }
.raghas-diwali-popup h2 { margin: 0 !important; color: var(--rd-popup-maroon-deep) !important; font: 600 clamp(2rem, 3.8vw, 2.9rem)/1.01 "Iowan Old Style", Georgia, serif !important; letter-spacing: 0 !important; text-transform: none !important; }
.raghas-diwali-popup__lead { margin: 0.85rem 0 0 !important; color: #5d514b !important; font-size: 0.9rem !important; line-height: 1.55 !important; }
.raghas-diwali-popup__proof { display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; margin-top: 0.85rem; padding: 0.7rem 0; border-top: 1px solid rgba(53,16,29,0.14); border-bottom: 1px solid rgba(53,16,29,0.14); color: var(--rd-popup-emerald); font: 800 0.64rem/1.3 "Avenir Next", Avenir, sans-serif; text-transform: uppercase; letter-spacing: 0.04em; }
.raghas-diwali-popup__proof span::before { content: "✓"; margin-right: 0.28rem; color: var(--rd-popup-maroon); }
.raghas-diwali-popup__quote { margin: 0.8rem 0 0; padding: 0.75rem 0.9rem; border-left: 3px solid var(--rd-popup-saffron); background: rgba(245,184,61,0.12); }
.raghas-diwali-popup__quote blockquote { margin: 0; color: #44352f; font: 600 0.8rem/1.45 "Iowan Old Style", Georgia, serif; }
.raghas-diwali-popup__quote figcaption { margin-top: 0.28rem; color: var(--rd-popup-maroon); font: 800 0.61rem/1.3 "Avenir Next", Avenir, sans-serif; }
.raghas-diwali-popup__offer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.8rem; margin-top: 0.85rem; padding: 0.72rem 0.8rem; color: white; background: var(--rd-popup-emerald); }
.raghas-diwali-popup__offer strong { color: var(--rd-popup-gold-light); font: 850 0.76rem/1.2 "Avenir Next", Avenir, sans-serif; text-transform: uppercase; letter-spacing: 0.05em; }
.raghas-diwali-popup__offer span { font-size: 0.72rem; line-height: 1.35; }
.raghas-diwali-popup__offer b { color: white; letter-spacing: 0.04em; }
.raghas-diwali-popup__button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; margin-top: 0.9rem; padding: 0.76rem 1rem; border: 1px solid #4b0d22; border-radius: 4px; color: white !important; background: var(--rd-popup-maroon) !important; box-shadow: 0 12px 28px rgba(91,20,42,0.2); font: 850 0.82rem/1.2 "Avenir Next", Avenir, sans-serif; text-decoration: none !important; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.raghas-diwali-popup__button:hover { transform: translateY(-2px); background: #7b1938 !important; box-shadow: 0 17px 34px rgba(91,20,42,0.25); }
.raghas-diwali-popup small { display: block; margin-top: 0.62rem; color: #756b65; font-size: 0.64rem; line-height: 1.4; text-align: center; }
.raghas-diwali-popup :focus-visible { outline: 3px solid #2b6ca3; outline-offset: 3px; }

dialog.raghas-diwali-popup > button.raghas-diwali-popup__close {
  color: #4c1025 !important;
  background-color: rgba(255,248,233,0.98) !important;
  background-image: none !important;
}

dialog.raghas-diwali-popup a.raghas-diwali-popup__button {
  color: white !important;
  background-color: var(--rd-popup-maroon) !important;
  background-image: none !important;
}

dialog.raghas-diwali-popup a.raghas-diwali-popup__button:hover {
  background-color: #7b1938 !important;
}

@keyframes raghas-popup-enter { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes raghas-popup-product { 50% { transform: translateY(-5px) rotate(-1deg); } }
@keyframes raghas-popup-sparkle { 50% { opacity: 0.45; transform: scale(0.92); } }

@media (max-width: 650px) {
  .raghas-diwali-popup { max-height: calc(100dvh - 20px); }
  .raghas-diwali-popup[open] { display: block; }
  .raghas-diwali-popup__visual { min-height: 210px; max-height: 220px; padding: 2.7rem 1.2rem 4.15rem; }
  .raghas-diwali-popup__visual::before { inset: 10px; }
  .raghas-diwali-popup__visual-kicker { top: 0.9rem; left: 1rem; }
  .raghas-diwali-popup__visual img { width: 54%; max-width: 205px; border-width: 5px; }
  .raghas-diwali-popup__visual-note { right: 1rem; bottom: 0.8rem; left: 1rem; padding: 0.62rem 0.72rem; }
  .raghas-diwali-popup__copy { padding: 1.05rem 1.2rem 1.1rem; border-top-width: 5px; }
  .raghas-diwali-popup h2 { font-size: 1.9rem !important; }
  .raghas-diwali-popup__lead { margin-top: 0.68rem !important; font-size: 0.8rem !important; line-height: 1.48 !important; }
  .raghas-diwali-popup__proof { margin-top: 0.68rem; padding: 0.55rem 0; }
  .raghas-diwali-popup__quote { margin-top: 0.65rem; padding: 0.62rem 0.75rem; }
  .raghas-diwali-popup__offer { margin-top: 0.65rem; padding: 0.62rem 0.72rem; }
  .raghas-diwali-popup__button { min-height: 46px; margin-top: 0.7rem; }
  .raghas-diwali-popup__offer { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .raghas-diwali-popup[open] { animation: none; }
  .raghas-diwali-popup__visual img, .raghas-diwali-popup__visual::after { animation: none; }
}

