.landing-home .hero-welcome-note,
.landing-home .hero-stats { display: none; }

.landing-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.landing-services article {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
}

.landing-services h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.4rem;
}

.landing-services .service-icon {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}

.brand-icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  margin: 1.75rem 0 0;
}

.brand-icon-row figure {
  margin: 0;
  text-align: center;
}

.brand-icon-row img {
  height: 52px;
  width: auto;
  margin: 0 auto 0.35rem;
}

.brand-icon-row figcaption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.landing-join {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.landing-join .hero-actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .landing-services { grid-template-columns: 1fr; }
}

#account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: 0.35rem;
  padding-left: 1rem;
  border-left: 1px solid var(--color-border);
}

.account-menu {
  position: relative;
}

.account-avatar-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-avatar-btn:hover {
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

.account-avatar-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.account-avatar-btn svg {
  width: 20px;
  height: 20px;
}

.account-avatar-btn.is-signed-in {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.account-avatar-btn.is-verified {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-gold);
}

.account-avatar-btn[aria-expanded="true"] {
  border-color: var(--color-gold);
}

.account-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  width: min(320px, 88vw);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 21, 51, 0.16);
  z-index: 50;
  overflow: hidden;
}

.account-drop-card {
  padding: 1rem 1.05rem 0.85rem;
  background: var(--color-bg);
}

.account-drop-kicker,
.account-drop-meta,
.account-status {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.account-drop-card strong,
.account-drop-who strong {
  display: block;
  margin: 0.2rem 0 0.15rem;
  font-size: 1rem;
  color: var(--color-navy);
  line-height: 1.25;
}

.account-drop-card > span,
.account-drop-email {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
  word-break: break-word;
  user-select: text;
}

.account-drop-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.account-drop-who {
  min-width: 0;
}

.account-drop-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.account-status {
  display: inline-flex;
  margin-top: 0.45rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(197, 155, 77, 0.12);
}

.account-status--ok {
  background: rgba(37, 140, 80, 0.12);
  color: #1f7a46;
}

.account-status--warn {
  background: rgba(176, 92, 24, 0.12);
  color: #8a4310;
}

.account-status--admin {
  background: rgba(11, 31, 58, 0.1);
  color: var(--color-navy);
}

.account-drop-rows {
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}

.account-drop-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
}

.account-drop-row span {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.account-drop-row strong {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: right;
}

.account-drop-meta {
  margin-top: 0.45rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

.account-drop-actions {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1.05rem 1.05rem;
}

.account-drop-links {
  display: grid;
  border-top: 1px solid var(--color-border);
}

.account-drop-links a,
.account-drop-signout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 1.05rem;
  color: var(--color-navy);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  border-top: 1px solid var(--color-border);
}

.account-drop-links a:first-child {
  border-top: 0;
}

.account-drop-links a:hover,
.account-drop-signout:hover {
  background: var(--color-bg);
}

.account-drop-links em {
  font-style: normal;
  min-width: 1.2rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.68rem;
  text-align: center;
}

.account-drop-signout {
  color: #8a4310;
}

@media (max-width: 768px) {
  .header-tools {
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
    gap: 0.5rem;
  }

  .account-avatar-btn,
  .notify-icon-btn {
    width: 40px;
    height: 40px;
  }
}

.notify-dock {
  position: relative;
}

.notify-icon-btn,
.notify-dash-bell {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notify-icon-btn.has-unread,
.notify-dash.has-unread .notify-dash-bell {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 77, 0.22);
}

.notify-icon-svg,
.notify-dash-bell svg {
  width: 20px;
  height: 20px;
}

.notify-icon-btn .notify-count,
.notify-dash-bell .notify-count {
  position: absolute;
  top: -4px;
  right: -4px;
}

.notify-icon-btn.has-unread .notify-count {
  animation: notify-pulse 1.6s ease-in-out infinite;
}

@keyframes notify-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.notify-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  width: min(340px, 88vw);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 21, 51, 0.16);
  z-index: 40;
  overflow: hidden;
}

.notify-drop-head,
.notify-drop-foot {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
}

.notify-drop-head { background: var(--color-bg); }
.notify-drop-foot {
  border-top: 1px solid var(--color-border);
  color: var(--color-navy);
  font-weight: 600;
}

.notify-drop-list { max-height: 280px; overflow: auto; }

.notify-drop-item {
  display: block;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--color-border);
  color: inherit;
  text-decoration: none;
}

.notify-drop-item em {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold-dark);
}

.notify-drop-item strong,
.notify-drop-item span { display: block; }

.notify-drop-item span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.notify-drop-item.is-unread { background: rgba(197, 155, 77, 0.08); }
.notify-drop-empty { padding: 0.9rem; margin: 0; }

.notify-dash {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.notify-dash.has-unread {
  border-color: var(--color-gold);
}

.notify-dash-list {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.1rem;
}

.notify-dash-list .is-unread a { font-weight: 700; }

.notify-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.notify-count {
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--gradient-gold);
  color: var(--color-navy-dark);
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notify-room {
  max-width: 760px;
}

.notify-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.notify-list {
  display: grid;
  gap: 0.85rem;
}

.notify-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
}

.notify-card-hit {
  display: block;
  color: inherit;
  text-decoration: none;
}

.notify-card-hit:hover h3 {
  color: var(--color-navy);
}

.notify-card.is-unread {
  border-color: var(--color-gold);
  box-shadow: inset 4px 0 0 var(--color-gold);
}

