/* =========================================================
   APP.CSS - NADIN PRINTING (FRONTEND)
   Struktur:
   1) Global & Layout
   2) Hero Slider
   3) Home - Kategori
   4) Home - Panel Section
   5) Home - Produk Grid & Card
   6) Responsive
========================================================= */

/* =========================================================
   SECTION: TESTIMONI (HOME)
========================================================= */
.home-testimoni{
  padding: 22px 0;
}

.home-testimoni__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 12px;
}

.home-testimoni__title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  color: #0B1F3B;
}

.home-testimoni__subtitle{
  margin: 6px 0 0 0;
  color: #667085;
  line-height: 1.5;
  max-width: 720px;
}

.testi-track{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.testi-card{
  background:#fff;
  border: 1px solid rgba(233, 237, 245, 0.95);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 26px rgba(11,31,59,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.testi-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(11,31,59,0.12);
}

.testi-card__top{
  display:flex;
  align-items:center;
  gap: 12px;
}

.testi-avatar{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow:hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(233, 237, 245, 0.95);
  background: #f3f4f6;
}

.testi-avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.testi-avatar__empty{
  width:100%;
  height:100%;
  background: linear-gradient(135deg, rgba(148,163,184,0.65), rgba(226,232,240,0.9));
}

.testi-meta{ min-width: 0; }

.testi-name{
  font-weight: 900;
  color: #0B1F3B;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.testi-company{
  margin-top: 2px;
  font-size: 12px;
  color: #667085;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.testi-rating{
  margin-left:auto;
  display:flex;
  gap:2px;
  font-size: 13px;
}

.testi-star{ opacity: 0.25; }
.testi-star.is-on{ opacity: 1; }


/* =========================================================
   SECTION: PELANGGAN KAMI (HOME)
========================================================= */
.home-clients{ padding: 18px 16px 18px; }

.clients-head{ margin-bottom: 12px; }

.clients-title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  color:#0B1F3B;
}

.clients-subtitle{
  margin:6px 0 0 0;
  color:#667085;
  line-height:1.5;
  max-width:720px;
}

.clients-track{
  display:flex;
  gap:18px;
  align-items:center;
  overflow-x:auto;
  padding: 8px 2px 4px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.clients-track::-webkit-scrollbar{ height: 6px; }
.clients-track::-webkit-scrollbar-thumb{ background: rgba(11,31,59,0.18); border-radius:999px; }

.client-logo{
  flex: 0 0 auto;
  width: 150px;
  height: 70px;
  border-radius: 16px;
  border: 1px solid rgba(233, 237, 245, 0.95);
  background:#fff;
  box-shadow: 0 10px 22px rgba(11,31,59,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
  scroll-snap-align: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.client-logo img{
  max-width: 115px;
  max-height: 42px;
  object-fit:contain;           /* supaya gambar masuk utuh */
  filter: grayscale(100%);
  opacity: .85;
  transition: filter .18s ease, opacity .18s ease;
}

.client-logo:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11,31,59,0.10);
  border-color: rgba(245,124,0,0.45);
}

.client-logo:hover img{
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 820px){
  .clients-title{ font-size: 20px; }
  .client-logo{ width: 140px; height: 66px; }
  .client-logo img{ max-width: 110px; }
}

.testi-msg{
  margin-top: 10px;
  color: #334155;
  line-height: 1.6;
  display:-webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 980px){
  .testi-track{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px){
  .testi-track{
    display:flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 24px 12px 2px; /* ada ruang peek */
    -webkit-overflow-scrolling: touch;
  }
  .testi-track::-webkit-scrollbar{ height: 8px; }
  .testi-card{
    flex: 0 0 calc(50% - 6px); /* tampil 2 card */
    scroll-snap-align: start;
  }
  .testi-name, .testi-company{ max-width: 160px; }
}

@media (max-width: 420px){
  .testi-card{ flex: 0 0 calc(56% - 6px); } /* tetap 2 card + peek */
}


/* =========================================================
   1) GLOBAL & LAYOUT
========================================================= */
body{
  background:#f4f6fb;
}

/* wrapper konten utama (dipakai juga oleh section bawah) */
.main-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:0 18px;
}

/* NOTE:
   full-bleed tidak dipakai lagi untuk slider (biar sejajar container),
   tapi boleh disimpan kalau suatu saat butuh section full layar.
*/
.full-bleed{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:0 18px;
}

html, body{ overflow-x:hidden; }

@media (max-width: 1024px){
  .hero-arrow{ display:none !important; }
}



/* =========================================================
   SECTION: HERO SLIDER (SEJAJAR CONTAINER + PROPORSIONAL)
   Desktop: text kiri, gambar kanan
   Mobile: text center atas, gambar bawah
========================================================= */
.hero-slider{
  width:100%;
  margin:12px 0 18px;
}

.hero-slide{
  position:relative;
  display:none;
  background: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,0)) , var(--bg, #0B1F3B);
  border-radius:18px;
  overflow:hidden;
  min-height:340px;
}

.hero-slide.is-active{
  display:flex;
  align-items:center;
}

.hero-left{
  width:50%;
  padding:56px 48px 56px 56px;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}

.hero-badge{
  display:inline-block;
  background:#F57C00;
  color:#fff;
  padding:6px 10px;
  border-radius:10px;
  font-weight:800;
  width:fit-content;
}

.hero-title{
  margin:0;
  font-size:46px;
  line-height:1.15;
}

.hero-subtitle{
  font-size:18px;
  opacity:0.95;
}

.hero-btn{
  margin-top:8px;
  background:#F57C00;
  color:#fff;
  text-decoration:none;
  padding:12px 16px;
  border-radius:12px;
  width:fit-content;
  font-weight:800;
}

.hero-right{
  width:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 32px 24px 12px;
}

.hero-right a{ display:inline-flex; }

.hero-img{
  max-width:100%;
  width:auto;
  height:auto;
  max-height:400px;   /* kunci: PNG tidak kebesaran */
  object-fit:contain;
  display:block;
}


/* MOBILE */
@media (max-width: 1024px){
  .hero-slide.is-active{
    flex-direction:column;
    text-align:center;
    min-height:unset;
    padding:26px 18px 18px; /* lebih lega */
  }

  .hero-left{
    width:100%;
    padding:0;
    align-items:center;
    gap:14px;
  }

  .hero-badge{
    font-size:12px;
    padding:8px 14px;
    border-radius:16px;
    font-weight:900;
  }

  .hero-title{
    font-size:42px;       /* besar seperti diandigital */
    line-height:1.05;
    letter-spacing:-0.5px;
  }

  .hero-subtitle{
    font-size:16px;
    line-height:1.5;
    max-width:320px;      /* biar rapi & tidak kepanjangan */
    opacity:0.95;
  }

  .hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 22px;
    border-radius:16px;
    font-size:16px;
    font-weight:900;
  }

  .hero-right{
    width:100%;
    padding:18px 0 0;
    justify-content:center;
  }

  .hero-img{
    max-width:360px;      /* gambar dominan */
    max-height:260px;
  }
}

