.dianlu-detail-buttons {
  display: flex;
  flex: 1;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}

.dianlu-detail-buttons .btn {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  margin: 0 !important;
  border-radius: 8px;
  font-weight: 700;
}

.dianlu-detail-buttons .btn-detail-wishlist {
  border-color: #173f3a;
  background: #fff;
  color: #173f3a;
}

.dianlu-detail-buttons .btn-detail-wishlist:hover {
  border-color: #173f3a;
  background: #173f3a;
  color: #fff;
}

.customer-request-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 63, 58, 0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f4ec 0%, #fffdf9 62%, #fdf7f0 100%);
  box-shadow: 0 10px 28px rgba(23, 63, 58, 0.08);
  color: #173f3a;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.customer-request-inline:hover {
  border-color: #173f3a;
  box-shadow: 0 14px 34px rgba(23, 63, 58, 0.14);
  transform: translateY(-1px);
}

.customer-request-inline:focus-visible {
  outline: 3px solid rgba(23, 63, 58, 0.2);
  outline-offset: 2px;
}

.customer-request-inline__text {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.customer-request-inline__title {
  display: block;
  color: #173f3a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.customer-request-inline__sub {
  display: block;
  color: #65736e;
  font-size: 13px;
  line-height: 1.5;
}

.customer-request-inline__icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #173f3a;
  box-shadow: 0 6px 16px rgba(23, 63, 58, 0.22);
  color: #fff;
  font-size: 18px;
}

.customer-request-inline__arrow {
  color: #a64b2a;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.customer-request-inline:hover .customer-request-inline__arrow {
  transform: translateX(3px);
}

.product-description .rich-text-editor-content h1 {
  margin-bottom: 1.25rem;
  font-size: 28px;
  line-height: 1.35;
}

.product-description .rich-text-editor-content h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  font-size: 22px;
  line-height: 1.4;
}

.product-description .rich-text-editor-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 18px;
  line-height: 1.45;
}

