* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  background:
    radial-gradient(circle at top, rgba(255, 204, 0, 0.14), transparent 28%),
    linear-gradient(180deg, #4b0000 0%, #5d0000 42%, #320000 100%);
  min-height: 100vh;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.top-header {
  background: linear-gradient(90deg, #2d300e, #202822, #171d1e);
  border-bottom: 3px solid #c50000;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-inner {
  width: min(1500px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-logo img {
  width: 315px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-info div {
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
}

.top-info strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 183, 255, 0.9);
}

.top-info span {
  display: block;
  color: #ffd100;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 4px;
}

.top-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.small-btn {
  min-width: 90px;
  min-height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-small {
  color: #ffffff;
  border: 2px solid #008dff;
  background: #071229;
}

.join-small {
  color: #1b0c00;
  background: linear-gradient(180deg, #fff176, #ffc107);
  border: 2px solid #ff9e00;
}

.search-header {
  background: #5a0000;
  border-bottom: 1px solid rgba(255, 204, 0, 0.18);
}

.search-inner {
  width: min(1200px, calc(100% - 24px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.mini-logo img {
  width: 180px;
  height: auto;
}

.search-box {
  flex: 1;
  display: flex;
  max-width: 720px;
}

.search-box input {
  width: 100%;
  height: 48px;
  border: 1px solid #d8d8d8;
  outline: none;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 3px 0 0 3px;
  background: #f6f6f6;
  color: #151515;
}

.search-box button {
  width: 110px;
  border: 0;
  color: #190b00;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(180deg, #ffe56d, #ffb800);
  border-radius: 0 3px 3px 0;
}

.category-nav {
  background: #ffffff;
  color: #171a4a;
}

.nav-inner {
  width: min(1200px, calc(100% - 24px));
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
}

.nav-inner a {
  color: #171a4a;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.category-title {
  margin-right: 18px;
}

.page-container {
  width: min(1200px, calc(100% - 24px));
  margin: 64px auto 54px;
}

.product-layout {
  display: grid;
  grid-template-columns: 330px 1fr 350px;
  gap: 28px;
  align-items: start;
}

.product-gallery {
  padding: 5px;
  background: #120000;
  border-left: 5px solid #ffde00;
  box-shadow: 0 0 18px rgba(255, 204, 0, 0.24);
}

.main-product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.thumb-row {
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
}

.thumb {
  width: 56px;
  height: 56px;
  padding: 3px;
  border: 1px solid rgba(255, 204, 0, 0.45);
  background: #170000;
  border-radius: 4px;
}

.thumb.active {
  border-color: #ffd100;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.55);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bonus-box,
.side-panel,
.seller-box {
  background: linear-gradient(180deg, #271100, #610000 50%, #300000);
  border: 1px solid #ffb000;
  border-radius: 18px;
  box-shadow:
    0 0 16px rgba(255, 198, 0, 0.36),
    inset 0 0 24px rgba(255, 183, 0, 0.08);
}

.bonus-box {
  padding: 18px;
}

.bonus-box h2,
.side-panel h2 {
  color: #4bdcff;
  font-size: 19px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0, 195, 255, 0.8);
  margin-bottom: 16px;
}

.bonus-box ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.bonus-box li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border-radius: 12px;
  background: #101833;
  border: 1px solid #127aff;
  box-shadow: inset 0 0 18px rgba(0, 132, 255, 0.15);
}

.bonus-box span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.bonus-box strong {
  color: #ffdf2e;
  font-size: 14px;
}

.middle-column {
  padding-top: 8px;
}

.middle-column h1 {
  max-width: 620px;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.55;
  text-align: left;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 15px;
}

.stars {
  color: #ffd100;
  letter-spacing: 3px;
  text-shadow: 0 0 8px rgba(255, 209, 0, 0.8);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.brand-row strong {
  color: #ffffff;
}

.price-box {
  margin: 22px 0 20px;
}

.price-main {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  color: #ffea00;
  font-size: 36px;
  font-weight: 900;
  background: #4b0000;
  border: 2px solid #ffffff;
  border-radius: 5px;
  text-shadow: 0 0 12px rgba(255, 234, 0, 0.8);
}

.price-old {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-old span {
  color: #ffffff;
  text-decoration: line-through;
  font-size: 16px;
}

.price-old strong {
  color: #ffef00;
  background: #5b0000;
  border: 1px solid #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.qty-row span {
  font-weight: 900;
  color: #ffffff;
}

.qty-row button {
  width: 34px;
  height: 34px;
  border: 1px solid #ffcf00;
  background: #220000;
  color: #ffdf2e;
  font-size: 20px;
  font-weight: 900;
  border-radius: 5px;
  cursor: pointer;
}

.qty-row strong {
  min-width: 30px;
  text-align: center;
}

.cart-row {
  margin-bottom: 18px;
}

.cart-btn {
  width: 100%;
  max-width: 410px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #170700;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe66d, #ffb000);
  border: 2px solid #fff0a5;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.38);
}

.main-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.action-btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 8px;
  border: 2px solid #ffcc00;
}

.daftar-btn {
  background: linear-gradient(135deg, #fb0f22, #ff3838);
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.45);
}

.login-btn {
  background: linear-gradient(135deg, #8100ff, #cb36ff);
  box-shadow: 0 0 18px rgba(185, 0, 255, 0.45);
}

.product-article {
  color: #ffffff;
  font-size: 14.5px;
  line-height: 1.75;
}

.product-article h2 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #ffffff;
}

.product-article p {
  margin-bottom: 15px;
  text-align: justify;
}

.product-article strong {
  color: #ffdc28;
}

.seller-box {
  padding: 18px;
  margin-bottom: 18px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.seller-box p {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}

.seller-box h2 {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.5;
  word-break: break-word;
  margin-bottom: 14px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icons span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.side-panel {
  padding: 18px;
  margin-bottom: 18px;
}

details {
  background: #2a0000;
  border: 1px solid #087cff;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 13px;
  color: #ffdf2e;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  padding: 0 13px 13px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
}

.review-panel h2 {
  color: #ffdf2e;
}

.review-item {
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #210000;
  border: 1px solid rgba(255, 204, 0, 0.4);
}

.review-item strong {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
}

.review-item span {
  color: #ffd100;
  display: block;
  margin-bottom: 7px;
}

.review-item p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  background:
    radial-gradient(circle at top, rgba(255, 204, 0, 0.14), transparent 30%),
    linear-gradient(180deg, #250000, #100000);
  border-top: 2px solid #ffb000;
  padding: 44px 0 22px;
}

.footer-container {
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.footer-box {
  padding: 24px;
  border-radius: 18px;
  background: rgba(56, 0, 0, 0.84);
  border: 1px solid rgba(255, 204, 0, 0.34);
}

.footer-box h2 {
  color: #ffdf2e;
  font-size: 22px;
  margin-bottom: 14px;
}

.footer-box p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.7;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-list span {
  padding: 10px 14px;
  border-radius: 8px;
  color: #1b0d00;
  font-weight: 900;
  background: linear-gradient(180deg, #fff176, #ffc107);
  border: 1px solid #ff9100;
}

.map-box iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 14px;
}

.copyright {
  text-align: center;
  color: #ffdf2e;
  font-size: 14px;
  font-weight: 900;
  padding: 20px 0 0;
}

@media (max-width: 1100px) {
  .top-info {
    display: none;
  }

  .product-layout {
    grid-template-columns: 300px 1fr;
  }

  .right-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .seller-box,
  .side-panel {
    margin-bottom: 0;
  }
}

@media (max-width: 820px) {
  .top-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
  }

  .brand-logo img {
    width: 240px;
  }

  .search-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    gap: 14px;
  }

  .search-box {
    width: 100%;
  }

  .nav-inner {
    gap: 18px;
    padding: 0 4px;
  }

  .page-container {
    margin-top: 24px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .middle-column h1 {
    font-size: 20px;
  }

  .right-column {
    grid-template-columns: 1fr;
  }

  .main-actions {
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .top-buttons {
    width: 100%;
    justify-content: center;
  }

  .small-btn {
    flex: 1;
  }

  .search-box {
    flex-direction: column;
    gap: 8px;
  }

  .search-box input,
  .search-box button {
    width: 100%;
    border-radius: 6px;
  }

  .middle-column h1 {
    font-size: 18px;
  }

  .rating-row {
    flex-wrap: wrap;
  }

  .price-main {
    width: 100%;
    justify-content: center;
    font-size: 32px;
  }

  .main-actions {
    grid-template-columns: 1fr;
  }

  .cart-btn {
    max-width: 100%;
  }

  .map-box iframe {
    height: 280px;
  }
}