/* Regoo storefront typography system.
   Use a Shopee-like system stack: no extra font request, no font-swap CLS. */
:root {
  --regoo-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Roboto", "Droid Sans", Arial, sans-serif;
  --rg-store-font-stack: var(--regoo-font-family);
  --pdp-sync-font: var(--regoo-font-family);
  --bs-font-sans-serif: var(--regoo-font-family);
  --bs-body-font-family: var(--regoo-font-family);
  --rg-color-brand:#087c68;
  --rg-color-brand-hover:#056b5a;
  --rg-color-brand-pressed:#045447;
  --rg-color-accent:#d97706;
  --rg-color-text-strong:#18312d;
  --rg-color-text:#35514c;
  --rg-color-text-muted:#647a75;
  --rg-color-text-inverse:#fff;
  --rg-color-page:#f7faf9;
  --rg-color-surface:#fff;
  --rg-color-surface-subtle:#eef5f3;
  --rg-color-surface-elevated:#fff;
  --rg-color-border:#d8e5e1;
  --rg-color-border-strong:#aec9c2;
  --rg-color-success:#16794c;
  --rg-color-warning:#a85f00;
  --rg-color-danger:#b42318;
  --rg-color-info:#1769aa;
  --rg-color-focus:#0b7f6f;
  --rg-color-overlay:rgb(11 31 27 / .56);
  --rg-space-1:4px; --rg-space-2:8px; --rg-space-3:12px; --rg-space-4:16px; --rg-space-5:24px; --rg-space-6:32px; --rg-space-7:48px; --rg-space-8:64px;
  --rg-radius-sm:8px; --rg-radius-md:12px; --rg-radius-lg:16px; --rg-radius-pill:999px;
  --rg-shadow-1:0 1px 2px rgb(17 49 42 / .08); --rg-shadow-2:0 8px 24px rgb(17 49 42 / .12); --rg-shadow-3:0 16px 40px rgb(17 49 42 / .18);
  --rg-motion-fast:150ms; --rg-motion-base:200ms; --rg-motion-sheet:240ms;
  --rg-ease-standard:cubic-bezier(.2,0,0,1); --rg-ease-enter:cubic-bezier(0,0,.2,1);

  --rg-type-micro: 11px;
  --rg-type-meta: 12px;
  --rg-type-card: 13px;
  --rg-type-ui: 14px;
  --rg-type-content: 14px;
  --rg-type-list-title: clamp(14px, calc(13.5px + .2vw), 16px);
  --rg-type-section: clamp(16px, calc(15px + .2vw), 18px);
  --rg-type-h3: clamp(16px, calc(15px + .25vw), 18px);
  --rg-type-h2: clamp(18px, calc(16.5px + .35vw), 21px);
  --rg-type-page: clamp(22px, calc(18px + .6vw), 26px);

  --rg-weight-normal: 400;
  --rg-weight-medium: 500;
  --rg-weight-heading: 500;
  --rg-weight-bold: 600;
  --rg-line-tight: 1.3;
  --rg-line-ui: 1.5;
  --rg-line-content: 1.55;
}

html,
body {
  font-family: var(--regoo-font-family) !important;
  font-size: 14px;
  line-height: var(--rg-line-ui);
  color: #111;
}

body.rg-storefront {
  font-family: var(--regoo-font-family) !important;
  font-size: var(--rg-type-ui);
  font-weight: var(--rg-weight-normal);
  line-height: var(--rg-line-ui);
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rg-storefront :where(button, input, optgroup, select, textarea) {
  font-family: var(--regoo-font-family) !important;
}

body.rg-storefront :where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
  font-family: var(--regoo-font-family) !important;
  font-style: normal !important;
  font-weight: var(--rg-weight-heading) !important;
  letter-spacing: 0 !important;
  line-height: var(--rg-line-tight) !important;
}

body.rg-storefront :where(h1, .h1) { font-size: var(--rg-type-page) !important; }
body.rg-storefront :where(h2, .h2) { font-size: var(--rg-type-h2) !important; }
body.rg-storefront :where(h3, .h3) { font-size: var(--rg-type-h3) !important; }
body.rg-storefront :where(h4, .h4) { font-size: 16px !important; }
body.rg-storefront :where(h5, .h5) { font-size: 15px !important; }
body.rg-storefront :where(h6, .h6) { font-size: var(--rg-type-card) !important; }

