    body { margin:0; font-family:'Inter',sans-serif; background:#fafafa; color:#222; }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
       padding: 20px 40px 12px;
      background: #fff;
      border-bottom: 1px solid #eee;
    }

    header a {
      text-decoration:none;
      color:#222;
      margin:0 10px;
      font-size:14px;
    }
    header nav {
      display: flex;
      align-items: center;
      
    }

    header nav a {
      line-height: 1; 
    }
    .container {
      max-width:1100px;
      margin:auto;
      padding:20px 40px;
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:50px;
    }

.main-img {
  width:100%;
  max-width:450px;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:10px;
  transition:
transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display:block;
  margin-left:auto;
  margin-right:auto;
}
    #mainImage {
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.thumbs{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn:active {
  transform: scale(0.97);
}
    .thumbs {
      display:flex;
      gap:10px;
    }

    .thumbs img {
      width:80px;
      height:70px;
      object-fit:cover;
      border-radius:8px;
      cursor:pointer;
      opacity:0.7;
      transition:0.2s;
      border: 2px solid transparent;
    }
    .thumbs img.active {
      border: 2px solid black;
      opacity: 1;
    }
    .thumbs img:first-child {
      opacity: 1;
    }
    .thumbs img:hover {
      opacity:1;
    }

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  background: #333;
  color: white;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
  font-weight: 500;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  width: auto;
}
    .btn:hover {
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    ul { line-height:1.8; }

.section {
  max-width: 1100px; 
  margin: 40px auto;
  padding: 0 40px;   
}
.skeleton {
  background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.main-img:hover {
  transform: scale(1.02);
  cursor: zoom-in;
}
.custom-btn {
  margin-top:15px;
  text-align:center;
  background:#333;
}

.custom-btn:hover {
  background:#000;
}

.social-icons {
  margin-top:25px;
  display:flex;
  gap:15px;
  align-items:center;
}

.social-icons a {
  color:#222;
  font-size:16px;
  transition:0.2s;
}

.social-icons a:hover {
  opacity:0.6;
  transform: translateY(-2px);
}
.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.action-buttons .btn {
  flex: 1; 
  text-align: center;
}
.logo img {
  height: 24px;  
  display: none;
}


.logo .logo-desktop {
  display: block;
  height: 32px;
}
.logo {
  margin-top: 7px; 
  margin-left: -5px;
}

.logo .logo-mobile {
  display: none;
}

.logo a {
  display: inline-block;
}
.breadcrumb {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 40px;
  font-size: 13px;
  color: #777;
}

.breadcrumb a {
  color: #777;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

.breadcrumb .current {
  color: #222;
  font-weight: 500;
}
.related {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 40px;
}

.related h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.related-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: none;      
  -ms-overflow-style: none;  
  
}
.related-grid::-webkit-scrollbar {
  display: none;    
}
.related-grid:active {
  cursor: grabbing;
}

.related-card {
  flex: 0 0 220px;
}

.related-card,
.related-card img {
  -webkit-user-drag: none;
  user-select: none;
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: 0.3s;
}

.related-card:hover img {
  transform: scale(1.03);
}

.related-card p {
  font-size: 14px;
}

.fly-img {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border-radius: 8px;
  transition: all 0.8s cubic-bezier(.4,0,.2,1);
}

.cart-bounce {
  animation: bounceCart 0.4s;
}

.search-form-header {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  height: 40px;
  border-radius: 8px;
  overflow: visible;
  background: #e9e9e9;
  flex: 1;

}

.search-form-header input {
  flex: 1;
   min-width: 0;
  border: none;
  outline: none;
 padding: 0 14px;
  background: transparent; 
  font-size: 14px;
}

.search-form-header button {
  width: 45px;
   flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
   font-size: 16px;
  color: #222;
  
}

.search-form-header button:hover {
  background: #ddd;
}

@keyframes bounceCart {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  height: 40px;
}

.category-btn .hamburger {
  font-size: 18px;
  color: #ff7a00; /* ORANGE */
  font-weight: bold;
}

.category-btn .text {
  color: #000;
  font-weight: 600;
  font-size: 14px;
}
.category-btn:hover {
  background: #f5f5f5;
}

.category-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  background: white;
  border-radius: 8px;
  padding: 10px;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.2s;
  display: flex;
  flex-direction: column; 

}
  .category-dropdown a {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
        }
.category-dropdown a:hover {
  background: #f3f3f3;
  color: #000;
}
.category-dropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 40px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

.category-wrapper {
  position: relative;
  flex-shrink: 0;
  margin-left:50px;
}

.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-svg {
  width: 22px;
  height: 22px;
  display: block;
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: red;
  color: white;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  min-width: unset;
  line-height: 18px; 
  text-align: center;
  z-index: 2;
}
#zoomOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 9999;
}

#zoomOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

#zoomOverlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  transform: scale(0.9);
  transition: 0.3s;
}

#zoomOverlay.active img {
  transform: scale(1);
}
@keyframes cartPulse {
  0% { transform: scale(1); background: red; }
  50% { transform: scale(1.3); background: #ff3b3b; }
  100% { transform: scale(1); background: red; }
}

.cart-pulse {
  animation: cartPulse 0.4s ease;
  border-radius: 50%;
}

/* fly item */
.fly-item {
  position: fixed;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  pointer-events: none;
  z-index: 9999;
}
.cart-bounce {
  animation: cartBounce 0.4s ease;
}
.category-group{
  border-bottom:1px solid #eee;
}

.category-parent{
  width:100%;
  border:none;
  background:none;
  padding:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
  transition:background 0.35s ease;
}

.category-submenu{
  display:none;
  padding:0 0 10px 0;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-6px);
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.category-submenu a{
  display:block;
  padding:10px 20px;
  text-decoration:none;
  color:#374151;
  font-size:14px;
}

.category-submenu a:hover{
  background:#f9fafb;
}

.category-group.active .category-submenu{
  display:block;
  max-height:500px;
  opacity:1;
  transform:translateY(0);
}

.category-all{
  font-weight:600;
  color:#111827;
}

.category-parent:hover{
  background:#f5f5f5;
}

.category-parent span{
  transition:transform 0.25s ease;
}

.category-group.active .category-parent span{
  transform:rotate(180deg);
}

#zoomOverlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.92);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  opacity:0;
  visibility:hidden;
  transition:0.3s;
}

#zoomOverlay.active{
  opacity:1;
  visibility:visible;
}
.zoom-image-wrap{
  position:relative;
  width:100%;
  height:100%;
  overflow:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:100px;
}
.zoom-image-box{
  position:relative;
  display:inline-block;
  width:fit-content;
  height:fit-content;
}

.zoom-image-wrap::-webkit-scrollbar{
  display:none;
}

.zoom-image-wrap::-webkit-scrollbar{
  display:none;
}

#zoomedImg{
  display:block;
  max-width:none;
  max-height:none;
  width:auto;
  height:auto;
  position:relative;
  z-index:1;
  object-fit:unset;
  user-select:none;
  -webkit-user-drag:none;
}

.zoom-image-wrap::-webkit-scrollbar{
  display:none;
}

.zoom-close{
  position:absolute;
  top:20px;
  right:20px;
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.15);
  color:#fff;
  font-size:20px;
  cursor:pointer;
  backdrop-filter:blur(10px);
}

.zoom-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:56px;
  height:56px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.12);
  color:#fff;
  font-size:42px;
  cursor:pointer;
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.zoom-prev{
  left:20px;
}

.zoom-next{
  right:20px;
}

.zoom-counter{
  position:absolute;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(255,255,255,0.12);
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  backdrop-filter:blur(10px);
}
/* =========================================
   FULLSCREEN WATERMARK
========================================= */

.zoom-watermark{
  position:fixed;
  inset:0;
  pointer-events:none;
  user-select:none;
  z-index:5;
  overflow:hidden;
  background-image:
    repeating-linear-gradient(
      -32deg,
      transparent 0px,
      transparent 140px,
      rgba(255,255,255,0.035) 140px,
      rgba(255,255,255,0.035) 142px
    );
}
/* TEXT PATTERN */
.zoom-watermark::before{
  content:"j a t i v a   c o l l e c t i v e . c o m ";
  position:absolute;
  inset:-50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:40px;
  font-weight:800;
  letter-spacing:4px;
  color:rgba(255, 255, 255, 0.605);
  transform:rotate(-32deg);
  text-shadow:
    0 0 2px rgba(0,0,0,0.15);
  filter:blur(0.2px);
  white-space:nowrap;
  background-image:
    repeating-linear-gradient(
      transparent 0px,
      transparent 120px,
      rgba(255,255,255,0.02) 120px,
      rgba(255,255,255,0.02) 121px
    );
}

