/**
 * File: css/style.css
 * Deskripsi: Desain web portofolio Jesindo Interior SBY.
 * Nuansa: European Luxury, Warm Cream (#FAF6F0), Rich Brown (#704224 / #8C5835), dan Soft Gold (#C5A059).
 */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Palet Warna Biru & Putih Minimalis (Jesindo Interior) */
  --bg-main: #FFFFFF;              /* Latar utama putih bersih & elegan */
  --bg-subtle: #F8FAFC;            /* Slate 50 lembut pembeda seksi */
  --bg-card: #FFFFFF;              /* Permukaan kartu putih bersih */
  --bg-banner: #F1F5F9;            /* Latar banner abu kebiruan netral */
  
  --color-brown-dark: #0F172A;     /* Slate 900 - hitam pekat modern / deep navy */
  --color-brown: #1E40AF;          /* Blue 800 - Biru royal arsitektural minimalis & elegan */
  --color-brown-light: #2563EB;    /* Blue 600 - Aksen biru modern */
  --color-gold: #0284C7;           /* Sky 600 - Biru laut aksen sekunder */
  --color-gold-hover: #0369A1;     /* Sky 700 hover */
  --color-shopee: #EE4D2D;         /* Oranye khas Shopee */
  --color-shopee-hover: #D73211;

  --color-text-main: #1E293B;      /* Slate 800 - teks hitam lembut yang nyaman di mata */
  --color-text-muted: #64748B;     /* Slate 500 - teks abu kebiruan untuk deskripsi */
  --color-border: #E2E8F0;         /* Garis batas halus minimalis */
  --color-border-subtle: #F1F5F9;  /* Pembatas ultra halus */

  /* Tipografi */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-script: 'Alex Brush', cursive;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Spacing */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Bayangan Halus, Bersih & Modern */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 4px 14px rgba(15, 23, 42, 0.04);

  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset Dasar */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

button, input {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   KOMPONEN TOMBOL & BADGE
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-brown);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(112, 66, 36, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74, 46, 27, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-brown);
  border-color: var(--color-brown);
}

.btn-outline:hover {
  background-color: var(--color-brown);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-shopee {
  background-color: var(--color-shopee);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.25);
}

.btn-shopee:hover {
  background-color: var(--color-shopee-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.35);
}

.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-subtle);
  color: var(--color-brown);
  border: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-header .sub-title {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-brown-light);
  margin-bottom: 0.5rem;
}

.section-header .main-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-header .desc {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

#main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo Teks: Jesindo Interior (Interior dengan Script Font) */
.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  letter-spacing: -0.02em;
}

.brand-logo .logo-script {
  font-family: var(--font-script);
  font-size: 2.15rem;
  font-weight: 400;
  color: var(--color-brown);
  transform: translateY(2px);
}

.brand-logo .logo-city {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #2563EB;
  background-color: #EFF6FF;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.16em;
  margin-left: 0.25rem;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brown);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-brown);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-icon-search,
.btn-icon-share,
.btn-icon-reload,
.btn-icon-admin {
  background: transparent;
  border: 1px solid var(--color-border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brown-dark);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-icon-search:hover,
.btn-icon-share:hover,
.btn-icon-reload:hover,
.btn-icon-admin:hover {
  background-color: var(--bg-subtle);
  border-color: var(--color-brown);
  color: var(--color-brown);
}

@keyframes reload-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn-icon-reload.reloading svg,
.btn-icon-reload:active svg {
  animation: reload-spin 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-nav-shopee {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-brown-dark);
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

#hero-section {
  padding: 1.5rem 0 3.5rem 0;
  overflow: hidden;
}

.hero-container-wide {
  max-width: 1440px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.hero-banner-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(28, 20, 16, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: var(--color-brown-dark);
}

/* Slideshow Container & Slide Images */
.hero-slides-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, transform 7s ease-out;
  transform: scale(1.06);
  z-index: 1;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Luxury Gradient & Shadow Overlay */
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: 
    linear-gradient(90deg, 
      rgba(20, 14, 10, 0.85) 0%, 
      rgba(20, 14, 10, 0.68) 38%, 
      rgba(20, 14, 10, 0.38) 68%, 
      rgba(20, 14, 10, 0.18) 100%
    ),
    linear-gradient(0deg, 
      rgba(20, 14, 10, 0.55) 0%, 
      transparent 45%
    );
  backdrop-filter: blur(0.5px);
}

/* Overlaid Text Content */
.hero-banner-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 4.5rem;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  background-color: rgba(197, 160, 89, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  align-self: flex-start;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 6px var(--color-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.35rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 
    0 3px 12px rgba(0, 0, 0, 0.8),
    0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-title .highlight-gold {
  color: var(--color-gold);
  font-style: italic;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.65;
  margin-bottom: 2rem;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-gold {
  background-color: var(--color-gold);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

.btn-hero-gold:hover {
  background-color: #B59048;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.55);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-gold);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.stat-item .stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Slideshow Navigation Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-slider-arrow.prev {
  left: 1.5rem;
}

.hero-slider-arrow.next {
  right: 1.5rem;
}

/* Slider Pagination Indicators / Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 1.75rem;
  right: 3.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-slider-dot {
  width: 24px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-slider-dot.active {
  width: 46px;
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.7);
}

/* Responsive adjustments for 21:9 hero */
@media (max-width: 1024px) {
  .hero-banner-stage {
    aspect-ratio: auto;
    min-height: 520px;
  }
  .hero-banner-content {
    padding: 3rem;
    max-width: 600px;
  }
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  #hero-section {
    padding: 1rem 0 2.5rem 0;
  }
  .hero-banner-stage {
    border-radius: var(--radius-md);
    min-height: 540px;
  }
  .hero-banner-content {
    padding: 2.25rem 1.5rem;
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-slider-arrow {
    display: none;
  }
  .hero-slider-dots {
    right: 1.5rem;
    bottom: 1.25rem;
  }
  .hero-stats {
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
  .stat-item .stat-num {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   BANNER KATEGORI
   ========================================================================== */

#categories-section {
  padding: 4rem 0;
  background-color: var(--bg-subtle);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.category-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brown-light);
}

.category-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-img img {
  transform: scale(1.06);
}

.category-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-brown);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.category-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  margin-bottom: 0.5rem;
}

.category-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brown);
  transition: var(--transition-smooth);
}

.category-card-link span {
  transition: transform 0.25s ease;
}

.category-card:hover .category-card-link span {
  transform: translateX(5px);
}

/* ==========================================================================
   SECTION PRODUK UNGGULAN
   ========================================================================== */

#featured-products {
  padding: 5rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-brown-light);
}

