:root {
  --bg: #f9fffe;
  --surface: #ffffff;
  --soft: #e9faf7;
  --primary: #18c0b0;
  --primary-dark: #087a70;
  --primary-light: #9be7df;
  --text: #17332f;
  --muted: #617b77;
  --line: #d5eeea;
  --success: #25d366;
  --shadow: 0 24px 60px rgba(8, 91, 82, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

body.cart-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 255, 254, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(213, 238, 234, 0.9);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(24, 192, 176, 0.20);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 18px;
  line-height: 1.15;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

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

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 25px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 13px 11px 17px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--text);
  font-size: 12px;
}

.hero {
  padding: 88px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 68px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #baf4ed;
}

.hero h1,
.section-heading h2,
.custom-copy h2,
.about-copy h2,
.contact-main h2,
.cart-header h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.12;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(43px, 5.2vw, 72px);
}

.hero-copy > p {
  max-width: 620px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(24, 192, 176, 0.24);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn.full {
  width: 100%;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-points strong,
.hero-points span {
  display: block;
}

.hero-points strong {
  font-size: 18px;
}

.hero-points span {
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  padding: 13px;
  border-radius: 36px;
  background: linear-gradient(145deg, #ecfcf9, #9ee4dd);
  box-shadow: var(--shadow);
}

.hero-media > img {
  width: 100%;
  height: 690px;
  object-fit: cover;
  object-position: center;
  border-radius: 25px;
}

.hero-price {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 42px rgba(8, 83, 75, 0.18);
}

.hero-price small,
.hero-price strong,
.hero-price span {
  display: block;
}

.hero-price small {
  color: var(--muted);
}

.hero-price strong {
  margin: 2px 0;
  font-size: 25px;
}

.hero-price span {
  color: var(--muted);
  font-size: 12px;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid span {
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-right: 1px solid var(--line);
}

.trust-grid span:last-child {
  border-right: 0;
}

.section {
  padding: 105px 0;
}

.soft-section {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}

.section-heading.center {
  display: block;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 50px;
  text-align: center;
}

.section-heading h2,
.custom-copy h2,
.about-copy h2,
.contact-main h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.section-heading > p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
}

.section-heading.center p {
  max-width: 650px;
  margin: 16px auto 0;
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 110px;
}

.gallery-main {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.gallery-main img {
  width: 100%;
  height: 610px;
  object-fit: cover;
}

.gallery-main span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(47, 41, 36, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.gallery-thumb {
  padding: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 15px;
  background: #fff;
}

.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  border-radius: 10px;
}

.photo-note {
  margin: 13px 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.product-list {
  display: grid;
  gap: 15px;
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(8, 83, 75, 0.09);
}

.product-code {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 5px 0 6px;
  font-size: 22px;
}

.product-card p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-purchase {
  flex: 0 0 auto;
  min-width: 155px;
  text-align: right;
}

.product-purchase strong {
  display: block;
  margin-bottom: 12px;
  font-size: 19px;
}

.product-purchase .btn {
  min-height: 43px;
  padding: 9px 18px;
}

.catalog-note {
  display: grid;
  gap: 3px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--text);
  color: #fff;
}

.catalog-note span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.catalog-note a {
  margin-top: 8px;
  color: #aef0e8;
  font-weight: 700;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-grid article {
  min-height: 275px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.benefit-number {
  display: block;
  margin-bottom: 50px;
  color: var(--primary);
  font-weight: 700;
}

.benefit-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
}

.custom-grid,
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.custom-copy p,
.about-copy p {
  color: var(--muted);
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 27px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.custom-form {
  display: grid;
  gap: 17px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--text);
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(24, 192, 176, 0.12);
}

textarea {
  resize: vertical;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.testimonial-card button {
  width: 100%;
  height: 385px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--soft);
}

.testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

.testimonial-card button:hover img {
  transform: scale(1.025);
}

.testimonial-card > div {
  display: grid;
  gap: 5px;
  padding: 20px;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 14px;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.contact-section {
  padding: 20px 0 90px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 34px;
  padding: 54px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark), #18bbaa);
  color: #fff;
}

.contact-main p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
}

.address-card {
  align-self: stretch;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
}

.address-card span,
.address-card strong {
  display: block;
}

.address-card span {
  color: #baf4ed;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.address-card strong {
  margin-top: 5px;
  font-size: 21px;
}

.address-card p {
  color: rgba(255, 255, 255, 0.76);
}

.address-card a {
  color: #fff;
  font-weight: 700;
}

.site-footer {
  padding: 70px 0 24px;
  background: #102f2b;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 40px;
}

.footer-grid h4 {
  margin-top: 0;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-brand .brand-logo {
  background: var(--primary);
  box-shadow: none;
}

.footer-brand .brand-copy strong {
  color: #fff;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.3);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  background: rgba(7, 42, 38, 0.48);
  transition: 0.25s ease;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(440px, 100%);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  transform: translateX(100%);
  transition: 0.3s ease;
  box-shadow: -20px 0 50px rgba(8, 62, 56, 0.18);
}

.cart-open .cart-overlay {
  visibility: visible;
  opacity: 1;
}

.cart-open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 30px;
}

.close-cart {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 34px;
  line-height: 1;
}

.cart-content {
  overflow: auto;
  padding: 24px;
}

.empty-cart {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.cart-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-item strong {
  display: block;
  margin-top: 7px;
}

.remove-item {
  align-self: start;
  border: 0;
  background: transparent;
  color: #a14c3e;
  font-size: 12px;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-footer small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 30px;
  visibility: hidden;
  opacity: 0;
  background: rgba(5, 39, 35, 0.92);
  transition: 0.22s ease;
}

.lightbox-open .lightbox {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 16px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 150;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  transition: 0.25s ease;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1050px) {
  .main-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .custom-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .gallery-main img {
    height: 650px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-wrap {
    gap: 11px;
  }

  .brand-copy small {
    display: none;
  }

  .cart-label {
    display: none;
  }

  .cart-button {
    padding: 10px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-media {
    padding: 9px;
  }

  .hero-media > img {
    height: 570px;
  }

  .hero-price {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .hero-points,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid span:nth-child(2) {
    border-right: 0;
  }

  .trust-grid span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 16px;
  }

  .gallery-main img {
    height: 500px;
  }

  .product-card {
    display: block;
  }

  .product-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    margin-top: 18px;
    text-align: left;
  }

  .product-purchase strong {
    margin-bottom: 0;
  }

  .benefit-grid,
  .testimonial-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .testimonial-card button {
    height: 430px;
  }

  .custom-grid,
  .about-grid {
    gap: 38px;
  }

  .about-photo img {
    height: 520px;
  }

  .contact-card {
    padding: 34px 24px;
  }

  .copyright {
    display: block;
  }
}


/* Aksen tambahan tema hijau-putih */
::selection {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.main-nav a,
.text-link,
.address-card a,
.catalog-note a,
.footer-grid a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-grid a:hover {
  color: var(--primary-light);
}

.gallery-thumb:hover {
  border-color: var(--primary-light);
}

.product-card:hover {
  border-color: rgba(24, 192, 176, 0.42);
}

.custom-form,
.product-card,
.testimonial-card {
  box-shadow: 0 14px 40px rgba(8, 91, 82, 0.06);
}

.cart-button:hover {
  background: var(--primary-dark);
}

.hero-price {
  border: 1px solid rgba(24, 192, 176, 0.20);
}

.trust-strip {
  background: rgba(255, 255, 255, 0.92);
}


/* =========================================================
   HERO FULLSCREEN — VERSI 4
   ========================================================= */

.hero.hero-fullscreen {
  position: relative;
  height: calc(100svh - 82px);
  min-height: 640px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--text);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(8, 43, 38, 0.72) 0%,
      rgba(8, 43, 38, 0.42) 37%,
      rgba(8, 43, 38, 0.06) 67%,
      rgba(8, 43, 38, 0.02) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 31, 28, 0.52) 0%,
      rgba(5, 31, 28, 0.02) 48%
    );
}

.hero-fullscreen-content {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 54px;
}

.hero-intro {
  max-width: 650px;
  color: #fff;
}

.hero-intro h1 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(48px, 6.3vw, 86px);
  text-shadow: 0 8px 36px rgba(5, 35, 31, 0.28);
}

.hero-intro > p {
  max-width: 540px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.45vw, 19px);
}

.hero-fullscreen .btn-outline-light {
  background: rgba(8, 67, 60, 0.20);
  backdrop-filter: blur(9px);
}

.hero-fullscreen .btn-outline-light:hover {
  background: rgba(8, 67, 60, 0.42);
}

.scroll-indicator {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(7, 48, 43, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.scroll-arrow {
  font-size: 17px;
  animation: hero-bounce 1.6s ease-in-out infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

@media (max-width: 900px) {
  .hero.hero-fullscreen {
    height: calc(100svh - 82px);
    min-height: 620px;
  }

  .hero-background {
    object-position: 57% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(8, 43, 38, 0.69) 0%,
        rgba(8, 43, 38, 0.31) 58%,
        rgba(8, 43, 38, 0.06) 100%
      ),
      linear-gradient(
        0deg,
        rgba(5, 31, 28, 0.62) 0%,
        rgba(5, 31, 28, 0.02) 60%
      );
  }

  .hero-fullscreen-content {
    align-items: flex-end;
    padding-bottom: 38px;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero.hero-fullscreen {
    height: calc(100svh - 82px);
    min-height: 580px;
  }

  .hero-background {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(5, 34, 30, 0.83) 0%,
        rgba(5, 34, 30, 0.25) 58%,
        rgba(5, 34, 30, 0.06) 100%
      );
  }

  .hero-fullscreen-content {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .hero-intro h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-intro > p {
    margin-top: 15px;
    margin-bottom: 22px;
    font-size: 15px;
  }

  .hero-fullscreen .hero-actions {
    gap: 9px;
  }

  .hero-fullscreen .btn {
    min-height: 46px;
    padding: 11px 16px;
    font-size: 13px;
  }
}


/* =========================================================
   HERO SLIDER OTOMATIS — VERSI 5
   ========================================================= */

.hero-slider {
  position: relative;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: var(--text);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition:
    opacity 1s ease,
    visibility 1s ease,
    transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.hero-slider-button {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(6, 55, 49, 0.22);
  color: #fff;
  font-size: 33px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.hero-slider-button:hover {
  background: rgba(6, 73, 65, 0.62);
  transform: translateY(-50%) scale(1.05);
}

.hero-slider-prev {
  left: 24px;
}

.hero-slider-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 27px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition:
    width 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.hero-dot.is-active {
  width: 31px;
  background: #fff;
  border-color: #fff;
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--primary);
}

.hero-progress span.is-running {
  animation: hero-progress-run 5s linear forwards;
}

@keyframes hero-progress-run {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 900px) {
  .hero-slide img {
    object-position: 58% center;
  }

  .hero-slider-button {
    width: 42px;
    height: 42px;
    font-size: 29px;
  }

  .hero-slider-prev {
    left: 14px;
  }

  .hero-slider-next {
    right: 14px;
  }
}

@media (max-width: 600px) {
  .hero-slide img {
    object-position: 61% center;
  }

  .hero-slider-button {
    top: auto;
    bottom: 25px;
    width: 38px;
    height: 38px;
    font-size: 25px;
    transform: none;
  }

  .hero-slider-button:hover {
    transform: scale(1.04);
  }

  .hero-slider-prev {
    left: 14px;
  }

  .hero-slider-next {
    right: 14px;
  }

  .hero-dots {
    bottom: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.2s linear;
    transform: none;
  }

  .hero-progress {
    display: none;
  }
}


/* =========================================================
   KONFIGURATOR PRODUK — VERSI 6
   ========================================================= */

.product-config-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(24, 192, 176, 0.08), transparent 28%),
    var(--bg);
}

.configurator-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.configurator-preview {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.config-preview-image {
  position: relative;
  width: 100%;
  height: 520px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.config-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.config-preview-image:hover img {
  transform: scale(1.018);
}

.config-preview-image > span {
  position: absolute;
  right: 17px;
  bottom: 17px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(16, 47, 43, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.config-preview-note {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.config-preview-badge {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.config-preview-note h3 {
  margin: 6px 0 7px;
  font-size: 22px;
}

.config-preview-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.config-summary-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 40px rgba(8, 91, 82, 0.06);
}

.config-summary-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.config-summary-heading span,
.config-summary-heading strong {
  display: block;
}

.config-summary-heading > div > span {
  color: var(--muted);
  font-size: 12px;
}

.config-summary-heading > div > strong {
  margin-top: 2px;
  font-size: 15px;
}

.config-status {
  align-self: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.config-status.is-complete {
  background: var(--primary);
  color: #fff;
}

.config-summary-list {
  margin: 0;
  padding: 8px 22px;
}

.config-summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.config-summary-list > div:last-child {
  border-bottom: 0;
}

.config-summary-list dt {
  color: var(--muted);
  font-size: 13px;
}

.config-summary-list dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
}

.config-summary-list dd.is-empty {
  color: #9aaba8;
  font-weight: 500;
}

.config-price {
  display: grid;
  gap: 7px;
  padding: 19px 22px 22px;
  border-top: 1px solid var(--line);
}

.config-price span,
.config-price strong {
  display: block;
}

.config-price span {
  color: var(--muted);
  font-size: 12px;
}

.config-price strong {
  font-size: 24px;
}

.config-price small {
  color: var(--muted);
}

.product-configurator {
  display: grid;
  gap: 18px;
}

.config-step {
  min-width: 0;
  margin: 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 40px rgba(8, 91, 82, 0.055);
}

.config-step legend {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 0 20px;
}

.config-step legend strong,
.config-step legend small {
  display: block;
}

.config-step legend strong {
  font-size: 18px;
}

.config-step legend small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.step-number {
  flex: 0 0 auto;
  min-width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding-inline: 9px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.visual-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.visual-option,
.simple-option {
  position: relative;
  cursor: pointer;
}

.visual-option input,
.simple-option input,
.size-option-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.visual-option {
  display: block;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.visual-option:hover,
.simple-option:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.visual-option:has(input:focus-visible),
.simple-option:has(input:focus-visible),
.size-option-grid label:has(input:focus-visible) {
  outline: 3px solid rgba(24, 192, 176, 0.22);
  outline-offset: 3px;
}

.visual-option:has(input:checked),
.simple-option:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 12px 26px rgba(24, 192, 176, 0.13);
}

.visual-option-media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.visual-option-media svg {
  display: block;
  width: 100%;
  height: auto;
}

.visual-option-copy {
  display: grid;
  gap: 4px;
  padding: 16px 17px 18px;
}

.visual-option-copy strong {
  font-size: 16px;
}

.visual-option-copy small {
  min-height: 40px;
  color: var(--muted);
  font-size: 12px;
}

.option-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(16, 47, 43, 0.30);
  color: #fff;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.visual-option:has(input:checked) .option-check,
.simple-option:has(input:checked) .option-check {
  opacity: 1;
  transform: scale(1);
  background: var(--primary);
}

.simple-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.simple-option {
  min-height: 114px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 17px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.simple-option-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--soft);
  color: var(--primary-dark);
}

.simple-option-icon svg {
  width: 36px;
  height: 36px;
}

.simple-option strong,
.simple-option small {
  display: block;
}

.simple-option strong {
  font-size: 15px;
}

.simple-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.simple-option .option-check {
  top: 9px;
  right: 9px;
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.conditional-step {
  border-color: rgba(24, 192, 176, 0.36);
  background:
    linear-gradient(135deg, rgba(233, 250, 247, 0.78), #fff 50%);
  animation: conditional-reveal 0.28s ease both;
}

@keyframes conditional-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.size-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.size-option-grid label {
  cursor: pointer;
}

.size-option-grid span {
  min-height: 47px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border: 2px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--text);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.size-option-grid label:hover span {
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.size-option-grid input:checked + span {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 9px 20px rgba(24, 192, 176, 0.16);
}

.configurator-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 27px;
  border-radius: var(--radius-md);
  background: var(--text);
  color: #fff;
}

.configurator-submit span,
.configurator-submit strong,
.configurator-submit small {
  display: block;
}

.configurator-submit span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.configurator-submit strong {
  margin: 2px 0;
  font-size: 24px;
}

.configurator-submit small {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.66);
}

.config-add-cart {
  flex: 0 0 auto;
}

.config-add-cart:disabled {
  cursor: not-allowed;
  transform: none;
  background: #71938e;
  box-shadow: none;
  opacity: 0.62;
}

.cart-item-details {
  display: grid;
  gap: 2px;
  margin-top: 4px;
}

.cart-item-details span {
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 1050px) {
  .configurator-layout {
    grid-template-columns: 1fr;
  }

  .configurator-preview {
    position: static;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .config-preview-image {
    grid-row: span 2;
    height: 600px;
  }

  .size-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .configurator-preview {
    grid-template-columns: 1fr;
  }

  .config-preview-image {
    grid-row: auto;
    height: 500px;
  }

  .visual-option-grid,
  .simple-option-grid {
    grid-template-columns: 1fr;
  }

  .visual-option-copy small {
    min-height: 0;
  }

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

  .config-step {
    padding: 21px 17px;
  }

  .configurator-submit {
    display: grid;
    padding: 23px 20px;
  }

  .config-add-cart {
    width: 100%;
  }
}


/* =========================================================
   KONFIGURATOR COMPACT — VERSI 7
   Dioptimalkan agar muat dalam satu layar laptop
   ========================================================= */

@media (min-width: 1060px) {
  .product-config-section {
    min-height: calc(100vh - 82px);
    padding: 28px 0 34px;
  }

  .product-config-section .section-heading {
    align-items: center;
    margin-bottom: 18px;
  }

  .product-config-section .section-heading h2 {
    font-size: clamp(30px, 3vw, 42px);
  }

  .product-config-section .section-heading .eyebrow {
    margin-bottom: 6px;
  }

  .product-config-section .section-heading > p {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.5;
  }

  .configurator-layout {
    grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
    gap: 20px;
  }

  .configurator-preview {
    top: 96px;
    gap: 10px;
  }

  .config-preview-image {
    height: 330px;
    border-radius: 22px;
  }

  .config-preview-note {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .config-preview-badge {
    font-size: 9px;
  }

  .config-preview-note h3 {
    margin: 4px 0;
    font-size: 17px;
  }

  .config-preview-note p {
    font-size: 11px;
    line-height: 1.4;
  }

  .config-summary-card {
    border-radius: 16px;
  }

  .config-summary-heading {
    padding: 11px 14px;
  }

  .config-summary-heading > div > span {
    font-size: 10px;
  }

  .config-summary-heading > div > strong {
    font-size: 12px;
  }

  .config-status {
    padding: 4px 7px;
    font-size: 9px;
  }

  .config-summary-list {
    padding: 2px 14px;
  }

  .config-summary-list > div {
    padding: 5px 0;
  }

  .config-summary-list dt,
  .config-summary-list dd {
    font-size: 10px;
  }

  .config-price {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 14px;
    padding: 10px 14px 12px;
  }

  .config-price div {
    grid-row: 1 / span 2;
  }

  .config-price span {
    font-size: 9px;
  }

  .config-price strong {
    font-size: 18px;
  }

  .config-price small {
    max-width: 165px;
    text-align: right;
    font-size: 9px;
    line-height: 1.35;
  }

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

  .config-step {
    padding: 14px;
    border-radius: 16px;
  }

  .config-step legend {
    gap: 8px;
    padding-bottom: 9px;
  }

  .config-step legend strong {
    font-size: 14px;
  }

  .config-step legend small {
    font-size: 9px;
    line-height: 1.3;
  }

  .step-number {
    min-width: 29px;
    height: 29px;
    padding-inline: 7px;
    border-radius: 9px;
    font-size: 9px;
  }

  .config-step[data-step="1"] {
    grid-column: 1;
  }

  .config-step[data-step="2"] {
    grid-column: 2;
  }

  .conditional-step {
    grid-column: 1 / -1;
  }

  .config-step[data-step="3"] {
    grid-column: 1 / -1;
  }

  .visual-option-grid,
  .simple-option-grid {
    gap: 8px;
  }

  .visual-option {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    min-height: 88px;
    border-radius: 13px;
  }

  .visual-option-media {
    height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .visual-option-media svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .visual-option-copy {
    gap: 2px;
    padding: 10px 12px;
  }

  .visual-option-copy strong {
    font-size: 12px;
  }

  .visual-option-copy small {
    min-height: 0;
    font-size: 9px;
    line-height: 1.35;
  }

  .visual-option .option-check {
    top: 7px;
    right: 7px;
    width: 21px;
    height: 21px;
    font-size: 10px;
  }

  .simple-option {
    min-height: 72px;
    grid-template-columns: 38px 1fr;
    gap: 9px;
    padding: 10px;
    border-radius: 13px;
  }

  .simple-option-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .simple-option-icon svg {
    width: 26px;
    height: 26px;
  }

  .simple-option strong {
    font-size: 12px;
  }

  .simple-option small {
    font-size: 9px;
    line-height: 1.25;
  }

  .simple-option .option-check {
    top: 6px;
    right: 6px;
    width: 19px;
    height: 19px;
    font-size: 9px;
  }

  .size-option-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }

  .size-option-grid span {
    min-height: 36px;
    padding: 5px 6px;
    border-radius: 9px;
    font-size: 10px;
  }

  .configurator-submit {
    grid-column: 1 / -1;
    min-height: 68px;
    padding: 12px 16px;
    border-radius: 15px;
  }

  .configurator-submit span {
    font-size: 9px;
  }

  .configurator-submit strong {
    margin: 0;
    font-size: 18px;
  }

  .configurator-submit small {
    font-size: 9px;
    line-height: 1.3;
  }

  .configurator-submit .btn {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 12px;
  }
}

/* Laptop dengan tinggi layar lebih pendek */
@media (min-width: 1060px) and (max-height: 820px) {
  .product-config-section {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .product-config-section .section-heading {
    margin-bottom: 12px;
  }

  .product-config-section .section-heading h2 {
    font-size: 32px;
  }

  .config-preview-image {
    height: 275px;
  }

  .config-preview-note {
    display: none;
  }

  .config-summary-heading {
    padding: 8px 12px;
  }

  .config-summary-list > div {
    padding: 4px 0;
  }

  .config-price {
    padding: 8px 12px 9px;
  }

  .config-step {
    padding: 11px 12px;
  }

  .config-step legend {
    padding-bottom: 7px;
  }

  .visual-option {
    min-height: 76px;
    grid-template-columns: 78px 1fr;
  }

  .simple-option {
    min-height: 62px;
    padding: 8px;
  }

  .size-option-grid span {
    min-height: 31px;
    font-size: 9px;
  }

  .configurator-submit {
    min-height: 58px;
    padding: 9px 14px;
  }
}


/* =========================================================
   HALAMAN JASA RENOVASI — VERSI 8
   ========================================================= */

.main-nav a.active {
  color: var(--primary-dark);
  font-weight: 800;
}

.renovation-nav-cta {
  justify-content: center;
  min-width: 108px;
}

.renovation-hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--text);
}

.renovation-hero > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.renovation-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 48, 43, .84), rgba(5, 48, 43, .43) 50%, rgba(5, 48, 43, .10)),
    linear-gradient(0deg, rgba(5, 37, 33, .65), transparent 60%);
}

.renovation-hero-content {
  max-width: 1160px;
  padding-top: 100px;
  padding-bottom: 72px;
  color: #fff;
}

.renovation-hero-content h1 {
  max-width: 790px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: 1.04;
}

.renovation-hero-content > p {
  max-width: 680px;
  margin: 22px 0 28px;
  color: rgba(255,255,255,.84);
  font-size: 18px;
}

.renovation-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.renovation-hero-points span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(8, 78, 70, .28);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.renovation-intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.renovation-intro h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.12;
}

.renovation-intro p {
  margin-top: 0;
  color: var(--muted);
  font-size: 17px;
}

.renovation-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.renovation-service-grid article {
  min-height: 255px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.78);
  transition: transform .2s ease, box-shadow .2s ease;
}

.renovation-service-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(8, 91, 82, .09);
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.renovation-service-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.renovation-service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.renovation-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.renovation-showcase-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 15px 42px rgba(8, 91, 82, .07);
}

.renovation-showcase-grid img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  background: var(--soft);
}

.renovation-showcase-grid article > div {
  padding: 22px;
}

.renovation-showcase-grid span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.renovation-showcase-grid h3 {
  margin: 6px 0 7px;
  font-size: 21px;
}

.renovation-showcase-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.renovation-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.renovation-process-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  background: rgba(255,255,255,.75);
}

.renovation-process-grid article > span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--primary);
  font-weight: 800;
}

.renovation-process-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.renovation-process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.consultation-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 65px;
  align-items: center;
}

.consultation-copy h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.12;
}

.consultation-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.consultation-address {
  display: grid;
  gap: 5px;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.consultation-address span {
  color: var(--muted);
  font-size: 13px;
}

.renovation-form {
  display: grid;
  gap: 16px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.renovation-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--text);
}

.renovation-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(24, 192, 176, .12);
}

.renovation-form > small {
  color: var(--muted);
}

.renovation-contact {
  padding-top: 0;
}

@media (max-width: 1050px) {
  .renovation-intro-grid,
  .consultation-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .renovation-service-grid,
  .renovation-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .renovation-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .renovation-nav-cta {
    min-width: 0;
    padding: 10px 12px;
    font-size: 11px;
  }

  .renovation-hero {
    min-height: calc(100svh - 82px);
  }

  .renovation-hero > img {
    object-position: 60% center;
  }

  .renovation-hero-overlay {
    background: linear-gradient(0deg, rgba(5, 45, 40, .91), rgba(5, 45, 40, .20) 78%);
  }

  .renovation-hero-content {
    padding-top: 80px;
    padding-bottom: 38px;
  }

  .renovation-hero-content h1 {
    font-size: 45px;
  }

  .renovation-hero-content > p {
    font-size: 15px;
  }

  .renovation-service-grid,
  .renovation-showcase-grid,
  .renovation-process-grid {
    grid-template-columns: 1fr;
  }

  .renovation-service-grid article,
  .renovation-process-grid article {
    min-height: 0;
  }

  .service-icon,
  .renovation-process-grid article > span {
    margin-bottom: 26px;
  }

  .renovation-form {
    padding: 23px 18px;
  }
}


/* =========================================================
   KONFIGURATOR MOBILE SATU LAYAR — VERSI 9
   ========================================================= */