.notify-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.notify-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
}

.notify-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.flash {
  max-width: 1200px;
  margin: 1rem auto 0;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  width: min(1200px, 92vw);
  background: #fff;
  border: 1px solid var(--color-border);
}

.flash--success { border-color: rgba(37, 140, 80, 0.35); }
.flash--info { border-color: var(--color-border-strong); }

.product-grid.has-products {
  display: grid;
}

.product-moq {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0.35rem 0 0.75rem;
}

.product-name a { color: inherit; }

.market-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

.market-sidebar h3 {
  font-family: var(--font-serif);
  margin-bottom: 0.75rem;
}

.market-sidebar .category-filters {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.result-count {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.auth-switch { margin-top: 1rem; font-size: 0.9rem; }
.form-error { color: #9b1c1c; font-weight: 600; }

.login-prompt {
  padding: 1rem;
  background: var(--color-bg);
  border-radius: var(--radius);
}

.table-wrap { overflow-x: auto; margin: 1rem 0 2rem; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.data-table th {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.status-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(197, 155, 77, 0.15);
  font-size: 0.72rem;
  text-transform: capitalize;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.inline-form { display: flex; gap: 0.4rem; align-items: center; }

.legal-prose { max-width: 720px; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.capture-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2rem;
  align-items: start;
}

.drop-photo {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 280px;
  padding: 1rem;
  border: 1.5px dashed var(--color-gold);
  border-radius: var(--radius-lg);
  background: #fff;
  cursor: pointer;
}

.drop-photo em {
  color: var(--color-text-muted);
  font-style: normal;
  font-size: 0.85rem;
}

.drop-photo img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.coming-soon-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.dev-code {
  padding: 0.75rem 1rem;
  background: rgba(197, 155, 77, 0.12);
  border-radius: var(--radius);
  letter-spacing: 0.04em;
}

.chatbot {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.chatbot-toggle {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  background: var(--gradient-gold);
  color: var(--color-navy-dark);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 21, 51, 0.22);
  cursor: pointer;
}

.chatbot-panel {
  width: min(400px, calc(100vw - 1.4rem));
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 21, 51, 0.22);
  overflow: hidden;
}

.chatbot-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: var(--gradient-navy);
  color: #fff;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--color-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.chatbot-head span {
  display: block;
  font-size: 0.72rem;
  color: var(--color-gold-light);
}

.chatbot-close {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-log {
  height: 320px;
  overflow: auto;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: linear-gradient(180deg, #f6f3ee 0%, #fbfaf7 100%);
}

.chatbot-bubble {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 92%;
}

.chatbot-bubble--bot {
  background: #fff;
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.chatbot-bubble--user {
  margin-left: auto;
  background: var(--color-navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-typing { opacity: 0.7; font-style: italic; }

.chatbot-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.1rem 0 0.3rem;
}

.chatbot-choice {
  border: 1px solid var(--color-gold);
  background: #fff;
  color: var(--color-navy);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.chatbot-choice--go {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.chatbot-choice:hover {
  background: rgba(197, 155, 77, 0.12);
}

.chatbot-choice--go:hover { background: var(--color-navy-light); color: #fff; }

.chatbot-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.chatbot-form input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .market-layout,
  .product-detail,
  .admin-grid,
  .capture-grid,
  .form-row { grid-template-columns: 1fr; }
}

/* Landing hero slider */
.hero--slider {
  padding: 4.5rem 0 5.75rem;
}

.hero-slider {
  position: relative;
  z-index: 1;
  outline: none;
}

.hero-slider-viewport {
  position: relative;
  min-height: 0;
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.dubai-slider--hero {
  position: relative;
  width: 100%;
  min-width: 0;
}

.dubai-slider--hero .dubai-slider-viewport {
  position: relative;
  width: 100%;
  height: min(560px, 70vh);
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: #0a2347;
  box-shadow:
    0 24px 60px rgba(2, 12, 32, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dubai-slider--hero .dubai-slider-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(227, 198, 106, 0.28), transparent 70%);
  transform: translateX(-120%);
  opacity: 0;
}

.dubai-slider--hero.is-wiping .dubai-slider-viewport::after {
  animation: dubai-wipe 0.75s ease;
}

@keyframes dubai-wipe {
  0% { transform: translateX(-120%); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

.dubai-slider--hero .dubai-slider-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  gap: 0;
}

.dubai-slider--hero .dubai-card {
  position: absolute;
  inset: 0;
  display: block;
  flex: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.dubai-slider--hero .dubai-card.is-active,
.dubai-slider--hero .dubai-card.is-leaving {
  visibility: visible;
  pointer-events: auto;
}

.dubai-slider--hero .dubai-card.is-active {
  z-index: 2;
  animation: dubai-in-next 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dubai-slider--hero .dubai-card.is-active.from-prev {
  animation-name: dubai-in-prev;
}

.dubai-slider--hero .dubai-card.is-leaving {
  z-index: 3;
  animation: dubai-out-next 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dubai-slider--hero .dubai-card.is-leaving.to-prev {
  animation-name: dubai-out-prev;
}

@keyframes dubai-in-next {
  from { opacity: 0; transform: translate3d(14%, 0, 0) scale(1.06); }
  to { opacity: 1; transform: none; }
}

@keyframes dubai-in-prev {
  from { opacity: 0; transform: translate3d(-14%, 0, 0) scale(1.06); }
  to { opacity: 1; transform: none; }
}

@keyframes dubai-out-next {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translate3d(-12%, 0, 0) scale(0.96); }
}

@keyframes dubai-out-prev {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translate3d(12%, 0, 0) scale(0.96); }
}

.dubai-slider--hero .dubai-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transform: scale(1.08);
}

.dubai-slider--hero .dubai-card.is-active img {
  animation: dubai-kenburns 6.2s ease-out forwards;
}

.dubai-slider--hero .dubai-card:nth-child(even).is-active img {
  animation-name: dubai-kenburns-alt;
}

@keyframes dubai-kenburns {
  from { transform: scale(1.12) translate3d(-2%, 0, 0); }
  to { transform: scale(1.02) translate3d(1.5%, -1%, 0); }
}

@keyframes dubai-kenburns-alt {
  from { transform: scale(1.04) translate3d(2%, 1%, 0); }
  to { transform: scale(1.12) translate3d(-2%, 0, 0); }
}

.dubai-slider--hero .dubai-card-meta {
  padding: 3.2rem 1.15rem 1.2rem;
  padding-right: 6.2rem;
  background: linear-gradient(180deg, transparent 5%, rgba(4, 23, 47, 0.92) 62%);
  transform: translateY(28px);
  opacity: 0;
}

.dubai-slider--hero .dubai-card.is-active .dubai-card-meta {
  animation: dubai-caption 0.7s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dubai-caption {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.dubai-craft {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 6;
  margin: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(4, 23, 47, 0.55);
  backdrop-filter: blur(8px);
  color: rgba(227, 198, 106, 0.92);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dubai-slider--hero .dubai-slider-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0 16px;
  border-top: 0;
}

.dubai-slider--hero .dubai-slider-dots {
  display: none;
}

.dubai-slider--hero .dubai-slider-dot {
  width: 7px;
  height: 7px;
}

.hero--slider .hero-slider-bar {
  margin-top: 1.25rem;
  padding-right: 0;
}

.hero--slider .hero-slide {
  display: none;
}

.hero--slider .hero-slide.is-active {
  display: block;
  animation: hero-copy-in 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(227, 198, 106, 0.82);
}

.hero--slider .hero-visual {
  min-height: 420px;
  align-items: center;
}

.hero-slide-frame {
  position: relative;
  width: min(420px, 100%);
  margin: 0 auto;
  aspect-ratio: 1 / 1.08;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 255, 255, 0.94), #f4efe6 72%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow:
    0 24px 60px rgba(2, 12, 32, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.6rem 1.6rem 3.4rem;
  background: transparent;
}

.hero-slide-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1.1rem 1rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, transparent, rgba(8, 45, 91, 0.92) 55%);
}

.hero-slide-frame--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  aspect-ratio: auto;
  min-height: 280px;
}

.hero-slide-frame--brand img {
  width: min(340px, 100%);
  height: auto;
  padding: 0;
  object-fit: contain;
}

.hero-slide-frame--brand figcaption {
  display: none;
}

.hero-slider-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.15rem;
  padding-right: 9rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-slider-dots {
  display: flex;
  gap: 0.45rem;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease;
}

.hero-slider-dot.is-active {
  width: 28px;
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.hero-slider-progress {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero-slider-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gradient-gold);
  transform-origin: left center;
  transform: scaleX(0);
}

@keyframes hero-slider-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-slider-arrows {
  display: flex;
  gap: 0.5rem;
}

.hero-slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(8, 45, 91, 0.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-slider-btn svg {
  width: 18px;
  height: 18px;
}

.hero-slider-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--color-gold-light);
  transform: translateY(-1px);
}

.hero--slider .hero-grid {
  z-index: 2;
}

.hero--slider .hero-content,
.hero--slider .hero-visual {
  animation: none !important;
  opacity: 1 !important;
}

.hero--slider h1 {
  color: #fff;
}

.hero--slider .hero-desc {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
  .hero--slider {
    padding: 3.2rem 0 5.5rem;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .dubai-slider--hero {
    order: -1;
  }

  .dubai-slider--hero .dubai-slider-viewport {
    height: min(420px, 58vh);
    min-height: 300px;
  }

  .hero--slider .hero-visual {
    min-height: 0;
    order: -1;
  }

  .hero-slide-frame,
  .hero-slide-frame--brand {
    width: min(300px, 86vw);
    min-height: 0;
  }

  .hero-slider-bar {
    grid-template-columns: 1fr auto;
    gap: 0.85rem;
    padding-right: 0;
  }

  .hero-slider-progress {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit {
    animation: none;
  }

  .hero-slider-progress span,
  .dubai-slider-progress span {
    animation: none !important;
    transform: scaleX(1);
  }

  .dubai-card img,
  .dubai-card:hover img {
    transform: none;
    transition: none;
  }

  .dubai-slider--hero .dubai-card.is-active,
  .dubai-slider--hero .dubai-card.is-leaving,
  .dubai-slider--hero .dubai-card.is-active img,
  .dubai-slider--hero .dubai-card.is-active .dubai-card-meta,
  .hero--slider .hero-slide.is-active,
  .dubai-slider--hero.is-wiping .dubai-slider-viewport::after {
    animation: none !important;
  }

  .dubai-slider--hero .dubai-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dubai-slider--hero .dubai-card.is-active .dubai-card-meta {
    opacity: 1;
    transform: none;
  }
}

/* Dubai shops / products / services showcase */
.dubai-desk {
  position: relative;
  padding: 5rem 0 4.25rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(197, 155, 77, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(10, 58, 122, 0.45), transparent),
    var(--gradient-navy);
  color: #fff;
  overflow: hidden;
}

.dubai-desk::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 155, 77, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 155, 77, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.dubai-desk-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.25rem;
}

.dubai-desk-header h2,
.dubai-desk-header p {
  color: #fff;
}

.dubai-desk-header p {
  color: rgba(255, 255, 255, 0.72);
}

.dubai-desk .section-label {
  color: var(--color-gold-light);
}

.dubai-slider {
  position: relative;
  z-index: 1;
}

.dubai-slider-viewport {
  overflow: hidden;
  padding: 0 4vw 0.4rem;
  cursor: grab;
  scrollbar-width: none;
}

.dubai-slider-viewport:active {
  cursor: grabbing;
}

.dubai-slider-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
}

.dubai-card {
  position: relative;
  flex: 0 0 min(340px, 78vw);
  width: min(340px, 78vw);
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #0a2347;
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: 0 18px 40px rgba(2, 12, 32, 0.35);
}

.dubai-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.dubai-card[data-kind="product"] img {
  object-fit: contain;
  padding: 1.6rem 1.4rem 4.6rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% 28%, rgba(255, 255, 255, 0.96), #efe6d4 78%);
}

.dubai-card:hover img {
  transform: scale(1.08);
}

.dubai-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1.05rem 1.05rem;
  background: linear-gradient(180deg, transparent, rgba(4, 23, 47, 0.94) 58%);
}

.dubai-card-meta span {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(8, 45, 91, 0.55);
  color: var(--color-gold-light);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dubai-card[data-kind="product"] .dubai-card-meta span {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.dubai-card[data-kind="service"] .dubai-card-meta span {
  background: rgba(212, 175, 55, 0.18);
}

.dubai-card-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.25rem;
  color: #fff;
}

.dubai-card-meta p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.dubai-slider-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.dubai-slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dubai-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease;
}

.dubai-slider-dot.is-active {
  width: 26px;
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.dubai-slider-progress {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.dubai-slider-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gradient-gold);
  transform-origin: left center;
  transform: scaleX(0);
}

.dubai-slider-arrows {
  display: flex;
  gap: 0.5rem;
}

.dubai-slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(8, 45, 91, 0.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.dubai-slider-btn svg {
  width: 18px;
  height: 18px;
}

.dubai-slider-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--color-gold-light);
  transform: translateY(-1px);
}

.dubai-desk-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 980px) {
  .dubai-card {
    flex-basis: calc((min(1200px, 92vw) - 2.2rem) / 3);
    width: calc((min(1200px, 92vw) - 2.2rem) / 3);
  }

  .dubai-slider-viewport {
    padding-left: max(4vw, calc((100vw - min(1200px, 92vw)) / 2));
    padding-right: max(4vw, calc((100vw - min(1200px, 92vw)) / 2));
  }
}

@media (max-width: 979px) and (min-width: 640px) {
  .dubai-card {
    flex-basis: calc((min(1200px, 92vw) - 1.1rem) / 2);
    width: calc((min(1200px, 92vw) - 1.1rem) / 2);
  }
}

@media (max-width: 900px) {
  .dubai-desk {
    padding: 3.6rem 0 3.4rem;
  }

  .dubai-slider-bar {
    display: flex;
    justify-content: flex-end;
    border-top: 0;
    padding-top: 0.4rem;
  }

  .dubai-slider-progress,
  .dubai-slider-dots {
    display: none;
  }
}

/* Site-wide Techworldzim craft layer */
.site-header {
  position: sticky;
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  z-index: 2;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(212, 175, 55, 0.38);
  box-shadow: 0 14px 36px rgba(4, 23, 47, 0.1);
}

.btn-primary,
.btn-ghost,
.btn-outline {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.38), transparent 72%);
  transform: translateX(-120%);
  opacity: 0;
}

.btn-primary:hover::after,
.btn-ghost:hover::after {
  animation: dubai-wipe 0.7s ease;
}

.craft-mark {
  display: inline-flex;
  align-items: center;
  margin: 1.1rem 0 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(4, 23, 47, 0.06);
  color: var(--color-navy);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer .craft-mark {
  background: rgba(4, 23, 47, 0.35);
  color: rgba(227, 198, 106, 0.92);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

html.craft-ready [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
}

html.craft-ready [data-reveal="left"]:not(.is-in) { transform: translate3d(-36px, 8px, 0); }
html.craft-ready [data-reveal="right"]:not(.is-in) { transform: translate3d(36px, 8px, 0); }
html.craft-ready [data-reveal="scale"]:not(.is-in) { transform: translate3d(0, 18px, 0) scale(1.04); }

[data-reveal].is-in {
  animation: craft-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0s);
}

[data-reveal="left"].is-in { animation-name: craft-in-left; }
[data-reveal="right"].is-in { animation-name: craft-in-right; }
[data-reveal="scale"].is-in { animation-name: craft-in-scale; }

@keyframes craft-rise {
  from { opacity: 0; transform: translate3d(0, 32px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes craft-in-left {
  from { opacity: 0; transform: translate3d(-36px, 8px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes craft-in-right {
  from { opacity: 0; transform: translate3d(36px, 8px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes craft-in-scale {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(1.06); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .hero-visual,
  .section > .container,
  .welcome-home-inner {
    animation: none;
  }
}

.welcome-home--compact {
  padding: 3.5rem 0;
}

.welcome-home--compact .welcome-home-inner {
  grid-template-columns: 1.15fr 0.95fr;
  align-items: stretch;
}

.about-subhead {
  margin-top: 2rem;
}

.cta-section .btn {
  margin: 0 0.4rem 0.55rem;
}

.welcome-home-stage {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: #0a2347;
  box-shadow:
    0 24px 60px rgba(2, 12, 32, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.welcome-home-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: dubai-kenburns 18s ease-out forwards;
}

.welcome-home-stage .welcome-home-list {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 4.8rem 1.25rem 1.2rem;
  background: linear-gradient(180deg, transparent 8%, rgba(4, 23, 47, 0.94) 58%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
}

.welcome-home-stage .welcome-home-list li {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(212, 175, 55, 0.18);
}

.brand-icon-row {
  margin: 0 auto 2rem;
  padding: 0.85rem 1.1rem;
  max-width: 860px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(180deg, #fff, #f7f2e8);
}

.service-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-scenes article {
  position: relative;
  min-height: 340px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #0a2347;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(2, 12, 32, 0.18);
}

.service-scenes img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-scenes article:hover img {
  transform: scale(1.14) translate3d(-1%, -1%, 0);
}

.service-scene-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 3.4rem 1.15rem 1.15rem;
  background: linear-gradient(180deg, transparent 8%, rgba(4, 23, 47, 0.94) 60%);
}

.service-scene-meta span {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(8, 45, 91, 0.55);
  color: var(--color-gold-light);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-scene-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.3rem;
  color: #fff;
}

.service-scene-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.landing-join-band {
  position: relative;
  padding: 6rem 0 5.75rem;
  overflow: hidden;
  color: #fff;
  background: var(--color-navy-dark);
}

.landing-join-band .landing-join-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.08);
  animation: dubai-kenburns-alt 22s ease-out forwards;
}

.landing-join-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 23, 47, 0.82) 12%, rgba(4, 23, 47, 0.55) 58%, rgba(4, 23, 47, 0.78)),
    linear-gradient(180deg, transparent, rgba(4, 23, 47, 0.35));
}

.landing-join-band .landing-join {
  position: relative;
  z-index: 1;
}

.landing-join-band .craft-mark {
  background: rgba(4, 23, 47, 0.45);
  color: rgba(227, 198, 106, 0.92);
}

.landing-join-band .section-label,
.landing-join-band h2,
.landing-join-band p {
  color: #fff;
}

.landing-join-band p {
  color: rgba(255, 255, 255, 0.78);
}

.landing-join-band .btn-outline {
  color: #fff;
  border-color: rgba(212, 175, 55, 0.7);
}

.landing-join-band .btn-outline:hover {
  background: rgba(212, 175, 55, 0.16);
  color: #fff;
  border-color: var(--color-gold-light);
}

.page-hero--photo {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 3.4rem;
  overflow: hidden;
  text-align: left;
}

.page-hero--photo .page-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: dubai-kenburns 20s ease-out forwards;
}

.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(4, 23, 47, 0.22) 8%, rgba(4, 23, 47, 0.9) 82%),
    linear-gradient(90deg, rgba(4, 23, 47, 0.78) 0%, rgba(4, 23, 47, 0.28) 46%, transparent 72%);
}

.page-hero--photo .container {
  position: relative;
  z-index: 1;
}

.page-hero--photo .dubai-craft,
.cta-section--photo .dubai-craft {
  position: absolute;
  z-index: 2;
}

.page-hero--photo h1,
.page-hero--photo p {
  max-width: 640px;
  margin-left: 0;
  text-shadow: 0 10px 28px rgba(4, 23, 47, 0.45);
}

.about-photo {
  position: relative;
  min-height: 280px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.38);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-photo:hover img {
  transform: scale(1.12);
}

.founder-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 18px 40px rgba(2, 12, 32, 0.08);
}

.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.values-list li {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.values-list li:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-hover);
}

.diff-item {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.diff-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cta-section--photo {
  position: relative;
  overflow: hidden;
}

.cta-section--photo .cta-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  transform: scale(1.08);
  animation: dubai-kenburns 22s ease-out forwards;
}

.cta-section--photo::before {
  background-image: none;
  background: linear-gradient(180deg, rgba(4, 23, 47, 0.72), rgba(4, 23, 47, 0.88));
}

.cta-section--photo .container {
  position: relative;
  z-index: 1;
}

.dubai-slider--compact .dubai-slider-viewport {
  height: min(480px, 64vh);
  min-height: 360px;
}

.marketplace-hero .hero-split,
.marketplace-hero .how-strip {
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.marketplace-hero {
  padding-bottom: 2.75rem;
}

.marketplace-hero .hero-kicker {
  color: rgba(227, 198, 106, 0.82);
}

.how-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  padding: 1.35rem 0 0.25rem;
}

.how-strip article {
  padding: 1rem 1.05rem 1.05rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.how-strip span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-gold-light);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.how-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.45;
}

.promo-banner--photo {
  min-height: 280px;
  padding: 0;
  color: #fff;
  background: #0a2347;
  border-color: rgba(212, 175, 55, 0.38);
}

.promo-banner--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-banner--photo:hover img {
  transform: scale(1.14);
}

.promo-banner--photo .promo-banner-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.2rem 1.15rem 1.15rem;
  background: linear-gradient(180deg, transparent 10%, rgba(4, 23, 47, 0.94) 62%);
}

.promo-banner--photo h3,
.promo-banner--photo p,
.promo-banner--photo .promo-banner-tag {
  color: #fff;
}

.promo-banner--photo p {
  color: rgba(255, 255, 255, 0.74);
}

.promo-banner--photo .promo-banner-tag {
  color: var(--color-gold-light);
}

.why-card {
  text-align: left;
  overflow: hidden;
  border-color: rgba(212, 175, 55, 0.28);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.why-card .why-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--color-gold-dark);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.step-card--photo {
  padding: 0;
  text-align: left;
}

.step-card--photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card--photo:hover img {
  transform: scale(1.12);
}

.step-card--photo .step-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.step-card--photo .step-num {
  margin-bottom: 0.75rem;
}

.dual-cta-card--photo {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.32);
}

.dual-cta-card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.dual-cta-card--photo:hover img {
  transform: scale(1.12);
}

.dual-cta-card--photo .dual-cta-body {
  position: relative;
  z-index: 1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.4rem 1.6rem 1.6rem;
  background: linear-gradient(180deg, transparent 12%, rgba(4, 23, 47, 0.92) 58%);
}

.newsletter-box {
  position: relative;
  overflow: hidden;
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow: 0 18px 40px rgba(2, 12, 32, 0.08);
}

.newsletter-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.testimonial-card {
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-strong);
}

.product-card {
  border-color: rgba(212, 175, 55, 0.28);
}

.product-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(227, 198, 106, 0.28), transparent 70%);
  transform: translateX(-120%);
  opacity: 0;
}

