#product .wz-legacy-customization-button { display: none !important; }

/* Product pages: remove the legacy demo sidebar and give the real card the full grid. */
body#product #left-column { display: none !important; }
body#product #content-wrapper.js-content-wrapper {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

#product .wz-personalization-card-v2 {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  margin: 22px 0 18px;
  padding: 18px;
  border: 1px solid #ffd36b;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffdf7 0%, #fff 72%);
  box-shadow: 0 10px 28px rgba(50, 42, 30, .08);
}
#product .wz-personalization-card-v2__media { position: relative; min-width: 0; }
#product .wz-personalization-card-v2__media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; border-radius: 14px; background: #fff; }
#product .wz-personalization-card-v2__media span { display: block; margin-top: 8px; padding: 6px 8px; border-radius: 999px; background: #263646; color: #fff; font-size: 10px; font-weight: 800; line-height: 1.2; text-align: center; }
#product .wz-personalization-card-v2__content { min-width: 0; }
body#product #product-customization-sidebar.active { transform: translateX(0) !important; }
#product #product-customization-sidebar [data-wz-card-v2-save] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
}
#product #product-customization-sidebar .product-customization-save-buttom > span.btn-primary { display: none !important; }
#product .wz-personalization-card-v2__eyebrow { margin: 0 0 5px; color: #bd7200; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
#product .wz-personalization-card-v2 h2 { margin: 0 0 7px; color: #242424; font-size: 23px; line-height: 1.12; }
#product .wz-personalization-card-v2__content > p:not(.wz-personalization-card-v2__eyebrow) { margin: 0 0 12px; color: #5d5d5d; font-size: 14px; line-height: 1.45; }
#product .wz-personalization-card-v2 ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
#product .wz-personalization-card-v2 li { display: flex; align-items: center; gap: 6px; color: #434343; font-size: 12px; }
#product .wz-personalization-card-v2 li b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff0c5; color: #9a5a00; }
#product .wz-personalization-card-v2__cta { width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 12px; background: #ff9900; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
#product .wz-personalization-card-v2__cta:hover { background: #e78600; }

#product-customization-sidebar .wz-card-v2-builder { margin: 12px 0 18px; padding: 18px; border: 1px solid #f0d28c; border-radius: 16px; background: #fffdf8; }
#product-customization-sidebar .wz-card-v2-builder__eyebrow { margin: 0 0 3px; color: #bd7200; font-size: 11px; font-weight: 800; letter-spacing: .09em; }
#product-customization-sidebar .wz-card-v2-builder h3 { margin: 0 0 12px; color: #2d2d2d; font-size: 21px; }
#product-customization-sidebar .wz-card-v2-builder__presets { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; }
#product-customization-sidebar .wz-card-v2-builder__presets button { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; min-height: 72px; padding: 10px; border: 1px solid #e1d6bd; border-radius: 12px; background: #fff; color: #3e3e3e; text-align: left; cursor: pointer; }
#product-customization-sidebar .wz-card-v2-builder__presets button b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff0c5; color: #9a5a00; }
#product-customization-sidebar .wz-card-v2-builder__presets button span { font-size: 12px; line-height: 1.3; }
#product-customization-sidebar .wz-card-v2-builder__presets button.is-selected { border-color: #ff9900; box-shadow: 0 0 0 2px rgba(255,153,0,.17); }
#product-customization-sidebar .wz-card-v2-builder__own { width: 100%; margin-bottom: 14px; padding: 11px; border: 1px solid #ff9900; border-radius: 10px; background: #fff; color: #b66d00; font-weight: 700; cursor: pointer; }
#product-customization-sidebar .wz-card-v2-builder__own.is-selected { background: #fff5dc; }
#product-customization-sidebar .wz-card-v2-builder__own-field { display: none; margin: -4px 0 15px; color: #333; font-weight: 700; }
#product-customization-sidebar .wz-card-v2-builder__own-field.is-visible { display: block; }
#product-customization-sidebar .wz-card-v2-builder textarea,
#product-customization-sidebar .wz-card-v2-builder input { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #d7d7d7; border-radius: 10px; background: #fff; color: #222; font: inherit; }
#product-customization-sidebar .wz-card-v2-builder textarea { min-height: 92px; resize: vertical; }
#product-customization-sidebar .wz-card-v2-builder__names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
#product-customization-sidebar .wz-card-v2-builder__names label { color: #333; font-size: 13px; font-weight: 700; }
#product-customization-sidebar .wz-card-v2-builder__engraving-line { display: block; margin-bottom: 14px; color: #333; font-size: 13px; font-weight: 700; }
#product-customization-sidebar .wz-card-v2-builder__summary { padding: 12px; border-radius: 10px; background: #f4f7f8; color: #3b4650; }
#product-customization-sidebar .wz-card-v2-builder__summary b,
#product-customization-sidebar .wz-card-v2-builder__summary span { display: block; }
#product-customization-sidebar .wz-card-v2-builder__summary span { margin-top: 4px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
#product-customization-sidebar .wz-card-v2-native-text > .card-title,
#product-customization-sidebar .wz-card-v2-native-text > span,
#product-customization-sidebar .wz-card-v2-native-text > textarea { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
#product-customization-sidebar .wz-card-v2-file { margin: 0 0 16px; padding: 16px; border: 1px dashed #ff9900; border-radius: 14px; background: #fffaf0; }
#product-customization-sidebar .wz-card-v2-file label { display: block; margin-bottom: 8px; color: #2c2c2c; font-size: 17px; font-weight: 800; }
#product-customization-sidebar .wz-card-v2-file input { width: 100%; padding: 10px; border: 1px solid #e2d2af; border-radius: 10px; background: #fff; }
#product-customization-sidebar .wz-card-v2-file small { display: block; margin-top: 7px; color: #746a59; }
#product-customization-sidebar .wz-card-v2-file-preview { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #4d4d4d; font-size: 12px; overflow-wrap: anywhere; }
#product-customization-sidebar .wz-card-v2-file-preview img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }

#product-customization-sidebar .wz-sentence-picker { margin: 0 0 18px; padding: 16px; border: 1px solid #ffd28f; border-radius: 14px; background: #fffaf2; }
#product-customization-sidebar .wz-sentence-picker__eyebrow { margin: 0 0 4px; color: #b86100; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
#product-customization-sidebar .wz-sentence-picker__title { margin: 0; color: #171717; font-size: 20px; line-height: 1.25; }
#product-customization-sidebar .wz-sentence-picker__help { margin: 8px 0 14px; color: #5a5a5a; font-size: 13px; line-height: 1.45; }
#product-customization-sidebar .wz-sentence-picker__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#product-customization-sidebar .wz-sentence-choice { display: block; min-width: 0; padding: 0; overflow: hidden; border: 2px solid #ddd; border-radius: 11px; background: #fff; color: #202020; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
#product-customization-sidebar .wz-sentence-choice:hover,
#product-customization-sidebar .wz-sentence-choice:focus-visible,
#product-customization-sidebar .wz-sentence-choice.is-selected { border-color: #ff9900; box-shadow: 0 0 0 3px rgba(255,153,0,.2); outline: 0; }
#product-customization-sidebar .wz-sentence-choice__preview { display: block; width: 100%; aspect-ratio: .83; border-bottom: 1px solid #ececec; background-color: #f7f7f7; background-repeat: no-repeat; background-size: 200% 200%; }
#product-customization-sidebar .wz-sentence-choice__label { display: block; padding: 9px 6px; font-size: 13px; font-weight: 800; text-align: center; }
#product-customization-sidebar .wz-sentence-choice.is-selected .wz-sentence-choice__label { background: #ff9900; color: #fff; }
#product-customization-sidebar .wz-sentence-picker__custom { width: 100%; margin: 12px 0 0; padding: 11px 12px; border: 1px solid #1f1f1f; border-radius: 8px; background: #fff; color: #1f1f1f; font-size: 13px; font-weight: 700; cursor: pointer; }
#product-customization-sidebar .wz-sentence-picker__custom:hover,
#product-customization-sidebar .wz-sentence-picker__custom:focus-visible,
#product-customization-sidebar .wz-sentence-picker__custom.is-selected { background: #1f1f1f; color: #fff; outline: 0; }
#product-customization-sidebar .wz-sentence-picker__status { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: #fff0d6; color: #734500; font-size: 12px; font-weight: 650; line-height: 1.4; }
#product-customization-sidebar .wz-sentence-picker + textarea.product-message { min-height: 92px; }

@media (max-width: 767px) {
  #product .wz-personalization-card-v2 { grid-template-columns: 94px minmax(0,1fr); gap: 12px; padding: 13px; border-radius: 15px; }
  #product .wz-personalization-card-v2 h2 { font-size: 18px; }
  #product .wz-personalization-card-v2 ol { display: grid; grid-template-columns: 1fr; }
  #product .wz-personalization-card-v2__content > p:not(.wz-personalization-card-v2__eyebrow) { font-size: 13px; }
  #product-customization-sidebar .wz-card-v2-builder { padding: 13px; }
  #product-customization-sidebar .wz-card-v2-builder__presets,
  #product-customization-sidebar .wz-card-v2-builder__names { grid-template-columns: 1fr; }
  #product-customization-sidebar .wz-sentence-picker { padding: 12px; }
  #product-customization-sidebar .wz-sentence-picker__grid { gap: 8px; }
}
