/*
 * Vesta Wall Customizer frontend assets.
 */

.vesta-custom-popup{position:fixed;inset:0;background:#fff;z-index:999999;display:none!important}
.vesta-custom-popup.is-open{display:block!important}
body.vesta-popup-open{overflow:hidden}
.vesta-popup-layout{display:grid;grid-template-columns:30% 70%;height:100vh}
.vesta-popup-left{background:#f7f3ec;padding:30px 34px;border-right:1px solid #e6ddd1;overflow-y:auto}
.vesta-popup-right{background:#fff;padding:52px;display:flex;align-items:flex-start;justify-content:center;overflow:hidden}
.vesta-popup-close{position:fixed;top:16px;right:22px;width:44px;height:44px;border:0;border-radius:50%;background:#f5f1eb;font-size:32px;cursor:pointer;z-index:99}
.vesta-popup-left h1{font-size:30px;font-weight:800;margin:0 0 24px}
.vesta-popup-block{margin-bottom:22px}
.vesta-popup-block-title{font-size:17px;font-weight:800;margin-bottom:18px}
.vesta-popup-measure{position:relative}
.vesta-popup-measure-line{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vesta-popup-field label{font-size:14px;font-weight:800;margin-bottom:7px;display:block}
.vesta-popup-field input{width:100%;height:52px;border:1px solid #ddd2c5;border-radius:13px;padding:0 16px;font-size:16px;background:#fff}
.vesta-popup-unit-toggle{position:absolute;top:-10px;right:0;height:34px;display:flex;background:#eef0f3;border-radius:999px;padding:3px}
.vesta-popup-unit-toggle button{height:28px;border:0;background:transparent;border-radius:999px;padding:0 12px;font-size:13px;font-weight:800;cursor:pointer}
.vesta-popup-unit-toggle button.active{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.vesta-popup-paper-list{display:grid;gap:10px}
.vesta-paper-item{background:#fff;border:1px solid #ddd2c5;border-radius:14px;overflow:hidden}
.vesta-paper-item.active{border-color:#111;box-shadow:0 0 0 3px rgba(0,0,0,.07)}
.vesta-popup-paper{width:100%;min-height:40px;border:0;background:transparent;font-weight:800;padding:6px 16px;text-align:left;cursor:pointer;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.vesta-popup-paper small{font-size:15px;color:#111;font-weight:900;white-space:nowrap}
.vesta-paper-desc{display:none;padding:2px 18px 14px;font-size:13px;line-height:1.15;color:#222}
.vesta-paper-item.active .vesta-paper-desc{display:block}
.vesta-paper-desc p{margin:6px 0}
.vesta-popup-total-box{margin-top:16px;background:#fff;border:1px solid #e6ddd1;border-radius:20px;padding:8px 20px;display:flex;justify-content:space-between;align-items:center}
.vesta-popup-total-box span{font-size:19px;font-weight:800}
.vesta-popup-total-box strong{font-size:28px;color:#d71920}
.vesta-popup-area-note{font-size:15px;color:#555;margin-top:10px}
.vesta-popup-area-note::before{content:"↔";margin-right:6px}
.vesta-popup-delivery{font-size:15px;margin-top:8px;color:#444;font-weight:600}
.vesta-popup-delivery::before{content:"✓";margin-right:6px}
.vesta-popup-delivery strong{font-weight:800;color:#111}
.vesta-popup-cta{margin-top:18px}
.vesta-popup-add-cart{width:100%;height:58px;border-radius:16px;border:none;background:linear-gradient(135deg,#ff7a00,#ff9f2f);color:#fff;font-size:17px;font-weight:800;cursor:pointer;box-shadow:0 10px 24px rgba(255,122,0,.25)}
.vesta-popup-add-cart.is-loading{opacity:.65;pointer-events:none}
.vesta-crop-preview-wrap{width:100%;max-width:1100px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:18px}
.vesta-crop-preview{width:980px;height:653px;max-width:100%;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.10);border:1px solid #e8e8e8;position:relative;flex:0 0 auto}
.vesta-crop-main-img,#vesta-crop-preview-img{position:relative;width:100%;height:100%;object-fit:cover!important;object-position:center center;display:block;z-index:2}
.vesta-overlay{position:absolute;backdrop-filter:blur(7px);background:rgba(0,0,0,.24);z-index:4;pointer-events:none}
.vesta-crop-box{position:absolute;border:3px solid #ff7a00;border-radius:8px;z-index:6;pointer-events:auto;cursor:move;box-shadow:0 0 0 1px rgba(255,255,255,.55) inset}
.vesta-crop-box:active{cursor:move}
.vesta-crop-helper{flex:0 0 auto;margin-top:0;padding:14px 18px;background:#f7f3ec;border:1px solid #e6ddd1;border-radius:14px;text-align:center;font-size:14px;line-height:1.5;font-weight:600;color:#4b433c;max-width:460px}
.vesta-crop-helper::before{content:"↕";display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:10px;border-radius:50%;background:#fff;border:1px solid #e6ddd1;font-size:14px;font-weight:900;vertical-align:middle}
.vesta-add-to-cart-btn.is-disabled,.vesta-add-to-cart-btn:disabled{opacity:.45!important;cursor:not-allowed!important}
.vesta-input-error{border-color:#d71920!important;box-shadow:0 0 0 3px rgba(215,25,32,.12)!important}
.vesta-disabled-tooltip{position:fixed;background:#111;color:#fff;font-size:13px;font-weight:600;padding:9px 12px;border-radius:10px;white-space:nowrap;opacity:0;visibility:hidden;z-index:9999999;pointer-events:none;transform:translateX(-50%)}
.vesta-disabled-tooltip.is-visible{opacity:1;visibility:visible}

.vesta-edit-wall-link {
            display: inline-flex;
            align-items: center;
            margin-top: 4px;
            font-size: 13px;
            font-weight: 600;
            color: #8a6a43;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .vesta-edit-wall-link:hover {
            color: #5c3f22;
        }

.vesta-cart-crop-image {
	width: 110px;
	height: 110px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #e6ddd1;
}

.vesta-order-crop-preview {
	margin-top: 12px;
}

.vesta-order-crop-image {
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid #e6ddd1;
	margin-top: 6px;
}


