/* v17.9.19 — MOBILE-ONLY refinements to real retail single-product pages.
   All desktop showroom rules, data, Woo gallery, links and auction lot pages are unchanged. */
@media (max-width: 640px) {
  body.dpr-v17918-retail-product.dpr-v1792-product .woocommerce div.product {
    row-gap: 12px !important;
    padding: 12px 12px 17px !important;
    margin: 4px 5px 18px !important;
    border-radius: 15px !important;
    border-color: #e2eaf5 !important;
    box-shadow: 0 7px 24px rgba(9, 43, 88, .06) !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product > .summary {
    padding: 0 !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-product-gallery__wrapper {
    padding: 5px !important;
    border-radius: 12px !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product ol.flex-control-thumbs {
    gap: 7px !important;
    margin-top: 9px !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product ol.flex-control-thumbs li img {
    height: 60px !important;
  }
  /* Tight, meaningful purchase summary. The full SEO description stays below. */
  body.dpr-v17918-retail-product .dpr-v17918-product-kicker {
    display: none !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .summary .product_title {
    margin: 1px 0 8px !important;
    font-size: clamp(22px, 5.5vw, 27px) !important;
    line-height: 1.23 !important;
    letter-spacing: -.02em !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .summary .price {
    display: block !important;
    margin: 5px 0 11px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 25px !important;
    line-height: 1.25 !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .summary .price del {
    font-size: .62em !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .summary a[href*="wa.me"],
  body.dpr-v17918-retail-product .woocommerce div.product .summary a[href*="whatsapp.com"] {
    display: flex !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    line-height: 1.3 !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .summary .woocommerce-product-details__short-description {
    display: none !important; /* Repeated verbatim in the long description below. */
  }
  body.dpr-v17918-retail-product .dpr-v17918-shop-details {
    margin: 10px 0 0 !important;
    padding: 9px 11px !important;
    background: #f7faff !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }
  body.dpr-v17918-retail-product .dpr-v17918-shop-details__icon {
    width: 27px !important;
    height: 27px !important;
    flex-basis: 27px !important;
    font-size: 14px !important;
  }
  body.dpr-v17918-retail-product .dpr-v17918-shop-details strong {font-size: 12px !important;}
  body.dpr-v17918-retail-product .dpr-v17918-shop-details small {font-size: 11px !important;}
  body.dpr-v17918-retail-product .dpr-v17918-shop-details p {display: none !important;}
  body.dpr-v17918-retail-product .woocommerce div.product .summary .product_meta {
    margin: 8px 0 0 !important;
    padding: 9px 0 0 !important;
    line-height: 1.5 !important;
  }
  /* Make the long description approachable and keep all original paragraphs,
     SEO headings and features in the HTML, expandable on demand. */
  body.dpr-v17918-retail-product .woocommerce div.product :is(.woocommerce-tabs,.wc-tabs-wrapper) {
    margin: 1px 0 0 !important;
    padding: 13px 0 0 !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0 0 8px !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 9px 12px !important;
    font-size: 13px !important;
  }
  body.dpr-v17918-retail-product.dpr-v1792-product .woocommerce div.product .woocommerce-tabs .panel,
  body.dpr-v17918-retail-product.dpr-v1792-product .woocommerce div.product .woocommerce-Tabs-panel--description {
    padding: 16px 16px 14px !important;
    margin: 0 !important;
    border-radius: 13px !important;
    border: 1px solid #dee8f6 !important;
    background: #f8fbff !important;
    background-color: #f8fbff !important;
    box-shadow: none !important;
    line-height: 1.65 !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .panel :is(p,li) {
    font-size: 14px !important;
    line-height: 1.66 !important;
    color: #2b4260 !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .panel :is(h2,h3) {
    font-size: 16px !important;
    margin: 14px 0 7px !important;
    line-height: 1.35 !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .panel ul {
    padding-left: 21px !important;
    margin: 8px 0 13px !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .panel li {margin-bottom: 5px !important;}
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .panel.dpr-v17919-collapsed {
    max-height: 310px !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(#000 0%, #000 83%, transparent 100%);
    mask-image: linear-gradient(#000 0%, #000 83%, transparent 100%);
  }
  body.dpr-v17918-retail-product .dpr-v17919-description-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    min-height: 45px !important;
    padding: 10px 16px !important;
    border: 1px solid #afc9ed !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #0b458e !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    cursor: pointer !important;
  }
  body.dpr-v17918-retail-product .dpr-v17919-description-toggle:focus-visible {
    outline: 3px solid #ffd426 !important;
    outline-offset: 2px !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product :is(.related,.upsells) {
    margin: 4px 0 0 !important;
    padding: 15px 0 0 !important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product :is(.related,.upsells)>h2 {
    margin-bottom: 9px !important;
    font-size: 20px !important;
  }
  /* An enquiry button already exists on each product. Don't put a second
     floating Chaty WhatsApp bubble over the native CTA on phone screens. */
  body.dpr-v17918-retail-product :is(.chaty-widget,#chaty-widget-0,#chaty-widget,.chaty-widget-container) {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.dpr-v17918-retail-product .dpr-v17919-description-toggle {transition: none !important;}
}

/* v17.9.20: clamp the actual description body, not the WooCommerce panel.
   The old .dpr-v17919-collapsed selector is not used by the new script. */
@media (max-width:640px) {
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .panel .dpr-v17920-description-body.dpr-v17920-description-collapsed {
    display:block!important;
    height:238px!important;
    max-height:238px!important;
    min-height:0!important;
    overflow:hidden!important;
    -webkit-mask-image:linear-gradient(#000 0%,#000 85%,transparent 100%);
    mask-image:linear-gradient(#000 0%,#000 85%,transparent 100%);
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .panel .dpr-v17920-description-body.dpr-v17920-description-expanded {
    display:block!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .dpr-v17920-description-toggle {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:44px!important;
    margin:13px 0 0!important;
    padding:10px 14px!important;
    box-sizing:border-box!important;
    border:1px solid #b4cdec!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#0b458e!important;
    font-size:14px!important;font-weight:800!important;line-height:1.3!important;
    cursor:pointer!important;
  }
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .dpr-v17920-description-toggle:focus-visible {
    outline:3px solid #ffd426!important;outline-offset:2px!important;
  }
}

@media (max-width:640px) {
  body.dpr-v17918-retail-product .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description {
    min-height:0!important;height:auto!important;max-height:none!important;
  }
}
