/* ==========================================================================
   MY ACCOUNT PAGE STYLES
   Farmhouse Pet Supply - Created 2026-01-27
   ========================================================================== */

/* Override prose-container constraints */
body.woocommerce-account .prose-container {
    max-width: 1200px !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #2C2E30 !important;
}

body.woocommerce-account .container-premium {
    max-width: 1200px !important;
}

body.woocommerce-account .page-hero--simple {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-account .page-content.section-premium {
    padding-top: 1.5rem !important;
}

/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */

.fps-login {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 3rem 1rem !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 50vh !important;
}

.fps-login__container {
    width: 100% !important;
    max-width: 420px !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

@media (min-width: 640px) {
    .fps-login__container {
        padding: 3rem !important;
    }
}

.fps-login__header {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
}

.fps-login__title {
    font-family: 'Lora', serif !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 0 0.5rem !important;
}

.fps-login__subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    color: #6B7280 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.fps-login__form {
    flex-direction: column !important;
    gap: 1rem !important;
}

.fps-login__field {
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.fps-login__label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #2C2E30 !important;
}

.fps-login__label .required {
    color: #dc2626 !important;
}

.fps-login__input {
    width: 100% !important;
    padding: 1rem !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #2C2E30 !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.fps-login__input:focus {
    outline: none !important;
    border-color: #2D5530 !important;
    box-shadow: 0 0 0 3px rgba(45, 85, 48, 0.1) !important;
}

.fps-login__options {
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0.5rem 0 !important;
}

.fps-login__remember {
    align-items: center !important;
    gap: 0.5rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    color: #2C2E30 !important;
    cursor: pointer !important;
}

.fps-login__checkbox {
    width: 18px !important;
    height: 18px !important;
    accent-color: #2D5530 !important;
    cursor: pointer !important;
}

.fps-login__forgot {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    color: #2D5530 !important;
    text-decoration: none !important;
}

.fps-login__forgot:hover {
    text-decoration: underline !important;
}

.fps-login__submit {
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    background: #2D5530 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    margin-top: 0.5rem !important;
}

.fps-login__submit:hover {
    background: #1E3A21 !important;
}

.fps-login__divider {
    align-items: center !important;
    margin: 1.5rem 0 !important;
}

.fps-login__divider::before,
.fps-login__divider::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: #E5E2DB !important;
}

.fps-login__divider span {
    padding: 0 1rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
    color: #6B7280 !important;
}

.fps-login__register-prompt {
    text-align: center !important;
}

.fps-login__register-prompt p {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    color: #6B7280 !important;
    margin: 0 0 0.5rem !important;
}

.fps-login__register-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: #2D5530 !important;
    text-decoration: none !important;
}

.fps-login__register-link:hover {
    text-decoration: underline !important;
}

.fps-login__trust {
    justify-content: center !important;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #E5E2DB !important;
}

.fps-login__trust-item {
    align-items: center !important;
    gap: 0.5rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
    color: #6B7280 !important;
}

.fps-login__trust-item svg {
    color: #2D5530 !important;
}

/* ==========================================================================
   LOGGED IN - ACCOUNT LAYOUT
   ========================================================================== */

.fps-account {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 1.5rem 1rem !important;
}

@media (min-width: 768px) {
    .fps-account {
        padding: 3rem 2rem !important;
    }
}

.fps-account__layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
}

@media (min-width: 1024px) {
    .fps-account__layout {
        grid-template-columns: 280px 1fr !important;
        gap: 3rem !important;
        align-items: start !important;
    }
}

/* Sidebar */
.fps-account__sidebar {
    position: sticky !important;
    top: 1.5rem !important;
}

.fps-account__nav {
    background: #FAF9F6 !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.fps-account__nav-header {
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.5rem !important;
    border-bottom: 1px solid #E5E2DB !important;
    background: #FFFFFF !important;
}

.fps-account__nav-avatar {
    flex-shrink: 0 !important;
}

.fps-account__nav-avatar img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.fps-account__nav-user {
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
}

