.wcst-product-preview {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0 0 2rem;
  clear: both;
}
.wcst-preview-stage {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
  overflow: hidden;
}
.wcst-live-sign-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  filter: none;
}
.wcst-preview-note {
  display: none !important;
}
.wcst-preview-empty {
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  color: rgba(0,0,0,.68);
  text-align: center;
}
.wcst-box {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 18px;
  margin: 18px 0;
  background: #fff;
}
.wcst-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.wcst-help-text {
  display: none;
}
.wcst-field textarea,
.wcst-field input[type="text"] {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 768px) {
  .wcst-product-preview {
    width: 100%;
    margin-bottom: 1rem;
  }
  .wcst-preview-stage {
    padding: 0;
  }
  .wcst-box {
    padding: 14px;
  }
}

/* v1.8 logo upload */
.wcst-logo-upload-field input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
.wcst-upload-help {
  display: block;
  margin-top: 6px;
  opacity: .72;
}


/* v1.8.1: frontend preview outline follows the actual sign plate shape inside SVG */
.wcst-live-sign-svg .wcst-frontend-plate-outline {
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
}



/* v1.8.32: minimal professional proof approval modal */
body.wcst-proof-modal-open {
  overflow: hidden;
}

/* Skjul når hidden er satt */
.wcst-proof-modal[hidden] {
  display: none !important;
}

/* Sørg for at modalen alltid ligger øverst */
.wcst-proof-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  isolation: isolate;
}

/* Backdrop */
.wcst-proof-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(15, 23, 42, .62);
  backdrop-filter: blur(2px);
}

