:root{
  --yellow:#ffd400;
  --yellow-2:#ffbf00;
  --yellow-3:#fff2a8;
  --orange:#ff7a00;
  --pink:#ec2f6b;
  --pink-2:#d7195a;
  --red:#ff1f4f;
  --blue:#082c66;
  --blue-2:#0d3f8f;
  --blue-3:#123f7a;
  --sky:#19aee8;
  --green:#4caf22;
  --purple:#7c3fc6;
  --white:#ffffff;
  --cream:#fff9dc;
  --dark:#071f4a;
  --text:#102033;
  --muted:#5f6f89;
  --line:#ffe06a;
  --shadow-blue:0 24px 70px rgba(8,44,102,.22);
  --shadow-pink:0 18px 42px rgba(236,47,107,.28);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  overflow-x:hidden;
  background:
    radial-gradient(circle at 12% 12%,rgba(255,255,255,.55) 0 9%,transparent 10%),
    radial-gradient(circle at 85% 18%,rgba(236,47,107,.18) 0 10%,transparent 22%),
    linear-gradient(180deg,#ffd400 0%,#ffdf38 24%,#fff4b1 58%,#ffffff 100%);
}

/* HERO UTAMA - SESUAI BANNER */
.hero{
  position:relative;
  overflow:hidden;
  padding:32px 0 78px;
  color:var(--blue);
  background:
    radial-gradient(circle at 10% 10%,rgba(255,255,255,.75),transparent 13%),
    radial-gradient(circle at 88% 18%,rgba(255,255,255,.65),transparent 10%),
    radial-gradient(circle at 70% 80%,rgba(236,47,107,.20),transparent 25%),
    repeating-conic-gradient(from 0deg at 50% 20%,rgba(255,255,255,.22) 0deg 8deg,rgba(255,191,0,.12) 8deg 16deg),
    linear-gradient(135deg,#ffd400 0%,#ffde28 34%,#ffc400 62%,#ffb300 100%);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background-image:
    radial-gradient(circle,#ffffff 1.7px,transparent 2px),
    radial-gradient(circle,#082c66 1.1px,transparent 1.5px);
  background-position:0 0,24px 24px;
  background-size:48px 48px;
}

.hero::after{
  content:"";
  position:absolute;
  right:-150px;
  bottom:-210px;
  width:520px;
  height:520px;
  border-radius:50%;
  background:var(--blue);
  opacity:.18;
  border:28px solid rgba(255,255,255,.35);
}

.hero .container{
  position:relative;
  z-index:2;
}

/* ORNAMEN */
.hero-orb{
  position:absolute;
  border-radius:999px;
  pointer-events:none;
  z-index:1;
}

.hero-orb-one{
  width:140px;
  height:140px;
  left:3%;
  bottom:16%;
  background:rgba(255,255,255,.38);
  box-shadow:0 0 0 18px rgba(255,255,255,.18);
}

.hero-orb-two{
  width:105px;
  height:105px;
  right:16%;
  top:20%;
  background:rgba(236,47,107,.20);
  box-shadow:0 0 0 18px rgba(236,47,107,.10);
}

/* NAVBAR */
.navbar-glass{
  background:rgba(255,255,255,.95)!important;
  border:3px solid #ffffff;
  border-radius:28px;
  padding:13px 16px;
  color:var(--blue);
  box-shadow:
    0 8px 0 rgba(8,44,102,.95),
    0 24px 46px rgba(8,44,102,.20);
}

.brand-logo{
  width:50px;
  height:50px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:24px;
  background:linear-gradient(135deg,var(--pink),var(--red));
  box-shadow:0 10px 24px rgba(236,47,107,.35);
}

.navbar-glass strong{
  color:var(--blue);
  font-weight:1000;
}

.navbar-glass small{
  color:#51617c!important;
  font-weight:800;
}

.admin-login-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--red));
  border:2px solid #fff;
  border-radius:999px;
  text-decoration:none;
  font-weight:950;
  box-shadow:0 8px 0 var(--blue);
}

.admin-login-link:hover{
  color:#fff;
  transform:translateY(-2px);
}

/* HERO TEXT */
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:3px solid #fff;
  background:linear-gradient(135deg,var(--pink),var(--red));
  color:#fff;
  border-radius:999px;
  padding:9px 16px;
  font-size:14px;
  font-weight:1000;
  box-shadow:0 8px 0 var(--blue),0 18px 34px rgba(8,44,102,.20);
}

