@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================
   VARIABEL WARNA DEFAULT (LIGHT MODE)
   ========================================== */
:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --nav-bg: #050000;
  --nav-text: #ffffff;
  --top-bg: #0b0a0a;
  --font-nav: #f9fafb;
  --slider-text-bg: rgba(0, 0, 0, 0.5);
}

/* ==========================================
   VARIABEL WARNA SAAT AKTIF (DARK MODE)
   ========================================== */
:has(.theme-toggle:checked) {
  --bg-color: #121212;
  --text-color: #f5f5f5;
  --nav-bg: #1a1a1a;
  --nav-text: #e0e0e0;
  --top-bg: #0d0d0d;
  --slider-text-bg: rgba(255, 255, 255, 0.1);
}

/* Menerapkan variabel warna ke body halaman */
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav .logo span {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   CSS DARK/LIGHT MODE SWITCHER
   ========================================== */
.theme-container {
  margin-left: 20px;
  /* Jarak di sebelah kanan ikon search */
  display: flex;
  align-items: center;
}

.theme-toggle {
  display: none;
  /* Sembunyikan checkbox asli */
}

.theme-icon {
  cursor: pointer;
  font-size: 18px;
  user-select: none;
  display: inline-block;
  transition: transform 0.2s;
}

.theme-icon:hover {
  transform: scale(1.15);
}

/* Aturan tampilan ikon toggle */
.theme-icon .icon-sun {
  display: none;
}

/* Sembunyikan matahari saat light mode */
.theme-icon .icon-moon {
  display: inline;
}

/* Tampilkan bulan saat light mode */

/* Ketika mode gelap aktif (checkbox dicentang) */
.theme-toggle:checked~.theme-icon .icon-sun {
  display: inline;
}

/* Munculkan matahari */
.theme-toggle:checked~.theme-icon .icon-moon {
  display: none;
}



/* Grid Container Dasar */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================
   STYLE: TOP MENU & SLIDER
   ========================================== */

.top-menu {
  background-color: var(--text-color); 
  /*background-color: #2A5063;*/
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #222;
}

/* Mengatur sebaran kiri dan kanan di dalam container top-menu */
.top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* SISI KIRI: Kontak Link */
.top-left {
  display: flex;
  gap: 20px;
  /* Jarak antara WhatsApp dan Email */
}

.top-link {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  /* Jarak antara ikon dan teks angka/email */
  transition: color 0.2s ease;
}

.top-link:hover {
  color: #04AA6D;
  /* Berubah hijau saat dihover */
}

/* SISI KAIAN: Media Sosial */
.top-right {
  display: flex;
  gap: 15px;
  /* Jarak antar ikon media sosial */
}

.social-link {
  color: #ccc;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Efek hover khusus ikon sosmed: sedikit membesar dan berubah warna */
.social-link:hover {
  color: #fff;
  transform: scale(1.15);
}

/* UKURAN UTAMA IKON (Menerapkan ke semua SVG di top-menu) */
.icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  /* Mengikuti warna teks induk (.top-link / .social-link) */
}

/* RESPONSIVE: Di HP, jika layar terlalu sempit, susun ke bawah secara rapi */
@media screen and (max-width: 576px) {
  .top-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .top-left {
    flex-direction: column;
    gap: 4px;
  }

  /* Tambahkan kode ini untuk menyembunyikan top-menu di HP */
  .top-menu {
    display: none;
  }
}


/* ==========================================
   STYLE: HERO SLIDER (PortalSekolahku Style)
   ========================================== */
.hero-slider,
.header-slider {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  background: #0b1a24;
  margin-top: -75px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide img,
.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.hero-slide.active img,
.hero-slide.active .hero-slide-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 26, 36, 0.85) 0%, rgba(26, 56, 74, 0.65) 55%, rgba(10, 20, 28, 0.72) 100%);
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  box-sizing: border-box;
}

