:root {
  --primary: #ff7590;
  --secondary: #ff7eb3;
  --accent: #ffc7d0;
  --bg: #f2f3f8;
  --surface: #ffffff;
  --text: #364152;
  --muted: #72798f;
  --border: rgba(54, 65, 82, 0.12);
  --shadow: 0 18px 38px rgba(77, 90, 105, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", "Nunito", sans-serif;
  line-height: 1.55;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 117, 144, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 126, 179, 0.12), transparent 26%),
    var(--bg);
}

main,
section,
article,
aside,
header,
footer,
form,
fieldset,
.container,
.content-grid,
.panel,
.content-card,
.table-card,
.order-card,
.product-card,
.product-body,
.manage-shell,
.manage-content,
.manage-sidebar,
.manage-panel,
.manage-stat-card,
.manage-profile-card,
.manage-hero,
.desktop-topbar-grid,
.desktop-navbar,
.mobile-navbar-row,
.shop-hero,
.promo-strip,
.whatsapp-banner,
.voucher-card,
.proof-card,
.site-footer,
.footer-grid,
.footer-payment-panel,
.live-chat-card {
  min-width: 0;
}

p,
span,
strong,
small,
td,
th,
label,
.muted,
.summary-line,
.section-copy,
.manage-profile-card span,
.manage-order-item,
.footer-note,
.footer-contact-table td,
.footer-link-list a,
.toaster-line {
  overflow-wrap: anywhere;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(106, 90, 249, 0.35);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 48px 0;
}

.section-title {
  margin: 0 0 24px;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.1em;
  color: transparent;
  background: linear-gradient(109deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(125deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow);
}

.btn-light {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-success {
  color: #fff;
  background: linear-gradient(125deg, #16c79a, #24c59c);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(125deg, #f44336, #db0f13);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.alert {
  padding: 14px 18px;
  border-radius: 16px;
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(20, 164, 77, 0.12);
  color: #0f7a39;
}

.alert-error {
  background: rgba(231, 76, 60, 0.12);
  color: #a93226;
}

.site-top {
  padding: 26px 0 16px;
}

.topbar {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 32px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 10px;
  z-index: 20;
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 16px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(31, 29, 58, 0.08);
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.85rem;
}

.search-shell {
  min-width: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 117, 144, 0.18);
  padding: 5px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search-form input,
.search-form select,
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(31, 29, 58, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.search-form input {
  min-width: 0;
  border: 0;
  background: transparent;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input[type="file"] {
  padding: 12px 14px;
  background: rgba(246, 248, 255, 0.88);
}

::placeholder {
  color: #9994b4;
}

.icon-links {
  display: flex;
  align-items: center;
  gap: 14px;
  grid-column: 4;
  justify-self: end;
}

.member-pill {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: flex-end;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(102, 126, 234, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
  grid-column: 3;
  justify-self: end;
}

.member-pill strong {
  color: var(--text);
}

.member-pill a {
  color: var(--primary);
  font-weight: 600;
}

.mobile-shortcuts {
  display: none;
}

.mobile-shortcuts a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 117, 144, 0.14);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(31, 29, 58, 0.1);
  white-space: nowrap;
}

.mobile-shortcuts a.active {
  color: var(--primary);
  border-color: rgba(255, 117, 144, 0.28);
}

.icon-link {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 117, 144, 0.14);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(31, 29, 58, 0.13);
}

.badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #f43f5e;
  font-size: 0.75rem;
  font-weight: 700;
}

.navbar {
  margin-top: 6px;
  padding: 10px 18px;
  background: linear-gradient(90deg, rgba(255, 215, 223, 0.92), rgba(255, 233, 238, 0.92));
  border-radius: 999px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow);
}

.navbar a {
  padding: 8px 0;
  font-weight: 500;
  color: var(--muted);
}

.navbar a.active,
.navbar a:hover {
  color: var(--primary);
}

.hero-slider {
  padding-top: 18px;
}

.slider-track {
  position: relative;
  min-height: clamp(240px, 34vw, 360px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: scale(1.01);
  background: #ddd;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 24, 45, 0.4), rgba(24, 24, 45, 0.08));
  z-index: 1;
}

.slide-copy {
  position: absolute;
  inset: auto auto 32px 32px;
  z-index: 2;
  color: #fff;
  max-width: 360px;
}

.slide-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.slide-copy p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  box-shadow: 0 14px 32px rgba(102, 126, 234, 0.08);
}

.cat-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: 18px;
}

.cat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 0.95rem;
}

.promo-strip {
  background: linear-gradient(135deg, rgba(228, 216, 255, 0.95), rgba(255, 255, 255, 0.95));
  border-radius: 32px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1.6fr auto;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.promo-strip h3 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.promo-strip p {
  margin: 0;
  color: var(--muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 250px));
  justify-content: center;
  gap: 18px;
}

.products-grid-catalog {
  grid-template-columns: repeat(auto-fit, minmax(220px, 250px));
  justify-content: center;
}

.products-grid-home {
  grid-template-columns: repeat(auto-fit, minmax(220px, 250px));
  justify-content: center;
}

.products-grid-home .product-card {
  width: 100%;
  max-width: 250px;
  justify-self: center;
}

.product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(80, 89, 105, 0.08);
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(54, 65, 82, 0.08);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  background: #fff;
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.product-tag {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(109deg, var(--primary), var(--secondary));
}

