/* PPS — Product Page Studio (catalog runtime CSS)

 * Layout-twig styling. Kept neutral so per-product CSS (PSG styles, theme

 * overrides) can paint over without specificity wars.

 */



/* Editor mount — pixeleditor mounts INLINE (not in an iframe). Its internal

   .psed-root auto-sizes to its content, so without a fixed parent height the

   min-height grows unbounded (6000px+) and pushes the page down. Use a fixed

   height + overflow:hidden so the editor lives in a bounded box. */
#ps-share-view-reviews-block > * {
    pointer-events: all;
}
#tool-preview-page-loader,
.swiper-slide img {
    aspect-ratio: var(--di-aspect, 1200 / 1200);
}
#tool-preview-page-loader .loading-wrapper {
  position: relative;
  z-index: 3;
}
#ps-share-view-reviews-block {
    z-index: 10;
    pointer-events: none;
}
#pps-editor-mount {

  width: 100%;

  height: 880px;

  max-height: calc(100vh - 223px);

  background: #fafafa;

  border: 1px solid #e8e8e8;

  border-radius: 4px;

  overflow: hidden;

  position: relative;

  display: flex;

}

@media (max-width: 991px) {

  #pps-editor-mount {

    height: 640px;

    max-height: calc(100vh - 100px);

  }

}

@media (max-width: 575px) {

  #pps-editor-mount {

    height: 412px;

    max-height: calc(100vh - 80px);

  }

}



/* The editor's own root tries to set min-height based on content. Force it to

   fill the container instead so internal scroll handles overflow, not page

   growth. */

#pps-editor-mount .psed-root,

#pps-editor-mount .psed-editor {

  height: 100% !important;

  min-height: 0 !important;

  max-height: 100% !important;

  width: 100% !important;

  flex: 1 1 auto;

  padding: 0 !important;

}

#pps-editor-mount .psed-workspace,

#pps-editor-mount #workspace {

  flex: 1 1 auto;

  min-height: 0;

  overflow: hidden;

  padding: 0 !important;

  margin: 0 !important;

}



/* Strip every inner gap that the editor adds around the canvas. Combined

   with canvas.paddingPct = 0 from the runtime, this collapses the editor's

   own padding/margin around the canvas to zero (the aspect-ratio gap that

   remains is a function of canvas vs container dimensions). */

#pps-editor-mount .canvas-stage,

#pps-editor-mount .psed-canvas-stage,

#pps-editor-mount .canvas-wrap,

#pps-editor-mount .psed-canvas-wrap {

  padding: 0 !important;

  margin: 0 !important;

}



/* Placeholder shown while pixeleditor hasn't yet mounted (no children) OR if

   the editor failed to load. Removed automatically by the runtime once

   PrintshoppyEditor.mount() has appended any DOM. */

#pps-editor-mount:empty::before {

  content: "PPS editor mount · waiting for pixeleditor (loader.js + template)…";

  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 24px;

  color: #999;

  font-size: 14px;

  line-height: 1.5;

  white-space: pre-line;

  background: repeating-linear-gradient(

    135deg,

    rgba(0, 0, 0, 0.02) 0,

    rgba(0, 0, 0, 0.02) 12px,

    transparent 12px,

    transparent 24px

  );

}



/* PPS debug card — top-right corner overlay. Shows live config so the

   admin can see at a glance which twig + manufacturer config rendered.

   Hidden in production via .pps-debug-card[hidden] or by removing the

   `pps_debug_card_visible` flag on the manufacturer config. */

.pps-debug-card {

  position: fixed;

  top: 70px;

  right: 16px;

  z-index: 10000;

  width: 320px;

  max-width: calc(100vw - 32px);

  background: rgba(20, 28, 40, 0.94);

  color: #f5f7fa;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  font-size: 12px;

  line-height: 1.45;

  border-radius: 6px;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);

  padding: 14px 16px 12px;

}

.pps-debug-card-head {

  display: flex;

  align-items: center;

  gap: 8px;

  font-weight: 700;

  color: #4ec9b0;

  margin-bottom: 8px;

  padding-bottom: 8px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}

.pps-debug-card-head .pps-debug-dismiss {

  margin-left: auto;

  background: transparent;

  border: 0;

  color: #888;

  cursor: pointer;

  font-size: 16px;

  line-height: 1;

  padding: 0 4px;

}

.pps-debug-card-head .pps-debug-dismiss:hover {

  color: #fff;

}

.pps-debug-card dl {

  margin: 0;

}

.pps-debug-card dt {

  color: #9ba3ad;

  font-weight: normal;

  margin-top: 6px;

}

.pps-debug-card dd {

  margin: 2px 0 0;

  color: #f5f7fa;

  word-break: break-all;

  font-family: "SFMono-Regular", Consolas, monospace;

  font-size: 11.5px;

}

.pps-debug-card dd.pps-debug-empty {

  color: #555;

  font-style: italic;

}

.pps-debug-card .pps-debug-pill {

  display: inline-block;

  padding: 1px 8px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: #4ec9b0;

  font-size: 10.5px;

}

@media (max-width: 991px) {

  .pps-debug-card {

    top: 60px;

    right: 8px;

    width: 280px;

    font-size: 11.5px;

  }

}

@media (max-width: 991px) {

  #pps-editor-mount {

    min-height: 420px;

  }

}



/* Stage-aware sections — runtime manages visibility via Bootstrap d-none /

   visually-hidden classes (declared in each twig's initial state) plus an

   optional .pps-stage-active marker. No CSS gate here, so cached/older

   versions of this file can't hide a section we just revealed in JS. */



/* Closed-tool / three-stage CTAs */

.pps-cta-row {

  display: flex;

  gap: 12px;

  margin-top: 18px;

  flex-wrap: wrap;

}

.pps-cta-row .btn {

  min-width: 160px;

}



/* Preview section (closed-tool + three-stage) */

#pps-preview-section {

  margin-top: 24px;

}

#pps-preview-carousel {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 12px;

}

#pps-preview-carousel img {

  width: 100%;

  height: auto;

  border-radius: 4px;

  border: 1px solid #e8e8e8;

}



/* View-stage (three-stage only) */

#pps-view-section {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 24px;

  align-items: start;

}

@media (max-width: 991px) {

  #pps-view-section {

    grid-template-columns: 1fr;

  }

}

#pps-view-section .pps-view-image img {

  width: 100%;

  height: auto;

  border-radius: 4px;

}



/* mountMessage / info text panel (rule-driven via set_element_text) */

