@import "tailwindcss";
@import "@heroui/styles";

:root,
.light,
[data-theme="light"] {
  --background: #ffffff;
  --foreground: #1d1d1f;
  --accent: #1d1d1f;
  --accent-foreground: #ffffff;
  --accent-hover: #424245;
  --accent-soft: #ffffff;
  --accent-soft-foreground: #1d1d1f;
  --accent-soft-hover: #e8e8ed;
  --button-bg: #1d1d1f;
  --button-bg-hover: #424245;
  --button-fg: #ffffff;
  --muted: #ffffff;
  --muted-foreground: #6e6e73;
  --border: #d2d2d7;
  --success: #11171F;
  --warning: #cfa856;
  --danger: #b42318;
  --radius: 12px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
}

html,
body {
  background: var(--background);
  color: var(--foreground);
}

/* Ponte HeroUI ↔ UI Cruz Watches */
.btn-green-cta,
.btn-checkout-drawer,
.btn-account-nav.primary,
.btn-submit-order,
#btn-submit-order,
#btn-admin-login-submit,
#btn-submit-login,
#btn-submit-register,
.btn-card-add-cart,
.btn-order-primary,
.btn-finalize-order,
.btn-calc-shipping,
.btn-primary-action,
.btn-buy-now-solid,
.cookie-btn-accept,
.button.button--primary {
  background: #11171F !important;
  color: #f5f5f7 !important;
  border: 0 !important;
  box-shadow: none;
}

.btn-green-cta,
.btn-checkout-drawer,
.btn-account-nav.primary,
.btn-submit-order,
#btn-submit-order,
#btn-admin-login-submit,
#btn-submit-login,
#btn-submit-register,
.btn-finalize-order,
.button.button--primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}

.btn-green-cta:hover,
.btn-checkout-drawer:hover,
.btn-account-nav.primary:hover,
.btn-order-primary:hover,
.btn-finalize-order:hover,
.btn-calc-shipping:hover,
.btn-primary-action:hover,
.btn-buy-now-solid:hover,
.cookie-btn-accept:hover,
.button.button--primary:hover {
  background: #1c2430 !important;
  color: #ffffff !important;
  transform: none;
}

.cruz-gold-cta,
.cruz-gold-cta:hover {
  background: #cfa856 !important;
  color: #11171f !important;
}

.icon-btn {
  border-radius: var(--radius) !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.icon-btn:hover {
  border-color: transparent !important;
  box-shadow: none !important;
}

body.heroui-chrome input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]),
body.heroui-chrome select,
body.heroui-chrome textarea {
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
  min-height: 2.65rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box !important;
  padding: 0.7rem 0.95rem !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.heroui-chrome input:focus,
body.heroui-chrome select:focus,
body.heroui-chrome textarea:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
}

.item-card,
.product-card,
.promo-horizontal-card {
  border: 1px solid #d2d2d7 !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  background: #fff !important;
}

.auth-card-luxo,
.account-card,
.kpi-action-card,
.vip-profile-card {
  border: 1px solid transparent !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  background: #fff !important;
}

.item-card:hover,
.product-card:hover {
  border-color: transparent !important;
  box-shadow: none !important;
}

.citizen-spotlight-box {
  border-radius: var(--radius) !important;
  background: #f4f4f4 !important;
}

.card,
.button,
.input,
.textarea,
.heroui-header button,
.heroui-header [data-slot="base"] {
  border-radius: var(--radius) !important;
}

.heroui-header button {
  background-color: transparent !important;
  box-shadow: none !important;
}

.heroui-topbar {
  position: relative;
  background: #000000;
  color: #fff;
  font-size: 0.75rem;
  overflow: hidden;
  height: 36px;
  max-height: 36px;
  box-sizing: border-box;
  isolation: isolate;
  contain: layout paint;
  transform: translateZ(0);
  transition: height 0.22s ease, max-height 0.22s ease, opacity 0.18s ease;
}

.heroui-topbar.is-collapsed,
#heroui-root.is-scrolled .heroui-topbar {
  height: 0;
  max-height: 0;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

#heroui-root.is-scrolled {
  background: #ffffff;
}

.heroui-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--page-max, 1220px);
  margin-left: auto;
  margin-right: auto;
  padding: 0.45rem var(--page-gutter, 1.5rem);
  box-sizing: border-box;
}

.heroui-topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.heroui-topbar-socials a {
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
}

.heroui-topbar-socials a:hover {
  color: #e8d7a8;
}

.heroui-topbar-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}

.heroui-topbar-shipping,
.heroui-topbar-phone {
  white-space: nowrap;
}

#heroui-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: #000000;
}

body.heroui-chrome {
  padding-top: var(--store-chrome-offset, 7.45rem);
}

.heroui-header {
  position: relative;
  z-index: 40;
  backdrop-filter: none;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
}

#heroui-root.is-scrolled .heroui-header {
  box-shadow: none;
}

