﻿:root {
  --rom-bg: #faf7f3;
  --rom-card: #ffffff;
  --rom-text: #2f2f2f;
  --rom-muted: #7a7168;
  --rom-accent: #6b1e2f;
  --rom-accent-2: #c9a96a;
  --rom-blush: #e8c8c8;
  --rom-dark: #2f2f2f;
  --rom-serif: "Playfair Display", "Frank Ruhl Libre", serif;
  --rom-sans: "Inter", "Heebo", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--rom-sans);
  color: var(--rom-text);
  background: var(--rom-bg);
}

.rom-container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.rom-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--rom-card);
  box-shadow: 0 4px 18px rgba(47, 47, 47, 0.08);
}

/* Band 1: utility bar */
.rom-utility-bar {
  background: var(--rom-accent);
  color: #f6e9ec;
}

.rom-utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 8px 64px;
  font-size: 0.82rem;
  font-weight: 600;
}

.rom-utility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.rom-utility-item svg {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.9;
}

/* Band 2: main header row */
.rom-header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-inline: 64px;
}

.rom-header-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rom-header-start {
  justify-self: start;
}

.rom-header-end {
  justify-self: end;
}

.rom-logo {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rom-accent);
  font-family: var(--rom-serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rom-logo svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.rom-desktop-nav {
  display: none;
}

.rom-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--rom-text);
  text-decoration: none;
  cursor: pointer;
}

.rom-icon-btn:hover {
  background: var(--rom-blush);
  color: var(--rom-accent);
}

.rom-icon-btn svg {
  width: 20px;
  height: 20px;
}

.rom-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: min(240px, 100%);
}
.rom-search input {
  width: 100%;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(107, 30, 47, 0.18);
  background: var(--rom-bg);
  color: var(--rom-text);
  padding: 0 14px;
  outline: none;
  font-size: 0.9rem;
}
.rom-search input::placeholder {
  color: var(--rom-muted);
}
.rom-search input:focus {
  border-color: var(--rom-accent);
}
.rom-search button {
  height: 38px;
  border: 1px solid rgba(107, 30, 47, 0.18);
  background: var(--rom-card);
  color: var(--rom-accent);
  border-radius: 999px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}
.rom-cart {
  text-decoration: none;
  color: var(--rom-text);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.rom-cart-icon {
  width: 22px;
  height: 22px;
}
.rom-cart-count {
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rom-accent);
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 0 0 2px var(--rom-card);
  position: absolute;
  top: -6px;
  inset-inline-end: -8px;
}
.rom-auth-link {
  text-decoration: none;
  color: var(--rom-accent);
  font-weight: 700;
  font-size: 0.88rem;
}
.rom-auth-link-primary {
  color: #fff;
  background: var(--rom-accent);
  border-radius: 999px;
  padding: 8px 14px;
}
.rom-manager-link {
  color: #fff;
  background: var(--rom-accent-deep);
  border-radius: 999px;
  padding: 8px 14px;
}
.rom-manager-link:hover {
  color: #fff;
  filter: brightness(1.08);
}
.rom-account-wrap{position:relative}
.rom-account-btn{
  display:flex;align-items:center;gap:6px;
  border:none;background:transparent;
  border-radius:0;padding:0;color:var(--rom-text);cursor:pointer
}
.rom-account-avatar{
  width:32px;height:32px;border-radius:999px;background:var(--rom-blush);overflow:hidden;
  display:flex;align-items:center;justify-content:center
}
.rom-account-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.rom-account-avatar-fallback{color:var(--rom-accent);font-weight:800}
.rom-account-label{display:none}
.rom-account-dropdown{
  position:absolute;top:100%;margin-top:10px;inset-inline-end:0;
  display:flex;flex-direction:column;align-items:stretch;gap:2px;
  background:var(--rom-card);border:1px solid rgba(107,30,47,.14);
  border-radius:14px;padding:8px;min-width:180px;
  box-shadow:0 14px 30px rgba(47,47,47,.14);
  opacity:0;transform:translateY(-6px) scale(.98);pointer-events:none;
  transition:opacity .2s ease,transform .2s ease
}
.rom-account-wrap.is-open .rom-account-dropdown{
  opacity:1;transform:translateY(0) scale(1);pointer-events:auto
}
.rom-account-dropdown a{
  color:var(--rom-text);text-decoration:none;font-weight:600;font-size:13px;
  padding:8px 10px;border-radius:8px;white-space:nowrap
}
.rom-account-dropdown a:hover{background:var(--rom-bg);color:var(--rom-accent)}

