/* EMAS — tema putih, emas, biru tua, hijau zamrud */
:root {
  --color-bg: #fafbfc;
  --color-white: #fff;
  --color-gold: #c9a227;
  --color-gold-light: #e8d48b;
  --color-gold-dark: #9a7b1a;
  --color-navy: #0f2744;
  --color-navy-deep: #0a1a2e;
  --color-emerald: #059669;
  --color-emerald-dark: #047857;
  --color-text: #1e293b;
  --color-muted: #64748b;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(15, 39, 68, 0.08);
  --max: 1180px;
  --widget-orange: #e8891a;
  --widget-orange-deep: #d67a12;
  --price-display: #c9881f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.06);
}

.top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-navy);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-gold-dark);
}

.logo-mark {
  color: var(--color-gold);
  font-size: 1.1rem;
}

.logo--light {
  color: var(--color-white);
}

.logo--light .logo-mark {
  color: var(--color-gold-light);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.main-nav a:hover {
  color: var(--color-emerald);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-navy);
  border-radius: 8px;
}

.icon-btn:hover {
  background: rgba(15, 39, 68, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.25);
}

.btn-primary:hover {
  background: #1a3a5c;
  color: var(--color-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-navy-deep);
}

.btn-gold:hover {
  color: var(--color-navy-deep);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

.btn-gold-outline {
  background: transparent;
  color: var(--color-gold-dark);
  border: 2px solid var(--color-gold);
}

.btn-gold-outline:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--color-navy-deep);
}

.btn-buy {
  width: 100%;
  background: var(--color-emerald);
  color: var(--color-white);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  font: inherit;
}

.btn-buy:hover {
  background: var(--color-emerald-dark);
  color: var(--color-white);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Hero + widget harga + produk unggulan */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  gap: 1.25rem 1.5rem;
  align-items: stretch;
}

.hero-carousel-wrap {
  min-width: 0;
}

.hero-carousel-wrap .carousel {
  height: 100%;
  min-height: 280px;
}

.gold-price-widget {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 39, 68, 0.1);
  padding: 1.35rem 1.25rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(15, 39, 68, 0.06);
}

.gold-price-widget__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--widget-orange) 0%, var(--widget-orange-deep) 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(232, 137, 26, 0.35);
}

.gold-price-widget__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.gold-price-widget__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 500;
}

.gold-price-widget__amount {
  margin: 1rem 0 0;
  font-size: clamp(1.65rem, 3.2vw, 2rem);
  font-weight: 700;
  color: var(--price-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gold-price-widget__unit {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

.featured-wrap {
  margin-top: 2rem;
}

.featured-heading {
  margin: 0 0 1.1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: left;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}

.featured-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.12);
}

.featured-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e8ecf1;
}

.featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.featured-card:hover .featured-card__media img,
.featured-card:focus-within .featured-card__media img {
  transform: scale(1.04);
}

.featured-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 68, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.featured-card:hover .featured-card__overlay,
.featured-card:focus-within .featured-card__overlay {
  opacity: 1;
}

.featured-card__inner {
  text-align: center;
  max-width: 280px;
}

.featured-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
}

.featured-card__rating {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
}

.featured-card__stars {
  color: #fbbf24;
  letter-spacing: 0.05em;
}

.featured-card__price {
  margin: 0.65rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f5d78e;
}

.featured-card__actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1rem;
  width: 100%;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.btn-featured-cart,