.product-card-img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.product-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img-wrapper img {
  transform: scale(1.05);
}

.product-card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(74, 46, 27, 0.85);
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-meta {
  font-size: 0.75rem;
  color: var(--color-brown-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-brown-dark);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7rem;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #D97706; /* Star Amber */
  margin-bottom: 0.85rem;
}

.product-card-rating span {
  color: var(--color-text-muted);
  font-weight: 600;
  margin-left: 0.25rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border-subtle);
}

.product-card-footer.portfolio-footer {
  justify-content: flex-end;
}

.btn-card-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brown);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-cream-light);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-card-portfolio:hover {
  background-color: var(--color-brown);
  color: #FFFFFF;
  border-color: var(--color-brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(78, 52, 46, 0.2);
}

.product-card-price {
  display: flex;
  flex-direction: column;
}

.product-card-price .amount {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-brown);
}

.product-card-price .unit {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.btn-shopee-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-shopee);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(238, 77, 45, 0.25);
}

.btn-shopee-icon:hover {
  background-color: var(--color-shopee-hover);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.35);
}

.section-footer-action {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================================================
   BANNER PROMO: Premium European Fabric
   ========================================================================== */

#promo-banner {
  padding: 2.5rem 0;
}

.promo-container {
  background: linear-gradient(135deg, #EFE7DB 0%, #E3D5C3 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.promo-container::before {
  content: 'European Fabric';
  position: absolute;
  right: -2rem;
  bottom: -2.5rem;
  font-family: var(--font-script);
  font-size: 11rem;
  color: rgba(112, 66, 36, 0.05);
  pointer-events: none;
  white-space: nowrap;
}

.promo-content {
  position: relative;
  z-index: 2;
}

.promo-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-brown);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.promo-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.promo-visual {
  position: relative;
  z-index: 2;
}

.promo-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  border: 5px solid #FFFFFF;
}

.promo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SECTION GALERI PROYEK
   ========================================================================== */

#project-gallery {
  padding: 5rem 0;
  background-color: var(--bg-subtle);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.06);
}

.gallery-location-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background-color: rgba(30, 20, 15, 0.75);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gallery-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brown-light);
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.gallery-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   STRIP FOOTER (TRUST PILLARS)
   ========================================================================== */

#strip-footer {
  background-color: var(--bg-main);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}

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

.pillar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: left;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brown);
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  line-height: 1.2;
}

.pillar-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

/* ==========================================================================
   FOOTER UTAMA LENGKAP
   ========================================================================== */

#main-footer {
  background-color: #0F172A;      /* Deep Slate Navy Modern & Minimalis */
  color: #CBD5E1;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-brand .logo-script {
  color: #60A5FA;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-shopee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-shopee);
  color: #FFFFFF;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer-shopee-badge:hover {
  background-color: var(--color-shopee-hover);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
  color: #60A5FA;
  transform: translateX(4px);
  display: inline-block;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #94A3B8;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: #60A5FA;
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */

.search-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-dialog {
  background-color: var(--bg-card);
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.search-box {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.search-box input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: var(--color-text-main);
  background: transparent;
  padding: 0.25rem 0.5rem;
}

.search-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0.25rem;
}

.search-results-list {
  max-height: 350px;
  overflow-y: auto;
  padding: 0.75rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.search-result-item:hover {
  background-color: var(--bg-subtle);
}

.search-result-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST BREAKPOINTS)
   ========================================================================== */

