/* ==========================================================================
   Mediva / Alkes Katalog — Sky-Blue 3D Origami Papercraft UI
   Aligned with Reference Images 1, 3, 4 & Video 1 Marquee Announcement Bar
   ========================================================================== */

:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #1e88e5;
  --sky-600: #1976d2;
  --sky-700: #1565c0;
  --sky-800: #0d47a1;
  --sky-900: #0a2d63;

  --white: #ffffff;
  --surface: #f4f9ff;
  --surface-alt: #eaf4ff;
  --border: #d7e7f9;
  --text: #0f2544;
  --text-muted: #556f8f;

  --wa-green: #16a34a;
  --wa-green-dark: #15803d;

  --font-display: "Montserrat", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Dancing Script", cursive;
  --heading-weight: 800;
  --heading-style: normal;
  --heading-scale: 1;
  --body-weight: 400;
  --body-style: normal;
  --body-size: 16px;
  --script-weight: 700;
  --script-style: normal;
  --script-scale: 1;
  --hero-title-color: #ffffff;
  --hero-sub-color: #ffffff;
  --section-title-color: #0a2d63;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 18px rgba(21, 101, 192, 0.08);
  --shadow-md: 0 14px 34px rgba(21, 101, 192, 0.13);
  --shadow-lg: 0 24px 54px rgba(13, 71, 161, 0.22);
}