/* Selve dialogen */
.wcst-proof-dialog {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: calc(100vh - 20px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(15, 23, 42, .35);
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

/* Mer kompakt header */
.wcst-proof-header {
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eef0f3;
  background: #fff;
}

.wcst-proof-eyebrow {
  display: none;
}

.wcst-proof-dialog h3 {
  margin: 0 40px 3px 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.2;
  color: #111827;
  font-weight: 700;
  letter-spacing: -.01em;
}

.wcst-proof-header p {
  margin: 0;
  max-width: 620px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

/* Lukkeknapp */
.wcst-proof-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #64748b;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.wcst-proof-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Mindre luft rundt forhåndsvisning */
.wcst-proof-preview-wrap {
  min-height: 0;
  padding: 10px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wcst-proof-preview {
  width: 100%;
  height: 100%;
  max-height: min(58vh, 560px);
  min-height: 210px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wcst-proof-preview svg,
.wcst-proof-preview .wcst-proof-sign-svg {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: calc(min(58vh, 560px) - 20px) !important;
  object-fit: contain;
  border: 0;
  margin: 0 auto;
  flex: 0 1 auto;
}

.wcst-proof-confirm-text {
  display: none;
}

/* Kompakte knapper */
.wcst-proof-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #eef0f3;
  background: #fff;
}

.wcst-proof-actions .button {
  min-height: 36px;
  border-radius: 9px;
  padding: 0 14px;
  font-weight: 700;
}

.wcst-proof-actions .wcst-proof-cancel {
  background: #fff;
  border: 1px solid #d7dde5;
  color: #334155;
}

.wcst-proof-actions .wcst-proof-confirm {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.wcst-proof-confirm.is-loading {
  opacity: .72;
  cursor: progress;
}

/* Mobil */
@media (max-width: 640px) {
  .wcst-proof-modal {
    padding: 6px;
    align-items: center;
  }

  .wcst-proof-dialog {
    width: 100%;
    max-height: calc(100vh - 12px);
    border-radius: 12px;
  }

  .wcst-proof-header {
    padding: 11px 12px 9px;
  }

  .wcst-proof-dialog h3 {
    font-size: 17px;
    margin-right: 36px;
  }

  .wcst-proof-header p {
    font-size: 12.5px;
  }

  .wcst-proof-preview-wrap {
    padding: 8px;
  }

  .wcst-proof-preview {
    min-height: 190px;
    max-height: 54vh;
    padding: 6px;
  }

  .wcst-proof-preview svg,
  .wcst-proof-preview .wcst-proof-sign-svg {
    max-height: calc(54vh - 16px) !important;
  }

  .wcst-proof-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .wcst-proof-actions .button {
    width: 100%;
    min-height: 38px;
    text-align: center;
  }
}

/* v1.8.6: minimal customer customization fields */
.wcst-box,
.wcst-box.wcst-box-minimal {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 18px 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.wcst-box h3,
.wcst-box .wcst-help-text {
  display: none !important;
}
.wcst-text-custom-field label {
  display: none !important;
}
.wcst-box .wcst-field {
  margin: 0 0 10px;
}
.wcst-text-custom-field input[type="text"],
.wcst-text-custom-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  min-height: 44px;
}
.wcst-text-custom-field textarea {
  min-height: 88px;
  resize: vertical;
}
.wcst-logo-upload-field {
  margin-top: 14px !important;
}
.wcst-logo-upload-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}


/* v1.8.17: optional step 2 on product page */
.wcst-product-customizer {
  display: grid;
  gap: 10px;
}
.wcst-product-customizer .wcst-field {
  margin-bottom: 0;
}
.wcst-step-two {
  margin-top: 4px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.wcst-step-two summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #111827;
}
.wcst-step-two summary::-webkit-details-marker {
  display: none;
}
.wcst-step-two summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
}
.wcst-step-two[open] summary::after {
  content: "–";
}
.wcst-step-two summary small {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.wcst-step-two-body {
  display: grid;
  gap: 10px;
  padding: 0 15px 15px;
}

/* v1.8.24 whole-page logo dropzone */
.wcst-product-preview.has-logo-dropzone .wcst-preview-stage {
  position: relative;
}
.wcst-product-preview.has-logo-dropzone .wcst-preview-stage::after {
  content: "Dra og slipp logo hvor som helst på siden";
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .74);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  pointer-events: none;
  opacity: .86;
}
.wcst-product-preview.is-logo-dragover .wcst-preview-stage,
.wcst-preview-stage.is-logo-dragover {
  outline: 2px dashed #2563eb;
  outline-offset: 6px;
  border-radius: 10px;
}
body.wcst-logo-page-dragover::before {
  content: "Slipp logoen her";
  position: fixed;
  inset: 18px;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed #2563eb;
  border-radius: 22px;
  background: rgba(37, 99, 235, .13);
  color: #1d4ed8;
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: center;
  pointer-events: none;
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, .35);
}
body.wcst-logo-page-dragover::after {
  content: "Logoen blir lagt inn i logo-feltet på skiltet";
  position: fixed;
  left: 50%;
  top: calc(50% + 44px);
  transform: translateX(-50%);
  z-index: 999999;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
}
@media (max-width: 768px) {
  .wcst-product-preview.has-logo-dropzone .wcst-preview-stage::after {
    left: 8px;
    right: 8px;
    bottom: 8px;
    text-align: center;
    border-radius: 12px;
  }
}

/* v1.8.29 product image frame modes */
.wcst-product-preview--square .wcst-preview-stage {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 4%, 24px);
  border-radius: var(--wcst-product-image-radius, 0);
  box-sizing: border-box;
  overflow: hidden;
}
.wcst-product-preview--square .wcst-live-sign-svg {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  flex: 0 1 auto;
}
.wcst-product-preview--archive {
  float: none;
  clear: none;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1em;
}
ul.products li.product .wcst-product-preview--archive,
.woocommerce ul.products li.product .wcst-product-preview--archive {
  display: block;
}
ul.products li.product .wcst-product-preview--archive .wcst-preview-stage,
.woocommerce ul.products li.product .wcst-product-preview--archive .wcst-preview-stage {
  margin: 0 0 1em;
}


/* v1.8.33: compact cart / header-cart sign options accordion */
.wcst-cart-accordion {
  margin: 4px 0 0;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 8px;
  background: rgba(248, 250, 252, .9);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
}
.wcst-cart-accordion-summary {
  cursor: pointer;
  padding: 7px 9px;
  color: #0f172a;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wcst-cart-accordion-summary::-webkit-details-marker {
  display: none;
}
.wcst-cart-accordion-summary::after {
  content: "+";
  color: #64748b;
  font-weight: 700;
  line-height: 1;
}
.wcst-cart-accordion[open] .wcst-cart-accordion-summary::after {
  content: "–";
}
.wcst-cart-accordion-list {
  margin: 0;
  padding: 0 9px 9px;
  display: grid;
  gap: 6px;
}
.wcst-cart-accordion-list dt {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}
.wcst-cart-accordion-list dd {
  margin: -4px 0 0;
  color: #0f172a;
  word-break: break-word;
}
.woocommerce-mini-cart .wcst-cart-accordion,
.widget_shopping_cart .wcst-cart-accordion {
  max-width: 100%;
}
.woocommerce-mini-cart .variation-Skiltvalg,
.widget_shopping_cart .variation-Skiltvalg {
  clear: both;
}


/* v1.8.34: JS-backed cart accordion for cart, checkout and header cart */
.wcst-cart-accordion {
  display: block;
  width: 100%;
}
.wcst-cart-accordion-summary {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
}
.wcst-cart-accordion-summary:focus-visible {
  outline: 2px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
}
.wcst-cart-accordion-summary::after {
  content: "+";
}
.wcst-cart-accordion.is-open .wcst-cart-accordion-summary::after,
.wcst-cart-accordion[open] .wcst-cart-accordion-summary::after {
  content: "–";
}
.wcst-cart-accordion-panel[hidden] {
  display: none !important;
}
.wcst-cart-accordion-row {
  display: block;
}
.woocommerce-cart-form .variation-Skiltvalg,
.woocommerce-checkout-review-order .variation-Skiltvalg,
.woocommerce-mini-cart .variation-Skiltvalg,
.widget_shopping_cart .variation-Skiltvalg,
.woocommerce .cart_item .variation-Skiltvalg {
  clear: both;
  width: 100%;
}
.woocommerce-mini-cart .variation-Skiltvalg p,
.widget_shopping_cart .variation-Skiltvalg p,
.woocommerce-cart-form .variation-Skiltvalg p,
.woocommerce-checkout-review-order .variation-Skiltvalg p {
  margin: 0;
}
.woocommerce-mini-cart .variation-Skiltvalg > p,
.widget_shopping_cart .variation-Skiltvalg > p,
.woocommerce-cart-form .variation-Skiltvalg > p,
.woocommerce-checkout-review-order .variation-Skiltvalg > p {
  width: 100%;
}


/* v1.8.36: never show sign customization item data in cart/mini-cart/checkout */
.woocommerce-mini-cart .variation-Skiltvalg,
.widget_shopping_cart .variation-Skiltvalg,
.woocommerce-cart-form .variation-Skiltvalg,
.woocommerce-checkout-review-order .variation-Skiltvalg,
.woocommerce .cart_item .variation-Skiltvalg,
.woocommerce-mini-cart .wcst-cart-accordion,
.widget_shopping_cart .wcst-cart-accordion,
.woocommerce-cart-form .wcst-cart-accordion,
.woocommerce-checkout-review-order .wcst-cart-accordion,
.woocommerce .cart_item .wcst-cart-accordion,
.woocommerce-mini-cart [data-wcst-cart-accordion],
.widget_shopping_cart [data-wcst-cart-accordion],
.woocommerce-cart-form [data-wcst-cart-accordion],
.woocommerce-checkout-review-order [data-wcst-cart-accordion],
.woocommerce .cart_item [data-wcst-cart-accordion] {
  display: none !important;
}

/* v1.8.41: sign preview thumbnails in cart, checkout, order/admin and live search */
.wcst-product-preview--cart,
.wcst-product-preview--order,
.wcst-product-preview--admin-order {
  width: 72px;
  max-width: 72px;
  min-width: 72px;
  margin: 0;
  float: none;
  clear: none;
}
.wcst-product-preview--cart .wcst-preview-stage,
.wcst-product-preview--order .wcst-preview-stage,
.wcst-product-preview--admin-order .wcst-preview-stage {
  width: 72px;
  height: 72px;
  aspect-ratio: 1 / 1;
  padding: 4px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wcst-product-preview--cart .wcst-live-sign-svg,
.wcst-product-preview--order .wcst-live-sign-svg,
.wcst-product-preview--admin-order .wcst-live-sign-svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.woocommerce-checkout-review-order .wcst-product-preview--cart,
.woocommerce-mini-cart .wcst-product-preview--cart,
.widget_shopping_cart .wcst-product-preview--cart {
  width: 56px;
  max-width: 56px;
  min-width: 56px;
}
.woocommerce-checkout-review-order .wcst-product-preview--cart .wcst-preview-stage,
.woocommerce-mini-cart .wcst-product-preview--cart .wcst-preview-stage,
.widget_shopping_cart .wcst-product-preview--cart .wcst-preview-stage {
  width: 56px;
  height: 56px;
}
.wcst-product-preview--admin-order {
  width: 48px;
  max-width: 48px;
  min-width: 48px;
}
.wcst-product-preview--admin-order .wcst-preview-stage {
  width: 48px;
  height: 48px;
  padding: 3px;
}

/* v1.8.43: global floating logo widget */
.wcst-global-logo-widget {
  position: fixed;
  z-index: 99990;
  right: 18px;
  bottom: 18px;
  font-family: inherit;
}
.wcst-global-logo-widget--bottom-left {
  right: auto;
  left: 18px;
}
.wcst-global-logo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
  cursor: pointer;
}
.wcst-global-logo-toggle:hover,
.wcst-global-logo-toggle:focus-visible {
  background: #020617;
  color: #fff;
  outline: none;
}
.wcst-global-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .18);
}
.wcst-global-logo-widget.has-global-logo .wcst-global-logo-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}
.wcst-global-logo-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(340px, calc(100vw - 36px));
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 22px 56px rgba(15, 23, 42, .22);
  padding: 16px;
  box-sizing: border-box;
}
.wcst-global-logo-widget--bottom-left .wcst-global-logo-panel {
  right: auto;
  left: 0;
}
.wcst-global-logo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.wcst-global-logo-head strong {
  font-size: 15px;
}
.wcst-global-logo-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #64748b;
  padding: 0;
}
.wcst-global-logo-panel p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
.wcst-global-logo-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 116px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
  cursor: pointer;
  padding: 16px;
  transition: border-color .15s ease, background .15s ease;
}
.wcst-global-logo-drop:hover,
.wcst-global-logo-drop.is-dragover {
  border-color: #2563eb;
  background: #eff6ff;
}
.wcst-global-logo-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.wcst-global-logo-drop-title {
  font-weight: 700;
  color: #0f172a;
}
.wcst-global-logo-drop-sub {
  font-size: 12px;
  color: #64748b;
}
.wcst-global-logo-current {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  background: #fff;
}
.wcst-global-logo-current[hidden] {
  display: none !important;
}
.wcst-global-logo-preview {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}
.wcst-global-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.wcst-global-logo-meta {
  min-width: 0;
}
.wcst-global-logo-meta strong,
.wcst-global-logo-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wcst-global-logo-meta strong {
  font-size: 13px;
}
.wcst-global-logo-meta span {
  color: #64748b;
  font-size: 11px;
}
.wcst-global-logo-clear {
  border: 0;
  background: transparent;
  color: #dc2626;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 4px;
}
@media (max-width: 640px) {
  .wcst-global-logo-widget {
    right: 12px;
    bottom: 12px;
  }
  .wcst-global-logo-toggle {
    padding: 10px 13px;
    font-size: 13px;
  }
}