.rom-lang-switch {
  display: inline-flex;
  background: transparent;
}

.rom-lang-switch a {
  color: var(--rom-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(107, 30, 47, 0.18);
}

.rom-lang-switch a.active {
  background: var(--rom-accent);
  color: #fff;
  border-color: transparent;
}

/* Band 3: desktop category/nav row — hidden by default, mobile uses the drawer instead */
.rom-desktop-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 64px;
  border-top: 1px solid rgba(107, 30, 47, 0.1);
}

.rom-desktop-nav-all,
.rom-desktop-nav-list a,
.rom-desktop-nav-extra a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--rom-text);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.rom-desktop-nav-all:hover,
.rom-desktop-nav-list a:hover,
.rom-desktop-nav-extra a:hover,
.rom-desktop-nav-item.is-active > a {
  color: var(--rom-accent);
}

.rom-desktop-nav-list,
.rom-desktop-nav-extra {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.rom-desktop-nav-item {
  position: relative;
}

.rom-desktop-nav-caret {
  font-size: 0.7em;
  opacity: 0.6;
}

.rom-desktop-nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 200px;
  background: var(--rom-card);
  border: 1px solid rgba(107, 30, 47, 0.14);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(47, 47, 47, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.rom-desktop-nav-item.is-open .rom-desktop-nav-dropdown,
.rom-desktop-nav-item:hover .rom-desktop-nav-dropdown,
.rom-desktop-nav-item:focus-within .rom-desktop-nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rom-desktop-nav-dropdown a {
  display: block;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: var(--rom-text);
}

.rom-desktop-nav-dropdown a:hover {
  background: var(--rom-bg);
  color: var(--rom-accent);
}

@media (min-width: 961px) {
  .rom-menu-toggle {
    display: none;
  }
  .rom-desktop-nav {
    display: block;
  }
}

.rom-hero {
  padding: 48px 0 8px;
}

.rom-hero-inner {
  display: grid;
  /* Deliberately fixed (not logical/mirrored): text column stays physically
     left, image stays physically right, matching the approved reference
     regardless of page language. CSS Grid auto-placement is direction-aware,
     so this needs an explicit direction:ltr here — see rtl.css for the
     matching override that keeps the Hebrew text itself reading correctly. */
  direction: ltr;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.rom-hero-copy {
  order: 1;
}

.rom-hero-media {
  order: 2;
  border-radius: 28px;
  overflow: hidden;
  min-height: clamp(240px, 32vw, 420px);
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 169, 106, 0.18), transparent 55%),
    linear-gradient(140deg, #fff, var(--rom-blush) 120%);
  background-size: cover;
  background-position: center;
}

.rom-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rom-accent-2);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.rom-hero-kicker::before,
.rom-hero-kicker::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--rom-accent-2);
}

.rom-hero h1 {
  margin: 0 0 14px;
  font-family: var(--rom-serif);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: var(--rom-accent);
}

.rom-hero p {
  margin: 0 0 26px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--rom-muted);
  max-width: 46ch;
}

.rom-btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 13px 26px;
  color: #fff;
  background: var(--rom-accent);
  box-shadow: 0 10px 24px rgba(107, 30, 47, 0.22);
}

.rom-btn-soft {
  background: var(--rom-accent-2);
  color: var(--rom-text);
}

.rom-section { padding: 20px 0 36px; }
.rom-section h2 {
  font-family: var(--rom-serif);
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--rom-accent);
}

/* Trust badges */
.rom-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rom-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px;
}

.rom-badge-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--rom-accent);
}

.rom-badge-icon svg {
  width: 30px;
  height: 30px;
}

.rom-badge span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--rom-text);
  line-height: 1.4;
}

/* Category icon grid */
.rom-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.rom-cat-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-align: center;
}

.rom-cat-grid-badge {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: var(--rom-blush);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--rom-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rom-accent);
  transition: transform 0.18s ease;
}

.rom-cat-grid-item:hover .rom-cat-grid-badge {
  transform: translateY(-3px);
}

.rom-cat-grid-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rom-cat-grid-item span {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--rom-text);
}

.rom-center { text-align: center; margin-top: 18px; }

.rom-footer {
  margin-top: 40px;
  background: var(--rom-dark);
  color: #f1ece8;
}

.rom-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 48px 0 32px;
}

