:root {
  --ink: #0b1220;
  --slate: #536076;
  --muted: #8a96a8;
  --sea: #18b3a4;
  --sea-dark: #0f7f73;
  --sand: #f4f0ea;
  --sun: #f7b54a;
  --line: #e6ebf1;
  --card: #ffffff;
  --shadow: 0 14px 35px rgba(11, 18, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f3fbf8 0%, #ffffff 48%),
    linear-gradient(120deg, #f6fafb 0%, #f7fbff 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--sea-dark);
}

.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 1100;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-card {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(244, 251, 249, 0.92) 100%
    ),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
  z-index: 0;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 2.6vw, 3.2rem);
  font-weight: 700;
  color: #0b1220;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.7);
}

.hero p {
  color: #2b3a4d;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.7);
}

.badge-soft {
  background: rgba(24, 179, 164, 0.12);
  color: var(--sea-dark);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
  font-size: 0.82rem;
}

.hero-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(24, 179, 164, 0.15) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero-map::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(24, 179, 164, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar .nav-cart-badge {
  background-color: var(--sea) !important;
  color: #ffffff !important;
  border-radius: 8px;
  border: 1px solid rgba(15, 127, 115, 0.35);
  font-weight: 700;
  min-width: 1.5rem;
  line-height: 1.1;
}

.hero-secondary {
  border-color: rgba(15, 127, 115, 0.2);
  color: var(--sea-dark);
  line-height: 1;
  padding: 0.65rem 1.4rem;
  background: #ffffff;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--sea-dark);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  z-index: 1;
}

.device-mock {
  width: min(280px, 70vw);
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  background: #0b1220;
  padding: 14px;
  box-shadow: 0 28px 45px rgba(11, 18, 32, 0.25);
  position: relative;
}

.device-mock::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 18px;
  border-radius: 14px;
  background: #0b1220;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(160deg, #0b1220 0%, #0f2c2d 45%, #0c544b 100%);
  position: relative;
  overflow: hidden;
}

.device-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.device-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 40%);
}

.device-badge {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
  z-index: 1;
}

.device-badge span {
  font-size: 1.6rem;
  display: block;
}

.device-badge small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.75;
  font-weight: 500;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--sea);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(24, 179, 164, 0.2);
  animation: pulse 3s ease-in-out infinite;
}

.orbit-dot:nth-child(1) {
  top: 12%;
  left: 18%;
}

.orbit-dot:nth-child(2) {
  top: 68%;
  left: 12%;
  animation-delay: 1s;
}

.orbit-dot:nth-child(3) {
  top: 32%;
  right: 12%;
  animation-delay: 2s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.search-bar {
  margin-top: 2.5rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid rgba(15, 127, 115, 0.15);
  box-shadow: 0 18px 40px rgba(15, 20, 34, 0.08);
  position: relative;
  z-index: 2;
  overflow: visible;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f5faf8;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(15, 127, 115, 0.08);
  position: relative;
}

.search-field .form-control,
.search-field .form-select {
  border: none;
  background: transparent;
  padding: 0;
  font-weight: 600;
  color: var(--ink);
}

.search-field .form-control:focus,
.search-field .form-select:focus {
  box-shadow: none;
}

.search-field i {
  color: var(--sea-dark);
}

.search-dropdown {
  top: calc(100% + 6px);
  left: 0;
  border-radius: 12px;
  border: 1px solid rgba(15, 127, 115, 0.15);
  box-shadow: 0 16px 32px rgba(11, 18, 32, 0.12);
  max-height: 260px;
  overflow-y: auto;
  z-index: 5;
}

.destination-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
}

.destination-item:hover {
  background: rgba(24, 179, 164, 0.08);
}

.destination-flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.search-panel {
  margin-top: 2rem;
  background: var(--sand);
  border-radius: 20px;
  padding: 1.4rem;
  border: 1px solid #efe7da;
}

.search-panel label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
}

.search-panel .form-control,
.search-panel .form-select {
  border-radius: 12px;
  border: 1px solid #e1d8c8;
}

.btn-primary {
  background: var(--sea);
  border-color: var(--sea);
  font-weight: 600;
  border-radius: 12px;
  padding: 0.65rem 1.4rem;
}

.btn-primary:hover {
  background: var(--sea-dark);
  border-color: var(--sea-dark);
}

