.bm-product-page {
  padding: 10px 0 60px;
}

.bm-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.bm-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #aaa;
  padding: 20px 0 30px;
  flex-wrap: wrap;
}

.bm-breadcrumbs a {
  color: #aaa;
  transition: color 0.2s;
}

.bm-breadcrumbs a:hover {
  color: #2878ff;
}

.bm-bc-sep {
  color: #ccc;
}

.bm-property {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.bm-gallery {
  width: 460px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.bm-avatar {
  background: #fff;
  border: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 460px;
  height: 460px;
  overflow: hidden;
}

.bm-main-img {
  max-width: 420px;
  max-height: 420px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s;
}

.bm-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.bm-thumbs::-webkit-scrollbar {
  height: 4px;
}

.bm-thumbs::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}

.bm-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 1px solid #ddd;
  cursor: pointer;
  padding: 3px;
  background: #fff;
  transition: border-color 0.15s;
}

.bm-thumb:hover {
  border-color: #2878ff;
}

.bm-thumb.active {
  border-color: #2878ff;
  border-width: 2px;
  padding: 2px;
}

.bm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bm-summary {
  flex: 1;
  min-width: 0;
}

.bm-info {
  margin-bottom: 0;
}

.bm-product-title h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 18px;
  line-height: 1.3;
  flex-wrap: wrap;
}

.bm-name {
  font-size: 28px;
  font-weight: 700;
  color: #000;
}

.bm-badge-spot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #2878ff;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  vertical-align: middle;
}

.bm-badge-futures {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #00a870;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  vertical-align: middle;
}

.bm-dimensions {
  margin-bottom: 0;
}

