body {
  background-color: #f4f5f7;
  color: #2a2d33;
}

main {
  background-color: #f4f5f7;
  padding-bottom: 40px;
}

#top {
  background: linear-gradient(180deg, #1a1d22, #2a2f36);
  border-bottom: 1px solid #1b1f24;
}

#top .list-inline-item > a,
#top .list-inline-item .dropdown > a {
  color: #d6d9de;
}

header {
  background: #242a32;
  border-bottom: 1px solid #1c2026;
}

#menu {
  background: linear-gradient(180deg, #2a3038, #20262d);
  border-color: #171b20;
  border-radius: 0 0 12px 12px;
}

#menu .navbar-nav > li > a {
  color: #e8ecf1;
  text-shadow: none;
}

#menu .navbar-nav > li > a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

#search .form-control-lg {
  border-radius: 999px 0 0 999px;
  border: 1px solid #e0e3e7;
  background: #ffffff;
}

#search .btn-lg {
  border-radius: 0 999px 999px 0;
  background: #1f2329;
  border: 1px solid #1f2329;
  color: #ffffff;
  text-shadow: none;
}

#search .btn-lg:hover {
  background: #2b313a;
}

#product-info .breadcrumb {
  background: #f8f9fb;
  border-color: #e2e6ea;
}

#product-info #content > .row.mb-3 {
  background: #ffffff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  margin-left: 0;
  margin-right: 0;
}

#product-info #content > .row.mb-3 > [class*="col"] {
  padding-left: 16px;
  padding-right: 16px;
}

#product-info .image.magnific-popup {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: start;
}

#product-info .image.magnific-popup > a {
  grid-column: 2;
}

#product-info .image.magnific-popup > div {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: clamp(220px, 55vh, 420px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

#product-info .image.magnific-popup > div img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #ffffff;
}

#product-info .image.magnific-popup img.img-thumbnail {
  border: 1px solid #e2e6ea;
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px;
}

#product-info h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2430;
  margin-bottom: 0.5rem;
}

#product-info .rating {
  margin-bottom: 12px;
}

#product-info .rating .fa-star {
  color: #f5a623;
}

#product-info .rating a {
  color: #6b7280;
}

#product-info .list-unstyled {
  margin-bottom: 16px;
}

#product-info .list-unstyled li {
  color: #4b5563;
  margin-bottom: 6px;
}

#product-info .price-new {
  font-size: 1.6rem;
  color: #1f2937;
}

#product-info .price-old {
  color: #9aa0a6;
}

#product-info #product {
  background: #f6f8fb;
  border: 1px solid #e3e7ec;
  border-radius: 12px;
  padding: 16px;
}

#product-info #button-cart {
  background: linear-gradient(180deg, #3f8f2a, #2f6f20);
  border-color: #2b641d;
  color: #ffffff;
  text-shadow: none;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

#product-info #button-cart:hover {
  background: linear-gradient(180deg, #46a031, #2f6f20);
}

#product-info .input-group-text {
  background: #ffffff;
  border-color: #dfe3e8;
}

#product-info .nav-tabs {
  border-bottom: none;
  gap: 8px;
  margin-top: 24px;
}

#product-info .nav-tabs .nav-link {
  border: 1px solid transparent;
  color: #6b7280;
  background: transparent;
  border-radius: 10px;
  padding: 8px 14px;
}

#product-info .nav-tabs .nav-link.active {
  color: #1f2937;
  background: #ffffff;
  border-color: #e3e7ec;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

#product-info .tab-content > .tab-pane {
  background: #ffffff;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

#product-info .table {
  color: #374151;
}

#product-info .product-thumb {
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
}

#product-info .product-thumb .description {
  padding: 16px;
}

#product-info .product-thumb .button button {
  background: #f4f6f9;
}
