@font-face {
  font-family: "Yekan Bakh";
  src: url("fonts/YekanBakh-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("fonts/YekanBakh-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("fonts/YekanBakh-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("fonts/YekanBakh-Bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #c81e1e;
  --red-dark: #9f1717;
  --red-soft: #f4e8e8;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg: #f3f3f3;
  --bg-2: #ececec;
  --surface: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --header-h: 64px;
  --max: 1080px;
  --activation: #ffffff;
  --activation-line: #ececec;
  --activation-ink: #c81e1e;
  --credit: #fafafa;
  --credit-line: #ececec;
  --credit-ink: #444444;
  --icloud: #f7f7f7;
  --icloud-line: #ececec;
  --icloud-ink: #555555;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100vh;
}
a, button, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}
a:focus, button:focus { outline: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
html { scroll-behavior: smooth; background: #fff; }
body {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yekan Bakh", Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main { flex: 1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  margin: 0;
  background: #fff;
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  height: var(--header-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.custom-logo {
  height: 40px !important;
  width: auto !important;
  max-height: 40px;
  object-fit: contain;
}
.logo { display: flex; align-items: center; height: 40px; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-size: 15px;
  letter-spacing: 0.12em;
}
.logo-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.icon-btn, .menu-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s;
}
.icon-btn { width: 40px; position: relative; }
.menu-btn { padding: 0 12px 0 10px; }
.menu-btn-label { font-size: 13px; font-weight: 600; }
.icon-btn:hover, .menu-btn:hover, .menu-btn.is-open {
  border-color: #ddd2cc;
  box-shadow: var(--shadow);
}
.cart-badge {
  position: absolute;
  top: -5px;
  left: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.menu-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(28, 25, 23, 0.12);
  padding: 8px;
  animation: pop 0.18s ease;
  transform-origin: top left;
}
@keyframes pop {
  from { opacity: 0.96; transform: translateY(-4px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
.menu-item, .menu-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}
.menu-item:hover, .menu-parent:hover { background: #f5f5f5; }
.menu-parent svg { transition: transform 0.2s; }
.menu-parent.is-open svg { transform: rotate(-90deg); }
.menu-hint { color: var(--muted); font-size: 12px; font-weight: 400; }
.menu-sep { height: 1px; background: var(--line); margin: 6px 8px; }
.menu-cta { color: var(--red); font-weight: 700; }
.menu-sub {
  padding: 0 6px 6px 18px;
  display: grid;
  gap: 2px;
  animation: pop 0.16s ease;
}
.menu-subitem {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
}
.menu-subitem:hover { background: var(--red-soft); color: var(--red); }

@media (max-width: 640px) {
  .menu-btn-label { display: none; }
  .menu-btn { width: 40px; padding: 0; }
}

/* Home */
.home {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 48px 28px 80px;
}

.home-search-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 8px 0 36px;
}
.search-box {
  width: min(1360px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 16px;
  height: 52px;
  color: var(--muted);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 30, 30, 0.12);
  color: var(--red);
}
.search-box input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  height: 100%;
  color: var(--ink);
}
.search-box input::placeholder { color: #a39c96; }

.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1360px, 100%);
  margin: 0 auto;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 200px;
  padding: 24px 22px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0.18);
  transform-origin: right center;
  transition: transform 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #dcdcdc;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-arrow { transform: translateX(-4px); color: var(--red); }
.tone-activation { background: #fff; }
.tone-activation .service-icon { background: var(--red-soft); color: var(--red); }
.tone-credit { background: #fafafa; }
.tone-credit .service-icon { background: #efefef; color: #333; }
.tone-icloud { background: #f6f6f6; }
.tone-icloud .service-icon { background: #ececec; color: #444; }

.service-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.service-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 18em;
}
.service-arrow {
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  opacity: 0.7;
  transition: transform 0.22s ease;
  display: inline-flex;
}

@media (max-width: 720px) {
  .home {
    min-height: auto;
    display: block;
    padding: 12px 10px 36px;
  }
  .home-hero {
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home-search-wrap { margin: 0 0 18px; }
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    min-height: 0;
  }
  .service-card {
    min-height: 22vh;
    min-width: 0;
    padding: 16px 8px 12px;
    border-radius: 16px;
    align-items: center;
    text-align: center;
    justify-content: center;
  }
  .service-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 14px;
  }
  .service-icon svg { width: 26px; height: 26px; }
  .service-card h2 {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    width: 100%;
    overflow-wrap: anywhere;
  }
  .service-card p,
  .service-arrow { display: none; }
}

/* Footer */
.site-footer {
  width: 100%;
  margin-top: auto;
  background: #ececec;
  border-top: 1px solid #e0e0e0;
  color: var(--ink);
}
.footer-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px 28px 22px;
  display: grid;
  gap: 16px;
}
.footer-brand p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
}
.footer-nav a:hover { color: var(--red); }
.copyright {
  margin: 4px 0 0;
  font-size: 12px;
  color: #8a8a8a;
}

/* Pages */
.page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 28px 28px 64px;
}
.page-head { margin-bottom: 22px; }
.page-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.page-head h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.03em; }
.eyebrow {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lede { margin: 0; color: var(--muted); max-width: 40em; }

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  align-items: center;
}
.mini-search {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  height: 42px;
  color: var(--muted);
}
.mini-search input {
  border: 0; outline: none; width: 100%; background: transparent; color: var(--ink);
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters select {
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0 12px;
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.03);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.product-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.product-card-media {
  position: relative;
  background: #f7f7f7;
  height: 132px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.product-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-brand {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-card h3, .cart-item h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
}
.product-desc { display: none !important; }
.product-card-foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.price { font-weight: 800; font-size: 14px; }
.price-from { font-weight: 500; color: var(--muted); font-size: 12px; }
.product-card-foot .price {
  width: 100%;
  text-align: right;
  font-size: 15px;
}
.product-card-foot .price del { display: none; }
.ghost-btn,
.card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.product-card:hover .card-cta { background: var(--red); }

.brand-mark {
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 20px;
}

.badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}
.badge-new { background: #ecfdf3; color: #15803d; }
.badge-hot { background: var(--red-soft); color: var(--red); }
.badge-ok { background: #ecfdf3; color: #15803d; }

/* Product page */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}
.crumbs a:hover { color: var(--red); }
.product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 36px;
}
.product-visual {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 320px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.product-visual.tone-activation { background: var(--activation); }
.product-visual.tone-credit { background: var(--credit); }
.product-visual.tone-icloud { background: var(--icloud); }
.product-info h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.03em; }
.option-group { margin: 18px 0; }
.option-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #44403c;
}
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.segmented button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 8px 14px;
  color: var(--ink);
  transition: 0.18s ease;
}
.segmented button:hover { border-color: #cfcfcf; }
.segmented button.is-active {
  background: var(--red-soft);
  border-color: #e3b4b4;
  color: var(--red-dark);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(200, 30, 30, 0.08);
}
.dyn-fields {
  display: grid;
  gap: 12px;
  margin: 8px 0 6px;
}
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  border-color: #e3b3b3;
  box-shadow: 0 0 0 4px rgba(200, 30, 30, 0.08);
}
.buy-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.final-price {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  animation: priceIn 0.25s ease;
}
@keyframes priceIn {
  from { opacity: 0.4; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 700;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--red); }
.btn-primary.full { width: 100%; }
.btn-primary.inline { display: inline-flex; }
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
}
.btn-ghost:hover { border-color: #d7cfc6; }
.form-error { color: var(--red); font-size: 13px; margin: 8px 0 0; }

.tabs { margin-top: 8px; }
.tab-list {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}
.tab-list button {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-list button.is-active { color: var(--ink); border-bottom-color: var(--red); }
.tab-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  padding: 18px 20px;
}
.tab-panel p { margin: 0; color: #44403c; }
.specs { display: grid; gap: 8px; margin: 0; }
.specs > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }

.mobile-acc { display: none; }
.accordion { display: grid; gap: 8px; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font-weight: 700;
  text-align: right;
}
.acc-body { padding: 0 16px 14px; color: #44403c; }
.acc-body p { margin: 0; }

@media (max-width: 800px) {
  .product-hero { grid-template-columns: 1fr; }
  .product-visual { min-height: 220px; }
  .desktop-tabs { display: none; }
  .mobile-acc { display: grid; gap: 8px; }
}

/* Cart / checkout */
.cart-layout, .checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  align-items: start;
}
.cart-list { display: grid; gap: 12px; }
.cart-item, .surface, .auth-card, .order-card, .success-card, .cart-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 14px;
  align-items: start;
}
.cart-item-body h3 { font-size: 15px; }
.muted { color: var(--muted); margin: 2px 0; }
.tiny { font-size: 12px; }
.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-row button {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.text-danger { width: auto !important; border: 0 !important; color: var(--red); background: transparent !important; }
.cart-item-price { font-weight: 800; white-space: nowrap; }
.cart-summary, .surface { padding: 18px; }
.cart-summary h2, .surface h2 { margin: 0 0 14px; font-size: 16px; }
.sum-row {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 16px;
  font-size: 15px;
}
.mini-items { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.mini-items li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.mini-items strong { color: var(--ink); }
.mt { margin-top: 22px; }

@media (max-width: 800px) {
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: auto 1fr; }
  .cart-item-price { grid-column: 2; }
}

.empty {
  background: #fff;
  border: 1px dashed #d8d8d8;
  border-radius: 16px;
  padding: 36px 16px;
  text-align: center;
  color: var(--muted);
}
.center { text-align: center; }
.text-link { color: var(--red); font-weight: 700; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.auth-page { display: flex; justify-content: center; }
.auth-card { width: min(420px, 100%); padding: 22px; display: grid; gap: 12px; }
.slim { max-width: 560px; }
.prose p { margin: 0 0 12px; }
.success-card { padding: 28px; max-width: 480px; margin: 20px auto; }

.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}
.wallet-chip strong { color: var(--ink); }
.order-list { display: grid; gap: 12px; }
.order-card { padding: 16px; }
.order-top { display: flex; justify-content: space-between; align-items: center; }
.order-card ul { margin: 8px 0; padding-right: 16px; color: var(--muted); font-size: 13px; }

.toasts {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: grid;
  gap: 8px;
  z-index: 60;
}
.toast {
  background: #1c1917;
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  animation: pop 0.2s ease;
  font-size: 13.5px;
}
.toast-link { color: #fecaca; font-weight: 700; }

.static a { color: var(--red); font-weight: 600; }

@media (max-width: 640px) {
  .page-head h1, .product-info h1 { font-size: 24px; }
  .buy-row { flex-direction: column; align-items: stretch; }
}


/* WordPress / WooCommerce */
body.rom1-theme { display: flex; flex-direction: column; min-height: 100vh; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { height: 36px; width: auto; }
.cart-badge[hidden], .cart-badge.is-empty { display: none !important; }

.product-card-media img {
  max-height: 92px;
  width: auto;
  object-fit: contain;
}
.product-card .price del { color: #999; font-weight: 500; margin-left: 6px; }
.product-card .price ins { text-decoration: none; }

.woocommerce-wrap ul.products { display: contents; }
.woocommerce-pagination { margin-top: 24px; }
.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  justify-content: center;
}
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}
.woocommerce-pagination .current { border-color: var(--red); color: var(--red); font-weight: 700; }

.product-visual .woocommerce-product-gallery { width: 100%; padding: 20px; }
.product-visual .woocommerce-product-gallery__image img,
.product-visual img {
  margin: 0 auto;
  max-height: 280px;
  width: auto;
  object-fit: contain;
}
.product-info .price { font-size: 22px; font-weight: 800; color: var(--ink); }
.product-info .woocommerce-product-details__short-description { color: var(--muted); }
.product-info .cart { margin-top: 16px; }
.product-info .quantity { display: none; margin: 0 0 12px; }
.product-info .quantity:has(input:not([min="1"])),
.product-info .quantity:has(input:not([max="1"])) {
  display: grid;
  gap: 6px;
}
.product-info .quantity label.screen-reader-text {
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.product-info .quantity input.qty {
  width: 100%;
  max-width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.RNAddToCartContainer,
.product-info .rednao,
.product-info .rednaoWooRow {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100% !important;
}
.RNAddToCartContainer .rednaoWooColumn,
.RNAddToCartContainer .rednaoControl,
.RNAddToCartContainer .rnTextFieldInput {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
}
.RNAddToCartContainer .rednaoLabel,
.RNAddToCartContainer label,
.rednao-rendered-form label {
  display: block;
  margin: 0 0 8px !important;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.RNAddToCartContainer input[type="text"],
.RNAddToCartContainer input[type="email"],
.RNAddToCartContainer input[type="number"],
.RNAddToCartContainer textarea,
.RNAddToCartContainer select,
.rednaoControl input[type="text"],
.rednaoControl input[type="email"],
.rednaoControl textarea,
.rednaoControl select {
  width: 100% !important;
  height: 52px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  padding: 0 14px !important;
  background: #f5f5f5 !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 15px !important;
  color: var(--ink) !important;
}
.RNAddToCartContainer textarea,
.rednaoControl textarea { height: auto !important; min-height: 96px; padding: 12px 14px !important; }
.RNAddToCartContainer input:focus,
.rednaoControl input:focus,
.rednaoControl textarea:focus {
  border-color: var(--red) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(200,30,30,0.12) !important;
}
.rnRequiredInd { color: var(--muted) !important; }
.OptionAmount,
.FinalTotal,
label:has(+ .OptionAmount),
label:has(+ .FinalTotal) {
  display: none !important;
}
.single_add_to_cart_button,
.checkout-button,
.woocommerce-button,
button.button.alt,
a.button.alt,
.woocommerce #place_order,
.woocommerce-form-login .button,
.woocommerce-form-register .button {
  background: var(--red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.single_add_to_cart_button:hover,
.checkout-button:hover,
button.button.alt:hover {
  background: var(--red) !important;
}
.woocommerce-variation-price { display: none !important; }
.reset_variations { font-size: 12px; color: var(--muted); }
.variations { width: 100%; border: 0; }
.variations th, .variations td {
  display: block;
  text-align: right;
  border: 0;
  padding: 0 0 12px;
  background: transparent;
}
.variations th label { font-size: 13px; font-weight: 700; }

.woocommerce-tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: visible;
  height: auto;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-tabs ul.tabs a {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 600;
  box-shadow: none;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.woocommerce-tabs .panel,
.woocommerce-Tabs-panel {
  padding: 18px 20px;
  margin: 0;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.woocommerce-tabs .panel h2 { display: none; }
.woocommerce-tabs .panel p,
.woocommerce-Tabs-panel p {
  margin: 0 0 12px;
  height: auto;
  overflow: visible;
  white-space: normal;
}

.woocommerce table.shop_table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  border-collapse: separate;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--line);
  padding: 12px;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-account input.input-text,
.woocommerce form .form-row input.input-text {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  height: auto;
}
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  border-top-color: var(--red);
  background: #fff;
  border-radius: 12px;
}
.woocommerce-error { border-top-color: var(--red); }
.onsale { display: none; }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 8px; justify-content: center; padding: 8px; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 8px; }

.filters .woocommerce-ordering { margin: 0; }
.filters .woocommerce-ordering select {
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0 12px;
}
.woo-page .surface { max-width: none; }
.star-rating { display: none !important; }
.woocommerce-product-rating { display: none; }

ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  float: none !important;
  width: 100% !important;
}
ul.products::before, ul.products::after { display: none !important; content: none !important; }
ul.products li.product,
ul.products .product-card {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}
@media (max-width: 1100px) {
  ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  ul.products { grid-template-columns: 1fr; }
}
.woocommerce-result-count { display: none; }


/* product page cleanup */
.product_meta, .sku_wrapper, .posted_in, .tagged_as, .woocommerce-product-rating { display: none !important; }
.product-hero .product-visual,
.product-hero .woocommerce-product-gallery,
.woocommerce div.product div.images,
.woocommerce #content div.product div.images {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}
.product-hero .product-info,
.product-hero .summary,
.woocommerce div.product div.summary,
.woocommerce #content div.product div.summary {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}
.product-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  height: auto;
  overflow: visible;
}
.product-info .product_title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
}
.product-info .price {
  display: inline-block;
  margin: 8px 0 16px;
  font-size: 26px !important;
  color: var(--red) !important;
  font-weight: 800;
}
.product-info .woocommerce-product-details__short-description {
  padding: 12px 0 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.product-info .woocommerce-product-details__short-description p {
  margin: 0 0 10px;
  height: auto;
  overflow: visible;
  white-space: normal;
}
.product-info form.cart {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.single_add_to_cart_button { width: 100%; margin-top: 8px; }
.product-visual {
  background: #fafafa !important;
  min-height: 360px;
  height: auto;
  align-self: stretch;
}
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-wrap ul.products { display: grid !important; }


/* Home lists */
.home-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(1360px, 100%);
  margin: 28px auto 0;
}
.home-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.home-list h2 {
  margin: 0;
  padding: 12px 16px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.home-list-more {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  flex-shrink: 0;
}
.home-list-more:hover { background: #fff; color: var(--red); }
.home-list ul { list-style: none; margin: 0; padding: 0 16px 8px; }
.home-list li { border-top: 1px solid var(--line); }
.home-list li:first-child { border-top: 0; }
.home-list li a, .home-list li.is-empty {
  display: block; padding: 10px 0; font-size: 13.5px;
}
.home-list li a:hover { color: var(--red); }
.home-list li.is-empty { color: var(--muted); }
@media (max-width: 720px) {
  .home-lists { grid-template-columns: 1fr; margin-top: 20px; }
}

/* Static pages */
.page.static .surface.slim {
  max-width: 720px; margin: 0 auto; padding: 22px 24px; line-height: 1.9;
}
.page.static .prose p { margin: 0 0 14px; color: var(--ink); }
.page.static .prose a { color: var(--red); font-weight: 700; }

/* Mini checkout / cart */
body.woocommerce-checkout .page-head,
body.woocommerce-cart .page-head { display: none; }
body.woocommerce-checkout .woo-surface,
body.woocommerce-checkout .surface,
body.woocommerce-cart .woo-surface,
body.woocommerce-cart .surface {
  background: transparent; border: 0; box-shadow: none;
  max-width: 440px; margin: 24px auto 48px; padding: 0;
}
.rom1-mini-checkout {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 22px 22px; display: grid; gap: 12px;
}
.rom1-mini-checkout h1 { margin: 0 0 4px; font-size: 20px; text-align: center; }
.rom1-order-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rom1-order-lines li {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.rom1-order-lines em { color: var(--muted); font-style: normal; }
.rom1-order-total { margin: 0; font-weight: 800; font-size: 16px; }
.rom1-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.rom1-field input {
  height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px;
}
.rom1-pay-btn {
  width: 100%; background: var(--red) !important; color: #fff !important;
  border: 0; border-radius: 12px; padding: 13px 16px; font-weight: 800; font-size: 14.5px;
}
.rom1-pay-btn.is-outline {
  background: #fff !important; color: var(--red) !important; border: 2px solid var(--red) !important;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.rom1-pay-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }
.rom1-cart-lines { list-style: none; margin: 0 0 8px; padding: 0; }
.rom1-cart-row { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.rom1-cart-row strong { font-size: 14.5px; overflow-wrap: anywhere; }
.rom1-cart-extra, .rom1-order-view .rom1-order-row em + em { color: var(--ink); font-weight: 700; }
.rom1-cart-row-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rom1-cart-row-meta label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.rom1-cart-qty {
  width: 64px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  text-align: center; background: #f5f5f5; font-weight: 800;
}
.rom1-cart-remove { color: var(--red) !important; font-weight: 800; font-size: 13px; white-space: nowrap; }
a.rom1-pay-btn { line-height: 1; padding: 13px 16px; }

/* Account / login */
body.woocommerce-account .page-head { display: none; }
body.woocommerce-account .woo-surface,
body.woocommerce-account .surface {
  background: transparent; border: 0; box-shadow: none;
  max-width: none; margin: 0 auto; padding: 0;
}
body.woocommerce-account .page.static {
  background: #ececec;
  min-height: calc(100dvh - var(--header-h) - 80px);
  padding: 20px 18px 48px;
}
body.rom1-login-page .page.static {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center;
  background: #e9e9e9;
}
body.rom1-account-page { overflow-x: hidden; }
body.rom1-account-page .page.static {
  display: block;
  padding: 0 !important;
  min-height: calc(100dvh - var(--header-h));
  background: #f3f3f3;
  overflow-x: hidden;
}
body.rom1-account-page .woo-surface,
body.rom1-account-page .surface {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  min-height: calc(100dvh - var(--header-h));
}
body.admin-bar.rom1-account-page .page.static,
body.admin-bar.rom1-account-page .woo-surface {
  min-height: calc(100dvh - var(--header-h) - 32px);
}
body.woocommerce-account .woo-surface > p,
body.woocommerce-account .woocommerce > p,
body.woocommerce-cart .woo-surface > p,
body.woocommerce-checkout .woo-surface > p { display: none !important; }
body.woocommerce-account .woocommerce {
  background: transparent; border: 0; padding: 0; margin: 0;
}
.woocommerce-MyAccount-navigation { display: none; }
.woocommerce-MyAccount-content { width: 100%; float: none; padding: 0; }
body.rom1-account-page .woocommerce-order-details,
body.rom1-account-page .woocommerce-customer-details,
body.rom1-account-page table.shop_table.order_details { display: none !important; }

.rom1-login { width: min(420px, 100%); margin: 0 auto; }
.rom1-login-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}
.rom1-login-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: #fff; padding: 22px 16px;
}
.rom1-login-brand .logo-mark { width: 38px; height: 38px; background: #fff; color: var(--red); border-radius: 10px; }
.rom1-login-brand strong { letter-spacing: 0.2em; font-size: 17px; }
.rom1-login-body { padding: 28px 28px 30px; }
.rom1-login-kicker {
  margin: 0 0 6px; text-align: center; color: var(--red);
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
}
.rom1-login-card h1 { margin: 0 0 8px; font-size: 24px; text-align: center; font-weight: 800; }
.rom1-login-lead {
  margin: 0 0 22px; text-align: center; color: var(--muted); font-size: 13.5px; line-height: 1.85;
}
.rom1-otp { display: grid; gap: 10px; }
.rom1-login-label { display: block; font-size: 13px; font-weight: 800; margin: 0 0 8px; }
.rom1-login-input,
.rom1-form .rom1-field input {
  width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 14px;
  padding: 0 14px; background: #f5f5f5; font-size: 16px;
}
.rom1-login-input:focus,
.rom1-form .rom1-field input:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 4px rgba(200,30,30,0.12);
}
.rom1-login-btn,
.rom1-form button[type="submit"],
.page.static .prose .rom1-login-btn,
.page.static .prose a.rom1-login-btn,
body.rom1-account-page .rom1-login-btn,
body.rom1-account-page .rom1-form button[type="submit"] {
  width: 100%; height: 52px; margin-top: 8px; background: var(--red) !important; color: #fff !important;
  border: 0 !important; border-radius: 14px; font-weight: 800; font-size: 15px;
}
.rom1-login-btn:disabled { opacity: 0.65; }
.rom1-login-back {
  display: block; width: 100%; margin-top: 6px; background: transparent; border: 0;
  color: var(--muted); font-weight: 700;
}
.rom1-otp-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rom1-otp-digit {
  height: 58px; text-align: center; font-size: 22px; font-weight: 800;
  border: 1px solid var(--line); border-radius: 14px; background: #f5f5f5; color: var(--ink);
}
.rom1-otp-digit:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(200,30,30,0.12); }
.rom1-otp .form-error { color: var(--red); text-align: center; font-size: 13px; font-weight: 700; }

.rom1-account {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: stretch;
  min-height: calc(100dvh - var(--header-h));
}
.rom1-account-nav {
  position: sticky;
  top: var(--header-h);
  height: calc(100dvh - var(--header-h));
  background: #fff;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
body.admin-bar .rom1-account-nav {
  top: calc(var(--header-h) + 32px);
  height: calc(100dvh - var(--header-h) - 32px);
}
.rom1-account-nav-title {
  margin: 0 4px 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
body.rom1-account-page .rom1-account-nav a,
.page.static .prose .rom1-account-nav a,
.rom1-account-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none;
}
body.rom1-account-page .rom1-account-nav a:hover,
.page.static .prose .rom1-account-nav a:hover,
.rom1-account-nav a:hover {
  background: #fff !important;
  color: var(--ink) !important;
  border-color: #d0d0d0 !important;
}
body.rom1-account-page .rom1-account-nav a.is-active,
.page.static .prose .rom1-account-nav a.is-active,
.rom1-account-nav a.is-active {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
}
body.rom1-account-page .rom1-account-nav a.is-out,
.rom1-account-nav a.is-out {
  color: var(--muted) !important;
  background: #fff !important;
  border-color: var(--line) !important;
}
body.rom1-account-page .rom1-account-nav a.is-out:hover,
.rom1-account-nav a.is-out:hover {
  color: var(--ink) !important;
  background: #fff !important;
}
.rom1-account-main { min-width: 0; padding: 22px 24px 40px; }

.rom1-dash-hello {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 16px; margin: 0 0 14px;
}
.rom1-dash-hello h1,
.rom1-section-head h1 {
  margin: 0 0 4px; font-size: 22px; font-weight: 800;
}
.rom1-dash-hello p { margin: 0; color: var(--muted); font-size: 13.5px; }
.rom1-section-head p {
  margin: 0 0 18px; color: var(--muted); font-size: 13.5px;
}
.rom1-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.rom1-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  display: grid;
  gap: 6px;
}
.rom1-stat span { font-size: 12px; color: var(--muted); font-weight: 700; }
.rom1-stat strong { font-size: 22px; font-weight: 800; line-height: 1.3; }
.rom1-stat.is-red { background: var(--red); border-color: var(--red); color: #fff; }
.rom1-stat.is-red span { color: rgba(255,255,255,0.86); }
.rom1-dash-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rom1-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.rom1-box h2 {
  margin: 0;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}
.rom1-box ul { list-style: none; margin: 0; padding: 0 16px 8px; }
.rom1-box li { border-top: 1px solid var(--line); }
.rom1-box li:first-child { border-top: 0; }
.rom1-box li a {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 11px 0; font-size: 13.5px;
}
.rom1-box li a:hover em { color: var(--red); }
.rom1-box li em { font-style: normal; font-weight: 700; }
.rom1-box li span { color: var(--muted); white-space: nowrap; font-size: 12px; }
.rom1-empty { margin: 0; padding: 18px 16px; color: var(--muted); font-size: 13.5px; }

.rom1-order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rom1-order-row {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.rom1-orders .rom1-order-row:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.06); border-color: #d8d8d8; }
.rom1-order-row a, .rom1-order-row > div:first-child {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; align-items: center; min-width: 0;
}
.rom1-order-main { min-width: 0; overflow: hidden; }
.rom1-order-no { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.rom1-order-row strong { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rom1-order-row em { display: block; color: var(--muted); font-style: normal; font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rom1-orders .rom1-order-row .rom1-status { margin-top: 8px; }
.rom1-order-view .rom1-order-row strong,
.rom1-order-view .rom1-order-row em {
  white-space: normal; overflow: visible; text-overflow: unset; overflow-wrap: anywhere;
}
.rom1-order-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap;
}
.rom1-order-head h1 { margin: 0; }
.rom1-order-sum {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800;
}
.rom1-order-sum { display: none !important; }
.rom1-order-view .rom1-order-total { display: none !important; }
.rom1-order-meta { text-align: left; display: grid; gap: 2px; justify-items: end; flex-shrink: 0; }
.rom1-order-meta span { font-size: 12px; color: var(--muted); }
.rom1-order-meta b { font-size: 14px; }
.rom1-order-meta i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; }
body.rom1-account-page .rom1-order-row a,
body.rom1-account-page .page.static .prose .rom1-order-row a,
body.rom1-account-page .rom1-box a,
body.rom1-account-page .page.static .prose .rom1-box a,
.rom1-order-row a {
  color: var(--ink) !important;
  font-weight: inherit;
}
.rom1-orders .rom1-status.s-pending {
  background: #f0f0f0 !important;
  color: #555 !important;
}
.rom1-orders .rom1-status.s-replied,
.rom1-order-view .rom1-status.s-replied {
  background: #e7f6ec !important;
  color: #147a3f !important;
}
.rom1-orders .rom1-status.s-closed,
.rom1-order-view .rom1-status.s-closed {
  background: #ececec !important;
  color: #555 !important;
}
.rom1-orders .rom1-order-row:has(.s-replied) {
  background: #f6fbf7;
  border-color: #d7eadc;
}
.rom1-orders .rom1-order-row:has(.s-closed) {
  background: #f5f5f5;
  border-color: #e0e0e0;
}
.rom1-order-total { margin: 14px 0 0; font-weight: 800; }
.rom1-pager { display: flex; gap: 8px; margin-top: 14px; }
.rom1-pager a {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 700;
}

.rom1-wallet { display: grid; gap: 12px; max-width: none; width: 100%; }
.rom1-wallet-balance {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 18px; display: grid; gap: 6px;
}
.rom1-wallet-balance span { font-size: 12px; color: var(--muted); font-weight: 700; }
.rom1-wallet-balance strong { font-size: 26px; font-weight: 800; color: var(--red); line-height: 1.3; overflow-wrap: anywhere; }
.rom1-wallet-charge {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  display: grid; gap: 10px;
}
.rom1-wallet-charge h2 { margin: 0; font-size: 15px; font-weight: 800; }
.rom1-wallet-charge .rom1-form-hint { margin: 0; padding: 0; }
.rom1-wallet form { margin: 0; display: grid; gap: 10px; }
.rom1-wallet .yith-funds-add-fund-wrapper,
.rom1-wallet .yith-funds-shortcode-badge {
  padding: 0 !important; margin: 0 !important; display: grid !important; gap: 10px !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important; max-width: none !important;
}
.rom1-wallet .yith-funds-add-fund-title,
.rom1-wallet .yith-funds-shortcode-badge > label,
.rom1-wallet label[for="yith-funds-add-amount"] { display: none !important; }
.rom1-wallet .yith-funds-add-fund-form {
  display: flex !important; align-items: center; gap: 8px; width: 100%;
  border: 1px solid var(--line) !important; background: #f5f5f5 !important; border-radius: 14px !important;
  padding: 0 12px !important; min-height: 52px; box-shadow: none !important;
}
.rom1-wallet .yith-funds-add-fund-currency { font-weight: 800; color: var(--muted); white-space: nowrap; }
.rom1-wallet .yith-funds-add-fund-input { flex: 1; min-width: 0; }
.rom1-wallet .yith-funds-add-fund-input input,
.rom1-wallet #yith-funds-add-amount {
  width: 100% !important; border: 0 !important; background: transparent !important;
  height: 50px !important; outline: none; font-size: 16px; box-shadow: none !important; padding: 0 !important;
}
.rom1-wallet .yith-funds-add-fund,
.rom1-wallet input.button,
.rom1-wallet input[type="submit"] {
  width: 100% !important; height: 50px !important; background: var(--red) !important; color: #fff !important;
  border: 0 !important; border-radius: 14px !important; font-weight: 800 !important; margin: 0 !important;
  box-shadow: none !important; float: none !important;
}
.rom1-wallet .yith-funds-add-fund.disabled { opacity: 1 !important; pointer-events: auto; }
.rom1-wallet .yith-funds-endpoint-wrapper h2,
.rom1-wallet .yith-funds-endpoint-header,
.rom1-wallet .yith-funds-endpoint-balance,
.rom1-wallet .yith-funds-add-fund-error:empty { display: none !important; }

.rom1-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.rom1-form .rom1-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; margin: 0; }
.rom1-form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rom1-form-hint { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 14px; margin: 0 0 14px;
}

@media (max-width: 860px) {
  .rom1-account { grid-template-columns: 1fr; min-height: 0; width: 100%; }
  .rom1-account-nav {
    position: static;
    height: auto;
    max-height: none;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 10px;
    overflow: visible;
  }
  .rom1-account-nav-title { grid-column: 1 / -1; margin: 0 2px 2px; }
  .rom1-account-nav a {
    width: 100%; padding: 10px 8px; font-size: 13px;
    min-height: 44px; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  }
  .rom1-account-nav a.is-out { grid-column: 1 / -1; }
  .rom1-account-main { padding: 14px 10px 28px; overflow-x: hidden; }
  .rom1-stat-row, .rom1-dash-cols, .rom1-form-split { grid-template-columns: 1fr; }
  .rom1-stat { padding: 14px 12px; }
  .rom1-stat strong { font-size: 18px; overflow-wrap: anywhere; }
  .rom1-dash-hello h1, .rom1-section-head h1 { font-size: 18px; overflow-wrap: anywhere; }
  .rom1-order-row a, .rom1-order-row > div:first-child, .rom1-ticket-strip, .rom1-tx-list li {
    flex-direction: column; align-items: flex-start; gap: 8px;
  }
  .rom1-order-row strong, .rom1-order-row em, .rom1-ticket-main strong, .rom1-tx-main strong {
    white-space: normal; overflow: visible; text-overflow: unset; overflow-wrap: anywhere;
  }
  .rom1-order-meta, .rom1-ticket-side, .rom1-tx-side { text-align: right; justify-items: start; width: 100%; }
  .rom1-box li, .rom1-box li a { flex-wrap: wrap; min-width: 0; }
  .rom1-box li em { overflow-wrap: anywhere; min-width: 0; }
  .rom1-box li span { white-space: normal; }
  .rom1-head-row { flex-direction: column; align-items: stretch; }
  .rom1-btn-inline { width: 100% !important; }
  .rom1-wallet, .rom1-form, .rom1-orders { max-width: none; width: 100%; }
  .rom1-wallet-balance strong { font-size: 22px; }
  .rom1-notice-strip > summary { flex-wrap: wrap; }
  .rom1-notice-strip time { width: 100%; }
  .header-inner { padding: 0 12px; }
}
@media (max-width: 480px) {
  .rom1-account-nav { gap: 6px; padding: 10px 8px; }
  .rom1-account-nav a { font-size: 12px; padding: 8px 6px; }
  .rom1-account-main { padding: 12px 8px 24px; }
  .rom1-form { padding: 14px 12px; }
}

.RNAddToCartContainer {
  background: transparent; border: 0; padding: 0;
}
.rom1-form select, .rom1-form textarea, .rom1-form input[type="text"] {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; background: #f5f5f5; font-size: 15px;
}
.rom1-head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rom1-head-row .rom1-section-head, .rom1-head-row > div { min-width: 0; }
.rom1-btn-inline {
  width: auto !important; height: 42px !important; padding: 0 16px !important; margin: 0 !important;
  display: inline-flex !important; align-items: center; justify-content: center; white-space: nowrap;
}
.rom1-drop {
  position: relative;
  display: grid; place-items: center; min-height: 118px; cursor: pointer;
  border: 2px dashed #c8c8c8; border-radius: 16px; background: #fafafa;
  text-align: center; padding: 18px 12px; color: var(--muted); font-weight: 700;
}
.rom1-drop input { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.rom1-drop.is-ready { border-color: var(--ink); color: var(--ink); background: #fff; }
.rom1-ticket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rom1-ticket-strip,
.page.static .prose .rom1-ticket-strip {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0;
  color: var(--ink) !important;
}
.page.static .prose .rom1-ticket-strip strong,
.rom1-ticket-strip strong { color: var(--ink) !important; }
.rom1-ticket-main { min-width: 0; overflow: hidden; }
.rom1-ticket-main strong, .rom1-ticket-main em {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rom1-ticket-main em { color: var(--muted); font-style: normal; font-size: 12.5px; font-weight: 500; }
.rom1-ticket-side { display: grid; gap: 4px; justify-items: end; flex-shrink: 0; }
.rom1-ticket-side b { font-size: 12px; color: var(--muted); font-weight: 600; }
.rom1-status {
  display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 99px; background: #f0f0f0; color: #555;
}
.rom1-status.s-pending { background: #fff4e5; color: #9a6700; }
.rom1-status.s-replied { background: #e8f6ee; color: #147a3f; }
.rom1-status.s-closed { background: #ececec; color: #555; }
.rom1-thread { display: grid; gap: 10px; margin: 0 0 16px; }
.rom1-bubble {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; overflow-wrap: anywhere;
}
.rom1-bubble.is-me { background: #f7f7f7; }
.rom1-bubble.is-admin { border-color: #e3b4b4; }
.rom1-bubble p { margin: 6px 0; }
.rom1-bubble em { display: block; color: var(--muted); font-size: 11px; font-style: normal; margin-top: 6px; }
.rom1-backlink { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--muted); }
.rom1-tx-box { margin: 0 0 12px; overflow: hidden; }
.rom1-tx-list { list-style: none; margin: 0; padding: 0 16px 8px; }
.rom1-tx-list li {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 11px 0; border-top: 1px solid var(--line); min-width: 0;
}
.rom1-tx-list li:first-child { border-top: 0; }
.rom1-tx-main { min-width: 0; overflow: hidden; }
.rom1-tx-main strong, .rom1-tx-main em {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rom1-tx-main em { color: var(--muted); font-style: normal; font-size: 12px; font-weight: 500; }
.rom1-tx-side { display: grid; gap: 2px; justify-items: end; flex-shrink: 0; }
.rom1-tx-side b { white-space: nowrap; font-size: 13.5px; }
.rom1-tx-side i { font-style: normal; font-size: 12px; }
.rom1-tx-side i.is-ok { color: #147a3f; }
.rom1-tx-side i.is-wait { color: #9a6700; }
.rom1-form textarea { min-height: 120px; resize: vertical; }
.rom1-notice-feed { display: grid; gap: 8px; }
.rom1-notice-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: block;
}
.rom1-notice-strip > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  min-width: 0;
}
.rom1-notice-strip > summary::-webkit-details-marker { display: none; }
.rom1-notice-dot {
  width: 8px; height: 8px; border-radius: 99px; background: var(--red); flex-shrink: 0;
}
.rom1-notice-title {
  flex: 1;
  min-width: 0;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rom1-notice-strip time,
.rom1-notice-strip.is-empty .rom1-notice-title { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rom1-notice-strip.is-empty {
  display: flex; align-items: center; gap: 10px; padding: 16px; color: var(--muted);
}
.rom1-notice-body {
  padding: 0 16px 14px 34px;
  color: #444;
  font-size: 13.5px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.rom1-notice-strip[open] { border-color: #ddd; }
.rom1-notice-strip[open] .rom1-notice-title { white-space: normal; }

.rom1-flash {
  background: #fff; border: 1px solid var(--red); color: var(--red);
  border-radius: 12px; padding: 10px 14px; font-weight: 700; margin: 0 0 14px;
}
.rom1-box li {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 11px 0; font-size: 13.5px;
}
.rom1-box li em { font-style: normal; font-weight: 700; }
.rom1-box li span { color: var(--muted); font-size: 12px; }

.rom1-ticket-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rom1-ticket-file {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f5f5f5; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font-size: 12.5px; font-weight: 700; color: var(--ink) !important;
}
.rom1-ticket-file.is-img { padding: 4px; }
.rom1-ticket-file img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; display: block; }

.rom1-related { margin-top: 36px; }
.rom1-related h2 { margin: 0 0 16px; font-size: 18px; font-weight: 800; }
.rom1-related .product-grid { grid-template-columns: repeat(4, 1fr); }
.rom1-related .product-card:nth-child(n + 5) { display: none !important; }
@media (max-width: 800px) {
  .rom1-related .product-grid { grid-template-columns: repeat(2, 1fr); }
}

body.rom1-account-page .page,
body.rom1-account-page .prose,
body.rom1-account-page .woo-surface,
body.rom1-account-page .rom1-account,
body.rom1-account-page .rom1-account-main,
body.rom1-account-page .rom1-panel-sec,
body.rom1-account-page .rom1-orders,
body.rom1-account-page .rom1-form,
body.rom1-account-page .rom1-box {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body.rom1-account-page .prose ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1100px) {
  .rom1-account {
    grid-template-columns: 1fr !important;
    min-height: 0;
    width: 100%;
  }
  .rom1-account-nav {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    overflow: visible;
  }
  .rom1-account-nav-title { width: 100%; margin: 0 2px 4px; }
  .rom1-account-nav a {
    flex: 1 1 calc(50% - 6px);
    min-width: calc(50% - 8px);
    width: auto;
    padding: 10px 8px;
    font-size: 13px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .rom1-account-nav a.is-out { flex-basis: 100%; }
  .rom1-account-main { padding: 14px 10px 28px; overflow-x: hidden; }
  .rom1-stat-row, .rom1-dash-cols, .rom1-form-split { grid-template-columns: 1fr !important; }
  .rom1-head-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .rom1-btn-inline { width: 100% !important; }
  .rom1-form, .rom1-orders, .rom1-panel-sec, .rom1-wallet, .rom1-thread {
    width: 100%;
    max-width: 100%;
  }
  .rom1-form .rom1-field,
  .rom1-form input,
  .rom1-form textarea,
  .rom1-form select,
  .rom1-drop {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }
  .rom1-order-row a,
  .rom1-order-row > div:first-child,
  .rom1-ticket-strip,
  .rom1-tx-list li {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
    width: 100%;
  }
  .rom1-order-main, .rom1-ticket-main, .rom1-tx-main,
  .rom1-order-meta, .rom1-ticket-side, .rom1-tx-side {
    width: 100%;
    max-width: 100%;
    text-align: right;
    justify-items: start;
    min-width: 0;
  }
  .rom1-order-row strong, .rom1-order-row em,
  .rom1-ticket-main strong, .rom1-ticket-main em,
  .rom1-tx-main strong, .rom1-tx-main em,
  .rom1-tx-side b {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    overflow-wrap: anywhere;
  }
  .rom1-box li, .rom1-box li a { flex-wrap: wrap; min-width: 0; width: 100%; }
  .rom1-box li span, .rom1-box li em { white-space: normal; overflow-wrap: anywhere; }
  .rom1-bubble { max-width: 100%; }
  .rom1-ticket-files { max-width: 100%; }
}
body.rom1-account-page,
body.rom1-account-page .page,
body.rom1-account-page .page.static,
body.rom1-account-page .woo-surface,
body.rom1-account-page .surface,
body.rom1-account-page .woocommerce,
body.rom1-account-page .rom1-account {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.rom1-account {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
}

.rom1-account-nav {
  width: 250px;
  flex: 0 0 250px;
}

.rom1-account-main {
  flex: 1 1 auto;
  min-width: 0;
}

.rom1-drop { position: relative; }

@media (max-width: 900px) {
  html, body.rom1-account-page {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  body.rom1-account-page .page,
  body.rom1-account-page .page.static,
  body.rom1-account-page .woo-surface,
  body.rom1-account-page .surface,
  body.rom1-account-page .woocommerce,
  body.rom1-account-page .rom1-account {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    float: none !important;
    overflow-x: hidden !important;
  }

  body.rom1-account-page .rom1-account-nav {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    flex: none !important;
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 10px !important;
    border-left: 0 !important;
    border-bottom: 1px solid #e6e6e6 !important;
    overflow: visible !important;
  }

  body.rom1-account-page .rom1-account-nav-title {
    width: 100% !important;
    flex-basis: 100% !important;
    margin: 0 0 4px !important;
  }

  body.rom1-account-page .rom1-account-nav a {
    flex: 1 1 calc(50% - 6px) !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  body.rom1-account-page .rom1-account-nav a.is-out {
    flex-basis: 100% !important;
  }

  body.rom1-account-page .rom1-account-main {
    display: block !important;
    width: 100% !important;
    padding: 12px 10px 28px !important;
    overflow-x: hidden !important;
  }

  body.rom1-account-page .rom1-stat-row,
  body.rom1-account-page .rom1-dash-cols,
  body.rom1-account-page .rom1-form-split {
    grid-template-columns: 1fr !important;
  }

  body.rom1-account-page .rom1-head-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.rom1-account-page .rom1-btn-inline {
    width: 100% !important;
  }

  body.rom1-account-page .rom1-form,
  body.rom1-account-page .rom1-orders,
  body.rom1-account-page .rom1-panel-sec,
  body.rom1-account-page .rom1-wallet,
  body.rom1-account-page .rom1-thread,
  body.rom1-account-page .rom1-box,
  body.rom1-account-page .rom1-ticket-list,
  body.rom1-account-page .rom1-order-list {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.rom1-account-page input,
  body.rom1-account-page textarea,
  body.rom1-account-page select,
  body.rom1-account-page .rom1-drop,
  body.rom1-account-page .rom1-field,
  body.rom1-account-page .rom1-form .rom1-field {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.rom1-account-page .rom1-order-row a,
  body.rom1-account-page .rom1-ticket-strip,
  body.rom1-account-page .rom1-tx-list li {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body.rom1-account-page .rom1-order-main,
  body.rom1-account-page .rom1-ticket-main,
  body.rom1-account-page .rom1-tx-main,
  body.rom1-account-page .rom1-order-meta,
  body.rom1-account-page .rom1-ticket-side,
  body.rom1-account-page .rom1-tx-side {
    width: 100% !important;
    max-width: 100% !important;
    text-align: right !important;
    justify-items: start !important;
    min-width: 0 !important;
  }

  body.rom1-account-page .rom1-order-row strong,
  body.rom1-account-page .rom1-order-row em,
  body.rom1-account-page .rom1-ticket-main strong,
  body.rom1-account-page .rom1-ticket-main em,
  body.rom1-account-page .rom1-tx-main strong,
  body.rom1-account-page .rom1-tx-main em,
  body.rom1-account-page .rom1-tx-side b,
  body.rom1-account-page h1,
  body.rom1-account-page p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.rom1-account-page .rom1-stat strong {
    font-size: 18px !important;
    overflow-wrap: anywhere !important;
  }
}

/* chat + mobile panel 1.9.2 */
.rom1-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ececec;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin: 0 0 14px;
}
.rom1-chat-row { display: flex; width: 100%; }
.rom1-chat-row.is-me { justify-content: flex-start; }
.rom1-chat-row.is-admin { justify-content: flex-end; }
.rom1-chat-bubble {
  max-width: min(82%, 440px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
}
.rom1-chat-row.is-me .rom1-chat-bubble { border-bottom-right-radius: 4px; }
.rom1-chat-row.is-admin .rom1-chat-bubble {
  background: #e9e9e9;
  border-color: #ddd;
  border-bottom-left-radius: 4px;
}
.rom1-chat-bubble b { display: block; font-size: 12px; font-weight: 800; margin: 0 0 4px; color: var(--muted); }
.rom1-chat-bubble p { margin: 0 0 6px; color: var(--ink); }
.rom1-chat-bubble time { display: block; font-size: 11px; color: var(--muted); }
.rom1-chat-bubble .rom1-ticket-files { margin-top: 8px; }

.rom1-wallet .yith-funds-add-fund-wrapper,
.rom1-wallet .yith-funds-shortcode-badge {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
}
.rom1-wallet .yith-funds-add-fund-form {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.rom1-wallet .yith-funds-add-fund-input { flex: 1 1 auto !important; min-width: 0 !important; }
.rom1-wallet .yith-funds-add-fund-input input,
.rom1-wallet #yith-funds-add-amount {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.rom1-wallet input.yith-funds-add-fund,
.rom1-wallet input[type="submit"].button {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  float: none !important;
}

@media (min-width: 901px) {
  .rom1-account {
    display: flex !important;
    flex-direction: row !important;
  }
  .rom1-account-nav {
    flex: 0 0 250px !important;
    width: 250px !important;
  }
  .rom1-account-main { flex: 1 1 auto; min-width: 0; }
}

@media (max-width: 900px) {
  body.rom1-account-page,
  body.rom1-account-page .page,
  body.rom1-account-page .page.static,
  body.rom1-account-page .woo-surface,
  body.rom1-account-page .surface,
  body.rom1-account-page .woocommerce,
  body.rom1-account-page .rom1-account {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    overflow-x: hidden !important;
  }
  body.rom1-account-page .rom1-account-nav {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 6px !important;
    padding: 10px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.rom1-account-page .rom1-account-nav::-webkit-scrollbar { display: none; }
  body.rom1-account-page .rom1-account-nav-title { display: none !important; }
  body.rom1-account-page .rom1-account-nav a,
  body.rom1-account-page .rom1-account-nav a.is-out {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: auto !important;
    white-space: nowrap !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    border-radius: 999px !important;
  }
  body.rom1-account-page .rom1-account-main {
    display: block !important;
    width: 100% !important;
    padding: 12px 10px 32px !important;
  }
  body.rom1-account-page .rom1-stat-row,
  body.rom1-account-page .rom1-dash-cols,
  body.rom1-account-page .rom1-form-split {
    grid-template-columns: 1fr !important;
  }
  body.rom1-account-page .rom1-wallet .yith-funds-add-fund-form {
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px !important;
  }
  body.rom1-account-page .rom1-wallet .yith-funds-add-fund-currency {
    width: 100% !important;
    text-align: right !important;
  }
  body.rom1-account-page .rom1-drop { min-height: 72px; padding: 12px; }
  body.rom1-account-page .rom1-chat-bubble { max-width: 88%; }
  body.rom1-account-page .rom1-head-row { flex-direction: column; align-items: stretch; }
  body.rom1-account-page .rom1-btn-inline { width: 100% !important; height: 42px !important; }
}

.rom1-chat {
  min-height: 420px;
  padding: 18px;
  width: 100%;
  box-sizing: border-box;
}
.rom1-chat-bubble {
  max-width: 92%;
  padding: 16px 18px;
  font-size: 16px;
}
.rom1-chat-bubble p { font-size: 16px; line-height: 1.85; margin: 0 0 8px; }
.rom1-chat-bubble b { font-size: 13px; }
.rom1-chat-bubble time { font-size: 12px; }
@media (max-width: 900px) {
  .rom1-chat { min-height: 52vh; padding: 14px; }
  .rom1-chat-bubble { max-width: 94%; padding: 14px 16px; }
}

/* account polish + wallet/order flow 1.9.4 */
.menu-pop {
  z-index: 80;
  max-width: calc(100vw - 24px);
}
.menu-group-title {
  padding: 10px 12px 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.icon-close,
.menu-parent,
.menu-sub {
  display: none !important;
}

body.rom1-account-page .rom1-account-main,
body.rom1-account-page .rom1-account-main * {
  min-width: 0;
}
body.rom1-account-page .rom1-account-nav,
body.rom1-account-page .rom1-account-nav a {
  pointer-events: auto;
  touch-action: manipulation;
}
body.rom1-account-page .rom1-account-nav a::before,
body.rom1-account-page .rom1-account-nav a::after {
  content: none !important;
  display: none !important;
}

.rom1-box,
.rom1-box ul,
.rom1-box li,
.rom1-box li a,
.rom1-dash,
.rom1-dash-cols,
.rom1-orders,
.rom1-order-list,
.rom1-order-row,
.rom1-order-line,
.rom1-order-main,
.rom1-order-meta {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.rom1-box { overflow: hidden; }
.rom1-box ul { padding: 0 14px 10px; }
.rom1-box li a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.rom1-box li em,
.rom1-box li span,
.rom1-box h2,
.rom1-dash-hello h1,
.rom1-dash-hello p,
.rom1-section-head h1,
.rom1-section-head p {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.rom1-box li em {
  display: block;
  font-style: normal;
  font-weight: 700;
  line-height: 1.8;
}
.rom1-box li span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
  line-height: 1.8;
}

.rom1-order-view .rom1-order-row {
  overflow: hidden;
}
.rom1-order-view .rom1-order-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  min-width: 0;
}
.rom1-order-view .rom1-order-main,
.rom1-order-view .rom1-order-meta {
  min-width: 0;
}
.rom1-order-view .rom1-order-main strong,
.rom1-order-view .rom1-order-main em,
.rom1-order-view .rom1-order-meta b {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

@media (max-width: 900px) {
  .menu-pop {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }
  body.rom1-account-page .rom1-account-nav {
    position: static !important;
    z-index: 2;
  }
  body.rom1-account-page .rom1-account-nav a,
  body.rom1-account-page .rom1-account-nav a.is-out {
    line-height: 1.2 !important;
    font-size: 12px !important;
  }
  .rom1-box li a,
  .rom1-order-view .rom1-order-line {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .rom1-box li span,
  .rom1-order-view .rom1-order-meta {
    text-align: right !important;
    justify-items: start !important;
  }
  .rom1-chat {
    min-height: 46vh;
  }
}

/* dashboard + page width polish 1.9.5 */
.page.static .surface.slim {
  width: min(920px, calc(100% - 24px));
  max-width: 920px;
  margin: 0 auto;
  padding: 26px 28px;
}
.contact-grid {
  display: grid;
  gap: 16px;
}
.contact-grid p {
  margin: 0;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .woo-surface,
body.woocommerce-checkout .surface,
body.woocommerce-cart .woo-surface,
body.woocommerce-cart .surface {
  width: min(580px, calc(100% - 24px));
  max-width: 580px;
  margin: 28px auto 56px;
}
.rom1-mini-checkout {
  padding: 28px 26px 24px;
  border-radius: 22px;
}
.rom1-mini-checkout h1 {
  font-size: 22px;
  margin-bottom: 8px;
}
.rom1-order-lines li,
.rom1-cart-row {
  padding-top: 12px;
  padding-bottom: 12px;
}

@media (max-width: 900px) {
  .page.static .surface.slim {
    width: calc(100% - 16px);
    padding: 20px 16px;
  }
  body.woocommerce-checkout .woo-surface,
  body.woocommerce-checkout .surface,
  body.woocommerce-cart .woo-surface,
  body.woocommerce-cart .surface {
    width: calc(100% - 16px);
    max-width: none;
    margin: 16px auto 28px;
  }
  .rom1-mini-checkout {
    padding: 20px 16px 18px;
  }
}

body:not(.logged-in) .site-footer,
body:not(.logged-in) .page,
body:not(.logged-in) .home,
body:not(.logged-in) .archive-wrap,
body:not(.logged-in) .single-product {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

body:not(.logged-in) .site-header {
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: auto !important;
}

/* =========================================================================
   ROM1 Account Panel 3.0 — Ultra-Minimal, Clean, Bug-Free RTL Design
   - Mobile (<= 900px): Classic single-row horizontal scrollable pill bar ("ردیفی عین قبلش")
   - Desktop (>= 901px): Sticky full-height sidebar with crisp outline icons
   - Dashboard: Equal-height side-by-side cards (max 5 items), zero clipping, Safari bidi isolate
   - Auth: Minimal native Sign-In / Sign-Up inside /my-account/ (no raw wp-login.php)
   ========================================================================= */
body.rom1-account-page {
  --rp-line: #e8e8ec;
  --rp-ink: #141417;
  --rp-muted: #6e6e77;
  --rp-soft: #f7f7f9;
  --rp-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  --rp-green: #15803d;
  --rp-green-soft: #e9f7ef;
  --rp-amber: #b45309;
  --rp-amber-soft: #fff5e6;
}
body.rom1-account-page .rom1-account-nav .rom1-ni { display: none; }
.rom1-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* ---- WooCommerce system notices inside account panel ---- */
body.rom1-account-page .woocommerce-notices-wrapper { margin: 0 0 14px; }
body.rom1-account-page .woocommerce-error,
body.rom1-account-page .woocommerce-message,
body.rom1-account-page .woocommerce-info {
  list-style: none !important;
  margin: 0 0 12px !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  box-shadow: var(--rp-shadow);
}
body.rom1-account-page .woocommerce-error {
  background: #fff5f5 !important;
  border: 1px solid #f8d0d0 !important;
  color: #b91c1c !important;
}
body.rom1-account-page .woocommerce-message {
  background: var(--rp-green-soft) !important;
  border: 1px solid #cdebd9 !important;
  color: var(--rp-green) !important;
}
body.rom1-account-page .woocommerce-info {
  background: #fff !important;
  border: 1px solid var(--rp-line) !important;
  color: var(--rp-ink) !important;
}
body.rom1-account-page .woocommerce-error li,
body.rom1-account-page .woocommerce-message li,
body.rom1-account-page .woocommerce-info li { margin: 0 !important; padding: 0 !important; }

/* ---- Desktop shell (>= 901px): sticky sidebar with crisp outline icons ---- */
@media (min-width: 901px) {
  body.rom1-account-page .page.static,
  body.rom1-account-page .woo-surface,
  body.rom1-account-page .surface,
  body.rom1-account-page .rom1-account {
    margin-top: 0 !important;
    padding-top: 0 !important;
    align-items: start !important;
  }
  body.rom1-account-page .page.static,
  body.rom1-account-page .woo-surface,
  body.rom1-account-page .surface {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
  body.rom1-account-page .rom1-account-nav {
    position: sticky !important;
    top: var(--header-h) !important;
    height: calc(100dvh - var(--header-h)) !important;
    margin: 0 !important;
    padding: 18px 12px 16px !important;
    gap: 4px !important;
    align-self: start !important;
    background: #fff !important;
  }
  body.admin-bar.rom1-account-page .rom1-account-nav {
    top: calc(var(--header-h) + 32px) !important;
    height: calc(100dvh - var(--header-h) - 32px) !important;
  }
  body.rom1-account-page .rom1-account-nav-title { display: none !important; }
  body.rom1-account-page :is(.page.static .prose .rom1-account-nav, .rom1-account-nav) a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    height: 45px !important;
    padding: 0 14px !important;
    font-size: 13.8px !important;
    font-weight: 700 !important;
    text-align: right !important;
    background: transparent !important;
    color: var(--rp-ink) !important;
    border: 1px solid transparent !important;
    border-radius: 13px !important;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  }
  body.rom1-account-page .rom1-account-nav a .rom1-ni {
    display: block;
    width: 19px;
    height: 19px;
    flex: none;
    color: #8a8a93;
    transition: color 0.15s;
  }
  body.rom1-account-page :is(.page.static .prose .rom1-account-nav, .rom1-account-nav) a:hover {
    background: var(--rp-soft) !important;
    border-color: var(--rp-line) !important;
  }
  body.rom1-account-page .rom1-account-nav a:hover .rom1-ni { color: var(--red); }
  body.rom1-account-page :is(.page.static .prose .rom1-account-nav, .rom1-account-nav) a.is-active {
    background: var(--red) !important;
    color: #fff !important;
    border-color: var(--red) !important;
    box-shadow: 0 8px 18px rgba(200, 30, 30, 0.2);
  }
  body.rom1-account-page .rom1-account-nav a.is-active .rom1-ni { color: #fff; }
  body.rom1-account-page :is(.page.static .prose .rom1-account-nav, .rom1-account-nav) a.is-out {
    margin-top: auto;
    color: var(--rp-muted) !important;
  }
  body.rom1-account-page :is(.page.static .prose .rom1-account-nav, .rom1-account-nav) a.is-out:hover {
    color: var(--red) !important;
    background: #fdf2f2 !important;
    border-color: #f5d5d5 !important;
  }
  body.rom1-account-page .rom1-account-main {
    padding: 28px 36px 48px !important;
  }
  body.rom1-account-page .rom1-dash {
    max-width: 980px;
  }
  body.rom1-account-page .rom1-form,
  body.rom1-account-page .rom1-wallet,
  body.rom1-account-page .rom1-order-view,
  body.rom1-account-page .rom1-panel-sec,
  body.rom1-account-page .rom1-account-edit { max-width: 820px; }
}

/* ---- Shared minimal card surface ---- */
body.rom1-account-page .rom1-dash-hello,
body.rom1-account-page .rom1-stat,
body.rom1-account-page .rom1-box,
body.rom1-account-page .rom1-order-row,
body.rom1-account-page .rom1-wallet-balance,
body.rom1-account-page .rom1-wallet-charge,
body.rom1-account-page .rom1-form,
body.rom1-account-page .rom1-ticket-strip,
body.rom1-account-page .rom1-notice-strip,
body.rom1-account-page .rom1-bubble,
body.rom1-account-page .rom1-tx-box,
body.rom1-account-page .rom1-empty-box {
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  box-shadow: var(--rp-shadow);
}

/* ---- Section headers (with fixed head-row spacing so buttons never touch cards below!) ---- */
body.rom1-account-page .rom1-section-head { margin: 0 0 16px; }
body.rom1-account-page .rom1-section-head h1 { margin: 0 0 4px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--rp-ink); }
body.rom1-account-page .rom1-section-head p { margin: 0 !important; font-size: 13px; color: var(--rp-muted); line-height: 1.75; }
body.rom1-account-page .rom1-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px !important;
}

/* ---- Minimal In-Panel Sign-In / Sign-Up Card (Guest state on /my-account/) ---- */
.rom1-auth-card {
  display: grid;
  gap: 16px;
  max-width: 440px;
  margin: 22px auto 32px;
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid var(--rp-line, #e8e8ec);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
.rom1-auth-head { text-align: center; display: grid; gap: 6px; }
.rom1-guest-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 2px;
  border-radius: 16px;
  background: #fdf1f1;
  color: var(--red);
}
.rom1-guest-ico svg { width: 24px; height: 24px; }
.rom1-auth-head h1 { margin: 0; font-size: 19px; font-weight: 800; color: var(--rp-ink, #141417); }
.rom1-auth-head p { margin: 0 !important; font-size: 13px; color: var(--rp-muted, #6e6e77); line-height: 1.8; }
.rom1-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: #f4f4f6;
  border-radius: 13px;
}
.rom1-auth-tabs button {
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--rp-muted, #6e6e77);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.rom1-auth-tabs button.is-active {
  background: #fff;
  color: var(--rp-ink, #141417);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
body.rom1-account-page .rom1-auth-card .rom1-form {
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  max-width: none !important;
}
body.rom1-account-page .rom1-auth-pane[hidden] { display: none !important; }
.rom1-pass-wrap { position: relative; display: flex; align-items: center; width: 100%; }
.rom1-pass-wrap input { padding-left: 62px !important; }
.rom1-pass-eye {
  position: absolute;
  left: 8px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: #eeeef1;
  color: #52525b;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.rom1-auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}
body.rom1-account-page .rom1-auth-card label.rom1-check,
.rom1-check {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  width: auto !important;
  color: var(--rp-muted);
  cursor: pointer;
  font-weight: 600;
}
body.rom1-account-page .rom1-auth-card label.rom1-check input[type="checkbox"],
.rom1-check input {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 18px !important;
  accent-color: var(--red);
}
.rom1-auth-meta a { color: var(--red) !important; font-weight: 700; }
.rom1-auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--rp-line, #e8e8ec);
  font-size: 12.5px;
  color: var(--rp-muted, #6e6e77);
}
.rom1-auth-links a { color: var(--rp-ink, #141417) !important; font-weight: 700; }
.rom1-auth-links a:hover { color: var(--red) !important; }

/* ---- Dashboard greeting ---- */
body.rom1-account-page .rom1-dash-hello {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  margin: 0 0 14px;
  background: linear-gradient(135deg, #ffffff 0%, #fcf7f7 100%);
}
body.rom1-account-page .rom1-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(200, 30, 30, 0.22);
}
body.rom1-account-page .rom1-hello-text { min-width: 0; }
body.rom1-account-page .rom1-dash-hello h1 { margin: 0 0 2px; font-size: 18.5px; font-weight: 800; line-height: 1.55; }
body.rom1-account-page .rom1-dash-hello p { margin: 0 !important; font-size: 12.5px; color: var(--rp-muted); }

/* ---- Dashboard stat cards ---- */
body.rom1-account-page .rom1-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
body.rom1-account-page .rom1-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: #fff;
  color: var(--rp-ink) !important;
  text-decoration: none !important;
}
body.rom1-account-page .rom1-stat-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #f4f4f6;
  color: #52525b;
}
body.rom1-account-page .rom1-stat-ico svg { width: 20px; height: 20px; }
body.rom1-account-page .rom1-stat > div { display: grid; gap: 1px; min-width: 0; }
body.rom1-account-page .rom1-stat span { font-size: 12px; font-weight: 700; color: var(--rp-muted); }
body.rom1-account-page .rom1-stat strong { font-size: 19px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
body.rom1-account-page .rom1-stat.is-red {
  background: linear-gradient(135deg, #d62828 0%, #b51818 100%);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(200, 30, 30, 0.2);
}
body.rom1-account-page .rom1-stat.is-red .rom1-stat-ico { background: rgba(255, 255, 255, 0.18); color: #fff; }
body.rom1-account-page .rom1-stat.is-red span { color: rgba(255, 255, 255, 0.88); }
body.rom1-account-page .rom1-stat.is-red strong { color: #fff; }

/* ---- Two side-by-side equal-height dashboard boxes (max 5 items, zero clipping, Safari isolate) ---- */
body.rom1-account-page .rom1-dash-cols {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}
body.rom1-account-page .rom1-dash-cols > .rom1-box {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #fff;
}
body.rom1-account-page .rom1-dash-cols > .rom1-box > h2 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 13px 16px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  background: transparent !important;
  border-bottom: 1px solid var(--rp-line) !important;
}
body.rom1-account-page .rom1-box-more {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red) !important;
  padding: 2px 10px;
  border-radius: 99px;
  background: #fdf1f1;
}
body.rom1-account-page .rom1-dash-cols > .rom1-box > ul {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 16px 8px !important;
  list-style: none !important;
  overflow: visible !important;
}
body.rom1-account-page .rom1-dash-cols > .rom1-box > .rom1-empty {
  flex: 1 1 auto !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 24px 14px !important;
  text-align: center !important;
}
body.rom1-account-page .rom1-dash-cols .rom1-box li {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
  border-top: 1px solid #f1f1f4 !important;
}
body.rom1-account-page .rom1-dash-cols .rom1-box li:first-child { border-top: 0 !important; }
body.rom1-account-page .rom1-dash-cols .rom1-box li a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 11px 0 !important;
  overflow: visible !important;
}
body.rom1-account-page .rom1-dash-cols .rom1-box li em {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  font-size: 13.5px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.75 !important;
  text-align: right !important;
  color: var(--rp-ink) !important;
}
body.rom1-account-page .rom1-dash-cols .rom1-box li a > span {
  display: block !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: var(--rp-muted) !important;
  text-align: right !important;
  overflow: visible !important;
  white-space: normal !important;
}
body.rom1-account-page .rom1-dash-cols .rom1-box li a > span * {
  display: inline !important;
  white-space: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  text-align: inherit !important;
  unicode-bidi: isolate !important;
}

/* ---- Status badges ---- */
body.rom1-account-page .rom1-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.6;
  border-radius: 99px;
  background: #f4f4f6;
  color: #52525b;
  white-space: nowrap;
}
body.rom1-account-page .rom1-status::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
body.rom1-account-page .rom1-status.s-pending,
body.rom1-account-page .rom1-orders .rom1-status.s-pending { background: var(--rp-amber-soft) !important; color: var(--rp-amber) !important; }
body.rom1-account-page .rom1-status.s-replied,
body.rom1-account-page .rom1-orders .rom1-status.s-replied,
body.rom1-account-page .rom1-order-view .rom1-status.s-replied { background: var(--rp-green-soft) !important; color: var(--rp-green) !important; }
body.rom1-account-page .rom1-status.s-closed,
body.rom1-account-page .rom1-orders .rom1-status.s-closed,
body.rom1-account-page .rom1-order-view .rom1-status.s-closed { background: #f1f1f4 !important; color: #52525b !important; }

/* ---- Orders, Order Details, Delivery Notes & Summary ---- */
body.rom1-account-page .rom1-orders .rom1-order-row {
  position: relative;
  background: #fff;
  border-color: var(--rp-line);
  transition: box-shadow 0.15s, border-color 0.15s;
}
body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-row::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  right: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: var(--rp-amber);
}
body.rom1-account-page .rom1-orders .rom1-order-row.is-s-replied::before { background: var(--rp-green); }
body.rom1-account-page .rom1-orders .rom1-order-row.is-s-closed::before { background: #a1a1aa; }
body.rom1-account-page .rom1-orders .rom1-order-row:hover { box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06); border-color: #dcdce2; }

body.rom1-account-page .rom1-order-notes,
body.rom1-account-page .rom1-order-summary {
  background: #fff;
  padding: 16px 18px;
  margin: 0 0 12px;
}
body.rom1-account-page .rom1-order-notes {
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fffdfd 0%, #ffffff 100%);
  border-color: #f3d6d6;
}
body.rom1-account-page .rom1-order-notes h2 { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--red); }
body.rom1-account-page .rom1-order-notes-list { display: grid; gap: 10px; }
body.rom1-account-page .rom1-order-note-item {
  padding: 12px 14px;
  border-radius: 13px;
  background: #fafafa;
  border: 1px solid var(--rp-line);
}
body.rom1-account-page .rom1-order-note-item p { margin: 0 0 8px !important; font-size: 13.5px; line-height: 1.85; white-space: pre-wrap; unicode-bidi: plaintext; }
body.rom1-account-page .rom1-order-note-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.rom1-account-page .rom1-order-note-foot time { font-size: 11.5px; color: var(--rp-muted); }
body.rom1-account-page .rom1-copy-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--rp-line);
  background: #fff;
  color: var(--rp-ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

body.rom1-account-page .rom1-kvs { display: grid; width: 100%; margin: 8px 0 0; padding: 0; }
body.rom1-account-page .rom1-order-summary .rom1-kvs { margin: 0; }
body.rom1-account-page .rom1-kvs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px dashed #e9e9ec;
}
body.rom1-account-page .rom1-order-summary .rom1-kvs > div:first-child { border-top: 0; padding-top: 0; }
body.rom1-account-page .rom1-kvs dt { margin: 0; flex: none; font-size: 12.5px; font-weight: 600; color: var(--rp-muted); }
body.rom1-account-page .rom1-kvs dd { margin: 0; min-width: 0; font-size: 13px; font-weight: 700; text-align: end; unicode-bidi: plaintext; overflow-wrap: anywhere; }
body.rom1-account-page .rom1-kvs > .is-total { margin-top: 2px; padding-top: 11px; border-top: 1px solid var(--rp-line); }
body.rom1-account-page .rom1-kvs > .is-total dt { font-size: 13px; font-weight: 800; color: var(--rp-ink); }
body.rom1-account-page .rom1-kvs > .is-total dd { font-size: 15.5px; font-weight: 800; color: var(--rp-ink); }
body.rom1-account-page .rom1-order-view .rom1-order-line { display: block; padding: 16px 18px; }
body.rom1-account-page .rom1-order-view .rom1-order-main { overflow: visible; }
body.rom1-account-page .rom1-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
body.rom1-account-page .rom1-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--rp-line);
  color: var(--rp-ink) !important;
  font-size: 13.5px;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s;
}
body.rom1-account-page .rom1-btn-secondary:hover { background: var(--rp-soft); border-color: #d4d4d8; }

/* ---- Wallet ---- */
body.rom1-account-page .rom1-wallet { display: grid; gap: 14px; }
body.rom1-account-page .rom1-wallet-balance {
  padding: 20px 22px;
  background: linear-gradient(135deg, #ffffff 0%, #fcf7f7 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
body.rom1-account-page .rom1-wallet-balance span { font-size: 13px; font-weight: 700; color: var(--rp-muted); }
body.rom1-account-page .rom1-wallet-balance strong { font-size: 24px; font-weight: 800; color: var(--rp-ink); }
body.rom1-account-page .rom1-wallet-charge { padding: 20px; background: #fff; display: grid; gap: 14px; }
body.rom1-account-page .rom1-wallet-charge h2 { margin: 0; font-size: 15.5px; font-weight: 800; }
body.rom1-account-page .rom1-wallet-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
body.rom1-account-page .rom1-preset-chip {
  height: 40px;
  padding: 0 8px;
  border-radius: 12px;
  border: 1px solid var(--rp-line);
  background: var(--rp-soft);
  color: var(--rp-ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
body.rom1-account-page .rom1-preset-chip:hover { border-color: #d4d4d8; background: #fff; }
body.rom1-account-page .rom1-preset-chip.is-active {
  background: #fdf1f1;
  border-color: var(--red);
  color: var(--red);
}
body.rom1-account-page .rom1-wallet-charge .rom1-form {
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ---- Forms ---- */
body.rom1-account-page .rom1-form { display: grid; gap: 14px; padding: 20px; background: #fff; }
body.rom1-account-page .rom1-form .rom1-field { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: var(--rp-ink); }
body.rom1-account-page .rom1-form input[type="text"],
body.rom1-account-page .rom1-form input[type="email"],
body.rom1-account-page .rom1-form input[type="tel"],
body.rom1-account-page .rom1-form input[type="password"],
body.rom1-account-page .rom1-form input[type="number"],
body.rom1-account-page .rom1-form select,
body.rom1-account-page .rom1-form textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--rp-ink);
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 13px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
body.rom1-account-page .rom1-form textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.85; resize: vertical; }
body.rom1-account-page .rom1-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-left: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: left 14px center;
}
body.rom1-account-page .rom1-form input:focus,
body.rom1-account-page .rom1-form select:focus,
body.rom1-account-page .rom1-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3.5px rgba(200, 30, 30, 0.1);
}
body.rom1-account-page .rom1-form-sep { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 13px; font-weight: 800; color: var(--rp-ink); }
body.rom1-account-page .rom1-form-sep em { padding: 2px 9px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--rp-muted); background: #f4f4f6; border-radius: 99px; }
body.rom1-account-page .rom1-form-sep::after { content: ""; flex: 1; height: 1px; background: var(--rp-line); }
body.rom1-account-page .rom1-form-hint { margin: 0 !important; font-size: 12.5px; color: var(--rp-muted); line-height: 1.75; }
body.rom1-account-page .rom1-form-hint.is-warn { color: var(--red); font-weight: 700; }
body.rom1-account-page .rom1-login-btn,
body.rom1-account-page .rom1-form button[type="submit"] {
  height: 48px;
  border: 0;
  border-radius: 13px !important;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  color: #fff !important;
  cursor: pointer;
  background: linear-gradient(180deg, #d52828, #bd1919) !important;
  box-shadow: 0 8px 18px rgba(200, 30, 30, 0.2);
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}
body.rom1-account-page .rom1-login-btn:hover,
body.rom1-account-page .rom1-form button[type="submit"]:hover { filter: brightness(1.05); }
body.rom1-account-page .rom1-login-btn:active,
body.rom1-account-page .rom1-form button[type="submit"]:active { transform: translateY(1px) scale(0.99); }
body.rom1-account-page .rom1-btn-inline { height: 42px !important; padding: 0 18px !important; border-radius: 12px !important; font-size: 13.5px !important; }

/* ---- Upload dropzones & KYC banner ---- */
body.rom1-account-page .rom1-kyc-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: 14px;
  font-size: 13px;
  color: var(--rp-ink);
}
body.rom1-account-page .rom1-drop {
  gap: 4px;
  min-height: 92px;
  padding: 16px 12px;
  color: var(--rp-muted);
  font-size: 13.5px;
  background: #fafafa;
  border: 1.5px dashed #d4d4d8;
  border-radius: 15px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
body.rom1-account-page .rom1-drop::before {
  content: "";
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 16V5M7.5 9.5 12 5l4.5 4.5'/><path d='M5 15v3a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3'/></svg>") center / contain no-repeat;
}
body.rom1-account-page .rom1-drop:hover { border-color: var(--red); background: #fff8f8; color: var(--rp-ink); }
body.rom1-account-page .rom1-drop > span { max-width: 100%; min-width: 0; overflow-wrap: anywhere; line-height: 1.7; }
body.rom1-account-page .rom1-drop.is-ready::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M8 12.5l2.6 2.6L16 9.5'/></svg>");
}
body.rom1-account-page .rom1-drop.is-error { border-style: solid; border-color: var(--red); background: #fff5f5; color: var(--red); }
body.rom1-account-page .rom1-drop.is-ready { border-style: solid; border-color: var(--rp-green); background: var(--rp-green-soft); color: var(--rp-green); }

/* ---- Tickets, Chat, Notices, Transactions & Empty States ---- */
body.rom1-account-page .rom1-ticket-strip { padding: 14px 16px; background: #fff; transition: box-shadow 0.15s, border-color 0.15s; }
body.rom1-account-page .rom1-ticket-strip:hover { box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06); }
body.rom1-account-page .rom1-chat { background: #f5f5f7; border-color: var(--rp-line); border-radius: 18px; }
body.rom1-account-page .rom1-chat-row.is-admin .rom1-chat-bubble { background: #fdf3f3; border-color: #f3d6d6; }
body.rom1-account-page .rom1-chat-bubble { border-radius: 16px; box-shadow: none; }
body.rom1-account-page .rom1-chat-bubble b { color: var(--rp-muted); }
body.rom1-account-page .rom1-flash {
  margin: 0 0 14px;
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rp-green);
  background: var(--rp-green-soft);
  border: 1px solid #cdebd9;
  border-radius: 13px;
}
body.rom1-account-page .rom1-notice-strip { background: #fff; }
body.rom1-account-page .rom1-tx-box { background: #fff; margin: 0 0 14px; }
body.rom1-account-page .rom1-tx-box > h2 { margin: 0; padding: 13px 16px; font-size: 14px; font-weight: 800; background: transparent; border-bottom: 1px solid var(--rp-line); }
body.rom1-account-page .rom1-tx-side i { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; font-weight: 700; }
body.rom1-account-page .rom1-tx-side i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
body.rom1-account-page .rom1-empty-box {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 32px 20px;
  background: #fff;
  text-align: center;
}
body.rom1-account-page .rom1-empty-box .rom1-empty { padding: 0; margin: 0 !important; }
body.rom1-account-page .rom1-empty { padding: 26px 16px; text-align: center; font-size: 13.5px; color: var(--rp-muted); }
body.rom1-account-page .rom1-backlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--red) !important; }
body.rom1-account-page .rom1-pager a { border-radius: 12px; box-shadow: var(--rp-shadow); }

/* =========================================================================
   Phones & Tablets (<= 900px)
   CRITICAL USER REQUIREMENT: Classic single-row horizontal scrolling pill bar!
   ========================================================================= */
@media (max-width: 900px) {
  body.rom1-account-page .rom1-account-main {
    padding: 16px 12px 36px !important;
  }

  /* Single horizontal scrollable row of pills ("ردیفی عین قبلش") — never wraps into grid/rows! */
  body.rom1-account-page .rom1-account-nav {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid var(--rp-line) !important;
  }
  body.rom1-account-page .rom1-account-nav::-webkit-scrollbar { display: none; }
  body.rom1-account-page .rom1-account-nav-title { display: none !important; }
  body.rom1-account-page .rom1-account-nav a,
  body.rom1-account-page .rom1-account-nav a.is-out {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: auto !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
    color: var(--rp-ink) !important;
    background: #fafafa !important;
    border: 1px solid var(--rp-line) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }
  body.rom1-account-page .rom1-account-nav a.is-active {
    color: #fff !important;
    background: var(--red) !important;
    border-color: var(--red) !important;
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.2) !important;
  }
  body.rom1-account-page .rom1-account-nav a .rom1-ni { display: none !important; }

  /* Greeting + compact stats */
  body.rom1-account-page .rom1-dash-hello { padding: 15px 16px !important; margin: 0 0 12px !important; }
  body.rom1-account-page .rom1-avatar { width: 42px; height: 42px; border-radius: 14px; font-size: 18px; }
  body.rom1-account-page .rom1-dash-hello h1 { font-size: 17.5px !important; }
  body.rom1-account-page .rom1-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 0 12px !important;
  }
  body.rom1-account-page .rom1-stat { gap: 10px; padding: 12px 13px !important; }
  body.rom1-account-page .rom1-stat-ico { width: 36px; height: 36px; border-radius: 12px; }
  body.rom1-account-page .rom1-stat strong { font-size: 17.5px !important; }
  body.rom1-account-page .rom1-stat.is-red { grid-column: 1 / -1 !important; }

  /* Two dashboard cards strictly side-by-side & equal height on mobile */
  body.rom1-account-page .rom1-dash-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.rom1-account-page .rom1-dash-cols > .rom1-box > h2 { padding: 11px 12px !important; font-size: 13px !important; }
  body.rom1-account-page .rom1-box-more { padding: 1px 8px; font-size: 11px; }
  body.rom1-account-page .rom1-dash-cols > .rom1-box > ul { padding: 0 12px 6px !important; }
  body.rom1-account-page .rom1-dash-cols .rom1-box li a { padding: 10px 0 !important; }
  body.rom1-account-page .rom1-dash-cols .rom1-box li em { font-size: 12.5px !important; }
  body.rom1-account-page .rom1-dash-cols .rom1-box li a > span { font-size: 11.5px !important; }

  /* Orders card clean 2-col metadata grid */
  body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-row a {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "no date" "title title" "status price" !important;
    flex-direction: initial !important;
    align-items: center !important;
    gap: 8px 12px !important;
    padding: 14px 18px 14px 16px !important;
  }
  body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-main,
  body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-meta { display: contents !important; }
  body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-no { grid-area: no; margin: 0 !important; }
  body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-row strong {
    grid-area: title;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
    white-space: normal !important;
    font-size: 13.8px !important;
    line-height: 1.8 !important;
  }
  body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-row .rom1-status { grid-area: status; justify-self: start; margin: 0 !important; }
  body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-meta span { grid-area: date; justify-self: end; font-size: 12px !important; text-align: left !important; }
  body.rom1-account-page .rom1-orders:not(.rom1-order-view) .rom1-order-meta b { grid-area: price; justify-self: end; font-size: 14px !important; text-align: left !important; }

  /* Wallet presets 2x2 on phones */
  body.rom1-account-page .rom1-wallet-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rom1-account-page .rom1-head-row > .rom1-status { align-self: flex-start; }
  body.rom1-account-page .rom1-order-actions > * { flex: 1 1 100%; width: 100%; }
  .rom1-auth-card { margin: 14px auto 24px; padding: 22px 16px 18px; }
}

@media (max-width: 360px) {
  body.rom1-account-page .rom1-dash-cols .rom1-box li em { font-size: 12px !important; }
  body.rom1-account-page .rom1-stat strong { font-size: 16.5px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.rom1-account-page *, body.rom1-account-page *::before { transition: none !important; }
}
