.container {
    --accent-color: #f2724c;
    --text-main: #1a1a1a;
    --text-muted: #828282;
    --bg-placeholder: #f8f8f6;
    --font-heading: "Advent Pro", sans-serif;
    --font-body: "Inter", sans-serif;
    font-family: var(--font-body);
    background-color: #f8f8f6;
    color: var(--text-main);
    padding: 40px 20px;
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    column-gap: 100px;
}

/* --- Sidebar --- */
.sidebar {
    align-self: start;
    display: flex;
    flex-direction: column;
}

.nav-main,
.nav-secondary {
    list-style: none;
    text-align: right;
}

.nav-main li {
    margin-bottom: 15px;
}
.nav-main a {
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
    display: inline-block;
}

.nav-main a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-main a:hover::before {
    transform: scaleX(1);
}

.nav-main a.active {
    position: relative;
    margin-right: 1.5rem;
    color: var(--text-main);
}

.nav-main a.active::after {
    content: "";
    position: absolute;

    right: -45px;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--accent-color);
}

.nav-secondary li {
    margin-bottom: 12px;
}
.nav-secondary a {
    color: black;
    text-decoration: none;
    /*color: var(--text-muted);*/
    font-weight: 300;
    font-size: 14px;
}

/* --- Main Content --- */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.avatar-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-placeholder);
}

.profile-info h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

.profile-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.section-title::after {
    content: "↗";
    font-size: 16px;
    color: var(--accent-color);
}

.section-title-link {
    text-decoration: none;
    color: inherit;
    position: relative;
    display: inline-block;
}

.section-title-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.section-title-link:hover::after {
    transform: scaleX(1);
}

/* --- Grid (Теперь обе секции используют 3 колонки) --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
    margin-bottom: 70px;
}

/* --- Card Style --- */
.card {
    display: flex;
    flex-direction: column;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--bg-placeholder);
    margin-bottom: 15px;
}

.badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-color);
    color: white;
    padding: 4px 10px;
    font-size: 12px;
    font-family: var(--font-heading);
}

.card-title {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 12px;
    height: 36px;
    overflow: hidden;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
}

.btn-cart {
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid #f46036;
    border-radius: 8px;
    color: #f46036;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.btn-cart:hover {
    background: var(--accent-color);
    color: white;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .container {
        column-gap: 40px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 24px;
    }
    .sidebar {
        text-align: left;
        margin-bottom: 20px;
    }
    .nav-main,
    .nav-secondary {
        text-align: left;
    }
    .nav-main a.active::after {
        display: none;
    }

    /* Main nav: horizontal scrollable pill tabs */
    .nav-main {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        /* trailing padding so the last tab scrolls fully into view */
        padding-right: 12px;
        padding-bottom: 2px;
        margin-bottom: 16px;
        /* no negative margins — they cause page-level horizontal scroll */
    }
    .nav-main::-webkit-scrollbar {
        display: none;
    }
    .nav-main li {
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .nav-main a {
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-items: center;
        padding: 10px 18px;
        min-height: 42px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid #e0e0db;
        white-space: nowrap;
        color: var(--text-main);
    }
    .nav-main a::before {
        display: none;
    }
    .nav-main a.active {
        background: #1a1a1a;
        color: #fff;
        border-color: #1a1a1a;
        margin-right: 0;
    }
    .nav-main a:hover:not(.active) {
        border-color: var(--accent-color);
        color: var(--accent-color);
    }

    /* Secondary nav: 2-column grid — clean, intentional, touch-friendly */
    .nav-secondary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #e8e8e4;
    }
    .nav-secondary li {
        margin-bottom: 0;
    }
    .nav-secondary a {
        display: flex;
        align-items: center;
        min-height: 40px;
        font-size: 13px;
        font-weight: 400;
        color: #555;
        padding: 4px 0;
    }

    /* Hide breadcrumbs on mobile — nav provides context */
    .wl-breadcrumbs {
        display: none;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Wishlist --- */
.wishlist-empty {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.wishlist-empty a {
    color: var(--accent-color);
    text-decoration: none;
}

.wishlist-empty a:hover {
    text-decoration: underline;
}

.wishlist-footer {
    margin-top: 20px;
    margin-bottom: 60px;
    text-align: right;
}

.wishlist-see-all {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wishlist-see-all:hover {
    text-decoration: underline;
}

/* Guest notice on /my-account/ ─────────────────────────────────────────────── */
.account-guest-notice {
    padding: 60px 20px 80px;
    text-align: center;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.account-guest-notice .account-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}
.account-guest-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}
.account-guest-btn {
    margin-top: 8px;
    padding: 14px 40px;
    background: #ff5c33;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.2s;
}
.account-guest-btn:hover {
    background: #c95735;
}

.hp-account-state {
    max-width: 720px;
    padding: 32px;
    border: 1px solid #e8e2db;
    border-radius: 14px;
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 18px 45px rgba(25, 25, 25, 0.06);
}

.hp-account-state__eyebrow {
    margin-bottom: 12px;
    color: #c36a48;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-account-state__title {
    margin: 0 0 14px;
    color: #1a1a1a;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.05;
}

.hp-account-state__text {
    margin: 0;
    color: #5f5f5f;
    font-size: 15px;
    line-height: 1.7;
    max-width: 56ch;
}

.hp-account-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hp-account-state__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #f2724c;
    border-radius: 10px;
    background: #f2724c;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hp-account-state__button:hover {
    background: #cf623f;
    border-color: #cf623f;
}

.hp-account-state__button--secondary {
    background: transparent;
    color: #f2724c;
}

.hp-account-state__button--secondary:hover {
    background: #f2724c;
    color: #fff;
}

/* Lost-password / reset-password full-page wrapper ─────────────────────── */
.hp-auth-page-wrap {
    --c-primary: #ff5c33;
    --font-heading: "Advent Pro", sans-serif;
    --font-body: "Inter", sans-serif;
    background: #f8f8f6;
    min-height: 50vh;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hp-auth-form-wrap {
    width: 100%;
    max-width: 480px;
}

.hp-form-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    color: #000;
    margin: 0 0 12px;
}

.hp-form-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 32px;
}

/* WC notices inside the page wrapper */
.hp-auth-page-wrap .woocommerce-error,
.hp-auth-page-wrap .woocommerce-message,
.hp-auth-page-wrap .woocommerce-info {
    margin-bottom: 24px;
    border-radius: 6px;
    font-size: 14px;
}

/* Strength bar inside the page form matches modal styles —
   .pwd-strength is defined in modal.css which loads globally */

.hp-form-back-link {
    font-family: var(--font-body);
    font-size: 14px;
    color: #111;
    text-decoration: none;
}
.hp-form-back-link:hover {
    text-decoration: underline;
}

/* ── Main content column: consistent top anchor ─────────────────────────────── */
/* Both .content (flex) and .order-module-container (block) are second-column
   grid children. Pinning align-self: start prevents grid-stretch from shifting
   their top edge, and zero top margin/padding removes any inherited offset. */
.container > .content,
.container > .order-module-container {
    align-self: start;
    padding-top: 0;
    margin-top: 0;
}

/* ── Breadcrumbs (account section) ─────────────────────────────────────────── */
.wl-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
}