@media (max-width: 420px){
  .hero-title{ font-size:36px; }
  .hero-img{ max-width:330px; max-height:240px; }
}

/* =========================================================
   MOBILE: sembunyikan badge "Baru" / "Menarik"
========================================================= */
@media (max-width: 1024px){
  .hero-badge{
    display:none;
  }
}


/* =========================================================
   SLIDER ARROWS - PANAH SAJA (tanpa lingkaran)
========================================================= */
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  cursor:pointer;

  padding:8px 10px;
  color:#fff;
  font-size:40px;
  font-weight:900;
  line-height:1;

  opacity:0.9;
  text-shadow:0 10px 20px rgba(0,0,0,0.35);
}

.hero-prev{ left:14px; }
.hero-next{ right:14px; }

.hero-arrow:hover{ opacity:1; }


/* mobile: panah sedikit lebih kecil */
@media (max-width: 900px){
  .hero-arrow{
    width:38px;
    height:38px;
    font-size:24px;
  }
  .hero-prev{ left:10px; }
  .hero-next{ right:10px; }
}

@media (max-width: 900px){
  .hero-arrow{ display:none !important; }
}

/* =========================================================
   FIX: karakter "<" nyasar di halaman (jika muncul sebagai text node)
========================================================= */
body{
  overflow-x:hidden;
}


/* =========================================================
   SECTION: HOME - KATEGORI (center desktop, swipe mobile)
========================================================= */
.home-cats{
  display:flex;
  gap:14px;
  margin:10px 0 18px;

  /* desktop */
  justify-content:center;
  flex-wrap:nowrap;
}

/* item kategori (biasanya <a class="home-cat">) */
.home-cat{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;

  border:1px solid #e9edf5;
  background:#fff;
  border-radius:16px;

  color:#0B1F3B;
  text-decoration:none;            /* hilangkan garis bawah */
  box-shadow:0 8px 18px rgba(11,31,59,0.06);

  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space:nowrap;             /* biar teks tidak pecah */
}

.home-cat:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(11,31,59,0.14);
  border-color:rgba(245,124,0,0.55);
}

.home-cat__icon{
  width:34px;
  height:34px;
  object-fit:contain;
}

/* MOBILE: swipe horizontal */
@media (max-width: 820px){
  .home-cats{
    justify-content:flex-start;    /* di HP mulai dari kiri */
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;

    padding:6px 4px 12px;
    margin:10px 0 14px;
  }

  .home-cats::-webkit-scrollbar{ height:0; } /* hide scrollbar */

  .home-cat{
    flex:0 0 auto;                 /* jangan mengecil */
    scroll-snap-align:start;
  }
}

/* =========================================================
   HOME - KATEGORI (navy + white)
========================================================= */
.home-cat{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;

  background:#770000;                 /* navy baru */
  border:1px solid rgba(255,255,255,0.16);
  border-radius:16px;

  color:#fff;
  text-decoration:none !important;
  box-shadow:0 10px 22px rgba(0,0,0,0.14);

  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  white-space:nowrap;
}

.home-cat:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(0,0,0,0.18);
  border-color:rgba(245,124,0,0.55);
  color:#fff;
  background:#b90000;                  /* sedikit lebih gelap saat hover */
}

.home-cat__icon{
  width:34px;
  height:34px;
  object-fit:contain;
  filter:none; /* icon kamu sudah putih, jadi biarin */
}

.home-cats a{ text-decoration:none !important; }



/* =========================================================
   4) HOME - PANEL SECTION (per kategori)
========================================================= */
.home-section{
  background:#fff;
  border-radius:18px;
  padding:16px 16px 18px;
  margin:18px 0;
  box-shadow:0 10px 24px rgba(11,31,59,0.06);
  border:1px solid #e9edf5;
}

.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.section-title{
  margin:0;
  font-size:20px;
  font-weight:900;
  color:#0B1F3B;
  position:relative;
  padding-left:12px;
}

.section-title::before{
  content:"";
  position:absolute;
  left:0;
  top:3px;
  width:4px;
  height:22px;
  border-radius:10px;
  background:#0B1F3B;
}

.section-link{
  text-decoration:none;
  font-weight:800;
  color:#fff;
  padding:8px 12px;
  border-radius:12px;
  background:#770000;
  border:1px solid #e9edf5;
}

.section-link:hover{
  border-color:rgba(245,124,0,0.55);
}


/* =========================================================
   5) HOME - PRODUK GRID & PRODUCT CARD
========================================================= */
.home-products{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}

/* CARD */
.product-card{
  position:relative;
  background:#fff;
  border:1px solid #e9edf5;
  border-radius:16px;
  overflow:hidden;
  color:#0B1F3B;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(11,31,59,0.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display:flex;
  flex-direction:column;
  height:100%;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 36px rgba(11,31,59,0.14);
  border-color:rgba(245,124,0,0.60);
}

/* area gambar (rasio konsisten) */
.product-card__thumb{
  width:100%;
  aspect-ratio: 1 / 1;
  overflow:hidden;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* gambar */
.product-card__img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#f3f4f6;
  transition:transform .6s cubic-bezier(.4, 0, .2, 1);
  display:block;
}

/* body rapih */
.product-card__body{
  position:relative;
  z-index:2;
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}

.product-card__title{
  font-weight:900;
  font-size:16px;
  margin:0;
}

.product-card__desc{
  font-size:13px;
  line-height:1.45;
  color:#4b5563;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:38px;
}

.product-card__wa{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#0B1F3B;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-size:13px;
  font-weight:900;
  width:fit-content;
  text-decoration:none;
  cursor:pointer;
}

.product-card--no-link{
  cursor:default;
}

.product-card--no-link{ cursor:default; }


/* =========================================================
   6) RESPONSIVE (produk) - dipertahankan sesuai punyamu
========================================================= */
@media (max-width: 1100px){
  .home-products{ grid-template-columns:repeat(3, 1fr); }
}

