:root {
  --purple-gray-950: #1f1a29;
  --purple-gray-900: #2b2536;
  --purple-gray-800: #3a3347;
  --purple-gray-700: #4b435a;
  --purple-gray-200: #d8d2e2;
  --purple-gray-100: #eeeaf3;
  --surface: #fbfaff;
  --surface-soft: #f2eef7;
  --text: #211b2b;
  --text-soft: #4b4357;
  --link: #5b21b6;
  --link-hover: #3b0764;
  --accent: #c4b5fd;
  --accent-soft: #f5d0fe;
  --gold: #9a6700;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(24, 18, 32, .2);
}

html { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--purple-gray-700) !important;
  color: var(--text);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
}

img { display: block; height: auto; max-width: 100%; }
.container { margin: 0 auto; max-width: 1200px; padding: 0 15px; width: 100%; }
.header { padding: 12px 0; }
.header-content { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.logo-container img { max-height: 60px; width: auto; }
.nav-desktop { align-items: center; display: flex; flex-wrap: wrap; gap: 4px; }
.nav-desktop a, .nav-mobile a { border-radius: 6px; display: inline-block; font-size: 13px; padding: 9px 13px; text-decoration: none; }
.nav-mobile { display: none; }

a {
  color: var(--link);
  text-decoration-thickness: .1em;
  text-underline-offset: .16em;
}

a:hover { color: var(--link-hover); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #f0abfc;
  outline-offset: 3px;
}

.header-container {
  background: var(--purple-gray-950) !important;
  border-bottom: 2px solid var(--accent) !important;
}

.nav-desktop a,
.nav-mobile a {
  color: var(--white) !important;
  font-weight: 700 !important;
}

.nav-desktop a:hover,
.nav-mobile a:hover,
.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  background: var(--accent-soft) !important;
  color: #2e1065 !important;
}

.nav-mobile {
  background: var(--purple-gray-900) !important;
  border-top-color: var(--purple-gray-200) !important;
}

.hamburger span { background: var(--white) !important; }

.search-box {
  border-color: var(--accent) !important;
  background: var(--white);
}

.search-box input {
  background: var(--white);
  color: var(--text);
}

.search-box button {
  background: var(--accent) !important;
  color: var(--purple-gray-950) !important;
}

.search-box button:hover { background: var(--accent-soft) !important; }
.mini-cart a { color: var(--white) !important; }
.mini-cart .cart-count { background: #7c3aed !important; color: var(--white) !important; }

.breadcrumbs {
  background: var(--purple-gray-900) !important;
  border-bottom-color: var(--accent) !important;
}

.breadcrumbs li,
.breadcrumbs li a,
.breadcrumbs .sep {
  color: var(--white) !important;
}

.breadcrumbs li a:hover { color: var(--accent-soft) !important; }

.product-detail,
.tab-content.active,
.page-card,
.content-card,
.review-section,
.evaluation-mwt-card,
.not-found-card {
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--purple-gray-200) !important;
  box-shadow: var(--shadow);
}

.product-detail {
  padding: 28px !important;
  border-radius: 12px;
}

.product-banner,
.product-img-box .main-image {
  border: 2px solid var(--accent) !important;
  background: var(--surface);
}

.product-img-box .thumb-list li {
  border-color: var(--purple-gray-200) !important;
  background: var(--surface);
}

