/* Auth & static content pages */

.content-page {
    min-height: calc(100vh - 72px);
    background: var(--bg-light);
}

.content-page__breadcrumb {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.content-breadcrumb {
    font-size: 0.8125rem;
    margin: 0;
}

.content-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.content-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.content-breadcrumb .breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

/* Auth */
.auth-page {
    padding: 48px 0 80px;
}

.auth-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.auth-card__grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .auth-card__grid {
        grid-template-columns: 1fr 1fr;
        min-height: 560px;
    }
}

.auth-card__form {
    padding: 40px 32px;
}

@media (min-width: 576px) {
    .auth-card__form {
        padding: 48px 56px;
    }
}

.auth-card__aside {
    display: none;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 48px 40px;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .auth-card__aside {
        display: flex;
    }
}

.auth-card__aside h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.25;
}

.auth-card__aside p {
    font-size: 0.9375rem;
    opacity: 0.92;
    line-height: 1.65;
    margin-bottom: 0;
}

.auth-card__aside ul {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.auth-card__aside li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    margin-bottom: 12px;
    opacity: 0.95;
}

.auth-card__aside li i {
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-heading {
    margin-bottom: 8px;
}

.auth-heading h1 {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin: 0 0 6px;
}

.auth-heading p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.auth-alert {
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.auth-form {
    margin-top: 28px;
}

.auth-form .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.auth-form .form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 0.9375rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.auth-form .form-control.is-invalid {
    border-color: #dc3545;
}

.auth-form .invalid-feedback {
    font-size: 0.8125rem;
}

.auth-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.auth-form__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-body);
    margin: 0;
    cursor: pointer;
}

.auth-form__remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.auth-form__terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-body);
    margin-bottom: 24px;
    cursor: pointer;
}

.auth-form__terms input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.auth-form__terms a {
    color: var(--primary);
    font-weight: 500;
}

.auth-form__terms a:hover {
    color: var(--primary-dark);
}

.auth-form__link {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.auth-form__link:hover {
    color: var(--primary-dark);
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
}

.auth-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.35);
}

.auth-btn:active {
    transform: scale(0.98);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
}

.auth-switch a:hover {
    color: var(--primary-dark);
}

.auth-password-field__wrap {
    position: relative;
}

.auth-password-field__wrap .form-control {
    padding-right: 48px;
}

.auth-password-field__toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-password-field__toggle:hover {
    color: var(--primary);
}

/* Account */
.account-page {
    padding: 48px 0 80px;
}

.account-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    height: 100%;
}

.account-card--profile {
    text-align: center;
}

.account-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.account-card__name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
}

.account-card__email {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0 0 8px;
    word-break: break-word;
}

.account-card__meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.account-card__logout {
    margin: 0;
}

.account-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.account-card__lead {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.account-btn--outline {
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-dark);
}

.account-btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.account-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-links li + li {
    margin-top: 8px;
}

.account-links a,
.account-links li > span {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.account-links a:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.account-links i {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 2px;
}

.account-links strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.account-links small {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.account-links__item--muted > span {
    opacity: 0.72;
    cursor: default;
}

.account-links__item--muted i {
    color: var(--text-muted);
}

/* Static pages */
.static-page {
    padding: 40px 0 80px;
}

.static-page__header {
    margin-bottom: 32px;
}

.static-page__header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin: 0 0 8px;
}

.static-page__meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.static-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.static-page__body {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .static-page__body {
        padding: 40px 48px;
    }
}

.static-page__body h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 28px 0 12px;
}

.static-page__body h2:first-child {
    margin-top: 0;
}

.static-page__body p,
.static-page__body li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
}

.static-page__body ul,
.static-page__body ol {
    padding-left: 1.25rem;
    margin-bottom: 16px;
}

.static-page__body li {
    margin-bottom: 8px;
}

.static-page__body a {
    color: var(--primary);
    font-weight: 500;
}

.static-page__body a:hover {
    color: var(--primary-dark);
}

/* About page */
.about-page .content-page__breadcrumb {
    margin-bottom: 0;
}