.rom-footer-logo {
  display: inline-block;
  font-family: var(--rom-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
}

.rom-footer-col h3 {
  font-family: var(--rom-serif);
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--rom-accent-2);
}

.rom-footer-col p {
  margin: 0;
  color: rgba(241, 236, 232, 0.72);
  line-height: 1.6;
}

.rom-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rom-footer-col a {
  color: #f1ece8;
  text-decoration: none;
  font-weight: 600;
}

.rom-footer-col a:hover {
  color: var(--rom-accent-2);
}

.rom-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.rom-footer-bottom p {
  margin: 0;
  text-align: center;
  color: rgba(241, 236, 232, 0.55);
  font-size: 0.85rem;
}

.woocommerce ul.products li.product {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(107, 30, 47, 0.12);
  box-shadow: 0 10px 28px rgba(47, 47, 47, 0.06);
  padding: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(47, 47, 47, 0.12);
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--rom-bg);
  border-radius: 12px;
}

.rom-page {
  padding: 32px 0 56px;
}

.rom-page-card {
  background: #fff;
  border: 1px solid rgba(107, 30, 47, 0.12);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(47, 47, 47, 0.06);
  padding: clamp(20px, 4vw, 44px);
  max-width: 860px;
  margin-inline: auto;
}

.rom-page-card h1 {
  font-family: var(--rom-serif);
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--rom-accent);
}

.rom-page-content {
  color: var(--rom-text);
  line-height: 1.75;
}

.rom-page-content a {
  color: var(--rom-accent);
}

.rom-page-content p {
  margin: 0 0 16px;
}

.woocommerce ul.products li.product .button {
  border-radius: 999px;
  background: var(--rom-accent);
  color: #fff;
}
.rom-cart-mobile {
  display: none;
}

.rom-shop-layout {
  position: relative;
}

.rom-menu-toggle {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1200;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--rom-accent);
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .24);
}

.rom-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform .25s ease, opacity .25s ease;
}

body.rom-shop-menu-open .rom-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.rom-shop-menu-open .rom-menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.rom-shop-menu-open .rom-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.rom-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, .4);
  backdrop-filter: blur(2px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.rom-shop-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(240px, 78vw);
  z-index: 1150;
  transform: translateX(-106%);
  transition: transform .28s ease;
  padding: 74px 10px 14px;
}

body.rom-shop-menu-open .rom-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.rom-shop-menu-open .rom-shop-sidebar {
  transform: translateX(0);
}

.rom-main-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(240px, 78vw);
  z-index: 1150;
  transform: translateX(-106%);
  transition: transform .28s ease;
  padding: 74px 10px 14px;
}

body.rom-shop-menu-open .rom-main-drawer {
  transform: translateX(0);
}

.rom-main-drawer-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(107, 30, 47, 0.14);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 42px 12px 12px;
  height: calc(100vh - 88px);
  overflow: auto;
}

.rom-main-drawer-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--rom-accent);
}

body.rom-use-shop-sidebar .rom-main-drawer {
  display: none;
}

.rom-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rom-drawer-menu a {
  display: block;
  text-decoration: none;
  color: var(--rom-text);
  background: #fff;
  border: 1px solid rgba(107, 30, 47, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}

.rom-shop-sidebar-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(107, 30, 47, 0.14);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 42px 12px 12px;
  height: calc(100vh - 88px);
  overflow: auto;
}

.rom-shop-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(107, 30, 47, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--rom-accent);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.rom-shop-sidebar-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--rom-accent);
}

.rom-shop-cat-all,
.rom-shop-cats li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  color: var(--rom-text);
  background: #fff;
  border: 1px solid rgba(107, 30, 47, 0.1);
  border-radius: 12px;
  padding: 9px 12px;
  transition: all .18s ease;
}

.rom-shop-cat-all {
  margin-bottom: 10px;
  font-weight: 700;
}

.rom-shop-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rom-shop-parent-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.rom-shop-parent-link {
  min-width: 0;
}

