/* ===== Design Tokens ===== */
:root {
  --brand: #1f387e;
  --brand-dark: #16295c;
  --brand-tint: rgba(31, 56, 126, 0.08);
  --accent: #c0793f;
  --ink: rgb(30, 30, 30);
  --ink-muted: rgb(90, 90, 90);
  --surface: #ffffff;
  --surface-alt: #f7f5f1;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 20px -8px rgba(20, 20, 20, 0.12);
  --shadow-md: 0 10px 24px -10px rgba(31, 56, 126, 0.3);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 10rem;
  --font-heading: 'Fraunces', 'Segoe UI', serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
}

/* ===== Site Header / Navbar ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.site-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 16px;
  border-radius: 10rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgb(80, 80, 80);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  color: var(--brand);
  background: var(--brand-tint);
}

.site-nav a.nav-active {
  color: #ffffff;
  background: var(--brand);
}

.nav-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon {
  width: 21px;
  height: 21px;
  color: currentColor;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 10rem;
  background: #e2483b;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #ffffff;
  box-sizing: content-box;
}

.site-nav a.nav-active .cart-badge {
  background: #ffffff;
  color: var(--brand);
  border-color: var(--brand);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #ffffff;
    padding: 0 16px;
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 300px;
    padding: 10px 16px 16px;
  }

  .site-nav a {
    text-align: center;
    padding: 12px 16px;
  }
}

/* ===== Hero (index.html) — full screen banner ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 70px 24px;
  overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(10, 12, 18, 0.35) 0%, rgba(10, 12, 18, 0.55) 55%, rgba(10, 12, 18, 0.78) 100%),
    url('https://images.unsplash.com/photo-1721222204755-669d8056cdb4?q=80&w=2400&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: 10rem;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 46ch;
}

.hero-content .button-container {
  justify-content: flex-start;
  align-items: center;
}

.hero-link-secondary {
  font-weight: 600;
  color: #ffffff;
  padding: 16px 8px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-link-secondary:hover {
  color: #ffffff;
  opacity: 0.75;
}

/* ===== Kenapa Pilih Kami ===== */
.why-us {
  background: var(--surface-alt);
  padding: 56px 24px;
}

.why-us-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-us-item {
  text-align: center;
}

.why-us-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.why-us-icon svg {
  width: 24px;
  height: 24px;
}

.why-us-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.why-us-item p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero-content {
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }

  .hero-content p {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content .button-container {
    justify-content: center;
  }

  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ===== Generic inner pages (kontak, katalog, tentangkami) ===== */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: #ffffff;
}

.page-content {
  max-width: 700px;
  text-align: center;
}

.page-content h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.page-content p {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ===== Katalog Page ===== */
.katalog-page {
  align-items: flex-start;
}

.katalog-page .page-content {
  max-width: 1000px;
  width: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* ===== Product Icon (foto kategori bulat) ===== */
.product-icon {
  width: 64px;
  height: 64px;
  padding: 0;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand);
  color: #ffffff;
}

.product-icon img,
.product-icon .product-icon-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-card h3 {
  font-size: 1rem;
  color: var(--ink);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: rgb(120, 120, 120);
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: rgb(180, 180, 180);
}

.breadcrumb-current {
  color: var(--ink-muted);
  font-weight: 600;
}

/* ===== Product Photo (gambar asli + fallback ikon) ===== */
.product-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--brand) 0%, #2c4fa8 100%);
  color: #ffffff;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.product-photo-fallback-icon {
  display: none;
}

.product-photo-placeholder .product-photo-fallback-icon {
  display: block;
}

/* ===== Gallery Halaman Detail ===== */
.gallery-main-wrap {
  position: relative;
}

.gallery-main-wrap .product-photo-main {
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
}

.gallery-main-wrap .product-photo-main img {
  object-fit: contain;
  cursor: zoom-in;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
}

.gallery-nav:hover {
  background: #ffffff;
}

.gallery-nav-prev {
  left: 12px;
}

.gallery-nav-next {
  right: 12px;
}

.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 10rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.gallery-thumb .product-photo {
  border-radius: 10px;
  aspect-ratio: 1 / 1;
}

.gallery-thumb-active {
  border-color: var(--brand);
}

/* ===== Lightbox ringan (klik gambar utama) ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

/* ===== Coming Soon (katalog.html) ===== */
.product-list-page .page-content {
  max-width: 1100px;
  text-align: left;
}

.product-list-page h1 {
  text-align: left;
}

.product-list-page > .page-content > p {
  text-align: left;
}