html body.heroui-chrome .top-header-bar,
html body.heroui-chrome header.site-header,
html body:has(#heroui-root) .top-header-bar,
html body:has(#heroui-root) header.site-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

body.topbar-disabled .heroui-topbar {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

.heroui-header .header-flex,
.heroui-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
  width: 100%;
  max-width: var(--page-max, 1220px);
  box-sizing: border-box;
  padding-block: 0.65rem;
  padding-inline: var(--page-gutter, 1.5rem);
}

.heroui-header .main-navigation ul {
  gap: 1.8rem;
}

.heroui-header .main-navigation a,
.heroui-header .nav-item a {
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 0.8125rem;
  font-weight: 400;
}

.heroui-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 0;
}

.heroui-header-icon-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.heroui-header .heroui-header-icon {
  width: 2.4rem !important;
  height: 2.4rem !important;
  min-width: 2.4rem !important;
  padding: 0 !important;
  border-radius: var(--radius) !important;
  background: transparent !important;
  border: none !important;
}

.heroui-header .heroui-account-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  min-height: 2.4rem !important;
  padding: 0 0.2rem !important;
  border: none !important;
  border-radius: var(--radius) !important;
  background: transparent !important;
  color: var(--foreground) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.heroui-account-chip-name {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heroui-header-badge {
  position: absolute;
  top: 0.12rem;
  right: 0.12rem;
  min-width: 0.95rem;
  height: 0.95rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: #1d1d1f;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 0.95rem;
  text-align: center;
  pointer-events: none;
}

.heroui-header-side {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .heroui-topbar {
    font-size: 0.7rem;
    overflow: hidden;
  }

  .heroui-topbar-inner {
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.42rem max(0.9rem, env(safe-area-inset-right)) 0.42rem max(0.9rem, env(safe-area-inset-left));
  }

  .heroui-topbar-socials {
    display: flex;
    flex-shrink: 0;
    gap: 0.55rem;
  }

  .heroui-topbar-meta {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 0.4rem;
    overflow: hidden;
  }

  .heroui-topbar-shipping,
  .heroui-topbar-phone {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .heroui-header {
    min-height: 0;
    height: auto;
  }

  .heroui-header .header-flex,
  .heroui-header-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    height: auto;
    gap: 0.75rem;
    padding-block: 0.7rem;
    padding-inline: 1rem;
  }

  .heroui-header-side.is-start,
  .heroui-header .mobile-menu-toggle {
    display: none;
  }

  .heroui-header .brand-digisaat {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    max-width: calc(100% - 3rem);
  }

  .heroui-header .brand-digisaat-title {
    font-size: 1.05rem !important;
    letter-spacing: 0.08em;
  }

  .heroui-header-actions {
    gap: 0;
    margin-left: auto;
    z-index: 2;
  }

  .heroui-header-icon-wrap,
  .heroui-header .heroui-account-chip {
    display: none;
  }

  .heroui-header .heroui-header-search {
    width: 2.25rem !important;
    height: 36px !important;
    min-width: 2.25rem !important;
    min-height: 36px !important;
    padding: 0 !important;
  }

  .heroui-account-chip-name {
    display: none;
  }
}

#inst-spec-acc {
  margin-top: 3.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

#inst-spec-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 1.15rem 0 !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  background: transparent !important;
  color: #f4f1ea !important;
  font-family: Manrope, "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-transform: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
  height: auto !important;
}

#inst-spec-acc.is-open #inst-spec-trigger {
  padding: 1.15rem 0 0.2rem !important;
}

#inst-spec-acc .inst-spec-acc-icon {
  display: block !important;
  position: relative !important;
  flex: 0 0 14px !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
}

#inst-spec-acc .inst-spec-acc-icon::before,
#inst-spec-acc .inst-spec-acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

#inst-spec-acc .inst-spec-acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

#inst-spec-acc.is-open .inst-spec-acc-icon::after {
  opacity: 0;
}

#inst-spec-panel {
  padding: 1.35rem 0 1.7rem !important;
}

#inst-spec-acc .inst-spec-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.65rem 3.5rem !important;
  margin: 0 !important;
}

#inst-spec-acc .inst-spec-grid dt {
  margin: 0 0 0.42rem !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  color: rgba(244, 241, 234, 0.48) !important;
}

#inst-spec-acc .inst-spec-grid dd {
  margin: 0 !important;
  font-size: 1.02rem !important;
  font-weight: 500 !important;
  color: #f7f4ee !important;
}

@media (max-width: 800px) {
  #inst-spec-acc .inst-spec-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

.inst-page #colecao,
.inst-page #macau {
  scroll-margin-top: 8.5rem !important;
}

.inst-collection-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: 2rem 3.5rem;
  align-items: start;
  text-align: left !important;
}

.inst-collection-title {
  text-align: left !important;
}

.inst-collection-title span {
  display: block !important;
}