/* Backend Font Switcher Presets */
html[data-font="montserrat_jakarta"] {
  --font-display: "Montserrat", "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
html[data-font="poppins"] {
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;
}
html[data-font="plus_jakarta"] {
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
html[data-font="outfit"] {
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
}
html[data-font="inter"] {
  --font-display: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}
html[data-font="dm_sans"] {
  --font-display: "DM Sans", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}
html[data-font="nunito"] {
  --font-display: "Nunito", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
html[data-font="roboto"] {
  --font-display: "Roboto", "Segoe UI", sans-serif;
  --font-body: "Roboto", "Segoe UI", system-ui, sans-serif;
}
html[data-font="none"] {
  --font-display: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[data-body-font="montserrat"] { --font-body: "Montserrat", "Segoe UI", sans-serif; }
html[data-body-font="plus_jakarta"] { --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif; }
html[data-body-font="poppins"] { --font-body: "Poppins", "Segoe UI", sans-serif; }
html[data-body-font="outfit"] { --font-body: "Outfit", "Segoe UI", sans-serif; }
html[data-body-font="inter"] { --font-body: "Inter", "Segoe UI", sans-serif; }
html[data-body-font="dm_sans"] { --font-body: "DM Sans", "Segoe UI", sans-serif; }
html[data-body-font="nunito"] { --font-body: "Nunito", "Segoe UI", sans-serif; }
html[data-body-font="roboto"] { --font-body: "Roboto", "Segoe UI", sans-serif; }
html[data-body-font="none"] { --font-body: system-ui, -apple-system, "Segoe UI", sans-serif; }

html[data-script-font="dancing_script"] {
  --font-script: "Dancing Script", cursive;
}
html[data-script-font="pacifico"] {
  --font-script: "Pacifico", cursive;
}
html[data-script-font="caveat"] {
  --font-script: "Caveat", cursive;
}
html[data-script-font="none"] {
  --font-script: var(--font-display);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--body-size, 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--body-weight, 400);
  font-style: var(--body-style, normal);
  font-size: 1rem;
  color: var(--text);
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 28%,
    #f5faff 58%,
    #ffffff 84%,
    #eef6ff 100%
  );
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.badge-katalog,
.footer-stat strong,
.modal-title {
  font-family: var(--font-display);
  font-weight: var(--heading-weight, 800);
  font-style: var(--heading-style, normal);
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

svg,
.hero-image-card,
.hero-promo-frame,
.modal-main-img-wrap,
.lightbox-stage {
  -webkit-touch-callout: none;
  user-select: none;
}

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

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 24px;
  }
}

/* ---------- Navigation Transition Beam ---------- */
.nav-transition-beam {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(90deg, #ffffff 0%, #7dd3fc 40%, #1e88e5 80%, #ffffff 100%);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
}

.nav-transition-beam.is-active {
  animation: navBeamSweep 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes navBeamSweep {
  0% { opacity: 1; transform: scaleX(0.08); }
  65% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

.section-arrive {
  animation: sectionArrivePulse 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sectionArrivePulse {
  0% { opacity: 0.84; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Announcement Bar Marquee (Video 1 Style) ---------- */
.announcement-bar {
  position: relative;
  z-index: 50;
  width: 100%;
  background: var(--ann-bg, #ef333b);
  color: var(--ann-color, #ffffff);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.announcement-marquee-viewport {
  width: 100%;
  overflow: hidden;
  padding: 9px 0;
}

.announcement-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: announcementMarquee var(--ann-duration, 32s) linear infinite;
}

.announcement-bar:hover .announcement-marquee-track {
  animation-play-state: paused;
}

.announcement-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.announcement-item {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  white-space: nowrap;
  padding-inline: 18px;
}

.announcement-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 0.92;
  padding-inline: 8px;
  user-select: none;
}

@keyframes announcementMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 8px 13px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #29b6f6 0%, var(--sky-500) 55%, var(--sky-700) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(30, 136, 229, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-800));
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.36);
}

.btn-outline-primary {
  background: var(--white);
  color: var(--sky-600);
  border-color: #bfd9f7;
}

.btn-outline-primary:hover {
  background: var(--sky-50);
  border-color: var(--sky-500);
}

.btn-wa {
  background: linear-gradient(135deg, #22c55e, var(--wa-green));
  color: var(--white);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.24);
}

.btn-wa:hover {
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
}

/* ---------- Header Modes (Transparent Seamless / Sticky / None) ---------- */
body.header-mode-none .site-header {
  display: none !important;
}

body.header-mode-transparent .site-header {
  position: relative;
  margin-bottom: -74px;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 71, 161, 0.24) 0%, rgba(13, 71, 161, 0) 100%);
  border-bottom: 0;
  box-shadow: none;
  text-shadow: 0 1px 10px rgba(10, 45, 99, 0.28);
}

body.header-mode-transparent .quick-search:not(.mobile-quick-search) {
  display: none !important;
}

body.header-mode-transparent .hero-section {
  padding-top: 86px;
}

@media (min-width: 768px) {
  body.header-mode-transparent .hero-section {
    padding-top: 98px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(90deg, #1565c0 0%, #1e88e5 55%, #29b6f6 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(13, 71, 161, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 215px;
}

.brand-text strong {
  font-size: 0.98rem;
  color: var(--white);
  line-height: 1.18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text small {
  font-size: 0.72rem;
  color: rgba(224, 242, 254, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.main-nav .nav-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.is-active {
  color: var(--white);
}

.main-nav .nav-link.is-active::after,
.main-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-search {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 6px 12px;
  width: 185px;
}

.quick-search:focus-within {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--white);
}

.quick-search .search-icon {
  color: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
}

.quick-search:focus-within .search-icon {
  color: var(--sky-600);
}

.quick-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.84rem;
  color: var(--white);
}

.quick-search input::placeholder {
  color: rgba(240, 249, 255, 0.85);
}

.quick-search:focus-within input {
  color: var(--text);
}

.quick-search:focus-within input::placeholder {
  color: var(--text-muted);
}

.btn-header-pill {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.84);
  color: var(--white);
  padding: 7px 15px;
  font-size: 0.84rem;
}

.btn-header-pill:hover {
  background: var(--white);
  color: var(--sky-700);
}

.header-wa-btn {
  display: none;
}

.mobile-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.mobile-menu-btn span {
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
}

.mobile-drawer {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%);
  padding-block: 14px 18px;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-quick-search {
  display: flex;
  width: 100%;
  border-radius: 12px;
  padding: 5px 6px 5px 12px;
  background: var(--white);
}

.mobile-quick-search input {
  color: var(--text);
}

.mobile-quick-search input::placeholder {
  color: var(--text-muted);
}

.mobile-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-nav a {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--white);
}

@media (min-width: 980px) {
  .main-nav { display: flex; }
  .quick-search:not(.mobile-quick-search) { display: flex; }
  .header-wa-btn { display: inline-flex; }
  .mobile-menu-btn,
  .mobile-drawer { display: none !important; }
}

/* ---------- Hero Section (Fixed Gambar 1 Sky + Origami Mountains + Big Full Slider) ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 34px 0 92px;
  min-height: 460px;
  color: var(--white);
  background: #187bcd;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 46px 0 112px;
    min-height: 550px;
  }
}

.hero-fixed-bg {
  position: absolute;
  inset: -22% 0 -8% 0;
  z-index: 0;
  background-image: url("/static/images/hero-origami-bg.jpg?v=2");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Seamless Bottom Gradient Fade (Transparan ke Putih Solid tanpa garis potong kaku) */
.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 205px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.16) 34%,
    rgba(255, 255, 255, 0.58) 66%,
    rgba(255, 255, 255, 0.92) 88%,
    #ffffff 100%
  );
}

.hero-bg-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

/* Deep royal blue top & left readability gradient over sky hero background */
.hero-fixed-bg.has-bg + .hero-bg-layers .hero-bg-layer.is-active {
  opacity: 0.72;
  background: linear-gradient(
    180deg,
    rgba(8, 48, 122, 0.56) 0%,
    rgba(16, 86, 178, 0.24) 44%,
    rgba(56, 189, 248, 0.05) 75%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

.hero-fixed-bg:not(.has-bg) + .hero-bg-layers .hero-bg-layer.is-active {
  opacity: 1;
}

.hero-bg-layer.theme-sky {
  background: linear-gradient(155deg, #1565c0 0%, #1e88e5 44%, #38bdf8 78%, #bae6fd 100%);
}
.hero-bg-layer.theme-royal {
  background: linear-gradient(155deg, #0d47a1 0%, #1976d2 46%, #42a5f5 78%, #e0f2fe 100%);
}
.hero-bg-layer.theme-ocean {
  background: linear-gradient(155deg, #0284c7 0%, #0ea5e9 48%, #7dd3fc 82%, #f0f9ff 100%);
}
.hero-bg-layer.theme-navy {
  background: linear-gradient(155deg, #0a2d63 0%, #1565c0 46%, #29b6f6 82%, #e0f2fe 100%);
}

.hero-medical-accent {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}

@media (min-width: 1360px) {
  .hero-section:not(.is-promo-active) .hero-medical-accent {
    display: block;
  }
}

.med-float-badge {
  position: absolute;
  filter: drop-shadow(0 12px 24px rgba(10, 45, 99, 0.18));
}

.med-badge-left-shield {
  top: 26px;
  left: 1.8%;
  animation: medFloatA 6.4s ease-in-out infinite;
}

.med-badge-left-cross {
  bottom: 148px;
  left: 2.2%;
  animation: medFloatB 7.2s ease-in-out 0.6s infinite;
}

.med-badge-cross {
  top: 22px;
  right: 2.5%;
  animation: medFloatA 6s ease-in-out infinite;
}

.med-badge-pulse {
  top: 26px;
  right: 16%;
  opacity: 0.9;
  animation: medFloatB 7s ease-in-out infinite;
}

.med-badge-shield {
  bottom: 148px;
  right: 2.5%;
  animation: medFloatA 6.8s ease-in-out 0.8s infinite;
}

.hero-custom-3d-img {
  position: absolute;
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(10, 45, 99, 0.24));
  animation: medFloatA 5.8s ease-in-out infinite;
}

.hero-custom-3d-left {
  top: 24px;
  left: 2%;
}

.hero-custom-3d-right {
  top: 20px;
  right: 2.5%;
}

@keyframes medFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(3deg); }
}

@keyframes medFloatB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8px, -9px, 0); }
}

.hero-stage {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.hero-slides {
  display: grid;
  width: 100%;
  align-items: center;
  overflow: visible;
}

/* Locked Single-Cell Crossfade Hero Slide (Zero Vertical Jump Desktop & Mobile) */
.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 16px;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s ease;
}

@media (min-width: 768px) {
  .hero-slide {
    padding-inline: 24px;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    height: 370px;
  }
}

@media (min-width: 1024px) {
  .hero-slide {
    height: 410px;
  }
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* BIG FULL-WIDTH SLIDER MODE (Same Locked Height — Smooth Crossfade) */
.hero-slide.hero-slide-promo {
  max-width: 1320px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr !important;
}

.hero-promo-frame {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 24px 60px rgba(10, 45, 99, 0.28);
  background: linear-gradient(135deg, #0d47a1 0%, #1e88e5 100%);
  cursor: pointer;
}

.hero-promo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .hero-slide.hero-slide-promo {
    height: 370px;
    align-items: stretch;
  }
  .hero-promo-frame {
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .hero-slide.hero-slide-promo {
    height: 410px;
  }
}

.hero-promo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 26px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 45, 99, 0.82) 100%);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.hero-promo-overlay h2 {
  margin: 4px 0 4px;
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  font-weight: 800;
}

.hero-promo-overlay p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(240, 249, 255, 0.94);
  max-width: 600px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: calc(clamp(1.75rem, 3.6vw, 2.85rem) * var(--heading-scale, 1));
  line-height: 1.08;
  font-weight: var(--heading-weight, 900);
  font-style: var(--heading-style, normal);
  color: var(--hero-title-color, #ffffff);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 3px 20px rgba(10, 45, 99, 0.34);
}

/* Script Tagline matching "Explore. Dream. Discover." in Gambar 1 */
.hero-script-tagline {
  font-family: var(--font-script);
  font-size: calc(clamp(1.35rem, 2.4vw, 1.9rem) * var(--script-scale, 1));
  font-weight: var(--script-weight, 700);
  font-style: var(--script-style, normal);
  line-height: 1.15;
  color: var(--hero-sub-color, #ffffff);
  text-shadow: 0 2px 14px rgba(10, 45, 99, 0.26);
  margin-top: -2px;
}

.hero-copy p {
  margin: 0;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: var(--body-weight, 400);
  font-style: var(--body-style, normal);
  color: var(--hero-sub-color, rgba(255, 255, 255, 0.96));
  max-width: 540px;
  text-shadow: 0 1px 10px rgba(10, 45, 99, 0.25);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.btn-hero-light {
  background: var(--white);
  color: var(--sky-700);
  box-shadow: 0 10px 26px rgba(10, 45, 99, 0.22);
  font-weight: 700;
}

.btn-hero-light:hover {
  background: var(--sky-50);
  transform: translateY(-2px);
}

.btn-hero-ghost {
  background: rgba(13, 71, 161, 0.32);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(4px);
}

.btn-hero-ghost:hover {
  background: rgba(13, 71, 161, 0.52);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.hero-float-shadow {
  width: 74%;
  max-width: 300px;
  height: 16px;
  margin-top: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(10, 45, 99, 0.32) 0%, transparent 72%);
  pointer-events: none;
}

.hero-image-card {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 255, 255, 0.28);
}

.hero-card-sheen {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-card-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.hero-image-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 215px;
  object-fit: contain;
  border-radius: 14px;
  transform: translate3d(var(--hero-ox, 0%), var(--hero-oy, 0%), 0) scale(var(--hero-scale, 1));
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-image-card.is-3d-popout img {
  border-radius: 0;
  filter: drop-shadow(0 18px 28px rgba(10, 45, 99, 0.32));
}

@media (min-width: 768px) {
  .hero-image-card img {
    max-height: 295px;
  }
}

/* Fluid Slide Transitions */
.hero-slide.is-active .hero-copy > * {
  animation: heroTextIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero-slide.is-active .hero-copy > *:nth-child(5) { animation-delay: 0.22s; }
.hero-slide.is-active .hero-image-card,
.hero-slide.is-active .hero-promo-frame {
  animation: heroVisualIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-slide.is-active .hero-card-sheen::after {
  animation: heroSheen 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s 1;
}
.hero-slide.dir-prev.is-active .hero-copy > * { animation-name: heroTextInLeft; }
.hero-slide.dir-prev.is-active .hero-image-card,
.hero-slide.dir-prev.is-active .hero-promo-frame { animation-name: heroVisualInLeft; }

@keyframes heroTextIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes heroTextInLeft {
  from { opacity: 0; transform: translate3d(-16px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes heroVisualIn {
  from { opacity: 0; transform: translate3d(20px, 0, 0) scale(0.96); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes heroVisualInLeft {
  from { opacity: 0; transform: translate3d(-20px, 0, 0) scale(0.96); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes heroSheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active .hero-image-card {
    animation: heroVisualIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
      heroFloat 4.2s ease-in-out 0.6s infinite;
    will-change: transform;
  }
  .hero-slide.dir-prev.is-active .hero-image-card {
    animation: heroVisualInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) both,
      heroFloat 4.2s ease-in-out 0.6s infinite;
  }
  .hero-slide.is-active .hero-float-shadow {
    animation: heroShadowPulse 4.2s ease-in-out 0.6s infinite;
  }
  @keyframes heroFloat {
    0%, 100% { transform: translate3d(0, 2px, 0) rotate(0.4deg); }
    50% { transform: translate3d(0, -14px, 0) rotate(-0.7deg); }
  }
  @keyframes heroShadowPulse {
    0%, 100% { transform: scaleX(1); opacity: 0.9; }
    50% { transform: scaleX(0.84); opacity: 0.45; }
  }
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.hero-dots-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--white);
}

.hero-progress {
  width: 130px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.hero-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-progress-fill.is-running {
  animation: heroProgress 6.5s linear forwards;
}

@keyframes heroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-arrows {
  display: flex;
  gap: 8px;
}

.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(13, 71, 161, 0.42);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(13, 71, 161, 0.78);
  transform: scale(1.06);
}

/* ---------- Floating Search & Origami Tabs (Overlapping Hero ala Gambar 1) ---------- */
.floating-search-section {
  position: relative;
  z-index: 12;
  margin-top: -54px;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .floating-search-section {
    margin-top: -68px;
    margin-bottom: 22px;
  }
}

.floating-search-shell {
  filter: drop-shadow(0 18px 36px rgba(21, 101, 192, 0.14));
}

.category-tabs-bar {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 5px;
  padding-inline: 12px;
  scrollbar-width: none;
}

.category-tabs-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom: 0;
  background: rgba(240, 249, 255, 0.94);
  color: var(--sky-800);
  border-radius: 12px 12px 0 0;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cat-pill:hover {
  background: var(--white);
  color: var(--sky-600);
}

.cat-pill.is-active {
  background: var(--white);
  color: var(--sky-700);
  box-shadow: 0 -4px 14px rgba(21, 101, 192, 0.08);
  transform: translateY(-2px);
}

.filter-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.filter-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) and (max-width: 919px) {
  .filter-top-row {
    grid-template-columns: 1fr 1fr;
  }
  .filter-top-row .search-box,
  .filter-top-row .filter-jump-btn {
    grid-column: span 2;
  }
}

@media (min-width: 920px) {
  .filter-top-row {
    grid-template-columns: 1fr 170px 195px 136px;
  }
}

.quick-attr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.attr-chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--sky-800);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.attr-chip:hover {
  background: var(--sky-50);
  border-color: var(--sky-400);
}

.attr-chip.is-active {
  background: var(--sky-700);
  border-color: var(--sky-700);
  color: var(--white);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--sky-600);
}

.search-box:focus-within {
  border-color: var(--sky-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.14);
}

.search-box input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  color: var(--text);
  font-size: 0.92rem;
}

.clear-search-btn {
  border: 0;
  background: #dbeafe;
  color: var(--sky-800);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.filter-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
}

.filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.reset-filter-btn {
  border: 0;
  background: transparent;
  color: var(--sky-600);
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Seksi Keunggulan — Gambar 3 Style (Centered Square Origami Tile + Blue Icon) ---------- */
@media (max-width: 767px) {
  main {
    display: flex;
    flex-direction: column;
  }
  main > .hero-section,
  main > .floating-search-section {
    order: 1;
  }
  main > .catalog-section {
    order: 2;
  }
  main > .benefits-section {
    order: 3;
  }
  main > .ecommerce-section {
    order: 4;
  }
  main > .steps-section {
    order: 5;
  }
  main > .contact-section {
    order: 6;
  }
}

.benefits-section {
  padding: 24px 0 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  border: 0;
  padding: 8px 4px;
  box-shadow: none;
  transition: transform 0.22s ease;
}

.origami-paper-tile {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.origami-paper-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(21, 101, 192, 0.14));
}

.origami-paper-icon {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1976d2;
  filter: drop-shadow(0 3px 6px rgba(21, 101, 192, 0.16));
}

.origami-paper-icon svg {
  display: block;
}

.origami-paper-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

@media (hover: hover) and (min-width: 768px) {
  .benefit-card:hover {
    transform: translateY(-3px);
  }
  .benefit-card:hover .origami-paper-tile {
    transform: rotate(-3deg) scale(1.05);
  }
}

.benefit-card h3 {
  margin: 0 0 4px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.24;
  color: #1565c0;
}

.benefit-card p {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.42;
  color: var(--text-muted);
}

/* ---------- Sections Common ---------- */
.catalog-section,
.ecommerce-section,
.steps-section,
.contact-section {
  padding: 46px 0;
}

.catalog-section {
  background: linear-gradient(180deg, #eef7ff 0%, #ffffff 35%, #ffffff 100%);
  border-top: 1px solid #e3effb;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

@media (min-width: 860px) {
  .section-head:not(.center) {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
}

.section-head.center {
  text-align: center;
  align-items: center;
  margin-bottom: 26px;
}

.section-head-rule {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--sky-500);
  margin: 6px auto 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 4px;
}

.section-head h2,
.contact-info h2 {
  margin: 0;
  font-size: calc(clamp(1.35rem, 2.4vw, 1.95rem) * var(--heading-scale, 1));
  color: var(--section-title-color, var(--sky-900));
  line-height: 1.24;
  font-weight: var(--heading-weight, 800);
  font-style: var(--heading-style, normal);
}

.section-subtitle {
  margin: 0;
  max-width: 470px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 680px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(225deg, #e0f2fe 48%, rgba(255, 255, 255, 0.95) 50%);
  box-shadow: -2px 2px 6px rgba(21, 101, 192, 0.1);
  border-bottom-left-radius: 7px;
  pointer-events: none;
}

@media (hover: hover) and (min-width: 768px) {
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #93c5fd;
  }
}

.product-thumb {
  position: relative;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stock-chip {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  box-shadow: 0 4px 10px rgba(10, 45, 99, 0.12);
}

.stock-tersedia { color: #15803d; border-color: #bbf7d0; }
.stock-terbatas { color: #b45309; border-color: #fde68a; }
.stock-preorder { color: #0369a1; border-color: #bae6fd; }
.stock-kosong { color: #b91c1c; border-color: #fecaca; }

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
  gap: 8px;
}

@media (min-width: 768px) {
  .product-body {
    padding: 15px;
    gap: 9px;
  }
}

.product-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge-katalog,
.badge-kode {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
}

.badge-katalog { background: var(--sky-800); color: var(--white); }
.badge-kode { background: var(--sky-100); color: var(--sky-700); }

.product-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sky-900);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

@media (min-width: 768px) {
  .product-title { font-size: 0.98rem; }
}

.product-summary {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--sky-600);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 4px;
}

@media (min-width: 480px) {
  .product-actions { grid-template-columns: 1fr 1fr; }
}

.product-actions .btn {
  padding: 8px 8px;
  font-size: 0.77rem;
  border-radius: 9px;
}

.empty-state {
  text-align: center;
  background: var(--white);
  border: 1px dashed #bfd9f5;
  border-radius: var(--radius-lg);
  padding: 40px 20px;
}

.empty-icon { font-size: 2rem; margin-bottom: 8px; }
.load-more-wrap { text-align: center; margin-top: 28px; }
.load-more-hint { margin: 8px 0 0; font-size: 0.84rem; color: var(--text-muted); }

/* ---------- Official E-Commerce Slider (Gambar 4 "PRICING DETAILS" Origami Sky Background) ---------- */
.ecommerce-section {
  padding: 18px 0 38px;
}

.ecom-blue-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 26px 18px 26px;
  color: var(--white);
  background-color: #1976d2;
  background-image: url("/static/images/marketplace-origami-bg.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .ecom-blue-banner {
    padding: 36px 34px 32px;
  }
}

.ecom-banner-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}

.ecom-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.ecom-banner-head h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2.3vw, 1.85rem);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(10, 45, 99, 0.22);
}

.ecom-head-rule {
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  margin: 10px 0 8px;
}

.ecom-banner-head p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(240, 249, 255, 0.95);
  max-width: 580px;
}

.ecom-slider-arrows {
  display: flex;
  gap: 8px;
}

.ecom-slider-viewport {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(10, 45, 99, 0.2);
}

.ecom-slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ecom-slide {
  position: relative;
  flex: 0 0 100%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 249, 255, 0.97) 100%);
  color: var(--text);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.ecom-slide.is-promo-full {
  padding: 0;
  overflow: hidden;
  min-height: 220px;
}

.ecom-slide-banner-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
}

.ecom-slide.is-promo-full .ecom-slide-banner-img {
  border-radius: 0;
  height: 100%;
  max-height: 310px;
}

.ecom-slide-thumb {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .ecom-slide {
    flex-direction: row;
    align-items: center;
    padding: 26px 30px;
  }
  .ecom-slide.is-promo-full {
    padding: 0;
  }
}

.ecom-slide-copy h3 {
  margin: 6px 0 6px;
  font-size: 1.18rem;
  color: var(--sky-900);
}

.ecom-slide-copy p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 560px;
}

.ecom-slide-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(135deg, #1976d2, #0d47a1);
  padding: 5px 12px;
  border-radius: 999px;
}

.ecom-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.ecom-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.ecom-icons-wrap {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  padding: 18px 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(10, 45, 99, 0.14);
}

.ecom-icons-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0a2d63;
  margin-bottom: 12px;
}

.ecom-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .ecom-icons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ecom-icons-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }
}