body.rg-storefront :where(strong, b) { font-weight: var(--rg-weight-bold); }
body.rg-storefront :where(small, .small) { font-size: var(--rg-type-meta) !important; }
body.rg-storefront .fw-semibold { font-weight: var(--rg-weight-medium) !important; }
body.rg-storefront :where(.fw-bold, .fw-bolder) { font-weight: var(--rg-weight-bold) !important; }

body.rg-storefront :where(.form-control, .form-select) {
  font-family: var(--regoo-font-family) !important;
  font-size: var(--rg-type-ui) !important;
  line-height: 1.45 !important;
}

body.rg-storefront .form-label {
  font-family: var(--regoo-font-family) !important;
  font-size: var(--rg-type-ui) !important;
  font-weight: var(--rg-weight-medium);
}

body.rg-storefront .btn {
  font-family: var(--regoo-font-family) !important;
  font-size: var(--rg-type-ui) !important;
  font-weight: var(--rg-weight-medium);
  line-height: 1.4;
}

body.rg-storefront .btn-sm { font-size: var(--rg-type-meta) !important; }

/* Long-form content: articles, policies, shop intro and every PDP template. */
body.rg-storefront :where(.rte-content, .rg-intro-text, .stdp-rte, .tkp-richtext, .vando-content) {
  font-family: var(--regoo-font-family) !important;
  font-size: var(--rg-type-content) !important;
  font-weight: var(--rg-weight-normal) !important;
  line-height: var(--rg-line-content) !important;
  letter-spacing: 0 !important;
  color: #111827 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

body.rg-storefront :where(.rte-content, .rg-intro-text, .stdp-rte, .tkp-richtext, .vando-content)
  :where(p, li, blockquote, td, th, span, font, a, em, i, div):not(code):not(pre):not(kbd):not(samp) {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  color: inherit !important;
}

body.rg-storefront :where(.rte-content, .rg-intro-text, .stdp-rte, .tkp-richtext, .vando-content)
  :where(strong, b):not(code):not(pre):not(kbd):not(samp) {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #111827 !important;
}

body.rg-storefront :where(.rte-content, .rg-intro-text, .stdp-rte, .tkp-richtext, .vando-content) h1 {
  font-size: 16px !important;
}

body.rg-storefront :where(.rte-content, .rg-intro-text, .stdp-rte, .tkp-richtext, .vando-content) h2 {
  font-size: 15px !important;
}

body.rg-storefront :where(.rte-content, .rg-intro-text, .stdp-rte, .tkp-richtext, .vando-content) h3 {
  font-size: 14px !important;
}

body.rg-storefront :where(.rte-content, .rg-intro-text, .stdp-rte, .tkp-richtext, .vando-content) h4 {
  font-size: 16px !important;
}

body.rg-storefront :where(.rte-content, .rg-intro-text, .stdp-rte, .tkp-richtext, .vando-content) :where(h1, h2, h3, h4, h5, h6) {
  font-family: inherit !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  color: #111827 !important;
  margin: 14px 0 8px !important;
}

/* Page and section hierarchy. */
body.rg-storefront :where(.blog-page-title, .article-title, .rg-page-title, .rg-thankyou-title) {
  font-size: var(--rg-type-page) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: var(--rg-line-tight) !important;
  letter-spacing: 0 !important;
}

body.rg-storefront :where(.rg-section-heading, .rg-section-title, .rg-related-head h2, .shp-section-title, .tkp-card-title) {
  font-size: var(--rg-type-section) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: var(--rg-line-tight) !important;
  letter-spacing: 0 !important;
}

/* Blog index and article details. */
body.rg-storefront .blog-page-desc {
  font-size: var(--rg-type-content) !important;
  line-height: var(--rg-line-content) !important;
}

body.rg-storefront .blog-featured-title {
  font-size: var(--rg-type-h2) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: var(--rg-line-tight) !important;
}

body.rg-storefront .blog-list-title {
  font-size: var(--rg-type-list-title) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: 1.45 !important;
}

body.rg-storefront .related-card-title {
  font-size: var(--rg-type-card) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: 1.45 !important;
}

body.rg-storefront :where(.blog-featured-summary, .blog-list-summary) {
  font-size: var(--rg-type-ui) !important;
  line-height: 1.7 !important;
}

body.rg-storefront :where(.blog-meta-row, .article-meta, .article-breadcrumb, .related-card-meta, .rg-page-meta) {
  font-size: var(--rg-type-meta) !important;
  line-height: 1.5 !important;
}

body.rg-storefront .article-summary {
  font-size: var(--rg-type-content) !important;
  line-height: 1.7 !important;
}

body.rg-storefront .article-summary-label { font-size: var(--rg-type-meta) !important; }

body.rg-storefront .rg-article-footer-copy {
  font-size: var(--rg-type-ui) !important;
  line-height: 1.7 !important;
}

/* Keep the compact FAQ cards inside long-form articles. */
body.rg-storefront .rte-content .article-faq-heading {
  font-size: var(--rg-type-card) !important;
  line-height: 1.45 !important;
}

body.rg-storefront .rte-content .article-faq-question {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

/* Shared product cards: home, recommended, shop, categories and related grids. */
body.rg-storefront .rg-card-shell {
  border: 1px solid rgba(239, 68, 68, 0) !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

body.rg-storefront :where(.rg-card-shell, .rg-card-hover):hover,
body.rg-storefront :where(.rg-card-shell, .rg-card-hover):focus-within {
  border-color: #ef4444 !important;
  box-shadow:
    0 0 0 1px rgba(239, 68, 68, .68),
    0 10px 24px rgba(239, 68, 68, .14),
    0 8px 20px rgba(15, 23, 42, .10) !important;
  transform: translateY(-1px);
}

body.rg-storefront .rg-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

body.rg-storefront .rg-card-media {
  position: relative;
  overflow: hidden;
}

body.rg-storefront .rg-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 8px !important;
}

body.rg-storefront .rg-card-sale-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 39px;
  padding: 3px 6px;
  border: 1px solid rgba(239, 68, 68, .25);
  border-radius: 4px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
  color: #ef4444;
  font-size: 11px;
  font-weight: var(--rg-weight-medium);
  line-height: 1.1;
}

body.rg-storefront .ratio > .rg-card-sale-badge {
  top: 5px;
  right: 5px;
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
}

body.rg-storefront .rg-card-stock-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  max-width: calc(100% - 12px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .14);
  white-space: nowrap;
}