@media (max-width: 760px) {
  .product-config-section {
    min-height: calc(100svh - 82px);
    height: auto;
    padding: 8px 0 10px;
    overflow: visible;
  }

  .product-config-section .container {
    width: min(100% - 14px, 1160px);
  }

  .product-config-section .section-heading {
    margin-bottom: 6px;
  }

  .product-config-section .section-heading .eyebrow,
  .product-config-section .section-heading > p {
    display: none;
  }

  .product-config-section .section-heading h2 {
    font-size: 22px;
    line-height: 1.05;
  }

  .configurator-layout {
    display: block;
  }

  .configurator-preview {
    display: none;
  }

  .product-configurator {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .config-step {
    padding: 7px;
    border-radius: 11px;
    box-shadow: none;
  }

  .config-step legend {
    gap: 6px;
    padding-bottom: 5px;
  }

  .config-step legend strong {
    font-size: 11px;
    line-height: 1.1;
  }

  .config-step legend small {
    display: none;
  }

  .step-number {
    min-width: 23px;
    height: 23px;
    padding-inline: 5px;
    border-radius: 7px;
    font-size: 8px;
  }

  .visual-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .visual-option {
    display: grid;
    grid-template-columns: 60px 1fr;
    min-height: 58px;
    border-radius: 9px;
  }

  .visual-option-media {
    height: 58px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .visual-option-media svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .visual-option-copy {
    align-content: center;
    padding: 5px 6px;
  }

  .visual-option-copy strong {
    font-size: 9px;
    line-height: 1.15;
  }

  .visual-option-copy small {
    display: none;
  }

  .visual-option .option-check {
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    border-width: 1px;
    font-size: 8px;
  }

  .simple-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .simple-option {
    min-height: 45px;
    grid-template-columns: 28px 1fr;
    gap: 5px;
    padding: 5px;
    border-radius: 9px;
  }

  .simple-option-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .simple-option-icon svg {
    width: 20px;
    height: 20px;
  }

  .simple-option strong {
    font-size: 9px;
    line-height: 1.1;
  }

  .simple-option small {
    display: none;
  }

  .simple-option .option-check {
    top: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    font-size: 7px;
  }

  .conditional-step {
    animation-duration: 0.15s;
  }

  .size-option-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .size-option-grid span {
    min-height: 25px;
    padding: 3px 2px;
    border-radius: 7px;
    font-size: 7.5px;
    line-height: 1;
  }

  .configurator-submit {
    position: sticky;
    bottom: 4px;
    z-index: 20;
    min-height: 44px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 7px;
    padding: 6px 7px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(8, 47, 43, 0.22);
  }

  .configurator-submit span,
  .configurator-submit small {
    display: none;
  }

  .configurator-submit strong {
    margin: 0;
    font-size: 14px;
  }

  .configurator-submit .btn {
    width: auto;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 9px;
    white-space: nowrap;
  }

  .config-add-cart:disabled {
    opacity: 0.58;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .product-config-section {
    padding-top: 4px;
    padding-bottom: 6px;
  }

  .product-config-section .section-heading {
    margin-bottom: 3px;
  }

  .product-config-section .section-heading h2 {
    font-size: 18px;
  }

  .product-configurator {
    gap: 3px;
  }

  .config-step {
    padding: 5px;
  }

  .config-step legend {
    padding-bottom: 3px;
  }

  .visual-option {
    min-height: 50px;
    grid-template-columns: 52px 1fr;
  }

  .visual-option-media {
    height: 50px;
  }

  .simple-option {
    min-height: 39px;
  }

  .size-option-grid span {
    min-height: 22px;
    font-size: 7px;
  }

  .configurator-submit {
    min-height: 39px;
    padding: 4px 6px;
  }

  .configurator-submit strong {
    font-size: 12px;
  }

  .configurator-submit .btn {
    min-height: 31px;
    font-size: 8px;
  }
}


/* =========================================================
   MOBILE MARKETPLACE PRODUCT LAYOUT — VERSI 10
   Foto produk di atas, opsi konfigurasi di bawah
   ========================================================= */

.mobile-product-gallery-thumbs {
  display: none;
}

@media (max-width: 760px) {
  .product-config-section {
    min-height: auto;
    padding: 8px 0 12px;
  }

  .product-config-section .section-heading {
    margin-bottom: 7px;
  }

  .product-config-section .section-heading h2 {
    font-size: 21px;
  }

  .configurator-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  /* Tampilkan kembali foto produk, tetapi tetap ringkas. */
  .configurator-preview {
    position: static;
    display: block;
    margin: 0;
  }

  .config-preview-image {
    width: 100%;
    height: clamp(190px, 54vw, 245px);
    border-radius: 12px;
    box-shadow: none;
    background: var(--soft);
  }

  .config-preview-image img {
    object-fit: cover;
    object-position: center;
  }

  .config-preview-image > span {
    right: 9px;
    bottom: 9px;
    padding: 6px 9px;
    font-size: 9px;
  }

  /* Info dan ringkasan besar tetap disembunyikan supaya tidak terlalu panjang. */
  .config-preview-note,
  .config-summary-card {
    display: none;
  }

  .mobile-product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 58px);
    gap: 6px;
    margin-top: 6px;
  }

  .mobile-gallery-thumb {
    width: 58px;
    height: 43px;
    padding: 2px;
    overflow: hidden;
    border: 2px solid var(--line);
    border-radius: 8px;
    background: #fff;
    transition:
      border-color 0.18s ease,
      transform 0.18s ease;
  }

  .mobile-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .mobile-gallery-thumb.is-active {
    border-color: var(--primary);
  }

  .mobile-gallery-thumb:active {
    transform: scale(0.96);
  }

  .product-configurator {
    margin-top: 1px;
  }

  .configurator-submit {
    bottom: 4px;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .config-preview-image {
    height: 165px;
  }

  .mobile-product-gallery-thumbs {
    grid-template-columns: repeat(3, 50px);
    gap: 5px;
    margin-top: 4px;
  }

  .mobile-gallery-thumb {
    width: 50px;
    height: 37px;
  }

  .product-config-section .section-heading h2 {
    font-size: 18px;
  }
}


/* =========================================================
   EDITORIAL FURNITURE MARKETPLACE — VERSI 11
   ========================================================= */

:root {
  --bg: #f3eee6;
  --surface: #fffdf9;
  --soft: #ece5db;
  --primary: #18bcae;
  --primary-dark: #0a746c;
  --primary-light: #a9e7df;
  --text: #202b28;
  --muted: #6d716d;
  --line: #ddd5ca;
  --shadow: 0 24px 55px rgba(55, 44, 33, 0.13);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

body {
  background: var(--bg);
}

.section {
  padding: 92px 0;
}

.soft-section {
  background: #ebe4da;
}

/* Announcement bar */
.announcement-bar {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(91, 75, 57, 0.10);
  background: #e9e1d6;
}

.announcement-grid {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.announcement-item {
  display: grid;
  grid-template-columns: 31px 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px 26px;
  border-right: 1px solid rgba(91, 75, 57, 0.14);
}

.announcement-item:first-child {
  padding-left: 0;
}

.announcement-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.announcement-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #756b60;
}

.announcement-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.announcement-item strong,
.announcement-item small {
  display: block;
}

.announcement-item strong {
  color: #383c39;
  font-size: 12px;
}

.announcement-item small {
  margin-top: 1px;
  color: #77746f;
  font-size: 10px;
}

/* Header seperti editorial marketplace */
.site-header.editorial-header {
  position: sticky;
  top: 0;
  z-index: 55;
  border-bottom: 1px solid rgba(93, 80, 67, 0.12);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(18px);
}

.editorial-nav {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header-left {
  min-width: 0;
  display: flex;
  align-items: center;
}

.editorial-main-nav {
  gap: 23px;
}

.editorial-main-nav a {
  color: #444a47;
  font-size: 13px;
  font-weight: 600;
}

.editorial-brand {
  justify-self: center;
  margin: 0;
  gap: 10px;
  text-align: center;
}

.editorial-brand .brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: none;
}

.editorial-brand .brand-copy strong {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  letter-spacing: 0.05em;
}

.editorial-brand .brand-copy small {
  font-size: 9px;
  letter-spacing: 0.04em;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 11px;
}

.nav-icon-action {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #353a37;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-icon-action:hover {
  background: #eee7dd;
  transform: translateY(-1px);
}

.nav-icon-action svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editorial-cart-button {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 18px;
  background: #242724;
}

.editorial-cart-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editorial-cart-button .cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  border: 2px solid #fffdf9;
  background: #fff;
  color: #282b28;
  font-size: 10px;
}

.editorial-menu-toggle {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.editorial-menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
}

.editorial-renovation-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border-radius: 999px;
  background: #242724;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Hero */
.nordic-hero {
  min-height: 655px;
  height: calc(100svh - 154px);
  max-height: 820px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
}

.nordic-hero .hero-overlay {
  background:
    linear-gradient(0deg, rgba(24, 21, 18, 0.50), rgba(24, 21, 18, 0.06) 66%),
    linear-gradient(90deg, rgba(23, 20, 17, 0.16), transparent 58%);
}

.nordic-hero-content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 94px;
  text-align: center;
  color: #fff;
}

.nordic-hero-content h1 {
  max-width: none;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(72px, 9.2vw, 132px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-shadow: 0 5px 35px rgba(26, 20, 14, 0.18);
}

.nordic-hero-content > p {
  max-width: 625px;
  margin: 22px auto 28px;
  color: rgba(255, 255, 255, 0.91);
  font-size: 18px;
  line-height: 1.5;
}

.nordic-hero-actions {
  justify-content: center;
}

.btn-dark {
  min-width: 245px;
  background: #252825;
  color: #fff;
}

.btn-glass {
  min-width: 245px;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  backdrop-filter: blur(10px);
}

.nordic-hero .hero-slider-button {
  width: 46px;
  height: 46px;
  border-color: rgba(255,255,255,.50);
  background: rgba(25, 23, 20, .20);
}

.nordic-hero .hero-dots {
  bottom: 32px;
}

/* Kartu produk overlap hero */
.featured-products-shell {
  position: relative;
  z-index: 10;
  margin-top: -86px;
}

.featured-products-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(91, 78, 64, 0.10);
  border-radius: 25px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 24px 55px rgba(52, 42, 32, 0.13);
  backdrop-filter: blur(18px);
}

.featured-product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #ebe3d9;
  border-radius: 15px;
  background: #fffdf9;
  color: var(--text);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.featured-product-card:hover {
  transform: translateY(-4px);
  border-color: #d6cbc0;
  box-shadow: 0 17px 30px rgba(52, 42, 32, 0.10);
}

.featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: #242724;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .03em;
}

.featured-heart {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  color: #585d58;
  font-size: 22px;
}

.featured-image-wrap {
  height: 145px;
  display: block;
  overflow: hidden;
  background: #eee9e1;
}

.featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.featured-product-card:hover .featured-image-wrap img {
  transform: scale(1.035);
}

.featured-card-copy {
  display: grid;
  padding: 13px 13px 15px;
}

.featured-card-copy strong {
  font-size: 13px;
}

.featured-card-copy small {
  margin: 3px 0 9px;
  color: var(--muted);
  font-size: 10px;
}

.featured-card-copy b {
  font-size: 12px;
}

/* Strip material */
.material-logo-strip {
  padding: 38px 0 34px;
  border-bottom: 1px solid rgba(91,78,64,.12);
}

.material-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 18px;
}

.material-logo-grid span {
  text-align: center;
  color: #565852;
  font-family: "Playfair Display", serif;
  font-size: 17px;
  letter-spacing: .06em;
}

/* Editorial split section */
.design-story {
  padding-top: 28px;
}

.design-story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid #ded5ca;
  border-radius: 24px;
  background: #fffdf9;
}

.design-story-image {
  min-height: 610px;
}

.design-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 82px);
}

.design-story-copy h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .98;
}

.design-story-copy > p {
  max-width: 500px;
  margin: 22px 0 30px;
  color: var(--muted);
}

.design-story-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.design-story-links a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding-left .2s ease;
}

.design-story-links a:hover {
  padding-left: 7px;
  color: var(--primary-dark);
}

.story-link-icon {
  font-size: 24px;
}

.design-story-links strong,
.design-story-links small {
  display: block;
}

.design-story-links strong {
  font-size: 14px;
}

.design-story-links small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

/* Section typography */
.section-heading h2,
.custom-copy h2,
.about-copy h2,
.contact-main h2,
.renovation-intro h2,
.consultation-copy h2 {
  letter-spacing: -0.025em;
}

.section-heading h2 {
  font-size: clamp(40px, 4.4vw, 60px);
}

.product-config-section {
  background: #f7f2eb;
}

.product-config-section .section-heading {
  margin-bottom: 30px;
}

.product-config-section .section-heading h2 {
  max-width: 720px;
}

.config-preview-image,
.config-summary-card,
.config-step,
.custom-form,
.testimonial-card,
.benefit-grid article {
  border-color: #ded5ca;
  background: #fffdf9;
}

.config-preview-image {
  box-shadow: 0 20px 45px rgba(55, 44, 33, 0.12);
}

.config-summary-heading,
.simple-option-icon,
.step-number {
  background: #eee8df;
}

.visual-option,
.simple-option,
.size-option-grid span {
  border-color: #ddd5ca;
  background: #fffdf9;
}

.visual-option:has(input:checked),
.simple-option:has(input:checked) {
  border-color: var(--primary);
}

.size-option-grid input:checked + span {
  border-color: #242724;
  background: #242724;
}

.configurator-submit {
  background: #242724;
}

.benefit-grid article {
  min-height: 275px;
  border-radius: 18px;
}

.benefit-number {
  color: #8e867d;
}

.custom-grid,
.about-grid {
  gap: 72px;
}

.testimonial-card {
  overflow: hidden;
  border-radius: 18px;
}

.about-section {
  background: #fffdf9;
}

.contact-section {
  background: #242724;
}

.contact-card {
  background: transparent;
}

.address-card {
  background: #eee7dd;
  color: var(--text);
}

.site-footer {
  background: #ebe4da;
}

/* Halaman renovasi ikut desain baru */
.renovation-page {
  background: var(--bg);
}

.renovation-hero {
  min-height: 680px;
  height: calc(100svh - 154px);
}

.renovation-hero-content h1 {
  max-width: 850px;
  font-size: clamp(58px, 7vw, 94px);
  letter-spacing: -.04em;
}

.renovation-service-grid article,
.renovation-process-grid article,
.renovation-form,
.renovation-showcase-grid article {
  border-color: #ded5ca;
  background: #fffdf9;
}