.ecom-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f2544;
  border: 1px solid #d7e7f9;
  border-radius: 14px;
  padding: 12px 8px;
  box-shadow: 0 6px 16px rgba(13, 71, 161, 0.08);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (min-width: 768px) {
  .ecom-tile:hover {
    transform: translateY(-4px);
    background: #f0f9ff;
    border-color: #60a5fa;
  }
}

.ecom-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(10, 45, 99, 0.18);
}

.ecom-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ecom-tile strong { font-size: 0.88rem; color: #0a2d63; }
.ecom-tile span { font-size: 0.72rem; color: #1e3a5f; font-weight: 600; }

/* ---------- Cara Pemesanan via WhatsApp — Gambar 4 "HOW TO BOOK" 3D Origami Style ---------- */
.steps-section {
  padding: 26px 0 42px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.steps-card-shell {
  background: var(--white);
  border: 1px solid #e1effe;
  border-radius: 22px;
  padding: 26px 20px;
  box-shadow: 0 16px 40px rgba(21, 101, 192, 0.10);
}

@media (min-width: 768px) {
  .steps-card-shell {
    padding: 32px 28px;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1040px) {
  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
  }
}

.step-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 4px 2px;
  color: var(--text);
  box-shadow: none;
  text-align: left;
  transition: transform 0.22s ease;
}

/* Dashed arrow connector between steps on desktop matching Gambar 4 HOW TO BOOK */
@media (min-width: 1040px) {
  .step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    width: 18px;
    height: 10px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10' fill='none'%3E%3Cpath d='M1 5h16' stroke='%2393C5FD' stroke-width='1.5' stroke-dasharray='3 2.5' stroke-linecap='round'/%3E%3Cpath d='M15 2l4 3-4 3' stroke='%2360A5FA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
  }
}

@media (hover: hover) and (min-width: 768px) {
  .step-card:hover {
    transform: translateY(-3px);
  }
}

.step-3d-visual {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.step-3d-visual img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.step-3d-visual svg {
  width: 54px;
  height: 54px;
  color: var(--sky-600);
}

.step-card h3 {
  margin: 0 0 4px;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--sky-800);
  line-height: 1.25;
}

.step-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------- Contact, Map & Logo-Only Social Media ---------- */
.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 32px;
  }
}