.product-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0 40px;
}

.product-list-card {
  display: block;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-list-card .product-photo {
  margin-bottom: 16px;
}

.product-list-info h3 {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.product-list-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px !important;
}

.product-detail-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.product-list-card {
  position: relative;
}

.card-add-cart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.card-add-cart:hover {
  background: var(--brand);
  color: #ffffff;
}

.card-add-cart.is-added {
  background: #25d366;
  color: #ffffff;
}

.card-add-cart.is-added svg {
  display: none;
}

.card-add-cart.is-added::after {
  content: "\2713";
  font-size: 1rem;
  font-weight: 700;
}

.card-add-cart svg {
  width: 18px;
  height: 18px;
}

.empty-state {
  color: rgb(120, 120, 120);
  font-size: 1rem;
}

/* ===== Product Detail Page ===== */
.product-detail-page .page-content {
  max-width: 1100px;
  text-align: left;
}

#product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}

.product-detail-gallery {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-detail-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 5px 14px;
  border-radius: 10rem;
  margin-bottom: 14px;
}

.product-detail-info h1 {
  font-size: 1.9rem;
  color: var(--ink);
  margin-bottom: 10px;
  text-align: left;
}

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px !important;
}

.product-detail-desc {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 24px !important;
  text-align: left;
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.product-spec-table th,
.product-spec-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

.product-spec-table th {
  width: 140px;
  color: rgb(120, 120, 120);
  font-weight: 600;
}

.product-spec-table td {
  color: rgb(50, 50, 50);
}

.product-detail-actions {
  justify-content: flex-start;
}

/* ===== Coming Soon (katalog.html) ===== */
.coming-soon-page {
  flex-direction: column;
}

.coming-soon-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
}

.coming-soon-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 6px 18px;
  border-radius: 10rem;
  margin-bottom: 20px !important;
}

/* ===== About Page ===== */
.about {
  flex: 1;
  padding: 80px 20px 60px;
}

.about-hero {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.about-hero p {
  font-size: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.about-story {
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-story h2 {
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 20px;
  text-align: center;
}

.about-story p {
  font-size: 1.02rem;
  color: rgb(80, 80, 80);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 60px;
}

.stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 34px 30px;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
}

.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--brand);
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: rgb(100, 100, 100);
  font-weight: 600;
}

.about-vm {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.vm-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 34px 30px;
  flex: 1 1 320px;
  max-width: 380px;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
}

.vm-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
}