.wl-breadcrumbs a {
    color: #636363;
    text-decoration: none;
}

.wl-breadcrumbs a:hover {
    color: #f46036;
}

.wl-breadcrumbs span {
    color: #a5a5a5;
}

/* ── Shared profile sub-page titles ─────────────────────────────────────────── */
.addr-page-title,
.pm-page-title,
.faq-page-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 32px;
}

/* ══ My Addresses ════════════════════════════════════════════════════════════ */

.addr-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.addr-card {
    background: #fff;
    border: 1px solid #e8e8e4;
    border-radius: 12px;
    padding: 28px;
}

.addr-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.addr-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.addr-edit-btn {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.addr-edit-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Rendered address display */
.addr-display {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-main);
}

.addr-display p {
    margin: 0;
}

.addr-empty-text {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Address edit form */
.addr-form {
    margin-top: 20px;
}

.addr-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 0;
}

.addr-form__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.addr-form__group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.addr-form__group .req {
    color: var(--accent-color);
}

.addr-form__group input {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.addr-form__group input:focus {
    border-color: var(--accent-color);
}

.addr-input-error {
    border-color: #e44444 !important;
}

.addr-form__actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.addr-save-btn {
    padding: 10px 28px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.addr-save-btn:hover:not(:disabled) {
    background: #d45a36;
}

.addr-save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.addr-cancel-btn {
    padding: 10px 20px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.addr-cancel-btn:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.addr-form-msg {
    font-size: 13px;
    margin-top: 10px;
    min-height: 18px;
    line-height: 1.5;
}

.addr-msg-success {
    color: #2e7d32;
}

.addr-msg-error {
    color: #c62828;
}

@media (max-width: 900px) {
    .addr-cards-grid {
        grid-template-columns: 1fr;
    }

    .addr-form__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .addr-card {
        padding: 20px 16px;
    }
}

/* ── Shipping addresses section header ─────────────────────────────────────── */
.addr-section {
    margin-bottom: 8px;
}

.addr-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.addr-section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

/* Add-address toggle button */
.addr-add-btn {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 7px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.addr-add-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Stacked list of shipping address cards */
#addr-shipping-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* New-address card: dashed border to signal it's a form, not saved data */
.addr-card--new {
    border-style: dashed;
}

/* Card header with both edit and delete buttons */
.addr-card__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* Delete button */
.addr-delete-btn {
    flex-shrink: 0;
    background: none;
    border: 1px solid #e44444;
    color: #e44444;
    font-family: var(--font-body);
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.addr-delete-btn:hover:not(:disabled) {
    background: #e44444;
    color: #fff;
}

.addr-delete-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Shipping cards added below billing have no extra top gap */
.addr-card--shipping + .addr-card--shipping {
    margin-top: 0;
}

/* ══ Payment Methods ══════════════════════════════════════════════════════════ */

.pm-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 24px 48px;
    border: 2px dashed #e0e0db;
    border-radius: 16px;
    margin-bottom: 48px;
}

.pm-empty-icon {
    width: 64px;
    height: 64px;
    background: #f5f5f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pm-empty-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-muted);
}

.pm-empty-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 10px;
}

.pm-empty-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 380px;
    margin: 0 0 24px;
    line-height: 1.6;
}

.pm-add-btn {
    padding: 12px 32px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.45;
    margin-bottom: 12px;
}

.pm-coming-soon {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.pm-info-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 20px;
}

.pm-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pm-method-card {
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #e8e8e4;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pm-method-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.pm-method-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
}

.pm-method-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.pm-method-desc {
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .pm-methods-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .pm-methods-grid {
        grid-template-columns: 1fr;
    }
}

/* ══ FAQ ══════════════════════════════════════════════════════════════════════ */

.faq-sections {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding-bottom: 40px;
}

.faq-section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 4px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0ec;
}

.faq-list {
    margin-top: 0;
}

.faq-item {
    border-bottom: 1px solid #f0f0ec;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    text-align: left;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 0 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 640px;
}

.faq-item.open .faq-answer {
    display: block;
}

.hp-account-order-details > p:first-child {
    margin: 0 0 22px;
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.7;
}

.hp-account-order-details > p:first-child mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 4px;
    padding: 4px 12px;
    border-radius: 10px;
    background: rgba(242, 114, 76, 0.12);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.hp-account-order-details > p:first-child mark.order-number {
    min-width: 84px;
    font-size: 15px;
}

.hp-account-order-details > p:first-child mark.order-status {
    background: rgba(242, 114, 76, 0.18);
}

.hp-account-order-details .woocommerce-table--order-details tfoot:first-of-type th,
.hp-account-order-details .woocommerce-table--order-details tfoot:first-of-type td {
    padding-top: 20px;
    border-top: 1px solid rgba(27, 31, 59, 0.08);
}

.hp-account-order-details .woocommerce-table--order-details .order-actions--heading {
    width: 148px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    vertical-align: top;
    white-space: nowrap;
}

.hp-account-order-details .woocommerce-table--order-details tfoot:first-of-type td {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hp-account-order-details .woocommerce-table--order-details .order-actions-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid rgba(242, 114, 76, 0.28);
    border-radius: 12px;
    background: rgba(242, 114, 76, 0.1);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
        transform 0.2s ease;
}

.hp-account-order-details .woocommerce-table--order-details .order-actions-button:hover,
.hp-account-order-details .woocommerce-table--order-details .order-actions-button:focus {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-1px);
}