body.rg-storefront .ratio > .rg-card-stock-badge {
  top: auto;
  right: 6px;
  bottom: 6px;
  left: auto;
  width: auto;
  height: auto;
}

body.rg-storefront :where(.rg-card-title, .rg-product-title, .home-product-title) {
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
}

body.rg-storefront .rg-card-title {
  display: -webkit-box;
  min-height: calc(12px * 1.32 * 2);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.rg-storefront :where(.rg-card-price, .rg-product-price-main) {
  font-size: 14px !important;
  font-weight: var(--rg-weight-bold) !important;
  line-height: 1.15 !important;
}

body.rg-storefront :where(.rg-card-price-compare, .rg-product-price-compare) {
  font-size: 11px !important;
  line-height: 1.15 !important;
}

body.rg-storefront .rg-card-price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 6px;
  min-height: 18px;
  margin-top: 6px !important;
}

body.rg-storefront .rg-card-price-compare {
  margin-top: 0 !important;
  text-decoration: line-through;
  white-space: nowrap;
}

body.rg-storefront .rg-card-price-placeholder { display: none; }
body.rg-storefront .rg-card-no-image { font-size: var(--rg-type-meta) !important; }

body.rg-storefront :where(.rg-card-badge, .rg-badge) {
  font-size: var(--rg-type-micro) !important;
  font-weight: var(--rg-weight-medium) !important;
  line-height: 1.15 !important;
  padding: 3px 6px;
}

body.rg-storefront .rg-card-social {
  font-size: 11px !important;
  line-height: 1.3 !important;
  gap: 6px;
  margin-top: 7px !important;
}

body.rg-storefront .rg-card-cta {
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: var(--rg-weight-medium) !important;
  padding: 5px 10px;
}

body.rg-storefront .rg-card-cta-wrap {
  margin-top: auto !important;
  padding-top: 7px;
}

/* Home sections. */
body.rg-storefront .rg-home-section-pill {
  font-size: var(--rg-type-card) !important;
  font-weight: var(--rg-weight-medium) !important;
  line-height: 1.35 !important;
}

body.rg-storefront .rg-home-trust-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

body.rg-storefront .rg-home-usp-title {
  font-size: var(--rg-type-card) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: 1.4 !important;
}

