/*
 * Cello Product Polish Pack v1.0
 * Subtle visual consistency only — no layout, option, cart or checkout logic changes.
 */

.product-detail,
.box-image-real,
.widthWrapperDescripton {
  --cello-product-accent: #ff6600;
  --cello-product-success: #159956;
  --cello-product-text: #2b2b2b;
  --cello-product-muted: #737373;
  --cello-product-border: #e7e7e7;
  --cello-product-soft: #f7f8f9;
  --cello-product-radius: 12px;
  --cello-product-radius-sm: 8px;
  --cello-product-shadow: 0 7px 22px rgba(25, 35, 45, .055);
}

/* Shared rhythm and typography */
.product-detail .boxProduct,
.product-detail .cello-product-info-card,
.product-detail .cello-trust-panel,
.product-detail .cello-price-match,
.box-image-real ._border,
.widthWrapperDescripton .product-description,
.widthWrapperDescripton .video,
.widthWrapperDescripton .box-faq-product,
.widthWrapperDescripton .box-atribute {
  border-color: var(--cello-product-border);
  border-radius: var(--cello-product-radius);
  box-shadow: var(--cello-product-shadow);
}

.product-detail ._titleh1 {
  margin: 0 0 9px;
  color: var(--cello-product-text);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 700;
  letter-spacing: -.25px;
  line-height: 1.28;
}

.product-detail .box-sku-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  margin-bottom: 2px;
}

.product-detail ._sku {
  color: var(--cello-product-muted);
  font-size: 12px;
  line-height: 1.4;
}

.product-detail ._sku .value_sku {
  color: #4a4a4a;
  font-weight: 600;
}

.product-detail ._brand img {
  width: auto;
  max-width: 105px;
  max-height: 30px;
  object-fit: contain;
}

/* Main gallery: polish without changing its behavior */
.product-detail .cello-gallery__stage {
  overflow: hidden;
  border: 1px solid var(--cello-product-border);
  border-radius: var(--cello-product-radius);
  background: #fafafa;
}

.product-detail .cello-gallery__main .slider-item {
  padding: 12px;
  background: #fafafa;
}

.product-detail .cello-gallery__main img {
  mix-blend-mode: multiply;
}

.product-detail .cello-gallery__thumbs {
  margin-top: 10px;
}