/* Tablet & iPad (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 1.25rem auto;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .floating-hero-card {
    left: 1rem;
    bottom: -1rem;
  }

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

  .categories-grid .category-card:last-child {
    grid-column: span 2;
  }

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

  .promo-container {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    text-align: center;
  }

  .promo-badge {
    margin: 0 auto 1rem auto;
  }

  .promo-visual {
    max-width: 450px;
    margin: 0 auto;
  }

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

  .gallery-grid .gallery-card:last-child {
    grid-column: span 2;
  }

  .trust-pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .navbar {
    position: relative;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }

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

  .brand-logo {
    font-size: 1.35rem;
  }

  .brand-logo .logo-script {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .floating-hero-card {
    position: static;
    margin: 1.25rem auto 0 auto;
    max-width: 100%;
    animation: none;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid .category-card:last-child {
    grid-column: span 1;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .gallery-card:last-child {
    grid-column: span 1;
  }

  .trust-pillars {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pillar-item {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-nav-shopee {
    display: none; /* Disembunyikan di navbar mobile agar tidak sesak, tersedia di tombol hero & menu */
  }
}


/* ==========================================================================
   SKELETON LOADING & SHIMMER
   ========================================================================== */

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #ede6dc 25%, #f7f3ec 50%, #ede6dc 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.skeleton-card-img {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.skeleton-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.skeleton-line {
  height: 14px;
}

.skeleton-line.short {
  width: 40%;
}

.skeleton-line.medium {
  width: 70%;
}

.skeleton-line.long {
  width: 90%;
}

.skeleton-line.title {
  height: 20px;
  width: 85%;
}

.skeleton-line.price {
  height: 24px;
  width: 50%;
}

/* ==========================================================================
   EMPTY STATE (PESAN RAMAH JIKA KOSONG)
   ========================================================================== */

.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 2rem auto;
}

.empty-state-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  color: var(--color-brown-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-brown-dark);
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.empty-state-action {
  display: inline-flex;
}

/* ==========================================================================
   HALAMAN KATALOG (products.html)
   ========================================================================== */

.catalog-hero {
  background-color: var(--bg-subtle);
  padding: 3.5rem 0 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.catalog-hero .catalog-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-brown);
  margin-bottom: 0.5rem;
}

.catalog-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  color: var(--color-brown-dark);
  margin-bottom: 0.75rem;
}

.catalog-hero p {
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Toolbar Katalog: Search, Filter, Sort */
.catalog-toolbar-section {
  padding: 2.5rem 0 1.5rem 0;
}

.catalog-toolbar {
  background-color: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.toolbar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.catalog-search-box {
  position: relative;
  flex-grow: 1;
  max-width: 450px;
}

.catalog-search-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-brown-light);
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--bg-main);
  outline: none;
  font-size: 0.9375rem;
  color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.catalog-search-input:focus {
  border-color: var(--color-brown);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(112, 66, 36, 0.1);
}

.catalog-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.catalog-sort-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.catalog-sort-select {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--bg-main);
  color: var(--color-text-main);
  font-size: 0.875rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.catalog-sort-select:focus {
  border-color: var(--color-brown);
}

/* Category Pills & Subcategory Chips */
.category-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.category-pill {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-text-main);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.category-pill:hover {
  background-color: var(--bg-subtle);
  border-color: var(--color-brown-light);
  color: var(--color-brown);
}

.category-pill.active {
  background-color: var(--color-brown);
  color: #FFFFFF;
  border-color: var(--color-brown);
  box-shadow: 0 2px 8px rgba(112, 66, 36, 0.2);
}

.subcat-chips-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border-subtle);
}

.subcat-chips-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-brown-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}

.subcat-chip {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--bg-main);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.subcat-chip:hover {
  border-color: var(--color-brown);
  color: var(--color-brown);
}

.subcat-chip.active {
  background-color: var(--color-brown-light);
  color: #FFFFFF;
  border-color: var(--color-brown-light);
}

.catalog-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.catalog-reset-btn {
  background: none;
  border: none;
  color: var(--color-brown);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* ==========================================================================
   HALAMAN DETAIL PRODUK (product.html)
   ========================================================================== */

.breadcrumb-section {
  padding: 1.5rem 0 0.5rem 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--color-brown);
}

.breadcrumb-sep {
  color: var(--color-border);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding: 2.5rem 0 5rem 0;
  align-items: flex-start;
}

/* Galeri Foto Produk */
.product-detail-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}

.gallery-main-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-thumbnails-list {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-thumb-btn {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background-color: var(--bg-card);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

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

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

.gallery-thumb-btn.active {
  border-color: var(--color-brown);
  box-shadow: 0 2px 8px rgba(112, 66, 36, 0.25);
}

/* Detail Info Produk */
.product-detail-info {
  display: flex;
  flex-direction: column;
}

.detail-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.detail-cat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brown);
  background-color: var(--bg-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.detail-subcat-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.detail-product-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
}

.detail-price-amount {
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--color-brown);
  font-family: var(--font-heading);
}

.detail-price-unit {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Pilihan Warna */
.detail-color-section {
  margin-bottom: 1.75rem;
}

.detail-color-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.detail-color-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.detail-selected-color-name {
  font-size: 0.875rem;
  color: var(--color-brown);
  font-weight: 600;
}

.detail-color-swatches {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.detail-color-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--color-border);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.detail-color-circle:hover {
  transform: scale(1.15);
}

.detail-color-circle.active {
  box-shadow: 0 0 0 2.5px var(--color-brown);
  transform: scale(1.15);
}

/* Deskripsi Produk */
.detail-description-section {
  margin-bottom: 2.25rem;
}

.detail-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brown-dark);
  margin-bottom: 0.75rem;
}