#pps-mount-message,

.pps-info-panel {

  margin-top: 14px;

  padding: 12px 14px;

  background: #f7f7f7;

  border-left: 3px solid #5cb85c;

  border-radius: 0 4px 4px 0;

  font-size: 14px;

  line-height: 1.5;

}



/* Surface picker — keep neutral; pixeleditor renders its own .surface-btn. */

#pps-surface-picker {

  display: flex;

  gap: 8px;

  margin-top: 10px;

  flex-wrap: wrap;

}

#pps-surface-picker .pps-surface-btn {

  padding: 8px 18px;

  border: 1px solid #d8d8d8;

  border-radius: 4px;

  background: #fff;

  cursor: pointer;

  font-size: 14px;

  transition: all 0.15s ease;

}

#pps-surface-picker .pps-surface-btn:hover {

  border-color: #5cb85c;

  color: #5cb85c;

}

#pps-surface-picker .pps-surface-btn.active {

  background: #5cb85c;

  border-color: #5cb85c;

  color: #fff;

}



/* Editor's BUILT-IN surface switch (#surfaceSwitch, rendered inline by the

   pixeleditor for surfaces.length >= 2 — e.g. car hangings front/back).

   Theme it to the PrintShoppy segmented look: right-aligned pills, brand

   orange active. The editor renders #surfaceSwitch .surface-btn (+ .active);

   we override its default centred/blue styling. !important beats the editor's

   inline defaults. */

#surfaceSwitch {

  display: flex !important;

  /* embedded.css absolutely-positions + centers this (left:50%;transform:translateX(-50%)).

     Override to pin it to the RIGHT edge so it clears the left-side Reset/Change-Photo

     toolbar (they overlapped when centered, esp. on mobile). */

  position: absolute !important;

  left: auto !important;

  right: 8px !important;

  transform: none !important;

  justify-content: flex-end !important;

  gap: 8px !important;

  flex-wrap: nowrap !important;

  width: auto !important;

  max-width: 60% !important;

}

#surfaceSwitch .surface-btn {

  padding: 6px 18px !important;

  border: 1px solid #d8d8d8 !important;

  border-radius: 6px !important;

  background: #fff !important;

  color: #333 !important;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.15s ease;

}

#surfaceSwitch .surface-btn:hover {

  border-color: #f15a24 !important;

  color: #f15a24 !important;

}

#surfaceSwitch .surface-btn.active {

  background: #f15a24 !important;

  border-color: #f15a24 !important;

  color: #fff !important;

}



/* Offer products (keychains, wallet cards): post-add-to-cart Add-Another /

   Proceed-to-Cart panel, injected by pps-runtime.js showCartOffer(). */

.pps-cart-offer { margin: 0; padding: 0; }

.pps-cart-offer-msg {

  text-align: center;

  margin: 0 0 10px 0;

  color: #1e7e34;

  font-weight: 600;

}

.pps-cart-offer-btns { display: flex; gap: 10px; }

.pps-cart-offer-btns .btn { padding: 12px; border-radius: 6px; }

.pps-cart-offer .pps-add-more-btn { background: #0489f5; border-color: #0489f5; }

.pps-cart-offer .pps-add-more-btn:hover { background: #0377d4; border-color: #0377d4; }

@media (max-width: 575px) {

  .pps-cart-offer-btns { flex-direction: column; }

}



/* Quality meter — shown when has_quality_meter = 1 */

#pps-quality-meter {

  margin-top: 10px;

  font-size: 13px;

}



/* Hidden parking lot — keep out of layout but in DOM for mux_visibility. */

#pps-option-parking {

  display: none !important;

}



/* ── SVG shape selector (svg-shape-swiper) — pillow Love/Square ──

   Compound selector (.psg-managed-option.psg-style-svg-shape-swiper = 0,3,0)

   beats psg.css's generic .psg-managed-option .psg-tile (0,2,0), so the icon

   AND label sit inside one bordered tile (no "double square", name inside). */

.psg-managed-option.psg-style-svg-shape-swiper .swiper-slide { width: auto; }

.psg-managed-option.psg-style-svg-shape-swiper .psg-svg-tile {

  position: relative;

  display: flex; flex-direction: column; align-items: center; justify-content: center;

  gap: 5px; padding: 8px 14px; margin: 0; min-width: 74px;

  border: 2px solid transparent !important; border-radius: 12px; background: #f4f4f4 !important;

  cursor: pointer; transition: border-color .15s, background .15s;

}

.psg-managed-option.psg-style-svg-shape-swiper .psg-svg-tile input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

/* bigger icon, and explicitly no border/box around the SVG itself */

