/* 247GH product detail visual layer — V3.41.31
   Presentation-only overrides. Product forms, PHP, database queries and cart logic remain unchanged. */
.gh-product-detail {
  --gh-ink: #172b4d;
  --gh-muted: #64748b;
  --gh-line: #e6ebf1;
  --gh-soft: #f7f9fc;
  --gh-accent: #f39a16;
  color: var(--gh-ink);
  padding: 30px;
  border: 1px solid var(--gh-line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(20, 39, 66, .07);
}
.gh-product-detail .gh-product-top-row { gap: 26px; }
.gh-product-detail .gh-product-gallery-column { grid-template-columns: 70px minmax(0, 1fr); column-gap: 13px; }
.gh-product-detail .gh-product-gallery-column .bx-wrapper {
  overflow: hidden;
  border: 1px solid var(--gh-line);
  border-radius: 13px;
  background: #fff;
}
.gh-product-detail .gh-product-gallery-column ul.prod-slider li {
  height: 440px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.gh-product-detail .gh-product-gallery-column #prod-pager { gap: 9px; padding: 1px 3px 1px 1px; }
.gh-product-detail .gh-product-gallery-column #prod-pager a {
  padding: 3px;
  border: 1px solid #e4eaf1;
  border-radius: 9px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.gh-product-detail .gh-product-gallery-column #prod-pager a:hover,
.gh-product-detail .gh-product-gallery-column #prod-pager a.active {
  border-color: var(--gh-accent);
  box-shadow: 0 0 0 2px rgba(243,154,22,.13);
}
.gh-product-detail .gh-product-gallery-column .prod-pager-thumb {
  width: 58px;
  height: 64px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.gh-product-detail .gh-product-info-column { padding: 4px 0 0; }
.gh-product-detail .p-title h2 {
  color: var(--gh-ink);
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 750;
  letter-spacing: -.45px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.gh-product-detail .p-review { margin: 0 0 16px; }
.gh-product-detail .p-review .rating { color: #f4a51c; font-size: 15px; letter-spacing: 1px; }
.gh-product-detail .p-short-des {
  color: #526176;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gh-line);
}
.gh-product-detail .p-quantity { color: #34445b; font-weight: 650; line-height: 1.5; margin: 15px 0; }
.gh-product-detail .p-quantity .row { margin-left: -6px; margin-right: -6px; }
.gh-product-detail .p-quantity .row > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
.gh-product-detail .p-quantity select.form-control,
.gh-product-detail .p-quantity input[type="number"] {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 44px;
  margin-top: 7px;
  padding: 8px 12px;
  border: 1px solid #d8e0e9;
  border-radius: 9px;
  background-color: #fff;
  color: #26364d;
  box-shadow: none;
}
.gh-product-detail .p-quantity select.form-control:focus,
.gh-product-detail .p-quantity input[type="number"]:focus {
  border-color: #e9a23b;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(243,154,22,.13);
}
.gh-product-detail .p-price {
  margin: 20px 0 16px;
  padding: 15px 16px;
  border: 1px solid #f3e5cf;
  border-radius: 11px;
  background: #fffaf2;
  color: var(--gh-ink);
  line-height: 1.4;
}
.gh-product-detail .p-price > span:first-child { color: var(--gh-muted); font-weight: 600; }
.gh-product-detail .p-price > span:last-child { display: block; font-size: 27px; font-weight: 800; margin-top: 3px; }
.gh-product-detail .p-price del { color: #98a2b1; font-size: 15px; font-weight: 500; margin-right: 8px; }
.gh-product-detail .btn-cart { margin: 18px 0 0; }
.gh-product-detail .btn-cart1 input[type="submit"] {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f6a51f, #ed8908);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .15px;
  box-shadow: 0 5px 13px rgba(229, 137, 8, .2);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.gh-product-detail .btn-cart1 input[type="submit"]:hover,
.gh-product-detail .btn-cart1 input[type="submit"]:focus {
  filter: brightness(1.02);
  box-shadow: 0 7px 17px rgba(229, 137, 8, .27);
  transform: translateY(-1px);
}
.gh-product-detail .gh-product-delivery-card {
  padding: 21px 18px;
  border: 1px solid #e3eaf2;
  border-radius: 13px;
  background: linear-gradient(180deg, #fbfdff, #f6f9fc);
  box-shadow: 0 7px 20px rgba(24, 44, 72, .055);
}
.gh-product-detail .gh-product-delivery-card h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf3;
  color: var(--gh-ink);
  font-size: 18px;
  font-weight: 750;
}
.gh-product-detail .gh-product-delivery-card h3 i { color: var(--gh-accent); margin-right: 6px; }
.gh-product-detail .gh-product-delivery-card p { color: #56657a; font-size: 13px; line-height: 1.65; }
.gh-product-detail .gh-delivery-recipient { color: #26364d; font-size: 14px; }
.gh-product-detail .gh-product-delivery-card > a,
.gh-product-detail .gh-delivery-action {
  display: inline-block;
  color: #17649a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.gh-product-detail .gh-product-delivery-card > a:hover,
.gh-product-detail .gh-delivery-action:hover { color: #0d456e; text-decoration: underline; }
.gh-product-detail .gh-delivery-charge {
  padding: 13px 0;
  border-top: 1px solid #e4eaf0;
  border-bottom: 1px solid #e4eaf0;
  color: #68778a;
  font-size: 12px;
}
.gh-product-detail .gh-delivery-charge strong { color: var(--gh-ink); font-size: 17px; }
.gh-product-detail .gh-delivery-benefits { gap: 15px; }
.gh-product-detail .gh-delivery-benefits > div { grid-template-columns: 25px minmax(0,1fr); gap: 9px; }
.gh-product-detail .gh-delivery-benefits > div > i { color: #2875a8; font-size: 16px; }
.gh-product-detail .gh-delivery-benefits strong { color: #304158; font-size: 12px; }
.gh-product-detail .gh-delivery-benefits small { color: #718096; font-size: 11px; line-height: 1.5; }
.gh-product-detail > .row:not(.gh-product-top-row) { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--gh-line); }
.gh-product-detail .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 0;
  padding: 0 0 0;
  border-bottom: 1px solid #e1e8f0;
}
.gh-product-detail .nav-tabs > li { float: none; margin: 0 0 -1px; }
.gh-product-detail .nav-tabs > li > a {
  margin: 0;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 9px 9px 0 0;
  color: #68778b;
  font-size: 13px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.gh-product-detail .nav-tabs > li > a:hover { background: #f7f9fc; border-color: #edf1f5 #edf1f5 #e1e8f0; color: #243b5a; }
.gh-product-detail .nav-tabs > li.active > a,
.gh-product-detail .nav-tabs > li.active > a:hover,
.gh-product-detail .nav-tabs > li.active > a:focus {
  border: 1px solid #e1e8f0;
  border-bottom-color: #fff;
  background: #fff;
  color: #174f7a;
}
.gh-product-detail .tab-content { padding: 23px 5px 5px; color: #526176; font-size: 14px; line-height: 1.8; }
.gh-product-detail .tab-content .tab-pane { margin-top: 0 !important; }
.gh-product-detail .tab-content p { margin: 0 0 12px; }
.gh-product-detail .tab-content img { max-width: 100%; height: auto; }
.gh-product-detail + .product.bg-gray { padding: 48px 0 55px !important; background: #f7f9fc; }
.gh-product-detail + .product.bg-gray .headline { margin-bottom: 24px; }
.gh-product-detail + .product.bg-gray .headline h2 { color: #172b4d; font-size: 25px; font-weight: 800; }
.gh-product-detail + .product.bg-gray .headline h3 { color: #78869a; font-size: 13px; }
.gh-product-detail + .product.bg-gray .product-carousel .item { overflow: hidden; border: 1px solid #e7ecf2; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(20,39,66,.045); }
.gh-product-detail + .product.bg-gray .product-carousel .thumb { position: relative; padding: 12px; background: #fff; }
.gh-product-detail + .product.bg-gray .product-carousel .thumb .photo {
  min-height: 205px;
  background-color: #fff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.gh-product-detail + .product.bg-gray .product-carousel .thumb .overlay { display: none; }
.gh-product-detail + .product.bg-gray .product-carousel .text { min-height: 112px; padding: 13px 15px 15px; border-top: 1px solid #edf1f5; background: #fff; }
.gh-product-detail + .product.bg-gray .product-carousel .text h3 { min-height: 38px; margin: 0 0 8px; font-size: 14px; line-height: 1.4; }
.gh-product-detail + .product.bg-gray .product-carousel .text h3 a { color: #243b5a; font-weight: 700; }
.gh-product-detail + .product.bg-gray .product-carousel .text h4 { color: #172b4d; font-size: 15px; font-weight: 800; }
.gh-product-detail + .product.bg-gray .product-carousel .text h4 del { margin-left: 5px; color: #98a2b1; font-size: 12px; font-weight: 500; }

@media (max-width: 1199px) {
  .gh-product-detail { padding: 24px; }
  .gh-product-detail > .gh-product-top-row { grid-template-columns: minmax(270px,1fr) minmax(270px,1fr); gap: 24px; }
  .gh-product-detail .gh-product-delivery-column { grid-column: 1 / -1; }
  .gh-product-detail .gh-product-delivery-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 22px; }
  .gh-product-detail .gh-product-delivery-card h3 { grid-column: 1 / -1; }
  .gh-product-detail .gh-delivery-benefits { grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 4px; }
}
@media (max-width: 767px) {
  .gh-product-detail { padding: 17px 13px 22px; border-radius: 12px; }
  .gh-product-detail > .gh-product-top-row { display: flex; flex-direction: column; gap: 23px; }
  .gh-product-detail .gh-product-gallery-column { display: grid; width: 100%; grid-template-columns: 55px minmax(0,1fr); grid-template-rows: minmax(250px,auto); column-gap: 9px; }
  .gh-product-detail .gh-product-gallery-column ul.prod-slider li { height: min(78vw, 350px); min-height: 250px; }
  .gh-product-detail .gh-product-gallery-column #prod-pager { max-height: min(78vw,350px); gap: 7px; }
  .gh-product-detail .gh-product-gallery-column .prod-pager-thumb { width: 45px; height: 52px; }
  .gh-product-detail .gh-product-info-column,
  .gh-product-detail .gh-product-delivery-column { width: 100%; }
  .gh-product-detail .p-title h2 { font-size: 23px; }
  .gh-product-detail .p-price > span:last-child { font-size: 25px; }
  .gh-product-detail .gh-product-delivery-card { display: block; padding: 18px 15px; }
  .gh-product-detail .gh-delivery-benefits { display: grid; grid-template-columns: 1fr; margin-top: 16px; }
  .gh-product-detail > .row:not(.gh-product-top-row) { margin-top: 27px; padding-top: 20px; }
  .gh-product-detail .nav-tabs { gap: 3px; }
  .gh-product-detail .nav-tabs > li > a { padding: 10px 11px; font-size: 12px; }
  .gh-product-detail .tab-content { padding: 18px 2px 3px; font-size: 13px; }
  .gh-product-detail + .product.bg-gray { padding: 35px 0 40px !important; }
  .gh-product-detail + .product.bg-gray .headline h2 { font-size: 22px; }
  .gh-product-detail + .product.bg-gray .product-carousel .thumb .photo { min-height: 175px; }
}
@media (max-width: 380px) {
  .gh-product-detail .gh-product-gallery-column { grid-template-columns: 48px minmax(0,1fr); }
  .gh-product-detail .gh-product-gallery-column .prod-pager-thumb { width: 39px; height: 46px; }
  .gh-product-detail .nav-tabs > li > a { padding: 9px 8px; font-size: 11px; }
}

/* V3.41.32 — final product-detail layout and responsive polish.
   Scoped to product.php markup; does not alter cart, checkout, admin or homepage logic. */
.page:has(.gh-product-detail) > .container {
  width: min(96%, 1480px) !important;
  max-width: 1480px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.page:has(.gh-product-detail) .breadcrumb { margin-bottom: 22px !important; }
.gh-product-detail {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(22px, 2.2vw, 36px);
  background: #fff;
}
.gh-product-detail,
.gh-product-detail * { box-sizing: border-box; }
.gh-product-detail > .gh-product-top-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(245px, .72fr);
  align-items: start;
  gap: clamp(20px, 2.2vw, 34px);
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.gh-product-detail > .gh-product-top-row > [class*="col-"] {
  float: none !important;
  width: auto !important;
  min-width: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.gh-product-detail .gh-product-gallery-column {
  min-width: 0;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
}
.gh-product-detail .gh-product-gallery-column ul.prod-slider li {
  height: clamp(340px, 34vw, 490px);
  min-height: 0;
  border-radius: 12px;
  background-color: #fff;
}
.gh-product-detail .gh-product-info-column { min-width: 0; }
.gh-product-detail .gh-product-delivery-card { position: sticky; top: 18px; }
.gh-product-detail .p-title h2 { font-size: clamp(25px, 2.05vw, 34px); line-height: 1.2; overflow-wrap: anywhere; }
.gh-product-detail .p-short-des { font-size: 14px; }
.gh-product-detail .p-quantity select.form-control,
.gh-product-detail .p-quantity input[type="number"] { max-width: 100%; min-height: 44px; }
.gh-product-detail .btn-cart1 input[type="submit"] { min-height: 52px; }
.gh-product-detail > .row:not(.gh-product-top-row) { margin-left: 0 !important; margin-right: 0 !important; }
.gh-product-detail .nav-tabs { overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; scrollbar-width: thin; }
.gh-product-detail .nav-tabs > li { flex: 0 0 auto; }
.gh-product-detail .nav-tabs > li > a { white-space: nowrap; }
.gh-product-detail + .product.bg-gray > .container {
  width: min(96%, 1480px) !important;
  max-width: 1480px !important;
}
.gh-product-detail + .product.bg-gray .product-carousel .item { min-width: 0; }

@media (max-width: 1199px) {
  .page:has(.gh-product-detail) > .container,
  .gh-product-detail + .product.bg-gray > .container { width: min(96%, 1100px) !important; max-width: 1100px !important; }
  .gh-product-detail > .gh-product-top-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
  }
  .gh-product-detail .gh-product-delivery-column { grid-column: 1 / -1; }
  .gh-product-detail .gh-product-delivery-card { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 22px; }
  .gh-product-detail .gh-product-delivery-card h3,
  .gh-product-detail .gh-delivery-benefits { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .page { padding-top: 20px !important; padding-bottom: 28px !important; }
  .page:has(.gh-product-detail) > .container,
  .gh-product-detail + .product.bg-gray > .container { width: 100% !important; max-width: none !important; padding-left: 12px !important; padding-right: 12px !important; }
  .page:has(.gh-product-detail) .breadcrumb { margin: 0 0 12px !important; padding: 10px 12px; overflow-x: auto; white-space: nowrap; border-radius: 8px; }
  .gh-product-detail { padding: 15px 13px 20px; border-radius: 13px; }
  .gh-product-detail > .gh-product-top-row { display: flex !important; flex-direction: column; gap: 20px; }
  .gh-product-detail .gh-product-gallery-column {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .gh-product-detail .gh-product-gallery-column .bx-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px;
  }
  .gh-product-detail .gh-product-gallery-column ul.prod-slider li {
    height: clamp(250px, 76vw, 390px);
    min-height: 250px;
  }
  .gh-product-detail .gh-product-gallery-column #prod-pager {
    display: flex !important;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 2px 1px 7px;
    scrollbar-width: thin;
  }
  .gh-product-detail .gh-product-gallery-column #prod-pager a { flex: 0 0 58px; }
  .gh-product-detail .gh-product-gallery-column .prod-pager-thumb { width: 52px; height: 56px; }
  .gh-product-detail .gh-product-info-column,
  .gh-product-detail .gh-product-delivery-column { width: 100%; }
  .gh-product-detail .p-title h2 { font-size: clamp(22px, 6vw, 27px); line-height: 1.23; }
  .gh-product-detail .p-short-des { margin-bottom: 15px; padding-bottom: 14px; }
  .gh-product-detail .p-quantity .row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
  .gh-product-detail .p-quantity .row > [class*="col-"] { width: 100%; padding: 0; }
  .gh-product-detail .p-quantity select.form-control,
  .gh-product-detail .p-quantity input[type="number"] { width: 100% !important; max-width: none; min-height: 46px; }
  .gh-product-detail .p-price { margin: 16px 0 14px; padding: 14px; }
  .gh-product-detail .btn-cart1 input[type="submit"] { min-height: 52px; font-size: 16px; }
  .gh-product-detail .gh-product-delivery-card { display: block; padding: 17px 15px; }
  .gh-product-detail .gh-delivery-benefits { display: grid; grid-template-columns: 1fr; gap: 13px; margin-top: 16px; }
  .gh-product-detail > .row:not(.gh-product-top-row) { margin-top: 22px; padding-top: 18px; }
  .gh-product-detail .nav-tabs { gap: 3px; margin-right: -2px; }
  .gh-product-detail .nav-tabs > li > a { padding: 10px 12px; font-size: 12px; }
  .gh-product-detail .tab-content { padding: 17px 1px 3px; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
  .gh-product-detail + .product.bg-gray { padding: 28px 0 34px !important; }
  .gh-product-detail + .product.bg-gray .headline { margin-bottom: 16px; }
  .gh-product-detail + .product.bg-gray .headline h2 { font-size: 21px; }
  .gh-product-detail + .product.bg-gray .product-carousel .thumb { padding: 9px; }
  .gh-product-detail + .product.bg-gray .product-carousel .thumb .photo { min-height: 145px; }
  .gh-product-detail + .product.bg-gray .product-carousel .text { min-height: 105px; padding: 11px; }
}
@media (max-width: 380px) {
  .gh-product-detail { padding-left: 10px; padding-right: 10px; }
  .gh-product-detail .gh-product-gallery-column ul.prod-slider li { min-height: 225px; }
  .gh-product-detail .gh-product-gallery-column #prod-pager a { flex-basis: 50px; }
  .gh-product-detail .gh-product-gallery-column .prod-pager-thumb { width: 44px; height: 48px; }
}


/* V3.42 — approved product detail refinement.
   All additions are scoped to .gh-product-detail; shared header/footer are not affected. */
.gh-product-detail .gh-product-rating-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -5px 0 15px;
  color: #53647a;
  font-size: 13px;
}
.gh-product-detail .gh-product-rating-stars {
  display: inline-flex;
  gap: 2px;
  color: #f2aa16;
  font-size: 16px;
  letter-spacing: .5px;
}
.gh-product-detail .gh-no-reviews { color: #718096; font-size: 12px; letter-spacing: 0; }
.gh-product-detail .gh-review-summary-link {
  color: #17649a;
  font-weight: 650;
  text-decoration: none;
}
.gh-product-detail .gh-review-summary-link:hover { text-decoration: underline; }
.gh-product-detail .gh-stock-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 13px;
}
.gh-product-detail .gh-stock-status.is-in-stock { color: #16803c; }
.gh-product-detail .gh-stock-status.is-out-of-stock { color: #b42318; }
.gh-product-detail .gh-stock-status i { font-size: 16px; }
.gh-product-detail .gh-stock-status span { color: #64748b; }
.gh-product-detail .btn-cart1 input[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: .58;
  filter: grayscale(.25);
  transform: none;
  box-shadow: none;
}
.gh-product-detail .gh-product-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 13px;
  color: #526176;
  font-size: 12px;
}
.gh-product-detail .gh-product-share-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid #dce4ed;
  border-radius: 8px;
  background: #fff;
  color: #263b57;
  font-weight: 700;
  cursor: pointer;
}
.gh-product-detail .gh-product-share-button:hover,
.gh-product-detail .gh-product-share-button:focus {
  border-color: #9fb3c9;
  background: #f7f9fc;
}
.gh-product-detail .gh-product-share-feedback { color: #16803c; font-size: 11px; }
.gh-product-detail #review .review-form h2 {
  margin: 20px 0 13px;
  color: #172b4d;
  font-size: 19px;
  font-weight: 750;
}
.gh-product-detail #review .table {
  margin-bottom: 18px;
  background: #fff;
}
.gh-product-detail #review .table th { color: #34445b; }
.gh-product-detail .tab-content .tab-pane { scroll-margin-top: 20px; }

@media (max-width: 767px) {
  .gh-product-detail .gh-product-rating-summary { margin-top: -8px; }
  .gh-product-detail .gh-product-share { margin-top: 10px; }
}


/* V3.43 — second refinement based on the live-page review.
   Scoped to the product detail component only. */
.gh-product-detail .gh-product-rating-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 12px;
  color: #526176;
  font-size: 13px;
}
.gh-product-detail .gh-product-rating-stars {
  display: inline-flex;
  gap: 2px;
  color: #f2aa16;
  font-size: 16px;
  letter-spacing: .25px;
}
.gh-product-detail .gh-rating-value {
  color: #243b5a;
  font-size: 12px;
  font-weight: 700;
}
.gh-product-detail .gh-review-summary-link {
  color: #17649a;
  font-weight: 650;
  text-decoration: none;
}
.gh-product-detail .gh-review-summary-link:hover { text-decoration: underline; }
.gh-product-detail .gh-no-reviews {
  color: #718096;
  font-size: 12px;
}
.gh-product-detail .gh-product-lead {
  margin: 0 0 17px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--gh-line, #e6ebf1);
  color: #526176;
  font-size: 14px;
  line-height: 1.65;
}
.gh-product-detail .gh-quantity-block > label {
  display: block;
  margin: 0 0 7px;
  color: #34445b;
  font-weight: 700;
}
.gh-product-detail .gh-quantity-control {
  display: inline-flex;
  align-items: stretch;
  width: min(100%, 230px);
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #d5dde7;
  border-radius: 9px;
  background: #fff;
}
.gh-product-detail .gh-quantity-control .input-text.qty {
  flex: 1 1 auto;
  width: 60px;
  min-width: 0;
  max-width: none;
  height: 44px;
  margin: 0;
  padding: 7px 4px;
  border: 0;
  border-right: 1px solid #e5eaf0;
  border-left: 1px solid #e5eaf0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  text-align: center;
  -moz-appearance: textfield;
}
.gh-product-detail .gh-quantity-control .input-text.qty::-webkit-inner-spin-button,
.gh-product-detail .gh-quantity-control .input-text.qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.gh-product-detail .gh-quantity-step {
  flex: 0 0 43px;
  min-width: 43px;
  border: 0;
  background: #f8fafc;
  color: #26364d;
  font-size: 21px;
  font-weight: 600;
  cursor: pointer;
}
.gh-product-detail .gh-quantity-step:hover,
.gh-product-detail .gh-quantity-step:focus {
  background: #eef3f8;
  outline: 0;
}
.gh-product-detail .gh-quantity-step:disabled {
  color: #aab4c0;
  cursor: not-allowed;
}
.gh-product-detail #review .review-form {
  max-width: 920px;
}
.gh-product-detail #review .review-form > table {
  border-color: #e4eaf1;
  border-radius: 9px;
}
.gh-product-detail #review .review-form > table th {
  width: 170px;
  background: #f8fafc;
  color: #34445b;
}
.gh-product-detail #review .review-form .rating i {
  color: #f2aa16;
  font-size: 16px;
}
@media (max-width: 767px) {
  .gh-product-detail .gh-product-rating-summary { margin-bottom: 10px; }
  .gh-product-detail .gh-product-lead { font-size: 13px; }
  .gh-product-detail .gh-quantity-control { width: 100%; max-width: 260px; }
}


/* V3.44 — related products completion.
   Isolated to the product detail page; shared header/footer and cart logic are untouched. */
.gh-related-products-section {
  padding: 42px 0 52px !important;
  background: #f7f9fc !important;
}
.gh-related-products-section > .container {
  width: min(94%, 1120px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.gh-related-products-section .headline {
  margin: 0 0 20px;
}
.gh-related-products-section .headline h2 {
  margin: 0 0 5px;
  color: #172b4d;
  font-size: 23px;
  font-weight: 800;
}
.gh-related-products-section .headline h3 {
  margin: 0;
  color: #718096;
  font-size: 13px;
}
.gh-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.gh-related-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20,39,66,.045);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gh-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(20,39,66,.09);
}
.gh-related-image-link {
  display: block;
  padding: 12px;
  background: #fff;
}
.gh-related-image {
  width: 100%;
  height: 190px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.gh-related-card-content {
  min-height: 112px;
  padding: 12px 14px 14px;
  border-top: 1px solid #edf1f5;
}
.gh-related-card-content h3 {
  min-height: 38px;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
}
.gh-related-card-content h3 a {
  color: #243b5a;
  font-weight: 700;
  text-decoration: none;
}
.gh-related-card-content h3 a:hover { color: #d98200; }
.gh-related-price {
  color: #172b4d;
  font-size: 15px;
  font-weight: 800;
}
.gh-related-price del {
  margin-left: 6px;
  color: #98a2b1;
  font-size: 12px;
  font-weight: 500;
}
.gh-related-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 7px;
  color: #efa915;
  font-size: 12px;
}
.gh-related-rating span {
  margin-left: 4px;
  color: #718096;
  font-size: 11px;
}
.gh-related-rating .gh-related-no-rating { margin-left: 0; }
.gh-related-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed #d8e0e9;
  border-radius: 10px;
  background: #fff;
  color: #718096;
  text-align: center;
}
@media (max-width: 991px) {
  .gh-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gh-related-image { height: 170px; }
}
@media (max-width: 767px) {
  .gh-related-products-section { padding: 30px 0 38px !important; }
  .gh-related-products-section > .container {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }
  .gh-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .gh-related-image-link { padding: 8px; }
  .gh-related-image { height: 145px; }
  .gh-related-card-content { min-height: 104px; padding: 10px; }
  .gh-related-card-content h3 { min-height: 36px; font-size: 12px; }
  .gh-related-price { font-size: 13px; }
}

/* V3.45 — compact product breadcrumb only.
   Scoped to product.php; shared site header, footer and shopping logic are untouched. */
.page:has(.gh-product-detail) .gh-product-breadcrumb {
  display: block;
  width: 100%;
  margin: 0 0 16px !important;
  padding: 10px 16px !important;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(23, 43, 77, .045);
}
.page:has(.gh-product-detail) .gh-product-breadcrumb ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  white-space: nowrap;
}
.page:has(.gh-product-detail) .gh-product-breadcrumb ul > li {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  float: none;
  margin: 0 !important;
  padding: 0 !important;
  color: #172b4d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.page:has(.gh-product-detail) .gh-product-breadcrumb ul > li:nth-child(even) {
  color: #9aa6b5;
  font-size: 12px;
  font-weight: 400;
}
.page:has(.gh-product-detail) .gh-product-breadcrumb ul > li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  transition: color .15s ease;
}
.page:has(.gh-product-detail) .gh-product-breadcrumb ul > li a:hover,
.page:has(.gh-product-detail) .gh-product-breadcrumb ul > li a:focus {
  color: #d98200;
}
.page:has(.gh-product-detail) .gh-product-breadcrumb .gh-breadcrumb-home-icon {
  color: #ed9918;
  font-size: 15px;
}
.page:has(.gh-product-detail) .gh-product-breadcrumb ul > li:last-child {
  min-width: 0;
  overflow: hidden;
  color: #172b4d;
  font-weight: 750;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .page:has(.gh-product-detail) .gh-product-breadcrumb {
    margin: 0 0 12px !important;
    padding: 9px 11px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .page:has(.gh-product-detail) .gh-product-breadcrumb::-webkit-scrollbar { display: none; }
  .page:has(.gh-product-detail) .gh-product-breadcrumb ul { gap: 8px; width: max-content; min-width: 100%; }
  .page:has(.gh-product-detail) .gh-product-breadcrumb ul > li { font-size: 12px; }
  .page:has(.gh-product-detail) .gh-product-breadcrumb ul > li:last-child {
    max-width: min(65vw, 280px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