.product-tag.warn {
  background: linear-gradient(109deg, #ffb020, #ff7a18);
}

.product-body {
  padding: 12px 14px 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.product-location {
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-title {
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-line {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.compare-price {
  color: #9ba1b3;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.discount-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(102, 126, 234, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.price {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  min-width: 0;
}

.meta-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.meta-line span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.card-actions .btn,
.card-actions form {
  width: 100%;
  min-width: 0;
}

.card-actions .btn {
  min-height: 40px;
  padding-inline: 12px;
  gap: 6px;
  font-size: 0.78rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: center;
  word-break: normal;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(54, 65, 82, 0.1);
  background: #fff;
  box-shadow: none;
}

.card-actions .btn span {
  display: inline-block;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.testimonial-card,
.blog-card,
.panel,
.content-card,
.table-card,
.order-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.blog-card {
  display: block;
  overflow: hidden;
}

.testimonial-card {
  padding: 24px;
  background: radial-gradient(circle at top right, rgba(102, 126, 234, 0.12), transparent 32%), #fff;
}

.testimonial-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 18px;
}

.stars {
  color: #f6a31d;
  font-size: 0.92rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.blog-thumb {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ddd;
  border-radius: 24px 24px 0 0;
}

.shop-filter {
  position: relative;
}

.shop-summary {
  align-self: start;
}

.blog-copy {
  padding: 20px;
}

.blog-copy h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.blog-copy p,
.muted,
.richtext,
.richtext p,
.richtext li,
.richtext blockquote {
  color: var(--muted);
}

.richtext {
  line-height: 1.8;
}

.richtext > :first-child {
  margin-top: 0;
}

.richtext > :last-child {
  margin-bottom: 0;
}

.richtext ul,
.richtext ol {
  padding-left: 20px;
}

.richtext a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  gap: 24px;
}

.panel,
.content-card,
.table-card,
.order-card {
  padding: 24px;
}

.panel > :first-child,
.content-card > :first-child,
.table-card > :first-child,
.order-card > :first-child {
  margin-top: 0;
}

.panel > :last-child,
.content-card > :last-child,
.table-card > :last-child,
.order-card > :last-child {
  margin-bottom: 0;
}

.section-tight {
  padding-top: 0;
}

.center-cta {
  margin-top: 24px;
  text-align: center;
}

.testimonial-quote {
  margin: 16px 0 12px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-22 {
  margin-top: 22px;
}

.mt-24 {
  margin-top: 24px;
}

.footer-actions {
  margin-top: 18px;
}

.footer-note {
  margin: 14px 0 0;
}

.rating-star {
  color: #ffb020;
}

.icon-danger {
  color: #e74c3c;
}

.icon-success {
  color: #14a44d;
}

.hero-copy {
  margin-top: 18px;
}

.article-cover {
  border-radius: 24px;
}

.article-title {
  margin: 24px 0 8px;
}

.article-body {
  margin-top: 24px;
}

.product-description {
  margin-top: 18px;
}

.form-stack,
.admin-form {
  display: grid;
  gap: 18px;
}

.form-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-submit {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-start;
  align-items: end;
}

.form-submit .btn {
  width: 100%;
}

.form-stack > .btn,
.admin-form > .btn {
  justify-self: start;
}

.action-row,
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(31, 29, 58, 0.08);
  vertical-align: top;
}

th {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7c7a96;
}

.table-card .btn {
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

.product-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.detail-media {
  border-radius: 30px;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: linear-gradient(180deg, #f8f9fc, #eef2f9);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

.detail-actions form {
  width: fit-content;
}

.detail-actions form .btn {
  width: 100%;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.summary {
  display: grid;
  gap: 14px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.summary-line strong {
  color: var(--text);
  text-align: right;
  word-break: break-word;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(31, 29, 58, 0.08);
}

.cart-item > * {
  min-width: 0;
}

.cart-thumb {
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8f9fc, #eef2f9);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item input {
  width: 72px;
}

.hero-empty {
  padding: 48px 24px;
  text-align: center;
}

.site-footer {
  margin-top: 36px;
  background:
    linear-gradient(180deg, rgba(245, 246, 251, 0) 0%, rgba(255, 255, 255, 0.9) 16%),
    rgba(229, 220, 255, 0.6);
  padding: 44px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.footer-title {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 700;
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-list a,
.footer-list div {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 29, 58, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

.bottom-nav {
  display: none;
}

.whatsapp-banner {
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(59, 130, 246, 0.18));
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
}

.whatsapp-banner h3 {
  margin: 0;
  font-size: 1.5rem;
}

.whatsapp-banner p {
  margin: 6px 0 0;
  color: var(--muted);
}

.floating-toaster {
  position: fixed;
  left: 24px;
  bottom: 28px;
  z-index: 58;
  width: min(440px, calc(100vw - 220px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(251, 212, 223, 0.97), rgba(243, 213, 224, 0.97));
  box-shadow: 0 16px 36px rgba(31, 29, 58, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.floating-toaster.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.live-chat-open .floating-toaster {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.toaster-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.toaster-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.toaster-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.toaster-title,
.toaster-product {
  color: #202537;
  line-height: 1.22;
}

.toaster-title {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 500;
}

.toaster-title strong {
  font-weight: 500;
  text-transform: lowercase;
}

.toaster-product {
  margin-top: 3px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 500;
}

.toaster-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #202537;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
}

.toaster-verified i {
  color: #16b84e;
  font-size: 1.05rem;
}

@media (max-width: 1080px) {
  .products-grid,
  .blog-grid,
  .testimonial-grid,
  .footer-grid,
  .content-grid,
  .product-detail,
  .cats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .member-pill,
  .icon-links {
    grid-column: auto;
    justify-self: start;
  }

  .search-shell {
    order: 2;
  }

  .icon-links {
    order: 3;
  }

  .member-pill {
    order: 4;
    justify-content: flex-start;
  }

  .whatsapp-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .site-top {
    padding: 14px 0 10px;
    background: linear-gradient(180deg, rgba(255, 199, 208, 0.7), rgba(255, 199, 208, 0.22));
  }

  .topbar {
    position: relative;
    top: auto;
    grid-template-columns: 1fr auto;
    gap: 10px;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy span {
    display: none;
  }

  .search-shell,
  .member-pill,
  .mobile-shortcuts {
    display: none;
  }

  .icon-links {
    display: flex;
    gap: 8px;
  }

  .icon-link {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .icon-link i {
    font-size: 1.15rem;
    color: var(--primary);
  }

  .mobile-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 12px 2px 2px;
    margin-top: 10px;
    scrollbar-width: none;
  }

  .mobile-shortcuts a {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 9px 13px;
    font-size: 0.78rem;
  }

  .mobile-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .slide {
    min-height: 170px;
  }

  .slider-track {
    min-height: 170px;
    border-radius: 18px;
  }

  .slide-copy {
    display: none;
  }

  .section {
    padding: 26px 0;
  }

  .section-title {
    margin-bottom: 14px;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }

  .promo-strip,
  .whatsapp-banner {
    padding: 18px;
    border-radius: 18px;
  }

  .blog-grid,
  .testimonial-grid,
  .footer-grid,
  .content-grid,
  .product-detail,
  .form-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .cats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .cat-card {
    padding: 4px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .cat-card img {
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(77, 90, 105, 0.12);
  }

  .cat-card strong {
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .products-grid-home {
    grid-template-columns: 1fr;
  }

  .products-grid-home .product-card {
    max-width: 100%;
  }

  .shop-filter .muted,
  .shop-summary {
    display: none;
  }

  .field {
    margin-bottom: 12px;
  }

  .field input,
  .field textarea,
  .field select {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-image {
    padding: 10px;
  }

  .product-body {
    padding: 10px;
    gap: 4px;
  }

  .product-title {
    min-height: 42px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .product-location {
    display: none;
  }

  .compare-price {
    font-size: 0.7rem;
  }

  .discount-pill {
    padding: 2px 8px;
    font-size: 0.66rem;
  }

  .price {
    font-size: 0.92rem;
  }

  .meta-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 0.7rem;
    gap: 6px;
  }

  .card-actions {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 8px;
    border-top: 1px solid rgba(54, 65, 82, 0.08);
  }

  .card-actions .btn {
    border-radius: 0;
    justify-content: flex-start;
    padding: 10px 10px;
    font-size: 0.74rem;
    box-shadow: none;
    white-space: nowrap;
  }

  .card-actions form {
    display: block;
  }

  .card-actions form + .btn,
  .card-actions .btn + form .btn,
  .card-actions .btn + form,
  .card-actions form + .btn {
    border-top: 1px solid rgba(54, 65, 82, 0.08);
  }

  .product-badges {
    top: 8px;
    left: 8px;
    right: 8px;
    gap: 6px;
  }

  .product-tag {
    padding: 5px 9px;
    font-size: 0.66rem;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions form,
  .detail-actions .btn {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .cart-thumb {
    width: 72px;
    height: 72px;
  }

  .cart-item > :nth-child(3),
  .cart-item > :nth-child(4) {
    grid-column: 1 / -1;
  }

  .navbar {
    display: none;
  }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    padding: 10px 8px calc(12px + env(safe-area-inset-bottom));
    width: 100%;
    margin: 0;
    border-radius: 0;
    background: linear-gradient(109deg, var(--primary), var(--secondary));
    box-shadow: var(--shadow);
    transform: none;
  }

  .bottom-nav a {
    display: grid;
    place-items: center;
    gap: 4px;
    min-width: 0;
    color: #fff;
    font-size: 0.7rem;
    line-height: 1.15;
    padding: 4px 2px;
    text-align: center;
  }

  .bottom-nav a.active {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
  }

  .action-row,
  .actions {
    flex-direction: column;
  }

  .action-row .btn,
  .actions .btn,
  .form-stack > .btn,
  .admin-form > .btn {
    width: 100%;
  }

  .table-card,
  .content-card,
  .panel,
  .order-card {
    padding: 16px;
  }

  .table-wrap table {
    min-width: 0;
  }

  .table-wrap {
    overflow: visible;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tbody {
    display: grid;
    gap: 12px;
  }

  .table-wrap tr {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(54, 65, 82, 0.08);
    border-radius: 18px;
    background: #f8faff;
  }

  .table-wrap td {
    display: grid;
    grid-template-columns: minmax(0, 92px) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .table-wrap td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a8297;
  }

  .table-wrap td[colspan],
  .table-wrap td:last-child {
    grid-template-columns: 1fr;
  }

  .table-wrap td[colspan]::before,
  .table-wrap td:last-child::before {
    content: attr(data-label);
  }

  .table-wrap td[colspan]::before {
    content: none;
  }

  .table-wrap td:last-child .btn {
    width: 100%;
  }

  .detail-media {
    min-height: 220px;
    border-radius: 18px;
    padding: 14px;
  }

  .detail-copy h1 {
    font-size: 1.75rem;
  }

  .site-footer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .floating-toaster {
    left: 12px;
    bottom: calc(94px + env(safe-area-inset-bottom));
    width: min(300px, calc(100vw - 156px));
    gap: 10px;
    padding: 8px 12px 8px 8px;
  }

  .toaster-thumb {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    padding: 4px;
  }

  .toaster-title,
  .toaster-product {
    font-size: 0.84rem;
  }

  .toaster-verified {
    gap: 7px;
    margin-top: 5px;
    font-size: 0.7rem;
  }

  .toaster-verified i {
    font-size: 0.9rem;
  }
}

@media (max-width: 560px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-title {
    min-height: 40px;
    font-size: 0.8rem;
  }

  .price {
    font-size: 0.86rem;
  }

  .meta-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meta-line span:last-child {
    grid-column: 1 / -1;
  }

  .card-actions .btn {
    font-size: 0.72rem;
  }

  .floating-toaster {
    left: 10px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    gap: 8px;
    width: min(244px, calc(100vw - 144px));
    padding: 7px 10px 7px 7px;
    border-radius: 999px;
  }

  .toaster-thumb {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .toaster-title,
  .toaster-product {
    font-size: 0.76rem;
  }

  .toaster-verified {
    font-size: 0.64rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1180px, calc(100% - 16px));
  }

  .promo-strip,
  .whatsapp-banner,
  .member-auth-card,
  .manage-hero,
  .manage-sidebar,
  .manage-panel,
  .manage-stat-card,
  .content-card,
  .table-card,
  .order-card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .promo-strip .btn,
  .whatsapp-banner .btn,
  .manage-hero-actions .btn,
  .summary .btn {
    width: 100%;
  }

  .card-actions .btn {
    font-size: 0.68rem;
    padding: 9px 8px;
  }

  .bottom-nav {
    padding: 8px 4px calc(10px + env(safe-area-inset-bottom));
  }

  .bottom-nav a {
    font-size: 0.62rem;
    gap: 3px;
  }

  .bottom-nav a i {
    font-size: 0.95rem;
  }

  .floating-toaster {
    left: 8px;
    bottom: calc(90px + env(safe-area-inset-bottom));
    width: min(220px, calc(100vw - 128px));
    gap: 7px;
    padding: 6px 9px 6px 6px;
  }

  .toaster-thumb {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .toaster-title,
  .toaster-product {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .toaster-verified {
    margin-top: 4px;
    font-size: 0.6rem;
  }

  .live-chat-launcher {
    right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    min-height: 50px;
    padding: 0 16px;
    gap: 8px;
    font-size: 0.88rem;
  }

  .live-chat-modal {
    padding: 56px 10px 12px;
  }

  .live-chat-card {
    width: calc(100vw - 20px);
    padding: 28px 14px 18px;
  }

  .live-chat-card h3 {
    font-size: 1.6rem;
  }

  .live-chat-action {
    min-height: 50px;
    padding: 0 12px;
    font-size: 0.92rem;
    text-align: center;
  }

  .footer-title {
    font-size: 1.22rem;
  }
}

@media (max-width: 360px) {
  .products-grid {
    gap: 8px;
  }

  .product-title {
    font-size: 0.74rem;
  }

  .price {
    font-size: 0.8rem;
  }

  .bottom-nav a {
    font-size: 0.58rem;
  }

  .floating-toaster {
    left: 6px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: min(196px, calc(100vw - 120px));
  }

  .live-chat-launcher {
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .live-chat-action {
    font-size: 0.86rem;
  }
}

/* Front refresh inspired by the reference structure, without copying assets verbatim. */
.text-primary {
  color: #ff4f88;
}

.text-danger {
  color: #f05b6e;
}

.site-body {
  background:
    radial-gradient(circle at top left, rgba(255, 117, 144, 0.12), transparent 32%),
    linear-gradient(180deg, #f7f8fb 0%, #f2f3f8 46%, #f2f3f8 100%);
}

body.site-menu-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
}

.desktop-topbar {
  padding-top: 18px;
}

.desktop-topbar-grid,
.desktop-navbar,
.mobile-navbar-row {
  display: grid;
  align-items: center;
  gap: 16px;
}

.desktop-topbar-grid {
  grid-template-columns: 220px minmax(0, 1fr) 180px;
}

.desktop-topbar-grid,
.desktop-navbar,
.mobile-navbar-row {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 117, 144, 0.14);
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(80, 89, 105, 0.1);
}

.desktop-topbar-grid {
  padding: 14px 18px;
}

.desktop-brand,
.desktop-search,
.desktop-icons {
  min-width: 0;
}

.desktop-brand-link,
.mobile-brand-link {
  display: inline-flex;
  align-items: center;
}

.desktop-brand-link img,
.mobile-brand-link img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.search-top {
  width: 100%;
}

.form-header {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 48px;
  border-radius: 999px;
  background: radial-gradient(circle at 10% 90%, rgba(255, 117, 140, 0.16) 0.1%, rgba(255, 126, 179, 0.16) 90.1%);
  border: 1px solid rgba(255, 117, 144, 0.14);
}

.form-header input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
}

.form-header button {
  width: 56px;
  border: 0;
  color: #fff;
  background: linear-gradient(109.5deg, rgb(255, 117, 140) 11.2%, rgb(255, 126, 179) 91.1%);
}

.desktop-icons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.desktop-icon-link,
.mobile-navbar-link,
.mobile-menu-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 0;
  background: transparent;
  color: #ff4f88;
  cursor: pointer;
  flex: 0 0 46px;
}

.desktop-icon-link:hover,
.mobile-navbar-link:hover,
.mobile-menu-button:hover {
  background: rgba(255, 117, 144, 0.1);
}

.desktop-icon-link i,
.mobile-navbar-link i,
.mobile-menu-button i {
  font-size: 1.25rem;
}

[data-menu-open-icon][hidden],
[data-menu-close-icon][hidden] {
  display: none !important;
}

.desktop-icon-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f05b6e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.desktop-navbar-wrap {
  padding: 12px 0 10px;
}

.desktop-navbar {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px 18px;
  background: radial-gradient(circle at 10% 90%, rgba(255, 117, 140, 0.16) 0.1%, rgba(255, 126, 179, 0.16) 90.1%);
}

.desktop-nav-links,
.desktop-account-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.desktop-nav-links a,
.desktop-account-links a,
.mobile-drawer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 500;
  color: #4e5669;
}

.desktop-nav-links a.active,
.desktop-account-links a.active,
.desktop-nav-links a:hover,
.desktop-account-links a:hover,
.mobile-drawer-links a.active,
.mobile-drawer-links a:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #1f2434;
}

.mobile-navbar {
  display: none;
  padding: 14px 0 10px;
}

.mobile-navbar.is-member-dashboard {
  padding: 0;
  background: rgba(255, 117, 144, 0.18);
}

.mobile-navbar-row {
  grid-template-columns: auto 1fr auto;
  padding: 14px 16px;
}

.mobile-navbar-row.is-member-dashboard {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 56px;
  padding: 10px 16px;
}

.mobile-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0;
}

.mobile-navbar-actions.is-member-dashboard {
  justify-self: end;
}

.mobile-navbar-link-center {
  justify-self: center;
  margin-inline: auto;
}

.site-menu-overlay[hidden],
.site-mobile-drawer[hidden] {
  display: none !important;
}

.site-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(255, 244, 248, 0.72);
  backdrop-filter: blur(2px);
}

.site-mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  padding: 20px 24px 32px;
  background: linear-gradient(180deg, rgba(255, 226, 236, 0.98), rgba(255, 239, 245, 0.98));
  box-shadow: none;
  z-index: 90;
  overflow-y: auto;
}

.site-mobile-drawer-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.site-mobile-drawer-brand {
  display: inline-flex;
  align-items: center;
}

.site-mobile-drawer-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0;
}

.site-mobile-drawer-favorite {
  position: relative;
  justify-self: center;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d60d14;
  background: transparent;
}

.site-mobile-drawer-favorite i {
  font-size: 1.85rem;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  justify-self: end;
  background: transparent;
  color: #ff4f88;
  font-size: 1.2rem;
}

.mobile-search-form {
  display: none;
}

.mobile-drawer-links {
  display: grid;
  gap: 6px;
  padding-top: 4px;
}

.mobile-drawer-links a {
  min-height: 58px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: #596171;
  justify-content: flex-start;
}

.mobile-drawer-links a.active,
.mobile-drawer-links a:hover {
  background: transparent;
  color: #1d2434;
}

.mobile-drawer-links a i {
  color: var(--primary);
}

.site-main {
  padding: 14px 0 24px;
}

.manage-welcome-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: 24px;
  background: radial-gradient(circle at 10% 90%, rgba(255, 117, 140, 0.15) 0.1%, rgba(255, 126, 179, 0.15) 90.1%);
  border: 1px solid rgba(255, 117, 144, 0.1);
}

.manage-welcome-bar strong,
.manage-welcome-bar span {
  display: block;
}

.manage-welcome-bar span {
  color: var(--muted);
  font-size: 0.9rem;
}

.manage-welcome-bar a {
  color: #ff4f88;
  font-weight: 700;
}

.section-head {
  margin: 0 0 24px;
  text-align: center;
}

.section-copy {
  max-width: 640px;
  margin: 10px auto 0;
  color: var(--muted);
}

.playstore-section {
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.5), transparent 32%),
    linear-gradient(135deg, rgba(255, 199, 208, 0.95), rgba(255, 232, 236, 0.88));
}

.voucher-grid,
.proof-grid {
  display: grid;
  gap: 18px;
}

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

.voucher-card {
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 117, 140, 0.96), rgba(255, 126, 179, 0.96));
  color: #fff;
  box-shadow: 0 18px 32px rgba(240, 91, 110, 0.22);
}

.voucher-card strong,
.voucher-card span,
.voucher-card p,
.voucher-code {
  display: block;
}

.voucher-code {
  margin-bottom: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.84;
}

.voucher-card strong {
  font-size: 1.05rem;
}

.voucher-card p {
  margin: 12px 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.voucher-card span {
  opacity: 0.88;
  font-size: 0.9rem;
}

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

.proof-card {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(80, 89, 105, 0.08);
}

.proof-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.proof-card-copy {
  padding: 18px;
}

.proof-card-copy strong {
  display: block;
  margin-bottom: 8px;
}

.proof-card-copy p {
  margin: 0;
  color: var(--muted);
}

.shop-section {
  padding-top: 18px;
}

.shop-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.shop-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.shop-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
}

.shop-hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px;
}

.shop-hero-summary div {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(80, 89, 105, 0.08);
}

.shop-hero-summary span,
.shop-hero-summary strong {
  display: block;
}

.shop-hero-summary span {
  color: var(--muted);
  font-size: 0.84rem;
}

.shop-hero-summary strong {
  margin-top: 8px;
  font-size: 1.4rem;
}

.member-auth-section {
  min-height: min(780px, calc(100vh - 240px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 0 18px;
}

.member-auth-shell {
  width: min(560px, 100%);
}

.member-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.member-auth-logo img {
  max-height: 60px;
  width: auto;
}

.member-auth-card {
  padding: clamp(28px, 5vw, 40px);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(32, 42, 63, 0.1);
}

.member-auth-card h1 {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  color: #ff4f88;
}

.member-auth-card > p {
  margin: 0 0 26px;
  text-align: center;
  color: var(--muted);
}

.member-auth-form {
  display: grid;
  gap: 14px;
}

.member-auth-form .field input {
  min-height: 54px;
  border-radius: 18px;
}

.member-auth-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.member-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.member-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
}

.member-auth-divider {
  position: relative;
  margin: 28px 0 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: lowercase;
}

.member-auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(54, 65, 82, 0.12);
}

.member-auth-divider span {
  position: relative;
  padding: 0 14px;
  background: #fff;
}

.member-alt-button {
  width: 100%;
  min-height: 54px;
}

.member-auth-switch {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
}

.member-auth-switch a {
  font-weight: 700;
  color: #ff4f88;
}

.google-login-btn {
  margin-bottom: 12px;
}

.cart-voucher-box {
  margin-top: 26px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 117, 144, 0.08);
  border: 1px solid rgba(255, 117, 144, 0.12);
}

.cart-voucher-box h3 {
  margin: 0 0 14px;
}

.voucher-form {
  display: grid;
  gap: 14px;
}

.applied-voucher {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
}

.applied-voucher strong,
.applied-voucher span {
  display: block;
}

.applied-voucher span {
  margin-top: 4px;
  color: var(--muted);
}

.manage-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding-top: 8px;
}

.manage-sidebar,
.manage-profile-card,
.manage-panel,
.manage-stat-card,
.manage-hero {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(80, 89, 105, 0.08);
}

.manage-sidebar {
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 160px;
}

.manage-profile-card {
  padding: 22px;
  text-align: center;
  background: radial-gradient(circle at top right, rgba(255, 117, 140, 0.18), transparent 34%), #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 117, 144, 0.12);
}

.manage-avatar {
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(109.5deg, rgb(255, 117, 140) 11.2%, rgb(255, 126, 179) 91.1%);
}

.manage-profile-card strong,
.manage-profile-card span {
  display: block;
}

.manage-profile-card span {
  margin-top: 6px;
  color: var(--muted);
}

.manage-level-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 16px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 117, 144, 0.12);
  color: #ff4f88;
  font-weight: 700;
}

.manage-nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.manage-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(54, 65, 82, 0.08);
  color: #4e5669;
  font-weight: 600;
}

.manage-nav a.active,
.manage-nav a:hover {
  background: radial-gradient(circle at 10% 90%, rgba(255, 117, 140, 0.16) 0.1%, rgba(255, 126, 179, 0.16) 90.1%);
  color: #1f2434;
}

.manage-content {
  display: grid;
  gap: 24px;
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.order-progress-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(80, 89, 105, 0.08);
  text-align: center;
}

.order-progress-item::after {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(100% - 8px);
  width: 16px;
  height: 2px;
  background: rgba(54, 65, 82, 0.12);
}

.order-progress-item:last-child::after {
  display: none;
}

.order-progress-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d94a8;
  background: #f2f4f8;
}

.order-progress-label {
  font-weight: 700;
  color: #5a6278;
  font-size: 0.92rem;
}

.order-progress-item.active .order-progress-icon {
  color: #fff;
  background: linear-gradient(109.5deg, rgb(255, 117, 140) 11.2%, rgb(255, 126, 179) 91.1%);
}

.order-progress-item.active .order-progress-label {
  color: #1f2434;
}

.product-tag.hot {
  background: linear-gradient(135deg, #f05b6e, #ff8f4b);
}

.manage-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 117, 140, 0.18), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fff9fb 100%);
}

.manage-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.manage-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.manage-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.manage-stats-grid,
.manage-grid {
  display: grid;
  gap: 18px;
}

.manage-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.manage-stat-card {
  padding: 22px;
}

.manage-stat-card span,
.manage-stat-card strong,
.manage-stat-card small {
  display: block;
}

.manage-stat-card span {
  color: var(--muted);
}

.manage-stat-card strong {
  margin-top: 12px;
  font-size: 1.65rem;
}

.manage-stat-card small {
  margin-top: 10px;
  color: #7d8499;
}

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

.manage-panel {
  padding: 24px;
}

.manage-panel h2 {
  margin: 0 0 18px;
}

.manage-order-list {
  display: grid;
  gap: 12px;
}

.manage-order-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(54, 65, 82, 0.08);
  border-radius: 18px;
}

