.account-page {
    padding: 160px 0 72px;
}

@media (max-width: 767px) {
    .account-page {
        padding: 136px 0 56px;
    }
}

.account-page__container {
    max-width: 1180px;
    width: calc(100% - 32px);
    margin: 0 auto;
}

.account-page__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    color: #7b756d;
    font-size: 14px;
}

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

.account-page__breadcrumbs a:hover {
    color: #d25802;
}

.account-page__breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-page__breadcrumbs li:not(:last-child)::after {
    content: '/';
    color: #b6ada3;
}

.account-page__breadcrumbs li:last-child span {
    color: #211812;
    pointer-events: none;
}

.account-login__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.account-card {
    min-height: 100%;
    padding: 32px;
    background: #fff;
    border: 1px solid rgba(38, 30, 24, .08);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(38, 30, 24, .08);
}

.account-card__title {
    margin: 0 0 16px;
    color: #211812;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
}

.account-card__subtitle {
    margin: 0 0 12px;
    color: #211812;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.account-card__text {
    margin: 0 0 24px;
    color: #5f574f;
    font-size: 16px;
    line-height: 1.6;
}

.account-form {
    display: grid;
    gap: 18px;
}

.account-form__field {
    display: grid;
    gap: 8px;
}
.account-form__group .account-form__field {
    margin-bottom: 20px;
}
.account-form__group .account-form__field:last-child {
    margin-bottom: 0;
}

.account-form__label {
    color: #211812;
    font-size: 14px;
    font-weight: 700;
}

.account-form__input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    color: #211812;
    background: #fff;
    border: 1px solid #ded7cf;
    border-radius: 4px;
    outline: none;
}

.account-form__input:focus {
    border-color: #d25802;
    box-shadow: 0 0 0 3px rgba(210, 88, 2, .12);
}

.account-form__forgotten {
    width: fit-content;
    color: #d25802;
    font-size: 14px;
    text-decoration: none;
}

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

.account-alert {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.45;
}

.account-alert--success {
    color: #23613a;
    background: #e8f6ed;
    border: 1px solid #b8e2c6;
}

.account-alert--danger {
    color: #8a1f11;
    background: #fff0ec;
    border: 1px solid #f4c2b8;
}

@media (max-width: 767px) {
    .account-page {
        padding: 136px 0 56px;
    }

    .account-login__grid {
        grid-template-columns: 1fr;
    }

    .account-card {
        padding: 24px;
    }

    .account-card__title {
        font-size: 24px;
    }
}

.account-page__header {
    margin-bottom: 28px;
}
.account-page__title {
    margin: 0;
    color: #211812;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 700;
}
.account-dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.account-dashboard__links {
    display: grid;
    gap: 12px;
}
.account-dashboard__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 14px 16px;
    color: #211812;
    background: #f7f4ef;
    border: 1px solid #eee5dc;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
}
.account-dashboard__link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #d25802;
    border-right: 2px solid #d25802;
    transform: rotate(45deg);
    flex: 0 0 8px;
    margin-left: 16px;
}
.account-dashboard__link:hover {
    color: #d25802;
    background: #fff;
}

@media (max-width: 767px) {
    .account-page__title {
        font-size: 30px;
    }
    .account-dashboard {
        grid-template-columns: 1fr;
    }
}