.zoom-watermark::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    repeating-linear-gradient(
      -32deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 2px,
      transparent 2px,
      transparent 180px
    );

  opacity:0.7;
}
img{
  -webkit-user-drag:none;
  user-select:none;
}
.zoom-close,
.zoom-nav,
.zoom-counter{
  z-index:999999;
}

/* MOBILE */
@media (max-width: 768px) {
                header {
                  padding: 15px 20px;
                  justify-content: space-between;
                }

                .logo img {
                  display: none;
                  height: 18px;
                }
                .logo .logo-desktop {
                  display: none;
                }

                .logo .logo-mobile {
                  display: block;
                  height: 32px;
                }
                .menu-toggle {
                  display: flex;
                  cursor: pointer;
                  gap: 3px;
                  align-items: center;
                }
                .menu-toggle span {
                  width: 6px;
                  height: 6px;
                  background: #ff7a00;
                  border-radius: 50%;
                  display: block;
                }

                .menu-toggle i {
                  text-shadow: 0 0 0 #ff7a00, 
                              0.5px 0 #ff7a00,
                              -0.5px 0 #ff7a00;
                }
                .menu-toggle:hover {
                  transform: scale(1.1);
                  opacity: 0.8;
                }
                  header nav {
                    position: absolute;
                    top: 60px;
                    right: 20px;
                    background: white;
                    border: 1px solid #eee;
                    border-radius: 12px;
                    flex-direction: column;
                    padding: 15px 20px;
                    z-index: 999;

                    opacity: 0;
                    transform: translateY(-10px);
                    pointer-events: none;

                    transition: all 0.3s ease;
                    }

                    header nav.active {
                      opacity: 1;
                      transform: translateY(0);
                      pointer-events: auto;
                    }
                
                    nav a {
                        display: block;
                        margin: 10px 0;
                        
                        }
                    header nav a {
                        font-size: 16px; 
                        padding: 10px 0;
                        }
                    header nav {
                            min-width: 160px;  
                            }
                    .container {
                        grid-template-columns: 1fr; 
                        gap: 30px;
                        padding: 30px 20px;
                        }
                    .main-img {
                        height: auto;
                        }
                    .action-buttons {
                        flex-direction: column; 
                        display: flex;
                        gap: 15px;
                        }
                    .action-buttons .btn {
                        flex: 1;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        height: 50px;
                        width: 100%;
                        box-sizing: border-box;
                        }
                    .action-buttons a.btn {
                        display: flex;
                        }
                    .related {
                        max-width: 1100px;
                        margin: 40px auto;
                        padding: 0 20px; /* ini kuncinya */
                        }
                    .related h3 {
                        padding: 0 20px;
                        }
                    .related-grid {
                        display: flex;
                        gap: 12px;
                        overflow-x: auto;
                        padding-bottom: 10px; 
                        scroll-snap-type: x mandatory;
                        
                        }
                    .related-card {
                        flex: 0 0 60%;
                        max-width: 38%;
                        scroll-snap-align: start;
                        }
                    .related-card img {
                        width: 100%;
                        height: 120px;
                        object-fit: cover;
                        border-radius: 10px;
                        }
                    .related-card p {
                        font-size: 13px;
                        }
                    .related-grid::-webkit-scrollbar {
                        display: none;
                        }
                    .search-header {
                        flex-wrap: nowrap;
                        padding: 10px 20px;
                      }

                      .logo-desktop {
                        display: none;
                      }

                      .logo-mobile {
                        display: block;
                        height: 32px;
                      }

                      .search-form-header {
                        order: 2;
                        min-width: 0;
                      }

                        .category-wrapper{
                        margin-left: 5px;
                      }
                      .cart-icon {
                        order: 3;
                      }
                        /* hanya tampil icon */
                      .category-btn .text {
                        display: none;
                      }

                      /* tombol jadi kotak */
                      .category-btn {
                        width: 40px;
                        justify-content: center;
                        padding: 0;
                      }

                      .zoom-nav{
                        width:48px;
                        height:48px;
                        font-size:34px;
                      }

                      .zoom-prev{
                        left:10px;
                      }

                      .zoom-next{
                        right:10px;
                      }
}