.manage-order-item strong,
.manage-order-item span {
  display: block;
}

.manage-order-item span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.manage-empty-state {
  padding: 18px;
  border-radius: 18px;
  background: rgba(242, 243, 248, 0.9);
  color: var(--muted);
}

.member-page-shell {
  display: grid;
  gap: 18px;
  padding: 6px 0 24px;
}

.member-page-head {
  display: grid;
  gap: 14px;
}

.member-page-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #ff4f7f;
  font-weight: 800;
}

.member-panel-tabs,
.member-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-panel-tab,
.member-status-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 6px;
  background: #fff;
  color: #2b2e36;
  border: 1px solid rgba(61, 68, 85, 0.08);
  box-shadow: 0 8px 16px rgba(77, 88, 109, 0.06);
  font-size: 0.82rem;
  font-weight: 600;
}

.member-panel-tab.active,
.member-status-tab.active {
  color: #fff;
  background: linear-gradient(125deg, #ff8cb0, #ff6e9d);
}

.member-panel-tab-danger {
  color: #fff;
  background: linear-gradient(125deg, #f44336, #db0f13);
}

.member-surface-card,
.member-form-card,
.member-table-card,
.member-empty-state-large,
.member-balance-card,
.member-record-section,
.member-order-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(80, 89, 105, 0.1);
}

.member-surface-card {
  padding: 22px 20px;
}

.member-balance-card {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.member-balance-greeting,
.member-affiliate-box span,
.member-balance-caption,
.member-record-item span,
.member-order-card span {
  color: #2d3141;
}

.member-balance-greeting {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.member-balance-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #ff4f7f;
  font-weight: 800;
  text-transform: uppercase;
}

.member-level-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(125deg, #1ba643, #14d055);
}

.member-affiliate-box {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: #fff8fb;
  border: 1px solid rgba(255, 117, 144, 0.16);
}

.member-affiliate-box > span {
  font-size: 0.84rem;
  font-weight: 600;
  color: #8b4962;
}

.member-affiliate-box > strong {
  font-size: 1rem;
  color: #222733;
}

.member-affiliate-box > a {
  font-size: 0.96rem;
  font-weight: 700;
  color: #314964;
  word-break: break-word;
}

.member-affiliate-box > small {
  color: #737b8f;
  font-size: 0.78rem;
  line-height: 1.5;
}

.affiliate-share-panel {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), var(--accent));
  border: 1px solid rgba(54, 65, 82, 0.08);
  box-shadow: 0 14px 28px rgba(80, 89, 105, 0.08);
}

