* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff0f7;
  color: #3b1830;
  font-family: Arial, sans-serif;
}

.topbar {
  width: min(1200px, calc(100% - 24px));
  margin: 14px auto;
  padding: 14px 18px;
  background: rgba(255,255,255,0.94);
  border: 1px solid #ffd0e3;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(255, 85, 150, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 10px;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 16px;
}

.brand h2 {
  color: #e91e63;
  font-size: 24px;
}

.brand p {
  color: #8b4965;
  font-size: 13px;
}

.payment-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff0f7;
  padding: 9px;
  border-radius: 18px;
  flex-wrap: wrap;
}

.payment-box span {
  font-size: 13px;
  font-weight: bold;
  color: #8b4965;
}

.currency {
  border: 0;
  padding: 8px 13px;
  border-radius: 50px;
  font-weight: bold;
}

.currency.active {
  background: #e91e63;
  color: white;
}

.currency.disabled {
  background: #ffe1ec;
  color: #a36a7d;
}

.hero {
  width: min(1200px, calc(100% - 24px));
  margin: 32px auto;
  padding: clamp(38px, 7vw, 74px) clamp(20px, 4vw, 34px);
  border-radius: 34px;
  background: linear-gradient(135deg, #ffc3dc, #ffe7f1, #ffffff);
  box-shadow: 0 20px 50px rgba(255, 85, 150, 0.20);
}

.badge,
.mini-badge {
  display: inline-block;
  padding: 9px 16px;
  background: white;
  color: #e91e63;
  border-radius: 50px;
  font-weight: bold;
  margin-bottom: 16px;
}

.hero h1 {
  color: #b80f55;
  font-size: clamp(34px, 6vw, 54px);
  max-width: 820px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero p {
  color: #673147;
  font-size: clamp(16px, 2vw, 19px);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.main-btn {
  display: inline-block;
  background: #e91e63;
  color: white;
  padding: 13px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
}

.category-tabs {
  width: min(1200px, calc(100% - 24px));
  margin: 28px auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab {
  border: 0;
  background: white;
  color: #b80f55;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255, 85, 150, 0.12);
}

.active-tab {
  background: #e91e63;
  color: white;
}

.category-section {
  display: none;
  width: min(1200px, calc(100% - 24px));
  margin: 38px auto;
}

.active-section {
  display: block;
}

.category-section h2 {
  text-align: center;
  color: #d81b60;
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 22px;
}

.product-card {
  background: white;
  border: 1px solid #ffd0e3;
  border-radius: 24px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(255, 105, 170, 0.13);
  transition: 0.25s;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(255, 80, 150, 0.24);
}

.product-card img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 15px;
}

.text-logo {
  width: 85px;
  height: 85px;
  margin: 0 auto 15px;
  border-radius: 20px;
  background: #fff0f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d81b60;
  font-weight: bold;
  font-size: 18px;
}

.product-card h3 {
  color: #d81b60;
  font-size: 21px;
  margin-bottom: 8px;
}

.product-card p {
  color: #704057;
  min-height: 42px;
}

.product-card select,
.special-box input,
textarea,
#receiptFile {
  width: 100%;
  padding: 12px;
  margin: 10px 0 13px;
  border: 1px solid #ffc3dc;
  border-radius: 14px;
  color: #7a2f50;
  background: #fff8fb;
  font-weight: bold;
  outline: none;
}

textarea {
  min-height: 105px;
  resize: vertical;
  font-weight: normal;
  line-height: 1.45;
}

.price {
  display: block;
  background: #fff0f7;
  color: #b80f55;
  padding: 10px;
  border-radius: 14px;
  font-weight: bold;
  margin-bottom: 13px;
}

.product-card button {
  width: 100%;
  border: 0;
  background: #ff4da6;
  color: white;
  padding: 12px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
}

.notice {
  width: min(900px, calc(100% - 24px));
  margin: 58px auto 28px;
  padding: 34px 20px;
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(135deg, #e91e63, #ff85bd);
  color: white;
  box-shadow: 0 20px 45px rgba(255, 80, 150, 0.28);
}

.notice h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.notice p {
  margin-bottom: 18px;
}

.notice a {
  display: inline-block;
  background: white;
  color: #e91e63;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 25px;
  color: #8b4965;
}

/* PURCHASE PAGE */
.purchase-layout {
  width: min(1220px, calc(100% - 24px));
  margin: 28px auto 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.purchase-card,
.payment-side {
  background: white;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(255, 80, 150, 0.18);
  border: 1px solid #ffd0e3;
}

.purchase-card {
  padding: clamp(20px, 4vw, 32px);
}

.payment-side {
  padding: 20px;
  position: sticky;
  top: 100px;
}

.purchase-card h1 {
  color: #d81b60;
  margin-bottom: 10px;
  font-size: clamp(30px, 5vw, 44px);
}

.purchase-desc,
.side-desc {
  color: #704057;
  line-height: 1.6;
  margin-bottom: 20px;
}

.order-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}

.order-summary div {
  background: #fff0f7;
  border-radius: 18px;
  padding: 15px;
}

.order-summary p {
  color: #8b4965;
  font-weight: bold;
  margin-bottom: 5px;
}

.order-summary h2 {
  color: #b80f55;
  font-size: 22px;
}

.special-box {
  background: linear-gradient(135deg, #fff0f7, #ffffff);
  border: 1px solid #ffd0e3;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 18px;
}

.special-box h3 {
  color: #d81b60;
  margin-bottom: 8px;
}

.special-box p {
  color: #704057;
  margin-bottom: 10px;
}

.field-label {
  display: block;
  color: #8b2854;
  font-weight: bold;
  margin-top: 10px;
}

.check-line {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #704057;
  font-weight: bold;
  line-height: 1.35;
}

.check-line input {
  margin-top: 2px;
}

.receipt-note {
  background: #fff4d9;
  color: #7a4e00;
  border: 1px solid #ffd88a;
  padding: 12px;
  border-radius: 16px;
  line-height: 1.45;
  margin: 8px 0 16px;
}

.checkout-btn,
.back-btn {
  display: block;
  width: 100%;
  text-align: center;
  border: 0;
  text-decoration: none;
  padding: 15px;
  border-radius: 50px;
  font-weight: bold;
  margin-top: 12px;
  cursor: pointer;
  font-size: 16px;
}

.checkout-btn {
  background: #e91e63;
  color: white;
}

.back-btn {
  background: #fff0f7;
  color: #d81b60;
}

.payment-side h2 {
  color: #d81b60;
  text-align: center;
  margin-bottom: 8px;
}

.pay-card {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.13);
  background: #fff;
}

.pay-card img {
  width: 100%;
  display: block;
}

.pay-text {
  padding: 14px;
  text-align: center;
}

.pay-text h3 {
  margin-bottom: 6px;
}

.khalti-card .pay-text h3 {
  color: #a0007a;
}

.esewa-card .pay-text h3 {
  color: #1a9c35;
}

.pay-text p {
  color: #704057;
  line-height: 1.45;
}

.delivery-box {
  background: #fff0f7;
  border-radius: 20px;
  padding: 16px;
  color: #704057;
  line-height: 1.55;
}

.delivery-box h3 {
  color: #d81b60;
  margin-bottom: 8px;
}

@media (max-width: 850px) {
  .topbar {
    flex-direction: column;
    text-align: center;
  }

  .payment-box {
    justify-content: center;
  }

  .purchase-layout {
    grid-template-columns: 1fr;
  }

  .payment-side {
    position: static;
  }
}

@media (max-width: 520px) {
  .topbar {
    border-radius: 18px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand h2 {
    font-size: 21px;
  }

  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .tab {
    white-space: nowrap;
  }

  .purchase-card,
  .payment-side {
    border-radius: 22px;
  }
}


/* Compact selectable payment method */
.compact-payment {
  max-width: 430px;
}

.payment-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 16px;
}

.method-btn {
  border: 0;
  padding: 14px 12px;
  border-radius: 18px;
  color: white;
  font-weight: 800;
  cursor: pointer;
  opacity: 0.74;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.khalti-method {
  background: linear-gradient(135deg, #7b1fa2, #e91e63);
}

.esewa-method {
  background: linear-gradient(135deg, #0a8f31, #38c95a);
}

.method-btn.active-method {
  opacity: 1;
  transform: translateY(-2px);
  outline: 3px solid rgba(233, 30, 99, 0.18);
}

.pay-panel {
  display: none;
}

.pay-panel.active-pay-panel {
  display: block;
}

.compact-card {
  margin-bottom: 14px;
}

.compact-card img {
  max-height: 430px;
  object-fit: contain;
  background: white;
}

.compact-card .pay-text {
  padding: 12px;
}

.compact-delivery {
  padding: 14px;
}

@media (min-width: 851px) {
  .purchase-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
  }
}

@media (max-width: 850px) {
  .compact-payment {
    max-width: 100%;
  }
}


/* Header upgrade + dark pink scrollbar */
html {
  scrollbar-color: #d81b60 #ffe1ec;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #ffe1ec;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e91e63, #ad1457);
  border-radius: 20px;
  border: 3px solid #ffe1ec;
}

::-webkit-scrollbar-thumb:hover {
  background: #880e4f;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  text-decoration: none;
  color: #b80f55;
  background: #fff0f7;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition: 0.2s;
}

.top-nav a:hover {
  background: #e91e63;
  color: #fff;
  transform: translateY(-2px);
}

.gateway-strip {
  width: min(1200px, calc(100% - 24px));
  margin: 18px auto 8px;
  background: #ffffff;
  border: 1px solid #ffd0e3;
  box-shadow: 0 10px 25px rgba(255, 85, 150, 0.12);
  border-radius: 22px;
  padding: 15px 20px;
  color: #704057;
}

.gateway-strip div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.gateway-strip strong {
  color: #d81b60;
}

.refund-section {
  width: min(900px, calc(100% - 24px));
  margin: 34px auto 18px;
  padding: 30px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #fff0f7);
  border: 1px solid #ffd0e3;
  text-align: center;
  box-shadow: 0 18px 42px rgba(255, 80, 150, 0.16);
}

.refund-section h2 {
  color: #d81b60;
  font-size: 30px;
  margin-bottom: 12px;
}

.refund-section p {
  color: #704057;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto 18px;
}

.refund-section a {
  display: inline-block;
  background: #e91e63;
  color: white;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: bold;
}

@media (max-width: 850px) {
  .top-nav {
    justify-content: center;
  }

  .top-nav a {
    font-size: 13px;
    padding: 9px 12px;
  }
}


/* Premium hero scrolling logo strip */
.premium-hero {
  position: relative;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ghost-btn {
  display: inline-block;
  background: rgba(255,255,255,0.72);
  color: #d81b60;
  padding: 13px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid #ffc2dc;
  backdrop-filter: blur(8px);
}

.logo-marquee-wrap {
  position: relative;
  margin-top: 18px;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(255, 194, 220, 0.8);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.4);
}

.logo-marquee-wrap::before,
.logo-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #ffe2ee, rgba(255,226,238,0));
}

.logo-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, rgba(255,255,255,0));
}

.logo-marquee {
  overflow: hidden;
  filter: saturate(0.95);
}

.logo-track {
  display: flex;
  gap: 16px;
  padding: 16px;
  width: max-content;
  animation: scrollLogos 28s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.mini-logo {
  min-width: 138px;
  background: rgba(255,255,255,0.82);
  border: 1px solid #ffd0e3;
  border-radius: 20px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(255, 85, 150, 0.13);
  backdrop-filter: blur(10px);
}

.mini-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.mini-logo span {
  color: #8b2854;
  font-weight: 800;
  white-space: nowrap;
  font-size: 14px;
}

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 520px) {
  .logo-track {
    gap: 10px;
    padding: 12px;
    animation-duration: 22s;
  }

  .mini-logo {
    min-width: 118px;
    padding: 10px;
  }

  .mini-logo img {
    width: 28px;
    height: 28px;
  }

  .mini-logo span {
    font-size: 12px;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }
}


/* Big animated buy showcase in hero */
.premium-showcase {
  margin-top: 26px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255, 194, 220, 0.85);
  box-shadow: inset 0 0 32px rgba(255,255,255,0.45), 0 18px 36px rgba(255, 80, 150, 0.13);
  backdrop-filter: blur(10px);
}

.premium-showcase::before,
.premium-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  width: 95px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.premium-showcase::before {
  left: 0;
  background: linear-gradient(90deg, #ffe1ee, rgba(255,225,238,0));
}

.premium-showcase::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, rgba(255,255,255,0));
}