body.rg-storefront :where(.rg-home-trust-text, .rg-home-warehouse-note) {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.rg-storefront .rg-home-usp-text {
  font-size: var(--rg-type-meta) !important;
  line-height: 1.5 !important;
}

body.rg-storefront .rg-home-post-title {
  font-size: var(--rg-type-card) !important;
  font-weight: var(--rg-weight-medium) !important;
  line-height: 1.4 !important;
}

body.rg-storefront :where(.rg-home-post-date, .rg-home-post-summary) {
  font-size: var(--rg-type-meta) !important;
  line-height: 1.4 !important;
}

body.rg-storefront :where(.rg-home-post-all, .rg-home-post-empty) {
  font-size: var(--rg-type-meta) !important;
  line-height: 1.4 !important;
}

/* Shop/category filters and promotional copy. */
body.rg-storefront :where(.rg-chip, .rg-sort-label, .rg-sort-link, .rg-promo-meta) {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.rg-storefront :where(.rg-filter-title, .rg-opt, .rg-promo-code) {
  font-size: var(--rg-type-ui) !important;
  line-height: 1.45 !important;
}

/* All four product detail templates. */
body.rg-storefront :where(.stdp-page, .shp-wrap, .tkp-page, .vando-wrap),
body.rg-storefront :where(.stdp-page, .shp-wrap, .tkp-page, .vando-wrap) :where(button, input, select, textarea) {
  font-family: var(--regoo-font-family) !important;
}

body.rg-storefront .stdp-page .stdp-title,
body.rg-storefront .shp-wrap h1.h4,
body.rg-storefront .tkp-page .tkp-title,
body.rg-storefront .vando-wrap .vando-title {
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

body.rg-storefront :where(.stdp-page, .shp-wrap, .tkp-page, .vando-wrap) :where(.btn, button, .form-control, .form-select) {
  font-size: var(--rg-type-ui) !important;
  letter-spacing: 0 !important;
}

body.rg-storefront .stdp-page .stdp-price-now,
body.rg-storefront .shp-wrap .shp-price .cur,
body.rg-storefront .tkp-page .tkp-price-current,
body.rg-storefront .vando-wrap .vando-price .now {
  font-size: 28px !important;
  font-weight: var(--rg-weight-bold) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

body.rg-storefront .stdp-page .stdp-price-old,
body.rg-storefront .shp-wrap .shp-price .old,
body.rg-storefront .tkp-page .tkp-price-old,
body.rg-storefront .vando-wrap .vando-price .old {
  font-size: var(--rg-type-ui) !important;
  line-height: 1.3 !important;
}

body.rg-storefront .vando-wrap .vando-meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
}

body.rg-storefront .vando-wrap :where(.vando-meta-left, .vando-meta-mid, .vando-meta-right, .vando-rating, .vando-stars) {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

body.rg-storefront .vando-wrap .vando-stars {
  gap: 1px !important;
  line-height: 1 !important;
}

body.rg-storefront .vando-wrap .vando-stars .star {
  display: inline-block !important;
  letter-spacing: 0 !important;
}

body.rg-storefront .vando-wrap .vando-meta-sep {
  color: #111;
  margin-right: 8px;
}

body.rg-storefront .vando-wrap .vando-order .pricebox .price {
  font-size: 20px !important;
  font-weight: var(--rg-weight-bold) !important;
  line-height: 1.15 !important;
}

/* Quantity controls are symbols, so they stay larger than text buttons. */
body.rg-storefront .stdp-page .stdp-qty-btn,
body.rg-storefront .shp-wrap .input-group .btn[data-qty],
body.rg-storefront .shp-modal .input-group .btn[data-qty],
body.rg-storefront .tkp-page .tkp-qty-btn,
body.rg-storefront .vando-wrap .vando-qty button {
  font-size: 18px !important;
  font-weight: var(--rg-weight-medium) !important;
  line-height: 1 !important;
}

/* Header, navigation and footer. */
body.rg-storefront :where(.top-promo-inline, .main-header, .offcanvas, .site-footer) {
  font-family: var(--regoo-font-family) !important;
}

body.rg-storefront .site-footer .main-footer-title {
  font-size: var(--rg-type-card) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: 1.4 !important;
}

body.rg-storefront .site-footer :where(.main-footer-item, .footer-link) {
  font-size: var(--rg-type-meta) !important;
  line-height: 1.55 !important;
}

body.rg-storefront .site-footer .footer-bottom-inner {
  font-size: var(--rg-type-micro) !important;
  line-height: 1.4 !important;
}

/* Cart. */
body.rg-storefront .cartx-page {
  font-size: var(--rg-type-ui) !important;
  line-height: var(--rg-line-ui) !important;
}

body.rg-storefront .cartx-card-head {
  font-size: var(--rg-type-section) !important;
  font-weight: var(--rg-weight-heading) !important;
}

body.rg-storefront :where(.cartx-title, .cartx-section-title, .cartx-side-title) {
  font-size: var(--rg-type-card) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: 1.45 !important;
}

body.rg-storefront :where(.cartx-desc, .cartx-variant, .cartx-product-link, .cartx-note-help, .cartx-ship-text, .cartx-side-help, .cartx-promo-meta, .cartx-pay-item) {
  font-size: var(--rg-type-meta) !important;
  line-height: 1.5 !important;
}

body.rg-storefront .cartx-price-main {
  font-size: 18px !important;
  font-weight: var(--rg-weight-bold) !important;
}

/* Checkout. */
body.rg-storefront .rg-checkout-title {
  font-size: var(--rg-type-h2) !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: var(--rg-line-tight) !important;
}

body.rg-storefront .rg-checkout-label {
  font-size: var(--rg-type-ui) !important;
  font-weight: var(--rg-weight-medium) !important;
  line-height: 1.45 !important;
}

body.rg-storefront .rg-field-control :where(input, select, textarea) {
  font-size: var(--rg-type-ui) !important;
  line-height: 1.45 !important;
}

body.rg-storefront .rg-pay-option { font-size: var(--rg-type-ui) !important; }
body.rg-storefront .rg-submit-btn {
  font-size: 16px !important;
  font-weight: var(--rg-weight-bold) !important;
}

/* Order tracking. */
body.rg-storefront .ot-page { font-size: var(--rg-type-ui) !important; }
body.rg-storefront .ot-page > h3 { font-size: var(--rg-type-section) !important; }
body.rg-storefront .ot-section-title { font-size: 16px !important; }
body.rg-storefront :where(.ot-search-label, .ot-muted-label, .ot-field-error, .ot-timeline-note, .ot-item-label) {
  font-size: var(--rg-type-meta) !important;
}
body.rg-storefront :where(.ot-search-input, .ot-kpi-value, .ot-timeline-title, .ot-item-value) {
  font-size: var(--rg-type-ui) !important;
}

/* Customer account: remove the old 9-12px page-wide feeling. */
body.rg-storefront .customer-app {
  font-size: var(--rg-type-ui) !important;
  line-height: var(--rg-line-ui) !important;
}

body.rg-storefront :where(.customer-pagehead h1, .customer-pagehead h2, .customer-form h1, .customer-app-head__title, .customer-box__title) {
  font-size: 16px !important;
  font-weight: var(--rg-weight-heading) !important;
  line-height: var(--rg-line-tight) !important;
}

body.rg-storefront :where(.customer-form .form-control, .customer-form .form-label, .customer-btn) {
  font-size: var(--rg-type-ui) !important;
}

body.rg-storefront :where(.customer-order-app__code, .customer-order-app__title, .customer-item-detail-row__title, .customer-ship-info__title, .customer-timeline__title) {
  font-size: var(--rg-type-card) !important;
  line-height: 1.4 !important;
}

body.rg-storefront :where(.customer-topbar__meta, .customer-order-app__meta, .customer-order-app__desc, .customer-item-detail-row__variant, .customer-item-detail-row__meta, .customer-timeline__time, .customer-receiver-card__phone, .customer-receiver-card__address) {
  font-size: var(--rg-type-meta) !important;
  line-height: 1.45 !important;
}

body.rg-storefront :where(.customer-order-app__price, .customer-price-sheet__row.is-total strong) {
  font-size: 18px !important;
  font-weight: var(--rg-weight-bold) !important;
}

@media (max-width: 767.98px) {
  body.rg-storefront :where(.form-control, .form-select),
  body.rg-storefront .rg-field-control :where(input, select, textarea),
  body.rg-storefront .customer-form .form-control {
    font-size: 16px !important;
  }

  body.rg-storefront :where(.blog-page-title, .article-title, .rg-page-title, .rg-thankyou-title) {
    font-size: 22px !important;
  }

  body.rg-storefront .blog-featured-title { font-size: 19px !important; }
  body.rg-storefront :where(.rg-section-heading, .rg-section-title, .rg-related-head h2, .shp-section-title, .tkp-card-title) {
    font-size: 16px !important;
  }

  body.rg-storefront .stdp-page .stdp-title,
  body.rg-storefront .shp-wrap h1.h4,
  body.rg-storefront .tkp-page .tkp-title,
  body.rg-storefront .vando-wrap .vando-title {
    font-size: 16px !important;
  }

  body.rg-storefront .stdp-page .stdp-price-now,
  body.rg-storefront .shp-wrap .shp-price .cur,
  body.rg-storefront .tkp-page .tkp-price-current,
  body.rg-storefront .vando-wrap .vando-price .now {
    font-size: 23px !important;
  }

  body.rg-storefront .cartx-page { font-size: var(--rg-type-ui) !important; }
  body.rg-storefront :where(.cartx-title, .cartx-section-title, .cartx-side-title) {
    font-size: var(--rg-type-card) !important;
  }

  body.rg-storefront .customer-status-card__label {
    font-size: var(--rg-type-micro) !important;
    font-weight: var(--rg-weight-medium) !important;
    line-height: 1.25 !important;
  }

  body.rg-storefront .customer-status-card__badge { font-size: var(--rg-type-micro) !important; }
  body.rg-storefront :where(.customer-topbar__meta, .customer-topbar__logout) {
    font-size: var(--rg-type-meta) !important;
  }
}

@media (max-width: 575.98px) {
  body.rg-storefront .rte-content .article-faq-heading {
    font-size: 13px !important;
  }

  body.rg-storefront .rte-content .article-faq-question {
    font-size: 15px !important;
  }
}

/* Lightweight live chat widget. */
body.rg-storefront .rg-live-chat {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  font-family: var(--regoo-font-family, Arial, sans-serif);
}

body.rg-storefront .rg-live-chat.is-open {
  display: block;
}

body.rg-storefront .rg-live-chat__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .36);
}

body.rg-storefront .rg-live-chat__panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 28px));
  max-height: min(640px, calc(100dvh - 36px));
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(15, 23, 42, .26);
}

