﻿/* panel */
.account {
    margin-bottom: 30px;
}

#account-forgotten .panel-title {
    font-size: 18px;
    line-height: 22px;
}

.form-group {
}

.form-control {
}

.account-menu {
    margin-bottom: 24px;
    list-style: none;
    padding: 0;
}

.account-menu li {
    margin-bottom: 15px;
}

.account-menu li a {
    display: block;
    padding: 10px 20px;
    background: #FFFFFF;
    border: 1px solid #D8D8D8;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
}

.account-menu li:hover a,
.account-menu li.active a {
    background: #f8c630;
    color: #fff;
}

.account-logout a{
    color: #f8c630;
}

.address-list-item__edit .link-remove {
    margin-left: 30px;
}

.address-list-item__edit .link-edit {
    /* color: #2e2e2e; */
}

/* order history */
.account-orders {
    margin-bottom: 30px;
}
.orders-list {
}
.order-item {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
    margin-left: -10px;
    margin-right: -10px;
}

.order-item-product {
    margin-left: 10px;
    margin-right: 10px;
    border: 1px solid #D8D8D8;
    padding: 10px;
    border-radius: 10px;
    margin-top: 15px;
}

.order-spoiler {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 16px;
    text-align: left;
    column-gap: 16px;
}

.order-summary-main,
.order-summary-meta {
    display: flex;
    align-items: center;
}