.fps-account__nav-greeting {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    color: #6B7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.fps-account__nav-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.fps-account__nav-list {
    list-style: none !important;
    padding: 0.5rem !important;
    margin: 0 !important;
}

.fps-account__nav-item {
    margin: 0 !important;
}

.fps-account__nav-link {
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem 1.5rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: #2C2E30 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.fps-account__nav-link:hover {
    background: #FFFFFF !important;
    color: #2D5530 !important;
}

.fps-account__nav-link svg {
    flex-shrink: 0 !important;
    color: #6B7280 !important;
    transition: color 0.2s ease !important;
}

.fps-account__nav-link:hover svg {
    color: #2D5530 !important;
}

.fps-account__nav-item.is-active .fps-account__nav-link {
    background: #2D5530 !important;
    color: #FFFFFF !important;
}

.fps-account__nav-item.is-active .fps-account__nav-link svg {
    color: #FFFFFF !important;
}

/* Main Content */
.fps-account__content {
    min-width: 0 !important;
}

.fps-account__header {
    margin-bottom: 1.5rem !important;
}

.fps-account__title {
    font-family: 'Lora', serif !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 !important;
}

.fps-account__subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #6B7280 !important;
    margin: 0.5rem 0 0 !important;
}

/* Dashboard Quick Links */
.fps-account__quick-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
}

@media (min-width: 640px) {
    .fps-account__quick-links {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.fps-account__quick-link {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    padding: 1.5rem !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.fps-account__quick-link:hover {
    border-color: #2D5530 !important;
    box-shadow: 0 4px 12px rgba(45, 85, 48, 0.1) !important;
    transform: translateY(-2px) !important;
}

.fps-account__quick-link-icon {
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    background: #FAF9F6 !important;
    border-radius: 50% !important;
    color: #2D5530 !important;
}

.fps-account__quick-link-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
}

.fps-account__quick-link-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
    color: #6B7280 !important;
}

/* Recent Orders Section */
.fps-account__recent-orders {
    background: #FFFFFF !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
}

.fps-account__section-header {
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #E5E2DB !important;
}

.fps-account__section-title {
    font-family: 'Lora', serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 !important;
}

.fps-account__section-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #2D5530 !important;
    text-decoration: none !important;
}

.fps-account__section-link:hover {
    text-decoration: underline !important;
}

/* Order Cards */
.fps-account__orders-list {
    flex-direction: column !important;
    gap: 1rem !important;
}

.fps-account__order-card {
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
    background: #FAF9F6 !important;
    border-radius: 8px !important;
}

.fps-account__order-header {
    justify-content: space-between !important;
    align-items: center !important;
}

.fps-account__order-number {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
}

.fps-account__order-status {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 4px 10px !important;
    border-radius: 100px !important;
    text-transform: capitalize !important;
}

.fps-account__order-status--processing,
.fps-account__order-status--completed {
    background: rgba(45, 85, 48, 0.1) !important;
    color: #2D5530 !important;
}

.fps-account__order-status--on-hold {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #b45309 !important;
}

.fps-account__order-status--pending {
    background: rgba(107, 114, 128, 0.15) !important;
    color: #6B7280 !important;
}

.fps-account__order-status--cancelled,
.fps-account__order-status--failed {
    background: rgba(220, 38, 38, 0.1) !important;
    color: #dc2626 !important;
}

.fps-account__order-details {
    justify-content: space-between !important;
    align-items: center !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    color: #6B7280 !important;
}

.fps-account__order-view {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #2D5530 !important;
    text-decoration: none !important;
}

.fps-account__order-view:hover {
    text-decoration: underline !important;
}

/* ==========================================================================
   ORDERS PAGE
   ========================================================================== */

.fps-account__orders {
    background: #FFFFFF !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
}

.fps-account__orders .fps-account__header {
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid #E5E2DB !important;
}

.fps-account__orders-table-wrap {
    overflow-x: auto !important;
    margin-top: 1.5rem !important;
}

.fps-account__orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.fps-account__orders-th {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #6B7280 !important;
    text-align: left !important;
    padding: 0.5rem 1rem !important;
    border-bottom: 1px solid #E5E2DB !important;
}