.product-detail .cello-gallery__thumbs .slider-item {
  margin: 0 4px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: var(--cello-product-radius-sm);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-detail .cello-gallery__thumbs .slick-current .slider-item,
.product-detail .cello-gallery__thumbs .slider-item.slick-current {
  border-color: var(--cello-product-accent);
  box-shadow: 0 0 0 1px var(--cello-product-accent);
}

.product-detail .cello-gallery__fullscreen,
.product-detail .cello-gallery__counter {
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* Buy box hierarchy */
.product-detail .product-buy-box {
  padding: 18px;
  border: 1px solid var(--cello-product-border);
  background: #fff;
}

.product-detail .product-buy-box__eyebrow {
  margin-bottom: 8px;
  color: var(--cello-product-success);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.product-detail .price-product {
  margin: 2px 0 11px;
}

.product-detail .price-product .price-new {
  color: var(--cello-product-accent);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 750;
  letter-spacing: -.5px;
}

.product-detail .extra-price,
.product-detail .save-price {
  margin-top: 4px;
  color: var(--cello-product-muted);
  font-size: 12px;
}

.product-detail .product-buy-box__status {
  display: inline-flex;
  width: auto;
  margin: 1px 0 13px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.product-detail .product-buy-box__status.is-in-stock {
  border: 1px solid #ccebd9;
  background: #f1fbf5;
  color: #127947;
}

.product-detail .product-buy-box__status.is-out-of-stock {
  border: 1px solid #f1cccc;
  background: #fff5f5;
  color: #b3261e;
}

/* Product options — same markup, more consistent dimensions */
.product-detail .option-value {
  margin-top: 12px;
}

.product-detail .option-value .block-row .col1 {
  margin-bottom: 8px;
  color: var(--cello-product-text);
  font-size: 13px;
  font-weight: 700;
}

.product-detail .radio-list {
  margin-right: -5px;
  margin-left: -5px;
}

.product-detail .radio-list > li {
  padding-right: 5px;
  padding-left: 5px;
  margin-bottom: 10px;
}

.product-detail .radio-list .radio {
  height: 100%;
  min-height: 66px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cello-product-border);
  border-radius: var(--cello-product-radius-sm);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.product-detail .radio-list .radio:hover {
  border-color: #d2d2d2;
}

.product-detail .radio-list .radio.choose-radio.active,
.product-detail .radio-list .radio.choose-radio.checked,
.product-detail .radio-list .radio.choose-radio:has(input:checked) {
  border-color: var(--cello-product-accent);
  background: #fff8f2;
  box-shadow: 0 0 0 1px rgba(255,102,0,.2);
}

.product-detail .radio-list .radio.disabled {
  background: #f7f7f7;
  opacity: .58;
}

.product-detail .radio-list label.flex {
  min-height: 64px;
  padding: 8px;
  align-items: center;
}

.product-detail .radio-list .img-thumbnail {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 0;
  border-radius: 6px;
  background: #fff;
}

.product-detail .radio-list .option-item {
  min-width: 0;
}

.product-detail .radio-list .option-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: #333;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-detail .radio-list .option-item span {
  display: block;
  margin-top: 3px;
  color: var(--cello-product-accent);
  font-size: 12px;
  font-weight: 700;
}

/* Main CTA */
.product-detail .action_buy {
  margin: 12px 0 11px;
}

.product-detail .action_buy .big-button {
  min-height: 52px;
  border-radius: 9px;
  box-shadow: 0 5px 13px rgba(21,153,86,.18);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .2px;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.product-detail .action_buy .big-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 17px rgba(21,153,86,.23);
  filter: brightness(.98);
}

/* Other versions */
.product-detail .product-extend {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eeeeee;
}

.product-detail .product-extend ._htitle {
  margin-bottom: 9px;
  color: var(--cello-product-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.product-detail .product-extend ._block {
  gap: 8px;
}

.product-detail .product-extend ._item a {
  min-height: 58px;
  padding: 9px 10px;
  border-color: var(--cello-product-border);
  border-radius: var(--cello-product-radius-sm);
  background: #fafafa;
  transition: border-color .18s ease, background-color .18s ease;
}

.product-detail .product-extend ._item a:hover {
  border-color: #d6d6d6;
  background: #fff;
}

.product-detail .product-extend .name {
  color: #444;
  font-size: 12px;
  line-height: 1.35;
}

.product-detail .product-extend .price .new {
  margin-top: 4px;
  color: var(--cello-product-accent);
  font-weight: 700;
}

/* Price commitment */
.product-detail .cello-price-match {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #dcebe3;
  background: #f8fcfa;
}

.product-detail .cello-price-match .ttl {
  margin: 0 0 5px;
  color: #197346;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.product-detail .cello-price-match .txt {
  color: #5f6963;
  font-size: 12px;
  line-height: 1.5;
}

.product-detail .cello-price-match .btn {
  margin-top: 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}

/* Sidebar cards: preserve layout, unify visual treatment */
.product-detail .cello-product-sidebar {
  gap: 14px;
}

.product-detail .cello-product-info-card,
.product-detail .cello-trust-panel {
  border: 1px solid var(--cello-product-border);
  background: #fff;
}

.product-detail .cello-product-info-card__header {
  padding: 13px 14px 11px;
  border-bottom-color: #eeeeee;
}

.product-detail .cello-product-info-card__header h3 {
  color: var(--cello-product-text);
  font-size: 13px !important;
  font-weight: 720;
  letter-spacing: 0;
}

.product-detail .cello-product-info-card__icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 9px;
  background: #fff4eb;
  box-shadow: none;
  color: var(--cello-product-accent);
}

.product-detail .cello-product-info-card__body {
  padding: 12px 14px 14px;
}

.product-detail .cello-package-list li {
  padding: 5px 0;
}

.product-detail .cello-package-list li .fa {
  color: var(--cello-product-success);
}

.product-detail .cello-hotline-card {
  border-radius: 10px;
}

.product-detail .cello-contact-pill {
  border-color: var(--cello-product-border);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

.product-detail .cello-contact-pill:hover,
.product-detail .cello-contact-pill:focus {
  border-color: #d2d2d2;
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(31,41,55,.06);
}

.product-detail .cello-trust-panel__benefits li {
  line-height: 1.45;
}

/* Section headings and real product images */
.box-image-real {
  margin-top: 24px;
  margin-bottom: 24px;
}

.blockTitle,
.widthWrapperDescripton .blockTitle {
  margin-bottom: 12px;
  color: var(--cello-product-text);
  font-size: 19px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: -.1px;
}

.box-image-real ._border {
  overflow: hidden;
  border: 1px solid var(--cello-product-border);
  background: #fff;
}

.box-image-real .cello-gallery-count {
  display: inline-flex;
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f0f1f2;
  color: #737373;
  font-size: 10px;
  font-weight: 650;
  vertical-align: middle;
}

/* Mobile tabs */
.product-detail + .nav-tabs,
.product-detail ~ .nav-tabs,
.container > .nav-tabs {
  border-bottom-color: var(--cello-product-border);
}

.nav-tabs > li > a {
  border-radius: 8px 8px 0 0;
  color: #656565;
  font-weight: 650;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border-color: var(--cello-product-border) var(--cello-product-border) #fff;
  color: var(--cello-product-accent);
}

/* Description content */
.widthWrapperDescripton .product-description {
  padding: 18px;
  border: 1px solid var(--cello-product-border);
  background: #fff;
}

.product-description .content {
  color: #383838;
  font-size: 16px;
  line-height: 1.7;
}

.product-description .content h2,
.product-description .content h3,
.product-description .content h4 {
  color: var(--cello-product-text);
  font-weight: 700;
  line-height: 1.35;
}

.product-description .content h2 {
  margin: 28px 0 11px;
  font-size: 23px;
}

.product-description .content h3 {
  margin: 22px 0 9px;
  font-size: 19px;
}

.product-description .content p,
.product-description .content ul,
.product-description .content ol {
  margin-bottom: 14px;
}

.product-description .content img,
.product-description .content iframe,
.product-description .content video {
  max-width: 100%;
  border-radius: 9px;
}

.product-description .content table {
  width: 100% !important;
  border-collapse: collapse;
}

/* Specification table */
.specification .table {
  margin-bottom: 0;
  border: 1px solid var(--cello-product-border);
  border-radius: var(--cello-product-radius);
  overflow: hidden;
  background: #fff;
}

.specification .table > tbody > tr > td {
  padding: 11px 13px;
  border-color: #ececec;
  color: #444;
  font-size: 13px;
  line-height: 1.45;
  vertical-align: top;
}

.specification .table > tbody > tr > td:first-child {
  width: 38%;
  background: #f7f8f9;
  color: #555;
  font-weight: 650;
}

/* FAQ */
.widthWrapperDescripton .box-faq-product {
  overflow: hidden;
  border: 1px solid var(--cello-product-border);
  background: #fff;
}

.box-faq-product .panel-group {
  margin-bottom: 0;
}

.box-faq-product .panel {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  box-shadow: none;
}

.box-faq-product .panel:last-child {
  border-bottom: 0;
}

.box-faq-product .panel-heading {
  padding: 14px 16px;
  background: #fff;
}

.box-faq-product .panel-title a {
  color: #333;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.box-faq-product .panel-body {
  padding: 0 16px 16px;
  border-top: 0 !important;
  color: #555;
  line-height: 1.65;
}

.box-faq-product .panel-body h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.box-faq-product .more-less {
  color: var(--cello-product-accent);
}

/* Video cards */
.widthWrapperDescripton .video {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--cello-product-border);
  background: #fff;
}

.video .item {
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 5px 16px rgba(0,0,0,.08);
}

.video .video-btn {
  position: relative;
  display: block;
}

.video .video-btn img {
  width: 100%;
  transition: transform .25s ease, opacity .25s ease;
}

.video .video-btn:hover img {
  transform: scale(1.025);
  opacity: .9;
}

.video .video-btn > span {
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

@media (max-width: 991px) {
  .product-detail .product-buy-box {
    padding: 15px;
  }

  .product-detail .cello-product-sidebar {
    margin-top: 14px;
  }
}

@media (max-width: 767px) {
  .product-detail ._titleh1 {
    margin-top: 5px;
    font-size: 22px;
  }

  .product-detail .box-sku-brand {
    margin-bottom: 7px;
  }

  .product-detail .cello-gallery__main .slider-item {
    padding: 7px;
  }

  .product-detail .product-buy-box {
    padding: 13px;
    border-radius: 10px;
  }

  .product-detail .price-product .price-new {
    font-size: 28px;
  }

  .product-detail .radio-list .radio,
  .product-detail .radio-list label.flex {
    min-height: 62px;
  }

  .product-detail .action_buy .big-button {
    min-height: 50px;
  }

  .box-image-real {
    margin-top: 16px;
    margin-bottom: 18px;
  }

  .blockTitle,
  .widthWrapperDescripton .blockTitle {
    margin-bottom: 9px;
    font-size: 18px;
  }

  .nav-tabs {
    display: flex;
    gap: 5px;
    padding: 5px;
    overflow-x: auto;
    border: 1px solid var(--cello-product-border);
    border-radius: 10px;
    background: #f7f8f9;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tabs > li {
    float: none;
    flex: 1 0 auto;
    margin: 0;
  }

  .nav-tabs > li > a {
    margin: 0;
    padding: 9px 14px;
    border: 0 !important;
    border-radius: 7px;
    text-align: center;
  }

  .nav-tabs > li.active > a,
  .nav-tabs > li.active > a:hover,
  .nav-tabs > li.active > a:focus {
    background: #fff;
    box-shadow: 0 3px 10px rgba(31,41,55,.07);
  }

  .tab-content {
    padding-top: 12px;
  }

  .tab-content .product-description,
  .widthWrapperDescripton .product-description,
  .widthWrapperDescripton .video {
    padding: 14px;
    border-radius: 10px;
  }

  .product-description .content {
    font-size: 15px;
    line-height: 1.68;
  }

  .product-description .content h2 {
    margin-top: 23px;
    font-size: 20px;
  }

  .product-description .content h3 {
    margin-top: 19px;
    font-size: 18px;
  }

  .specification .table,
  .specification .table tbody,
  .specification .table tr,
  .specification .table td {
    display: block;
    width: 100% !important;
  }

  .specification .table > tbody > tr {
    border-bottom: 1px solid #ececec;
  }

  .specification .table > tbody > tr:last-child {
    border-bottom: 0;
  }

  .specification .table > tbody > tr > td {
    border: 0;
    padding: 9px 12px;
  }

  .specification .table > tbody > tr > td:first-child {
    padding-bottom: 4px;
    background: #f7f8f9;
  }

  .specification .table > tbody > tr > td:last-child {
    padding-top: 6px;
  }

  .box-faq-product .panel-heading {
    padding: 13px 14px;
  }

  .box-faq-product .panel-title a,
  .box-faq-product .panel-body h4 {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-detail *,
  .box-image-real *,
  .widthWrapperDescripton * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Product Polish v1.1 — focused fixes */
.product-detail .product-heading {
  margin: 0 0 15px;
  padding: 0 4px 15px;
  border: 0 !important;
  border-bottom: 1px solid var(--cello-product-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-detail .product-heading ._titleh1 {
  margin-bottom: 13px;
}

.product-detail .product-heading .box-sku-brand {
  min-height: 32px;
  margin: 0;
}

.product-detail .product-heading ._sku {
  font-size: 13px;
}

.product-detail .product-heading ._brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 70px;
  min-height: 28px;
}

.product-detail .product-heading ._brand img {
  max-width: 84px;
  max-height: 28px;
}

/* Remove inherited gaps/vertical fragments in the same-series cards. */
.product-detail .product-extend {
  overflow: visible;
}

.product-detail .product-extend ._block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
}

.product-detail .product-extend ._item {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: var(--cello-product-radius-sm);
  background: transparent;
  box-shadow: none !important;
}

.product-detail .product-extend ._item a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  box-sizing: border-box;
  border: 1px solid var(--cello-product-border);
  background: #fff;
}

.product-detail .product-extend ._item a::before,
.product-detail .product-extend ._item a::after,
.product-detail .product-extend ._item::before,
.product-detail .product-extend ._item::after {
  display: none !important;
  content: none !important;
}

/* Price report modal */
.cello-price-report-modal {
  width: min(680px, calc(100% - 30px));
  margin: 30px auto;
}

.cello-price-report-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .25);
}

.cello-price-report-modal .modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid #ececec;
}

.cello-price-report-modal .modal-title {
  color: #2b2b2b;
  font-size: 18px;
  font-weight: 700;
}

.cello-price-report-modal .close {
  margin-top: -2px;
  font-size: 25px;
  font-weight: 400;
}

.cello-price-report-modal .modal-body {
  padding: 22px;
}

.cello-price-report-intro {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #d5ecdf;
  border-radius: 9px;
  background: #f4fbf7;
  color: #397453;
  line-height: 1.55;
}

.cello-price-report-intro strong {
  display: block;
  margin-bottom: 3px;
  color: #267047;
  font-size: 15px;
}

.cello-price-report-intro p {
  margin: 0;
}

.cello-price-report-modal .cello-price-report-row {
  margin-right: -7px;
  margin-left: -7px;
}

.cello-price-report-modal .cello-price-report-row > [class*="col-"] {
  padding-right: 7px;
  padding-left: 7px;
}

.cello-price-report-modal .form-group {
  margin-bottom: 16px;
}

.cello-price-report-modal label {
  margin-bottom: 7px;
  color: #333;
  font-size: 13px;
  font-weight: 650;
}

.cello-price-report-modal .form-control,
.cello-price-report-modal .input-group-addon {
  height: 44px;
  border-color: #dedede;
  border-radius: 7px;
  box-shadow: none;
}

.cello-price-report-modal .form-control:focus {
  border-color: #ff8c4a;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, .1);
}

.cello-price-report-modal .input-group .form-control {
  border-radius: 7px 0 0 7px;
}

.cello-price-report-modal .input-group-addon {
  min-width: 58px;
  border-radius: 0 7px 7px 0;
  background: #f5f5f5;
  color: #666;
}

.cello-price-report-modal .cello-field-error {
  margin-top: 5px;
  font-size: 12px;
}

.cello-price-report-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 15px 22px;
  border-top: 1px solid #ececec;
  background: #fafafa;
}

.cello-price-report-modal .modal-footer .btn {
  min-width: 112px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 7px;
  font-weight: 700;
}

.cello-price-report-modal #sendNotification {
  border-color: #d71920;
  background: #d71920;
}

.cello-price-report-modal #sendNotification:hover,
.cello-price-report-modal #sendNotification:focus {
  border-color: #bd131a;
  background: #bd131a;
}