/* Desktop sedang */
@media (max-width: 1120px) {
  .editorial-main-nav {
    gap: 14px;
  }

  .editorial-main-nav a {
    font-size: 12px;
  }

  .featured-products-panel {
    grid-template-columns: repeat(5, 190px);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .featured-products-panel::-webkit-scrollbar {
    display: none;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .announcement-grid {
    min-height: 45px;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .announcement-grid::-webkit-scrollbar {
    display: none;
  }

  .announcement-item {
    flex: 0 0 78%;
    min-width: 250px;
    grid-template-columns: 24px 1fr;
    padding: 7px 14px;
  }

  .announcement-item:first-child {
    padding-left: 4px;
  }

  .announcement-icon {
    width: 22px;
    height: 22px;
  }

  .announcement-icon svg {
    width: 20px;
    height: 20px;
  }

  .announcement-item strong {
    font-size: 10px;
  }

  .announcement-item small {
    font-size: 8px;
  }

  .editorial-nav {
    min-height: 72px;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .header-left {
    justify-self: start;
  }

  .editorial-menu-toggle {
    display: flex;
    flex-direction: column;
  }

  .editorial-main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 10px;
    right: 10px;
    z-index: 70;
    display: none;
    padding: 12px;
    border: 1px solid #ded5ca;
    border-radius: 14px;
    background: #fffdf9;
    box-shadow: var(--shadow);
  }

  .editorial-main-nav.open {
    display: grid;
  }

  .editorial-main-nav a {
    padding: 10px 8px;
    border-bottom: 1px solid #ece5dc;
    font-size: 12px;
  }

  .editorial-main-nav a:last-child {
    border-bottom: 0;
  }

  .editorial-brand {
    gap: 7px;
  }

  .editorial-brand .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .editorial-brand .brand-copy strong {
    font-size: 14px;
  }

  .editorial-brand .brand-copy small {
    display: none;
  }

  .nav-actions {
    gap: 5px;
  }

  .nav-search-action,
  .nav-consult-action {
    display: none;
  }

  .editorial-cart-button {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .editorial-cart-button svg {
    width: 20px;
    height: 20px;
  }

  .editorial-renovation-cta {
    min-height: 38px;
    padding: 0 11px;
    font-size: 9px;
  }

  .nordic-hero {
    min-height: 560px;
    height: calc(100svh - 117px);
    max-height: 690px;
  }

  .nordic-hero .hero-slide img {
    object-position: 59% center;
  }

  .nordic-hero .hero-overlay {
    background:
      linear-gradient(0deg, rgba(25, 22, 18, .69), rgba(25, 22, 18, .05) 72%),
      linear-gradient(90deg, rgba(25, 22, 18, .18), transparent);
  }

  .nordic-hero-content {
    justify-content: flex-end;
    padding: 90px 18px 105px;
  }

  .nordic-hero-content h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .nordic-hero-content > p {
    margin: 14px auto 20px;
    font-size: 13px;
  }

  .nordic-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-dark,
  .btn-glass {
    min-width: 0;
    width: 100%;
    min-height: 43px;
    font-size: 11px;
  }

  .nordic-hero .hero-slider-button {
    display: none;
  }

  .featured-products-shell {
    margin-top: -73px;
  }

  .featured-products-shell .container {
    width: calc(100% - 14px);
  }

  .featured-products-panel {
    grid-template-columns: repeat(5, 158px);
    gap: 7px;
    padding: 8px;
    border-radius: 17px;
  }

  .featured-product-card {
    border-radius: 11px;
  }

  .featured-image-wrap {
    height: 104px;
  }

  .featured-badge {
    top: 6px;
    left: 6px;
    padding: 4px 7px;
    font-size: 7px;
  }

  .featured-heart {
    top: 4px;
    right: 6px;
    font-size: 17px;
  }

  .featured-card-copy {
    padding: 9px;
  }

  .featured-card-copy strong {
    font-size: 10px;
  }

  .featured-card-copy small {
    font-size: 8px;
  }

  .featured-card-copy b {
    font-size: 9px;
  }

  .material-logo-strip {
    padding: 27px 0 22px;
  }

  .material-logo-grid {
    display: flex;
    gap: 27px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .material-logo-grid::-webkit-scrollbar {
    display: none;
  }

  .material-logo-grid span {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .design-story {
    padding: 16px 0 38px;
  }

  .design-story-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 16px;
  }

  .design-story-image {
    min-height: 285px;
  }

  .design-story-copy {
    padding: 28px 20px;
  }

  .design-story-copy h2 {
    font-size: 45px;
  }

  .design-story-copy > p {
    margin: 14px 0 20px;
    font-size: 13px;
  }

  .design-story-links a {
    padding: 12px 0;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2 {
    font-size: 35px;
  }

  .product-config-section {
    padding-top: 22px;
  }

  /* Pertahankan pola marketplace mobile dari versi 10. */
  .configurator-preview {
    display: block;
  }

  .config-preview-image {
    height: clamp(200px, 57vw, 250px);
    border-radius: 13px;
  }

  .mobile-product-gallery-thumbs {
    margin-bottom: 4px;
  }

  .config-step {
    background: #fffdf9;
  }

  .configurator-submit {
    background: #242724;
  }

  .renovation-hero {
    min-height: 590px;
    height: calc(100svh - 117px);
  }
}


/* =========================================================
   SUPERDECOR.ID GREEN BRAND THEME — VERSI 12
   Palet hijau logo, putih, dan mint lembut
   ========================================================= */

:root {
  --bg: #f4fbf9;
  --surface: #ffffff;
  --soft: #e8f7f3;
  --primary: #18c0b0;
  --primary-dark: #08756c;
  --primary-deep: #123f3a;
  --primary-light: #b9ebe5;
  --text: #153b36;
  --muted: #5f7773;
  --line: #cfe8e3;
  --shadow: 0 24px 55px rgba(8, 86, 78, 0.12);
}

/* Latar utama */
body,
.renovation-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(24, 192, 176, 0.06), transparent 26%),
    var(--bg);
  color: var(--text);
}

.section {
  background-color: transparent;
}

.soft-section {
  background:
    linear-gradient(180deg, #eaf8f5 0%, #f4fbf9 100%);
}

/* Bar informasi atas */
.announcement-bar {
  border-bottom-color: rgba(8, 117, 108, 0.12);
  background: #dff4f0;
}

.announcement-item {
  border-right-color: rgba(8, 117, 108, 0.13);
}

.announcement-icon {
  color: var(--primary-dark);
}

.announcement-item strong {
  color: var(--primary-deep);
}

.announcement-item small {
  color: var(--muted);
}

/* Header */
.site-header.editorial-header {
  border-bottom-color: rgba(8, 117, 108, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.editorial-main-nav a,
.nav-icon-action {
  color: var(--primary-deep);
}

.editorial-main-nav a:hover,
.editorial-main-nav a.active {
  color: var(--primary);
}

.nav-icon-action:hover {
  background: var(--soft);
}

.editorial-cart-button,
.editorial-renovation-cta {
  background: var(--primary-deep);
}

.editorial-cart-button:hover,
.editorial-renovation-cta:hover {
  background: var(--primary-dark);
}

.editorial-cart-button .cart-count {
  border-color: #fff;
  color: var(--primary-deep);
}

/* Hero */
.nordic-hero .hero-overlay {
  background:
    linear-gradient(0deg, rgba(8, 52, 47, 0.60), rgba(8, 52, 47, 0.06) 67%),
    linear-gradient(90deg, rgba(8, 52, 47, 0.22), transparent 60%);
}

.btn-dark {
  background: var(--primary-deep);
}

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

.btn-glass {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(8, 117, 108, 0.16);
}

.nordic-hero .hero-slider-button {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(8, 86, 78, 0.24);
}

.hero-dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-progress span {
  background: var(--primary);
}

/* Produk unggulan di bawah hero */
.featured-products-panel {
  border-color: rgba(8, 117, 108, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 55px rgba(8, 86, 78, 0.13);
}

.featured-product-card {
  border-color: var(--line);
  background: #fff;
}

.featured-product-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 17px 30px rgba(8, 86, 78, 0.11);
}

.featured-badge {
  background: var(--primary-deep);
}

.featured-heart {
  color: var(--primary-dark);
}

.featured-image-wrap {
  background: var(--soft);
}

.featured-card-copy b {
  color: var(--primary-dark);
}

/* Strip keunggulan */
.material-logo-strip {
  border-bottom-color: rgba(8, 117, 108, 0.13);
  background: #ffffff;
}

.material-logo-grid span {
  color: var(--primary-deep);
}

/* Section editorial */
.design-story-grid {
  border-color: var(--line);
  background: #fff;
}

.design-story-copy {
  background:
    linear-gradient(135deg, #ffffff 0%, #eef9f6 100%);
}

.design-story-links {
  border-top-color: var(--line);
}

.design-story-links a {
  border-bottom-color: var(--line);
}

.design-story-links a:hover {
  color: var(--primary-dark);
}

.story-link-icon {
  color: var(--primary);
}

/* Konfigurator produk */
.product-config-section {
  background:
    radial-gradient(circle at 7% 12%, rgba(24, 192, 176, 0.08), transparent 28%),
    #f6fcfa;
}

.config-preview-image,
.config-summary-card,
.config-step,
.custom-form,
.testimonial-card,
.benefit-grid article,
.renovation-service-grid article,
.renovation-process-grid article,
.renovation-form,
.renovation-showcase-grid article {
  border-color: var(--line);
  background: #ffffff;
}

.config-preview-image,
.config-summary-card,
.config-step,
.custom-form,
.renovation-form {
  box-shadow: 0 18px 42px rgba(8, 86, 78, 0.08);
}

.config-summary-heading,
.simple-option-icon,
.step-number {
  background: var(--soft);
}

.config-status.is-complete {
  background: var(--primary);
}

.config-summary-list > div,
.config-price,
.config-summary-heading {
  border-color: var(--line);
}

.visual-option,
.simple-option,
.size-option-grid span {
  border-color: var(--line);
  background: #ffffff;
}

.visual-option:hover,
.simple-option:hover,
.size-option-grid label:hover span {
  border-color: var(--primary-light);
}

.visual-option:has(input:checked),
.simple-option:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 12px 26px rgba(24, 192, 176, 0.14);
}

.size-option-grid input:checked + span {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.conditional-step {
  border-color: rgba(24, 192, 176, 0.42);
  background:
    linear-gradient(135deg, rgba(232, 247, 243, 0.94), #ffffff 58%);
}

.configurator-submit {
  background:
    linear-gradient(135deg, var(--primary-deep), #0d5f57);
}

.config-add-cart:not(:disabled) {
  background: var(--primary);
}

.config-add-cart:not(:disabled):hover {
  background: #12a99b;
}

/* Keunggulan, custom, testimoni, tentang */
.benefit-grid article {
  background:
    linear-gradient(180deg, #ffffff 0%, #f0faf7 100%);
}

.benefit-number,
.service-icon,
.renovation-process-grid article > span {
  color: var(--primary-dark);
}

.service-icon {
  background: var(--primary);
  color: #fff;
}

.custom-section,
.testimonials-section {
  background:
    linear-gradient(180deg, #f4fbf9 0%, #eaf8f5 100%);
}

.custom-form input,
.custom-form textarea,
.custom-form select,
.renovation-form input,
.renovation-form textarea,
.renovation-form select {
  border-color: var(--line);
  background: #fff;
}

.custom-form input:focus,
.custom-form textarea:focus,
.custom-form select:focus,
.renovation-form input:focus,
.renovation-form textarea:focus,
.renovation-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(24, 192, 176, 0.13);
}

.about-section {
  background: #ffffff;
}

/* Kontak dan footer */
.contact-section {
  background:
    linear-gradient(135deg, var(--primary-deep), #0a655d);
}

.address-card {
  background: #e7f7f3;
  color: var(--primary-deep);
}

.site-footer {
  background: #dff4f0;
  color: var(--primary-deep);
}

.site-footer a:hover {
  color: var(--primary);
}

.floating-wa {
  background: var(--primary);
  box-shadow: 0 14px 32px rgba(24, 192, 176, 0.34);
}

.floating-wa:hover {
  background: #12aa9d;
}

/* Drawer keranjang */
.cart-drawer {
  background: #ffffff;
}

.cart-drawer-header,
.cart-footer {
  border-color: var(--line);
}

.cart-item {
  border-color: var(--line);
  background: #f7fcfb;
}

.remove-item {
  color: var(--primary-dark);
}

.checkout-button {
  background: var(--primary);
}

.checkout-button:hover {
  background: #12aa9d;
}

/* Toast dan modal */
.toast {
  background: var(--primary-deep);
}

.lightbox-content {
  border-color: var(--line);
  background: #ffffff;
}

/* Halaman renovasi */
.renovation-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 63, 58, 0.86), rgba(8, 63, 58, 0.44) 52%, rgba(8, 63, 58, 0.10)),
    linear-gradient(0deg, rgba(8, 52, 47, 0.68), transparent 62%);
}

.renovation-intro,
.renovation-showcase,
.renovation-consultation {
  background: #f6fcfa;
}

.renovation-service-grid article,
.renovation-process-grid article {
  background:
    linear-gradient(180deg, #ffffff 0%, #eff9f6 100%);
}

.consultation-address {
  border-color: var(--line);
  background: var(--soft);
}

/* Mobile menu */
@media (max-width: 760px) {
  .editorial-main-nav {
    border-color: var(--line);
    background: #ffffff;
  }

  .editorial-main-nav a {
    border-bottom-color: var(--line);
  }

  .announcement-item {
    border-right-color: rgba(8, 117, 108, 0.13);
  }

  .featured-products-panel {
    background: rgba(255, 255, 255, 0.97);
  }

  .design-story-copy {
    background: #ffffff;
  }

  .config-step {
    background: #ffffff;
  }

  .configurator-submit {
    background:
      linear-gradient(135deg, var(--primary-deep), #0d5f57);
  }
}


/* =========================================================
   MOBILE ANNOUNCEMENT MARQUEE — VERSI 13
   Bergerak hanya pada smartphone, desktop tetap statis
   ========================================================= */

.announcement-item.announcement-clone {
  display: none;
}

@media (max-width: 760px) {
  .announcement-bar {
    overflow: hidden;
  }

  .announcement-bar .announcement-grid {
    width: max-content;
    max-width: none;
    min-height: 48px;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    animation: superdecor-announcement-marquee 28s linear infinite;
    will-change: transform;
  }

  .announcement-bar .announcement-item {
    flex: 0 0 295px;
    width: 295px;
    min-width: 295px;
    padding: 7px 18px;
    border-right: 1px solid rgba(8, 117, 108, 0.16);
  }

  .announcement-bar .announcement-item:first-child {
    padding-left: 18px;
  }

  .announcement-bar .announcement-item.announcement-clone {
    display: grid;
  }

  .announcement-bar .announcement-grid:active {
    animation-play-state: paused;
  }

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

@media (max-width: 380px) {
  .announcement-bar .announcement-item {
    flex-basis: 270px;
    width: 270px;
    min-width: 270px;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .announcement-bar {
    overflow-x: auto;
  }

  .announcement-bar .announcement-grid {
    width: max-content;
    animation: none;
    scroll-snap-type: x mandatory;
  }

  .announcement-bar .announcement-item {
    scroll-snap-align: start;
  }

  .announcement-bar .announcement-item.announcement-clone {
    display: none;
  }
}


/* =========================================================
   PRODUCT CONFIGURATOR MODAL — VERSI 14
   Popup marketplace dengan halaman utama terlihat di belakang
   ========================================================= */

body.product-modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.product-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 48, 43, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 48px));
  max-height: calc(100svh - 48px);
  margin: 24px auto;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 28px;
  background: #f5fcfa;
  box-shadow: 0 34px 90px rgba(3, 42, 37, 0.30);
  transform: translateY(20px) scale(0.975);
  transition: transform 0.28s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.product-modal.is-open .product-modal-dialog {
  transform: translateY(0) scale(1);
}

.product-modal-topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.product-modal-topbar > div {
  min-width: 0;
}

.product-modal-kicker,
.product-modal-topbar strong {
  display: block;
}

.product-modal-kicker {
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-modal-topbar strong {
  overflow: hidden;
  color: var(--primary-deep);
  font-family: "Playfair Display", serif;
  font-size: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-modal-close {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary-deep);
  font-size: 30px;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.product-modal-close:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: rotate(5deg);
}

.product-config-modal-section {
  min-height: 0;
  padding: 25px 0 34px;
  background:
    radial-gradient(circle at 7% 12%, rgba(24, 192, 176, 0.08), transparent 28%),
    #f5fcfa;
}

.product-config-modal-section .container {
  width: min(1360px, calc(100% - 48px));
}

.product-config-modal-section .section-heading {
  margin-bottom: 20px;
}

.product-config-modal-section .section-heading h2 {
  font-size: clamp(32px, 3.6vw, 52px);
}

/* Popup tidak mengambil ruang di halaman utama. */
main > .product-config-section {
  display: none;
}

/* Desktop: konfigurator tetap ringkas dan nyaman. */
@media (min-width: 1060px) {
  .product-modal .product-config-section {
    min-height: 0;
  }

  .product-modal .configurator-layout {
    grid-template-columns: minmax(290px, 0.68fr) minmax(0, 1.32fr);
  }

  .product-modal .configurator-preview {
    position: static;
  }

  .product-modal .config-preview-image {
    height: 345px;
  }
}

/* Tablet dan smartphone */
@media (max-width: 760px) {
  .product-modal-dialog {
    width: calc(100% - 12px);
    max-height: calc(100svh - 12px);
    margin: 6px auto;
    border-radius: 18px;
  }

  .product-modal-backdrop {
    background: rgba(5, 48, 43, 0.48);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .product-modal-topbar {
    min-height: 56px;
    padding: 7px 10px 7px 13px;
  }

  .product-modal-topbar strong {
    font-size: 15px;
  }

  .product-modal-close {
    width: 37px;
    height: 37px;
    font-size: 26px;
  }

  .product-config-modal-section {
    min-height: auto;
    padding: 8px 0 13px;
  }

  .product-config-modal-section .container {
    width: calc(100% - 12px);
  }

  .product-config-modal-section .section-heading {
    margin-bottom: 7px;
  }

  .product-config-modal-section .section-heading .eyebrow,
  .product-config-modal-section .section-heading > p {
    display: none;
  }

  .product-config-modal-section .section-heading h2 {
    font-size: 21px;
    line-height: 1.05;
  }

  .product-modal .configurator-preview {
    display: block;
  }

  .product-modal .config-preview-image {
    height: clamp(185px, 53vw, 235px);
  }

  .product-modal .configurator-submit {
    bottom: 3px;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .product-modal-dialog {
    width: calc(100% - 8px);
    max-height: calc(100svh - 8px);
    margin: 4px auto;
    border-radius: 14px;
  }

  .product-modal-topbar {
    min-height: 48px;
  }

  .product-modal .config-preview-image {
    height: 155px;
  }

  .product-config-modal-section .section-heading h2 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-modal,
  .product-modal-dialog {
    transition: none;
  }
}


/* =========================================================
   CATALOG MARKETPLACE MODAL — VERSI 15
   Popup katalog 4 kolom x 3 baris
   ========================================================= */

body.catalog-modal-open {
  overflow: hidden;
}

.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 68;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.catalog-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.catalog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 48, 43, 0.56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.catalog-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 48px));
  max-height: calc(100svh - 48px);
  margin: 24px auto;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background: #f5fcfa;
  box-shadow: 0 34px 90px rgba(3, 42, 37, 0.31);
  transform: translateY(20px) scale(0.975);
  transition: transform 0.28s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.catalog-modal.is-open .catalog-modal-dialog {
  transform: translateY(0) scale(1);
}

.catalog-modal-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.catalog-modal-topbar > div {
  min-width: 0;
}

.catalog-modal-kicker {
  display: block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-modal-topbar h2 {
  margin: 3px 0 2px;
  color: var(--primary-deep);
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.04;
}

.catalog-modal-topbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.catalog-modal-close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary-deep);
  font-size: 31px;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.catalog-modal-close:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: rotate(5deg);
}

.catalog-modal-content {
  padding: 20px 24px 28px;
}

.catalog-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.catalog-filter-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.catalog-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.catalog-filter-chips button {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 10px;
  font-weight: 700;
}

.catalog-filter-chips button.is-active {
  border-color: var(--primary-deep);
  background: var(--primary-deep);
  color: #fff;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.catalog-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 86, 78, 0.055);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.catalog-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: 0 18px 34px rgba(8, 86, 78, 0.12);
}

.catalog-product-image {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--soft);
}

.catalog-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.catalog-product-card:hover .catalog-product-image img {
  transform: scale(1.035);
}

.catalog-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--primary-deep);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.catalog-favorite {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary-dark);
  font-size: 19px;
  backdrop-filter: blur(8px);
}

.catalog-product-copy {
  padding: 13px 14px 15px;
}

.catalog-product-category {
  color: var(--primary);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.catalog-product-copy h3 {
  margin: 4px 0 3px;
  color: var(--primary-deep);
  font-size: 15px;
}

.catalog-product-copy p {
  min-height: 31px;
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.catalog-product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.catalog-product-footer small,
.catalog-product-footer strong {
  display: block;
}

.catalog-product-footer small {
  color: var(--muted);
  font-size: 8px;
}

.catalog-product-footer strong {
  margin-top: 1px;
  color: var(--primary-dark);
  font-size: 12px;
}

.catalog-buy-button {
  min-width: 72px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.catalog-buy-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Tablet: katalog tetap berbentuk kartu. */
@media (max-width: 1050px) {
  .catalog-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Smartphone: dua kolom agar tetap seperti marketplace. */
@media (max-width: 760px) {
  .catalog-modal-dialog {
    width: calc(100% - 12px);
    max-height: calc(100svh - 12px);
    margin: 6px auto;
    border-radius: 18px;
  }

  .catalog-modal-backdrop {
    background: rgba(5, 48, 43, 0.48);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .catalog-modal-topbar {
    min-height: 75px;
    padding: 10px 11px 9px 14px;
  }

  .catalog-modal-kicker {
    font-size: 7px;
  }

  .catalog-modal-topbar h2 {
    margin-top: 2px;
    font-size: 19px;
  }

  .catalog-modal-topbar p {
    display: none;
  }

  .catalog-modal-close {
    width: 37px;
    height: 37px;
    font-size: 26px;
  }

  .catalog-modal-content {
    padding: 9px 8px 13px;
  }

  .catalog-filter-row {
    margin-bottom: 8px;
  }

  .catalog-filter-row > span {
    font-size: 9px;
  }

  .catalog-filter-chips {
    display: none;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .catalog-product-card {
    border-radius: 11px;
  }

  .catalog-product-image {
    height: 105px;
  }

  .catalog-product-badge {
    top: 6px;
    left: 6px;
    padding: 4px 7px;
    font-size: 6px;
  }

  .catalog-favorite {
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    font-size: 15px;
  }

  .catalog-product-copy {
    padding: 8px;
  }

  .catalog-product-category {
    font-size: 6px;
  }

  .catalog-product-copy h3 {
    margin-top: 2px;
    font-size: 10px;
  }

  .catalog-product-copy p {
    display: none;
  }

  .catalog-product-footer {
    align-items: center;
    gap: 5px;
    padding-top: 7px;
  }

  .catalog-product-footer small {
    display: none;
  }

  .catalog-product-footer strong {
    font-size: 8px;
  }

  .catalog-buy-button {
    min-width: 48px;
    min-height: 28px;
    padding: 5px 8px;
    font-size: 7px;
  }
}

@media (max-width: 370px) {
  .catalog-product-image {
    height: 92px;
  }

  .catalog-product-copy h3 {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-modal,
  .catalog-modal-dialog,
  .catalog-product-card,
  .catalog-product-image img {
    transition: none;
  }
}


/* =========================================================
   TWO-STEP PALLET TYPE CATALOG — VERSI 20
   Pilih tipe → scroll ke katalog rapat / non-rapat
   ========================================================= */

.catalog-type-dialog {
  scroll-behavior: smooth;
}

.catalog-type-modal-content {
  padding: 0 24px 34px;
}

.catalog-type-chooser {
  min-height: calc(100svh - 152px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0 40px;
  scroll-margin-top: 112px;
}

.catalog-type-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.catalog-type-heading h3 {
  margin: 5px 0 8px;
  color: var(--primary-deep);
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.catalog-type-heading p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.catalog-type-choice-grid {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.catalog-type-choice {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  color: var(--primary-deep);
  text-align: left;
  box-shadow:
    0 18px 42px rgba(8, 86, 78, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.catalog-type-choice:hover,
.catalog-type-choice.is-selected {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow:
    0 27px 52px rgba(8, 86, 78, 0.17),
    0 0 0 4px rgba(24, 192, 176, 0.09);
}

.catalog-type-choice-image {
  position: relative;
  height: 245px;
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.catalog-type-choice-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background:
    linear-gradient(0deg, rgba(5, 57, 51, 0.54), transparent);
}

.catalog-type-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.catalog-type-choice:hover .catalog-type-choice-image img {
  transform: scale(1.035);
}

.catalog-type-choice-image > span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.91);
  color: var(--primary-deep);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.catalog-type-choice-copy {
  display: grid;
  padding: 18px 20px 20px;
}

.catalog-type-choice-copy strong {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  line-height: 1.08;
}

.catalog-type-choice-copy small {
  min-height: 46px;
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.catalog-type-choice-copy b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--primary-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.catalog-type-choice-copy i {
  font-size: 18px;
  font-style: normal;
}

.catalog-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-scroll-hint span {
  width: 68px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, var(--primary-light));
}

.catalog-scroll-hint span:last-child {
  background:
    linear-gradient(90deg, var(--primary-light), transparent);
}

.catalog-type-products {
  padding: 30px 0 48px;
  scroll-margin-top: 112px;
}

.catalog-type-products-nonrapat {
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.catalog-type-section-heading {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, #ffffff 0%, #edf9f6 100%);
}

.catalog-type-section-heading > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.catalog-section-number {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background:
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  box-shadow: 0 12px 27px rgba(24, 192, 176, 0.22);
}

.catalog-type-section-heading h3 {
  margin: 3px 0 2px;
  color: var(--primary-deep);
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3vw, 39px);
  line-height: 1.04;
}

.catalog-type-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.catalog-type-section-heading > button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 9px;
  font-weight: 800;
}

.catalog-type-section-heading > button:hover {
  border-color: var(--primary);
  background: var(--soft);
}

.catalog-type-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-type-product-card {
  position: relative;
}

.catalog-type-badge {
  position: absolute;
  right: 49px;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.89);
  color: var(--primary-dark);
  font-size: 7px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.catalog-type-product-card .catalog-product-copy h3 {
  min-height: 34px;
}

.catalog-type-product-card .catalog-product-copy p {
  min-height: 31px;
}

/* Tablet */
@media (max-width: 1050px) {
  .catalog-type-choice-grid {
    width: min(820px, 100%);
  }

  .catalog-type-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Smartphone */
@media (max-width: 760px) {
  .catalog-type-modal-content {
    padding: 0 8px 16px;
  }

  .catalog-type-chooser {
    min-height: calc(100svh - 90px);
    padding: 20px 0 26px;
    scroll-margin-top: 74px;
  }

  .catalog-type-heading {
    margin-bottom: 13px;
    padding: 0 7px;
  }

  .catalog-type-heading h3 {
    font-size: 29px;
  }

  .catalog-type-heading p {
    font-size: 10px;
  }

  .catalog-type-choice-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .catalog-type-choice {
    display: grid;
    grid-template-columns: 42% 58%;
    border-radius: 14px;
  }

  .catalog-type-choice-image {
    height: 170px;
  }

  .catalog-type-choice-image > span {
    left: 7px;
    bottom: 7px;
    padding: 5px 8px;
    font-size: 7px;
  }

  .catalog-type-choice-copy {
    align-content: center;
    padding: 10px;
  }

  .catalog-type-choice-copy strong {
    font-size: 19px;
  }

  .catalog-type-choice-copy small {
    min-height: 0;
    margin: 5px 0 9px;
    font-size: 8px;
  }

  .catalog-type-choice-copy b {
    min-height: 31px;
    padding: 0 9px;
    font-size: 7px;
  }

  .catalog-type-choice-copy i {
    font-size: 13px;
  }

  .catalog-scroll-hint {
    margin-top: 15px;
    font-size: 7px;
  }

  .catalog-scroll-hint span {
    width: 28px;
  }

  .catalog-type-products {
    padding: 17px 0 26px;
    scroll-margin-top: 70px;
  }

  .catalog-type-products-nonrapat {
    padding-top: 28px;
  }

  .catalog-type-section-heading {
    min-height: 70px;
    gap: 9px;
    margin-bottom: 8px;
    padding: 9px;
    border-radius: 13px;
  }

  .catalog-type-section-heading > div {
    gap: 8px;
  }

  .catalog-section-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 16px;
  }

  .catalog-type-section-heading h3 {
    font-size: 18px;
  }

  .catalog-type-section-heading p {
    display: none;
  }

  .catalog-type-section-heading > button {
    min-height: 31px;
    padding: 0 8px;
    font-size: 7px;
  }

  .catalog-type-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-type-badge {
    right: 35px;
    top: 6px;
    padding: 4px 6px;
    font-size: 5px;
  }

  .catalog-type-product-card .catalog-product-copy h3 {
    min-height: 23px;
  }
}

@media (max-width: 370px) {
  .catalog-type-choice-image {
    height: 155px;
  }

  .catalog-type-choice-copy strong {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-type-dialog {
    scroll-behavior: auto;
  }

  .catalog-type-choice,
  .catalog-type-choice-image img {
    transition: none;
  }
}


/* =========================================================
   LIQUID BRANDED PRELOADER + PAGE REVEAL — VERSI 22
   ========================================================= */

.site-preloader {
  display: none;
}

html.preloader-first .site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(71, 207, 195, 0.08), transparent 33%),
    linear-gradient(135deg, #fdfefd 0%, #f8fbfa 32%, #f1f7f5 100%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.86s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.86s linear;
}

html.preloader-seen .site-preloader,
.site-preloader.is-removed {
  display: none;
}

html.preloader-first body.preloader-active {
  overflow: hidden;
}

.site-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-surface {
  position: absolute;
  inset: 0;
}

.site-preloader-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: min(600px, calc(100% - 40px));
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  transition:
    transform 0.84s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.74s ease;
}

.site-preloader.is-leaving .site-preloader-inner {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 12px)) scale(0.985);
}

.preloader-logo-shell {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: transparent;
  filter: drop-shadow(0 18px 26px rgba(24, 192, 176, 0.14));
  animation: liquidLogoReveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.preloader-logo-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preloader-brand-copy {
  margin-top: 8px;
  animation: liquidCopyReveal 0.95s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.preloader-brand-copy strong,
.preloader-brand-copy span {
  display: block;
}

.preloader-brand-copy strong {
  color: #113f39;
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 2px rgba(255,255,255,0.6);
}

.preloader-brand-copy span {
  margin-top: 10px;
  color: rgba(17, 63, 57, 0.88);
  font-size: clamp(14px, 1.35vw, 22px);
  letter-spacing: 0.02em;
}

.preloader-liquid-row {
  position: relative;
  width: min(520px, 92vw);
  height: 118px;
  margin-top: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.preloader-liquid-orb {
  position: relative;
  display: block;
  flex: 0 0 auto;
  border-radius: 50% 50% 48% 52% / 55% 47% 53% 45%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.92) 0 12%, rgba(255,255,255,0.55) 12%, transparent 30%),
    radial-gradient(circle at 62% 32%, rgba(255,255,255,0.18), transparent 42%),
    linear-gradient(160deg, rgba(230,255,251,0.95) 0%, rgba(170, 241, 233, 0.82) 32%, rgba(85, 211, 196, 0.92) 70%, rgba(26, 186, 170, 0.98) 100%);
  border: 1px solid rgba(150, 234, 226, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset -10px -14px 24px rgba(22, 173, 158, 0.16),
    inset 10px 18px 24px rgba(255,255,255,0.3),
    0 16px 30px rgba(40, 182, 170, 0.18),
    0 10px 20px rgba(17, 86, 80, 0.08);
  backdrop-filter: blur(1px);
  transform-origin: center bottom;
  overflow: hidden;
}

.preloader-liquid-orb::before,
.preloader-liquid-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.preloader-liquid-orb::before {
  background: linear-gradient(115deg, transparent 22%, rgba(255,255,255,0.72) 42%, transparent 63%);
  transform: translateX(-140%) rotate(8deg);
  animation: liquidHighlight 4.4s linear infinite;
}

.preloader-liquid-orb::after {
  left: 12%;
  right: 12%;
  bottom: -18%;
  top: auto;
  height: 42%;
  background: radial-gradient(circle at 50% 0%, rgba(18, 155, 143, 0.18), transparent 72%);
  filter: blur(12px);
  animation: liquidGlowPulse 3.8s ease-in-out infinite;
}

.orb-tiny {
  width: 18px;
  height: 18px;
  margin-bottom: 16px;
  animation:
    liquidBobSmall 4.2s ease-in-out infinite,
    liquidMorphTiny 5.4s ease-in-out infinite alternate;
}

.orb-small {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  animation:
    liquidBob 4.4s ease-in-out infinite,
    liquidMorphSmall 5.8s ease-in-out infinite alternate;
}

.orb-medium {
  width: 76px;
  height: 76px;
  animation:
    liquidBob 4.9s ease-in-out infinite,
    liquidMorphMedium 6.2s ease-in-out infinite alternate;
}

.orb-main {
  width: 142px;
  height: 86px;
  margin: 0 2px;
  border-radius: 44% 56% 52% 48% / 52% 44% 56% 48%;
  animation:
    liquidBobMain 4.8s ease-in-out infinite,
    liquidMorphMain 6.4s ease-in-out infinite alternate;
}

.orb-left { animation-delay: -1.6s, -0.8s; }
.orb-left-mid { animation-delay: -0.8s, -1.9s; }
.orb-mid-left { animation-delay: -2.2s, -0.2s; }
.orb-center { animation-delay: -1.4s, -2.4s; }
.orb-right-mid { animation-delay: -2.8s, -1.2s; }
.orb-mid-right { animation-delay: -0.3s, -2.1s; }
.orb-right { animation-delay: -1.9s, -0.6s; }

.preloader-status {
  margin-top: 30px;
  color: rgba(17, 63, 57, 0.9);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preloader-progress {
  width: min(96px, 46vw);
  height: 7px;
  margin-top: 10px;
  padding: 1px;
  border-radius: 999px;
  background: rgba(152, 208, 201, 0.38);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8);
}

.preloader-progress span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1ad8c7 0%, #59d9cc 55%, #9cebe4 100%);
  box-shadow: 0 0 12px rgba(26, 216, 199, 0.38);
  animation: liquidProgressSlide 1.6s ease-in-out infinite;
}

.preloader-pool {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(202, 237, 232, 0.95);
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.7), transparent 30%),
    radial-gradient(circle at 70% 72%, rgba(110, 215, 205, 0.12), transparent 38%),
    linear-gradient(160deg, rgba(244, 252, 250, 0.82), rgba(227, 245, 242, 0.84));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.72),
    inset 0 18px 26px rgba(255,255,255,0.36),
    0 18px 40px rgba(101, 188, 177, 0.08);
  backdrop-filter: blur(2px);
}

.preloader-pool::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 22%, rgba(255,255,255,0.56) 48%, transparent 72%);
  transform: translateX(-132%) rotate(8deg);
  animation: poolLightDrift 7s linear infinite;
}

.preloader-pool-top {
  width: min(32vw, 360px);
  height: min(18vw, 230px);
  top: -6px;
  left: -22px;
  border-radius: 0 0 60% 0 / 0 0 100% 0;
  animation: poolBreathTop 8.2s ease-in-out infinite;
}

.preloader-pool-bottom {
  width: min(28vw, 340px);
  height: min(20vw, 250px);
  right: -16px;
  bottom: -10px;
  border-radius: 58% 0 0 0 / 100% 0 0 0;
  animation: poolBreathBottom 8.8s ease-in-out infinite;
}

.preloader-leaf-shadow {
  position: absolute;
  left: -24px;
  bottom: 18%;
  width: 250px;
  height: 220px;
  opacity: 0.18;
  filter: blur(1px);
  pointer-events: none;
  transform-origin: 20% 100%;
  animation: leafSway 9s ease-in-out infinite;
}

.preloader-leaf-shadow::before,
.preloader-leaf-shadow::after {
  content: "";
  position: absolute;
  background: rgba(135, 166, 160, 0.24);
  border-radius: 55% 45% 58% 42% / 64% 34% 66% 36%;
  transform: rotate(-28deg);
}

.preloader-leaf-shadow::before {
  left: 18px;
  bottom: 18px;
  width: 86px;
  height: 162px;
  box-shadow:
    42px -14px 0 -8px rgba(135, 166, 160, 0.2),
    78px -48px 0 -18px rgba(135, 166, 160, 0.18),
    112px -86px 0 -28px rgba(135, 166, 160, 0.14);
}

.preloader-leaf-shadow::after {
  display: none;
}

.preloader-light {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.46;
}

.preloader-light-a {
  width: 280px;
  height: 280px;
  top: 20%;
  left: 34%;
  background: radial-gradient(circle, rgba(162, 240, 231, 0.28), transparent 70%);
  animation: ambientGlowOne 7.4s ease-in-out infinite;
}

.preloader-light-b {
  width: 320px;
  height: 320px;
  bottom: 14%;
  right: 20%;
  background: radial-gradient(circle, rgba(114, 223, 212, 0.18), transparent 68%);
  animation: ambientGlowTwo 8.8s ease-in-out infinite;
}

html.preloader-first:not(.site-reveal-ready) body > .announcement-bar,
html.preloader-first:not(.site-reveal-ready) body > .site-header,
html.preloader-first:not(.site-reveal-ready) body > main,
html.preloader-first:not(.site-reveal-ready) body > .site-footer,
html.preloader-first:not(.site-reveal-ready) body > .floating-wa {
  opacity: 0.64;
  filter: blur(4px);
  transform: translateY(12px) scale(0.995);
}

body > .announcement-bar,
body > .site-header,
body > main,
body > .site-footer,
body > .floating-wa {
  transition:
    opacity 0.86s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.86s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.86s cubic-bezier(0.22, 1, 0.36, 1);
}

html.site-reveal-ready body > .announcement-bar,
html.site-reveal-ready body > .site-header,
html.site-reveal-ready body > main,
html.site-reveal-ready body > .site-footer,
html.site-reveal-ready body > .floating-wa {
  opacity: 1;
  filter: none;
  transform: none;
}

@keyframes liquidLogoReveal {
  0% { opacity: 0; transform: translateY(16px) scale(0.82); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes liquidCopyReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes liquidBobMain {
  0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); }
  50% { transform: translateY(-4px) rotate(3deg) scale(1.025); }
}

@keyframes liquidBob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-5px) rotate(4deg); }
}

@keyframes liquidBobSmall {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(0.94); }
}

@keyframes liquidMorphMain {
  0% { border-radius: 44% 56% 52% 48% / 52% 44% 56% 48%; }
  50% { border-radius: 52% 48% 56% 44% / 44% 56% 46% 54%; }
  100% { border-radius: 48% 52% 43% 57% / 60% 45% 55% 40%; }
}

@keyframes liquidMorphMedium {
  0% { border-radius: 50% 50% 46% 54% / 58% 44% 56% 42%; }
  100% { border-radius: 44% 56% 54% 46% / 48% 56% 44% 52%; }
}

@keyframes liquidMorphSmall {
  0% { border-radius: 50% 50% 48% 52% / 55% 47% 53% 45%; }
  100% { border-radius: 42% 58% 55% 45% / 50% 58% 42% 50%; }
}

@keyframes liquidMorphTiny {
  0% { border-radius: 50%; }
  100% { border-radius: 42% 58% 47% 53% / 54% 46% 54% 46%; }
}

@keyframes liquidHighlight {
  0% { transform: translateX(-150%) rotate(8deg); }
  100% { transform: translateX(170%) rotate(8deg); }
}

@keyframes liquidGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50% { opacity: 0.85; transform: scale(1.06); }
}

@keyframes poolBreathTop {
  0%, 100% { transform: scale(1) translate3d(0,0,0); }
  50% { transform: scale(1.03) translate3d(8px, 5px, 0); }
}

@keyframes poolBreathBottom {
  0%, 100% { transform: scale(1) translate3d(0,0,0); }
  50% { transform: scale(1.04) translate3d(-6px, -4px, 0); }
}

@keyframes poolLightDrift {
  0% { transform: translateX(-135%) rotate(8deg); opacity: 0; }
  10% { opacity: 0.6; }
  60% { opacity: 0.45; }
  100% { transform: translateX(165%) rotate(8deg); opacity: 0; }
}

@keyframes leafSway {
  0%, 100% { transform: rotate(-2deg) translate3d(0,0,0); opacity: 0.16; }
  50% { transform: rotate(3deg) translate3d(8px, -3px, 0); opacity: 0.22; }
}

@keyframes ambientGlowOne {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: 0.34; }
  50% { transform: translate3d(18px, -10px, 0) scale(1.08); opacity: 0.5; }
}

@keyframes ambientGlowTwo {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: 0.24; }
  50% { transform: translate3d(-16px, 8px, 0) scale(1.06); opacity: 0.42; }
}

@keyframes liquidProgressSlide {
  0% { transform: translateX(-122%); }
  100% { transform: translateX(230%); }
}

/* Smooth inertial scrolling aktif melalui JavaScript pada desktop. */
html.superdecor-inertia-enabled {
  scroll-behavior: auto !important;
}

html.superdecor-inertia-enabled body {
  overscroll-behavior-y: none;
}

@media (max-width: 860px) {
  .preloader-logo-shell {
    width: 88px;
    height: 88px;
    border-radius: 28px;
  }

  .preloader-brand-copy strong {
    font-size: clamp(34px, 8.2vw, 50px);
  }

  .preloader-brand-copy span {
    font-size: 13px;
  }

  .preloader-liquid-row {
    width: min(410px, 92vw);
    height: 102px;
    margin-top: 28px;
    gap: 8px;
  }

  .orb-main {
    width: 122px;
    height: 76px;
  }

  .orb-medium {
    width: 64px;
    height: 64px;
  }

  .orb-small {
    width: 44px;
    height: 44px;
  }

  .preloader-status {
    margin-top: 24px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .preloader-progress {
    width: 84px;
    height: 6px;
  }

  .preloader-pool-top {
    width: 220px;
    height: 148px;
  }

  .preloader-pool-bottom {
    width: 220px;
    height: 160px;
  }

  .preloader-leaf-shadow {
    width: 184px;
    height: 170px;
    left: -30px;
    bottom: 15%;
  }
}

@media (max-width: 560px) {
  .site-preloader-inner {
    width: min(92vw, 420px);
  }

  .preloader-brand-copy span {
    font-size: 12px;
  }

  .preloader-liquid-row {
    height: 84px;
    gap: 6px;
  }

  .orb-main {
    width: 98px;
    height: 62px;
  }

  .orb-medium {
    width: 50px;
    height: 50px;
  }

  .orb-small {
    width: 34px;
    height: 34px;
  }

  .orb-tiny {
    width: 14px;
    height: 14px;
    margin-bottom: 10px;
  }

  .preloader-pool-top {
    left: -44px;
    top: -16px;
    width: 180px;
    height: 124px;
  }

  .preloader-pool-bottom {
    right: -38px;
    bottom: -16px;
    width: 190px;
    height: 140px;
  }

  .preloader-leaf-shadow {
    width: 140px;
    height: 128px;
    left: -28px;
    bottom: 22%;
    opacity: 0.14;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.preloader-first .site-preloader {
    transition-duration: 0.15s;
  }

  .preloader-logo-shell,
  .preloader-brand-copy,
  .preloader-liquid-orb,
  .preloader-liquid-orb::before,
  .preloader-liquid-orb::after,
  .preloader-pool,
  .preloader-pool::before,
  .preloader-leaf-shadow,
  .preloader-light,
  .preloader-progress span {
    animation: none !important;
  }

  body > .announcement-bar,
  body > .site-header,
  body > main,
  body > .site-footer,
  body > .floating-wa {
    transition-duration: 0.15s;
  }
}


/* =========================================================
   EXACT REFERENCE IMAGE PRELOADER — VERSI 23
   ========================================================= */

html.preloader-first .reference-image-preloader {
  display: grid;
  place-items: center;
  background: #f8fbfa;
}

.reference-image-preloader .reference-preloader-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f8fbfa;
}

.reference-image-preloader .reference-preloader-art {
  width: 100%;
  height: 100%;
  display: block;
  animation: referencePreloaderBreath 9s ease-in-out infinite;
}

.reference-image-preloader .preloader-reference-base {
  opacity: 1;
}

.reference-image-preloader .preloader-bubble-echo {
  opacity: 0.64;
  transform-box: fill-box;
  transform-origin: center;
  animation: referenceBubbleFloat 5.6s ease-in-out infinite;
  mix-blend-mode: screen;
}

.reference-image-preloader .preloader-pool-echo {
  opacity: 0.52;
  transform-box: fill-box;
  transform-origin: center;
  mix-blend-mode: screen;
}

.reference-image-preloader .preloader-pool-echo-top {
  animation: referenceTopPoolBreathe 8.8s ease-in-out infinite;
}

.reference-image-preloader .preloader-pool-echo-bottom {
  animation: referenceBottomPoolBreathe 9.6s ease-in-out infinite;
}

.reference-image-preloader .preloader-leaf-echo {
  opacity: 0.18;
  transform-box: fill-box;
  transform-origin: 12% 92%;
  animation: referenceLeafSway 9s ease-in-out infinite;
  mix-blend-mode: multiply;
}

.reference-image-preloader .preloader-center-glow {
  opacity: 0.34;
  animation: referenceGlowPulse 6.8s ease-in-out infinite;
}

.reference-image-preloader .preloader-liquid-sheen,
.reference-image-preloader .preloader-pool-sheen {
  opacity: 0.38;
  mix-blend-mode: screen;
}

.reference-image-preloader .preloader-page-light {
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.30) 49%, rgba(255,255,255,0.04) 58%, transparent 67%);
  transform: translateX(-42%) rotate(3deg);
  animation: referencePageLight 9.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

.site-preloader.is-leaving .reference-preloader-stage {
  opacity: 0;
  transform: scale(1.012);
}

.reference-preloader-stage {
  transition: opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1), transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes referencePreloaderBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.004); }
}

@keyframes referenceBubbleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1, 1); opacity: 0.56; }
  33% { transform: translate3d(1.6px, -2.8px, 0) scale(1.008, 0.987); opacity: 0.72; }
  66% { transform: translate3d(-1.3px, 1.7px, 0) scale(0.994, 1.012); opacity: 0.62; }
}