.hero h1{
  margin:0;
  max-width:880px;
  color:#fff;
  font-size:clamp(2.7rem,6vw,5.9rem);
  line-height:.88;
  letter-spacing:-.065em;
  font-weight:1000;
  text-shadow:
    -3px -3px 0 var(--blue),
    3px -3px 0 var(--blue),
    -3px 3px 0 var(--blue),
    3px 3px 0 var(--blue),
    0 9px 0 var(--blue),
    0 18px 36px rgba(8,44,102,.35);
}

.hero-lead{
  max-width:760px;
  color:var(--blue);
  font-size:clamp(1.08rem,1.9vw,1.33rem);
  line-height:1.7;
  font-weight:900;
  text-shadow:0 2px 0 rgba(255,255,255,.75);
}

.hero-copy{
  max-width:720px;
  color:#17376f;
  font-size:1.05rem;
  line-height:1.75;
  font-weight:800;
}

.hero-copy strong{
  color:var(--pink);
}

/* BUTTON HERO */
.hero .btn-light{
  color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--blue-2));
  border:3px solid #fff;
  box-shadow:0 9px 0 #041a42,0 18px 34px rgba(8,44,102,.25);
}

.hero .btn-light:hover{
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--red));
  transform:translateY(-3px);
  box-shadow:0 12px 0 #a70e3d,0 23px 42px rgba(236,47,107,.25);
}

.hero-mini{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--red));
  border:3px solid #fff;
  border-radius:999px;
  padding:10px 15px;
  font-weight:1000;
  box-shadow:0 8px 0 var(--blue);
}

/* STATS */
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
  max-width:650px;
}

.hero-stats div{
  background:#fff;
  border:3px solid var(--blue);
  border-radius:22px;
  padding:14px 15px;
  color:var(--blue);
  box-shadow:0 8px 0 var(--blue),0 18px 34px rgba(8,44,102,.16);
}

.hero-stats strong{
  display:block;
  color:var(--pink);
  font-size:1.3rem;
  line-height:1;
  font-weight:1000;
}

.hero-stats span{
  display:block;
  color:#415474;
  font-size:.82rem;
  margin-top:6px;
  font-weight:850;
}

/* HERO CARD */
.hero-card{
  background:#fff;
  border:4px solid var(--blue);
  border-radius:34px;
  padding:15px;
  box-shadow:
    0 12px 0 var(--blue),
    0 34px 76px rgba(8,44,102,.30);
  transform:rotate(1deg);
}

.hero-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--blue);
  font-weight:1000;
  margin:0 5px 12px;
}

