.ds-share-panel { width: min(94vw, 34rem); max-height: 90vh; padding: 1.25rem; overflow: auto; border: 1px solid #777; }
.ds-share-panel::backdrop { background: rgb(0 0 0 / .65); }
.ds-share-panel form { position: absolute; top: .75rem; right: .75rem; }
.ds-share-panel h2 { margin: 0 4rem 1rem 0; }
.ds-share-quantity input { width: 8rem; }
.ds-share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.ds-share-status { white-space: pre-line; }
.ds-lightbox-share, .ds-lightbox-download { position: relative; display: inline-block; padding: .5rem; color: #fff; background: #242424; line-height: 1.4; cursor: pointer; z-index: 2; }
.ds-is-reseller .pswp__button--share,
.ds-is-reseller .pswp__share-modal,
.ds-is-reseller .single-product-share,
.ds-is-reseller .product-share,
.ds-is-reseller .product-social-share,
.ds-is-reseller .woostify-social-share,
.ds-is-reseller .ds-share-link-row { display: none !important; }
.ds-share-message { white-space: pre-line; overflow-wrap: anywhere; }
.pswp__top-bar .ds-lightbox-share, .pswp__top-bar .ds-lightbox-download { width: auto; background: #242424; pointer-events: auto; }
.ds-is-reseller .pswp [download],
.ds-is-reseller .pswp [data-ds-lightbox-download],
.ds-is-reseller .pswp .pswp__button--download { display: none !important; }
.ds-is-reseller .pswp__caption,
.ds-is-reseller .pswp .ds-lightbox-share-button,
.ds-is-reseller .pswp .ds-share-menu { display: none !important; }
.ds-product-sharing-row { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; margin: .75rem 0; }
.ds-product-sharing-row .ds-retail-whatsapp { text-decoration: underline; }
.ds-share-panel { position: fixed; inset: 0; margin: auto; max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overscroll-behavior: contain; z-index: 100000; }
.ds-share-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.ds-share-heading h2 { flex: 1; margin: 0 0 1rem; }
@media (pointer: fine) and (min-width: 768px) {
  .ds-share-heading h2 { cursor: move; user-select: none; }
}
.ds-share-message { display: block; margin: .75rem 0; }
.ds-share-message[hidden] { display: none; }
.ds-share-message textarea { display: block; width: 100%; box-sizing: border-box; margin-top: .25rem; resize: vertical; }
.ds-share-status.ds-share-select-options { color: #a71919; font-size: 1.25em; font-weight: 700; }
.ds-product-share-open .dashicons, .ds-lightbox-share .dashicons { vertical-align: middle; }
.pswp .pswp__top-bar .ds-lightbox-share,
.pswp .pswp__top-bar .ds-lightbox-share-button,
.pswp .pswp__top-bar [data-ds-lightbox-share] {
  width: auto;
  margin-inline: .25rem;
  padding: 0 .75rem;
  background: #202020;
  color: #fff;
  text-shadow: none;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 1;
}
.ds-share-panel .ds-share-quantity,
.ds-share-panel .ds-share-price { display: grid; grid-template-columns: 5rem minmax(0, 9rem); align-items: center; gap: .5rem; margin-bottom: .4rem; }
.ds-share-panel .ds-share-quantity[hidden],
.ds-share-panel .ds-share-price[hidden] { display: none; }
.ds-share-panel .ds-share-quantity input,
.ds-share-panel .ds-share-price input { width: 100%; box-sizing: border-box; padding: .25em .4em; background: #fce0eb; color: #000; font-size: 1.25em; }
.ds-share-outgoing { margin: .75rem 0; }
.ds-share-panel .ds-share-outgoing summary {
  cursor: pointer; display: list-item; padding: .45em .65em; border-radius: .5rem;
  background: #1649ad; color: #fff; font-size: 1.25em; font-weight: 600; line-height: 1.3;
}
.ds-share-panel .ds-share-outgoing summary:focus-visible { outline: 2px solid #1649ad; outline-offset: 2px; }
.ds-share-panel .ds-share-outgoing p {
  white-space: pre-wrap; overflow-wrap: anywhere; margin: .5rem 0; padding: .75rem;
  border-radius: .5rem; background: var(--ds-preview-background, #eef4ff); color: var(--ds-preview-text, #172339);
}
.ds-share-panel .ds-retail-share-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid #d8dde5; border-radius: 10px; background: #fff; color: #253248;
  text-decoration: none; line-height: 1; box-sizing: border-box; cursor: pointer;
}
.ds-share-panel .ds-retail-share-icon:hover { background: #eef3fb; }
.ds-share-panel .ds-retail-share-icon:focus-visible { outline: 2px solid #1649a3; outline-offset: 2px; }
.ds-share-panel .ds-retail-share-icon svg,
.ds-share-panel .ds-retail-share-icon .dashicons { width: 22px; height: 22px; font-size: 22px; fill: currentColor; }
.ds-share-panel .ds-retail-share-whatsapp { color: #116c42; }
.ds-share-panel .ds-retail-share-facebook { color: #0866ff; }
.ds-share-panel .ds-retail-share-pinterest { color: #b80021; }
.ds-share-panel--reseller[open] { display: flex; flex-direction: column; overflow: hidden; }
.ds-share-panel--reseller .ds-share-body { overflow: auto; min-height: 0; padding: .125rem .25rem; }
.ds-share-panel--reseller .ds-share-heading,
.ds-share-panel--reseller .ds-share-actions { flex: 0 0 auto; }
.ds-share-panel--reseller .ds-share-actions:not(:empty) { padding-top: .625rem; border-top: 1px solid #d8dde5; }
.ds-share-panel--reseller .ds-share-private { background: #f4f6fa; border-radius: .5rem; padding: .65em; margin: .5em 0; }
.ds-share-panel--reseller .ds-share-private p { margin: 0 0 .5em; }
.ds-share-panel--reseller .ds-share-private p:last-child { margin: 0; }
.ds-share-panel--reseller .ds-share-quantity { grid-template-columns: max-content minmax(0, 14rem); }
.ds-share-stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: .25rem; }
.ds-share-stepper button { min-height: 44px; }
.ds-share-quantity small { grid-column: 1 / -1; }
.ds-share-quantity:has(input[aria-invalid="true"]) small { color: #9b1717; font-weight: 600; }
.ds-share-panel--reseller .ds-share-price { grid-template-columns: minmax(0, 1fr) minmax(0, 8rem); max-width: 23rem; }
.ds-share-text-size { display: none; }
@media (pointer: coarse), (max-width: 767px) {
  .ds-share-panel--reseller[data-text-size="0"] .ds-share-body { font-size: .9em; }
  .ds-share-panel--reseller[data-text-size="2"] .ds-share-body { font-size: 1.15em; }
  .ds-share-panel--reseller[data-text-size="3"] .ds-share-body { font-size: 1.3em; }
  .ds-share-panel--reseller .ds-share-body textarea { font-size: inherit; }
  .ds-share-panel--reseller .ds-share-heading { flex-wrap: wrap; align-items: center; padding-bottom: .5rem; }
  .ds-share-panel--reseller .ds-share-heading h2 { flex: 1 1 100%; margin: 0; }
  .ds-share-panel--reseller .ds-share-text-size:not([hidden]) { display: inline-flex; align-items: center; gap: .25rem; margin-left: auto; }
  .ds-share-panel--reseller .ds-share-heading button { min-width: 44px; min-height: 44px; }
}

.ds-share-panel .ds-share-desktop-note { display: none; }
@media (pointer: fine) and (min-width: 768px) {
  .ds-share-panel--reseller .ds-share-desktop-note:not([hidden]) {
    display: block; background: #fff3a3; color: #000; padding: .5em .65em; margin: .75em 0 0;
  }
}
.ds-share-panel--reseller .ds-share-profit.ds-share-loss > :nth-child(-n+2) {
  background: #fff3a3; color: #9b1717; padding: .15em .4em; font-weight: 600;
}

.ds-share-panel .ds-share-courier:not([hidden]) { display: block; margin: .75em 0; }
.ds-share-panel .ds-share-courier input { display: block; width: 100%; box-sizing: border-box; margin-top: .25em; }
