body.woocommerce-account {
    background: #0a0a0a !important;
}

body.woocommerce-account .entry-header,
body.woocommerce-account .page-title,
body.woocommerce-account .entry-title {
    display: none !important;
}

/* ========================================
   PIERCING.COM.TR — MY ACCOUNT DARK PREMIUM
   v2.0 — Desktop Fix + Mobile Polish
   ======================================== */

/* === 0. KADENCE NUCLEAR KILL === */
body.woocommerce-account,
body.woocommerce-account .content-wrap,
body.woocommerce-account #main,
body.woocommerce-account .site-main,
body.woocommerce-account .content-area,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce,
body.woocommerce-account .wrap,
body.woocommerce-account .container,
body.woocommerce-account .content-container,
body.woocommerce-account .kadence-account-wrap {
    background: #0a0a0a !important;
    background-color: #0a0a0a !important;
    color: #ffffff !important;
}

body.woocommerce-account .entry-header,
body.woocommerce-account .page-title,
body.woocommerce-account .entry-title,
body.woocommerce-account .kadence-account-title,
body.woocommerce-account .archive-title,
body.woocommerce-account .section-title,
body.woocommerce-account .woocommerce-account-title {
    display: none !important;
}

/* Kadence default nav + user bar gizle */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .kadence-myaccount-nav,
body.woocommerce-account .myaccount-user-bar,
body.woocommerce-account .account-user-bar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    flex: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Kadence container'ı tam genişlik */
body.woocommerce-account .content-wrap .wrap,
body.woocommerce-account .site-main .wrap,
body.woocommerce-account #main .wrap,
body.woocommerce-account .content-container,
body.woocommerce-account .container {
    max-width: 1280px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-account *,
body.woocommerce-account {
    --global-palette1: #c9a96e !important;
    --global-palette2: #ffffff !important;
    --global-palette3: #a0a0a0 !important;
    --global-palette4: #888888 !important;
    --global-palette5: #666666 !important;
    --global-palette6: #444444 !important;
    --global-palette7: #333333 !important;
    --global-palette8: #1a1a1a !important;
    --global-palette9: #141414 !important;
    --global-palette10: #0f0f0f !important;
    --global-palette11: #0a0a0a !important;
    --global-palette12: #c9a96e !important;
}

/* === 1. LAYOUT === */
.pc-myaccount-wrap {
    background: #0a0a0a;
    min-height: 100vh;
    padding: 40px 0 80px;
    color: #ffffff;
}

.pc-myaccount-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* === 2. SIDEBAR === */
.pc-myaccount-nav {
    flex: 0 0 260px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px 20px;
    position: sticky;
    top: 100px;
}

.pc-nav-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 169, 110, 0.3);
}

.pc-user-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.pc-user-email {
    display: block;
    font-size: 12px;
    color: #888;
    line-height: 1.3;
}

.pc-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-nav-menu li {
    margin-bottom: 3px;
}

.pc-nav-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pc-nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.pc-nav-menu li.is-active a {
    background: rgba(201, 169, 110, 0.1);
    color: #c9a96e;
    font-weight: 600;
}

/* Logout en üstte */
.pc-nav-menu li.pc-nav-logout {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-nav-menu li.pc-nav-logout a {
    color: #ff6b6b;
}

.pc-nav-menu li.pc-nav-logout a:hover {
    background: rgba(255, 107, 107, 0.08);
    color: #ff8585;
}

/* === 3. CONTENT === */
.pc-myaccount-content {
    flex: 1 1 auto;
    min-width: 0;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
}

/* Woo notices */
.pc-myaccount-content .woocommerce-message,
.pc-myaccount-content .woocommerce-error,
.pc-myaccount-content .woocommerce-info {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

.pc-myaccount-content .woocommerce-message {
    border-left: 3px solid #c9a96e;
}

.pc-myaccount-content .woocommerce-error {
    border-left: 3px solid #ff6b6b;
}

/* === 4. DASHBOARD === */
.pc-dashboard-hero {
    margin-bottom: 32px;
}

.pc-dashboard-hero h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.pc-dashboard-hero p {
    font-size: 15px;
    color: #888;
    margin: 0;
    line-height: 1.6;
}

.pc-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pc-dash-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.25s ease;
}

.pc-dash-card:hover {
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-2px);
}

.pc-dash-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a96e;
    margin-bottom: 18px;
}

.pc-dash-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
}

.pc-dash-card p {
    font-size: 13px;
    color: #888;
    margin: 0 0 20px;
    line-height: 1.5;
}

.pc-dash-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #c9a96e;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.pc-dash-link:hover {
    gap: 10px;
    color: #fff;
}