.psg-managed-option.psg-style-svg-shape-swiper .psg-svg-tile svg { width: 38px !important; height: 38px !important; border: 0 !important; background: none !important; fill: #555; transition: fill .15s; }

.psg-managed-option.psg-style-svg-shape-swiper .psg-svg-tile .psg-tile-label { font-size: .8rem; font-weight: 700; color: #8f8f8f; }

.psg-managed-option.psg-style-svg-shape-swiper .psg-svg-tile:has(input:checked) { border-color: #0489F5 !important; background: #EAF4FF !important; }



/* ── Pillow shape→colour mux, PURE CSS (no JS timing) ──

   Hide the colour group that doesn't match the checked shape. :has() keys off

   the shape PSG radio's data-psg-oc-value-name, so as soon as PSG renders a

   block it's correctly shown/hidden — fixes "both colour groups show on load". */

#product-page-options:has(.psg-style-svg-shape-swiper input[data-psg-oc-value-name="Love"]:checked)

  .psg-managed-option[data-psg-oc-option-name="Pillow Color Square Shape"] { display: none !important; }

#product-page-options:has(.psg-style-svg-shape-swiper input[data-psg-oc-value-name="Square"]:checked)

  .psg-managed-option[data-psg-oc-option-name="Pillow Color Love Shape"] { display: none !important; }

.psg-managed-option.psg-style-svg-shape-swiper .psg-svg-tile:has(input:checked) svg { fill: #0489F5; }

.psg-managed-option.psg-style-svg-shape-swiper .psg-svg-tile:has(input:checked) .psg-tile-label { color: #0489F5; }



/* ── Pillow colour swiper (pillow-color-swiper) — uniform swatch tiles ──

   Same compound-specificity trick. Fixed swatch size = uniform tiles;

   bold label inside the grey tile; blue tint when selected. */

.psg-managed-option.psg-style-pillow-color-swiper .swiper-slide { width: auto; }

.psg-managed-option.psg-style-pillow-color-swiper .pillow-color-tile {

  position: relative;

  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;

  gap: 4px; padding: 10px 10px 8px; margin: 0; min-width: 80px;

  background: #f4f4f4; border: 2px solid transparent; border-radius: 12px;

  cursor: pointer; transition: background .15s, border-color .15s;

}

.psg-managed-option.psg-style-pillow-color-swiper .pillow-color-tile input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.psg-managed-option.psg-style-pillow-color-swiper .pillow-color-tile img { width: 46px; height: 46px; object-fit: contain; display: block; }

.psg-managed-option.psg-style-pillow-color-swiper .pillow-color-tile .psg-tile-label { font-size: .78rem; font-weight: 700; color: #5b5b5b; line-height: 1.1; }

.psg-managed-option.psg-style-pillow-color-swiper .pillow-color-tile:has(input:checked) { background: #EAF4FF; border-color: #0489F5; }

.psg-managed-option.psg-style-pillow-color-swiper .pillow-color-tile:has(input:checked) .psg-tile-label { color: #0489F5; }



/* Open-tool: editor + info side-by-side on desktop, stacked on mobile. */

.pps-layout-open .pps-editor-col,

.pps-layout-open-surface .pps-editor-col {

  position: relative;

}

@media (max-width: 991px) {

  .pps-layout-open .pps-editor-col,

  .pps-layout-open-surface .pps-editor-col {

    margin-bottom: 18px;

  }

}



/* Closed-tool: editor full-width when in editor stage; preview full-width

   when in preview stage. */

.pps-layout-closed .pps-editor-col,

.pps-layout-closed-surface .pps-editor-col {

  width: 100%;

}



/* Open-tool desktop: the editor column carries p-0, so it sits flush against

   the options column. Add a small right gap so the editor and options aren't

   touching. (Editor desktop height itself is admin-controlled via

   pps_config_json.canvas.editor_height_desktop.) */

@media (min-width: 992px) {

  .pps-layout-open #cc-editor-wrapper { padding-right: 18px !important; }

}



/* ============================================================

   PSG style: mouse-pad-shape-tile

   Drawn via the custom PSG style key 'mouse-pad-shape-tile' (see

   pps-final-package/demo-psg-bundle.sql). Two tiles per row, each with a

   CSS-rendered shape glyph + label. Selected tile gets light-blue bg +

   blue glyph + blue label.

   ============================================================ */

.mouse-pad-shape-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;

  margin: 6px 0;

}

.mouse-pad-tile {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  padding: 28px 16px;

  background: #fff;

  border: 1px solid #e0e0e0;

  border-radius: 8px;

  cursor: pointer;

  margin: 0;

  transition:

    background 0.15s ease,

    border-color 0.15s ease;

  position: relative;

  min-height: 140px;

}

.mouse-pad-tile:hover {

  border-color: #b0d8ff;

}

.mouse-pad-tile input[type="radio"] {

  position: absolute;

  opacity: 0;

  pointer-events: none;

}

.mouse-pad-tile:has(input:checked) {

  background: #e7f4ff;

  border-color: #0489f5;

}



/* The shape glyph — a plain CSS rectangle. Grey by default, brand-blue when

   the parent tile is selected. */

.mouse-pad-shape-glyph {

  background: #b7b7b7;

  margin-bottom: 14px;

  transition: background 0.15s ease;

  border-radius: 1px;

}

.mouse-pad-tile:has(input:checked) .mouse-pad-shape-glyph {

  background: #0489f5;

}



/* Portrait — tall rectangle. Landscape — wide rectangle. Selector keys off

   the input's data-psg-oc-value-name attribute (PSG injects this from the

   OC option-value name), so the rendering follows the data, not class names. */

.mouse-pad-tile

  input[data-psg-oc-value-name="Portrait" i]

  ~ .mouse-pad-shape-glyph {

  width: 38px;

  height: 54px;

}

.mouse-pad-tile

  input[data-psg-oc-value-name="Landscape" i]

  ~ .mouse-pad-shape-glyph {

  width: 54px;

  height: 38px;

}



.mouse-pad-tile .psg-tile-label {

  font-size: 14px;

  color: #888;

  font-weight: 500;

}

.mouse-pad-tile:has(input:checked) .psg-tile-label {

  color: #0489f5;

  font-weight: 700;

}



@media (max-width: 575px) {

  .mouse-pad-tile {

    padding: 18px 10px;

    min-height: 110px;

  }

  .mouse-pad-tile

    input[data-psg-oc-value-name="Portrait" i]

    ~ .mouse-pad-shape-glyph {

    width: 30px;

    height: 44px;

  }

  .mouse-pad-tile

    input[data-psg-oc-value-name="Landscape" i]

    ~ .mouse-pad-shape-glyph {

    width: 44px;

    height: 30px;

  }

}



/* ============================================================

   .pps-simple — the minimalist layout-open-tool look matching live

   ============================================================ */

.pps-simple .breadcrumb {

  background: transparent;

  padding: 8px 0;

  margin-bottom: 10px;

  font-size: 12.5px;

}

.pps-simple .pps-simple-row {

  margin-top: 6px;

  align-items: flex-start;

}

.pps-simple .pps-title {

  font-size: 28px;

  font-weight: 800;

  letter-spacing: 0.5px;

  text-transform: uppercase;

  color: #1a1a1a;

  margin: 0 0 18px;

  padding-bottom: 14px;

  border-bottom: 1px solid #eee;

}

.pps-simple .pps-product {

  border: 0;

}

.pps-simple .pps-product hr {

  display: none;

}

.pps-simple .pps-product > h3 {

  display: none;

} /* hides "Available Options" */

.pps-simple .pps-product > .form-group > label.control-label {

  display: none;

} /* PSG renders its own heading */



/* Big orange full-width Add-to-Cart button — matches live PrintShoppy. */

.pps-simple .pps-btn-cart {

  display: block;

  width: 100%;

  margin-top: 20px;

  padding: 14px 20px;

  background: #f6a623;

  color: #fff;

  font-size: 16px;

  font-weight: 700;

  letter-spacing: 0.6px;

  text-transform: uppercase;

  border: 0;

  border-radius: 4px;

  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);

  transition:

    background 0.15s ease,

    transform 0.05s ease;

}

.pps-simple .pps-btn-cart:hover {

  background: #e89a14;

  color: #fff;

}

.pps-simple .pps-btn-cart:active {

  background: #d68a08;

  transform: translateY(1px);

}

.pps-simple .pps-btn-cart .fa {

  margin-right: 8px;

}



@media (max-width: 991px) {

  .pps-simple .pps-title {

    font-size: 22px;

    padding-bottom: 10px;

    margin-bottom: 14px;

  }

  .pps-simple .pps-btn-cart {

    font-size: 15px;

    padding: 12px 16px;

  }

  .pps-simple .pps-editor-col {

    margin-bottom: 18px;

  }

}



/* ============================================================

   #toolUnchanged — the "UH. OH!" / "Please Select Your Photo" modal

   ============================================================

   Matches the legacy showErrorModal layout: centered alert-triangle icon,

   title h5, body message paragraph, primary button. Works against OC's

   Bootstrap 3 modal (no `.modal-dialog-centered` support there — we

   centre via custom CSS). */

#toolUnchanged .pps-unchanged-dialog {

  max-width: 420px;

  margin: 0 auto;

  position: relative;

  top: 50%;

  transform: translateY(-50%);

}

#toolUnchanged .modal-content {

  border-radius: 10px;

  border: 0;

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);

}

#toolUnchanged .modal-body {

  padding: 28px 24px;

}

#toolUnchanged .pps-modal-content {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;

  text-align: center;

}

#toolUnchanged .pps-modal-icon {

  font-size: 42px;

  color: #f6a623;

  margin-bottom: 4px;

}