.showcase-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 20px;
  animation: bigHeroScroll 34s linear infinite;
}

.premium-showcase:hover .showcase-track {
  animation-play-state: paused;
}

.deal-card {
  min-width: 285px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255,255,255,0.88);
  border: 1px solid #ffd0e3;
  box-shadow: 0 12px 28px rgba(255, 80, 150, 0.18);
  transform: translateY(0);
  animation: softFloat 3.2s ease-in-out infinite;
}

.deal-card:nth-child(2n) {
  animation-delay: 0.45s;
}

.deal-card:nth-child(3n) {
  animation-delay: 0.9s;
}

.deal-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.deal-card h3 {
  color: #b80f55;
  font-size: 20px;
  margin-bottom: 4px;
}

.deal-card p {
  color: #704057;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.deal-card button {
  border: 0;
  background: linear-gradient(135deg, #e91e63, #ff79b2);
  color: #fff;
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(233, 30, 99, 0.25);
}

.product-card img {
  border-radius: 18px;
  background: #fff;
  padding: 7px;
}

@keyframes bigHeroScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 620px) {
  .premium-showcase::before,
  .premium-showcase::after {
    width: 45px;
  }

  .showcase-track {
    gap: 12px;
    padding: 14px;
    animation-duration: 26s;
  }

  .deal-card {
    min-width: 235px;
    padding: 12px;
    border-radius: 22px;
  }

  .deal-card img {
    width: 58px;
    height: 58px;
  }

  .deal-card h3 {
    font-size: 17px;
  }

  .deal-card button {
    padding: 8px 13px;
    font-size: 13px;
  }
}