.rom-shop-parent-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(107, 30, 47, 0.1);
  background: #fff;
  color: var(--rom-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.rom-shop-parent.is-open .rom-shop-parent-toggle {
  transform: rotate(180deg);
}

.rom-shop-children {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  padding-inline-start: 14px;
}

.rom-shop-children[hidden] {
  display: none !important;
}

.rom-shop-cats .rom-shop-cats {
  margin-top: 6px;
  padding-inline-start: 14px;
}

.rom-shop-cats li.has-children > a span::after {
  content: "›";
  margin-inline-start: 8px;
  opacity: .6;
}

.rom-shop-cats.depth-1 a {
  font-size: .95rem;
}

.rom-shop-cats.depth-2 a {
  font-size: .9rem;
}

.rom-shop-cats li em {
  font-style: normal;
  font-weight: 700;
  color: var(--rom-accent);
  background: var(--rom-blush);
  min-width: 28px;
  text-align: center;
  border-radius: 999px;
  padding: 2px 8px;
}

.rom-shop-cat-all:hover,
.rom-shop-cats li a:hover {
  border-color: rgba(107, 30, 47, 0.3);
  transform: translateY(-1px);
}

.rom-shop-cat-all.is-active,
.rom-shop-cats li.is-active a {
  border-color: var(--rom-accent);
  background: linear-gradient(135deg, #fff, var(--rom-bg));
  color: var(--rom-accent);
}

.rom-shop-content {
  min-width: 0;
}

/* Shop cards: keep clear side margins and prevent clipping at screen edges */
.woocommerce .rom-shop-content {
  padding-inline: clamp(12px, 2.4vw, 28px);
}

.woocommerce .rom-shop-content ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0 0 14px;
}

.woocommerce .rom-shop-content ul.products::before,
.woocommerce .rom-shop-content ul.products::after {
  display: none;
  content: none;
}

.woocommerce .rom-shop-content ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* Single product: reduce oversized image and keep balanced layout */
.single-product div.product {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.single-product .rom-container {
  width: min(1200px, 92%);
  margin-inline: auto;
  padding-inline: 0;
}

/* Extra breathing room on the right side in RTL product pages */
.rom-rtl.single-product .rom-container {
  padding-inline-end: 0;
}

/* Single product in Woo templates may render outside .rom-container.
   Force same horizontal margins as shop archive. */
.single-product main .woocommerce-breadcrumb,
.single-product main div.product,
.single-product main .woocommerce-tabs,
.single-product main .related.products,
.single-product main .up-sells {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.single-product div.product .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
}

.single-product div.product .summary {
  width: 100% !important;
  margin: 0 !important;
}

.single-product .woocommerce-product-gallery__image a {
  display: block;
  cursor: zoom-in;
}

.single-product .woocommerce-product-gallery__image {
  display: flex;
  justify-content: center;
}

.single-product .woocommerce-product-gallery__wrapper img {
  width: 150px;
  height: 150px;
  margin-inline: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
}

/* Related/linked products: smaller cards and thumbnails */
.single-product .related.products ul.products {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.single-product .related.products ul.products li.product {
  padding: 10px;
  border-radius: 14px;
}

.single-product .related.products ul.products li.product img {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}

.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
}

/* Single product lower sections: keep description full width, related products below it */
.single-product div.product .woocommerce-tabs,
.single-product div.product .related.products,
.single-product div.product .up-sells {
  grid-column: 1 / -1;
}

.single-product div.product .woocommerce-tabs {
  order: 30;
  margin-top: 14px;
}

.single-product div.product .related.products,
.single-product div.product .up-sells {
  order: 40;
  margin-top: 18px;
}

/* Product image modal (Amazon-style quick zoom) */
.rom-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 12, 20, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.rom-product-lightbox.is-open {
  display: flex;
}

.rom-product-lightbox__dialog {
  position: relative;
  width: min(96vw, 1120px);
  height: min(90vh, 820px);
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
}

.rom-product-lightbox__stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 24px;
}

.rom-product-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
}

.rom-product-lightbox__close,
.rom-product-lightbox__zoom {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(17, 24, 39, 0.84);
  color: #fff;
  cursor: pointer;
}

.rom-product-lightbox__close {
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
}

.rom-product-lightbox__controls {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
}

.rom-product-lightbox__zoom {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 800;
}

@media (max-width: 960px) {
  .rom-utility-bar-inner {
    padding: 7px 14px;
    gap: 14px;
    font-size: 0.72rem;
  }
  .rom-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 14px;
  }
  .rom-logo {
    order: -1;
  }
  .rom-header-start,
  .rom-header-end {
    justify-content: center;
    flex-wrap: wrap;
  }
  .rom-search {
    width: 100%;
  }
  .rom-account-dropdown{
    max-width:78vw;
  }
  .rom-badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rom-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rom-hero-inner {
    grid-template-columns: 1fr;
  }
  .rom-hero-media {
    order: -1;
    min-height: 220px;
  }
  .rom-menu-toggle {
    top: 10px;
  }

  .single-product div.product {
    grid-template-columns: 1fr;
  }

  .rom-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 26px;
  }
  .rom-footer-col ul {
    justify-items: center;
  }
}