#toolUnchanged .pps-modal-title {

  color: #222;

  font-size: 18px;

  font-weight: 700;

  letter-spacing: 0.5px;

  margin: 0;

}

#toolUnchanged .pps-modal-message {

  color: #444;

  font-size: 15px;

  line-height: 1.5;

  margin: 4px 0 0;

}

#toolUnchanged .pps-modal-details {

  color: #666;

  font-size: 13px;

  margin: 2px 0 0;

}

#toolUnchanged .pps-modal-buttons {

  display: flex;

  gap: 14px;

  justify-content: center;

  margin-top: 18px;

}

#toolUnchanged .pps-modal-ok {

  min-width: 110px;

  padding: 8px 22px;

  background: #000;

  border: 0;

  color: #fff;

  border-radius: 6px;

  font-weight: 600;

}

#toolUnchanged .pps-modal-ok:hover {

  background: #e89a14;

  color: #fff;

}



/* PSG section heading "CHOOSE SHAPE" — make it match the live look. */

.psg-managed-option .psg-head,

#input-option1622001 ~ .psg-head,

.form-group .psg-head {

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  color: #222;

  margin: 14px 0 10px;

}



/* ============================================================

   PPS open-tool block-skeleton layout

   ------------------------------------------------------------

   Self-contained so the layout works on the Bootstrap-3 OC3

   theme (no Bootstrap-5 dependency). Mirrors the live PrintShoppy

   #cc-editor-wrapper / #preview-section two-column split.

   ============================================================ */

.pps-layout-open .pps-two-col {

  display: flex;

  flex-wrap: wrap;

  margin: 0 -15px;

}

.pps-layout-open .pps-editor-col,

.pps-layout-open .pps-info-col {

  padding: 0 15px;

}

.pps-layout-open #pps-editor-mount {

  width: 100%;

  height: calc(100vh - 215px);

  min-height: 340px;

  border: 0;

  overflow: hidden;

  background: #eee;

}

/* (Removed) The global mobile `height: 412px` here was MORE specific than the

   twig's per-config `#pps-editor-mount { height: editor_height_mobile }`, so it

   overrode every open-tool product's configured mobile height — clipping tall

   designs (e.g. Baby Born). Mobile height now comes from each config's

   canvas.editor_height_mobile (and per-config custom CSS) as intended. */

.pps-layout-open .pps-editor-col {

  position: relative;

}

.pps-layout-open .pps-quality-meter {

  height: 40px;

  display: flex;

  align-items: center;

  justify-content: flex-end;

  width: 100%;

}



/* The right-column block container IS the flex context that pps-order-*

   utilities reorder. Made flex here so the layout doesn't need BS5 .d-flex. */

.pps-layout-open #product.pps-product {

  display: flex;

  flex-direction: column;

}

.pps-layout-open .pps-block {

  width: 100%;

}



.pps-layout-open .pps-title {

  font-size: 26px;

  font-weight: 700;

  text-transform: uppercase;

  margin: 0 0 10px;

  color: #111;

}

.pps-layout-open .pps-price {

  margin: 6px 0 14px;

}

.pps-layout-open .pps-price-new {

  font-size: 24px;

  font-weight: 700;

  color: #c0392b;

}

.pps-layout-open .pps-price-old {

  font-size: 16px;

  color: #999;

  text-decoration: line-through;

  margin-right: 8px;

}

.pps-layout-open .pps-option-info {

  margin: 12px 0 0;

  color: #333;

  font-size: 13px;

}

.pps-layout-open .pps-cart-row {

  margin: 8px 0;

}

.pps-layout-open .pps-btn-cart {

  width: 100%;

  padding: 14px 18px;

  background: #f6a623;

  border: 0;

  color: #fff;

  font-weight: 700;

  text-transform: uppercase;

  border-radius: 6px;

}

.pps-layout-open .pps-btn-cart:hover {

  background: #e89a14;

  color: #fff;

}



/* ------------------------------------------------------------

   Responsive order utilities (custom prefix — no Bootstrap clash).

   .pps-order-{n}      → base (mobile)

   .pps-order-md-{n}   → ≥768px (tab)

   .pps-order-lg-{n}   → ≥992px (desktop)

   first = -1, last = 9999, 0..12 explicit.

   ------------------------------------------------------------ */

.pps-order-first {

  order: -1;

}

.pps-order-last {

  order: 9999;

}

.pps-order-0 {

  order: 0;

}

.pps-order-1 {

  order: 1;

}

.pps-order-2 {

  order: 2;

}

.pps-order-3 {

  order: 3;

}

.pps-order-4 {

  order: 4;

}

.pps-order-5 {

  order: 5;

}

.pps-order-6 {

  order: 6;

}

.pps-order-7 {

  order: 7;

}

.pps-order-8 {

  order: 8;

}

.pps-order-9 {

  order: 9;

}

.pps-order-10 {

  order: 10;

}

.pps-order-11 {

  order: 11;

}

.pps-order-12 {

  order: 12;

}