.account-panel {
    padding: 32px;
    background: #fff;
    border: 1px solid rgba(38, 30, 24, .08);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(38, 30, 24, .08);
}
.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}
.account-layout__content {
    min-width: 0;
}
.account-layout > #column-left,
.account-layout > #column-right {
    width: auto;
    padding: 0;
    float: none;
}
.account-layout > #column-right .list-group {
    display: grid;
    gap: 10px;
    margin: 0;
}
.account-layout > #column-right .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 16px;
    color: #211812;
    background: #fff;
    border: 1px solid #eee5dc;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(38, 30, 24, .06);
}
.account-layout > #column-right .list-group-item::after {
    content: '';
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-left: 14px;
    border-top: 2px solid #d25802;
    border-right: 2px solid #d25802;
    transform: rotate(45deg);
}
.account-layout > #column-right .list-group-item:hover {
    color: #d25802;
    background: #fbf8f4;
}
.account-panel .account-table-wrap {
    margin-bottom: 20px;
}
.account-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
}
.account-table-wrap {
    overflow-x: auto;
}
.account-table {
    width: 100%;
    border-collapse: collapse;
}
.account-table th,
.account-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eee5dc;
    color: #211812;
    text-align: left;
}
.account-table th {
    background: #fbf8f4;
    font-weight: 700;
}
.account-empty {
    margin: 0;
    color: #5f574f;
    font-size: 16px;
    line-height: 1.6;
}
.account-page .form-group {
    margin-bottom: 18px;
}
.account-page .control-label {
    display: block;
    margin-bottom: 8px;
    color: #211812;
    font-size: 14px;
    font-weight: 700;
}
.account-page .form-control {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #ded7cf;
    border-radius: 4px;
    outline: none;
}
.account-page textarea.form-control {
    min-height: 110px;
    padding-top: 12px;
}
.account-page .form-control:focus {
    border-color: #d25802;
    box-shadow: 0 0 0 3px rgba(210, 88, 2, .12);
}
.account-page .text-danger {
    margin-top: 6px;
    color: #b52b18;
    font-size: 13px;
}
.account-register-page #content {
    padding-top: 0;
    padding-bottom: 32px;
}
.account-register-form {
    display: block;
}
.account-register-form fieldset {
    display: grid;
    gap: 18px;
    margin: 0 0 32px;
    padding: 0;
    border: 0;
}
.account-register-form fieldset:last-of-type {
    margin-bottom: 24px;
}
.account-register-form legend {
    margin: 0;
    padding: 0 0 6px;
    color: #211812;
    border: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}
.account-register-form .form-group {
    margin: 0;
}
.account-register-form .form-group::before,
.account-register-form .form-group::after {
    display: none;
}
.account-register-form .col-sm-2,
.account-register-form .col-sm-10 {
    width: auto;
    padding: 0;
    float: none;
}
.account-register-form .radio,
.account-register-form .checkbox {
    margin: 8px 0 0;
}
.account-register-form .radio label,
.account-register-form .checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    padding-left: 0;
    color: #211812;
}
.account-register-form .radio input,
.account-register-form .checkbox input {
    position: static;
    margin: 0;
}
.account-register-form .buttons {
    margin: 0;
}
.account-register-form .buttons .pull-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    float: none !important;
    color: #5f574f;
    font-size: 15px;
    line-height: 1.45;
}
.account-register-form .buttons input[type="checkbox"] {
    margin: 0;
}
.account-register-form .buttons input[type="submit"] {
    border: 0;
}

@media (max-width: 767px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    .account-layout > #column-right {
        display: block !important;
    }
    .account-actions {
        flex-direction: column-reverse;
    }
    .account-actions .btn {
        width: 100%;
    }
    .account-panel {
        padding: 24px;
    }
}

.account-address-list {
    display: grid;
    gap: 16px;
}
.account-address-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px;
    background: #f7f4ef;
    border: 1px solid #eee5dc;
    border-radius: 8px;
}
.account-address-card__text {
    color: #211812;
    font-size: 16px;
    line-height: 1.6;
}
.account-address-card__text br {
    display: block;
}
.account-address-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.btn--danger {
    background: #8a1f11;
}
.btn--danger:hover {
    background: #74180d;
}
.btn--secondary {
    color: #211812;
    background: #fff;
    border: 1px solid #ded7cf;
    box-shadow: none;
}
.btn--secondary:hover {
    color: #d25802;
    background: #fbf8f4;
    box-shadow: 0 10px 24px rgba(38, 30, 24, .08);
}
@media (max-width: 767px) {
    .account-address-card {
        grid-template-columns: 1fr;
    }
    .account-address-card__actions {
        justify-content: flex-start;
    }
}

