/* MPS Shop: product */
/* ===== 8. mps-product.css ===== */
/* ---------- HikaShop product page ---------- */
.mps-pp { --mps-green: #394b40; --mps-line: #e3e6e3; --mps-soft: #6b6f6b; }
/* title: the part number moves beside the price */
.mps-pp #hikashop_product_top_part h1 { margin: 0 0 24px; }
.mps-pp #hikashop_product_top_part .hikashop_product_code_main { display: none; }
.mps-pp > .hk-row-fluid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: start; margin: 0; }
.mps-pp > .hk-row-fluid::before, .mps-pp > .hk-row-fluid::after { content: none; }
.mps-pp > .hk-row-fluid > [class*="hkc-"] { width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; }
@media (max-width: 959px) { .mps-pp > .hk-row-fluid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* pictures: main image fits its box, thumbnails directly under it */
.mps-pp #hikashop_image_main_thumb_div { height: auto !important; position: relative; }
.mps-pp #hikashop_main_image { width: 100%; height: auto; max-height: 560px; object-fit: contain; margin: 0 !important; }
.mps-pp .hikashop_slide_prev, .mps-pp .hikashop_slide_next { display: none !important; }
.mps-pp #hikashop_small_image_div { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; justify-content: flex-start; }
.mps-pp #hikashop_small_image_div a { display: block; width: 84px; height: 84px; padding: 4px; border: 1px solid var(--mps-line); border-radius: 6px; background: #fff; box-sizing: border-box; }
.mps-pp #hikashop_small_image_div a.hikashop_active_thumbnail { border: 2px solid var(--mps-green); padding: 3px; }
.mps-pp #hikashop_small_image_div img { width: 100% !important; height: 100% !important; object-fit: contain; margin: 0 !important; border: 0 !important; }

/* buy box */
.mps-pp-box { border: 1px solid var(--mps-line); border-radius: 8px; padding: 24px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.mps-pp-code { font-size: 14px; color: var(--mps-soft); margin: 0 0 4px; letter-spacing: .02em; }
.mps-pp .hikashop_product_price_main { display: block; margin: 0 0 2px; }
.mps-pp .hikashop_product_price_main .hikashop_product_price { font-size: 30px; line-height: 1.2; font-weight: 600; color: #222; }
.mps-pp .hikashop_product_price_main .hikashop_product_price_per_unit { display: none; }
.mps-pp-note { font-size: 13px; color: var(--mps-soft); }
/* options: label above a full-width drop-down, like the checkout fields */
.mps-pp .hikashop_product_characteristics { margin: 20px 0 0; }
.mps-pp .hikashop_product_characteristics_table, .mps-pp .hikashop_product_characteristics_table tbody, .mps-pp .hikashop_product_characteristics_table tr, .mps-pp .hikashop_product_characteristics_table td { display: block; width: 100%; padding: 0; border: 0; background: none !important; }
.mps-pp .hikashop_product_characteristics_table tr + tr { margin-top: 14px; }
.mps-pp .hikashop_product_characteristics_table td:first-child { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #333; }
.mps-pp .hikashop_product_characteristics select {
  width: 100% !important; height: 46px; padding: 0 40px 0 12px; border: 1px solid #c7c7c7; border-radius: 8px; background-color: #fff; font: inherit; font-size: 16px; color: #222; box-sizing: border-box;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 16px; }
.mps-pp .hikashop_product_characteristics select:focus { border-color: var(--mps-green); outline: 2px solid rgba(57,75,64,.2); }
/* stock */
.mps-pp .hikashop_product_quantity_main { margin-top: 20px; }
.mps-pp .mps-stock { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.mps-pp .mps-stock svg { display: block; }
.mps-pp .mps-stock-in { color: #2e8540; }
.mps-pp .mps-stock-low { color: #b26b00; }
.mps-pp .mps-stock-out { color: #c92222; }
/* quantity stepper */
.mps-pp .hikashop_quantity_form, .mps-pp .hikashop_quantity_form .control-group, .mps-pp .hikashop_quantity_form .controls { margin: 0; }
.mps-pp .hikashop_product_quantity_change_div_leftright { display: inline-flex !important; align-items: stretch; height: 44px; margin: 0 0 14px; border: 1px solid #c7c7c7; border-radius: 8px; overflow: hidden; background: #fff; }
.mps-pp .hikashop_product_quantity_change_div_leftright .add-on { display: flex; padding: 0; margin: 0; border: 0; background: none; }
.mps-pp .hikashop_product_quantity_field_change { display: flex !important; align-items: center; justify-content: center; width: 44px !important; min-width: 0; height: 100%; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 0 !important; background: #f6f7f6 !important; color: #222 !important; font-size: 20px; line-height: 1; text-decoration: none !important; box-shadow: none !important; }
.mps-pp .hikashop_product_quantity_field_change:hover { background: #eceeec !important; }
.mps-pp .hikashop_product_quantity_field { width: 56px !important; height: 100% !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-left: 1px solid #c7c7c7 !important; border-right: 1px solid #c7c7c7 !important; border-radius: 0 !important; background: #fff !important; text-align: center; font: inherit; font-size: 16px; color: #222; box-shadow: none !important; }
.mps-pp .hikashop_product_quantity_add_to_cart_div:empty { display: none; }
/* Add to basket */
.mps-pp .mps-pp-add { display: flex !important; align-items: center; justify-content: center; gap: 8px; }
.mps-pp .mps-pp-add svg { display: block; flex: none; }
.mps-pp .hikashop_product_quantity_main_alt { font-size: 14px; color: var(--mps-soft); }
/* delivery line */
.mps-pp-delivery { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--mps-line); font-size: 14px; line-height: 1.5; color: var(--mps-soft); }
.mps-pp-delivery svg { display: block; flex: none; margin-top: 1px; color: var(--mps-green); }
/* description */
.mps-pp #hikashop_product_bottom_part { margin-top: 40px; }
.mps-pp .hikashop_alt_hide, .mps-pp .hikashop_quantity_hide { display: none !important; }
/* --- stronger rules: HikaShop's and the theme's own styles were winning on the live site --- */
.mps-pp .mps-pp-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 440px) !important; gap: 40px !important; align-items: start !important; margin: 0 !important; }
.mps-pp .mps-pp-grid::before, .mps-pp .mps-pp-grid::after { content: none !important; display: none !important; }
.mps-pp .mps-pp-grid > #hikashop_product_left_part, .mps-pp .mps-pp-grid > #hikashop_product_right_part { width: auto !important; max-width: none !important; flex: none !important; float: none !important; padding: 0 !important; margin: 0 !important; }
.mps-pp .mps-pp-grid > #hikashop_product_left_part { grid-column: 1; grid-row: 1; }
.mps-pp .mps-pp-grid > #hikashop_product_right_part { grid-column: 2; grid-row: 1; position: sticky; top: 24px; }
@media (max-width: 959px) {
  .mps-pp .mps-pp-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
  .mps-pp .mps-pp-grid > #hikashop_product_right_part { grid-column: 1; grid-row: 2; position: static; }
}
.mps-pp #hikashop_main_image { max-height: 480px !important; width: auto !important; max-width: 100% !important; }
/* options table: no coloured background, label above a styled drop-down */
.mps-pp .hikashop_product_characteristics table, .mps-pp .hikashop_product_characteristics tbody, .mps-pp .hikashop_product_characteristics tr, .mps-pp .hikashop_product_characteristics td {
  display: block !important; width: 100% !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; background-color: transparent !important; box-shadow: none !important; }
.mps-pp .hikashop_product_characteristics td:first-child { margin: 0 0 6px !important; font-size: 14px; font-weight: 600; color: #333; }
.mps-pp .hikashop_product_characteristics tr + tr { margin-top: 14px !important; }
.mps-pp .hikashop_product_characteristics select {
  width: 100% !important; max-width: none !important; height: 46px !important; padding: 0 40px 0 12px !important; border: 1px solid #c7c7c7 !important; border-radius: 8px !important; background-color: #fff !important;
  font: inherit !important; font-size: 16px !important; color: #222 !important; box-sizing: border-box !important;
  -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 16px 16px !important; }
/* quantity stepper: fixed-size − and + buttons either side of the number */
.mps-pp .hikashop_product_quantity_change_div_leftright { display: inline-flex !important; flex-wrap: nowrap !important; width: auto !important; height: 44px !important; }
.mps-pp .hikashop_product_quantity_change_div_leftright > .add-on { display: flex !important; flex: 0 0 44px !important; width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
.mps-pp .hikashop_product_quantity_change_div_leftright .hikashop_product_quantity_field_change { width: 44px !important; height: 44px !important; line-height: 44px !important; flex: none !important; }
.mps-pp .hikashop_product_quantity_change_div_leftright .hikashop_product_quantity_field { flex: 0 0 56px !important; width: 56px !important; height: 44px !important; font-family: inherit !important; }
/* option label: no blue shading (HikaShop sets it with an id-level rule) */
.mps-pp #hikashop_product_characteristics table, .mps-pp #hikashop_product_characteristics tbody, .mps-pp #hikashop_product_characteristics tr, .mps-pp #hikashop_product_characteristics td, .mps-pp #hikashop_product_characteristics th {
  background: none !important; background-color: transparent !important; border: 0 !important; box-shadow: none !important; }
/* quantity stepper: one neat box */
.mps-pp #hikashop_product_quantity_main .hikashop_product_quantity_change_div_leftright { margin: 0 0 14px !important; padding: 0 !important; border: 1px solid #c7c7c7 !important; border-radius: 8px !important; overflow: hidden !important; background: #fff !important; box-shadow: none !important; }
.mps-pp #hikashop_product_quantity_main .hikashop_product_quantity_field_change {
  display: flex !important; align-items: center !important; justify-content: center !important; width: 44px !important; min-width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: #f6f7f6 !important; color: #222 !important; font-size: 20px !important; line-height: 1 !important; box-shadow: none !important; text-transform: none !important; }
.mps-pp #hikashop_product_quantity_main .hikashop_product_quantity_field_change:hover { background: #eceeec !important; }
.mps-pp #hikashop_product_quantity_main .hikashop_product_quantity_field {
  width: 56px !important; height: 44px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-left: 1px solid #c7c7c7 !important; border-right: 1px solid #c7c7c7 !important; border-radius: 0 !important;
  background: #fff !important; box-shadow: none !important; text-align: center !important; font-size: 16px !important; color: #222 !important; }
.mps-pp #hikashop_product_quantity_main .hikashop_quantity_form, .mps-pp #hikashop_product_quantity_main .control-group, .mps-pp #hikashop_product_quantity_main .controls { margin: 0 !important; padding: 0 !important; }
/* the blue band is on the options wrapper itself */
.mps-pp #hikashop_product_characteristics, .mps-pp .hikashop_product_characteristics, .mps-pp #hikashop_product_characteristics > * {
  background: none !important; background-color: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.mps-pp #hikashop_product_characteristics td, .mps-pp #hikashop_product_characteristics tr { --bs-table-bg: transparent; --bs-table-accent-bg: transparent; }
/* bolder price, larger Add to basket text */
.mps-pp #hikashop_product_price_main .hikashop_product_price { font-weight: 700 !important; }
.mps-pp #hikashop_product_quantity_main .mps-pp-add { height: 50px; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .04em; }
.mps-pp #hikashop_product_quantity_main .mps-pp-add svg { width: 20px; height: 20px; }
html body .mps-pp #hikashop_product_characteristics table tr[data-characrow], html body .mps-pp #hikashop_product_characteristics table tr[data-characrow] > td { background: none !important; background-color: transparent !important; }
html body .mps-pp #hikashop_product_characteristics tr[data-characrow]::before, html body .mps-pp #hikashop_product_characteristics tr[data-characrow]::after { content: none !important; display: none !important; }
/* beats the rule in HikaShop's "frontend custom.css" that shades the options table */
.mps-pp #hikashop_product_characteristics.hikashop_product_characteristics .hikashop_product_characteristics_table,
.mps-pp #hikashop_product_characteristics.hikashop_product_characteristics .hikashop_product_characteristics_table tr,
.mps-pp #hikashop_product_characteristics.hikashop_product_characteristics .hikashop_product_characteristics_table td { background: none !important; background-color: transparent !important; }
/* ---------- picture gallery (eBay style): thumbnails down the left, large picture, arrows; thumbnails below on phones ----------
   HikaShop swaps this whole area when an option is chosen (ids then end in _23 etc.), so these rules go by class.
   --mps-gap is the space between the thumbnails and the picture AND between the picture and the price box. */
.mps-pp { --mps-gap: 24px; }
.mps-pp .mps-pp-grid { gap: var(--mps-gap) !important; }
.mps-pp #hikashop_product_image_main.mps-gal { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: var(--mps-gap); align-items: start; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.mps-pp #hikashop_product_image_main.mps-gal.mps-gal-multi { grid-template-columns: 84px minmax(0, 1fr); }
.mps-pp #hikashop_product_image_main.mps-gal > .hikashop_main_image_div { grid-column: -2 / -1; grid-row: 1; min-width: 0; width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.mps-pp #hikashop_product_image_main.mps-gal > .hikashop_small_image_div { grid-column: 1; grid-row: 1; display: flex !important; flex-direction: column; flex-wrap: nowrap !important; align-items: flex-start !important; justify-content: flex-start !important;
  gap: 10px !important; width: auto !important; margin: 0 !important; padding: 0 !important; text-align: left !important; max-height: 560px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
.mps-pp #hikashop_product_image_main.mps-gal:not(.mps-gal-multi) > .hikashop_small_image_div { display: none !important; }
/* main picture box: soft grey, rounded; white picture backgrounds blend into it */
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image_thumb { position: relative; display: flex !important; align-items: center; justify-content: center; width: auto !important; height: 560px !important; padding: 16px; margin: 0 !important; box-sizing: border-box;
  background: #f4f4f3; border-radius: 12px; overflow: hidden; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image, .mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image_subdiv { width: 100%; margin: 0 !important; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image a { display: block; cursor: zoom-in; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image img { display: block !important; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 528px !important; margin: 0 auto !important; object-fit: contain; mix-blend-mode: multiply; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_slide_prev, .mps-pp #hikashop_product_image_main.mps-gal .hikashop_slide_next { display: none !important; }
/* thumbnails */
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_small_image_div a { display: block !important; flex: 0 0 auto; width: 84px !important; height: 84px !important; padding: 4px !important; margin: 0 !important; border: 1px solid transparent !important; border-radius: 8px !important;
  background: #f4f4f3 !important; box-sizing: border-box !important; opacity: .85; transition: opacity .15s; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_small_image_div a:hover { opacity: 1; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_small_image_div a.mps-hover { border: 1px solid #8a8a8a !important; padding: 4px !important; opacity: 1; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_small_image_div a.mps-on { border: 2px solid #222 !important; padding: 3px !important; opacity: 1; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_small_image_div picture { display: block; width: 100%; height: 100%; }
.mps-pp #hikashop_product_image_main.mps-gal .hikashop_small_image_div img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; object-fit: contain; mix-blend-mode: multiply; border-radius: 4px; }
/* manuals: the cover is a sheet of paper, so show it white with a soft edge instead of blending into the grey panel */
.mps-pp.mps-paper #hikashop_product_image_main.mps-gal .hikashop_product_main_image img { mix-blend-mode: normal; box-shadow: 0 1px 6px rgba(0,0,0,.15); }
.mps-pp.mps-paper #hikashop_product_image_main.mps-gal .hikashop_small_image_div img { mix-blend-mode: normal; }
/* round buttons on the picture */
.mps-pp .mps-gal-btn { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #222; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: box-shadow .15s; }
.mps-pp .mps-gal-btn:hover { box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.mps-pp .mps-gal-btn:focus-visible { outline: 2px solid #394b40; outline-offset: 2px; }
.mps-pp .mps-gal-btn svg { display: block; }
.mps-pp .mps-gal-prev { left: 16px; top: 50%; margin-top: -23px; }
.mps-pp .mps-gal-next { right: 16px; top: 50%; margin-top: -23px; }
.mps-pp .mps-gal-zoom { right: 16px; top: 16px; }
.mps-pp .mps-gal:not(.mps-gal-multi) .mps-gal-prev, .mps-pp .mps-gal:not(.mps-gal-multi) .mps-gal-next { display: none; }
/* tablets and phones: thumbnails in a row under the picture */
@media (max-width: 959px) {
  .mps-pp #hikashop_product_image_main.mps-gal.mps-gal-multi { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mps-pp #hikashop_product_image_main.mps-gal > .hikashop_main_image_div { grid-column: 1; grid-row: 1; }
  .mps-pp #hikashop_product_image_main.mps-gal > .hikashop_small_image_div { grid-row: 2; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image_thumb { height: 440px !important; }
  .mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image img { max-height: 408px !important; }
}
@media (max-width: 640px) {
  .mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image_thumb { height: 320px !important; padding: 12px; }
  .mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image img { max-height: 296px !important; }
  .mps-pp #hikashop_product_image_main.mps-gal .hikashop_small_image_div a { width: 72px !important; height: 72px !important; }
  .mps-pp .mps-gal-btn { width: 40px; height: 40px; }
  .mps-pp .mps-gal-prev, .mps-pp .mps-gal-next { margin-top: -20px; }
  .mps-pp .mps-gal-prev { left: 10px; } .mps-pp .mps-gal-next { right: 10px; } .mps-pp .mps-gal-zoom { right: 10px; top: 10px; }
}
/* Notify me when available: secondary button, full width like Add to basket */
.mps-pp #hikashop_product_right_part .mps-pp-wait { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100% !important; height: auto !important; min-height: 50px; padding: 10px 16px !important; line-height: 1.3 !important; white-space: normal !important; text-align: center; box-sizing: border-box; margin: 0 !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .04em; }
.mps-pp #hikashop_product_right_part .mps-pp-wait svg { display: block; flex: none; }
@media (max-width: 640px) { .mps-pp #hikashop_product_right_part .mps-pp-wait { font-size: 14px !important; letter-spacing: 0; padding: 10px 12px !important; gap: 6px; } }
/* product title in the panel, above the part number */
.mps-pp .mps-pp-box .mps-pp-title { margin: 0 0 14px !important; padding: 0 !important; font-size: 28px !important; line-height: 1.25 !important; }
.mps-pp .mps-pp-title .hikashop_product_code_main { display: none !important; }
.mps-pp #hikashop_product_top_part.mps-pp-top-empty { display: none !important; }
@media (max-width: 640px) { .mps-pp .mps-pp-box .mps-pp-title { font-size: 24px !important; } }
/* desktop: price panel at least as tall as the main picture; the delivery line sits at the bottom of it */
@media (min-width: 960px) {
  .mps-pp .mps-pp-box { display: flex; flex-direction: column; min-height: 560px; box-sizing: border-box; }
  .mps-pp .mps-pp-box > .mps-pp-delivery, .mps-pp .mps-pp-box .mps-pp-delivery { margin-top: auto !important; }
}
/* ---------- product description ---------- */
.mps-pp #hikashop_product_bottom_part { margin-top: 26px !important; padding-top: 15px; border-top: 1px solid var(--mps-line); }
.mps-pp .mps-pd-title { margin: 0 0 20px !important; font-size: 24px !important; line-height: 1.3; }
.mps-pp .mps-pd > p { max-width: 820px; margin: 0 0 16px; font-size: 16px; line-height: 1.75; color: #444; }
.mps-pp .mps-pd > p.mps-pd-callout { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; padding: 14px 18px; background: #f2f5f3; border-left: 3px solid var(--mps-green); border-radius: 6px; font-size: 15px; line-height: 1.6; color: #333; }
.mps-pp .mps-pd-callout svg { flex: none; margin-top: 2px; color: var(--mps-green); }
.mps-pp .mps-pd-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 28px 0 14px; }
.mps-pp .mps-pd-card { border: 1px solid var(--mps-line); border-radius: 8px; background: #fff; overflow: hidden; transition: border-color .15s; }
.mps-pp .mps-pd-card h3 { margin: 0 !important; padding: 12px 16px; background: #f4f4f3; font-size: 16px !important; font-weight: 600 !important; line-height: 1.3; color: #222; text-transform: none; letter-spacing: .01em; }
.mps-pp .mps-pd-card.mps-current { border-color: var(--mps-green); box-shadow: 0 0 0 1px var(--mps-green); }
.mps-pp .mps-pd-card.mps-current h3 { background: var(--mps-green); color: #fff; }
.mps-pp .mps-pd-row { display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; border-top: 1px solid #eeefee; }
.mps-pp .mps-pd-label { font-size: 13px; color: var(--mps-soft); }
.mps-pp .mps-pd-value { font-size: 15px; font-weight: 500; color: #222; }
.mps-pp .mps-pd > p.mps-pd-note { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #888; }
.mps-pp .mps-pd-note svg { flex: none; width: 15px; height: 15px; }
@media (max-width: 640px) { .mps-pp .mps-pd-title { font-size: 21px !important; } }
/* ---------- Type rows, part numbers from the custom fields, choose-first button ---------- */
.mps-pp #hikashop_product_custom_info_main, .mps-pp .hikashop_product_custom_info_main { display: none !important; }
.mps-pp tr.mps-type-row select { display: none !important; }
.mps-pp tr.mps-type-row td:first-child { display: flex !important; align-items: center; gap: 6px; }
.mps-pp .mps-help-btn { margin-left: 6px; vertical-align: middle; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 1px solid #b8bcb8; border-radius: 50%; background: #fff; color: #555; font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer; }
.mps-pp .mps-help-btn:hover { border-color: var(--mps-green); color: var(--mps-green); }
.mps-pp .mps-types { display: flex; flex-direction: column; gap: 6px; }
.mps-pp .mps-type { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid #c7c7c7; border-radius: 8px; background: #fff; cursor: pointer; text-align: left; font: inherit; color: #222; }
.mps-pp .mps-type:hover { border-color: #8a8a8a; }
.mps-pp .mps-type.on { border: 2px solid #222; padding: 0 11px; }
.mps-pp .mps-type-cond { font-size: 15px; font-weight: 600; }
.mps-pp .mps-type-price { margin-left: auto; font-size: 15px; font-weight: 600; }
.mps-pp .mps-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.mps-pp .mps-dot-in { background: #2e8540; } .mps-pp .mps-dot-low { background: #d08a00; } .mps-pp .mps-dot-out { background: #c92222; }
.mps-pp .mps-types-one { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
.mps-badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.mps-badge-g { background: #e3f1e6; color: #1f6b35; } .mps-badge-o { background: #e4eef8; color: #1c5a92; } .mps-badge-ng { background: #f8efdc; color: #7a5200; }
.mps-pp .mps-drawings { flex-basis: 100%; font-size: 13px; color: var(--mps-green); }
.mps-pp .mps-drawings::before { content: "\2713"; margin-right: 6px; }
.mps-help p { margin: 0 0 12px; line-height: 1.55; }
.mps-help .mps-help-cond { margin-top: 16px; padding-top: 12px; border-top: 1px solid #e3e6e3; }
.mps-help .mps-help-cond p { margin: 0 0 8px; }
.mps-help .mps-help-cond strong { font-weight: 700; color: #222; margin-right: 4px; }
.mps-help .mps-help-exch { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: #f4f6f4; }
.mps-help .mps-help-exch h3 { margin: 0 0 6px; }
.mps-help .mps-help-exch p:last-child { margin-bottom: 0; }
/* part numbers under the main number */
.mps-pp .mps-pp-pnx { margin: 2px 0 6px; font-size: 13px; line-height: 1.55; color: var(--mps-soft); }
.mps-pp .mps-pp-pnx span { color: #444; }
/* nothing chosen yet */
.mps-pp .mps-pp-from { font-size: 24px; font-weight: 700; color: #222; margin: 0 0 2px; }
.mps-pp.mps-chosen .mps-pp-from, .mps-pp.mps-chosen .mps-pp-choose { display: none !important; }
.mps-pp:not(.mps-chosen) .mps-pp-code, .mps-pp:not(.mps-chosen) .mps-pp-pnx { display: none !important; }
.mps-pp #hikashop_product_quantity_alt { display: none !important; }
.mps-pp .mps-pp-choose { margin-top: 18px; }
.mps-pp .mps-pp-choose .mps-pp-add { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .04em; }
.mps-pp .mps-pp-need { margin: 0 0 10px; padding: 10px 12px; border-left: 3px solid #c92222; background: #fdf0f0; color: #a01c1c; font-size: 14px; }
.mps-pp select.mps-need { border-color: #c92222 !important; box-shadow: 0 0 0 2px rgba(201,34,34,.18) !important; }
/* details section extras */
.mps-pp .mps-pd-extra { max-width: 820px; }
.mps-pp .mps-pd-extra p.mps-pd-callout { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; padding: 14px 18px; background: #f2f5f3; border-left: 3px solid var(--mps-green); font-size: 15px; line-height: 1.6; color: #333; }
.mps-pp .mps-pd-extra .mps-pd-callout svg { flex: none; margin-top: 2px; color: var(--mps-green); }
.mps-pp .mps-pd-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 16px 0; font-size: 15px; }
.mps-pp .mps-pd-facts dt { margin: 0; color: var(--mps-soft); font-weight: 400; }
.mps-pp .mps-pd-facts dd { margin: 0; color: #222; }
.mps-pp .mps-pd-extra p.mps-pd-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; color: #888; }
.mps-pp .mps-pd-extra .mps-pd-note svg { width: 15px; height: 15px; flex: none; }
.mps-pp tr.mps-type-row.mps-type-wait { display: none !important; }
/* desktop: picture box follows the panel's height (set by the script), never less than 560px */
@media (min-width: 960px) {
  .mps-pp .mps-pp-box { min-height: var(--mps-pic-h, 560px) !important; }
  .mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image_thumb { height: var(--mps-pic-h, 560px) !important; }
  .mps-pp #hikashop_product_image_main.mps-gal .hikashop_product_main_image img { max-height: calc(var(--mps-pic-h, 560px) - 32px) !important; }
  .mps-pp #hikashop_product_image_main.mps-gal > .hikashop_small_image_div { max-height: var(--mps-pic-h, 560px); }
}
/* product details: two columns on desktop */
.mps-pp .mps-pd-grid { display: block; }
.mps-pp .mps-pd-grid.mps-pd-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: start; }
.mps-pp .mps-pd-main .mps-pd > p, .mps-pp .mps-pd-main .mps-pd-extra { max-width: none; }
.mps-pp .mps-pd-side { padding: 20px 22px; border: 1px solid var(--mps-line); border-radius: 8px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.mps-pp .mps-pd-fact { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid #eeefee; }
.mps-pp .mps-pd-fact:first-child { padding-top: 0; border-top: 0; }
.mps-pp .mps-pd-fact-k { font-size: 13px; color: var(--mps-soft); }
.mps-pp .mps-pd-fact-v { font-size: 15px; color: #222; white-space: pre-line; }
.mps-pp .mps-pd-side p.mps-pd-note { display: flex; align-items: flex-start; gap: 6px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #eeefee; font-size: 13px; color: #888; }
.mps-pp .mps-pd-side .mps-pd-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
@media (max-width: 959px) { .mps-pp .mps-pd-grid.mps-pd-two { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* shorter panel: price beside the part numbers; quantity beside the type (or the stock line) */
.mps-pp .mps-pp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 4px; }
.mps-pp .mps-pp-ids { min-width: 0; flex: 1 1 auto; }
.mps-pp .mps-pp-pricebox { flex: none; text-align: right; }
.mps-pp .mps-pp-pricebox .mps-pp-from { font-size: 22px; white-space: nowrap; }
.mps-pp .mps-pp-pricebox .hikashop_product_price_main .hikashop_product_price { white-space: nowrap; }
.mps-pp .mps-pp-ids .mps-pp-code { margin: 4px 0 2px; }
.mps-pp td.mps-type-qty { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mps-pp td.mps-type-qty .mps-types-one { flex: 1 1 0; min-width: 0; }
.mps-pp td.mps-type-qty { flex-wrap: nowrap !important; }
.mps-pp .mps-qty-slot .hikashop_product_quantity_change_div_leftright { margin: 0 !important; }
.mps-pp #hikashop_product_quantity_main { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.mps-pp #hikashop_product_quantity_main.hikashop_quantity_hide { display: none !important; }
.mps-pp #hikashop_product_quantity_main > .mps-stock { margin: 0 !important; }
.mps-pp #hikashop_product_quantity_main > .hikashop_quantity_form .hikashop_product_quantity_change_div_leftright { margin: 0 !important; }
.mps-pp #hikashop_product_quantity_main > [data-addtocart], .mps-pp #hikashop_product_quantity_main > .mps-pp-wait, .mps-pp #hikashop_product_quantity_main > div:not(.hikashop_quantity_form) { flex: 1 1 100%; }
/* the card below the line sits the same distance from it as the price panel above it (26px) */
@media (min-width: 960px) { .mps-pp .mps-pd-grid.mps-pd-two .mps-pd-side { margin-top: 10px; } }
/* full-screen picture viewer: every picture fills the screen (small ones enlarged), proportions kept */
.mps-lightbox .uk-lightbox-items > * > img { width: 100vw !important; height: 100vh !important; max-width: none !important; max-height: none !important; object-fit: contain; }
.uk-lightbox.mps-lightbox { background: #0f1210 !important; }

/* Fitting Note: one paragraph per line of the field */
.mps-pp .mps-pd-callout .mps-pd-lines { display: block; }
.mps-pp .mps-pd-callout .mps-pd-line { display: block; }
.mps-pp .mps-pd-callout .mps-pd-line + .mps-pd-line { margin-top: 8px; }

/* service exchange popup: damage examples */
.mps-help .mps-exch-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 8px; }
.mps-help .mps-exch-pics figure { margin: 0; }
.mps-help .mps-exch-pics img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #f1f1ef; }
.mps-help .mps-exch-pics figcaption { margin-top: 6px; font-size: 13px; color: #555; line-height: 1.4; }

/* quantity stepper: HikaShop's own styles nudge the buttons (negative margins, add-on shifted 2px up), which pushed the + over the number */
.mps-pp .hikashop_product_quantity_change_div_leftright { width: auto !important; min-width: max-content; box-sizing: content-box !important; }
.mps-pp .hikashop_product_quantity_change_div_leftright > .add-on { position: static !important; top: 0 !important; left: 0 !important; }
.mps-pp .hikashop_product_quantity_change_div_leftright .hikashop_product_quantity_field_change { margin: 0 !important; position: static !important; left: 0 !important; }
.mps-pp .hikashop_product_quantity_change_div_leftright .hikashop_product_quantity_field { flex-shrink: 0 !important; }