.member-affiliate-box.affiliate-share-panel {
  margin-top: 20px;
  padding: 18px;
}

.affiliate-share-head {
  display: grid;
  gap: 6px;
}

.affiliate-share-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.affiliate-share-head strong {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text);
}

.affiliate-share-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.affiliate-share-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.affiliate-share-meta {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(54, 65, 82, 0.08);
}

.affiliate-share-meta span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c8397;
}

.affiliate-share-meta strong {
  font-size: 1rem;
  color: var(--text);
}

.affiliate-share-meta a {
  color: var(--primary);
  font-weight: 700;
  word-break: break-word;
}

.affiliate-share-meta-link {
  grid-column: 1 / -1;
}

.affiliate-share-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.affiliate-share-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border-radius: 14px;
  font-size: 0.9rem;
  text-decoration: none;
}

.affiliate-share-actions .btn.btn-primary,
.affiliate-share-actions .btn.btn-success {
  color: #fff;
}

.affiliate-share-actions .btn.btn-light {
  color: var(--text);
}

.member-affiliate-box .affiliate-share-actions a,
.member-affiliate-box .affiliate-share-actions button,
.affiliate-share-panel .affiliate-share-actions a,
.affiliate-share-panel .affiliate-share-actions button {
  font-weight: 700;
}

.affiliate-share-feedback {
  display: block;
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(22, 199, 154, 0.12);
  color: #0f6a4a;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.5;
}

.affiliate-share-feedback.is-error {
  background: rgba(240, 91, 110, 0.12);
  color: #a73d50;
}

.affiliate-share-panel-empty {
  margin-top: 28px;
}

.affiliate-share-empty {
  display: grid;
  gap: 12px;
}

.member-balance-side {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(61, 68, 85, 0.08);
  background: #fffdf6;
}

.member-balance-caption {
  font-size: 0.94rem;
  font-weight: 700;
}

.member-balance-side strong {
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: #129d32;
  font-weight: 800;
  line-height: 1;
}

.member-balance-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.member-balance-btn {
  width: 100%;
  min-width: 0;
}

.member-form-card,
.member-record-section,
.member-section-card {
  padding: 0;
}

.member-record-section,
.member-section-card {
  display: grid;
  gap: 14px;
}

.member-form-card h2,
.member-record-section h2,
.member-section-card h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: #ff4f7f;
  font-weight: 800;
}

.member-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.member-inline-form {
  display: grid;
  gap: 16px;
}

.member-inline-surface,
.member-section-card > .member-inline-form {
  margin-bottom: 0;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(61, 68, 85, 0.06);
}

.member-inline-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-inline-form-grid .field-span {
  grid-column: 1 / -1;
}

.member-inline-form-grid .member-checkline,
.member-inline-form-grid .member-inline-actions {
  grid-column: 1 / -1;
}

.member-checkline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #566178;
  font-weight: 600;
}

.member-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.member-add-btn {
  width: auto;
  min-width: 0;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.86rem;
}

.member-form-submit {
  margin-top: 6px;
}

.member-record-list,
.member-orders-list {
  display: grid;
  gap: 16px;
}

.member-record-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(61, 68, 85, 0.08);
}

.member-record-item strong,
.member-record-item span {
  display: block;
}

.member-record-item strong {
  font-size: 1.02rem;
}

.member-record-item span {
  margin-top: 6px;
  color: #6f768b;
}

.member-record-meta {
  text-align: right;
}

.member-record-meta.is-success strong {
  color: #0faa56;
}

.member-record-meta.is-danger strong {
  color: #da1b1f;
}

.member-empty-card {
  min-height: 160px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(61, 68, 85, 0.08);
  color: #252933;
  background: #fff;
}

.member-empty-card-compact {
  min-height: 120px;
  padding: 18px;
}

.member-empty-card i,
.member-empty-state-large i {
  font-size: 2.8rem;
  color: #b50a0a;
}