body.rg-storefront .rg-live-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background: linear-gradient(135deg, #ee4d2d, #ff7352);
  color: #fff;
}

body.rg-storefront .rg-live-chat__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

body.rg-storefront .rg-live-chat__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 12px;
  opacity: .92;
}

body.rg-storefront .rg-live-chat__status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

body.rg-storefront .rg-live-chat__close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

body.rg-storefront .rg-live-chat__product {
  margin: 10px 12px 0;
  padding: 9px 10px;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  background: #fff7f3;
}

body.rg-storefront .rg-live-chat__product-label {
  color: #8a8f98;
  font-size: 11.5px;
  line-height: 1.2;
}

body.rg-storefront .rg-live-chat__product a {
  display: block;
  margin-top: 2px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.rg-storefront .rg-live-chat__messages {
  flex: 1 1 auto;
  min-height: 230px;
  overflow-y: auto;
  padding: 12px;
  background: #f8fafc;
}

body.rg-storefront .rg-live-chat__msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  margin-bottom: 10px;
}

body.rg-storefront .rg-live-chat__msg.is-admin {
  align-items: flex-start;
}

body.rg-storefront .rg-live-chat__msg.is-customer {
  align-items: flex-end;
  margin-left: auto;
}

body.rg-storefront .rg-live-chat__bubble {
  padding: 9px 11px;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  font-size: 13.5px;
  line-height: 1.45;
  white-space: pre-wrap;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .05);
}