.order-summary-main {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.order-summary-meta {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 4px;
    white-space: nowrap;
}

.order-summary-separator,
.order-counts-separator {
    color: currentColor;
}

.order-spoiler .dropdown-arrow {
    transition: all 0.2s ease-in-out;
    width: 15px;
    height: 9px;
}

.order-spoiler.active .dropdown-arrow {
    transform: rotate(180deg);
    transition: all 0.2s ease-in-out;
}


@media screen and (max-width: 992px) {
    .order-spoiler.active {
        background: #f8c630;
        color: #fff;
    }
    
    /* .order-spoiler .dropdown-arrow {
        transition: all 0.2s ease-in-out;
    } */
    
    .order-spoiler.active .dropdown-arrow {
        filter: brightness(0) saturate(100%) invert(96%) sepia(100%) saturate(12%) hue-rotate(237deg) brightness(103%) contrast(103%);
        transform: rotate(180deg);
        /* transition: all 0.2s ease-in-out; */
    }
}

.order-number {
    
}
.order-date {
}
.order-counts {
    display: none;
}
.order-counts-separator {
    display: none;
}
.order-status {
    font-weight: 700;
}

.order-spoiler-content {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.order-spoiler-content.active {
    visibility: visible;
    opacity: 1;
    max-height: 100%;
    transition: all 0.2s ease-in-out;
}

.order-item-info {
    display: flex;
    margin-bottom: 5px;
}
.orders-item--image {
    width: 90px;
    min-width: 90px;
    height: auto;
    margin-right: 15px;
}
.orders-item--name {
}
.orders-item--name a{
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #2e2e2e;
    text-decoration: none;
}

.orders-item--name a:hover {
    text-decoration: none;
    color: #f8c630;
}

.orders-item--attr {
    font-size: 14px;
    line-height: 17px;
}
.orders-item--attr tr td:first-child {
    color: #A3A3A3;
}
.orders-item--attr tr td:last-child {
    font-weight: 600;
}

.order-item-price {
    display: flex;
    align-items: center;
    line-height: 25px;
}
.order-item-calc {
    display: flex;
    align-items: center;
}
.orders-price {
}
.orders-price-multiplier {
    margin: 0 12px;
}
.orders-quantity {

}
.orders-price-total {
    margin-left: auto;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    display: flex;
    color: #f8c630;
}

.order-total {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #D8D8D8;
}
.order-total-summ {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.order-total-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
}
.order-total-value {
    font-weight: 700;
    font-size: 30px;
    line-height: 37px;
    color: #f8c630;
}
.order-total-payment {
    margin-top: 22px;
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 24px;
    color: #2e2e2e;
}

.order-total-payment > div + div {
    margin-top: 4px;
}

.order-address {
    display: grid;
    gap: 24px;
    margin-left: 0;
    margin-right: 0;
    color: #2e2e2e;
}

.order-total .order-address {
    margin-left: 0;
    margin-right: 0;
}

.order-address-block {
    display: block;
    font-size: 16px;
    line-height: 22px;
}

.order-address-block strong {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 22px;
}

.order-address-block span {
    display: block;
    margin-bottom: 3px;
}

.account-wishlist .simple-link {
    padding: 10px 20px 0;
    display: inline-block;
}

.account-wishlist > .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.account-wishlist .col-grid {
    box-sizing: border-box;
    flex: 0 0 auto;
    display: flex;
    padding-right: 10px;
    padding-left: 10px;
    width: 50%;
    max-width: 50%;
}

@media only screen and (min-width: 768px) {
    .account-wishlist .col-grid.col-sm-4 {
        width: 33.333%;
        max-width: 33.333%;
    }
}

.account-wishlist .product-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
}

.account-wishlist .product-card-group {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.account-wishlist .product-card-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
}

.account-wishlist .product-card-action .simple-link {
    color: #f8c630;
    font-weight: 600;
    text-decoration: none;
}

.account-wishlist .product-card-action .simple-link:hover {
    text-decoration: underline;
}

@media only screen and (min-width: 768px) {
    .account-wishlist .product-card-image {
        flex: 0 0 auto;
        min-height: 239px;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }

    .account-wishlist .product-card-image a {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .account-wishlist .product-card-image img {
        width: auto;
        max-width: 100%;
        max-height: 239px;
        height: auto;
        object-fit: contain;
        font-size: 0;
        color: transparent;
    }
}

@media only screen and (min-width: 992px) {
    .account-wishlist .col-grid.col-md-3 {
        width: 25%;
        max-width: 25%;
    }
}

.account-empty {
    padding: 0 0 30px;
    text-align: left;
}

.account-empty p {
    margin: 0 0 15px;
    font-size: 18px;
    line-height: 22px;
}

.account-empty .btn {
    display: inline-block;
}

.account-guest-prompt {
    padding: 2rem 0 3rem;
    text-align: center;
}

.account-guest-prompt p {
    margin-bottom: 1rem;
}

.account-panel {
    padding-bottom: 2rem;
}

.account-hint {
    color: #666;
    max-width: 640px;
}

.account-settings {
    max-width: 920px;
}

.account-settings-section {
    padding: 20px;
    margin-bottom: 24px;
    background: #ffffff;
    border: 1px solid #D8D8D8;
    border-radius: 5px;
}

.account-settings-section__header {
    margin-bottom: 18px;
}

.account-settings-section__header h2 {
    margin: 0;
    font-size: 22px;
    line-height: 28px;
}

.account-settings-section__header p {
    margin: 8px 0 0;
    color: #666666;
    font-size: 14px;
    line-height: 20px;
}

.account-form {
    margin: 0;
}

.account-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 20px;
}

.account-form-grid--single {
    max-width: 420px;
}

.account-form-grid--password {
    max-width: 645px;
}

.account-form .form-group {
    margin: 0;
}

.account-form .form-group label {
    font-size: 16px;
    line-height: 20px;
}

.account-form .text-danger {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 18px;
}

.account-form-alert {
    margin-bottom: 16px;
    border-radius: 5px;
}

.account-form .alert-success {
    color: #206b2a;
    background: #edf8ee;
    border-color: #b9dfbf;
}

.account-form .alert-danger {
    color: #9d1d22;
    background: #fff0f0;
    border-color: #f2b9b9;
}

.account-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.account-form-actions .btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.account-settings-section--danger {
    border-color: #f2b9b9;
}

.account-danger-button {
    background: #f03136;
    border-color: #f03136;
    color: #ffffff;
}

.account-danger-button:hover,
.account-danger-button:focus-visible {
    background: #c92228;
    border-color: #c92228;
    color: #ffffff;
}

/* order history */

@media screen and (min-width: 576px) {
    .order-address,
    .order-total,
    .order-item-product,
    .order-item {
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (min-width: 768px) {
    .account-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .order-spoiler {
        font-size: 16px;
    }

    .order-counts {
        display: inline;
    }

    .order-counts-separator {
        display: inline;
    }
}

@media screen and (min-width: 992px) {
    .account-menu {
        display: flex;
        margin-bottom: 24px;
    }

    .account-menu li {
        margin-bottom: 0;
    }

    .account-menu li + li{
        margin-left: 20px;
    }

    .account-menu li.account-logout {
        margin-left: auto;
    }

    .account-orders {
        margin-bottom: 50px;
    }

    .order-spoiler {
        padding: 30px;
        font-weight: 700;
    }

    .order-item {
        border: 1px solid #D8D8D8;
        box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
        border-radius: 10px;
        margin-bottom: 30px;
    }

    .order-counts {
        font-weight: 400;
    }

    .order-address,
    .order-total,
    .order-item-product {
        margin-left: 30px;
        margin-right: 30px;
    }

    .order-item-product {
        display: flex;
        border: 0;
        padding: 0;
        border-radius: 0;
    }

    .order-item-price {
        margin-left: auto;
    }

    .orders-price-total {
        margin-left: 160px;
    }

    .orders-item--name a {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 10px;
    }

    .orders-item--image img{
        box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.04);
        filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.15));
        border-radius: 5px;
    }
}