.product-card:hover .product-image-wrap::after {
  animation: dubai-wipe 0.75s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.12);
}

.product-preview-hint {
  background: linear-gradient(180deg, transparent, rgba(4, 23, 47, 0.72));
  align-items: flex-end;
  padding-bottom: 1rem;
  letter-spacing: 0.14em;
}

.chatbot-panel {
  border-color: rgba(212, 175, 55, 0.38);
}

.chatbot-toggle {
  position: relative;
  overflow: hidden;
}

.chatbot-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.4), transparent 70%);
  transform: translateX(-120%);
  opacity: 0;
}

.chatbot-toggle:hover::after {
  animation: dubai-wipe 0.7s ease;
}

.sticky-cta {
  border-top-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 -16px 40px rgba(2, 12, 32, 0.28);
}

.trust-item {
  padding: 0.35rem 0.2rem;
  transition: transform 0.35s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
}

.collection-chip.active {
  background: var(--gradient-navy);
  border-color: rgba(212, 175, 55, 0.45);
}

@media (max-width: 980px) {
  .service-scenes,
  .how-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .welcome-home-stage {
    min-height: 340px;
  }

  .welcome-home--compact .welcome-home-inner {
    grid-template-columns: 1fr;
  }

  .page-hero--photo {
    min-height: 340px;
    padding: 5.5rem 0 2.6rem;
  }

  .dubai-slider--compact .dubai-slider-viewport {
    height: min(380px, 52vh);
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .service-scenes,
  .how-strip {
    grid-template-columns: 1fr;
  }

  .brand-icon-row {
    border-radius: 22px;
  }

  .service-scenes article {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .welcome-home-stage img,
  .landing-join-band .landing-join-photo,
  .page-hero--photo .page-hero-photo,
  .cta-section--photo .cta-photo,
  .service-scenes img,
  .promo-banner--photo img,
  .dual-cta-card--photo img,
  .step-card--photo img,
  .about-photo img {
    animation: none !important;
    transform: none;
    transition: none;
  }
}

.account-avatar-btn.has-photo,
.account-avatar-btn img {
  padding: 0;
  overflow: hidden;
}

.account-avatar-btn img,
img.account-drop-avatar,
.desk-bubble-avatar,
.desk-thread-avatar,
.table-avatar,
.avatar-photo,
.chat-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

img.account-drop-avatar,
.desk-bubble-avatar,
.desk-thread-avatar,
.table-avatar,
.chat-avatar {
  width: 42px;
  height: 42px;
}

.avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

.account-drop-identity-photo {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}

.account-drop-identity-photo:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.account-drop-photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.75rem;
}

.account-drop-photo {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.account-drop-photo:hover {
  color: var(--color-gold-dark);
}

.account-drop-photo--remove {
  color: #8a4310;
}

.account-drop-photo input {
  display: none;
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.account-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.avatar-upload {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.avatar-upload-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.avatar-upload-frame {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  background: var(--color-navy);
  color: #fff;
  padding: 0;
  font: inherit;
}

.avatar-upload-frame input { display: none; }
.avatar-upload-frame .avatar-fallback,
.avatar-upload-frame .avatar-photo {
  width: 100%;
  height: 100%;
}

.avatar-studio {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4, 23, 47, 0.58);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.avatar-studio-panel {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.4rem 1.2rem;
  box-shadow: 0 24px 64px rgba(4, 23, 47, 0.28);
}

.avatar-studio-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}

.avatar-studio-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.avatar-studio-panel h2 {
  margin: 0.2rem 0 0.35rem;
  font-family: var(--font-serif);
  color: var(--color-navy);
}

.avatar-studio-copy {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.avatar-studio-work {
  display: grid;
  grid-template-columns: 280px auto;
  gap: 1.1rem;
  align-items: center;
}

.avatar-crop-stage {
  position: relative;
  width: 280px;
  height: 280px;
  overflow: hidden;
  border-radius: 18px;
  background: #0b1f3a;
  touch-action: none;
  cursor: grab;
}

.avatar-crop-stage.is-dragging {
  cursor: grabbing;
}

.avatar-crop-img,
.avatar-live-img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  width: auto;
  height: auto;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
}

.avatar-crop-hole {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 200px rgba(4, 23, 47, 0.55);
  border: 2px solid rgba(197, 155, 77, 0.9);
  pointer-events: none;
}

.avatar-studio-preview-col {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.avatar-studio-preview-col p {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.avatar-live-preview,
.avatar-preview-hero {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--color-navy);
  border: 2px solid var(--color-gold);
}

.avatar-preview-hero {
  width: 180px;
  height: 180px;
  margin: 0 auto 0.4rem;
}

.avatar-preview-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-preview-hero--empty {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
}

.avatar-zoom {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-navy);
}

.avatar-zoom input {
  width: 100%;
  accent-color: var(--color-gold);
}

.avatar-studio-error {
  margin: 0.7rem 0 0;
  color: #8a4310;
  font-size: 0.84rem;
}

.avatar-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

body.avatar-studio-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .avatar-studio-work {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .avatar-crop-stage {
    width: min(280px, 100%);
    height: min(280px, 72vw);
  }
}

.client-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-app {
  background: #eef1f6;
}

.admin-header {
  background: var(--color-navy) !important;
  border-bottom: 0 !important;
  box-shadow: 0 12px 32px rgba(4, 23, 47, 0.22);
}

.admin-header::before { display: none; }

.admin-header .nav-links a,
.admin-header .brand-text {
  color: rgba(255, 255, 255, 0.78);
}

.admin-header .nav-links a.active,
.admin-header .nav-links a:hover {
  color: var(--color-gold);
}

.admin-header .nav-toggle span {
  background: #fff;
}

.admin-header .account-avatar-btn,
.admin-header .notify-icon-btn {
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-app .chatbot-toggle {
  display: none !important;
}

.admin-catalog-bar {
  background: var(--color-navy);
  color: #fff;
  padding: 0.7rem 0;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}

.admin-catalog-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
}

.admin-catalog-bar span {
  opacity: 0.8;
  font-size: 0.82rem;
}

.admin-catalog-bar .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.admin-product-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.35rem 0 0.55rem;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.product-card.is-hidden-stock {
  opacity: 0.58;
  filter: grayscale(0.2);
}

.desk-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1rem;
  min-height: 62vh;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.desk-sidebar {
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
  max-height: 70vh;
}

.desk-thread {
  display: flex;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
}

.desk-thread.is-active,
.desk-thread:hover {
  background: var(--color-bg);
}

.desk-thread strong,
.desk-thread em,
.desk-thread small {
  display: block;
}

.desk-thread em,
.desk-thread small {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.desk-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 62vh;
}

.desk-main-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.desk-main-head img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

.desk-stream {
  padding: 1rem;
  overflow-y: auto;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.desk-bubble {
  display: flex;
  gap: 0.65rem;
  max-width: 86%;
}

.desk-bubble.is-mine {
  margin-left: auto;
  flex-direction: row-reverse;
}

.desk-bubble p {
  margin: 0.2rem 0 0;
  background: var(--color-bg);
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
}

.desk-bubble.is-mine p {
  background: var(--color-navy);
  color: #fff;
}

.desk-bubble header {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.desk-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  padding: 0.9rem;
  border-top: 1px solid var(--color-border);
  align-items: end;
}

@media (max-width: 768px) {
  .desk-layout { grid-template-columns: 1fr; }
  .desk-sidebar { max-height: 28vh; border-right: 0; border-bottom: 1px solid var(--color-border); }
  .account-hero { grid-template-columns: 1fr; }
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy);
  text-decoration: none;
}

.cart-link em,
.account-drop-links em {
  display: inline-flex;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.65rem;
  font-style: normal;
  align-items: center;
  justify-content: center;
}

.admin-header .cart-link { display: none; }

.admin-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.admin-catalog-form { margin-top: 0.5rem; }

.admin-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.admin-product-card {
  display: grid;
  grid-template-columns: auto 96px 1fr;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  align-items: center;
}

.admin-product-select {
  display: flex;
  align-items: center;
  margin: 0;
}

.admin-product-select input {
  width: 1.1rem;
  height: 1.1rem;
}

.admin-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.admin-product-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
}

.admin-product-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.admin-product-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.admin-product-card.is-hidden-stock {
  opacity: 0.62;
}

.shipping-form,
.cart-checkout {
  max-width: 640px;
  margin-top: 1.25rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 0.35rem 0;
}

.cart-total--grand {
  font-size: 1.05rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.6rem;
}

.cart-ship-preview {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.desk-order-totals {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--color-gold-dark);
}

body.chat-app {
  --header-h: 56px;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  background: #e8eef5;
}

body.chat-app .site-footer,
body.chat-app .admin-footer {
  display: none;
}

body.chat-app .header-inner {
  height: var(--header-h);
}

body.chat-app .brand img,
body.chat-app .brand .brand-logo {
  height: 34px;
}

body.chat-app .header-cta,
body.chat-app .nav-optional {
  display: none;
}

body.chat-app .flash {
  flex: 0 0 auto;
  margin: 0;
  border-radius: 0;
  padding: 0.4rem 1rem;
}

.chat-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  width: min(920px, 100%);
  margin: 0 auto;
  background: #f7f9fc;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  box-shadow: 0 12px 40px rgba(4, 23, 47, 0.08);
}

.chat-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border-right: 1px solid var(--color-border);
}