body.rg-storefront .rg-live-chat__msg.is-customer .rg-live-chat__bubble {
  background: #ee4d2d;
  color: #fff;
}

body.rg-storefront .rg-live-chat__time {
  margin-top: 3px;
  padding: 0 4px;
  color: #9aa0a6;
  font-size: 11px;
}

body.rg-storefront .rg-live-chat__form {
  flex: 0 0 auto;
  padding: 10px 12px 12px;
  border-top: 1px solid #eceff3;
  background: #fff;
}

body.rg-storefront .rg-live-chat__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid #fde7df;
  border-radius: 12px;
  background: #fff7f3;
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

body.rg-storefront .rg-live-chat__contact[hidden] {
  display: none !important;
}

body.rg-storefront .rg-live-chat__contact span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.rg-storefront .rg-live-chat__contact button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #ee4d2d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.rg-storefront .rg-live-chat__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

body.rg-storefront .rg-live-chat__fields[hidden] {
  display: none !important;
}

body.rg-storefront .rg-live-chat__fields input,
body.rg-storefront .rg-live-chat__compose textarea {
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
}

body.rg-storefront .rg-live-chat__fields input {
  height: 36px;
  padding: 0 10px;
}

body.rg-storefront .rg-live-chat__compose {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

body.rg-storefront .rg-live-chat__compose textarea {
  min-height: 44px;
  max-height: 110px;
  resize: vertical;
  padding: 9px 10px;
}

body.rg-storefront .rg-live-chat__compose button {
  flex: 0 0 auto;
  min-width: 72px;
  border: 0;
  border-radius: 12px;
  background: #ee4d2d;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

body.rg-storefront .rg-live-chat__hint {
  margin-top: 6px;
  color: #8a8f98;
  font-size: 11.5px;
  line-height: 1.3;
}

body.rg-storefront .rg-live-chat__hint.is-error {
  color: #dc2626;
}

@media (max-width: 575.98px) {
  body.rg-storefront .rg-live-chat__panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: min(78dvh, 680px);
    border-radius: 18px 18px 0 0;
  }

  body.rg-storefront .rg-live-chat__messages {
    min-height: 0;
  }

  body.rg-storefront .rg-live-chat__form {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  body.rg-storefront .rg-live-chat__fields {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.rg-storefront .rg-live-chat__fields input,
  body.rg-storefront .rg-live-chat__compose textarea {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.35;
    -webkit-text-size-adjust: 100%;
  }

  body.rg-storefront .rg-live-chat__compose textarea {
    min-height: 46px;
  }

  body.rg-storefront .rg-live-chat__compose button {
    min-width: 66px;
    font-size: 13px;
  }
}

/* Review image/video gallery shared by Standard, Shopee, TikTok and Vando PDPs. */
html.rg-review-media-open,
html.rg-review-media-open body {
  overflow: hidden;
}

body.rg-storefront [data-rg-product-media-zoom] {
  cursor: zoom-in;
}

body.rg-storefront .rg-review-media-grid {
  --rg-review-media-size: 161px;
  display: grid;
  grid-template-columns: repeat(4, var(--rg-review-media-size));
  gap: 8px;
  max-width: 100%;
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.rg-storefront .rg-review-media-grid::-webkit-scrollbar {
  height: 4px;
}

body.rg-storefront .rg-review-media-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, .55);
}

body.rg-storefront .rg-review-media-item {
  position: relative;
  display: block;
  width: var(--rg-review-media-size);
  height: var(--rg-review-media-size);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  cursor: zoom-in;
  text-decoration: none;
}

body.rg-storefront .rg-review-media-item img,
body.rg-storefront .rg-review-media-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.rg-storefront .rg-review-media-item.is-video .rg-review-media-video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

body.rg-storefront .rg-review-media-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .56);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.rg-review-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .86);
  overscroll-behavior: contain;
}