.fps-account__orders-row {
    border-bottom: 1px solid #E5E2DB !important;
}

.fps-account__orders-row:last-child {
    border-bottom: none !important;
}

.fps-account__orders-td {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    color: #2C2E30 !important;
    padding: 1rem !important;
    vertical-align: middle !important;
}

.fps-account__order-link {
    font-weight: 600 !important;
    color: #2D5530 !important;
    text-decoration: none !important;
}

.fps-account__order-link:hover {
    text-decoration: underline !important;
}

/* Status Badges */
.fps-account__status-badge {
    display: inline-block !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 4px 10px !important;
    border-radius: 100px !important;
    text-transform: capitalize !important;
}

.fps-account__status-badge--processing,
.fps-account__status-badge--completed {
    background: rgba(45, 85, 48, 0.1) !important;
    color: #2D5530 !important;
}

.fps-account__status-badge--on-hold {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #b45309 !important;
}

.fps-account__status-badge--pending {
    background: rgba(107, 114, 128, 0.15) !important;
    color: #6B7280 !important;
}

.fps-account__status-badge--cancelled,
.fps-account__status-badge--failed {
    background: rgba(220, 38, 38, 0.1) !important;
    color: #dc2626 !important;
}

/* Action Buttons */
.fps-account__action-btn {
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin-right: 6px !important;
    transition: all 0.2s ease !important;
}

.fps-account__action-btn--view {
    background: #2D5530 !important;
    color: #FFFFFF !important;
}

.fps-account__action-btn--view:hover {
    background: #1E3A21 !important;
    color: #FFFFFF !important;
}

/* Pagination */
.fps-account__pagination {
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #E5E2DB !important;
}

.fps-account__pagination-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #2D5530 !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.fps-account__pagination-btn:hover {
    border-color: #2D5530 !important;
    background: #FAF9F6 !important;
}

.fps-account__pagination-info {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    color: #6B7280 !important;
}

/* Empty State */
.fps-account__empty {
    text-align: center !important;
    padding: 3rem 1.5rem !important;
}

.fps-account__empty-icon {
    color: #E5E2DB !important;
    margin-bottom: 1.5rem !important;
}

.fps-account__empty-title {
    font-family: 'Lora', serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 0 0.5rem !important;
}

.fps-account__empty-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #6B7280 !important;
    margin: 0 0 1.5rem !important;
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.fps-account__empty-btn {
    display: inline-block !important;
    padding: 1rem 2rem !important;
    background: #2D5530 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
}

.fps-account__empty-btn:hover {
    background: #1E3A21 !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   CONTENT FORMS (Edit Account, Edit Address)
   ========================================================================== */

.fps-account__content .woocommerce-MyAccount-content {
    background: #FFFFFF !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
}

.fps-account__content .woocommerce-MyAccount-content > h2,
.fps-account__content .woocommerce-MyAccount-content > h3 {
    font-family: 'Lora', serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 0 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #E5E2DB !important;
}

.fps-account__content .woocommerce-form-row,
.fps-account__content .form-row {
    margin-bottom: 1rem !important;
}

.fps-account__content .woocommerce-form-row label,
.fps-account__content .form-row label {
    display: block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #2C2E30 !important;
    margin-bottom: 0.25rem !important;
}

.fps-account__content input[type="text"],
.fps-account__content input[type="email"],
.fps-account__content input[type="password"],
.fps-account__content input[type="tel"],
.fps-account__content select,
.fps-account__content textarea {
    width: 100% !important;
    padding: 1rem !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #2C2E30 !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.fps-account__content input:focus,
.fps-account__content select:focus,
.fps-account__content textarea:focus {
    outline: none !important;
    border-color: #2D5530 !important;
    box-shadow: 0 0 0 3px rgba(45, 85, 48, 0.1) !important;
}

.fps-account__content button[type="submit"],
.fps-account__content .button,
.fps-account__content .woocommerce-Button {
    display: inline-block !important;
    padding: 1rem 1.5rem !important;
    background: #2D5530 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    text-decoration: none !important;
}

.fps-account__content button[type="submit"]:hover,
.fps-account__content .button:hover,
.fps-account__content .woocommerce-Button:hover {
    background: #1E3A21 !important;
    color: #FFFFFF !important;
}

/* Address columns */
.fps-account__content .woocommerce-Addresses,
.fps-account__content .u-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
}

@media (min-width: 768px) {
    .fps-account__content .woocommerce-Addresses,
    .fps-account__content .u-columns {
        grid-template-columns: 1fr 1fr !important;
    }
}

.fps-account__content .woocommerce-Address,
.fps-account__content .u-column1,
.fps-account__content .u-column2 {
    background: #FAF9F6 !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    width: auto !important;
    float: none !important;
}

.fps-account__content .woocommerce-Address-title {
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid #E5E2DB !important;
}

.fps-account__content .woocommerce-Address-title h3 {
    font-family: 'Lora', serif !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 !important;
}

.fps-account__content .woocommerce-Address-title .edit {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #2D5530 !important;
    text-decoration: none !important;
}

.fps-account__content .woocommerce-Address-title .edit:hover {
    text-decoration: underline !important;
}

.fps-account__content address {
    font-style: normal !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
    color: #2C2E30 !important;
}

/* WooCommerce fallback navigation styling */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #FAF9F6 !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    padding: 0.5rem !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block !important;
    padding: 1rem 1.5rem !important;
    color: #2C2E30 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    font-family: 'Inter', sans-serif !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #FFFFFF !important;
    color: #2D5530 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #2D5530 !important;
    color: #FFFFFF !important;
}