@keyframes referenceTopPoolBreathe {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: 0.42; }
  50% { transform: translate3d(4px,3px,0) scale(1.012); opacity: 0.58; }
}

@keyframes referenceBottomPoolBreathe {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: 0.44; }
  50% { transform: translate3d(-4px,-3px,0) scale(1.015); opacity: 0.60; }
}

@keyframes referenceLeafSway {
  0%, 100% { transform: rotate(-0.7deg) translate3d(0,0,0); opacity: 0.14; }
  50% { transform: rotate(1.5deg) translate3d(5px,-2px,0); opacity: 0.23; }
}

@keyframes referenceGlowPulse {
  0%, 100% { opacity: 0.20; transform: scale(0.96); }
  50% { opacity: 0.42; transform: scale(1.04); }
}

@keyframes referencePageLight {
  0%, 100% { transform: translateX(-46%) rotate(3deg); opacity: 0.28; }
  50% { transform: translateX(42%) rotate(3deg); opacity: 0.52; }
}

@media (max-aspect-ratio: 4/3) {
  .reference-image-preloader .reference-preloader-art {
    width: auto;
    min-width: 100%;
    height: 100%;
  }
}

@media (min-aspect-ratio: 19/10) {
  .reference-image-preloader .reference-preloader-art {
    width: 100%;
    height: auto;
    min-height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reference-image-preloader .reference-preloader-art,
  .reference-image-preloader .preloader-bubble-echo,
  .reference-image-preloader .preloader-pool-echo,
  .reference-image-preloader .preloader-leaf-echo,
  .reference-image-preloader .preloader-center-glow,
  .reference-image-preloader .preloader-page-light {
    animation: none !important;
  }
}


/* =========================================================
   REFINED LIQUID PRELOADER — VERSI 24
   ========================================================= */

html.preloader-first .refined-liquid-preloader {
  display: block;
  background:
    radial-gradient(circle at 50% 42%, rgba(148, 232, 222, 0.20), transparent 28%),
    linear-gradient(135deg, #fbfcfb 0%, #f7faf8 44%, #eef6f3 100%);
}

.refined-liquid-preloader .refined-preloader-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(173, 240, 231, 0.12), transparent 26%),
    linear-gradient(135deg, #fcfdfc 0%, #f8fbf9 46%, #eef6f4 100%);
  transition: opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1), transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
}

.refined-liquid-preloader .site-preloader-inner {
  width: min(760px, calc(100% - 44px));
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0;
  z-index: 5;
}

.refined-liquid-preloader .refined-preloader-surface {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.refined-liquid-preloader .refined-page-sheen {
  position: absolute;
  inset: -20%;
  background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.42) 47%, rgba(255,255,255,0.04) 62%, transparent 76%);
  transform: translateX(-52%) rotate(4deg);
  mix-blend-mode: screen;
  animation: refinedPageSheen 10.8s ease-in-out infinite;
}

.refined-liquid-preloader .refined-logo-shell {
  width: clamp(92px, 9vw, 122px);
  height: clamp(92px, 9vw, 122px);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  filter: drop-shadow(0 18px 30px rgba(29, 197, 182, 0.18));
  animation: refinedLogoFloat 5.4s ease-in-out infinite;
}

.refined-liquid-preloader .refined-logo-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  transform: translateZ(0);
}

.refined-liquid-preloader .refined-brand-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.refined-liquid-preloader .refined-brand-copy strong {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.8vw, 90px);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #0f504a;
  text-shadow: 0 8px 22px rgba(255, 255, 255, 0.55);
}

.refined-liquid-preloader .refined-brand-copy span {
  margin-top: 0;
  font-size: clamp(14px, 1.8vw, 20px);
  letter-spacing: 0.08em;
  color: #2a6d66;
  font-weight: 500;
  text-transform: none;
}

.refined-liquid-preloader .refined-bubble-row {
  position: relative;
  width: min(620px, 84vw);
  height: clamp(102px, 16vw, 154px);
  margin-top: 42px;
  margin-bottom: 54px;
  animation: refinedRowFloat 7.8s ease-in-out infinite;
}

.refined-liquid-preloader .refined-row-shadow {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 58%;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(112, 191, 181, 0.26), rgba(112, 191, 181, 0.10) 42%, rgba(112, 191, 181, 0) 72%);
  filter: blur(14px);
  opacity: 0.7;
  animation: refinedShadowPulse 7.6s ease-in-out infinite;
}

.refined-liquid-preloader .refined-bubble {
  position: absolute;
  display: block;
  border-radius: 52% 48% 49% 51% / 46% 54% 46% 54%;
  border: 1px solid rgba(206, 241, 236, 0.92);
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,0.95) 0 13%, rgba(255,255,255,0.65) 14%, rgba(255,255,255,0) 35%),
    radial-gradient(circle at 70% 72%, rgba(20, 196, 180, 0.40) 0, rgba(125, 226, 216, 0.30) 28%, rgba(218, 248, 243, 0.88) 70%, rgba(255,255,255,0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -12px 20px rgba(50, 194, 178, 0.14),
    0 10px 28px rgba(140, 217, 208, 0.20);
  overflow: hidden;
  transform-origin: center;
}

.refined-liquid-preloader .refined-bubble::before,
.refined-liquid-preloader .refined-bubble::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.refined-liquid-preloader .refined-bubble::before {
  inset: 10% auto auto 14%;
  width: 28%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.92), rgba(255,255,255,0.20) 68%, rgba(255,255,255,0) 100%);
  filter: blur(1px);
  opacity: 0.95;
}

.refined-liquid-preloader .refined-bubble::after {
  inset: 0;
  background: linear-gradient(118deg, rgba(255,255,255,0) 24%, rgba(255,255,255,0.34) 46%, rgba(255,255,255,0) 64%);
  transform: translateX(-130%) rotate(4deg);
  mix-blend-mode: screen;
  animation: refinedBubbleShine 7.4s ease-in-out infinite;
}

.refined-liquid-preloader .bubble-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  top: 47px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.94) 0 18%, rgba(255,255,255,0.42) 19%, rgba(255,255,255,0) 44%),
    radial-gradient(circle at 70% 72%, rgba(13, 193, 177, 0.62) 0, rgba(126, 229, 219, 0.58) 46%, rgba(230, 251, 247, 0.92) 100%);
  box-shadow: 0 8px 20px rgba(132, 215, 205, 0.26);
}

.refined-liquid-preloader .bubble-dot-left { left: 15%; animation: refinedDotFloatLeft 5.2s ease-in-out infinite; }
.refined-liquid-preloader .bubble-dot-right { right: 15%; animation: refinedDotFloatRight 5.6s ease-in-out infinite; }

.refined-liquid-preloader .bubble-small {
  width: 50px;
  height: 50px;
  top: 34px;
  opacity: 0.94;
}

.refined-liquid-preloader .bubble-small-left { left: 25%; animation: refinedBubbleSmallLeft 6s ease-in-out infinite; }
.refined-liquid-preloader .bubble-small-right { right: 25%; animation: refinedBubbleSmallRight 6.2s ease-in-out infinite; }

.refined-liquid-preloader .bubble-medium {
  width: 82px;
  height: 82px;
  top: 22px;
}

.refined-liquid-preloader .bubble-medium-left {
  left: 34%;
  border-radius: 48% 52% 44% 56% / 42% 56% 44% 58%;
  animation: refinedBubbleMediumLeft 6.4s ease-in-out infinite;
}

.refined-liquid-preloader .bubble-medium-right {
  right: 34%;
  border-radius: 53% 47% 56% 44% / 48% 52% 42% 58%;
  animation: refinedBubbleMediumRight 6.8s ease-in-out infinite;
}

.refined-liquid-preloader .bubble-large {
  width: 148px;
  height: 98px;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  border-radius: 46% 54% 43% 57% / 46% 50% 50% 54%;
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.97) 0 16%, rgba(255,255,255,0.64) 17%, rgba(255,255,255,0) 36%),
    radial-gradient(circle at 64% 78%, rgba(11, 196, 179, 0.70) 0, rgba(74, 218, 205, 0.52) 28%, rgba(200, 247, 241, 0.92) 73%, rgba(255,255,255,0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -16px 24px rgba(24, 195, 179, 0.18),
    0 18px 38px rgba(115, 210, 199, 0.24);
  animation: refinedBubbleCenter 6.8s ease-in-out infinite;
}

.refined-liquid-preloader .refined-status {
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: #245f59;
  text-transform: uppercase;
}

.refined-liquid-preloader .refined-progress {
  width: 78px;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(178, 224, 217, 0.54);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.7);
  overflow: hidden;
}

.refined-liquid-preloader .refined-progress span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #25cdc0 0%, #6ce1d5 100%);
  box-shadow: 0 0 12px rgba(37, 205, 192, 0.42);
  animation: refinedProgressMove 2.2s cubic-bezier(0.32, 0.94, 0.60, 1) infinite;
}

.refined-liquid-preloader .refined-pool {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(214, 240, 236, 0.8);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.86) 0 10%, rgba(255,255,255,0.22) 12%, rgba(255,255,255,0) 36%),
    linear-gradient(140deg, rgba(249, 253, 252, 0.98) 0%, rgba(235, 246, 243, 0.86) 52%, rgba(198, 236, 230, 0.55) 100%);
  box-shadow:
    inset 0 0 1px rgba(255,255,255,0.95),
    inset -18px -18px 28px rgba(136, 217, 207, 0.14),
    0 24px 54px rgba(175, 221, 216, 0.18);
  overflow: hidden;
}

.refined-liquid-preloader .refined-pool::before,
.refined-liquid-preloader .refined-pool::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.refined-liquid-preloader .refined-pool::before {
  background: linear-gradient(115deg, rgba(255,255,255,0.10) 24%, rgba(255,255,255,0.64) 46%, rgba(255,255,255,0.08) 64%);
  transform: translateX(-120%) rotate(7deg);
  animation: refinedPoolShine 9.8s ease-in-out infinite;
  mix-blend-mode: screen;
}

.refined-liquid-preloader .refined-pool::after {
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(141, 221, 212, 0.14) 100%);
}

.refined-liquid-preloader .refined-pool-top {
  width: min(34vw, 520px);
  height: min(31vw, 420px);
  top: -11%;
  left: -5%;
  border-radius: 0 0 62% 0 / 0 0 82% 0;
  animation: refinedTopPoolFloat 12s ease-in-out infinite;
}

.refined-liquid-preloader .refined-pool-bottom {
  width: min(30vw, 420px);
  height: min(27vw, 360px);
  right: -4%;
  bottom: -8%;
  border-radius: 68% 0 0 0 / 76% 0 0 0;
  animation: refinedBottomPoolFloat 12.8s ease-in-out infinite;
}

.refined-liquid-preloader .refined-liquid-haze {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.36;
  background: radial-gradient(circle at 50% 50%, rgba(112, 224, 212, 0.36), rgba(112, 224, 212, 0));
  animation: refinedHazeDrift 14s ease-in-out infinite;
}

.refined-liquid-preloader .refined-liquid-haze-a {
  width: 360px;
  height: 240px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
}

.refined-liquid-preloader .refined-liquid-haze-b {
  width: 260px;
  height: 180px;
  right: 16%;
  top: 18%;
  animation-delay: -4s;
}

.refined-liquid-preloader .refined-leaf-shadow {
  position: absolute;
  left: -6%;
  bottom: -3%;
  width: min(30vw, 380px);
  height: min(34vw, 420px);
  filter: blur(18px);
  opacity: 0.22;
  transform-origin: 10% 100%;
  animation: refinedLeafSway 11s ease-in-out infinite;
}

.refined-liquid-preloader .refined-leaf-shadow .leaf {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 180px;
  height: 42px;
  border-radius: 100% 0 100% 0 / 100% 0 100% 0;
  background: linear-gradient(90deg, rgba(109, 133, 127, 0), rgba(109, 133, 127, 0.18) 58%, rgba(109, 133, 127, 0.30) 100%);
  transform-origin: 0% 50%;
}

.refined-liquid-preloader .refined-leaf-shadow .leaf-1 { transform: rotate(-22deg) translate(18px, -6px); }
.refined-liquid-preloader .refined-leaf-shadow .leaf-2 { width: 210px; transform: rotate(-12deg) translate(8px, -36px); }
.refined-liquid-preloader .refined-leaf-shadow .leaf-3 { width: 236px; transform: rotate(2deg) translate(0, -76px); }
.refined-liquid-preloader .refined-leaf-shadow .leaf-4 { width: 196px; transform: rotate(18deg) translate(12px, -118px); }
.refined-liquid-preloader .refined-leaf-shadow .leaf-5 { width: 162px; transform: rotate(30deg) translate(30px, -158px); }

.site-preloader.is-leaving .refined-preloader-stage {
  opacity: 0;
  transform: scale(1.012);
}

@keyframes refinedLogoFloat {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-3px,0); }
}

@keyframes refinedRowFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes refinedShadowPulse {
  0%, 100% { transform: translateX(-50%) scale(0.96); opacity: 0.52; }
  50% { transform: translateX(-50%) scale(1.04); opacity: 0.76; }
}

@keyframes refinedBubbleCenter {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1,1); }
  24% { transform: translateX(-50%) translateY(-4px) scale(1.02,0.98); }
  52% { transform: translateX(-50%) translateY(1px) scale(0.98,1.03); }
  76% { transform: translateX(-50%) translateY(-2px) scale(1.015,0.99); }
}

@keyframes refinedBubbleMediumLeft {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-3px) scale(1.02,0.98); }
  68% { transform: translateY(2px) scale(0.97,1.03); }
}

@keyframes refinedBubbleMediumRight {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(2px) scale(0.98,1.02); }
  63% { transform: translateY(-4px) scale(1.02,0.98); }
}

@keyframes refinedBubbleSmallLeft {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-2px) scale(1.05,0.95); }
  72% { transform: translateY(1px) scale(0.96,1.03); }
}

@keyframes refinedBubbleSmallRight {
  0%, 100% { transform: translateY(0) scale(1); }
  36% { transform: translateY(1px) scale(0.95,1.04); }
  70% { transform: translateY(-3px) scale(1.04,0.96); }
}

@keyframes refinedDotFloatLeft {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-1px,-4px,0) scale(1.08); }
}

@keyframes refinedDotFloatRight {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(1px,-3px,0) scale(1.06); }
}

@keyframes refinedBubbleShine {
  0%, 100% { transform: translateX(-130%) rotate(4deg); opacity: 0; }
  18% { opacity: 0; }
  42% { opacity: 0.88; }
  58% { opacity: 0; }
  100% { transform: translateX(130%) rotate(4deg); }
}

@keyframes refinedPageSheen {
  0%, 100% { transform: translateX(-52%) rotate(4deg); opacity: 0.24; }
  50% { transform: translateX(42%) rotate(4deg); opacity: 0.52; }
}

@keyframes refinedPoolShine {
  0%, 100% { transform: translateX(-130%) rotate(6deg); opacity: 0; }
  22% { opacity: 0; }
  48% { opacity: 0.75; }
  65% { opacity: 0; }
  100% { transform: translateX(126%) rotate(6deg); }
}

@keyframes refinedTopPoolFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(8px,6px,0) scale(1.016); }
}

@keyframes refinedBottomPoolFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-9px,-8px,0) scale(1.018); }
}

@keyframes refinedHazeDrift {
  0%, 100% { transform: translate(-50%, -50%) scale(0.98); opacity: 0.26; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.42; }
}

@keyframes refinedLeafSway {
  0%, 100% { transform: rotate(-1deg) translate3d(0,0,0); opacity: 0.18; }
  50% { transform: rotate(1.8deg) translate3d(7px,-3px,0); opacity: 0.26; }
}

@keyframes refinedProgressMove {
  0% { transform: translateX(-136%); }
  100% { transform: translateX(210%); }
}

@media (max-width: 900px) {
  .refined-liquid-preloader .refined-bubble-row {
    width: min(520px, 88vw);
    margin-top: 34px;
    margin-bottom: 46px;
  }

  .refined-liquid-preloader .bubble-large {
    width: 126px;
    height: 86px;
  }

  .refined-liquid-preloader .bubble-medium {
    width: 72px;
    height: 72px;
    top: 24px;
  }

  .refined-liquid-preloader .bubble-small {
    width: 42px;
    height: 42px;
    top: 36px;
  }

  .refined-liquid-preloader .bubble-dot {
    top: 48px;
  }

  .refined-liquid-preloader .refined-pool-top {
    width: min(42vw, 420px);
    height: min(38vw, 330px);
  }

  .refined-liquid-preloader .refined-pool-bottom {
    width: min(38vw, 340px);
    height: min(34vw, 300px);
  }
}

@media (max-width: 640px) {
  .refined-liquid-preloader .site-preloader-inner {
    width: min(100%, calc(100% - 28px));
  }

  .refined-liquid-preloader .refined-brand-copy strong {
    font-size: clamp(40px, 12vw, 58px);
  }

  .refined-liquid-preloader .refined-brand-copy span {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .refined-liquid-preloader .refined-bubble-row {
    width: min(360px, 94vw);
    height: 108px;
    margin-top: 28px;
    margin-bottom: 38px;
  }

  .refined-liquid-preloader .bubble-dot-left { left: 9%; }
  .refined-liquid-preloader .bubble-dot-right { right: 9%; }
  .refined-liquid-preloader .bubble-small-left { left: 19%; }
  .refined-liquid-preloader .bubble-small-right { right: 19%; }
  .refined-liquid-preloader .bubble-medium-left { left: 29%; }
  .refined-liquid-preloader .bubble-medium-right { right: 29%; }
  .refined-liquid-preloader .bubble-large {
    width: 112px;
    height: 76px;
    top: 12px;
  }

  .refined-liquid-preloader .bubble-medium {
    width: 60px;
    height: 60px;
    top: 24px;
  }

  .refined-liquid-preloader .bubble-small {
    width: 34px;
    height: 34px;
    top: 36px;
  }

  .refined-liquid-preloader .bubble-dot {
    width: 14px;
    height: 14px;
    top: 46px;
  }

  .refined-liquid-preloader .refined-status {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .refined-liquid-preloader .refined-progress {
    width: 64px;
    height: 7px;
    margin-top: 12px;
  }

  .refined-liquid-preloader .refined-pool-top {
    width: 56vw;
    height: 44vw;
    top: -3%;
    left: -10%;
  }

  .refined-liquid-preloader .refined-pool-bottom {
    width: 50vw;
    height: 40vw;
    right: -10%;
    bottom: -3%;
  }

  .refined-liquid-preloader .refined-leaf-shadow {
    width: 48vw;
    height: 56vw;
    left: -14%;
    bottom: 0;
    opacity: 0.18;
  }

  .refined-liquid-preloader .refined-liquid-haze-a {
    width: 240px;
    height: 180px;
  }

  .refined-liquid-preloader .refined-liquid-haze-b {
    width: 180px;
    height: 140px;
    right: -2%;
    top: 13%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refined-liquid-preloader .refined-logo-shell,
  .refined-liquid-preloader .refined-bubble-row,
  .refined-liquid-preloader .refined-row-shadow,
  .refined-liquid-preloader .refined-bubble,
  .refined-liquid-preloader .refined-bubble::after,
  .refined-liquid-preloader .refined-pool,
  .refined-liquid-preloader .refined-pool::before,
  .refined-liquid-preloader .refined-leaf-shadow,
  .refined-liquid-preloader .refined-liquid-haze,
  .refined-liquid-preloader .refined-page-sheen,
  .refined-liquid-preloader .refined-progress span {
    animation: none !important;
  }
}


/* =========================================================
   HIGH-RES LIQUID REFERENCE PRELOADER — VERSI 24
   ========================================================= */

html.preloader-first .liquid-reference-preloader {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fdfefd 0%, #f9fcfb 38%, #f1f8f5 100%);
}

.liquid-reference-preloader {
  isolation: isolate;
}

.liquid-preloader-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(163, 241, 232, 0.08), transparent 22%),
    radial-gradient(circle at 80% 28%, rgba(196, 244, 237, 0.26), transparent 24%),
    linear-gradient(135deg, #fdfefd 0%, #f8fbfa 45%, #f2f8f6 100%);
}

.site-preloader.is-leaving .liquid-preloader-stage {
  opacity: 0;
  transform: scale(1.012);
}

.liquid-preloader-stage {
  transition: opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1), transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
}

.liquid-preloader-backdrop {
  position: absolute;
  inset: 0;
}

.liquid-pool {
  position: absolute;
  border: 1.5px solid rgba(230, 243, 240, 0.92);
  background:
    radial-gradient(circle at 26% 18%, rgba(255,255,255,0.95), rgba(255,255,255,0.2) 28%, transparent 48%),
    radial-gradient(circle at 76% 74%, rgba(97, 219, 205, 0.18), transparent 38%),
    linear-gradient(140deg, rgba(255,255,255,0.82) 0%, rgba(246,251,249,0.78) 46%, rgba(223,243,238,0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.96),
    inset 28px 26px 56px rgba(255,255,255,0.72),
    inset -18px -18px 40px rgba(152, 230, 220, 0.22),
    0 28px 48px rgba(187, 214, 210, 0.16);
  overflow: hidden;
}

.liquid-pool::before,
.liquid-pool::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: inherit;
}

.liquid-pool::before {
  background: linear-gradient(118deg, rgba(255,255,255,0.54), rgba(255,255,255,0) 44%);
  mix-blend-mode: screen;
  opacity: 0.95;
}

.liquid-pool::after {
  inset: auto;
  width: 42%;
  height: 110%;
  top: -8%;
  left: -14%;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.62), rgba(255,255,255,0.04));
  transform: rotate(12deg) translateX(-120%);
  filter: blur(6px);
  animation: poolSheen 10s ease-in-out infinite;
}

.liquid-pool-top {
  width: min(31vw, 486px);
  aspect-ratio: 1.14;
  left: min(-7.5vw, -115px);
  top: min(-7.2vw, -110px);
  border-radius: 62% 38% 59% 41% / 58% 33% 67% 42%;
  animation: poolFloatTop 12s ease-in-out infinite;
}

.liquid-pool-bottom {
  width: min(27vw, 414px);
  aspect-ratio: 0.96;
  right: min(-7vw, -105px);
  bottom: min(-8vw, -120px);
  border-radius: 52% 48% 63% 37% / 36% 43% 57% 64%;
  animation: poolFloatBottom 13s ease-in-out infinite;
}

.liquid-leaf-shadow {
  position: absolute;
  left: min(-2vw, -18px);
  bottom: 16%;
  width: min(22vw, 320px);
  height: min(38vw, 520px);
  filter: blur(16px);
  opacity: 0.18;
  transform-origin: 18% 100%;
  animation: leafDrift 12s ease-in-out infinite;
}

.liquid-leaf-shadow .leaf {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44%;
  height: 26%;
  border-radius: 10% 84% 16% 88% / 12% 86% 14% 88%;
  background: radial-gradient(circle at 38% 38%, rgba(74, 94, 86, 0.22), rgba(74, 94, 86, 0.10) 55%, rgba(74, 94, 86, 0) 72%);
}

.liquid-leaf-shadow .leaf-a { transform: translate(10px, -12px) rotate(-22deg) scale(1.45); }
.liquid-leaf-shadow .leaf-b { transform: translate(58px, 88px) rotate(-12deg) scale(1.15); }
.liquid-leaf-shadow .leaf-c { transform: translate(42px, 190px) rotate(-28deg) scale(1.32); }
.liquid-leaf-shadow .leaf-d { transform: translate(88px, 290px) rotate(-14deg) scale(1.12); }

.liquid-page-sheen {
  position: absolute;
  inset: -12%;
  background: linear-gradient(112deg, transparent 32%, rgba(255,255,255,0.04) 42%, rgba(255,255,255,0.36) 50%, rgba(255,255,255,0.05) 58%, transparent 66%);
  mix-blend-mode: screen;
  opacity: 0.85;
  transform: translateX(-54%) rotate(3deg);
  animation: pageSheenSweep 11s ease-in-out infinite;
}

.liquid-preloader-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(780px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
}

.site-preloader.is-leaving .liquid-preloader-core {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 10px)) scale(0.986);
}

.liquid-preloader-core {
  transition: transform 0.84s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.74s ease;
}

.liquid-brand-mark {
  width: clamp(100px, 8.2vw, 126px);
  height: clamp(100px, 8.2vw, 126px);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  filter: drop-shadow(0 20px 26px rgba(23, 197, 181, 0.16));
  animation: brandFloat 6.8s ease-in-out infinite;
}

.liquid-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  transform: translateZ(0);
}

.liquid-brand-copy strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 5.2vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #0d5f58;
  text-shadow: 0 8px 16px rgba(255,255,255,0.75);
}

.liquid-brand-copy span {
  display: block;
  margin-top: 12px;
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(13, 95, 88, 0.86);
}

.liquid-bubble-shell {
  position: relative;
  width: min(560px, calc(100vw - 78px));
  height: clamp(104px, 10vw, 128px);
  margin-top: 30px;
  display: grid;
  place-items: center;
}

.liquid-bubble-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: rgba(255,255,255,0.36);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.62),
    inset 0 22px 34px rgba(255,255,255,0.36),
    0 18px 36px rgba(184, 218, 212, 0.16);
  backdrop-filter: blur(8px);
}

.liquid-bubble-row {
  position: relative;
  width: calc(100% - 28px);
  height: 100%;
}

.liquid-bubble {
  position: absolute;
  top: 50%;
  display: block;
  border-radius: 58% 42% 54% 46% / 43% 58% 42% 57%;
  background:
    radial-gradient(circle at 28% 26%, rgba(255,255,255,0.98) 0 13%, rgba(255,255,255,0.35) 21%, transparent 30%),
    radial-gradient(circle at 68% 72%, rgba(28, 198, 185, 0.36), transparent 46%),
    linear-gradient(150deg, rgba(255,255,255,0.65) 0%, rgba(234,249,246,0.78) 28%, rgba(168,239,231,0.84) 60%, rgba(72,211,197,0.84) 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.72),
    inset 12px 12px 24px rgba(255,255,255,0.42),
    inset -16px -18px 24px rgba(23, 188, 175, 0.18),
    0 16px 26px rgba(35, 190, 177, 0.14),
    0 10px 14px rgba(255,255,255,0.6);
  filter: saturate(1.03);
  transform-origin: center;
}

.liquid-bubble::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 40%;
  left: 18%;
  top: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.88), rgba(255,255,255,0.14) 72%, transparent 74%);
  filter: blur(0.8px);
}

.bubble-1 { width: 22px; height: 22px; left: 10px; margin-top: -10px; animation: bubbleFloat1 4.8s ease-in-out infinite; }
.bubble-2 { width: 36px; height: 36px; left: 62px; margin-top: -18px; animation: bubbleFloat2 6s ease-in-out infinite; }
.bubble-3 { width: 74px; height: 82px; left: 120px; margin-top: -42px; animation: bubbleFloat3 6.8s ease-in-out infinite; }
.bubble-4 { width: 144px; height: 96px; left: 206px; margin-top: -48px; animation: bubbleFloat4 7s ease-in-out infinite; z-index: 2; }
.bubble-5 { width: 76px; height: 84px; left: 386px; margin-top: -42px; animation: bubbleFloat5 6.6s ease-in-out infinite; }
.bubble-6 { width: 22px; height: 22px; left: calc(100% - 34px); margin-top: -10px; animation: bubbleFloat6 5.2s ease-in-out infinite; }

.liquid-bubble-reflection {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 58%;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(123, 218, 208, 0.28) 0%, rgba(123, 218, 208, 0.10) 42%, transparent 72%);
  filter: blur(14px);
  opacity: 0.9;
  animation: reflectionPulse 6.6s ease-in-out infinite;
}

.liquid-status {
  margin-top: 32px;
  font-size: clamp(14px, 0.92vw, 16px);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(13, 95, 88, 0.82);
}

.liquid-progress {
  position: relative;
  width: 120px;
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(208, 229, 224, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.62);
  overflow: hidden;
}

.liquid-progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1ec8b8, #7be7da);
  box-shadow: 0 0 18px rgba(30, 200, 184, 0.36);
  animation: progressSlide 2.25s ease-in-out infinite;
}