.bm-title-box {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.bm-title-box tr {
  border-bottom: 1px solid #ebebeb;
}

.bm-title-box tr:first-child {
  border-top: 1px solid #ebebeb;
}

.bm-title-box td {
  padding: 13px 0;
  vertical-align: middle;
}

.bm-label {
  color: #888;
  font-size: 14px;
  font-weight: 400;
  width: 140px;
  white-space: nowrap;
  padding-right: 16px;
}

.bm-func-values {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.bm-func-tag {
  font-size: 14px;
  color: #262626;
}

.bm-spec-values {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.bm-spec-val {
  font-size: 14px;
  color: #262626;
}

.bm-spec-val:not(:first-child)::before {
  content: " | ";
  color: #bbb;
  font-weight: 300;
  padding: 0 4px;
}

.bm-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.bm-price-hash {
  display: inline-flex;
  align-items: center;
}

.bm-price-unit {
  display: inline-flex;
  align-items: center;
}

.bm-price-hash + .bm-price-unit::before {
  content: " | ";
  color: #bbb;
  font-weight: 300;
  padding: 0 14px;
  font-size: 16px;
}

.bm-price-blue {
  font-size: 17px;
  font-weight: 500;
  color: #2878ff;
}

.bm-shipping-spot-tag {
  font-size: 12px;
  font-weight: 700;
  color: #e74949;
  text-transform: uppercase;
  margin-right: 6px;
}

.bm-desc {
  margin-top: 0;
  font-size: 13px;
  color: #666;
  padding: 10px 14px;
  background: #f7f9fc;
  border-left: 3px solid #c5d8ff;
  border-radius: 0 4px 4px 0;
}

.bm-actions-area {
  margin-top: 28px;
  padding-top: 24px;
}

.bm-qty-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 16px;
  width: fit-content;
}

.bm-qty-btn {
  width: 44px;
  height: 46px;
  border: 1px solid #d0d0d0;
  font-size: 20px;
  font-weight: 300;
  color: #444;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  flex-shrink: 0;
}

.bm-qty-btn:hover {
  border-color: #2878ff;
  color: #2878ff;
}

.bm-qty-input {
  width: 72px;
  height: 46px;
  text-align: center;
  border: 1px solid #d0d0d0;
  border-left: none;
  border-right: none;
  font-size: 17px;
  color: #333;
  background: #fff;
  outline: none;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.bm-qty-input::-webkit-outer-spin-button,
.bm-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bm-buttons {
  display: flex;
  gap: 12px;
}

.bm-btn {
  flex: 1;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  border-radius: 2px;
  line-height: 1;
}

.bm-btn-cart {
  border: 1px solid #2878ff;
  color: #2878ff;
  background: #fff;
}

.bm-btn-cart:hover {
  background: #f0f5ff;
}

.bm-btn-buy {
  background: #2878ff;
  color: #fff;
}

.bm-btn-buy:hover {
  background: #1a5fd4;
  color: #fff;
}

a.bm-btn-buy,
a.bm-btn-buy:hover,
a.bm-btn-buy:visited {
  color: #fff;
}

.bm-sold-out-banner {
  margin-top: 24px;
  padding: 16px;
  background: #f5f5f5;
  color: #999;
  font-size: 16px;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
}

.bm-product-detail {
  margin-top: 52px;
  border-top: 1px solid #e8e8e8;
}

.bm-section-nav {
  position: sticky;
  top: 86px;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bm-section-nav::-webkit-scrollbar {
  display: none;
}

.bm-section-nav-inner {
  display: flex;
  min-width: max-content;
}

.bm-section-nav-link {
  display: inline-block;
  padding: 14px 24px;
  font-size: 14px;
  color: #777;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.bm-section-nav-link:hover,
.bm-section-nav-link.active {
  color: #2878ff;
  border-bottom-color: #2878ff;
}

.bm-sections {
  padding: 0;
}

.bm-section {
  padding: 40px 0;
  border-bottom: 1px solid #f0f0f0;
  scroll-margin-top: 130px;
}

.bm-section:last-child {
  border-bottom: none;
}

.bm-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2878ff;
  display: inline-block;
}

.bm-tab-info {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.68);
}

.bm-tab-info img {
  max-width: 100%;
  height: auto;
  margin: 14px 0;
  display: block;
}

.bm-tab-info video {
  max-width: 100%;
  height: auto;
  margin: 14px 0;
  display: block;
  border-radius: 4px;
  background: #000;
}

.bm-tab-info hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 16px 0;
}

.bm-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 0 24px;
  border: 1px solid #e8e8e8;
}

.bm-spec-table th,
.bm-spec-table td {
  padding: 10px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eee;
  line-height: 1.5;
  color: #333;
}

.bm-spec-table .bm-spec-header th {
  background: #f5f6f8;
  font-weight: 700;
  font-size: 13px;
  color: #222;
  border-bottom: 2px solid #ddd;
  padding: 12px 16px;
}

.bm-spec-table .bm-spec-section td {
  background: #f9fafb;
  font-weight: 700;
  font-size: 13px;
  color: #111;
  padding: 10px 16px;
  border-bottom: 2px solid #e0e0e0;
  border-top: 1px solid #ddd;
}

.bm-spec-table td:first-child {
  width: 40%;
  color: #555;
  font-weight: 400;
  background: #fafbfc;
  border-right: 1px solid #eee;
}

.bm-spec-table td:last-child {
  color: #111;
  font-weight: 500;
}

.bm-spec-table
  tr:nth-child(even):not(.bm-spec-header):not(.bm-spec-section)
  td {
  background-color: #fff;
}

.bm-spec-table
  tr:nth-child(odd):not(.bm-spec-header):not(.bm-spec-section)
  td:first-child {
  background: #fafbfc;
}

.bm-spec-table tr:hover:not(.bm-spec-header):not(.bm-spec-section) td {
  background: #f0f4ff;
}

.bm-spec-table .bm-spec-section td[colspan] {
  background: #f9fafb;
  border-right: none;
  width: auto;
}

@media (max-width: 1024px) {
  .bm-property {
    flex-direction: column;
    gap: 32px;
  }

  .bm-gallery {
    width: 100%;
    position: static;
  }

  .bm-avatar {
    width: 100%;
    height: auto;
    min-height: 260px;
    padding: 20px;
  }

  .bm-main-img {
    max-width: 100%;
    max-height: 340px;
  }

  .bm-summary {
    width: 100%;
  }

  .bm-product-title h1 {
    font-size: 24px;
  }

  .bm-name {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .bm-breadcrumbs {
    padding: 16px 0 20px;
    font-size: 12px;
  }

  .bm-property {
    gap: 20px;
  }

  .bm-product-title h1 {
    font-size: 20px;
    flex-wrap: wrap;
  }

  .bm-name {
    font-size: 20px;
  }

  .bm-title-box td {
    padding: 10px 0;
    font-size: 13px;
  }

  .bm-label {
    width: 100px;
    font-size: 13px;
  }

  .bm-price-blue {
    font-size: 15px;
  }

  .bm-section-nav {
    top: 56px;
  }

  .bm-section-nav-link {
    padding: 10px 14px;
    font-size: 13px;
  }

  .bm-section {
    scroll-margin-top: 100px;
  }

  .bm-buttons {
    flex-direction: column;
  }

  .bm-btn {
    padding: 13px 0;
  }

  .bm-spec-table {
    font-size: 12px;
  }

  .bm-spec-table td {
    padding: 8px 10px;
  }

  .bm-spec-table td:first-child {
    width: 45%;
  }
}

.bm-payment-methods {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.bm-payment-tag {
  font-size: 14px;
  color: #262626;
}

.bm-payment-tag:not(:first-child)::before {
  content: " | ";
  color: #bbb;
  font-weight: 300;
  padding: 0 4px;
}

.bm-reviews-section {
  padding: 48px 0 64px;
  background: #f8f9fb;
}

.bm-reviews-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.bm-reviews-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.bm-reviews-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bm-reviews-avg {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.bm-reviews-stars {
  color: #f7931a;
  font-size: 18px;
  letter-spacing: 1px;
}

.bm-reviews-count {
  font-size: 14px;
  color: #888;
}

.bm-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.bm-reviews-empty {
  padding: 40px 32px;
  text-align: center;
  color: #999;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  font-size: 14px;
}

.bm-review-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 12px;
  border: 1px solid #eee;
  transition: box-shadow 0.2s;
}

.bm-review-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.bm-review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.bm-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2878ff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}

.bm-review-meta {
  flex: 1;
  min-width: 0;
}

.bm-review-author {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bm-review-date {
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
}

.bm-review-card .bm-review-stars {
  font-size: 16px;
  color: #f7931a;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.bm-review-title {
  font-weight: 600;
  font-size: 14px;
  color: #111;
  margin-bottom: 6px;
}

.bm-review-content {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}

.bm-reviews-load-more {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #2878ff;
  cursor: pointer;
  font-weight: 600;
  margin-top: 4px;
}

.bm-reviews-load-more:hover {
  background: #f5f8ff;
}

.bm-review-form-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 24px 24px 20px;
  border: 1px solid #eee;
  position: sticky;
  top: 108px;
}

.bm-review-form-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #1a1a1a;
}

.bm-review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bm-review-form-rating {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bm-review-form-rating label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.bm-rating-stars {
  display: flex;
  gap: 4px;
}

.bm-star {
  font-size: 26px;
  color: #f7931a;
  cursor: pointer;
  transition: transform 0.1s;
  user-select: none;
  line-height: 1;
}

.bm-star:hover {
  transform: scale(1.2);
}

.bm-review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bm-review-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bm-review-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.bm-review-form-group input,
.bm-review-form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.bm-review-form-group input:focus,
.bm-review-form-group textarea:focus {
  outline: none;
  border-color: #2878ff;
  box-shadow: 0 0 0 3px rgba(40, 120, 255, 0.08);
}

.bm-review-form-group--content textarea {
  resize: vertical;
  min-height: 90px;
}

.bm-review-form-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bm-review-submit {
  width: 100%;
  padding: 12px 16px;
  background: #2878ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.bm-review-submit:hover {
  background: #1a5fd4;
}

.bm-review-submit:disabled {
  background: #a0c0ff;
  cursor: not-allowed;
}

.bm-review-form-msg {
  font-size: 13px;
  min-height: 16px;
  line-height: 1.4;
  text-align: center;
}

.bm-review-form-msg.success {
  color: #389e0d;
}

.bm-review-form-msg.error {
  color: #cf1322;
}

@media (max-width: 960px) {
  .bm-reviews-grid {
    grid-template-columns: 1fr;
  }

  .bm-review-form-wrap {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .bm-reviews-section {
    padding: 32px 0 40px;
  }

  .bm-review-form-row {
    grid-template-columns: 1fr;
  }

  .bm-reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