.btn .bi {
  font-size: 1rem;
  vertical-align: -0.125em;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(18, 30, 50, 0.12);
}

.product-card .price {
  font-size: 1.35rem;
  font-weight: 700;
}

.product-card .meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-tabs {
  border-bottom: 1px solid rgba(15, 127, 115, 0.2);
  padding-bottom: 20px;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--sea-dark);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  margin-right: 0.5rem;
}

.nav-tabs .nav-link:hover {
  border-color: rgba(24, 179, 164, 0.35);
  background: rgba(24, 179, 164, 0.08);
}

.nav-tabs .nav-link.active {
  color: #ffffff;
  background: var(--sea);
  border-color: var(--sea);
  box-shadow: 0 10px 20px rgba(24, 179, 164, 0.25);
}

.surface {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 1.8rem;
  box-shadow: 0 12px 24px rgba(15, 20, 34, 0.06);
}

.dest-card {
  position: relative;
  border-radius: 18px;
  min-height: 240px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 18px 32px rgba(11, 18, 32, 0.14);
}

.dest-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.05) 0%, rgba(11, 18, 32, 0.75) 80%);
}

.dest-card-body {
  position: relative;
  z-index: 1;
  color: #ffffff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  justify-content: flex-end;
}

.dest-card-body h5 {
  font-weight: 700;
  margin: 0;
}

.dest-card-body p {
  margin: 0;
  opacity: 0.85;
}

.dest-card .btn {
  margin-top: 5rem;
  background: rgba(24, 179, 164, 0.95);
  border-color: rgba(24, 179, 164, 0.95);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.how-step {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15, 127, 115, 0.12);
  padding: 1.6rem;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 20, 34, 0.06);
}

.how-step h6 {
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.how-step p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: rgba(24, 179, 164, 0.15);
  color: var(--sea-dark);
  font-size: 1.4rem;
}

.footer {
  background: #0b1220;
  color: #cfd6e5;
  padding: 3rem 0 2.5rem;
  margin-top: 4rem;
}

.footer a {
  color: #cfd6e5;
}

.footer a:hover {
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  width: min(92vw, 960px);
  z-index: 9999;
}

.cookie-banner p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-settings h6 {
  font-weight: 700;
}

.cookie-setting-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.cookie-setting-item:last-of-type {
  border-bottom: 0;
}

.footer [data-cookie-open-settings-link] {
  color: #cfd6e5;
  font-size: inherit;
}

.footer [data-cookie-open-settings-link]:hover {
  color: #ffffff;
}

.auth-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.auth-side {
  background: linear-gradient(135deg, #f2fbf9 0%, #f9f7ff 100%);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid #e8eef4;
}

.auth-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid #e8eef4;
  box-shadow: 0 12px 24px rgba(15, 20, 34, 0.06);
}

@media (max-width: 992px) {
  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 18, 32, 0.08);
    position: relative;
    z-index: 1101;
  }

  .navbar-nav .nav-link {
    padding: 0.55rem 0;
  }

  .navbar .d-flex.align-items-center.gap-3 {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }

  .auth-card {
    grid-template-columns: 1fr;
  }
}

.pagination .page-link {
  border-radius: 10px;
}

.pagination .page-item {
  margin: 0 2px;
}

.pagination .page-link {
  color: var(--sea);
  border-color: var(--line);
}

.pagination .page-link:hover {
  color: #ffffff;
  background: var(--sea);
  border-color: var(--sea);
}

.pagination .page-item.active .page-link {
  background: var(--sea);
  border-color: var(--sea);
  color: #ffffff;
}

.flag-icon {
  width: 24px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(15, 20, 34, 0.12);
}

.admin-body {
  background: #f5f7fb;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: #0b1220;
  color: #d7deea;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-brand a {
  font-weight: 700;
  color: #ffffff;
  font-size: 1.1rem;
}

.admin-brand span {
  display: block;
  font-size: 0.85rem;
  color: #9fb0c9;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #d7deea;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
}

.admin-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-sidebar-footer {
  margin-top: auto;
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 2.4rem 1.2rem;
}

.admin-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.admin-subtitle {
  color: var(--muted);
  margin-bottom: 0;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user-email {
  font-weight: 600;
}

.admin-content {
  padding: 0 2.4rem 2.4rem;
}

@media (max-width: 992px) {
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 0 2rem;
  }

  .hero-card {
    padding: 2rem;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .device-video {
    display: block;
  }
}
