.apc-tab{position:fixed!important;right:0!important;top:24%!important;left:auto!important;bottom:auto!important;width:190px!important;max-width:calc(100vw - 16px)!important;box-sizing:border-box!important;text-align:center!important;transform:none!important;writing-mode:horizontal-tb!important;white-space:nowrap;background:#000!important;color:#fff!important;border:2px solid #fff!important;border-radius:0!important;padding:14px 10px!important;z-index:99990;letter-spacing:1.1px;font-family:"Bebas Neue",sans-serif;font-size:19px!important;line-height:1.2;cursor:pointer;box-shadow:none;transition:background-color .2s ease,color .2s ease,border-color .2s ease}.apc-tab:hover,.apc-tab:focus-visible{background:#fff!important;color:#8b0900!important;border-color:#8b0900!important}.apc-tab:focus-visible{outline:2px solid #8b0900;outline-offset:3px}.apc-overlay[hidden]{display:none!important}.apc-overlay{position:fixed;inset:0;background:rgba(0,0,0,.8);z-index:999999;display:flex;align-items:center;justify-content:center;padding:16px}.apc-dialog{position:relative;width:min(100%,560px);max-height:calc(100dvh - 32px);overflow-y:auto;background:#171717;color:#fff;padding:30px;box-shadow:0 15px 60px #0009;overscroll-behavior:contain}.apc-dialog *{box-sizing:border-box}.apc-dialog h2{font-family:'Bebas Neue',sans-serif;color:#fff;font-size:36px;margin:0 38px 8px 0;letter-spacing:1px}.apc-intro{color:#ccc;font-size:14px;line-height:1.5;margin:0 0 20px}.apc-close{position:absolute;right:16px;top:12px;background:none;border:0;color:#fff;font-size:32px;cursor:pointer}.apc-dialog label{display:block;color:#fff;font-size:14px;font-weight:600;margin:15px 0 6px}.apc-dialog label span{color:#8b0900}.apc-dialog input:not([type=file]),.apc-dialog select,.apc-dialog textarea{display:block;width:100%;border:1px solid #666;background:#242424;color:#fff;border-radius:2px;padding:11px 12px;font:inherit;font-size:14px;min-height:43px}.apc-dialog textarea{resize:vertical}.apc-dialog input[type=file]{display:block;width:100%;border:1px dashed #777;padding:14px;background:#222;color:#fff;font-size:13px}.apc-dialog input:focus,.apc-dialog select:focus,.apc-dialog textarea:focus{outline:2px solid #8b0900;outline-offset:1px}.apc-dialog small{color:#aaa;display:block;margin-top:6px}.apc-pricing{border-top:1px solid #444;margin:22px 0 18px;padding-top:16px;color:#ddd;font-size:13px;line-height:1.6}.apc-pricing strong{color:#fff}.apc-submit{display:block;width:100%;background:#8b0900;color:#fff;border:0;padding:14px;font-family:'Bebas Neue',sans-serif;font-size:22px;letter-spacing:1px;cursor:pointer}.apc-submit:hover{background:#8b0900}.apc-feedback{color:#8b0900;font-size:13px}.apc-notice{padding:12px;margin:10px 0;border:1px solid #777;font-size:14px}.apc-success{border-color:#6f9e78}.apc-error{border-color:#8b0900}.apc-trap{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}body.apc-open{overflow:hidden}@media(max-width:600px){.apc-tab{right:0!important;top:24%!important;left:auto!important;bottom:auto!important;font-size:17px!important;padding:12px 8px!important}.apc-dialog{padding:22px 18px}.apc-dialog h2{font-size:30px}}

/* v1.0.4: override theme button styles inside commission dialog */
.apc-dialog button.apc-submit,.apc-dialog button.apc-submit:enabled{background:#8b0900!important;background-color:#8b0900!important;color:#fff!important;border:2px solid #8b0900!important;border-radius:0!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important;transition:background-color .2s,color .2s,border-color .2s!important}
.apc-dialog button.apc-submit:hover,.apc-dialog button.apc-submit:focus-visible{background:#fff!important;background-color:#fff!important;color:#8b0900!important;border-color:#8b0900!important}
.apc-dialog button.apc-submit:disabled{opacity:.65!important;cursor:wait!important}

/* v1.0.7: keep CTA inside the narrow right-hand gutter beside the product grid. */
.apc-tab{min-height:62px!important;max-width:190px!important;}
@media(max-width:600px){.apc-tab{width:170px!important;max-width:calc(100vw - 16px)!important;min-height:56px!important;}}

/* v1.0.8: compact two-line CTA, stays within right-hand gutter */
.apc-tab{width:176px!important;max-width:176px!important;min-height:0!important;height:54px!important;padding:5px 8px!important;white-space:normal!important;line-height:1.05!important;font-size:19px!important;display:flex!important;align-items:center!important;justify-content:center!important;right:0!important;top:24%!important;}
@media(max-width:600px){.apc-tab{width:148px!important;max-width:148px!important;height:50px!important;font-size:17px!important;padding:5px 7px!important;}}

/* v1.0.9: small two-line CTA entirely in the right gutter */
.apc-tab{top:31%!important;right:0!important;width:112px!important;max-width:112px!important;height:44px!important;min-height:0!important;padding:3px 4px!important;font-size:15px!important;line-height:1.05!important;letter-spacing:.4px!important;white-space:normal!important;box-sizing:border-box!important;}
@media(max-width:600px){.apc-tab{top:31%!important;width:104px!important;max-width:104px!important;height:42px!important;font-size:14px!important;padding:3px!important;}}

/* v1.0.10: narrower CTA, closer above currency switcher. */
.apc-tab{top:38%!important;right:0!important;width:90px!important;max-width:90px!important;height:40px!important;min-height:0!important;padding:2px 3px!important;font-size:13px!important;line-height:1.05!important;letter-spacing:0!important;}
@media(max-width:600px){.apc-tab{top:38%!important;width:88px!important;max-width:88px!important;height:40px!important;font-size:12px!important;padding:2px!important;}}

/* v1.0.11: modest CTA enlargement; preserve v1.0.10 vertical position. */
.apc-tab{top:38%!important;right:0!important;width:126px!important;max-width:126px!important;height:48px!important;min-height:0!important;padding:4px 6px!important;font-size:16px!important;line-height:1.05!important;letter-spacing:.15px!important;}
@media(max-width:600px){.apc-tab{top:38%!important;width:110px!important;max-width:110px!important;height:46px!important;font-size:14px!important;padding:3px 4px!important;}}

/* v1.0.12: improved CTA typography; dimensions and position unchanged. */
.apc-tab{letter-spacing:.9px!important;}
@media(max-width:600px){.apc-tab{letter-spacing:.65px!important;}}
/* Highlight the no-payment reassurance without changing the submission process. */
.apc-dialog .apc-pricing{margin:22px 0 18px;padding-top:16px;}
.apc-dialog .apc-pricing>strong{display:block;font-size:17px;letter-spacing:.3px;margin-bottom:7px;}
.apc-dialog .apc-pricing>p:not(.apc-no-payment){margin:0 0 14px;}
.apc-dialog .apc-no-payment{display:flex;flex-direction:column;gap:5px;margin:0;padding:13px 14px;border:2px solid #8b0900;background:#201818;color:#fff;}
.apc-dialog .apc-no-payment strong{font-family:'Bebas Neue',sans-serif;font-size:21px;line-height:1.15;letter-spacing:1px;color:#fff;}
.apc-dialog .apc-no-payment span{font-size:13px;line-height:1.5;color:#e7e7e7;}

/* v1.0.13: close button consistent with ARTWORKBYAP red/white theme. */
.apc-dialog button.apc-close,
.apc-dialog button.apc-close:enabled {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  padding:0!important;border:2px solid #8B0900!important;border-radius:0!important;
  background:#8B0900!important;background-color:#8B0900!important;color:#fff!important;
  font-family:Arial,sans-serif!important;font-size:27px!important;line-height:1!important;
  box-shadow:none!important;text-shadow:none!important;opacity:1!important;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease!important;
}
.apc-dialog button.apc-close:hover,
.apc-dialog button.apc-close:focus-visible {
  background:#fff!important;background-color:#fff!important;color:#8B0900!important;
  border-color:#8B0900!important;
}
.apc-dialog button.apc-close:focus-visible{outline:2px solid #fff!important;outline-offset:2px!important;}

/* v1.0.16: Mobile CTA is anchored to the page, not the viewport.
   Center it in the lower hero area; desktop floating CTA is unchanged. */
@media (max-width: 767px) {
  body .apc-tab {
    position: absolute !important;
    top: 49vh !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    width: 148px !important;
    max-width: calc(100vw - 32px) !important;
    height: 44px !important;
    min-height: 0 !important;
    padding: 4px 8px !important;
    font-size: 17px !important;
    line-height: 1.05 !important;
    letter-spacing: .9px !important;
    white-space: normal !important;
    z-index: 99990 !important;
  }
}