.member-empty-card strong,
.member-empty-state-large strong {
  font-size: clamp(0.98rem, 1.5vw, 1.2rem);
  font-weight: 700;
}

.member-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-table-actions form {
  margin: 0;
}

.member-table-actions .btn {
  min-width: 110px;
}

.member-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 117, 144, 0.16);
  color: #ff4f7f;
  font-size: 0.74rem;
  font-weight: 700;
}

.member-table-card-compact {
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
}

.member-table-card-compact .table-wrap {
  overflow-x: auto;
}

.member-table-card-compact table {
  min-width: 680px;
}

.member-cell-note {
  display: block;
  margin-top: 4px;
  color: #737b8f;
  font-size: 0.82rem;
}

.member-inline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.member-inline-pill.is-success {
  color: #13743d;
  background: rgba(26, 194, 87, 0.16);
}

.member-inline-pill.is-danger {
  color: #b1191d;
  background: rgba(255, 97, 97, 0.16);
}

.member-inline-pill.is-warning {
  color: #9d5e01;
  background: rgba(255, 194, 73, 0.18);
}

.member-inline-pill.is-info {
  color: #2163d4;
  background: rgba(52, 130, 255, 0.14);
}

.member-table-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
}

.member-form-hint {
  margin: -6px 0 2px;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.5;
}

.member-form-link {
  color: #2163d4;
  font-weight: 600;
}

.member-table-action-stack {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.member-topup-destination {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border: 1px solid rgba(33, 99, 212, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(240, 246, 255, 0.92), rgba(248, 250, 255, 0.96));
}

.member-topup-destination strong {
  color: #1f345c;
  font-size: 0.92rem;
}

.member-topup-destination span {
  color: #52607a;
  font-size: 0.85rem;
  line-height: 1.5;
}

.member-proof-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(61, 68, 85, 0.09);
  border-radius: 14px;
  background: #fafcff;
}

.member-proof-thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(61, 68, 85, 0.08);
  background: #fff;
}

.member-proof-copy {
  display: grid;
  gap: 4px;
}

.member-proof-copy strong {
  color: #344054;
  font-size: 0.9rem;
}

.member-amount-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.member-amount-pill {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 12px;
  background: #fff8dd;
  color: #8b6511;
  font-weight: 700;
  cursor: pointer;
}

.member-amount-pill:hover {
  border-color: rgba(255, 163, 0, 0.5);
}

.member-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.member-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 31, 41, 0.55);
}

.member-modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 28px));
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(16, 24, 40, 0.28);
}

.member-modal-card h2 {
  margin: 0 28px 16px 0;
  font-size: 1.18rem;
  color: #555d70;
}

.member-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(61, 68, 85, 0.1);
  color: #7a8297;
  background: #fff;
}

.member-modal-submit {
  width: 100%;
  min-height: 42px;
  border-radius: 6px;
}

.member-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.member-empty-state-large {
  min-height: 240px;
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 28px;
  text-align: center;
}

.member-order-card {
  padding: 24px 26px;
}

.member-order-top,
.member-order-body,
.member-order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.member-order-top {
  margin-bottom: 18px;
}

.member-order-top-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.member-order-payment-method {
  font-size: 0.82rem;
  font-weight: 700;
  color: #7a8297;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-order-body {
  padding: 18px 0;
  border-top: 1px solid rgba(61, 68, 85, 0.08);
  border-bottom: 1px solid rgba(61, 68, 85, 0.08);
}

.member-order-body-rich {
  align-items: flex-start;
}

.member-order-copy {
  display: grid;
  gap: 8px;
}

.member-order-top strong,
.member-order-body strong,
.member-order-total strong {
  display: block;
  color: #222733;
}

.member-order-top span,
.member-order-body span,
.member-order-total span {
  display: block;
  margin-top: 6px;
  color: #6f768b;
}

.member-order-total {
  text-align: right;
}

.member-order-total strong {
  color: #119c31;
  font-size: 1.15rem;
}

.member-order-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-order-note {
  margin: 0;
  color: #6f768b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.member-order-products {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8faff;
  border: 1px solid rgba(61, 68, 85, 0.08);
}

.member-order-products summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #354054;
}

.member-order-products summary::-webkit-details-marker {
  display: none;
}

.member-order-products summary i {
  transition: transform 0.2s ease;
}

.member-order-products[open] summary i {
  transform: rotate(180deg);
}

.member-order-products-body {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(61, 68, 85, 0.08);
}

.member-order-product-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.member-order-product-line strong,
.member-order-product-line span {
  display: block;
}

.member-order-product-line span {
  margin-top: 4px;
  color: #7a8297;
  font-size: 0.85rem;
}

.member-order-actions {
  margin-top: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.member-order-actions form {
  margin: 0;
}

.member-order-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.member-order-pill.success {
  color: #13743d;
  background: rgba(26, 194, 87, 0.16);
}

.member-order-pill.info {
  color: #2163d4;
  background: rgba(52, 130, 255, 0.14);
}

.member-order-pill.warning {
  color: #9d5e01;
  background: rgba(255, 194, 73, 0.18);
}

.member-order-pill.danger {
  color: #b1191d;
  background: rgba(255, 97, 97, 0.16);
}

.bottom-nav.is-member-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bottom-nav a {
  position: relative;
}

.bottom-nav-badge {
  position: absolute;
  top: 3px;
  right: 12px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: #b50a0a;
}

.bottom-nav {
  background: linear-gradient(109.5deg, rgba(252, 66, 97, 1) 11.2%, rgb(255, 51, 135) 91.1%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(244, 66, 111, 0.28);
}

.bottom-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.bottom-nav a.active {
  color: #fff;
}

@media (min-width: 961px) {
  .site-mobile-drawer,
  .site-menu-overlay,
  .mobile-navbar {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .desktop-topbar,
  .desktop-navbar-wrap {
    display: none;
  }

  .mobile-navbar {
    display: block;
    padding: 0;
    background: rgba(255, 229, 237, 0.96);
    border-bottom: 1px solid rgba(255, 117, 144, 0.14);
  }

  .mobile-navbar-row {
    grid-template-columns: auto 1fr auto;
    padding: 10px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mobile-brand-link img {
    height: 26px;
  }

  .mobile-navbar-link,
  .mobile-menu-button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 0;
    background: transparent;
  }

  .mobile-navbar-link .desktop-icon-badge {
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 0.62rem;
  }

  .mobile-navbar-link-center {
    justify-self: center;
  }

  .site-menu-overlay {
    display: none !important;
  }

  .site-mobile-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 56px);
    padding: 8px 20px 18px;
    border-radius: 0 0 26px 26px;
    background: rgba(255, 236, 242, 0.98);
    box-shadow: 0 18px 30px rgba(80, 89, 105, 0.12);
    overflow-y: auto;
  }

  .site-mobile-drawer-head,
  .mobile-search-form {
    display: none;
  }

  .mobile-drawer-links {
    gap: 0;
    padding-top: 4px;
  }

  .mobile-drawer-links a {
    min-height: 58px;
    padding: 0 6px;
    border-radius: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: #5b6374;
    background: transparent;
  }

  .mobile-drawer-links a.active,
  .mobile-drawer-links a:hover {
    background: transparent;
    color: #1f2434;
  }

  .manage-shell {
    grid-template-columns: 1fr;
  }

  .member-balance-card,
  .member-settings-grid {
    grid-template-columns: 1fr;
  }

  .member-order-top,
  .member-order-body {
    align-items: flex-start;
    flex-direction: column;
  }

  .manage-sidebar {
    position: static;
    top: auto;
  }

  .manage-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manage-grid {
    grid-template-columns: 1fr;
  }

  .manage-hero,
  .shop-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .site-main {
    padding-top: 8px;
  }
}

@media (max-width: 720px) {
  .member-auth-card {
    padding: 26px 20px;
    border-radius: 26px;
  }

  .member-page-shell {
    gap: 16px;
    padding-top: 4px;
  }

  .member-page-title {
    font-size: 1.58rem;
  }

  .member-panel-tabs,
  .member-status-tabs {
    gap: 6px;
  }

  .member-panel-tab,
  .member-status-tab {
    padding: 0 10px;
    min-height: 32px;
    font-size: 0.74rem;
  }

  .member-section-head {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .member-add-btn {
    width: auto;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.82rem;
    align-self: flex-start;
  }

  .member-balance-card,
  .member-form-card,
  .member-record-section,
  .member-section-card,
  .member-order-card {
    padding: 0;
    border-radius: 18px;
  }

  .member-surface-card,
  .member-form-card.member-surface-card {
    padding: 18px 16px;
  }

  .member-modal-layer {
    padding: 12px;
  }

  .member-balance-actions,
  .member-inline-actions,
  .member-order-actions,
  .member-table-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .member-balance-btn,
  .member-inline-actions .btn,
  .member-order-actions .btn,
  .member-table-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .member-record-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-record-meta {
    text-align: left;
  }

  .member-order-top-meta {
    justify-items: start;
  }

  .member-order-product-line {
    flex-direction: column;
  }

  .member-inline-form-grid,
  .member-settings-grid {
    grid-template-columns: 1fr;
  }

  .member-amount-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-empty-card {
    min-height: 140px;
  }

  .affiliate-share-panel,
  .member-affiliate-box.affiliate-share-panel {
    padding: 16px;
    border-radius: 18px;
  }

  .affiliate-share-summary,
  .affiliate-share-actions {
    grid-template-columns: 1fr;
  }

  .manage-stats-grid,
  .shop-hero-summary {
    grid-template-columns: 1fr;
  }

  .voucher-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .order-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manage-order-item {
    flex-direction: column;
  }

  .member-table-card-compact table {
    min-width: 0;
  }

  .manage-hero-actions .btn {
    width: 100%;
  }

  .site-mobile-drawer {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }

  .applied-voucher {
    flex-direction: column;
    align-items: stretch;
  }

  .order-progress {
    grid-template-columns: 1fr;
  }

  .order-progress-item::after {
    display: none;
  }
}

.site-footer-ribbon {
  height: 72px;
  margin-top: 46px;
  background:
    linear-gradient(180deg, rgba(242, 243, 248, 0) 0%, rgba(249, 194, 205, 0.86) 100%);
}

.site-footer {
  margin-top: 0;
  padding: 0 0 30px;
  background: #f8bfca;
}

.site-footer .container {
  padding-top: 46px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.88fr) minmax(0, 1fr) minmax(0, 1.14fr);
  gap: 34px 40px;
  align-items: start;
}

.footer-title {
  margin: 0 0 30px;
  font-size: clamp(1.5rem, 1.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0;
  color: #212735;
}

.footer-contact-copy p {
  margin: 0 0 28px;
  color: #212735;
  font-size: 1rem;
  line-height: 1.55;
}

.footer-contact-table {
  width: 100%;
  margin: 0 0 30px;
  border-collapse: collapse;
}

.footer-contact-table td {
  padding: 0 0 8px;
  vertical-align: top;
  color: #212735;
  font-size: 1rem;
  line-height: 1.42;
}

.footer-contact-table td:first-child {
  width: 32px;
  padding-right: 10px;
  color: #212735;
}

.footer-contact-table a {
  color: #212735;
}

.footer-actions {
  margin-bottom: 28px;
}

.footer-actions .btn {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(18, 160, 74, 0.18);
}

.footer-note {
  max-width: 280px;
  margin: 0 0 28px;
  color: #212735;
  font-size: 1rem;
  line-height: 1.55;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
}

.footer-social a:nth-child(1) {
  color: #2d86d0;
}

.footer-social a:nth-child(2) {
  color: #df2b7a;
}

.footer-social a:nth-child(3) {
  color: #2d86d0;
}

.footer-link-list {
  gap: 16px;
}

.footer-link-list a {
  color: #0c5689;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.footer-link-list a:hover {
  color: #073a5d;
}

.footer-payment-banner {
  max-width: 460px;
}

.footer-payment-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-courier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
  margin-top: 54px;
}

.footer-courier-card {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-courier-card img {
  max-width: 100%;
  max-height: 28px;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 0;
  text-align: center;
  color: rgba(33, 39, 53, 0.78);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .footer-payment-panel {
    grid-column: span 2;
  }

  .footer-payment-banner {
    max-width: 420px;
  }

  .footer-courier-grid {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .site-footer-ribbon {
    height: 44px;
    margin-top: 34px;
  }

  .site-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .site-footer .container {
    padding-top: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-payment-panel {
    grid-column: auto;
  }

  .footer-title {
    margin-bottom: 22px;
    font-size: 1.38rem;
  }

  .footer-contact-copy p,
  .footer-contact-table td,
  .footer-note,
  .footer-link-list a {
    font-size: 0.96rem;
  }

  .footer-actions {
    margin-bottom: 22px;
  }

  .footer-actions .btn {
    width: 100%;
  }

  .footer-social a {
    font-size: 1.9rem;
  }

  .footer-payment-banner,
  .footer-courier-grid {
    max-width: 100%;
  }

  .footer-courier-grid {
    gap: 12px 10px;
    margin-top: 28px;
  }

  .footer-courier-card {
    min-height: 36px;
  }

  .footer-courier-card img {
    max-height: 24px;
  }

  .manage-welcome-bar {
    flex-wrap: wrap;
  }

  .manage-welcome-bar > * {
    min-width: 0;
  }
}

body.live-chat-open {
  overflow: hidden;
}

body.is-member-dashboard-body .live-chat-launcher {
  display: none;
}

.live-chat-launcher {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 92;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #35e36f, #18c986);
  box-shadow:
    0 0 0 4px rgba(78, 240, 146, 0.15),
    0 12px 24px rgba(13, 157, 90, 0.24);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.live-chat-launcher i {
  font-size: 1.1rem;
}

.live-chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(19, 20, 30, 0.68);
}

.live-chat-overlay[hidden],
.live-chat-modal[hidden],
.live-chat-form[hidden],
.live-chat-feedback[hidden] {
  display: none;
}

.live-chat-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 20px;
}

.live-chat-card {
  position: relative;
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 34px 30px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(20, 25, 39, 0.22);
}

.live-chat-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 39, 53, 0.06);
  color: #525a6d;
  cursor: pointer;
}

.live-chat-card h3 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #ff4f88;
}

