.account-header { position: sticky; top: 0; z-index: 5; }
.account-page { min-height: calc(100vh - 150px); background: #f7faf7; }
.account-search { width: min(100%, 480px); border: 1px solid #dfe5df; border-radius: 7px; overflow: hidden; }
.account-search input { flex: 1; border: 0; outline: 0; padding: 11px 14px; color: #1a1a1a; }
.account-search button { width: 48px; border: 0; color: #fff; background: #00b207; }
.account-header-icon { color: #303630; font-size: 1.35rem; text-decoration: none; }
.account-header-icon:hover { color: #00b207; }
.account-header-icon .cart-badge { position: absolute; top: -7px; right: -9px; min-width: 17px; text-align: center; }
.account-nav, .account-card, .stat-card { border: 1px solid #e2e9e2; border-radius: 10px; background: #fff; }
.account-nav { overflow: hidden; }
.account-nav-link { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; border-bottom: 1px solid #edf1ed; padding: 15px 18px; color: #606960; background: #fff; text-align: left; transition: .2s ease; }
.account-nav-link:last-child { border-bottom: 0; }
.account-nav-link:hover, .account-nav-link.active { color: #00a707; background: #f0faf0; }
.account-nav-link i { width: 20px; font-size: 1.1rem; }
.account-section { display: none; }
.account-section.active { display: block; }
.account-card { padding: 24px; }
.overview-card { display: flex; justify-content: space-between; align-items: center; }
.profile-avatar, .guest-icon { display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #00b207, #72c932); font-weight: 700; }
.profile-avatar { width: 58px; height: 58px; font-size: 1.4rem; }
.profile-avatar-wrap { position: relative; width: 58px; height: 58px; flex: 0 0 58px; }
.profile-avatar-wrap .profile-avatar { width: 100%; height: 100%; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-button { position: absolute; right: -7px; bottom: -5px; display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #00b207; cursor: pointer; font-size: .72rem; }
.profile-photo-button:hover { background: #009906; }
.stat-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.stat-card i { color: #00b207; font-size: 1.35rem; }
.stat-card strong { font-size: 1.5rem; }
.stat-card span, .section-heading p, .preference-row small { color: #737a73; font-size: .82rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 1.35rem; font-weight: 700; }
.section-heading p { margin: 5px 0 0; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-links button { border: 1px solid #e2e9e2; border-radius: 7px; padding: 15px 10px; color: #303630; background: #fff; font-size: .85rem; }
.quick-links button:hover { border-color: #00b207; color: #00a707; }
.quick-links i { display: block; margin-bottom: 7px; font-size: 1.3rem; }
.empty-account { padding: 28px; color: #737a73; text-align: center; }
.account-product { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #edf1ed; padding: 12px 0; }
.account-product:last-child { border-bottom: 0; }
.account-product img { width: 62px; height: 62px; object-fit: contain; }
.account-product a { color: #303630; text-decoration: none; font-weight: 500; }
.account-product a:hover { color: #00a707; }
.order-row, .address-item { border-bottom: 1px solid #edf1ed; padding: 15px 0; }
.order-row:last-child, .address-item:last-child { border-bottom: 0; }
.order-row strong { color: #303630; }
.order-row small, .address-item p { color: #737a73; }
.address-item { display: flex; justify-content: space-between; gap: 15px; }
.account-form label, .address-form label { display: block; color: #303630; font-size: .82rem; font-weight: 500; }
.account-form input, .address-form input { display: block; width: 100%; margin-top: 7px; border: 1px solid #dfe5df; border-radius: 6px; padding: 10px 12px; outline: 0; }
.account-form input:focus, .address-form input:focus { border-color: #00b207; box-shadow: 0 0 0 3px rgba(0,178,7,.1); }
.preference-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #edf1ed; padding: 16px 0; }
.preference-row:last-of-type { border-bottom: 0; }
.preference-row strong, .preference-row small { display: block; }
.preference-row input { width: 18px; height: 18px; accent-color: #00b207; }
.account-message { display: none; margin-bottom: 18px; border-radius: 6px; padding: 10px 14px; color: #176b20; background: #eaf8ec; font-size: .85rem; }
.account-message.show { display: block; }
.account-guest { padding: 80px 20px; }
.guest-icon { width: 75px; height: 75px; margin: 0 auto 20px; font-size: 2rem; }
@media (max-width: 767px) { .account-page { padding-top: 28px !important; } .overview-card { align-items: flex-start; flex-direction: column; } .quick-links { grid-template-columns: 1fr; } .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; } .address-item { flex-direction: column; } }