@media (max-width: 767px) {
  .product-detail .product-heading {
    margin-bottom: 12px;
    padding-right: 0;
    padding-bottom: 12px;
    padding-left: 0;
  }

  .product-detail .product-heading .box-sku-brand {
    gap: 10px;
  }

  .product-detail .product-extend ._block {
    grid-template-columns: minmax(0, 1fr);
  }

  .cello-price-report-modal {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .cello-price-report-modal .modal-header,
  .cello-price-report-modal .modal-body,
  .cello-price-report-modal .modal-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cello-price-report-modal .modal-footer {
    flex-direction: column-reverse;
  }

  .cello-price-report-modal .modal-footer .btn {
    width: 100%;
  }
}


/* Product Polish v1.2 — title cleanup and same-series hover restoration */
/* Keep the product heading open and quiet: no nested card borders or divider lines. */
.product-detail .product-heading,
.product-detail .boxProduct.product-heading {
  margin: 0 0 18px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-detail .product-heading::before,
.product-detail .product-heading::after,
.product-detail .boxProduct.product-heading::before,
.product-detail .boxProduct.product-heading::after {
  display: none !important;
  content: none !important;
}

.product-detail .product-heading ._titleh1 {
  margin: 0 0 12px !important;
}

.product-detail .product-heading .box-sku-brand {
  min-height: 42px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-detail .product-heading ._sku {
  padding-top: 2px;
  font-size: 13px;
}

.product-detail .product-heading ._brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 105px;
  min-height: 40px;
}

.product-detail .product-heading ._brand a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 40px;
}

.product-detail .product-heading ._brand img {
  width: auto !important;
  max-width: 130px !important;
  max-height: 40px !important;
  object-fit: contain;
}

/* Same-series cards: one border only, orange hover retained. */
.product-detail .product-extend ._item,
.product-detail .product-extend ._item:hover {
  border: 0 !important;
  box-shadow: none !important;
}

.product-detail .product-extend ._item a {
  border: 1px solid var(--cello-product-border) !important;
  border-radius: var(--cello-product-radius-sm);
  background: #fff;
  box-shadow: 0 2px 7px rgba(25, 35, 45, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-detail .product-extend ._item a:hover,
.product-detail .product-extend ._item a:focus {
  border-color: var(--cello-product-accent) !important;
  box-shadow: 0 0 0 1px rgba(255, 102, 0, .14), 0 5px 14px rgba(25, 35, 45, .06);
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 767px) {
  .product-detail .product-heading,
  .product-detail .boxProduct.product-heading {
    margin-bottom: 14px !important;
  }

  .product-detail .product-heading .box-sku-brand {
    min-height: 36px;
  }

  .product-detail .product-heading ._brand,
  .product-detail .product-heading ._brand a {
    min-width: 86px;
    min-height: 34px;
  }

  .product-detail .product-heading ._brand img {
    max-width: 108px !important;
    max-height: 34px !important;
  }
}

/* Product Polish v1.3 — heading divider, same-series hover, price-report form refinement */
/* Product title stays open; a single subtle divider belongs only to the SKU/brand row. */
.product-detail .product-heading,
.product-detail .boxProduct.product-heading {
  margin-bottom: 20px !important;
  border: 0 !important;
  box-shadow: none !important;
}

.product-detail .product-heading .box-sku-brand {
  min-height: 50px;
  margin: 0 !important;
  padding: 0 0 13px !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-detail .product-heading ._sku {
  align-self: center;
  padding-top: 0;
  line-height: 1.4;
}

.product-detail .product-heading ._brand,
.product-detail .product-heading ._brand a {
  min-width: 125px;
  min-height: 48px;
}

.product-detail .product-heading ._brand img {
  max-width: 155px !important;
  max-height: 48px !important;
}

/* Keep the orange hover without moving the card outside its clipping context. */
.product-detail .product-extend ._block {
  padding-top: 1px;
}

.product-detail .product-extend ._item a:hover,
.product-detail .product-extend ._item a:focus {
  border-color: var(--cello-product-accent) !important;
  box-shadow: 0 0 0 1px rgba(255, 102, 0, .13), 0 5px 14px rgba(25, 35, 45, .06);
  transform: none !important;
}

/* Price report modal: compact grid with consistent rhythm. */
.cello-price-report-modal {
  width: 640px;
  max-width: calc(100% - 30px);
}

.cello-price-report-modal .modal-header {
  padding: 18px 22px;
}

.cello-price-report-modal .modal-body {
  padding: 20px 22px 22px;
}

.cello-price-report-modal .cello-price-report-intro {
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background: #f5fbf7;
}

.cello-price-report-modal .cello-price-report-intro strong {
  display: block;
  margin-bottom: 4px;
  color: #218647;
  font-size: 15px;
}

.cello-price-report-modal .cello-price-report-intro p {
  margin: 0;
  color: #4f6757;
  line-height: 1.5;
}

.cello-price-report-modal .cello-price-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
}

.cello-price-report-modal .form-group {
  min-width: 0;
  margin: 0;
}

.cello-price-report-modal label {
  display: block;
  margin-bottom: 7px;
  line-height: 1.35;
}

.cello-price-report-modal .form-control,
.cello-price-report-modal .input-group-addon {
  height: 44px;
}

.cello-price-report-modal .modal-footer {
  padding: 14px 22px 16px;
}

@media (max-width: 767px) {
  .product-detail .product-heading,
  .product-detail .boxProduct.product-heading {
    margin-bottom: 16px !important;
  }

  .product-detail .product-heading .box-sku-brand {
    min-height: 43px;
    padding-bottom: 10px !important;
  }

  .product-detail .product-heading ._brand,
  .product-detail .product-heading ._brand a {
    min-width: 100px;
    min-height: 40px;
  }

  .product-detail .product-heading ._brand img {
    max-width: 125px !important;
    max-height: 40px !important;
  }

  .cello-price-report-modal .cello-price-report-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .cello-price-report-modal .modal-header {
    padding: 16px;
  }

  .cello-price-report-modal .modal-body {
    padding: 16px;
  }

  .cello-price-report-modal .cello-price-report-intro {
    margin-bottom: 15px;
    padding: 12px 13px;
  }
}
