.limeo-product-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:0 28px; position:relative; align-items:start; }
.limeo-product-layout::before { content:''; position:absolute; inset:0 0 0 auto; width:calc((100% - 28px)/2.25); background:var(--paper); border:1px solid #e4e2dd; border-radius:12px; box-shadow:0 1px 6px #0002; }
.limeo-product-layout > * { position:relative; min-width:0; }
.limeo-product-layout .product-information { box-shadow:none; background:transparent; }
.limeo-personalization-step { grid-column:1; padding:38px 32px 50px; text-align:center; border-bottom:2px dotted var(--bright); }
.limeo-picture-step { grid-row:2; padding-top:15px; }
.limeo-lettering-step { grid-row:3; }
.limeo-first-page-step { grid-row:4; }
.limeo-review-step { grid-row:5; border-bottom:0; }
.limeo-personalization-step h2 { font-size:32px; margin:0 0 28px; }
/* Keep the original Cormorant figures and center their visible shapes. */
.limeo-step-number { display:grid; place-items:center; width:40px; height:40px; margin:0 auto 22px; padding-bottom:.24em; border-radius:50%; background:var(--bright); color:#fff; font:32px/1 Cormorant,Georgia,serif; }
.limeo-first-page-step .limeo-step-number { padding-bottom:.5em; }
.limeo-review-step .limeo-step-number { padding-bottom:.47em; }
.limeo-step-help { color:#63956a; font-size:15px; line-height:1.5; }
.limeo-product-note { color:var(--teal); font-size:23px; margin:18px 0 25px auto; max-width:215px; }
.limeo-product-note img { display:block; width:100%; height:auto; }
.limeo-picture-step > .limeo-product-note { max-width:225px; }
.limeo-gallery-source { position:relative; }
.limeo-gallery-source .limeo-product-note { position:absolute; top:calc(100% + 6px); right:0; width:120px; max-width:100%; margin:0; z-index:1; pointer-events:none; }
.limeo-gallery-source:has(input:checked) .limeo-product-note { display:none; }
.limeo-product-layout fieldset { padding:0; border:0; margin:0; }
.limeo-picture-sources { display:flex; flex-wrap:wrap; justify-content:center; gap:18px; padding-top:28px!important; }
.limeo-choice { position:relative; display:inline-flex; cursor:pointer; }
.limeo-choice input,.limeo-graphic input,.limeo-color input { position:absolute; opacity:0; width:1px; height:1px; }
.limeo-choice > span { display:block; background:#f4f1e8; border:2px solid transparent; border-radius:12px; padding:8px 14px; box-shadow:0 1px 6px #0002; color:#777; font-size:15px; }
.limeo-choice input:checked + span { border-color:var(--lime); background:#f6f8df; color:var(--green); }
.limeo-choice:has(input:focus-visible),.limeo-graphic:has(input:focus-visible),.limeo-color:has(input:focus-visible) { outline:3px solid var(--teal); outline-offset:5px; border-radius:10px; }
.limeo-upload-panel { margin:28px auto 16px; max-width:100%; }
.limeo-upload-dropzone { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:12px; min-height:200px; padding:24px 18px; border:2px dashed var(--lime); border-radius:12px; background:#fff; cursor:pointer; }
.limeo-picture-step:has(.limeo-gallery-source) .limeo-upload-dropzone { padding-top:130px; }
.limeo-upload-dropzone strong { color:var(--green); font-size:18px; }
.limeo-upload-dropzone > span { font-size:14px; color:#777; }
.limeo-upload-dropzone.is-dragging { border-color:var(--green); background:#f0f5e5; }
.limeo-upload-dropzone:focus-visible { outline:3px solid var(--teal); outline-offset:4px; }
.limeo-upload-panel p,.limeo-upload-tip { font-size:13px; color:#888; }
.limeo-upload-tip { margin-top:24px; }
.limeo-upload-preview { display:block; width:150px; max-height:210px; object-fit:contain; margin:20px auto; }
.limeo-graphic-carousel { --limeo-graphic-width:110px; display:grid; grid-template-columns:30px minmax(0,1fr) 30px; align-items:center; gap:8px; margin-top:28px; }
.limeo-product-layout .limeo-graphics { display:flex; flex-wrap:nowrap; min-width:0; gap:12px; padding:6px 4px 14px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:var(--lime) transparent; -webkit-overflow-scrolling:touch; }
.limeo-graphic { position:relative; flex:0 0 var(--limeo-graphic-width); border:2px solid #ddd; padding:3px; border-radius:8px; cursor:pointer; }
.limeo-graphics.is-centering-selection::before,.limeo-graphics.is-centering-selection::after { content:''; flex:0 0 max(0px,calc((100% - var(--limeo-graphic-width))/2 - 12px)); }
.limeo-graphic > label { display:block; cursor:pointer; }
.limeo-graphic > .catalog-gallery-expand { width:32px; height:32px; padding:6px; top:6px; right:6px; }
.limeo-graphic > .catalog-gallery-expand svg { width:18px; height:18px; }
.limeo-graphic-arrow { width:30px; height:36px; padding:0; border:1px solid #d3dac5; border-radius:9px; background:#f4f1e8; color:var(--green); font:30px/1 Rosario,Arial,sans-serif; }
.limeo-graphic img { display:block; width:100%; aspect-ratio:5/7; object-fit:contain; }
.limeo-graphic:has(input:checked) { border-color:var(--green); box-shadow:0 0 0 2px var(--lime); }
.limeo-field { text-align:left; margin:24px 0; }
.limeo-field > label { display:block; margin-bottom:10px; font-size:14px; }
.limeo-field input,.limeo-field textarea { width:100%; display:block; padding:14px; color:var(--ink); background:#fff; border:1px solid #deded8; border-radius:10px; box-shadow:inset 0 1px 4px #0001; font:16px/1.45 Rosario,Arial,sans-serif; resize:vertical; }
.limeo-field input::placeholder,.limeo-field textarea::placeholder { color:#999; }
.limeo-field textarea:disabled { opacity:.6; }
.limeo-character-count { display:block; margin-top:5px; text-align:right; font-size:12px; color:#888; }
.limeo-field-error { color:#a12f29!important; font-size:14px; text-align:left; margin:8px 0 0; }
.limeo-field-error:empty { display:none; }
.limeo-product-layout [aria-invalid="true"] { border:2px solid #a12f29!important; }
.limeo-align-left { text-align:left; }
.button.limeo-no-text { display:block; width:fit-content; max-width:100%; margin:0 auto 35px; text-align:center; font-size:14px; }
.limeo-no-text[aria-pressed="true"] { outline:2px solid var(--green); outline-offset:3px; }
.limeo-lettering-step h3 { text-align:center; font-size:23px; font-weight:400; color:#888; }
.limeo-lettering-step [data-lettering-options] { max-width:330px; margin-inline:auto; }
.limeo-lettering-step .limeo-colors,.limeo-lettering-step .limeo-fonts { justify-content:center; }
.limeo-colors { display:flex; flex-wrap:wrap; gap:8px; max-width:330px; margin-bottom:22px!important; }
.limeo-color { position:relative; display:inline-flex; border-radius:50%; cursor:pointer; }
.limeo-color svg { display:block; border-radius:50%; box-shadow:0 1px 4px #0002; }
.limeo-color circle { stroke:#ccc; stroke-width:.5; }
.limeo-color:has(input:checked) { outline:2px solid var(--green); outline-offset:3px; }
.limeo-fonts { display:flex; justify-content:flex-start; gap:15px; }
.limeo-fonts .limeo-choice { flex:1; max-width:100px; }
.limeo-fonts .limeo-choice span { width:100%; font-size:25px; font-weight:700; line-height:1.05; padding:13px 8px; }
.limeo-text-size { max-width:330px; margin-top:28px; text-align:left; }
.limeo-text-size > label { display:block; margin-bottom:8px; font-size:14px; }
.limeo-text-size input { display:block; width:100%; height:36px; margin:0; padding:0; accent-color:var(--green); cursor:pointer; }
.limeo-text-size input:focus-visible { outline:2px solid var(--green); outline-offset:3px; border-radius:6px; }
.limeo-text-size-labels { display:flex; justify-content:space-between; gap:6px; font-size:12px; color:#777; }
.limeo-text-size-labels > span { flex:1; min-width:0; text-align:center; overflow-wrap:anywhere; }
.limeo-text-size-labels > span:first-child { text-align:left; }
.limeo-text-size-labels > span:last-child { text-align:right; }
.limeo-text-size-labels .is-active { color:var(--green); font-weight:700; }
.limeo-text-size:has(input:disabled) { opacity:.6; }
.limeo-font-rosario { font-family:Rosario,Arial,sans-serif; }
.limeo-font-dancing { font-family:Dancing,cursive; }
.limeo-font-cormorant { font-family:Cormorant,Georgia,serif; }
.limeo-preview-panel { grid-column:2; grid-row:2 / span 3; align-self:stretch; padding:35px 25px; text-align:center; }
.limeo-preview-sticky { position:sticky; top:calc(var(--site-header-height,100px) + var(--catalog-banner-height,70px) + 25px); }
.limeo-preview-card { background:#f3eee2; border-radius:12px; box-shadow:0 1px 6px #0002; overflow:hidden; }
.limeo-preview-card h2 { padding:12px 18px; margin:0; border-bottom:1px solid #ddd7cb; font:400 20px/1.3 Rosario,Arial,sans-serif; color:#777; text-align:left; }
.limeo-preview-card-content { padding:18px; }
.limeo-preview-card-content > .limeo-step-help { margin-top:0; }
.limeo-cover-preview { width:min(100%,300px); aspect-ratio:5/7; position:relative; margin:28px auto 0; background:var(--placeholder); box-shadow:0 2px 6px #0001; }
.limeo-cover-preview > img { display:block; width:100%; height:100%; object-fit:cover; }
.limeo-cover-preview > p { position:absolute; inset:0; display:grid; place-items:center; padding:20px; margin:0; color:#706552; font-size:15px; }
.limeo-cover-preview > svg { position:absolute; inset:0; width:100%; height:100%; overflow:hidden; }
.limeo-photo-controls { margin:20px auto 0; max-width:300px; }
.limeo-photo-controls > label { display:flex; justify-content:space-between; gap:10px; font-size:14px; text-align:left; color:var(--green); }
.limeo-photo-control-row { display:flex; align-items:center; gap:12px; margin-top:8px; }
.limeo-photo-control-row input[type="range"] { min-width:0; width:100%; accent-color:var(--green); cursor:pointer; }
.limeo-photo-rotate { flex-shrink:0; padding:7px 10px; border:1px solid #c4cdb0; border-radius:8px; background:var(--paper); color:var(--green); font-size:14px; }
.limeo-photo-rotate:focus-visible { outline:3px solid var(--teal); outline-offset:3px; }
.limeo-cover-preview text { white-space:pre; font-size:7px; cursor:move; touch-action:none; user-select:none; }
.limeo-first-page-step > p:not(.handwritten) { font-size:14px; }
.limeo-first-page-step .limeo-product-note { max-width:220px; margin-bottom:40px; }
.limeo-first-page-review,.collection-card-review { white-space:pre-wrap; overflow-wrap:anywhere; margin:30px 0; padding:24px; border:1px solid #e4dfd2; background:#fffdf6; font-size:23px; line-height:1.5; border-radius:8px; }
.limeo-first-page-review { font-family:Dancing,cursive; }
.limeo-first-page-owner { font-size:32px; font-weight:700; }
.limeo-review-step .limeo-product-note { width:320px; max-width:100%; }
.limeo-review-cover { display:none; }
.limeo-order-panel { grid-column:2; grid-row:5; width:100%; padding:25px; align-self:stretch; }
.limeo-order-card { background:#f5f7d8; border-radius:10px; overflow:hidden; box-shadow:0 1px 6px #0002; }
.limeo-order-card h2 { color:#fff; font:600 18px/1.3 Rosario,Arial,sans-serif; text-align:left; margin:0; padding:12px 22px; background:var(--bright); }
.limeo-order-content { padding:24px; text-align:left; }
.limeo-quantity-price-row { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin:24px 0; }
.limeo-quantity-field { display:flex; flex-direction:column; gap:6px; flex-shrink:0; font-size:14px; }
.limeo-order-content input { width:58px; padding:6px; border:1px solid #c4cdb0; border-radius:5px; background:#fff; }
.limeo-quantity-price-row .catalog-price { margin:0 0 3px auto; font-size:clamp(18px,2vw,24px); text-align:right; white-space:nowrap; }
.limeo-order-content .button { display:block; margin:20px 0 0 auto; font-size:15px; }
.limeo-submit-status { font-size:14px; margin-bottom:0; overflow-wrap:anywhere; }
.limeo-submit-status.is-error { color:#a12f29; }
.limeo-product-aftercare { margin-top:30px; }
.limeo-product-aftercare .catalog-benefits { box-shadow:none; padding:25px 0; }
.limeo-product-aftercare .faq-grid { max-width:800px; margin:auto; }
@media (max-width:760px) {
    .limeo-product-layout { display:flex; flex-direction:column; width:100%; gap:0; }
    .limeo-product-layout::before { display:none; }
    .limeo-product-layout > * { width:100%; }
    .limeo-product-layout > input { display:none; }
    .limeo-product-layout .product-information { background:var(--paper); box-shadow:0 1px 5px #0002; margin-bottom:25px; }
    .limeo-personalization-step { padding:30px 28px 45px; }
    .limeo-personalization-step h2 { font-size:30px; }
    .limeo-personalization-step .limeo-product-note { margin-right:0; max-width:195px; }
    .limeo-graphic-carousel { --limeo-graphic-width:100px; grid-template-columns:26px minmax(0,1fr) 26px; gap:6px; }
    .limeo-graphic-arrow { width:26px; }
    .limeo-picture-sources { gap:12px; }
    .limeo-choice > span { font-size:14px; padding:8px 10px; }
    .limeo-fonts .limeo-choice span { font-size:27px; padding:14px 10px; }
    .limeo-preview-panel { background:var(--paper); box-shadow:0 1px 5px #0002; padding:35px 28px; }
    .limeo-preview-sticky { position:static; }
    .limeo-review-step { background:#f4f1e7; }
    .limeo-review-step .limeo-product-note { max-width:100%; }
    .limeo-review-cover { display:block; max-width:150px; margin-bottom:28px; }
    .limeo-first-page-review { margin-bottom:20px; }
    .limeo-order-panel { background:var(--paper); padding:35px 28px; box-shadow:0 1px 5px #0002; }
    .limeo-product-aftercare { width:100%; margin:0; }
    .limeo-product-aftercare .catalog-benefits { padding:20px 28px; background:var(--cream); }
    .limeo-product-aftercare .faq-section { padding:40px 28px; }
}

/* Each column flows independently, so product features never push step one down. */
.limeo-personalization-main { grid-column:1; }
.limeo-personalization-side { grid-column:2; display:flex; flex-direction:column; align-self:stretch; }
.limeo-personalization-side .limeo-preview-panel { flex:1; }
.limeo-personalization-side .limeo-order-panel { margin-top:auto; }
.limeo-cover-preview.is-editing-photo [data-cover-canvas] { touch-action:none; cursor:grab; }
.limeo-cover-preview.is-editing-photo [data-cover-canvas]:active { cursor:grabbing; }
.limeo-photo-zoom-button { flex:0 0 32px; height:34px; border:1px solid #c4cdb0; border-radius:8px; background:var(--paper); color:var(--green); font-size:22px; }
.limeo-photo-control-row { gap:6px; }
@media (max-width:760px) {
 .limeo-personalization-main,.limeo-personalization-side { display:contents; }
 .limeo-product-layout .product-main-gallery { order:0; }
 .limeo-product-layout .product-information { order:8; }
 .limeo-picture-step { order:2; }
 .limeo-lettering-step { order:3; }
 .limeo-preview-panel { order:4; }
 .limeo-first-page-step { order:5; }
 .limeo-review-step { order:6; }
 .limeo-order-panel { order:7; }
}

@media (max-width:760px) { .limeo-personalization-main > *, .limeo-personalization-side > * { width:100%; min-width:0; } }
