
.product-page { padding-bottom: 40px; }
.product-hero { background:#fff; border:1px solid #e7ebf0; border-radius:22px; box-shadow:0 18px 40px rgba(16,24,40,.08); overflow:hidden; margin-bottom:30px; }
.product-hero__media { background:linear-gradient(180deg,#ffffff 0%,#eef3f7 100%); padding:28px; border-right:1px solid #e7ebf0; }
.product-hero__main-image-wrap { position:relative; border-radius:18px; background:#fff; border:1px solid #dfe6ee; min-height:460px; display:flex; align-items:center; justify-content:center; padding:20px; }
.product-hero__main-image { max-width:100%; max-height:420px; width:auto; height:auto; display:block; }
.product-hero__zoom { position:absolute; right:14px; bottom:14px; display:inline-flex; align-items:center; gap:6px; background:rgba(17,24,39,.84); color:#fff; padding:8px 12px; border-radius:999px; font-size:12px; text-decoration:none; border:0; }
.product-hero__info { padding:30px 30px 24px; }
.product-hero__eyebrow { display:inline-block; margin-bottom:10px; color:#fb6445; font-weight:700; font-size:12px; letter-spacing:.12em; }
.product-hero__title { margin:0 0 10px; font-size:34px; line-height:1.1; }
.product-hero__subtitle { margin:0 0 18px; color:#5f6b7a; font-size:16px; line-height:1.65; }
.product-hero__meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.product-hero__meta-pill { background:#f5f7fa; border:1px solid #e2e8f0; border-radius:999px; padding:8px 14px; font-size:13px; color:#334155; }
.product-hero__bullets { margin:0 0 24px 18px; }
.product-hero__bullets li { margin-bottom:8px; }
.product-hero__actions { display:flex; flex-wrap:wrap; gap:12px; }
.product-hero__button { display:inline-block; padding:12px 18px; border-radius:999px; font-weight:700; text-decoration:none; }
.product-hero__button--primary { background:#fb6445; color:#fff; }
.product-hero__button--secondary { background:#fff; color:#1f2937; border:1px solid #d7dee7; }
.product-color-current-inline { margin:12px 4px 10px; color:#475569; font-size:16px; }
.product-color-current-inline strong { color:#111827; }
.product-color-panel { margin-top:0; background:#fff; border:1px solid #e7ebf0; border-radius:18px; padding:18px 18px 16px; position:relative; }
.product-color-panel__top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:12px; }
.product-color-panel__title { margin:0; font-size:18px; line-height:1.2; }
.product-color-panel__count { color:#64748b; font-size:13px; margin-top:4px; }
.product-color-swatch-grid { display:grid; grid-template-columns:repeat(8, minmax(0, 1fr)); gap:8px; justify-content:flex-start; align-items:start; }
.product-color-swatch { position:relative; display:block; width:100%; aspect-ratio:1 / 1; border-radius:10px; border:1px solid #111827; box-shadow:0 4px 10px rgba(15,23,42,.12); background:#f8fafc; cursor:pointer; overflow:visible; transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease; padding:0; min-width:0; }
.product-color-swatch:hover, .product-color-swatch:focus { transform:translateY(-1px); border-color:#111827; }
.product-color-swatch.is-active { border-color:#0ea5e9; box-shadow:0 0 0 3px rgba(14,165,233,.22), 0 6px 16px rgba(15,23,42,.16); }
.product-color-swatch__crop { position:absolute; top:0; right:0; bottom:0; left:0; border-radius:9px; overflow:hidden; }
.product-color-swatch__img { width:100%; height:100%; display:block; object-fit:cover; object-position:center center; transform:scale(2.85); transform-origin:center center; }
.product-color-swatch--full-image .product-color-swatch__crop { overflow: hidden; }
.product-color-swatch__img--full-image { object-fit: contain; transform: none !important; background: #fff; }
.product-color-swatch__tooltip { position:absolute; left:50%; bottom:calc(100% + 8px); transform:translateX(-50%); background:#111827; color:#fff; font-size:12px; line-height:1.2; padding:6px 8px; border-radius:8px; white-space:nowrap; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .12s ease, visibility .12s ease; z-index:20; }
.product-color-swatch__tooltip:after { content:''; position:absolute; top:100%; left:50%; margin-left:-5px; border-width:5px; border-style:solid; border-color:#111827 transparent transparent transparent; }
.product-color-swatch:hover .product-color-swatch__tooltip,
.product-color-swatch:focus .product-color-swatch__tooltip { opacity:1; visibility:visible; }
.product-tabs { margin-bottom:30px; }
.product-tabs .nav-tabs { display:flex; flex-wrap:wrap; gap:10px; border-bottom:0; margin-bottom:16px; }
.product-tabs .nav-tabs > li { float:none; margin-bottom:0; }
.product-tabs .nav-tabs > li > a { margin-right:0; border-radius:999px; border:1px solid #d7dee7; background:#fff; color:#334155; padding:10px 16px; font-weight:700; }
.product-tabs .nav-tabs > .active > a, .product-tabs .nav-tabs > .active > a:hover, .product-tabs .nav-tabs > .active > a:focus { border-color:#fb6445; background:#fb6445; color:#fff; }
.product-tab-panel { background:#fff; border:1px solid #e7ebf0; border-radius:20px; padding:18px; box-shadow:0 10px 24px rgba(15,23,42,.06); }
.product-colour-catalog { display:grid; grid-template-columns:repeat(auto-fit, minmax(110px, 1fr)); gap:24px 16px; align-items:start; }
.product-colour-catalog__item { display:block; text-align:center; color:#1f2937; text-decoration:none; cursor:pointer; background:transparent; border:0; padding:0; }
.product-colour-catalog__thumb { display:flex; align-items:flex-end; justify-content:center; min-height:150px; }
.product-colour-catalog__thumb img { max-width:100%; max-height:150px; width:auto; height:auto; display:block; }
.product-colour-catalog__label { display:block; margin-top:8px; font-size:13px; line-height:1.3; color:#334155; }
.product-colour-catalog__item:hover .product-colour-catalog__label, .product-colour-catalog__item:focus .product-colour-catalog__label { color:#fb6445; }
.product-colour-catalog__item.is-active .product-colour-catalog__label { font-weight:700; color:#111827; }
.product-colour-catalog__item.is-active .product-colour-catalog__thumb img { transform:translateY(-1px); }
.product-image-modal { position:fixed; inset:0; display:none; z-index:9999; }
.product-image-modal.is-open { display:block; }
.product-image-modal__overlay { position:absolute; inset:0; background:rgba(15,23,42,.78); }
.product-image-modal__dialog { position:relative; z-index:2; width:min(92vw, 840px); margin:4vh auto; background:#fff; border-radius:18px; box-shadow:0 24px 60px rgba(0,0,0,.28); padding:18px; }
.product-image-modal__close { position:absolute; top:12px; right:12px; border:0; background:#111827; color:#fff; width:40px; height:40px; border-radius:999px; font-size:26px; line-height:1; }
.product-image-modal__title { margin:0 0 12px; font-size:18px; }
.product-image-modal__body { text-align:center; }
.product-image-modal__img { max-width:100%; max-height:80vh; width:auto; height:auto; }
body.product-modal-open { overflow:hidden; }
@media (max-width: 767px) {
  .product-hero__media { border-right:0; border-bottom:1px solid #e7ebf0; }
  .product-hero__info { padding:24px 20px 20px; }
  .product-hero__title { font-size:28px; }
  .product-hero__main-image-wrap { min-height:320px; }
  .product-color-panel { padding:16px 16px 14px; }
  .product-color-swatch-grid { grid-template-columns:repeat(5, minmax(0, 1fr)); gap:8px; }
  .product-color-swatch__img { transform:scale(2.75); }
  .product-colour-catalog { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px 12px; }
  .product-colour-catalog__thumb { min-height:116px; }
  .product-colour-catalog__thumb img { max-height:116px; }
}

.product-hero__actions--modal-buttons {
  flex-wrap: wrap;
}
.product-secondary-card {
  background:#fff;
  border:1px solid #d9e2ec;
  border-radius:24px;
  padding:24px 26px;
  box-shadow:0 14px 34px rgba(15,23,42,.06);
  margin-top:4px;
}
.product-secondary-card h3 {
  margin:0 0 10px;
  font-size:24px;
  line-height:1.2;
}
.product-secondary-card p {
  margin:0;
  color:#475569;
}
.product-modal {
  position:fixed;
  inset:0;
  display:none;
  z-index:10010;
}
.product-modal.is-open {
  display:block;
}
.product-modal__overlay {
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.74);
}
.product-modal__dialog {
  position:relative;
  z-index:2;
  width:min(92vw, 760px);
  max-height:88vh;
  overflow:auto;
  margin:6vh auto;
  background:#fff;
  border-radius:24px;
  box-shadow:0 28px 60px rgba(0,0,0,.28);
  padding:28px 24px 24px;
}
.product-modal__dialog--wide {
  width:min(90vw, 730px);
}
.product-modal__close {
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-size:28px;
  line-height:1;
}
.product-modal__title {
  margin:0 0 16px;
  padding-right:54px;
  font-size:30px;
  line-height:1.15;
}
.product-modal__content p {
  color:#334155;
}
.product-modal__table-wrap {
  overflow-x:auto;
  margin-bottom:18px;
}
.product-modal__content .table {
  margin-bottom:14px;
}
.product-modal__content .contact_form {
  margin-top:14px;
}
.product-modal__content .span8 {
  width:100%;
  box-sizing:border-box;
  margin-left:0;
}
body.product-modal-open {
  overflow:hidden;
}
@media (max-width: 767px) {
  .product-secondary-card {
    padding:20px 18px;
  }
  .product-modal__dialog,
  .product-modal__dialog--wide {
    width:min(94vw, 94vw);
    margin:3vh auto;
    max-height:92vh;
    padding:22px 16px 18px;
    border-radius:18px;
  }
  .product-modal__title {
    font-size:24px;
    padding-right:44px;
  }
}


.product-estimator {
  margin-top: 22px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}
.product-estimator__header h3 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
}
.product-estimator__header p {
  margin: 0;
  color: #475569;
}
.product-estimator__body { margin-top: 18px; }
.product-estimator__loading,
.product-estimator__error {
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px;
  color: #475569;
}
.product-estimator__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.product-estimator__field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
}
.product-estimator__qty {
  display: flex;
  align-items: stretch;
  border: 1px solid #d7dee7;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.product-estimator__qty button {
  width: 48px;
  border: 0;
  background: #f8fafc;
  color: #111827;
  font-size: 24px;
  line-height: 1;
}
.product-estimator__qty input,
.product-estimator__select {
  width: 100%;
  border: 0;
  padding: 0 14px;
  font-size: 16px;
  min-height: 58px;
  box-sizing: border-box;
  background: #fff;
}
.product-estimator__select {
  border: 1px solid #d7dee7;
  border-radius: 14px;
  appearance: none;
}
.product-estimator__select-wrap {
  position: relative;
}
.product-estimator__select-wrap .product-estimator__select {
  padding-right: 40px;
}
.product-estimator__select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  font-weight: 700;
  color: #1a1f2f;
}
.product-estimator__message {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.product-estimator__message.is-visible { display: block; }
.product-estimator__message--info {
  background: #f8fafc;
  border: 1px solid #dbe5ef;
  color: #334155;
}
.product-estimator__message--warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}
.product-estimator__promo {
  margin-top: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 14px 16px;
  color: #9a3412;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.product-estimator__results {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}
.product-estimator__results--single {
  grid-template-columns: 1fr;
}
.product-estimator__result {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
}
.product-estimator__result-label {
  display: block;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 6px;
}
.product-estimator__result-value {
  display: block;
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}
.product-estimator__breaks {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
}
.product-estimator__break-card {
  min-height: 98px;
  background: #fffaf5;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 14px 16px;
}
.product-estimator__break-card.is-empty {
  visibility: hidden;
}
.product-estimator__break-card--setup {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-estimator__combo-line + .product-estimator__combo-line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(249,115,22,.18);
}
.product-estimator__break-title {
  display: block;
  color: #9a3412;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.product-estimator__break-value {
  display: block;
  color: #111827;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}
.product-estimator__break-value--free {
  color: #ea580c;
}
.product-estimator__actions {
  margin-top: 14px;
}
.product-estimator__total-button {
  width: 100%;
  justify-content: center;
}
.product-estimator__note {
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .product-estimator { padding: 18px 16px; }
  .product-estimator__header h3 { font-size: 22px; }
  .product-estimator__grid,
  .product-estimator__breaks,
  .product-estimator__results { grid-template-columns: 1fr; }
  #product-total-price-modal .product-modal__content > .product-total-breakdown:not(.product-total-breakdown--final) { grid-template-columns: 1fr; }
  #product-total-price-modal .product-total-inline-image { max-width: 210px; margin: 0 auto; grid-row: auto; }
  #product-total-price-modal .product-modal__content > .product-total-breakdown:not(.product-total-breakdown--final) .product-total-breakdown__row { grid-column: 1; }
  .product-total-modal-layout { grid-template-columns: 1fr; }
  .product-total-modal-layout__media { max-width: 210px; margin: 0 auto; }
}
.product-total-breakdown {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
#product-total-price-modal .product-modal__content > .product-total-breakdown:not(.product-total-breakdown--final) {
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 12px;
}
#product-total-price-modal .product-total-inline-image {
  grid-column: 1;
  grid-row: 1 / span 4;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
#product-total-price-modal .product-total-inline-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: contain;
}
#product-total-price-modal .product-modal__content > .product-total-breakdown:not(.product-total-breakdown--final) .product-total-breakdown__row {
  grid-column: 2;
}
.product-total-modal-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.product-total-modal-layout__media {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
.product-total-modal-layout__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: contain;
}
.product-total-modal-layout__details .product-total-breakdown {
  margin-top: 0;
}
.product-total-breakdown__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}
.product-total-breakdown__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.product-total-breakdown__label {
  color: #475569;
  font-weight: 700;
}
.product-total-breakdown__value {
  color: #111827;
  font-weight: 700;
  text-align: right;
}
.product-total-breakdown__row--total .product-total-breakdown__label,
.product-total-breakdown__row--total .product-total-breakdown__value {
  font-size: 20px;
  font-weight: 800;
}
.product-total-breakdown__note {
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.product-total-breakdown--final {
  margin-top: 22px;
}
.product-start-bubble {
  margin: 18px 0 20px;
  background: #090a0d;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(17,24,39,0.26);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.product-start-bubble__content {
  flex: 1 1 auto;
  min-width: 0;
}
.product-start-bubble__eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  color: #fb6445;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-start-bubble__title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.05;
}
.product-start-bubble__copy {
  margin: 0;
  color: rgba(255,255,255,0.94);
  font-size: 15px;
  line-height: 1.55;
  max-width: 760px;
}
.product-start-bubble__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.product-start-bubble__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-start-bubble__button:hover,
.product-start-bubble__button:focus {
  text-decoration: none;
}
.product-start-bubble__button--primary {
  background: #fb6445;
  color: #ffffff;
}
.product-start-bubble__button--primary:hover,
.product-start-bubble__button--primary:focus {
  background: #ff7658;
  color: #ffffff;
}
.product-start-bubble__button--secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.38);
}
.product-start-bubble__button--secondary:hover,
.product-start-bubble__button--secondary:focus {
  border-color: #fb6445;
  color: #fb6445;
}
@media (max-width: 767px) {
  .product-estimator { padding: 18px 16px; }
  .product-estimator__header h3 { font-size: 22px; }
  .product-estimator__grid,
  .product-estimator__breaks,
  .product-estimator__results { grid-template-columns: 1fr; }
  #product-total-price-modal .product-modal__content > .product-total-breakdown:not(.product-total-breakdown--final) { grid-template-columns: 1fr; }
  #product-total-price-modal .product-total-inline-image { max-width: 210px; margin: 0 auto; grid-row: auto; }
  #product-total-price-modal .product-modal__content > .product-total-breakdown:not(.product-total-breakdown--final) .product-total-breakdown__row { grid-column: 1; }
  .product-total-modal-layout { grid-template-columns: 1fr; }
  .product-total-modal-layout__media { max-width: 210px; margin: 0 auto; }
  .product-estimator__meta-row,
  .product-total-breakdown__row { flex-direction: column; align-items: flex-start; }
  .product-total-breakdown__value { text-align: left; }
  .product-start-bubble {
    margin: 16px 0 18px;
    padding: 18px 16px;
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .product-start-bubble__title {
    font-size: 34px;
  }
  .product-start-bubble__copy {
    font-size: 14px;
  }
  .product-start-bubble__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .product-start-bubble__button {
    min-height: 44px;
    padding: 0 18px;
  }
}


/* estimator refinement - integrated with existing styling */
.product-estimator {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}
.product-estimator__header h3 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.2;
}
.product-estimator__header p {
  font-size: 13px;
  line-height: 1.55;
}
.product-estimator__field label {
  font-size: 12px;
  margin-bottom: 7px;
}
.product-estimator__qty input,
.product-estimator__select {
  min-height: 52px;
  font-size: 15px;
}
.product-estimator__qty button {
  width: 44px;
  font-size: 22px;
}
.product-estimator__promo {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff8f2;
  border: 1px solid #f6b26b;
  border-radius: 18px;
  padding: 12px 16px;
}
.product-estimator__promo-icon,
.product-estimator__break-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fb6445;
  color: #fff;
}
.product-estimator__break-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
}
.product-estimator__promo-icon svg {
  width: 28px;
  height: 28px;
}
.product-estimator__break-icon svg {
  width: 14px;
  height: 14px;
}
.product-estimator__promo-title {
  font-size: 20px;          /* increased */
  line-height: 1.15;
  font-weight: 800;
  color: #fb6445;
  margin-bottom: 6px;       /* more spacing */
}
.product-estimator__promo-text {
  font-size: 14px;          /* increased */
  line-height: 1.6;         /* more breathing room */
  color: #111827;
  font-weight: 700;
}
.product-estimator__result {
  padding: 12px 16px;
}
.product-estimator__result-label {
  font-size: 12px;
  color: #6b7280;
}
.product-estimator__result-value {
  font-size: 24px;
  color: #111827;
}
.product-estimator__breaks {
  margin-top: 14px;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}
.product-estimator__break-card {
  min-height: 0;
  background: #f8fafc;
  border: 1px solid #d7dee7;
  border-radius: 18px;
  padding: 14px 16px;
}
.product-estimator__break-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.product-estimator__break-heading {
  font-size: 14px;
  line-height: 1.06;
  font-weight: 800;
  color: #111827;
}
.product-estimator__combo-line + .product-estimator__combo-line {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}
.product-estimator__break-small {
  display: block;
  color: #fb6445;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.product-estimator__break-price {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}
.product-estimator__break-card--setup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px; /* adds spacing between lines */
}
.product-estimator__break-value--free {
  color: #fb6445;
  font-size: 20px;      /* bigger */
  font-weight: 800;
  line-height: 1.2;
}
.product-estimator__break-subvalue {
  display: block;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.product-estimator__actions { margin-top: 14px; }
.product-estimator__total-button {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 12px 18px;
}
.product-estimator__note {
  margin-top: 12px;
  font-size: 12px;
  color: #64748b;
}
@media (max-width: 767px) {
  .product-estimator { padding: 14px 14px; }
  .product-estimator__header h3 { font-size: 18px; }
  .product-estimator__promo { gap: 10px; padding: 12px 14px; }
  .product-estimator__promo-icon { width: 46px; height: 46px; min-width: 46px; }
  .product-estimator__break-icon { width: 28px; height: 28px; min-width: 28px; }
  .product-estimator__promo-icon svg { width: 22px; height: 22px; }
  .product-estimator__break-icon svg { width: 12px; height: 12px; }
  .product-estimator__promo-title { font-size: 14px; }
  .product-estimator__promo-text { font-size: 11px; }
  .product-estimator__result-value { font-size: 22px; }
  .product-estimator__break-heading { font-size: 13px; }
  .product-estimator__break-price { font-size: 13px; }
}


/* product hero layout refinement - left intro bubble + right estimator first */
.product-hero .row-fluid {
  display: flex;
  flex-wrap: wrap;
}
.product-hero .row-fluid > [class*="span"] {
  float: none;
  margin-left: 0;
  width: 50%;
  box-sizing: border-box;
}
.product-hero__media {
  padding: 28px 20px 28px 28px;
  border-right: 1px solid #e7ebf0;
  background: linear-gradient(180deg,#ffffff 0%,#eef3f7 100%);
}
.product-hero__info {
  padding: 28px 28px 28px 20px;
  background: #ffffff;
}
.product-hero__intro-card,
.product-hero__info-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}
.product-hero__intro-card {
  padding: 26px 24px 24px;
  margin-bottom: 20px;
}
.product-hero__intro-card .product-hero__eyebrow {
  margin-bottom: 12px;
}
.product-hero__intro-card .product-hero__title {
  margin: 0 0 14px;
}
.product-hero__intro-card .product-hero__subtitle {
  margin: 0;
}
.product-hero__info .product-estimator {
  margin-top: 0;
  margin-bottom: 18px;
}
.product-hero__info-card {
  padding: 24px;
}
.product-hero__info-card .product-hero__meta {
  margin-bottom: 20px;
}
.product-hero__info-card .product-hero__bullets {
  margin-bottom: 22px;
}
.product-hero__info-card .product-hero__actions {
  margin-top: 0;
}
@media (max-width: 767px) {
  .product-hero .row-fluid > [class*="span"] {
    width: 100%;
  }
  .product-hero__media,
  .product-hero__info {
    padding: 20px;
  }
  .product-hero__media {
    border-right: 0;
    border-bottom: 1px solid #e7ebf0;
  }
  .product-hero__intro-card,
  .product-hero__info-card {
    border-radius: 18px;
  }
  .product-hero__intro-card {
    margin-bottom: 16px;
    padding: 22px 18px 20px;
  }
  .product-hero__info-card {
    padding: 20px 18px;
  }
}


.product-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 4px 0 0;
}
.product-support-card {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 24px;
  padding: 24px 24px 22px;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
  min-width: 0;
}
.product-support-card__title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
  color: #111827;
}
.product-support-card__list {
  margin: 0;
  padding: 0 0 0 18px;
  color: #475569;
}
.product-support-card__list li {
  margin-bottom: 9px;
  line-height: 1.65;
}
.product-support-card__list li:last-child {
  margin-bottom: 0;
}
.product-support-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.product-support-card__actions .product-hero__button {
  text-align: center;
}
@media (max-width: 767px) {
  .product-support-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .product-support-card {
    border-radius: 20px;
    padding: 20px 18px 18px;
  }
  .product-support-card__title {
    font-size: 22px;
  }
}
/* =========================
   3-BUBBLE ICON TITLES
========================= */

.pluora-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 16px;
}

.pluora-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #fb6445;
    border-radius: 50%;
    flex-shrink: 0;
}

.pluora-info-icon svg {
    width: 16px;
    height: 16px;
}

/* =========================
   Product template horizontal estimator correction
   Keeps existing JS/rendering intact; only rearranges the working pieces.
========================= */
.product-hero__top-row {
  margin-bottom: 0;
}
.product-hero__top-row:before,
.product-hero__top-row:after {
  content: "";
  display: table;
  line-height: 0;
}
.product-hero__top-row:after {
  clear: both;
}
.product-color-panel--hero {
  margin-top: 0;
}
.product-estimator-band {
  clear: both;
  padding: 0 28px 24px;
}
.product-estimator-band .product-estimator {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
.product-hero__details-wide {
  margin: 0 28px 28px;
}
@media (min-width: 768px) {
  .product-estimator-band .product-estimator__body {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1fr) minmax(320px, 1.15fr);
    gap: 16px 18px;
    align-items: stretch;
  }
  .product-estimator-band .product-estimator__grid {
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: start;
  }
  .product-estimator-band .product-estimator__message {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .product-estimator-band .product-estimator__promo {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    min-height: 0;
  }
  .product-estimator-band .product-estimator__results {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }
  .product-estimator-band .product-estimator__breaks {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 0;
    height: 100%;
    align-items: stretch;
  }
  .product-estimator-band .product-estimator__break-card {
    height: 100%;
    box-sizing: border-box;
  }
  .product-estimator-band .product-estimator__actions {
    grid-column: 1 / -1;
    margin-top: 2px;
  }
  .product-estimator-band .product-estimator__note {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .product-estimator-band {
    padding: 0 20px 20px;
  }
  .product-hero__details-wide {
    margin: 0 20px 20px;
  }
}

/* =========================
   Product page de-nesting polish
   Removes the large outer hero/estimator bubbles while keeping the working inner cards.
   Functionality and existing IDs/classes remain untouched.
========================= */
.product-hero {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.product-hero__media {
  background: transparent;
  border-right: 0;
}

.product-hero__info {
  padding-top: 28px;
}

.product-estimator-band .product-estimator {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.product-estimator-band .product-estimator__header {
  margin: 0 0 12px;
}

.product-estimator-band .product-estimator__body {
  margin-top: 0;
}

.product-estimator-band .product-estimator__loading,
.product-estimator-band .product-estimator__error {
  background: #ffffff;
}

.product-estimator-band .product-estimator__message.is-visible {
  background: #ffffff;
}

@media (max-width: 767px) {
  .product-hero__media,
  .product-hero__info {
    background: transparent;
  }

  .product-hero__media {
    border-bottom: 0;
  }
}

/* =========================
   Product page spacing + estimator card restoration
   Keeps the main content area de-nested while giving the estimator its own full-width card.
========================= */
.product-estimator-band {
  clear: both;
  padding: 0;
  margin: 22px 0 20px;
}

.product-estimator-band .product-estimator {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
  padding: 20px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.product-hero__details-wide {
  margin: 0 0 28px;
}

.product-support-grid {
  margin-top: 0;
}

@media (max-width: 767px) {
  .product-estimator-band {
    padding: 0;
    margin: 18px 0;
  }

  .product-estimator-band .product-estimator {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .product-hero__details-wide {
    margin: 0 0 20px;
  }
}

/* =========================
   Product page final spacing/alignment pass
   Keeps the working layout/functionality and only normalizes section widths + spacing.
========================= */
.product-hero {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .product-hero__top-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    width: 100%;
    margin: 0 0 20px;
  }

  .product-hero__top-row > [class*="span"],
  .product-hero__top-row > .span6 {
    float: none;
    width: auto;
    margin-left: 0;
    min-height: 0;
    box-sizing: border-box;
  }

  .product-hero__media,
  .product-hero__info {
    padding: 0;
  }

  .product-hero__main-image-wrap,
  .product-color-panel--hero {
    height: 100%;
    box-sizing: border-box;
  }

  .product-color-panel--hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

.product-estimator-band {
  clear: both;
  padding: 0;
  margin: 0 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.product-estimator-band .product-estimator {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.product-hero__details-wide {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.product-support-grid {
  margin-top: 20px;
}

.ymal-mount {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .product-hero {
    margin-bottom: 18px;
  }

  .product-hero__top-row {
    margin-bottom: 18px;
  }

  .product-hero__media,
  .product-hero__info {
    padding: 0;
  }

  .product-estimator-band {
    padding: 0;
    margin: 0 0 18px;
  }

  .product-hero__details-wide {
    margin: 0;
  }

  .product-support-grid,
  .ymal-mount {
    margin-top: 18px;
  }
}

/* =========================
   Top product row width/column correction
   Keeps existing spacing and card styling; only forces the image + colour selector
   to share the full row on desktop and stack correctly on mobile.
========================= */
.product-hero {
  width: 100%;
  box-sizing: border-box;
}

.product-hero__top-row.row-fluid {
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .product-hero__top-row.row-fluid {
    display: flex !important;
    align-items: stretch;
    gap: 20px;
    margin: 0 0 20px 0 !important;
  }

  .product-hero__top-row.row-fluid:before,
  .product-hero__top-row.row-fluid:after {
    display: none !important;
    content: none !important;
  }

  .product-hero__top-row.row-fluid > .product-hero__media,
  .product-hero__top-row.row-fluid > .product-hero__info {
    float: none !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    margin-left: 0 !important;
    padding: 0 !important;
    flex: 0 0 calc(50% - 10px);
    box-sizing: border-box;
  }

  .product-hero__top-row .product-hero__main-image-wrap,
  .product-hero__top-row .product-color-panel--hero {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .product-hero__top-row.row-fluid {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 18px 0 !important;
  }

  .product-hero__top-row.row-fluid:before,
  .product-hero__top-row.row-fluid:after {
    display: none !important;
    content: none !important;
  }

  .product-hero__top-row.row-fluid > .product-hero__media,
  .product-hero__top-row.row-fluid > .product-hero__info {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
    box-sizing: border-box;
  }
}


/* Apparel Estimator refinements */
.product-estimator__grid--apparel-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-estimator__grid--apparel-print {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-estimator__select optgroup {
  font-weight: 700;
}

@media (max-width: 760px) {
  .product-estimator__grid--apparel-top,
  .product-estimator__grid--apparel-print {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Apparel estimator layout hotfix - 2026-04-25
   Prevents the new apparel top/print control grids from overlapping each other
   inside the existing desktop estimator band layout.
========================= */
@media (min-width: 768px) {
  .product-estimator-band .product-estimator__grid--apparel-top {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 14px;
    align-content: start;
    margin: 0;
  }

  .product-estimator-band .product-estimator__grid--apparel-print {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
    align-content: start;
    margin: 0;
  }

  .product-estimator-band .product-estimator__grid--apparel-top .product-estimator__field,
  .product-estimator-band .product-estimator__grid--apparel-print .product-estimator__field {
    min-width: 0;
  }

  .product-estimator-band .product-estimator__grid--apparel-top .product-estimator__field label,
  .product-estimator-band .product-estimator__grid--apparel-print .product-estimator__field label {
    display: block;
    margin: 0 0 8px;
    line-height: 1.2;
    white-space: normal;
  }

  .product-estimator-band .product-estimator__grid--apparel-top .product-estimator__qty,
  .product-estimator-band .product-estimator__grid--apparel-top .product-estimator__select,
  .product-estimator-band .product-estimator__grid--apparel-print .product-estimator__select {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .product-estimator__grid--apparel-top,
  .product-estimator__grid--apparel-print {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* =========================
   Apparel estimator compact controls hotfix - 2026-04-25
   Removes the duplicate shirt colour selector from JS output and tightens the
   apparel controls so print labels sit beside their dropdowns.
========================= */
@media (min-width: 768px) {
  .product-estimator-band .product-estimator__grid--apparel-top {
    grid-template-columns: minmax(150px, 0.48fr) !important;
    gap: 0 !important;
    margin: 0 0 4px !important;
  }

  .product-estimator-band .product-estimator__grid--apparel-print {
    gap: 10px !important;
    margin-top: 0 !important;
  }

  .product-estimator-band .product-estimator__field--inline-print {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
  }

  .product-estimator-band .product-estimator__field--inline-print label {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    margin: 0 !important;
    line-height: 1.05 !important;
    white-space: normal;
  }

  .product-estimator-band .product-estimator__field--inline-print .product-estimator__select {
    min-height: 50px;
  }
}

@media (max-width: 767px) {
  .product-estimator__field--inline-print {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
  }

  .product-estimator__field--inline-print label {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    margin: 0 !important;
    line-height: 1.05 !important;
  }
}

/* =========================
   Apparel estimator quantity compact hotfix - 2026-04-25
========================= */
.product-estimator-band .product-estimator__grid--apparel-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
}
.product-estimator-band .product-estimator__field--inline-qty .product-estimator__qty,
.product-estimator-band .product-estimator__field--inline-print .product-estimator__select {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
}
.product-estimator-band .product-estimator__field--inline-qty .product-estimator__qty {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
}
.product-estimator-band .product-estimator__field--inline-qty .product-estimator__qty button,
.product-estimator-band .product-estimator__field--inline-qty .product-estimator__qty input {
  min-height: 50px;
}
@media (min-width: 768px) {
  .product-estimator-band .product-estimator__body {
    grid-template-columns: minmax(310px, 0.95fr) minmax(260px, 1.05fr) minmax(360px, 1.15fr) !important;
    gap: 16px 18px !important;
  }
  .product-estimator-band .product-estimator__grid--apparel-controls {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    margin: 0 !important;
  }
  .product-estimator-band .product-estimator__field--inline-print {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
  }
  .product-estimator-band .product-estimator__field--inline-print label {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 1px !important;
    margin: 0 !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }
}
@media (max-width: 767px) {
  .product-estimator-band .product-estimator__grid--apparel-controls {
    gap: 12px;
  }
  .product-estimator-band .product-estimator__field--inline-qty,
  .product-estimator-band .product-estimator__field--inline-print {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
  }
}
/* =========================
   Apparel estimator source polish - 2026-04-25
   Full-file replacement paired with product-detail.js.
   Keeps estimator logic intact; only tightens the rendered apparel estimator layout.
========================= */

.product-estimator-band .product-estimator__message:not(.is-visible),
.product-estimator-band .product-estimator__note:empty {
  display: none !important;
}

.product-estimator-band .product-estimator__promo-text {
  line-height: 1.55 !important;
}

.product-estimator-band .product-estimator__result-value br {
  display: block;
}

.product-estimator-band .product-estimator__break-card--setup {
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 10px !important;
}

.product-estimator-band .product-estimator__break-card--setup .product-estimator__break-head {
  align-items: center !important;
  margin-bottom: 10px !important;
}

.product-estimator-band .product-estimator__break-card--setup .product-estimator__break-subvalue {
  margin-top: 0 !important;
}

.product-estimator-band .product-estimator__right-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.product-estimator-band .product-estimator__right-stack .product-estimator__actions {
  margin-top: 0 !important;
}

.product-estimator-band .product-estimator__right-stack .product-estimator__total-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .product-estimator-band .product-estimator__body {
    grid-template-columns: minmax(310px, 0.95fr) minmax(300px, 1.05fr) minmax(400px, 1.2fr) !important;
    align-items: stretch !important;
  }

  .product-estimator-band .product-estimator__right-stack {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    height: 100%;
  }

  .product-estimator-band .product-estimator__right-stack .product-estimator__breaks {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-top: 0 !important;
    height: auto !important;
    flex: 1 1 auto;
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  .product-estimator-band .product-estimator__right-stack .product-estimator__break-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .product-estimator-band .product-estimator__body > .product-estimator__actions {
    display: none !important;
  }

  .product-estimator-band .product-estimator__note {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 767px) {
  .product-estimator-band .product-estimator__right-stack {
    margin-top: 0;
  }

  .product-estimator-band .product-estimator__right-stack .product-estimator__breaks {
    grid-template-columns: 1fr !important;
  }
}


/* Apparel estimator unit price include line - layered on latest source polish */
.product-estimator-band .product-estimator__result-includes {
  display: block;
  margin-top: 8px;
  margin-bottom: 0;
}
.product-estimator-band .product-estimator__result-includes:empty {
  display: none !important;
}


/* 2026-04-25 product description polish
   Uses desktop space better while keeping mobile stacking intact. */
@media (min-width: 768px) {
  .product-hero__details-wide {
    padding: 24px 28px;
  }

  .product-hero__details-wide .product-hero__meta {
    justify-content: center;
    margin-bottom: 18px;
  }

  .product-hero__details-wide .product-hero__bullets {
    max-width: 760px;
    margin: 0 auto 22px;
    padding-left: 22px;
  }

  .product-hero__details-wide .product-hero__bullets li {
    margin-bottom: 9px;
  }

  .product-hero__details-wide .product-hero__actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .product-hero__details-wide .product-hero__meta,
  .product-hero__details-wide .product-hero__actions {
    justify-content: flex-start;
  }

  .product-hero__details-wide .product-hero__bullets {
    max-width: none;
  }
}


/* 2026-04-25 desktop-only description text centering correction */
@media (min-width: 768px) {
  .product-hero__details-wide {
    text-align: center;
  }

  .product-hero__details-wide .product-hero__bullets {
    display: inline-block;
    text-align: left;
  }

  .product-hero__details-wide .product-hero__bullets li {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .product-hero__details-wide {
    text-align: left;
  }

  .product-hero__details-wide .product-hero__bullets {
    display: block;
    text-align: left;
  }
}


/* 2026-04-25 quantity button fill correction
   Ensures the +/- button background fills the full height/width of the quantity control. */
.product-estimator__qty {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: stretch;
}

.product-estimator__qty button {
  width: 100%;
  height: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.product-estimator__qty input {
  min-height: 58px;
}

@media (max-width: 767px) {
  .product-estimator__qty {
    grid-template-columns: 44px 1fr 44px;
  }

  .product-estimator__qty button,
  .product-estimator__qty input {
    min-height: 52px;
  }
}


/* 2026-04-25 colour swatch density refinement
   Keeps the current crop/zoom functionality but makes the swatches more compact:
   - 10 across on desktop
   - 6 across on mobile
   - existing spacing/gap preserved
*/
.product-color-swatch-grid {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
}

.product-color-swatch {
  border-radius: 9px;
}

.product-color-swatch__crop {
  border-radius: 8px;
}

@media (max-width: 767px) {
  .product-color-swatch-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .product-color-swatch__img {
    transform: scale(2.75);
  }
}



/* 2026-04-29 Order / Quote Request estimator modal */
.product-payment-notice {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff5ef;
  border: 1px solid rgba(251, 100, 69, 0.28);
  color: #46342d;
  font-weight: 700;
  line-height: 1.45;
}

.product-size-picker {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  background: #fff;
}

.product-size-picker__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.product-size-picker__head strong {
  display: block;
  color: #1d2939;
  font-size: 17px;
}

.product-size-picker__head span {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.product-size-picker__tbd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 700;
  color: #344054;
}

.product-size-picker__table-wrap {
  overflow-x: auto;
}

.product-size-picker__table {
  width: 100%;
  border-collapse: collapse;
}

.product-size-picker__table th,
.product-size-picker__table td {
  padding: 9px 8px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
}

.product-size-picker__table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #667085;
}

.product-size-picker__table input {
  width: 90px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 8px 10px;
}

.product-size-picker.is-tbd .product-size-picker__table-wrap {
  opacity: 0.42;
  pointer-events: none;
}

.product-size-picker__status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f7f9;
  color: #475467;
  font-weight: 700;
}

.product-size-picker__status.is-good {
  background: #edf9f1;
  color: #166534;
}

.product-size-picker__status.is-warning {
  background: #fff7ed;
  color: #9a3412;
}

.product-order-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}

.product-order-quote-feedback {
  margin-top: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.product-order-quote-feedback.is-good {
  color: #166534;
}

.product-order-quote-feedback.is-warning {
  color: #9a3412;
}

@media (max-width: 767px) {
  .product-size-picker__head,
  .product-order-quote-actions {
    display: block;
  }

  .product-size-picker__tbd {
    margin-top: 10px;
  }

  .product-order-quote-actions .product-hero__button {
    width: 100%;
    margin-top: 8px;
  }
}

/* Order / Quote sizing controls - Phase 1C */
.product-size-picker__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.product-modal__dialog--wide .product-size-picker__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-size-picker__item {
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
}

.product-size-picker__label {
  color: #1d2939;
  font-size: 12px;
  margin-bottom: 6px;
  min-height: 16px;
}

.product-size-picker__qty {
  display: grid;
  grid-template-columns: 38px minmax(42px, 1fr) 38px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.product-size-picker__qty button {
  appearance: none;
  border: 0;
  background: #f3f6fa;
  color: #111827;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  min-height: 34px;
}

.product-size-picker__qty input.product-size-qty {
  width: 100%;
  border: 0;
  border-left: 1px solid #edf0f4;
  border-right: 1px solid #edf0f4;
  border-radius: 0;
  padding: 6px 4px;
  text-align: center;
  font-size: 14px;
  background: #fff;
}

.product-size-picker.is-tbd .product-size-picker__grid {
  opacity: 0.42;
  pointer-events: none;
}

@media (max-width: 900px) {
  .product-size-picker__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-size-picker__grid {
    grid-template-columns: 1fr;
  }
}

/* Order / Quote added confirmation - Phase 1E */
.product-modal__dialog--small {
  max-width: 560px;
}

.product-order-quote-added-copy {
  margin: 0 0 18px;
  color: #344054;
  font-weight: 700;
  line-height: 1.5;
}

.product-order-quote-added-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-order-quote-added-actions .product-hero__button {
  flex: 1 1 220px;
  text-align: center;
}
