.profile-main { max-width: 1080px; padding-top: 40px; }
.profile-shell { padding: 28px; border: 1px solid rgba(84,44,61,.14); border-radius: 12px; background: var(--cream); box-shadow: 0 10px 30px rgba(59,29,43,.06); }
.profile-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.profile-heading .shop-catalog-heading { margin: 0; text-align: left; }
.profile-heading h1 { margin: 3px 0 0; color: var(--wine); font: 600 2.2rem 'Cormorant Garamond',serif; }
.profile-heading p { color: var(--text-light); font-size: .82rem; }
.profile-tabs { display: flex; gap: 7px; padding: 7px; border: 1px solid rgba(84,44,61,.12); border-radius: 9px; background: var(--paper); }
.profile-tab { flex: 1; min-height: 44px; padding: 9px 11px; border: 0; border-radius: 6px; background: transparent; color: var(--text-light); font: 600 .8rem 'Lora',serif; cursor: pointer; }
.profile-tab i { margin-right: 6px; }
.profile-tab.is-active,.profile-tab:hover { background: var(--wine); color: var(--cream); }
.profile-panel { padding-top: 26px; }
.profile-panel[hidden] { display: none; }
.profile-panel-heading { margin-bottom: 18px; }
.profile-panel-heading h2 { color: var(--wine); font: 600 1.55rem 'Cormorant Garamond',serif; }
.profile-panel-heading p { margin-top: 3px; color: var(--text-light); font-size: .8rem; }
.profile-form { max-width: 700px; display: flex; flex-direction: column; gap: 8px; }
.profile-form label { color: var(--wine); font-size: .8rem; font-weight: 600; }
.profile-form input { min-width: 0; width: 100%; height: 42px; padding: 10px 12px; border: 1px solid rgba(84,44,61,.22); border-radius: 6px; background: #fff; color: var(--text); font: .88rem 'Lora',serif; }
.profile-form input:focus { outline: 2px solid rgba(169,111,118,.28); border-color: var(--rose); }
.profile-form input[readonly] { background: var(--paper); color: var(--text-light); }
.profile-form h3 { margin: 18px 0 4px; color: var(--wine); font: 600 1.2rem 'Cormorant Garamond',serif; }
.profile-address-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.profile-address-grid > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.profile-address-grid .profile-field-cep { grid-column: span 1; }
.profile-address-grid .profile-field-street { grid-column: span 2; }
.profile-address-grid .profile-field-state { max-width: 110px; }
.profile-field-cep small { min-height: 16px; color: var(--rose); font-size: .68rem; }
.profile-primary-button { align-self: flex-start; min-height: 43px; margin-top: 8px; padding: 10px 20px; border: 0; border-radius: 5px; background: var(--wine); color: var(--cream); font: 600 .78rem 'Lora',serif; cursor: pointer; }
.profile-primary-button:disabled { opacity: .6; cursor: wait; }
.profile-form-feedback,.profile-feedback { min-height: 18px; margin: 6px 0; color: #a23b45; font-size: .8rem; }
.profile-form-feedback.is-success { color: #39724b; }
.profile-order-list { display: grid; gap: 12px; }
.profile-order-card { position: relative; padding: 18px; border: 1px solid rgba(84,44,61,.13); border-radius: 8px; background: #fff; }
.profile-order-card h3 { margin-bottom: 8px; color: var(--wine); font: 600 1.08rem 'Cormorant Garamond',serif; }
.profile-order-card p { margin: 6px 0; color: var(--text-light); font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; }
.profile-order-card > strong { display: block; margin-top: 10px; color: var(--wine); }
.profile-order-status { display: inline-block; margin-bottom: 5px; padding: 4px 9px; border-radius: 99px; background: var(--paper-dark); color: var(--wine); font-size: .7rem; }
.profile-order-status.status-enviado { background: #e6eff3; color: #315e74; }
.profile-order-status.status-entregue { background: #e4efe4; color: #39724b; }
.profile-order-status.status-cancelado { background: #f5e6e6; color: #9b3939; }
.profile-tracking { font-weight: 600; }
.profile-empty-state { padding: 26px; border: 1px dashed rgba(84,44,61,.2); border-radius: 8px; color: var(--text-light); font-size: .82rem; text-align: center; }
.payment-placeholder { max-width: 680px; padding: 28px; border: 1px dashed rgba(84,44,61,.22); border-radius: 9px; background: var(--paper); text-align: center; }
.payment-placeholder > i { color: var(--rose); font-size: 1.8rem; }
.payment-placeholder h3 { margin: 12px 0 8px; color: var(--wine); font: 600 1.25rem 'Cormorant Garamond',serif; }
.payment-placeholder p { color: var(--text-light); font-size: .82rem; line-height: 1.65; }
.profile-logout { min-height: 40px; padding: 0 14px; border: 1px solid rgba(84,44,61,.22); border-radius: 22px; background: transparent; color: var(--wine); font: .76rem 'Lora',serif; cursor: pointer; }
.profile-logout:hover { background: var(--wine); color: var(--cream); }
@media (max-width: 680px) {
    .profile-shell { padding: 19px; }
    .profile-heading { align-items: flex-start; flex-direction: column; }
    .profile-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .profile-tab { text-align: left; }
    .profile-address-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .profile-address-grid .profile-field-street { grid-column: span 2; }
}
@media (max-width: 450px) {
    .profile-main { padding: 24px 14px; }
    .profile-shell { padding: 16px 13px; }
    .profile-heading h1 { font-size: 1.8rem; }
    .profile-tab { padding: 8px 7px; font-size: .7rem; }
    .profile-address-grid { grid-template-columns: 1fr; }
    .profile-address-grid .profile-field-cep,.profile-address-grid .profile-field-street { grid-column: auto; }
    .profile-address-grid .profile-field-state { max-width: none; }
    .profile-logout { font-size: 0; width: 40px; padding: 0; }
    .profile-logout i { font-size: .9rem; }
}