.contact-lead {
  color: var(--text-muted);
  margin: 10px 0 18px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sky-600);
}

.contact-val {
  font-size: 0.92rem;
  color: var(--sky-900);
  font-weight: 600;
}

.contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-bar-wrap {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #bed8f5;
}

.social-bar-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sky-700);
  margin-bottom: 10px;
}

.social-icons-row,
.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Social Media: Logo-Only Square/Squircle Icon Buttons */
.social-origami-btn {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 6px 14px rgba(21, 101, 192, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-origami-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.site-footer .social-origami-btn {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  box-shadow: none;
}

.site-footer .social-origami-btn .social-icon-glyph {
  color: var(--white) !important;
}

@media (hover: hover) and (min-width: 768px) {
  .social-origami-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(21, 101, 192, 0.16);
    border-color: var(--sky-400);
  }
  .site-footer .social-origami-btn:hover {
    background: rgba(255, 255, 255, 0.28);
  }
}

.contact-map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-md);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.contact-map-card iframe {
  flex: 1;
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 14px;
}

/* ---------- Vibrant Sky-Blue Footer (Clean Stats & Testimonial) ---------- */
.site-footer {
  padding: 14px 0 84px;
  background: #eef6ff;
}

.footer-card-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(125deg, #1976d2 0%, #1e88e5 48%, #38bdf8 100%);
  color: var(--white);
  box-shadow: 0 22px 48px rgba(13, 71, 161, 0.24);
}