.hero-content {
  max-width: 680px;
  color: #ffffff;
  padding: 20px 0;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 160, 32, 0.22);
  border: 1px solid rgba(232, 160, 32, 0.45);
  color: #ffc107;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: heroFadeInUp 0.6s ease both;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.16;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.5px;
  animation: heroFadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.65;
  margin: 0 0 30px 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  max-width: 620px;
  animation: heroFadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  animation: heroFadeInUp 0.8s ease 0.3s both;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── HERO CTA BUTTONS ────────────────────────────────────────────── */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.28s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.hero-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-btn:hover::after {
  opacity: 1;
}

.hero-btn:active {
  transform: scale(0.98);
}

.hero-btn-secondary {
  background: linear-gradient(135deg, #f0b429 0%, #e8a020 100%);
  color: #1a2332 !important;
  box-shadow: 0 4px 20px rgba(232, 160, 32, 0.38);
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 160, 32, 0.52);
  color: #1a2332 !important;
}

.hero-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #ffffff;
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* ── HERO CONTROLS: ARROWS & DOTS ────────────────────────────────── */
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
  pointer-events: none;
}

.hero-arrow {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: all 0.25s ease;
  outline: none;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.38);
  transform: scale(1.1);
  color: #ffffff;
}

.hero-controls {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.42);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
}

.hero-dot.active {
  width: 28px;
  background: #e8a020;
}