@media (min-width: 768px) {

  .pps-order-md-first {

    order: -1;

  }

  .pps-order-md-last {

    order: 9999;

  }

  .pps-order-md-0 {

    order: 0;

  }

  .pps-order-md-1 {

    order: 1;

  }

  .pps-order-md-2 {

    order: 2;

  }

  .pps-order-md-3 {

    order: 3;

  }

  .pps-order-md-4 {

    order: 4;

  }

  .pps-order-md-5 {

    order: 5;

  }

  .pps-order-md-6 {

    order: 6;

  }

  .pps-order-md-7 {

    order: 7;

  }

  .pps-order-md-8 {

    order: 8;

  }

  .pps-order-md-9 {

    order: 9;

  }

  .pps-order-md-10 {

    order: 10;

  }

  .pps-order-md-11 {

    order: 11;

  }

  .pps-order-md-12 {

    order: 12;

  }

}

@media (min-width: 992px) {

  .pps-order-lg-first {

    order: -1;

  }

  .pps-order-lg-last {

    order: 9999;

  }

  .pps-order-lg-0 {

    order: 0;

  }

  .pps-order-lg-1 {

    order: 1;

  }

  .pps-order-lg-2 {

    order: 2;

  }

  .pps-order-lg-3 {

    order: 3;

  }

  .pps-order-lg-4 {

    order: 4;

  }

  .pps-order-lg-5 {

    order: 5;

  }

  .pps-order-lg-6 {

    order: 6;

  }

  .pps-order-lg-7 {

    order: 7;

  }

  .pps-order-lg-8 {

    order: 8;

  }

  .pps-order-lg-9 {

    order: 9;

  }

  .pps-order-lg-10 {

    order: 10;

  }

  .pps-order-lg-11 {

    order: 11;

  }

  .pps-order-lg-12 {

    order: 12;

  }

}



/* ============================================================

   Closed-tool size tiles (from live all_css.php). Scoped to

   .pps-layout-closed so PSG-styled open-tool options are unaffected.

   ============================================================ */

.pps-layout-closed #product-page-options .form-group {

  display: block;

  width: 100%;

}

.pps-layout-closed #product-page-options [id*="input-option"] {

  margin: 5px 0 0 0;

  padding: 0;

}



.pps-layout-closed #product-page-options [id*="input-option"] .radio {

  float: left;

  margin: 0 5px 10px 5px;

  width: calc(31% - 10px);

  height: 35px;

  position: relative;

  border-radius: 15px;

  color: #000;

}

.pps-layout-closed #product-page-options [id*="input-option"] label,

.pps-layout-closed #product-page-options [id*="input-option"] input {

  display: block;

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

}

.pps-layout-closed

  #product-page-options

  [id*="input-option"]

  input[type="radio"] {

  opacity: 0.011;

  z-index: 100;

}

.pps-layout-closed #product-page-options [id*="input-option"] label {

  padding: 8px 4px;

  border: 1px solid #1f1f1f;

  cursor: pointer;

  z-index: 90;

  text-align: center;

  border-radius: 5px;

  line-height: 1em;

  margin: 0;

}

.pps-layout-closed #product-page-options [id*="input-option"] label:hover {

  background: #fff;

}

.pps-layout-closed

  #product-page-options

  [id*="input-option"]

  input[type="radio"]:checked

  + label {

  background: #fff;

  box-shadow: 0 2px 10px #d3d3d3;

  color: #0489f5;

  font-weight: bold;

  border-color: #0489f5;

}

.pps-layout-closed #product-page-options .form-check .form-check-input {

  float: left;

  margin-left: 0;

}



/* ============================================================

   Closed-tool — preview "Generating live previews" loader overlay.

   Self-contained spinner (no Bootstrap-5 dependency).

   ============================================================ */

.pps-layout-closed #finishOrderPage {

  position: relative;

}

:is(.pps-layout-closed, .pps-layout-three-stage) #tool-preview-page-loader {

  position: absolute;

  inset: 0;

  /* Above the 3D button + Edit-Again (z-index 99) so the loading state is a

     clean opaque panel — no design / dimension lines / buttons showing through. */

  z-index: 120;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 14px;

  background: #f4f4f4;

  border-radius: 8px;

  text-align: center;

}

:is(.pps-layout-closed, .pps-layout-three-stage) #tool-preview-page-loader .loading-wrapper {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 5rem;

  height: 5rem;

  background: #fff;

  border-radius: 15px;

  padding: 16px;

  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);

}

:is(.pps-layout-closed, .pps-layout-three-stage) #tool-preview-page-loader .spinner-border {

  display: inline-block;

  width: 3rem;

  height: 3rem;

  vertical-align: text-bottom;

  border: 0.3em solid #0489f5;

  border-right-color: transparent;

  border-radius: 50%;

  animation: pps-spin 0.75s linear infinite;

}

@keyframes pps-spin {

  to {

    transform: rotate(360deg);

  }

}

:is(.pps-layout-closed, .pps-layout-three-stage) #tool-preview-page-loader .text-altcolor1 {

  color: #0489f5;

}

:is(.pps-layout-closed, .pps-layout-three-stage) #tool-preview-page-loader p {

  margin: 0;

}



/* ────────────────────────────────────────────────────────────

   Surface-switch loader (multi-surface products only)

   ────────────────────────────────────────────────────────────

   pps-runtime.js wraps window.switchSurface and toggles .active on

   .ps-surface-switch-loader (appended inside #pps-editor-mount) for the

   duration of the await. Full-canvas semi-opaque veil + 72px spinner +

   "Switching surface…" label below. Ported from live keychain CSS. */

.ps-surface-switch-loader {

  position: absolute;

  inset: 0; /* fills the editor mount */

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 14px;

  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(2px);

  z-index: 10000;

  pointer-events: none;

  opacity: 0;

  visibility: hidden;

  transition:

    opacity 0.18s ease,

    visibility 0s linear 0.18s;

}

.ps-surface-switch-loader.active {

  opacity: 1;

  visibility: visible;

  transition:

    opacity 0.18s ease,

    visibility 0s;

}

.ps-surface-switch-loader::before {

  content: "";

  width: 72px;

  height: 72px;

  border: 7px solid rgba(0, 0, 0, 0.15);

  border-top-color: #0489f5;

  border-radius: 50%;

  animation: ps-surface-spin 0.7s linear infinite;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);

}

/* Text label intentionally omitted — spinner alone is enough; the label

   was reading as noise on quick surface switches. The ::after pseudo

   stays in case admin wants to re-enable a label via local CSS. */

.ps-surface-switch-loader::after {

  content: "";

}