.account-wishlist {
    display: grid;
    gap: 18px;
}
.account-wishlist__item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 100px 280px;
    gap: 24px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(38, 30, 24, .08);
    border-radius: 8px;
    background: #fff;
}
.account-wishlist__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 8px;
    background: #fbf8f4;
}
.account-wishlist__image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.account-wishlist__title {
    display: inline-block;
    margin-bottom: 14px;
    color: #211812;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    text-decoration: none;
}
.account-wishlist__title:hover {
    color: #d25802;
}
.account-wishlist__meta {
    display: grid;
    gap: 8px;
    margin: 0;
    color: #5f574f;
    font-size: 15px;
    line-height: 1.45;
}
.account-wishlist__meta div {
    display: flex;
    gap: 8px;
}
.account-wishlist__meta dt {
    margin: 0;
    color: #8a8178;
    font-weight: 400;
}
.account-wishlist__meta dd {
    margin: 0;
    color: #211812;
}
.account-wishlist__price {
    color: #211812;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-align: right;
}
.account-wishlist__price strong {
    display: block;
}
.account-wishlist__price span {
    display: block;
    margin-top: 4px;
    color: #8a8178;
    font-size: 14px;
    font-weight: 400;
    text-decoration: line-through;
}
.account-wishlist__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.account-wishlist__actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
}
.account-wishlist__actions .btn--danger {
    background: #8f1f12;
    box-shadow: 0 10px 24px rgba(143, 31, 18, .18);
}
.account-wishlist__actions .btn--danger:hover {
    background: #76170d;
}

@media (max-width: 1024px) {
    .account-wishlist__item {
        grid-template-columns: 120px minmax(0, 1fr) 120px;
    }
    .account-wishlist__actions {
        grid-column: 2 / -1;
        max-width: 320px;
    }
    .account-wishlist__image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 767px) {
    .account-wishlist__item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
    }
    .account-wishlist__image {
        width: 96px;
        height: 96px;
    }
    .account-wishlist__price {
        grid-column: 2;
        text-align: left;
    }
    .account-wishlist__actions {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .account-wishlist__item {
        grid-template-columns: 1fr;
    }
    .account-wishlist__image {
        width: 100%;
        height: 180px;
    }
    .account-wishlist__price,
    .account-wishlist__actions {
        grid-column: auto;
    }
    .account-wishlist__actions {
        grid-template-columns: 1fr;
    }
}

.account-section-title {
    margin: 0 0 18px;
    color: #211812;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}
.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}
.account-info-card {
    padding: 20px;
    border: 1px solid rgba(38, 30, 24, .08);
    border-radius: 8px;
    background: #fbf8f4;
}
.account-info-card--wide {
    margin-top: 24px;
}
.account-info-card h3 {
    margin: 0 0 12px;
    color: #211812;
    font-size: 18px;
    line-height: 1.35;
}
.account-info-card p {
    display: grid;
    gap: 4px;
    margin: 0 0 14px;
}
.account-info-card p:last-child {
    margin-bottom: 0;
}
.account-info-card strong {
    color: #8a8178;
    font-size: 14px;
    font-weight: 600;
}
.account-info-card span,
.account-address,
.account-comment {
    color: #211812;
    font-size: 15px;
    line-height: 1.55;
}
.account-table__option {
    display: block;
    margin-top: 6px;
    color: #8a8178;
    font-size: 13px;
}
.account-table__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.account-table__actions .btn {
    font-size: 14px;
    padding: 6px 17px;
}

@media (max-width: 767px) {
    .account-info-grid {
        grid-template-columns: 1fr;
    }
    .account-section-title {
        font-size: 20px;
    }
}
