/**
 * Single Product Page Styles
 */

@media (min-width: 1025px) {
  .single-product .elementor-element-493c600 {
    margin-top: 42px !important;
  }

  .single-product .elementor-element-e240827 {
    align-items: flex-start;
    gap: 72px;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .single-product .elementor-element-0e7f71a.mc-single-left {
    flex: 1 1 auto;
    max-width: calc(100% - 552px);
  }

  .single-product .mc-sp-header .mc-ph {
    margin-bottom: 28px;
  }

  .single-product .mc-sp-header .mc-ph__title-row {
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
  }

  .single-product .mc-sp-header .mc-ph__title {
    font-family: "Red Hat Display", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.08;
    color: #111111;
  }

  .single-product .mc-sp-header .mc-ph__badge,
  .single-product .mc-sp-header .mc-ph__producer {
    display: none;
  }

  .single-product .mc-single-left .mc-pg__main-wrap {
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: #ffffff;
  }

  .single-product .mc-single-left .mc-pg__main-img {
    height: 520px;
    padding: 24px;
    object-fit: contain;
  }

  .single-product .mc-single-left .mc-pg__thumbs-wrap {
    margin-top: 20px;
  }

  .single-product .mc-single-left .mc-pg__thumb {
    height: 84px;
    background: #ffffff;
  }

  .single-product .mc-single-left .mc-pg__thumb::after {
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.1);
  }

  .single-product .mc-single-left .mc-pg__thumb.is-active::after {
    box-shadow: inset 0 0 0 1.5px #111111;
  }

  .single-product .mc-single-left .mc-pg__arrow {
    width: 20px;
    height: 20px;
    border: 0;
    background: transparent;
    color: #111111;
  }

  .single-product .mc-single-left .mc-pg__arrow svg,
  .single-product .mc-single-left .mc-pg__arrow img,
  .single-product .mc-single-left .mc-pg__arrow i {
    width: 20px;
    height: 20px;
  }

  .single-product .mc-single-left .mc-pg__arrow--prev {
    margin-right: 16px;
  }

  .single-product .mc-single-left .mc-pg__arrow--next {
    margin-left: 16px;
  }

  .single-product .mc-sp-desc .mc-sd {
    margin-top: 36px;
    color: #57534e;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    line-height: 1.55;
  }

  .single-product .mc-sp-desc .mc-sd p {
    margin: 0 0 12px;
  }

  .single-product .mc-sp-desc .mc-sd p:last-child {
    margin-bottom: 0;
  }

  .single-product .mc-sp-desc .mc-sd strong {
    color: #111111;
    font-weight: 700;
  }

  .single-product .mc-sp-content {
    margin-top: 36px;
  }

  .single-product .mc-psc {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .single-product .mc-psc__section {
    min-width: 0;
  }

  .single-product .mc-psc__section-title {
    margin: 0 0 14px;
    color: #111111;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    font-size: 29px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 34.8px */
    margin-top: 60px;
    margin-bottom: 32px;
  }

  .single-product .mc-psc__richtext {
    color: #57534e;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.55;
  }

  .single-product .mc-psc__richtext h2,
  .single-product .mc-psc__richtext h3,
  .single-product .mc-psc__richtext h4 {
    margin: 0 0 10px;
    color: #111111;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .single-product .mc-psc__richtext p {
    margin: 0 0 12px;
  }

  .single-product .mc-psc__richtext p:last-child {
    margin-bottom: 0;
  }

  .single-product .mc-psc__richtext ul,
  .single-product .mc-psc__richtext ol {
    margin: 0;
    padding-left: 18px;
  }

  .single-product .mc-psc__richtext li + li {
    margin-top: 6px;
  }

  .single-product .mc-sp-panels {
    margin-top: 28px;
  }

  .single-product .mc-psp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }

  .single-product .mc-psp__panel {
    min-width: 0;
    padding-top: 18px;
    border-top: 0px solid rgba(17, 17, 17, 0.15);
  }

  .single-product .mc-psp__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
    text-align: left;
    color: inherit !important;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    text-transform: none;
    text-shadow: none;
    outline: none;
  }

  .single-product .mc-psp__panel-head:hover,
  .single-product .mc-psp__panel-head:focus,
  .single-product .mc-psp__panel-head:active,
  .single-product .mc-psp__panel-head:focus-within {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    border: 0 !important;
    opacity: 1;
  }

  .single-product .mc-psp__panel-head:hover .mc-psp__title,
  .single-product .mc-psp__panel-head:focus .mc-psp__title {
    color: inherit;
  }

  .single-product .mc-psp__icon {
    transition: transform 0.25s ease;
  }

  .single-product .mc-psp__panel-head[aria-expanded="false"] .mc-psp__icon {
    transform: rotate(-90deg);
  }

  .single-product .mc-psp__panel:not(.is-open) .mc-psp__panel-head {
    margin-bottom: 0;
  }

  .single-product .mc-psp__panel-body[hidden] {
    display: none;
  }

  .single-product .mc-psp__title {
    margin: 0;
    color: #111111;
    font-family: "Red Hat Display", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .single-product .mc-psp__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #111111;
    flex: 0 0 18px;
  }

  .single-product .mc-psp__icon svg {
    width: 100%;
    height: 100%;
  }

  .single-product .mc-psp__rows {
    display: flex;
    flex-direction: column;
  }

  .single-product .mc-psp__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  .single-product .mc-psp__row:last-child {
    margin-bottom: 0;
  }

  .single-product .mc-psp__label,
  .single-product .mc-psp__value {
    color: #111111;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    line-height: 1.45;
  }

  .single-product .mc-psp__label {
    color: #57534e;
    flex: 0 0 46%;
  }

  .single-product .mc-psp__value {
    text-align: right;
    flex: 1 1 auto;
  }

  .single-product .mc-psp__downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .single-product .mc-psp__download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    color: #111111;
    text-decoration: none;
  }

  .single-product .mc-psp__download-title {
    min-width: 0;
    color: inherit;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    line-height: 1.45;
  }

  .single-product .mc-psp__download-arrow {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #111111;
    flex: 0 0 18px;
  }

  .single-product .mc-psp__download-arrow svg {
    width: 100%;
    height: 100%;
  }

  .single-product .mc-psp__empty {
    margin: 0;
    color: #78716c;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    line-height: 1.45;
  }

  .single-product .elementor-element-16af931,
  .single-product .elementor-element-58b3543 {
    max-width: 900px;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .single-product .mc-rpc__slider-outer {
    align-items: stretch;
    gap: 40px;
  }

  .single-product .mc-rpc__arrow {
    width: 20px;
    height: 20px;
    border: 0;
    background: transparent;
    color: #111111;
  }

  .single-product .mc-rpc__arrow:hover {
    background: transparent;
    color: #111111;
  }

  .single-product .mc-rpc__arrow svg {
    width: 20px;
    height: 20px;
  }

  .single-product .mc-rpc__arrow--prev,
  .single-product .mc-rpc__arrow--next {
    margin: 0;
  }

  .single-product .mc-rpc__swiper .swiper-slide {
    height: auto;
  }

  .single-product .mc-rpc__card {
    height: 100%;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 0;
    box-shadow: none;
  }

  .single-product .mc-rpc__badge-bar {
    display: none;
  }

  .single-product .mc-rpc__img-wrap {
    height: 300px;
    background: #ffffff;
  }

  .single-product .mc-rpc__img {
    width: 100%;
    height: 100%;
    padding: 18px 28px 0;
    object-fit: contain;
  }

  .single-product .mc-rpc__badge--overlay {
    top: 20px !important;
    right: 40px !important;
    bottom: auto !important;
    left: auto !important;
    background: transparent !important;
    border: 0.5px solid #111111;
    border-radius: 0;
    color: #111111;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.1;
    padding: 4px 12px;
    text-transform: uppercase;
  }

  .single-product .mc-rpc__body {
    gap: 12px;
    padding: 20px;
  }

  .single-product .mc-rpc__cat {
    display: none;
  }

  .single-product .mc-rpc__title-price-row {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
  }

  .single-product .mc-rpc__title {
    color: #1c1c1c;
    font-family: "Red Hat Display", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
  }

  .single-product .mc-rpc__desc {
    margin: 0;
    color: #57534e;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .single-product .mc-rpc__price {
    color: #111111;
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
  }

  .single-product .mc-rpc__price del {
    display: block;
    margin: 4px 0 0;
    color: #a8a29e;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 500;
  }

  .single-product .mc-rpc__price ins {
    text-decoration: none;
  }

  .single-product .mc-rpc__actions {
    display: none !important;
  }
}