.hero-card-top span:first-child{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.hero-card-top i{
  color:var(--pink);
}

.hero-live-dot{
  width:13px;
  height:13px;
  border-radius:999px;
  background:var(--green);
  box-shadow:0 0 0 8px rgba(76,175,34,.18);
}

.hero-product-image{
  display:block;
  width:100%;
  height:345px;
  object-fit:cover;
  border-radius:24px;
  background:#fff7c2;
  border:3px solid #ffe06a;
  transition:opacity .25s ease,transform .25s ease;
}

.hero-product-image.fade-out{
  opacity:.25;
  transform:scale(.985);
}

.hero-card-caption{
  margin-top:12px;
  padding:13px;
  border-radius:22px;
  border:3px dashed var(--pink);
  color:var(--blue);
  background:linear-gradient(135deg,#fff4b8,#ffffff);
}

.hero-card-caption strong{
  display:block;
  font-weight:1000;
}

.hero-card-caption small{
  color:#526381;
  font-weight:800;
}

/* CATALOG PANEL */
.section-wrap{
  position:relative;
  z-index:5;
  margin-top:-38px;
}

.catalog-panel{
  background:#fff;
  border:4px solid #fff;
  border-radius:34px;
  padding:25px;
  box-shadow:
    0 10px 0 var(--blue),
    0 30px 80px rgba(8,44,102,.18);
}

.section-kicker{
  display:inline-flex;
  margin-bottom:7px;
  color:var(--pink);
  font-size:.78rem;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.section-title{
  color:var(--blue);
  font-size:clamp(1.8rem,3vw,2.5rem);
  font-weight:1000;
  letter-spacing:-.045em;
}

.catalog-panel .text-secondary{
  color:#51617c!important;
  font-weight:700;
}

.catalog-count{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--red));
  border:3px solid #fff;
  border-radius:999px;
  padding:10px 16px;
  font-weight:1000;
  box-shadow:0 8px 0 var(--blue);
}

/* CATEGORY TABS */
.category-tabs{
  display:flex;
  gap:10px;
  overflow:auto;
  padding-bottom:9px;
  scrollbar-width:thin;
}

.category-tabs .nav-link{
  white-space:nowrap;
  color:var(--blue);
  background:#fff4b8;
  border:3px solid var(--blue);
  border-radius:999px;
  padding:.76rem 1.08rem;
  font-weight:1000;
  box-shadow:0 6px 0 var(--blue);
}

.category-tabs .nav-link:hover{
  background:var(--yellow);
}

.category-tabs .nav-link.active{
  color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--blue-2));
  border-color:#fff;
  box-shadow:0 7px 0 #041a42,0 15px 28px rgba(8,44,102,.18);
}

.category-tabs .nav-link.active span{
  color:var(--yellow);
}

/* PRODUCT CARD */
.product-card{
  height:100%;
  overflow:hidden;
  background:#fff;
  border:3px solid #ffe06a;
  border-radius:28px;
  box-shadow:0 16px 34px rgba(8,44,102,.13);
  transition:.18s;
}

.product-card:hover{
  transform:translateY(-5px);
  border-color:var(--pink);
  box-shadow:0 24px 52px rgba(236,47,107,.18);
}

.product-click-area{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
}

.product-img-wrap{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#fff4b8,#ffffff);
}

.product-img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  transition:.2s;
}

.product-card:hover .product-img{
  transform:scale(1.04);
}

.discount-pill{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--red));
  border:3px solid #fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:1000;
  box-shadow:0 8px 0 var(--blue);
}

.product-body{
  padding:16px;
}

.product-title{
  min-height:44px;
  color:var(--blue);
  font-size:1rem;
  line-height:1.28;
  font-weight:1000;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.price-new{
  color:var(--pink);
  font-size:1.15rem;
  font-weight:1000;
}

.price-old{
  color:#8d98ad;
  font-size:.92rem;
  font-weight:800;
  text-decoration:line-through;
}

.desc-small{
  min-height:43px;
  color:#667085;
  font-size:.91rem;
  font-weight:650;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.btn-detail{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--red));
  border:3px solid #fff;
  border-radius:16px;
  padding:.78rem 1rem;
  font-weight:1000;
  box-shadow:0 8px 0 var(--blue);
}

.product-card:hover .btn-detail{
  background:linear-gradient(135deg,var(--blue),var(--blue-2));
}

/* PAGINATION */
.catalog-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:26px;
}

.page-btn{
  color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--blue-2));
  border:3px solid #fff;
  border-radius:999px;
  padding:10px 18px;
  font-weight:1000;
  box-shadow:0 8px 0 #041a42;
}

.page-btn:hover:not(:disabled){
  background:linear-gradient(135deg,var(--pink),var(--red));
  transform:translateY(-2px);
  box-shadow:0 10px 0 #a70e3d;
}

.page-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  box-shadow:none;
}

.page-info{
  min-width:96px;
  color:var(--blue);
  text-align:center;
  font-weight:1000;
}

/* MODAL */
.modal-product .modal-content{
  overflow:hidden;
  border:4px solid var(--blue);
  border-radius:32px;
  box-shadow:0 28px 80px rgba(8,44,102,.30);
}

.main-preview{
  width:100%;
  height:420px;
  object-fit:cover;
  border:3px solid #ffe06a;
  border-radius:24px;
  background:#fff4b8;
}

.thumb-row{
  display:flex;
  gap:10px;
  overflow:auto;
  margin-top:12px;
}