.about-hero {
    position: relative;
    min-height: clamp(320px, 52vh, 520px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-bottom: 0;
}

.about-hero__media {
    position: absolute;
    inset: 0;
}

.about-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.25) 0%,
        rgba(18, 18, 18, 0.55) 55%,
        rgba(18, 18, 18, 0.82) 100%
    );
}

.about-hero__content {
    position: relative;
    z-index: 1;
    padding: 48px 0 56px;
    color: #fff;
    max-width: 720px;
}

.about-hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0 0 12px;
}

.about-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 16px;
}

.about-hero__lead {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    line-height: 1.55;
    margin: 0;
    opacity: 0.95;
}

.about-hero__updated {
    font-size: 0.8125rem;
    margin: 16px 0 0;
    opacity: 0.75;
}

.about-values {
    margin-top: -40px;
    position: relative;
    z-index: 2;
    padding-bottom: 8px;
}

.about-value-card {
    height: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-value-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.08);
}

.about-value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(185, 28, 28, 0.1);
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.about-value-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.about-value-card__text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

.about-section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}

.about-section-lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 520px;
}

.about-story__media,
.about-gallery__item,
.about-process__media img {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-story__media img,
.about-gallery__item img,
.about-process__media img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.about-story__media img {
    aspect-ratio: 4 / 3;
    min-height: 280px;
}

.about-story__copy p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 16px;
}

.about-story__copy p:last-child {
    margin-bottom: 0;
}

.about-gallery__header {
    margin-bottom: 28px;
}

.about-gallery__item {
    position: relative;
    margin: 0;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.about-gallery__item img {
    aspect-ratio: 4 / 3;
    min-height: 220px;
    transition: transform 0.35s ease;
}

.about-gallery__item--featured img {
    aspect-ratio: 16 / 9;
    min-height: 280px;
}

.about-gallery__item:hover img {
    transform: scale(1.03);
}

.about-gallery__item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 16px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(transparent, rgba(18, 18, 18, 0.75));
}

.about-process__steps {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-process__steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.about-process__steps strong {
    grid-column: 1 / -1;
    font-size: 1rem;
    color: var(--text-dark);
}

.about-process__steps span {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-body);
}

.about-process__media {
    display: grid;
    gap: 12px;
}

.about-process__media img {
    aspect-ratio: 4 / 3;
    min-height: 180px;
    box-shadow: var(--shadow-sm);
}

.about-editorial__inner .about-section-heading {
    margin-bottom: 20px;
}

.about-editorial__inner .static-page__body {
    margin: 0;
}

.about-cta {
    padding: 0 0 80px;
}

.about-cta__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 12px 40px rgba(185, 28, 28, 0.25);
}

.about-cta__title {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.about-cta__copy p {
    margin: 0;
    font-size: 0.9375rem;
    opacity: 0.92;
    max-width: 420px;
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-cta__actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
}

.about-cta__actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 767.98px) {
    .about-values {
        margin-top: -24px;
    }

    .about-value-card {
        padding: 18px 16px;
    }

    .about-hero__content {
        padding: 36px 0 44px;
    }

    .about-cta {
        padding-bottom: 64px;
    }

    .about-cta__card {
        padding: 28px 24px;
    }

    .about-cta__actions {
        width: 100%;
    }

    .about-cta__actions .btn {
        flex: 1 1 auto;
        min-width: 140px;
    }
}

/* FAQ accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-item__btn:hover {
    background: var(--bg-light);
}

.faq-item__btn i {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.25s ease;
}

.faq-item__btn:not(.collapsed) i {
    transform: rotate(180deg);
}

.faq-item__body {
    padding: 0 20px 18px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
}

.faq-contact {
    margin-top: 40px;
    padding: 24px;
    background: var(--hero-teal);
    border-radius: var(--radius-lg);
    text-align: center;
}

.faq-contact h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.faq-contact p {
    font-size: 0.9375rem;
    color: var(--text-body);
    margin: 0 0 16px;
}

.faq-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.faq-contact a:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Contact page */
.contact-page .static-page__header {
    margin-bottom: 28px;
}

.contact-alert {
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-info-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hero-teal);
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-card__icon i {
    font-size: 1.125rem;
}