/* === 5. ORDERS === */
.pc-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.pc-orders-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.pc-orders-count {
    font-size: 13px;
    color: #888;
    background: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.pc-orders-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-orders-table tbody td {
    padding: 18px 16px;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.pc-orders-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.pc-orders-table tbody tr:last-child td {
    border-bottom: none;
}

.pc-order-id {
    font-family: monospace;
    font-size: 13px;
    color: #c9a96e;
    font-weight: 600;
}

.pc-order-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pc-order-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pc-status-processing {
    background: rgba(201, 169, 110, 0.12);
    color: #c9a96e;
}

.pc-status-processing::before {
    background: #c9a96e;
}

.pc-status-completed {
    background: rgba(76, 175, 80, 0.12);
    color: #4caf50;
}

.pc-status-completed::before {
    background: #4caf50;
}

.pc-status-cancelled {
    background: rgba(244, 67, 54, 0.12);
    color: #f44336;
}

.pc-status-cancelled::before {
    background: #f44336;
}

.pc-status-on-hold {
    background: rgba(255, 152, 0, 0.12);
    color: #ff9800;
}

.pc-status-on-hold::before {
    background: #ff9800;
}

.pc-status-pending {
    background: rgba(158, 158, 158, 0.12);
    color: #9e9e9e;
}

.pc-status-pending::before {
    background: #9e9e9e;
}

.pc-order-actions {
    display: flex;
    gap: 10px;
}

.pc-btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.pc-btn-sm-primary {
    background: #c9a96e;
    color: #0a0a0a;
    border-color: #c9a96e;
}

.pc-btn-sm-primary:hover {
    background: #fff;
    border-color: #fff;
    color: #0a0a0a;
}

.pc-btn-sm-ghost {
    background: transparent;
    color: #a0a0a0;
    border-color: rgba(255, 255, 255, 0.1);
}

.pc-btn-sm-ghost:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.pc-no-orders {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.pc-no-orders h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 8px;
}

/* === 6. VIEW ORDER === */
.pc-view-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-view-order-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.pc-view-order-meta {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
}

.pc-order-section {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
}

.pc-order-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.pc-order-items-table td {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pc-order-items-table tr:last-child td {
    border-bottom: none;
}

.pc-order-item-thumb img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-order-item-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.pc-order-item-meta {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.pc-order-item-price {
    font-weight: 600;
    color: #c9a96e;
    font-size: 14px;
    text-align: right;
}

.pc-order-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #a0a0a0;
}

.pc-order-totals-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 10px;
    padding-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #c9a96e;
}

.pc-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pc-address-block h4 {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pc-address-block address {
    font-style: normal;
    font-size: 14px;
    color: #fff;
    line-height: 1.7;
}

/* === 7. FORMS === */
.pc-myaccount-content h2,
.pc-myaccount-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-myaccount-content .form-row {
    margin-bottom: 20px;
}

.pc-myaccount-content .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.pc-myaccount-content .form-row .required {
    color: #ff6b6b;
}

.pc-myaccount-content input[type="text"],
.pc-myaccount-content input[type="email"],
.pc-myaccount-content input[type="password"],
.pc-myaccount-content input[type="tel"],
.pc-myaccount-content input[type="number"],
.pc-myaccount-content select,
.pc-myaccount-content textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: all 0.2s ease;
}

.pc-myaccount-content input:focus,
.pc-myaccount-content select:focus,
.pc-myaccount-content textarea:focus {
    border-color: rgba(201, 169, 110, 0.4);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08);
}

.pc-myaccount-content button[type="submit"],
.pc-myaccount-content .button {
    background: #c9a96e;
    color: #0a0a0a;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-myaccount-content button[type="submit"]:hover,
.pc-myaccount-content .button:hover {
    background: #fff;
    color: #0a0a0a;
}

.pc-myaccount-content fieldset {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.pc-myaccount-content fieldset legend {
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* === 8. LOGIN (GUEST) === */
.pc-login-wrap {
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.pc-login-box {
    width: 100%;
    max-width: 440px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 48px 40px;
}

.pc-login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.pc-login-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.pc-login-logo span {
    color: #c9a96e;
}

.pc-login-logo p {
    font-size: 14px;
    color: #888;
    margin: 8px 0 0;
}

.pc-login-form .form-row {
    margin-bottom: 18px;
}

.pc-login-form .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.pc-login-form input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    color: #fff;
}

.pc-login-form input:focus {
    border-color: rgba(201, 169, 110, 0.4);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08);
    outline: none;
}

.pc-login-form .pc-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 24px;
    font-size: 13px;
}

.pc-login-form .pc-login-options a {
    color: #888;
    text-decoration: none;
}

.pc-login-form .pc-login-options a:hover {
    color: #c9a96e;
}

.pc-login-form .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #a0a0a0;
}

.pc-login-form .woocommerce-form__input-checkbox {
    width: auto;
    accent-color: #c9a96e;
}

.pc-login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    color: #888;
    font-size: 13px;
}

.pc-login-divider::before,
.pc-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.pc-login-alt {
    text-align: center;
    font-size: 14px;
    color: #888;
}

.pc-login-alt a {
    color: #c9a96e;
    font-weight: 600;
    text-decoration: none;
}

.pc-login-alt a:hover {
    color: #fff;
}