@keyframes brandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes bubbleFloat1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(0px,-2px) scale(1.06, 0.94); }
}
@keyframes bubbleFloat2 {
  0%, 100% { transform: translate(0,0) scale(1,1); border-radius: 56% 44% 58% 42% / 46% 58% 42% 54%; }
  50% { transform: translate(2px,-4px) scale(1.03, 0.97); border-radius: 50% 50% 44% 56% / 58% 42% 58% 42%; }
}
@keyframes bubbleFloat3 {
  0%, 100% { transform: translate(0,0) scale(1,1); border-radius: 56% 44% 60% 40% / 42% 60% 40% 58%; }
  35% { transform: translate(-2px,-5px) scale(1.04, 0.97); border-radius: 52% 48% 46% 54% / 58% 42% 58% 42%; }
  70% { transform: translate(2px,2px) scale(0.98, 1.03); border-radius: 62% 38% 57% 43% / 46% 54% 46% 54%; }
}
@keyframes bubbleFloat4 {
  0%, 100% { transform: translate(0,0) scale(1,1); border-radius: 58% 42% 54% 46% / 42% 58% 42% 58%; }
  32% { transform: translate(3px,-6px) scale(1.035, 0.965); border-radius: 52% 48% 46% 54% / 58% 42% 56% 44%; }
  68% { transform: translate(-3px,3px) scale(0.985, 1.02); border-radius: 62% 38% 58% 42% / 46% 54% 40% 60%; }
}
@keyframes bubbleFloat5 {
  0%, 100% { transform: translate(0,0) scale(1,1); border-radius: 48% 52% 60% 40% / 42% 60% 40% 58%; }
  50% { transform: translate(-2px,-5px) scale(1.03, 0.97); border-radius: 56% 44% 46% 54% / 58% 42% 56% 44%; }
}
@keyframes bubbleFloat6 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(0px,-3px) scale(1.08, 0.92); }
}

@keyframes reflectionPulse {
  0%, 100% { opacity: 0.68; transform: translateX(-50%) scaleX(0.96); }
  50% { opacity: 0.95; transform: translateX(-50%) scaleX(1.03); }
}

@keyframes progressSlide {
  0% { transform: translateX(-105%); }
  18% { transform: translateX(-62%); }
  50% { transform: translateX(56%); }
  82% { transform: translateX(118%); }
  100% { transform: translateX(140%); }
}

@keyframes poolFloatTop {
  0%, 100% { transform: translate3d(0,0,0) scale(1); border-radius: 62% 38% 59% 41% / 58% 33% 67% 42%; }
  50% { transform: translate3d(7px, 5px, 0) scale(1.015); border-radius: 58% 42% 63% 37% / 62% 36% 64% 38%; }
}

@keyframes poolFloatBottom {
  0%, 100% { transform: translate3d(0,0,0) scale(1); border-radius: 52% 48% 63% 37% / 36% 43% 57% 64%; }
  50% { transform: translate3d(-8px, -6px, 0) scale(1.02); border-radius: 48% 52% 58% 42% / 40% 48% 52% 60%; }
}

@keyframes poolSheen {
  0%, 100% { transform: rotate(12deg) translateX(-120%); opacity: 0.28; }
  45% { opacity: 0.46; }
  50% { transform: rotate(12deg) translateX(220%); opacity: 0.54; }
}

@keyframes leafDrift {
  0%, 100% { transform: rotate(-1.5deg) translate3d(0,0,0); opacity: 0.14; }
  50% { transform: rotate(2deg) translate3d(6px,-4px,0); opacity: 0.22; }
}

@keyframes pageSheenSweep {
  0%, 100% { transform: translateX(-58%) rotate(3deg); opacity: 0.22; }
  50% { transform: translateX(44%) rotate(3deg); opacity: 0.55; }
}

@media (max-width: 900px) {
  .liquid-brand-copy strong {
    font-size: clamp(44px, 10vw, 66px);
  }
  .liquid-brand-copy span {
    font-size: 16px;
    letter-spacing: 0.06em;
  }
  .liquid-bubble-shell {
    width: min(520px, calc(100vw - 40px));
    height: 110px;
  }
  .liquid-status {
    letter-spacing: 0.22em;
  }
  .liquid-pool-top {
    width: min(40vw, 360px);
    top: -76px;
    left: -90px;
  }
  .liquid-pool-bottom {
    width: min(35vw, 300px);
    right: -82px;
    bottom: -88px;
  }
}

@media (max-width: 640px) {
  .liquid-preloader-core {
    width: min(100%, calc(100% - 24px));
  }
  .liquid-brand-mark {
    width: 88px;
    height: 88px;
    margin-bottom: 14px;
  }
  .liquid-brand-copy strong {
    font-size: clamp(36px, 12vw, 52px);
  }
  .liquid-brand-copy span {
    font-size: 14px;
  }
  .liquid-bubble-shell {
    width: calc(100vw - 28px);
    max-width: 420px;
    height: 96px;
    margin-top: 24px;
  }
  .liquid-status {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-top: 26px;
  }
  .liquid-progress {
    width: 98px;
    height: 10px;
  }
  .liquid-pool-top {
    width: 210px;
    left: -92px;
    top: -88px;
  }
  .liquid-pool-bottom {
    width: 190px;
    right: -84px;
    bottom: -96px;
  }
  .liquid-leaf-shadow {
    width: 190px;
    height: 300px;
    left: -32px;
    bottom: 16%;
    opacity: 0.12;
  }
  .bubble-1 { width: 18px; height: 18px; left: 8px; margin-top: -8px; }
  .bubble-2 { width: 28px; height: 28px; left: 44px; margin-top: -14px; }
  .bubble-3 { width: 56px; height: 62px; left: 92px; margin-top: -31px; }
  .bubble-4 { width: 112px; height: 76px; left: 158px; margin-top: -38px; }
  .bubble-5 { width: 58px; height: 66px; left: 292px; margin-top: -33px; }
  .bubble-6 { width: 18px; height: 18px; left: calc(100% - 28px); margin-top: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .liquid-brand-mark,
  .liquid-pool,
  .liquid-pool::after,
  .liquid-leaf-shadow,
  .liquid-page-sheen,
  .liquid-bubble,
  .liquid-bubble-reflection,
  .liquid-progress span {
    animation: none !important;
  }
}

/* =========================================================
   VECTOR LIQUID PRELOADER — VERSI 25
   Mirip referensi: logo rounded, liquid glass, sudut menyatu
   ========================================================= */

html.preloader-first .vector-liquid-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(159, 237, 228, 0.07), transparent 28%),
    radial-gradient(circle at 86% 36%, rgba(187, 238, 230, 0.22), transparent 32%),
    linear-gradient(135deg, #fefefd 0%, #fbfcfb 42%, #f2f8f6 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.86s cubic-bezier(0.22,1,0.36,1), visibility 0.86s linear;
}

.vector-liquid-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-liquid-environment {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.environment-light-sweep {
  mix-blend-mode: screen;
  opacity: 0.58;
}

.vector-preloader-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: min(820px, calc(100% - 36px));
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: transform 0.84s cubic-bezier(0.22,1,0.36,1), opacity 0.74s ease;
}

.vector-liquid-preloader.is-leaving .vector-preloader-core {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 12px)) scale(0.987);
}

.vector-brand-logo {
  width: clamp(104px, 7.8vw, 124px);
  height: clamp(104px, 7.8vw, 124px);
  overflow: hidden;
  border-radius: 28%;
  background: #1fc1b0;
  box-shadow: 0 19px 35px rgba(24, 192, 176, 0.15), inset 0 1px 0 rgba(255,255,255,0.25);
  animation: vectorLogoFloat 6.4s ease-in-out infinite;
}

.vector-brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  image-rendering: auto;
}

.vector-brand-copy {
  margin-top: 17px;
}

.vector-brand-copy strong {
  display: block;
  color: #0d5a54;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(53px, 5vw, 80px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 18px rgba(255,255,255,0.85);
}

.vector-brand-copy span {
  display: block;
  margin-top: 13px;
  color: rgba(13,90,84,0.88);
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 1.18vw, 20px);
  letter-spacing: 0.075em;
}

.vector-liquid-bubbles {
  width: min(640px, calc(100vw - 48px));
  height: auto;
  margin-top: 27px;
  overflow: visible;
}

.vector-preloader-status {
  margin-top: 24px;
  color: rgba(13,90,84,0.88);
  font-family: Arial, sans-serif;
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 700;
  letter-spacing: 0.285em;
}

.vector-preloader-progress {
  position: relative;
  width: 112px;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(205,229,224,0.84);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9);
}

.vector-preloader-progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #20c7b7 0%, #7de4d9 100%);
  box-shadow: 0 0 14px rgba(32,199,183,0.28);
  animation: vectorProgress 2.05s ease-in-out infinite;
}

@keyframes vectorLogoFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes vectorProgress {
  0% { transform: translateX(-115%); }
  50% { transform: translateX(85%); }
  100% { transform: translateX(205%); }
}