/* Responsive mobile table */
@media (max-width: 768px) {
    .fps-account__orders-table thead {
        display: none;
    }

    .fps-account__orders-table,
    .fps-account__orders-table tbody,
    .fps-account__orders-table tr,
    .fps-account__orders-table td {
        display: block !important;
        width: 100% !important;
    }

    .fps-account__orders-row {
        padding: 1rem 0 !important;
        margin-bottom: 1rem !important;
    }

    .fps-account__orders-td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.25rem 0 !important;
        border: none !important;
    }

    .fps-account__orders-td::before {
        content: attr(data-label) !important;
        font-weight: 600 !important;
        font-size: 0.8125rem !important;
        color: #6B7280 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
    }
}

/* ==========================================================================
   ADDRESS PAGE STYLES - Stacked Full-Width Cards
   ========================================================================== */

.fps-account__addresses {
    width: 100% !important;
}

.fps-account__address-list {
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

/* Address Card - Full Width Stacked */
.fps-account__address-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    width: 100% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.fps-account__address-card:hover {
    border-color: #2D5530 !important;
    box-shadow: 0 4px 12px rgba(45, 85, 48, 0.08) !important;
}

/* Address Card Header */
.fps-account__address-header {
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #F3F1ED !important;
}

.fps-account__address-icon {
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    background: #F8F6F3 !important;
    border-radius: 10px !important;
    color: #2D5530 !important;
    flex-shrink: 0 !important;
}

.fps-account__address-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.fps-account__address-title-wrap {
    flex: 1 !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

.fps-account__address-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.fps-account__address-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.25rem 0.625rem !important;
    background: #E8F0E9 !important;
    color: #2D5530 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.fps-account__address-edit {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    padding: 0.5rem 1rem !important;
    background: transparent !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 8px !important;
    color: #2D5530 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.fps-account__address-edit:hover {
    background: #2D5530 !important;
    border-color: #2D5530 !important;
    color: #FFFFFF !important;
}

.fps-account__address-edit svg {
    width: 16px !important;
    height: 16px !important;
}

/* Address Content */
.fps-account__address-content {
    padding-left: 64px !important; /* Align with text after icon */
}

.fps-account__address-text {
    font-style: normal !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #4A4A4A !important;
}

.fps-account__address-text br {
    display: block !important;
    margin-bottom: 0.25rem !important;
    content: "" !important;
}

.fps-account__address-empty {
    font-size: 0.9375rem !important;
    color: #6B7280 !important;
    font-style: italic !important;
    margin: 0 !important;
}

/* Override any default WooCommerce column styles */
.fps-account__addresses .u-columns,
.fps-account__addresses .col2-set,
.fps-account__addresses .addresses {
    display: block !important;
    grid-template-columns: none !important;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .fps-account__address-card {
        padding: 1.25rem !important;
    }

    .fps-account__address-header {
        flex-wrap: wrap !important;
    }

    .fps-account__address-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .fps-account__address-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .fps-account__address-title-wrap {
        flex: 1 1 calc(100% - 56px) !important;
    }

    .fps-account__address-title {
        font-size: 1.125rem !important;
    }

    .fps-account__address-edit {
        margin-top: 0.75rem !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .fps-account__address-content {
        padding-left: 0 !important;
        margin-top: 1rem !important;
    }
}

/* ==========================================================================
   SHIPPING ADDRESS BOOK
   Added 2026-01-27
   ========================================================================== */

/* Shipping Address Grid */
.fps-shipping-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
}

.fps-shipping-card {
    background: #FAFAF8 !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 8px !important;
    padding: 1.25rem !important;
    position: relative !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.fps-shipping-card:hover {
    border-color: #2C5530 !important;
    box-shadow: 0 2px 8px rgba(44, 85, 48, 0.1) !important;
}

.fps-shipping-card__header {
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

.fps-shipping-card__nickname {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 !important;
    flex: 1 !important;
}

.fps-shipping-card__default-badge {
    background: #2C5530 !important;
    color: #FFFFFF !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.fps-shipping-card__address {
    font-style: normal !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #5A5C5E !important;
    margin-bottom: 0.5rem !important;
}

.fps-shipping-card__phone {
    font-size: 0.85rem !important;
    color: #5A5C5E !important;
    margin: 0 0 1rem !important;
}

.fps-shipping-card__actions {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px solid #E5E2DB !important;
}

.fps-shipping-card__btn {
    background: transparent !important;
    border: 1px solid #D1CEC7 !important;
    color: #5A5C5E !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.fps-shipping-card__btn:hover {
    border-color: #2C5530 !important;
    color: #2C5530 !important;
    background: rgba(44, 85, 48, 0.05) !important;
}

.fps-shipping-card__btn--danger:hover:not(:disabled) {
    border-color: #DC3545 !important;
    color: #DC3545 !important;
    background: rgba(220, 53, 69, 0.05) !important;
}

.fps-shipping-card__btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Add Address Button */
.fps-account__add-address-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: #2C5530 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.fps-account__add-address-btn:hover {
    background: #1E3D22 !important;
}

.fps-account__add-address-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.fps-account__address-count {
    font-size: 0.85rem !important;
    color: #8A8C8E !important;
    font-weight: normal !important;
}

/* ==========================================================================
   ADDRESS MODAL
   ========================================================================== */

.fps-address-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
}

.fps-address-modal.fps-modal-visible {
    display: flex !important;
}

.fps-address-modal__overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.fps-address-modal__content {
    position: relative !important;
    background: #FFFFFF !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 560px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.fps-address-modal__header {
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid #E5E2DB !important;
    position: sticky !important;
    top: 0 !important;
    background: #FFFFFF !important;
    z-index: 1 !important;
}

.fps-address-modal__title {
    margin: 0 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
}

.fps-address-modal__close {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0.25rem !important;
    color: #8A8C8E !important;
    transition: color 0.2s ease !important;
}

.fps-address-modal__close:hover {
    color: #2C2E30 !important;
}

.fps-address-modal__form {
    padding: 1.5rem !important;
}

.fps-address-modal__fields {
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.fps-form-row {
    flex-direction: column !important;
    gap: 0.4rem !important;
}

.fps-form-row--wide {
    flex: 0 0 100% !important;
}

.fps-form-row--half {
    flex: 0 0 calc(50% - 0.5rem) !important;
}

.fps-form-row label {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #2C2E30 !important;
}

.fps-form-row label .required {
    color: #DC3545 !important;
}

.fps-form-row input,
.fps-form-row select {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 1px solid #D1CEC7 !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s ease !important;
    background: #FFFFFF !important;
}

.fps-form-row input:focus,
.fps-form-row select:focus {
    outline: none !important;
    border-color: #2C5530 !important;
}

.fps-form-row--checkbox {
    flex-direction: row !important;
    align-items: center !important;
}

.fps-checkbox-label {
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    color: #2C2E30 !important;
}

.fps-checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
}

.fps-address-modal__actions {
    justify-content: flex-end !important;
    gap: 0.75rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #E5E2DB !important;
    margin-top: 1rem !important;
}

.fps-btn {
    padding: 0.75rem 1.5rem !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.fps-btn--secondary {
    background: #F5F4F2 !important;
    border: 1px solid #D1CEC7 !important;
    color: #5A5C5E !important;
}

.fps-btn--secondary:hover {
    background: #E5E2DB !important;
}

.fps-btn--primary {
    background: #2C5530 !important;
    border: 1px solid #2C5530 !important;
    color: #FFFFFF !important;
}

.fps-btn--primary:hover {
    background: #1E3D22 !important;
}

.fps-btn--primary:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.fps-address-modal__message {
    margin-top: 1rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
}

.fps-message--success {
    background: #E8F5E9 !important;
    color: #2C5530 !important;
    border: 1px solid #A5D6A7 !important;
}

.fps-message--error {
    background: #FFEBEE !important;
    color: #C62828 !important;
    border: 1px solid #EF9A9A !important;
}

/* Loading state */
.fps-address-modal__form.fps-loading {
    opacity: 0.6 !important;
    pointer-events: none !important;
}

/* Body class when modal is open */
body.fps-modal-open {
    overflow: hidden !important;
}

/* ==========================================================================
   CHECKOUT ADDRESS SELECTOR
   ========================================================================== */

.fps-checkout__address-selector {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px dashed #E5E2DB !important;
}

.fps-checkout__address-selector label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
}

.fps-address-dropdown {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #D1CEC7 !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    background: #FFFFFF !important;
    cursor: pointer !important;
}

.fps-address-dropdown:focus {
    outline: none !important;
    border-color: #2C5530 !important;
}

/* Save address checkbox at checkout */
.fps-save-address-wrapper {
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px dashed #E5E2DB !important;
}

.fps-save-address-wrapper label {
    align-items: center !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
}

.fps-save-address-wrapper input[type="checkbox"] {
    width: auto !important;
}

.fps-address-nickname-field {
    margin-top: 1rem !important;
}

.fps-address-nickname-field label {
    display: block !important;
    margin-bottom: 0.4rem !important;
    font-weight: 500 !important;
}

.fps-address-nickname-field input {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 1px solid #D1CEC7 !important;
    border-radius: 6px !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .fps-shipping-grid {
        grid-template-columns: 1fr !important;
    }

    .fps-address-modal__content {
        max-height: 95vh !important;
    }

    .fps-form-row--half {
        flex: 0 0 100% !important;
    }

    .fps-address-modal__actions {
        flex-direction: column !important;
    }

    .fps-btn {
        width: 100% !important;
    }
}

/* ==========================================================================
   ORDER DETAILS - CUSTOMER ADDRESSES (VIEW ORDER PAGE)
   Stacked layout: Billing (Row 1), Shipping (Row 2), Full Width
   ========================================================================== */

.fps-order-addresses {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

.fps-order-address {
    background: #FFFFFF !important;
    border: 1px solid #E5E2DB !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    width: 100% !important;
}

.fps-order-address .woocommerce-column__title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #2C2E30 !important;
    margin: 0 0 1rem 0 !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid #E5E2DB !important;
}

.fps-order-address address {
    font-style: normal !important;
    line-height: 1.6 !important;
    color: #4A4D50 !important;
}

.fps-order-address .woocommerce-customer-details--phone,
.fps-order-address .woocommerce-customer-details--email {
    margin: 0.5rem 0 0 0 !important;
    color: #4A4D50 !important;
}

/* Override any col2-set styling that might leak through */
.woocommerce-customer-details.fps-order-addresses .col2-set,
.woocommerce-customer-details.fps-order-addresses .woocommerce-columns--2 {
    display: flex !important;
    flex-direction: column !important;
}
