.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
}

img,
svg,
video {
  max-width: 100%;
}

.site-header {
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.header-brand {
  height: 1.75rem;
  flex: 0 0 auto;
}

.header-brand img {
  height: 100%;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
}

.header-search {
  display: flex !important;
  align-items: center;
  flex: 1 1 12rem;
  min-width: 0;
  background: #fff;
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font-size: 0.9rem;
  height: 1.75rem;
}

.header-search button {
  border: 0;
  background: transparent;
  color: #2874f0;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-login {
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.header-login:not(.hidden) {
  display: inline-flex;
}

.header-login.hidden {
  display: none !important;
}

.header-user-name {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
}

.header-cart-label {
  display: none;
}

.cat-strip,
.cat-img-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0.75rem;
}

.cat-strip::-webkit-scrollbar,
.cat-img-strip::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 500;
  color: #212121;
  padding: 0.45rem 0.15rem;
}

.cat-tile {
  flex: 0 0 auto;
  width: 4.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.cat-tile img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.cat-tile span {
  font-size: 0.7rem;
  line-height: 1.2;
  color: #212121;
  max-width: 4.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.shop-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.shop-card-img {
  width: 100%;
  max-width: 8.5rem;
  height: 7.5rem;
}

.shop-card-img img,
.shop-card-img {
  object-fit: contain;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.product-gallery {
  width: 100%;
  height: 220px;
  max-height: 55vw;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-action-bar {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.auth-page {
  padding: 1rem 0.75rem 2rem;
}

.auth-card {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.auth-field input {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid #e0e0e0;
  outline: none;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.auth-field input:focus {
  border-bottom-color: #2874f0;
}

.pw-wrap {
  position: relative;
}

.pw-wrap input {
  padding-right: 3.25rem;
}

.pw-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #2874f0;
  font-size: 0.75rem;
  font-weight: 500;
  min-height: 44px;
  padding: 0 0.5rem;
}

.auth-submit {
  min-height: 44px;
  width: 100%;
}

.mobile-bottom-nav {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 0.25rem 0.15rem calc(0.25rem + env(safe-area-inset-bottom));
  justify-content: space-around;
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: 48px;
  color: #717478;
  font-size: 0.65rem;
  text-decoration: none;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:focus {
  color: #2874f0;
}

.mobile-bottom-nav .material-icons {
  font-size: 22px;
}



.review-card {
  border-top: 1px solid #f0f0f0;
  padding: 0.75rem 0;
}

@media (max-width: 639px) {
  .header-inner {
    padding: 0.45rem 0.7rem 0.65rem;
  }

  .header-brand {
    order: 1;
  }

  .header-actions {
    order: 2;
    gap: 0.45rem;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
  }

  .header-user-name {
    max-width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8rem;
  }

  .moreDropDown,
  .header-cart-label {
    display: none !important;
  }

  .userDropDownMenu {
    left: auto !important;
    right: 0 !important;
    top: 2.75rem !important;
    width: 16rem;
    max-width: calc(100vw - 1rem);
  }

  body.has-mobile-nav {
    padding-bottom: 4.25rem;
  }

  main.page-main,
  main.flex,
  main.w-full,
  main.mt-12,
  main.mt-14,
  main.mt-16,
  main.mt-20 {
    margin-top: 0.5rem !important;
  }

  header.bg-primary-blue + section,
  header.bg-primary-blue + main {
    margin-top: 0;
  }

  .cat-nav-section {
    display: none !important;
  }

  .cat-img-section {
    display: block !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #banner,
  #banner img {
    height: 8.5rem !important;
  }

  .shop-section-head {
    padding: 0.75rem !important;
  }

  .shop-section-head h1,
  .shop-section-head .title h1 {
    font-size: 1rem !important;
  }

  .view-all-btn {
    padding: 0.45rem 0.7rem !important;
    font-size: 0.7rem !important;
  }

  .suggested-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .suggested-row > div,
  .suggested-row .shop-card {
    width: 100% !important;
    padding: 0.6rem 0.4rem !important;
  }

  .owl-carousel .owl-nav {
    display: none;
  }

  .product-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 3.4rem;
    z-index: 25;
    background: #fff;
    padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  }

  .product-action-bar a,
  .product-action-bar button {
    min-height: 44px;
    padding: 0.65rem 0.4rem !important;
    font-size: 0.8rem;
  }

  .product-page main,
  .has-product-actions {
    padding-bottom: 7.5rem;
  }

  .site-footer {
    padding: 0.75rem !important;
    font-size: 0.7rem;
  }

  .site-footer .footer-extra {
    display: none !important;
  }

  .site-footer .footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .site-footer .footer-cols > div {
    width: 100% !important;
    margin: 0 !important;
  }

  .long-links {
    display: none !important;
  }

  .image-box {
    height: 220px !important;
  }

  .w-36.h-36 {
    width: 7rem !important;
    height: 7rem !important;
  }

  .auth-page .px-14,
  .auth-page .py-10 {
    padding: 1.25rem 1rem !important;
  }

  .spec-row {
    flex-direction: column !important;
  }

  .flex.items-baseline.gap-2.text-2xl {
    font-size: 1.25rem !important;
    flex-wrap: wrap;
  }

  .cat-img-section {
    display: block !important;
  }

  .mb-36,
  .mb-40 {
    margin-bottom: 1.25rem !important;
  }
}

@media (min-width: 640px) {
  .mobile-bottom-nav {
    display: none;
  }

  .site-footer .footer-extra {
    display: flex;
  }

  .header-cart-label {
    display: inline;
  }

  .product-gallery {
    height: 24rem;
    max-height: none;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cat-img-strip {
    justify-content: space-between;
    overflow: visible;
  }

  .cat-tile {
    width: auto;
  }

  .cat-tile span {
    max-width: none;
    font-size: 0.875rem;
  }
}

.spec-row {
  gap: 1rem !important;
  align-items: flex-start;
}

.spec-pair {
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.spec-pair > p:first-child {
  width: 100% !important;
  font-size: 0.75rem;
}

.spec-list {
  width: auto !important;
  max-width: 100%;
}

.cart-item-actions {
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.cart-item-actions button {
  min-height: 36px;
}

.cart-place-bar {
  position: sticky;
  bottom: 3.5rem;
  background: #fff;
  z-index: 20;
}

.address-input {
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .spec-pair {
    flex-direction: row;
  }

  .spec-pair > p:first-child {
    width: 25% !important;
  }

  .cart-place-bar {
    position: static;
  }
}

.header-search input:focus,
.auth-field input:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #2874f0;
  outline-offset: 2px;
}

.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.promo-popup[hidden] {
  display: none !important;
}

.promo-card {
  position: relative;
  width: 100%;
  max-width: 22rem;
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem 1rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.promo-card img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.promo-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.promo-off {
  color: #388e3c;
  font-weight: 700;
  margin: 0.25rem 0;
}

.promo-timer {
  font-size: 0.8rem;
  color: #c2410c;
  margin: 0.5rem 0;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  background: #2874f0;
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
}

.promo-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  min-width: 36px;
  min-height: 36px;
  cursor: pointer;
}

.checkout-wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem;
  padding-bottom: 6rem;
}

.checkout-steps {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  color: #717478;
}

.checkout-steps .done { color: #388e3c; }
.checkout-steps .current { color: #2874f0; font-weight: 600; }

.checkout-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-main,
.checkout-summary,
.pay-addr {
  background: #fff;
  padding: 1rem;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.pay-addr {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.pay-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.pay-option.disabled { opacity: 0.55; }
.pay-option input { margin-top: 0.35rem; width: auto; min-height: auto; }
.pay-option small { display: block; color: #717478; font-size: 0.75rem; }
.pay-qr { max-width: 140px; margin-top: 0.5rem; }
.pay-hero {
  background: #f5faff;
  border: 1px solid #dbeafe;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}
.pay-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.3;
}
.qr-static-note {
  color: #c0392b !important;
  font-weight: 500;
}
.pay-offer-timer {
  margin-top: 0.5rem;
  background: #fff0f3;
  color: #e53935;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  display: inline-block;
}
.pay-offer-timer span { font-variant-numeric: tabular-nums; }

.pay-button,
.addr-submit,
.back-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  background: #fb641b;
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-weight: 500;
  margin-top: 0.75rem;
}

.addr-input,
.address-input {
  min-height: 44px;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 0.6rem 0.75rem;
}

.addr-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.addr-card {
  background: #fff;
  padding: 0.9rem;
  border: 1px solid #eee;
  border-radius: 4px;
}

.acct-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  color: #212121;
}

.acct-nav-link.active {
  background: #f5faff;
  color: #2874f0;
}

.acct-hello { margin-bottom: 0.75rem; }

.track-steps {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.75rem 0;
}

.track-step {
  flex: 1;
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.65rem;
  color: #717478;
}

.track-step .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e0e0e0;
  margin: 0 auto 0.35rem;
}

.track-step.done .dot,
.track-step.current .dot { background: #2874f0; }
.track-step.done { color: #2874f0; }

.confirm-container {
  max-width: 28rem;
  margin: 5rem auto 6rem;
  background: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 4px;
}

.confirm-icon .material-icons { font-size: 3rem; color: #388e3c; }
.confirm-header { font-size: 1.25rem; font-weight: 600; }
.order-details { text-align: left; }

.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  background: #fff;
  border-top: 1px solid #eee;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: 0.65rem;
  color: #717478;
  gap: 2px;
}

.mobile-bottom-nav a.active { color: #2874f0; }
.mobile-bottom-nav .material-icons { font-size: 22px; }

.live-sale {
  border-left: 4px solid #2874f0;
}

.live-sale-timer {
  background: #fff3e0;
  color: #e65100;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
}

.pay-option.disabled strong + small,
.pay-option.disabled small {
  color: #c0392b;
}

.welcome-toast {
  position: fixed;
  left: 50%;
  top: 4.5rem;
  transform: translateX(-50%);
  background: #2874f0;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  z-index: 50;
  animation: fadeSlide 2.4s ease forwards;
  pointer-events: none;
}

@keyframes fadeSlide {
  0% { opacity: 0; transform: translate(-50%, -8px); }
  15% { opacity: 1; transform: translate(-50%, 0); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -8px); }
}

.auth-card, .shop-card, .stat, .card {
  animation: riseIn 0.35s ease;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

button:active, .pay-button:active, .auth-submit:active {
  transform: scale(0.98);
}

.auth-submit[disabled] {
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .welcome-toast { display: none; }
}

@media (min-width: 640px) {
  .checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
  .pay-button, .addr-submit, .back-home-btn { width: auto; padding: 0 1.5rem; }
}

.ck-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  background: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.ck-head a { color: #212121; display: inline-flex; align-items: center; }
.ck-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1rem 0.75rem 1.25rem;
  background: #fff;
  margin-bottom: 0.5rem;
}
.ck-step { display: flex; flex-direction: column; align-items: center; min-width: 4.5rem; }
.ck-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #90caf9; color: #2874f0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600; background: #fff;
}
.ck-step.done .ck-num, .ck-step.current .ck-num {
  background: #2874f0; color: #fff; border-color: #2874f0;
}
.ck-step.done .ck-num .material-icons { font-size: 16px; }
.ck-lab { font-size: 0.7rem; color: #9e9e9e; margin-top: 0.25rem; }
.ck-step.current .ck-lab { color: #212121; font-weight: 500; }
.ck-line { flex: 1; height: 2px; background: #e0e0e0; margin: 0 0.15rem 1.1rem; max-width: 4.5rem; }
.ck-line.done { background: #2874f0; }

.addr-note {
  background: #fff8e1; color: #8d6e00; border-radius: 10px;
  padding: 0.7rem 0.85rem; font-size: 0.8rem; margin: 0.5rem 0 1rem;
  display: flex; gap: 0.4rem; align-items: flex-start;
}
.addr-note .material-icons { font-size: 18px; color: #f9a825; }

.addr-form-card {
  background: #fff; padding: 0.5rem 0.75rem 6.5rem;
}
.addr-choice {
  display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer;
}
.addr-choice input[type="radio"] {
  margin-top: 0.35rem; accent-color: #2874f0;
}
.addr-choice.is-selected {
  border-color: #2874f0; box-shadow: 0 0 0 1px #2874f0;
}
.addr-add-link {
  display: inline-flex; align-items: center; color: #2874f0;
  font-weight: 600; font-size: 0.9rem;
}
.float-field {
  position: relative; margin: 0.85rem 0;
}
.float-field input, .float-field select {
  width: 100%; min-height: 52px; border: 1px solid #bdbdbd; border-radius: 6px;
  padding: 1.1rem 0.75rem 0.35rem; font-size: 0.95rem; background: #fff; outline: none;
}
.float-field label {
  position: absolute; left: 0.7rem; top: -0.45rem; background: #fff;
  padding: 0 0.25rem; font-size: 0.7rem; color: #9e9e9e;
}
.float-field input:focus, .float-field select:focus { border-color: #2874f0; }
.city-state { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.delivery-by {
  color: #388e3c; font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.35rem; margin: 0.35rem 0 0.75rem;
  background: #f7f7f7; border-radius: 10px; padding: 0.7rem 0.85rem;
}
.delivery-by .material-icons { font-size: 18px; color: #388e3c; }
.open-box {
  background: #f7f7f7; border-radius: 10px; padding: 0.7rem 0.85rem;
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; margin: 0 0 0.75rem;
}
.open-box .material-icons { font-size: 18px; color: #717478; }
.deliver-card { background: #f7f7f7; border-radius: 12px; }
.deliver-name, .deliver-phone { display: flex; align-items: center; gap: 0.35rem; }
.deliver-name .material-icons, .deliver-phone .material-icons { font-size: 18px; color: #717478; }

.ck-bottom {
  position: sticky; bottom: 52px; left: 0; right: 0;
  background: #fff; padding: 0.75rem; border-top: 1px solid #eee; z-index: 20;
}
.ck-proceed, .ck-continue {
  width: 100%; min-height: 48px; background: #ffc200; color: #212121;
  border: 0; border-radius: 8px; font-weight: 700; font-size: 1rem;
}
.ck-secure {
  display: flex; justify-content: center; gap: 1.5rem;
  font-size: 0.7rem; color: #9e9e9e; margin-top: 0.5rem;
}
.ck-secure span { display: inline-flex; align-items: center; gap: 0.2rem; }
.ck-secure .material-icons { font-size: 14px; }

.save-bar {
  background: #e8f5e9; color: #2e7d32; border-radius: 999px;
  padding: 0.55rem 0.9rem; font-size: 0.85rem; font-weight: 500; margin: 0.75rem 0;
}
.save-line { color: #388e3c; font-size: 0.85rem; margin: 0.5rem 0; }
.price-strike { text-decoration: line-through; color: #9e9e9e; font-size: 0.85rem; }
.summary-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.summary-bar .ck-continue { width: auto; min-width: 42%; padding: 0 1.5rem; border-radius: 999px; }
.assured-row { display: flex; align-items: center; gap: 0.35rem; margin: 0.25rem 0; }
.assured-row img { height: 16px; width: auto; }

.live-sale {
  background: #fff;
  text-align: center;
  padding: 0.85rem 1rem;
  border-left: 0;
}
.live-sale-home {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e53935;
  margin: 0;
}
.live-sale .live-sale-timer { background: transparent; color: inherit; padding: 0; border-radius: 0; }

.pay-card {
  display: flex; gap: 0.75rem; align-items: flex-start;
  border: 1px solid #e0e0e0; border-radius: 10px;
  padding: 0.85rem; margin: 0.55rem 0; background: #fff; cursor: pointer;
}
.pay-card:has(input:checked) { border: 2px solid #2874f0; background: #f5faff; }
.pay-card.disabled { opacity: 0.55; cursor: not-allowed; }
.pay-ico {
  width: 40px; height: 40px; border-radius: 8px; background: #f3e5f5;
  display: inline-flex; align-items: center; justify-content: center; color: #6a1b9a; flex-shrink: 0;
}
.pay-ico .material-icons { font-size: 22px; }
.pay-ico.paytm { background: #e3f2fd; color: #0277bd; }
.pay-ico.phonepe { background: #f3e5f5; color: #5e35b1; }
.pay-ico.scan { background: #e8f5e9; color: #2e7d32; }
.upi-row { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.4rem; }
.upi-row code { background: #f5f5f5; padding: 0.35rem 0.5rem; border-radius: 4px; font-size: 0.85rem; }
.copy-upi {
  border: 1px solid #2874f0; color: #2874f0; background: #fff;
  border-radius: 4px; padding: 0.3rem 0.6rem; min-height: 32px; font-size: 0.75rem;
}
.qr-box { text-align: center; margin-top: 0.5rem; }
.qr-box img { max-width: 180px; margin: 0 auto; }
.pay-apps { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.4rem; font-size: 0.7rem; color: #717478; }
.upi-qr-head { display: flex; align-items: center; justify-content: space-between; margin-top: 0.75rem; }
.upi-qr-head strong { font-size: 0.9rem; }
.upi-expire {
  display: inline-flex; align-items: center; gap: 0.25rem;
  border: 1px solid #e0e0e0; border-radius: 999px; padding: 0.2rem 0.6rem;
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.8rem; color: #212121;
}
.upi-expire.expired { color: #c0392b; border-color: #c0392b; }
.upi-expire .material-icons { font-size: 16px; }
.qr-warn { color: #c0392b; font-size: 0.75rem; font-weight: 500; margin-top: 0.5rem; }
.pay-overlay {
  display: none; position: fixed; inset: 0; background: rgba(255,255,255,.92);
  z-index: 80; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 1.5rem;
}
.pay-overlay.show { display: flex; }
.pay-overlay h3 { margin: 0.75rem 0 0.35rem; font-size: 1.15rem; }
.pay-overlay p { color: #717478; font-size: 0.85rem; margin: 0; }
.pay-spin {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid #e3f2fd; border-top-color: #2874f0; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.track-vertical { position: relative; margin: 1rem 0 1.5rem; padding-left: 1.5rem; }
.track-vertical::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: #e0e0e0;
}
.tv-step { position: relative; padding: 0 0 1.1rem 0.75rem; }
.tv-step .tv-dot {
  position: absolute; left: -1.5rem; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: #e0e0e0; border: 2px solid #fff; box-shadow: 0 0 0 2px #e0e0e0;
}
.tv-step.done .tv-dot { background: #388e3c; box-shadow: 0 0 0 2px #c8e6c9; }
.tv-step.current .tv-dot { background: #388e3c; box-shadow: 0 0 0 2px #a5d6a7; }
.tv-step.done p, .tv-step.current p { color: #2e7d32; font-weight: 600; }
.tv-step small { display: block; color: #9e9e9e; font-size: 0.7rem; font-weight: 400; }
.tv-step.pending p { color: #9e9e9e; }

.order-tabs { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.35rem 0.25rem; }
.order-tabs a {
  white-space: nowrap; padding: 0.4rem 0.75rem; border-radius: 999px;
  background: #fff; border: 1px solid #e0e0e0; font-size: 0.75rem; color: #212121;
}
.order-tabs a.active { background: #2874f0; color: #fff; border-color: #2874f0; }
.rate-link { color: #2874f0; font-size: 0.8rem; font-weight: 500; }

.acct-hero {
  background: #fff; padding: 1rem; margin-bottom: 0.5rem;
}
.acct-hero h1, .acct-hero h2 { font-size: 1.25rem; margin: 0; font-weight: 700; }
.acct-hey { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.acct-help-btn {
  display: inline-flex; align-items: center; gap: 0.25rem;
  border: 1px solid #e0e0e0; border-radius: 999px; padding: 0.35rem 0.75rem;
  font-size: 0.8rem; color: #212121; white-space: nowrap;
}
.acct-help-btn .material-icons { font-size: 18px; }
.acct-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 0.5rem 0.75rem;
}
.acct-tile {
  background: #fff; border-radius: 8px; padding: 0.85rem;
  display: flex; flex-direction: column; gap: 0.25rem; min-height: 72px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06); border: 1px solid #eee;
}
.acct-tile small { color: #717478; font-size: 0.7rem; }
.recent-viewed { background: #fff; padding: 0.85rem 0.75rem; margin: 0.5rem 0; }
.recent-viewed h2 { font-size: 1rem; font-weight: 700; margin: 0 0 0.75rem; }
.recent-row { display: flex; gap: 0.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.recent-card { flex: 0 0 7.5rem; display: flex; flex-direction: column; gap: 0.35rem; color: #212121; }
.recent-card img { width: 7.5rem; height: 7.5rem; object-fit: cover; border-radius: 8px; background: #f5f5f5; }
.recent-card span { font-size: 0.75rem; line-height: 1.3; max-height: 2.5em; overflow: hidden; }
.coupon-offers-tile { margin: 0.5rem 0.75rem 1rem; }
.coupon-offers-tile a {
  display: flex; align-items: center; gap: 0.5rem; background: #f3e8ff; color: #212121;
  border-radius: 12px; padding: 0.85rem 1rem; font-weight: 500; font-size: 0.9rem;
}
.status-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; }

.auto-upi-page .pay-amount { font-size: 1.8rem; font-weight: 700; }
.auto-upi-card { display: block; }
.auto-upi-qrjs { display: none; }
.badge.status-notification_received { background:#e3f2fd; color:#0d47a1; }
.badge.status-verification_required { background:#fff8e1; color:#f57f17; }
.badge.status-expired, .badge.status-failed { background:#ffebee; color:#b71c1c; }

@media (max-width: 639px) {
  .checkout-summary { display: none; }
  .ck-head { position: sticky; top: 3.5rem; z-index: 15; }
}
@media (min-width: 640px) {
  .ck-bottom { position: static; }
  .addr-form-card { padding-bottom: 1rem; }
  .acct-grid { margin: 0.5rem 0; }
  .coupon-offers-tile { margin: 0.5rem 0 1rem; }
}