.contact-info-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-info-card__value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

a.contact-info-card__value:hover {
    color: var(--primary);
}

.contact-page__note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-page__note a {
    color: var(--primary);
    font-weight: 500;
}

.contact-form-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 40px 48px;
    }
}

.contact-form-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 24px;
}

.contact-form .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 0.9375rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

@media (max-width: 767.98px) {
    .auth-page {
        padding: 32px 0 64px;
    }

    .auth-card__form {
        padding: 32px 24px;
    }

    .static-page {
        padding: 32px 0 64px;
    }

    .static-page__header h1 {
        font-size: 1.5rem;
    }

    .static-page__body {
        padding: 24px 20px;
    }
}

.account-orders {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-orders__item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.account-orders__item:first-child {
    border-top: none;
    padding-top: 0;
}

.account-orders__main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-orders__main strong {
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.account-orders__main span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.account-orders__meta {
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.account-orders__status {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
}

.account-orders__link {
    color: inherit;
    text-decoration: none;
}

.account-orders__link:hover {
    color: var(--primary);
}

.account-orders__items-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Account layout */
.account-sidebar__profile {
    margin-bottom: 16px;
}

.account-sidebar__profile .account-card__name {
    font-size: 1.125rem;
    margin: 0 0 4px;
}

.account-sidebar__logout {
    margin-top: 16px;
}

.account-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.account-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.account-nav li:last-child .account-nav__link {
    border-bottom: none;
}

.account-nav__link:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--primary);
}

.account-nav__link.active {
    background: rgba(var(--primary-rgb, 139, 69, 19), 0.08);
    color: var(--primary);
}

.account-nav__link i {
    font-size: 1.125rem;
}

.account-nav__badge {
    margin-left: auto;
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.account-sidebar__logout .account-btn {
    gap: 8px;
}

.account-header {
    margin-bottom: 24px;
}

.account-header--with-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.account-header__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.account-header__lead {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.account-back {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 8px;
}

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

.account-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.account-card__head .account-card__title {
    margin: 0;
}

.account-card__action {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.account-card__action:hover {
    text-decoration: underline;
}

.account-stat {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    height: 100%;
}

.account-stat__label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.account-stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.account-stat__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.account-stat__link:hover {
    text-decoration: underline;
}

.account-btn--primary {
    border: none;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.account-btn--primary:hover {
    color: #fff;
    filter: brightness(1.05);
}

.account-btn--inline {
    width: auto;
    min-width: 160px;
}

.account-empty {
    color: var(--text-muted);
    margin: 0 0 16px;
}

.account-empty__action {
    width: auto;
    display: inline-flex;
}

.account-pagination {
    margin-top: 24px;
}

.account-placeholder {
    text-align: center;
    padding: 24px 12px;
}

.account-placeholder i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.account-placeholder h2 {
    font-size: 1.25rem;
    margin: 0 0 8px;
}

.account-placeholder p {
    color: var(--text-muted);
    max-width: 420px;
    margin: 0 auto 20px;
}

.account-order-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.account-order-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgba(var(--primary-rgb, 139, 69, 19), 0.12);
    color: var(--primary);
}

.account-order-badge--muted {
    background: var(--bg-light, #f5f5f5);
    color: var(--text-muted);
}

.account-order-items {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.account-order-items__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.account-order-items__row:first-child {
    border-top: none;
    padding-top: 0;
}

.account-order-items__row strong {
    display: block;
    font-size: 0.9375rem;
}

.account-order-items__row span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.account-order-totals {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.account-order-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    font-size: 0.9375rem;
}

.account-order-totals dt {
    color: var(--text-muted);
    font-weight: 500;
}

.account-order-totals dd {
    margin: 0;
    font-weight: 600;
}

.account-order-totals__total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 1rem;
}

.account-details {
    margin: 0;
}

.account-details > div {
    padding: 10px 0;
    border-top: 1px solid var(--border);
}

.account-details > div:first-child {
    border-top: none;
    padding-top: 0;
}

.account-details dt {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.account-details dd {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.account-form .form-label {
    font-weight: 600;
    font-size: 0.875rem;
}