.live-chat-actions {
  display: grid;
  gap: 14px;
}

.live-chat-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(38, 51, 77, 0.15);
}

.live-chat-action i {
  font-size: 1.2rem;
}

.live-chat-action.is-whatsapp {
  background: linear-gradient(180deg, #08c82a 0%, #08b92c 100%);
}

.live-chat-action.is-live {
  background: linear-gradient(180deg, #ff7da7 0%, #f56d9c 100%);
}

.live-chat-action.is-active {
  box-shadow: 0 0 0 3px rgba(245, 109, 156, 0.2), 0 8px 18px rgba(38, 51, 77, 0.15);
}

.live-chat-form {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(54, 65, 82, 0.1);
}

.live-chat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.live-chat-form .field {
  margin-bottom: 14px;
}

.live-chat-form textarea {
  min-height: 118px;
}

.live-chat-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.live-chat-form-actions .btn {
  flex: 1 1 0;
}

.live-chat-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(22, 199, 154, 0.12);
  color: #0f6a4a;
  font-size: 0.95rem;
  font-weight: 600;
}

.live-chat-feedback.is-error {
  background: rgba(240, 91, 110, 0.12);
  color: #a73d50;
}

@media (max-width: 720px) {
  .live-chat-launcher {
    right: 16px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    min-height: 56px;
    padding: 0 20px;
    font-size: 0.96rem;
  }

  .live-chat-modal {
    padding: 16px 12px;
  }

  .live-chat-card {
    width: min(420px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 28px 16px 18px;
    border-radius: 16px;
  }

  .live-chat-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
  }

  .live-chat-action {
    min-height: 50px;
    font-size: 0.94rem;
  }

  .live-chat-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .live-chat-form-actions {
    flex-direction: column;
  }
}

/* Final mobile storefront overrides to keep the top nav compact and the menu dropdown anchored. */
@media (max-width: 960px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    overflow: visible;
    backdrop-filter: none;
    background: rgba(255, 235, 242, 0.98);
  }

  .mobile-navbar,
  .mobile-navbar.is-member-dashboard {
    display: block;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 117, 144, 0.14);
  }

  .mobile-navbar-row,
  .mobile-navbar-row.is-member-dashboard {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 8px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mobile-navbar-actions,
  .mobile-navbar-actions.is-member-dashboard {
    justify-self: end;
    gap: 0;
  }

  .mobile-brand-link img {
    height: 22px;
    width: auto;
  }

  .mobile-navbar-link,
  .mobile-menu-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-navbar-link i,
  .mobile-menu-button i,
  .site-mobile-drawer-favorite i {
    font-size: 1.6rem;
  }

  .mobile-navbar-link-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    margin-inline: auto;
  }

  .site-menu-overlay {
    display: none !important;
  }

  .site-mobile-drawer {
    position: absolute;
    top: calc(100% + 1px);
    bottom: auto !important;
    left: 0;
    right: 0;
    inset-inline: 0;
    width: 100%;
    max-width: none;
    height: auto !important;
    max-height: calc(100vh - 54px);
    padding: 8px 20px 20px;
    background: rgba(255, 238, 244, 0.98);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 18px 28px rgba(80, 89, 105, 0.12);
    overflow-y: auto;
  }

  .site-mobile-drawer-head,
  .mobile-search-form {
    display: none !important;
  }

  .mobile-drawer-links {
    display: grid;
    gap: 0;
    padding-top: 4px;
  }

  .mobile-drawer-links a {
    min-height: 56px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #586173;
    background: transparent;
    justify-content: flex-start;
  }

  .mobile-drawer-links a.active,
  .mobile-drawer-links a:hover {
    background: transparent;
    color: #1f2434;
  }
}

@media (max-width: 720px) {
  .member-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-add-btn {
    align-self: flex-start;
    width: fit-content !important;
    min-width: 0 !important;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

/* Final polish for mobile storefront/menu/member actions. */
@media (max-width: 960px) {
  .mobile-navbar-row,
  .mobile-navbar-row.is-member-dashboard {
    min-height: 58px;
    padding: 10px 16px;
  }

  .mobile-brand-link {
    display: inline-flex;
    align-items: center;
  }

  .mobile-brand-link img {
    width: auto;
    max-width: 74px;
    height: 24px;
    object-fit: contain;
  }

  .mobile-navbar-link,
  .mobile-menu-button,
  .mobile-navbar-link:hover,
  .mobile-menu-button:hover,
  body.site-menu-open .mobile-navbar-link,
  body.site-menu-open .mobile-menu-button {
    background: transparent !important;
    box-shadow: none !important;
  }

  .site-mobile-drawer {
    top: calc(100% + 1px) !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: min(calc(100dvh - 58px), 480px) !important;
    padding: 12px 22px 20px !important;
    background: linear-gradient(180deg, #ffe8ef 0%, #ffeff4 100%) !important;
    border-top: 1px solid rgba(255, 117, 144, 0.14) !important;
    border-radius: 0 0 28px 28px !important;
    box-shadow: 0 18px 30px rgba(80, 89, 105, 0.14) !important;
    overflow-y: auto !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
  }

  .mobile-drawer-links {
    gap: 0;
    padding-top: 2px;
  }

  .mobile-drawer-links a {
    min-height: 54px;
    padding: 0 10px;
    font-size: 1.04rem;
    font-weight: 600;
    color: #576174;
  }

  .mobile-drawer-links a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.7);
  }

  .mobile-drawer-links a.active,
  .mobile-drawer-links a:hover {
    color: #1f2434;
    background: transparent;
  }

  body.site-menu-open .floating-toaster,
  body.site-menu-open .live-chat-launcher,
  body.site-menu-open .bottom-nav {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 720px) {
  .member-add-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.86rem;
  }
}

.lookup-page-section {
  padding-top: 18px;
}

.lookup-page-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.lookup-page-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.lookup-page-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 117, 144, 0.14);
  color: #8b4962;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lookup-page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: #ff4f7f;
  font-weight: 800;
}