.btn-featured-buy {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-featured-cart {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-featured-cart:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-featured-buy {
  background: linear-gradient(135deg, var(--widget-orange) 0%, var(--widget-orange-deep) 100%);
  color: var(--color-white);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(232, 137, 26, 0.4);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-featured-buy:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: var(--color-white);
}

.btn-featured-wa {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: block;
  background: #25d366;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-featured-wa:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff !important;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--color-white);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button[aria-current="true"] {
  background: var(--color-gold);
  width: 22px;
  border-radius: 4px;
}

.banner-slide {
  min-height: 280px;
  background: var(--slide-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 2rem 3.5rem;
  color: var(--color-white);
}

.banner-content h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.banner-content p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.banner-visual {
  height: 200px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 40%, rgba(232, 212, 139, 0.35) 0%, transparent 50%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0 8px,
      transparent 8px 16px
    ),
    linear-gradient(145deg, rgba(0, 0, 0, 0.2), transparent);
  border: 1px solid rgba(232, 212, 139, 0.25);
}

.banner-visual--2 {
  background:
    radial-gradient(circle at 70% 50%, rgba(5, 150, 105, 0.25) 0%, transparent 45%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 6px, transparent 6px 12px);
}

.banner-visual--3 {
  background:
    radial-gradient(ellipse at center, rgba(201, 162, 39, 0.3) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent);
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--color-navy);
  margin: 0 0 2rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head .section-title {
  margin: 0;
  text-align: left;
}

.link-all {
  font-weight: 600;
  color: var(--color-emerald);
  white-space: nowrap;
}

.link-all:hover {
  text-decoration: underline;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 88px;
  padding: 1rem;
  background: var(--color-navy);
  color: var(--color-gold-light);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid var(--color-gold);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 39, 68, 0.25);
  text-decoration: none;
  color: #fff5cc;
}

.category-card.is-active {
  background: linear-gradient(145deg, var(--color-gold) 0%, #b8891a 100%);
  color: var(--color-navy-deep);
  border-color: var(--color-gold-light);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.45);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(15, 39, 68, 0.06);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 39, 68, 0.12);
}

.product-img-wrap {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: #e8ecf1;
  margin-bottom: 0.75rem;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.stars {
  color: var(--color-gold);
  font-size: 0.85rem;
  margin: 0.25rem 0;
}

.stars span {
  color: var(--color-muted);
  margin-left: 0.25rem;
}

.product-price {
  margin: 0.25rem 0 0.75rem;
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1.05rem;
}

.product-card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card__actions .btn-buy {
  margin-top: 0;
}

.btn-wa-product {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 10px;
  background: #25d366;
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn-wa-product:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

/* Feature banner */
.feature-banner {
  min-height: 320px;
  background:
    linear-gradient(90deg, rgba(15, 39, 68, 0.88) 0%, rgba(15, 39, 68, 0.65) 50%, transparent 100%),
    url("https://images.unsplash.com/photo-1610375461246-83a751b3c303?w=1600&q=80") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.feature-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  color: var(--color-white);
}

.feature-banner-inner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.feature-banner-inner p {
  margin: 0;
  max-width: 420px;
  opacity: 0.95;
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.benefit-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: var(--shadow);
}

.benefit-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  border-radius: 10px;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.benefit-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Calculator */
.calculator {
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.04) 0%, transparent 100%);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.calc-form {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.calc-form input,
.calc-form select {
  font-family: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
}

.calc-results {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--color-gold);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.calc-row:last-child {
  border-bottom: none;
}

.calc-row.highlight {
  padding-top: 1rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--color-gold);
  font-size: 1.05rem;
}

.calc-row strong {
  color: var(--color-gold-light);
}

/* Testimonials */
.testimonial-carousel .carousel-slide {
  padding: 0 0 2.5rem;
}

.testimonial-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 3rem;
}

.testimonial-card {
  margin: 0;
  background: var(--color-white);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 39, 68, 0.06);
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.t-avatar--photo {
  padding: 0;
  background: #e8ecf1;
}

.t-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-card p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.testimonial-carousel .carousel-dots button {
  background: rgba(15, 39, 68, 0.2);
}

.testimonial-carousel .carousel-dots button[aria-current="true"] {
  background: var(--color-emerald);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 39, 68, 0.06);
}