.hp-account-order-details .hp-order-again {
    margin: 24px 0 0;
}

.hp-account-order-details .hp-order-again-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid var(--accent-color);
    border-radius: 14px;
    background: var(--accent-color);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(242, 114, 76, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.hp-account-order-details .hp-order-again-button:hover,
.hp-account-order-details .hp-order-again-button:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(242, 114, 76, 0.24);
}

.hp-account-order-details .hp-order-again-button.loading,
.hp-account-order-details .hp-order-again-button:disabled {
    cursor: wait;
    opacity: 0.72;
    pointer-events: none;
}

@media (max-width: 640px) {
    .hp-account-state {
        padding: 24px 20px;
    }

    .hp-account-state__title {
        font-size: 28px;
    }

    .hp-account-state__actions {
        flex-direction: column;
    }

    .hp-account-state__button {
        width: 100%;
    }

    .hp-account-order-details > p:first-child mark {
        margin: 4px 4px 0 0;
    }

    .hp-account-order-details .woocommerce-table--order-details .order-actions--heading,
    .hp-account-order-details .woocommerce-table--order-details tfoot:first-of-type td {
        display: block;
        width: 100%;
    }

    .hp-account-order-details .woocommerce-table--order-details .order-actions--heading {
        padding-bottom: 12px;
    }

    .hp-account-order-details .woocommerce-table--order-details .order-actions-button {
        width: 100%;
    }

    .hp-account-order-details .hp-order-again-button {
        width: 100%;
    }
}
