/* ===============================================================
   Viar Surabaya - Modern Clean Design (Full PHP, Zero NPM Dependency)
   Matches the sleek aesthetic of the original UI: Inter/System font,
   Clean cards, soft shadows, rounded-2xl/3xl, vibrant accents.
   =============================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent-red: #dc2626;
  --accent-amber: #d97706;
  --accent-green: #16a34a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===============================================================
   TOPBAR & HEADER
   =============================================================== */
.topbar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.8rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-links a {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.navbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-icon {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.4rem;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--slate-600);
  transition: all 0.15s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown Menu (Clean, Direct Clickable Categories) */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  min-width: 260px;
  padding: 0.4rem 0;
  z-index: 60;
  margin-top: 0.2rem;
}

.nav-links > li:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: all 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 1.35rem;
}

.dropdown-menu a.dropdown-subitem {
  padding-left: 1.85rem;
  font-size: 0.82rem;
  color: var(--slate-500);
  font-weight: 500;
}

.dropdown-menu a.dropdown-subitem:hover {
  color: var(--primary);
  padding-left: 2.1rem;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-admin-header {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.btn-admin-header:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.btn-wa-header {
  background: var(--accent-green);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.25);
}

.btn-wa-header:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ===============================================================
   CAROUSEL SLIDESHOW BANNER (Aspect [745/399])
   =============================================================== */
.carousel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 745 / 399;
  background: var(--slate-950);
  border: 1px solid var(--slate-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

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

/* High visibility text overlay (matches original React stroke & shadow) */
.carousel-caption {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem;
  max-width: 680px;
  pointer-events: none;
}

.carousel-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.9);
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  pointer-events: auto;
}

.carousel-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000, -2px 2px 0px #000, 0px 4px 12px rgba(0,0,0,0.95);
  -webkit-text-stroke: 0.8px #000;
  pointer-events: auto;
}

.carousel-desc {
  font-size: 0.92rem;
  color: #f1f5f9;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-shadow: 1.5px 1.5px 0px #000, -1.5px -1.5px 0px #000, 1.5px -1.5px 0px #000, -1.5px 1.5px 0px #000, 0px 3px 8px rgba(0,0,0,0.95);
  -webkit-text-stroke: 0.4px #000;
  pointer-events: auto;
}

.carousel-actions {
  display: flex;
  gap: 0.75rem;
  pointer-events: auto;
}

.btn-carousel-wa {
  background: #f59e0b;
  color: var(--slate-950);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.15s ease;
}

.btn-carousel-wa:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.btn-carousel-unit {
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.btn-carousel-unit:hover {
  background: rgba(15, 23, 42, 0.95);
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.carousel-btn:hover {
  background: var(--slate-900);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 0.4rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  background: #f59e0b;
  width: 22px;
  border-radius: 6px;
}

/* ===============================================================
   SECTIONS & HEADINGS
   =============================================================== */
.section-block {
  margin-bottom: 3.5rem;
}

.section-title-wrap {
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 0.85rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.section-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 0.2rem;
}

/* ===============================================================
   PRODUCT CARD GRID (Matches React ProductCard)
   =============================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.product-img-wrap {
  position: relative !important;
  height: 220px !important;
  width: 100% !important;
  background: var(--slate-100);
  overflow: hidden !important;
  display: block !important;
  z-index: 1 !important;
}

.product-img-wrap a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  z-index: 1 !important;
}

.product-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease;
  position: relative !important;
  z-index: 1 !important;
}

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

.product-badge-promo {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: var(--accent-red) !important;
  color: #ffffff !important;
  padding: 0.2rem 0.55rem !important;
  border-radius: 6px !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  z-index: 30 !important;
  pointer-events: none !important;
}

/* Badge Unggulan Cantik di Atas Gambar */
.product-badge-unggulan,
.product-badge-hero {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(4px);
  z-index: 30 !important;
  pointer-events: none !important;
  line-height: 1.2 !important;
}

.product-badge-cat-top {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(4px);
  color: #2563eb !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
  z-index: 30 !important;
  pointer-events: none !important;
  line-height: 1.2 !important;
}

.product-badge-cat-hero {
  position: absolute !important;
  bottom: 10px !important;
  left: 10px !important;
  background: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(4px);
  color: #f1f5f9 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  z-index: 30 !important;
  pointer-events: none !important;
  line-height: 1.2 !important;
}

.product-badge-promo-tag {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4) !important;
  z-index: 30 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  pointer-events: none !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  line-height: 1.2 !important;
}

.product-badge-stock-tag {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: #e11d48 !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.35) !important;
  z-index: 30 !important;
  pointer-events: none !important;
  line-height: 1.2 !important;
}

.product-stock-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

.product-stock-out-overlay span {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.15);
}

