/** Mint Value | Product detail CTA layout | v1.4.0 */
/* Configurable palette */
.p-detail.mv-cta-ready {
  --mv-cta-green: #13b95a;
  --mv-cta-text-muted: #858585;
}
/* Name stays ABOVE the image/details columns, as in the original template. */
.p-detail.mv-cta-ready .p-detail-inner-header { display: flex; flex-direction: column; align-items: flex-start; }
.p-detail.mv-cta-ready .p-detail-inner-header .p-code { display: none !important; }
.p-detail.mv-cta-ready .product-top > .col-xs-12 > .p-detail-info { display: none !important; }
.p-detail.mv-cta-ready .mv-product-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 9px 0 18px; color: var(--mv-cta-text-muted);
  font-family: var(--font-body, inherit); font-size: 14px; font-weight: 400;
  line-height: 1.5; letter-spacing: 0;
}
.p-detail.mv-cta-ready .mv-product-brand,
.p-detail.mv-cta-ready .mv-product-sku { color: var(--mv-cta-text-muted); font-size: inherit; line-height: inherit; text-decoration: none; }
.p-detail.mv-cta-ready .mv-product-brand:hover { color: var(--mv-cta-navy); text-decoration: underline; }
.p-detail.mv-cta-ready .mv-meta-separator { color: #bababa; font-size: 12px; }
/* One line: current price on the left, availability badge on the right. */
.p-detail.mv-cta-ready .p-info-wrapper .mv-price-availability-row {
  display: flex !important; align-items: center; justify-content: space-between;
  gap: 16px; width: 100%; max-width: 560px; margin-bottom: 22px;
}
.p-detail.mv-cta-ready .mv-price-availability-row .p-final-price-wrapper,
.p-detail.mv-cta-ready .mv-price-availability-row .availability-value {
  margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important;
}
.p-detail.mv-cta-ready .mv-price-availability-row .p-final-price-wrapper { flex: 0 1 auto; min-width: 0; }
.p-detail.mv-cta-ready .mv-price-availability-row .availability-value { flex: 0 0 auto; text-align: right; }
/* Preserve native Shoptet availability badge styling and its status colors. */
.p-detail.mv-cta-ready .mv-price-availability-row .availability-label {
  white-space: nowrap;
}
/* Retain input[name=amount] in DOM for native Shoptet add-to-cart submit. */
.p-detail.mv-cta-ready .p-info-wrapper .add-to-cart .quantity { display: none !important; }
.p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions {
  display: grid !important; grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr);
  align-items: stretch; gap: 12px; width: 100% !important;
  margin: 0 !important; padding: 0 !important; float: none !important;
}
.p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions .add-to-cart-button,
.p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions .mv-whatsapp-cta {
  box-sizing: border-box !important; display: inline-flex !important;
  justify-content: center !important; align-items: center !important;
  min-height: 50px !important; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 11px 12px !important;
  font-family: var(--font-body, inherit) !important;
  font-size: 14px !important; font-weight: 500 !important; line-height: 1.25 !important;
  text-align: center !important; text-decoration: none !important;
  white-space: normal !important;
}
/* Do not override .add-to-cart-button colors or borders: Shoptet owns their states. */
.p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions .mv-whatsapp-cta {
  gap: 8px !important; border: 1px solid var(--mv-cta-green) !important;
  background: #fff !important; color: var(--mv-cta-green) !important;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}
.p-detail.mv-cta-ready .mv-whatsapp-cta svg { width: 20px; height: 20px; flex: 0 0 20px; display: block; }
/* Subtle luxury-style hover: very light green fill, unchanged green text/icon. */
.p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions .mv-whatsapp-cta:hover {
  background-color: #eaf8f0 !important;
  border-color: #0da64e !important;
  color: #0da64e !important;
  box-shadow: 0 3px 12px rgba(19, 185, 90, .10) !important;
}
.p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions .mv-whatsapp-cta:focus-visible {
  background-color: #eaf8f0 !important;
  outline: 2px solid var(--mv-cta-green) !important;
  outline-offset: 3px !important;
}
@media (prefers-reduced-motion: reduce) {
  .p-detail.mv-cta-ready .mv-whatsapp-cta { transition: none !important; }
}
.p-detail.mv-cta-ready .mv-cart-actions--contact-only { grid-template-columns: minmax(0, 220px) !important; margin-top: 14px !important; }
/* Suppress former custom links and ALL native actions, even if prior styling remains loaded. */
.p-detail.mv-cta-ready .social-buttons-wrapper,
.p-detail.mv-cta-ready .mv-whatsapp-button-wrapper { display: none !important; }
/* Keep both CTAs next to each other on tablets too. Limit their combined width
   when Shoptet switches to a full-width product details column. */
.p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions {
  max-width: 560px !important;
}
/* Hide the redundant single 'Description' TAB navigation, not the description itself. */
.p-detail.mv-cta-ready .p-detail-tabs-wrapper.mv-single-description-tab .shp-tabs-row {
  display: none !important;
}
/* Mobile-only order: product parameters first, descriptive prose second.
   Uses flex order so Shoptet's parameter links/table remain fully functional. */
@media (max-width: 767px) {
  .p-detail.mv-cta-ready .p-detail-tabs-wrapper .description-inner {
    display: flex !important;
    flex-direction: column !important;
  }
  .p-detail.mv-cta-ready .p-detail-tabs-wrapper .description-inner > .extended-description {
    order: 1 !important;
  }
  .p-detail.mv-cta-ready .p-detail-tabs-wrapper .description-inner > .basic-description {
    order: 2 !important;
  }
}
@media (max-width: 767px) {
  .p-detail.mv-cta-ready .mv-product-meta { gap: 7px; font-size: 12px; margin: 8px 0 15px; }
  .p-detail.mv-cta-ready .mv-price-availability-row { gap: 10px !important; margin-bottom: 16px !important; }
  .p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; max-width: none !important; }
  .p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions .add-to-cart-button,
  .p-detail.mv-cta-ready .p-info-wrapper .mv-cart-actions .mv-whatsapp-cta { min-height: 48px !important; }
}
@media (max-width: 365px) {
  .p-detail.mv-cta-ready .mv-price-availability-row { flex-wrap: wrap; }
}