/* Login, tracker, admin pages */
.auth-page,
.tracker-page,
.admin-page {
  width: min(980px, calc(100% - 24px));
  margin: 42px auto;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card,
.tracker-card,
.admin-card {
  width: 100%;
  background: linear-gradient(135deg, #ffffff, #fff0f7);
  border: 1px solid #ffd0e3;
  border-radius: 32px;
  padding: clamp(24px, 5vw, 42px);
  box-shadow: 0 20px 50px rgba(255, 80, 150, 0.18);
}

.auth-card h1,
.tracker-card h1,
.admin-card h1 {
  color: #d81b60;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.auth-card p,
.tracker-card p,
.admin-card p {
  color: #704057;
  line-height: 1.6;
}

.google-btn {
  width: 100%;
  margin: 24px 0;
  border: 1px solid #ffd0e3;
  background: #fff;
  color: #3b1830;
  border-radius: 999px;
  padding: 15px 18px;
  font-weight: 900;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-btn span {
  background: #e91e63;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-result,
.tracking-result {
  margin-top: 16px;
  color: #b80f55;
  font-weight: bold;
}

.code-note,
.status-box {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #ffd0e3;
  border-radius: 22px;
  padding: 18px;
}

.code-note h3,
.status-box h2 {
  color: #d81b60;
  margin-bottom: 8px;
}

.tracker-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 22px;
}

.tracker-form input,
.admin-grid input {
  width: 100%;
  border: 1px solid #ffc3dc;
  border-radius: 15px;
  padding: 13px;
  color: #7a2f50;
  background: #fff8fb;
  font-weight: bold;
}

.tracker-form button {
  border: 0;
  background: #e91e63;
  color: white;
  border-radius: 15px;
  padding: 13px 22px;
  font-weight: bold;
  cursor: pointer;
}

.status-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.status-steps span {
  background: #fff0f7;
  color: #8b4965;
  padding: 10px;
  border-radius: 15px;
  text-align: center;
  font-weight: bold;
}

.status-steps .done {
  background: #dfffe9;
  color: #0a7d2f;
}

.status-steps .active {
  background: #ffe1ec;
  color: #d81b60;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.admin-grid label {
  color: #8b2854;
  font-weight: bold;
}

@media (max-width: 560px) {
  .tracker-form {
    grid-template-columns: 1fr;
  }
}


/* Mobile fixes: header scrolls normally and payment board is compact */
@media (max-width: 850px) {
  .topbar {
    position: relative !important;
    top: auto !important;
    margin-top: 10px;
  }

  .payment-side {
    display: none !important;
  }

  .purchase-layout {
    display: block;
    width: min(100% - 18px, 760px);
  }

  .purchase-card {
    margin: 0 auto;
  }

  .purchase-card::after {
    content: "Payment QR is hidden on mobile to save space. Choose payment using laptop/desktop, or contact WhatsApp after pressing Verify.";
    display: block;
    margin-top: 16px;
    background: #fff0f7;
    color: #8b2854;
    padding: 13px;
    border-radius: 16px;
    line-height: 1.45;
    font-weight: bold;
  }
}

/* Strong favicon-friendly logo rendering */
.brand img {
  background: #fff;
}


/* Official Google Login Page */
.auth-page {
  width: min(980px, calc(100% - 24px));
  margin: 42px auto;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  background: linear-gradient(135deg, #ffffff, #fff0f7);
  border: 1px solid #ffd0e3;
  border-radius: 32px;
  padding: clamp(24px, 5vw, 42px);
  box-shadow: 0 20px 50px rgba(255, 80, 150, 0.18);
}

.auth-card h1 {
  color: #d81b60;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.auth-card p {
  color: #704057;
  line-height: 1.6;
}

.google-btn,
.logout-btn {
  width: 100%;
  margin: 18px 0 0;
  border: 1px solid #ffd0e3;
  background: #fff;
  color: #3b1830;
  border-radius: 999px;
  padding: 15px 18px;
  font-weight: 900;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-btn span {
  background: #e91e63;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logout-btn {
  background: #fff0f7;
  color: #d81b60;
}

.auth-result {
  margin-top: 18px;
  color: #b80f55;
  font-weight: bold;
  background: #fff;
  border: 1px solid #ffd0e3;
  border-radius: 18px;
  padding: 14px;
}

.code-note {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #ffd0e3;
  border-radius: 22px;
  padding: 18px;
}

.code-note h3 {
  color: #d81b60;
  margin-bottom: 8px;
}


/* Premium heading and brand polish */
.brand {
  position: relative;
}

.brand h2 {
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #b80f55, #e91e63, #ff79b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 900;
}

.brand p {
  display: inline-block;
  margin-top: 3px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0f7, #ffe1ec);
  color: #9a1b50 !important;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid #ffd0e3;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  right: -90px;
  top: -110px;
  background: radial-gradient(circle, rgba(233,30,99,0.22), rgba(255,255,255,0));
  filter: blur(6px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255,121,178,0.25), rgba(255,255,255,0));
  filter: blur(8px);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 900px;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #8a0038, #d81b60, #ff5ca8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: 0 12px 36px rgba(233,30,99,0.14);
}

.hero p {
  max-width: 780px;
  font-weight: 600;
  color: #663048 !important;
}

.badge,
.mini-badge {
  background: linear-gradient(135deg, #ffffff, #fff0f7);
  border: 1px solid #ffc2dc;
  box-shadow: 0 10px 24px rgba(255, 80, 150, 0.12);
}

.main-btn {
  background: linear-gradient(135deg, #e91e63, #ff79b2);
  box-shadow: 0 12px 24px rgba(233, 30, 99, 0.28);
  transition: 0.22s;
}

.main-btn:hover,
.ghost-btn:hover,
.checkout-btn:hover,
.product-card button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.ghost-btn {
  box-shadow: 0 10px 22px rgba(255, 80, 150, 0.12);
}

.topbar {
  backdrop-filter: blur(14px);
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,240,247,0.6), rgba(255,255,255,0));
  pointer-events: none;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.category-section h2,
.notice h2,
.refund-section h2 {
  letter-spacing: -0.7px;
}

.gateway-strip {
  background: linear-gradient(135deg, #fff, #fff0f7);
}

.gateway-strip strong::before {
  content: "🔐 ";
}

@media (max-width: 520px) {
  .brand p {
    font-size: 11px;
    padding: 4px 8px;
  }

  .hero h1 {
    letter-spacing: -0.8px;
  }
}


/* FIX: show payment method selector on mobile, only selected QR appears */
@media (max-width: 850px) {
  .payment-side {
    display: block !important;
    position: static !important;
    max-width: 100% !important;
    margin-top: 18px;
  }

  .purchase-card::after {
    content: none !important;
    display: none !important;
  }

  .payment-choice-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pay-panel {
    display: none !important;
  }

  .pay-panel.active-pay-panel {
    display: block !important;
  }

  .compact-card img,
  .pay-card img {
    max-height: 360px;
    object-fit: contain;
  }
}


/* eSewa first priority payment layout */
.esewa-method.active-method {
  outline: 3px solid rgba(10, 143, 49, 0.20);
}

.khalti-method.active-method {
  outline: 3px solid rgba(123, 31, 162, 0.20);
}


@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap');
.cartoon-body{background:#f0f4ff;color:#111;font-family:'Fredoka',Arial,sans-serif}
.sale-marquee{background:#000;color:#fff;border-bottom:4px solid #000;overflow:hidden;white-space:nowrap;padding:8px 0;font-weight:900;text-transform:uppercase}
.sale-track{display:flex;width:max-content;animation:cartoonMarquee 18s linear infinite}.sale-track span{margin-right:36px;font-size:13px}
.cartoon-nav{width:min(1150px,calc(100% - 24px));margin:14px auto;background:#fff;border:4px solid #000;border-radius:26px;padding:14px;box-shadow:7px 7px 0 #000;display:flex;justify-content:space-between;align-items:center;gap:14px;position:sticky;top:10px;z-index:99}
.cartoon-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#000}.cartoon-brand img{width:52px;height:52px;object-fit:cover;border:3px solid #000;border-radius:15px;background:#ff71cf;transform:rotate(-4deg)}
.cartoon-brand strong{display:block;font-size:28px;line-height:.9;font-weight:900}.cartoon-brand small{color:#ff4da6;font-weight:900;text-transform:uppercase;font-size:12px}
.cartoon-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.cartoon-links a{text-decoration:none;color:#000;font-weight:900;padding:9px 13px;border-radius:12px}.cartoon-links a:last-child,.cartoon-links a:hover{background:#aee67f;border:3px solid #000;box-shadow:4px 4px 0 #000}
.cartoon-hero{text-align:center;padding:70px 18px 55px}.hero-sticker{display:inline-block;background:#fff;border:3px solid #000;border-radius:999px;padding:9px 18px;font-weight:900;margin-bottom:22px;transform:rotate(-1deg);box-shadow:5px 5px 0 #ff71cf}
.cartoon-hero h1{font-size:clamp(52px,11vw,110px);line-height:.88;letter-spacing:-4px;font-weight:900;text-transform:uppercase;margin-bottom:22px}.cartoon-hero h1 span{color:#ff71cf;font-style:italic}
.cartoon-hero p{max-width:660px;margin:0 auto 28px;color:#555;font-weight:800;font-size:19px;line-height:1.5}.cartoon-main-btn{display:inline-block;background:#ffd600;color:#000;text-decoration:none;border:4px solid #000;border-radius:18px;padding:17px 28px;font-size:23px;font-weight:900;box-shadow:8px 8px 0 #000;transition:.18s}
.cartoon-main-btn:hover,.cartoon-card button:hover,.cartoon-trust a:hover{transform:translate(4px,4px);box-shadow:none}
.cartoon-cats{background:#fff;border-top:4px solid #000;border-bottom:4px solid #000;padding:22px;display:flex;gap:12px;overflow-x:auto;justify-content:center}.cartoon-tab{white-space:nowrap;border:3px solid #000;background:#fff;color:#000;border-radius:14px;padding:11px 19px;font-weight:900;box-shadow:4px 4px 0 #000;cursor:pointer}.cartoon-tab.active-tab{background:#ff71cf;color:white;transform:translateY(-4px);box-shadow:none}
.category-section{display:none;background:#fff;padding:54px 18px}.category-section.active-section{display:block}.category-section h2{text-align:center;font-size:clamp(34px,5vw,55px);font-weight:900;text-transform:uppercase;margin-bottom:32px}
.cartoon-grid{width:min(1250px,100%);margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:28px}.cartoon-card{background:#fff;border:4px solid #000;border-radius:32px;padding:22px;text-align:center;box-shadow:8px 8px 0 #000;transition:.18s;position:relative}.cartoon-card:hover{transform:translateY(-7px)}.cartoon-card:before{content:"";position:absolute;top:-10px;left:50%;width:62px;height:20px;background:rgba(255,214,0,.65);border:2px solid #000;transform:translateX(-50%) rotate(-3deg)}
.cartoon-card img,.cartoon-card .text-logo{width:78px;height:78px;object-fit:contain;border:3px solid #000;border-radius:50%;background:#f0f4ff;padding:9px;margin:8px auto 18px;display:flex;align-items:center;justify-content:center;font-weight:900;color:#ff4da6}.plan-tag{display:inline-block;background:#000;color:#fff;border-radius:8px;padding:4px 10px;font-size:11px;font-weight:900;text-transform:uppercase;margin-bottom:10px}
.cartoon-card h3{font-size:26px;font-weight:900;text-transform:uppercase;line-height:.95;margin-bottom:7px}.cartoon-card p{color:#777;font-weight:800;min-height:40px}.cartoon-card select{width:100%;border:3px solid #000;border-radius:14px;padding:11px;background:#fff;color:#000;font-weight:900;margin:12px 0}.cartoon-price{background:#f0f4ff;border:3px solid #000;border-radius:14px;padding:12px;font-size:23px;font-weight:900;margin-bottom:16px}.cartoon-card button{width:100%;background:#aee67f;border:3px solid #000;border-radius:15px;padding:13px;font-size:18px;font-weight:900;box-shadow:5px 5px 0 #000;cursor:pointer}
.cartoon-trust{background:#ffd600;border-top:6px solid #000;border-bottom:6px solid #000;padding:60px 22px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.cartoon-trust div{max-width:750px;margin-left:auto}.cartoon-trust h2{font-size:clamp(38px,7vw,72px);font-weight:900;text-transform:uppercase;line-height:.9;margin-bottom:14px}.cartoon-trust p{font-weight:800;line-height:1.5;font-size:18px}.cartoon-trust a{margin-right:auto;display:inline-block;background:#ff71cf;color:#fff;border:4px solid #000;border-radius:18px;padding:18px 24px;text-decoration:none;font-weight:900;box-shadow:7px 7px 0 #000}
.cartoon-footer{background:#000;color:#fff;text-align:center;padding:38px 18px}.cartoon-footer img{width:56px;height:56px;border-radius:15px;border:3px solid #fff;vertical-align:middle;margin-right:10px}.cartoon-footer strong{font-size:30px;font-weight:900}.cartoon-footer p{opacity:.6;margin-top:12px;font-size:13px}
@keyframes cartoonMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:760px){.cartoon-nav{position:relative;top:auto;flex-direction:column}.cartoon-links{justify-content:center}.cartoon-hero{padding-top:45px}.cartoon-hero h1{letter-spacing:-2px}.cartoon-cats{justify-content:flex-start}.cartoon-trust{grid-template-columns:1fr;text-align:center}.cartoon-trust div,.cartoon-trust a{margin:0 auto}}

/* Apply cartoon theme to buy/payment sections */
.purchase-card, .pay-card {
  border: 4px solid #000 !important;
  box-shadow: 6px 6px 0 #000 !important;
  border-radius: 24px !important;
}
.method-btn {
  border: 3px solid #000 !important;
  box-shadow: 3px 3px 0 #000 !important;
  font-weight: 900 !important;
}

/* Bigger QR */
.pay-card img, .compact-card img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 10px auto;
}

/* Theme system */
:root {
  --bg: #f0f4ff;
  --card: #ffffff;
  --text: #111;
}
body.dark {
  --bg: #0f0f14;
  --card: #1b1b22;
  --text: #f2f2f2;
}
body {
  background: var(--bg) !important;
  color: var(--text) !important;
}
.cartoon-card, .purchase-card, .pay-card {
  background: var(--card) !important;
}
.theme-toggle {
  cursor:pointer;
  border:3px solid #000;
  padding:6px 12px;
  border-radius:12px;
  font-weight:900;
}

/* Final light pale-blue trusted theme */
:root {
  --bg: #eaf6ff;
  --card: #ffffff;
  --text: #17324d;
  --ink: #2c5f8f;
  --accent: #78c8ff;
  --accent2: #ff8fc7;
}

body,
.cartoon-body {
  background: linear-gradient(135deg, #eaf6ff, #f7fbff) !important;
  color: var(--text) !important;
}

.sale-marquee {
  background: linear-gradient(90deg, #2c5f8f, #78c8ff) !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
}

.cartoon-nav,
.cartoon-card,
.purchase-card,
.pay-card,
.auth-card,
.refund-section,
.cartoon-trust {
  border-color: #9bd7ff !important;
  box-shadow: 0 14px 34px rgba(44, 95, 143, 0.14) !important;
}

.cartoon-brand img,
.cartoon-card img,
.cartoon-card .text-logo {
  border-color: #9bd7ff !important;
  background: #f4fbff !important;
}

.cartoon-links a:last-child,
.cartoon-links a:hover,
.cartoon-card button,
.method-btn,
.cartoon-main-btn,
.cartoon-trust a,
.checkout-btn {
  border-color: #2c5f8f !important;
  box-shadow: 0 8px 18px rgba(44, 95, 143, 0.18) !important;
}

.cartoon-card button,
.cartoon-main-btn {
  background: linear-gradient(135deg, #78c8ff, #b9e6ff) !important;
  color: #17324d !important;
}

.cartoon-tab {
  border-color: #9bd7ff !important;
  box-shadow: 0 8px 16px rgba(44,95,143,0.12) !important;
}

.cartoon-tab.active-tab {
  background: linear-gradient(135deg, #78c8ff, #ffb5d6) !important;
  color: #17324d !important;
}

.cartoon-price,
.cartoon-card select,
.order-summary div,
.special-box,
.auth-result,
.code-note {
  border-color: #9bd7ff !important;
  background: #f4fbff !important;
}

.cartoon-hero h1,
.category-section h2,
.purchase-card h1,
.auth-card h1 {
  color: #2c5f8f !important;
}

.cartoon-hero h1 span {
  color: #ff6fb3 !important;
}

.hero-sticker,
.badge,
.mini-badge {
  border-color: #9bd7ff !important;
  box-shadow: 0 10px 22px rgba(44,95,143,0.12) !important;
}

.cartoon-trust {
  background: linear-gradient(135deg, #dff3ff, #ffffff) !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.cartoon-footer {
  background: linear-gradient(135deg, #2c5f8f, #5ab8f5) !important;
}

.plan-tag {
  background: #2c5f8f !important;
}

body.dark {
  background: linear-gradient(135deg, #eaf6ff, #f7fbff) !important;
  color: #17324d !important;
}

/* Owner tag styling */
.owner-tag {
  position: absolute;
  left: 20px;
  top: -18px;
  font-family: 'Brush Script MT', cursive;
  font-size: 20px;
  color: #2c5f8f;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border: 1px solid #9bd7ff;
}

/* Inspired modern additions */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border-radius: 20px;
  margin: 20px auto;
  width: min(1100px, 95%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  text-align: center;
  font-weight: 700;
  color: #2c5f8f;
}

.feature-strip div {
  background: #f4fbff;
  padding: 12px;
  border-radius: 12px;
}

.cartoon-hero {
  background: linear-gradient(135deg,#eaf6ff,#ffffff);
  border-radius: 30px;
  margin: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.cartoon-card {
  transition: 0.25s;
}
.cartoon-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.cartoon-main-btn {
  border-radius: 999px;
}

.cartoon-nav {
  background: #ffffffcc;
  backdrop-filter: blur(10px);
}

/* Priority Google AI Pro card polish */
.cartoon-card h3, .product-card h3 {
  word-break: normal;
}