/* Mobile styles */
@media (max-width: 767px) {
  .single-product .mc-sp-content {
    margin-top: 24px;
  }

  .single-product .mc-psc {
    gap: 18px;
  }

  .single-product .mc-psc__section-title {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .single-product .mc-psc__richtext {
    font-size: 13px;
    line-height: 1.6;
  }

  .single-product .mc-psc__richtext h2,
  .single-product .mc-psc__richtext h3,
  .single-product .mc-psc__richtext h4 {
    font-size: 13px;
  }

  /* Product Header Layout */
  .mc-product-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .mc-product-badge-wrapper {
    order: 2 !important;
    margin-left: auto !important;
  }

  .mc-product-title {
    order: 1 !important;
    flex: 1 !important;
    margin: 0 !important;
    color: #252525 !important;
    font-family: "Red Hat Display" !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: normal !important;
  }

  .mc-product-sku {
    order: 3 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Price Styles - only for main product area, not configurator */
  .single-product .summary > .price,
  .single-product .mc-product-header .price,
  .single-product .price-sku-row .price,
  .single-product .summary > .price .woocommerce-Price-amount {
    color: #252525 !important;
    font-family: "Red Hat Display" !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: normal !important;
  }

  .single-product .mc-product-regular-price,
  .single-product .mc-product-regular-price .woocommerce-Price-amount {
    color: #252525 !important;
    font-family: "Red Hat Display" !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: normal !important;
    text-decoration: line-through !important;
  }

  /* Title and Badge Row */
  .single-product .title-badge-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 15px !important;
  }

  .single-product .title-badge-row .product_title {
    flex: 1 !important;
    margin: 0 !important;
  }

  .single-product .title-badge-row .mc_product_tag_badge {
    position: static !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Price and SKU Row */
  .single-product .price-sku-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    gap: 10px !important;
  }

  .single-product .price-sku-row .price {
    flex: 1 !important;
    margin: 0 !important;
  }

  .single-product .price-sku-row .sku_wrapper {
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  /* Hide original product_meta if SKU was moved */
  .single-product .product_meta {
    display: none !important;
  }

  /* Buttons full width */
  .single-product .cart {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .single-product .cart .quantity {
    width: 100% !important;
    margin: 0 !important;
  }

  .single-product .single_add_to_cart_button,
  .single-product button.button,
  .single-product .cart button.button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* Product buttons (configurator, description) */
  .mc-buttons-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .mc-configurator-button,
  .mc-product-description-button,
  .mc-product-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .single-product .mc-psp {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── Product Single Content (mc-psc) ──────────────────── */
.mc-psc {
  color: var(--Foundation-Black-primary-dark, #1c1c1c);
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%;
}

.mc-psc__section + .mc-psc__section {
  margin-top: 32px;
}

.mc-psc__section-title {
  margin: 0 0 16px;
  color: var(--Foundation-Black-primary-dark, #1c1c1c);
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
}

.mc-psc__richtext,
.mc-psc__richtext p,
.mc-psc__richtext li,
.mc-psc__richtext span,
.mc-psc__richtext strong,
.mc-psc__richtext em,
.mc-psc__richtext a {
  color: var(--Foundation-Black-primary-dark, #1c1c1c);
  font-family: inherit;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.mc-psc__richtext strong,
.mc-psc__richtext b {
  font-weight: 600;
}
.mc-psc__richtext em,
.mc-psc__richtext i {
  font-style: italic;
}

.mc-psc__richtext p {
  margin: 0 0 12px;
}
.mc-psc__richtext p:last-child {
  margin-bottom: 0;
}

.mc-psc__richtext h1,
.mc-psc__richtext h2,
.mc-psc__richtext h3,
.mc-psc__richtext h4,
.mc-psc__richtext h5,
.mc-psc__richtext h6 {
  color: var(--Foundation-Black-primary-dark, #1c1c1c);
  font-family: inherit;
  font-weight: 600;
  line-height: 120%;
  margin: 24px 0 12px;
}
.mc-psc__richtext h1 {
  font-size: 28px;
}
.mc-psc__richtext h2 {
  font-size: 24px;
}
.mc-psc__richtext h3 {
  font-size: 20px;
}
.mc-psc__richtext h4 {
  font-size: 18px;
}
.mc-psc__richtext h5,
.mc-psc__richtext h6 {
  font-size: 16px;
}

.mc-psc__richtext ul,
.mc-psc__richtext ol {
  margin: 0 0 12px;
  padding-left: 20px;
}
.mc-psc__richtext li + li {
  margin-top: 6px;
}

.mc-psc__richtext a {
  text-decoration: underline;
  color: inherit;
}
.mc-psc__richtext a:hover {
  opacity: 0.8;
}

.mc-psc__richtext img {
  max-width: 100%;
  height: auto;
  display: block;
}

.mc-psc__richtext table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
}
.mc-psc__richtext th,
.mc-psc__richtext td {
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  text-align: left;
}

.mc-psc__richtext blockquote {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-left: 3px solid #1c1c1c;
  font-style: italic;
}

/* ── Product Summary Panels (mc-psp) — base styles for all viewports ── */
.single-product .mc-psp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.single-product .mc-psp__panel {
  min-width: 0;
  padding-top: 18px;
  border-top: 0px solid rgba(17, 17, 17, 0.15);
}

.mc_breadcrumbs a {
  font-size: 12px !important;
}

.single-product .mc-psp__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  width: 100%;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  cursor: pointer;
  text-align: left;
  color: inherit !important;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  text-transform: none;
  text-shadow: none;
  outline: none;
}

.single-product .mc-psp__panel-head:hover,
.single-product .mc-psp__panel-head:focus,
.single-product .mc-psp__panel-head:active,
.single-product .mc-psp__panel-head:focus-within {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: inherit !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
  opacity: 1;
}

.single-product .mc-psp__panel-head:hover .mc-psp__title,
.single-product .mc-psp__panel-head:focus .mc-psp__title {
  color: inherit;
}

.single-product .mc-psp__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #111111;
  flex: 0 0 18px;
  transition: transform 0.25s ease;
}

.single-product .mc-psp__icon svg {
  width: 100%;
  height: 100%;
}

.single-product .mc-psp__panel-head[aria-expanded="false"] .mc-psp__icon {
  transform: rotate(-90deg);
}

.single-product .mc-psp__panel:not(.is-open) .mc-psp__panel-head {
  margin-bottom: 0;
}

.single-product .mc-psp__panel-body[hidden] {
  display: none;
}

.single-product .mc-psp__title {
  margin: 0;
  color: #111111;
  font-family: "Red Hat Display", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-product .mc-psp__rows {
  display: flex;
  flex-direction: column;
}

.single-product .mc-psp__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.single-product .mc-psp__row:last-child {
  margin-bottom: 0;
}

.single-product .mc-psp__label,
.single-product .mc-psp__value {
  color: #111111;
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.single-product .mc-psp__label {
  color: #57534e;
  flex: 0 0 46%;
}

.single-product .mc-psp__value {
  text-align: right;
  flex: 1 1 auto;
}

.single-product .mc-psp__downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-product .mc-psp__download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: #111111;
  text-decoration: none;
}

.single-product .mc-psp__download-title {
  min-width: 0;
  color: inherit;
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.single-product .mc-psp__download-arrow {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #111111;
  flex: 0 0 18px;
}

.single-product .mc-psp__download-arrow svg {
  width: 100%;
  height: 100%;
}

.single-product .mc-psp__empty {
  margin: 0;
  color: #78716c;
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

/* Single column for tablet & mobile */
@media (max-width: 1024px) {
  .single-product .mc-psp {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