.product-img-box .thumb-list li.active,
.product-img-box .thumb-list li:hover { border-color: #6d28d9 !important; }

.img-actions a { color: var(--white) !important; }
.img-actions a:hover { color: var(--accent-soft) !important; }

.product-detail .product-name h1,
.tab-content h2,
.page-card h1,
.page-card h2,
.content-card h2,
.content-card h3,
.review-section h2,
.evaluation-mwt-nama {
  color: var(--text) !important;
}

.product-detail .short-desc,
.tab-content p,
.tab-content li,
.page-card p,
.page-card li,
.content-card p,
.content-card li,
.evaluation-mwt-card p {
  color: var(--text-soft) !important;
}

.price-box {
  background: var(--surface-soft) !important;
  border: 1px solid var(--purple-gray-200);
  border-radius: 10px;
  padding: 18px !important;
}

.price-box .special-price { color: #4c1d95 !important; }
.price-box .price-label,
.rating-box p { color: var(--text-soft) !important; }
.rating-box a { color: var(--link) !important; }
.availability.in-stock { color: #166534 !important; font-weight: 700; }

.promo-badges a,
.btn-login,
.btn-add-cart,
.btn-submit,
.button-primary {
  background: #4c1d95 !important;
  border: 2px solid #4c1d95 !important;
  color: var(--white) !important;
  font-weight: 700;
}

.promo-badges a:hover,
.btn-login:hover,
.btn-add-cart:hover,
.btn-submit:hover,
.button-primary:hover {
  background: #2e1065 !important;
  border-color: #2e1065 !important;
  color: var(--white) !important;
}

.button-secondary {
  background: var(--white);
  border: 2px solid #4c1d95;
  color: #4c1d95;
  font-weight: 700;
}

.button-secondary:hover { background: var(--surface-soft); color: #2e1065; }

.social-share a {
  background: var(--white) !important;
  border: 1px solid var(--purple-gray-200);
  color: #4c1d95 !important;
}

.social-share a:hover { background: #4c1d95 !important; color: var(--white) !important; }

.tabs-nav button {
  background: var(--purple-gray-900) !important;
  color: var(--white) !important;
  border-color: var(--purple-gray-900) !important;
}

.tabs-nav button.active,
.tabs-nav button:hover {
  background: var(--surface) !important;
  color: #4c1d95 !important;
  border-color: var(--accent) !important;
}

.tab-content.active {
  padding: 28px !important;
  border-radius: 0 12px 12px 12px;
}

.tab-content h2:not(:first-child) {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--purple-gray-200);
}

.review-section,
.review-grid { margin-top: 30px; }

.review-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-section { border-radius: 12px; padding: 30px; }
.review-section h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 22px; text-align: center; }
.evaluation-mwt-card { border-radius: 10px; border-top: 5px solid #6d28d9 !important; padding: 22px; }
.evaluation-mwt-nama { display: block; font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.evaluation-mwt-bintang { color: var(--gold) !important; display: block; letter-spacing: 2px; margin-bottom: 10px; }
.evaluation-mwt-card p { line-height: 1.75; margin: 0; }

.footer-container {
  background: var(--purple-gray-950) !important;
  color: var(--white) !important;
  border-top: 2px solid var(--accent);
  margin-top: 44px;
  padding: 40px 0 0;
}

.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-col h3 { font-size: 17px; margin: 0 0 14px; }
.footer-col p { font-size: 14px; line-height: 1.75; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { text-decoration: none; }
.footer-bottom { border-top: 1px solid #51485f; margin-top: 28px; padding: 18px 0; text-align: center; }
.footer-bottom p { margin: 0; }

.footer-col h3,
.footer-col p,
.footer-col li,
.footer-col .contact-item,
.footer-bottom p {
  color: var(--white) !important;
}

.footer-col a,
.footer-bottom a { color: var(--accent-soft) !important; }
.footer-col a:hover,
.footer-bottom a:hover { color: var(--white) !important; }

.back-to-top { background: #4c1d95 !important; color: var(--white) !important; }
.modal-box { background: var(--surface) !important; color: var(--text) !important; }

.content-page { padding: 42px 0 56px; }

.page-hero {
  background: linear-gradient(135deg, var(--purple-gray-950), #4c3f5f);
  border: 1px solid var(--accent);
  border-radius: 14px;
  color: var(--white);
  margin-bottom: 26px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.page-hero .eyebrow {
  color: var(--accent-soft);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.18;
  margin-bottom: 14px;
}

.page-hero p {
  color: #f3eff8;
  font-size: 17px;
  line-height: 1.75;
  max-width: 820px;
}

.page-card {
  border-radius: 14px;
  padding: clamp(24px, 4vw, 42px);
}

.page-card h2 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  margin: 30px 0 12px;
}

.page-card h2:first-child { margin-top: 0; }
.page-card h3 { color: var(--text); margin: 22px 0 8px; }
.page-card p { font-size: 16px; line-height: 1.82; margin-bottom: 14px; }
.page-card ul { list-style: disc; margin: 12px 0 18px 22px; }
.page-card li { line-height: 1.75; margin-bottom: 8px; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.content-card {
  border-radius: 12px;
  padding: 22px;
}

.content-card h2,
.content-card h3 { font-size: 19px; margin-bottom: 10px; }
.content-card p { line-height: 1.7; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-row a { border-radius: 8px; display: inline-block; padding: 11px 18px; text-decoration: none; }

.faq-list { display: grid; gap: 14px; }
.faq-list details {
  background: var(--surface-soft);
  border: 1px solid var(--purple-gray-200);
  border-radius: 10px;
  padding: 16px 18px;
}
.faq-list summary { color: var(--text); cursor: pointer; font-weight: 700; }
.faq-list details p { margin: 12px 0 0; }

.not-found-card { border-radius: 14px; padding: 54px 28px; text-align: center; }
.not-found-card .error-code { color: #4c1d95; font-size: clamp(64px, 15vw, 120px); font-weight: 800; line-height: 1; }
.not-found-card h1 { color: var(--text); margin: 16px 0 10px; }
.not-found-card p { color: var(--text-soft); margin: 0 auto; max-width: 650px; }

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-detail { margin-top: 22px; }
}

@media (max-width: 768px) {
  .nav-desktop { display: flex !important; overflow-x: auto; padding: 8px 0; width: 100%; }
  .nav-desktop a { flex: 0 0 auto; font-size: 12px !important; }
  .search-box { max-width: none !important; }
  .tab-content.active { border-radius: 0 0 12px 12px; padding: 22px !important; }
  .page-hero { padding: 28px 22px; }
  .page-card { padding: 24px 20px; }
}