/* =========================================================
   6.1) PRODUCTS PAGE (Sesi 2)
========================================================= */
.page-hero{
  background: linear-gradient(180deg, #990000, #530000);
  color:#fff;
  padding:34px 0 26px;
  border-radius:12px;
}

.page-hero__inner{
  max-width:1180px;
  margin:0 auto;
  padding:0 18px;
}

.breadcrumb{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:rgba(255,255,255,0.85);
}
.breadcrumb a{ color:rgba(255,255,255,0.95); text-decoration:none; }
.breadcrumb a:hover{ text-decoration:underline; }
.breadcrumb__current{ font-weight:800; }

.page-hero__title{
  margin:10px 0 6px;
  font-size:34px;
  font-weight:900;
  letter-spacing:0.3px;
}

.page-hero__subtitle{
  margin:0;
  max-width:780px;
  color:rgba(255,255,255,0.85);
  line-height:1.6;
}

.products-page{
  padding:26px 0 46px;
}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 18px;
}

.products-filters{
  background:#fff;
  border:1px solid #e9edf5;
  border-radius:16px;
  padding:14px;
  box-shadow:0 8px 18px rgba(11,31,59,0.06);
  margin-top:-18px;
  position:relative;
  z-index:2;
}

.products-filters__row{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.products-filters__field{ flex:1; min-width:220px; }

.products-filters input,
.products-filters select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid #e9edf5;
  background:#f7f9fc;
  outline:none;
}

.products-filters input:focus,
.products-filters select:focus{ border-color:rgba(245,124,0,0.60); background:#fff; }

.products-filters__btn{
  border:none;
  background:#770000;
  color:#fff;
  padding:12px 16px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}

.products-filters__reset{
  color:#0B1F3B;
  font-weight:800;
  text-decoration:none;
  padding:10px 12px;
  border-radius:12px;
  background:#eef3ff;
}

.catalog-section{ margin-top:28px; }

.product-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  margin-top:14px;
}

.empty-state{
  background:#fff;
  border:1px solid #e9edf5;
  border-radius:16px;
  padding:22px;
  margin-top:18px;
  box-shadow:0 8px 18px rgba(11,31,59,0.06);
}
.empty-state__title{ font-weight:900; font-size:18px; margin-bottom:6px; }
.empty-state__desc{ color:#4b5563; }

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

@media (max-width: 1100px){
  .product-grid{ grid-template-columns:repeat(3, 1fr); }
}

@media (max-width: 820px){
  .page-hero__title{ font-size:28px; }
  .product-grid{ grid-template-columns:repeat(2, 1fr); }
  .products-filters__field{ min-width:100%; }
  .products-filters__btn{ width:100%; }
}

@media (max-width: 420px){
  .page-hero{ padding:28px 0 22px; }
  .page-hero__title{ font-size:24px; }
  .product-grid{ gap:12px; }
}

/* =========================================================
   HOME - WHY CHOOSE
========================================================= */
.home-why{ padding:20px 16px 18px; }

.home-why__header{
  text-align:center;
  margin-bottom:14px;
}

.home-why__title{
  margin:0;
  font-size:28px;
  font-weight:900;
  color:#0B1F3B;
  letter-spacing:.2px;
}

.home-why__subtitle{
  margin:8px auto 0;
  max-width:760px;
  color:#55657a;
  font-size:14px;
  line-height:1.55;
}

.home-why__grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:16px;
}

.why-card{
  background:#fff;
  border:1px solid #e9edf5;
  border-radius:18px;
  padding:14px 14px 16px;
  box-shadow:0 10px 26px rgba(11,31,59,0.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position:relative;
  overflow:hidden;
}

.why-card::after{
  content:"";
  position:absolute;
  inset:-80px -80px auto auto;
  width:160px;
  height:160px;
  background:radial-gradient(circle at center, rgba(245,124,0,0.22), transparent 60%);
  opacity:.0;
  transition:opacity .18s ease;
}

.why-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 42px rgba(11,31,59,0.14);
  border-color:rgba(245,124,0,0.55);
}

.why-card:hover::after{ opacity:1; }