.chat-list-head {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.chat-list-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.chat-thread {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(4, 23, 47, 0.06);
  color: inherit;
  text-decoration: none;
}

.chat-thread .chat-avatar {
  width: 36px;
  height: 36px;
}

.chat-thread-copy {
  min-width: 0;
}

.chat-thread-copy strong,
.chat-thread-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-thread-copy small,
.chat-thread em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.chat-thread.is-active,
.chat-thread:hover {
  background: #f3f6fb;
}

.chat-pane {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  min-width: 0;
}

.chat-pane-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.chat-pane-head .chat-avatar {
  width: 34px;
  height: 34px;
}

.chat-pane-head div {
  min-width: 0;
  flex: 1;
}

.chat-pane-head strong,
.chat-pane-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-pane-head small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.chat-back {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  text-align: center;
  line-height: 32px;
  color: inherit;
  text-decoration: none;
  background: #eef2f7;
}

.chat-track-link {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(197, 155, 77, 0.16);
  white-space: nowrap;
}

.chat-stream {
  overflow-y: auto;
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.chat-stream::before {
  content: "";
  flex: 1 1 auto;
}

.chat-bubble {
  display: flex;
  gap: 0.4rem;
  max-width: 78%;
  align-items: flex-start;
}

.chat-bubble.is-mine {
  margin-left: auto;
  flex-direction: row-reverse;
}

.chat-avatar--sm,
.chat-bubble .chat-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  font-size: 0.62rem;
}

.chat-bubble-stack p {
  margin: 0;
  padding: 0.5rem 0.7rem;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(4, 23, 47, 0.06);
  font-size: 0.88rem;
  line-height: 1.4;
}

.chat-bubble.is-mine .chat-bubble-stack p {
  background: var(--color-navy);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}

.chat-bubble time {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.62rem;
  color: var(--color-text-muted);
}

.chat-bubble.is-mine time {
  text-align: right;
}

.chat-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.chat-composer input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  background: #f4f7fb;
}

