/* YOREN_STORE_PREMIUM_UI_R4
 * Premium progressive-disclosure storefront.
 * Scope: storefront header/actions and regular product grid (#product-grid).
 * Deliberately excludes #bestseller-products-section-r3 and
 * #bestseller-product-grid-r3 so the current Top 4 bestseller surface remains intact.
 */

:root {
  --ys-vv-top-r4: 0px;
  --ys-vv-left-r4: 0px;
  --ys-vv-width-r4: 100vw;
  --ys-vv-height-r4: 100vh;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] {
  --ys-red: #d7262e;
  --ys-red-dark: #a9141c;
  --ys-red-soft: #fff1f2;
  --ys-ink: #17181c;
  --ys-muted: #626873;
  --ys-line: #e8e9ed;
  --ys-surface: #ffffff;
  --ys-soft: #f7f7f8;
}

/* ---------- Storefront header ---------- */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--ys-line);
  border-radius: 24px;
  background: var(--ys-surface);
  box-shadow: 0 18px 48px rgba(20, 21, 25, .075);
  animation: none !important;
  isolation: isolate;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1::before,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1::after {
  display: none !important;
  animation: none !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-banner {
  position: relative;
  height: clamp(210px, 24vw, 292px);
  overflow: hidden;
  border-radius: 17px;
  background: #ececef;
  box-shadow: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0) 45%, rgba(12, 14, 18, .34) 100%);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: end;
  gap: 14px 16px;
  width: 100%;
  margin-top: -58px;
  padding: 0 18px 16px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-avatar {
  grid-column: 1;
  width: 108px;
  height: 108px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(18, 20, 24, .20);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-text {
  grid-column: 2;
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid rgba(232, 233, 237, .95);
  border-radius: 19px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 32px rgba(20, 21, 25, .105);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-text h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  margin: 0;
  padding: 0;
  color: var(--ys-ink);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(21px, 2.25vw, 30px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.22;
  text-shadow: none;
  text-wrap: balance;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-text h1::after {
  display: none !important;
  animation: none !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .store-vip-badge {
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid #e4bd48;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff9d9, #f5d36f);
  color: #684b00;
  box-shadow: none;
  font-size: 10.5px;
  letter-spacing: .01em;
  text-shadow: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .store-vip-badge::before {
  display: none !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-desc {
  margin-top: 6px;
  color: var(--ys-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-desc-row {
  gap: 7px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .store-id-badge {
  padding: 3px 8px;
  border: 1px solid var(--ys-line);
  border-radius: 7px;
  background: var(--ys-soft);
  color: #4f5560;
  box-shadow: none;
  font-size: 10.5px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  color: #4f5560;
  font-size: 12px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta > span,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--ys-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta > span:first-child {
  max-width: min(100%, 520px);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta .sep {
  display: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta .open {
  border-color: #b9e5cf;
  background: #effaf4;
  color: #087443;
  font-weight: 750;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta .closed {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #a2430f;
  font-weight: 750;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .open-mode-badge,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .open-hours-link {
  min-height: 23px;
  margin-left: 3px;
  padding: 3px 7px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .82);
  box-shadow: none;
  color: inherit;
  font-size: 10px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-rating {
  color: #72520a;
  cursor: pointer;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-rating i {
  color: #e6a500;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .sub-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 11.5px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .sub-banner.ok {
  border-color: #cbead9;
  background: #f3fbf6;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .sub-banner.warn {
  border-color: #fed7aa;
  background: #fff9f0;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .sub-banner.err {
  border-color: #fecaca;
  background: #fff5f5;
}

/* ---------- Customer actions ---------- */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
  padding-top: 2px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > .btn,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a.btn,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > button.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  overflow: hidden;
  border: 1px solid var(--ys-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  color: #30343a;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > .btn::before,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a.btn::before,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > button.btn::before {
  display: none !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > .btn i,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a.btn i,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > button.btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ys-red);
  font-size: 14px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a[href^="tel:"],
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > #btn-call-app,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > #btn-call-video-app {
  border-color: #c8e8d6;
  background: #f2fbf6;
  color: #10683e;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a[href^="tel:"] i,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > #btn-call-app i,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > #btn-call-video-app i {
  color: #12834d;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a[href*="zalo.me"] {
  border-color: #cfe2ff;
  background: #f3f7ff;
  color: #235fb8;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a[href*="zalo.me"] i {
  color: #2873d1;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > #btn-voucher {
  border-color: #f1bdc0;
  background: var(--ys-red);
  color: #fff;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > #btn-voucher i {
  color: #fff;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > .store-tools-trigger {
  background: var(--ys-soft);
  color: #4f5560;
}

/* ---------- Regular product catalog cards only ---------- */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid[data-view="grid"] {
  gap: 12px !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px !important;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding: 10px !important;
  border: 1px solid #e3e4e8;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(20, 21, 25, .055);
  opacity: 1;
  transform: none;
  animation: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card::before,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card::after {
  display: none !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-media-r1 {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 13px;
  background: #f0f0f2;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card img.thumb {
  display: block;
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  border-radius: inherit;
  object-fit: cover;
  transform: none;
  filter: none;
  transition: transform .22s ease;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-label-stack-r1 {
  top: 7px;
  left: 7px;
  gap: 4px;
  max-width: calc(100% - 14px);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-label-stack-r1 .product-badge {
  padding: 4px 7px !important;
  border-radius: 7px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 2px 7px rgba(20, 21, 25, .10);
  font-size: 9px !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-badge--condition,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-badge--warranty {
  align-self: flex-start;
  max-width: 100%;
  margin: 0 !important;
  padding: 4px 7px !important;
  overflow: hidden;
  border-radius: 7px !important;
  font-size: 9.5px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card .name {
  display: -webkit-box;
  min-height: 2.7em !important;
  max-height: 2.7em;
  margin: 1px 0 0;
  overflow: hidden;
  color: #202228;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.01em;
  line-height: 1.35 !important;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-price-row-r7 {
  display: flex !important;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  min-width: 0;
  min-height: 22px;
  margin: 0 !important;
  color: var(--ys-red);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-price-row-r7 .price-sale {
  flex: 0 1 auto;
  max-width: 68%;
  overflow: hidden;
  color: var(--ys-red);
  font-size: 15px;
  font-weight: 850 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-price-row-r7 .price-origin {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 32%;
  margin-left: 0;
  overflow: hidden;
  color: #9297a1;
  font-size: 11px !important;
  font-weight: 650;
  text-align: left;
  text-decoration: line-through;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-meta-row-r7 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  min-height: 25px;
  margin: 0;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-meta-row-r7 .product-sold-r7 {
  display: inline-flex !important;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 62%;
  margin: 0 !important;
  padding: 3px 0 !important;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  color: #747984;
  font-size: 10.5px !important;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-detail-trigger-r7 {
  min-height: 25px;
  padding: 3px 0 3px 5px;
  color: var(--ys-red-dark);
  font-size: 10.5px;
  font-weight: 800;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card .actions {
  display: flex;
  justify-content: stretch;
  width: 100%;
  margin-top: auto !important;
  padding-top: 2px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card .actions .btn.add-btn {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--ys-red);
  box-shadow: none;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.15;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card .actions .btn.add-btn::after {
  display: none !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .qty-inline {
  width: 100%;
  min-height: 40px;
  padding: 4px;
  border: 1px solid #e0e1e5;
  border-radius: 10px;
  background: #f7f7f8;
  box-shadow: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .qty-inline .minus-btn,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .qty-inline .plus-btn {
  width: 31px;
  height: 31px;
  border-radius: 8px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card .extras .extra-row {
  margin-top: 0;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card .extras .btn.addon-toggle {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border-radius: 9px;
  background: #fff6f6;
  box-shadow: none;
  font-size: 11.5px;
}

body.list-view[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-media-r1,
body.view-list[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-media-r1 {
  display: none !important;
}

body.list-view[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid,
body.view-list[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid {
  grid-template-columns: 1fr !important;
}

body.list-view[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card,
body.view-list[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card {
  padding: 12px !important;
}

/* ---------- Interaction and accessibility ---------- */
@media (hover: hover) and (pointer: fine) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > .btn:hover,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a.btn:hover,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > button.btn:hover {
    border-color: #d2d4da;
    background: #fafafa;
    box-shadow: none;
    transform: translateY(-1px);
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card:hover {
    border-color: #d1d3d8;
    box-shadow: 0 13px 28px rgba(20, 21, 25, .095);
    transform: translateY(-2px);
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card:hover img.thumb {
    transform: scale(1.025);
    filter: none;
  }
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 a:focus-visible,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 button:focus-visible,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid a:focus-visible,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid button:focus-visible,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid input:focus-visible {
  outline: 3px solid rgba(215, 38, 46, .22);
  outline-offset: 2px;
}

/* ---------- Tablet and mobile storefront ---------- */
@media (max-width: 760px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 {
    padding: 7px;
    border-radius: 19px;
    box-shadow: 0 9px 26px rgba(20, 21, 25, .07);
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-banner {
    height: clamp(142px, 43vw, 184px);
    border-radius: 14px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-row {
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    margin-top: -30px;
    padding: 0 7px 9px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-avatar {
    width: 78px;
    height: 78px;
    border-width: 3px;
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(18, 20, 24, .17);
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-text {
    padding: 11px;
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(20, 21, 25, .085);
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-text h1 {
    gap: 6px;
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.24;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .store-vip-badge {
    padding: 4px 7px;
    font-size: 9px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-desc {
    margin-top: 4px;
    font-size: 10.5px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-text > .hero-desc:not(.hero-desc-row) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta {
    gap: 5px;
    margin-top: 7px;
    font-size: 10.5px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta > span,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-rating {
    min-height: 27px;
    padding: 4px 7px;
    border-radius: 8px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-meta > span:first-child {
    flex-basis: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .open-hours-inline,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .open-hours-suffix {
    font-size: 9px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .sub-banner {
    flex-wrap: wrap;
    min-height: 34px;
    margin-top: 7px;
    padding: 7px 8px;
    font-size: 10.5px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .sub-banner .b-badges {
    width: 100%;
    margin-left: 0;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > .btn,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > a.btn,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-actions--customer > button.btn {
    min-height: 42px;
    padding: 8px 7px;
    border-radius: 10px;
    font-size: 11.5px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid[data-view="grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card {
    gap: 5px !important;
    padding: 7px !important;
    border-radius: 13px;
    box-shadow: 0 4px 13px rgba(20, 21, 25, .05);
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-media-r1 {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card .name {
    font-size: 12.5px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-price-row-r7 .price-sale {
    max-width: 67%;
    font-size: 13px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-price-row-r7 .price-origin {
    max-width: 33%;
    font-size: 9.5px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-meta-row-r7 .product-sold-r7,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-detail-trigger-r7 {
    font-size: 9.5px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid .product-card .actions .btn.add-btn {
    min-height: 37px;
    padding: 8px 6px;
    border-radius: 9px;
    font-size: 11.5px;
  }
}

@media (max-width: 390px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 .hero-avatar {
    width: 68px;
    height: 68px;
    border-radius: 17px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid[data-view="grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* App/WebView and reduced-motion: no scroll-time or decorative motion. */
html.lk-webview body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 *,
html.lk-webview body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid *,
html.lk-app body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 *,
html.lk-app body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid * {
  animation: none !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-commerce-hero-r1 *,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- R3 premium storefront overrides ---------- */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] {
  --ys-accent: #d6212b;
  --ys-accent-dark: #aa1720;
  --ys-green: #0b8754;
  --ys-blue: #1769e0;
  --ys-sheet-ease: cubic-bezier(.22, 1, .36, 1);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 {
  padding: 8px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(20, 25, 32, .07);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-banner {
  height: clamp(176px, 20vw, 238px);
  border-radius: 16px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-row {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 10px 14px;
  margin-top: -50px;
  padding: 0 14px 14px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-avatar {
  grid-row: 1 / span 2;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .17);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 16px 12px;
  border-radius: 16px;
  box-shadow: 0 7px 24px rgba(20, 25, 32, .08);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-title-r2 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-title-r2 h1 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-title-r2 .store-vip-badge {
  flex: 0 0 auto;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-trust-r2 {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-top: 7px;
  color: #626873;
  font-size: 12px;
  line-height: 1.25;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-r2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #626873;
  font-weight: 750;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-r2__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #8b919b;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-r2.is-open {
  color: #087448;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-r2.is-open .store-premium-status-r2__dot {
  background: #13a463;
  box-shadow: 0 0 0 3px rgba(19, 164, 99, .12);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-r2.is-closed {
  color: #9a4215;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-r2.is-closed .store-premium-status-r2__dot {
  background: #d56a2d;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-separator-r2 {
  color: #c5c8ce;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-rating-r2 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6f5416;
  font: inherit;
  font-weight: 750;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-rating-r2 i {
  color: #e1a000;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-area-r2 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-description-r2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin-top: 7px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-description-r2 > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-more-info-r2,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-inline-link-r2 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ys-accent-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-more-info-r2 i {
  font-size: 9px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2:empty {
  display: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .sub-banner {
  margin-top: 9px;
}

/* Five concise storefront actions. Labels stay available to assistive technology and tooltips. */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0 2px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-action-r2,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  overflow: visible;
  border: 1px solid #e2e4e8;
  border-radius: 14px;
  background: #fff;
  color: #333840;
  box-shadow: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-action-r2__icon,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-action-r2__icon > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: transparent;
  color: #313842;
  font-size: 17px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-action-r2__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-action-r2--zalo {
  border-color: #d4e5ff !important;
  background: #eef5ff !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-zalo-mark-r2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  border-radius: 7px 7px 7px 2px;
  background: #1769e0;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -.03em;
}

/* Static sticky bar: no blur, scroll listener or compositing animation. */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2 {
  position: sticky;
  z-index: 46;
  top: calc(var(--header-height, 56px) + 6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  margin: 10px 0 12px;
  padding: 6px 8px 6px 7px;
  border: 1px solid #e6e8eb;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(18, 24, 31, .07);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2__identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2__identity img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 11px;
  object-fit: cover;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2__identity strong {
  min-width: 0;
  overflow: hidden;
  color: #252930;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2__actions {
  display: flex;
  gap: 6px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2__actions button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 11px;
  background: #f8f8f9;
  color: #30343b;
  cursor: pointer;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] [data-premium-cart-count] {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--ys-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 13px;
}

/* ---------- Accessible information/action sheets ---------- */
body.store-premium-sheet-open-r2 {
  overflow: hidden;
  touch-action: none;
}

.store-premium-sheet-r2[hidden] {
  display: none !important;
}

.store-premium-sheet-r2 {
  position: fixed;
  z-index: 2147483500;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}

.store-premium-sheet-r2__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(14, 18, 24, .46);
  opacity: 0;
  transition: opacity .16s ease;
}

.store-premium-sheet-r2__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  max-height: min(78dvh, calc(var(--lk-vh, 1vh) * 78));
  overflow: hidden;
  border: 1px solid #e6e7ea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(9, 14, 21, .24);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .16s ease, transform .16s var(--ys-sheet-ease, ease-out);
}

.store-premium-sheet-r2__panel--compact {
  width: min(460px, 100%);
}

.store-premium-sheet-r2.is-open .store-premium-sheet-r2__backdrop,
.store-premium-sheet-r2.is-open .store-premium-sheet-r2__panel {
  opacity: 1;
}

.store-premium-sheet-r2.is-open .store-premium-sheet-r2__panel {
  transform: translateY(0);
}

.store-premium-sheet-r2__header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  padding: 14px 15px;
  border-bottom: 1px solid #eceef1;
}

.store-premium-sheet-r2__heading-icon,
.store-premium-sheet-r2__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
}

.store-premium-sheet-r2__heading-icon {
  background: #fff0f1;
  color: var(--ys-accent, #d6212b);
}

.store-premium-sheet-r2__close {
  background: #f2f3f5;
  color: #4b515b;
  cursor: pointer;
}

.store-premium-sheet-r2__header > div {
  min-width: 0;
}

.store-premium-sheet-r2__header span:not(.store-premium-sheet-r2__heading-icon) {
  display: block;
  overflow: hidden;
  color: #7a808a;
  font-size: 10.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-premium-sheet-r2__header h2 {
  margin: 2px 0 0;
  overflow: hidden;
  color: #1f2329;
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-premium-sheet-r2__body {
  overflow: auto;
  padding: 15px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.store-premium-sheet-r2__description {
  margin: 0 0 14px;
  color: #4c535e;
  font-size: 13.5px;
  line-height: 1.62;
}

.store-premium-info-list-r2 {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid #e8e9ec;
  border-radius: 15px;
  overflow: hidden;
}

.store-premium-info-list-r2 > div {
  display: grid;
  grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 14px;
  border-bottom: 1px solid #eceef1;
}

.store-premium-info-list-r2 > div:last-child {
  border-bottom: 0;
}

.store-premium-info-list-r2 dt {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #737983;
  font-size: 12px;
  font-weight: 750;
}

.store-premium-info-list-r2 dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  min-width: 0;
  margin: 0;
  color: #30353d;
  font-size: 13px;
  line-height: 1.45;
}

.store-premium-info-list-r2 a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #274f8d;
  font-weight: 700;
  text-decoration: none;
}

.store-premium-choice-list-r2 {
  display: grid;
  gap: 8px;
}

.store-premium-choice-r2 {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid #e7e8eb;
  border-radius: 14px;
  background: #fff;
  color: #292e35;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.store-premium-choice-r2__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f1f3f5;
  color: #343a43;
}

.store-premium-choice-r2__icon.is-phone,
.store-premium-choice-r2__icon.is-yoren {
  background: #edf9f3;
  color: #0b7f4c;
}

.store-premium-choice-r2__icon.is-video {
  background: #eef3ff;
  color: #345fc4;
}

.store-premium-choice-r2__icon.is-voucher {
  background: #fff0f1;
  color: #c51e28;
}

.store-premium-choice-r2__icon.is-live {
  background: #fff1f6;
  color: #ca2665;
}

.store-premium-choice-r2__icon.is-share,
.store-premium-choice-r2__icon.is-tools {
  background: #f1f3f6;
  color: #4d5560;
}

.store-premium-choice-r2 strong,
.store-premium-choice-r2 small {
  display: block;
}

.store-premium-choice-r2 strong {
  font-size: 13px;
  line-height: 1.3;
}

.store-premium-choice-r2 small {
  margin-top: 3px;
  color: #777d87;
  font-size: 10.5px;
  line-height: 1.3;
}

.store-premium-choice-r2 > i {
  color: #a8adb5;
  font-size: 10px;
}

.store-premium-toast-r2 {
  position: fixed;
  z-index: 2147483600;
  left: 50%;
  bottom: calc(var(--bottom-nav-height, 60px) + env(safe-area-inset-bottom, 0px) + 18px);
  max-width: calc(100vw - 32px);
  padding: 10px 14px;
  border-radius: 999px;
  background: #20242a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease;
}

.store-premium-toast-r2.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Premium regular cards only; featured and bestseller surfaces are excluded ---------- */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] {
  gap: 5px !important;
  padding: 8px 8px 50px !important;
  border-color: #e5e6e9;
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(22, 27, 34, .055);
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-media-r1 {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .thumb,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .name {
  cursor: pointer;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .name {
  min-height: 2.62em !important;
  color: #262a31;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.31 !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-price-row-r7 {
  min-height: 21px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-price-row-r7 .price-sale {
  font-size: 14.5px;
  letter-spacing: -.015em;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-meta-row-r7 {
  min-height: 24px;
  padding-right: 42px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-detail-trigger-r7--premium-r2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #f1f2f4;
  color: #656c76;
  font-size: 13px !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .actions {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  width: auto;
  margin: 0 !important;
  padding: 0;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .actions .add-btn--premium-r2,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .actions .btn.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--ys-accent);
  color: #fff;
  font-size: 0;
  box-shadow: none;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .actions .btn.add-btn i {
  font-size: 13px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .actions .selected-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #242930;
  color: #fff;
  font-size: 9px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-inline {
  display: grid;
  grid-template-columns: 32px 34px 32px;
  align-items: center;
  width: auto;
  min-height: 38px;
  padding: 2px;
  border: 1px solid #dedfe3;
  border-radius: 12px;
  background: #fff;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-inline .minus-btn,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-inline .plus-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #f2f3f5;
  color: #3a4049;
  font-size: 10px;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-inline .plus-btn {
  background: var(--ys-accent);
  color: #fff;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-input {
  width: 34px;
  min-width: 34px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #252a31;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-input::-webkit-inner-spin-button,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

@media (hover: hover) and (pointer: fine) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-action-r2:hover,
  .store-premium-choice-r2:hover,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2__actions button:hover {
    border-color: #ced1d6;
    background: #f8f9fa;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(22, 27, 34, .09);
  }
}

@media (min-width: 761px) {
  .store-premium-sheet-r2 {
    align-items: center;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid[data-view="grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 {
    padding: 6px;
    border-radius: 18px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-banner {
    height: clamp(118px, 34vw, 150px);
    border-radius: 13px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-row {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 7px 9px;
    margin-top: -25px;
    padding: 0 5px 7px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-avatar {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-text {
    padding: 9px 10px;
    border-radius: 13px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-title-r2 h1 {
    font-size: clamp(16px, 4.7vw, 20px);
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-title-r2 .store-vip-badge {
    padding: 3px 6px;
    font-size: 8.5px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-trust-r2 {
    gap: 5px;
    margin-top: 5px;
    font-size: 10px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-area-r2 {
    max-width: 38%;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-description-r2 {
    gap: 6px;
    margin-top: 5px;
    font-size: 10px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .sub-banner {
    margin-top: 6px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 7px;
    width: 100%;
    padding: 2px 4px 0;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-action-r2,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 > .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 42px;
    max-width: 54px;
    height: 43px;
    min-height: 43px;
    border-radius: 13px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2 {
    top: calc(var(--header-height, 56px) + 4px);
    min-height: 46px;
    margin: 8px 0 10px;
    border-radius: 13px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2__identity img {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 9px;
  }

  .store-premium-sheet-r2 {
    padding: 10px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .store-premium-sheet-r2__panel {
    width: 100%;
    max-height: min(86dvh, calc(var(--lk-vh, 1vh) * 86));
    border-radius: 20px 20px 16px 16px;
  }

  .store-premium-info-list-r2 > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 11px 12px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid[data-view="grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] {
    padding: 6px 6px 47px !important;
    border-radius: 13px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-media-r1 {
    border-radius: 10px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .name {
    font-size: 12px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-price-row-r7 .price-sale {
    font-size: 12.5px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-price-row-r7 .price-origin {
    font-size: 9px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-meta-row-r7 {
    padding-right: 38px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .actions {
    right: 6px;
    bottom: 6px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .actions .add-btn--premium-r2,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .actions .btn.add-btn {
    width: 35px;
    min-width: 35px;
    height: 35px;
    min-height: 35px;
    border-radius: 11px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-inline {
    grid-template-columns: 28px 30px 28px;
    min-height: 35px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-inline .minus-btn,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-inline .plus-btn {
    width: 28px;
    height: 29px;
    min-height: 29px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .qty-input {
    width: 30px;
    min-width: 30px;
    height: 29px;
  }
}

@media (max-width: 390px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-area-r2,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-trust-r2 .store-premium-separator-r2:last-of-type {
    display: none;
  }
}

html.lk-webview .store-premium-sheet-r2__backdrop,
html.lk-app .store-premium-sheet-r2__backdrop {
  background: rgba(14, 18, 24, .42);
}

html.lk-webview body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2,
html.lk-app body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2 {
  box-shadow: 0 3px 11px rgba(18, 24, 31, .06);
}

@media (prefers-reduced-motion: reduce) {
  .store-premium-sheet-r2 *,
  .store-premium-toast-r2 {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- R3 App / mobile web / PWA viewport completion ----------
 * The overlay follows VisualViewport values written by store_premium_ui_r3.js.
 * CSS fallbacks keep it usable when VisualViewport is not implemented.
 */
@supports (height: 100dvh) {
  :root {
    --ys-vv-height-r4: 100dvh;
  }
}

html.store-premium-sheet-open-r3,
body.store-premium-sheet-open-r2[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* Do not put touch-action:none on body: it prevents a descendant sheet body
 * from receiving vertical pan gestures in Android WebView. */
body.store-premium-sheet-open-r2[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] {
  touch-action: auto !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2 {
  position: fixed !important;
  z-index: 2147483600 !important;
  inset: auto !important;
  top: var(--ys-vv-top-r4, 0px) !important;
  left: var(--ys-vv-left-r4, 0px) !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--ys-vv-width-r4, 100vw) !important;
  height: var(--ys-vv-height-r4, 100vh) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding-top: max(8px, env(safe-area-inset-top, 0px)) !important;
  padding-right: max(8px, env(safe-area-inset-right, 0px)) !important;
  padding-bottom: max(8px, env(safe-area-inset-bottom, 0px)) !important;
  padding-left: max(8px, env(safe-area-inset-left, 0px)) !important;
  isolation: isolate;
  contain: layout paint;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2 > .store-premium-sheet-r2__backdrop {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  touch-action: none !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2 > .store-premium-sheet-r2__panel {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  width: min(620px, 100%) !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: min(176px, 100%) !important;
  max-width: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  touch-action: auto !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2 > .store-premium-sheet-r2__panel--compact {
  width: min(460px, 100%) !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__header {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding-top: max(12px, env(safe-area-inset-top, 0px));
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__header > div,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-choice-r2 > span:nth-child(2),
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-info-list-r2 dd {
  min-width: 0 !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__header span:not(.store-premium-sheet-r2__heading-icon),
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__header h2 {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__heading-icon,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__close {
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  scrollbar-gutter: stable;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-choice-r2 {
  min-width: 0 !important;
  min-height: 58px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  touch-action: manipulation;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-choice-r2 strong,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-choice-r2 small,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-info-list-r2 dt,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-info-list-r2 dd,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-info-list-r2 a,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__description {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-action-r2,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 > .btn,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2__actions button {
  min-width: 44px !important;
  min-height: 44px !important;
  overflow: visible !important;
  touch-action: manipulation;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-action-r2__icon,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-action-r2__icon > i,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-choice-r2__icon {
  flex: 0 0 auto;
  overflow: visible;
}

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-more-info-r2,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-inline-link-r2 {
    min-height: 44px;
    box-sizing: border-box;
    touch-action: manipulation;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2 {
    align-items: flex-end !important;
    padding-top: max(8px, env(safe-area-inset-top, 0px)) !important;
    padding-right: max(6px, env(safe-area-inset-right, 0px)) !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px)) !important;
    padding-left: max(6px, env(safe-area-inset-left, 0px)) !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2 > .store-premium-sheet-r2__panel,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2 > .store-premium-sheet-r2__panel--compact {
    width: 100% !important;
    max-height: 100% !important;
    border-radius: 20px 20px max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__body {
    padding-bottom: max(15px, env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-action-r2,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 > .btn {
    flex: 1 1 44px !important;
    width: auto !important;
    max-width: 54px !important;
    height: 44px !important;
  }
}

@media (max-width: 340px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 {
    gap: 4px !important;
    padding-inline: 0 !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__header {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 7px;
    padding: 10px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__heading-icon,
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__close {
    flex-basis: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__body {
    padding: 10px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-choice-r2 {
    grid-template-columns: 40px minmax(0, 1fr) 12px;
    gap: 8px;
    padding: 7px 8px;
  }
}

@media (max-height: 430px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__header {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-sheet-r2__body {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-choice-r2 {
    min-height: 52px !important;
  }
}

html.lk-webview body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2,
html.lk-app body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2,
html.store-premium-pwa-r3 body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] > .store-premium-sheet-r2 {
  transform: translateZ(0);
}


/* ==========================================================================
   YOREN_STORE_PREMIUM_UI_R4 — COMPACT STOREFRONT PREVIEW
   Scope: storefront header + catalog controls only. Product cards/runtime untouched.
   ========================================================================== */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
  border: 1px solid rgba(148, 163, 184, .18);
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-row {
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px 13px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  margin-top: -28px;
  border-radius: 16px;
  border-width: 3px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-title-r2 {
  gap: 7px;
  margin-bottom: 5px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-title-r2 h1 {
  font-size: clamp(18px, 4.8vw, 24px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-vip-badge {
  transform: scale(.9);
  transform-origin: left center;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-trust-r4 {
  display: grid;
  gap: 4px;
  margin: 0;
  min-width: 0;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-line-r4 {
  min-width: 0;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-line-r4 .store-premium-status-r2 {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  padding: 0;
  border: 0;
  background: transparent;
  white-space: normal;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-status-line-r4 .store-premium-status-r2.is-closed {
  color: #b45309;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-meta-line-r4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  min-width: 0;
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.35;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hours-r4 {
  color: #334155;
  font-weight: 650;
  white-space: nowrap;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-meta-line-r4 > * + *::before {
  content: '·';
  margin-right: 7px;
  color: #cbd5e1;
  font-weight: 700;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-rating-r4 {
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 3px;
  font-size: 11.5px;
  color: #475569;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-rating-r4 i {
  font-size: 11px;
  color: #f59e0b;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-rating-count-r4 {
  color: #94a3b8;
  font-weight: 600;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-area-r4 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-description-r2 {
  margin-top: 6px;
  gap: 6px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-description-r2 > span {
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-more-info-r2 {
  font-size: 11.5px;
  font-weight: 700;
  margin: 0;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 {
  margin-top: 7px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .lk2030-banner {
  min-height: 0;
  padding: 7px 9px;
  border-radius: 11px;
  gap: 8px;
  align-items: center;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .lk2030-banner-main {
  flex: 1 1 auto;
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .lk2030-banner-main strong,
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .lk2030-banner-main span {
  font-size: 11px;
  white-space: nowrap;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .lk2030-banner .b-badges {
  margin: 0;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .lk2030-banner .b-btn {
  min-height: 28px;
  padding: 4px 8px;
  font-size: 10.5px;
  border-radius: 8px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin-top: 9px;
  width: 100%;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-action-r4 {
  margin: 0;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  border-radius: 12px;
  padding: 0 12px;
  gap: 6px;
  box-shadow: none;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-action-r4.is-icon-only {
  flex: 0 0 38px;
  width: 38px;
  padding: 0;
  border-radius: 50%;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-action-r4.is-icon-only .store-premium-action-r2__icon {
  margin: 0;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-action-r4.is-labeled {
  flex: 0 1 auto;
  font-size: 11.5px;
  font-weight: 700;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-quickbar-r2 {
  display: none !important;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-catalog-controls-r4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 4px;
  padding: 0 2px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-catalog-controls-r4 .view-toolbar {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-catalog-controls-r4 .btnseg {
  padding: 2px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 11px;
  gap: 2px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-catalog-controls-r4 .btnseg label {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 11.5px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-toggle-r4 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 10px;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-toggle-r4 input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-toggle-r4__box {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: transparent;
  font-size: 9px;
  transition: .15s ease;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-toggle-r4 input:checked + .store-filter-toggle-r4__box {
  border-color: #ef4444;
  background: #ef4444;
  color: #fff;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-toggle-r4:focus-within {
  outline: 2px solid rgba(239,68,68,.2);
  outline-offset: 2px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-panel-r4[hidden] {
  display: none !important;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-panel-r4 {
  margin: 5px 0 8px;
  padding: 7px 8px 2px;
  border-top: 1px solid #eef2f7;
  background: transparent;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-panel-r4 .catbar {
  margin: 0;
  padding: 0 0 5px;
  gap: 6px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-panel-r4 .cat-chip {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 11.5px;
  border-radius: 10px;
}
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #fab-filter i {
  font-size: 18px;
}
@media (max-width: 560px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-banner {
    height: 96px;
    min-height: 96px;
  }
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-row {
    display: grid;
    grid-template-columns: 62px minmax(0,1fr);
    gap: 10px;
    padding: 10px 11px 11px;
  }
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .hero-text {
    min-width: 0;
  }
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-hero-r2 .store-premium-actions-r2 {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding-left: 1px;
  }
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-area-r4 {
    max-width: 145px;
  }
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 {
    grid-column: 1 / -1;
  }
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-premium-owner-notices-r2 .lk2030-banner-main {
    flex-wrap: wrap;
  }
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-catalog-controls-r4 {
    margin-top: 8px;
  }
}
@media (max-width: 380px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-catalog-controls-r4 .btnseg label {
    padding-inline: 7px;
  }
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] .store-filter-toggle-r4 {
    padding-inline: 5px;
  }
}

/* ==========================================================================
   YOREN_STORE_PREMIUM_UI_R4_REFINED_R2 — THREE-LINE COMPACT IDENTITY
   User contract:
   1) [Logo] Store name + VIP + rating on one row
   2) status + opening range on one row
   3) TP.HCM + Store information on one row
   Owner: Manage + Settings replace Call + Message.
   Product surface/runtime intentionally untouched.
   ========================================================================== */
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-row {
  gap: 9px;
  padding: 9px 11px 10px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  margin-top: -25px;
  border-radius: 14px;
  border-width: 3px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 5px;
  margin: 0 0 3px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 h1 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(16.5px, 4.35vw, 21px);
  line-height: 1.15;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 .store-vip-badge {
  flex: 0 0 auto;
  margin: 0;
  transform: scale(.78);
  transform-origin: center center;
  white-space: nowrap;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-rating-r4r2 {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  font-size: 10.5px;
  line-height: 1;
  color: #475569;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-rating-r4r2 i {
  font-size: 10px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-rating-r4r2 .store-premium-rating-count-r4 {
  font-size: 10px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-trust-r4r2 {
  display: grid;
  gap: 2px;
  margin: 0;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-status-line-r4r2 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  min-height: 17px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-status-line-r4r2 .store-premium-status-r2 {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 750;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-status-line-r4r2 .store-premium-status-r2__dot {
  width: 6px;
  height: 6px;
  margin-right: 4px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-status-separator-r4r2 {
  flex: 0 0 auto;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-status-line-r4r2 .store-premium-hours-r4 {
  flex: 0 0 auto;
  color: #475569;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 650;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-info-line-r4r2 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  min-height: 17px;
  font-size: 11.25px;
  line-height: 1.25;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-info-line-r4r2 .store-premium-area-r4 {
  flex: 0 1 auto;
  max-width: 42%;
  color: #64748b;
  font-weight: 650;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-info-link-r4r2 {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 11.25px;
  line-height: 1.25;
  font-weight: 750;
  white-space: nowrap;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-info-link-r4r2 i {
  font-size: 8px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-actions-r2 {
  gap: 6px;
  margin-top: 6px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-action-r4,
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-actions-r2 > .btn {
  height: 34px !important;
  min-height: 34px !important;
  max-width: none !important;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 11px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-action-r4.is-icon-only {
  flex: 0 0 34px !important;
  width: 34px !important;
  max-width: 34px !important;
  padding: 0 !important;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-action-r4r2 {
  flex: 0 0 auto !important;
  font-weight: 750;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-action-r4r2 .store-premium-action-r2__icon {
  font-size: 12px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 {
  margin-top: 5px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 .lk2030-banner {
  padding: 5px 8px;
  border-radius: 9px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 .lk2030-banner-main strong,
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 .lk2030-banner-main span {
  font-size: 10.5px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 .lk2030-banner .b-btn {
  min-height: 25px;
  padding: 3px 7px;
  font-size: 10px;
}

@media (max-width: 560px) {
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-banner {
    height: 84px;
    min-height: 84px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 10px 9px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-avatar {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    margin-top: -24px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-actions-r2 {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    margin-top: 1px;
    padding: 0;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 .store-vip-badge {
    transform: scale(.74);
  }
}

@media (max-width: 360px) {
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 {
    gap: 3px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 h1 {
    font-size: 16px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 .store-vip-badge {
    transform: scale(.68);
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-rating-r4r2,
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-rating-r4r2 .store-premium-rating-count-r4 {
    font-size: 9.5px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-status-line-r4r2 .store-premium-status-r2,
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-status-line-r4r2 .store-premium-hours-r4,
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-info-line-r4r2,
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-info-link-r4r2 {
    font-size: 10.5px;
  }
}


/* ==========================================================================\n   YOREN_STORE_PREMIUM_UI_R4_REFINED_R2 — PROFESSIONAL POLISH\n   - lower visual weight, no duplicate surface\n   - one-row role-aware actions\n   - search-first FAB feedback\n   - compact catalog toolbar\n   - product surface intentionally untouched\n   ========================================================================== */
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 {
  padding: 6px;
  border-radius: 18px;
  box-shadow: 0 7px 22px rgba(20,25,32,.055);
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-banner {
  height: clamp(132px, 16vw, 190px);
  min-height: 132px;
  border-radius: 13px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-banner::after {
  background: linear-gradient(180deg, rgba(12,14,18,0) 58%, rgba(12,14,18,.20) 100%);
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-row {
  margin-top: -30px;
  padding: 7px 10px 9px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-text {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 {
  margin-bottom: 2px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-r4r2 h1 {
  letter-spacing: -.015em;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-title-rating-r4r2 {
  opacity: .92;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-trust-r4r2 {
  gap: 1px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-actions-r4r2 {
  flex-wrap: nowrap !important;
  align-items: center !important;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1px !important;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-actions-r4r2::-webkit-scrollbar { display:none; }
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-actions-r4r2 > .btn {
  flex-shrink: 0 !important;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 .lk2030-banner {
  min-height: 30px;
  padding: 4px 7px;
  gap: 6px;
  box-shadow: none;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 .lk2030-banner-main {
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow: hidden;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 .lk2030-banner-main strong,
body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-owner-notices-r2 .lk2030-banner-main span {
  white-space: nowrap;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-catalog-controls-r4 {
  min-height: 38px;
  margin: 7px 0 2px;
  padding: 3px 1px 4px;
  border-bottom: 1px solid #eef2f7;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-catalog-controls-r4 .btnseg {
  padding: 1px;
  border-color: #e5e7eb;
  border-radius: 9px;
  box-shadow: none;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-catalog-controls-r4 .btnseg label {
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 7px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-filter-toggle-r4 {
  min-height: 30px;
  padding: 4px 6px;
  border-radius: 8px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-filter-toggle-r4__box {
  width: 15px;
  height: 15px;
  border-radius: 4px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-filter-panel-r4 {
  margin: 2px 0 6px;
  padding: 5px 2px 1px;
  border-top: 0;
  border-bottom: 1px solid #eef2f7;
}
body[data-store-premium-refinement="R4_REFINED_R2"] #fab-filter {
  position: fixed;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-search-filter-indicator-r4r2 {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ef4444;
  box-sizing: border-box;
  pointer-events: none;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-search-filter-indicator-r4r2[hidden] {
  display: none !important;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-search-popup-r4r2 .popup-head h3 {
  letter-spacing: -.01em;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-search-popup-r4r2 .store-search-primary-r4r2 {
  padding: 0 0 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #eef2f7;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-search-popup-r4r2 #f-q {
  min-height: 44px;
  font-size: 15px;
  border-radius: 12px;
}
body[data-store-premium-refinement="R4_REFINED_R2"] .store-info-status-schedule-r4r2 {
  color: #475569;
  font-weight: 650;
}

@media (max-width: 560px) {
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-banner {
    height: 76px;
    min-height: 76px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-row {
    margin-top: -22px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 7px;
    padding: 6px 8px 8px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .hero-avatar {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    margin-top: -18px;
    border-radius: 13px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-actions-r2 {
    margin-top: 0;
    gap: 5px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-action-r4,
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-actions-r2 > .btn {
    height: 32px !important;
    min-height: 32px !important;
    padding-inline: 9px;
    border-radius: 9px;
    font-size: 10.5px;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-premium-hero-r2 .store-premium-action-r4.is-icon-only {
    flex-basis: 32px !important;
    width: 32px !important;
    max-width: 32px !important;
  }
  body[data-store-premium-refinement="R4_REFINED_R2"] .store-catalog-controls-r4 {
    margin-top: 5px;
  }
}


/* ==========================================================================
   YOREN_STORE_R4_PRODUCT_CARD_R1 — BALANCED META + SINGLE-LINE ADAPTIVE NAME
   - detail button shares the same right edge as the + button
   - detail button is slightly larger
   - product name is one line and is fitted down only when needed
   - product/card commerce behavior is unchanged
   ========================================================================== */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .name {
  display: block !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin-top: 2px;
  overflow: hidden !important;
  color: #242830;
  font-size: var(--ys-product-name-fit-size-r4p1, 14.25px) !important;
  font-weight: 760;
  line-height: 20px !important;
  letter-spacing: -.012em;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  word-break: normal !important;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .name.is-auto-fitted-r4p1 {
  letter-spacing: -.018em;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-meta-row-r7 {
  min-height: 32px;
  padding-right: 0 !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-detail-trigger-r7--premium-r2 {
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  margin-left: auto;
  padding: 0;
  border-radius: 10px;
  font-size: 14px !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-detail-trigger-r7--premium-r2 i {
  font-size: 14px !important;
}

@media (max-width: 680px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .name {
    height: 19px !important;
    min-height: 19px !important;
    max-height: 19px !important;
    font-size: var(--ys-product-name-fit-size-r4p1, 13.5px) !important;
    line-height: 19px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-meta-row-r7 {
    min-height: 31px;
    padding-right: 0 !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-detail-trigger-r7--premium-r2 {
    flex-basis: 31px;
    width: 31px;
    min-width: 31px;
    height: 31px;
    min-height: 31px;
    border-radius: 10px;
    font-size: 13.5px !important;
  }

  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #product-grid > .store-card-v10[data-product-section-r1="regular"] .product-detail-trigger-r7--premium-r2 i {
    font-size: 13.5px !important;
  }
}


/* ==========================================================================
   YOREN_STORE_R4_PRODUCT_CARD_R2_TOP4_SINGLE_LINE
   Top-4 bestseller cards use the same adaptive one-line product-name contract
   as regular cards. Long names shrink progressively; only extreme overflow
   falls back to ellipsis. Product rendering / cart behavior is unchanged.
   ========================================================================== */
body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #bestseller-product-grid-r3 > .store-card-v10[data-product-section-r1="bestseller"] .name {
  display: block !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin-top: 2px;
  overflow: hidden !important;
  color: #242830;
  font-size: var(--ys-product-name-fit-size-r4p1, 13.5px) !important;
  font-weight: 760;
  line-height: 20px !important;
  letter-spacing: -.012em;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  word-break: normal !important;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
}

body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #bestseller-product-grid-r3 > .store-card-v10[data-product-section-r1="bestseller"] .name.is-auto-fitted-r4p1 {
  letter-spacing: -.018em;
}

@media (max-width: 680px) {
  body[data-store-commerce-ui-release="YOREN_STORE_PREMIUM_UI_R4"] #bestseller-product-grid-r3 > .store-card-v10[data-product-section-r1="bestseller"] .name {
    height: 19px !important;
    min-height: 19px !important;
    max-height: 19px !important;
    font-size: var(--ys-product-name-fit-size-r4p1, 13.5px) !important;
    line-height: 19px !important;
  }
}
