:root{--astc-main:#9a48bb;--astc-main2:#7c3a97;--astc-soft:#f6eefa;--astc-line:#e3d3ec;--astc-ink:#2b2233;--astc-mute:#7b6a86}
.astc-hidden{display:none!important}
/* на странице корзины плавающие кнопки только мешают: корзина и так открыта */
#vmCartModule,.sbuttons{display:none!important}

/* блок открыток */
.astc-head{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.astc-title{font-size:19px;font-weight:700}
.astc-sub{font-size:14px;color:var(--astc-mute);margin-top:3px;max-width:520px;line-height:1.35}
.astc-btn{border:0;background:var(--astc-main);color:#fff;border-radius:25px;padding:12px 22px;font:inherit;font-size:16px;font-weight:600;cursor:pointer;white-space:nowrap;min-height:46px;transition:background .15s,transform .1s}
.astc-btn:hover{background:var(--astc-main2)}.astc-btn:active{transform:scale(.97)}
.astc-btn.s{width:100%;padding:9px 10px;font-size:15px;min-height:42px}
.astc-units{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px;margin-top:14px}
.astc-unit{background:var(--astc-soft);border-radius:16px;padding:12px}
.astc-unit-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.astc-unit-top img{width:48px;height:64px;object-fit:cover;border-radius:8px;background:#fff;flex:none}
.astc-unit-top b{flex:1;font-size:15px;line-height:1.25}
.astc-x{border:0;background:#fff;color:var(--astc-mute);width:38px;height:38px;border-radius:50%;font-size:16px;cursor:pointer;flex:none}
.astc-x:hover{background:#fbe3e8;color:#c0264d}
.astc-unit label{display:block;font-size:13px;color:var(--astc-mute)}
.astc-unit textarea,.astc-tile textarea{width:100%;box-sizing:border-box;margin-top:5px;padding:10px 12px;border:2px solid var(--astc-line);border-radius:12px;font:inherit;font-size:16px;line-height:1.35;resize:vertical;background:#fff;color:var(--astc-ink);min-height:70px}
.astc-unit textarea:focus,.astc-tile textarea:focus,#astc-q:focus{outline:0;border-color:var(--astc-main)}
.astc-cnt{text-align:right;font-size:12px;color:var(--astc-mute);margin-top:3px}

/* окно выбора */
#astc-modal{position:fixed;inset:0;z-index:100000;display:none}
#astc-modal.on{display:block}
.astc-back{position:absolute;inset:0;background:rgba(30,12,40,.55);z-index:0}
.astc-sheet{position:absolute;z-index:1;left:50%;top:5vh;transform:translateX(-50%);width:min(1000px,94vw);height:90vh;background:#fff;border-radius:22px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(30,12,40,.35);animation:astcin .22s ease-out}
@keyframes astcin{from{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%,0)}}
.astc-sheet-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px 6px}
.astc-sheet-head b{font-size:20px;display:block}.astc-sheet-head span{font-size:13px;color:var(--astc-mute)}
#astc-q{margin:6px 18px 8px;padding:12px 14px;border:2px solid var(--astc-line);border-radius:14px;font:inherit;font-size:16px;color:var(--astc-ink);background:#fff}
.astc-grid{flex:1;overflow:auto;padding:6px 18px 14px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;align-content:start;-webkit-overflow-scrolling:touch}
.astc-tile{border:2px solid var(--astc-line);border-radius:16px;padding:8px;display:flex;flex-direction:column;gap:6px;background:#fff;align-self:start}
.astc-tile.on{border-color:var(--astc-main);background:var(--astc-soft)}
.astc-tile .im{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:#f3ecf6;cursor:zoom-in}
.astc-tile .im img{width:100%;height:100%;object-fit:cover;display:block}
.astc-tile .im i{position:absolute;right:6px;top:6px;min-width:26px;height:26px;border-radius:13px;background:var(--astc-main);color:#fff;font-style:normal;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 6px}
.astc-tile .nm{font-size:14px;line-height:1.25;min-height:2.5em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.astc-tile .pr{font-size:14px;color:var(--astc-mute)}
.astc-step{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:25px;border:2px solid var(--astc-main)}
.astc-step button{border:0;background:transparent;color:var(--astc-main);font-size:22px;width:46px;height:42px;cursor:pointer}
.astc-step span{font-weight:600}
.astc-empty{grid-column:1/-1;text-align:center;padding:30px;color:var(--astc-mute)}
.astc-sheet-foot{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-top:1px solid var(--astc-line);padding-bottom:max(12px,env(safe-area-inset-bottom))}
html.astc-lock,html.astc-lock body{overflow:hidden}
#astc-zoom{position:fixed;inset:0;z-index:100001;background:rgba(20,8,28,.82);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;cursor:zoom-out}
#astc-zoom img{max-width:min(92vw,520px);max-height:80vh;border-radius:14px;background:#fff}
#astc-zoom span{color:#fff;font-size:16px;text-align:center}
#astc-toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,20px);background:#2b2233;color:#fff;padding:12px 18px;border-radius:14px;z-index:100002;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}
#astc-toast.on{opacity:1;transform:translate(-50%,0)}

/* нижняя панель на телефоне */
#astc-bar{display:none}
@media(max-width:991px){
 #astc-bar{position:fixed;left:0;right:0;bottom:0;z-index:9990;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--astc-line);box-shadow:0 -6px 20px rgba(60,20,80,.12);transform:translateY(110%);transition:transform .25s}
 #astc-bar.on{transform:none}
 #astc-bar span{display:block;font-size:12px;color:var(--astc-mute)}#astc-bar b{font-size:20px;color:var(--astc-ink)}
 #astc-bar button{border:0;background:var(--astc-main);color:#fff;border-radius:25px;padding:14px 24px;font:inherit;font-size:17px;font-weight:700;min-height:50px;flex:1;max-width:240px}
 .proopc-finalpage input[type=text],.proopc-finalpage input[type=tel],.proopc-finalpage input[type=email],.proopc-finalpage select,.proopc-finalpage textarea{font-size:16px!important;min-height:48px}
 .proopc-finalpage{padding-bottom:84px}
 .proopc-btn-lg,#proopc-order-submit{min-height:54px;font-size:18px}
}
@media(max-width:991px){
 #astc-cards{padding:12px;border-radius:16px}
 .astc-btn{width:100%}
 .astc-units{grid-template-columns:1fr}
 #astc-modal.on .astc-sheet{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;height:92vh;height:92dvh;border-radius:22px 22px 0 0;animation:astcup .25s ease-out}
 @keyframes astcup{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
 .astc-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding:6px 12px 12px}
 #astc-q{margin:6px 12px 8px}
 .astc-sheet-head{padding:14px 12px 4px}
}
@media(min-width:992px) and (max-width:1200px){.astc-grid{grid-template-columns:repeat(3,1fr)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

.astc-picked{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:600;color:var(--astc-main2);font-size:15px}
.astc-picked button{border:0;background:#fff;color:var(--astc-mute);border-radius:20px;padding:8px 14px;font:inherit;font-size:14px;cursor:pointer;min-height:38px}
.astc-picked button:hover{background:#fbe3e8;color:#c0264d}

.astc-picked span,.astc-sheet-foot span{white-space:nowrap}
.astc-tile .nm{min-height:0}
.astc-strip{display:flex;gap:8px;overflow-x:auto;padding:10px 2px 4px;margin:0 -2px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.astc-chip{position:relative;flex:none;width:52px;height:68px;padding:0;border:2px solid #fff;border-radius:10px;background:#f3ecf6;overflow:hidden;cursor:pointer;box-shadow:0 2px 8px rgba(60,20,80,.15);transition:transform .15s}
.astc-chip:hover{transform:translateY(-3px)}
.astc-chip img{width:100%;height:100%;object-fit:cover;display:block}
.astc-chip span{position:absolute;right:2px;bottom:2px;width:20px;height:20px;border-radius:50%;background:var(--astc-main);color:#fff;font-size:13px;line-height:20px;text-align:center}
#astc-zoom{cursor:default}
.astc-zbox{position:relative;background:#fff;border-radius:20px;padding:14px 14px 16px;max-width:min(92vw,440px);width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.astc-zbox img{max-width:100%;max-height:62vh;border-radius:12px;background:#f6eefa;display:block}
.astc-zname{font-size:15px;color:var(--astc-ink);text-align:center}
.astc-zgo{width:100%;min-height:50px;font-size:16px}
.astc-zgo.off{background:#f6eefa;color:var(--astc-main2)}
.astc-zx{position:absolute;right:8px;top:8px;background:rgba(255,255,255,.92);box-shadow:0 2px 8px rgba(0,0,0,.2)}
.astc-chip span{font-size:11px}


/* ===================== v5: единый дизайн корзины ===================== */
:root{--c-p:#9a48bb;--c-pd:#7d3699;--c-pl:#f5ecfa;--c-pm:#e7d3f1;--c-ink:#1f1a24;--c-mut:#7a7283;--c-line:#ece7f0;--c-r:20px;--c-rs:14px;--c-sh:0 1px 2px rgba(60,20,80,.04),0 8px 30px rgba(60,20,80,.06)}
html.astc3 .Page__main,html.astc3 .Page__main>*{background:transparent}
html.astc3 body{background:#faf8fc}

/* сетка: слева карточки, справа итог */
html.astc3 .proopc-finalpage{display:grid!important;grid-template-columns:minmax(0,1fr) 360px;column-gap:20px;row-gap:0;align-items:start;max-width:1120px;margin:0 auto!important;padding:8px 20px 48px!important;counter-reset:astc;width:auto!important;float:none!important}
html.astc3 .proopc-finalpage>.proopc-row{grid-column:1/-1;margin:0!important}
html.astc3 .proopc-finalpage .cart-page-title{font-size:28px!important;font-weight:600;letter-spacing:-.02em;margin:6px 0 16px!important;line-height:1.15;color:var(--c-ink)}
html.astc3 .proopc-login-message-cont{display:none!important}
html.astc3 .firstcol,html.astc3 .lastcol,html.astc3 .lastcol .proopc-column3,html.astc3 .proopc-bt-address,html.astc3 .proopc-bt-address .inner-wrap,html.astc3 .proopc-bt-address .edit-address,html.astc3 #EditBTAddres,
html.astc3 #proopc-carttable-form,html.astc3 #proopc-pricelist,html.astc3 table.cart-summary,html.astc3 table.cart-summary tbody{display:contents!important}
html.astc3 .proopc-bt-address>.proopc-process-title,html.astc3 table.cart-summary thead,html.astc3 .lastcol .proopc-shipments,html.astc3 .proopc-st-address{display:none!important}
html.astc3 .proopc-finalpage>link{display:none}

/* карточка */
html.astc3 .astc-card,html.astc3 tr.cart-p-list,html.astc3 tr.astc-row,html.astc3 .proopc-payments{grid-column:1;display:block;background:#fff;border-radius:var(--c-r);box-shadow:var(--c-sh);padding:20px!important;margin:0 0 16px!important;border:0!important;min-width:0;box-sizing:border-box;color:var(--c-ink)}
html.astc3 .proopc-payments .inner-wrap{padding:0!important;margin:0!important;background:none!important;border:0!important}
html.astc3 .proopc-payments .proopc-process-title{display:none!important}
html.astc3 .proopc-payments.astc-one{display:none!important}
html.astc3 table.cart-summary tr:not(.cart-p-list):not(.astc-row){display:none!important}

/* заголовок карточки с номером */
.astc-ct{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;margin:0 0 14px;counter-increment:astc;color:var(--c-ink);line-height:1.2}
.astc-ct i{flex:none;width:28px;height:28px;border-radius:50%;background:var(--c-pl);color:var(--c-p);display:grid;place-items:center;font:600 13px/1 inherit;font-style:normal}
.astc-ct i::before{content:counter(astc)}
.astc-ct small{margin-left:auto;font-weight:400;color:var(--c-mut);font-size:13px;text-align:right}
td.astc-ct{display:flex!important;padding:0!important;border:0!important;width:auto!important}

/* ---- 1. букет ---- */
html.astc3 tr.cart-p-list{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px 16px}
html.astc3 tr.cart-p-list>td{display:block!important;padding:0!important;border:0!important;width:auto!important;background:none!important;min-width:0}
html.astc3 tr.cart-p-list>td.astc-ct{grid-column:1/-1;display:flex!important}
html.astc3 tr.cart-p-list>td::before{content:none!important;display:none!important}
html.astc3 tr.cart-p-list .col-sku,html.astc3 tr.cart-p-list .col-tax,html.astc3 tr.cart-p-list .col-discount,html.astc3 tr.cart-p-list .col-price{display:none!important}
html.astc3 tr.cart-p-list .col-name{grid-column:1}
html.astc3 tr.cart-p-list .col-qty{grid-column:2;grid-row:2}
html.astc3 tr.cart-p-list .col-total{grid-column:3;grid-row:2;font-size:18px;font-weight:600;white-space:nowrap;text-align:right}
html.astc3 .cart-product-description{display:flex!important;align-items:center;gap:14px;width:auto!important}
html.astc3 .cart-product-description .cart-images{width:76px!important;flex:none;float:none!important;margin:0!important}
html.astc3 .cart-product-description .cart-images img{width:76px!important;height:76px!important;object-fit:cover;border-radius:var(--c-rs)}
html.astc3 .cart-product-description a:not(.addletter){font-size:16px;font-weight:600;line-height:1.3;color:var(--c-ink);text-decoration:none}
html.astc3 .proopc-input-append{display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap}
html.astc3 .proopc-input-append .proopc-qty-input{width:56px!important;height:40px!important;text-align:center;border:1.5px solid var(--c-line);border-radius:12px;font:inherit;font-size:15px;background:#fff;color:var(--c-ink)}
html.astc3 .proopc-input-append .remove_from_cart{display:flex!important;align-items:center;justify-content:center;width:40px;height:40px;padding:0!important;border:0!important;border-radius:50%!important;background:var(--c-pl)!important;cursor:pointer}
html.astc3 .proopc-input-append .remove_from_cart img{width:16px;height:16px}

/* ---- 2. открытки ---- */
html.astc3 tr.astc-row>td{display:block!important;padding:0!important;border:0!important;width:auto!important;max-width:none!important}
html.astc3 #astc-cards{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
#astc-cards .astc-sub{font-size:13px;color:var(--c-mut);margin:-6px 0 12px;line-height:1.35;max-width:none}
#astc-cards .astc-btn{border-radius:99px;padding:10px 18px;min-height:40px;font-size:14px;width:auto}
#astc-cards .astc-open-row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:6px}
html.astc3 .astc-strip{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 8px;margin:0 -2px;scrollbar-width:none}
html.astc3 .astc-chip{flex:none;width:62px;height:82px;border:2px solid #fff;border-radius:12px;background:var(--c-pl);overflow:hidden;box-shadow:0 2px 8px rgba(60,20,80,.15);padding:0;position:relative;cursor:pointer;transition:transform .15s}
html.astc3 .astc-chip:hover{transform:translateY(-3px)}
html.astc3 #astc-cards .astc-units{display:grid;grid-template-columns:1fr;gap:10px;margin-top:8px;max-height:none;overflow:visible}
html.astc3 #astc-cards .astc-unit{display:grid;grid-template-columns:52px 1fr 32px;gap:4px 12px;align-items:start;padding:10px;background:var(--c-pl);border:0;border-radius:var(--c-rs)}
html.astc3 #astc-cards .astc-unit-top{display:contents}
html.astc3 #astc-cards .astc-unit-top img{grid-row:1/3;width:52px;height:68px;border-radius:8px;object-fit:cover}
html.astc3 #astc-cards .astc-unit-top b{grid-column:2;grid-row:1;font-size:14px;align-self:center}
html.astc3 #astc-cards .astc-unit-top .astc-x{grid-column:3;grid-row:1;width:30px;height:30px;background:#fff}
html.astc3 #astc-cards .astc-unit label{grid-column:2/4;grid-row:2;font-size:0;display:block}
html.astc3 #astc-cards .astc-unit textarea{margin:0;min-height:64px;padding:10px 12px;font-size:15px;border-radius:12px;border:1.5px solid var(--c-line);background:#fff}
html.astc3 #astc-cards .astc-cnt{display:block;grid-column:2/4;text-align:right;font-size:11px;margin:-2px 0 0}

/* ---- поля ---- */
html.astc3 .astc-card .inner{margin:0!important;padding:0!important;display:block}
html.astc3 .astc-card label:not(.nosayname2):not(.astc-sw){display:none!important}
html.astc3 .astc-card input[type=text],html.astc3 .astc-card input[type=tel],html.astc3 .astc-card input[type=email],html.astc3 .astc-card select,html.astc3 .astc-card textarea,html.astc3 #astc-sum textarea{width:100%!important;box-sizing:border-box;height:52px;min-height:52px;border:1.5px solid var(--c-line)!important;border-radius:var(--c-rs)!important;padding:0 14px!important;font:inherit;font-size:15px;background:#fff!important;color:var(--c-ink);outline:0;box-shadow:none!important;margin:0!important;transition:border-color .15s,box-shadow .15s}
html.astc3 .astc-card input:focus,html.astc3 #astc-sum textarea:focus{border-color:var(--c-p)!important;box-shadow:0 0 0 4px rgba(154,72,187,.12)!important}
html.astc3 .astc-card input::placeholder,html.astc3 #astc-sum textarea::placeholder{color:#9b93a3}
html.astc3 .astc-card>div:not(.astc-ct):not(.astc-pair){margin:0 0 12px!important;padding:0!important}
html.astc3 .astc-card>div:last-child{margin-bottom:0!important}
html.astc3 .astc-card .astc-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 12px}
html.astc3 .astc-card .astc-pair>div{margin:0!important;padding:0!important;min-width:0}
html.astc3 .astc-card .poluchatel-group{display:none!important}
html.astc3 .astc-card .astid-box{position:relative}
html.astc3 .astid-info{font-size:12.5px;color:var(--c-mut);margin:6px 2px 0}
html.astc3 .astc-det{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 12px}
html.astc3 .astc-det input,html.astc3 .astc-card input.astc-cm{width:100%}
html.astc3 .astc-card input.astc-cm{margin-top:0}

/* ---- переключатель способа получения ---- */
html.astc3 .astc-seg{display:grid;grid-template-columns:1fr 1fr;gap:0;background:var(--c-pl);border-radius:99px;padding:4px;margin:0}
html.astc3 .astc-seg button{border:0;background:none;padding:12px 8px;border-radius:99px;font:inherit;font-weight:600;font-size:15px;color:var(--c-p);cursor:pointer;transition:.2s;min-height:46px}
html.astc3 .astc-seg button.on{background:var(--c-p);color:#fff;box-shadow:0 4px 14px rgba(154,72,187,.35)}

/* ---- инкогнито-переключатель ---- */
html.astc3 .setchecknoname{display:block;margin:0!important;padding:0!important}
html.astc3 .setchecknoname label.nosayname2{position:relative;display:flex!important;align-items:flex-start;gap:12px;padding:12px 14px 2px 70px!important;margin:0!important;border-radius:var(--c-rs) var(--c-rs) 0 0;background:var(--c-line);background:#faf8fc;cursor:pointer;min-height:44px;font-weight:600;font-size:14.5px;line-height:1.3}
html.astc3 .setchecknoname label.nosayname2 input{position:absolute;opacity:0;pointer-events:none}
html.astc3 .setchecknoname label.nosayname2::before{content:"";position:absolute;left:14px;top:13px;width:42px;height:24px;border-radius:99px;background:#d8d0de;transition:.2s}
html.astc3 .setchecknoname label.nosayname2::after{content:"";position:absolute;left:17px;top:16px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:.2s}
html.astc3 .setchecknoname label.nosayname2:has(input:checked)::before{background:var(--c-p)}
html.astc3 .setchecknoname label.nosayname2:has(input:checked)::after{left:35px}
html.astc3 .setchecknoname .astc-incog-hint{margin:0;padding:0 14px 12px 70px;background:#faf8fc;border-radius:0 0 var(--c-rs) var(--c-rs);font-size:12.5px;color:var(--c-mut);line-height:1.35}

/* ---- итог справа ---- */
html.astc3 .proopc-confirm-order{grid-column:2;grid-row:2/span 14;position:sticky;top:20px;align-self:start;background:#fff;border-radius:var(--c-r);box-shadow:var(--c-sh);padding:20px;margin:0!important;float:none!important;width:auto!important;box-sizing:border-box}
html.astc3 .proopc-confirm-order .proopc-process-title{display:none!important}
html.astc3 .proopc-confirm-order .inner-wrap{padding:0!important;margin:0!important;background:none!important;border:0!important}
html.astc3 .lastcol .proopc-column3.last{display:contents!important}
#astc-sum .astc-ct0{font-size:18px;font-weight:600;margin:0 0 12px;color:var(--c-ink)}
#astc-sum .astc-ln{display:flex;justify-content:space-between;gap:12px;padding:6px 0;color:var(--c-mut);font-size:14.5px;line-height:1.3}
#astc-sum .astc-ln b{color:var(--c-ink);font-weight:500;white-space:nowrap}
#astc-sum .astc-ln span{min-width:0}
#astc-sum .astc-tot{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--c-line);margin:8px 0 14px;padding-top:14px;font-size:21px;font-weight:600;color:var(--c-ink)}
#astc-sum .astc-fee-note{margin:-8px 0 14px;font-size:13px;line-height:1.35;color:var(--c-ink);opacity:.65}
html.astc3 #astc-free,html.astc3 #astc-md{margin:0 0 12px}
html.astc3 #astc-md:empty{display:none}
html.astc3 .astc-md{padding:12px 14px;border-radius:var(--c-rs);background:var(--c-pl);font-size:13.5px;line-height:1.35;margin:0}
html.astc3 .astc-md.ok{background:#e8f7ee;color:#1d6b3a;font-weight:600}
html.astc3 .astc-free{padding:12px 14px;border-radius:var(--c-rs);background:var(--c-pl);font-size:13.5px;line-height:1.35;margin:0}
html.astc3 .astc-free.ok{background:#e8f7ee;color:#1d6b3a;font-weight:600}
html.astc3 .astc-free .bar{height:6px;border-radius:9px;background:#fff;margin-top:8px;overflow:hidden}
html.astc3 .astc-free .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--c-p),#c47ae0);border-radius:9px}
html.astc3 #astc-sum textarea{height:64px;min-height:64px;padding:12px 14px!important;resize:vertical;margin:0 0 12px!important}
html.astc3 .customer-comment-group{margin:0 0 4px}
html.astc3 .customer-comment-group label{display:none!important}
html.astc3 .cart-tos-group{margin:0!important;font-size:12px;color:var(--c-mut);line-height:1.35;text-align:center}
html.astc3 .cart-tos-group label{display:flex!important;gap:8px;align-items:flex-start;text-align:left;margin:8px 0!important}
html.astc3 .cart-tos-group a{color:var(--c-mut)!important}
html.astc3 .proopc-checkout-box{margin:0!important;padding:0!important}
html.astc3 #proopc-order-submit{display:block;width:100%!important;border:0!important;border-radius:99px!important;background:var(--c-p)!important;color:#fff!important;font:inherit!important;font-size:16px!important;font-weight:600!important;padding:0 16px!important;min-height:54px!important;height:54px!important;cursor:pointer;box-shadow:0 8px 24px rgba(154,72,187,.35)!important;transition:background .2s}
html.astc3 #proopc-order-submit:hover{background:var(--c-pd)!important}

/* ---- планшет и телефон ---- */
@media(max-width:900px){
 html.astc3 .proopc-finalpage{grid-template-columns:minmax(0,1fr);padding:4px 14px 100px!important}
 html.astc3 .proopc-finalpage .cart-page-title{font-size:23px!important;margin:4px 0 12px!important}
 html.astc3 .astc-card,html.astc3 tr.cart-p-list,html.astc3 tr.astc-row,html.astc3 .proopc-payments{padding:16px!important;border-radius:18px;margin-bottom:12px!important}
 html.astc3 .proopc-confirm-order{grid-column:1;grid-row:auto;position:static;padding:16px;border-radius:18px}
 html.astc3 .astc-det{grid-template-columns:1fr 1fr}
 html.astc3 .astc-card .astc-pair{grid-template-columns:1fr}
 html.astc3 tr.cart-p-list{grid-template-columns:minmax(0,1fr) auto}
 html.astc3 tr.cart-p-list .col-name{grid-column:1/-1}
 html.astc3 tr.cart-p-list .col-qty{grid-column:1;grid-row:3}
 html.astc3 tr.cart-p-list .col-total{grid-column:2;grid-row:3}
 html.astc3 .proopc-finalpage input,html.astc3 .proopc-finalpage select,html.astc3 .proopc-finalpage textarea{font-size:16px!important}
 html.astc3 #astc-cards .astc-btn{width:100%}
}
@media(max-width:420px){html.astc3 .astc-card .astc-pair.keep{grid-template-columns:1fr 1fr}}
html.astc3 .proopc-finalpage>.proopc-row:has(.proopc-login-message-cont){display:none!important}
html.astc3 .astc-seg button{display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;width:100%}
html.astc3 .astc-card .setchecknoname,html.astc3 .astc-card .setchecknoname label.nosayname2,html.astc3 .astc-card .setchecknoname .astc-incog-hint{width:100%!important;max-width:none!important;float:none!important;box-sizing:border-box}
html.astc3 .setchecknoname label.nosayname2 .hover-tootip{display:inline!important;border:0!important;font-weight:600}
html.astc3 .astc-pair>.setchecknoname{grid-column:1/-1}
html.astc3 .astc-det{grid-template-columns:repeat(4,minmax(0,1fr))}
html.astc3 .astc-card .astc-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){html.astc3 .astc-det{grid-template-columns:repeat(2,minmax(0,1fr))}html.astc3 .astc-card .astc-pair{grid-template-columns:minmax(0,1fr)}}
html.astc3 .Page__main{overflow:visible!important;overflow-x:clip!important}
html.astc3 .proopc-confirm-order{top:140px}
@media(max-width:900px){
 html.astc3 .proopc-confirm-order{top:auto}
 html.astc3 .proopc-input-append .proopc-qty-input{width:60px!important;height:44px!important;min-height:44px!important;padding:0!important}
 html.astc3 .cart-product-description .cart-images{width:64px!important}
 html.astc3 .cart-product-description .cart-images img{width:64px!important;height:64px!important}
}
html body.cart-view tr.cart-p-list td.col-total,html body tr.cart-p-list td.col-total,html.astc3 body table.cart-summary tr.cart-p-list td.col-total{display:block!important}
html body div#proopc-pricelist tr.cart-p-list td.col-total.nowrap{display:block!important}
html.astc3 tr.cart-p-list.astc-cardrow{display:none!important}
html.astc3 td.astc-ct,html.astc3 td.astc-ct *{text-transform:none!important;font-size:17px;font-weight:600;color:var(--c-ink);letter-spacing:0}
html.astc3 td.astc-ct i{font-size:13px!important;color:var(--c-p)}

/* ===== v6: компьютер — страница неподвижна, прокручивается только область форм ===== */
@media(min-width:901px){
 html.astc3,html.astc3 body{overflow:hidden!important;height:100%}
 html.astc3 .Header__navs,html.astc3 .Page__header .Catalog,html.astc3 .Page__main .content{display:none!important}
 html.astc3 .Page__header .Header{padding-top:6px!important;padding-bottom:0!important;height:auto!important;min-height:0!important;margin-bottom:0!important}
 html.astc3 .Header__logo img{max-height:44px!important;width:auto!important}
 html.astc3 .Header__logo,html.astc3 .Header__logo .Logo{height:auto!important}
 html.astc3 .Page__main{padding-top:0!important;margin-top:0!important}
 html.astc3 .proopc-finalpage{height:var(--astc-h,calc(100vh - 130px))!important;overflow-y:auto!important;overflow-x:hidden;align-content:start;padding:0 14px 0 20px!important;scrollbar-width:thin;scrollbar-color:var(--c-pm) transparent;overscroll-behavior:contain;box-sizing:border-box}
 html.astc3 .proopc-finalpage .cart-page-title{font-size:22px!important;margin:2px 0 10px!important}
 html.astc3 .proopc-confirm-order{top:0!important;max-height:calc(var(--astc-h,600px) - 8px);overflow-y:auto;padding:16px!important}
 html.astc3 #astc-sum .astc-ln{padding:4px 0}
 html.astc3 #astc-sum .astc-tot{margin:6px 0 10px;padding-top:10px;font-size:19px}
 html.astc3 .astc-free{padding:8px 12px}
 html.astc3 #astc-free{margin-bottom:8px}
 html.astc3 #astc-sum textarea{height:48px;min-height:48px;margin-bottom:8px!important}
 html.astc3 .cart-tos-group label{margin:4px 0!important}
 html.astc3 #proopc-order-submit{min-height:50px!important;height:50px!important}
}

/* v6.1: кнопки и отступы в строке букета */
html.astc3 .cart-product-description{padding:0!important;min-height:0!important}
html.astc3 .cart-product-description .cart-images{padding:0!important;position:static!important}
html.astc3 .proopc-input-append{position:static!important;padding:0!important;gap:10px}
html.astc3 .proopc-input-append .remove_from_cart{position:static!important;inset:auto!important;margin:0!important;flex:none;width:40px;height:40px;transform:none!important}
html.astc3 .proopc-input-append .remove_from_cart:hover{background:#fbe3e8!important}
html.astc3 .cart-p-list .col-qty{padding:0!important;margin:0!important}
html.astc3 .astc-x{display:grid;place-items:center;line-height:1;padding:0}

/* v6.2: каталог открыток — плитки одной высоты, кнопки на одной линии */
.astc-tile{align-self:stretch!important}
.astc-grid{align-items:stretch}
.astc-tile .nm{min-height:2.6em!important;-webkit-line-clamp:2}
.astc-tile .pr{margin-top:auto}
.astc-tile>.astc-btn.s,.astc-tile>.astc-picked{flex:none}
.astc-tile>.astc-btn.s{margin-top:auto}

/* v7: ошибка телефона */
input.astc-bad{border-color:#d93a5b!important;box-shadow:0 0 0 4px rgba(217,58,91,.12)!important}
.astc-err{color:#c0264d;font-size:12.5px;margin:6px 2px 0;line-height:1.3}

/* v8: телефон — строка букета, крестик под шапкой, текст открытки */
html.astc3 tr.cart-p-list,html.astc3 tr.astc-row,html.astc3 .astc-card{isolation:isolate;position:relative;z-index:0}
html.astc3 .proopc-input-append .remove_from_cart{z-index:auto!important}
html.astc3 #astc-cards .astc-unit textarea{line-height:1.35}
@media(max-width:900px){
 html.astc3 tr.cart-p-list{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;align-items:start;gap:8px 12px}
 html.astc3 tr.cart-p-list>td.astc-ct{grid-column:1/-1;grid-row:1}
 html.astc3 tr.cart-p-list .col-name{grid-column:1;grid-row:2}
 html.astc3 tr.cart-p-list .col-qty{grid-column:2;grid-row:2;align-self:start}
 html.astc3 tr.cart-p-list .proopc-input-append{flex-direction:column;align-items:center;gap:8px}
 html.astc3 tr.cart-p-list .col-total{grid-column:1/-1;grid-row:3;text-align:right;justify-self:end}
 html.astc3 #astc-cards .astc-unit{grid-template-columns:52px minmax(0,1fr) 32px}
 html.astc3 #astc-cards .astc-unit label{grid-column:1/-1;grid-row:3}
 html.astc3 #astc-cards .astc-unit textarea{min-height:92px;font-size:16px;padding:10px 12px}
 html.astc3 #astc-cards .astc-cnt{grid-column:1/-1}
}
html.astc3 #astc-cards .astc-hint{grid-column:1/-1;font-size:12.5px;line-height:1.35;color:var(--c-mut);margin:2px 2px 0}
html.astc3 #astc-cards .astc-cnt{grid-row:4}
html.astc3 #astc-cards .astc-hint{grid-row:5}
@media(min-width:901px){html.astc3 #astc-cards .astc-hint{grid-column:2/4;grid-row:3}html.astc3 #astc-cards .astc-cnt{display:none}}

/* v9: единая система кнопок (сайт перебивал цвет текста на чёрный) */
html body .astc-btn,html body #astc-cards .astc-btn,html body #astc-modal .astc-btn,html body .astc-zgo,html body #astc-bar button,html body #astc-bar-go{background:#9a48bb!important;color:#fff!important;font-weight:600!important;border:0!important;border-radius:99px!important;text-shadow:none!important;-webkit-text-fill-color:#fff!important}
html body .astc-btn:hover,html body #astc-bar-go:hover{background:#7d3699!important}
html body .astc-zgo.off{background:#f5ecfa!important;color:#7d3699!important;-webkit-text-fill-color:#7d3699!important}
html body .astc-seg button{color:#9a48bb!important;-webkit-text-fill-color:#9a48bb!important;font-weight:600!important;background:transparent!important}
html body .astc-seg button.on{background:#9a48bb!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .astc-picked button{background:#f5ecfa!important;color:#7d3699!important;-webkit-text-fill-color:#7d3699!important;font-weight:600!important}
html body .astc-picked button:hover,html body .astc-x:hover{background:#fbe3e8!important;color:#c0264d!important;-webkit-text-fill-color:#c0264d!important}
html body .astc-x{background:#fff!important;color:#5b5063!important;-webkit-text-fill-color:#5b5063!important}
html body #astc-cards .astc-unit .astc-x{background:#fff!important}
html body .astc-chip span{background:#9a48bb!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #proopc-order-submit{background:#9a48bb!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:600!important}
html body #proopc-order-submit:hover{background:#7d3699!important}
html body .proopc-input-append .remove_from_cart{background:#f5ecfa!important}
html body .proopc-input-append .remove_from_cart:hover{background:#fbe3e8!important}

/* v11: пересчёт корзины без белых вспышек (сайт на время загрузки закрывает экран белой плёнкой) */
html.astc3 #proopc-page-overlay{background:transparent!important;opacity:1!important;transition:none!important}
html.astc3 .proopc-loader-overlay{background:rgba(255,255,255,.35)!important;opacity:1!important;border-radius:20px}
html.astc3 #proopc-page-spinner{transform:scale(.7);opacity:.85}
html.astc3 #astc-lines,html.astc3 #astc-free,html.astc3 .astc-cards-fade{transition:opacity .2s}

/* дата и время: чипы */
.astdt{display:block;width:100%}
.astdt-l{font-size:13px;color:var(--astc-mute);margin:2px 0 8px}
.astdt-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.astdt-c{border:2px solid var(--astc-line);background:#fff;color:var(--astc-ink);border-radius:14px;font:inherit;font-size:15px;font-weight:600;cursor:pointer;min-height:46px;padding:8px 14px;transition:background .15s,border-color .15s,transform .1s;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15}
.astdt-c span{font-size:12px;font-weight:400;color:var(--astc-mute)}
.astdt-c:hover:not(:disabled){border-color:var(--astc-main)}.astdt-c:active{transform:scale(.96)}
.astdt-c.on{background:var(--astc-main);border-color:var(--astc-main);color:#fff}.astdt-c.on span{color:#f1e3f8}
.astdt-c:disabled{opacity:.4;cursor:not-allowed;background:#f4f1f6}
.astdt-d{min-width:74px}.astdt-t{min-width:76px;flex-direction:row}
.astdt-d.extra{display:none}.astdt-row.all .astdt-d.extra{display:flex}
.astdt-more{border:2px dashed var(--astc-line);background:transparent;color:var(--astc-main);border-radius:14px;font:inherit;font-size:14px;font-weight:600;min-height:46px;padding:8px 14px;cursor:pointer}
.astdt-hint{font-size:14px;color:var(--astc-mute);padding:6px 0 12px}
.astdt-sum{background:var(--astc-soft);border-radius:12px;padding:10px 14px;font-size:15px;font-weight:600;color:var(--astc-main2)}
@media(max-width:700px){
 .astdt-row:not(.astdt-times){flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;margin:0 -4px 14px;padding:2px 4px 6px;-webkit-overflow-scrolling:touch}
 .astdt-row:not(.astdt-times) .astdt-c{flex:none;scroll-snap-align:start}
 .astdt-row.all:not(.astdt-times) .astdt-d.extra{display:flex}.astdt-d.extra{display:flex}.astdt-more{display:none}
 .astdt-times{display:grid;grid-template-columns:repeat(3,1fr)}.astdt-t{min-width:0}
}
