/* ============================================
   Phosphor Icon Font (subset for account pages)
   Font: catalog/view/theme/default/fonts/Phosphor.woff2
   ============================================ */
@font-face {
  font-family: "Phosphor";
  src: url("../fonts/Phosphor.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.ph {
  font-family: "Phosphor" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ph.ph-arrow-left:before    { content: "\e058"; }
.ph.ph-envelope-simple:before { content: "\e218"; }
.ph.ph-heart:before          { content: "\e2a8"; }
.ph.ph-lock-key:before       { content: "\e2fe"; }
.ph.ph-map-pin:before        { content: "\e316"; }
.ph.ph-package:before        { content: "\e390"; }
.ph.ph-receipt:before        { content: "\e3ec"; }
.ph.ph-shopping-bag:before   { content: "\e416"; }
.ph.ph-sign-out:before       { content: "\e42a"; }
.ph.ph-trash:before          { content: "\e4a6"; }
.ph.ph-user:before           { content: "\e4c2"; }
.ph.ph-x:before              { content: "\e4f6"; }

/* ============================================
   Account Pages — Style Guide 2026
   Scoped via body[class*="account-"]
   Loads after main.css via addStyle()
   ============================================ */

/* --- Layout --- */
body[class*="account-"] .account-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- H1 --- */
body[class*="account-"] .account-page h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: left;
    text-transform: none;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    font-family: 'Open Sans', sans-serif;
}

/* --- Breadcrumbs (reset main.css li::after) --- */
body[class*="account-"] .account-page .breadcrumb {
    font-size: 13px;
    font-weight: 400;
    color: #888;
    text-transform: none;
    letter-spacing: 0;
    padding: 0;
    margin: 0 0 24px 0;
    background: none;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

body[class*="account-"] .account-page .breadcrumb li {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
}

/* Kill main.css li::after separator */
body[class*="account-"] .account-page .breadcrumb li::after {
    content: none !important;
    display: none !important;
}

body[class*="account-"] .account-page .breadcrumb li + li::before {
    content: "/";
    margin-right: 6px;
    color: #ccc;
}

body[class*="account-"] .account-page .breadcrumb a {
    color: #888;
    text-decoration: none;
    letter-spacing: 0;
    text-transform: none;
}

body[class*="account-"] .account-page .breadcrumb li:last-child a {
    color: #666;
    font-weight: 400;
}

body[class*="account-"] .account-page .breadcrumb a:hover {
    color: #800020;
}

/* --- Alerts --- */
body[class*="account-"] .acc-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

body[class*="account-"] .acc-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

body[class*="account-"] .acc-alert-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f5c6cb;
}

body[class*="account-"] .acc-alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

body[class*="account-"] .acc-alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0;
    margin-left: 12px;
    line-height: 1;
}

body[class*="account-"] .acc-alert-close:hover {
    opacity: 1;
}

/* --- Buttons --- */
body[class*="account-"] .acc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 28px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
}

body[class*="account-"] .acc-btn-primary {
    background: #800020;
    color: #fff;
    border-color: #800020;
}

body[class*="account-"] .acc-btn-primary:hover {
    background: #a3002e;
    border-color: #a3002e;
    color: #fff;
}

body[class*="account-"] .acc-btn-secondary {
    background: transparent;
    color: #800020;
    border-color: #800020;
}

body[class*="account-"] .acc-btn-secondary:hover {
    background: rgba(128, 0, 32, 0.06);
}

body[class*="account-"] .acc-btn-danger {
    background: transparent;
    color: #dc3545;
    border-color: #dc3545;
}

body[class*="account-"] .acc-btn-danger:hover {
    background: rgba(220, 53, 69, 0.06);
}

/* --- Reset main.css form styles --- */
body[class*="account-"] .form-group {
    display: block;
    align-items: initial;
    margin-bottom: 16px;
}

body[class*="account-"] .control-label {
    margin-right: 0;
    min-width: auto;
}

body[class*="account-"] .form-control {
    min-width: 0;
    width: 100%;
    padding-left: 16px;
}

/* --- Form Fields --- */
body[class*="account-"] .acc-field {
    display: block;
    margin-bottom: 16px;
}

body[class*="account-"] .acc-label,
body[class*="account-"] .acc-field > label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    margin-right: 0;
    min-width: auto;
    font-family: 'Open Sans', sans-serif;
}

body[class*="account-"] .acc-field.required .acc-label::after {
    content: " *";
    color: #dc3545;
}