@keyframes ps-surface-spin {

  to {

    transform: rotate(360deg);

  }

}



/* =========================================================================

   Shape-option Swiper fallback (Wall Clocks, two-axis layout-closed-tool).

   The live page wraps the shape carousel in `.swiper.icon-options-swiper-*`

   and a site-level Swiper init removes its `.d-none`. We don't ship Swiper

   JS in PPS — so .pps-shape-fallback turns the slides into a scrollable

   horizontal flex. Drop these rules if a real Swiper init is added later.

   ========================================================================= */

/* Layout fallback applies ONLY until the ps_swiper module initialises Swiper

   (it adds .swiper-initialized). Once Swiper is live it owns the motion +

   spacing (spaceBetween), so we don't fight it with overflow/gap/snap. */

.pps-shape-fallback .swiper:not(.swiper-initialized) {

  display: block;

}

.pps-shape-fallback .swiper:not(.swiper-initialized) > .swiper-wrapper {

  display: flex;

  gap: 10px;

  overflow-x: auto;

  scroll-snap-type: x mandatory;

  padding-bottom: 4px;

}

.pps-shape-fallback .swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {

  scroll-snap-align: start;

}

/* Slide sizing applies in BOTH modes — Swiper reads this width for

   slidesPerView:'auto'. */

.pps-shape-fallback .swiper-slide {

  flex: 0 0 auto;

  width: 86px;

}

.pps-shape-fallback .swiper-slide .form-check {

  padding-left: 0; /* defeat Bootstrap's default 1.5em indent */

  margin: 0;

}

.pps-shape-fallback .swiper-slide .form-check-input {

  position: absolute;

  opacity: 0;

  pointer-events: none;

}

.pps-shape-fallback .swiper-slide .form-check-label {

  cursor: pointer;

  transition:

    border-color 120ms ease,

    box-shadow 120ms ease;

}

.pps-shape-fallback

  .swiper-slide

  .form-check-input:checked

  + .form-check-label {

  border-color: #0489f5 !important;

  box-shadow: 0 0 0 2px rgba(4, 137, 245, 0.25);

}

.pps-shape-fallback .swiper-slide img {

  display: block;

  width: 60px;

  height: 60px;

  margin: 0 auto;

}



/* Editor-only-on-load (closed-tool): hide content_top/bottom extras AND the

   site footer while on the editor stage. The twig sets html.pps-ct-editor

   inline (before these parse → no flash); the runtime removes the class when

   the preview opens, re-adds it on Edit Again. */

html.pps-ct-editor .pps-extra-content,

html.pps-ct-editor footer {

  display: none !important;

}



/* Hide the "Save & Select Size" CTA until the editor has mounted

   (runtime adds html.pps-editor-ready on pps:ready). No-flash: hidden from

   first paint while the editor loader spins. */

html.pps-ct-editor:not(.pps-editor-ready) #saveAndNextButtonsWrapper {

  display: none !important;

}



/* Closed-tool Size tiles laid out N-per-row via --pps-size-cols (default 4),

   set per-config in pps_custom_css. */

.pps-layout-closed .size-option [id^="input-option"] {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}

.pps-layout-closed .size-option [id^="input-option"] > .radio.form-check {

  flex: 0 0 calc(100% / var(--pps-size-cols, 4) - 8px);

  margin: 0;

}



/* Wall Clock Type Swiper (PSG-managed, psg-style-clock-type-swiper) — fixed

   slide width so slidesPerView:'auto' + per-model thumbnails render evenly. */

.psg-style-clock-type-swiper .swiper-slide {

  width: auto;

}

.psg-style-clock-type-swiper .psg-tile {

  width: 100px;

  padding: 8px;

}

.psg-style-clock-type-swiper .psg-tile-img {

  width: 100%;

  height: auto;

  object-fit: contain;

}

.psg-style-clock-type-swiper .psg-tile-label {

  display: block;

  max-width: 100%;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

  font-size: 0.78rem;

}



/* ============================================================

   Style-option tile grid (open-tool-surface — luggage tags).

   Each tile is an OC radio + label; selected state via CSS :checked.

   ============================================================ */

.style-option .form-check {

  position: relative;

  width: calc(33.333% - 8px);

  margin: 0;

  padding: 0;

}

@media (min-width: 768px) {

  .style-option .form-check {

    width: calc(16.666% - 8px);

  }

}

.style-option .form-check-input {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  margin: 0;

  opacity: 0.001;

  z-index: 5;

  cursor: pointer;

}

.style-option .form-check-label {

  display: block;

  border: 2px solid #e0e0e0;

  border-radius: 8px;

  background: #fff;

  padding: 6px;

  text-align: center;

  cursor: pointer;

  transition:

    border-color 0.15s ease,

    box-shadow 0.15s ease;

}

.style-option .form-check-label:hover {

  border-color: #b4d7f5;

}

.style-option .form-check-input:checked + .form-check-label {

  border-color: #0489f5;

  box-shadow: 0 2px 10px rgba(4, 137, 245, 0.18);

  background: #f4faff;

}

.style-option .style-tile-img {

  display: block;

  width: 100%;

  aspect-ratio: 1 / 1.2;

  object-fit: contain;

  margin: 0 auto 4px;

}

.style-option .style-tile-label {

  display: block;

  font-size: 12px;

  font-weight: 600;

  color: #333;

  text-transform: capitalize;

}

.style-option .form-check-input:checked + .form-check-label .style-tile-label {

  color: #0489f5;

}

/* Tile-only mode (no image) — give the label more vertical room. */

.style-option .form-check-label:not(:has(.style-tile-img)) .style-tile-label {

  padding: 18px 4px;

}



/* ============================================================

   Shape-option tile (three-stage — classic frames + family).

   View-stage shape selector + at-editor orientation mirror both use this.

   The canonical #product .shape-option remains visually-hidden — only the

   mirror tiles drive the UI; runtime bubbles selection to the canonical.

   ============================================================ */

.shape-option .shape-mirror {

  position: relative;

  width: 120px;

  margin: 0;

  padding: 0;

}

@media (max-width: 575px) {

  .shape-option .shape-mirror {

    width: calc(50% - 8px);

  }

}

.shape-option .form-check-input {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  margin: 0;

  opacity: 0.001;

  z-index: 5;

  cursor: pointer;

}

.shape-option .form-check-label {

  display: block;

  border: 2px solid #e0e0e0;

  border-radius: 8px;

  background: #fff;

  padding: 8px;

  text-align: center;

  cursor: pointer;

  transition:

    border-color 0.15s ease,

    box-shadow 0.15s ease;

}