.why-card__icon{
  width:58px;
  height:58px;
  border-radius:16px;
  background:linear-gradient(135deg, var(--c1, #ff7a18), var(--c2, #ffb347));
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 14px 26px rgba(11,31,59,0.14);
  border:1px solid rgba(255,255,255,0.65);
}

.why-card__icon img{
  width:30px;
  height:30px;
  object-fit:contain;
}

.why-card__body{ margin-top:12px; }

.why-card__title{
  font-weight:900;
  font-size:14px;
  color:#0B1F3B;
  margin:0 0 6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:34px;
}

.why-card__desc{
  color:#5a6b80;
  font-size:12px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:56px;
}

@media (max-width:1100px){
  .home-why__grid{ grid-template-columns:repeat(3, 1fr); }
}

/* MOBILE - WHY SWIPE (2 terlihat + peek card ke-3) */
@media (max-width:820px){
  .home-why__title{ font-size:22px; }

  .home-why__grid{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding:6px 44px 12px 4px; /* kanan dibuat lebih lebar untuk peek */
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  .home-why__grid::-webkit-scrollbar{ height:0; }

  .home-why__grid .why-card{
    flex:0 0 calc((100% - 14px) / 2);
    scroll-snap-align:start;
  }

  .why-card{ padding:12px 12px 14px; }
  .why-card__icon{ width:54px; height:54px; border-radius:16px; }
  .why-card__icon img{ width:28px; height:28px; }
  .why-card__title{ font-size:13px; min-height:32px; }
  .why-card__desc{ font-size:11px; min-height:52px; }
}

@media (max-width:420px){
  .home-why__grid{ padding-right:36px; }
  .home-why__grid .why-card{ flex:0 0 calc((100% - 12px) / 2); }
}

@media (hover: none){
  .why-card:hover{
    transform:none;
    box-shadow:0 10px 26px rgba(11,31,59,0.06);
    border-color:#e9edf5;
  }
  .why-card:hover::after{ opacity:0; }
}
@media (max-width: 820px){
  /* mobile: 2 card terlihat + swipe, gambar jangan kepotong */
  .product-card__img{ height:190px; object-fit:contain; object-position:center; }
}
@media (max-width: 420px){
  .product-card__img{ height:200px; }
}

/* MOBILE - PRODUK SWIPE (2 terlihat, bisa geser) */
@media (max-width: 820px){
  .home-products{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding:6px 4px 12px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .home-products::-webkit-scrollbar{ height:0; }

  .home-products .product-card{
    flex:0 0 calc((100% - 14px) / 2);
    scroll-snap-align:start;
  }
}

@media (max-width: 420px){
  .home-products .product-card{
    flex:0 0 calc((100% - 12px) / 2);
  }
}

@media (hover: none){
  .product-card:hover{
    transform:none;
    box-shadow:0 8px 18px rgba(11,31,59,0.06);
  }
}

/* =========================================================
   HOME - CAPAIAN KAMI (Dian Digital Style)
========================================================= */
.home-ach{
  position:relative;
  padding:64px 0;
  margin:18px 0;
  overflow:hidden;
  background:linear-gradient(135deg, var(--c1, #0B1F3B), var(--c2, #153a7a));
}

.home-ach::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--img);
  background-size:cover;
  background-position:center;
  opacity: var(--imgOpacity, 0);
  transform:scale(1.06);
}

.home-ach::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(5, 18, 39, var(--ovOpacity, 0.35));
}

.home-ach .container{ position:relative; z-index:1; }

.home-ach__header{ text-align:center; }

.home-ach__title{
  margin:0;
  font-size:34px;
  font-weight:900;
  color:#fff;
}

.home-ach__subtitle{
  margin:10px auto 0;
  max-width:820px;
  color:rgba(255,255,255,0.92);
  font-size:14px;
  line-height:1.65;
}

.home-ach__panel{
  border-radius:18px;
  padding:20px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 18px 42px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  max-width:980px;
  margin:22px auto 0;

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

.ach-item{
  text-align:center;
  color:#fff;
  padding:6px 6px 8px;
}

.ach-item__icon{
  width:48px;
  height:48px;
  margin:0 auto 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  animation: achFloat 2.8s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.ach-item__icon img{
  width:48px;
  height:48px;
  object-fit:contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.28));
}

.ach-item__value{
  font-size:22px;
  font-weight:900;
  line-height:1.1;
}

.ach-item__label{
  margin-top:6px;
  font-size:13px;
  opacity:0.92;
}

@keyframes achFloat{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
}

@media(max-width:1100px){
  .home-ach__panel{ grid-template-columns:repeat(2, 1fr); }
}

@media(max-width:820px){
  .home-ach{ padding:46px 0; }
  .home-ach__title{ font-size:24px; }
  .home-ach__panel{ padding:16px; gap:14px; }
  .ach-item__value{ font-size:20px; }
  .ach-item__label{ font-size:12px; }
  .ach-item__icon{ width:44px; height:44px; }
  .ach-item__icon img{ width:44px; height:44px; }
}

@media (max-width: 820px){
  .product-card{
    min-height:unset;
  }

  .product-card__img{
    height:130px;
    padding:6px;
    transform:scale(1.03) translateX(-4px);
  }

  .product-card__body{
    padding:5px 10px 12px;
  }

  .product-card__title{
    font-size:14px;
  }

  .product-card__desc{
    font-size:12px;
    -webkit-line-clamp:2;
    min-height:32px;
  }

  .product-card__wa{
    font-size:8px;
    padding:8px 10px;
  }
}

/* =========================================================
   HEADER - NAVBAR (rapi ala diandigital, navy)
========================================================= */
.site-header{
  background:linear-gradient(180deg, #990000, #530000);
  position:sticky;
  top:0;
  z-index:999;
}

.site-nav{
  max-width:1200px;
  margin:0 auto;
  padding:12px 18px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  min-width:220px; /* biar menu ga ketarik ke kiri */
}

.brand-logo{
  height:34px;
  width:auto;
  display:block;
  transition:transform .18s ease;
}

.brand:hover .brand-logo{ transform:scale(1.03); }

.brand-text{
  color:#fff;
  font-weight:900;
  letter-spacing:.2px;
}

.menu{
  display:flex;
  align-items:center;
  gap:8px;
}

.menu-link{
  position:relative;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  padding:10px 14px;
  border-radius:14px;
  opacity:.92;
  transition:opacity .18s ease, background .18s ease, transform .18s ease;
}

.menu-link:hover{
  opacity:1;
  background:rgba(255,255,255,0.10);
  transform:translateY(-1px);
}

/* active style kalau mau dipakai */
.menu-link.is-active{
  background:rgba(255,255,255,0.14);
  opacity:1;
}

.menu-toggle{
  display:none;
  background:rgba(255,255,255,0.12);
  color:#fff;
  border:1px solid rgba(255,255,255,0.14);
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
}


/* =========================================================
   MOBILE DRAWER NAV
========================================================= */
.menu-toggle{
  display:none; /* desktop hidden */
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  border-radius:14px;
}

@media (max-width: 900px){
  .menu{ display:none; }
  .menu-toggle{ display:inline-flex; }
}

/* overlay */
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:998;
}

/* drawer */
.nav-drawer{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width:min(92vw, 340px);
  background:#0B1F3B;
  color:#fff;
  transform:translateX(110%);
  transition:transform .22s ease;
  z-index:999;
  display:flex;
  flex-direction:column;
  box-shadow:-18px 0 40px rgba(0,0,0,.18);
}

.nav-drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,0.10);
}

.nav-drawer__brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
}

.nav-drawer__brand img{
  height:28px;
  width:auto;
  display:block;
}

.nav-drawer__close{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.10);
  color:#fff;
  font-size:18px;
  cursor:pointer;
}

.nav-drawer__menu{
  padding:12px;
  overflow:auto;
}

.nav-drawer__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  text-decoration:none;
  color:#fff;
  font-weight:900;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  margin-bottom:10px;
  cursor:pointer;
}

.nav-drawer__link:hover{
  background:rgba(255,255,255,0.10);
}

.nav-drawer__link.is-accordion .chev{
  opacity:.9;
  font-size:14px;
}

/* accordion panel */
.nav-drawer__submenu{
  display:none;
  padding:8px 6px 12px;
  margin:-4px 0 10px;
}

/* subcat item */
.nav-subcat{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  text-decoration:none;
  color:#fff;
  background:rgba(0,0,0,0.12);
  border:1px solid rgba(255,255,255,0.10);
  margin-bottom:8px;
}

.nav-subcat__icon{
  width:36px;
  height:36px;
  object-fit:contain;
  background:#002147;
  border-radius:12px;
  padding:8px;
  border:1px solid rgba(255,255,255,0.12);
}

.nav-subcat__name{
  font-weight:900;
  font-size:13px;
  flex:1;
}

.nav-subcat__more{
  font-weight:900;
  font-size:12px;
  color:#F57C00;
}

/* open state */
body.nav-open .nav-overlay{
  opacity:1;
  pointer-events:auto;
}
body.nav-open .nav-drawer{
  transform:translateX(0);
}



/* =========================================================
   MEGA MENU (lebih lega & center)
========================================================= */

.menu-item.has-mega { 
  position: static; /* penting: jangan jadi acuan absolut */
}
/* wadah dropdown */
.menu-item.has-mega .mega{
  position: absolute;
  top: calc(100% - 20px);   /* NAIKIN megamenu (makin besar makin nempel) */
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10;            /* pastikan gak nambah gap */
  padding-top: 50;           /* biar bener2 nempel */
  z-index: 9999;
}