@media (max-width: 760px) {
  .vector-preloader-core {
    width: min(100%, calc(100% - 18px));
  }

  .vector-brand-logo {
    width: 88px;
    height: 88px;
  }

  .vector-brand-copy {
    margin-top: 13px;
  }

  .vector-brand-copy strong {
    font-size: clamp(39px, 11vw, 54px);
  }

  .vector-brand-copy span {
    margin-top: 9px;
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .vector-liquid-bubbles {
    width: min(440px, calc(100vw - 18px));
    margin-top: 18px;
  }

  .vector-preloader-status {
    margin-top: 17px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .vector-preloader-progress {
    width: 96px;
    height: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vector-brand-logo,
  .vector-preloader-progress span {
    animation: none !important;
  }
}


/* =========================================================
   EXACT REFERENCE FADE PRELOADER — VERSI 26
   White canvas -> exact uploaded reference image -> website
   ========================================================= */
html.preloader-first .reference-image-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity .9s cubic-bezier(.22,1,.36,1), visibility .9s linear;
}
.reference-image-preloader.is-leaving { opacity:0; visibility:hidden; pointer-events:none; }
.reference-preloader-white { position:absolute; inset:0; z-index:1; background:#fff; opacity:1; transition:opacity 1s cubic-bezier(.22,1,.36,1); }
.reference-preloader-frame {
  position:relative;
  z-index:2;
  width:min(100vw,calc(100vh * 1.5));
  height:min(100vh,calc(100vw / 1.5));
  overflow:hidden;
  opacity:0;
  filter:blur(4px) saturate(.94);
  transform:scale(.992);
  transition:opacity 1s cubic-bezier(.22,1,.36,1),filter 1.05s cubic-bezier(.22,1,.36,1),transform 1.15s cubic-bezier(.22,1,.36,1);
}
.reference-image-preloader.is-art-visible .reference-preloader-white { opacity:0; }
.reference-image-preloader.is-art-visible .reference-preloader-frame { opacity:1; filter:blur(0) saturate(1); transform:scale(1); }
.reference-preloader-image { position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:contain; object-position:center; image-rendering:auto; transform:translateZ(0) scale(1.001); animation:referenceImageBreath 7s ease-in-out infinite; backface-visibility:hidden; }
.reference-preloader-sheen { position:absolute; inset:-15%; z-index:3; pointer-events:none; background:linear-gradient(112deg,transparent 33%,rgba(255,255,255,.03) 42%,rgba(255,255,255,.27) 50%,rgba(255,255,255,.04) 58%,transparent 67%); mix-blend-mode:screen; opacity:.48; transform:translateX(-62%) rotate(2deg); animation:referenceSheenSweep 7.5s ease-in-out infinite; }
.reference-progress-live { position:absolute; z-index:4; left:50%; top:76.6%; width:72px; height:7px; overflow:hidden; border-radius:999px; transform:translateX(-50%); pointer-events:none; opacity:.86; }
.reference-progress-live span { display:block; width:32px; height:100%; border-radius:inherit; background:linear-gradient(90deg,rgba(33,198,184,0),#22c5b5 32%,#72ddd2 72%,rgba(114,221,210,0)); box-shadow:0 0 10px rgba(34,197,181,.35); animation:referenceProgressMove 1.7s ease-in-out infinite; }
.reference-image-preloader.is-leaving .reference-preloader-frame { opacity:0; filter:blur(2px); transform:scale(1.008); transition-duration:.9s; }
@keyframes referenceImageBreath { 0%,100%{transform:translate3d(0,0,0) scale(1.001)} 50%{transform:translate3d(0,-1px,0) scale(1.004)} }
@keyframes referenceSheenSweep { 0%,100%{transform:translateX(-64%) rotate(2deg);opacity:.16} 48%{opacity:.46} 55%{transform:translateX(58%) rotate(2deg);opacity:.38} }
@keyframes referenceProgressMove { 0%{transform:translateX(-38px);opacity:.2} 20%,80%{opacity:1} 100%{transform:translateX(78px);opacity:.2} }
@media (min-aspect-ratio:3/2){.reference-preloader-frame{width:calc(100vh * 1.5);height:100vh}}
@media (max-aspect-ratio:3/2){.reference-preloader-frame{width:100vw;height:calc(100vw / 1.5)}}
@media (max-width:700px) and (orientation:portrait){
  .reference-preloader-frame{width:100vw;height:100vh}
  .reference-preloader-image{width:auto;min-width:100%;height:100%;left:50%;right:auto;object-fit:cover;transform:translateX(-50%) scale(1.002);animation:referenceImageBreathMobile 7s ease-in-out infinite}
  .reference-progress-live{display:none}
}
@keyframes referenceImageBreathMobile { 0%,100%{transform:translateX(-50%) translateY(0) scale(1.002)} 50%{transform:translateX(-50%) translateY(-1px) scale(1.006)} }
@media (prefers-reduced-motion:reduce){.reference-preloader-frame,.reference-preloader-white,.reference-preloader-image,.reference-preloader-sheen,.reference-progress-live span{animation:none!important;transition-duration:.15s!important}}


/* =========================================================
   HIGH-RES ORIGINAL LOGO OVERLAY — VERSI 27
   Menggantikan logo yang menyatu di gambar referensi.
   ========================================================= */
.reference-preloader-logo {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 31.55%;
  width: clamp(122px, 9.45%, 150px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 27%;
  transform: translate(-50%, -50%) translateZ(0);
  background: #1fc2b2;
  box-shadow:
    0 20px 34px rgba(23, 157, 145, 0.16),
    0 8px 16px rgba(23, 157, 145, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.22);
  animation: referenceLogoFloatV27 6.8s ease-in-out infinite;
  backface-visibility: hidden;
}
.reference-preloader-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  image-rendering: auto;
  transform: translateZ(0) scale(1.002);
}
.reference-image-preloader.is-leaving .reference-preloader-logo {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 7px)) scale(.985);
  transition: opacity .76s ease, transform .86s cubic-bezier(.22,1,.36,1);
}
@keyframes referenceLogoFloatV27 {
  0%,100% { transform: translate(-50%, -50%) translateY(0) scale(1); }
  50% { transform: translate(-50%, -50%) translateY(-3px) scale(1.012); }
}
@media (max-width:700px) and (orientation:portrait) {
  .reference-preloader-logo {
    top: 31.55%;
    width: clamp(96px, 28vw, 118px);
    border-radius: 27%;
  }
}
@media (prefers-reduced-motion:reduce) {
  .reference-preloader-logo { animation:none!important; }
}


/* =========================================================
   HOVER MEGA MENU + OPACITY REVEAL — VERSI 28
   ========================================================= */

:root {
  --mega-menu-top: 92px;
}

.site-header.editorial-header {
  z-index: 120;
}

.mega-menu-trigger {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 9px 10px !important;
  margin: -9px -10px;
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.mega-menu-trigger svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-menu-trigger::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-menu-trigger:hover,
.mega-menu-trigger.is-open {
  background: rgba(22, 194, 178, 0.08);
  color: var(--primary) !important;
}

.mega-menu-trigger.is-open svg {
  transform: rotate(180deg);
}

.mega-menu-trigger:hover::after,
.mega-menu-trigger.is-open::after {
  transform: scaleX(1);
}

.mega-menu-backdrop {
  position: fixed;
  top: var(--mega-menu-top);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 92;
  visibility: hidden;
  background: rgba(4, 31, 28, 0);
  backdrop-filter: blur(0);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.38s ease,
    background 0.38s ease,
    backdrop-filter 0.38s ease,
    visibility 0.38s linear;
}

.mega-menu-backdrop.is-open {
  visibility: visible;
  background: rgba(4, 31, 28, 0.25);
  backdrop-filter: blur(2.5px);
  opacity: 1;
  pointer-events: auto;
}

.products-mega-menu {
  position: fixed;
  top: var(--mega-menu-top);
  right: 0;
  left: 0;
  z-index: 110;
  max-height: calc(100svh - var(--mega-menu-top));
  overflow-x: hidden;
  overflow-y: auto;
  visibility: hidden;
  border-top: 1px solid rgba(8, 117, 108, 0);
  border-bottom: 1px solid rgba(8, 117, 108, 0);
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 30px 70px rgba(5, 45, 40, 0);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-13px);
  transform-origin: top center;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease,
    visibility 0.38s linear;
}

.products-mega-menu.is-open {
  visibility: visible;
  border-top-color: rgba(8, 117, 108, 0.12);
  border-bottom-color: rgba(8, 117, 108, 0.12);
  background: rgba(255, 255, 255, 0.975);
  box-shadow: 0 30px 70px rgba(5, 45, 40, 0.16);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-container {
  padding-top: 30px;
  padding-bottom: 20px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.2fr 1.24fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.mega-menu-column {
  min-width: 0;
  padding: 3px 0;
}

.mega-menu-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mega-menu-size-links {
  display: grid;
}

.mega-menu-size-links button,
.mega-menu-size-links a {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(8, 117, 108, 0.11);
  background: transparent;
  color: var(--primary-deep);
  text-align: left;
  transition: color 0.22s ease, padding-left 0.22s ease;
}

.mega-menu-size-links button:hover,
.mega-menu-size-links a:hover {
  padding-left: 5px;
  color: var(--primary);
}

.mega-menu-size-links span {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
}

.mega-menu-size-links small {
  color: var(--muted);
  font-size: 8px;
}

.mega-menu-type-list {
  display: grid;
  gap: 8px;
}

.mega-menu-type-list button,
.mega-menu-type-list a {
  min-height: 72px;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 117, 108, 0.12);
  border-radius: 14px;
  background: rgba(238, 250, 247, 0.45);
  color: var(--primary-deep);
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.mega-menu-type-list button:hover,
.mega-menu-type-list a:hover {
  border-color: rgba(24, 192, 176, 0.48);
  background: rgba(232, 249, 245, 0.92);
  box-shadow: 0 12px 25px rgba(8, 117, 108, 0.08);
  transform: translateY(-2px);
}

.mega-type-icon {
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff;
}

.mega-type-icon svg {
  width: 46px;
  height: 30px;
  fill: rgba(190, 132, 82, 0.5);
  stroke: #8c603d;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-menu-type-list strong,
.mega-menu-type-list small {
  display: block;
}

.mega-menu-type-list strong {
  font-size: 12px;
}

.mega-menu-type-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.mega-menu-feature-card {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  border-radius: 19px;
  background: var(--primary-deep);
}

.mega-menu-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-menu-feature-card:hover img {
  transform: scale(1.045);
}

.mega-menu-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 45, 40, 0.04), rgba(5, 45, 40, 0.78));
}

.mega-menu-feature-copy {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  color: #fff;
}

.mega-menu-feature-copy > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mega-menu-feature-copy h3 {
  max-width: 310px;
  margin: 7px 0 14px;
  font-family: "Playfair Display", serif;
  font-size: 23px;
  line-height: 1.05;
}

.mega-menu-feature-copy button,
.mega-menu-feature-copy a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  transition: background 0.22s ease, color 0.22s ease;
}

.mega-menu-feature-copy button:hover,
.mega-menu-feature-copy a:hover {
  background: #fff;
  color: var(--primary-deep);
}

.mega-menu-promo-stack {
  display: grid;
  grid-template-rows: 1.2fr 0.8fr;
  gap: 10px;
}

.mega-menu-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 17px;
}

.mega-menu-promo > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mega-menu-promo h3 {
  margin: 6px 0 7px;
  font-family: "Playfair Display", serif;
  font-size: 21px;
  line-height: 1.03;
}

.mega-menu-promo p {
  margin: 0 0 12px;
  font-size: 8px;
  line-height: 1.45;
  opacity: 0.76;
}

.mega-menu-promo button,
.mega-menu-promo a {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 8px;
  font-weight: 800;
}

.mega-menu-promo-dark {
  background: var(--primary-deep);
  color: #fff;
}

.mega-menu-promo-mint {
  background: linear-gradient(145deg, #ddf6f1, #c9eee7);
  color: var(--primary-deep);
}

.mega-menu-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(8, 117, 108, 0.12);
}

.mega-menu-footer > a {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.mega-menu-footer > a:hover {
  color: var(--primary);
}

.mega-menu-all-products {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--primary-deep);
  color: #fff !important;
  font-size: 9px;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease;
}

.mega-menu-all-products:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.mega-menu-all-products svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.mega-menu-open .hero,
body.mega-menu-open .renovation-hero {
  transition: filter 0.38s ease;
}

@media (max-width: 1120px) {
  .mega-menu-grid {
    grid-template-columns: 0.8fr 1.15fr 1.15fr;
  }

  .mega-menu-promo-stack {
    display: none;
  }
}

@media (max-width: 760px) {
  .products-mega-menu,
  .mega-menu-backdrop {
    display: none !important;
  }

  .mega-menu-trigger {
    width: 100%;
    justify-content: space-between;
    margin: 0;
    padding: 10px 8px !important;
    background: transparent !important;
  }

  .mega-menu-trigger::after {
    display: none;
  }
}


/* =========================================================
   MEGA MENU CSS FALLBACK — VERSI 29
   Tetap terbuka saat hover/focus meskipun JavaScript belum termuat.
   ========================================================= */
@media (min-width: 761px) {
  body:has(#productsMegaTrigger:hover) #productsMegaMenu,
  body:has(#productsMegaTrigger:focus-visible) #productsMegaMenu,
  body:has(#productsMegaMenu:hover) #productsMegaMenu,
  body:has(#productsMegaMenu:focus-within) #productsMegaMenu {
    visibility: visible;
    border-top-color: rgba(8, 117, 108, 0.12);
    border-bottom-color: rgba(8, 117, 108, 0.12);
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 30px 70px rgba(5, 45, 40, 0.16);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body:has(#productsMegaTrigger:hover) #megaMenuBackdrop,
  body:has(#productsMegaTrigger:focus-visible) #megaMenuBackdrop,
  body:has(#productsMegaMenu:hover) #megaMenuBackdrop,
  body:has(#productsMegaMenu:focus-within) #megaMenuBackdrop {
    visibility: visible;
    background: rgba(4, 31, 28, 0.25);
    backdrop-filter: blur(2.5px);
    opacity: 1;
    pointer-events: auto;
  }

  body:has(#productsMegaTrigger:hover) #productsMegaTrigger,
  body:has(#productsMegaTrigger:focus-visible) #productsMegaTrigger,
  body:has(#productsMegaMenu:hover) #productsMegaTrigger,
  body:has(#productsMegaMenu:focus-within) #productsMegaTrigger {
    background: rgba(22, 194, 178, 0.08);
    color: var(--primary) !important;
  }

  body:has(#productsMegaTrigger:hover) #productsMegaTrigger svg,
  body:has(#productsMegaTrigger:focus-visible) #productsMegaTrigger svg,
  body:has(#productsMegaMenu:hover) #productsMegaTrigger svg,
  body:has(#productsMegaMenu:focus-within) #productsMegaTrigger svg {
    transform: rotate(180deg);
  }

  body:has(#productsMegaTrigger:hover) #productsMegaTrigger::after,
  body:has(#productsMegaTrigger:focus-visible) #productsMegaTrigger::after,
  body:has(#productsMegaMenu:hover) #productsMegaTrigger::after,
  body:has(#productsMegaMenu:focus-within) #productsMegaTrigger::after {
    transform: scaleX(1);
  }
}


/* =========================================================
   TRANSPARENT-TO-SOLID HOVER HEADER — VERSI 31
   Header halaman utama menyatu dengan hero saat pertama dibuka.
   Teks tetap penuh tanpa shadow, lalu header menjadi putih solid
   saat hover, focus, atau mega menu terbuka.
   ========================================================= */

@media (min-width: 761px) {
  /* Khusus halaman utama: hero masuk ke belakang header. */
  body:not(.renovation-page) > .site-header.editorial-header {
    margin-bottom: -92px;
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    transition:
      background-color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.34s ease,
      box-shadow 0.34s ease,
      backdrop-filter 0.34s ease,
      opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.82s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.82s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  /* Tinggi hero dikompensasi karena header sekarang menumpuk di atas gambar. */
  body:not(.renovation-page) .nordic-hero {
    height: calc(100svh - 62px);
    max-height: 912px;
  }

  /* Seluruh teks dan ikon tetap tajam, tanpa text shadow. */
  body:not(.renovation-page) > .site-header.editorial-header .editorial-main-nav a,
  body:not(.renovation-page) > .site-header.editorial-header .nav-icon-action,
  body:not(.renovation-page) > .site-header.editorial-header .editorial-brand .brand-copy strong,
  body:not(.renovation-page) > .site-header.editorial-header .editorial-brand .brand-copy small {
    opacity: 1 !important;
    text-shadow: none !important;
    transition: color 0.28s ease, opacity 0.28s ease;
  }

  body:not(.renovation-page) > .site-header.editorial-header:hover,
  body:not(.renovation-page) > .site-header.editorial-header:focus-within,
  body.mega-menu-open:not(.renovation-page) > .site-header.editorial-header,
  body:not(.renovation-page):has(#productsMegaMenu:hover) > .site-header.editorial-header,
  body:not(.renovation-page):has(#productsMegaMenu:focus-within) > .site-header.editorial-header {
    background: #ffffff !important;
    border-bottom-color: rgba(8, 117, 108, 0.13) !important;
    box-shadow: 0 16px 42px rgba(5, 45, 40, 0.11) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
  }

  body:not(.renovation-page) > .site-header.editorial-header:hover .editorial-main-nav a,
  body:not(.renovation-page) > .site-header.editorial-header:hover .nav-icon-action,
  body:not(.renovation-page) > .site-header.editorial-header:hover .editorial-brand .brand-copy strong,
  body:not(.renovation-page) > .site-header.editorial-header:hover .editorial-brand .brand-copy small,
  body:not(.renovation-page) > .site-header.editorial-header:focus-within .editorial-main-nav a,
  body:not(.renovation-page) > .site-header.editorial-header:focus-within .nav-icon-action,
  body:not(.renovation-page) > .site-header.editorial-header:focus-within .editorial-brand .brand-copy strong,
  body:not(.renovation-page) > .site-header.editorial-header:focus-within .editorial-brand .brand-copy small,
  body.mega-menu-open:not(.renovation-page) > .site-header.editorial-header .editorial-main-nav a,
  body.mega-menu-open:not(.renovation-page) > .site-header.editorial-header .nav-icon-action,
  body.mega-menu-open:not(.renovation-page) > .site-header.editorial-header .editorial-brand .brand-copy strong,
  body.mega-menu-open:not(.renovation-page) > .site-header.editorial-header .editorial-brand .brand-copy small {
    text-shadow: none !important;
  }
}

/* Smartphone tetap solid supaya menu dan ikon selalu mudah dibaca. */
@media (max-width: 760px) {
  .site-header.editorial-header {
    background: rgba(255, 255, 255, 0.97) !important;
    opacity: 1 !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }
}


/* =========================================================
   FROSTED AUTO-HIDE HEADER + NAV UNDERLINE — VERSI 33
   Desktop/laptop:
   - Header berupa frosted glass, tetap tembus ke konten di belakang.
   - Scroll turun menyembunyikan header.
   - Scroll naik atau arahkan pointer ke tepi atas layar memunculkannya.
   - Hover/focus membuat header lebih solid agar navigasi terbaca.
   - Tautan navigasi memakai garis bawah warna identitas Superdecor.
   ========================================================= */

@media (min-width: 761px) {
  body:not(.renovation-page) > .site-header.editorial-header {
    background: rgba(255, 255, 255, 0.42) !important;
    border-bottom-color: rgba(8, 117, 108, 0.10) !important;
    box-shadow: 0 10px 36px rgba(5, 45, 40, 0.055) !important;
    backdrop-filter: saturate(145%) blur(19px) !important;
    -webkit-backdrop-filter: saturate(145%) blur(19px) !important;
    transform: translate3d(0, 0, 0);
    will-change: transform, background-color, box-shadow, backdrop-filter;
    pointer-events: auto;
    transition:
      transform 0.58s cubic-bezier(0.22, 0.80, 0.25, 1),
      background-color 0.32s ease,
      border-color 0.32s ease,
      box-shadow 0.32s ease,
      backdrop-filter 0.32s ease,
      -webkit-backdrop-filter 0.32s ease !important;
  }

  body:not(.renovation-page) > .site-header.editorial-header.is-hidden {
    transform: translate3d(0, calc(-100% - 6px), 0) !important;
    pointer-events: none;
  }

  body:not(.renovation-page) > .site-header.editorial-header.is-visible {
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto;
  }

  body:not(.renovation-page) > .site-header.editorial-header:hover,
  body:not(.renovation-page) > .site-header.editorial-header:focus-within,
  body.mega-menu-open:not(.renovation-page) > .site-header.editorial-header,
  body:not(.renovation-page):has(#productsMegaMenu:hover) > .site-header.editorial-header,
  body:not(.renovation-page):has(#productsMegaMenu:focus-within) > .site-header.editorial-header {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom-color: rgba(8, 117, 108, 0.14) !important;
    box-shadow: 0 16px 42px rgba(5, 45, 40, 0.11) !important;
    backdrop-filter: saturate(120%) blur(16px) !important;
    -webkit-backdrop-filter: saturate(120%) blur(16px) !important;
  }

  /* Garis bawah interaktif untuk tab navigasi selain Produk. */
  .editorial-main-nav > a:not(.mega-menu-trigger) {
    position: relative;
    padding-block: 10px;
  }

  .editorial-main-nav > a:not(.mega-menu-trigger)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-dark);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .editorial-main-nav > a:not(.mega-menu-trigger):hover::after,
  .editorial-main-nav > a:not(.mega-menu-trigger):focus-visible::after,
  .editorial-main-nav > a:not(.mega-menu-trigger).active::after {
    transform: scaleX(1);
  }

  /* Samakan garis menu Produk dengan warna tema. */
  .mega-menu-trigger::after {
    height: 2px;
    background: var(--primary-dark) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.renovation-page) > .site-header.editorial-header {
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   SINGLE PRODUCT MEGA MENU — VERSI 34
   Hanya menampilkan satu visual produk utama sebelum katalog.
   ========================================================= */
@media (min-width: 761px) {
  .mega-menu-single-container {
    display: flex;
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .mega-menu-single-card {
    width: min(100%, 760px);
    min-height: 350px;
    aspect-ratio: 19 / 9;
    border-radius: 22px;
    box-shadow: 0 20px 48px rgba(5, 45, 40, 0.16);
  }

  .mega-menu-single-card img {
    object-position: center 68%;
  }

  .mega-menu-single-card .mega-menu-feature-overlay {
    background:
      linear-gradient(90deg, rgba(5, 45, 40, 0.62) 0%, rgba(5, 45, 40, 0.22) 48%, rgba(5, 45, 40, 0.05) 100%),
      linear-gradient(180deg, rgba(5, 45, 40, 0.02) 35%, rgba(5, 45, 40, 0.56) 100%);
  }

  .mega-menu-single-card .mega-menu-feature-copy {
    right: auto;
    bottom: 26px;
    left: 28px;
    max-width: 390px;
  }

  .mega-menu-single-card .mega-menu-feature-copy > span {
    font-size: 9px;
  }

  .mega-menu-single-card .mega-menu-feature-copy h3 {
    max-width: 390px;
    margin: 8px 0 18px;
    font-size: clamp(25px, 2.4vw, 34px);
    line-height: 1.02;
  }

  .mega-menu-single-card .mega-menu-feature-copy button {
    min-height: 42px;
    padding: 0 17px;
    font-size: 10px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .mega-menu-single-card {
    min-height: 310px;
  }
}


/* =========================================================
   COMPACT SINGLE PRODUCT MEGA MENU — VERSI 35
   Panel dibuat lebih ringkas, sudut bawah rounded, dan kartu
   produk diposisikan ke kiri di bawah navigasi Produk.
   ========================================================= */
@media (min-width: 761px) {
  .products-mega-menu {
    right: auto;
    left: 50%;
    width: min(1300px, calc(100% - 96px));
    border-radius: 0 0 26px 26px;
    overflow: hidden auto;
    transform: translate(-50%, -13px);
  }

  .products-mega-menu.is-open {
    transform: translate(-50%, 0);
  }

  .mega-menu-single-container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    justify-content: flex-start;
    padding: 20px clamp(24px, 12vw, 160px) 22px;
  }

  .mega-menu-single-card {
    width: 420px;
    min-height: 268px;
    aspect-ratio: 8 / 5;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(5, 45, 40, 0.14);
  }

  .mega-menu-single-card img {
    object-position: center 64%;
  }

  .mega-menu-single-card .mega-menu-feature-copy {
    right: 20px;
    bottom: 20px;
    left: 22px;
    max-width: 345px;
  }

  .mega-menu-single-card .mega-menu-feature-copy > span {
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.1em;
  }

  .mega-menu-single-card .mega-menu-feature-copy h3 {
    max-width: 330px;
    margin: 7px 0 15px;
    font-size: clamp(20px, 1.75vw, 25px);
    line-height: 1.05;
  }

  .mega-menu-single-card .mega-menu-feature-copy button {
    min-height: 44px;
    padding: 0 18px;
    font-size: 11px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .products-mega-menu {
    width: min(860px, calc(100% - 48px));
  }

  .mega-menu-single-container {
    padding-right: 48px;
    padding-left: 48px;
  }

  .mega-menu-single-card {
    width: 390px;
    min-height: 248px;
  }
}

/* =========================================================
   CENTERED PRODUCT MEGA MENU PANEL — VERSI 36
   Panel dropdown Produk dipusatkan secara stabil memakai
   left/right + margin auto, tanpa bergantung pada translateX.
   Posisi kartu produk di dalam panel tetap di sisi kiri sesuai V35.
   ========================================================= */
@media (min-width: 761px) {
  .products-mega-menu {
    left: 0 !important;
    right: 0 !important;
    width: min(1300px, calc(100vw - 96px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    transform: translateY(-13px) !important;
  }

  .products-mega-menu.is-open {
    transform: translateY(0) !important;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .products-mega-menu {
    width: min(860px, calc(100vw - 48px)) !important;
  }
}


/* =========================================================
   MODAL NAVIGATION CLEANUP — VERSI 37
   Saat katalog/detail produk terbuka, navbar dan mega menu
   disembunyikan agar tidak menumpuk di atas popup.
   ========================================================= */
.catalog-modal {
  z-index: 320;
}

.product-modal {
  z-index: 330;
}

@media (min-width: 761px) {
  body.catalog-modal-open > .site-header.editorial-header,
  body.product-modal-open > .site-header.editorial-header,
  body.commerce-modal-transitioning > .site-header.editorial-header {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(calc(-100% - 18px)) !important;
    transition:
      opacity 0.18s ease,
      transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.26s !important;
  }

  body.catalog-modal-open > .products-mega-menu,
  body.product-modal-open > .products-mega-menu,
  body.commerce-modal-transitioning > .products-mega-menu {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-16px) !important;
  }

  body.catalog-modal-open > .mega-menu-backdrop,
  body.product-modal-open > .mega-menu-backdrop,
  body.commerce-modal-transitioning > .mega-menu-backdrop {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    backdrop-filter: blur(0) !important;
    -webkit-backdrop-filter: blur(0) !important;
  }
}


/* =========================================================
   GUIDED CATALOG FLOW — VERSI 38
   Langkah 1: ukuran kasur + lebar divan
   Langkah 2: tipe pallet
   ========================================================= */
.catalog-flow-step {
  display: none !important;
}

.catalog-flow-step.is-active {
  display: flex !important;
}

.catalog-preference-step {
  min-height: calc(100svh - 152px);
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 34px 0 42px;
}

.catalog-preference-heading {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.catalog-preference-heading h3 {
  margin: 5px 0 7px;
  color: var(--primary-deep);
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.01;
  letter-spacing: -0.04em;
}

.catalog-preference-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-size-fieldset,
.catalog-fit-fieldset {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.catalog-size-fieldset legend,
.catalog-fit-fieldset legend {
  width: 100%;
  margin-bottom: 11px;
  color: var(--primary-deep);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.catalog-size-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.catalog-size-option,
.catalog-fit-option {
  position: relative;
  cursor: pointer;
}

.catalog-size-option input,
.catalog-fit-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.catalog-size-option > span {
  min-height: 76px;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 9px 24px rgba(8, 86, 78, 0.055);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.catalog-size-option strong {
  color: var(--primary-deep);
  font-size: 15px;
  line-height: 1;
}

.catalog-size-option small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.catalog-size-option:hover > span {
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.catalog-size-option input:focus-visible + span,
.catalog-fit-option input:focus-visible + .catalog-fit-card {
  outline: 3px solid rgba(24, 192, 176, 0.26);
  outline-offset: 3px;
}

.catalog-size-option input:checked + span {
  border-color: var(--primary);
  background: linear-gradient(145deg, #ffffff 0%, #e6f9f5 100%);
  box-shadow:
    0 16px 30px rgba(8, 86, 78, 0.12),
    0 0 0 3px rgba(24, 192, 176, 0.10);
  transform: translateY(-2px);
}

.catalog-size-option input:checked + span::after {
  content: "✓";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.catalog-fit-fieldset {
  margin-top: 2px;
}

.catalog-fit-helper {
  margin: -5px auto 14px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.catalog-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.catalog-fit-card {
  position: relative;
  min-height: 184px;
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 86, 78, 0.075);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.catalog-fit-option:hover .catalog-fit-card {
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

.catalog-fit-image {
  position: relative;
  min-height: 184px;
  overflow: hidden;
  background: var(--soft);
}

.catalog-fit-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(4, 54, 49, 0.58), transparent);
}

.catalog-fit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.34s ease;
}

.catalog-fit-option:hover .catalog-fit-image img {
  transform: scale(1.035);
}

.catalog-fit-image > span {
  position: absolute;
  left: 13px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.91);
  color: var(--primary-deep);
  font-size: 8px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.catalog-fit-copy {
  display: grid;
  align-content: center;
  padding: 22px 28px 22px 22px;
}

.catalog-fit-copy strong {
  color: var(--primary-deep);
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.08;
}

.catalog-fit-copy small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.catalog-fit-check {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: transparent;
  font-size: 14px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.catalog-fit-option input:checked + .catalog-fit-card {
  border-color: var(--primary);
  box-shadow:
    0 22px 44px rgba(8, 86, 78, 0.15),
    0 0 0 4px rgba(24, 192, 176, 0.09);
  transform: translateY(-3px);
}

.catalog-fit-option input:checked + .catalog-fit-card .catalog-fit-check {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.catalog-preference-action {
  width: min(1120px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.catalog-preference-status {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.catalog-preference-status.is-complete {
  color: var(--primary-dark);
}

.catalog-preference-continue {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border-radius: 999px;
  background: var(--primary-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.catalog-preference-continue:not(:disabled):hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.catalog-preference-continue:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.catalog-step-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 9px;
  font-weight: 800;
}

.catalog-step-back:hover {
  border-color: var(--primary);
  background: var(--soft);
}

.catalog-type-product-card.is-recommended {
  border-color: var(--primary);
  box-shadow:
    0 22px 48px rgba(8, 86, 78, 0.18),
    0 0 0 4px rgba(24, 192, 176, 0.11);
  transform: translateY(-3px);
}

.catalog-type-product-card.is-recommended::after {
  content: "Ukuran pilihanmu";
  position: absolute;
  top: 117px;
  right: 9px;
  z-index: 4;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .catalog-size-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-fit-card {
    grid-template-columns: 45% 55%;
  }
}

@media (max-width: 760px) {
  .catalog-preference-step {
    min-height: calc(100svh - 90px);
    gap: 16px;
    padding: 20px 0 24px;
  }

  .catalog-preference-heading {
    padding: 0 7px;
  }

  .catalog-preference-heading h3 {
    font-size: 29px;
  }

  .catalog-preference-heading p {
    font-size: 10px;
  }

  .catalog-size-fieldset legend,
  .catalog-fit-fieldset legend {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .catalog-size-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .catalog-size-option > span {
    min-height: 60px;
    padding: 9px 5px;
    border-radius: 12px;
  }

  .catalog-size-option strong {
    font-size: 11px;
  }

  .catalog-size-option small {
    font-size: 6px;
  }

  .catalog-size-option input:checked + span::after {
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    font-size: 8px;
  }

  .catalog-fit-helper {
    margin-bottom: 9px;
    padding: 0 8px;
    font-size: 8px;
  }

  .catalog-fit-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-fit-card {
    min-height: 128px;
    grid-template-columns: 39% 61%;
    border-radius: 14px;
  }

  .catalog-fit-image {
    min-height: 128px;
  }

  .catalog-fit-image > span {
    left: 7px;
    bottom: 7px;
    padding: 4px 7px;
    font-size: 6px;
  }

  .catalog-fit-copy {
    padding: 13px 23px 13px 12px;
  }

  .catalog-fit-copy strong {
    font-size: 17px;
  }

  .catalog-fit-copy small {
    margin-top: 5px;
    font-size: 8px;
  }

  .catalog-fit-check {
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .catalog-preference-action {
    display: grid;
    gap: 9px;
    padding: 11px;
    border-radius: 14px;
  }

  .catalog-preference-status {
    font-size: 8px;
    text-align: center;
  }

  .catalog-preference-continue {
    width: 100%;
    min-height: 41px;
    font-size: 9px;
  }

  .catalog-step-back {
    margin-top: 9px;
    font-size: 7px;
  }

  .catalog-type-product-card.is-recommended::after {
    top: 78px;
    right: 5px;
    padding: 4px 6px;
    font-size: 5px;
  }
}

@media (max-width: 370px) {
  .catalog-size-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-size-option > span,
  .catalog-fit-card,
  .catalog-fit-image img,
  .catalog-preference-continue {
    transition: none;
  }
}


/* =========================================================
   CATALOG WIZARD BERLEMBAR & VIEWPORT-FIT — VERSI 39
   Setiap tahap berdiri sendiri; ukuran/lebar dan tipe pallet
   tidak lagi tersambung ke katalog melalui scroll.
   ========================================================= */

.catalog-product-step.is-active {
  display: block !important;
}

.catalog-flow-step.is-active {
  animation: catalogStepInV39 0.28s ease both;
}

@keyframes catalogStepInV39 {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 761px) {
  .catalog-modal-dialog.catalog-type-dialog {
    width: min(1280px, calc(100% - 32px));
    height: calc(100dvh - 32px);
    max-height: calc(100dvh - 32px);
    margin: 16px auto;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    scroll-behavior: auto;
  }

  .catalog-type-dialog .catalog-modal-topbar {
    position: relative;
    min-height: 78px;
    padding: 10px 20px;
  }

  .catalog-type-dialog .catalog-modal-topbar h2 {
    margin: 2px 0 1px;
    font-size: clamp(23px, 2vw, 31px);
  }

  .catalog-type-dialog .catalog-modal-topbar p {
    font-size: 10px;
  }

  .catalog-type-dialog .catalog-modal-close {
    width: 40px;
    height: 40px;
    font-size: 27px;
  }

  .catalog-type-modal-content {
    min-height: 0;
    height: 100%;
    padding: 0 20px 14px;
    overflow: hidden;
  }

  .catalog-flow-step.is-active {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .catalog-preference-step {
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 0 12px;
  }

  .catalog-preference-heading h3 {
    margin: 2px 0 3px;
    font-size: clamp(30px, 3.1vw, 43px);
    line-height: 0.98;
  }

  .catalog-preference-heading p {
    font-size: 10px;
  }

  .catalog-size-fieldset legend,
  .catalog-fit-fieldset legend {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .catalog-size-grid {
    gap: 7px;
  }

  .catalog-size-option > span {
    min-height: 50px;
    gap: 2px;
    padding: 7px 6px;
    border-radius: 12px;
  }

  .catalog-size-option strong {
    font-size: 13px;
  }

  .catalog-size-option small {
    font-size: 7px;
  }

  .catalog-size-option input:checked + span::after {
    top: 5px;
    right: 5px;
    width: 17px;
    height: 17px;
    font-size: 9px;
  }

  .catalog-fit-fieldset {
    margin-top: 0;
  }

  .catalog-fit-helper {
    margin: -3px auto 7px;
    font-size: 9px;
  }

  .catalog-fit-grid {
    gap: 12px;
  }

  .catalog-fit-card {
    min-height: 118px;
    grid-template-columns: 35% 65%;
    border-radius: 16px;
  }

  .catalog-fit-image {
    min-height: 118px;
  }

  .catalog-fit-copy {
    padding: 13px 26px 13px 15px;
  }

  .catalog-fit-copy strong {
    font-size: 19px;
  }

  .catalog-fit-copy small {
    margin-top: 5px;
    font-size: 8px;
    line-height: 1.4;
  }

  .catalog-fit-check {
    top: 9px;
    right: 9px;
    width: 23px;
    height: 23px;
    font-size: 11px;
  }

  .catalog-preference-action {
    margin-top: auto;
    padding: 9px 12px;
    border-radius: 14px;
  }

  .catalog-preference-continue {
    min-height: 41px;
    padding: 0 18px;
    font-size: 10px;
  }

  .catalog-type-chooser {
    min-height: 0;
    height: 100%;
    justify-content: center;
    padding: 12px 0 16px;
    overflow: hidden;
  }

  .catalog-type-heading {
    margin-bottom: 12px;
  }

  .catalog-type-heading h3 {
    margin: 3px 0 5px;
    font-size: clamp(31px, 3.1vw, 43px);
  }

  .catalog-type-heading p {
    font-size: 10px;
    line-height: 1.45;
  }

  .catalog-step-back {
    margin-top: 8px;
    padding: 6px 11px;
  }

  .catalog-type-choice-grid {
    width: min(830px, 100%);
    gap: 14px;
  }

  .catalog-type-choice {
    border-radius: 18px;
  }

  .catalog-type-choice-image {
    height: 158px;
  }

  .catalog-type-choice-copy {
    padding: 12px 14px 14px;
  }

  .catalog-type-choice-copy strong {
    font-size: 21px;
  }

  .catalog-type-choice-copy small {
    min-height: 32px;
    margin: 5px 0 9px;
    font-size: 9px;
    line-height: 1.4;
  }

  .catalog-type-choice-copy b {
    min-height: 38px;
    padding: 0 13px;
    font-size: 9px;
  }

  .catalog-scroll-hint {
    display: none;
  }

  .catalog-product-step.is-active {
    min-height: 0;
    height: 100%;
    padding: 14px 4px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
  }

  .catalog-type-products-nonrapat {
    padding-top: 14px;
    border-top: 0;
  }

  .catalog-product-step .catalog-type-section-heading {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-bottom: 14px;
  }
}

@media (max-width: 760px) {
  .catalog-modal-dialog.catalog-type-dialog {
    width: calc(100% - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    margin: 6px auto;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .catalog-type-dialog .catalog-modal-topbar {
    position: relative;
    min-height: 66px;
    padding: 8px 11px;
  }

  .catalog-type-dialog .catalog-modal-topbar h2 {
    margin: 1px 0;
    font-size: 20px;
  }

  .catalog-type-dialog .catalog-modal-topbar p {
    max-width: 270px;
    font-size: 7px;
  }

  .catalog-type-dialog .catalog-modal-close {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }

  .catalog-type-modal-content {
    min-height: 0;
    height: 100%;
    padding: 0 7px 8px;
    overflow: hidden;
  }

  .catalog-flow-step.is-active {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .catalog-preference-step {
    justify-content: flex-start;
    gap: 6px;
    padding: 7px 0 8px;
  }

  .catalog-preference-heading h3 {
    margin: 1px 0 2px;
    font-size: 24px;
  }

  .catalog-preference-heading p {
    font-size: 8px;
  }

  .catalog-size-fieldset legend,
  .catalog-fit-fieldset legend {
    margin-bottom: 4px;
    font-size: 15px;
  }

  .catalog-size-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .catalog-size-option > span {
    min-height: 43px;
    gap: 1px;
    padding: 5px 2px;
    border-radius: 9px;
  }

  .catalog-size-option strong {
    font-size: 9px;
  }

  .catalog-size-option small {
    font-size: 5px;
  }

  .catalog-size-option input:checked + span::after {
    top: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    font-size: 7px;
  }

  .catalog-fit-helper {
    display: none;
  }

  .catalog-fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .catalog-fit-card {
    min-height: 116px;
    grid-template-columns: 1fr;
    grid-template-rows: 58px 1fr;
    border-radius: 11px;
  }

  .catalog-fit-image {
    min-height: 58px;
  }

  .catalog-fit-image > span {
    display: none;
  }

  .catalog-fit-copy {
    padding: 7px 17px 7px 7px;
  }

  .catalog-fit-copy strong {
    font-size: 13px;
  }

  .catalog-fit-copy small {
    margin-top: 2px;
    font-size: 6px;
    line-height: 1.25;
  }

  .catalog-fit-check {
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .catalog-preference-action {
    margin-top: auto;
    gap: 4px;
    padding: 6px;
    border-radius: 10px;
  }

  .catalog-preference-status {
    font-size: 6px;
  }

  .catalog-preference-continue {
    min-height: 36px;
    font-size: 8px;
  }

  .catalog-type-chooser {
    min-height: 0;
    height: 100%;
    justify-content: center;
    padding: 8px 0;
    overflow: hidden;
  }

  .catalog-type-heading {
    margin-bottom: 8px;
  }

  .catalog-type-heading h3 {
    font-size: 25px;
  }

  .catalog-type-heading p {
    font-size: 8px;
    line-height: 1.35;
  }

  .catalog-type-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .catalog-type-choice-image {
    height: 92px;
  }

  .catalog-type-choice-image > span {
    left: 6px;
    bottom: 6px;
    padding: 4px 6px;
    font-size: 6px;
  }

  .catalog-type-choice-copy {
    padding: 8px;
  }

  .catalog-type-choice-copy strong {
    font-size: 14px;
  }

  .catalog-type-choice-copy small {
    display: none;
  }

  .catalog-type-choice-copy b {
    min-height: 33px;
    margin-top: 7px;
    padding: 0 8px;
    font-size: 7px;
  }

  .catalog-scroll-hint {
    display: none;
  }

  .catalog-product-step.is-active {
    min-height: 0;
    height: 100%;
    padding: 8px 0 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .catalog-type-products-nonrapat {
    padding-top: 8px;
    border-top: 0;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .catalog-type-dialog .catalog-modal-topbar {
    min-height: 64px;
    padding-block: 7px;
  }

  .catalog-preference-heading .eyebrow,
  .catalog-preference-heading p,
  .catalog-fit-helper {
    display: none;
  }

  .catalog-preference-step {
    gap: 5px;
    padding-block: 6px;
  }

  .catalog-size-option > span {
    min-height: 43px;
  }

  .catalog-fit-card,
  .catalog-fit-image {
    min-height: 100px;
  }

  .catalog-fit-copy small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-flow-step.is-active {
    animation: none;
  }
}

/* =========================================================
   CATALOG WIZARD — VERSI 44
   Ukuran kasur → lebar divan → tipe pallet → pilihan laci.
   ========================================================= */

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

.catalog-divan-size-fieldset[hidden],
.catalog-drawer-position-fieldset[hidden] {
  display: none !important;
}

.catalog-divan-size-fieldset,
.catalog-drawer-fieldset,
.catalog-drawer-position-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.catalog-divan-size-fieldset {
  text-align: center;
}

.catalog-divan-size-fieldset legend,
.catalog-drawer-position-fieldset legend {
  width: 100%;
  margin: 0 0 4px;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.catalog-divan-size-helper {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 8px;
}

.catalog-divan-size-options {
  display: flex;
  justify-content: center;
}

.catalog-divan-size-option {
  display: block;
  width: min(270px, 100%);
  cursor: pointer;
}

.catalog-divan-size-option input,
.catalog-drawer-option input,
.catalog-drawer-position-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.catalog-divan-size-option > span {
  position: relative;
  display: flex;
  min-height: 51px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 36px;
  border: 1px solid rgba(8, 117, 108, 0.22);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(13, 71, 66, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.catalog-divan-size-option > span::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transform: translateY(-50%) scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.catalog-divan-size-option strong {
  color: var(--primary-dark);
  font-size: 15px;
}

.catalog-divan-size-option small {
  color: var(--text-muted);
  font-size: 8px;
}

.catalog-divan-size-option input:checked + span {
  border-color: var(--primary-light);
  box-shadow: 0 12px 28px rgba(24, 192, 176, 0.16);
  transform: translateY(-1px);
}

.catalog-divan-size-option input:checked + span::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.catalog-drawer-step {
  min-height: 0;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 16px;
  overflow: hidden;
}

.catalog-drawer-step.is-active {
  display: flex;
}

.catalog-drawer-heading {
  margin-bottom: 2px;
}

.catalog-drawer-grid {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalog-drawer-option {
  display: block;
  min-width: 0;
  cursor: pointer;
}

.catalog-drawer-card {
  position: relative;
  display: grid;
  min-height: 174px;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border: 1px solid rgba(8, 117, 108, 0.2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 34px rgba(13, 71, 66, 0.08);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.catalog-drawer-image {
  min-height: 174px;
  overflow: hidden;
}

.catalog-drawer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.catalog-drawer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 34px 18px 18px;
}

.catalog-drawer-copy strong {
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.02;
}

.catalog-drawer-copy small {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.45;
}

.catalog-drawer-check {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(8, 117, 108, 0.2);
  border-radius: 50%;
  background: #fff;
  color: transparent;
  font-size: 12px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.catalog-drawer-option:hover .catalog-drawer-card {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(13, 71, 66, 0.12);
}

.catalog-drawer-option:hover .catalog-drawer-image img {
  transform: scale(1.025);
}

.catalog-drawer-option input:checked + .catalog-drawer-card {
  border-color: var(--primary-light);
  box-shadow: 0 18px 42px rgba(24, 192, 176, 0.17);
}

.catalog-drawer-option input:checked + .catalog-drawer-card .catalog-drawer-check {
  border-color: var(--primary-light);
  background: var(--primary-light);
  color: #fff;
}

.catalog-drawer-position-fieldset {
  width: min(860px, 100%);
  margin: 0 auto;
}

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

.catalog-drawer-position-option {
  display: block;
  cursor: pointer;
}

.catalog-drawer-position-option > span {
  position: relative;
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 42px 12px 15px;
  border: 1px solid rgba(8, 117, 108, 0.2);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.catalog-drawer-position-option > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(8, 117, 108, 0.28);
  border-radius: 50%;
  transform: translateY(-50%);
}

.catalog-drawer-position-option strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.catalog-drawer-position-option small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 8px;
  line-height: 1.4;
}

.catalog-drawer-position-option input:checked + span {
  border-color: var(--primary-light);
  background: rgba(235, 253, 250, 0.78);
  box-shadow: 0 10px 24px rgba(24, 192, 176, 0.12);
}

.catalog-drawer-position-option input:checked + span::after {
  border: 5px solid var(--primary-light);
  background: #fff;
}

.catalog-drawer-action {
  width: min(860px, 100%);
  margin: 0 auto;
}

@media (min-width: 761px) {
  .catalog-type-choice-image {
    height: 218px;
  }

  .catalog-type-choice-copy {
    padding: 15px 16px 16px;
  }

  .catalog-step-back {
    min-height: 40px;
    margin-top: 10px;
    padding: 9px 15px;
    border-width: 1px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
  }

  .catalog-preference-step:has(.catalog-divan-size-fieldset:not([hidden])) {
    gap: 6px;
  }

  .catalog-preference-step:has(.catalog-divan-size-fieldset:not([hidden])) .catalog-fit-card,
  .catalog-preference-step:has(.catalog-divan-size-fieldset:not([hidden])) .catalog-fit-image {
    min-height: 104px;
  }

  .catalog-preference-step:has(.catalog-divan-size-fieldset:not([hidden])) .catalog-fit-copy strong {
    font-size: 17px;
  }

  .catalog-preference-step:has(.catalog-divan-size-fieldset:not([hidden])) .catalog-fit-copy small {
    font-size: 7px;
  }
}

@media (max-width: 760px) {
  .catalog-divan-size-fieldset legend,
  .catalog-drawer-position-fieldset legend {
    font-size: 14px;
  }

  .catalog-divan-size-helper {
    display: none;
  }

  .catalog-divan-size-option > span {
    min-height: 43px;
    padding: 5px 30px;
  }

  .catalog-divan-size-option strong {
    font-size: 12px;
  }

  .catalog-divan-size-option small {
    font-size: 6px;
  }

  .catalog-drawer-step {
    justify-content: flex-start;
    gap: 7px;
    padding: 8px 0;
  }

  .catalog-drawer-grid {
    gap: 6px;
  }

  .catalog-drawer-card {
    min-height: 120px;
    grid-template-columns: 1fr;
    grid-template-rows: 62px 1fr;
    border-radius: 12px;
  }

  .catalog-drawer-image {
    min-height: 62px;
  }

  .catalog-drawer-copy {
    padding: 8px 20px 8px 8px;
  }

  .catalog-drawer-copy strong {
    font-size: 14px;
  }

  .catalog-drawer-copy small {
    font-size: 6px;
    line-height: 1.25;
  }

  .catalog-drawer-check {
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .catalog-drawer-position-grid {
    gap: 5px;
  }

  .catalog-drawer-position-option > span {
    min-height: 57px;
    padding: 7px 28px 7px 8px;
  }

  .catalog-drawer-position-option strong {
    font-size: 10px;
  }

  .catalog-drawer-position-option small {
    font-size: 6px;
  }

  .catalog-type-choice-image {
    height: 118px;
  }

  .catalog-step-back {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 8px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .catalog-type-choice-image {
    height: 180px;
  }

  .catalog-drawer-card,
  .catalog-drawer-image {
    min-height: 142px;
  }

  .catalog-drawer-copy strong {
    font-size: 20px;
  }

  .catalog-drawer-position-option > span {
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-divan-size-option > span,
  .catalog-drawer-card,
  .catalog-drawer-image img,
  .catalog-drawer-check,
  .catalog-drawer-position-option > span {
    transition: none;
  }
}


/* =========================================================
   MEGA MENU & CATALOG WIZARD — VERSI 44
   Dua jalur masuk katalog, dua rekomendasi ukuran divan,
   ringkasan pilihan lengkap, serta halaman tipe pallet lebih penuh.
   ========================================================= */

@media (min-width: 761px) {
  .mega-menu-dual-container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    gap: 18px;
    padding: 20px clamp(24px, 5vw, 72px) 22px;
  }

  .mega-menu-choice-card {
    width: 100%;
    min-height: 284px;
    aspect-ratio: 8 / 5;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(5, 45, 40, 0.14);
  }

  .mega-menu-choice-card img {
    object-position: center 62%;
  }

  .mega-menu-choice-card .mega-menu-feature-overlay {
    background:
      linear-gradient(90deg, rgba(5, 45, 40, 0.76) 0%, rgba(5, 45, 40, 0.46) 55%, rgba(5, 45, 40, 0.12) 100%),
      linear-gradient(180deg, rgba(5, 45, 40, 0.02) 25%, rgba(5, 45, 40, 0.62) 100%);
  }

  .mega-menu-choice-card .mega-menu-feature-copy {
    right: 20px;
    bottom: 20px;
    left: 22px;
    max-width: 350px;
  }

  .mega-menu-choice-card .mega-menu-feature-copy > span {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.11em;
  }

  .mega-menu-choice-card .mega-menu-feature-copy h3 {
    max-width: 340px;
    margin: 7px 0 6px;
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.03;
  }

  .mega-menu-choice-card .mega-menu-feature-copy p {
    max-width: 330px;
    margin: 0 0 13px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    line-height: 1.4;
  }

  .mega-menu-choice-card .mega-menu-feature-copy button {
    min-height: 43px;
    padding: 0 17px;
    font-size: 10px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .mega-menu-dual-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 26px;
  }

  .mega-menu-choice-card {
    min-height: 250px;
  }

  .mega-menu-choice-card .mega-menu-feature-copy h3 {
    font-size: 19px;
  }
}

.catalog-divan-size-helper {
  margin-bottom: 9px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.catalog-divan-size-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  justify-content: center;
  gap: 10px;
}

.catalog-divan-size-option {
  width: 100%;
}

.catalog-divan-size-option > span {
  min-height: 61px;
  padding: 8px 36px 8px 15px;
}

.catalog-divan-size-option em {
  color: var(--primary-dark);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.catalog-preference-status.is-complete {
  max-width: 800px;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.catalog-type-chooser {
  position: relative;
}

@media (min-width: 761px) {
  .catalog-type-chooser {
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .catalog-step-back-corner {
    position: absolute;
    top: 22px;
    left: 28px;
    z-index: 3;
    min-height: 44px;
    margin: 0;
    padding: 10px 18px;
    font-size: 11px;
  }

  .catalog-type-choice-grid {
    width: min(980px, 100%);
  }

  .catalog-type-choice-image {
    height: 282px;
  }

  .catalog-type-choice-copy {
    min-height: 126px;
    padding: 17px 18px 18px;
  }

  .catalog-type-choice-copy strong {
    font-size: 27px;
  }

  .catalog-type-choice-copy b {
    margin-top: 14px;
    min-height: 43px;
  }
}

.catalog-modal-dialog.is-all-products .catalog-product-step {
  display: block;
}

.catalog-modal-dialog.is-all-products .catalog-type-section-heading button {
  display: none;
}

.catalog-modal-dialog.is-all-products .catalog-product-step + .catalog-product-step {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .catalog-divan-size-options {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .catalog-divan-size-helper {
    display: block;
    margin-bottom: 5px;
    font-size: 8px;
  }

  .catalog-divan-size-option > span {
    min-height: 48px;
    padding: 6px 30px 6px 10px;
  }

  .catalog-divan-size-option em {
    font-size: 6px;
  }

  .catalog-preference-status.is-complete {
    font-size: 7px;
  }

  .catalog-step-back-corner {
    align-self: flex-start;
    margin: 0 0 2px;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .catalog-type-choice-image {
    height: 232px;
  }

  .catalog-type-choice-copy {
    min-height: 108px;
  }
}

/* Tampilan semua katalog memakai satu area scroll modal, bukan scroll terpisah per section. */
.catalog-modal-dialog.is-all-products .catalog-type-modal-content {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.catalog-modal-dialog.is-all-products .catalog-product-step.is-active {
  min-height: auto;
  height: auto;
  overflow: visible;
}

/* =========================================================
   RINGKASAN ORDER PERSISTEN — VERSI 44
   Ringkasan berada di sisi kiri dan tetap terlihat pada setiap
   lembar alur pemilihan produk.
   ========================================================= */
.catalog-order-summary {
  display: none;
  min-width: 0;
  border: 1px solid rgba(8, 117, 108, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(8, 86, 78, 0.09);
}

.catalog-order-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 15px 13px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(229, 249, 246, 0.94), rgba(255, 255, 255, 0.95));
}

.catalog-order-summary-head > div {
  min-width: 0;
}

.catalog-order-summary-head span,
.catalog-order-summary-head strong {
  display: block;
}

.catalog-order-summary-head span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.catalog-order-summary-head strong {
  margin-top: 3px;
  color: var(--primary-deep);
  font-size: 15px;
  line-height: 1.15;
}

.catalog-order-summary-head b {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(8, 117, 108, 0.09);
  color: var(--primary-dark);
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.catalog-order-summary-head b.is-complete {
  background: var(--primary);
  color: #fff;
}

.catalog-order-summary-progress {
  padding: 11px 15px 10px;
}

.catalog-order-summary-progress > span {
  display: block;
  color: var(--primary-dark);
  font-size: 8px;
  font-weight: 800;
}

.catalog-order-summary-progress > i {
  height: 5px;
  display: block;
  overflow: hidden;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(8, 117, 108, 0.10);
}

.catalog-order-summary-progress > i > span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
  transition: width 0.28s ease;
}

.catalog-order-summary-list {
  margin: 0;
  padding: 0 15px;
}

.catalog-order-summary-list > div {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.catalog-order-summary-list > div:last-child {
  border-bottom: 0;
}

.catalog-order-summary-list dt {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.2;
}

.catalog-order-summary-list dd {
  margin: 0;
  color: #9aadaa;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.catalog-order-summary-list dd.is-complete {
  color: var(--primary-deep);
}

.catalog-order-summary-message {
  margin: 0 12px 12px;
  padding: 10px 11px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 8px;
  font-weight: 650;
  line-height: 1.45;
}

@media (min-width: 1000px) {
  .catalog-type-modal-content {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    column-gap: 16px;
    align-items: stretch;
  }

  .catalog-order-summary {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    display: block;
    max-height: calc(100% - 24px);
    margin-top: 12px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
  }

  .catalog-flow-step {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .catalog-preference-step .catalog-size-fieldset,
  .catalog-preference-step .catalog-fit-fieldset,
  .catalog-preference-step .catalog-preference-action {
    width: min(100%, 980px);
  }

  .catalog-drawer-step .catalog-drawer-fieldset,
  .catalog-drawer-step .catalog-drawer-position-fieldset,
  .catalog-drawer-step .catalog-drawer-action {
    width: min(100%, 860px);
  }

  .catalog-modal-dialog.is-all-products .catalog-type-modal-content {
    display: block;
  }

  .catalog-modal-dialog.is-all-products .catalog-order-summary {
    display: none;
  }
}

@media (min-width: 761px) and (max-width: 999px) {
  .catalog-type-modal-content {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: 7px;
  }

  .catalog-order-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    margin-top: 7px;
    border-radius: 13px;
  }

  .catalog-order-summary-head {
    min-width: 210px;
    padding: 8px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 13px 0 0 13px;
  }

  .catalog-order-summary-progress,
  .catalog-order-summary-list {
    display: none;
  }

  .catalog-order-summary-message {
    margin: 0;
    padding: 8px 11px;
    background: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .catalog-flow-step {
    min-height: 0;
  }

  .catalog-modal-dialog.is-all-products .catalog-order-summary {
    display: none;
  }
}

@media (max-width: 760px) {
  .catalog-type-modal-content {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: 4px;
  }

  .catalog-order-summary {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin-top: 4px;
    border-radius: 10px;
  }

  .catalog-order-summary-head {
    width: 100%;
    align-items: center;
    padding: 6px 8px;
    border-bottom: 0;
    border-radius: inherit;
  }

  .catalog-order-summary-head span {
    font-size: 6px;
  }

  .catalog-order-summary-head strong {
    margin-top: 1px;
    font-size: 10px;
  }

  .catalog-order-summary-head b {
    padding: 5px 7px;
    font-size: 6px;
  }

  .catalog-order-summary-progress,
  .catalog-order-summary-list,
  .catalog-order-summary-message {
    display: none;
  }

  .catalog-flow-step {
    min-height: 0;
  }

  .catalog-modal-dialog.is-all-products .catalog-order-summary {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-order-summary-progress > i > span {
    transition: none;
  }
}


/* =========================================================
   KONFIRMASI PESANAN & KARTU LACI — VERSI 44
   Langkah laci memakai kartu vertikal yang seimbang. Setelah
   lengkap, konsumen meninjau nota konfigurasi sebelum ke keranjang.
   ========================================================= */
.catalog-drawer-heading {
  margin-top: 30px;
}

.catalog-drawer-card {
  min-height: 300px;
  grid-template-columns: 1fr;
  grid-template-rows: 190px minmax(110px, 1fr);
}

.catalog-drawer-image {
  min-height: 190px;
}

.catalog-drawer-copy {
  justify-content: flex-start;
  padding: 18px 22px 20px;
}

.catalog-drawer-copy strong {
  font-size: 25px;
}

.catalog-drawer-copy small {
  font-size: 11px;
  line-height: 1.55;
}

.catalog-drawer-grid,
.catalog-drawer-position-fieldset,
.catalog-drawer-action {
  width: min(920px, 100%);
}

.catalog-drawer-position-option > span {
  min-height: 84px;
  padding: 15px 48px 15px 18px;
}

.catalog-drawer-position-option strong {
  font-size: 16px;
}

.catalog-drawer-position-option small {
  font-size: 10px;
}

.catalog-confirm-step {
  position: relative;
  min-height: 0;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 40px 0 22px;
  overflow: hidden;
}

.catalog-confirm-step.is-active {
  display: flex;
}

.catalog-confirm-heading {
  text-align: center;
}

.catalog-confirm-heading h3 {
  margin: 8px 0 5px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: .98;
}

.catalog-confirm-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
}

.catalog-confirm-layout {
  width: min(930px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: stretch;
}

.catalog-confirm-preview,
.catalog-confirm-receipt {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 117, 108, .2);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(13, 71, 66, .1);
}

.catalog-confirm-preview {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
}

.catalog-confirm-preview img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.catalog-confirm-preview figcaption {
  padding: 17px 18px 19px;
}

.catalog-confirm-preview figcaption span,
.catalog-confirm-preview figcaption strong,
.catalog-confirm-preview figcaption small {
  display: block;
}

.catalog-confirm-preview figcaption span {
  color: var(--primary-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.catalog-confirm-preview figcaption strong {
  margin-top: 7px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.08;
}

.catalog-confirm-preview figcaption small {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.5;
}

.catalog-confirm-receipt {
  display: flex;
  flex-direction: column;
}

.catalog-confirm-receipt-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.catalog-confirm-receipt-head span,
.catalog-confirm-receipt-head strong {
  display: block;
}

.catalog-confirm-receipt-head span {
  color: var(--muted);
  font-size: 9px;
}

.catalog-confirm-receipt-head strong {
  margin-top: 3px;
  color: var(--primary-deep);
  font-size: 17px;
}

.catalog-confirm-receipt-head b {
  align-self: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--primary-light);
  color: #fff;
  font-size: 8px;
}

.catalog-confirm-list {
  margin: 0;
  padding: 8px 18px 4px;
}

.catalog-confirm-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.catalog-confirm-list dt {
  color: var(--text-muted);
  font-size: 10px;
}

.catalog-confirm-list dd {
  margin: 0;
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.catalog-confirm-price {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  padding: 13px 18px 15px;
}

.catalog-confirm-price span,
.catalog-confirm-price strong {
  display: block;
}

.catalog-confirm-price span {
  color: var(--text-muted);
  font-size: 9px;
}

.catalog-confirm-price strong {
  margin-top: 3px;
  color: var(--primary-deep);
  font-size: 23px;
}

.catalog-confirm-price p {
  margin: 0;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}

.catalog-confirm-add {
  width: calc(100% - 36px);
  min-height: 48px;
  margin: auto 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--primary-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.catalog-confirm-add:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .catalog-drawer-heading { margin-top: 24px; }
  .catalog-drawer-card {
    min-height: 180px;
    grid-template-rows: 105px minmax(75px, 1fr);
  }
  .catalog-drawer-image { min-height: 105px; }
  .catalog-drawer-copy { padding: 10px 12px 12px; }
  .catalog-drawer-copy strong { font-size: 16px; }
  .catalog-drawer-copy small { font-size: 7px; }
  .catalog-confirm-step { justify-content: flex-start; gap: 9px; padding: 32px 0 8px; overflow-y: auto; }
  .catalog-confirm-heading h3 { font-size: 27px; }
  .catalog-confirm-heading p { font-size: 8px; }
  .catalog-confirm-layout { grid-template-columns: 1fr; gap: 8px; }
  .catalog-confirm-preview { grid-template-columns: 38% 62%; grid-template-rows: 120px; }
  .catalog-confirm-preview img { min-height: 120px; }
  .catalog-confirm-preview figcaption { padding: 12px; }
  .catalog-confirm-preview figcaption strong { font-size: 17px; }
  .catalog-confirm-preview figcaption small { font-size: 7px; }
  .catalog-confirm-receipt-head { padding: 10px 12px; }
  .catalog-confirm-list { padding: 4px 12px; }
  .catalog-confirm-list > div { padding: 6px 0; }
  .catalog-confirm-list dt, .catalog-confirm-list dd { font-size: 8px; }
  .catalog-confirm-price { padding: 9px 12px; }
  .catalog-confirm-price strong { font-size: 18px; }
  .catalog-confirm-price p { font-size: 7px; }
  .catalog-confirm-add { width: calc(100% - 24px); min-height: 40px; margin: 0 12px 12px; font-size: 10px; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .catalog-drawer-card { min-height: 235px; grid-template-rows: 145px 90px; }
  .catalog-drawer-image { min-height: 145px; }
  .catalog-confirm-step { gap: 10px; padding-top: 34px; }
  .catalog-confirm-heading h3 { font-size: 36px; }
  .catalog-confirm-preview { grid-template-rows: 175px auto; }
  .catalog-confirm-preview img { min-height: 175px; }
  .catalog-confirm-list > div { padding: 6px 0; }
  .catalog-confirm-price { padding-top: 8px; padding-bottom: 10px; }
}

/* Anchor tombol kembali di halaman laci. */
.catalog-drawer-step {
  position: relative;
}

/* =========================================================
   PENYEMPURNAAN LAYOUT PRODUK & COMMERCE — VERSI 45
   - Kartu lebar divan: gambar di atas, copy di bawah.
   - Kartu laci dan pilihan posisi dibuat seimbang.
   - Drawer keranjang dimulai di bawah navbar.
   - Tombol WhatsApp memakai ikon dan label teks.
   ========================================================= */

/* STEP 1: pilihan divan kini berupa kartu vertikal. */
.catalog-fit-grid {
  width: min(930px, 100%);
  margin-inline: auto;
  gap: 18px;
  align-items: stretch;
}

.catalog-fit-option,
.catalog-fit-card {
  height: 100%;
}

.catalog-fit-card {
  min-height: 286px;
  grid-template-columns: 1fr;
  grid-template-rows: 174px minmax(112px, 1fr);
}

.catalog-fit-image {
  width: 100%;
  height: 174px;
  min-height: 174px;
}

.catalog-fit-image::after {
  height: 36%;
}

.catalog-fit-copy {
  min-height: 112px;
  align-content: center;
  padding: 17px 22px 19px;
}

.catalog-fit-copy strong {
  font-size: 21px;
  line-height: 1.08;
}

.catalog-fit-copy small {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.5;
}

/* STEP 3: seluruh blok memakai sumbu dan lebar yang sama. */
.catalog-drawer-step {
  justify-content: flex-start;
  gap: 12px;
  padding-top: 46px;
}

.catalog-drawer-heading {
  width: min(920px, 100%);
  margin: 0 auto 2px;
}

.catalog-drawer-fieldset,
.catalog-drawer-position-fieldset,
.catalog-drawer-action {
  width: min(920px, 100%) !important;
  margin-inline: auto;
}

.catalog-drawer-grid {
  width: 100%;
  gap: 18px;
  align-items: stretch;
}

.catalog-drawer-option,
.catalog-drawer-card {
  height: 100%;
}

.catalog-drawer-card {
  min-height: 292px;
  grid-template-columns: 1fr;
  grid-template-rows: 182px minmax(110px, 1fr);
}

.catalog-drawer-image {
  width: 100%;
  height: 182px;
  min-height: 182px;
}

.catalog-drawer-copy {
  min-height: 110px;
  justify-content: flex-start;
  padding: 16px 20px 20px;
}

.catalog-drawer-copy strong {
  font-size: 24px;
  line-height: 1.08;
}

.catalog-drawer-copy small {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.5;
}

.catalog-drawer-position-fieldset {
  margin-top: 2px;
}

.catalog-drawer-position-fieldset > legend {
  margin-bottom: 8px;
}

.catalog-drawer-position-grid {
  gap: 14px;
}

.catalog-drawer-position-option > span {
  min-height: 88px;
  padding: 16px 50px 16px 18px;
}

.catalog-drawer-position-option strong {
  font-size: 16px;
}

.catalog-drawer-position-option small {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.45;
}

.catalog-drawer-action {
  min-height: 66px;
  margin-top: 2px;
  padding: 11px 14px;
}

.catalog-drawer-action .catalog-preference-status {
  max-width: 62%;
  line-height: 1.45;
}

.catalog-drawer-action .catalog-preference-continue {
  min-width: 190px;
  min-height: 44px;
}

/* Keranjang selalu dimulai setelah bagian bawah navbar yang sedang terlihat. */
:root {
  --cart-dock-top: 0px;
}

.cart-overlay {
  inset: var(--cart-dock-top) 0 0;
}

.cart-panel {
  top: var(--cart-dock-top);
  height: calc(100vh - var(--cart-dock-top));
  height: calc(100dvh - var(--cart-dock-top));
}

/* Tombol WhatsApp baru: ikon resmi dari aset pengguna + label. */
.floating-wa {
  right: 20px;
  bottom: 18px;
  width: auto;
  height: auto;
  min-width: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 9px 9px;
  border: 1px solid rgba(8, 117, 108, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary-deep);
  box-shadow: 0 16px 34px rgba(7, 67, 61, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-wa:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(7, 67, 61, 0.22);
}

.floating-wa img {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

.floating-wa span {
  display: block;
  color: var(--primary-deep);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

@media (max-height: 820px) and (min-width: 761px) {
  .catalog-fit-card {
    min-height: 244px;
    grid-template-rows: 142px minmax(102px, 1fr);
  }

  .catalog-fit-image {
    height: 142px;
    min-height: 142px;
  }

  .catalog-fit-copy {
    min-height: 102px;
    padding: 13px 18px 15px;
  }

  .catalog-fit-copy strong {
    font-size: 19px;
  }

  .catalog-drawer-step {
    padding-top: 32px;
    gap: 9px;
  }

  .catalog-drawer-card {
    min-height: 244px;
    grid-template-rows: 145px minmax(99px, 1fr);
  }

  .catalog-drawer-image {
    height: 145px;
    min-height: 145px;
  }

  .catalog-drawer-copy {
    min-height: 99px;
    padding: 13px 17px 15px;
  }

  .catalog-drawer-copy strong {
    font-size: 20px;
  }

  .catalog-drawer-position-option > span {
    min-height: 72px;
    padding-block: 12px;
  }
}

@media (max-width: 760px) {
  .catalog-fit-grid,
  .catalog-drawer-grid,
  .catalog-drawer-position-grid {
    grid-template-columns: 1fr;
  }

  .catalog-fit-card {
    min-height: 208px;
    grid-template-rows: 124px minmax(84px, 1fr);
  }

  .catalog-fit-image {
    height: 124px;
    min-height: 124px;
  }

  .catalog-fit-copy {
    min-height: 84px;
    padding: 11px 13px 13px;
  }

  .catalog-fit-copy strong {
    font-size: 16px;
  }

  .catalog-fit-copy small {
    font-size: 8px;
  }

  .catalog-drawer-step {
    padding-top: 30px;
  }

  .catalog-drawer-card {
    min-height: 205px;
    grid-template-rows: 122px minmax(83px, 1fr);
  }

  .catalog-drawer-image {
    height: 122px;
    min-height: 122px;
  }

  .catalog-drawer-copy {
    min-height: 83px;
    padding: 11px 13px 13px;
  }

  .catalog-drawer-copy strong {
    font-size: 17px;
  }

  .catalog-drawer-copy small,
  .catalog-drawer-position-option small {
    font-size: 8px;
  }

  .catalog-drawer-action {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-drawer-action .catalog-preference-status {
    max-width: none;
  }

  .catalog-drawer-action .catalog-preference-continue {
    width: 100%;
  }

  .floating-wa {
    right: 12px;
    bottom: 12px;
    min-width: 70px;
    padding: 7px 7px 8px;
  }

  .floating-wa img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .floating-wa span {
    font-size: 9px;
  }
}


/* =========================================================
   SUPERDECOR V47 — Glass CTA dan kontak WhatsApp
   ========================================================= */
.hero-primary-order {
  display: flex;
  justify-content: center;
  margin: -2px auto 18px;
}

.hero-order-button {
  min-width: 286px;
  min-height: 58px;
  padding: 16px 38px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18, 63, 58, 0.48), rgba(8, 117, 108, 0.34));
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(5, 44, 40, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-order-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(18, 63, 58, 0.62), rgba(8, 117, 108, 0.48));
  border-color: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 32px rgba(5, 44, 40, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-order-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
}

.floating-wa.floating-contact {
  min-width: 94px;
  padding: 11px 11px 12px;
  border: 1px solid rgba(8, 117, 108, 0.22);
}

.floating-contact-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #18c0b0 0%, #08756c 100%);
  color: #fff;
  box-shadow: 0 9px 20px rgba(8, 117, 108, 0.28);
}

.floating-contact-icon svg {
  width: 29px;
  height: 29px;
  display: block;
}

.floating-wa.floating-contact span:last-child {
  font-size: 11px;
  letter-spacing: 0.01em;
}

@media (max-width: 760px) {
  .hero-primary-order {
    margin-bottom: 14px;
  }

  .hero-order-button {
    min-width: 228px;
    min-height: 52px;
    padding: 14px 28px;
    font-size: 17px;
  }

  .floating-wa.floating-contact {
    min-width: 76px;
    padding: 8px 8px 9px;
  }

  .floating-contact-icon {
    width: 43px;
    height: 43px;
  }

  .floating-contact-icon svg {
    width: 25px;
    height: 25px;
  }

  .floating-wa.floating-contact span:last-child {
    font-size: 9px;
  }
}

/* SUPERDECOR V47 MOBILE FINAL FIX */
@media (max-width:760px){
  .catalog-fit-grid,
  .catalog-fit-grid.grid,
  .catalog-fit-options{
    gap:10px!important;
  }
  .catalog-fit-card{
    min-height:150px!important;
    grid-template-rows:78px minmax(70px,1fr)!important;
    border-radius:18px!important;
  }
  .catalog-fit-image{
    height:78px!important;
    min-height:78px!important;
    object-fit:cover!important;
  }
  .catalog-fit-copy{
    padding:8px 10px!important;
    min-height:70px!important;
  }
  .catalog-fit-copy strong{
    font-size:14px!important;
    line-height:1.15!important;
  }
  .catalog-fit-copy small{
    font-size:8px!important;
    line-height:1.2!important;
  }
  .catalog-drawer-step,
  .catalog-step-content{
    padding-top:12px!important;
  }
  .catalog-size-grid,
  .catalog-mattress-size-grid{
    gap:8px!important;
  }
  .catalog-size-option{
    min-height:54px!important;
    padding:8px 4px!important;
  }
  .catalog-size-option strong{
    font-size:14px!important;
  }
  .catalog-drawer-action{
    position:sticky!important;
    bottom:0!important;
    background:#f7fcfa!important;
    padding:8px 0!important;
  }
}


/* =========================================================
   MOBILE GUIDED FLOW TERPISAH — VERSI 48
   Smartphone: ukuran kasur dan lebar divan menjadi dua lembar.
   Desktop tetap menggunakan satu lembar seperti V47.
   ========================================================= */
.catalog-mobile-preference-back {
  display: none;
}

@media (max-width: 760px) {
  .catalog-modal-dialog.catalog-type-dialog {
    height: calc(100svh - 12px);
    max-height: calc(100svh - 12px);
  }

  .catalog-type-modal-content {
    min-height: 0;
    height: 100%;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .catalog-preference-step.is-active {
    position: relative;
    height: 100%;
    min-height: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 7px 8px;
    overflow: hidden;
  }

  .catalog-preference-step[data-mobile-phase="size"] .catalog-fit-fieldset,
  .catalog-preference-step[data-mobile-phase="size"] .catalog-divan-size-fieldset {
    display: none !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-size-fieldset {
    display: none !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] {
    padding-top: 45px;
  }

  .catalog-mobile-preference-back {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 3;
    min-height: 31px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-deep);
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(8, 86, 78, 0.07);
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-mobile-preference-back {
    display: inline-flex;
  }

  .catalog-preference-heading {
    width: 100%;
    flex: 0 0 auto;
    padding-inline: 4px;
  }

  .catalog-preference-heading .eyebrow {
    margin-bottom: 3px;
    font-size: 9px;
  }

  .catalog-preference-heading h3 {
    margin: 0 0 2px;
    font-size: clamp(24px, 7.3vw, 32px);
    line-height: 1;
  }

  .catalog-preference-heading p {
    font-size: 9px;
    line-height: 1.25;
  }

  .catalog-size-fieldset,
  .catalog-fit-fieldset,
  .catalog-divan-size-fieldset {
    flex: 0 0 auto;
    width: 100% !important;
  }

  .catalog-size-fieldset legend,
  .catalog-fit-fieldset legend,
  .catalog-divan-size-fieldset legend {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .catalog-size-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .catalog-size-option > span {
    min-height: 58px !important;
    gap: 3px;
    padding: 7px 3px !important;
    border-radius: 13px;
  }

  .catalog-size-option strong {
    font-size: 12px !important;
  }

  .catalog-size-option small {
    font-size: 6px;
  }

  .catalog-size-option input:checked + span::after {
    top: 4px;
    right: 4px;
    width: 17px;
    height: 17px;
    font-size: 9px;
  }

  .catalog-preference-step[data-mobile-phase="size"] .catalog-preference-action {
    margin-top: auto;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-fieldset legend {
    display: none;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-helper {
    display: block;
    margin: 0 auto 7px;
    font-size: 8px;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-card {
    min-height: 170px !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 88px minmax(82px, 1fr) !important;
    border-radius: 16px !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-image {
    height: 88px !important;
    min-height: 88px !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-image > span {
    display: inline-flex;
    left: 7px;
    bottom: 7px;
    padding: 4px 7px;
    font-size: 6px;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-copy {
    min-height: 82px !important;
    align-content: start;
    padding: 10px 10px 11px !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-copy strong {
    font-size: 14px !important;
    line-height: 1.08 !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-copy small {
    display: block;
    margin-top: 5px;
    font-size: 7px !important;
    line-height: 1.3 !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-divan-size-fieldset:not([hidden]) {
    display: block;
  }

  .catalog-divan-size-fieldset {
    margin-top: 0 !important;
  }

  .catalog-divan-size-helper {
    margin: -2px 0 6px;
    font-size: 8px;
  }

  .catalog-divan-size-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-divan-size-option > span {
    min-height: 57px;
    padding: 8px 7px;
    border-radius: 12px;
  }

  .catalog-divan-size-option strong {
    font-size: 13px;
  }

  .catalog-divan-size-option small {
    font-size: 6px;
  }

  .catalog-divan-size-option em {
    font-size: 6px;
  }

  .catalog-preference-action {
    flex: 0 0 auto;
    width: 100% !important;
    display: block !important;
    margin-top: auto;
    padding: 7px !important;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.97);
  }

  .catalog-preference-status {
    display: none;
  }

  .catalog-preference-continue {
    width: 100%;
    min-height: 44px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 390px), (max-width: 760px) and (max-height: 700px) {
  .catalog-preference-step.is-active {
    gap: 6px;
    padding-top: 6px;
  }

  .catalog-preference-step[data-mobile-phase="fit"] {
    padding-top: 39px;
  }

  .catalog-preference-heading h3 {
    font-size: 23px;
  }

  .catalog-size-grid {
    gap: 5px !important;
  }

  .catalog-size-option > span {
    min-height: 48px !important;
  }

  .catalog-size-option strong {
    font-size: 10px !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-card {
    min-height: 148px !important;
    grid-template-rows: 74px minmax(74px, 1fr) !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-image {
    height: 74px !important;
    min-height: 74px !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-copy strong {
    font-size: 12px !important;
  }

  .catalog-preference-step[data-mobile-phase="fit"] .catalog-fit-copy small {
    font-size: 6px !important;
  }

  .catalog-divan-size-option > span {
    min-height: 50px;
  }
}

@media (max-width: 760px) {
  .catalog-preference-continue:not(:disabled) {
    opacity: 1 !important;
  }
}


/* =========================================================
   SUPERDECOR V57 — MOBILE TESTIMONIAL AUTO SLIDER
   ========================================================= */
@media (max-width: 760px) {
  #testimoni {
    overflow: hidden;
  }

  #testimoni .container {
    overflow: hidden;
  }

  #testimoni .section-heading {
    gap: 10px;
    margin-bottom: 18px;
  }

  #testimoni .section-heading p {
    max-width: 320px;
    font-size: 13px;
    line-height: 1.55;
  }

  .testimonial-grid.testimonial-grid--mobile-slider {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: stretch;
    gap: 14px;
    overflow: hidden;
    padding-bottom: 4px;
    will-change: transform;
    touch-action: pan-y;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    flex: 0 0 min(82vw, 336px);
    max-width: min(82vw, 336px);
    border-radius: 18px;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card button {
    height: 500px;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card > div {
    padding: 16px 16px 18px;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card strong {
    font-size: 18px;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card span {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 390px) {
  .testimonial-grid.testimonial-grid--mobile-slider {
    gap: 12px;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    flex-basis: 84vw;
    max-width: 84vw;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card button {
    height: 455px;
  }

  #testimoni .section-heading p {
    font-size: 12px;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .testimonial-grid.testimonial-grid--mobile-slider {
    transition: none !important;
  }
}


/* =========================================================
   SUPERDECOR V59 — FIX PRELOADER / TESTIMONIAL / CONTACT
   ========================================================= */
html, body {
  scroll-behavior: smooth;
}

/* Pastikan preloader benar-benar tidak muncul */
.site-preloader,
[id="sitePreloader"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
html.preloader-first body > .announcement-bar,
html.preloader-first body > .site-header,
html.preloader-first body > main,
html.preloader-first body > .site-footer,
html.preloader-first body > .floating-wa,
html.preloader-first body > .floating-home {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Floating home button */
.floating-home {
  position: fixed;
  right: 22px;
  bottom: 118px;
  z-index: 44;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 92px;
  padding: 12px 10px 14px;
  border: 1px solid rgba(19, 91, 84, 0.14);
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  color: var(--primary-deep);
  box-shadow: 0 18px 40px rgba(12, 72, 67, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.floating-home .floating-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #12aa9d);
  color: #fff;
}
.floating-home .floating-contact-icon svg {
  width: 26px;
  height: 26px;
}
.floating-home span:last-child {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}
.floating-home.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hero CTA */
.hero-actions .btn[href="#testimoni"] {
  white-space: nowrap;
}

/* Contact & footer readability */
.contact-main p {
  color: rgba(255, 255, 255, 0.92) !important;
}
.address-card {
  background: #e8f6f2 !important;
  border-color: rgba(19, 91, 84, 0.12) !important;
  color: var(--primary-deep) !important;
}
.address-card span {
  color: #6acdc2 !important;
}
.address-card strong,
.address-card p,
.address-card a {
  color: var(--primary-deep) !important;
}
.site-footer {
  background: #dff4f0 !important;
  color: var(--primary-deep) !important;
}
.footer-grid h4,
.footer-brand .brand-copy strong {
  color: var(--primary-deep) !important;
}
.footer-grid a,
.footer-grid span,
.footer-grid p,
.footer-brand .brand-copy small,
.copyright {
  color: rgba(14, 74, 68, 0.82) !important;
}
.copyright {
  border-top-color: rgba(14, 74, 68, 0.12) !important;
}

/* Testimoni mobile slider: lebih kecil dan gambar utuh */
@media (max-width: 760px) {
  .testimonial-grid.testimonial-grid--mobile-slider {
    gap: 12px !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    flex: 0 0 min(66vw, 260px) !important;
    max-width: min(66vw, 260px) !important;
    border-radius: 16px;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card button {
    height: 350px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f4f8f7;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center top !important;
    background: #fff;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card > div {
    padding: 12px 12px 14px !important;
    gap: 4px;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card strong {
    font-size: 16px !important;
    line-height: 1.18;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card span {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .floating-home {
    right: 16px;
    bottom: 118px;
    width: 90px;
    padding: 10px 9px 12px;
  }
}

@media (max-width: 390px) {
  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    flex-basis: 68vw !important;
    max-width: 68vw !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card button {
    height: 328px !important;
  }

  .floating-home {
    width: 86px;
  }
}


/* =========================================================
   SUPERDECOR V60 — TESTIMONIAL VISIBILITY + TOP BUTTON
   ========================================================= */
@media (max-width: 760px) {
  #testimoni,
  #testimoni .container {
    overflow: hidden !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider {
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 8px !important;
    transform: none !important;
    transition: none !important;
    will-change: scroll-position;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x pan-y;
  }

  .testimonial-grid.testimonial-grid--mobile-slider::-webkit-scrollbar {
    display: none;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    flex: 0 0 min(72vw, 286px) !important;
    max-width: min(72vw, 286px) !important;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 16px;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card button {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center top !important;
    background: #fff !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card > div {
    padding: 11px 12px 13px !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card strong {
    font-size: 15px !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card span {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  /* Tombol kembali ke atas: sama ringkasnya dengan tombol kontak, tanpa teks. */
  .floating-home {
    right: 12px !important;
    bottom: 104px !important;
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid rgba(8, 117, 108, 0.22) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.96) !important;
  }

  .floating-home-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #18c0b0 0%, #08756c 100%);
    color: #fff;
    box-shadow: 0 9px 20px rgba(8, 117, 108, 0.28);
  }

  .floating-home-icon svg {
    width: 25px;
    height: 25px;
    display: block;
  }

  .floating-home span:last-child:not(.floating-home-icon) {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    flex-basis: 74vw !important;
    max-width: 74vw !important;
  }
}


/* =========================================================
   SUPERDECOR V61 — MOBILE TESTIMONIAL + TOP BUTTON HARD FIX
   ========================================================= */
@media (max-width: 760px) {
  #testimoni {
    overflow: hidden !important;
  }

  #testimoni .container {
    overflow: visible !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider {
    box-sizing: border-box !important;
    width: calc(100vw - 24px) !important;
    max-width: none !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 4px 12px 10px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    transform: none !important;
    transition: none !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
  }

  .testimonial-grid.testimonial-grid--mobile-slider::-webkit-scrollbar {
    display: none !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    box-sizing: border-box !important;
    flex: 0 0 min(76vw, 300px) !important;
    width: min(76vw, 300px) !important;
    max-width: min(76vw, 300px) !important;
    min-width: min(76vw, 300px) !important;
    height: auto !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #fff !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card button {
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    display: grid !important;
    place-items: center !important;
    padding: 8px !important;
    overflow: hidden !important;
    background: #f6faf9 !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #fff !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card > div {
    padding: 11px 12px 13px !important;
  }

  /* Tombol panah: ukuran luar sama dengan tombol WhatsApp mobile. */
  .floating-home {
    right: 12px !important;
    bottom: 101px !important;
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid rgba(8, 117, 108, 0.22) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 16px 34px rgba(7, 67, 61, 0.16) !important;
  }

  .floating-home-arrow {
    width: 43px !important;
    height: 43px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #18c0b0 0%, #08756c 100%) !important;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(8, 117, 108, 0.28) !important;
  }

  .floating-home-arrow svg {
    width: 25px !important;
    height: 25px !important;
    display: block !important;
  }

  .floating-home > span:not(.floating-home-arrow) {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    flex-basis: 78vw !important;
    width: 78vw !important;
    max-width: 78vw !important;
    min-width: 78vw !important;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card button {
    height: 345px !important;
    min-height: 345px !important;
  }
}


/* =========================================================
   SUPERDECOR V62 — SLOW CONTINUOUS TESTIMONIAL MOTION
   ========================================================= */
@media (max-width: 760px) {
  .testimonial-grid.testimonial-grid--mobile-slider {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    overscroll-behavior-inline: contain;
  }

  .testimonial-grid.testimonial-grid--mobile-slider .testimonial-card {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}


/* =========================================================
   SUPERDECOR V63 — CONTINUOUS TESTIMONIAL + HOME BUTTON
   ========================================================= */
@media (max-width: 760px) {
  #testimoni,
  #testimoni .container {
    overflow: hidden !important;
  }

  .testimonial-grid.testimonial-grid--marquee {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 4px 0 10px !important;
    transform: none !important;
    touch-action: pan-y;
  }

  .testimonial-marquee-track {
    width: max-content;
    display: flex;
    align-items: stretch;
    will-change: transform;
  }

  .testimonial-marquee-group {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding-right: 12px;
  }

  .testimonial-grid.testimonial-grid--marquee .testimonial-card {
    flex: 0 0 min(76vw, 300px) !important;
    width: min(76vw, 300px) !important;
    min-width: min(76vw, 300px) !important;
    max-width: min(76vw, 300px) !important;
    height: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #fff !important;
  }

  .testimonial-grid.testimonial-grid--marquee .testimonial-card button {
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    display: grid !important;
    place-items: center !important;
    padding: 8px !important;
    overflow: hidden !important;
    background: #f6faf9 !important;
  }

  .testimonial-grid.testimonial-grid--marquee .testimonial-card img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #fff !important;
  }

  /* Tombol Home dibuat satu keluarga dengan tombol WhatsApp. */
  .floating-home {
    right: 12px !important;
    bottom: 102px !important;
    width: auto !important;
    height: auto !important;
    min-width: 76px !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 8px 8px 9px !important;
    border: 1px solid rgba(8, 117, 108, 0.22) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--primary-deep) !important;
    box-shadow: 0 16px 34px rgba(7, 67, 61, 0.16) !important;
  }

  .floating-home-arrow {
    width: 43px !important;
    height: 43px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg, #18c0b0 0%, #08756c 100%) !important;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(8, 117, 108, 0.28) !important;
  }

  .floating-home-arrow svg {
    width: 25px !important;
    height: 25px !important;
  }

  .floating-home .floating-home-label {
    display: block !important;
    color: var(--primary-deep) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
}

/* Lightbox testimoni: klik gambar untuk zoom; pinch zoom tetap diizinkan. */
.lightbox {
  overflow: auto !important;
  touch-action: pan-x pan-y pinch-zoom;
}

.lightbox img {
  cursor: zoom-in;
  touch-action: pinch-zoom;
  transition: width .2s ease, max-width .2s ease, max-height .2s ease;
}

.lightbox img.is-zoomed {
  width: min(180vw, 1500px);
  max-width: none !important;
  max-height: none !important;
  cursor: zoom-out;
}


/* =========================================================
   SUPERDECOR V64 — TESTIMONIAL MANUAL SWIPE + LIGHTBOX
   ========================================================= */
@media (max-width: 760px) {
  .testimonial-grid.testimonial-grid--marquee {
    touch-action: pan-y !important;
    cursor: grab;
  }

  .testimonial-grid.testimonial-grid--marquee:active {
    cursor: grabbing;
  }

  .testimonial-grid.testimonial-grid--marquee .testimonial-card button {
    cursor: zoom-in !important;
    -webkit-tap-highlight-color: transparent;
  }
}


/* =========================================================
   SUPERDECOR V65 — NATIVE SWIPE TESTIMONIAL FIX
   ========================================================= */
@media (max-width: 760px) {
  .testimonial-grid.testimonial-grid--marquee.testimonial-grid--native-swipe {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    touch-action: pan-x pan-y !important;
    scrollbar-width: none !important;
    cursor: grab;
  }

  .testimonial-grid.testimonial-grid--marquee.testimonial-grid--native-swipe::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .testimonial-grid.testimonial-grid--marquee.testimonial-grid--native-swipe .testimonial-marquee-track {
    width: max-content !important;
    display: flex !important;
    transform: none !important;
    will-change: auto !important;
  }

  .testimonial-grid.testimonial-grid--marquee.testimonial-grid--native-swipe .testimonial-card,
  .testimonial-grid.testimonial-grid--marquee.testimonial-grid--native-swipe .testimonial-card * {
    -webkit-user-drag: none;
  }

  .testimonial-grid.testimonial-grid--marquee.testimonial-grid--native-swipe .testimonial-card button {
    touch-action: manipulation !important;
  }
}


/* SUPERDECOR V66 — testimonial autoplay reliability fix (JS-driven fractional scroll position). */


/* =========================================================
   SUPERDECOR V67 — SIMPLE SINGLE-PREVIEW DRAWER SELECTOR
   Satu gambar dinamis + tombol ringkas.
   ========================================================= */
.catalog-drawer-single-preview {
  width: min(920px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(8, 117, 108, 0.18);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(8, 86, 78, 0.08);
}

.catalog-drawer-single-preview > img {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: opacity .2s ease;
}

.catalog-drawer-preview-caption {
  display: grid;
  gap: 4px;
  padding: 13px 16px 15px;
}

.catalog-drawer-preview-caption strong {
  color: var(--primary-deep);
  font-size: 18px;
  line-height: 1.15;
}

.catalog-drawer-preview-caption span {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.45;
}

.catalog-drawer-simple-fieldset > legend {
  width: 100%;
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.catalog-drawer-simple-grid {
  width: min(920px, 100%) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.catalog-drawer-simple-card {
  min-height: 66px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 38px 12px 14px !important;
  border-radius: 14px !important;
  background: #fff;
}

.catalog-drawer-simple-card > strong {
  color: var(--primary-dark);
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
}

.catalog-drawer-position-fieldset {
  width: min(920px, 100%) !important;
}

.catalog-drawer-position-grid {
  gap: 12px !important;
}

.catalog-drawer-action {
  width: min(920px, 100%) !important;
}

@media (max-width: 760px) {
  .catalog-drawer-step.is-active {
    gap: 8px !important;
    padding-top: 8px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-drawer-heading {
    margin-bottom: 0 !important;
  }

  .catalog-drawer-heading .eyebrow {
    font-size: 8px !important;
  }

  .catalog-drawer-heading h3 {
    margin: 1px 0 2px !important;
    font-size: 22px !important;
  }

  .catalog-drawer-heading p {
    max-width: 300px;
    margin-inline: auto;
    font-size: 8px !important;
  }

  .catalog-drawer-single-preview {
    border-radius: 14px;
  }

  .catalog-drawer-single-preview > img {
    height: 205px;
    object-fit: contain;
    background: #f4faf8;
  }

  .catalog-drawer-preview-caption {
    gap: 2px;
    padding: 8px 10px 9px;
    text-align: center;
  }

  .catalog-drawer-preview-caption strong {
    font-size: 14px;
  }

  .catalog-drawer-preview-caption span {
    max-width: 34ch;
    margin: 0 auto;
    font-size: 7.5px;
    line-height: 1.3;
  }

  .catalog-drawer-simple-fieldset > legend,
  .catalog-drawer-position-fieldset > legend {
    margin-bottom: 5px !important;
    font-size: 13px !important;
  }

  .catalog-drawer-simple-grid,
  .catalog-drawer-position-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .catalog-drawer-simple-card,
  .catalog-drawer-position-option > span {
    min-height: 52px !important;
    border-radius: 11px !important;
  }

  .catalog-drawer-simple-card {
    padding: 8px 28px 8px 8px !important;
  }

  .catalog-drawer-simple-card > strong,
  .catalog-drawer-position-option strong {
    font-size: 11px !important;
  }

  .catalog-drawer-position-option > span {
    padding: 8px 25px 8px 8px !important;
  }

  .catalog-drawer-position-option small {
    display: none !important;
  }

  .catalog-drawer-action {
    position: static !important;
    margin-top: 0 !important;
    padding: 6px !important;
  }

  .catalog-drawer-action .catalog-preference-status {
    display: none !important;
  }

  .catalog-drawer-action .catalog-preference-continue {
    width: 100%;
    min-height: 40px !important;
    font-size: 9px !important;
  }
}

/* =========================================================
   MOBILE PALLET TYPE SELECTOR — VERSI 68
   Smartphone: satu preview dinamis + dua tombol pilihan.
   Desktop tetap memakai dua kartu lama tanpa perubahan.
   ========================================================= */

.catalog-type-mobile-selector {
  display: none;
}

@media (max-width: 760px) {
  .catalog-type-chooser {
    justify-content: flex-start;
    gap: 9px;
    padding: 8px 0 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .catalog-type-heading {
    margin-bottom: 4px;
  }

  .catalog-type-choice-grid,
  .catalog-type-chooser .catalog-scroll-hint {
    display: none;
  }

  .catalog-type-mobile-selector {
    width: 100%;
    display: grid;
    gap: 10px;
    margin: 0 auto;
  }

  .catalog-type-mobile-preview {
    position: relative;
    width: 100%;
    height: clamp(205px, 33vh, 310px);
    overflow: hidden;
    border: 1px solid rgba(8, 117, 108, 0.18);
    border-radius: 22px;
    background: #eaf8f5;
    box-shadow: 0 16px 36px rgba(8, 86, 78, 0.12);
  }

  .catalog-type-mobile-preview::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(0deg, rgba(5, 57, 51, 0.46), transparent);
    pointer-events: none;
  }

  .catalog-type-mobile-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.18s ease, transform 0.28s ease;
  }

  .catalog-type-mobile-preview.is-changing img {
    opacity: 0.3;
    transform: scale(1.018);
  }

  .catalog-type-mobile-preview > span {
    position: absolute;
    left: 13px;
    bottom: 12px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.93);
    color: var(--primary-deep);
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(6, 65, 58, 0.12);
    backdrop-filter: blur(8px);
  }

  .catalog-type-mobile-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-type-mobile-option {
    min-width: 0;
    min-height: 48px;
    padding: 9px 8px;
    border: 1px solid rgba(8, 117, 108, 0.22);
    border-radius: 14px;
    background: #fff;
    color: var(--primary-deep);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(8, 86, 78, 0.07);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }

  .catalog-type-mobile-option:active {
    transform: scale(0.985);
  }

  .catalog-type-mobile-option.is-selected {
    border-color: var(--primary-deep);
    background: var(--primary-deep);
    color: #fff;
    box-shadow: 0 10px 24px rgba(8, 86, 78, 0.18);
  }

  .catalog-type-mobile-description {
    padding: 12px 13px;
    border: 1px solid rgba(8, 117, 108, 0.15);
    border-radius: 15px;
    background: rgba(235, 253, 250, 0.74);
    color: var(--primary-deep);
    text-align: left;
  }

  .catalog-type-mobile-description[hidden] {
    display: none;
  }

  .catalog-type-mobile-description strong {
    display: block;
    margin-bottom: 5px;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    line-height: 1.15;
  }

  .catalog-type-mobile-description p {
    margin: 0;
    color: #55736f;
    font-size: 9px;
    line-height: 1.55;
  }

  .catalog-type-mobile-continue {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    border: 0;
    border-radius: 999px;
    background: var(--primary-deep);
    color: #fff;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 11px 25px rgba(8, 86, 78, 0.18);
  }

  .catalog-type-mobile-continue:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    box-shadow: none;
  }

  .catalog-type-mobile-continue span {
    font-size: 17px;
    line-height: 1;
  }
}

@media (max-width: 390px) {
  .catalog-type-mobile-preview {
    height: clamp(190px, 30vh, 245px);
  }

  .catalog-type-mobile-option {
    min-height: 45px;
    font-size: 9px;
  }

  .catalog-type-mobile-description strong {
    font-size: 16px;
  }

  .catalog-type-mobile-description p {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-type-mobile-preview img,
  .catalog-type-mobile-option {
    transition: none;
  }
}



/* =========================================================
   V71 — Mobile pallet type step viewport fix
   Fixes: CTA button terpotong di iPhone / konten terlalu ke bawah
   ========================================================= */
@media (max-width: 760px) {
  .catalog-type-modal-content {
    padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 28px) !important;
  }

  .catalog-type-chooser {
    min-height: auto !important;
    justify-content: flex-start !important;
    padding: 10px 0 calc(env(safe-area-inset-bottom, 0px) + 18px) !important;
  }

  .catalog-step-back,
  .catalog-step-back-corner {
    margin-top: 8px !important;
  }

  .catalog-type-heading {
    margin: 0 auto 12px !important;
  }

  .catalog-type-heading h3 {
    margin: 4px 0 6px !important;
    font-size: clamp(28px, 8vw, 42px) !important;
    line-height: 1.04 !important;
  }

  .catalog-type-heading p {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .catalog-type-mobile-selector {
    gap: 12px !important;
  }

  .catalog-type-mobile-preview {
    height: clamp(228px, 32vh, 280px) !important;
  }

  .catalog-type-mobile-preview img {
    object-position: center 48% !important;
  }

  .catalog-type-mobile-buttons {
    gap: 10px !important;
  }

  .catalog-type-mobile-option {
    min-height: 54px !important;
  }

  .catalog-type-mobile-description {
    margin-top: 0 !important;
    padding: 16px 18px !important;
  }

  .catalog-type-mobile-description strong {
    font-size: 18px !important;
  }

  .catalog-type-mobile-description p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .catalog-type-mobile-continue {
    margin-top: 0 !important;
    min-height: 56px !important;
  }
}

@media (max-width: 390px) {
  .catalog-type-mobile-preview {
    height: clamp(210px, 29vh, 250px) !important;
  }

  .catalog-type-heading h3 {
    font-size: clamp(26px, 8vw, 38px) !important;
  }

  .catalog-type-mobile-description strong {
    font-size: 17px !important;
  }

  .catalog-type-mobile-description p {
    font-size: 13px !important;
  }
}



/* =========================================================
   V71 — Stronger mobile fit for Step 3 pallet type selector
   Goal: tombol bawah terlihat penuh tanpa tertutup frame/browser
   ========================================================= */
@media (max-width: 760px) {
  .catalog-type-modal-content {
    padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 20px) !important;
  }

  .catalog-type-chooser {
    min-height: auto !important;
    justify-content: flex-start !important;
    padding: 2px 0 calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
  }

  .catalog-step-back,
  .catalog-step-back-corner {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
  }

  .catalog-type-heading {
    margin: 0 auto 8px !important;
  }

  .catalog-type-heading .eyebrow {
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
    margin-bottom: 6px !important;
  }

  .catalog-type-heading h3 {
    margin: 0 0 6px !important;
    font-size: clamp(24px, 7.4vw, 36px) !important;
    line-height: 0.98 !important;
  }

  .catalog-type-heading p {
    max-width: 100% !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    margin: 0 auto !important;
  }

  .catalog-type-mobile-selector {
    gap: 10px !important;
    margin-top: -4px !important;
  }

  .catalog-type-mobile-preview {
    height: clamp(188px, 25vh, 230px) !important;
    border-radius: 26px !important;
  }

  .catalog-type-mobile-preview img {
    object-position: center 48% !important;
  }

  .catalog-type-mobile-preview > span {
    font-size: 13px !important;
    padding: 10px 14px !important;
  }

  .catalog-type-mobile-buttons {
    gap: 8px !important;
    margin-top: 0 !important;
  }

  .catalog-type-mobile-option {
    min-height: 46px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
  }

  .catalog-type-mobile-description {
    padding: 12px 14px !important;
    border-radius: 22px !important;
  }

  .catalog-type-mobile-description strong {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }

  .catalog-type-mobile-description p {
    font-size: 12.5px !important;
    line-height: 1.38 !important;
  }

  .catalog-type-mobile-continue {
    min-height: 50px !important;
    margin-top: 4px !important;
    border-radius: 24px !important;
    font-size: 15px !important;
  }

  .catalog-type-mobile-continue span {
    font-size: 16px !important;
  }
}

@media (max-width: 430px) and (max-height: 940px) {
  .catalog-type-mobile-preview {
    height: 196px !important;
  }
}

@media (max-width: 390px) {
  .catalog-type-heading h3 {
    font-size: clamp(22px, 7.2vw, 32px) !important;
  }

  .catalog-type-heading p,
  .catalog-type-mobile-description p {
    font-size: 12px !important;
  }

  .catalog-type-mobile-preview {
    height: 184px !important;
  }

  .catalog-type-mobile-option {
    min-height: 44px !important;
    font-size: 13.5px !important;
  }

  .catalog-type-mobile-continue {
    min-height: 48px !important;
  }
}



/* =========================================================
   V71 — Mobile Step 3 compact heading
   - Hilangkan subteks di bawah judul langkah 3
   - Perkecil judul agar tombol bawah terlihat
   ========================================================= */
@media (max-width: 760px) {
  .catalog-type-heading {
    margin: 0 auto 6px !important;
  }

  .catalog-type-heading h3 {
    font-size: clamp(20px, 6.3vw, 30px) !important;
    line-height: 0.98 !important;
    margin: 0 !important;
    max-width: 94% !important;
  }

  .catalog-type-heading p {
    display: none !important;
  }

  .catalog-type-mobile-selector {
    gap: 8px !important;
  }

  .catalog-type-mobile-preview {
    height: clamp(182px, 24vh, 220px) !important;
  }

  .catalog-type-mobile-description {
    padding: 10px 14px !important;
  }

  .catalog-type-mobile-description strong {
    font-size: 15px !important;
  }

  .catalog-type-mobile-description p {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .catalog-type-mobile-continue {
    min-height: 48px !important;
  }
}

@media (max-width: 390px) {
  .catalog-type-heading h3 {
    font-size: clamp(19px, 6vw, 27px) !important;
  }
}



/* =========================================================
   V72 — Mobile Step 3 FINAL viewport + cache fix
   Target: #catalogTypeChooser only
   ========================================================= */
@media (max-width: 760px) {
  /* Hilangkan teks yang ditandai merah hanya pada langkah tipe divan */
  #catalogTypeChooser .catalog-type-heading > p {
    display: none !important;
  }

  /* Perkecil judul yang ditandai hijau */
  #catalogTypeChooser .catalog-type-heading {
    margin: 0 auto 8px !important;
  }

  #catalogTypeChooser .catalog-type-heading h3 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 2px auto 4px !important;
    font-size: 27px !important;
    line-height: 1.02 !important;
    letter-spacing: -0.025em !important;
  }

  #catalogTypeChooser .catalog-type-heading .eyebrow {
    margin-bottom: 4px !important;
  }

  /* Hemat tinggi viewport supaya CTA bawah benar-benar masuk */
  #catalogTypeChooser {
    padding-top: 2px !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
  }

  #catalogTypeChooser .catalog-type-mobile-selector {
    gap: 8px !important;
  }

  #catalogTypeChooser .catalog-type-mobile-preview {
    height: 190px !important;
  }

  #catalogTypeChooser .catalog-type-mobile-description {
    padding: 10px 13px !important;
  }

  #catalogTypeChooser .catalog-type-mobile-description strong {
    margin-bottom: 3px !important;
    font-size: 15px !important;
  }

  #catalogTypeChooser .catalog-type-mobile-description p {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.34 !important;
  }

  /* Tombol lanjut selalu mudah terlihat dan disentuh */
  #catalogTypeMobileContinue {
    position: sticky !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
    z-index: 8 !important;
    min-height: 50px !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 390px) {
  #catalogTypeChooser .catalog-type-heading h3 {
    font-size: 25px !important;
  }

  #catalogTypeChooser .catalog-type-mobile-preview {
    height: 180px !important;
  }
}


/* =========================================================
   V73 — Pricing Database UI
   ========================================================= */
.config-price del,
.configurator-submit del,
.catalog-confirm-price del,
.cart-price-stack del {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-decoration-thickness: 1px;
}
.config-price del[hidden],
.configurator-submit del[hidden],
.catalog-confirm-price del[hidden] { display: none; }
.config-price del { margin-top: 3px; }
.configurator-submit del { margin-top: 2px; margin-bottom: 2px; }
.catalog-confirm-price del { margin-top: 3px; color: var(--text-muted); font-size: 11px; }
.cart-price-stack { margin-top: 7px; }
.cart-price-stack strong { margin-top: 2px; }
.catalog-confirm-add:disabled,
.config-add-cart:disabled { cursor: not-allowed; opacity: 0.55; }

/* =========================================================
   V74 — Tombol Kembali pada halaman Konfirmasi
   Selalu terlihat di header modal saat langkah konfirmasi aktif.
   ========================================================= */
.catalog-modal-topbar-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.catalog-modal-back-confirm {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid rgba(8, 117, 108, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-deep);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(13, 71, 66, 0.08);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.catalog-modal-back-confirm:hover {
  border-color: var(--primary);
  background: var(--soft);
  transform: translateX(-1px);
}

.catalog-modal-back-confirm > span:first-child {
  font-size: 18px;
  line-height: 1;
}

.catalog-modal-back-confirm[hidden] {
  display: none !important;
}

/* Tombol lama di dalam halaman konfirmasi digantikan tombol header V74. */
.catalog-confirm-step > .catalog-step-back-corner {
  display: none !important;
}

@media (max-width: 760px) {
  .catalog-modal-topbar-actions {
    gap: 7px;
  }

  .catalog-modal-back-confirm {
    min-height: 34px;
    padding: 0 11px;
    gap: 5px;
    font-size: 9px;
    box-shadow: none;
  }

  .catalog-modal-back-confirm > span:first-child {
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .catalog-modal-back-confirm {
    padding: 0 9px;
    font-size: 8px;
  }
}
