/* T008: кабинет, история и адреса оформления. */
.account-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 28px}
.account-stat{border:1px solid #e7d6c5;border-radius:15px;padding:18px;background:#fff}
.account-stat strong{display:block;font-size:clamp(21px,2.6vw,30px);line-height:1.2;color:#26201d}
.account-stat span{display:block;color:#786a5f;font-size:13px;margin-top:5px}
.account-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0 14px}
.account-section-title h2{margin:0}
.account-order-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px}
.account-order-visual{display:flex;gap:10px;align-items:center;margin:12px 0;min-height:65px}
.account-order-visual a,.account-order-visual span{width:69px;height:69px;flex:0 0 69px;display:block;border-radius:10px;background:#f8f4ef;overflow:hidden}
.account-order-visual img{width:100%;height:100%;object-fit:cover}
.account-order-block{border:1px solid #e9d9ca;border-radius:16px;padding:17px;background:#fff;min-width:0}
.account-order-meta{display:flex;justify-content:space-between;gap:8px;align-items:start;flex-wrap:wrap}
.account-order-meta small{color:#736d69}
.account-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.account-actions form{margin:0}
.account-favorites{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:14px}
.account-favorite{display:block;overflow:hidden;background:#fff;border:1px solid #eadbcb;border-radius:14px;text-decoration:none;color:inherit}
.account-favorite img{width:100%;height:138px;object-fit:cover;display:block;background:#faf4ec}
.account-favorite__body{padding:12px;display:grid;gap:4px}
.account-favorite__body small{color:#75665e}
.account-birthday-offer{background:#fff8ed;border:1px solid #e5cfad;border-radius:16px;padding:20px;margin:20px 0}
.account-birthday-offer p{margin:8px 0 14px}
.account-birthday-offer .button{white-space:normal;text-align:center}
.account-birthday-offer__tag{display:inline-block;font-size:12px;font-weight:700;color:#ab441d;margin-bottom:5px}
.account-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.checkout-address-choice{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.checkout-address-choice label{display:flex;gap:8px;align-items:center;cursor:pointer;border:1px solid #e4d5c8;border-radius:10px;padding:9px 12px;background:#fff;font-size:14px}
.checkout-address-choice input{accent-color:#b74823}
[data-private-house-field][hidden],[data-apartment-fields][hidden],[data-delivery-fields][hidden]{display:none!important}
.cart-item__image-link{flex-shrink:0;display:block}
.cart-item__product-link,.checkout-summary__product-link{font-weight:700;color:inherit;text-decoration:underline;text-decoration-color:#dfc5b0;text-underline-offset:3px}
.cart-item__product-link:hover,.checkout-summary__product-link:hover{color:#bd4923}
.cart-addon__actions{flex-wrap:wrap}
@media(max-width:790px){.account-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.account-menu-grid{grid-template-columns:1fr}.account-order-cards{grid-template-columns:1fr}}
@media(max-width:390px){.account-stat{padding:12px}.account-overview{gap:8px}.account-order-visual a,.account-order-visual span{width:58px;height:58px;flex-basis:58px}.checkout-address-choice{flex-direction:column}}
/* История не расширяет страницу на узких экранах. */
.account-order-visual{flex-wrap:wrap;max-width:100%}
.order-card{grid-template-columns:minmax(0,1fr) auto;min-width:0}
.order-card>div{min-width:0}
.account-stat strong{overflow-wrap:anywhere}
@media(max-width:600px){.order-card{grid-template-columns:1fr}.order-card>div:last-child{text-align:left!important}.account-order-block{padding:14px}}