.detail-desc-content {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  white-space: pre-line;
}

/* Tombol Aksi Portofolio */
.detail-cta-box {
  background-color: var(--bg-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.portfolio-cta-box {
  background-color: var(--color-cream-light);
  display: flex;
  justify-content: center;
}

.btn-detail-portfolio {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(78, 52, 46, 0.25);
  transition: var(--transition-smooth);
}

.btn-detail-portfolio:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 52, 46, 0.35);
}

.btn-detail-shopee {
  width: 100%;
  padding: 1rem 1.75rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(238, 77, 45, 0.3);
}

.detail-cta-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* Trust Features List */
.detail-trust-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.detail-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.detail-trust-item svg {
  color: var(--color-brown);
  flex-shrink: 0;
}

/* Produk Terkait */
.related-products-section {
  padding: 4rem 0 5rem 0;
  border-top: 1px solid var(--color-border);
  background-color: var(--bg-subtle);
}

/* Responsive Overrides untuk Halaman Detail & Katalog */
@media (max-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .product-detail-gallery {
    position: static;
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .catalog-hero h1 {
    font-size: 2rem;
  }
  .toolbar-top-row {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-search-box {
    max-width: 100%;
  }
  .catalog-sort-wrapper {
    justify-content: space-between;
  }
  .detail-product-title {
    font-size: 1.75rem;
  }
  .detail-price-amount {
    font-size: 1.85rem;
  }
  .detail-trust-features {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   MOBILE POLISHING (PIXEL-PERFECT MOBILE BREAKPOINTS)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 1rem;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .brand-logo .logo-script {
    font-size: 1.65rem;
  }

  .brand-logo .logo-city {
    display: none; /* Sembunyikan label kota di mobile agar navbar lega */
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .btn-icon-search,
  .btn-icon-share,
  .btn-icon-reload,
  .btn-icon-admin {
    width: 38px;
    height: 38px;
  }

  #hero-section {
    padding: 2rem 0 3.5rem 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 1rem auto;
    font-size: 0.6875rem;
    padding: 0.35rem 0.85rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.22;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
  }

  .hero-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.5rem;
    margin-top: 1.75rem;
    border-top: 1px solid var(--color-border);
  }

  .stat-item .stat-num {
    font-size: 1.25rem;
  }

  .stat-item .stat-label {
    font-size: 0.6875rem;
    line-height: 1.3;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .floating-hero-card {
    position: static;
    margin: 1rem auto 0 auto;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
  }

  .section-header .main-title {
    font-size: 1.75rem;
  }

  .promo-title {
    font-size: 1.85rem;
  }

  .promo-container {
    padding: 2rem 1.25rem;
  }
}


@media (max-width: 480px) {
  .navbar {
    padding: 0 0.25rem;
  }

  .brand-logo {
    font-size: 1.15rem;
  }

  .brand-logo .logo-script {
    font-size: 1.45rem;
  }

  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    word-break: normal !important;
  }

  .hero-stats {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.25rem !important;
  }

  .stat-item {
    text-align: center;
    flex: 1;
  }

  .stat-item .stat-num {
    font-size: 1.1rem !important;
  }

  .stat-item .stat-label {
    font-size: 0.625rem !important;
  }
}


html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    position: relative;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   DESAIN BARU: WIREFRAME BERANDA (HOME PAGE) SESUAI GAMBAR 1
   ========================================================================== */

.home-portfolio-page {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  background-color: #FFFFFF;
}

.container-portfolio {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
}

/* 1. SLIDESHOW BOX */
.section-slideshow {
  margin-bottom: 3.5rem;
}

.slideshow-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.2;
  min-height: 280px;
  max-height: 440px;
  background-color: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.slideshow-content-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.placeholder-text-large {
  font-size: 2.85rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: -0.01em;
  user-select: none;
  font-family: var(--font-body);
}

.slideshow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #1E40AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0.25; /* Opasitas halus minimalis */
  transition: opacity 0.35s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* Saat kotak slideshow diarahkan kursor (hover), anak panah mulai terlihat lebih jelas */
.slideshow-box:hover .slideshow-nav-btn {
  opacity: 0.65;
}

/* Saat kursor langsung mengarah atau mengklik anak panah, muncul 100% penuh */
.slideshow-nav-btn:hover,
.slideshow-nav-btn:focus-visible,
.slideshow-nav-btn:active {
  opacity: 1 !important;
  background: #FFFFFF;
  color: #1E3A8A;
  border-color: #93C5FD;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.16);
}

.slideshow-nav-btn.prev {
  left: 20px;
}

.slideshow-nav-btn.next {
  right: 20px;
}

/* Gaya item slide untuk transisi cross-fade yang sangat halus */
.slideshow-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.slideshow-slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

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

.slideshow-slide-caption {
  position: absolute;
  bottom: 22px;
  left: 26px;
  background: rgba(17, 24, 39, 0.72);
  color: #FFFFFF;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 80%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 2. SECTION KATEGORI PRODUK */
.portfolio-category-section {
  margin-bottom: 3.75rem;
}

.category-section-heading {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.category-product-count-badge {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4B5563;
  background-color: #F3F4F6;
  border: 1px solid #E5E7EB;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  letter-spacing: normal;
  text-transform: none;
}

.category-heading-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-heading-link:hover {
  color: #1E40AF;
}

.category-banner-box {
  width: 100%;
  aspect-ratio: 16 / 4.4;
  min-height: 140px;
  max-height: 200px;
  background-color: #F1F5F9;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-banner-box:hover {
  filter: brightness(0.98);
  border-color: #93C5FD;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.08);
}

.banner-placeholder-text {
  font-size: 1.65rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: -0.01em;
  user-select: none;
  font-family: var(--font-body);
}

/* 2B. HEADER BAR & GRID PRODUK HALAMAN KATALOG (GAMBAR 2) */
.category-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  width: 100%;
}

.category-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.category-header-bar .category-section-heading {
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#btn-share-catalog {
  margin-left: auto;
  flex-shrink: 0;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1.5px solid #BFDBFE;
  border-radius: 9999px;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-back-home:hover {
  background-color: #DBEAFE;
  color: #1E3A8A;
  border-color: #93C5FD;
  transform: translateX(-3px);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.12);
}

.portfolio-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  width: 100%;
  margin-bottom: 3.5rem;
}

/* Kartu produk dalam grid katalog selalu 100% selebar kolom grid */
.portfolio-products-grid .portfolio-item-card {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

/* 3. SLIDER KARTU PRODUK DENGAN INFINITE LOOP */
.category-products-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.slider-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  padding: 6px 0;
  position: relative;
  touch-action: pan-y;
}

.card-slider-track {
  display: flex;
  gap: var(--slider-gap, 1.15rem);
  width: max-content;
  will-change: transform;
}

.card-slider-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #E2E8F0;
  color: #1E40AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 20;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  user-select: none;
}

.card-slider-btn.prev {
  left: 10px;
}

.card-slider-btn.next {
  right: 10px;
}

.card-slider-btn:hover {
  background: #FFFFFF;
  color: #1E3A8A;
  border-color: #93C5FD;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.18);
}

.card-slider-btn:active {
  transform: translateY(-50%) scale(0.96);
}

/* 4. KARTU PRODUK WIREFRAME */
.portfolio-item-card {
  width: var(--card-width, 240px);
  flex: 0 0 var(--card-width, 240px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  user-select: none;
}

.portfolio-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
  border-color: #93C5FD;
}

.card-image-box {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background-color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.card-img-placeholder-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748B;
  line-height: 1.35;
  user-select: none;
  font-family: var(--font-body);
}

.card-label-box {
  background-color: #FFFFFF;
  border-top: 1.5px solid #F1F5F9;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-label-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  font-family: var(--font-body);
  text-align: center;
  width: 100%;
}

.btn-card-share {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-card-share:hover {
  background-color: #1E40AF;
  color: #FFFFFF;
  border-color: #1E40AF;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.2);
}

/* ==========================================================================
   DESAIN BARU: DETAIL PRODUK (GAMBAR 3)
   ========================================================================== */

.product-detail-page {
  padding-bottom: 5rem;
}

.detail-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-share-product-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1.5px solid #BFDBFE;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.btn-share-product-detail:hover {
  background-color: #DBEAFE;
  color: #1E3A8A;
  border-color: #93C5FD;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.15);
}

/* Toast Notifikasi Berhasil Salin Link */
.jesindo-toast-popup {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 0.75rem 1.35rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  text-align: center;
  max-width: 90vw;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.jesindo-toast-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.btn-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1.5px solid #BFDBFE;
  border-radius: 9999px;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.btn-back-nav:hover {
  background-color: #DBEAFE;
  color: #1E3A8A;
  border-color: #93C5FD;
  transform: translateX(-3px);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.12);
}

.product-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}

