.elementor-773 .elementor-element.elementor-element-cb83e53{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for shortcode, class: .elementor-element-f4d9da9 *//* =========================================================
   NICO MED PLUS – PDP HARDENING LAYER v1.0
   Load AFTER your main PDP CSS
   Purpose: mobile/tablet stability, overflow prevention,
   spacing normalization, safer WooCommerce rendering
   ========================================================= */

body.single-product,
body.single-product .site,
body.single-product .site-main,
body.single-product .content-area {
  overflow-x: clip;
}

body.single-product .nm-pdp {
  --nm-safe-gap: clamp(12px, 2vw, 20px);
  --nm-safe-card-pad: clamp(16px, 2.2vw, 24px);
  --nm-safe-radius: 18px;
  --nm-safe-touch: 46px;
  --nm-safe-border: rgba(17, 52, 22, 0.10);
  --nm-safe-border-strong: rgba(17, 52, 22, 0.16);
  --nm-safe-bg-soft: #f8faf6;
  --nm-safe-shadow: 0 8px 24px rgba(17, 52, 22, 0.05);
  --nm-safe-shadow-hover: 0 12px 28px rgba(17, 52, 22, 0.08);
}

body.single-product .nm-pdp,
body.single-product .nm-pdp * {
  min-width: 0;
}

body.single-product .nm-pdp img,
body.single-product .nm-pdp video,
body.single-product .nm-pdp iframe {
  max-width: 100%;
  height: auto;
}

body.single-product .nm-pdp a,
body.single-product .nm-pdp button,
body.single-product .nm-pdp input,
body.single-product .nm-pdp select,
body.single-product .nm-pdp textarea {
  touch-action: manipulation;
}

body.single-product .nm-pdp button,
body.single-product .nm-pdp .button,
body.single-product .nm-pdp .single_add_to_cart_button,
body.single-product .nm-pdp .added_to_cart {
  min-height: var(--nm-safe-touch);
}

body.single-product .nm-pdp .nm-pdp-inner {
  width: min(100%, 1240px);
  padding-inline: clamp(14px, 2vw, 20px);
}

body.single-product .nm-pdp .nm-pdp-card,
body.single-product .nm-pdp .nm-pdp-section,
body.single-product .nm-pdp .related.products {
  overflow: hidden;
}

body.single-product .nm-pdp .nm-pdp-summary-card,
body.single-product .nm-pdp .nm-pdp-gallery-card,
body.single-product .nm-pdp .nm-pdp-section,
body.single-product .nm-pdp .nm-pdp-related-section .related.products {
  padding: var(--nm-safe-card-pad) !important;
  border-radius: clamp(16px, 2vw, 24px) !important;
}

body.single-product .nm-pdp .product_title {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  max-width: 14ch;
}

body.single-product .nm-pdp .price,
body.single-product .nm-pdp .woocommerce-product-details__short-description,
body.single-product .nm-pdp .woocommerce-product-details__short-description p,
body.single-product .nm-pdp .nm-pdp-richtext p,
body.single-product .nm-pdp .nm-pdp-richtext li,
body.single-product .nm-pdp .comment-text p {
  overflow-wrap: anywhere;
}

body.single-product .nm-pdp .nm-pdp-brand-row,
body.single-product .nm-pdp .nm-pdp-spec-chips,
body.single-product .nm-pdp .nm-pdp-anchor-nav {
  gap: 10px;
}

body.single-product .nm-pdp .nm-pdp-anchor-nav a,
body.single-product .nm-pdp .nm-pdp-spec-chip,
body.single-product .nm-pdp .nm-pdp-brand,
body.single-product .nm-pdp .nm-pdp-badge {
  min-height: 40px;
}

body.single-product .nm-pdp .nm-pdp-purchase-block {
  align-items: stretch;
}

body.single-product .nm-pdp .nm-pdp-cart-wrap,
body.single-product .nm-pdp form.cart,
body.single-product .nm-pdp form.variations_form,
body.single-product .nm-pdp table.variations,
body.single-product .nm-pdp table.variations tbody,
body.single-product .nm-pdp table.variations tr,
body.single-product .nm-pdp table.variations td,
body.single-product .nm-pdp table.variations th {
  width: 100%;
}

body.single-product .nm-pdp form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.single-product .nm-pdp form.cart .quantity {
  flex: 0 0 auto;
}

body.single-product .nm-pdp form.cart .qty {
  min-height: 52px;
  min-width: 84px;
}

body.single-product .nm-pdp form.cart .single_add_to_cart_button {
  flex: 1 1 260px;
  justify-content: center;
}

body.single-product .nm-pdp table.variations {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 14px !important;
}

body.single-product .nm-pdp table.variations td,
body.single-product .nm-pdp table.variations th {
  display: block;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product .nm-pdp table.variations tr + tr {
  margin-top: 12px;
}

body.single-product .nm-pdp table.variations label {
  display: block;
  margin: 0 0 6px;
  color: var(--nm-text);
  font-size: 13px;
  font-weight: 700;
}

body.single-product .nm-pdp table.variations select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--nm-safe-border-strong);
  background: #fff;
  color: var(--nm-text);
}

