@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; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100vh;
}
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; transform: translateY(-8px) scale(0.98); }
  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(1100px, 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(1100px, 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 {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #d5d5d5;
}
.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-dark); }

.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: start;
  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-dark); transform: translateY(-1px); }
.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 {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
}
.RNAddToCartContainer input,
.RNAddToCartContainer textarea,
.RNAddToCartContainer select,
.rednao-rendered-form input[type="text"],
.rednao-rendered-form input[type="email"],
.rednao-rendered-form input[type="number"],
.rednao-rendered-form textarea,
.rednao-rendered-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  outline: none;
}
.RNAddToCartContainer label,
.rednao-rendered-form label {
  font-size: 13px;
  font-weight: 700;
}
.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-dark) !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: hidden;
}
.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 { padding: 18px 20px; margin: 0; }
.woocommerce-tabs .panel h2 { display: none; }

.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-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.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);
}
.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;
}
.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(1100px, 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;
}
.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 */
body.woocommerce-checkout .page-head { display: none; }
body.woocommerce-checkout .woo-surface,
body.woocommerce-checkout .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;
}

/* 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 .page.static {
  display: block;
}
body.woocommerce-account .woo-surface > p,
body.woocommerce-account .woocommerce > 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; }

.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"] {
  width: 100%; height: 52px; margin-top: 8px; background: var(--red); color: #fff;
  border: 0; 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: 230px minmax(0, 1fr);
  gap: 20px;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
}
.rom1-account-nav {
  position: sticky;
  top: calc(var(--header-h) + 14px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rom1-account-nav-title {
  margin: 0 10px 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
.rom1-account-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.rom1-account-nav a:hover { background: #f6f6f6; }
.rom1-account-nav a.is-active {
  background: var(--red);
  color: #fff;
}
.rom1-account-nav a.is-out { color: var(--muted); font-weight: 600; }
.rom1-account-nav a.is-out:hover { color: var(--red); background: var(--red-soft); }
.rom1-account-main { min-width: 0; }

.rom1-dash-hello h1,
.rom1-section-head h1 {
  margin: 0 0 4px; font-size: 22px; font-weight: 800;
}
.rom1-dash-hello p,
.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;
}
.rom1-order-row a, .rom1-order-row > div:first-child {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; align-items: center;
}
.rom1-order-row strong { display: block; font-size: 14.5px; }
.rom1-order-row em { display: block; color: var(--muted); font-style: normal; font-size: 12.5px; margin-top: 2px; }
.rom1-order-meta { text-align: left; display: grid; gap: 2px; justify-items: end; }
.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(--red); font-weight: 700; }
.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-balance {
  background: var(--red); color: #fff; border-radius: 16px; padding: 22px 20px; margin-bottom: 14px;
  display: grid; gap: 4px;
}
.rom1-wallet-balance span { font-size: 12px; opacity: 0.9; font-weight: 700; }
.rom1-wallet-balance strong { font-size: 26px; }
.rom1-wallet-charge { padding: 0 0 18px; }
.rom1-wallet-charge h2 { background: transparent; border: 0; padding: 16px 16px 0; }
.rom1-wallet-charge .rom1-form-hint { padding: 0 16px; margin: 0 0 8px; }
.rom1-wallet .yith-funds-add-fund-wrapper {
  padding: 8px 16px 0; display: grid; gap: 10px;
}
.rom1-wallet .yith-funds-add-fund-title { display: none; }
.rom1-wallet .yith-funds-add-fund-form {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #f5f5f5; border-radius: 14px; padding: 0 12px; height: 52px;
}
.rom1-wallet .yith-funds-add-fund-currency { font-weight: 800; color: var(--muted); }
.rom1-wallet .yith-funds-add-fund-input { flex: 1; }
.rom1-wallet .yith-funds-add-fund-input input {
  width: 100%; border: 0; background: transparent; height: 50px; outline: none; font-size: 16px;
}
.rom1-wallet .yith-funds-add-fund,
.rom1-wallet input.button {
  width: 100%; height: 50px; background: var(--red) !important; color: #fff !important;
  border: 0 !important; border-radius: 14px !important; font-weight: 800 !important;
}
.rom1-wallet .yith-funds-add-fund.disabled { opacity: 0.45; }
.rom1-wallet .yith-funds-endpoint-wrapper h2,
.rom1-wallet .yith-funds-endpoint-header,
.rom1-wallet .yith-funds-endpoint-balance { display: none; }

.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; }
  .rom1-account-nav { position: static; }
  .rom1-stat-row, .rom1-dash-cols, .rom1-form-split { grid-template-columns: 1fr; }
  .rom1-order-row a { flex-direction: column; align-items: flex-start; }
  .rom1-order-meta { text-align: right; justify-items: start; }
}

.RNAddToCartContainer {
  background: #f7f7f7; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
}