.product-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.product-price-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--slate-400);
  line-height: 1.1;
  margin-bottom: 2px;
}

.product-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.product-old-price {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-decoration: line-through;
  font-family: var(--font-mono);
  font-weight: 600;
  line-height: 1.1;
}

.product-promo-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #e11d48;
  font-family: var(--font-mono);
  line-height: 1.2;
}

.product-regular-price,
.product-price-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2563eb;
  font-family: var(--font-mono);
  line-height: 1.2;
  white-space: nowrap;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.btn-card-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.65rem 0.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.btn-card-detail:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-card-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1.5px solid #1d4ed8;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.65rem 0.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}

.btn-card-order:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.product-actions-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-unit-detail {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-unit-detail:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.btn-unit-wa {
  background: var(--accent-green);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.25);
}

.btn-unit-wa:hover {
  background: #15803d;
}

.product-badge-cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.product-title a:hover {
  color: var(--primary);
}

.product-price-box {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.price-strike {
  font-size: 0.85rem;
  color: var(--slate-400);
  text-decoration: line-through;
}

.product-excerpt {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-detail {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.82rem;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn-detail:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.btn-order-wa {
  background: var(--accent-green);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
}

.btn-order-wa:hover {
  background: #15803d;
}

/* ===============================================================
   NEWS / MODIFIKASI CARD GRID (4 Columns)
   =============================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.news-img {
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--slate-100);
}

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

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

.news-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-amber);
  background: #fef3c7;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.news-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-title {
  color: var(--primary);
}

.news-footer {
  margin-top: auto;
  border-top: 1px solid var(--slate-100);
  padding-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* ===============================================================
   TESTIMONIALS
   =============================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.testi-quote {
  font-size: 0.85rem;
  color: var(--slate-600);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 0.85rem;
}

.testi-author img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--slate-200);
}

.testi-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-900);
}

.testi-role {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-family: var(--font-mono);
}

/* ===============================================================
   TENTANG KAMI PROFILE
   =============================================================== */
.profile-box {
  background: var(--slate-950);
  border: 1px solid var(--slate-900);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

/* ===============================================================
   FOOTER
   =============================================================== */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  border-top: 1px solid var(--slate-900);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ===============================================================
   PRODUCT DETAIL PAGE
   =============================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-500);
  margin: 1.25rem 0;
}

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

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.detail-img-box img {
  width: 100%;
  border-radius: var(--radius-md);
  height: 420px;
  object-fit: cover;
  border: 1px solid var(--slate-200);
}

.detail-heading {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.karoseri-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #92400e;
}

.specs-list {
  list-style: none;
  margin: 1.25rem 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.85rem 0;
}

.specs-list li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-list li::before {
  content: "✔";
  color: var(--accent-green);
  font-weight: 900;
}

/* ===============================================================
   RESPONSIVE DESIGN
   =============================================================== */
@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .profile-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .carousel-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .carousel-wrapper {
    aspect-ratio: 16 / 10;
  }
  .carousel-caption {
    padding: 1.25rem;
  }
  .carousel-title {
    font-size: 1.15rem;
  }
  .carousel-desc {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    display: none;
  }
  .showroom-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 18px !important;
  }
}

/* Showroom Card matching React preview */
.showroom-card {
  position: relative;
  background: linear-gradient(135deg, #020617 0%, #0f172a 60%, #1e293b 100%);
  border: 1px solid #1e293b;
  color: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
}