body[class*="account-"] .acc-input {
    display: block;
    width: 100%;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    padding: 10px 16px;
    color: #1a1a1a;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
}

body[class*="account-"] .acc-input:focus {
    border-color: #800020;
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.08);
    outline: none;
}

body[class*="account-"] .acc-textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

body[class*="account-"] .acc-select {
    display: block;
    width: 100%;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    padding: 10px 40px 10px 16px;
    color: #1a1a1a;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body[class*="account-"] .acc-select:focus {
    border-color: #800020;
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.08);
    outline: none;
}

body[class*="account-"] .acc-error {
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
}

/* Radio / Checkbox */
body[class*="account-"] .acc-radio,
body[class*="account-"] .acc-checkbox {
    margin-bottom: 6px;
}

body[class*="account-"] .acc-radio label,
body[class*="account-"] .acc-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

body[class*="account-"] .acc-radio input[type="radio"],
body[class*="account-"] .acc-checkbox input[type="checkbox"] {
    accent-color: #800020;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

body[class*="account-"] .acc-radio-inline {
    display: flex;
    gap: 20px;
}

body[class*="account-"] .acc-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

/* Fieldset / Legend (reset main.css uppercase/thin) */
body[class*="account-"] fieldset {
    border: none;
    padding: 0;
    margin: 0 0 24px 0;
}

body[class*="account-"] legend,
body[class*="account-"] fieldset > legend {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding: 0;
    border: none;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    text-transform: none;
}

/* --- Cards --- */
body[class*="account-"] .login-card,
body[class*="account-"] .register-card,
body[class*="account-"] .forgotten-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

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

body[class*="account-"] .login-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

body[class*="account-"] .login-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-family: 'Open Sans', sans-serif;
}

body[class*="account-"] .login-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 6px 0;
}

body[class*="account-"] .login-text {
    font-size: 14px;
    color: #888;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

body[class*="account-"] .login-card .acc-field {
    margin-bottom: 18px;
}

body[class*="account-"] .login-card .acc-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

body[class*="account-"] .login-forgot {
    display: inline-block;
    font-size: 13px;
    color: #800020;
    text-decoration: none;
    margin-bottom: 16px;
}

body[class*="account-"] .login-forgot:hover {
    text-decoration: underline;
}

/* ============================================
   REGISTER PAGE
   ============================================ */

body[class*="account-"] .register-subtitle {
    font-size: 14px;
    color: #888;
    margin: -12px 0 20px 0;
}

body[class*="account-"] .register-subtitle a {
    color: #800020;
    text-decoration: none;
}

body[class*="account-"] .register-subtitle a:hover {
    text-decoration: underline;
}

body[class*="account-"] .register-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

body[class*="account-"] .register-col {
    min-width: 0;
}

body[class*="account-"] .register-bottom-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

body[class*="account-"] .register-bottom-section .acc-label {
    margin-bottom: 12px;
}

body[class*="account-"] .register-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

body[class*="account-"] .register-agree {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

body[class*="account-"] .register-agree a {
    color: #800020;
    text-decoration: none;
}

body[class*="account-"] .register-agree input[type="checkbox"] {
    accent-color: #800020;
    width: 18px;
    height: 18px;
}

body[class*="account-"] .register-buttons {
    display: flex;
    gap: 12px;
}

/* input-group for date/time pickers — keep functional */
body[class*="account-"] .input-group {
    display: flex;
}

body[class*="account-"] .input-group .acc-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}

body[class*="account-"] .input-group .input-group-btn {
    display: flex;
}

body[class*="account-"] .input-group .input-group-btn .btn {
    border-radius: 0 10px 10px 0;
    border: 1px solid #e0e0e0;
    border-left: none;
    background: #fafafa;
    padding: 10px 14px;
    cursor: pointer;
}

/* ============================================
   ACCOUNT DASHBOARD
   ============================================ */

body[class*="account-"] .dashboard-section {
    margin-bottom: 32px;
}

body[class*="account-"] .dashboard-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    font-family: 'Open Sans', sans-serif;
}

body[class*="account-"] .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

body[class*="account-"] .dashboard-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 24px;
    text-decoration: none;
    color: #1a1a1a;
    transition: border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body[class*="account-"] .dashboard-card:hover {
    border-color: #800020;
}

body[class*="account-"] .dashboard-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(128, 0, 32, 0.06);
}

body[class*="account-"] .dashboard-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.65;
}

