/* WTI SINGLE PRODUCT PAGE — completely isolated with wti-sp-* classes */
.wti-sp-active {
  background: #f5f7fb;
}
.wti-sp-page {
  background: #fff;
  margin: 0 auto;
  padding: 20px 28px 70px;
  color: #12213d;
}
.wti-sp-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #718096;
  margin: 0 0 20px;
}
.wti-sp-breadcrumb a {
  color: #3867d6;
  text-decoration: none;
}
.wti-sp-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.95fr);
  gap: 30px;
}
.wti-sp-gallery-card,
.wti-sp-info-card,
.wti-sp-details,
.wti-sp-related,
.wti-sp-bottom-cta {
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(25, 48, 85, 0.05);
}
.wti-sp-gallery-card {
  padding: 18px;
  position: relative;
}
.wti-sp-badge {
  position: absolute;
  left: 24px;
  top: 22px;
  z-index: 2;
  background: #eaf7ef;
  color: #16834d;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
}
.wti-sp-main-image {
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}
.wti-sp-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.wti-sp-no-image {
  color: #7b8798;
  font-weight: 700;
}
.wti-sp-thumbs {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 12px 4px 2px;
}
.wti-sp-thumb {
  width: 78px;
  height: 72px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  padding: 5px;
  cursor: pointer;
}
.wti-sp-thumb.active {
  border: 2px solid #2d63df;
}
.wti-sp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wti-sp-info-card {
  padding: 28px 30px;
}
.wti-sp-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.wti-sp-stock {
  font-size: 12px;
  color: #16834d;
  font-weight: 800;
  background: #edf9f2;
  border-radius: 20px;
  padding: 7px 12px;
}
.wti-sp-stars {
  color: #f59e0b;
  letter-spacing: 2px;
}
.wti-sp-brand-logo {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
  margin: 4px 0 12px;
}
.wti-sp-brand {
  color: #2161d5;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.wti-sp-info-card h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 10px;
  color: #101a31;
}
.wti-sp-category {
  font-size: 12px;
  color: #63738a;
  margin-bottom: 18px;
}
.wti-sp-category span {
  color: #2770d9;
  font-weight: 700;
}
.wti-sp-summary {
  font-size: 14px;
  line-height: 1.7;
  color: #617086;
  margin: 0 0 18px;
}
.wti-sp-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.wti-sp-feature {
  border: 1px solid #e0e7f0;
  border-radius: 11px;
  padding: 11px;
  background: #f9fbfe;
  min-height: 62px;
}
.wti-sp-feature span {
  display: block;
  color: #2563d7;
  font-size: 14px;
}
.wti-sp-feature strong {
  display: block;
  font-size: 11px;
  color: #273957;
  margin-top: 4px;
}
.wti-sp-feature small {
  display: block;
  font-size: 10px;
  color: #7b8798;
  margin-top: 3px;
}
.wti-sp-price-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #74839a;
  font-weight: 800;
  margin-top: 20px;
}
.wti-sp-price {
  font-size: 32px;
  font-weight: 900;
  color: #111b32;
  margin: 2px 0 16px;
}
.wti-sp-price .woocommerce-Price-currencySymbol {
  font-size: 0.75em;
}
.wti-sp-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wti-sp-options label span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
}
.wti-sp-options select {
  width: 100%;
  height: 48px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  padding: 0 12px;
  background: #f9fbfe;
}
.wti-sp-actions {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.wti-sp-qty {
  height: 50px;
  display: flex;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  overflow: hidden;
}
.wti-sp-qty button {
  width: 42px;
  border: 0;
  background: #f6f8fc;
  font-size: 20px;
  cursor: pointer;
}
.wti-sp-qty input {
  width: 42px;
  border: 0;
  text-align: center;
  font-weight: 800;
}
.wti-sp-enquiry,
.wti-sp-compare,
.wti-sp-related-actions button,
.wti-sp-bottom-enquiry {
  height: 50px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}
.wti-sp-enquiry {
  border: 0;
  background: #2b60dd;
  color: #fff;
}
.wti-sp-compare {
  border: 1px solid #cad5e5;
  background: #fff;
  color: #1c3357;
}
.wti-sp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #edf1f6;
  font-size: 11px;
  color: #65738a;
}
.wti-sp-details {
  margin-top: 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 250px 1fr;
  overflow: hidden;
}
.wti-sp-highlights {
  padding: 25px 24px;
  background: #fbfcff;
  border-right: 1px solid #e4e9f1;
}
.wti-sp-highlights h2 {
  font-size: 18px;
  margin: 0 0 18px;
}
.wti-sp-highlights ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.wti-sp-highlights li {
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 0;
  color: #4e607a;
}
.wti-sp-highlights li span {
  color: #2d64db;
  font-weight: 900;
  margin-right: 7px;
}
.wti-sp-tabs-panel {
  min-width: 0;
}
.wti-sp-tabs {
  display: flex;
  border-bottom: 1px solid #e3e8ef;
  padding: 0 25px;
  gap: 28px;
}
.wti-sp-tabs a {
  padding: 18px 2px;
  color: #6d7a8d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.wti-sp-tabs a.active {
  color: #2861db;
  border-bottom: 2px solid #2861db;
}
.wti-sp-tab-content {
  display: none;
  padding: 28px 26px;
}
.wti-sp-tab-content.active {
  display: block;
}
.wti-sp-tab-content h2 {
  font-size: 27px;
  margin: 0 0 18px;
}
.wti-sp-rich {
  font-size: 14px;
  line-height: 1.85;
  color: #586a83;
}
.wti-sp-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  overflow: hidden;
}
.wti-sp-spec-grid div {
  display: grid;
  grid-template-columns: 42% 58%;
  padding: 12px 14px;
  border-bottom: 1px solid #e7ebf2;
}
.wti-sp-spec-grid strong {
  color: #53647c;
  font-size: 12px;
}
.wti-sp-spec-grid span {
  color: #243651;
  font-size: 12px;
}
.wti-sp-related {
  margin-top: 30px;
  padding: 24px;
}
.wti-sp-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.wti-sp-section-head h2 {
  font-size: 23px;
  margin: 0;
}
.wti-sp-section-head a {
  color: #2861db;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
}
.wti-sp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.wti-sp-related-card {
  border: 1px solid #e0e7f0;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.wti-sp-related-card > img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}
.wti-sp-related-card h3 {
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 0;
  color: #1b2d4d;
  min-height: 38px;
}
.wti-sp-related-price {
  font-size: 15px;
  font-weight: 900;
  color: #1e58ca;
  margin-bottom: 12px;
}
.wti-sp-related-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.wti-sp-related-actions button {
  height: 38px;
  font-size: 11px;
}
.wti-sp-related-compare {
  border: 1px solid #ccd7e7;
  background: #fff;
  color: #233653;
}
.wti-sp-related-enquiry {
  border: 0;
  background: #2b60dd;
  color: #fff;
}
.wti-sp-bottom-cta {
  margin-top: 24px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(100deg, #f4f7ff, #fff);
}
.wti-sp-bottom-cta strong,
.wti-sp-bottom-cta span {
  display: block;
}
.wti-sp-bottom-cta strong {
  font-size: 16px;
}
.wti-sp-bottom-cta span {
  font-size: 12px;
  color: #6a7890;
  margin-top: 4px;
}
.wti-sp-bottom-enquiry {
  padding: 0 25px;
  border: 1px solid #2d62db;
  background: #fff;
  color: #2d62db;
}
/* isolated modals */
.wti-sp-lock {
  overflow: hidden !important;
}
.wti-sp-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 20, 38, 0.72);
  backdrop-filter: blur(6px);
}
.wti-sp-modal.open {
  display: flex;
}
.wti-sp-modal-box {
  position: relative;
  width: min(1180px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28);
}
.wti-sp-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border: 1px solid #dce3ee;
  background: #fff;
  color: #315ee1;
  border-radius: 10px;
  font-size: 24px;
  cursor: pointer;
}
.wti-sp-enquiry-head {
  padding: 30px 75px 24px 34px;
  background: linear-gradient(135deg, #fff, #f2f6ff);
  border-bottom: 1px solid #e3e8f1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.wti-sp-modal-kicker {
  font-size: 11px;
  letter-spacing: 2px;
  color: #2863dc;
  font-weight: 900;
}
.wti-sp-enquiry-head h2 {
  font-size: 34px;
  margin: 5px 0;
  color: #172f56;
}
.wti-sp-enquiry-head h2 span {
  display: inline-flex;
  min-width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  color: #2863dc;
  border-radius: 50px;
  font-size: 13px;
  vertical-align: middle;
}
.wti-sp-enquiry-head p {
  margin: 0;
  color: #718098;
  font-size: 13px;
}
.wti-sp-secure {
  height: max-content;
  padding: 10px 14px;
  border: 1px solid #dce4ef;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  color: #52647f;
}
.wti-sp-enquiry-body {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 520px;
}
.wti-sp-enquiry-products {
  padding: 25px 28px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}
.wti-sp-enquiry-form {
  padding: 25px 30px;
}
.wti-sp-panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.wti-sp-panel-title strong {
  font-size: 18px;
}
.wti-sp-panel-title span {
  font-size: 12px;
  color: #8090a6;
}
.wti-sp-enquiry-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f5;
}
.wti-sp-enquiry-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
}
.wti-sp-enquiry-item strong {
  font-size: 13px;
  line-height: 1.4;
}
.wti-sp-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}
.wti-sp-mini-qty {
  display: flex;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  overflow: hidden;
}
.wti-sp-mini-qty button {
  border: 0;
  background: #f7f9fc;
  width: 27px;
  height: 28px;
  cursor: pointer;
}
.wti-sp-mini-qty span {
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.wti-sp-remove,
.wti-sp-clear {
  border: 1px solid #dce3ed;
  background: #fff;
  color: #586b84;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.wti-sp-enquiry-item > span {
  font-size: 11px;
  color: #718198;
}
.wti-sp-clear {
  margin-top: auto;
  align-self: flex-start;
}
.wti-sp-cf7-wrap .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.wti-sp-cf7-wrap .wpcf7-form > p {
  margin: 0 !important;
}
.wti-sp-cf7-wrap .wpcf7-form > p:has(textarea),
.wti-sp-cf7-wrap .wpcf7-form > p:has(input[type="submit"]),
.wti-sp-cf7-wrap .wpcf7-form > p:has(.wpcf7-response-output) {
  grid-column: 1/-1;
}
.wti-sp-cf7-wrap label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #40516a;
  margin-bottom: 6px;
}
.wti-sp-cf7-wrap input:not([type="submit"]),
.wti-sp-cf7-wrap select,
.wti-sp-cf7-wrap textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #d5dfeb !important;
  border-radius: 9px !important;
  background: #fff !important;
  padding: 0 12px !important;
  color: #233752 !important;
}
.wti-sp-cf7-wrap input:not([type="submit"]),
.wti-sp-cf7-wrap select {
  height: 46px !important;
}
.wti-sp-cf7-wrap textarea {
  min-height: 105px !important;
  padding: 12px !important;
}
.wti-sp-cf7-wrap input[type="submit"] {
  width: 100% !important;
  height: 48px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #2b60dd !important;
  color: #fff !important;
  font-weight: 800 !important;
}
.wti-sp-cf7-note {
  padding: 15px;
  background: #fff7e8;
  border: 1px solid #efd49c;
  border-radius: 10px;
  color: #75551a;
}
.wti-sp-compare-box {
  padding: 30px;
}
.wti-sp-compare-box h2 {
  font-size: 28px;
  margin: 4px 0 20px;
}
.wti-sp-compare-table-wrap {
  overflow: auto;
}
.wti-sp-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.wti-sp-compare-table th,
.wti-sp-compare-table td {
  border: 1px solid #e1e7ef;
  padding: 13px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
}
.wti-sp-compare-table th {
  position: relative;
  min-width: 170px;
}
.wti-sp-compare-table th img {
  display: block;
  width: 130px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.wti-sp-compare-table th strong {
  display: block;
  line-height: 1.4;
}
.wti-sp-compare-table td:first-child {
  font-weight: 800;
  background: #f8fafc;
  color: #50617a;
  min-width: 120px;
}
.wti-sp-compare-remove {
  position: absolute;
  right: 6px;
  top: 6px;
  border: 0;
  background: #eef2ff;
  color: #315ee1;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
}
.wti-sp-compare-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}
.wti-sp-compare-clear {
  border: 1px solid #d5deea;
  background: #fff;
  color: #315ee1;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.wti-sp-compare-empty {
  padding: 50px;
  text-align: center;
  color: #6e7d93;
}
.wti-sp-compare-empty strong,
.wti-sp-compare-empty span {
  display: block;
}
.wti-sp-compare-empty strong {
  font-size: 17px;
  color: #243958;
}
.wti-sp-compare-empty span {
  font-size: 12px;
  margin-top: 5px;
}
@media (max-width: 1050px) {
  .wti-sp-top {
    grid-template-columns: 1fr;
  }
  .wti-sp-info-card h1 {
    font-size: 34px;
  }
  .wti-sp-details {
    grid-template-columns: 1fr;
  }
  .wti-sp-highlights {
    border-right: 0;
    border-bottom: 1px solid #e4e9f1;
  }
  .wti-sp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .wti-sp-page {
    padding: 12px 10px 45px;
  }
  .wti-sp-main-image {
    height: 360px;
  }
  .wti-sp-info-card {
    padding: 22px 18px;
  }
  .wti-sp-info-card h1 {
    font-size: 27px;
  }
  .wti-sp-feature-row {
    grid-template-columns: 1fr 1fr;
  }
  .wti-sp-options {
    grid-template-columns: 1fr;
  }
  .wti-sp-actions {
    grid-template-columns: 1fr;
  }
  .wti-sp-qty {
    width: max-content;
  }
  .wti-sp-related-grid {
    grid-template-columns: 1fr;
  }
  .wti-sp-bottom-cta {
    display: block;
  }
  .wti-sp-bottom-enquiry {
    margin-top: 14px;
    width: 100%;
  }
  .wti-sp-enquiry-body {
    grid-template-columns: 1fr;
  }
  .wti-sp-enquiry-products {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
  .wti-sp-enquiry-head {
    display: block;
    padding: 24px 58px 20px 20px;
  }
  .wti-sp-secure {
    display: inline-block;
    margin-top: 12px;
  }
  .wti-sp-cf7-wrap .wpcf7-form {
    grid-template-columns: 1fr;
  }
  .wti-sp-cf7-wrap .wpcf7-form > p:has(textarea),
  .wti-sp-cf7-wrap .wpcf7-form > p:has(input[type="submit"]),
  .wti-sp-cf7-wrap .wpcf7-form > p:has(.wpcf7-response-output) {
    grid-column: 1;
  }
  .wti-sp-modal {
    padding: 8px;
  }
  .wti-sp-modal-box {
    width: 100%;
    max-height: 96vh;
    border-radius: 16px;
  }
  .wti-sp-enquiry-item {
    grid-template-columns: 58px 1fr;
  }
  .wti-sp-enquiry-item img {
    width: 58px;
    height: 58px;
  }
  .wti-sp-enquiry-item > span {
    grid-column: 2;
  }
  .wti-sp-compare-box {
    padding: 20px 14px;
  }
}