/* Responsive adjustments */
@media (max-width: 900px) {

  .hero-slider,
  .header-slider {
    height: 480px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-arrows {
    padding: 0 12px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {

  .hero-slider,
  .header-slider {
    height: 440px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .hero-btn {
    padding: 11px 22px;
    font-size: 0.88rem;
  }

  .hero-actions {
    gap: 10px;
  }
}

@media (max-width: 480px) {

  .hero-slider,
  .header-slider {
    height: 420px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero-btn {
    justify-content: center;
    width: 100%;
  }

  .hero-arrows {
    display: none;
  }
}

/* ==========================================
   STYLE: MAIN NAV (STICKY & DESKTOP)
   ========================================== */
.main-nav {
   background-color: rgba(9, 41, 78, 0.06);
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a7cfdf+0,23538a+100 
  background: radial-gradient(ellipse at center, rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  color: #000;
  padding: 12px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.main-nav.scrolled {
  background-color: var(--nav-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.nav-container {
  position: relative;
}

.main-nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nav-text);
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.main-nav .logo img,
.main-nav .logo .logo-img {
  max-height: 50px;
  max-width: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.main-nav .logo:hover img,
.main-nav .logo:hover .logo-img {
  transform: scale(1.03);
}

.main-nav .logo .logo-text {
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: var(--font-nav);
  text-decoration: none;
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #04AA6D;
}

/* Sembunyikan Checkbox pemicu menu mobile */
.menu-toggle,
.search-toggle {
  display: none;
}

.hamburger-btn {
  display: none;
  cursor: pointer;
}

/* ==========================================
   STYLE: SEARCH FORM AUTO-HIDE
   ========================================== */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 25px;
}

.search-icon {
  cursor: pointer;
  font-size: 16px;
  color: var(--nav-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: color 0.3s;
}

.search-icon:hover {
  color: #04AA6D;
}

.search-form {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  display: flex;
  background-color: #333;
  padding: 4px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.search-form input {
  border: none;
  background: transparent;
  color: #fff;
  padding: 6px 10px;
  font-size: 14px;
  outline: none;
  width: 180px;
}

.search-close {
  cursor: pointer;
  color: #aaa;
  padding: 6px 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.search-close:hover {
  color: #fff;
}

.search-toggle:checked~.search-form {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   RESPONSIVE MEDIA QUERY (MOBILE - MAKS 768px)
   ========================================== */
@media screen and (max-width: 768px) {

  /* Sembunyikan top-menu di HP */
  .top-menu {
    display: none;
  }

  /* Munculkan Tombol Hamburger */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    order: 3;
    /* Taruh di paling kanan pada mobile */
  }

  .hamburger-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Sesuaikan letak wadah kanan pada mobile */
  .nav-right {
    order: 2;
    margin-left: auto;
    margin-right: 15px;
    gap: 15px;
  }

  .theme-container {
    margin-left: 0;
  }

  .main-nav .logo img,
  .main-nav .logo .logo-img {
    max-height: 38px;
    max-width: 150px;
  }

  /* Ubah Menu Navigasi Menjadi Dropdown Vertikal */
  .nav-links {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    border-top: 1px solid #333;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s ease, visibility 0.4s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }

  .nav-links li {
    margin-right: 20px;
    text-align: right;
  }

  .nav-links a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 14px;
  }

  /* EFEK TOGGLE MOBILE MENU: Ketika Hamburger Diklik */
  .menu-toggle:checked~.nav-right .nav-links {
    max-height: 300px;
    /* Batas tinggi maksimal dropdown saat terbuka */
    visibility: visible;
  }

  /* Animasi Transformasi Ikon Hamburger Menjadi Tanda Silang (X) */
  .menu-toggle:checked~.hamburger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked~.hamburger-btn span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked~.hamburger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Penyesuaian search di mobile agar tidak keluar batas */
  .search-container {
    margin-left: 0;
  }

  .search-form {
    right: -40px;
  }

  /* Menyesuaikan posisi form karena bergeser posisi gridnya */
}

/* ==========================================
   LAYOUT GRID UTAMA (MAIN & SIDEBAR)
   ========================================== */
.page-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* Membagi kolom: Main (2 bagian), Sidebar (1 bagian) */
  gap: 30px;
  padding: 40px 0;
  align-items: start;
  /* Mencegah sidebar meregang penuh ke bawah */
}

/* ==========================================
   SIDEBAR STICKY CONFIGURATION
   ========================================== */
.sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  /* Jarak dari atas layar saat melayang (sesuaikan dengan tinggi main-nav) */
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Jarak antar kotak widget */
}

/* ==========================================
   STYLE: ELEMEN UMUM (CARDS)
   ========================================== */
.card {
  background-color: var(--bg-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  transition: background-color 0.3s, border-color 0.3s;
}

/* Penyesuaian garis border saat mode gelap aktif */
:has(.theme-toggle:checked) .card {
  border-color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.content-section h2,
.widget h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--text-color);
  border-left: 4px solid #04AA6D;
  padding-left: 10px;
}

.content-section p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.9;
}

/* ==========================================
   STYLE: MAIN CONTENT SECTIONS
   ========================================== */
/* Tour Grid */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}

.tour-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
  padding-bottom: 15px;
}

.tour-img {
  height: 150px;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}

.tour-item h3 {
  font-size: 16px;
  padding: 0 10px;
  margin-bottom: 5px;
}

.tour-item p {
  font-size: 13px;
  padding: 0 10px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #04AA6D, #026b45);
  color: #fff;
  padding: 35px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 25px;
}

.cta-section h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.cta-section p {
  color: #e0f2f1;
  margin-bottom: 20px;
}

.btn-cta {
  display: inline-block;
  background-color: #fff;
  color: #04AA6D;
  text-decoration: none;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 4px;
  transition: transform 0.2s;
}

/* Hotel Section Grid Cards */
.hotel-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.hotel-card-item {
  background: var(--bg-color);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

:has(.theme-toggle:checked) .hotel-card-item {
  background: #1e1e1e;
  border-color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hotel-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

:has(.theme-toggle:checked) .hotel-card-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.hotel-card-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #234353;
  overflow: hidden;
  position: relative;
}

.hotel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hotel-card-item:hover .hotel-card-img img {
  transform: scale(1.06);
}

.hotel-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hotel-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-color);
  line-height: 1.35;
}

.hotel-card-stars {
  color: #f5a623;
  font-size: 13px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.hotel-card-location {
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
}

:has(.theme-toggle:checked) .hotel-card-location {
  color: #aaa;
}

.hotel-card-price {
  font-size: 15px;
  font-weight: 700;
  color: #f27d00;
  margin-bottom: 6px;
}

.hotel-card-price span {
  font-size: 12px;
  font-weight: 400;
  color: #888;
}

.hotel-card-desc {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #666 !important;
  margin: 0 !important;
}

:has(.theme-toggle:checked) .hotel-card-desc {
  color: #bbb !important;
}

@media (max-width: 600px) {
  .hotel-grid-cards {
    grid-template-columns: 1fr;
  }
}

/* Hotel & Testimonial */
.hotel-card {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.testimonial-item {
  background-color: rgba(0, 0, 0, 0.02);
  padding: 15px;
  border-radius: 6px;
  font-style: italic;
}

:has(.theme-toggle:checked) .testimonial-item {
  background-color: rgba(255, 255, 255, 0.05);
}

.author {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  font-style: normal;
  font-size: 13px;
}

/* Association Logos — Carousel (4 per slide, auto-run) */
.assoc-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.assoc-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.assoc-track {
  display: flex;
  transition: transform 0.5s ease;
}

.assoc-item {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 10px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  margin-right: 12px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.assoc-item:hover {
  background: rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.assoc-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.assoc-logo-text {
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  color: inherit;
}

.assoc-nav {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f27d00;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.assoc-nav:hover {
  opacity: 1;
}

:has(.theme-toggle:checked) .assoc-item {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

:has(.theme-toggle:checked) .assoc-item:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
  .assoc-item {
    flex-basis: 50%;
  }
}

@media (max-width: 480px) {
  .assoc-item {
    flex-basis: 100%;
  }

  .assoc-nav {
    width: 28px;
    height: 28px;
    font-size: 17px;
  }
}

/* ==========================================
   STYLE: SIDEBAR WIDGETS
   ========================================== */
.widget {
  margin-bottom: 0;
}

/* Reset margin bawaan card karena diatur oleh gap sidebar */
.widget-list {
  list-style: none;
}

.widget-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-list a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.widget-list a:hover {
  color: #04AA6D;
}

/* Instant Contact Widget */
.contact-widget {
  background-color: rgba(4, 170, 109, 0.05);
  border-color: rgba(4, 170, 109, 0.2);
}

.btn-whatsapp {
  display: block;
  background-color: #25D366;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.2s;
}

.btn-whatsapp:hover {
  background-color: #1ebd58;
}

/* ==========================================
   RESPONSIVE: LAYAR TABLET & HP (MAKS 992px)
   ========================================== */
@media screen and (max-width: 992px) {
  .page-layout {
    grid-template-columns: 1fr;
    /* Mengubah susunan grid menjadi 1 kolom penuh vertikal */
    padding: 20px 0;
  }

  .sidebar {
    position: static;
    /* Mematikan fungsi sticky pada layar kecil agar bisa di-scroll normal */
    order: 2;
    /* Menaruh posisi sidebar di bawah konten utama */
  }

  .tour-grid {
    grid-template-columns: 1fr;
    /* Grid highlight tour menjadi 1 kolom vertikal di HP */
  }
}


/* ==========================================
   EFEK SCROLL HALUS PADA HALAMAN
   ========================================== */
html {
  scroll-behavior: smooth;
}

/* ==========================================
   CSS FLOATING CONTAINER & BUTTONS
   ========================================== */
.floating-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Jarak antar tombol melayang */
  z-index: 9999;
  /* Memastikan posisi tombol berada di kasta layar paling atas */
}

/* Base style untuk semua tombol floating */
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

/* Efek angkat saat kursor diarahkan ke tombol */
.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Ukuran dan warna ikon SVG di dalam tombol */
.float-svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  /* Semua ikon melayang berwarna putih */
}

/* 1. Spesifikasi Tombol WhatsApp */
.float-wa {
  background-color: #25D366;
}

.float-wa:hover {
  background-color: #1ebd58;
}

/* 2. Spesifikasi Tombol Email */
.float-email {
  background-color: #007bff;
}

.float-email:hover {
  background-color: #0056b3;
}

/* 3. Spesifikasi Tombol Kembali ke Atas */
.float-top {
  background-color: #333333;
}

.float-top:hover {
  background-color: #555555;
}

/* Penyesuaian warna tombol Back to Top saat Mode Gelap aktif */
:has(.theme-toggle:checked) .float-top {
  background-color: #f5f5f5;
}

:has(.theme-toggle:checked) .float-top .float-svg {
  fill: #111111;
  /* Ubah warna panah menjadi gelap agar kontras */
}

/* ==========================================
   RESPONSIVE: PENYESUAIAN DI HP (MAKS 768px)
   ========================================== */
@media screen and (max-width: 768px) {
  .floating-container {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  /* Perkecil sedikit ukuran tombol di HP agar tidak mengganggu pandangan konten utama */
  .float-btn {
    width: 42px;
    height: 42px;
  }

  .float-svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================
   STYLE: FOOTER UTAMA
   ========================================== */
.site-footer {
  background-color: #1a1a1a;
  /* Default warna latar gelap untuk footer */
  color: #b0b0b0;
  padding: 60px 0 0 0;
  font-size: 14px;
  border-top: 3px solid #04AA6D;
  margin-top: 40px;
  transition: background-color 0.3s, color 0.3s;
}

/* Integrasi Sinkronisasi Variabel jika Mode Gelap Aktif */
:has(.theme-toggle:checked) .site-footer {
  background-color: #0b0b0b;
  border-top-color: #038651;
}

/* Kisi Struktur Grid Footer (4 Kolom) — rata atas */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  align-items: start;
  /* fallback modern */
  gap: 40px;
  padding-bottom: 40px;
}

/* Fallback rata-atas untuk browser lama (Grid spec awal = stretch) */
.footer-grid>.footer-col,
.footer-grid>.footer-mobile-row {
  align-self: start;
}

/* Wrapper kolom flex (Quick Menu + Contact Us di mobile) ikut rata atas */
.footer-mobile-row {
  align-items: flex-start;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Style: Sosial Media di bawah profile */
.footer-socials {
  display: flex;
  gap: 12px;
}

.f-social-link {
  width: 34px;
  height: 34px;
  background-color: #2a2a2a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  transition: all 0.2s ease;
}

.f-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.f-social-link:hover {
  background-color: #04AA6D;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Style: Quick Menu Links */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #04AA6D;
  padding-left: 4px;
}

/* Style: Contact Info */
.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Style: Maps & Newsletter Form */
.maps-news-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

/* Blok newsletter di bawah peta */
.footer-newsletter {
  margin-top: 4px;
}

.footer-newsletter .footer-title {
  font-size: 14px;
}

.footer-map {
  width: 100%;
  overflow: hidden;
}

.newsletter-form {
  display: flex;
  width: 100%;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.newsletter-form button {
  padding: 10px 15px;
  border: none;
  border-radius: 0 4px 4px 0;
  background-color: #04AA6D;
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.newsletter-form button:hover {
  background-color: #038651;
}

/* ==========================================
   STYLE: COPYRIGHT BAR
   ========================================== */
.copyright-bar {
  background-color: #111111;
  color: #777777;
  padding: 20px 0;
  border-top: 1px solid #222222;
  font-size: 13px;
}

.text-center {
  text-align: center;
}

/* ==========================================
   RESPONSIVE FOOTER (MOBILE & TABLET)
   ========================================== */
@media screen and (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    /* Membagi menjadi 2 kolom di tablet */
    gap: 30px;
  }
}

@media screen and (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    /* Menumpuk menjadi 1 kolom vertikal di HP */
    gap: 25px;
  }

  .site-footer {
    padding-top: 40px;
  }
}

/* --- Tampilan Desktop (Default) --- */
/* Memastikan kontainer baru tidak merusak layout 4 kolom bawaan desktop */
.footer-mobile-row {
  display: contents;
}

/* --- Tampilan Mobile (Maksimal Lebar Layar 768px) --- */
@media (max-width: 768px) {

  /* Mengubah grid utama agar menumpuk ke bawah secara vertikal */
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  /* Mengaktifkan mode 2 kolom khusus untuk Quick Menu & Contact Us */
  .footer-mobile-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Membagi 50% kiri dan 50% kanan */
    gap: 20px;
    /* Jarak antara kolom menu dan kontak */
    width: 100%;
  }

  /* Opsional: Membuat ukuran font teks kontak sedikit lebih proporsional di HP */
  .footer-contact li {
    font-size: 14px;
    line-height: 1.4;
  }

  .footer-map iframe {
    width: 100% !important;
    /* Memaksa iframe Google Maps selebar layar HP */
    height: 150px;
  }

  .newsletter-form {
    display: flex;
    flex-direction: column;
    /* Membuat input email & tombol menumpuk vertikal di HP */
    gap: 10px;
    width: 100%;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100% !important;
    /* Membuat form dan tombol melebar penuh */
    margin: 0;
  }
}

/* ==========================================
   RESPONSIVE: PAGE HERO (semua halaman non-home)
   ========================================== */
@media screen and (max-width: 768px) {
  .page-hero {
    padding: 30px 0;
  }

  .page-hero h1 {
    font-size: 1.4rem;
  }

  .page-hero p {
    font-size: .9rem;
  }
}
/* ==========================================================================
   Souvenir Card Action Buttons & Modal Popup (E-Commerce Style)
   ========================================================================== */

.souvenir-card-item {
  position: relative;
}

.souvenir-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  z-index: 2;
  letter-spacing: 0.5px;
}

.souvenir-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  align-items: center;
}

.btn-souvenir-cart {
  width: 100%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #f27d00 0%, #e06c00 100%);
  color: #ffffff !important;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(242, 125, 0, 0.25);
  white-space: nowrap;
}

.btn-souvenir-cart:hover {
  background: linear-gradient(135deg, #ff8c1a 0%, #eb7500 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(242, 125, 0, 0.35);
}

.btn-souvenir-detail {
  flex: 1;
  border: 1.5px solid #04AA6D;
  cursor: pointer;
  background: rgba(4, 170, 109, 0.08);
  color: #04AA6D !important;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-souvenir-detail:hover {
  background: #04AA6D;
  color: #ffffff !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(4, 170, 109, 0.25);
}

:has(.theme-toggle:checked) .btn-souvenir-detail {
  background: rgba(4, 170, 109, 0.15);
  color: #2fe09d !important;
  border-color: #04AA6D;
}

:has(.theme-toggle:checked) .btn-souvenir-detail:hover {
  background: #04AA6D;
  color: #ffffff !important;
}

/* Modal Overlay & Dialog */
.souvenir-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.souvenir-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.souvenir-modal-dialog {
  background: var(--bg-color, #ffffff);
  color: var(--text-color, #1e293b);
  border-radius: 18px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.souvenir-modal-overlay.active .souvenir-modal-dialog {
  transform: scale(1) translateY(0);
}

:has(.theme-toggle:checked) .souvenir-modal-dialog {
  background: #1e293b;
  color: #f8fafc;
  border-color: #334155;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.souvenir-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 10;
}

.souvenir-modal-close:hover {
  background: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

:has(.theme-toggle:checked) .souvenir-modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

:has(.theme-toggle:checked) .souvenir-modal-close:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Modal Grid Layout */
.souvenir-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 26px;
  padding: 26px;
}

@media (max-width: 768px) {
  .souvenir-modal-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
}

/* Modal Left: Image & Trust */
.souvenir-modal-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.souvenir-modal-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

:has(.theme-toggle:checked) .souvenir-modal-img-wrap {
  background: #0f172a;
}

.souvenir-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.souvenir-modal-img-wrap:hover img {
  transform: scale(1.05);
}

.souvenir-badge-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.souvenir-trust-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.trust-pill {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 8px 6px;
  font-size: 11px;
  text-align: center;
  font-weight: 600;
  color: #475569;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

:has(.theme-toggle:checked) .trust-pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.trust-pill i {
  font-size: 14px;
  color: #04AA6D;
}

/* Modal Right: Product Details */
.souvenir-modal-info {
  display: flex;
  flex-direction: column;
}

.souvenir-modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

:has(.theme-toggle:checked) .souvenir-modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.souvenir-origin-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(242, 125, 0, 0.1);
  color: #e06c00;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

:has(.theme-toggle:checked) .souvenir-origin-badge {
  background: rgba(242, 125, 0, 0.2);
  color: #ff9800;
}

.souvenir-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-bottom: 6px;
}

.souvenir-rating .stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.souvenir-rating .rating-text {
  color: #64748b;
  font-weight: 500;
}

:has(.theme-toggle:checked) .souvenir-rating .rating-text {
  color: #94a3b8;
}

.souvenir-modal-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--text-color, #0f172a);
  line-height: 1.3;
}

:has(.theme-toggle:checked) .souvenir-modal-title {
  color: #f8fafc;
}

/* Pricing Section */
.souvenir-modal-price-box {
  background: rgba(242, 125, 0, 0.04);
  border: 1px solid rgba(242, 125, 0, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

:has(.theme-toggle:checked) .souvenir-modal-price-box {
  background: rgba(242, 125, 0, 0.1);
  border-color: rgba(242, 125, 0, 0.25);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-final {
  font-size: 24px;
  font-weight: 800;
  color: #f27d00;
  line-height: 1;
}

.price-normal {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: line-through;
}

.stock-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
}

:has(.theme-toggle:checked) .stock-info {
  color: #cbd5e1;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* Description */
.souvenir-modal-desc-box {
  margin-bottom: 16px;
}

.souvenir-modal-desc-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 6px 0;
  color: #64748b;
  font-weight: 700;
}

:has(.theme-toggle:checked) .souvenir-modal-desc-box h4 {
  color: #94a3b8;
}

.souvenir-desc-text {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

:has(.theme-toggle:checked) .souvenir-desc-text {
  color: #cbd5e1;
}

/* Quantity & Subtotal Row */
.souvenir-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

:has(.theme-toggle:checked) .souvenir-qty-row {
  border-color: rgba(255, 255, 255, 0.1);
}

.souvenir-qty-row label {
  font-weight: 600;
  font-size: 14px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-color, #ffffff);
}

:has(.theme-toggle:checked) .qty-control {
  border-color: #475569;
  background: #0f172a;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color, #334155);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

:has(.theme-toggle:checked) .qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-control input {
  width: 48px;
  height: 36px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  color: var(--text-color, #0f172a);
}

:has(.theme-toggle:checked) .qty-control input {
  color: #f8fafc;
}

.subtotal-preview {
  font-size: 13.5px;
  color: #64748b;
}

:has(.theme-toggle:checked) .subtotal-preview {
  color: #94a3b8;
}

.subtotal-preview strong {
  color: #f27d00;
  font-size: 16px;
}

/* Modal CTA Buttons */
.souvenir-modal-buttons {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .souvenir-modal-buttons {
    grid-template-columns: 1fr;
  }
}

.btn-modal-cart {
  background: linear-gradient(135deg, #f27d00 0%, #e06c00 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(242, 125, 0, 0.35);
  transition: all 0.2s ease;
}

.btn-modal-cart:hover {
  background: linear-gradient(135deg, #ff8c1a 0%, #eb7500 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242, 125, 0, 0.45);
}

.btn-modal-wa {
  background: #25D366;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.btn-modal-wa:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