/* === 9. PAYMENT METHODS === */
.pc-payment-method {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pc-payment-method-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pc-payment-method-icon {
    width: 40px;
    height: 26px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #0a0a0a;
}

.pc-payment-method-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.pc-payment-method-exp {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.pc-payment-method-default {
    font-size: 11px;
    font-weight: 600;
    color: #c9a96e;
    background: rgba(201, 169, 110, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* TABLET */
@media (max-width: 1024px) {
    .pc-myaccount-container {
        gap: 24px;
    }

    .pc-myaccount-nav {
        flex: 0 0 220px;
        padding: 24px 16px;
    }

    .pc-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pc-myaccount-content {
        padding: 32px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .pc-myaccount-wrap {
        padding: 20px 0 60px;
    }

    .pc-myaccount-container {
        flex-direction: column;
        gap: 16px;
    }

    .pc-myaccount-nav {
        position: static;
        flex: none;
        width: 100%;
        padding: 20px;
    }

    .pc-nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .pc-nav-menu li {
        margin: 0;
    }

    .pc-nav-menu li a {
        padding: 10px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .pc-nav-user {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .pc-myaccount-content {
        flex: none;
        width: 100%;
        padding: 24px;
    }

    .pc-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .pc-dashboard-hero h2 {
        font-size: 22px;
    }

    .pc-orders-table thead {
        display: none;
    }

    .pc-orders-table tbody tr {
        display: block;
        margin-bottom: 16px;
        background: #1a1a1a;
        border-radius: 12px;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .pc-orders-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        font-size: 13px;
    }

    .pc-orders-table tbody td::before {
        content: attr(data-title);
        font-size: 11px;
        text-transform: uppercase;
        color: #888;
        letter-spacing: 0.5px;
    }

    .pc-orders-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .pc-view-order-header {
        flex-direction: column;
        gap: 12px;
    }

    .pc-address-grid {
        grid-template-columns: 1fr;
    }

    .pc-login-box {
        padding: 32px 24px;
    }
}

/* === LOGIN BUTTON KADENCE KILL === */
.pc-login-form button[type="submit"],
.pc-login-form .button,
.woocommerce-form-login button[type="submit"],
.woocommerce-form-login .button {
    background: #c9a96e !important;
    background-color: #c9a96e !important;
    color: #0a0a0a !important;
    border: 1px solid #c9a96e !important;
    border-radius: 10px !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.pc-login-form button[type="submit"]:hover,
.pc-login-form .button:hover,
.woocommerce-form-login button[type="submit"]:hover,
.woocommerce-form-login .button:hover {
    background: #dcb052 !important;
    background-color: #dcb052 !important;
    border-color: #dcb052 !important;
    color: #0a0a0a !important;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.25) !important;
}

/* Kadence checkbox mavi kill */
.pc-login-form .woocommerce-form__input-checkbox,
.woocommerce-form-login .woocommerce-form__input-checkbox {
    accent-color: #c9a96e !important;
}

/* Kadence form input focus mavi outline kill */
.pc-login-form input:focus,
.woocommerce-form-login input:focus {
    outline: none !important;
    border-color: rgba(201, 169, 110, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08) !important;
}

/* entry-content-wrap Kadence leak temizleme */
body.woocommerce-account .entry-content-wrap {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* === ADDRESS LIST === */
.pc-address-intro {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}

.pc-address-list {
    display: grid;
    gap: 20px;
}

.pc-address-block {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px;
}

.pc-address-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pc-address-block-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.pc-address-block address {
    font-style: normal;
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.8;
}

.pc-address-block address em {
    color: #666;
}

/* === FORM BUTTONS === */
.pc-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
    flex-wrap: wrap;
}

.woocommerce-address-fields button.button,
.woocommerce-EditAccountForm button.button {
    background: #c9a96e !important;
    color: #0a0a0a !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce-address-fields button.button:hover,
.woocommerce-EditAccountForm button.button:hover {
    background: #dcb052 !important;
    color: #0a0a0a !important;
}

/* ========================================
   MY ACCOUNT RETOUCH — v3
   ======================================== */
body.woocommerce-account {
    --pc-account-bg: #0f0d0c;
    --pc-account-panel: #151311;
    --pc-account-panel-strong: #1a1715;
    --pc-account-border: rgba(196, 165, 116, 0.16);
    --pc-account-border-soft: rgba(245, 240, 232, 0.08);
    --pc-account-gold: #c4a574;
    --pc-account-cream: #f5f0e8;
    --pc-account-muted: #938c84;
    background: var(--pc-account-bg) !important;
}

body.woocommerce-account .content-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.pc-myaccount-wrap {
    min-height: calc(100vh - 64px);
    padding: 48px 28px 96px;
    background:
        radial-gradient(circle at 76% 4%, rgba(196, 165, 116, 0.07), transparent 31%),
        var(--pc-account-bg);
}

.pc-myaccount-container {
    max-width: 1240px;
    gap: 24px;
}

.pc-myaccount-nav {
    flex-basis: 244px;
    top: 88px;
    padding: 22px 16px 16px;
    border-color: var(--pc-account-border-soft);
    border-radius: 18px;
    background: rgba(21, 19, 17, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.pc-nav-eyebrow,
.pc-dashboard-eyebrow,
.pc-login-story__eyebrow,
.pc-login-kicker {
    display: block;
    color: var(--pc-account-gold);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pc-nav-eyebrow {
    padding: 0 10px 14px;
}

.pc-nav-user {
    gap: 12px;
    padding: 0 10px 18px;
    margin-bottom: 12px;
}

.pc-user-avatar {
    flex: 0 0 auto;
}

.pc-user-avatar img {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(196, 165, 116, 0.42);
}

.pc-user-avatar--initials {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 165, 116, 0.42);
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 25%, rgba(245, 240, 232, 0.11), transparent 35%),
        rgba(196, 165, 116, 0.1);
    color: var(--pc-account-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
}

.pc-user-name {
    color: var(--pc-account-cream);
    font-size: 14px;
}

.pc-user-email {
    max-width: 148px;
    overflow: hidden;
    color: #77716b;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-nav-menu {
    display: grid;
    gap: 3px;
}

.pc-nav-menu li {
    margin: 0;
}

.pc-nav-menu li a,
.pc-nav-logout {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #9e978f;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.pc-nav-menu li a:hover,
.pc-nav-logout:hover {
    border-color: rgba(245, 240, 232, 0.06);
    background: rgba(245, 240, 232, 0.035);
    color: var(--pc-account-cream);
}

.pc-nav-menu li.is-active a {
    border-color: rgba(196, 165, 116, 0.16);
    background: rgba(196, 165, 116, 0.1);
    color: var(--pc-account-gold);
}

.pc-nav-icon {
    display: inline-flex;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.pc-nav-icon svg,
.pc-latest-order__icon svg,
.pc-account-help__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pc-nav-logout {
    margin-top: 14px;
    padding-top: 12px;
    border-top-color: var(--pc-account-border-soft);
    border-radius: 0 0 10px 10px;
    color: #77716b;
}

.pc-myaccount-content {
    padding: 34px;
    border-color: var(--pc-account-border-soft);
    border-radius: 18px;
    background: rgba(21, 19, 17, 0.92);
}

.pc-myaccount-content.pc-is-dashboard {
    padding: 0;
    border: 0;
    background: transparent;
}

.pc-dashboard {
    display: grid;
    gap: 20px;
}

.pc-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 164px;
    gap: 32px;
    align-items: center;
    min-height: 270px;
    margin: 0;
    padding: 42px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--pc-account-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 84% 12%, rgba(196, 165, 116, 0.14), transparent 40%),
        linear-gradient(135deg, #191613, #12100f 72%);
}

.pc-dashboard-hero::after {
    content: '';
    width: 240px;
    height: 240px;
    position: absolute;
    right: -110px;
    bottom: -150px;
    border: 1px solid rgba(196, 165, 116, 0.12);
    border-radius: 50%;
}

.pc-dashboard-hero__copy {
    position: relative;
    z-index: 1;
}

.pc-dashboard-hero h2,
.pc-myaccount-content .pc-dashboard-hero h2 {
    margin: 10px 0 13px;
    padding: 0;
    border: 0;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(29px, 3vw, 42px);
    font-weight: 400 !important;
    letter-spacing: -0.035em;
    line-height: 1.08 !important;
}

.pc-dashboard-hero h2 em {
    color: var(--pc-account-gold) !important;
    font-weight: 400;
}

.pc-dashboard-hero p {
    max-width: 600px;
    margin: 0;
    color: #aaa39a;
    font-size: 14px;
    line-height: 1.65;
}

.pc-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pc-account-btn {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.pc-account-btn:hover {
    transform: translateY(-1px);
}

.pc-account-btn--primary {
    border-color: var(--pc-account-gold);
    background: var(--pc-account-gold);
    color: #17130f;
}

.pc-account-btn--primary:hover {
    background: #d5b783;
    color: #17130f;
}

.pc-account-btn--ghost {
    border-color: rgba(245, 240, 232, 0.12);
    background: rgba(245, 240, 232, 0.025);
    color: #c8c1b8;
}

.pc-account-btn--ghost:hover {
    border-color: rgba(245, 240, 232, 0.24);
    color: var(--pc-account-cream);
}

.pc-dashboard-stat {
    display: grid;
    min-height: 156px;
    align-content: center;
    padding: 22px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(196, 165, 116, 0.18);
    border-radius: 16px;
    background: rgba(7, 6, 5, 0.34);
}

.pc-dashboard-stat span {
    color: #918a82;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-dashboard-stat strong {
    margin: 6px 0 3px;
    color: var(--pc-account-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 50px;
    font-weight: 600;
    line-height: .95;
}

.pc-dashboard-stat small {
    color: #77716b;
    font-size: 10px;
    line-height: 1.4;
}

.pc-latest-order {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 17px 19px;
    border: 1px solid var(--pc-account-border-soft);
    border-radius: 15px;
    background: var(--pc-account-panel);
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.pc-latest-order:hover {
    border-color: rgba(196, 165, 116, 0.22);
    background: #181512;
}

.pc-latest-order__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(196, 165, 116, 0.1);
    color: var(--pc-account-gold);
}

.pc-latest-order__icon svg {
    width: 21px;
    height: 21px;
}

.pc-latest-order__copy {
    display: grid;
    min-width: 0;
}

.pc-latest-order__copy small {
    margin-bottom: 3px;
    color: #77716b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-latest-order__copy strong {
    color: var(--pc-account-cream);
    font-size: 14px;
    font-weight: 600;
}

.pc-latest-order__copy > span {
    margin-top: 2px;
    color: #8c857d;
    font-size: 11px;
}

.pc-latest-order__action {
    display: inline-flex;
    gap: 7px;
    color: var(--pc-account-gold);
    font-size: 12px;
    font-weight: 700;
}

.pc-dashboard-section-heading {
    margin: 8px 0 -2px;
}

.pc-dashboard-section-heading > span {
    color: var(--pc-account-gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pc-dashboard-section-heading h3,
.pc-myaccount-content .pc-dashboard-section-heading h3 {
    margin: 5px 0 0;
    padding: 0;
    border: 0;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 23px;
    font-weight: 400 !important;
}

.pc-dashboard-grid {
    gap: 14px;
}

.pc-dash-card {
    min-height: 222px;
    padding: 23px 21px;
    position: relative;
    border-color: var(--pc-account-border-soft);
    border-radius: 15px;
    background: var(--pc-account-panel);
}

.pc-dash-card:hover {
    border-color: rgba(196, 165, 116, 0.22);
}

.pc-dash-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 26px;
    border: 1px solid rgba(196, 165, 116, 0.14);
    border-radius: 11px;
}

.pc-dash-icon svg {
    width: 19px;
    height: 19px;
}

.pc-dash-card h3,
.pc-myaccount-content .pc-dash-card h3 {
    margin: 0 0 7px;
    padding: 0;
    border: 0;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 19px;
    font-weight: 400 !important;
}

.pc-dash-card p {
    margin-bottom: 16px;
    color: #8f8880;
    font-size: 12px;
}

.pc-dash-link {
    margin-top: auto;
    gap: 7px;
    color: var(--pc-account-gold);
    font-size: 11px;
    text-transform: none;
}

.pc-account-help {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(196, 165, 116, 0.12);
    border-radius: 15px;
    background: rgba(196, 165, 116, 0.045);
}

.pc-account-help__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(196, 165, 116, 0.1);
    color: var(--pc-account-gold);
}

.pc-account-help__icon svg {
    width: 20px;
    height: 20px;
}

.pc-account-help__copy {
    display: grid;
}

.pc-account-help__copy small {
    color: #77716b;
    font-size: 10px;
}

.pc-account-help__copy strong {
    color: #c9c2b9;
    font-size: 12px;
    font-weight: 500;
}

.pc-account-help > a {
    color: var(--pc-account-gold);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

/* Login and registration */
.pc-login-wrap {
    min-height: calc(100vh - 64px);
    padding: 64px 28px 96px;
    background:
        radial-gradient(circle at 20% 10%, rgba(196, 165, 116, .08), transparent 32%),
        var(--pc-account-bg);
}

.pc-login-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, .65fr);
    width: 100%;
    max-width: 1040px;
    overflow: hidden;
    border: 1px solid var(--pc-account-border);
    border-radius: 22px;
    background: var(--pc-account-panel);
    box-shadow: 0 35px 90px rgba(0, 0, 0, .25);
}

.pc-login-story {
    min-height: 580px;
    padding: 68px 60px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--pc-account-border-soft);
    background:
        linear-gradient(145deg, rgba(196, 165, 116, .09), transparent 52%),
        #12100f;
}

.pc-login-story::after {
    content: '';
    width: 310px;
    height: 310px;
    position: absolute;
    right: -150px;
    bottom: -170px;
    border: 1px solid rgba(196, 165, 116, .16);
    border-radius: 50%;
}

.pc-login-story h1 {
    max-width: 500px;
    margin: 18px 0 20px;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 400 !important;
    letter-spacing: -.035em;
}

.pc-login-story h1 em {
    display: block;
}

.pc-login-story > p {
    max-width: 500px;
    color: #958e85;
    font-size: 14px;
}

.pc-login-story ul {
    display: grid;
    gap: 13px;
    margin: 46px 0 0;
    padding: 0;
    list-style: none;
}

.pc-login-story li {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #b9b2a9;
    font-size: 12px;
}

.pc-login-story li span {
    color: var(--pc-account-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
}

.pc-login-box {
    max-width: none;
    padding: 62px 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.pc-login-logo {
    margin-bottom: 30px;
    text-align: left;
}

.pc-login-logo h2 {
    margin: 8px 0 8px;
    padding: 0;
    border: 0;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 30px;
    font-weight: 400 !important;
}

.pc-login-logo p {
    margin: 0;
    color: #8e877f;
    font-size: 12px;
}

.pc-login-submit {
    margin: 24px 0 0;
}

.pc-login-note {
    padding: 12px 14px;
    border: 1px solid var(--pc-account-border-soft);
    border-radius: 9px;
    background: rgba(196, 165, 116, .04);
    color: #8f8880;
    font-size: 11px;
}

@media (max-width: 1024px) {
    .pc-myaccount-wrap {
        padding-right: 22px;
        padding-left: 22px;
    }

    .pc-myaccount-nav {
        flex-basis: 216px;
    }

    .pc-dashboard-hero {
        padding: 34px;
    }

    .pc-dashboard-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-login-story {
        padding-right: 42px;
        padding-left: 42px;
    }
}

@media (max-width: 820px) {
    .pc-myaccount-container {
        flex-direction: column;
    }

    .pc-myaccount-nav {
        width: 100%;
        position: relative;
        top: auto;
    }

    .pc-nav-user {
        padding-right: 54px;
    }

    .pc-nav-menu {
        display: grid;
        grid-auto-columns: max-content;
        grid-auto-flow: column;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .pc-nav-menu::-webkit-scrollbar {
        display: none;
    }

    .pc-nav-menu li a {
        min-height: 40px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .pc-nav-logout {
        width: 38px;
        height: 38px;
        min-height: 38px;
        justify-content: center;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 20px;
        right: 18px;
        border: 1px solid var(--pc-account-border-soft);
        border-radius: 10px;
    }

    .pc-nav-logout > span:last-child {
        display: none;
    }

    .pc-myaccount-content {
        width: 100%;
    }

    .pc-dashboard-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-login-shell {
        grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr);
    }

    .pc-login-story {
        padding: 54px 34px;
    }

    .pc-login-story h1 {
        font-size: 35px;
    }

    .pc-login-box {
        padding: 54px 36px;
    }
}

@media (max-width: 820px) {
    .pc-myaccount-wrap,
    .pc-myaccount-container,
    .pc-myaccount-nav {
        max-width: 100%;
        min-width: 0;
    }

    .pc-myaccount-wrap {
        overflow-x: clip;
    }

    .pc-myaccount-nav .pc-nav-user {
        min-width: 0;
    }

    .pc-myaccount-nav .pc-user-info {
        min-width: 0;
    }

    .pc-myaccount-nav .pc-user-email {
        max-width: 100%;
        overflow: visible;
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }

    .pc-myaccount-nav .pc-nav-menu {
        display: grid;
        grid-template-columns: repeat(4, max-content);
        grid-auto-flow: row;
        grid-auto-columns: auto;
        justify-content: space-between;
        gap: 4px;
        width: 100%;
        overflow: visible;
        padding-bottom: 0;
    }

    .pc-myaccount-nav .pc-nav-menu li {
        width: auto;
        min-width: 0;
    }

    .pc-myaccount-nav .pc-nav-menu li a {
        width: auto;
        min-width: 0;
        min-height: 52px;
        justify-content: flex-start;
        gap: 8px;
        padding: 9px 7px;
        white-space: nowrap;
    }

    .pc-myaccount-nav .pc-nav-menu li a > span:last-child {
        min-width: 0;
    }
}

@media (max-width: 370px) {
    .pc-myaccount-nav .pc-nav-menu li a {
        gap: 5px;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 11px;
    }

    .pc-myaccount-nav .pc-nav-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
}

@media (max-width: 640px) {
    .pc-myaccount-wrap {
        padding: 18px 14px 64px;
    }

    .pc-myaccount-container {
        gap: 14px;
    }

    .pc-myaccount-nav {
        padding: 18px 12px 12px;
        border-radius: 15px;
    }

    .pc-nav-eyebrow {
        padding-left: 8px;
    }

    .pc-nav-user {
        padding-left: 8px;
    }

    .pc-user-email {
        max-width: 180px;
    }

    .pc-nav-menu li a {
        font-size: 12px;
    }

    .pc-myaccount-content {
        padding: 22px 18px;
        border-radius: 15px;
    }

    .pc-myaccount-content.pc-is-dashboard {
        padding: 0;
    }

    .pc-dashboard {
        gap: 14px;
    }

    .pc-dashboard-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: 0;
        padding: 27px 23px 23px;
        border-radius: 17px;
    }

    .pc-dashboard-hero h2,
    .pc-myaccount-content .pc-dashboard-hero h2 {
        margin-top: 8px;
        font-size: 31px;
    }

    .pc-dashboard-hero p {
        font-size: 12px;
        line-height: 1.6;
    }

    .pc-dashboard-actions {
        margin-top: 20px;
    }

    .pc-account-btn {
        flex: 1 1 auto;
        min-width: 132px;
    }

    .pc-dashboard-stat {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 0;
        align-items: center;
        padding: 15px 17px;
    }

    .pc-dashboard-stat span,
    .pc-dashboard-stat small {
        grid-column: 1;
    }

    .pc-dashboard-stat strong {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin: 0;
        font-size: 43px;
    }

    .pc-latest-order {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 15px;
    }

    .pc-latest-order__icon {
        width: 42px;
        height: 42px;
    }

    .pc-latest-order__action {
        grid-column: 2;
        margin-top: 3px;
    }

    .pc-dashboard-section-heading {
        margin-top: 6px;
    }

    .pc-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pc-dash-card {
        min-height: 0;
        padding: 19px;
    }

    .pc-dash-icon {
        margin-bottom: 20px;
    }

    .pc-account-help {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 16px;
    }

    .pc-account-help__icon {
        width: 38px;
        height: 38px;
    }

    .pc-account-help > a {
        grid-column: 2;
    }

    .pc-login-wrap {
        padding: 20px 14px 64px;
    }

    .pc-login-shell {
        display: block;
        border-radius: 18px;
    }

    .pc-login-story {
        min-height: 0;
        padding: 34px 26px 30px;
        border-right: 0;
        border-bottom: 1px solid var(--pc-account-border-soft);
    }

    .pc-login-story h1 {
        margin: 12px 0;
        font-size: 30px;
    }

    .pc-login-story > p {
        font-size: 12px;
    }

    .pc-login-story ul {
        display: none;
    }

    .pc-login-box {
        padding: 32px 24px;
    }

    .pc-login-logo h2 {
        font-size: 27px;
    }

    .pc-login-form .pc-login-options {
        align-items: flex-start;
        gap: 12px;
    }

    .pc-address-block-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   ACCOUNT INNER SCREENS — v3
   ======================================== */
.pc-account-section {
    display: grid;
    gap: 24px;
}

.pc-account-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pc-account-border-soft);
}

.pc-account-section__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--pc-account-gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pc-account-section__header h2,
.pc-myaccount-content .pc-account-section__header h2,
.pc-view-order-header h2,
.pc-myaccount-content .pc-view-order-header h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 31px;
    font-weight: 400 !important;
    letter-spacing: -.025em;
}

.pc-account-section__header p,
.pc-view-order-header p {
    max-width: 590px;
    margin: 8px 0 0;
    color: #8f8880;
    font-size: 12px;
    line-height: 1.6;
}

.pc-orders-count {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-color: rgba(196, 165, 116, .16);
    background: rgba(196, 165, 116, .07);
    color: var(--pc-account-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
}

/* Orders */
.pc-order-list {
    display: grid;
    gap: 12px;
}

.pc-order-card {
    overflow: hidden;
    border: 1px solid var(--pc-account-border-soft);
    border-radius: 15px;
    background: var(--pc-account-panel-strong);
    transition: border-color .2s ease, transform .2s ease;
}

.pc-order-card:hover {
    border-color: rgba(196, 165, 116, .2);
    transform: translateY(-1px);
}

.pc-order-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--pc-account-border-soft);
}

.pc-order-card__header > div {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pc-order-card__header > div > span {
    color: #77716b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-order-card__header > div > strong {
    color: var(--pc-account-cream);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 21px;
    font-weight: 600;
}

.pc-order-card__facts {
    display: grid;
    grid-template-columns: 1.25fr .8fr 1fr;
    padding: 17px 18px;
}

.pc-order-card__facts > div {
    display: grid;
    gap: 4px;
    padding: 0 18px;
    border-right: 1px solid var(--pc-account-border-soft);
}

.pc-order-card__facts > div:first-child {
    padding-left: 0;
}

.pc-order-card__facts > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.pc-order-card__facts span {
    color: #706a63;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pc-order-card__facts strong {
    color: #beb7ae;
    font-size: 12px;
    font-weight: 500;
}

.pc-order-card__facts > div:last-child strong {
    color: var(--pc-account-gold);
}

.pc-order-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid var(--pc-account-border-soft);
    background: rgba(9, 8, 7, .2);
}

.pc-myaccount-content .pc-btn-sm.button,
.pc-myaccount-content .pc-btn-sm {
    width: auto;
    min-height: 36px;
    padding: 8px 13px !important;
    border-radius: 9px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.pc-myaccount-content .pc-btn-sm-primary.button,
.pc-myaccount-content .pc-btn-sm-primary {
    border: 1px solid var(--pc-account-gold) !important;
    background: var(--pc-account-gold) !important;
    color: #17130f !important;
}

.pc-myaccount-content .pc-btn-sm-ghost.button,
.pc-myaccount-content .pc-btn-sm-ghost {
    border: 1px solid rgba(245, 240, 232, .11) !important;
    background: transparent !important;
    color: #a9a198 !important;
}

.pc-myaccount-content .pc-btn-sm-ghost.button:hover,
.pc-myaccount-content .pc-btn-sm-ghost:hover {
    border-color: rgba(245, 240, 232, .24) !important;
    color: var(--pc-account-cream) !important;
}

.pc-order-status {
    flex: 0 0 auto;
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 22%, transparent);
    font-size: 10px;
}

.pc-status-failed,
.pc-status-cancelled,
.pc-status-refunded {
    background: rgba(213, 103, 96, .1);
    color: #d9827d;
}

.pc-status-failed::before,
.pc-status-cancelled::before,
.pc-status-refunded::before {
    background: currentColor;
}

.pc-account-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.pc-account-pagination a {
    color: var(--pc-account-gold);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.pc-account-pagination a:last-child {
    text-align: right;
}

.pc-account-pagination span {
    color: #77716b;
    font-size: 10px;
}

.pc-no-orders {
    padding: 64px 20px;
    border: 1px dashed rgba(196, 165, 116, .18);
    border-radius: 15px;
    background: rgba(196, 165, 116, .025);
}

.pc-empty-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(196, 165, 116, .1);
    color: var(--pc-account-gold);
}

.pc-empty-icon svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pc-no-orders h3,
.pc-myaccount-content .pc-no-orders h3 {
    margin: 0 0 7px;
    padding: 0;
    border: 0;
}

.pc-no-orders .pc-account-btn {
    margin-top: 16px;
}

/* Order detail */
.pc-account-back {
    width: max-content;
    color: #8b847c;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.pc-account-back:hover {
    color: var(--pc-account-gold);
}

.pc-view-order-header {
    margin: 0;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--pc-account-border-soft);
}

.pc-view-order-header > div {
    display: grid;
}

.pc-view-order-header p {
    margin-top: 6px;
}

.pc-order-state {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(196, 165, 116, .15);
    border-radius: 13px;
    background: rgba(196, 165, 116, .055);
}

.pc-order-state__mark {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pc-account-gold);
    box-shadow: 0 0 0 5px rgba(196, 165, 116, .09);
}

.pc-order-state > div {
    display: grid;
    gap: 2px;
}

.pc-order-state small {
    color: var(--pc-account-gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-order-state strong {
    color: #bdb6ad;
    font-size: 11px;
    font-weight: 500;
}

.pc-order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, .72fr);
    gap: 16px;
    align-items: start;
}

.pc-order-detail-main {
    display: grid;
    gap: 16px;
}

.pc-order-section {
    margin: 0;
    padding: 22px;
    border-color: var(--pc-account-border-soft);
    border-radius: 15px;
    background: var(--pc-account-panel-strong);
}

.pc-order-section__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pc-account-border-soft);
}

.pc-order-section__heading > span {
    color: var(--pc-account-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 15px;
    font-weight: 600;
}

.pc-order-section__heading h3,
.pc-myaccount-content .pc-order-section__heading h3 {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 17px;
    font-weight: 400 !important;
    letter-spacing: -.01em;
    text-transform: none;
}

.pc-order-detail-items {
    display: grid;
}

.pc-order-detail-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(245, 240, 232, .05);
}

.pc-order-detail-item:first-child {
    padding-top: 0;
}

.pc-order-detail-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pc-order-detail-item .pc-order-item-thumb img {
    width: 64px;
    height: 64px;
    border-radius: 11px;
}

.pc-order-detail-item__copy {
    display: grid;
    gap: 3px;
}

.pc-order-detail-item__copy > strong {
    color: var(--pc-account-cream);
    font-size: 12px;
    font-weight: 600;
}

.pc-order-detail-item__copy > span {
    color: #77716b;
    font-size: 10px;
}

.pc-order-item-meta,
.pc-order-item-meta p,
.pc-order-item-meta ul {
    margin: 3px 0 0;
    padding: 0;
    color: #858078;
    font-size: 10px;
    list-style: none;
}

.pc-order-detail-item .pc-order-item-price {
    width: auto;
    color: var(--pc-account-gold);
    font-size: 12px;
}

.pc-order-summary {
    position: sticky;
    top: 88px;
}

.pc-order-summary .pc-order-totals-row {
    gap: 16px;
    color: #918a82;
    font-size: 11px;
}

.pc-order-summary .pc-order-totals-row strong {
    color: #c7c0b7;
    font-weight: 500;
    text-align: right;
}

.pc-order-summary .pc-order-totals-row.total {
    margin-top: 12px;
    padding-top: 16px;
    color: var(--pc-account-cream);
    font-size: 13px;
}

.pc-order-summary .pc-order-totals-row.total strong {
    color: var(--pc-account-gold);
    font-size: 16px;
    font-weight: 700;
}

.pc-order-address {
    min-width: 0;
}

.pc-order-address + .pc-order-address {
    padding-left: 20px;
    border-left: 1px solid var(--pc-account-border-soft);
}

.pc-order-address small {
    display: block;
    margin-bottom: 8px;
    color: #77716b;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-order-address address {
    color: #aaa39a;
    font-size: 11px;
    font-style: normal;
    line-height: 1.65;
}

.pc-order-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--pc-account-border-soft);
    color: #827b74;
    font-size: 10px;
}

/* Address cards */
.pc-address-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pc-address-card {
    display: grid;
    min-height: 280px;
    grid-template-rows: auto 1fr auto;
    padding: 22px;
    border: 1px solid var(--pc-account-border-soft);
    border-radius: 15px;
    background: var(--pc-account-panel-strong);
}

.pc-address-card.is-empty {
    border-style: dashed;
    background: rgba(196, 165, 116, .025);
}

.pc-address-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pc-account-border-soft);
}

.pc-address-card__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 165, 116, .14);
    border-radius: 11px;
    background: rgba(196, 165, 116, .08);
    color: var(--pc-account-gold);
}

.pc-address-card__icon svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pc-address-card__header small {
    color: var(--pc-account-gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pc-address-card__header h3,
.pc-myaccount-content .pc-address-card__header h3 {
    margin: 3px 0 0;
    padding: 0;
    border: 0;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 17px;
    font-weight: 400 !important;
}

.pc-address-card__body {
    padding: 20px 0;
}

.pc-address-card__body address {
    color: #aaa39a;
    font-size: 11px;
    font-style: normal;
    line-height: 1.75;
}

.pc-address-card__body p {
    max-width: 280px;
    margin: 0;
    color: #77716b;
    font-size: 11px;
    line-height: 1.65;
}

.pc-address-card > .pc-btn-sm {
    width: max-content;
}

.pc-account-info-note {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid rgba(196, 165, 116, .1);
    border-radius: 11px;
    background: rgba(196, 165, 116, .035);
}

.pc-account-info-note > span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(196, 165, 116, .12);
    color: var(--pc-account-gold);
    font-family: Georgia, serif;
    font-size: 12px;
}

.pc-account-info-note p {
    margin: 0;
    color: #817b73;
    font-size: 10px;
}

/* Profile and address forms */
.pc-account-form {
    display: grid;
    gap: 16px;
}

.pc-form-section,
.pc-myaccount-content fieldset.pc-form-section {
    margin: 0;
    padding: 22px;
    border: 1px solid var(--pc-account-border-soft);
    border-radius: 15px;
    background: var(--pc-account-panel-strong);
}

.pc-form-section__heading {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pc-account-border-soft);
}

.pc-form-section__heading > span {
    color: var(--pc-account-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
}

.pc-form-section__heading h3,
.pc-myaccount-content .pc-form-section__heading h3 {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--pc-account-cream) !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 18px;
    font-weight: 400 !important;
}

.pc-form-section__heading p {
    margin: 4px 0 0;
    color: #77716b;
    font-size: 10px;
}

.pc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
}

