.farkoo-3d-cta { margin: 16px 0 20px; clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; direction: rtl; }
body .farkoo-3d-cta button.farkoo-3d-open,
body .farkoo-3d-cta button.farkoo-3d-ar-open {
  display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 10px !important; min-height: 58px !important; padding: 12px 14px !important;
  width: 100% !important; margin: 0 !important; border-radius: 13px !important;
  cursor: pointer !important; direction: rtl !important; text-align: center !important;
  font-family: inherit !important; font-size: 15px !important; font-weight: 800 !important;
  line-height: 1.6 !important; letter-spacing: normal !important;
  text-transform: none !important; opacity: 1 !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}
body .farkoo-3d-cta button.farkoo-3d-open {
  border: 1px solid #263844 !important; color: #fff !important;
  background: linear-gradient(135deg, #314858, #1f2f3a) !important;
  box-shadow: 0 5px 13px rgba(23,43,55,.19) !important;
}
body .farkoo-3d-cta button.farkoo-3d-ar-open {
  border: 1px solid #02bfb8 !important; color: #10363a !important;
  background: linear-gradient(135deg, #36e8d9, #00c9be) !important;
  box-shadow: 0 5px 14px rgba(0,174,165,.22) !important;
}
body .farkoo-3d-cta button .farkoo-3d-label { display: inline-block !important; direction: rtl !important; unicode-bidi: isolate; white-space: nowrap; color: inherit !important; font: inherit !important; }
body .farkoo-3d-cta button .farkoo-3d-icon { display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 25px; width: 25px; height: 25px; color: inherit !important; }
body .farkoo-3d-cta button .farkoo-3d-icon svg { display: block; width: 24px; height: 24px; fill: none !important; stroke: currentColor !important; }
body .farkoo-3d-cta button.farkoo-3d-open:hover { background: linear-gradient(135deg, #3b5362, #1d2b35) !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 17px rgba(23,43,55,.25) !important; }
body .farkoo-3d-cta button.farkoo-3d-ar-open:hover { background: linear-gradient(135deg, #53efe1, #00c5b8) !important; color: #10363a !important; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,174,165,.27) !important; }
body .farkoo-3d-cta button:active { transform: translateY(0) scale(.99); }
.farkoo-3d-open:focus-visible, .farkoo-3d-ar-open:focus-visible,
.farkoo-3d-exit:focus-visible, .farkoo-3d-ar-launch:focus-visible,
.farkoo-3d-zoom button:focus-visible { outline: 3px solid #d7b481; outline-offset: 3px; }
.farkoo-3d-dialog[hidden], .farkoo-3d-loader[hidden], .farkoo-3d-error[hidden], .farkoo-3d-zoom[hidden], .farkoo-3d-ar-status[hidden] { display: none !important; }
.farkoo-3d-dialog {
  position: fixed; inset: 0; z-index: 2147483000; background: #323438;
  color: #f8fafc; direction: rtl; display: flex; align-items: stretch; justify-content: center;
}
.farkoo-3d-shell { width: 100%; min-height: 0; display: flex; flex-direction: column; }
.farkoo-3d-head {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.farkoo-3d-head h2 { color: #fff; font: inherit; font-size: 19px; font-weight: 700; margin: 0; }
.farkoo-3d-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #323438; }
.farkoo-3d-model { display: block; width: 100%; height: 100%; background: #323438; --poster-color: #323438; }
.farkoo-3d-loader, .farkoo-3d-error {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; z-index: 2; padding: 24px; text-align: center;
  color: #e5e7eb; background: #323438;
}
.farkoo-3d-loader::before {
  content: ''; width: 32px; height: 32px; border: 3px solid rgba(255,255,255,.2);
  border-top-color: #fff; border-radius: 50%; animation: farkoo-3d-spin 1s linear infinite;
}
@keyframes farkoo-3d-spin { to { transform: rotate(360deg); } }
.farkoo-3d-error a { color: #fff; text-decoration: underline; }
.farkoo-3d-error p { margin: 0; }
.farkoo-3d-error img.farkoo-3d-preview {
  display: block; width: auto; height: auto; max-width: min(100%, 540px);
  max-height: 65%; object-fit: contain; border-radius: 8px;
}
.farkoo-3d-error img.farkoo-3d-preview[hidden] { display: none; }
.farkoo-3d-zoom { position: absolute; z-index: 3; bottom: 16px; left: 16px; display: flex; flex-direction: column; gap: 8px; }
.farkoo-3d-zoom button {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(20,22,26,.73); color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.farkoo-3d-foot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 12px 18px max(14px, env(safe-area-inset-bottom)); text-align: center;
  background: #323438; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; line-height: 1.6;
}
.farkoo-3d-foot small { font-size: 11px; color: #b6bbc0; }
.farkoo-3d-ar-status { color: #e8c990; font-size: 12px; }
.farkoo-3d-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 600px); gap: 10px; margin-top: 8px; }
.farkoo-3d-actions button { min-height: 46px; border-radius: 10px; padding: 10px 16px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
.farkoo-3d-actions button svg { width: 20px; height: 20px; flex: none; }
.farkoo-3d-ar-launch { border: 1px solid #e8c990; color: #272b2f; background: #e8c990; }
.farkoo-3d-ar-launch:hover:not(:disabled) { background: #f5dbaa; color: #272b2f; }
.farkoo-3d-ar-launch:disabled { border: 1px solid #626970; color: #b7bec5; background: #4b5055; cursor: not-allowed; }
.farkoo-3d-exit { border: 1px solid rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.09); }
.farkoo-3d-exit:hover { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 600px) {
  .farkoo-3d-cta { grid-template-columns: 1fr; }
  body .farkoo-3d-cta button.farkoo-3d-open,
  body .farkoo-3d-cta button.farkoo-3d-ar-open { min-height: 56px !important; font-size: 15px !important; }
  .farkoo-3d-head { min-height: 52px; padding: 8px 12px; }
  .farkoo-3d-head h2 { font-size: 16px; }
  .farkoo-3d-foot { font-size: 12px; padding: 8px 12px max(12px, env(safe-area-inset-bottom)); }
  .farkoo-3d-actions { gap: 8px; margin-top: 5px; }
  .farkoo-3d-actions button { min-height: 44px; padding: 8px; font-size: 13px; }
}
