.product-page-price-box{
    padding: 10px;
    border: 1px solid rgba(119,119,119,0.5);
    border-radius: 0.8em;
}

/* Sticky footer with add to cart in product page */
#mobile-sticky-cart {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  background-color: #fff;
  padding: 10px 15px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  border-top: 1px solid #eee;
  height: 60px;
}

/* Style for the mobile version of product title in product page */
.mobile-product-title{
    font-size: 1.2rem;
}

/* Style desktop description and tabs section */
.woocommerce-tabs.wc-tabs-wrapper{
    a[role="tab"] {
        border-top-right-radius: 2em;
        border-top-left-radius: 2em;
    }

    div.tab-panels{
        border-radius: 5px;
    }
}

/* Colour the objects that is being copied by inline copy script found in product page shortcodes */
.inlineCopy {
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.inlineCopy.copied {
  color: #0076f1;
  animation: copiedFeedback 0.3s ease;
}

.inlineCopy:after {
  content: "\2A89";
  font-size: .9em;
  opacity: .6;
}

@keyframes copiedFeedback {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.copy-tooltip {
  position: absolute;
  top: -1.5em;
  left: 0;
  background-color: #333;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 999;
  animation: fadeInOut 1s ease forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-4px); }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-4px); }
}

.woocommerce-message:has(.added-to-cart) {
  display: none !important;
}

/* ── MPN pill in product description ── */
.pdp-mpn-wrap {
  text-align: right;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .pdp-mpn-wrap { text-align: center; }
}

.pdp-mpn {
  display: inline-flex;
  width: auto !important;
  white-space: nowrap;
  font-size: 80%;
  border-radius: 1rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
  margin: 0;
}

.pdp-mpn strong { font-weight: 700; letter-spacing: 0.2px; }
.pdp-mpn .pdp-value { font-weight: 500; }

/* ── Desktop benefits / delivery times ── */
.desktop-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.desktop-benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.desktop-benefit__icon-wrap {
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.desktop-benefit__icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.desktop-benefit__content {
  flex: 1 1 auto;
  line-height: 1.35;
}

.desktop-benefit__title {
  font-size: 20px;
  font-weight: 700;
  color: #555;
  line-height: 1.2;
  margin: 0 0 2px 0;
}

.desktop-benefit__desc {
  color: #333;
}

.desktop-benefit__highlight {
  color: #0076f1;
  font-weight: 700;
}

.desktop-benefit__muted {
  color: #777;
}

.desktop-benefit__link {
  color: #0076f1;
  text-decoration: underline;
}
.desktop-benefit__link:hover {
  text-decoration: none;
}

/* ── Tech sheet and user manual buttons ── */
.centrale-product-documents {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}
.centrale-doc-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 8px 16px !important;
    border: 1px solid #ddd !important;
    background: #f8f8f8 !important;
    color: #333 !important;
    border-radius: 4px !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.centrale-doc-btn:hover {
    background: #e8e8e8 !important;
    border-color: #bbb !important;
}
.centrale-doc-btn svg { flex-shrink: 0; }

/* ── Chaty widget positioning ── */
.single-product #chaty-widget-0 .chaty-widget {
  bottom: 65px !important;
  left: 5px !important;
  z-index: 1040 !important;
}

body:not(.single-product) #chaty-widget-0 .chaty-widget {
  left: 5px !important;
  z-index: 1040 !important;
}

/* ── Mobile overrides ── */
@media screen and (max-width: 549px) {
    #logo {
        width: 135px !important;
    }

    form.cart {
        justify-content: center;
    }
}