.thumb-row button{
  padding:3px;
  background:#fff;
  border:3px solid transparent;
  border-radius:17px;
}

.thumb-row button.active{
  border-color:var(--pink);
  box-shadow:0 8px 20px rgba(236,47,107,.18);
}

.thumb-row img{
  width:78px;
  height:78px;
  object-fit:cover;
  border-radius:12px;
}

.modal-title-product{
  color:var(--blue);
  font-weight:1000;
  letter-spacing:-.025em;
}

.modal-price-new{
  font-size:2rem;
}

.order-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#fff;
  text-decoration:none;
  background:linear-gradient(135deg,var(--pink),var(--red));
  border:3px solid #fff;
  border-radius:18px;
  padding:.95rem 1.25rem;
  font-weight:1000;
  box-shadow:0 9px 0 var(--blue),0 19px 34px rgba(236,47,107,.25);
}

.order-button:hover{
  color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--blue-2));
}

/* EMPTY & FOOTER */
.empty-state{
  padding:42px;
  text-align:center;
  color:#51617c;
  background:#fff4b8;
  border:3px dashed var(--pink);
  border-radius:26px;
}

.empty-state h5{
  color:var(--blue);
}

.footer{
  padding:42px 0;
  color:var(--blue);
  font-weight:900;
  background:linear-gradient(180deg,#ffffff,#fff4b8);
}

/* MOBILE */
@media(max-width:767.98px){
  body{
    background:linear-gradient(180deg,#ffd400 0%,#fff4b8 46%,#ffffff 100%);
  }

  .hero{
    padding:20px 0 50px;
  }

  .navbar-glass{
    border-radius:20px;
    margin-bottom:20px!important;
    padding:10px 12px;
    box-shadow:0 6px 0 var(--blue),0 18px 34px rgba(8,44,102,.17);
  }

  .brand-logo{
    width:42px;
    height:42px;
    border-radius:15px;
  }

  .hero-badge{
    font-size:.78rem;
    padding:8px 12px;
    box-shadow:0 6px 0 var(--blue);
  }

  .hero h1{
    font-size:2.5rem;
    text-shadow:
      -2px -2px 0 var(--blue),
      2px -2px 0 var(--blue),
      -2px 2px 0 var(--blue),
      2px 2px 0 var(--blue),
      0 6px 0 var(--blue);
  }

  .hero-lead,
  .hero-copy{
    font-size:.96rem;
    line-height:1.58;
  }

  .hero-mini{
    box-shadow:0 6px 0 var(--blue);
  }

  .hero-stats{
    grid-template-columns:1fr 1fr 1fr;
    gap:8px;
  }

  .hero-stats div{
    padding:10px 8px;
    border-radius:17px;
    box-shadow:0 5px 0 var(--blue);
  }

  .hero-stats strong{
    font-size:1rem;
  }

  .hero-stats span{
    font-size:.68rem;
  }

  .hero-card{
    transform:none;
    border-radius:27px;
    padding:12px;
    border-width:3px;
    box-shadow:0 7px 0 var(--blue),0 20px 44px rgba(8,44,102,.22);
  }

  .hero-product-image{
    height:230px;
    border-radius:20px;
  }

  .section-wrap{
    margin-top:-25px;
  }

  .catalog-panel{
    padding:13px;
    border-radius:25px;
    border-width:3px;
    box-shadow:0 7px 0 var(--blue),0 22px 50px rgba(8,44,102,.16);
  }

  .section-title{
    font-size:1.72rem;
  }

  .category-tabs{
    gap:7px;
  }

  .category-tabs .nav-link{
    font-size:.84rem;
    padding:.58rem .78rem;
    box-shadow:0 4px 0 var(--blue);
  }

  .catalog-grid{
    --bs-gutter-x:.45rem;
    --bs-gutter-y:.75rem;
  }

  .product-card{
    border-radius:15px;
    border-width:2px;
    box-shadow:0 8px 20px rgba(8,44,102,.10);
  }

  .product-body{
    padding:7px;
  }

  .product-title{
    min-height:34px;
    font-size:.73rem;
    line-height:1.25;
    margin-bottom:4px!important;
  }

  .price-wrap{
    margin-bottom:3px!important;
  }

  .price-new{
    font-size:.74rem;
    letter-spacing:-.02em;
  }

  .price-old{
    font-size:.63rem;
  }

  .desc-small{
    display:none;
  }

  .btn-detail{
    font-size:.66rem;
    border-radius:10px;
    padding:.48rem .34rem;
    box-shadow:none;
  }

  .discount-pill{
    top:6px;
    left:6px;
    font-size:.6rem;
    padding:3px 6px;
    border-width:2px;
    box-shadow:none;
  }

  .catalog-pagination{
    margin-top:19px;
    gap:8px;
  }

  .page-btn{
    padding:8px 12px;
    font-size:.82rem;
    box-shadow:none;
  }

  .page-info{
    min-width:72px;
    font-size:.82rem;
  }

  .main-preview{
    height:310px;
  }

  .thumb-row img{
    width:64px;
    height:64px;
  }

  .modal-price-new{
    font-size:1.5rem;
  }
}

@media(min-width:768px) and (max-width:991.98px){
  .hero-product-image{
    height:300px;
  }

  .product-img{
    aspect-ratio:4/3;
  }
}


.rating-badge-floating{
  position:absolute;
  right:10px;
  top:10px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  gap:4px;
  background:#ffffff;
  color:#082c66;
  border:2px solid #ffd400;
  border-radius:999px;
  padding:5px 9px;
  font-size:.78rem;
  font-weight:1000;
  box-shadow:0 8px 20px rgba(8,44,102,.18);
}

.rating-badge-floating i{
  color:#ffb800;
}

.product-rating,
.modal-rating{
  display:flex;
  align-items:center;
  gap:7px;
}

.stars{
  display:inline-flex;
  align-items:center;
  gap:2px;
  color:#ffb800;
  font-size:.88rem;
  line-height:1;
}

.rating-text{
  color:#667085;
  font-size:.78rem;
  font-weight:900;
}

.modal-rating .stars{
  font-size:1rem;
}

.modal-rating .rating-text{
  font-size:.9rem;
}

.desc-small{
  max-height:42px;
  overflow:hidden;
  word-break:break-word;
}

.product-desc-modal{
  max-height:330px;
  overflow-y:auto;
  padding-right:10px;
  line-height:1.7;
  color:#5f6f89!important;
  word-break:break-word;
}

.product-desc-modal p{
  margin:0 0 12px;
}

.product-desc-modal p:last-child{
  margin-bottom:0;
}

.product-desc-modal::-webkit-scrollbar{
  width:6px;
}

.product-desc-modal::-webkit-scrollbar-thumb{
  background:#ffd400;
  border-radius:999px;
}

@media(max-width:767.98px){
  .rating-badge-floating{
    right:6px;
    top:6px;
    font-size:.62rem;
    padding:3px 6px;
    border-width:1.5px;
  }

  .product-rating{
    gap:4px;
    margin-bottom:4px!important;
  }

  .stars{
    font-size:.62rem;
    gap:1px;
  }

  .rating-text{
    font-size:.6rem;
  }

  .product-desc-modal{
    max-height:260px;
    font-size:.94rem;
  }
}

.modal-product .modal-body{
  position:relative;
}

.product-desc-modal{
  max-height:310px;
  overflow-y:auto;
  padding-right:10px;
  padding-bottom:12px;
  line-height:1.7;
  color:#5f6f89!important;
  word-break:break-word;
}

.modal-order-sticky{
  position:sticky;
  bottom:0;
  z-index:20;
  margin-top:16px;
  padding:14px 0 4px;
  background:linear-gradient(180deg,rgba(255,255,255,.82),#ffffff 42%);
  backdrop-filter:blur(8px);
}

.modal-order-sticky .order-button{
  width:auto;
  min-width:210px;
}

@media(max-width:767.98px){
  .product-desc-modal{
    max-height:260px;
  }

  .modal-order-sticky{
    position:sticky;
    bottom:0;
    padding:12px 0 2px;
  }

  .modal-order-sticky .order-button{
    width:100%;
    min-width:100%;
  }
}