.lookup-page-head p {
  margin: 0;
  color: #6f768b;
  line-height: 1.7;
}

.lookup-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

.lookup-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(80, 89, 105, 0.1);
}

.lookup-panel-primary {
  background: linear-gradient(180deg, #fff 0%, #fff8fb 100%);
}

.lookup-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lookup-panel-head h2,
.lookup-order-head h2 {
  margin: 0 0 6px;
  color: #222733;
}

.lookup-panel-head h2 {
  font-size: 1.3rem;
}

.lookup-panel-head p,
.lookup-order-head p {
  margin: 0;
  color: #6f768b;
  line-height: 1.6;
}

.lookup-form {
  display: grid;
  gap: 16px;
}

.lookup-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lookup-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(61, 68, 85, 0.08);
}

.lookup-alert i {
  margin-top: 2px;
  font-size: 1.15rem;
}

.lookup-alert strong {
  display: block;
  margin-bottom: 4px;
  color: #222733;
}

.lookup-alert p {
  margin: 0;
  color: #6f768b;
}

.lookup-alert-danger {
  background: rgba(255, 97, 97, 0.12);
  border-color: rgba(255, 97, 97, 0.22);
}

.lookup-alert-danger i {
  color: #ba191d;
}

.lookup-alert-info {
  background: rgba(52, 130, 255, 0.1);
  border-color: rgba(52, 130, 255, 0.18);
}

.lookup-alert-info i {
  color: #2163d4;
}

.lookup-helper-list {
  display: grid;
  gap: 12px;
}

.lookup-helper-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(61, 68, 85, 0.08);
}

.lookup-helper-item strong {
  display: block;
  margin-bottom: 6px;
  color: #222733;
}

.lookup-helper-item p {
  margin: 0;
  color: #6f768b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.lookup-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lookup-order-head h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.lookup-order-note {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8faff;
  border: 1px solid rgba(61, 68, 85, 0.08);
  color: #566178;
  line-height: 1.6;
}

.lookup-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lookup-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lookup-fact-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff8dd;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.lookup-fact-card span,
.lookup-fact-card strong {
  display: block;
}

.lookup-fact-card span {
  color: #8b6511;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lookup-fact-card strong {
  margin-top: 8px;
  color: #222733;
  font-size: 1.05rem;
}

.lookup-summary-card,
.lookup-items-card,
.lookup-downloads-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(61, 68, 85, 0.08);
}

.lookup-summary-card {
  background: #fff;
}

.lookup-items-card,
.lookup-downloads-card {
  display: grid;
  gap: 16px;
  background: #fbfcff;
}

.lookup-panel-subhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lookup-panel-subhead h3 {
  margin: 0;
  color: #222733;
  font-size: 1.04rem;
}

.lookup-panel-subhead p {
  margin: 0;
  color: #6f768b;
  font-size: 0.88rem;
}

.lookup-items-list,
.lookup-download-grid {
  display: grid;
  gap: 12px;
}

.lookup-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(61, 68, 85, 0.08);
}

.lookup-item-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.lookup-item-copy strong,
.lookup-item-copy span {
  display: block;
}

.lookup-item-copy strong {
  color: #222733;
}

.lookup-item-copy span {
  margin-top: 4px;
  color: #7a8297;
  font-size: 0.88rem;
}

.lookup-item-total {
  color: #119c31;
  text-align: right;
}

.lookup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lookup-actions .btn,
.lookup-download-grid .btn {
  min-width: 180px;
}

.lookup-submit-button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

body.is-public-order-page .live-chat-launcher {
  display: none;
}

.lookup-empty-state {
  min-height: 320px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  border-radius: 22px;
  background: #fff9fb;
  border: 1px dashed rgba(255, 117, 144, 0.28);
}

.lookup-empty-state i {
  font-size: 2.8rem;
  color: #b50a0a;
}

.lookup-empty-state strong {
  color: #222733;
  font-size: 1.05rem;
}

.lookup-empty-state p {
  max-width: 420px;
  margin: 0;
  color: #6f768b;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .lookup-page-grid {
    grid-template-columns: 1fr;
  }

  .lookup-actions .btn,
  .lookup-download-grid .btn {
    flex: 1 1 220px;
  }
}

@media (max-width: 720px) {
  .lookup-page-section {
    padding-top: 10px;
  }

  .lookup-page-section .order-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
  }

  .lookup-page-section .order-progress::-webkit-scrollbar {
    display: none;
  }

  .lookup-page-section .order-progress-item {
    min-height: 112px;
    padding: 16px 12px;
  }

  .lookup-page-section .order-progress-item::after {
    display: none;
  }

  .lookup-panel {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .lookup-panel-head,
  .lookup-order-head,
  .lookup-panel-subhead,
  .lookup-item-row {
    flex-direction: column;
  }

  .lookup-order-head .member-order-pill {
    align-self: flex-start;
  }

  .lookup-facts-grid {
    grid-template-columns: 1fr;
  }

  .lookup-form-row,
  .lookup-actions {
    flex-direction: column;
  }

  .lookup-form-row .btn,
  .lookup-actions .btn,
  .lookup-download-grid .btn {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .lookup-empty-state {
    min-height: 240px;
    padding: 24px 20px;
  }
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.checkout-main,
.checkout-sidebar {
  min-width: 0;
}

.checkout-card {
  padding: 24px;
}

.checkout-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.checkout-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 117, 144, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-card-head h2,
.checkout-card-head h3 {
  margin: 10px 0 8px;
}

.checkout-card-head p {
  margin: 0;
  color: #6f768b;
  line-height: 1.65;
}

.checkout-block + .checkout-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(61, 68, 85, 0.08);
}

.checkout-block-head {
  margin-bottom: 14px;
}

.checkout-block-head h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.checkout-block-head span {
  color: #6f768b;
  font-size: 14px;
  line-height: 1.6;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-grid .field-span-2 {
  grid-column: 1 / -1;
}

.checkout-saved-box,
.checkout-info-box,
.checkout-balance-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(61, 68, 85, 0.08);
  background: rgba(248, 250, 252, 0.88);
}

.checkout-saved-box strong,
.checkout-info-box strong,
.checkout-balance-card strong {
  color: #202537;
}

.checkout-saved-box p,
.checkout-info-box p,
.checkout-balance-card p,
.checkout-saved-box span,
.checkout-balance-card span {
  margin: 0;
  color: #6f768b;
  line-height: 1.65;
}

.checkout-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #202537;
  font-weight: 600;
}

.checkout-checkbox input {
  width: 18px;
  height: 18px;
}

.checkout-drop-fields {
  margin-top: 14px;
}

.checkout-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-payment-option {
  position: relative;
  display: block;
  border: 1px solid rgba(61, 68, 85, 0.08);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.checkout-payment-option:hover {
  border-color: rgba(255, 117, 144, 0.25);
  transform: translateY(-1px);
}

.checkout-payment-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.checkout-payment-option input:checked + .checkout-payment-copy {
  border-color: rgba(255, 117, 144, 0.28);
  background: linear-gradient(135deg, rgba(255, 117, 144, 0.08), rgba(255, 255, 255, 0.98));
}

.checkout-payment-copy {
  display: grid;
  gap: 6px;
  min-height: 120px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 18px;
}

.checkout-payment-copy strong {
  color: #202537;
}

.checkout-payment-copy small,
.checkout-payment-copy em {
  color: #6f768b;
  font-style: normal;
  line-height: 1.6;
}

.checkout-submit-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}

.checkout-line-items {
  display: grid;
  gap: 14px;
}

.checkout-line-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(61, 68, 85, 0.08);
}

.checkout-line-item:last-child {
  border-bottom: 0;
}

.checkout-line-thumb {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.95);
}

.checkout-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-line-copy {
  display: grid;
  gap: 4px;
}

.checkout-line-copy strong,
.checkout-line-total {
  color: #202537;
}

.checkout-line-copy span,
.checkout-line-copy em {
  color: #6f768b;
  line-height: 1.5;
  font-style: normal;
}

.checkout-summary {
  margin-top: 10px;
}

.checkout-summary .summary-line.is-hidden {
  display: none;
}

@media (max-width: 960px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    order: -1;
  }
}

@media (max-width: 720px) {
  .checkout-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .checkout-grid,
  .checkout-payment-grid {
    grid-template-columns: 1fr;
  }

  .checkout-line-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .checkout-line-total {
    grid-column: 2 / 3;
  }

  .checkout-submit-row .btn {
    width: 100%;
  }
}