.site-header { 
  position: relative; /* mega akan ngikut header */
}

.menu-item{ position:relative; }

.mega{
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  /* kunci ke lebar container */
  max-width: 1200px;
  margin: 12px auto 0;
  width: calc(100vw - 48px);

  background:#fff;
  border-radius:18px;
  padding:28px 32px;
  box-shadow:0 20px 40px rgba(0,0,0,.18);

  opacity:0;
  pointer-events:none;
  transition:.25s ease;
  z-index:999;
}

.has-mega:hover .mega{
  opacity:1;
  pointer-events:auto;
}

/* box mega */
/* MEGA MENU GRID: FIX COLUMN (NO AUTO-FIT) */
.mega-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* default desktop */
  gap: 16px;
}

/* laptop kecil */
@media (max-width: 1200px){
  .mega-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* tablet */
@media (max-width: 900px){
  .mega-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* hp */
@media (max-width: 560px){
  .mega-grid{ grid-template-columns: 1fr; }
}


/* card */
.mega-card{
  border:1px solid #eef2f9;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mega-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 130px; /* boleh 120-150 sesuai desain */
  text-align:left; /* list & CTA rata kiri */
}
.mega-more{
  margin-top: auto;
  display: block;
  padding: 0 0px 14px 5px;
  white-space: nowrap;
}
.mega-card{ padding: 18px 18px; }
.mega-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(11,31,59,0.14);
  border-color:rgba(245,124,0,0.45);
}

.mega-head{
  display:flex;
  gap:12px;
  align-items:center;
  padding:5px 5px 5px;
  text-decoration:none;
  color:#0B1F3B;
}

/* ICON background NAVY sama kaya kategori home */
.mega-icon{
  width:54px;
  height:54px;
  object-fit:contain;

  border-radius:14px;
  background:#770000;                 /* navy */
  padding:10px;
  border:1px solid rgba(255,255,255,0.18);
}

.mega-title{
  font-weight:900;
  font-size:14px;
  line-height:1.2;
}

.mega-list{
  padding: 0 12px 8px 78px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.mega-prod{
  font-size: 13px;
  line-height: 1.2;
  color: #344963;
  opacity: .9;
}
.mega-prod:hover{ opacity: 1; }

.mega-prod:hover{
  color:#0B1F3B;
  text-decoration:underline;
}

.mega-more{
  margin-top:4px;
  text-decoration:none;
  color:#000000;
  font-weight:900;
  font-size:13px;
}

.mega-more:hover{ text-decoration:underline; }


@media (max-width: 1100px){
  .mega-grid{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width: 900px){
  .menu{ display:none; }
  .menu-toggle{ display:inline-flex; }
  .mega{ display:none; }
}


/* =========================================================
   RESPONSIVE NAV (simple)
========================================================= */
.menu-toggle{
  display:none;
  margin-left:auto;
  background:rgba(255,255,255,0.12);
  color:#fff;
  border:1px solid rgba(255,255,255,0.14);
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
}

@media (max-width: 900px){
  .menu{ display:none; }
  .menu-toggle{ display:inline-flex; }
  .mega{ display:none; } /* mega menu off di mobile (nanti bisa dibuat versi tap) */
}

.mega-list{
  /* pastikan sejajar dengan judul (setelah icon) */
  padding: 0 12px 8px 5px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.mega-list a{
  display:block;
  text-decoration: none;
  color: #344963;
  opacity: .9;
}

.mega-list a:hover{
  opacity: 1;
  color:#0B1F3B;
  text-decoration: underline;
}

/* =========================================================
   HEADER FORCE FULL-WIDTH (anti kepengaruh global)
========================================================= */
.site-header{
  width:100%;
  margin:0 !important;
  padding:0 !important;
}

.site-header *{
  box-sizing:border-box;
}

.site-nav{
  max-width:1200px;
  margin:0 auto !important;
  padding:12px 18px !important;
}

/* kalau kamu punya CSS global yang kasih padding ke body */
body{ margin:0; }


@media (max-width: 420px){
  .nav-drawer__menu{ padding:10px; }
  .nav-drawer__link{
    padding:11px 11px;
    font-size:15px;
    border-radius:14px;
  }
  .nav-drawer__close{
    width:38px;
    height:38px;
    border-radius:12px;
  }
}

/* =========================================================
   Tambahan untuk mega menu supaya tidaknabrak
========================================================= */

.site-header,
.site-nav,
.nav-inner,
.menu {
  overflow: visible;
}

.mega-grid{
  margin-top: 0;
}


/* MENU LINK */
.menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

/* PANAH SEGITIGA TIPIS */
.menu-link .arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  transition: transform 0.2s ease;
}

/* HOVER (opsional) */
.menu-item:hover .arrow {
  transform: rotate(180deg);
}


.site-header{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
}

/* kasih jarak supaya konten tidak ketutup header */
body{
  padding-top: 65px; /* sesuaikan tinggi header desktop */
}

/* mobile biasanya lebih pendek */
@media (max-width: 768px){
  body{
    padding-top: 74px; /* sesuaikan tinggi header mobile */
  }
}

/* =========================================================
   HOME ARTICLE SLIDER (FULL) – 2 mobile + peek, 4 desktop
   ========================================================= */

/* Section wrapper: ikut layout halaman (seperti produk) */
.home-article{
  margin-top: 18px;
  margin-bottom: 18px;
}

/* Header: judul kiri, view all kanan */
.home-article__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.home-article__title{
  margin:0;
  font-weight:800;
}

/* View All pill */
.home-article__all{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  border-radius:999px;
  background:#770000;
  border:1px solid rgba(0,0,0,.12);
  font-size:13px;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  transition:transform .15s ease, background .2s ease, filter .2s ease;
}

.home-article__all:hover{
  background:#e9edf1;
  filter:brightness(.99);
  transform:translateY(-1px);
}

/* Track slider swipe */
.home-article__track{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding: 6px 2px 10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-article__track::-webkit-scrollbar{ height:8px; }
.home-article__track::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.15); border-radius:999px; }
.home-article__track::-webkit-scrollbar-track{ background:rgba(0,0,0,.05); border-radius:999px; }

/* Card base */
.home-article__card{
  scroll-snap-align:start;
  display:block;
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.07);
  box-shadow:0 10px 28px rgba(16,24,40,.08);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transform:translateY(0);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Hover desktop */
@media (hover:hover){
  .home-article__card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(16,24,40,.14);
    border-color:rgba(0,0,0,.12);
  }
}

/* Image */
.home-article__img{
  height:165px;
  background:#f2f2f2;
  overflow:hidden;
}

.home-article__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1);
  transition:transform .35s ease;
}