/* Kartu yang dibungkus <a>: gaya kotak hanya pada .news-card-inner */
.news-card.news-card--link {
  background: transparent;
  box-shadow: none;
  border: none;
  overflow: visible;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-body {
  padding: 1.25rem;
}

.news-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.news-body time {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.news-cta-wrap {
  text-align: center;
  margin-top: 2rem;
}

.news-home-lead {
  text-align: center;
  max-width: 42rem;
  margin: -0.5rem auto 1.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.news-empty {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.news-empty code {
  font-size: 0.85em;
}

.news-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-card--link:hover {
  transform: translateY(-3px);
}

.news-card--link:focus-visible {
  outline: 2px solid var(--color-emerald);
  outline-offset: 2px;
}

.news-card--link .news-card-inner {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 39, 68, 0.06);
}

.news-body__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.news-body__excerpt {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body__source {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--color-emerald);
}

.news-list-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.news-list-intro {
  text-align: center;
  max-width: 40rem;
  margin: -0.25rem auto 2rem;
  color: var(--color-muted);
}

/* Halaman detail berita */
.news-detail-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.news-detail-breadcrumb {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.news-detail-breadcrumb a {
  color: var(--color-emerald);
  text-decoration: none;
}

.news-detail-breadcrumb a:hover {
  text-decoration: underline;
}

.news-detail-breadcrumb__current {
  color: var(--color-navy, #0f2744);
}

.news-detail-header {
  margin-bottom: 1.25rem;
}

.news-detail-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.news-detail-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.news-detail-meta__sep {
  margin: 0 0.35rem;
}

.news-detail-figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-detail-figure img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 380px;
  object-fit: cover;
}

.news-detail-lead {
  font-size: 1.05rem;
  color: var(--color-navy, #0f2744);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.news-detail-body {
  line-height: 1.65;
  color: #243652;
  margin-bottom: 2rem;
}

.news-source-box {
  background: rgba(15, 39, 68, 0.04);
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 2rem;
}

.news-source-box__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.news-source-box__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.news-source-box__btn {
  display: inline-block;
}

.news-source-box__url {
  margin: 0.75rem 0 0;
  word-break: break-all;
  color: var(--color-muted);
}

.news-detail-back {
  margin: 0;
}

.admin-td-clip {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Why us */
.why-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}

.why-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.why-list li:last-child {
  border-bottom: none;
}

.why-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-list strong {
  display: block;
  color: var(--color-navy);
}

.why-list p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-gold-light);
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.55;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--color-gold-light);
}

.footer-contact__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: 0.02em;
}

.footer-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.footer-contact__item:last-child {
  margin-bottom: 0;
}

.footer-contact__item--address span {
  flex: 1;
}

.footer-contact__svg {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: #38bdf8;
}

.footer-contact__item a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.footer-contact__item a:hover {
  color: #7dd3fc;
}

.socials {
  margin-top: 0.75rem;
}

.footer-badges {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0 0 1.25rem;
}

.footer-news-title {
  margin-top: 0;
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter input {
  flex: 1;
  min-width: 140px;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-family: inherit;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  background: var(--color-navy-deep);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(15, 39, 68, 0.08);
    gap: 0.75rem 1rem;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .gold-price-widget {
    max-width: 360px;
    margin: 0 auto;
  }

  .banner-slide {
    grid-template-columns: 1fr;
    padding: 1.5rem 3rem 1.5rem 1.25rem;
    min-height: 260px;
  }

  .banner-visual {
    height: 140px;
  }

  .calc-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-group {
    grid-template-columns: 1fr;
    padding: 0 2.75rem;
  }
}

@media (max-width: 600px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 1rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head .section-title {
    text-align: left;
  }
}

/* Halaman Masuk / Daftar */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f0f4f8 0%, var(--color-bg) 45%);
}

.auth-header {
  margin-bottom: 0;
}

.auth-main {
  max-width: 440px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.auth-main--register {
  max-width: 520px;
}

.auth-card {
  background: var(--color-white);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 16px 48px rgba(15, 39, 68, 0.1);
  border: 1px solid rgba(15, 39, 68, 0.06);
}

.auth-card--wide {
  max-width: 480px;
  margin: 0 auto;
}

.auth-title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-navy);
}

.auth-subtitle {
  margin: 0.5rem 0 1.5rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.auth-flash {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
}

.auth-flash--ok {
  background: rgba(5, 150, 105, 0.1);
  color: var(--color-emerald-dark);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.auth-flash--err {
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
  border: 1px solid rgba(185, 28, 28, 0.2);
}

.auth-flash ul {
  margin: 0;
  padding-left: 1.1rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
}

.auth-input {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(15, 39, 68, 0.12);
}

.auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--color-text);
  cursor: pointer;
}

.auth-check--block {
  display: flex;
  align-items: flex-start;
  line-height: 1.45;
}