/* Theme completion overrides for storefront gradient/flat modes. */
body.site-body {
  --theme-surface: #ffffff;
  --theme-surface-soft: linear-gradient(135deg, var(--accent), rgba(255, 255, 255, 0.96));
}

body.site-body :is(button, input, select, textarea, a):focus-visible {
  outline-color: var(--primary);
  outline-color: color-mix(in srgb, var(--primary) 36%, white);
}

body.site-body .text-primary,
body.site-body .desktop-icon-link,
body.site-body .mobile-navbar-link,
body.site-body .mobile-menu-button,
body.site-body .site-mobile-drawer-favorite,
body.site-body .mobile-menu-close,
body.site-body .manage-welcome-bar a,
body.site-body .footer-link-list a,
body.site-body .live-chat-card h3 {
  color: var(--primary);
}

body.site-body .desktop-icon-link:hover,
body.site-body .mobile-navbar-link:hover,
body.site-body .mobile-menu-button:hover,
body.site-body .desktop-nav-links a.active,
body.site-body .desktop-account-links a.active,
body.site-body .desktop-nav-links a:hover,
body.site-body .desktop-account-links a:hover,
body.site-body .mobile-drawer-links a.active,
body.site-body .mobile-drawer-links a:hover,
body.site-body .manage-nav a.active,
body.site-body .manage-nav a:hover {
  background: rgba(255, 255, 255, 0.92);
  background: color-mix(in srgb, var(--accent) 56%, white);
}

body.site-body .form-header button,
body.site-body .desktop-icon-badge,
body.site-body .manage-avatar,
body.site-body .voucher-card,
body.site-body .live-chat-action.is-live {
  background: linear-gradient(125deg, var(--primary), var(--secondary));
}

body.site-body .manage-level-pill,
body.site-body .checkout-kicker,
body.site-body .site-mobile-drawer-brand img,
body.site-body .live-chat-close {
  background: rgba(255, 255, 255, 0.92);
  background: color-mix(in srgb, var(--accent) 58%, white);
  border-color: color-mix(in srgb, var(--primary) 14%, rgba(54, 65, 82, 0.12));
}

body.site-body .manage-level-pill,
body.site-body .checkout-kicker {
  color: var(--primary);
}

body.site-body .desktop-icon-badge,
body.site-body .voucher-card,
body.site-body .live-chat-action.is-live {
  color: #fff;
}

body.site-body.theme-gradient {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(180deg, var(--accent) 0%, #f7f8fc 20%, #f2f4f8 100%);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--primary) 18%, white) 0%, transparent 30%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--secondary) 16%, white) 0%, transparent 24%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 52%, white) 0%, #f7f8fc 20%, #f2f4f8 100%);
}

body.site-body.theme-gradient .desktop-topbar-grid,
body.site-body.theme-gradient .desktop-navbar,
body.site-body.theme-gradient .mobile-navbar-row,
body.site-body.theme-gradient .product-card,
body.site-body.theme-gradient .cat-card,
body.site-body.theme-gradient .proof-card,
body.site-body.theme-gradient .manage-panel,
body.site-body.theme-gradient .manage-stat-card,
body.site-body.theme-gradient .checkout-card,
body.site-body.theme-gradient .footer-payment-panel,
body.site-body.theme-gradient .live-chat-card,
body.site-body.theme-gradient .shop-hero-summary div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, white), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-color: color-mix(in srgb, var(--primary) 12%, rgba(54, 65, 82, 0.12));
  box-shadow: 0 18px 36px rgba(80, 89, 105, 0.1);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--secondary) 10%, rgba(80, 89, 105, 0.1));
}

body.site-body.theme-gradient .form-header,
body.site-body.theme-gradient .promo-strip,
body.site-body.theme-gradient .shop-hero,
body.site-body.theme-gradient .manage-profile-card,
body.site-body.theme-gradient .manage-hero,
body.site-body.theme-gradient .playstore-section,
body.site-body.theme-gradient .floating-toaster {
  background: linear-gradient(135deg, var(--accent), rgba(255, 255, 255, 0.96));
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, white), color-mix(in srgb, var(--accent) 62%, white));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-color: color-mix(in srgb, var(--primary) 12%, rgba(54, 65, 82, 0.12));
}

body.site-body.theme-gradient .product-image,
body.site-body.theme-gradient .proof-card,
body.site-body.theme-gradient .cat-card img {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--accent));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--accent) 46%, white));
}

body.site-body.theme-gradient .mobile-navbar.is-member-dashboard {
  background: color-mix(in srgb, var(--accent) 74%, white);
}

body.site-body.theme-gradient .site-menu-overlay {
  background: color-mix(in srgb, var(--accent) 44%, rgba(18, 22, 33, 0.52));
  backdrop-filter: blur(6px);
}

body.site-body.theme-gradient .site-mobile-drawer {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, white), color-mix(in srgb, var(--accent) 60%, white));
  border-top: 1px solid color-mix(in srgb, var(--primary) 16%, rgba(54, 65, 82, 0.12));
}

body.site-body.theme-gradient .site-footer-ribbon {
  background: linear-gradient(180deg, rgba(247, 248, 251, 0) 0%, color-mix(in srgb, var(--accent) 82%, white) 100%);
}

body.site-body.theme-gradient .site-footer {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 78%, white) 0%, color-mix(in srgb, var(--accent) 62%, white) 100%);
}

body.site-body.theme-gradient .footer-link-list a:hover {
  color: color-mix(in srgb, var(--primary) 72%, #1f2434);
}

body.site-body.theme-gradient .live-chat-action.is-active {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 56%, white), 0 8px 18px rgba(38, 51, 77, 0.15);
}

body.site-body.theme-flat {
  background: linear-gradient(180deg, var(--accent) 0%, #f7f8fc 22%, #f4f6fa 100%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 70%, white) 0%, #f7f8fc 22%, #f4f6fa 100%);
}

body.site-body.theme-flat .desktop-topbar-grid,
body.site-body.theme-flat .desktop-navbar,
body.site-body.theme-flat .mobile-navbar-row,
body.site-body.theme-flat .product-card,
body.site-body.theme-flat .cat-card,
body.site-body.theme-flat .proof-card,
body.site-body.theme-flat .manage-panel,
body.site-body.theme-flat .manage-stat-card,
body.site-body.theme-flat .checkout-card,
body.site-body.theme-flat .footer-payment-panel,
body.site-body.theme-flat .live-chat-card,
body.site-body.theme-flat .shop-hero-summary div {
  background: #ffffff;
  border: 1px solid rgba(54, 65, 82, 0.08);
  border-color: color-mix(in srgb, var(--primary) 14%, rgba(54, 65, 82, 0.12));
  box-shadow: 0 16px 30px rgba(80, 89, 105, 0.08);
}

body.site-body.theme-flat .desktop-navbar,
body.site-body.theme-flat .form-header,
body.site-body.theme-flat .promo-strip,
body.site-body.theme-flat .shop-hero,
body.site-body.theme-flat .manage-profile-card,
body.site-body.theme-flat .manage-hero,
body.site-body.theme-flat .playstore-section,
body.site-body.theme-flat .floating-toaster {
  background: linear-gradient(180deg, #ffffff 0%, var(--accent) 100%);
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent) 60%, white) 100%);
  border: 1px solid rgba(54, 65, 82, 0.08);
  border-color: color-mix(in srgb, var(--primary) 14%, rgba(54, 65, 82, 0.12));
}

body.site-body.theme-flat .product-image,
body.site-body.theme-flat .cat-card img {
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent) 46%, white) 100%);
}

body.site-body.theme-flat .btn-primary,
body.site-body.theme-flat .product-tag,
body.site-body.theme-flat .form-header button,
body.site-body.theme-flat .manage-avatar,
body.site-body.theme-flat .voucher-card,
body.site-body.theme-flat .live-chat-action.is-live {
  background: var(--primary) !important;
}

body.site-body.theme-flat .desktop-icon-badge {
  background: var(--primary);
}

body.site-body.theme-flat .mobile-navbar.is-member-dashboard,
body.site-body.theme-flat .site-mobile-drawer {
  background: color-mix(in srgb, var(--accent) 84%, white);
}

body.site-body.theme-flat .site-menu-overlay {
  background: rgba(18, 22, 33, 0.18);
}

body.site-body.theme-flat .site-footer-ribbon {
  background: linear-gradient(180deg, rgba(247, 248, 251, 0) 0%, color-mix(in srgb, var(--accent) 90%, white) 100%) !important;
}

body.site-body.theme-flat .site-footer {
  background: color-mix(in srgb, var(--accent) 82%, white);
}

body.site-body.theme-flat .live-chat-action.is-active {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 68%, white), 0 8px 18px rgba(38, 51, 77, 0.15);
}

@media (max-width: 960px) {
  body.site-body.theme-gradient .site-mobile-drawer {
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 78%, white) 0%, color-mix(in srgb, var(--accent) 58%, white) 100%) !important;
    border-top-color: color-mix(in srgb, var(--primary) 18%, rgba(54, 65, 82, 0.12)) !important;
  }

  body.site-body.theme-flat .site-mobile-drawer {
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent) 68%, white) 100%) !important;
    border-top-color: color-mix(in srgb, var(--primary) 18%, rgba(54, 65, 82, 0.12)) !important;
  }

  body.site-body.theme-gradient .mobile-drawer-links a + a,
  body.site-body.theme-flat .mobile-drawer-links a + a {
    border-top-color: color-mix(in srgb, var(--primary) 10%, rgba(255, 255, 255, 0.7));
  }
}