@media (hover:hover){
  .home-article__card:hover .home-article__img img{
    transform:scale(1.06);
  }
}

.home-article__img--empty{
  width:100%;
  height:100%;
  background: linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.02));
}

/* Body */
.home-article__body{
  padding:12px 12px 14px;
}

.home-article__card-title{
  font-weight:800;
  font-size:15px;
  line-height:1.25;
  margin-bottom:8px;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.home-article__desc{
  font-size:13px;
  line-height:1.4;
  color:rgba(0,0,0,.65);
  margin-bottom:12px;

  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* CTA */
.home-article__cta{
  display:flex;
  justify-content:flex-end;
}

.home-article__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:12px;
  background:rgba(0,0,0,.06);
  font-weight:700;
  font-size:13px;
  transition:background .22s ease;
}

@media (hover:hover){
  .home-article__card:hover .home-article__btn{
    background:rgba(0,0,0,.10);
  }
}

/* =========================================================
   RESPONSIVE WIDTH:
   - Mobile: 2 card + peek
   - Desktop: 4 card
   ========================================================= */

/* Default (desktop large): 4 cards */
.home-article__card{
  min-width: calc((100% - 42px) / 4);  /* gap 14*3 = 42 */
  max-width: calc((100% - 42px) / 4);
}

/* Tablet: 3 cards */
@media (max-width: 991px){
  .home-article__card{
    min-width: calc((100% - 28px) / 3); /* gap 14*2 */
    max-width: calc((100% - 28px) / 3);
  }
}

/* Mobile: 2 cards + peek */
@media (max-width: 576px){
  .home-article__track{
    gap:12px;
    padding-right:24px; /* ruang peek */
  }

  .home-article__card{
    min-width: calc((100% - 12px) / 2 - 18px);  /* 2 card + peek */
    max-width: calc((100% - 12px) / 2 - 18px);
  }

  .home-article__img{ height:120px; }
  .home-article__card-title{ font-size:13px; }
  .home-article__desc{ font-size:12px; -webkit-line-clamp:2; }
}

@media (max-width:820px){
  .home-why__title{ font-size:22px; }

  .home-why__grid{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding:6px 64px 12px 4px;   /* tambah kanan biar peek lebih jelas */
    scroll-snap-type:x mandatory;
    scroll-padding-left:4px;
    -webkit-overflow-scrolling:touch;
  }

  .home-why__grid::-webkit-scrollbar{ height:0; }

  /* bikin 2 card terlihat + peek card ke-3 */
  .home-why__grid .why-card{
    flex:0 0 calc((100% - 14px) / 2.2);  /* sebelumnya /2, sekarang dibuat lebih kecil */
    scroll-snap-align:start;
  }
}


/* SECTION CAPAIAN KAMI - rounded seperti Dian Digital */
.home-ach{
  border-radius: 20px;      /* atur sesuai selera: 20-32px */
  overflow: hidden;         /* wajib biar background ikut rounded */
  position: relative;
}

/* =========================================================
   HOME - CARA PEMESANAN
========================================================= */
.home-order{
  background:#f4f7ff;
  border:1px solid #e7eefc;
  box-shadow:none;
  padding:26px 16px 22px;
}

.home-order__header{
  text-align:center;
  margin-bottom:16px;
}

.home-order__title{
  margin:0;
  font-size:28px;
  font-weight:900;
  color:#0B1F3B;
}

.home-order__subtitle{
  margin:10px auto 0;
  max-width:760px;
  color:#55657a;
  font-size:14px;
  line-height:1.55;
}

.home-order__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}

.order-card{
  background:#fff;
  border:1px solid #e9edf5;
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 24px rgba(11,31,59,0.06);
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.order-card__badge{
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--c1, #ff7a18), var(--c2, #ffb347));
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 44px;
  box-shadow:0 12px 22px rgba(11,31,59,0.12);
  border:1px solid rgba(255,255,255,0.65);
}

.order-card__badge img{
  width:22px;
  height:22px;
  object-fit:contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.18));
}

.order-card__badge span{
  color:#fff;
  font-weight:900;
  font-size:16px;
  line-height:1;
}

.order-card__title{
  font-weight:900;
  color:#0B1F3B;
  font-size:14px;
  margin:2px 0 6px;
}

.order-card__desc{
  color:#5a6b80;
  font-size:12px;
  line-height:1.55;
}

@media (max-width: 1100px){
  .home-order__grid{ grid-template-columns:repeat(2, 1fr); }
}

/* HP: 2 kolom (2 baris untuk 4 langkah) */
@media (max-width: 600px){
  .home-order__title{ font-size:22px; }
  .home-order__grid{ grid-template-columns:repeat(2, 1fr); gap:12px; }
  .order-card{ padding:12px; border-radius:16px; }
  .order-card__badge{ width:42px; height:42px; flex-basis:42px; }
}

/* animation base */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-step-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
  animation: fadeUp .6s ease forwards;
}

.order-step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.order-step-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255, 140, 0, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity .4s ease;
}

.order-step-item:hover::before {
  opacity: 1;
}


.order-step-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transition: all .35s ease;
}