/* Kolom Kiri: Kartu Hero Produk */
.detail-hero-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.detail-hero-image-box {
  width: 100%;
  aspect-ratio: 1 / 0.95;
  background-color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hero Image Slider on Product Detail */
.detail-hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.detail-hero-slides-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.detail-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.detail-hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

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

.detail-hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  color: #1E40AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: all 0.2s ease;
  opacity: 0.85;
}

.detail-hero-card:hover .detail-hero-nav-btn {
  opacity: 1;
}

.detail-hero-nav-btn:hover {
  background: #FFFFFF;
  color: #1E3A8A;
  border-color: #93C5FD;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.22);
}

.detail-hero-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.detail-hero-nav-btn.prev {
  left: 12px;
}

.detail-hero-nav-btn.next {
  right: 12px;
}

.detail-hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 6;
  background: rgba(15, 23, 42, 0.38);
  padding: 4px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.detail-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.detail-hero-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.detail-hero-dot.active {
  width: 20px;
  border-radius: 4px;
  background: #FFFFFF;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.detail-hero-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.65);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  z-index: 6;
  backdrop-filter: blur(4px);
  letter-spacing: 0.03em;
}

.detail-hero-img-text {
  font-size: 2.25rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: -0.01em;
  user-select: none;
  font-family: var(--font-body);
}