body[class*="account-"] .dashboard-icon .ph {
    font-size: 26px;
    color: #800020;
    line-height: 1;
}

body[class*="account-"] .dashboard-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3;
}

body[class*="account-"] .dashboard-logout {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    body[class*="account-"] .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    body[class*="account-"] .dashboard-grid {
        grid-template-columns: 1fr;
    }

    body[class*="account-"] .dashboard-card {
        padding: 18px;
    }
}

/* ============================================
   ORDER LIST + ORDER INFO
   ============================================ */

/* Modern table */
body[class*="account-"] .orders-table-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

body[class*="account-"] .orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

body[class*="account-"] .orders-table thead {
    background: linear-gradient(135deg, #800020, #a3002e);
}

body[class*="account-"] .orders-table thead th {
    color: #fff;
    font-weight: 500;
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    border: none;
}

body[class*="account-"] .orders-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

body[class*="account-"] .orders-table tbody tr:nth-child(even) {
    background: #fafafa;
}

body[class*="account-"] .orders-table tbody tr:hover {
    background: #f8f2f4;
}

body[class*="account-"] .orders-table tbody td {
    padding: 12px 16px;
    color: #333;
    vertical-align: middle;
    border: none;
}

body[class*="account-"] .acc-btn-sm {
    font-size: 12px;
    padding: 6px 16px;
}

/* Status badge */
body[class*="account-"] .order-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
}

/* Pagination */
body[class*="account-"] .orders-pagination {
    margin: 20px 0;
    text-align: center;
}

body[class*="account-"] .orders-pagination .pagination {
    display: inline-flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Empty state */
body[class*="account-"] .orders-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 15px;
}

body[class*="account-"] .orders-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

/* Order info — detail cards */
body[class*="account-"] .order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

body[class*="account-"] .order-info-card {
    background: #fafafa;
    border-radius: 14px;
    padding: 20px 24px;
    border: 1px solid #f0f0f0;
}

body[class*="account-"] .order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

body[class*="account-"] .order-info-label {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

body[class*="account-"] .order-info-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

/* Addresses */
body[class*="account-"] .order-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

body[class*="account-"] .order-address-card {
    background: #fafafa;
    border-radius: 14px;
    padding: 20px 24px;
    border: 1px solid #f0f0f0;
}

body[class*="account-"] .order-address-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

body[class*="account-"] .order-address-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Product options */
body[class*="account-"] .order-product-option {
    color: #888;
    font-size: 12px;
}

/* Totals */
body[class*="account-"] .order-totals {
    max-width: 400px;
    margin-left: auto;
    margin-bottom: 24px;
    background: #fafafa;
    border-radius: 14px;
    padding: 16px 24px;
    border: 1px solid #f0f0f0;
}

body[class*="account-"] .order-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

body[class*="account-"] .order-totals-row:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 16px;
    padding-top: 10px;
}

body[class*="account-"] .order-totals-label {
    font-size: 14px;
    color: #555;
}

body[class*="account-"] .order-totals-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

/* Comment card */
body[class*="account-"] .order-comment-card {
    background: #fafafa;
    border-radius: 14px;
    padding: 20px 24px;
    border: 1px solid #f0f0f0;
    margin-bottom: 24px;
}

body[class*="account-"] .order-comment-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

body[class*="account-"] .order-comment-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* History timeline */
body[class*="account-"] .order-history {
    margin-bottom: 24px;
}

body[class*="account-"] .order-history h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

body[class*="account-"] .order-history-timeline {
    position: relative;
    padding-left: 24px;
}

body[class*="account-"] .order-history-timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #e0e0e0;
}

body[class*="account-"] .order-history-item {
    position: relative;
    padding-bottom: 20px;
}

body[class*="account-"] .order-history-item:last-child {
    padding-bottom: 0;
}

body[class*="account-"] .order-history-dot {
    position: absolute;
    left: -21px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #800020;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #800020;
}

body[class*="account-"] .order-history-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

body[class*="account-"] .order-history-status {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

body[class*="account-"] .order-history-comment {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    line-height: 1.5;
}

/* Orders responsive */
@media (max-width: 768px) {
    body[class*="account-"] .order-info-grid,
    body[class*="account-"] .order-addresses {
        grid-template-columns: 1fr;
    }

    body[class*="account-"] .orders-table thead {
        display: none;
    }

    body[class*="account-"] .orders-table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 14px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    body[class*="account-"] .orders-table tbody tr:nth-child(even) {
        background: #fff;
    }

    body[class*="account-"] .orders-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border-bottom: 1px solid #f5f5f5;
    }

    body[class*="account-"] .orders-table tbody td:last-child {
        border-bottom: none;
        justify-content: flex-end;
        padding-top: 12px;
    }

    body[class*="account-"] .orders-table tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        color: #888;
        font-size: 13px;
    }

    body[class*="account-"] .order-totals {
        max-width: 100%;
    }
}