.rg-review-media-lightbox.is-open {
  display: flex;
}

.rg-review-media-lightbox__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(96vw, 980px);
  height: min(92vh, 760px);
}

.rg-review-media-lightbox__inner {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-x pinch-zoom;
}

.rg-review-media-lightbox__inner::-webkit-scrollbar {
  display: none;
}

.rg-review-media-lightbox__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.rg-review-media-lightbox__inner img,
.rg-review-media-lightbox__inner video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  background: #000;
  object-fit: contain;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .36);
  user-select: none;
  -webkit-user-drag: none;
}

.rg-review-media-lightbox__close {
  position: absolute;
  top: var(--rg-lightbox-close-top, 8px);
  right: var(--rg-lightbox-close-right, 8px);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #111827;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .22);
}

.rg-review-media-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: var(--rg-lightbox-counter-bottom, 10px);
  z-index: 2;
  min-width: 44px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .58);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.rg-review-media-lightbox__counter:empty {
  display: none;
}

@media (max-width: 575.98px) {
  .rg-review-media-lightbox {
    padding: 8px;
  }

  .rg-review-media-lightbox__frame {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    height: calc(100dvh - 16px);
  }

  .rg-review-media-lightbox__close {
    top: var(--rg-lightbox-close-top, max(8px, env(safe-area-inset-top)));
    right: var(--rg-lightbox-close-right, max(8px, env(safe-area-inset-right)));
  }
}

