html:not([data-omtomi-buyer="verified"]) .public-inquiry-card > :not(.omtomi-buyer-line),
html:not([data-omtomi-buyer="verified"]) .public-inquiry-page > :not(.omtomi-buyer-line) { display: none !important; }
.omtomi-buyer-line { margin: 12px 0; padding: 12px 16px; line-height: 1.5; font: inherit; color: #102b3d; background: #f7f9fc; border: 1px solid #dbe3e9; border-radius: 10px; text-align: start; overflow-wrap: anywhere; }
.omtomi-buyer-line a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html[data-omtomi-buyer="verified"] .omtomi-buyer-line { display: none; }
html[data-omtomi-direct="true"] .public-inquiry-card { display:none !important; }
.product-contact-card [hidden],.factory-direct-panel [hidden],.product-sticky-actions [hidden],.quick-quote-ranges [hidden] { display:none !important; }
.description-panel [data-contact][hidden] { display:none !important; }
.omtomi-install-dialog { box-sizing:border-box; width:min(400px,calc(100% - 24px)); max-height:80dvh; overflow:auto; padding:24px; border:1px solid #dbe3e9; border-radius:18px; background:white; color:#102b3d; }
.omtomi-install-dialog::backdrop { background:#0008; }
.omtomi-install-dialog button { min-height:44px; max-width:100%; padding:12px 16px; border:0; border-radius:10px; background:#102b3d; color:white; font:inherit; cursor:pointer; white-space:normal; }
.omtomi-install-dialog .omi-install-close { float:inline-end; background:transparent; color:inherit; font-size:24px; padding:0; min-width:44px; }
@media(max-width:720px) { .omtomi-buyer-line { padding: 12px; font-size: 14px; } }
/* The legacy form remains an optional draft editor and must fit a phone. */
@media(max-width:720px) {
  .public-inquiry-card, .public-inquiry-page { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; }
  .public-inquiry-card { display: block; padding: 16px 12px; }
  .public-inquiry-card form, .public-inquiry-page form { display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; gap: 12px; }
  .public-inquiry-card form > *, .public-inquiry-page form > * { min-width: 0; max-width: 100%; grid-column: 1; }
  .public-inquiry-card input, .public-inquiry-card select, .public-inquiry-card textarea, .public-inquiry-page input, .public-inquiry-page select, .public-inquiry-page textarea { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; font-size: 16px; }
  .buyer-attachment-picker { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; white-space: normal; }
  .public-inquiry-card button, .public-inquiry-page button { min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
  .product-sticky-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; box-sizing: border-box; }
  .product-sticky-actions > * { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}
.public-inquiry-card label[hidden], .public-inquiry-page label[hidden] { display: none !important; }



/* The product's phone toolbar has its own DOM, separate from desktop contact cards. */
.mobile-product-actions[data-omtomi-actions="single"] { grid-template-columns:minmax(0,1fr); box-sizing:border-box; max-width:100%; }
.mobile-product-actions[data-omtomi-actions="single"] > :not(.omtomi-message-action),
.mobile-product-actions [hidden] { display:none !important; }
.mobile-product-actions[data-omtomi-actions="single"] > .omtomi-message-action { box-sizing:border-box; width:100%; max-width:100%; min-height:48px; padding:12px 16px; font-size:16px; line-height:1.25; color:var(--hc-on-navy,#fff); background:var(--studio-navy,#102b3d); border-color:var(--studio-navy,#102b3d); }

@media(max-width:720px) {
  .public-site[data-page="product"]:has(.product-purchase .currency-board) .public-masthead > .currency-board { display:none !important; }
}

/* Show synchronous handoff feedback without changing the action's label or hit area. */
[data-omtomi-opening] { cursor:progress; }
[data-omtomi-opening]::after { content:''; display:inline-block; flex-shrink:0; width:14px; height:14px; margin-inline-start:8px; border:2px solid currentColor; border-inline-end-color:transparent; border-radius:50%; animation:omtomi-opening-spin .8s linear infinite; }
@keyframes omtomi-opening-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { [data-omtomi-opening]::after { animation:none; } }
.omtomi-entry-feedback { grid-column:1/-1; margin:8px 0; padding:12px; border-radius:10px; background:#fff; color:#102b3d; font:inherit; line-height:1.4; overflow-wrap:anywhere; }

/* One action style across factory themes and the separate car detail view. */
.omtomi-message-action {
 box-sizing:border-box !important; min-height:48px !important; border:0 !important;
 border-radius:10px !important; padding:12px 16px !important; background:#071629 !important;
 color:#fff !important; font:700 16px/1.25 system-ui,-apple-system,sans-serif !important;
 text-decoration:none !important; text-align:center !important; display:flex !important;
 align-items:center !important; justify-content:center !important; gap:8px !important;
}
.omtomi-scroll-top,.omtomi-product-return {
 box-sizing:border-box; position:fixed; bottom:20px; width:48px; height:48px;
 border:1px solid #d5dce2; border-radius:50%; background:#fff; color:#102b3d;
 display:grid; place-items:center; padding:0; margin:0; z-index:62;
 font:700 28px/1 system-ui,-apple-system,sans-serif; text-decoration:none; cursor:pointer;
}
.omtomi-scroll-top{right:max(12px,env(safe-area-inset-right))}
.omtomi-product-return{left:max(12px,env(safe-area-inset-left))}
.omtomi-scroll-top[hidden]{display:none !important}
@media(max-width:980px){
 .mobile-product-actions[data-omtomi-actions="single"]{
  position:fixed !important; inset:auto 0 0 !important; z-index:60 !important;
  width:100% !important; max-width:100% !important; box-sizing:border-box !important;
  display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:0 !important;
  padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)) !important;
  background:#fff !important; border-top:1px solid #d5dce2 !important;
 }
 .mobile-product-actions[data-omtomi-actions="single"]>.omtomi-message-action{
  width:100% !important; max-width:100% !important; grid-column:1/-1 !important; height:48px !important;
 }
 .product-return,.back-to-top,.omtomi-product-return,.omtomi-scroll-top{
  box-sizing:border-box !important; position:fixed !important; top:auto !important;
  bottom:calc(84px + env(safe-area-inset-bottom)) !important; width:48px !important; height:48px !important;
  min-width:48px !important; min-height:48px !important; border:1px solid #d5dce2 !important;
  border-radius:50% !important; background:#fff !important; color:#102b3d !important;
  display:grid !important; place-items:center !important; padding:0 !important; margin:0 !important;
  z-index:62 !important; text-decoration:none !important; transform:none !important;
 }
 .product-return,.omtomi-product-return{left:max(12px,env(safe-area-inset-left)) !important;right:auto !important;font-size:0 !important}
 .product-return::before,.omtomi-product-return::before{content:'←';font:700 28px/1 system-ui,-apple-system,sans-serif}
 .product-return>*{display:none !important}
 .back-to-top,.omtomi-scroll-top{left:auto !important;right:max(12px,env(safe-area-inset-right)) !important;font:700 11px/1.1 system-ui,-apple-system,sans-serif !important;white-space:normal !important;text-align:center !important}
 .omtomi-scroll-top{font-size:28px !important}
 .public-site[data-page="product"] .header-back{display:none !important}
 .public-site[data-page="product"] .public-footer{padding-bottom:calc(100px + env(safe-area-inset-bottom)) !important}
}
@media(max-width:980px){
 html[data-omtomi-cars-detail="true"] .detail-actions{
  box-sizing:border-box !important; display:grid !important; grid-template-columns:minmax(0,1fr) 48px !important;
  position:fixed !important; left:0 !important; right:0 !important; width:100% !important;
  bottom:calc(13vw + env(safe-area-inset-bottom)) !important; z-index:60 !important;
  padding:10px 12px !important; gap:8px !important; background:#fff !important;
 }
 html[data-omtomi-cars-detail="true"] .detail-actions .omtomi-message-action{width:100% !important;height:48px !important;min-width:0 !important}
 html[data-omtomi-cars-detail="true"] .detail-actions [data-fav]{width:48px !important;height:48px !important;min-width:48px !important;padding:0 !important;font-size:0 !important}
 html[data-omtomi-cars-detail="true"] .omtomi-product-return,
 html[data-omtomi-cars-detail="true"] .omtomi-scroll-top{bottom:calc(84px + 13vw + env(safe-area-inset-bottom)) !important}
}
@media(max-width:980px){
 [dir="rtl"] .product-return,[dir="rtl"] .omtomi-product-return{left:auto !important;right:max(12px,env(safe-area-inset-right)) !important}
 [dir="rtl"] .product-return::before,[dir="rtl"] .omtomi-product-return::before{content:'→'}
 [dir="rtl"] .back-to-top,[dir="rtl"] .omtomi-scroll-top{right:auto !important;left:max(12px,env(safe-area-inset-left)) !important}
}