.footer-top-band {
  position: relative;
  overflow: hidden;
  padding: 28px 22px 22px;
}

.footer-bottom-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding: 18px 22px 22px;
}

@media (min-width: 768px) {
  .footer-top-band {
    padding: 32px 34px 26px;
  }
  .footer-bottom-band {
    padding: 18px 34px 24px;
  }
}

.footer-top-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 960px) {
  .footer-top-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }
}

.footer-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 540px) {
  .footer-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.footer-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 6px 4px;
}

.footer-stat-icon {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2px;
}

.footer-stat strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.footer-stat span {
  font-size: 0.78rem;
  color: rgba(240, 249, 255, 0.94);
}

.footer-quote-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-quote-body {
  position: relative;
  flex: 1;
}

.footer-quote-mark {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.8rem;
  line-height: 0.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 6px;
}

.footer-quote-text {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
}

.footer-quote-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
}

.footer-quote-author {
  font-weight: 700;
  color: var(--white);
}

.footer-quote-stars {
  color: #facc15;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}

.footer-divider {
  position: relative;
  z-index: 2;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
  margin-bottom: 18px;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-brand-col strong {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-brand-col p {
  margin: 4px 0 12px;
  font-size: 0.84rem;
  color: rgba(240, 249, 255, 0.92);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-admin-link {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

/* ---------- Product Detail Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 45, 99, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  padding: 0 16px 18px;
  box-shadow: 0 28px 70px rgba(10, 45, 99, 0.36);
  min-width: 0;
  animation: modalPopIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalPopIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 768px) {
  .modal-backdrop { padding: 20px; }
  .modal-dialog { border-radius: 22px; padding: 0 28px 28px; }
}

.modal-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 10px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.modal-topbar-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sky-600);
}

.modal-close {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--sky-900);
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-body,
.modal-layout > * {
  min-width: 0;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

@media (min-width: 768px) {
  .modal-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
  }
}

.modal-main-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: zoom-in;
}

.modal-main-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  transition: transform 0.16s ease-out;
  will-change: transform;
}

.modal-main-img-wrap.is-zooming .modal-main-img {
  transform: scale(2.15);
}

.modal-zoom-hint {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 45, 99, 0.72);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}

.modal-main-img-wrap.is-zooming .modal-zoom-hint {
  opacity: 0;
}

/* ---------- Full Original Size Image Lightbox ---------- */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6, 20, 48, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(10, 32, 74, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  flex-shrink: 0;
}

.lightbox-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lightbox-info strong {
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 44vw;
}

.lightbox-dim-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.22);
  border: 1px solid rgba(125, 211, 252, 0.45);
  color: #e0f2fe;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lightbox-btn {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-radius: 9px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.lightbox-stage {
  flex: 1;
  overflow: auto;
  display: flex;
  padding: 20px;
  cursor: zoom-out;
}

.lightbox-stage img {
  margin: auto;
  display: block;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-stage.is-actual img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
}

.lightbox-stage.is-fit img {
  max-width: 100%;
  max-height: calc(100vh - 104px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.modal-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.modal-thumb-btn {
  width: 60px;
  height: 46px;
  padding: 2px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
}

.modal-thumb-btn.is-active { border-color: var(--sky-600); }
.modal-thumb-btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.modal-title {
  margin: 0 0 8px;
  font-size: clamp(1.12rem, 4vw, 1.38rem);
  line-height: 1.28;
  color: var(--sky-900);
  overflow-wrap: anywhere;
}

.modal-price { font-size: 1.08rem; font-weight: 800; color: var(--sky-600); margin-bottom: 10px; }
.modal-desc { margin: 0 0 12px; color: var(--text-muted); font-size: 0.88rem; overflow-wrap: anywhere; }

.modal-specs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}

.modal-specs h4 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sky-800);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.spec-list li {
  padding-bottom: 6px;
  border-bottom: 1px dashed #d7e5f5;
  overflow-wrap: anywhere;
}

.spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.modal-warranty {
  background: #eff8ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.83rem;
  color: var(--sky-900);
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.modal-wa-cta {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  padding: 13px 16px;
}

/* ---------- Popup Banner Promo PNG (Transparent-Friendly + Smooth Spring Entrance) ---------- */
.promo-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(10, 45, 99, 0.58);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 22px;
  animation: promoBackdropIn 0.34s ease-out both;
}

@keyframes promoBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.promo-popup-shell {
  position: relative;
  display: inline-flex;
  max-width: min(560px, 92vw);
  max-height: 86vh;
  transform-origin: center center;
  animation: promoPopupSpringIn 0.58s cubic-bezier(0.22, 1.28, 0.36, 1) both;
}

@keyframes promoPopupSpringIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scale(0.82) rotate(-1.5deg);
  }
  65% {
    opacity: 1;
    transform: translate3d(0, -6px, 0) scale(1.03) rotate(0.4deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

.promo-popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--sky-100);
  background: var(--white);
  color: var(--sky-900);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(10, 45, 99, 0.32);
  transition: transform 0.18s ease, background-color 0.18s ease;
  animation: promoClosePop 0.32s cubic-bezier(0.22, 1.25, 0.36, 1) 0.22s both;
}

@keyframes promoClosePop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

.promo-popup-close:hover {
  transform: scale(1.08);
  background: var(--sky-50);
}

.promo-popup-content img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 20px 44px rgba(10, 45, 99, 0.36));
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .promo-popup-content a:hover img {
    transform: translateY(-3px) scale(1.015);
  }
}