.detail-hero-label-box {
  background-color: #FFFFFF;
  border-top: 1.5px solid #F1F5F9;
  padding: 1.25rem 1.25rem;
  text-align: left;
}

.detail-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0;
  font-family: var(--font-body);
}

/* Kolom Kanan: Frame Kotak 9 Atribut (3x3 Grid) */
.detail-attributes-frame {
  background-color: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.detail-attributes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  height: 100%;
}

.detail-attribute-box {
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.detail-attribute-box:hover {
  border-color: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.detail-attribute-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.3;
  font-family: var(--font-body);
}

.detail-attribute-box {
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-attribute-box:hover {
  transform: translateY(-2px);
  border-color: #2563EB;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.16);
}

/* Bagian Bawah: Deskripsi Produk */
.detail-description-section {
  width: 100%;
  margin-top: 1.25rem;
}

.detail-desc-heading {
  font-size: 1.65rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
}

.detail-desc-box {
  width: 100%;
  min-height: 180px;
  background-color: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 2rem;
  display: block;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
}

/* Mode Media (PDF / Gambar Brosur Bersambung Rapat Seamless Tanpa Celah / Komik) */
.detail-desc-box.media-mode {
  padding: 0 !important;
  background-color: transparent !important;
  border: 1.5px solid #E2E8F0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07) !important;
}

.detail-desc-media-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
  line-height: 0;
  background-color: #FFFFFF;
}

.detail-desc-media-stack img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  vertical-align: top;
  line-height: 0;
}