.auth-check a {
  font-weight: 600;
}

.auth-link-muted {
  color: var(--color-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.auth-link-muted:hover {
  color: var(--color-navy);
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.auth-footer-text {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.auth-footer-text a {
  font-weight: 600;
  color: var(--color-emerald);
}

.auth-footer-text a:hover {
  text-decoration: underline;
}

.nav-user {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .nav-user {
    display: none;
  }
}

/* Panel admin */
.admin-body {
  margin: 0;
  min-height: 100vh;
  background: #eef2f7;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand .logo-mark {
  color: var(--color-gold-light);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.75rem;
  flex: 1;
}

.admin-nav__link {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.admin-nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  text-decoration: none;
}

.admin-nav__link--active {
  background: rgba(201, 162, 39, 0.2);
  color: var(--color-gold-light);
}

.admin-sidebar__foot {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.admin-user {
  margin: 0 0 0.5rem;
  opacity: 0.9;
  word-break: break-all;
}

.admin-logout {
  color: var(--color-gold-light);
  font-weight: 600;
  text-decoration: none;
}

.admin-logout:hover {
  text-decoration: underline;
}

.admin-main {
  flex: 1;
  padding: 2rem 2rem 3rem;
  min-width: 0;
}

.admin-top {
  margin-bottom: 1.75rem;
}

.admin-h1 {
  margin: 0;
  font-size: 1.65rem;
  color: var(--color-navy);
}

.admin-lead {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat {
  background: var(--color-white);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.06);
  border: 1px solid rgba(15, 39, 68, 0.06);
}

.admin-stat__label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 500;
}

.admin-stat__value {
  margin: 0.35rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
}

.admin-stat__value--sm {
  font-size: 1rem;
  font-weight: 600;
  word-break: break-all;
}

.admin-panel {
  background: var(--color-white);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.06);
  border: 1px solid rgba(15, 39, 68, 0.06);
}

.admin-h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--color-navy);
}

.admin-muted {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.admin-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.admin-list code {
  font-size: 0.85em;
  background: #f1f5f9;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    gap: 0.5rem;
  }

  .admin-brand {
    border-bottom: none;
    padding: 0 0.5rem 0 0;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    flex: 1 1 auto;
  }

  .admin-sidebar__foot {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0 0;
    margin-top: 0.5rem;
  }
}

.admin-top--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-flash {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.admin-flash--err {
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
  border: 1px solid rgba(185, 28, 28, 0.2);
}

.admin-flash ul {
  margin: 0;
  padding-left: 1.2rem;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border-radius: 14px;
  border: 1px solid rgba(15, 39, 68, 0.06);
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e8ecf1;
}

.admin-table th {
  font-weight: 600;
  color: var(--color-navy);
  background: #f8fafc;
}

.admin-td-img img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-td-actions {
  white-space: nowrap;
}

.admin-inline-form {
  display: inline;
}

.admin-link {
  color: var(--color-emerald);
  font-weight: 600;
  text-decoration: none;
  margin-right: 0.75rem;
}

.admin-link:hover {
  text-decoration: underline;
}

.admin-link--danger {
  color: #b91c1c;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.admin-link--danger:hover {
  text-decoration: underline;
}

.admin-panel--form {
  max-width: 560px;
}

.admin-form .admin-hint {
  margin: -0.5rem 0 0.75rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.admin-textarea {
  min-height: 80px;
  resize: vertical;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.admin-file-input {
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.admin-current-img {
  margin: 0.25rem 0 0.75rem;
}

.admin-current-img img {
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.store-empty {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.store-empty a {
  color: var(--color-emerald);
  font-weight: 600;
}

.store-empty--wide {
  grid-column: 1 / -1;
}

/* Halaman detail produk */
.pd-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.pd-gallery__main {
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid rgba(15, 39, 68, 0.08);
  padding: 0.75rem;
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.08);
}

.pd-gallery__main img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  max-height: min(420px, 55vh);
  margin: 0 auto;
  background: #f4f6f9;
}

.pd-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pd-thumb {
  padding: 0.25rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--color-white);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.pd-thumb--active,
.pd-thumb:hover {
  border-color: var(--color-gold);
}

.pd-thumb img {
  display: block;
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}

.pd-buy {
  padding: 0.25rem 0;
}

.pd-category {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.pd-category a {
  color: var(--color-emerald);
  text-decoration: none;
}

.pd-category a:hover {
  text-decoration: underline;
}

.pd-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
}

.pd-price {
  margin: 1rem 0 0;
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  font-weight: 700;
  color: var(--price-display);
}

.pd-stock {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.pd-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 1.25rem 0 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
}

.pd-qty__btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #f1f5f9;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-navy);
  transition: background 0.15s ease;
}

.pd-qty__btn:hover:not(:disabled) {
  background: #e2e8f0;
}

.pd-qty__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pd-qty__input {
  width: 3.5rem;
  height: 44px;
  border: none;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  text-align: center;
  font: inherit;
  font-weight: 600;
  -moz-appearance: textfield;
}

.pd-qty__input::-webkit-outer-spin-button,
.pd-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-qty__input:disabled {
  background: #f8fafc;
  color: var(--color-muted);
}

.pd-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pd-actions__row {
  display: flex;
  gap: 0.75rem;
}

.btn-pd-beli,
.btn-pd-wa {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-pd-beli {
  flex: 1;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-pd-beli:hover:not([aria-disabled="true"]) {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #fff;
}

.btn-pd-wa {
  width: 100%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-pd-wa:hover:not([aria-disabled="true"]) {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #fff;
}

.btn-pd-beli[aria-disabled="true"],
.btn-pd-wa[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.pd-soldout {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #b45309;
  font-weight: 500;
}

.pd-blocks {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pd-block {
  background: var(--color-white);
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.06);
}

.pd-block__title {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.pd-block__body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-navy);
}

.pd-block__body p {
  margin: 0;
}

.pd-muted {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.pd-reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.pd-reviews-avg {
  margin: 0;
  font-weight: 600;
  color: var(--color-navy);
}

.pd-reviews-num {
  font-size: 1.25rem;
  color: var(--price-display);
}

.pd-reviews-stars {
  margin: 0;
  color: #fbbf24;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

.pd-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-review-item {
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.pd-review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pd-review-name {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.pd-review-stars {
  margin: 0;
  color: #fbbf24;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.pd-review-stars--empty {
  color: #e5e7eb;
}

.pd-review-date {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.pd-review-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-navy);
}

@media (max-width: 900px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }
}

/* Admin: daftar ulasan produk */
.admin-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-review-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.admin-review-item:last-child {
  border-bottom: none;
}

.admin-review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.admin-review-stars {
  color: #fbbf24;
  letter-spacing: 0.05em;
}

.admin-review-text {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.admin-inline-form {
  margin: 0;
}

.auth-label--checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  cursor: pointer;
}

.auth-label--checkbox input {
  width: auto;
  margin: 0;
}

/* Checkout */
.co-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.co-page-title {
  margin: 0 0 1.25rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-navy);
}

.co-flash {
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.co-flash--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.co-flash ul {
  margin: 0;
  padding-left: 1.2rem;
}

.co-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 1.75rem;
  align-items: start;
}

.co-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.co-section {
  background: var(--color-white);
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 18px rgba(15, 39, 68, 0.05);
}

.co-section__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
}

.co-label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
}

.co-input,
.co-textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.co-input:focus,
.co-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-white);
}

.co-input[readonly] {
  background: #f1f5f9;
  color: var(--color-muted);
}

.co-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-muted);
}

.co-warning {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #78350f;
}

.co-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

@media (max-width: 600px) {
  .co-grid-2 {
    grid-template-columns: 1fr;
  }
}

.co-option-list,
.co-pay-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.co-option-row {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: #fafafa;
}

.co-option-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

.co-option-label:hover {
  background: #f3f4f6;
}

.co-radio {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin: 0;
}

.co-option-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.co-option-name {
  font-weight: 600;
  color: var(--color-navy);
}

.co-option-price {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.co-pay-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 0.65rem;
  background: #fafafa;
}

.co-pay-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  margin: 0;
}

.co-pay-label:hover {
  background: #f3f4f6;
}

.co-pay-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.co-pay-bank {
  font-weight: 700;
  color: var(--color-navy);
}

.co-pay-rek {
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.co-pay-an {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.co-muted {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.co-aside {
  position: relative;
}

.co-summary {
  position: sticky;
  top: 1rem;
  background: var(--color-white);
  border: 1px solid rgba(15, 39, 68, 0.1);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.08);
}

.co-summary__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
}

.co-summary__line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--color-navy);
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.co-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.co-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-navy);
}

