/* Sign-in + My Account (site 21): the legacy "Login Customers" block and the account pages' strip. */
.registered-customers .block-customer-login, .ias-auth { max-width: 480px; margin: 0 auto; background: #fff; border-radius: 18px;
    padding: 32px 32px 28px; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.registered-customers .block-title { font-size: 20px; margin-bottom: 12px; }
.registered-customers .field.note { color: #6E6E73; font-size: 14px; margin-bottom: 20px; }
.registered-customers .form-control { border-radius: 10px; min-height: 46px; }
.registered-customers .action.login.primary, .ias-auth .ias-primary-btn { width: 100%; min-height: 46px; border: 0; border-radius: 10px; color: #fff;
    background: linear-gradient(90deg, #08205E 0, #395CCC 100%); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.ias-auth .ias-page-title { font-size: 24px; color: #1D1D1F; }
.ias-auth .ias-page-sub { color: #6E6E73; }
/* My Address list: the "+ Add Address" box of the legacy store, as tall as an address card's first rows. */
.ias-add-address-tile { min-height: 64px; }
.profile-saved-address-card .edit_section { margin-top: 12px; }

/* ---------------------------------------------------------------- My Account frame (site 21)
   The legacy account pages (user/userAccount.jsp, helpdesk/productMyaccount.jsp): title and rule, the account links in a
   white box on the left, the page in white rounded panels on the right. */
.ias-account-page { padding-bottom: 56px; }
.ias-account-title { font-size: 24px; line-height: 30px; color: #1D1D1F; }
.ias-account-rule { margin: 14px 0 24px; opacity: .15; }
.ias-account-nav { background: #fff; border: 1px solid #E4E4E4; border-radius: 14px; padding: 8px; gap: 2px; }
.ias-account-nav .list-group-item { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0;
    border-radius: 10px !important; padding: 11px 14px; background: transparent; color: #1D1D1F; font-size: 15px; line-height: 22px; text-align: left; }
.ias-account-nav .list-group-item .fa { color: #9A9AA0; font-size: 14px; }
.ias-account-nav .list-group-item:hover, .ias-account-nav .list-group-item:focus-visible { background: #F5F5F7; color: #1D1D1F; }
.ias-account-nav .list-group-item.active { background: #EEF3FF; color: #0D2B8C; font-weight: 600; }
.ias-account-nav .list-group-item.active .fa { color: #0D2B8C; }
.ias-account-nav-form { display: block; border-top: 1px solid #EDEDED; margin-top: 6px !important; padding-top: 6px; }

.ias-panel { background: #fff; border: 1px solid #E4E4E4; border-radius: 14px; padding: 24px; margin: 0 0 24px; }
.ias-panel-fill { height: calc(100% - 24px); }
.ias-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid #EDEDED; }
.ias-panel-title { margin: 0; padding: 0; font-size: 18px; line-height: 24px; font-weight: 600; color: #1D1D1F; }
.ias-panel-sub { font-size: 14px; font-weight: 400; color: #6E6E73; margin-left: 8px; }
.ias-panel-link { flex: 0 0 auto; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #2D60E3; text-decoration: none; }
.ias-panel-link:hover { text-decoration: underline; }
.ias-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; }
.ias-info-grid .title { font-size: 13px; line-height: 18px; color: #6E6E73; margin-bottom: 4px; }
.ias-info-grid .title_name, .ias-panel p.title_name { font-size: 15px; line-height: 22px; color: #1D1D1F; overflow-wrap: anywhere; }
.ias-info-wide { grid-column: span 2; }

.ias-account-empty { text-align: center; padding: 48px 24px; }
.ias-account-empty .fa { font-size: 36px; color: #B4B4BA; margin-bottom: 14px; }
.ias-account-empty h2 { font-size: 18px; line-height: 24px; font-weight: 600; color: #1D1D1F; margin: 0 0 6px; }
.ias-account-empty p { font-size: 14px; color: #6E6E73; margin: 0 0 18px; }
.ias-account-page .btn.gradint-btn { border: 0; color: #fff; }
.ias-account-empty .btn { height: 40px; line-height: 40px; padding: 0 22px; font-size: 14px; border-radius: 6px; }

/* Orders: the legacy myorders/myOrders.jsp card - the items, then "Order Placed / Order No" and Order Info. */
.ias-order-card { padding: 0; overflow: hidden; }
.ias-order-line { display: flex; gap: 20px; align-items: flex-start; padding: 20px 24px; }
.ias-order-line + .ias-order-line { border-top: 1px solid #EDEDED; }
.ias-order-thumb { flex: 0 0 88px; width: 88px; }
.ias-order-thumb img { width: 88px; height: 88px; object-fit: contain; }
.ias-order-line-text { flex: 1 1 0; min-width: 0; font-size: 14px; line-height: 20px; color: #1D1D1F; overflow-wrap: anywhere; }
.ias-order-line-text h2 { font-size: 16px; line-height: 22px; font-weight: 600; }
.ias-order-line-text .category_cart { font-size: 12px; line-height: 16px; color: #6E6E73; margin-bottom: 2px; }
.ias-order-status img { width: 16px; height: 16px; vertical-align: -3px; }
.ias-order-line-price { flex: 0 0 auto; font-size: 15px; font-weight: 600; color: #1D1D1F; white-space: nowrap; }
.ias-order-line-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 6px; }
.ias-order-line-links a { font-size: 13px; color: #2D60E3; text-decoration: none; }
.ias-order-line-links a:hover { text-decoration: underline; }
.ias-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; background: #FAFAFB; border-top: 1px solid #EDEDED;
    font-size: 14px; line-height: 20px; color: #1D1D1F; }
.ias-order-info, .ias-order-head-actions .btn { flex: 0 0 auto; height: 34px; line-height: 32px; padding: 0 16px; font-size: 13px; border-radius: 6px; color: #2D60E3; border-color: #2D60E3; background: #fff; }
.ias-order-info:hover, .ias-order-head-actions .btn:hover { background: #2D60E3; border-color: #2D60E3; color: #fff; }

/* Order detail */
#order_details_page > .ias-panel:first-child { padding: 0; overflow: hidden; }
.ias-order-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; padding: 20px 24px; background: #FAFAFB; border-bottom: 1px solid #EDEDED; }
.ias-order-number { font-size: 15px; line-height: 22px; font-weight: 600; color: #1D1D1F; }
.order-details-meta { font-size: 14px; line-height: 20px; color: #6E6E73; }
.ias-order-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ias-sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; color: #1D1D1F; margin-bottom: 12px; }
.ias-sum-row span:last-child { font-weight: 600; white-space: nowrap; }
.ias-sum-total { font-size: 16px; padding-top: 12px; margin-top: 4px; border-top: 1px solid #EDEDED; }
.ias-order-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.ias-order-actions .btn { height: 40px; line-height: 38px; padding: 0 22px; font-size: 14px; border-radius: 6px; }
.ias-order-actions .btn-secondary { background: #6C757D; border: 1px solid #6C757D; color: #fff; }
.ias-order-actions .gradint-btn { line-height: 40px; }
.ias-panel .ias-timeline { margin-bottom: 0; }
.ias-fields .btn-outline-danger { --bs-btn-bg: #fff; } /* at rest only: a plain background here also won on hover, under white text */
/* the theme gives every .btn its blue gradient on hover (desktop); a destructive action stays red */
.ias-fields .btn-outline-danger:hover, .ias-fields .btn-outline-danger:focus-visible { background: #DC3545; border-color: #DC3545; color: #fff; }

/* Addresses and wishlist inside the frame */
.ias-account-main .save_address_details { margin-bottom: 0; }
.ias-account-main .profile-saved-address-card .box-rounded { height: calc(100% - 1rem); }
.ias-add-address-tile { min-height: 64px; }
.profile-saved-address-card .edit_section { margin-top: 12px; }
.ias-note-unread { border-color: #2D60E3; }

@media (max-width: 767.98px) {
    .ias-account-rule { margin: 12px 0 16px; }
    .ias-account-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 6px; gap: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .ias-account-nav::-webkit-scrollbar { display: none; }
    .ias-account-nav .list-group-item { width: auto; flex: 0 0 auto; white-space: nowrap; padding: 8px 14px; font-size: 14px; }
    .ias-account-nav .list-group-item .fa { display: none; }
    .ias-account-nav-form { flex: 0 0 auto; border-top: 0; margin-top: 0 !important; padding-top: 0; }
    /* more links than fit: a faded edge with a chevron on the side that scrolls (ias.js sets ias-more-left/right) */
    .ias-account-nav-wrap { position: relative; }
    .ias-account-nav-wrap::before, .ias-account-nav-wrap::after { position: absolute; top: 1px; bottom: 1px; z-index: 1; width: 44px;
        display: flex; align-items: center; color: #6E6E73; font-size: 22px; line-height: 1; pointer-events: none; opacity: 0;
        transition: opacity .15s ease; }
    .ias-account-nav-wrap::before { content: "\2039"; left: 1px; justify-content: flex-start; padding-left: 8px;
        border-radius: 13px 0 0 13px; background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff 55%); }
    .ias-account-nav-wrap::after { content: "\203A"; right: 1px; justify-content: flex-end; padding-right: 8px;
        border-radius: 0 13px 13px 0; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 55%); }
    .ias-account-nav-wrap.ias-more-left::before, .ias-account-nav-wrap.ias-more-right::after { opacity: 1; }
    .ias-panel { padding: 18px 16px; margin-bottom: 16px; }
    .ias-order-card { padding: 0; }
    .ias-panel-fill { height: auto; }
    .ias-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .ias-order-line { padding: 16px; gap: 14px; flex-wrap: wrap; }
    .ias-order-thumb, .ias-order-thumb img { flex-basis: 64px; width: 64px; height: 64px; }
    .ias-order-line-price { flex-basis: 100%; padding-left: 78px; }
    .ias-order-foot, .ias-order-head { padding: 14px 16px; }
    .ias-order-foot { flex-wrap: wrap; }
}
.ias-account-page .breadcrumb { --bs-breadcrumb-divider: ">"; font-size: 14px; }
.ias-account-page .breadcrumb-item + .breadcrumb-item::before { content: ">"; color: #6E6E73; }
.ias-account-empty .btn { margin-top: 18px; }
.ias-account-main .address-box { border: 1px solid #E4E4E4 !important; }
.ias-account-main .profile-address-phone-sep { display: none; }
/* Wishlist cards inside the frame */
.ias-account-main .wishlist-page { padding: 0; margin: calc(-1 * var(--bs-gutter-y)) calc(-.5 * var(--bs-gutter-x)) 24px !important; }
.ias-account-main .product_wishlist { border: 1px solid #E4E4E4 !important; border-radius: 14px; padding: 16px; overflow: hidden; background: #fff; }
.ias-account-main .product_wishlist .product-image { display: flex; align-items: center; justify-content: center; height: 180px; margin-bottom: 12px; }
.ias-account-main .product_wishlist .product-image img { max-height: 180px; width: auto; object-fit: contain; }
.ias-account-main .product_wishlist .accor_product_title { font-size: 15px; line-height: 20px; font-weight: 600; color: #1D1D1F; }
.ias-account-main .product_wishlist .price { font-size: 14px; }
.ias-account-main .product_wishlist .new-price { font-weight: 600; color: #1D1D1F; }
.ias-account-main .product_wishlist .old-price { color: #6E6E73; text-decoration: line-through; font-size: 12px; }
.ias-account-main .product_wishlist .btn-addtocart { height: 40px; line-height: 40px; padding: 0 12px; border: 0; border-radius: 6px; color: #fff; font-size: 13px;
    letter-spacing: .5px; text-transform: uppercase; background: linear-gradient(90deg, #2D60E3, #0D2B8C); }
.ias-account-main .product_wishlist .btn-addtocart:disabled { opacity: .5; }
.ias-account-main .wishlist-remove-btn { width: 32px; height: 32px; padding: 0; border-radius: 50%; background: #F5F5F7; border: 0; color: #6E6E73; z-index: 1; }
.ias-account-main .wishlist-remove-btn:hover { background: #FDECEC; color: #C0392B; }
@media (max-width: 767.98px) {
    .ias-account-main .product_wishlist { padding: 12px; }
    .ias-account-main .product_wishlist .product-image, .ias-account-main .product_wishlist .product-image img { height: 120px; max-height: 120px; }
}