/* v1.8.44: compact professional B2B global logo widget */
.wcst-global-logo-widget {
  right: 16px;
  bottom: 16px;
}
.wcst-global-logo-toggle {
  gap: 7px;
  padding: 9px 13px;
  font-size: 13px;
  background: #111827;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
}
.wcst-global-logo-toggle * {
  color: #fff !important;
}
.wcst-global-logo-panel {
  width: min(310px, calc(100vw - 28px));
  padding: 12px;
  border-radius: 14px;
  color: #111827 !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
}
.wcst-global-logo-panel,
.wcst-global-logo-panel * {
  color: #111827;
}
.wcst-global-logo-head {
  margin-bottom: 4px;
}
.wcst-global-logo-head strong {
  font-size: 14px;
  line-height: 1.2;
}
.wcst-global-logo-close {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 18px;
  color: #111827;
}
.wcst-global-logo-close:hover,
.wcst-global-logo-close:focus-visible {
  background: #f3f4f6;
  outline: none;
}
.wcst-global-logo-panel p {
  margin: 0 0 9px;
  color: #1f2937 !important;
  font-size: 12px;
  line-height: 1.35;
}
.wcst-global-logo-drop {
  min-height: 76px;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 12px;
  border-color: #9ca3af;
  background: #f9fafb;
}
.wcst-global-logo-drop:hover,
.wcst-global-logo-drop.is-dragover {
  background: #f3f4f6;
  border-color: #111827;
}
.wcst-global-logo-drop-title {
  color: #111827 !important;
  font-size: 13px;
  line-height: 1.2;
}
.wcst-global-logo-drop-sub {
  color: #1f2937 !important;
  font-size: 11px;
  line-height: 1.25;
}
.wcst-global-logo-current {
  grid-template-columns: 42px 1fr auto;
  gap: 8px;
  margin-top: 9px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}