.detail-desc-placeholder-text {
  color: #475569;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Rendered Content Deskripsi dengan Dukungan Paragraf, Bold, Italic, & List */
.detail-desc-rendered-content {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.75;
  width: 100%;
  word-break: break-word;
}

.detail-desc-rendered-content .detail-desc-p {
  margin-bottom: 0.75rem;
  color: #334155;
}

.detail-desc-rendered-content .detail-desc-p:last-child {
  margin-bottom: 0;
}

.detail-desc-rendered-content .detail-desc-list {
  list-style-type: disc;
  margin: 0.5rem 0 1rem 1.75rem;
  color: #334155;
}

.detail-desc-rendered-content .detail-desc-ordered-list {
  list-style-type: decimal;
  margin: 0.5rem 0 1rem 1.75rem;
  color: #334155;
}

.detail-desc-rendered-content li {
  margin-bottom: 0.4rem;
  padding-left: 0.35rem;
}

.detail-desc-rendered-content strong {
  font-weight: 700;
  color: #0F172A;
}

.detail-desc-rendered-content em {
  font-style: italic;
  color: #1E293B;
}

/* Kotak Spesial ke-9: Tombol Lihat Semua Varian (jika varian > 9) */
.detail-attribute-view-all {
  background: linear-gradient(145deg, #1E3A8A 0%, #0F172A 100%) !important;
  border: 1.5px solid #3B82F6 !important;
  color: #FFFFFF !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem !important;
  cursor: pointer !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.detail-attribute-view-all:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
  border-color: #60A5FA !important;
  background: linear-gradient(145deg, #2563EB 0%, #1E3A8A 100%) !important;
}

.detail-attribute-view-all .view-all-icon {
  width: 24px;
  height: 24px;
  color: #93C5FD;
  margin-bottom: 4px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.detail-attribute-view-all:hover .view-all-icon {
  transform: scale(1.1);
  color: #FFFFFF;
}

.detail-attribute-view-all .view-all-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: #93C5FD;
  line-height: 1.1;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.detail-attribute-view-all .view-all-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0 4px;
}

/* ==========================================================================
   MODAL SEMUA VARIAN (POPUP JIKA VARIAN > 9)
   ========================================================================== */
.all-variants-modal {
  position: fixed;
  inset: 0;
  z-index: 2500; /* Di bawah attribute-preview-modal (z-index: 3000) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.all-variants-modal.active {
  opacity: 1;
  visibility: visible;
}

.all-variants-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.all-variants-dialog {
  position: relative;
  z-index: 2;
  background-color: #FFFFFF;
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  max-height: 85vh;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
  border: 1.5px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.all-variants-modal.active .all-variants-dialog {
  transform: scale(1);
}

.all-variants-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  gap: 1rem;
}

.all-variants-header-text {
  flex: 1;
  min-width: 0;
}

.all-variants-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}

.all-variants-subtitle {
  font-size: 0.8125rem;
  color: #64748B;
  margin: 3px 0 0 0;
  line-height: 1.4;
}

.btn-close-all-variants {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #475569;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.btn-close-all-variants:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
  transform: scale(1.08);
}

.all-variants-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  max-height: calc(85vh - 85px);
  -webkit-overflow-scrolling: touch;
}

.all-variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 12px;
  width: 100%;
}

.all-variant-card {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #F1F5F9;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.all-variant-card:hover {
  transform: translateY(-3px);
  border-color: #2563EB;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}

.all-variant-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.all-variant-card .variant-name-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.78);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 6px;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  backdrop-filter: blur(2px);
}

.all-variant-card .variant-zoom-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.72);
  color: #FFFFFF;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

@media (max-width: 640px) {
  .all-variants-dialog {
    max-height: 90vh;
    border-radius: 16px;
  }
  .all-variants-header {
    padding: 1rem 1.15rem;
  }
  .all-variants-title {
    font-size: 1.05rem;
  }
  .all-variants-subtitle {
    font-size: 0.75rem;
  }
  .all-variants-body {
    padding: 1rem;
    max-height: calc(90vh - 75px);
  }
  .all-variants-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   MODAL PREVIEW ATRIBUT (LIGHTBOX)
   ========================================================================== */
.attribute-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.attribute-preview-modal.active {
  opacity: 1;
  visibility: visible;
}

.attribute-preview-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.attribute-preview-dialog {
  position: relative;
  z-index: 2;
  background-color: #FFFFFF;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
  border: 1.5px solid #E2E8F0;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.attribute-preview-modal.active .attribute-preview-dialog {
  transform: scale(1);
}

.attr-modal-header-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.btn-share-attr-modal,
.btn-close-attr-modal {
  position: static;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  padding: 0;
}

.btn-share-attr-modal:hover,
.btn-close-attr-modal:hover {
  background: #1E40AF;
  color: #FFFFFF;
  transform: scale(1.08);
}

.attr-modal-img-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.attr-modal-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.attr-modal-footer {
  padding: 1.15rem 1.5rem;
  background-color: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  text-align: center;
}

.attr-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  font-family: var(--font-body);
}

/* ==========================================================================
   INFORMASI TOKO & LOKASI (FOTO, DETAIL KONTAK, GOOGLE MAPS)
   ========================================================================== */
.store-info-section {
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.store-info-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 1.5rem;
  align-items: stretch;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.store-info-photo-col {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #F8FAFC;
  min-height: 220px;
  display: flex;
  border: 1px solid #E2E8F0;
}

.store-info-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.store-info-photo-col:hover .store-info-img {
  transform: scale(1.03);
}

.store-info-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.25rem 0;
}

.store-info-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
  font-family: var(--font-body);
}

.store-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.store-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.store-info-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.store-info-icon-box.whatsapp {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
}

.store-info-icon-box.email {
  background: #FEF3C7;
  color: #D97706;
  border-color: #FDE68A;
}

.store-info-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.store-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-info-hint {
  font-size: 0.72rem;
  font-weight: 500;
  color: #2563EB;
  text-transform: none;
  letter-spacing: normal;
}

.store-info-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.45;
  margin: 0;
}

.store-info-value.highlight-link {
  color: #1E40AF;
  font-weight: 700;
}

.store-info-clickable {
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  margin: -0.35rem -0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.store-info-clickable:hover {
  background-color: #F8FAFC;
}

.store-info-clickable:hover .store-info-icon-box {
  background-color: #1E40AF;
  color: #FFFFFF;
  border-color: #1E40AF;
  transform: scale(1.05);
}

.store-info-clickable:hover .store-info-value {
  color: #1E40AF;
}

.store-info-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem 0.5rem;
  margin: -0.35rem -0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.store-info-link:hover {
  background-color: #F8FAFC;
}

.store-info-link:hover .store-info-icon-box.whatsapp {
  background-color: #059669;
  color: #FFFFFF;
  border-color: #059669;
  transform: scale(1.05);
}

.store-info-link:hover .store-info-icon-box.email {
  background-color: #D97706;
  color: #FFFFFF;
  border-color: #D97706;
  transform: scale(1.05);
}

.store-info-link:hover .highlight-link {
  text-decoration: underline;
}

.store-info-map-col {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #F8FAFC;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  border: 1px solid #E2E8F0;
}

.store-info-map-frame {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.store-info-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: block;
}

.btn-open-google-maps {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-open-google-maps:hover {
  background: #1E40AF;
  border-color: #93C5FD;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .detail-hero-img-text {
    font-size: 1.85rem;
  }

  .detail-hero-title {
    font-size: 1.5rem;
  }

  .slideshow-box {
    aspect-ratio: 16 / 8.5;
    min-height: 240px;
  }

  .placeholder-text-large {
    font-size: 2.25rem;
  }

  .category-section-heading {
    font-size: 1.5rem;
  }

  .banner-placeholder-text {
    font-size: 1.35rem;
  }

  .portfolio-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .store-info-card {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .store-info-map-col {
    grid-column: 1 / -1;
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .container-portfolio {
    padding: 1.5rem 1rem 3.5rem;
  }

  .slideshow-box {
    aspect-ratio: 16 / 9.5;
    min-height: 200px;
    border-radius: 16px;
  }

  .placeholder-text-large {
    font-size: 1.85rem;
  }

  .slideshow-nav-btn {
    width: 36px;
    height: 36px;
  }

  .slideshow-nav-btn.prev {
    left: 10px;
  }

  .slideshow-nav-btn.next {
    right: 10px;
  }

  .category-section-heading {
    font-size: 1.35rem;
    gap: 0.5rem;
  }

  .category-product-count-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
  }

  .category-banner-box {
    min-height: 100px;
    border-radius: 12px;
  }

  .banner-placeholder-text {
    font-size: 1.15rem;
  }

  /* Slideshow caption kecil/ringkas di HP agar tidak menutupi gambar */
  .slideshow-slide-caption {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.65rem !important;
    bottom: 10px !important;
    left: 10px !important;
    border-radius: 6px !important;
    max-width: 80% !important;
    line-height: 1.25 !important;
    background: rgba(17, 24, 39, 0.75) !important;
    backdrop-filter: blur(4px) !important;
  }

  /* Daftar Katalog di HP 1 kolom agar tidak terpotong & selebar banner produk */
  .portfolio-products-grid {
    grid-template-columns: 100% !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .portfolio-products-grid .portfolio-item-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }

  /* Semua tombol kembali di HP: Hilangkan teks, hanya ikon panah */
  .btn-back-home span,
  .btn-back-nav span,
  #btn-back-text {
    display: none !important;
  }

  .btn-back-home,
  .btn-back-nav {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }

  /* Tombol Bagikan di HP: hilangkan teks label, tampilkan icon bulat */
  .btn-share-label {
    display: none !important;
  }

  .btn-share-product-detail,
  #btn-share-catalog,
  #btn-share-detail {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }

  .card-slider-btn {
    width: 34px;
    height: 34px;
  }

  .card-slider-btn.prev {
    left: 4px;
  }

  .card-slider-btn.next {
    right: 4px;
  }

  .card-img-placeholder-text {
    font-size: 0.85rem;
  }

  .card-label-text {
    font-size: 0.875rem;
  }

  .detail-attributes-frame {
    padding: 0.95rem;
  }

  .detail-attributes-grid {
    gap: 0.65rem;
  }

  .detail-attribute-text {
    font-size: 0.75rem;
  }

  .detail-desc-box {
    min-height: 160px;
    padding: 1.25rem;
  }

  .detail-desc-heading {
    font-size: 1.35rem;
  }

  .detail-hero-nav-btn {
    width: 34px !important;
    height: 34px !important;
    opacity: 0.95 !important;
  }

  .detail-hero-nav-btn.prev {
    left: 8px !important;
  }

  .detail-hero-nav-btn.next {
    right: 8px !important;
  }

  .store-info-card {
    grid-template-columns: 1fr !important;
    padding: 1.15rem !important;
    gap: 1.25rem !important;
    border-radius: 14px !important;
  }

  .store-info-photo-col {
    min-height: 200px !important;
    aspect-ratio: 16 / 10 !important;
  }

  .store-info-map-col {
    grid-column: auto !important;
    min-height: 200px !important;
  }
}

/* ==========================================================================
   EFEK & ANIMASI LOADING BERPINDAH PANEL / HALAMAN (PWA & WEB & ADMIN)
   ========================================================================== */

#global-top-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #1E40AF 0%, #3B82F6 40%, #60A5FA 70%, #93C5FD 100%);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.9), 0 0 5px rgba(30, 64, 175, 0.6);
  z-index: 9999999;
  pointer-events: none;
  opacity: 0;
  transition: width 0.22s cubic-bezier(0.1, 0.8, 0.2, 1), opacity 0.3s ease;
}

.top-loader-glow {
  position: absolute;
  right: 0;
  top: -2px;
  width: 80px;
  height: 7px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.9) 0%, rgba(96, 165, 250, 0) 70%);
  border-radius: 50%;
}

