
body[class*="products_view_"] #product-root {
  font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #242424;
  -webkit-font-smoothing: antialiased;

  * {
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  }

  /* ---------- Layout ---------- */
  .product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 16px;
    align-items: start;
  }

  .product-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* ---------- Cards ---------- */
  .product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 0 1px rgba(0, 0, 0, .08);
  }

  .product-pad {
    padding: 22px 24px;
  }

  .product-divider {
    width: 100%;
    height: 1px;
    background: #e6e6e6;
  }

  .product-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;

    h2 {
      margin: 0;
      font-size: 17px;
      font-weight: 600;
      letter-spacing: -.1px;
    }
  }

  .product-icon {
    display: inline-flex;
    padding: 4px;
    border: none;
    border-radius: var(--Border-radius-border-radius-2, 8px);
    background: none;
    color: #616161;
    line-height: 0;
    cursor: pointer;

    img {
      width: 18px;
      height: 18px;
    }

    &:hover {
      background: #f0f0f0;
      color: #242424;
    }

    &.product-icon-copied {
      background: #d8f0e3;
    }
  }

  /* ---------- Gallery ---------- */
  .product-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 40px;

    img {
      max-width: 100%;
      max-height: 420px;
      height: auto;
      object-fit: contain;
    }
  }

  /* ---------- Description & specs ---------- */
  .product-body-text {
    margin: 0 0 14px;
    color: #333;
  }

  .product-feature-list {
    margin: 6px 0 0;
    padding-left: 20px;

    li {
      margin-bottom: 10px;
      color: #333;
    }
  }

  .product-spec-list {
    margin: 0;
    padding: 0;
    list-style: none;

    li {
      padding: 3px 0;
      color: #333;
    }

    .product-key {
      font-weight: 600;
    }
  }

  /* ---------- Buy box shell ---------- */
  .product-buybox {
    display: flex;
    flex-direction: column;
    padding: 24px;
    height: max-content;
    position: sticky;

  }

  /* ---------- Buy block (price + ATC) ---------- */
  .product-buy {
    margin-top: 24px;
    margin-bottom: 8px;
  }

  .product-title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.2px;
  }

  /* ---------- Badges ---------- */
  .product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
  }

  .product-badge {
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
  }

  .product-badge-stock {
    border: 1px solid #bfe0cd;
    background: #fff;
    color: #1f7a4f;
  }

  /* ---------- Meta rows (category / code / stock …) ---------- */
  .product-meta {
    margin-bottom: 20px;
  }

  .product-meta-row {
    display: flex;
    gap: 10px;
    padding: 2px 0;
    font-size: 14px;
  }

  .product-label {
    min-width: 78px;
    color: #242424;
    font-weight: 600;
  }

  .product-val {
    color: #333;

    a {
      color: #115ea3;
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }

      &.product-leaf {
        color: #8764b8;
      }
    }
  }

  .product-chev {
    margin: 0 4px;
    color: #616161;
  }

  .product-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #1f7a4f;
    vertical-align: middle;
  }

  /* ---------- Delivery address ---------- */
  .product-section-title {
    margin: 6px 0;
    font-size: 16px;
    font-weight: 600;
  }

  .product-help {
    margin: 0 0 14px;
    color: #616161;
    font-size: 13.5px;
  }

  .product-field-label {
    margin-bottom: 5px;
    color: #616161;
    font-size: 13px;
  }

  .product-select {
    position: relative;
    margin-bottom: 12px;

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 14px;
      width: 9px;
      height: 9px;
      border-right: 1.6px solid #616161;
      border-bottom: 1.6px solid #616161;
      transform: translateY(-65%) rotate(45deg);
      pointer-events: none;
    }
  }

  .product-address {
    width: 100%;
    padding: 11px 38px 11px 13px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    color: #242424;
    font-family: inherit;
    font-size: 14px;
    text-overflow: ellipsis;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;

    &:focus {
      outline: none;
      border-color: #1f7a4f;
      box-shadow: 0 0 0 1px #1f7a4f;
    }
  }

  /* Relocated B2BWave select: strip Material/Bootstrap form-group chrome */
  .product-address-slot {
    .form-group {
      margin: 0;
      padding: 0;
    }

    .material-input {
      display: none;
    }

    select.product-address {
      height: auto;
      margin: 0;
      box-shadow: none;
      background-image: none;
    }
  }

  .product-btn-outline {
    width: 100%;
    margin-bottom: 22px;
    padding: 11px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    color: #242424;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;

    &:hover {
      background: #f6f6f6;
    }
  }

  /* ---------- Quantity stepper ---------- */
  .product-stepper {
    display: flex;
    align-items: center;
    height: 46px;
    margin-bottom: 28px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .15s;

    &:hover {
      border-color: #93117E;
    }

    button {
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 52px;
      height: 100%;
      border: none;
      background: #fff;
      cursor: pointer;

      img {
        width: 14px;
        height: 14px;
      }
    }

    input {
      flex: 1;
      width: 100%;
      height: 100%;
      border: none;
      color: #242424;
      font-family: inherit;
      font-size: 15px;
      text-align: center;

      &:focus {
        outline: none;
      }
    }
  }

  .product-price {
    margin-bottom: 2px;
    color: #1f7a4f;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.5px;
  }

  .product-cents {
    font-size: 17px;
    font-weight: 700;
    vertical-align: super;
  }

  .product-tax {
    margin: 6px 0 18px;
    color: #616161;
    font-size: 13px;
  }

  .product-btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: #048259;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;

    .product-cart-icon {
      width: 18px;
      height: 18px;
      filter: brightness(0) invert(1);
    }

    &:hover {
      background: #016143;
    }
  }

  .product-real-form {
    display: none !important;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .product-layout {
      grid-template-columns: 1fr;
    }

    .product-buybox {
      order: -1;
    }
  }
}