.pc-form-grid .form-row {
    min-width: 0;
    margin: 0;
}

.pc-form-grid .form-row-wide,
.pc-form-grid .validate-phone,
.pc-form-grid .validate-email,
.pc-form-grid #billing_address_1_field,
.pc-form-grid #shipping_address_1_field,
.pc-form-grid #billing_address_2_field,
.pc-form-grid #shipping_address_2_field {
    grid-column: 1 / -1;
}

.pc-myaccount-content .pc-account-form label {
    margin-bottom: 7px;
    color: #928b83;
    font-size: 10px;
    font-weight: 600;
}

.pc-myaccount-content .pc-account-form input[type="text"],
.pc-myaccount-content .pc-account-form input[type="email"],
.pc-myaccount-content .pc-account-form input[type="password"],
.pc-myaccount-content .pc-account-form input[type="tel"],
.pc-myaccount-content .pc-account-form select,
.pc-myaccount-content .pc-account-form textarea {
    min-height: 46px;
    padding: 11px 13px;
    border-color: rgba(245, 240, 232, .1);
    border-radius: 9px;
    background: #11100e;
    color: var(--pc-account-cream);
    font-size: 12px;
}

.pc-myaccount-content .pc-account-form input::placeholder,
.pc-myaccount-content .pc-account-form textarea::placeholder {
    color: #57524d;
}