/* Transisi Halus Perpindahan Halaman */
body {
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-transitioning {
  opacity: 0.72;
  cursor: wait;
}

/* Shimmer Loading State Elemen Konten */
@keyframes jesindoShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.jesindo-shimmer {
  background: linear-gradient(90deg, #F8FAFC 25%, #E2E8F0 50%, #F8FAFC 75%) !important;
  background-size: 200% 100% !important;
  animation: jesindoShimmer 1.8s infinite linear !important;
}

/* Indikator Loading Modern di Balok Slide Show & Katalog */
.slideshow-loading-badge,
.catalog-loading-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  color: #1E3A8A;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.jesindo-spin-ring {
  width: 18px;
  height: 18px;
  border: 2.5px solid #DBEAFE;
  border-top-color: #1E40AF;
  border-radius: 50%;
  animation: jesindoSpinRing 0.75s infinite linear;
}

@keyframes jesindoSpinRing {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   KONTROL SEGMENTED PILL TOGGLE BAHASA (BILINGUAL ID / EN)
   ========================================================================== */

.lang-switch-pill {
  display: inline-flex;
  align-items: center;
  background-color: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  user-select: none;
}

.lang-btn {
  border: none;
  background: transparent;
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748B;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.lang-btn:hover:not(.active) {
  color: #0F172A;
  background-color: rgba(255, 255, 255, 0.6);
}

.lang-btn.active {
  background-color: #1E40AF;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.28);
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-text {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* Penyesuaian Responsif Layar HP */
@media (max-width: 600px) {
  .lang-switch-pill {
    padding: 2px;
    gap: 1px;
  }

  .lang-btn {
    padding: 0.25rem 0.45rem;
    font-size: 0.7rem;
    gap: 0.25rem;
  }

  .lang-flag {
    font-size: 0.85rem;
  }

  .lang-text {
    font-size: 0.7rem;
  }
}