@media (max-width: 480px) {
  .rom-utility-item:nth-child(2) {
    display: none;
  }
  .rom-hero {
    padding: 32px 0 8px;
  }
  .rom-section {
    padding: 14px 0 28px;
  }
  .rom-badges-grid,
  .rom-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .woocommerce .rom-shop-content ul.products {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  .rom-footer-grid {
    padding: 36px 0 24px;
  }
}

/* Romantican reference-inspired homepage refresh */
:root {
  --rom-bg: #faf7f3;
  --rom-card: #fffdf9;
  --rom-text: #2f2f2f;
  --rom-muted: #6f625d;
  --rom-accent: #6b1e2f;
  --rom-accent-deep: #4c121f;
  --rom-accent-2: #c9a96a;
  --rom-blush: #e8c8c8;
  --rom-cream: #faf7f3;
  --rom-line: rgba(107, 30, 47, 0.14);
}

body {
  background:
    radial-gradient(circle at 7% 12%, rgba(232, 200, 200, 0.24), transparent 30%),
    radial-gradient(circle at 93% 8%, rgba(201, 169, 106, 0.18), transparent 28%),
    var(--rom-bg);
  color: var(--rom-text);
}

.rom-container {
  width: min(1260px, calc(100% - 56px));
}

.rom-header {
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 18px 55px rgba(47, 47, 47, 0.08);
  backdrop-filter: blur(14px);
}

.rom-utility-bar {
  background: linear-gradient(90deg, var(--rom-accent-deep), var(--rom-accent));
}

.rom-utility-bar-inner {
  min-height: 42px;
  justify-content: space-between;
  padding: 0 56px;
  color: #fff6f0;
  font-weight: 500;
}

.rom-header-inner {
  min-height: 104px;
  padding: 0 56px;
}

.rom-logo {
  gap: 12px;
  color: var(--rom-accent);
  font-size: clamp(1.75rem, 2.25vw, 2.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rom-logo svg {
  width: 46px;
  height: 46px;
  stroke-width: 1.25;
}

.rom-icon-btn,
.rom-cart,
.rom-account-btn {
  color: #1f1f1f;
}

.rom-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 0;
}

.rom-icon-btn:hover,
.rom-cart:hover {
  background: transparent;
  color: var(--rom-accent);
}

.rom-search {
  width: 52px;
  min-width: 52px;
  gap: 0;
}

.rom-search input {
  width: 0;
  min-width: 0;
  opacity: 0;
  padding: 0;
  border: 0;
}

.rom-search:focus-within {
  width: min(270px, 34vw);
}

.rom-search:focus-within input {
  width: 100%;
  opacity: 1;
  padding: 0 14px;
  border: 1px solid var(--rom-line);
}

.rom-search button {
  width: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1f1f1f;
}

.rom-desktop-nav {
  display: block;
  border-top: 1px solid rgba(107, 30, 47, 0.07);
}

.rom-desktop-nav-inner {
  min-height: 58px;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
  padding-inline: 24px;
  overflow: visible;
}

.rom-desktop-nav a,
.rom-desktop-nav button,
.rom-desktop-nav-all {
  color: #2f2f2f;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0;
}

.rom-desktop-nav a:hover,
.rom-desktop-nav button:hover,
.rom-desktop-nav-all:hover {
  color: var(--rom-accent);
}

.rom-auth-link-primary,
.rom-lang-switch {
  display: none;
}

.rom-luxe-hero {
  padding: 0;
  background: linear-gradient(90deg, #f8ece7 0%, #f6ebe6 46%, #f1ded7 100%);
  overflow: hidden;
}

.rom-luxe-hero .rom-container {
  width: min(1260px, 100%);
}

.rom-hero-inner {
  min-height: clamp(360px, 41vw, 520px);
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  gap: 0;
  align-items: stretch;
}

.rom-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(34px, 5vw, 78px) clamp(26px, 4vw, 72px);
}

.rom-hero-kicker {
  color: var(--rom-accent-2);
  font-size: 0;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.rom-hero-kicker::before,
.rom-hero-kicker::after {
  width: 72px;
  background: var(--rom-accent-2);
}

.rom-hero-kicker::after {
  content: "♡";
  width: auto;
  height: auto;
  background: transparent;
  color: var(--rom-accent-2);
  font-size: 20px;
  line-height: 1;
}

.rom-hero h1 {
  max-width: 10ch;
  margin: 0 0 20px;
  color: var(--rom-accent);
  font-family: "Frank Ruhl Libre", var(--rom-serif);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.rom-hero p {
  max-width: 26ch;
  margin: 0 0 28px;
  color: #4f3836;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.75;
}

.rom-btn {
  border-radius: 4px;
  padding: 15px 36px;
  background: linear-gradient(180deg, #7c2235, var(--rom-accent));
  color: #fff;
  box-shadow: 0 14px 32px rgba(107, 30, 47, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rom-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(107, 30, 47, 0.28);
}

.rom-btn-soft {
  background: #efe5db;
  color: var(--rom-accent);
  box-shadow: none;
}

.rom-hero-media {
  position: relative;
  display: block;
  min-height: 100%;
  border-radius: 0;
  background:
    radial-gradient(circle at 60% 48%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), rgba(232, 200, 200, 0.48));
  overflow: hidden;
}

.rom-hero-media.has-image {
  background-size: cover;
  background-position: center;
}

.rom-hero-silk {
  position: absolute;
  inset: -12% -8%;
  background:
    radial-gradient(ellipse at 25% 28%, rgba(255,255,255,.7), transparent 28%),
    radial-gradient(ellipse at 78% 10%, rgba(201,169,106,.22), transparent 22%),
    linear-gradient(140deg, #f8efe9 0%, #eacdc5 45%, #fff8ef 100%);
  transform: rotate(-3deg) scale(1.06);
}

.rom-hero-gift {
  position: absolute;
  width: clamp(190px, 23vw, 330px);
  aspect-ratio: 1.18;
  left: 22%;
  top: 24%;
  border-radius: 12px;
  background: linear-gradient(135deg, #7d2533, #4f1420);
  box-shadow: 0 34px 60px rgba(69, 18, 28, 0.28);
  transform: rotate(-12deg);
}

.rom-hero-gift::before,
.rom-hero-gift::after,
.rom-hero-gift span::before,
.rom-hero-gift span::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, #f1d8bc, #bd8755, #f9e3c8);
}

.rom-hero-gift::before {
  inset: 0 auto 0 46%;
  width: 15%;
}

.rom-hero-gift::after {
  inset: 42% 0 auto 0;
  height: 18%;
}

.rom-hero-gift span::before,
.rom-hero-gift span::after {
  width: 42%;
  height: 26%;
  top: -20%;
  border-radius: 60% 60% 10% 60%;
  border: 8px solid #e7c39d;
  background: transparent;
}

.rom-hero-gift span::before { left: 22%; transform: rotate(18deg); }
.rom-hero-gift span::after { right: 13%; transform: rotate(-35deg) scaleX(.9); }

.rom-hero-product {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 9vw, 130px);
  bottom: clamp(8px, 3vw, 34px);
  width: clamp(150px, 17vw, 240px);
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 26px 28px rgba(71, 23, 29, 0.22));
}

.rom-petal {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 24px;
  border-radius: 70% 20% 70% 20%;
  background: linear-gradient(135deg, #efc3c0, #b86d74);
  opacity: 0.72;
  box-shadow: 0 12px 22px rgba(107, 30, 47, 0.12);
}

.rom-petal-one { left: 14%; top: 36%; transform: rotate(24deg); }
.rom-petal-two { right: 33%; top: 18%; transform: rotate(-20deg) scale(.75); }
.rom-petal-three { right: 18%; bottom: 20%; transform: rotate(36deg) scale(.85); }

.rom-trust-section {
  padding: 0;
  background: rgba(255, 253, 249, 0.86);
  border-bottom: 1px solid rgba(107, 30, 47, 0.08);
  box-shadow: 0 12px 34px rgba(47,47,47,0.05);
}

.rom-trust-section .rom-container {
  width: min(1260px, 100%);
}

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

.rom-badge {
  flex-direction: row;
  justify-content: center;
  min-height: 90px;
  padding: 20px 24px;
  border-inline-end: 1px solid rgba(107, 30, 47, 0.1);
}

.rom-badge:last-child {
  border-inline-end: 0;
}

.rom-badge-icon {
  width: 46px;
  height: 46px;
  color: var(--rom-accent);
}

.rom-badge span:last-child {
  max-width: 14ch;
  color: #4a3330;
  font-size: 0.95rem;
  font-weight: 600;
}

.rom-home-categories {
  padding: 44px 0 28px;
  background: linear-gradient(180deg, rgba(255,253,249,.96), rgba(250,247,243,.78));
}

.rom-section h2 {
  margin: 0 0 26px;
  text-align: center;
  color: var(--rom-accent);
  font-family: "Frank Ruhl Libre", var(--rom-serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0;
}

.rom-cat-grid {
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 20px;
}

.rom-cat-grid-item {
  min-height: 148px;
  justify-content: center;
  padding: 22px 16px;
  border: 1px solid rgba(107, 30, 47, 0.07);
  border-radius: 4px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 18px 42px rgba(72, 44, 35, 0.06);
}

.rom-cat-grid-badge {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: #f2e9e2;
  color: var(--rom-accent);
  font-size: 1.5rem;
}

.rom-cat-grid-badge img {
  padding: 7px;
  object-fit: contain;
}

.rom-cat-grid-item span:last-child {
  color: #321f1e;
  font-size: 1rem;
  font-weight: 600;
}

.rom-product-section {
  padding: 42px 0 22px;
}

.woocommerce ul.products li.product {
  border-radius: 4px;
  border: 1px solid rgba(107, 30, 47, 0.09);
  background: #fffdf9;
  box-shadow: 0 18px 44px rgba(72, 44, 35, 0.06);
}

.woocommerce ul.products li.product a img {
  background: #f8f1ec;
}

@media (max-width: 960px) {
  .rom-container {
    width: min(100% - 28px, 760px);
  }

  .rom-utility-bar {
    display: none;
  }

  .rom-header-inner {
    min-height: 78px;
    grid-template-columns: 44px 1fr 44px;
    padding: 0 16px;
  }

  .rom-menu-toggle {
    display: inline-flex;
    position: static;
    justify-self: start;
    width: 38px;
    height: 38px;
  }

  .rom-logo {
    order: 0;
    font-size: 1rem;
    letter-spacing: 0.03em;
  }

  .rom-logo svg {
    width: 26px;
    height: 26px;
  }

  .rom-header-start,
  .rom-account-wrap,
  .rom-auth-link,
  .rom-desktop-nav {
    display: none;
  }

  .rom-cart-near-search {
    display: none;
  }

  .rom-cart-mobile {
    display: inline-flex;
  }

  .rom-header-end {
    justify-self: end;
  }

  .rom-cart-count {
    display: none;
  }

  .rom-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .rom-hero-copy {
    min-height: 258px;
    padding: 34px 28px 26px;
  }

  .rom-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  .rom-hero p {
    font-size: 1rem;
  }

  .rom-hero-media {
    order: 2;
    min-height: 250px;
  }

  .rom-hero-gift {
    left: 11%;
    top: 22%;
    width: 190px;
  }

  .rom-hero-product {
    right: 7%;
    width: 142px;
  }

  .rom-badges-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: auto;
  }

  .rom-badge {
    min-width: 142px;
    min-height: 112px;
    flex-direction: column;
    padding: 16px 10px;
  }

  .rom-badge span:last-child {
    font-size: 0.78rem;
  }

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

@media (max-width: 520px) {
  .rom-hero-media {
    min-height: 210px;
  }

  .rom-hero-gift {
    width: 156px;
  }

  .rom-hero-product {
    width: 116px;
  }

  .rom-cat-grid-item {
    min-height: 128px;
    padding: 18px 10px;
  }
}

/* Header sidebar menu refinement */
.rom-header .rom-menu-toggle {
  position: static;
  inset: auto;
  z-index: auto;
  display: grid !important;
  justify-self: start;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(107, 30, 47, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--rom-accent);
  box-shadow: none;
  padding: 12px;
}

.rom-header .rom-menu-toggle:hover {
  background: #f4ebe5;
  border-color: rgba(107, 30, 47, 0.24);
}

.rom-header .rom-menu-toggle span {
  background: currentColor;
}

.rom-header .rom-desktop-nav {
  display: none !important;
}

.rom-header-inner {
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
}

.rom-main-drawer,
.rom-shop-sidebar {
  width: min(390px, 88vw);
  padding: 18px;
}

.rom-main-drawer-card,
.rom-shop-sidebar-card {
  height: calc(100vh - 36px);
  border-radius: 10px;
  padding: 72px 22px 24px;
  background: linear-gradient(180deg, #fffdf9, #fbf6ef);
  box-shadow: 0 26px 70px rgba(36, 20, 18, 0.22);
}

.rom-main-drawer-card::before,
.rom-shop-sidebar-card::before {
  content: "ROMANTICAN";
  position: absolute;
  top: 24px;
  inset-inline-start: 22px;
  color: var(--rom-accent);
  font-family: var(--rom-serif);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.rom-main-drawer-card h3,
.rom-shop-sidebar-card h3 {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(107, 30, 47, 0.12);
  color: var(--rom-accent);
  font-family: "Frank Ruhl Libre", var(--rom-serif);
  font-size: 1.75rem;
  line-height: 1.1;
}

.rom-drawer-nav,
.rom-shop-cats {
  display: grid;
  gap: 8px;
}

.rom-drawer-nav a,
.rom-shop-cats a,
.rom-shop-cat-all,
.rom-shop-parent-row > a {
  border-radius: 6px;
  padding: 12px 14px;
  color: #321f1e;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(107, 30, 47, 0.08);
  font-weight: 600;
  text-decoration: none;
}

.rom-drawer-nav a:hover,
.rom-shop-cats a:hover,
.rom-shop-cat-all:hover,
.rom-shop-parent-row > a:hover {
  background: #f2e8df;
  color: var(--rom-accent);
}

.rom-shop-parent-toggle {
  border-radius: 6px;
  border-color: rgba(107, 30, 47, 0.12);
  background: #fffdf9;
  color: var(--rom-accent);
}

.rom-shop-close {
  top: 18px;
  inset-inline-end: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f0e8e1;
  color: #231817;
  border: 0;
  font-size: 28px;
  line-height: 1;
}

body.rom-shop-menu-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .rom-header-inner {
    grid-template-columns: 48px 1fr 48px;
  }

  .rom-header .rom-menu-toggle {
    display: grid !important;
    width: 42px;
    height: 42px;
  }

  .rom-main-drawer,
  .rom-shop-sidebar {
    width: min(340px, 92vw);
    padding: 10px;
  }

  .rom-main-drawer-card,
  .rom-shop-sidebar-card {
    height: calc(100vh - 20px);
    padding: 68px 16px 20px;
  }
}

/* Keep missing product images the same size as normal product cards */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link > img,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img.woocommerce-placeholder,
.woocommerce ul.products li.product img.wp-post-image {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain;
  object-position: center;
  background: #f8f1ec;
  border-radius: 12px;
}

.woocommerce ul.products li.product img.woocommerce-placeholder {
  padding: clamp(28px, 5vw, 54px);
  opacity: 0.52;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.8em;
}

/* Product search results */
.rom-search-page {
  padding-top: 42px;
}

.rom-search-head h1 {
  margin: 0 0 28px;
  text-align: center;
  color: var(--rom-accent);
  font-family: "Frank Ruhl Libre", var(--rom-serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.2;
}

/* Full-width header with always-visible product search */
.rom-header > .rom-container,
.rom-utility-bar > .rom-container {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 3vw, 56px);
}

.rom-header-inner {
  grid-template-columns: minmax(280px, 1fr) auto minmax(220px, 1fr);
  column-gap: clamp(18px, 3vw, 56px);
}

.rom-header-start {
  width: 100%;
  justify-self: stretch;
}

.rom-header .rom-search {
  display: flex !important;
  width: min(360px, 100%) !important;
  min-width: min(280px, 100%) !important;
  gap: 8px !important;
  align-items: center;
}

.rom-header .rom-search input {
  width: 100% !important;
  min-width: 0 !important;
  opacity: 1 !important;
  height: 42px;
  padding: 0 16px !important;
  border: 1px solid var(--rom-line) !important;
  border-radius: 999px;
  background: #fffdf9;
}

.rom-header .rom-search button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(107, 30, 47, 0.18);
  border-radius: 999px;
  background: #fffdf9;
}

.rom-header .rom-search:focus-within {
  width: min(360px, 100%) !important;
}

@media (max-width: 960px) {
  .rom-header > .rom-container,
  .rom-utility-bar > .rom-container {
    padding-inline: 14px;
  }

  .rom-header-inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    column-gap: 10px;
  }

  .rom-header .rom-search {
    grid-column: 1 / -1;
    order: 4;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 8px;
  }
}