.co-summary__row--total {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 2px solid #e5e7eb;
  font-weight: 700;
  font-size: 1.05rem;
}

.co-summary__row--total span:last-child {
  color: var(--price-display);
}

.co-submit {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  background: linear-gradient(135deg, #f5d78e 0%, var(--color-gold) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.co-submit:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.co-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.co-summary__foot {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  text-align: center;
}

.co-summary__foot a {
  color: var(--color-emerald);
  font-weight: 600;
}

@media (max-width: 900px) {
  .co-layout {
    grid-template-columns: 1fr;
  }

  .co-summary {
    position: static;
  }
}

/* Checkout sukses */
.co-success {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 50vh;
  padding-top: 2rem;
}

.co-success-card {
  max-width: 520px;
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(15, 39, 68, 0.08);
  box-shadow: 0 12px 40px rgba(15, 39, 68, 0.1);
  text-align: center;
}

.co-success__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
}

.co-success__meta {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.co-success__lead {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.55;
}

.co-success-bank {
  margin: 1rem 0;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  text-align: center;
}

.co-success-rek {
  font-family: ui-monospace, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.35rem 0 0;
}

.co-success-total {
  font-size: 1rem;
  margin: 1rem 0;
}

.co-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Halaman pembayaran (konfirmasi + upload bukti) */
.pay-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.pay-page__title {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
}

.pay-page__meta {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.pay-page__total {
  color: var(--price-display);
}

.pay-flash {
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
}

.pay-flash--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.pay-flash--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.pay-flash--err ul {
  margin: 0;
  padding-left: 1.2rem;
}

.pay-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.pay-col--info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pay-card {
  background: var(--color-white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 18px rgba(15, 39, 68, 0.05);
}

.pay-card--bank {
  text-align: center;
}

.pay-bank-logo {
  margin: 0 auto 1rem;
  max-width: 140px;
}

.pay-bank-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pay-bank-lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--color-navy);
  line-height: 1.45;
}

.pay-bank-dl {
  margin: 0;
  text-align: left;
}

.pay-bank-dl dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-top: 0.65rem;
}