.inst-trio {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.inst-trio-media {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 5 !important;
}

.inst-trio-media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

.inst-trio-media .is-life {
  opacity: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.inst-trio-card:hover .is-life,
.inst-trio-card:focus-within .is-life {
  opacity: 1 !important;
}

@media (max-width: 900px) {
  .inst-collection-head,
  .inst-trio,
  .inst-city-grid,
  .inst-details-grid {
    grid-template-columns: 1fr !important;
  }

  .inst-details-grid {
    grid-template-areas:
      "intro"
      "exploded"
      "list" !important;
  }

  .inst-hero-bleed {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #0b1018 !important;
  }

  .inst-hero-media {
    position: relative !important;
    inset: auto !important;
    height: min(56vh, 450px) !important;
  }

  .inst-hero-bleed .inst-hero-photo {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
  }

  .inst-hero-fade {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 78% !important;
    z-index: 2 !important;
    background: linear-gradient(180deg, rgba(11, 16, 24, 0) 0%, rgba(11, 16, 24, 0.22) 28%, rgba(11, 16, 24, 0.72) 64%, #0b1018 100%) !important;
  }

  .inst-hero-overlay {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    margin-top: -4.25rem !important;
    padding: 2.15rem 1.25rem 2.15rem !important;
    background: transparent !important;
  }

  .inst-hero-caption {
    display: none !important;
  }

  .inst-hero-copy {
    max-width: none !important;
  }

  .inst-ctas {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  body.inst-page .inst-ctas .inst-btn {
    width: auto !important;
    min-height: 2.65rem !important;
    justify-content: center !important;
  }

  body.inst-page .inst-ctas .inst-btn:last-child::after {
    display: none !important;
  }

  .inst-city-cta {
    display: none !important;
  }

  body.inst-page .inst-story-copy .inst-btn {
    width: auto !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .inst-trio-media .is-life {
    opacity: 1 !important;
  }

  .inst-trio-card.is-tapped .is-life {
    opacity: 0 !important;
  }

  .inst-details-intro h2,
  .inst-collection-title,
  .inst-city-copy h2,
  .inst-story-copy h2,
  .inst-closing-row h2 {
    font-family: "Cormorant Garamond", Georgia, serif !important;
  }

  .inst-closing-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

body.mobile-nav-open #heroui-root {
  z-index: 1 !important;
}

.mobile-nav-overlay {
  z-index: 20000 !important;
}

.mobile-nav-drawer {
  z-index: 20001 !important;
  width: min(340px, 85vw) !important;
  max-width: 85vw !important;
  overflow: hidden !important;
}

.mobile-nav-header {
  display: flex !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  justify-content: space-between !important;
  align-items: center !important;
}

#mobile-nav-drawer .btn-close-drawer {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  margin: 0 !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  min-width: 2.5rem !important;
  min-height: 2.5rem !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #11171f !important;
  flex: 0 0 auto !important;
}

#mobile-nav-drawer .mobile-nav-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mobile-nav-drawer .mobile-nav-list li {
  display: block !important;
  width: 100% !important;
}

#mobile-nav-drawer .mobile-nav-list li a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.85rem !important;
  width: 100% !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

#mobile-nav-drawer .mobile-nav-list li a svg,
#mobile-nav-drawer .mobile-nav-list li a i {
  display: block !important;
  flex: 0 0 1.15rem !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  min-width: 1.15rem !important;
  max-width: 1.15rem !important;
  margin: 0 !important;
}

.store-mobile-dock {
  display: none;
}

@keyframes store-dock-liquid {
  0%, 100% { transform: translate3d(-8%, -6%, 0) scale(1); }
  50% { transform: translate3d(10%, 8%, 0) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .store-mobile-dock-pill::before {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .store-mobile-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    z-index: 1500;
    justify-content: center;
    pointer-events: none;
  }

  .store-mobile-dock-pill {
    pointer-events: auto;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.2rem;
    min-width: 248px;
    padding: 0.42rem 0.85rem;
    background: rgba(17, 23, 31, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow:
      0 12px 36px rgba(17, 23, 31, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      inset 0 -10px 18px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
  }

  .store-mobile-dock-pill::before {
    content: "";
    position: absolute;
    inset: -55%;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.34), transparent 34%),
      radial-gradient(circle at 82% 88%, rgba(207, 168, 86, 0.2), transparent 40%),
      radial-gradient(circle at 46% 118%, rgba(255, 255, 255, 0.14), transparent 42%);
    animation: store-dock-liquid 9s ease-in-out infinite;
  }

  .store-mobile-dock-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(8, 10, 14, 0.22) 100%);
  }

  .store-mobile-dock-pill a,
  .store-mobile-dock-pill button {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #f5f5f7;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .store-mobile-dock-pill a:hover,
  .store-mobile-dock-pill button:hover,
  .store-mobile-dock-pill .is-active {
    background: rgba(255, 255, 255, 0.08);
  }

  .store-mobile-dock-badge {
    position: absolute;
    top: 0.28rem;
    right: 0.22rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.22rem;
    border-radius: 999px;
    background: #ffffff;
    color: #11171F;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
  }

  body.store-has-mobile-dock {
    padding-bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
  }

  body.store-has-mobile-dock .cookie-consent {
    bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 1025px) {
  .store-mobile-dock {
    display: none !important;
  }
}

@media print {
  .store-mobile-dock {
    display: none !important;
  }
}