.chat-composer button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: var(--color-navy);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.chat-blank,
.chat-empty {
  margin: auto;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 1.5rem;
}

.track-list,
.ship-stack {
  display: grid;
  gap: 0.85rem;
}

.track-card,
.ship-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}

.track-card:hover,
.ship-card.is-next {
  border-color: rgba(197, 155, 77, 0.55);
}

.track-kicker,
.ship-next {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 700;
}

.track-card h3,
.ship-card h3 {
  margin: 0 0 0.2rem;
}

.track-card p,
.ship-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.track-detail .track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.track-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.4rem;
  padding: 0;
  margin: 1.2rem 0 0;
}

.track-steps li {
  position: relative;
  padding: 0.55rem 0.4rem 0.55rem 0.7rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.track-steps li.is-done {
  border-color: rgba(197, 155, 77, 0.5);
  color: var(--color-navy);
}

.track-steps li.is-current {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.track-notes {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.track-notes time {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.ship-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.ship-tabs em {
  font-style: normal;
  margin-left: 0.3rem;
  opacity: 0.7;
}

.ship-card {
  display: grid;
  gap: 0.65rem;
}

.ship-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.ship-items {
  font-size: 0.88rem !important;
  color: var(--color-navy) !important;
}

.ship-notify {
  display: grid;
  gap: 0.55rem;
}

.ship-notify label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.ship-notify input,
.ship-notify select {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  body.chat-app {
    --header-h: 52px;
  }

  .chat-shell {
    width: 100%;
    grid-template-columns: 1fr;
    border: 0;
    box-shadow: none;
  }

  .chat-shell.is-open .chat-list {
    display: none;
  }

  .chat-shell:not(.is-open) .chat-pane {
    display: none;
  }

  .chat-back {
    display: inline-block;
  }

  .chat-bubble {
    max-width: 88%;
  }

  .track-detail .track-grid,
  .ship-card header,
  .track-card {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

.product-photo-count {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(4, 23, 47, 0.78);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-gallery {
  display: grid;
  gap: 0.65rem;
}

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: var(--color-gold);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-photo-list,
.admin-photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.admin-photo-keep,
.admin-photo-preview img {
  display: grid;
  gap: 0.3rem;
  font-size: 0.72rem;
}

.admin-photo-keep img,
.admin-photo-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

.consign-create {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.consign-stack {
  display: grid;
  gap: 1.25rem;
}

.consign-card {
  padding: 1rem 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.consign-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.consign-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: end;
  margin: 0 0 0.9rem;
}

.consign-status label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.consign-track {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.consign-track li {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

#shipments-live-flash {
  margin: 0 0 1rem;
}

.ship-card.is-allocated {
  border-color: var(--color-gold);
}

.consign-card.is-just-allocated {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.admin-footer {
  padding: 1rem 0 1.4rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.admin-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-footer .powered-by-link {
  color: inherit;
}

.admin-footer .powered-by-tooltip {
  left: auto;
  right: 0;
}