.vm-card h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.vm-card p {
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.vm-list {
  list-style: none;
  padding: 0;
}

.vm-list li {
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.vm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.about-cta {
  margin-top: 10px;
}

/* ===== Contact Cards ===== */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 24px;
  width: 220px;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-link {
  color: var(--ink-muted);
  text-decoration: none;
  word-break: break-word;
}

.contact-link:hover {
  color: var(--brand);
}

/* ===== Button Container ===== */
.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== Button (animated arrow style) ===== */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: var(--brand);
  border-radius: 100px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 0 0 2px var(--brand);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: #ffffff;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: var(--brand);
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: var(--brand);
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px var(--brand-tint);
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* ===== Footer ===== */
.footer {
  background: #f8f9ff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -4px 20px -12px rgba(31, 56, 126, 0.15);
  padding: 50px 20px 30px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.footer-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  background: linear-gradient(
    90deg,
    rgb(0, 0, 0) 0%,
    rgb(0, 0, 0) 49%,
    rgb(0, 0, 0) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.footer-content p {
  color: rgb(0, 0, 0);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: rgb(0, 0, 0);
  margin-bottom: 0;
}

/* ===== Social Media Icons ===== */
.wrapper {
  display: inline-flex;
  list-style: none;
  height: 120px;
  width: 100%;
  padding-top: 30px;
  justify-content: center;
}

.wrapper .icon {
  position: relative;
  background: #fff;
  border-radius: 50%;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon a {
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #fff;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: #fff;
}

.wrapper .whatsapp:hover,
.wrapper .whatsapp:hover .tooltip,
.wrapper .whatsapp:hover .tooltip::before {
  background: #25d366;
  color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #fff;
}

/* ===== Testimoni Pelanggan ===== */
.about-testimonials {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.about-testimonials h2 {
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
}

.about-testimonials .section-subtitle {
  text-align: center;
  color: rgb(120, 120, 120);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: rgb(70, 70, 70);
  line-height: 1.7;
  margin-bottom: 18px !important;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-role {
  font-size: 0.82rem;
  color: rgb(130, 130, 130);
}

/* ===== Galeri Proyek ===== */
.about-gallery {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.about-gallery h2 {
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
}

.about-gallery .section-subtitle {
  text-align: center;
  color: rgb(120, 120, 120);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.project-gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.06);
}

.project-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
}

/* ===== Form Kontak ===== */
.contact-form-section {
  max-width: 640px;
  margin: 0 auto 50px;
  text-align: left;
}

.contact-form-section h2 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
}

.contact-form-section .section-subtitle {
  text-align: center;
  color: rgb(120, 120, 120);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.contact-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgb(60, 60, 60);
}

.form-field input,
.form-field textarea {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.contact-form-submit {
  border: none;
  border-radius: 10rem;
  padding: 14px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  background: #25d366;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: filter 0.2s ease;
}

.contact-form-submit:hover {
  filter: brightness(0.95);
}

.contact-form-submit svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* ===== Peta Lokasi ===== */
.contact-map-section {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: left;
}

.contact-map-section h2 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 16px;
  text-align: center;
}

.contact-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
  line-height: 0;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ===== Halaman 404 ===== */
.error-page-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
}

.error-page-code {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 6px 18px;
  border-radius: 10rem;
  margin-bottom: 20px !important;
}

/* ===== Halaman Keranjang ===== */
.cart-page .page-content {
  max-width: 800px;
  text-align: left;
}

.cart-page h1 {
  text-align: left;
}

.cart-page > .page-content > p {
  text-align: left;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
}

.cart-item-photo {
  width: 84px;
  flex-shrink: 0;
}

.cart-item-photo .product-photo {
  border-radius: 10px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.88rem;
  color: rgb(120, 120, 120);
  margin-bottom: 10px !important;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10rem;
  overflow: hidden;
  width: fit-content;
}

.cart-qty-control button {
  width: 30px;
  height: 30px;
  border: none;
  background: #f8f9ff;
  color: var(--brand);
  font-size: 1rem;
  cursor: pointer;
}

.cart-qty-control input {
  width: 42px;
  border: none;
  text-align: center;
  font-size: 0.92rem;
  -moz-appearance: textfield;
}

.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.cart-item-subtotal {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.95rem;
  white-space: nowrap;
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(226, 72, 59, 0.1);
  color: #e2483b;
  cursor: pointer;
  font-size: 0.85rem;
}

.cart-item-remove:hover {
  background: #e2483b;
  color: #ffffff;
}

.cart-stale-notice {
  background: rgba(192, 121, 63, 0.1);
  border: 1px solid rgba(192, 121, 63, 0.3);
  color: var(--accent);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.cart-empty {
  text-align: center;
  padding: 40px 0;
  color: rgb(120, 120, 120);
}

.cart-empty p {
  margin-bottom: 26px !important;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #f8f9ff;
  border-radius: 16px;
  padding: 24px;
  margin-top: 10px;
}

.cart-summary-total {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--ink);
}

.cart-summary-total strong {
  color: var(--brand);
  font-size: 1.3rem;
}

.cart-wa-button {
  background-color: #25d366 !important;
  color: #ffffff !important;
}

.cart-wa-button svg {
  fill: #ffffff !important;
}

/* ===== Responsive ===== */

/* Desktop: 3-4 produk per baris */
@media (min-width: 1000px) {
  .product-list-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 999px) {
  .product-list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .page {
    padding: 60px 20px;
  }

  .hero-content h1, .page-content h1 {
    font-size: 2.3rem;
  }

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

  #product-detail {
    grid-template-columns: 1fr;
  }

  .product-icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 560px) {
  .product-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-thumbs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-spec-table th {
    width: 110px;
  }

  .gallery-main-wrap .product-photo-main {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 480px) {
  .product-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }
}

@media (max-width: 400px) {
  .product-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about {
    padding: 60px 16px 40px;
  }

  .about-hero h1 {
    font-size: 1.9rem;
  }

  .stat-card, .vm-card {
    width: 100%;
    max-width: 320px;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    width: 100%;
    max-width: 280px;
  }

  .button-container {
    flex-direction: column;
    width: 100%;
  }

  .animated-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-content h1, .page-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p, .page-content p {
    font-size: 1rem;
  }

  .footer {
    padding: 40px 16px 24px;
  }

  .wrapper {
    height: auto;
    padding-top: 24px;
    flex-wrap: wrap;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .cart-item-photo {
    width: 64px;
  }

  .cart-item-side {
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-top: 4px;
  }
}