.ceramic-canvas {
  background-color: #04111d;
  background-image:
    radial-gradient(
      at 15% 15%,
      rgba(2, 132, 199, 0.15) 0px,
      transparent 50%
    ),
    radial-gradient(
      at 85% 20%,
      rgba(198, 146, 20, 0.08) 0px,
      transparent 45%
    ),
    radial-gradient(
      at 40% 70%,
      rgba(14, 165, 233, 0.10) 0px,
      transparent 55%
    ),
    radial-gradient(
      at 90% 85%,
      rgba(8, 29, 48, 0.95) 0px,
      transparent 50%
    );
  background-attachment: fixed;
}

.gold-vein-rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(198, 146, 20, 0.6) 50%,
    transparent 100%
  );
}

html, body {
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 5rem;
}

body.modal-open {
  overflow: hidden;
}

.mode-pill-slider {
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.navbar-glass {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.navbar-glass::before {
  content: "";
  position: absolute;
  inset: 0 0 -14px 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(4, 17, 29, 0.65) 0%,
    rgba(8, 29, 48, 0.35) 50%,
    rgba(8, 29, 48, 0.0) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 45%,
    rgba(0, 0, 0, 0.6) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 45%,
    rgba(0, 0, 0, 0.6) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              -webkit-backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-glass.is-scrolled::before {
  background: linear-gradient(
    to bottom,
    rgba(4, 17, 29, 0.88) 0%,
    rgba(8, 29, 48, 0.55) 60%,
    rgba(8, 29, 48, 0.0) 100%
  );
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0.75) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0.75) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

.navbar-inner-wrap {
  height: 4.75rem;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .navbar-inner-wrap {
    height: 5.25rem;
  }
}

.is-scrolled .navbar-inner-wrap {
  height: 3.25rem;
}

@media (min-width: 1024px) {
  .is-scrolled .navbar-inner-wrap {
    height: 3.75rem;
  }
}

#logo-link {
  transform: translateX(-50%) scale(1);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

@media (min-width: 1024px) {
  #logo-link {
    transform: none;
    transform-origin: left center;
  }
}

.is-scrolled #logo-link {
  transform: translateX(-50%) scale(0.78);
}

@media (min-width: 1024px) {
  .is-scrolled #logo-link {
    transform: scale(0.65);
  }
}

.navbar-logo {
  height: 2.85rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .navbar-logo {
    height: 3.35rem;
  }
}

.footer-logo {
  height: 2.5rem;
  width: auto;
  max-width: 220px;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (min-width: 768px) {
  .footer-logo {
    height: 2.85rem;
  }
}

.navbar-fallback-badge {
  width: 2.5rem;
  height: 2.5rem;
}

.navbar-fallback-text {
  font-size: 1.35rem;
}

.navbar-fallback-brand {
  font-size: 1.35rem;
}

.navbar-fallback-sub {
  font-size: 0.625rem;
}

.navbar-action-btn {
  width: 2.5rem;
  height: 2.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.is-scrolled .navbar-action-btn {
  transform: scale(0.92);
}

@media (min-width: 1024px) {
  .navbar-action-btn,
  .is-scrolled .navbar-action-btn {
    transform: none;
    width: 2.25rem;
    height: 2.25rem;
  }
}

.palm-shadow-marine {
  pointer-events: none;
  position: absolute;
  color: #04111d;
  mix-blend-mode: multiply;
  z-index: 1;
}

.palm-sway-slow {
  animation: floatSway 14s ease-in-out infinite alternate;
}

.palm-sway-reverse {
  animation: floatSwayReverse 18s ease-in-out infinite alternate;
}

.ceramic-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -4px rgba(8, 29, 48, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform, box-shadow;
}

.ceramic-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 35px -8px rgba(8, 29, 48, 0.12),
              0 6px 12px -4px rgba(8, 29, 48, 0.06);
}

.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.btn-base:active {
  transform: scale(0.97);
}

.btn-h-10 {
  height: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn-h-11 {
  height: 2.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.btn-h-12 {
  height: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.btn-primary-dark {
  background-color: #04111d;
  color: #f3e5ab;
  border: 1px solid rgba(198, 146, 20, 0.4);
}

.btn-primary-dark:hover {
  background-color: #081d30;
  border-color: #dfba4e;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(4, 17, 29, 0.25);
}

.btn-gold {
  background-color: #c69214;
  color: #04111d;
  border: 1px solid #dfba4e;
}

.btn-gold:hover {
  background-color: #dfba4e;
  color: #04111d;
  box-shadow: 0 4px 14px rgba(198, 146, 20, 0.35);
}

.btn-white {
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.btn-white:hover {
  background-color: #f8fafc;
  color: #04111d;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-emerald {
  background-color: #047857;
  color: #ffffff;
  border: 1px solid #059669;
}

.btn-emerald:hover {
  background-color: #065f46;
  border-color: #047857;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}

.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

.delay-75 { transition-delay: 75ms; }
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

.card-entry {
  animation: cardFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}

.hero-bg-slide.active {
  opacity: 0.75;
}

.featured-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.featured-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

.featured-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  position: relative;
}

.slider-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.slider-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #c69214, #dfba4e, #f3e5ab);
  width: 0%;
  border-radius: 9999px;
  transition: width 0.1s linear;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.slider-dot.active {
  width: 24px;
  background-color: #dfba4e;
}

.modal-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.modal-gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

#detailsModal:not(.hidden) {
  animation: modalOverlayFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#detailsModal:not(.hidden) > div {
  animation: modalPopUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSway {
  0% {
    transform: translateX(18%) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(16%) translateY(-12px) rotate(1.5deg);
  }
  100% {
    transform: translateX(20%) translateY(8px) rotate(-1deg);
  }
}

@keyframes floatSwayReverse {
  0% {
    transform: translateX(-20%) translateY(0) rotate(6deg);
  }
  50% {
    transform: translateX(-18%) translateY(14px) rotate(4deg);
  }
  100% {
    transform: translateX(-22%) translateY(-10px) rotate(7.5deg);
  }
}

@keyframes modalOverlayFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes modalPopUp {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(198, 146, 20, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(198, 146, 20, 0);
  }
}

.pulse-gold {
  animation: pulseGold 2.5s infinite;
}

.filter-panel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(4, 17, 29, 0.05),
              0 8px 10px -6px rgba(4, 17, 29, 0.03);
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.35rem;
  background-color: #ffffff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-checkbox:hover {
  border-color: #0284c7;
}

.custom-checkbox:checked {
  background-color: #0284c7;
  border-color: #0284c7;
}

.custom-checkbox:checked::before {
  content: "";
  width: 0.55rem;
  height: 0.35rem;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.custom-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-radio:hover {
  border-color: #0284c7;
}

.custom-radio:checked {
  border-color: #0284c7;
}

.custom-radio:checked::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: #0284c7;
}

.range-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}

.range-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284c7;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.range-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #0369a1;
}

.range-slider-input::-webkit-slider-thumb:active {
  transform: scale(1.25);
  background: #04111d;
}

.range-slider-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284c7;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.range-slider-input::-moz-range-thumb:hover {
  transform: scale(1.15);
  background: #0369a1;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #334155;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.filter-chip-remove {
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.filter-chip-remove:hover {
  color: #ef4444;
}

.search-btn-primary {
  background: #0284c7;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid #0369a1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-btn-primary:hover {
  background: #0369a1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.search-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.filter-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  z-index: 60;
  box-shadow: 0 25px 50px -12px rgba(4, 17, 29, 0.25),
              0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.filter-drawer.is-open {
  transform: translateX(0);
}

.filter-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 17, 29, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden;
}