/* ---------- B2B Certification Badges, Sub-Actions, Quote Cart & Compare UI ---------- */
.b2b-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.b2b-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.product-sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 2px;
}

.btn-mini-util {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--sky-800);
  border-radius: 8px;
  padding: 5px 6px;
  font-size: 0.71rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-mini-util:hover {
  background: var(--sky-100);
  border-color: var(--sky-400);
}

.btn-mini-util.is-active {
  background: var(--sky-600);
  border-color: var(--sky-700);
  color: var(--white);
}

.modal-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-link {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--sky-700);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn-copy-link:hover,
.btn-copy-link.is-copied {
  background: var(--sky-600);
  border-color: var(--sky-600);
  color: var(--white);
}

.modal-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 520px) {
  .modal-cta-grid {
    grid-template-columns: auto 1fr;
  }
}

.floating-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #60a5fa;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e88e5 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.34);
  transition: transform 0.2s ease;
}

.floating-quote-btn:hover {
  transform: translateY(-2px);
}

.quote-cart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  max-height: 40vh;
  overflow-y: auto;
}

.quote-cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.quote-cart-row img {
  width: 56px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}

.quote-cart-info {
  flex: 1;
  min-width: 0;
}

.quote-cart-info strong {
  display: block;
  font-size: 0.86rem;
  color: var(--sky-900);
  line-height: 1.25;
}