body.single-product .nm-pdp .reset_variations {
  display: inline-flex !important;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}

body.single-product .nm-pdp .single_variation_wrap {
  width: 100%;
}

body.single-product .nm-pdp .woocommerce-variation-price,
body.single-product .nm-pdp .woocommerce-variation-availability,
body.single-product .nm-pdp .woocommerce-variation-description {
  margin-bottom: 10px;
}

body.single-product .nm-pdp .nm-pdp-trust-row {
  align-items: stretch;
}

body.single-product .nm-pdp .nm-pdp-trust-item {
  min-height: 54px;
  height: 100%;
}

body.single-product .nm-pdp .nm-pdp-trust-text {
  overflow-wrap: anywhere;
}

body.single-product .nm-pdp .woocommerce-product-gallery,
body.single-product .nm-pdp .woocommerce-product-gallery__wrapper,
body.single-product .nm-pdp .flex-viewport {
  width: 100% !important;
}

body.single-product .nm-pdp .woocommerce-product-gallery__image,
body.single-product .nm-pdp .woocommerce-product-gallery__image a {
  width: 100%;
}

body.single-product .nm-pdp .flex-control-thumbs {
  align-items: stretch;
}

body.single-product .nm-pdp .flex-control-thumbs img {
  display: block;
}

body.single-product .nm-pdp .shop_attributes {
  table-layout: fixed;
}

body.single-product .nm-pdp .shop_attributes th,
body.single-product .nm-pdp .shop_attributes td {
  overflow-wrap: anywhere;
}

body.single-product .nm-pdp .nm-pdp-accordion-trigger {
  min-height: 54px;
}

body.single-product .nm-pdp .nm-pdp-related-section .products li.product,
body.single-product .nm-pdp .nm-pdp-related-section .products li.product a.woocommerce-LoopProduct-link {
  min-width: 0;
}

body.single-product .nm-pdp .nm-pdp-related-section .woocommerce-loop-product__title {
  overflow-wrap: anywhere;
}

body.single-product .nm-pdp #review_form {
  padding: clamp(16px, 2vw, 22px);
}

body.single-product .nm-pdp #review_form input[type="text"],
body.single-product .nm-pdp #review_form input[type="email"],
body.single-product .nm-pdp #review_form textarea {
  font-size: 16px;
}

body.single-product .nm-pdp .nm-pdp-mobile-bar {
  max-width: 720px;
  margin-inline: auto;
}

body.single-product .nm-pdp .nm-pdp-mobile-bar__title,
body.single-product .nm-pdp .nm-pdp-mobile-bar__price {
  overflow-wrap: normal;
}