.wcst-global-logo-preview {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #f3f4f6;
}
.wcst-global-logo-meta strong {
  color: #111827 !important;
  font-size: 12px;
  line-height: 1.25;
}
.wcst-global-logo-meta span {
  color: #1f2937 !important;
  font-size: 10.5px;
  line-height: 1.25;
}
.wcst-global-logo-clear {
  color: #111827 !important;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11px;
}
.wcst-global-logo-clear:hover,
.wcst-global-logo-clear:focus-visible {
  background: #e5e7eb;
  outline: none;
}


/* v1.8.47: show global/widget logo on product logo fields */
.wcst-logo-field-current {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -30px;
  padding: 8px 10px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  line-height: 1.3;
}
.wcst-logo-field-current[hidden] {
  display: none !important;
}
.wcst-logo-field-thumb {
  width: 42px;
  height: 32px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}
.wcst-logo-field-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.wcst-logo-field-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
}
.wcst-logo-field-current.is-global-logo {
  border-color: rgba(37, 99, 235, .22);
  background: #f8fbff;
}


/* v1.8.48: global logo widget placement options */
.wcst-global-logo-widget--inline {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 10;
  display: inline-block;
  margin: 8px 0;
}
.wcst-global-logo-widget--inline .wcst-global-logo-panel {
  top: calc(100% + 10px);
  bottom: auto;
  left: 0;
  right: auto;
}
.wcst-global-logo-widget--bottom-right {
  right: 16px;
  left: auto;
}
.wcst-global-logo-widget--bottom-left {
  right: auto !important;
  left: 16px !important;
}