.dxl-address-modal {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dxl-address-modal * {
  box-sizing: border-box;
}

/* Header */
.dxl-address-modal .modal-header {
  position: relative;
  padding: 22px 24px 6px;
  border: none;
}

.dxl-address-modal .modal-title {
  font-size: 19px;
  font-weight: 700;
  color: #242424;
  letter-spacing: -0.2px;
}

.dxl-address-modal .modal-header .close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: none;
  opacity: 1;
  color: #616161;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  text-shadow: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.dxl-address-modal .modal-header .close:hover {
  background: #f0f0f0;
  color: #242424;
}

/* Body layout */
.dxl-address-modal .modal-body {
  padding: 8px 24px 20px;
}

.dxl-address-modal .modal-body form {
  margin: 0;
}

.dxl-address-modal [class*='col-md-'] {
  padding-left: 9px;
  padding-right: 9px;
}

.dxl-address-modal .dxl-col {
  margin-bottom: 14px;
}

.dxl-address-modal .dxl-col-full {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.dxl-address-modal .clearfix {
  clear: both;
}

/* Labels and fields */
.dxl-address-modal .form-group {
  position: relative;
  margin-bottom: 0;
}

.dxl-address-modal .form-group > label,
.dxl-address-modal .field > label {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  color: #242424;
  font-size: 13px;
  font-weight: 600;
}

.dxl-address-modal .field {
  margin-bottom: 0;
}

.dxl-address-modal .material-input {
  display: none;
}

.dxl-address-modal input.form-control,
.dxl-address-modal select.form-control,
.dxl-address-modal input[type=text],
.dxl-address-modal input[type=email],
.dxl-address-modal input[type=tel] {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fff;
  color: #242424;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.dxl-address-modal input::placeholder {
  color: #9a9a9a;
}

.dxl-address-modal input.form-control:focus,
.dxl-address-modal select.form-control:focus,
.dxl-address-modal input:focus {
  outline: none;
  border-color: #93117E;
  box-shadow: 0 0 0 3px rgba(147, 17, 126, 0.14);
}

.dxl-address-modal select.form-control {
  padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23616161' stroke-width='1.6' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  cursor: pointer;
}

/* Example hint below each field */
.dxl-address-modal .dxl-hint {
  margin: 3px 0 0;
  color: #9a9a9a;
  font-size: 12.5px;
  line-height: 1.3;
}

.dxl-address-modal .dxl-country-col .field > label {
  margin-bottom: 6px;
}

.dxl-address-modal .dxl-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  color: #616161;
  font-size: 12.5px;
}

.dxl-address-modal .dxl-note-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.3px solid #9a9a9a;
  color: #9a9a9a;
  font-size: 10px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

/* Native submit is hidden; the footer button drives it */
.dxl-address-modal .dxl-native-submit {
  display: none !important;
}

.dxl-address-modal .errors {
  margin: 4px 0 0;
  font-size: 13px;
}

/* Footer */
.dxl-address-modal .modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px 22px;
  border: none;
}

.dxl-address-modal .dxl-btn {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.dxl-address-modal .dxl-btn-cancel {
  border: 1px solid #d6d6d6;
  background: #fff;
  color: #242424;
}

.dxl-address-modal .dxl-btn-cancel:hover {
  background: #f6f6f6;
}

.dxl-address-modal .dxl-btn-save {
  border: none;
  background: #93117E;
  color: #fff;
}

.dxl-address-modal .dxl-btn-save:hover {
  background: #7d0f6b;
}

.dxl-address-modal .dxl-btn-save:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(147, 17, 126, 0.3);
}