.quote-cart-info small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 2px 4px;
}

.qty-stepper button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: var(--sky-50);
  color: var(--sky-800);
  font-weight: 800;
  cursor: pointer;
}

.qty-stepper span {
  min-width: 22px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
}

.quote-remove-btn {
  border: 0;
  background: transparent;
  color: #dc2626;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
}

.quote-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 560px) {
  .quote-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-input-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sky-800);
  margin-bottom: 4px;
}

.quote-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.86rem;
  background: var(--surface);
  color: var(--text);
}

.quote-modal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.compare-bar {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 44;
  max-width: calc(100vw - 185px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #93c5fd;
  box-shadow: 0 14px 36px rgba(10, 45, 99, 0.22);
  backdrop-filter: blur(8px);
}

.compare-bar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--sky-50);
  border: 1px solid #bae6fd;
  color: var(--sky-900);
  font-size: 0.74rem;
  font-weight: 700;
}

.compare-chip button {
  border: 0;
  background: transparent;
  color: #dc2626;
  font-weight: 800;
  cursor: pointer;
  padding: 0 2px;
}

.compare-bar-actions {
  display: flex;
  gap: 6px;
}

.modal-dialog-wide {
  max-width: 1040px;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  min-width: 190px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  min-width: 130px;
  font-weight: 700;
  background: var(--surface);
  color: var(--sky-900);
}