/* v1.8.49: product designer entry button */
.wcst-designer-entry {
  margin: 10px 0 0;
}
.wcst-designer-entry--archive {
  margin-top: 8px;
}
.wcst-designer-entry .wcst-designer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .2);
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}
.wcst-designer-link .wcst-designer-link-icon {
  font-size: 14px;
  line-height: 1;
}
.wcst-designer-entry .wcst-designer-link:hover,
.wcst-designer-entry .wcst-designer-link:focus-visible {
  border-color: #1d4ed8;
  color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, .12);
  outline: none;
}
.wcst-loop-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wcst-loop-actions > .button {
  margin: 0;
}
.box-text-products .add-to-cart-button .wcst-loop-actions {
  width: 100%;
}
.box-text-products .add-to-cart-button .wcst-loop-actions > .button {
  flex: 1 1 auto;
}
.box-text-products .add-to-cart-button .wcst-loop-actions > .wcst-designer-link {
  flex: 0 0 auto;
  min-width: 112px;
}
.single-product form.cart .wcst-designer-entry--single {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 10px;
}
.single-product form.cart .wcst-designer-entry--single .wcst-designer-link {
  min-height: 44px;
}
@media (max-width: 849px) {
  .single-product form.cart .wcst-designer-entry--single {
    display: block;
    margin: 10px 0 0;
  }
  .single-product form.cart .wcst-designer-entry--single .wcst-designer-link {
    width: 100%;
  }
}
