.page-customize [hidden] { display: none !important; }
.designer-intro { padding: 42px 0 32px; max-width: 810px; }
.designer-intro .eyebrow { margin-bottom: 16px; }
.designer-intro h1 { font-size: clamp(40px, 4.2vw, 64px); }
.designer-intro h1 > span { display: inline; }
.designer-intro .intro-copy { margin: 18px 0 0; max-width: 650px; }
.designer-workspace { display: grid; grid-template-columns: minmax(270px, 350px) minmax(0, 1fr); align-items: start; gap: 30px; padding-bottom: 65px; }
.designer-tools { min-width: 0; border: 1px solid #0f3d2e2b; border-radius: 23px; background: #fbf6eb; padding: 24px; }
.tool-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 22px; }
.tool-heading h2 { font-size: 20px; letter-spacing: -.7px; margin: 0; color: #0f3d2e; }
.tool-heading > a { max-width: 90px; padding: 9px 0 9px 9px; font-size: 11px; font-weight: 750; line-height: 1.5; color: #0f3d2e; text-align: right; text-decoration: underline; text-underline-offset: 4px; }
.tool-section { min-width: 0; border: 0; border-top: 1px solid #0f3d2e21; margin: 0; padding: 23px 0; }
.tool-section legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; color: #0f3d2e; font-size: 14px; font-weight: 800; letter-spacing: -.2px; }
.tool-section legend + * { clear: both; }
.tool-label { display: block; margin: 15px 0 8px; font-size: 12px; line-height: 1.5; color: #0f3d2e; font-weight: 750; }
.tool-label > span { font-size: 10px; color: #101010a6; font-weight: 500; }
.tool-section legend + .tool-label { margin-top: 0; }
.tool-input { display: block; width: 100%; min-width: 0; border: 1px solid #0f3d2e35; border-radius: 9px; padding: 11px 12px; background: #fffaf0; color: #101010; font: inherit; font-size: 13px; line-height: 1.6; }
.tool-input::placeholder { color: #10101080; opacity: 1; }
textarea.tool-input { resize: vertical; min-height: 72px; }
.tool-input:focus { outline: 2px solid #469671; outline-offset: 2px; }
.tool-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 13px; }
.slider-label { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 18px 0 10px; font-size: 12px; font-weight: 650; }
.slider-label output { font-size: 11px; font-variant-numeric: tabular-nums; color: #0f3d2e; font-weight: 800; }
.page-customize input[type="range"] { width: 100%; display: block; accent-color: #0f3d2e; min-height: 23px; margin: 0; cursor: pointer; }
.upload-control { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 14px; border: 1px dashed #0f3d2e60; border-radius: 11px; background: #f3ead755; cursor: pointer; }
.upload-control > svg { width: 20px; height: 20px; color: #0f3d2e; }
.upload-control > span { font-size: 12px; font-weight: 750; }
.upload-control input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-control:focus-within { outline: 2px solid #469671; outline-offset: 3px; }
.tool-note { margin: 10px 0 18px; color: #101010a6; font-size: 10px; line-height: 1.7; }
.color-picker + input + .color-picker { margin-top: 20px; }
.color-trigger { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 44px; padding: 3px 0; border: 0; border-radius: 8px; color: #0f3d2e; background: transparent; text-align: left; }
.color-chip { flex: 0 0 29px; width: 29px; height: 29px; border: 1px solid #0f3d2e35; border-radius: 50%; }
.color-description { display: grid; gap: 3px; font-size: 12px; font-weight: 750; }
.color-description small { color: #10101088; font-size: 10px; font-weight: 550; letter-spacing: .04em; }
.color-trigger-icon { margin-left: auto; padding: 6px 10px; border: 1px solid #0f3d2e30; border-radius: 999px; color: #0f3d2e; font-size: 10px; font-weight: 700; }
.color-trigger:hover .color-trigger-icon, .color-trigger[aria-expanded="true"] .color-trigger-icon { background: #0f3d2e; color: #fffaf0; border-color: #0f3d2e; }
.color-presets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-items: center; gap: 10px; margin: 13px 2px 3px; }
.color-preset { position: relative; display: block; width: 31px; height: 31px; min-width: 0; border: 1px solid #0f3d2e30; border-radius: 50%; padding: 0; }
.color-preset::before { content: ""; position: absolute; inset: -5px; }
.color-preset[aria-pressed="true"] { outline: 2px solid #0f3d2e; outline-offset: 3px; }
.color-custom-section { margin-top: 15px; padding-top: 12px; border-top: 1px solid #0f3d2e18; }
.color-custom-title { color: #10101099; font-size: 10px; font-weight: 650; }
.color-custom-presets { margin-top: 11px; }
.color-panel { margin-top: 17px; padding: 16px; border: 1px solid #0f3d2e25; border-radius: 18px; background: #fffdf8; box-shadow: 0 8px 22px #0f3d2e08; }
.color-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.color-panel-heading strong { display: block; color: #0f3d2e; font-size: 13px; font-weight: 800; }
.color-panel-heading small { display: block; color: #10101088; margin-top: 4px; font-size: 10px; }
.color-dismiss { width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; background: #0f3d2e09; color: #0f3d2e; font: 19px/1 Arial, sans-serif; }
.color-wheel { position: relative; width: min(168px, 100%); aspect-ratio: 1; margin: 21px auto 18px; border-radius: 50%; background: conic-gradient(from 90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); box-shadow: inset 0 0 0 1px #0f3d2e1f; cursor: crosshair; touch-action: none; }
.color-wheel::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: #fffdf8; pointer-events: none; }
.color-wheel:focus-visible { outline: 2px solid #0f3d2e; outline-offset: 5px; }
.color-wheel-preview { position: absolute; inset: 32px; border: 1px solid #0f3d2e25; border-radius: 50%; pointer-events: none; }
.color-wheel-thumb { position: absolute; z-index: 1; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px #10101099; pointer-events: none; }
.color-slider-label { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 2px; font-size: 10px; color: #0f3d2e; font-weight: 650; }
.color-slider-label output { font-size: 10px; font-variant-numeric: tabular-nums; }
.page-customize .color-slider { appearance: none; -webkit-appearance: none; height: 8px; min-height: 8px; border-radius: 999px; margin: 10px 0 17px; }
.color-slider-s { background: linear-gradient(to right, var(--strength-low, #fff), var(--strength-color, #0f3d2e)); }
.color-slider-v { background: linear-gradient(to right, #000, var(--shade-color, #0f3d2e)); }
.color-slider::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 2px solid #fffdf8; border-radius: 50%; background: #0f3d2e; box-shadow: 0 0 0 1px #0f3d2e66; }
.color-slider::-moz-range-thumb { width: 13px; height: 13px; border: 2px solid #fffdf8; border-radius: 50%; background: #0f3d2e; }
.color-panel-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 17px; }
.color-hex-field { flex: 1; min-width: 0; max-width: 106px; }
.color-hex-field label { display: block; margin-bottom: 6px; color: #10101088; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.color-hex { display: block; width: 100%; min-width: 0; height: 38px; padding: 8px 9px; border: 1px solid #0f3d2e30; border-radius: 9px; background: #fbf6eb; color: #101010; font: inherit; font-size: 11px; letter-spacing: .03em; }
.color-add { flex: 0 0 auto; margin-left: auto; min-height: 38px; padding: 10px 13px; border: 1px solid #0f3d2e; border-radius: 10px; background: #0f3d2e; color: #fffaf0; font-size: 11px; font-weight: 750; white-space: nowrap; }
.color-add:hover { background: #18543f; }
.color-hex[aria-invalid="true"] { border-color: #b34136; }
.color-error { display: block; margin-top: 7px; color: #b34136; font-size: 10px; }
.text-action { min-height: 32px; border: 0; background: none; color: #0f3d2e; padding: 6px 0; margin-top: 9px; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.page-customize input[type="radio"] { accent-color: #0f3d2e; width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.shape-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.shape-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 60px; padding: 8px 2px; border: 1px solid #0f3d2e2b; border-radius: 9px; background: #fffaf0; color: #0f3d2e; font-size: 9px; font-weight: 750; }
.shape-add svg { width: 25px; height: 25px; fill: currentColor; stroke: none; }
.shape-add:hover { background: #0f3d2e0b; border-color: #0f3d2e; }
.shape-add:active { transform: scale(.96); }
.backing-option { display: flex; align-items: center; gap: 11px; padding: 12px 11px; border: 1px solid #0f3d2e25; border-radius: 10px; margin-top: 8px; cursor: pointer; }
.backing-option:has(input:checked) { border-color: #0f3d2e; background: #0f3d2e08; }
.backing-option strong, .backing-option small { display: block; }
.backing-option strong { color: #0f3d2e; font-size: 12px; font-weight: 800; }
.backing-option small { color: #101010b3; font-size: 10px; line-height: 1.6; margin-top: 3px; }
.reset-canvas { width: 100%; min-height: 42px; border: 1px solid #0f3d2e35; border-radius: 9px; background: transparent; color: #0f3d2e; font-size: 11px; font-weight: 750; }
.designer-right { min-width: 0; position: sticky; top: 122px; }
.designer-preview { padding: 23px 25px 22px; }
.designer-preview .view-label { color: #1010109e; font-size: 11px; }
.designer-studio { --studio-height: clamp(390px, 35vw, 510px); --preview-card-limit: 420px; --preview-card-gutter: 76px; height: var(--studio-height); }
.designer-studio .deck { display: grid; place-items: center; }
/* Give the empty button a definite square, independent of its artwork. */
.designer-card-frame { position: relative; width: min(var(--preview-card-limit), calc(var(--studio-height) - 64px), calc(100% - var(--preview-card-gutter))); aspect-ratio: 1; transform-style: preserve-3d; }
.designer-card, .designer-card.is-active { --card-radius: 30px; --card-frame-edge: #0f3d2e; display: block; inset: 0; width: 100%; height: 100%; margin: 0; transform: translateZ(0); }
.designer-card:focus-visible { outline: none; }
.designer-preview:has(.designer-card:focus-visible) .view-label { text-decoration: underline; text-underline-offset: 4px; }
.designer-card .card-idle { animation: none; transition: none; will-change: transform; }
.designer-card .card-body { transform: none; transition: none; }
.designer-card .card-flip { transition: none; will-change: transform; }
.designer-face { padding: 2px; overflow: visible; background: linear-gradient(135deg, #c6d4cb, #4a6255); }
.designer-card .card-edge { display: none; }
.designer-card .designer-face, .designer-card .card-back { opacity: 1; transition: none; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.designer-card .designer-face { transform: rotateY(0deg); }
.designer-card .card-back { transform: rotateY(180deg); }
.custom-card-design { position: absolute; inset: 2px; display: block; overflow: hidden; border-radius: calc(var(--card-radius) - 2px); background: #fff; color: #000; container-type: inline-size; font-family: "Manrope", "Segoe UI", Arial, sans-serif; }
.designer-face .design-artwork { position: absolute; inset: auto; left: 50%; top: 50%; width: 100%; height: 100%; border-radius: 0; object-fit: cover; z-index: 0; }
.design-upload { background: #0f3d2e08; }
.design-layer { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); transform-origin: center; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.design-shape { width: 30%; height: 30%; z-index: 1; fill: currentColor; stroke: none; overflow: visible; }
.design-shape, .design-shape * { cursor: grab; }
.design-shape .shape-hit-area { pointer-events: all; }
.design-shape .shape-art { pointer-events: none; }
.design-title, .design-subtitle { display: flex; align-items: center; min-height: min-content; width: 84%; white-space: pre-wrap; overflow-wrap: anywhere; text-align: center; letter-spacing: -.035em; line-height: 1.15; }
.design-text-content { display: block; width: 100%; min-width: 0; }
.design-title { font-size: 9cqi; font-weight: 800; }
.design-subtitle { font-size: 4cqi; font-weight: 500; letter-spacing: -.015em; line-height: 1.45; }
.designer-face .design-logo { width: 26%; height: auto; max-height: 80%; object-fit: contain; border-radius: 0; }
.designer-face { pointer-events: auto; }
.designer-card.is-flipped .designer-face { pointer-events: none; }
.designer-card.is-flipped .card-back { cursor: pointer; }
.designer-studio.is-editing .card-idle, .is-dragging .card-idle, .designer-studio.is-peeling .card-idle { animation-play-state: paused; }
.is-dragging .design-layer { cursor: grabbing; }
.designer-studio.is-dragging .designer-card { cursor: grabbing; }
.is-dragging .design-shape, .is-dragging .design-shape * { cursor: grabbing; }
.editor-probe { position: absolute; width: 0; height: 0; visibility: hidden; pointer-events: none; }
.designer-selection-layer { position: absolute; inset: 2px; display: block; overflow: visible; z-index: 20; pointer-events: none; }
.designer-card.is-flipped .designer-selection-layer { display: none; }
.selection-box { position: absolute; display: block; border: 1px dashed #469671; transform: translate(-50%, -50%); pointer-events: none; }
.selection-handle, .selection-point { position: absolute; display: block; width: 10px; height: 10px; transform: translate(-50%, -50%); border: 1.5px solid #0f3d2e; background: #fffaf0; pointer-events: auto; touch-action: none; }
.selection-handle::before, .selection-point::before { content: ""; position: absolute; inset: -5px; }
.handle-nw { left: 0; top: 0; cursor: nwse-resize; }
.handle-ne { left: 100%; top: 0; cursor: nesw-resize; }
.handle-se { left: 100%; top: 100%; cursor: nwse-resize; }
.handle-sw { left: 0; top: 100%; cursor: nesw-resize; }
.selection-point { z-index: 3; width: 9px; height: 9px; border: 1.5px solid #fffaf0; border-radius: 50%; background: #0f3d2e; box-shadow: 0 0 0 1px #0f3d2e; cursor: crosshair; }
.selection-rotate { position: absolute; left: 50%; top: -32px; width: 24px; height: 24px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 1.5px solid #0f3d2e; border-radius: 50%; background: #fffaf0; color: #0f3d2e; font: 21px/1 Arial, sans-serif; cursor: grab; pointer-events: auto; touch-action: none; }
.selection-rotate::before { content: ""; position: absolute; left: 50%; top: 100%; height: 20px; width: 1px; background: #469671; pointer-events: none; }
.selection-rotate::after { content: ""; position: absolute; inset: -5px; }
.is-dragging .selection-rotate { cursor: grabbing; }
.shape-connection { position: absolute; z-index: 5; width: 9px; height: 9px; border: 2px solid #0f3d2e; border-radius: 50%; background: #7ef0b4; box-shadow: 0 0 0 2px #fffaf0; transform: translate(-50%, -50%); pointer-events: none; }
@media (pointer: coarse) {
  .selection-handle { width: 14px; height: 14px; }
  .selection-point { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .designer-card .designer-face, .designer-card .card-back, .designer-card .card-idle { transition: none; }
}
@media (hover: hover) and (pointer: fine) {
  .designer-card:hover .card-idle { animation-play-state: paused; }
}
.bare-back, .custom-adhesive-layer { position: absolute; inset: 2px; display: block; overflow: hidden; border-radius: calc(var(--card-radius) - 2px); }
.bare-back { display: grid; place-items: center; background: radial-gradient(ellipse at 35% 20%, #161d19, #080b09 75%); }
.bare-back > span { max-width: 78%; color: #62c393; text-align: center; font-weight: 800; font-size: clamp(20px, 2.5vw, 33px); letter-spacing: -.04em; line-height: 1.25; }
.custom-adhesive-layer { inset: 2px; pointer-events: none; }
.designer-help { margin: 0 auto; max-width: 320px; color: #101010a6; font-size: 11px; text-align: center; line-height: 1.8; }
.designer-view-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.designer-preview-controls { position: relative; margin-top: 17px; }
.designer-preview-controls .designer-view-controls { margin-top: 0; padding-inline: 64px; }
.designer-preview-controls .card-price { position: absolute; left: 0; top: 0; min-height: 37px; padding: 7px 10px; font-size: 16px; }
.view-control { border: 1px solid #0f3d2e30; border-radius: 999px; background: #fbf6eb; color: #0f3d2e; padding: 10px 15px; font-size: 11px; font-weight: 750; min-height: 37px; }
.view-control:hover { border-color: #0f3d2e; background: #0f3d2e08; }
.designer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 23px; padding-top: 22px; border-top: 1px solid #0f3d2e21; }
.designer-actions .primary-link { font-size: 12px; min-height: 43px; padding: 12px 17px; gap: 14px; }
.download-design { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 10px 14px; border: 1px solid #0f3d2e35; border-radius: 10px; background: #fffaf0; color: #0f3d2e; font-size: 12px; font-weight: 750; }
.download-design svg { width: 15px; height: 15px; }
.designer-preview .setup-status { text-align: center; }
@media (max-width: 1100px) {
  .designer-workspace { grid-template-columns: minmax(250px, 310px) minmax(0, 1fr); gap: 22px; }
  .designer-tools { padding: 21px; }
  .designer-preview { padding: 20px 16px; }
  .designer-studio { --studio-height: 390px; --preview-card-limit: 350px; --preview-card-gutter: 42px; }
}
@media (max-width: 800px) {
  .designer-intro { padding: 32px 0 27px; }
  .designer-workspace { display: flex; flex-direction: column; gap: 25px; }
  .designer-right { display: contents; }
  .designer-preview { width: 100%; order: 0; margin: 0; }
  .designer-tools { width: 100%; order: 1; }
  .designer-studio { --studio-height: 440px; --preview-card-limit: 370px; --preview-card-gutter: 55px; }
  .bare-back > span { font-size: 27px; }
}
@media (max-width: 520px) {
  .designer-intro h1 { font-size: clamp(35px, 9vw, 48px); }
  .designer-intro .intro-copy { font-size: 14px; line-height: 1.75; }
  .designer-preview { padding: 18px 14px 21px; }
  .designer-studio { --studio-height: 355px; --preview-card-limit: 310px; --preview-card-gutter: 44px; margin: 0 -14px; }
  .designer-card, .designer-card.is-active { --card-radius: 23px; }
  .designer-tools { border-radius: 19px; padding: 22px 19px; }
  .tool-input { font-size: 16px; }
  .color-hex { font-size: 16px; letter-spacing: 0; }
  .bare-back > span { font-size: 23px; }
  .designer-actions > button { flex: 1 1 150px; }
}

@media (min-width: 801px) and (max-width: 1200px) { .designer-right { top: 152px; } }