body.single-product .nm-pdp a:focus-visible,
body.single-product .nm-pdp button:focus-visible,
body.single-product .nm-pdp input:focus-visible,
body.single-product .nm-pdp select:focus-visible,
body.single-product .nm-pdp textarea:focus-visible {
  outline: 2px solid rgba(253, 187, 3, 0.72);
  outline-offset: 2px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  body.single-product .nm-pdp .nm-pdp-hero {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 28px;
  }

  body.single-product .nm-pdp .nm-pdp-gallery-card {
    position: static !important;
    top: auto !important;
    transform: none !important;
    contain: none !important;
  }

  body.single-product .nm-pdp .product_title {
    max-width: none;
    font-size: clamp(28px, 4vw, 38px) !important;
    line-height: 1.08 !important;
  }

  body.single-product .nm-pdp .price {
    font-size: clamp(24px, 3vw, 32px) !important;
  }

  body.single-product .nm-pdp .nm-pdp-purchase-block {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.single-product .nm-pdp .nm-pdp-price-inline {
    min-height: 0;
  }

  body.single-product .nm-pdp .nm-pdp-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product .nm-pdp .nm-pdp-related-section .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.single-product .nm-pdp .nm-pdp-related-section .products li.product {
    padding: 16px !important;
  }

  body.single-product .nm-pdp .shop_attributes th {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  body.single-product .nm-pdp .nm-pdp-inner {
    padding-inline: 12px;
    padding-bottom: 100px;
  }

  body.single-product .nm-pdp .nm-pdp-breadcrumbs {
    margin-bottom: 12px;
  }

  body.single-product .nm-pdp .nm-pdp-summary-card,
  body.single-product .nm-pdp .nm-pdp-gallery-card,
  body.single-product .nm-pdp .nm-pdp-section,
  body.single-product .nm-pdp .nm-pdp-related-section .related.products {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  body.single-product .nm-pdp .product_title {
    font-size: clamp(24px, 7vw, 32px) !important;
    letter-spacing: -0.02em !important;
  }

  body.single-product .nm-pdp .price {
    font-size: 24px !important;
    line-height: 1.15 !important;
  }

  body.single-product .nm-pdp .woocommerce-product-details__short-description,
  body.single-product .nm-pdp .woocommerce-product-details__short-description p,
  body.single-product .nm-pdp .nm-pdp-richtext p,
  body.single-product .nm-pdp .nm-pdp-richtext li,
  body.single-product .nm-pdp .comment-text p,
  body.single-product .nm-pdp .shop_attributes td {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  body.single-product .nm-pdp .nm-pdp-brand-row {
    margin-bottom: 8px;
  }

  body.single-product .nm-pdp .nm-pdp-brand,
  body.single-product .nm-pdp .nm-pdp-badge {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
  }

  body.single-product .nm-pdp .nm-pdp-anchor-nav {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
    margin-top: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.single-product .nm-pdp .nm-pdp-anchor-nav::-webkit-scrollbar {
    display: none;
  }

  body.single-product .nm-pdp .nm-pdp-anchor-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-height: 38px;
    padding: 7px 12px;
    font-size: 13px;
  }

  body.single-product .nm-pdp form.cart {
    gap: 10px;
  }

  body.single-product .nm-pdp form.cart .quantity,
  body.single-product .nm-pdp form.cart .single_add_to_cart_button {
    width: 100%;
    flex: 1 1 100%;
  }

  body.single-product .nm-pdp form.cart .qty {
    width: 100%;
    min-width: 0;
  }

  body.single-product .nm-pdp .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  body.single-product .nm-pdp .nm-pdp-trust-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.single-product .nm-pdp .nm-pdp-trust-item {
    padding: 12px 14px;
    min-height: 50px;
  }

  body.single-product .nm-pdp .flex-viewport {
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: auto !important;
  }

  body.single-product .nm-pdp .woocommerce-product-gallery__image a {
    aspect-ratio: 1 / 1;
    padding: 14px !important;
  }

  body.single-product .nm-pdp .woocommerce-product-gallery__image img {
    object-fit: contain;
  }

  body.single-product .nm-pdp .flex-control-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  body.single-product .nm-pdp .shop_attributes,
  body.single-product .nm-pdp .shop_attributes tbody,
  body.single-product .nm-pdp .shop_attributes tr,
  body.single-product .nm-pdp .shop_attributes th,
  body.single-product .nm-pdp .shop_attributes td {
    display: block !important;
    width: 100% !important;
  }

  body.single-product .nm-pdp .shop_attributes tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--nm-safe-border);
  }

  body.single-product .nm-pdp .shop_attributes tr:last-child {
    border-bottom: 0;
  }

  body.single-product .nm-pdp .shop_attributes th,
  body.single-product .nm-pdp .shop_attributes td {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  body.single-product .nm-pdp .shop_attributes th {
    margin-bottom: 6px;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  body.single-product .nm-pdp .shop_attributes td {
    font-size: 14px !important;
  }

  body.single-product .nm-pdp .nm-pdp-accordion-trigger {
    padding: 16px !important;
    font-size: 15px !important;
  }

  body.single-product .nm-pdp .nm-pdp-accordion-panel > * {
    padding-inline: 16px !important;
    padding-bottom: 16px !important;
  }

  body.single-product .nm-pdp .nm-pdp-related-section .products {
    grid-template-columns: 1fr !important;
  }

  body.single-product .nm-pdp .nm-pdp-related-section .woocommerce-loop-product__title {
    min-height: auto;
    font-size: 16px !important;
  }

  body.single-product .nm-pdp .nm-pdp-mobile-bar {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }

  body.single-product .nm-pdp .nm-pdp-mobile-bar__img img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
  }

  body.single-product .nm-pdp .nm-pdp-mobile-bar__title {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  body.single-product .nm-pdp .nm-pdp-mobile-bar__price {
    font-size: 11px !important;
  }

  body.single-product .nm-pdp .nm-pdp-mobile-bar__btn {
    min-height: 40px !important;
    min-width: 84px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  body.single-product .nm-pdp #review_form {
    padding: 14px !important;
  }

  body.single-product .nm-pdp #review_form .submit {
    width: 100%;
  }
}

/* ---------- Small mobile safeguard ---------- */
@media (max-width: 420px) {
  body.single-product .nm-pdp .product_title {
    font-size: 22px !important;
  }

  body.single-product .nm-pdp .nm-pdp-mobile-bar {
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
  }

  body.single-product .nm-pdp .nm-pdp-mobile-bar__img img {
    width: 40px !important;
    height: 40px !important;
  }

  body.single-product .nm-pdp .nm-pdp-mobile-bar__btn {
    min-width: 76px !important;
    font-size: 11px !important;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body.single-product .nm-pdp *,
  body.single-product .nm-pdp *::before,
  body.single-product .nm-pdp *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}/* End custom CSS */