.pc-field-hint {
    display: block;
    margin-top: 6px;
    color: #69635d;
    font-size: 9px;
}

.pc-password-section {
    background:
        linear-gradient(135deg, rgba(196, 165, 116, .025), transparent 45%),
        var(--pc-account-panel-strong) !important;
}

.pc-myaccount-content .select2-container {
    width: 100% !important;
}

.pc-myaccount-content .select2-container--default .select2-selection--single {
    height: 46px;
    border: 1px solid rgba(245, 240, 232, .1);
    border-radius: 9px;
    background: #11100e;
}

.pc-myaccount-content .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 8px 34px 8px 13px;
    color: var(--pc-account-cream);
    font-size: 12px;
    line-height: 28px;
}

.pc-myaccount-content .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

.pc-form-actions {
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--pc-account-border-soft);
}

.pc-form-actions .pc-btn-sm {
    margin-right: auto;
}

.pc-form-actions button.button {
    min-height: 42px;
    padding: 10px 18px !important;
    border-radius: 9px !important;
    background: var(--pc-account-gold) !important;
    color: #17130f !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.woocommerce-password-strength {
    margin-top: 6px;
    padding: 7px 9px;
    border-radius: 7px;
    background: rgba(245, 240, 232, .04);
    color: #8f8880;
    font-size: 9px;
}

