:root{--account-wine:#7a1837;--account-wine-dark:#4f1223;--account-rose:#f2e2e7;--account-cream:#f8f4ef;--account-line:#e7dbd7;--account-text:#21191b;--account-muted:#786f71}
.account-page{min-height:70vh;padding:58px 0 90px;background:linear-gradient(135deg,rgba(249,246,242,.97),rgba(246,238,237,.93))}
.account-intro{max-width:920px;text-align:center}.account-intro h1{font-family:"Playfair Display",serif;font-size:clamp(38px,6vw,68px);line-height:1.04;margin:12px auto 16px;max-width:850px}.account-intro p{color:var(--account-muted);font-size:18px;max-width:660px;margin:0 auto}
.account-login{max-width:650px;margin-top:42px;padding:38px;border:1px solid var(--account-line);border-radius:28px;background:#fffdfb;text-align:center;box-shadow:0 20px 55px rgba(78,30,42,.08)}.account-login__icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 20px;border-radius:22px;background:var(--account-rose);color:var(--account-wine);font-size:36px}.account-login h2{font-size:28px;margin:0 0 12px}.account-login p{color:var(--account-muted);line-height:1.6;margin:0 auto 24px;max-width:520px}
.account-primary{border:0;border-radius:14px;background:var(--account-wine);color:#fff;padding:15px 24px;font:inherit;font-weight:800;cursor:pointer}.account-primary:hover{background:var(--account-wine-dark)}
.account-shell{margin-top:42px}.account-welcome{display:flex;justify-content:space-between;gap:20px;align-items:end}.account-welcome h2{font-size:34px;margin:8px 0 0}.account-logout{display:flex;align-items:center;gap:8px;border:1px solid var(--account-line);background:#fff;border-radius:13px;padding:11px 15px;color:var(--account-wine);font:inherit;font-weight:700;cursor:pointer}
.account-tabs{display:flex;gap:10px;margin:28px 0 20px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}.account-tabs button{white-space:nowrap;border:1px solid var(--account-line);background:#fff;color:var(--account-text);border-radius:999px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer}.account-tabs button.is-active{background:var(--account-wine);border-color:var(--account-wine);color:#fff}
.account-content{min-height:260px}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.account-card,.account-empty,.account-profile{border:1px solid var(--account-line);border-radius:22px;background:#fffdfb;padding:20px}.account-empty{text-align:center;padding:46px 22px}.account-empty h3{margin:0 0 8px;font-size:24px}.account-empty p{color:var(--account-muted);margin:0 0 20px}.account-empty a{display:inline-block;text-decoration:none}
.account-product{display:grid;grid-template-columns:105px 1fr;gap:16px}.account-product__image{width:105px;aspect-ratio:1;border-radius:16px;background:#eee center/cover no-repeat}.account-product h3{margin:0 0 7px;font-size:17px}.account-product h3 a{color:inherit;text-decoration:none}.account-product__meta{color:var(--account-muted);font-size:13px}.account-product__price{display:block;color:var(--account-wine);font-size:18px;margin:10px 0;font-weight:800}.account-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.account-actions button{border:0;border-radius:11px;padding:10px 12px;background:var(--account-rose);color:var(--account-wine);font:inherit;font-size:13px;font-weight:800;cursor:pointer}.account-actions button.account-danger{background:#fff1f1;color:#9a3030}.account-actions button.account-cart{background:var(--account-wine);color:#fff}
.account-qty{display:inline-grid;grid-template-columns:34px 58px 34px;align-items:center;border:1px solid var(--account-line);border-radius:11px;overflow:hidden;background:#fff}.account-qty button{height:36px;border:0;background:#fff;color:var(--account-wine);font-size:18px;cursor:pointer}.account-qty input{width:58px;height:36px;border:0;border-inline:1px solid var(--account-line);text-align:center;font:inherit}
.account-order__head,.account-project__head{display:flex;justify-content:space-between;gap:16px;align-items:start}.account-order h3,.account-project h3{margin:0}.account-order__status{border-radius:999px;background:var(--account-rose);color:var(--account-wine);padding:7px 10px;font-size:12px;font-weight:800}.account-order__date,.account-order__items{color:var(--account-muted);font-size:14px}.account-order__total{font-size:20px;font-weight:800;text-align:right}.account-project__items{margin-top:16px;display:grid;gap:10px}.account-project__tools{display:flex;gap:6px}.account-project__tools button{border:0;background:#f7efef;color:var(--account-wine);border-radius:9px;padding:8px;cursor:pointer}
.account-create{display:flex;gap:10px;margin-bottom:18px}.account-create input,.account-profile input,.account-profile select{width:100%;box-sizing:border-box;border:1px solid #d7c8c8;border-radius:13px;background:#fff;padding:13px 14px;font:inherit}.account-create input{flex:1}.account-profile{max-width:720px}.account-profile form{display:grid;gap:15px}.account-profile label{display:grid;gap:7px;font-weight:700}.account-profile__row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.account-phone{display:grid;grid-template-columns:1fr auto;gap:8px}.account-phone button{border:1px solid var(--account-line);border-radius:13px;background:var(--account-rose);color:var(--account-wine);padding:0 15px;font:inherit;font-weight:800;cursor:pointer}.account-phone input{color:var(--account-muted);background:#f8f5f3}
.account-picker{width:min(520px,calc(100% - 28px));border:0;border-radius:24px;padding:28px;box-sizing:border-box}.account-picker::backdrop,.account-auth::backdrop{background:rgba(37,24,27,.55);backdrop-filter:blur(3px)}.account-picker__close{position:absolute;right:16px;top:16px;width:38px;height:38px;border:1px solid var(--account-line);border-radius:50%;background:#fff;color:var(--account-wine);font-size:22px}.account-picker h2{margin:0 48px 20px 0}.account-project-choice{display:flex;width:100%;justify-content:space-between;padding:14px;margin:8px 0;border:1px solid var(--account-line);border-radius:13px;background:#fff;font:inherit;font-weight:700;cursor:pointer}
.account-auth{width:min(520px,calc(100% - 28px));border:0;border-radius:26px;padding:0;overflow:hidden;color:var(--account-text)}.account-auth__inner{position:relative;padding:32px}.account-auth__close{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--account-line);border-radius:50%;background:#fff;color:var(--account-wine);font-size:25px;cursor:pointer}.account-auth__icon{display:grid;place-items:center;width:62px;height:62px;border-radius:19px;background:var(--account-rose);color:var(--account-wine);font-size:30px}.account-auth h2{font-size:28px;line-height:1.15;margin:20px 50px 10px 0}.account-auth p{color:var(--account-muted);line-height:1.55}.account-auth form{display:grid;gap:13px;margin-top:22px}.account-auth label{display:grid;gap:7px;font-weight:700}.account-auth input{box-sizing:border-box;width:100%;border:1px solid #d7c8c8;border-radius:13px;padding:14px;font:inherit;font-size:18px}.account-auth__status{min-height:22px;color:#a12b43;font-size:14px}.account-auth__hint{font-size:13px}.account-auth__hint a{color:var(--account-wine)}.account-auth__back{border:0;background:transparent;color:var(--account-wine);font:inherit;font-weight:700;cursor:pointer}.account-auth__privacy{display:flex!important;grid-template-columns:22px 1fr!important;align-items:start;font-size:14px}.account-auth__privacy input{width:18px;height:18px;margin-top:2px}.account-auth__privacy a{color:var(--account-wine)}
.account-entry{display:inline-flex;align-items:center;gap:7px;color:var(--account-wine);text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap}.account-entry svg{width:20px;height:20px}.wish.is-favorite,.favorite.is-favorite{background:var(--account-wine)!important;color:#fff!important}.account-toast{position:fixed;left:50%;bottom:28px;z-index:9999;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--account-wine-dark);color:#fff;padding:12px 18px;border-radius:999px;font-weight:700;transition:.2s}.account-toast.is-visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:800px){.account-page{padding:36px 0 110px}.account-intro{text-align:left}.account-intro h1{font-size:40px}.account-intro p{font-size:16px}.account-login{margin:28px 16px 0;padding:28px 22px}.account-welcome{align-items:center}.account-welcome h2{font-size:27px}.account-grid{grid-template-columns:1fr}.account-product{grid-template-columns:88px 1fr}.account-product__image{width:88px}.account-profile__row{grid-template-columns:1fr}.account-entry span{display:none}.account-entry{width:40px;height:40px;justify-content:center;border:1px solid var(--account-line);border-radius:50%;background:#fff}.header__actions{gap:8px}.account-tabs{margin-inline:-4px}.account-auth{margin:auto 0 0;width:100%;max-width:none;border-radius:26px 26px 0 0}.account-auth__inner{padding:28px 22px 34px}}
.account-page{padding-top:32px}.account-shell{margin-top:0}.account-login{margin-top:0}
.account-order__photos{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}
.account-order__thumb{width:64px;height:64px;object-fit:cover;flex:0 0 64px;border:1px solid var(--account-line);border-radius:12px;background:#f3eeeb}
.account-order__no-photo{display:grid;place-items:center;color:var(--account-muted)}.account-order__no-photo svg{width:26px;height:26px}
.account-order__more{font-weight:800;color:var(--account-wine)}
.account-order__bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:16px;flex-wrap:wrap}
.account-order__details{min-height:44px;padding:10px 20px;border:1px solid #ddc5ca;border-radius:12px;background:var(--account-rose);color:var(--account-wine);font:inherit;font-weight:800;cursor:pointer}
.account-order__details:hover{background:#e8d2da}.account-order__total{font-size:18px}
.account-order-dialog{width:min(680px,calc(100% - 28px));max-height:90dvh;margin:auto;border:0;border-radius:24px;padding:0;color:var(--account-text);overflow:hidden;box-sizing:border-box}
.account-order-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.account-order-dialog::backdrop{background:rgba(37,24,27,.55);backdrop-filter:blur(3px)}
.account-order-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--account-line);background:#fffdfb}
.account-order-dialog__head h2{font-size:21px;margin:0;overflow-wrap:anywhere}
.account-order-dialog__close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--account-line);border-radius:50%;background:#f6eeee;color:var(--account-wine);padding:0;cursor:pointer}
.account-order-dialog__close svg{width:20px;height:20px}
.account-order-dialog__body{padding:20px 24px calc(24px + env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin}
.account-order-item{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;padding:16px 0;border-bottom:1px solid var(--account-line)}
.account-order-item__photo{width:80px;height:80px;object-fit:cover;border-radius:12px;border:1px solid var(--account-line);background:#f3eeeb}
.account-order-item h3{font-size:16px;line-height:1.4;margin:0 0 6px;overflow-wrap:anywhere}.account-order-item h3 a{color:inherit;text-decoration:none}
.account-order-item p{font-size:14px;color:var(--account-muted);margin:6px 0}.account-order-item strong{color:var(--account-wine)}
.account-order-summary{text-align:right;margin:20px 0;color:var(--account-wine)}.account-order-summary p{margin:6px 0}.account-order-summary strong{font-size:22px}
.account-order-info{display:grid;gap:16px}.account-order-info h3{font-size:15px;margin:0 0 5px}.account-order-info p{margin:0;line-height:1.6;overflow-wrap:anywhere;white-space:pre-line}
@media(max-width:600px){.account-page{padding-top:24px}.account-order-dialog{width:100%;max-width:100%;max-height:90dvh;margin:auto 0 0;border-radius:24px 24px 0 0}.account-order-dialog__head{padding:16px 18px}.account-order-dialog__head h2{font-size:18px}.account-order-dialog__body{padding:18px 18px calc(24px + env(safe-area-inset-bottom))}.account-order__thumb{width:56px;height:56px;flex-basis:56px}}

.account-trash-icon{display:block;width:20px;height:20px;flex-shrink:0;pointer-events:none}.account-actions button.account-danger,.account-project__tools button[data-delete-project]{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px}