.product-description .rich-text-editor-content p,
.product-description .rich-text-editor-content li {
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .dianlu-detail-buttons {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .dianlu-detail-buttons .btn {
    min-height: 44px;
    padding: 8px 6px;
    font-size: 12px;
  }

  .product-description .rich-text-editor-content h1 {
    margin-bottom: 1rem;
    font-size: 22px;
    line-height: 1.35;
  }

  .product-description .rich-text-editor-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 18px;
    line-height: 1.4;
  }

  .product-description .rich-text-editor-content h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 16px;
    line-height: 1.45;
  }

  .product-description .rich-text-editor-content p,
  .product-description .rich-text-editor-content li {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (max-width: 575.98px) {
  .customer-request-inline {
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .customer-request-inline__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 16px;
  }

  .customer-request-inline__title {
    font-size: 14px;
  }

  .customer-request-inline__sub {
    font-size: 12px;
  }
}

/* Product option comparison */
.product-description .js-compare {
  margin: 1.4rem 0 0.5rem;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #ded6c8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(145, 109, 81, 0.08), transparent 34%),
    linear-gradient(145deg, #fbf8f1 0%, #f4efe6 100%);
}

.product-description .js-compare__lead {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  color: #625d54;
  text-align: center;
}

.product-description .js-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.product-description .js-compare__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #ded7ca;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 28px rgba(56, 44, 31, 0.06);
}

.product-description .js-compare__card--current {
  border-color: rgba(76, 95, 82, 0.5);
  box-shadow: 0 12px 30px rgba(76, 95, 82, 0.1);
}

.product-description .js-compare__kicker {
  margin-bottom: 1rem;
  color: #8c6b54;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.product-description .js-compare__title {
  margin-bottom: 0.55rem;
  color: #27231e;
  font-family: Georgia, "Times New Roman", "Hiragino Sans GB", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.product-description .js-compare__desc {
  margin-bottom: 1rem;
  color: #5f5a51;
  font-size: 14px;
  line-height: 1.7;
}

.product-description .js-compare__points {
  display: grid;
  gap: 9px;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.product-description .js-compare__point {
  position: relative;
  margin: 0;
  padding-left: 17px;
  color: #3b362f;
  font-size: 13px;
  line-height: 1.6;
}

.product-description .js-compare__point::before {
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b543c;
  content: "";
}

.product-description .js-compare__facts {
  display: grid;
  gap: 10px;
  margin: 0 0 1.1rem;
  padding: 0;
}

.product-description .js-compare__fact {
  padding-top: 10px;
  border-top: 1px solid #ece5da;
}

.product-description .js-compare__fact dt {
  margin-bottom: 3px;
  color: #8d8578;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.product-description .js-compare__fact dd {
  margin: 0;
  color: #332f29;
  font-size: 14px;
  line-height: 1.6;
}

.product-description .js-compare__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e8e0d4;
}

.product-description .js-compare__price {
  color: #27231e;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}

.product-description .js-compare__current,
.product-description .js-compare__button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.product-description .js-compare__current {
  background: #eef1ec;
  color: #4c5f52;
}

.product-description .js-compare__button {
  border: 1px solid #4c5f52;
  background: #4c5f52;
  color: #fff;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-description .rich-text-editor-content .js-compare__button {
  color: #fff !important;
}

.product-description .js-compare__button:hover {
  border-color: #33463a;
  background: #33463a;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .product-description .js-compare {
    padding: 16px;
    border-radius: 14px;
  }

  .product-description .js-compare__lead {
    margin-bottom: 1rem;
    text-align: left;
  }

  .product-description .js-compare__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-description .js-compare__card {
    padding: 18px;
  }

  .product-description .js-compare__title {
    font-size: 19px;
  }
}

.product-description .nav-link {
  color: #51453b;
}

.product-description .nav-link.active {
  color: #7d3e25 !important;
}

.product-description .rich-text-editor-content a {
  color: #8a3f24 !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

#product-app .stock-and-sku .text-success {
  color: #2f6b46 !important;
  font-weight: 600;
}

/* Product option comparison table */
.product-description .js-compare-table-wrap {
  max-width: 1120px !important;
  margin: 1.5rem auto 0.75rem;
  overflow: hidden;
  border: 1px solid #ddd4c6;
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(56, 44, 31, 0.08);
}

.product-description .js-compare-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.product-description .js-compare-table thead,
.product-description .js-compare-table tbody {
  display: block;
  width: 100%;
}

.product-description .js-compare-table tr {
  display: grid;
  grid-template-columns: minmax(132px, 16%) minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
}

.product-description .js-compare-table th,
.product-description .js-compare-table td {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 16px 20px;
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.product-description .js-compare-table thead th {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 96px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: #f2ede4;
  border-bottom: 1px solid #ddd4c6;
}

.product-description .js-compare-table thead th + th,
.product-description .js-compare-table tbody td + td,
.product-description .js-compare-table tbody th + td {
  border-left: 1px solid #ebe4d9;
}

.product-description .js-compare-table tbody tr + tr > * {
  border-top: 1px solid #eee8de;
}

.product-description .js-compare-table__label-col {
  position: relative;
  z-index: 2;
}

.product-description .js-compare-table__option-col {
  position: relative;
}

.product-description .js-compare-table thead .js-compare-table__label-col {
  justify-content: center;
  color: #6d5e4e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-description .js-compare-table thead .js-compare-table__current-col .js-compare-table__kicker {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #738a73;
  color: #fff;
  letter-spacing: .1em;
}

.product-description .js-compare-table__kicker {
  display: block;
  margin-bottom: 7px;
  color: #9b543c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.product-description .js-compare-table__name {
  display: block;
  color: #29251f;
  font-family: Georgia, "Times New Roman", "Hiragino Sans GB", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.product-description .js-compare-table__sub {
  display: block;
  margin-top: 5px;
  color: #625a50;
  font-size: 10px;
  line-height: 1.45;
}

.product-description .js-compare-table tbody th {
  background: #faf7f1;
  color: #645b50;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-description .js-compare-table tbody tr {
  min-height: 58px;
}

.product-description .js-compare-table tbody td {
  color: #3e3932;
  font-size: 14px;
  line-height: 1.7;
}

.product-description .js-compare-table__current-col {
  background: rgba(232, 238, 231, 0.72);
  box-shadow: inset 0 3px 0 #738a73;
}

.product-description .js-compare-table__price {
  color: #28241f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.product-description .js-compare-table__action {
  padding-top: 14px;
  padding-bottom: 14px;
  background: #fffdf9;
}

.product-description .js-compare-table tbody tr:last-child > * {
  background: #fbf8f2;
}

.product-description .js-compare-table__current,
.product-description .js-compare-table__button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.product-description .js-compare-table__current {
  background: #e7ece6;
  color: #3f5748;
}

.product-description .js-compare-table__button {
  border: 1px solid #4c5f52;
  background: #4c5f52;
  color: #fff !important;
  text-decoration: none !important;
}

.product-description .rich-text-editor-content .js-compare-table__button {
  color: #fff !important;
}

.product-description .js-compare-table__button:hover {
  border-color: #33463a;
  background: #33463a;
  color: #fff !important;
}

.product-description .js-compare-table-lead {
  max-width: 720px;
  margin: 0 auto 1.15rem;
  color: #625d54;
  text-align: center;
}

@media (max-width: 767.98px) {
  .product-description .js-compare-table-wrap {
    max-width: 100% !important;
    overflow-x: auto;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .product-description .js-compare-table {
    min-width: 620px;
  }

  .product-description .js-compare-table-lead {
    margin-bottom: 1rem;
    text-align: left;
  }

  .product-description .js-compare-table tr {
    grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr);
  }

  .product-description .js-compare-table th,
  .product-description .js-compare-table td {
    padding: 12px;
  }

  .product-description .js-compare-table thead th {
    min-height: 90px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .product-description .js-compare-table__label-col,
  .product-description .js-compare-table tbody th {
    position: sticky;
    left: 0;
    z-index: 3;
    box-shadow: 1px 0 0 #e5ded2;
  }

  .product-description .js-compare-table thead .js-compare-table__label-col {
    background: #eae3d8;
  }

  .product-description .js-compare-table__name {
    font-size: 16px;
  }

  .product-description .js-compare-table__sub,
  .product-description .js-compare-table__kicker {
    font-size: 8px;
  }

  .product-description .js-compare-table tbody th,
  .product-description .js-compare-table tbody td {
    font-size: 12px;
    line-height: 1.6;
  }

  .product-description .js-compare-table__price {
    font-size: 20px;
  }

  .product-description .js-compare-table__current,
  .product-description .js-compare-table__button {
    width: 100%;
    min-height: 32px;
    padding: 6px 5px;
    border-radius: 8px;
    font-size: 10px;
  }
}