.order-step-item:hover .order-step-badge {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.order-step-title {
  font-size: 16px;
  font-weight: 700;
  margin-top: 14px;
  transition: transform .3s ease;
}

.order-step-desc {
  font-size: 14px;
  color: #6b7280;
  margin-top: 6px;
  transition: transform .3s ease;
}

.order-step-item:hover .order-step-title,
.order-step-item:hover .order-step-desc {
  transform: translateY(-2px);
}

.order-step-item:nth-child(1) { animation-delay: .05s; }
.order-step-item:nth-child(2) { animation-delay: .15s; }
.order-step-item:nth-child(3) { animation-delay: .25s; }
.order-step-item:nth-child(4) { animation-delay: .35s; }


/* HP: card jadi rata tengah (badge atas, teks tengah) */
@media (max-width: 600px){
  .order-card{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .order-card__badge{
    margin: 0 auto;
  }

  .order-card__title{
    margin: 2px 0 6px;
  }

  .order-card__desc{
    margin: 0;
  }
}


/* =========================================================
 * SECTION: FOOTER (CRUD)
 * ========================================================= */
.site-footer-wrap{padding:32px 0 18px;}

.footer-card{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.footer-card.is-square{border-radius:0;}
.footer-card.is-dark{background:#0f172a;color:rgba(255,255,255,.86);}
.footer-card.is-gradient{
  background:linear-gradient(135deg, rgba(15,23,42,1) 0%, rgba(2,132,199,1) 120%);
  color:rgba(255,255,255,.92);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr 1fr 1.2fr;
  gap:0;
}
.footer-col{padding:22px 22px 18px;}
.footer-col + .footer-col{border-left:1px solid rgba(2,6,23,.08);}
.footer-card.is-dark .footer-col + .footer-col,
.footer-card.is-gradient .footer-col + .footer-col{border-left:1px solid rgba(255,255,255,.14);}

.footer-title{font-weight:900;font-size:14px;margin-bottom:12px;}
.footer-muted{color:#6b7280;font-size:13px;}
.footer-card.is-dark .footer-muted,.footer-card.is-gradient .footer-muted{color:rgba(255,255,255,.72);}

.footer-brand__title{font-weight:1000;font-size:18px;letter-spacing:.2px;}
.footer-logo{height:34px;max-width:170px;object-fit:contain;display:block;}
.footer-about{margin:12px 0 0;font-size:13px;line-height:1.65;color:#475569;}
.footer-card.is-dark .footer-about,.footer-card.is-gradient .footer-about{color:rgba(255,255,255,.78);}

.footer-social{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
.footer-social__a{
  width:38px;height:38px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(2,6,23,.08);
  background:rgba(255,255,255,.8);
  transition:transform .2s ease, box-shadow .2s ease;
}
.footer-card.is-dark .footer-social__a,.footer-card.is-gradient .footer-social__a{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.18);
}
.footer-social__a:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(0,0,0,.14);}
.footer-social__icon{max-width:20px;max-height:20px;object-fit:contain;}
.footer-social__text{font-size:12px;font-weight:900;}

.footer-list{display:flex;flex-direction:column;gap:10px;}
.footer-link{color:#0b1f3b;text-decoration:none;font-weight:800;font-size:13px;opacity:.9;}
.footer-link:hover{opacity:1;text-decoration:underline;}
.footer-card.is-dark .footer-link,.footer-card.is-gradient .footer-link{color:rgba(255,255,255,.92);}

.footer-contact__list{display:flex;flex-direction:column;gap:10px;font-size:13px;}
.footer-contact__row{display:flex;gap:10px;align-items:flex-start;line-height:1.55;}
.footer-dot{width:10px;height:10px;border-radius:999px;margin-top:4px;background:#94a3b8;flex:0 0 10px;}
.footer-dot.is-pink{background:#ec4899;}
.footer-dot.is-blue{background:#3b82f6;}
.footer-dot.is-red{background:#ef4444;}
.footer-dot.is-green{background:#22c55e;}

.footer-map__box{border:1px solid rgba(2,6,23,.08);border-radius:18px;overflow:hidden;background:#f8fafc;min-height:160px;display:flex;align-items:center;justify-content:center;}
.footer-card.is-dark .footer-map__box,.footer-card.is-gradient .footer-map__box{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);}
.footer-map__box iframe{width:100%;height:200px;border:0;display:block;}
.footer-map__placeholder{font-weight:900;color:#0b1f3b;}
.footer-card.is-dark .footer-map__placeholder,.footer-card.is-gradient .footer-map__placeholder{color:rgba(255,255,255,.9);}
.footer-map__link{display:inline-block;margin-top:10px;font-weight:900;font-size:13px;color:#0b1f3b;text-decoration:none;}
.footer-map__link:hover{text-decoration:underline;}
.footer-card.is-dark .footer-map__link,.footer-card.is-gradient .footer-map__link{color:rgba(255,255,255,.92);}

.footer-bottom{padding:14px 22px;border-top:1px solid rgba(2,6,23,.08);}
.footer-card.is-dark .footer-bottom,.footer-card.is-gradient .footer-bottom{border-top:1px solid rgba(255,255,255,.14);}
.footer-copy{font-size:13px;color:#475569;font-weight:800;text-align:center;}
.footer-card.is-dark .footer-copy,.footer-card.is-gradient .footer-copy{color:rgba(255,255,255,.78);}

@media (max-width: 980px){
  .footer-grid{grid-template-columns:1fr 1fr;}
  .footer-col:nth-child(3){border-left:0;}
}

@media (max-width: 600px){
  .footer-grid{grid-template-columns:1fr;}
  .footer-col + .footer-col{border-left:0;border-top:1px solid rgba(2,6,23,.08);}
  .footer-card.is-dark .footer-col + .footer-col,
  .footer-card.is-gradient .footer-col + .footer-col{border-top:1px solid rgba(255,255,255,.14);}
}


/* ===== Opsi 1: Catalog Grid /produk (anti bentrok) ===== */
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
@media (max-width: 1024px){
  .catalog-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .catalog-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

.catalog-card{
  position:relative;
  background:#fff;
  border:1px solid #e6edf7;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 18px rgba(2,10,24,.06);
}

.catalog-card__overlay{
  position:absolute;
  inset:0;
  z-index:1;
}

.catalog-card__thumb{
  width:100%;
  aspect-ratio: 1/1;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
}

.catalog-card__img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}

.catalog-card__body{
  position:relative;
  z-index:2; /* di atas overlay supaya tombol WA bisa diklik */
  padding:14px 14px 16px;
}

.catalog-card__title{
  margin:0 0 8px;
  font-size:15px;
  font-weight:800;
}

.catalog-card__desc{
  margin:0 0 12px;
  color:#4b5563;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:42px;
}

.catalog-card__wa{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none;
  font-weight:400;
  color:#fff;
}


.products-filters{ margin-bottom: 26px; }


/* ===== Mobile tuning katalog /produk ===== */
@media (max-width: 480px){
  .catalog-grid{
    gap:12px;
  }

  .catalog-card{
    border-radius:14px;
  }

  /* judul produk terlalu besar -> kecilkan + 2 baris */
  .catalog-card__title{
    font-size:13px;
    line-height:1.2;
    margin-bottom:8px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:36px; /* biar tinggi card lebih konsisten */
  }

  /* deskripsi 2 baris */
  .catalog-card__desc{
    font-size:12.5px;
    line-height:1.35;
    -webkit-line-clamp:2;
    min-height:34px;
    margin-bottom:10px;
  }

  /* tombol WA kebesaran -> kecilkan */
  .catalog-card__wa{
    padding:8px 10px;
    font-size:10px;
    font-weight:800;
    border-radius:12px;     /* lebih proporsional di HP */
    width:auto;             /* jangan full */
    max-width:100%;
    white-space:nowrap;     /* biar tidak turun baris */
  }
}

@media (max-width: 480px){
  .catalog-card__wa{
    max-width:110px;        /* paksa pendek */
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* ===== Hover effect card produk (desktop only) ===== */
@media (hover: hover) and (pointer: fine){

  .catalog-card{
    transition:
      transform .35s cubic-bezier(.4, 0, .2, 1),
      box-shadow .35s cubic-bezier(.4, 0, .2, 1),
      border-color .35s ease;
  }

  .catalog-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(2, 10, 24, 0.14);
    border-color: rgba(11, 31, 59, 0.35); /* navy branding */
  }

  /* gambar ikut zoom dikit */
  .catalog-card:hover .catalog-card__img{
    transform: scale(1.05);
  }

  /* judul lebih tegas saat hover */
  .catalog-card:hover .catalog-card__title{
    color:#0B1F3B;
  }

  /* tombol WA sedikit “angkat” */
  .catalog-card:hover .catalog-card__wa{
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
  }
}


/* =====================================================
   FLOATING WHATSAPP (STYLE)
   File: public/assets/css/app.css
===================================================== */

.wa-floating{
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
}

.wa-toggle{
  width: 58px;
  height: 58px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.wa-toggle img{
  width: 58px;
  height: 58px;
  display: block;
}

.wa-popup{
  position: absolute;
  left: 0;
  bottom: 70px;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  overflow: hidden;
  display: none;
}

.wa-popup.open{
  display: block;
}

.wa-header{
  background: #25D366;
  color: #fff;
  padding: 14px 14px 12px 14px;
  position: relative;
}

.wa-title{
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.wa-subtitle{
  font-size: 13px;
  opacity: .95;
  margin-top: 4px;
}

.wa-close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 32px;
}

.wa-list{
  padding: 12px;
}

.wa-item{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  background: #f7f7f7;
  margin-bottom: 10px;
}

.wa-left{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wa-avatar{
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.wa-meta{ min-width: 0; }

.wa-name{
  font-weight: 700;
  font-size: 15px;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-role{
  font-size: 12px;
  color: #666;
  margin-top: 1px;
}

.wa-status-text{
  font-size: 12px;
  margin-top: 3px;
  font-weight: 600;
}

.wa-item.online .wa-status-text{ color: #1a7f3b; }
.wa-item.offline .wa-status-text{ color: #777; }

.wa-chat{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.wa-chat:hover{ opacity: .92; }

/* OFFLINE: tidak bisa diklik + tampilan gelap/grayscale */
.wa-item.offline{
  opacity: .62;
}

.wa-item.offline .wa-avatar{
  filter: grayscale(100%);
  opacity: .7;
}

.wa-disabled{
  background: #999;
  cursor: not-allowed;
  pointer-events: none; /* ini yang bikin benar-benar tidak bisa diklik */
}

/* =====================================================
   FLOATING WHATSAPP - ANIMATION ENHANCEMENT
   - Popup pop saat dibuka
   - Hover list item untuk desktop (lebih hidup)
===================================================== */

/* POP animation untuk popup */
.wa-popup{
  transform-origin: left bottom;
  transform: translateY(10px) scale(.96);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

/* saat open */
.wa-popup.open{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* optional: tombol floating juga ikut “pop” sedikit ketika diklik */
.wa-toggle{
  transition: transform .15s ease;
}
.wa-toggle:active{
  transform: scale(.92);
}

/* HOVER efek hanya untuk desktop (pointer: fine) */
@media (hover: hover) and (pointer: fine){
  .wa-item{
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  }

  .wa-item:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0,0,0,.10);
    background: #ffffff;
  }

  /* hover tombol chat (lebih hidup) */
  .wa-chat{
    transition: transform .18s ease, opacity .18s ease;
  }
  .wa-chat:hover{
    transform: scale(1.04);
    opacity: .95;
  }

  /* Offline tetap tidak “naik” berlebihan */
  .wa-item.offline:hover{
    transform: none;
    box-shadow: none;
    background: #f7f7f7;
  }
}

/* =====================================================
   FLOATING WHATSAPP - TOGGLE WITH TEXT (PILL)
===================================================== */

.wa-toggle{
  display: inline-flex;
  align-items: center;
  gap:2px;

  width: auto;            /* dulu 58px */
  height: 45px;           /* sedikit lebih pendek */
  padding: 5px 14px 8px 10px;

  background: #25D366;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.wa-toggle img{
  width: 38px;            /* dulu 58px */
  height: 38px;
}

.wa-toggle-text{
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

/* hover desktop biar lebih hidup */
@media (hover: hover) and (pointer: fine){
  .wa-toggle:hover{
    transform: translateY(-1px);
  }
}

/* optional: di layar kecil, sembunyikan teks biar ringkas */
@media (max-width: 420px){
  .wa-toggle-text{ display: none; }
  .wa-toggle{
    padding: 8px;
    height: 56px;
  }
  .wa-toggle img{
    width: 40px;
    height: 40px;
  }
}

/* =====================================================
   FLOATING WHATSAPP - BUTTON ENHANCEMENT
   - Hover lebih premium
   - Active (klik) hijau lebih gelap
===================================================== */

.wa-toggle{
  /* bikin terasa lebih premium */
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

/* hover desktop: sedikit naik + shadow lebih tegas */
@media (hover: hover) and (pointer: fine){
  .wa-toggle:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0,0,0,.22);
    filter: brightness(1.02);
  }
}

/* saat klik: jadi hijau lebih gelap + press */
.wa-toggle:active{
  transform: translateY(0) scale(.96);
  filter: brightness(.86); /* ini yang bikin hijau lebih gelap */
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* =====================================================
   FLOATING WHATSAPP - POPUP FOLD ANIMATION
   Efek seperti "terlipat lalu terbuka"
   Aman untuk performa: pakai transform + opacity
===================================================== */

.wa-popup{
  transform-origin: left bottom;
  transform: perspective(800px) rotateX(12deg) rotateY(-10deg) scale(.92) translateY(12px);
  opacity: 0;
  filter: blur(.2px);
  transition: transform .34s cubic-bezier(.2,.9,.2,1), opacity .22s ease, filter .22s ease;
  will-change: transform, opacity;
}

/* saat open */
.wa-popup.open{
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale(1) translateY(0);
  opacity: 1;
  filter: blur(0);
}

/* tambahan sedikit "snap" di awal biar terasa dibuka */
.wa-popup.open{
  animation: waFoldOpen .34s cubic-bezier(.2,.9,.2,1);
}

@keyframes waFoldOpen{
  0%   { transform: perspective(800px) rotateX(18deg) rotateY(-14deg) scale(.90) translateY(16px); opacity: 0; }
  60%  { transform: perspective(800px) rotateX(-2deg) rotateY(1deg) scale(1.01) translateY(-1px); opacity: 1; }
  100% { transform: perspective(800px) rotateX(0) rotateY(0) scale(1) translateY(0); opacity: 1; }
}