.shape-option .form-check-label:hover {

  border-color: #b4d7f5;

}

.shape-option .form-check-input:checked + .form-check-label {

  border-color: #0489f5;

  box-shadow: 0 2px 10px rgba(4, 137, 245, 0.18);

  background: #f4faff;

}

.shape-option .shape-tile-img {

  display: block;

  width: 100%;

  max-height: 80px;

  object-fit: contain;

  margin: 0 auto 4px;

}

.shape-option .shape-tile-label {

  display: block;

  font-size: 13px;

  font-weight: 600;

  color: #333;

  text-transform: capitalize;

}

.shape-option .form-check-input:checked + .form-check-label .shape-tile-label {

  color: #0489f5;

}

.shape-option .form-check-label:not(:has(.shape-tile-img)) .shape-tile-label {

  padding: 20px 6px;

}



/* Luggage Tag-specific CSS moved to cfg 1006 custom_css (admin-owned). */

/* ============================================================

   Editor busy overlay — shown during a style-change re-init so the

   user sees a transition rather than a frozen/empty canvas while

   the editor tears down + re-mounts. Toggled by pps-runtime.js

   via the `.pps-editor-busy` class on `#pps-editor-mount`.

   ============================================================ */

#pps-editor-mount .pps-editor-busy-overlay {

  position: absolute;

  inset: 0;

  background: rgba(255, 255, 255, 0.85);

  z-index: 50;

  display: none;

  align-items: center;

  justify-content: center;

  pointer-events: none;

}

#pps-editor-mount.pps-editor-busy .pps-editor-busy-overlay {

  display: flex;

}

.pps-editor-busy-spinner {

  width: 48px;

  height: 48px;

  border: 4px solid #e0e0e0;

  border-top-color: #1F90FF;

  border-radius: 50%;

  animation: pps-editor-spin 0.9s linear infinite;

}



/* ============================================================

   Custom surface tabs (Front Side / Back Side) rendered BELOW

   the editor in open-tool-surface. Replaces the editor's built-in

   surface picker which sits above the canvas. JS in pps-runtime

   wires clicks → window.switchSurface(idx).

   ============================================================ */

#pps-surface-tabs {

  margin: 12px auto 0;

  max-width: 568px;

}

.pps-surface-tab {

  border: 1px solid #1a1a1a;

  background: #ffffff;

  color: #1a1a1a;

  font-weight: 600;

  padding: 8px 22px;

  border-radius: 999px;

  min-width: 110px;

  transition:

    background 0.15s,

    color 0.15s,

    border-color 0.15s;

}

.pps-surface-tab:hover {

  background: #f5f5f5;

}

.pps-surface-tab.active {

  background: #ff7a1a;

  border-color: #ff7a1a;

  color: #ffffff;

}



/* ============================================================

   Cart busy state — applied to body + options wrapper while the

   save→cart-add chain is in flight. Prevents the user from

   re-clicking cart, flipping options, or otherwise mutating the

   form between the save AJAX and the cart-add AJAX (which would

   otherwise persist a stale design at the new options).

   The button itself gets a spinner via the .spinner-border markup

   pps-runtime.js injects.

   ============================================================ */

body.pps-cart-busy {

  cursor: progress;

}

body.pps-cart-busy .pps-options-locked,

body.pps-cart-busy #product-page-options {

  opacity: 0.55;

  pointer-events: none;

  user-select: none;

}

body.pps-cart-busy #pps-editor-mount,

body.pps-cart-busy #cc-editor-wrapper {

  pointer-events: none;

}

/* Disabled radios in PSG tiles — visually dim the tile + cursor not-allowed */

.psg-managed-option .psg-tile:has(input:disabled) {

  opacity: 0.6;

  cursor: not-allowed;

}

/* Cart button keeps its layout while showing the spinner */

button[aria-busy="true"] {

  cursor: progress !important;

  pointer-events: none;

}



/* ============================================================

   Editor stacking — when the pixeleditor opens an internal modal

   (Select Photo, Your Photos picker, etc.) it positions a fixed

   overlay relative to its own subtree. Without explicit stacking,

   the right-column options + ADD TO CART button paint above that

   overlay because they appear later in DOM order at the same

   stacking level. Pinning the editor column to z-index:10 and the

   right column to z-index:1 keeps any editor-spawned popup above

   the page chrome.

   ============================================================ */

#cc-editor-wrapper {

  position: relative;

  z-index: 10;

}

#cc-editor-wrapper #page-editor {

  z-index: 11; /* sticky ancestor of the actual mount — own context */

}

#preview-section {

  position: relative;

  z-index: 1;

}



/* When pps-runtime.js detects the editor has opened a blocking

   modal (body.pps-editor-modal-open), drop the right column out

   of the layout flow entirely so nothing pokes through. */

body.pps-editor-modal-open #preview-section {

  visibility: hidden;

}



/* ============================================================

   Full-page loader — sits above everything until PPS+PSG have

   stitched the page together. Markup is emitted in the layout

   twig so it's visible from first paint; pps-runtime.js fades

   the .pps-fade-out class in once DOM + PSG + first-paint are

   done, then removes the element shortly after. A 3-second

   safety timeout in JS removes it unconditionally if something

   later in the chain hangs.

   ============================================================ */

.pps-page-loader {

  position: fixed;

  inset: 0;

  background: #ffffff;

  z-index: 99999;

  display: flex;

  flex-direction: column;

  gap: 18px;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 24px;

  transition: opacity 0.35s ease;

}

.pps-page-loader-text {

  margin: 0;

  color: #333;

  font-weight: 600;

  font-size: 14px;

}

.pps-page-loader.pps-fade-out {

  opacity: 0;

  pointer-events: none;

}

.pps-page-loader-spinner {

  width: 64px;

  height: 64px;

  border: 6px solid #e0e0e0;

  border-top-color: #1f90ff;

  border-radius: 50%;

  animation: pps-page-spin 0.9s linear infinite;

}

@keyframes pps-page-spin {

  to {

    transform: rotate(360deg);

  }

}



/* ============================================================

   Editor mount loader — pure CSS spinner shown while

   #pps-editor-mount is empty. The vault loader.js fills the

   container with .psed-root on mount, which makes :empty stop

   matching, so the spinner disappears naturally. No JS required.

   ============================================================ */

#pps-editor-mount {

  position: relative;

}