.pay-bank-dl dt:first-child {
  margin-top: 0;
}

.pay-bank-dl dd {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.pay-bank-rek {
  font-family: ui-monospace, monospace;
  font-size: 1.2rem !important;
  letter-spacing: 0.03em;
}

.pay-card--steps {
  padding: 0;
  overflow: hidden;
}

.pay-steps-head {
  margin: 0;
  padding: 0.75rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1d4ed8;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-bottom: 1px solid #bfdbfe;
}

.pay-steps-body {
  padding: 1rem 1.25rem 1.15rem;
}

.pay-steps-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-navy);
}

.pay-card--upload .pay-upload-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
}

.pay-muted {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0 0 0.75rem;
}

.pay-bukti-preview {
  display: inline-block;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.pay-bukti-preview img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pay-upload-form {
  margin: 0;
}

.pay-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.pay-dropzone {
  display: block;
  cursor: pointer;
  margin: 0 0 0.5rem;
}

.pay-dropzone__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 1.25rem;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pay-dropzone:hover .pay-dropzone__inner {
  border-color: var(--color-gold);
  background: #fffbeb;
}

.pay-dropzone__icon {
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.pay-dropzone__text {
  font-weight: 600;
  color: var(--color-navy);
}

.pay-dropzone__name {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  word-break: break-all;
  text-align: center;
}

.pay-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.pay-submit {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  background: linear-gradient(135deg, #f5d78e 0%, var(--color-gold) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  transition: filter 0.15s ease;
}

.pay-submit:hover {
  filter: brightness(1.05);
}

.pay-actions-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 860px) {
  .pay-layout {
    grid-template-columns: 1fr;
  }
}