.rg-review-success-popup {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, .42);
}

.rg-review-success-popup[hidden] {
  display: none !important;
}

.rg-review-success-popup.is-closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.rg-review-success-card {
  width: min(360px, calc(100vw - 36px));
  border-radius: 18px;
  background: #fff;
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .24);
  transform: translateY(0);
  animation: rg-review-success-pop .2s ease-out;
}

.rg-review-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.rg-review-success-title {
  color: #111827;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.rg-review-success-text {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
}

.rg-review-success-btn {
  margin-top: 14px;
  min-width: 116px;
  border: 0;
  border-radius: 999px;
  background: #ee4d2d;
  color: #fff;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
}

.rg-review-error-popup .rg-review-success-icon {
  background: #dc2626;
}

.rg-review-error-popup .rg-review-success-btn {
  background: #dc2626;
}

@keyframes rg-review-success-pop {
  from {
    opacity: .2;
    transform: translateY(8px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rg-storefront [data-rg-review-page-item][hidden] {
  display: none !important;
}

.rg-review-pagination {
  width: 100%;
  margin: 16px 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.rg-review-pagination[hidden] {
  display: none !important;
}

.rg-review-pagination__button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  color: #374151;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.rg-review-pagination__button.is-active {
  border-color: #ee4d2d;
  color: #fff;
  background: #ee4d2d;
}

.rg-review-pagination__ellipsis {
  min-width: 18px;
  color: #8a8f98;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 575.98px) {
  body.rg-storefront .rg-review-media-grid {
    --rg-review-media-size: min(161px, calc((100vw - 64px) / 4));
    gap: 5px;
    overflow-x: visible;
  }

  body.rg-storefront .shp-mobile-review-body .rg-review-media-grid {
    --rg-review-media-size: min(161px, calc((100vw - 106px) / 4));
  }

  .rg-review-media-lightbox {
    padding: 10px;
  }

  .rg-review-media-lightbox__inner img,
  .rg-review-media-lightbox__inner video {
    max-width: 98vw;
    max-height: 86vh;
  }
}

/* Bootstrap Icons must keep their glyph font. */
body.rg-storefront .bi::before,
body.rg-storefront [class^="bi-"]::before,
body.rg-storefront [class*=" bi-"]::before {
  font-family: "bootstrap-icons" !important;
}

/* Shared technical specifications across every product template. */
body.rg-storefront .rg-spec-shell {
  width: 100%;
  color: #1f2937;
}

body.rg-storefront .rg-spec-list {
  display: grid;
  width: 100%;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

body.rg-storefront :where(.rg-spec-list[hidden], .rg-spec-empty[hidden]) {
  display: none !important;
}

body.rg-storefront .rg-spec-row {
  display: grid;
  grid-template-columns: minmax(130px, 30%) minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid #e5e7eb;
}

body.rg-storefront .rg-spec-row:first-child {
  border-top: 0;
}

body.rg-storefront .rg-spec-row:nth-child(odd) {
  background: #f8fafc;
}

body.rg-storefront :where(.rg-spec-label, .rg-spec-value) {
  min-width: 0;
  margin: 0;
  padding: 11px 14px;
  font-family: var(--regoo-font-family) !important;
  font-size: var(--rg-type-ui) !important;
  line-height: 1.5 !important;
}

body.rg-storefront .rg-spec-label {
  border-right: 1px solid #e5e7eb;
  color: #4b5563;
  font-weight: var(--rg-weight-medium) !important;
}

body.rg-storefront .rg-spec-value {
  color: #111827;
  font-weight: var(--rg-weight-normal) !important;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

body.rg-storefront .rg-spec-value a {
  color: inherit;
  text-decoration: none;
}

body.rg-storefront .rg-spec-value a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

body.rg-storefront .rg-spec-empty {
  padding: 13px 14px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f8fafc;
  font-size: var(--rg-type-ui);
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  body.rg-storefront .rg-spec-row {
    grid-template-columns: minmax(104px, 38%) minmax(0, 1fr);
  }

  body.rg-storefront :where(.rg-spec-label, .rg-spec-value) {
    padding: 10px 11px;
  }
}