#pps-editor-mount:empty {

  background: #f5f5f5;

}

#pps-editor-mount:empty::before {

  content: "";

  position: absolute;

  top: 50%;

  left: 50%;

  width: 56px;

  height: 56px;

  margin: -28px 0 0 -28px;

  border: 5px solid #e0e0e0;

  border-top-color: #1f90ff;

  border-radius: 50%;

  animation: pps-editor-spin 0.9s linear infinite;

}

#pps-editor-mount:empty::after {

  content: "Loading editor…";

  position: absolute;

  top: 50%;

  left: 0;

  right: 0;

  margin-top: 36px;

  text-align: center;

  font-size: 14px;

  color: #888;

  letter-spacing: 0.02em;

}

@keyframes pps-editor-spin {

  to {

    transform: rotate(360deg);

  }

}



/* The shared .psg-grid + .psg-tile layout/styling lives in psg.css.

   We dropped the duplicate rules we briefly had here on 2026-05-29 —

   our `width:100%` on .psg-tile was forcing each flex-item to span

   the full row (parent was display:flex; flex-wrap:wrap), stacking

   tiles vertically. psg.css now uses CSS Grid driven by --psg-cols-*

   so cells size correctly and the per-style tile rules can stay lean. */



/* ============================================================

   Fallback utility classes for the live PrintShoppy theme tokens

   referenced by the #toolUnchanged modal markup. Defined here so

   plain OC3 themes that don't ship these classes still render the

   modal in the live "UH. OH!" look. Values lifted from the live

   `bootstrap/backup.css` palette.

   ============================================================ */

.text-altcolor1 {

  color: #0489f5 !important;

}

.text-altcolor2 {

  color: #e71d36 !important;

}

/* .bg-altcolor1 {

  background-color: #0489f5 !important;

} */

.bg-altcolor2 {

  background-color: #e71d36 !important;

}



/* Icon size shortcut used in the modal — a chunky 56px alert glyph. */

.ps-fs-extra {

  font-size: 56px !important;

  line-height: 1 !important;

}



/* Bootstrap 5 doesn't ship .w-35 (jumps 25 → 50). Live theme defines it. */

.w-35 {

  width: 35% !important;

}



/* #toolUnchanged modal — small visual polish so the centered dialog

   doesn't span the full viewport on desktop. */

#toolUnchanged .modal-dialog {

  max-width: 420px;

}

#toolUnchanged .modal-content {

  border: 0;

  border-radius: 14px;

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);

}

#toolUnchanged .modal-body {

  padding: 0;

}

#toolUnchanged button:hover {

  opacity: 0.9;

}



/* ============================================================

   3D viewer trigger (#proofButton) — generic, used by any product

   with has_3d_viewer. Positioned over the preview (inside

   .swiper-container, which is position:relative).

   ============================================================ */

.swiper-container button#proofButton {

  border-radius: 50%;

  border: 2px solid #fff;

  position: absolute;

  padding: 0;

  bottom: 14%;

  right: 2%;

  z-index: 99;

  width: 60px;

  height: 60px;

  cursor: pointer;

  background: transparent;

  animation: shadowPulse 1.5s ease-in-out infinite;

}

.swiper-container button#proofButton img {

  display: block;

  border-radius: 50%;

  width: 100%;

  height: 100%;

}

@keyframes shadowPulse {

  0%   { box-shadow: 0 0 0 0 rgba(255, 40, 40, 0.7); }

  70%  { box-shadow: 0 0 0 20px rgba(255, 40, 40, 0); }

  100% { box-shadow: 0 0 0 0 rgba(255, 40, 40, 0); }

}

@media (min-width: 576px) { .swiper-container button#proofButton { bottom: 12%; } }

@media (min-width: 991px) { .swiper-container button#proofButton { bottom: 10%; } }



/* ── Share Your Design modal — dark theme (matches the live design) ── */

#pps-share-modal .modal-content {

  background: #2b2b30;

  color: #ffffff;

  border: none;

  border-radius: 14px;

  box-shadow: 0 16px 48px rgba(0, 0, 0, .5);

}

#pps-share-modal .modal-header {

  border-bottom: none;

  padding: 20px 22px 4px;

  align-items: center;

  justify-content: space-between;

}





#pps-share-modal .modal-header .close,

#pps-share-modal .modal-header .btn-close {

  background: none;

  border: none;

  box-shadow: none;

  text-shadow: none;

  opacity: .8;

  color: #ffffff;

  font-size: 24px;

  line-height: 1;

  padding: 0;

  margin: 0 0 0 auto;   /* push the × to the far right of the header */

  width: auto;

  height: auto;

  cursor: pointer;

}

#pps-share-modal .modal-header .close:hover,

#pps-share-modal .modal-header .btn-close:hover { opacity: 1; }

#pps-share-modal .modal-header .close span { color: #ffffff; }

#pps-share-modal .modal-body { padding: 8px 22px 24px; }

#pps-share-modal label { color: #cfcfd6; font-weight: 500; margin-bottom: 8px; }

#pps-share-modal #pps-share-url {

  background: #1c1c21;

  border: 1px solid #45454d;

  color: #ffffff;

  border-radius: 9px;

  height: auto;

  padding: 10px 12px;

  box-shadow: none;

}

#pps-share-modal #pps-share-url:focus { border-color: #6c5ce7; box-shadow: 0 0 0 2px rgba(108, 92, 231, .35); }

#pps-share-modal #pps-share-copy {

  background: transparent;

  border: 1px solid #5a5a64;

  color: #ffffff;

  border-radius: 9px;

  padding: 9px 22px;

  font-weight: 600;

}

#pps-share-modal #pps-share-copy:hover { background: rgba(255, 255, 255, .08); }

#pps-share-modal #pps-share-native {

  background: #6c5ce7;

  border: 1px solid #6c5ce7;

  color: #ffffff;

  border-radius: 9px;

  padding: 9px 26px;

  font-weight: 600;

}

#pps-share-modal #pps-share-native:hover { background: #5b4bd6; border-color: #5b4bd6; }

#pps-share-modal .pps-share-spinner {

  width: 34px; height: 34px; margin: 0 auto 12px;

  border: 3px solid rgba(255, 255, 255, .2);

  border-top-color: #6c5ce7;

  border-radius: 50%;

  animation: pps-share-spin .8s linear infinite;

}

#pps-share-modal #pps-share-loading p { color: #b9b9c0 !important; }

@keyframes pps-share-spin { to { transform: rotate(360deg); } }