/* ============================================
   FORGOTTEN PAGE
   ============================================ */

body[class*="account-"] .forgotten-card {
    max-width: 480px;
}

body[class*="account-"] .forgotten-text {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

body[class*="account-"] .forgotten-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* ============================================
   PASSWORD PAGE
   ============================================ */

body[class*="account-"] .password-card {
    max-width: 480px;
}

body[class*="account-"] .password-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* ============================================
   EDIT PROFILE PAGE
   ============================================ */

body[class*="account-"] .edit-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

body[class*="account-"] .edit-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

/* ============================================
   ADDRESS LIST PAGE
   ============================================ */

body[class*="account-"] .address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

body[class*="account-"] .address-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body[class*="account-"] .address-card-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

body[class*="account-"] .address-card-actions {
    display: flex;
    gap: 8px;
}

body[class*="account-"] .address-list-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

body[class*="account-"] .address-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 15px;
    margin-bottom: 24px;
}

/* ============================================
   ADDRESS FORM PAGE
   ============================================ */

body[class*="account-"] .address-form-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 32px;
}

body[class*="account-"] .address-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

/* ============================================
   WISHLIST PAGE
   ============================================ */

body[class*="account-"] .wishlist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

body[class*="account-"] .wishlist-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

body[class*="account-"] .wishlist-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

body[class*="account-"] .wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body[class*="account-"] .wishlist-item-info {
    flex: 1;
    min-width: 0;
}

body[class*="account-"] .wishlist-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

body[class*="account-"] .wishlist-item-name:hover {
    color: #800020;
}

body[class*="account-"] .wishlist-item-model {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

body[class*="account-"] .wishlist-item-stock {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

body[class*="account-"] .wishlist-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

body[class*="account-"] .wishlist-price-special {
    color: #800020;
    font-weight: 700;
}

body[class*="account-"] .wishlist-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    font-weight: 400;
    margin-left: 6px;
}

body[class*="account-"] .wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    flex-shrink: 0;
}

body[class*="account-"] .wishlist-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 15px;
    margin-bottom: 24px;
}

body[class*="account-"] .wishlist-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

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

@media (max-width: 768px) {
    body[class*="account-"] .login-columns {
        grid-template-columns: 1fr;
    }

    body[class*="account-"] .register-columns {
        grid-template-columns: 1fr;
    }

    body[class*="account-"] .login-card,
    body[class*="account-"] .register-card,
    body[class*="account-"] .forgotten-card,
    body[class*="account-"] .edit-card,
    body[class*="account-"] .address-form-card {
        padding: 24px;
    }

    body[class*="account-"] .account-page h1 {
        font-size: 24px;
    }

    body[class*="account-"] .register-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    body[class*="account-"] .register-buttons {
        width: 100%;
    }

    body[class*="account-"] .register-buttons .acc-btn {
        flex: 1;
    }

    body[class*="account-"] .forgotten-actions,
    body[class*="account-"] .password-actions {
        flex-direction: column;
    }

    body[class*="account-"] .forgotten-actions .acc-btn,
    body[class*="account-"] .password-actions .acc-btn {
        width: 100%;
    }

    body[class*="account-"] .address-grid {
        grid-template-columns: 1fr;
    }

    body[class*="account-"] .wishlist-grid {
        grid-template-columns: 1fr;
    }

    body[class*="account-"] .wishlist-item {
        flex-direction: column;
    }

    body[class*="account-"] .wishlist-item-image {
        width: 100%;
        height: 200px;
    }

    body[class*="account-"] .wishlist-item-actions {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    body[class*="account-"] .account-page {
        padding: 0 12px;
    }

    body[class*="account-"] .login-card,
    body[class*="account-"] .register-card,
    body[class*="account-"] .forgotten-card {
        padding: 20px 16px;
    }

    body[class*="account-"] .acc-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* Phosphor icon inside buttons */
body[class*="account-"] .acc-btn .ph {
    font-size: 16px;
    line-height: 1;
}

body[class*="account-"] .acc-btn {
    gap: 6px;
}
