/* Materac Violet 2.9.4 — product reference design. Loaded LAST, on product pages only.
   Preserves native WooCommerce variation select, gallery links, pricing and integrations. */

/* 1. Full canvas and desktop hierarchy. */
.single-product .msv-product-page:has(.msv293-product) {
  width: min(1536px, calc(100% - 52px)) !important;
  max-width: 1536px !important;
  margin-inline: auto;
  padding-bottom: 90px;
}
.single-product .msv293-product.msv24-product.msv25-product {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
  --msv293-ink: #14142f;
  --msv293-violet: #5d25bb;
  --msv293-violet-dark: #351181;
  --msv293-line: #e2e1ed;
  --msv293-lavender: #f5f0ff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--msv293-ink);
}
.single-product .msv293-product .msv24-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .94fr) !important;
  grid-template-areas: "gallery buy" "details buy";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 0 clamp(22px, 2.6vw, 38px) !important;
}
.msv293-product .msv24-gallery-column { grid-area: gallery; min-width:0; }
.msv293-product .msv24-summary-column { grid-area: buy; min-width:0; width:100%; max-width:none !important; }
.msv293-product .msv293-left-details { grid-area: details; min-width:0; }

/* 2. Gallery: large hero photograph, five strong square miniatures, navigation. */
.msv293-product .msv24-gallery-frame {
  padding: 0 !important;
  position: relative;
  max-width: none !important;
  overflow: visible !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 19px;
}
.msv293-product .msv24-gallery-frame .woocommerce-product-gallery {
  position: relative;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.msv293-product .msv24-gallery-frame .woocommerce-product-gallery__wrapper {
  display: block;
  width: 100%;
  border: 1px solid #ebe9f1;
  border-radius: 19px !important;
  background: #f8f7fa;
  overflow: hidden;
}
.msv293-product .msv-single-gallery .woocommerce-product-gallery__image {
  width: 100% !important;
  background: #f8f7fa !important;
}
.msv293-product .msv-single-gallery .woocommerce-product-gallery__image a { display:block; }
.msv293-product .msv-single-gallery .woocommerce-product-gallery__image img,
body.msv28-gallery-enabled .msv293-product .msv-single-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1.235 / 1 !important;
  object-fit: contain !important;
  object-position: center;
  background: #f8f7fa;
}
.msv293-product .msv293-best-badge,
.msv293-product .msv-single-gallery .onsale {
  position: absolute;
  top: 26px;
  left: 25px;
  z-index: 12;
  border: 0;
  border-radius: 999px;
  padding: 10px 17px;
  background: linear-gradient(110deg, #4420a9, #8410d8);
  color: white;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  box-shadow: 0 8px 23px #30146b33;
}
.msv293-product .msv-single-gallery .onsale + .msv293-best-badge { top:73px; }
.msv293-product .woocommerce-product-gallery__trigger {
  top: auto !important;
  bottom: 136px !important;
  right: 22px !important;
  left: auto !important;
  z-index: 7;
  width: 43px !important;
  height: 43px !important;
  border-radius: 50% !important;
  border: 1px solid #eee9f7 !important;
  box-shadow: 0 5px 17px #110a2a1f;
  background: #fff !important;
}
.msv293-product .msv28-gallery-arrow {
  width: 44px;
  height: 44px;
  top: calc((100% - 115px) / 2);
  font-size: 29px;
  border-color: #eeeaf6;
  box-shadow: 0 5px 18px #1a11401f;
}
.msv293-product .msv28-gallery-prev { left: 14px; }
.msv293-product .msv28-gallery-next { right: 14px; }
.msv293-product .msv-single-gallery .msv28-thumbs,
body.msv28-gallery-enabled .msv293-product .msv-single-gallery .msv28-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  width: 100%;
  justify-content: flex-start;
  margin-top: 16px;
  padding: 0 0 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.msv293-product .msv-single-gallery .msv28-thumb,
body.msv28-gallery-enabled .msv293-product .msv-single-gallery .msv28-thumb {
  flex: 0 0 calc((100% - 36px) / 5);
  width: calc((100% - 36px) / 5);
  max-width: 132px;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 3px;
  overflow: hidden;
  border: 1px solid var(--msv293-line);
  border-radius: 14px;
  background: #f7f6f9;
  scroll-snap-align: start;
}
.msv293-product .msv28-thumb img { width:100%; height:100%; border-radius:10px; object-fit:contain; }
body.msv28-gallery-enabled .msv293-product .msv28-thumb[aria-pressed="true"] {
  border: 2px solid #752fdb;
  box-shadow: 0 0 0 2px #752fdb17;
}
/* Flexslider fallback when the lightweight gallery is disabled. */
.msv293-product .msv-single-gallery .flex-control-thumbs {
  display: flex !important;
  gap: 9px;
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 0 !important;
}
.msv293-product .msv-single-gallery .flex-control-thumbs li {
  flex: 0 0 calc((100% - 36px)/5) !important;
  max-width:132px;
  width:auto !important;
  aspect-ratio:1;
  border-radius: 14px;
  background:#f7f6f9;
}
.msv293-product .msv-single-gallery .flex-control-thumbs li img { object-fit:contain; }

/* 3. Product name, review and real product price. */
.msv293-product .msv293-product-heading-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin: -1px 0 6px;
}
.msv293-product .msv24-category-label {
  color: #6849a8;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 11px;
  font-weight: 800;
  margin:0 !important;
}
.msv293-product .msv293-sku { color:#77748e; font-size:12px; line-height:1.5; text-align:right; }
.msv293-product .product_title {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(29px, 2.9vw, 43px) !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  color: #10102a !important;
  letter-spacing: -.04em;
  margin: 8px 0 9px !important;
}
.msv293-product .msv24-summary-column .woocommerce-product-rating { margin: 7px 0 12px; gap:10px; }
.msv293-product .woocommerce-review-link { font-size: 12px; color:#292641; }
.msv293-product .star-rating { color:#f5a500; }
.msv293-product .msv24-summary-column > p.price,
.msv293-product.product-type-simple .msv24-summary-column > p.price,
.msv293-product.product-type-variable.msv25-price-selected .msv24-summary-column > p.price {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin: 13px 0 13px !important;
  font-family: inherit;
  color: #3c1888 !important;
  font-size: clamp(29px, 3vw, 42px) !important;
  font-weight: 900 !important;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.msv293-product .msv24-summary-column > p.price .woocommerce-Price-amount { font-size:inherit; font-weight:900; color:inherit; }
.msv293-product .msv24-summary-column > p.price del {font-size: .55em; opacity:.67;}
.msv293-product .msv24-summary-column > p.price ins {text-decoration:none;}
.msv293-product .msv24-summary-column > .woocommerce-product-details__short-description {
  margin: 5px 0 11px;
  max-width:none;
  color:#66647c;
  font-size:13px;
  line-height:1.55;
}
.msv293-product .msv24-summary-column > .product_meta { padding-top:11px; border-top:0; margin: 8px 0; }
.msv293-product .product_meta .sku_wrapper { display:none; }

/* 4. The native Woo variation form becomes a polished configurator. */
.msv293-product .msv24-summary-column form.cart,
.msv293-product .msv24-summary-column form.cart.variations_form {
  display: block;
  width:100%;
  min-width:0;
  margin: 0 0 14px !important;
  padding: clamp(16px, 1.7vw, 22px) !important;
  border: 1px solid #e0dfeb !important;
  border-radius: 21px !important;
  background: #fff;
  box-shadow: 0 2px 8px #1a104109 !important;
}
.msv293-product .msv25-form-intro {
  display:flex;
  flex-direction:column;
  padding:0 0 14px;
  margin:0 0 16px;
  gap:4px;
  border-bottom: 1px solid #e8e6ef;
}
.msv293-product .msv25-form-intro strong { font-size:19px; font-weight:850; letter-spacing:-.035em; color:#13132e; }
.msv293-product .msv25-form-intro span { font-size:12px; line-height:1.5; color:#7d7990; }
.msv293-product form.cart .variations { width:100%; margin:0 0 10px !important; }
.msv293-product form.cart .variations tr { margin:0 0 20px; }
.msv293-product form.cart .variations tr:last-child { margin-bottom: 3px; }
.msv293-product .msv25-picker { margin-bottom: 18px; }
.msv293-product .msv25-picker-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:6px 10px; margin:0 0 10px; }
.msv293-product .msv25-picker-heading strong { color:#181833; font-size:15px; font-weight:850; }
.msv293-product .msv25-picker-current { color:#786894; font-size:11px; font-weight:650; }
.msv293-product .msv25-size-guide { margin-left:auto; font-size:11px; color:#5c25c5; font-weight:750; text-decoration:underline; text-underline-offset:3px; }
.msv293-product .msv25-picker--cover .msv25-picker-grid,
.msv293-product .msv25-picker--size .msv25-picker-grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px;
  align-items:stretch;
}
.msv293-product .msv25-cover-card { position:relative; min-width:0; width:100%; }
.msv293-product .msv25-choice--cover {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
  width:100%;
  min-width:0;
  min-height: 105px;
  padding: 9px 9px 10px !important;
  gap:7px;
  text-align:left;
  overflow: hidden;
  border:1px solid #dfdeeb;
  border-radius:13px;
  background: #fff;
  color: #171632;
  font-size:12px;
  transition: border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.msv293-product .msv25-cover-visual, .msv293-product .msv25-cover-icon {
  position:relative;
  display:block;
  width:100%;
  height:63px;
  flex: 0 0 63px;
  min-width:0;
  overflow:hidden;
  border-radius:9px;
  background:#f3f0f6;
}
.msv293-product .msv25-cover-image {
  display:block; position:static;
  width:100%; height:100%;
  object-fit:cover;
  border-radius:9px;
  box-shadow:none;
  transform:none !important;
}
.msv293-product .msv25-cover-icon {display:grid;place-items:center;color:#9a83bd;font-size:24px;}
.msv293-product .msv25-cover-name { color:#222039; font-size:12px; font-weight:750; line-height:1.2; text-align:left; overflow-wrap:anywhere; }
.msv293-product .msv25-choice--cover.is-selected,
.msv293-product .msv25-cover-card.is-selected .msv25-choice--cover {
  border:2px solid #6a2ed4;
  background: linear-gradient(150deg, #fff, #f4edff);
  box-shadow: 0 0 0 2px #6a2ed41a;
  padding:8px 8px 9px !important;
}
.msv293-product .msv25-cover-card.is-selected::after {
  content:'✓';
  position:absolute;top:-4px;right:-3px;z-index:6;
  display:grid;place-items:center;
  width:25px;height:25px;
  color:#fff;background:#6a22c8;
  border:2px solid #fff;border-radius:50%;
  font-size:12px;font-weight:900;
  pointer-events:none;
}
.msv293-product .msv25-cover-info-button {
  top:7px;right:7px;z-index:7;
  width:22px;height:22px;min-width:22px;min-height:22px;
  border:1px solid #ddd3f0;
  border-radius:50%; background:#fff; color:#5a36a4;
  font-size:12px;
}
.msv293-product .msv25-cover-card.is-selected .msv25-cover-info-button { top:31px; }
.msv293-product .msv25-cover-info-panel {
  margin-top:10px; padding:15px;
  background:#f9f6ff;border-radius:12px;
}
.msv293-product .msv25-picker--size .msv25-choice {
  display:block;
  position:relative;
  min-height:38px;
  width:100%;
  padding:8px 7px;
  border:1px solid #dfdeeb;
  border-radius:999px;
  background:#fff;
  color:#25213e;
  font-size:11.5px;
  font-weight:750;
  line-height:1.18;
  white-space:nowrap;
  box-shadow:none;
}
.msv293-product .msv25-picker--size .msv25-choice.is-selected {
  border:2px solid #722bd7;
  background:#f7f1ff;
  box-shadow: 0 0 0 2px #7429d511;
  color: #32116c;
  padding:7px 22px 7px 4px;
}
.msv293-product .msv25-picker--size .msv25-choice.is-selected::after {
  content:'✓'; position:absolute;right:5px;top:50%;transform:translateY(-50%);
  width:17px;height:17px;display:grid;place-items:center;
  color:white;background:#6425c9;border-radius:50%;font-size:10px;
}
.msv293-product .msv25-choice:disabled {cursor:not-allowed; opacity:.45; filter:grayscale(.5);}
.msv293-product .msv25-picker--cover .msv25-choice:hover:not(:disabled),
.msv293-product .msv25-picker--size .msv25-choice:hover:not(:disabled) {border-color:#8b53e1; background:#fbf8ff;}
.msv293-product .msv25-choice:focus-visible {outline:3px solid #af8aeb;outline-offset:3px;}
.msv293-product .msv25-form-ready .variations .reset_variations { margin-top:6px; }
.msv293-product .woocommerce-variation-price {
  border:0 !important;
  border-radius:15px !important;
  background:linear-gradient(106deg,#f3edff,#eae0ff) !important;
  margin:15px 0 13px !important;
  padding:16px 18px !important;
}
.msv293-product .woocommerce-variation-price::before {
  display:block;
  content:'Cena wybranego wariantu';
  margin-bottom:6px;
  color:#5d527a;
  font-size:12px;
  font-weight:650;
  letter-spacing:0;
}
.msv293-product .woocommerce-variation-price .price,
.msv293-product .woocommerce-variation-price .woocommerce-Price-amount {
  font-size:clamp(25px,2.3vw,32px) !important;
  line-height:1.2;
  font-weight:900 !important;
  color:#471599 !important;
}
.msv293-product form.cart .woocommerce-variation-add-to-cart,
.msv293-product form.cart .msv293-cart-row {
  display:flex;
  gap:10px;
  align-items:stretch;
  margin-top:12px;
}
.msv293-product form.cart .quantity { flex:0 0 auto; display:flex; align-items:stretch; margin:0 !important; }
.msv293-product .msv293-qty-stepper { display:flex; align-items:stretch; border:1px solid #e1dcea; border-radius:12px; overflow:hidden; }
.msv293-product .msv293-qty-stepper button {
  display:grid;place-items:center; width:34px; min-width:34px;
  border:0;background:#fff;color:#351768;
  font-size:20px;font-weight:750;line-height:1;font-family:inherit;cursor:pointer;
}
.msv293-product .msv293-qty-stepper button:hover:not(:disabled) { background:#f5efff; }
.msv293-product .msv293-qty-stepper button:disabled { opacity:.35; cursor:not-allowed; }
.msv293-product form.cart .msv293-qty-stepper input.qty {
  appearance:textfield;
  width:45px; min-width:0; min-height:50px !important;
  border:0 !important; border-radius:0;
  border-inline:1px solid #efedf4 !important;
  background:transparent;text-align:center;
  padding:4px 2px; font-size:14px;
}
.msv293-product .msv293-qty-stepper input.qty::-webkit-inner-spin-button,
.msv293-product .msv293-qty-stepper input.qty::-webkit-outer-spin-button { appearance:none; margin:0; }
.msv293-product form.cart .quantity:not(:has(.msv293-qty-stepper)) .qty {min-height:52px!important;}
.msv293-product .msv-single-summary .single_add_to_cart_button {
  flex:1 1 0;
  width:auto;
  min-width:0;
  min-height:52px !important;
  border:0 !important;
  border-radius:12px !important;
  background:linear-gradient(105deg,#44209a,#8520db) !important;
  color:#fff !important;
  font-weight:850 !important;
  font-size:14px !important;
  box-shadow:0 6px 15px #4d1d941f;
  white-space:normal;
}
.msv293-product .msv-single-summary .single_add_to_cart_button:not(:disabled):hover {filter:brightness(1.09);}
.msv293-product .msv24-inline-assurance { margin-top:12px;border-radius:13px; }

/* 5. Under the left gallery: elegant, attribute-driven highlight bar and benefits. */
.msv293-product .msv293-left-details .msv24-highlights {
  display:flex;
  flex-wrap:nowrap;
  align-items:stretch;
  width:100%;
  margin: 16px 0 25px !important;
  padding: 15px 8px;
  gap:0;
  border: 0;
  border-radius:16px;
  background:linear-gradient(110deg,#fbfaff,#f6f4fa);
  box-shadow:none;
}
.msv293-product .msv24-highlight {
  flex:1 1 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  text-align:center;
  padding:4px 10px;
  border-right:1px solid #e9e6ef;
}
.msv293-product .msv24-highlight:last-child {border-right:0;}
.msv293-product .msv24-highlight-icon {
  display:grid; place-items:center;
  margin:0 0 7px;
  color:#4e229c;
  background:transparent;
  border:0;
  width:35px;height:35px;
}
.msv293-product .msv24-highlight-icon .msv21-svg { width:26px;height:26px; }
.msv293-product .msv24-highlight div {min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;}
.msv293-product .msv24-highlight strong {color:#1e1a3a;font-size:12px;line-height:1.32;font-weight:800;overflow-wrap:anywhere;}
.msv293-product .msv24-highlight span:not(.msv24-highlight-icon) {color:#5e5773;font-size:11px;line-height:1.35;overflow-wrap:anywhere;}
.msv293-product .msv293-key-features { margin:19px 0 23px; }
.msv293-product .msv293-key-features h2 {
  margin:0 0 16px;
  color:#13142d;
  font-family:inherit;
  font-size:clamp(20px,2vw,27px);
  font-weight:850;
  line-height:1.25;
  letter-spacing:-.03em;
}
.msv293-product .msv293-key-features-inner { display:flex;align-items:center;gap:18px; }
.msv293-product .msv293-feature-image {
  display:grid;place-items:center;
  flex:0 0 39%;
  width:39%;
  min-width:0;
  max-height:210px;
  overflow:hidden;
  border-radius:15px;
  background:#f7f5fb;
}
.msv293-product .msv293-feature-image img { width:100%; max-height:210px;object-fit:contain; }
.msv293-product .msv293-feature-points {flex:1 1 auto;min-width:0;list-style:none;margin:0;padding:0;display:grid;gap:11px;}
.msv293-product .msv293-feature-points li {display:flex;align-items:baseline;gap:9px;color:#343149;font-size:12.5px;line-height:1.45;}
.msv293-product .msv293-feature-points strong {font-weight:800;}
.msv293-product .msv293-check {flex:0 0 14px;font-size:17px;line-height:1;color:#6825d0;font-weight:900;}

/* 6. Familiar Woo tabs: inside left column, shortened only with an opt-in expand button. */
.msv293-product .msv293-product-tabs { min-width:0; margin:22px 0 3px; }
.msv293-product .msv293-product-tabs .woocommerce-tabs {
  width:100%;min-width:0;
  margin:0;
  border:1px solid #e8e6f0;
  border-radius:16px;
  padding:0 20px 18px !important;
  background:linear-gradient(180deg,#fbfaff,#fff);
  box-shadow:none;
}
.msv293-product .msv293-product-tabs .woocommerce-tabs ul.tabs {
  display:flex;
  flex-wrap:nowrap;
  gap:23px;
  overflow-x:auto;
  scrollbar-width:thin;
  margin:0 0 12px !important;
  padding:0 !important;
  border-bottom:1px solid #e9e7f1;
}
.msv293-product .msv293-product-tabs .woocommerce-tabs ul.tabs li {flex:0 0 auto;white-space:nowrap;}
.msv293-product .msv293-product-tabs .woocommerce-tabs ul.tabs li a {color:#35304d;font-size:12px!important;padding:16px 0 !important;font-weight:700;}
.msv293-product .msv293-product-tabs .woocommerce-tabs ul.tabs li.active a {color:#5622b1!important;border-bottom:2px solid #7229db;}
.msv293-product .msv293-product-tabs .woocommerce-tabs .panel {
  margin:0 !important;
  padding:0 0 4px;
  color:#4f4c62;
  font-size:12.5px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.msv293-product .msv293-product-tabs .woocommerce-tabs .panel h2 {font-family:inherit;font-size:17px;font-weight:850;color:#14142f;margin:11px 0 10px;}
.msv293-product .msv293-product-tabs .woocommerce-tabs .panel h3 {font-family:inherit;font-size:14px;color:#1e1b3e;}
.msv293-product .msv293-product-tabs .woocommerce-tabs .panel ul {padding-left:21px;}
.msv293-product .msv293-product-tabs .woocommerce-tabs .panel.msv293-description-collapsed {max-height:200px;overflow:hidden;position:relative;}
.msv293-product .msv293-product-tabs .woocommerce-tabs .panel.msv293-description-collapsed::after {
  content:'';position:absolute;bottom:0;left:0;right:0;height:52px;
  background:linear-gradient(0deg,#fff,transparent);pointer-events:none;
}
.msv293-product .msv293-description-toggle {
  display:inline-flex;gap:7px;align-items:center;margin-top:8px;
  border:0;background:none;color:#5c24bb;font-size:13px;font-weight:800;cursor:pointer;padding:5px 0;
}
.msv293-product .msv293-description-toggle[hidden] {display:none !important;}
.msv293-product .msv293-description-toggle::after {content:'⌄';font-size:18px;line-height:1;}
.msv293-product .msv293-description-toggle[aria-expanded="true"]::after {content:'⌃';}

/* 7. Real help/terms pages when published. No invented promises. */
.msv293-product .msv293-help-links {
  margin:15px 0 12px;
  padding:3px 18px;
  border:1px solid #e5e4ed;
  border-radius:15px;
  background:linear-gradient(130deg,#fcfbff,#fff);
}
.msv293-product .msv293-help-links a {
  display:flex;align-items:center;gap:13px;
  min-height:61px;padding:10px 1px;
  text-decoration:none;color:#19192f;
  border-bottom:1px solid #eceaf2;
}
.msv293-product .msv293-help-links a:last-child {border-bottom:0;}
.msv293-product .msv293-help-links a > .msv21-svg {flex:0 0 27px;width:25px;height:25px;color:#37207f;}
.msv293-product .msv293-help-text {flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.msv293-product .msv293-help-text strong {font-size:12.5px;font-weight:850;line-height:1.3;color:#201d3c;}
.msv293-product .msv293-help-text small {font-size:11.5px;line-height:1.3;color:#726e85;}
.msv293-product .msv293-help-chevron {font-size:24px;color:#423b6b;font-weight:300;}
.msv293-product .msv293-help-links a:hover .msv293-help-text strong {color:#6926be;}
.msv293-product .msv-single-after { clear:both; }
.msv293-product .msv24-why-section { margin-top:26px; }
.msv293-product .msv24-lifestyle-block { margin-top:26px; }
.msv293-product .msv24-quiz-cta { margin-top:24px; }

/* 8. Correct responsive order: mobile sees gallery -> buy controls -> product details. */
@media(max-width: 1150px) {
  .single-product .msv-product-page:has(.msv293-product) { width:calc(100% - 36px) !important; }
  .single-product .msv293-product .msv24-main-grid {
    grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr) !important;
    column-gap:22px !important;
  }
  .msv293-product .msv25-picker--cover .msv25-picker-grid {gap:6px;}
  .msv293-product .msv25-choice--cover {min-height:99px;}
  .msv293-product .msv25-cover-visual {height:54px; flex-basis:54px;}
}
@media(max-width: 960px) {
  .single-product .msv293-product .msv24-main-grid {
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-areas:"gallery" "buy" "details";
    grid-template-rows:auto;
    gap:18px !important;
  }
  .msv293-product .msv24-summary-column {max-width:720px !important;margin:0 auto;}
  .msv293-product .msv293-left-details {width:100%;max-width:720px;margin:0 auto;}
  .msv293-product .msv24-gallery-column {max-width:720px;width:100%;margin:0 auto;}
  .msv293-product .msv28-gallery-arrow {top:calc((100% - 120px)/2);}
}
@media(max-width:700px) {
  .single-product .msv-product-page:has(.msv293-product) {width:calc(100% - 24px) !important;}
  .msv293-product .msv293-product-heading-line {align-items:flex-start;}
  .msv293-product .msv293-sku {font-size:10px;}
  .msv293-product .product_title {font-size:clamp(26px,7.1vw,34px) !important;}
  .msv293-product .msv24-summary-column > p.price,
  .msv293-product.product-type-variable.msv25-price-selected .msv24-summary-column > p.price {font-size:clamp(28px,7.8vw,36px) !important;}
  .msv293-product .msv-single-gallery .woocommerce-product-gallery__image img {aspect-ratio:1.16/1 !important;}
  .msv293-product .msv24-gallery-frame .woocommerce-product-gallery__wrapper {border-radius:15px!important;}
  .msv293-product .msv293-best-badge,.msv293-product .msv-single-gallery .onsale {top:13px;left:12px;font-size:11px;padding:8px 12px;}
  body.msv28-gallery-enabled .msv293-product .msv28-thumb {flex-basis:calc((100% - 28px)/4);width:calc((100% - 28px)/4);}
  .msv293-product .woocommerce-product-gallery__trigger {bottom:99px!important;right:11px!important;}
  .msv293-product .msv28-gallery-arrow {width:35px;height:35px;top:calc((100% - 98px)/2);}
  .msv293-product .msv24-summary-column form.cart.variations_form {padding:17px 14px !important;}
  .msv293-product .msv25-picker--cover .msv25-picker-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px;}
  .msv293-product .msv25-picker--size .msv25-picker-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px;}
  .msv293-product .msv25-choice--cover {min-height:100px;padding:7px!important;}
  .msv293-product .msv25-cover-card.is-selected .msv25-choice--cover {padding:6px!important;}
  .msv293-product .msv25-cover-visual,.msv293-product .msv25-cover-icon {height:50px;flex-basis:50px;}
  .msv293-product .msv25-cover-name {font-size:11px;}
  .msv293-product .msv25-picker--size .msv25-choice {font-size:10px;min-height:38px;}
  .msv293-product .msv293-left-details .msv24-highlights {margin:8px 0 18px!important;padding:11px 3px;}
  .msv293-product .msv24-highlight {padding:3px 7px;}
  .msv293-product .msv24-highlight strong {font-size:11px;}
  .msv293-product .msv24-highlight span:not(.msv24-highlight-icon) {font-size:10px;}
  .msv293-product .msv293-key-features-inner {gap:12px;}
  .msv293-product .msv293-feature-image {flex-basis:34%;width:34%;}
  .msv293-product .msv293-feature-points li {font-size:11px;}
  .msv293-product .msv293-product-tabs .woocommerce-tabs {padding:0 14px 15px!important;}
  .msv293-product .msv293-product-tabs .woocommerce-tabs ul.tabs {gap:16px;}
}
@media(max-width:440px) {
  .msv293-product .msv25-picker--cover .msv25-picker-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px;}
  .msv293-product .msv25-picker--size .msv25-picker-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:7px;}
  .msv293-product .msv25-choice--cover {min-height:108px;}
  .msv293-product .msv25-cover-visual,.msv293-product .msv25-cover-icon {height:60px;flex-basis:60px;}
  .msv293-product .msv293-qty-stepper button {width:30px;min-width:30px;}
  .msv293-product form.cart .msv293-qty-stepper input.qty {width:35px;}
  .msv293-product .msv-single-summary .single_add_to_cart_button {font-size:12px!important;padding-inline:8px!important;}
  .msv293-product .msv293-key-features-inner {flex-direction:column;align-items:stretch;}
  .msv293-product .msv293-feature-image {width:100%;max-height:155px;}
  .msv293-product .msv293-feature-image img {max-height:155px;}
  .msv293-product .msv24-highlight-icon .msv21-svg {width:22px;height:22px;}
}
@media(prefers-reduced-motion:reduce) {
 .msv293-product .msv25-choice--cover {transition:none;}
}


/* Materac Violet 2.9.4 — final typography, separate delivery panel, fixed related grid.
   Scope everything to the single-product experience; shop/archive grids stay unchanged. */

/* Modern, self-contained typography (does not require an external font request). */
.single-product .msv-product-page:has(.msv293-product),
.single-product .msv293-product,
.single-product .msv293-product button,
.single-product .msv293-product input,
.single-product .msv293-product select {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.single-product .msv293-product :is(h1,h2,h3,h4),
.single-product .msv293-product .msv24-why-section h2,
.single-product .msv293-product .msv24-lifestyle-block h2,
.single-product .msv293-product .msv24-quiz-cta h2,
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > h2 {
  font-family: inherit !important;
  letter-spacing: -.035em;
  color: #17142f;
}
.single-product .msv293-product .product_title {
  font-size: clamp(30px, 2.55vw, 42px) !important;
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  line-height: 1.13 !important;
}
.single-product .msv293-product .msv25-form-intro strong {font-size:clamp(18px,1.55vw,21px);font-weight:800;}
.single-product .msv293-product .msv25-picker-heading strong {font-size:15px;font-weight:800;}
.single-product .msv293-product .msv25-cover-name {font-size:12.5px;font-weight:700;}
.single-product .msv293-product .msv25-picker--size .msv25-choice {font-size:12px;font-weight:700;}
.single-product .msv293-product .msv24-lifestyle-block h2 {font-size:clamp(25px,2.5vw,37px);line-height:1.18;}
.single-product .msv293-product .msv24-quiz-cta h2 {font-size:clamp(22px,2.1vw,32px);line-height:1.21;}
.single-product .msv293-product .msv293-product-tabs .woocommerce-tabs .panel {font-size:13.5px;line-height:1.75;}

/* The shipping plugin's live value is displayed in its own premium card,
   directly BELOW the WooCommerce cart/variant selector (not above it). */
.single-product .msv293-product .msv24-summary-column > .msv294-delivery-card {
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  margin:14px 0 16px !important;
  padding:15px 18px;
  border:1px solid #e6def4;
  border-radius:17px;
  background:linear-gradient(105deg,#faf7ff 0%,#fff 100%);
  box-shadow:0 4px 18px rgba(57,32,112,.045);
  color:#27213f;
}
.single-product .msv293-product .msv294-delivery-icon {
  display:grid;place-items:center;
  flex:0 0 46px;
  width:46px;height:46px;
  border-radius:13px;
  background:#eee6ff;
}
.single-product .msv293-product .msv294-delivery-icon::before {
  content:'';
  display:block;
  width:24px;height:24px;
  background:no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23552ca2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.5h12v11h-12zM13.5 9h4.3l4.2 4.5v3h-8.5z'/%3E%3Cpath d='M17.8 9v4.5H22'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
}
.single-product .msv293-product .msv294-delivery-content {min-width:0;flex:1;}
.single-product .msv293-product .msv294-delivery-heading {
  display:block;
  margin:0 0 3px;
  font-size:14px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:-.014em;
  color:#211745;
}
.single-product .msv293-product .msv294-delivery-value,
.single-product .msv293-product .msv294-delivery-value .msv25-shipping-estimate {
  position:static !important;
  display:block;
  width:auto;
  min-height:0;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  color:#5d5475;
  font-family:inherit;
  font-size:13px;
  line-height:1.5;
  font-weight:600;
}
.single-product .msv293-product .msv294-delivery-value .msv25-shipping-estimate::before {display:none!important;content:none!important;}
.single-product .msv293-product .msv294-delivery-value :is(strong,b) {font-weight:800;color:#3f1b89;}
.single-product .msv293-product .msv294-delivery-value .amount {color:#3f1b89;font-weight:850;}

/* WooCommerce clearfix pseudo-elements otherwise consume grid cells:
   first real item starts in column 2 and fourth moves to a new row. */
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) {
  clear:both;
  width:100%;
  margin:48px 0 0;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > h2 {
  margin:0 0 21px !important;
  font-size:clamp(25px,2.3vw,33px) !important;
  line-height:1.22;
  font-weight:800 !important;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > ul.products {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:clamp(12px,1.4vw,21px) !important;
  align-items:stretch;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  width:100%;
  min-width:0;
  clear:both;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > ul.products::before,
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > ul.products::after {
  content:none !important;
  display:none !important;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > ul.products > li.product {
  display:block !important;
  position:relative;
  clear:none !important;
  float:none !important;
  width:100% !important;
  max-width:none !important;
  min-width:0;
  margin:0 !important;
  padding:10px !important;
  border:1px solid #e9e3f4;
  border-radius:18px;
  background:white;
  overflow:hidden;
  box-shadow:0 2px 12px rgba(43,23,83,.025);
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > ul.products > li.product > .msv-product-card {
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
  padding:0;
  border:0;
  box-shadow:none;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-product-photo {
  display:flex;
  width:100%;
  height:auto;
  aspect-ratio:1.23/1;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:12px;
  background:#f5f1fb;
  overflow:hidden;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-product-photo img {
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:contain;
  margin:0 !important;
  background:transparent;
  mix-blend-mode:multiply;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-product-card-body {
  flex:1;
  min-width:0;
  padding:14px 5px 5px;
  display:flex;
  flex-direction:column;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-small-label {
  font-size:10px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.09em;
  color:#8158c2;
  text-transform:uppercase;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-product-card h3 {
  min-height:3.9em;
  margin:8px 0 12px;
  font-size:clamp(13px,1vw,15px) !important;
  font-weight:750;
  line-height:1.45;
  letter-spacing:-.013em;
  color:#181630;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-card-bottom {margin-top:auto;display:flex;align-items:center;gap:9px;}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-price {
  min-width:0;
  color:#381579;
  font-size:clamp(16px,1.25vw,20px);
  line-height:1.3;
  font-weight:850;
  letter-spacing:-.02em;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv22-from {font-size:.71em;font-weight:600;color:#765da5;}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-product-arrow {
  flex:0 0 36px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid #e1d1f6;
  border-radius:50%;
  color:#5722a8;
  font-size:18px;
  transition:background .15s,color .15s;
}
.single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-product-arrow:hover {background:#5926ac;color:#fff;}

/* Desktop -> tablet -> phone: four / three / two / one real product cards. */
@media(max-width:1150px) {
  .single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > ul.products {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media(max-width:850px) {
  .single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:13px !important;
  }
}
@media(max-width:520px) {
  .single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) > ul.products {
    grid-template-columns:minmax(0,1fr) !important;
    gap:15px !important;
  }
  .single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-product-card h3 {
    font-size:15px !important; min-height:0;
  }
  .single-product .msv293-product .msv-single-after :is(.related.products,.upsells.products) .msv-product-photo {aspect-ratio:1.6/1;}
  .single-product .msv293-product .msv24-summary-column > .msv294-delivery-card {padding:13px;gap:11px;border-radius:14px;}
  .single-product .msv293-product .msv294-delivery-icon {flex-basis:40px;width:40px;height:40px;}
  .single-product .msv293-product .msv294-delivery-heading {font-size:13.5px;}
  .single-product .msv293-product .msv294-delivery-value {font-size:12.5px;}
}