@media (max-width: 920px) {
    .pc-order-detail-grid {
        grid-template-columns: 1fr;
    }

    .pc-order-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .pc-account-section {
        gap: 18px;
    }

    .pc-account-section__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 18px;
    }

    .pc-account-section__header h2,
    .pc-myaccount-content .pc-account-section__header h2,
    .pc-view-order-header h2,
    .pc-myaccount-content .pc-view-order-header h2 {
        font-size: 27px;
    }

    .pc-order-card__header {
        padding: 14px;
    }

    .pc-order-card__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
    }

    .pc-order-card__facts > div {
        padding: 0 12px 0 0;
    }

    .pc-order-card__facts > div:nth-child(2) {
        padding-right: 0;
        padding-left: 12px;
        border-right: 0;
    }

    .pc-order-card__facts > div:last-child {
        grid-column: 1 / -1;
        margin-top: 13px;
        padding-top: 13px;
        border-top: 1px solid var(--pc-account-border-soft);
    }

    .pc-order-card__actions {
        justify-content: stretch;
        padding: 12px 14px;
    }

    .pc-order-card__actions .pc-btn-sm {
        flex: 1 1 auto;
        justify-content: center;
    }

    .pc-view-order-header {
        align-items: flex-start;
    }

    .pc-order-state {
        grid-template-columns: 12px minmax(0, 1fr);
    }

    .pc-order-state .pc-account-btn {
        grid-column: 2;
        width: max-content;
        margin-top: 5px;
    }

    .pc-order-section {
        padding: 18px 16px;
    }

    .pc-order-detail-item {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 11px;
    }

    .pc-order-detail-item .pc-order-item-thumb img {
        width: 54px;
        height: 54px;
    }

    .pc-order-detail-item .pc-order-item-price {
        grid-column: 2;
        text-align: left;
    }

    .pc-address-grid {
        gap: 15px;
    }

    .pc-order-address + .pc-order-address {
        padding-top: 15px;
        padding-left: 0;
        border-top: 1px solid var(--pc-account-border-soft);
        border-left: 0;
    }

    .pc-address-list {
        grid-template-columns: 1fr;
    }

    .pc-address-card {
        min-height: 0;
        padding: 18px;
    }

    .pc-form-section,
    .pc-myaccount-content fieldset.pc-form-section {
        padding: 18px 16px;
    }

    .pc-form-grid {
        grid-template-columns: 1fr;
    }

    .pc-form-grid .form-row,
    .pc-form-grid .form-row-wide {
        grid-column: 1;
    }

    .pc-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .pc-form-actions .pc-btn-sm,
    .pc-form-actions button.button {
        width: 100%;
        justify-content: center;
        margin: 0;
        text-align: center;
    }
}