.compare-head-img {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 6px;
}

/* ---------- Floating Bottom-Right Dock ---------- */
.floating-dock {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.floating-actions-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.floating-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.92);
  background: rgba(255, 255, 255, 0.96);
  color: var(--sky-900);
  font-weight: 700;
  font-size: 0.72rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(10, 45, 99, 0.16);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-action-pill:hover {
  transform: translateY(-2px);
  background: var(--sky-50);
}

.floating-action-pill img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.floating-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, var(--wa-green));
  color: var(--white);
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.34);
}

/* Clean Print Catalog Layout */
@media print {
  .announcement-bar,
  .site-header,
  .hero-section,
  .floating-search-section,
  .ecommerce-section,
  .floating-dock,
  .product-actions,
  .load-more-wrap,
  .contact-map-card,
  .site-footer,
  .promo-popup-backdrop,
  .compare-bar {
    display: none !important;
  }
  body { background: #ffffff !important; }
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
}

/* ---------- Lightweight Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .announcement-marquee-track { animation: none !important; }
  .hero-fixed-bg,
  .hero-bg-layer,
  .hero-slide.is-active .hero-copy > *,
  .hero-slide.is-active .hero-image-card,
  .hero-slide.is-active .hero-promo-frame,
  .hero-slide.is-active .hero-card-sheen::after,
  .hero-slide.is-active .hero-float-shadow,
  .med-float-badge,
  .hero-custom-3d-img,
  .hero-progress-fill,
  .ecom-slider-track,
  .nav-transition-beam,
  .section-arrive,
  .modal-dialog,
  .promo-popup-backdrop,
  .promo-popup-shell,
  .promo-popup-close,
  .reveal,
  .product-card,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* ==========================================================================
   Floating Asisten Produk AW Medika (AI Chatbot Widget)
   ========================================================================== */
.floating-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 71, 161, 0.42);
}

.ai-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  width: min(390px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 110px));
  z-index: 1200;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(10, 45, 99, 0.26);
  overflow: hidden;
}

.ai-chat-panel[hidden] {
  display: none !important;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--sky-700), var(--sky-500));
  color: #ffffff;
}

.ai-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ai-chat-header-info strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
}

.ai-chat-header-info small {
  display: block;
  font-size: 0.74rem;
  opacity: 0.9;
}

.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ai-chat-header-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.ai-chat-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ai-chat-icon-btn:hover {
  background: rgba(255, 255, 255, 0.26);
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f6faff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-msg {
  display: flex;
}

.ai-msg-user {
  justify-content: flex-end;
}

.ai-msg-bot {
  justify-content: flex-start;
}

.ai-msg-bubble {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  word-break: break-word;
}

.ai-msg-user .ai-msg-bubble {
  background: linear-gradient(135deg, var(--sky-600), var(--sky-700));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.ai-msg-bot .ai-msg-bubble {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.06);
}

.ai-msg-bot .ai-msg-bubble code {
  background: var(--sky-50);
  color: var(--sky-800);
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 0.8rem;
}

.ai-typing {
  color: var(--text-muted);
  font-style: italic;
}

.ai-msg-products {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.ai-product-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid var(--sky-200);
  background: var(--sky-50);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ai-product-pill:hover {
  background: var(--sky-100);
  border-color: var(--sky-400);
}

.ai-product-code {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--sky-800);
  background: #ffffff;
  border: 1px solid var(--sky-200);
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

.ai-product-name {
  flex: 1;
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sky-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-product-price {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--sky-700);
  flex-shrink: 0;
}

.ai-chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.ai-chat-prompts[hidden] {
  display: none !important;
}

.ai-prompt-chip {
  border: 1px solid var(--sky-200);
  background: var(--sky-50);
  color: var(--sky-800);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.ai-prompt-chip:hover {
  background: var(--sky-100);
}

.ai-chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.ai-chat-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
}

.ai-chat-input:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.14);
}

.ai-chat-send {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.ai-chat-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .ai-chat-panel {
    right: 12px;
    bottom: 76px;
    width: calc(100vw - 24px);
    height: min(500px, calc(100vh - 100px));
  }
}
