@media (min-width: 769px), print {
    .abs-margin-for-forms-desktop, .fieldset .legend, .column:not(.sidebar-main) form .actions-toolbar, .column:not(.sidebar-additional) form .actions-toolbar, .login-container .fieldset::after {
        margin-left: 0;
    }
    .fieldset > .field:not(.choice) > .label {
        width: auto;
    }
    .fieldset .row > .field:not(.choice) > .label {
        padding: 6px 15px 0 0;
        text-align: right;
        width: auto;
        box-sizing: border-box;
        float: left;
    }
    .fieldset .row > .field > .label {
        margin: 0;
    }
    .fieldset .row > .field {
        margin: 0 0 20px;
        box-sizing: border-box;
        margin: 0 0 22px;
    }
    .fieldset > .field.choice::before, .fieldset > .field.no-label::before {
        display: none;
    }
    
}
@media only screen and (max-width: 768px) {
    .account .page-main, .cms-privacy-policy .page-main {
        padding-top: 0px !important;
    }
}

.account .columns .column.main {
    max-width: none !important;
}

.sidebar-container {
    width: 100%;
    overflow: hidden;
}

.menu-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;

    /* Smooth scrolling and touch behavior */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.menu-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.menu-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 150px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    scroll-snap-align: start;
}

/* Active indicator line */
.menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #3490dc;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-item.active::after {
    transform: scaleX(1);
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
    border: none;
}

.menu-link:hover {
    background: rgba(52, 144, 220, 0.05);
    transform: translateX(4px);
}

.menu-item.active .menu-link {
    background: rgba(52, 144, 220, 0.1);
}

.menu-text {
    font-weight: 500;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item.active .menu-text {
    color: #3490dc;
    font-weight: 600;
}

.menu-icon {
    min-width: 20px;
    margin-right: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .menu-scroll-container {
        overflow-x: hidden;
        overflow-y: auto;
    }
    .menu-scroll-container::after {
        display: none;
    }            
}

@media (max-width: 767px) {
    .menu-items-wrapper {
        flex-direction: row;
        gap: 0.75rem;
        padding: 0.5rem;
        min-width: min-content;
    }

    .menu-link {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.75rem;
        height: 100%;
        justify-content: center;
    }
    .menu-link:hover {
        transform: translateY(-4px);
    }

    .menu-text {
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
    .menu-icon {
        margin: 0 0 0.5rem 0;
        font-size: 1.25rem;
    }

}

.fieldset {
    margin: 0 0 20px;
}

.fieldset > .legend {
    font-weight: bold;
    font-size: inherit;
    margin: 0 0 15px;
}

.fieldset .row > .field.required > .label::after {
    content: '*';
    color: #e02b27;
    font-size: 1.2rem;
    margin: 0 0 0 5px;
}

.fieldset > .field > .label, .fieldset .row > .field > .label {
    font-weight: normal;
    margin-bottom: 5px;
}

input[type="text"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"], input[type*="date"], input[type="email"] {
    border-radius: 10px;
    height: 45px;
    font-size: 16px;
    border: 1px solid #263238;
    padding: 0 15px;
}

select {
    height: 45px;
    border-radius: 10px;
    border: 1px solid #263238;
}

.actions-toolbar.move-end {
    justify-content: end;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    transition: all 0.3s;
}
.switch::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    top: 1px;
    left: 1px;
    transition: all 0.3s;
}

.checkbox:checked + .switch::after {
    left: 20px;
}
.checkbox:checked + .switch {
    background-color: #34c759;
}
.checkbox.ca {
    display: none;
}

.addresses-header .title {
    font-size: 20px;
}

.addresses-list-container {
    display: grid;
}

.addresses-list-content {
    width: 85%;
    justify-self: center;
}

.address-list {
    border-top: 1px solid #878b9f;
    padding: 20px 0;
}

.address-list a.action.edit, .address-list a.action.delete {
    color: #5c7682 !important;
}

.address-list a.action.edit:hover {
    color: #178652 !important;
    svg {
        fill: #178652;
    }
}

.address-list a.action.delete:hover {
    color: #d32d2d !important;
    svg {
        fill: #d32d2d;
    }
}

.default-address-tag {
    padding: 10px 15px;
    background: #d0dcfd;
    width: fit-content;
    border-radius: 10px;
    height: fit-content;
    font-size: 14px;
    font-weight: 700;
}

.account-information-container, .account-information-shipping-address-container, .form.form-edit-account, .addresses-list-container, .form.form-newsletter, input[type="text"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"], input[type*="date"], input[type="email"] {
    font-size: 16px;
}

@media (max-width: 767px) {
    .account-information-container, .account-information-shipping-address-container, .form.form-edit-account, .addresses-list-container, .form.form-newsletter, input[type="text"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"], input[type*="date"], input[type="email"] {
        font-size: 14px !important;
    }
}

.addresses-header .title, .account-information-container .title {
    font-weight: 700;
}

.addresses-header .description {
    font-size: 14px;
    color: #878b9f;
}

.addresses-header .default-btn {
    font-size: 16px !important;
}

@media (max-width: 767px) {
    .default-address-tag {
        font-size: 12px !important;   
    }
    .addresses-header .default-btn {
        font-size: 14px !important;
    }
}

.account-information-container .description {
    color: #878b9f;
    border-bottom: 1px solid #878b9f;
}

.account-information-container {
    width: 85%;
    justify-self: center;
}

.account-information-shipping-address-container {
    border-top: 1px solid #878b9f;
}

.account-information-shipping-address-container .title {
    font-weight: normal;
    color: #585a66;
}

.account-information-shipping-address-container .action a{
    font-size: 14px;
    color: #878b9f !important;
    text-decoration: underline !important;
}

.account-information-shipping-address-container .address-box {
    padding: 10px 25px;
    border: 1px solid #878b9f;
    border-radius: 10px;
}

.form.form-edit-account .legend.title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form.form-edit-account .description {
    font-size: 14px;
    color: #878b9f;
}

.form.form-edit-account .avatar-container {
    display: grid;
}

.form.form-edit-account .avatar-container .field-name-avatar {
    width: 85%;
    justify-self: center;
    border-top: 1px solid #878b9f;
    padding: 15px 0px;
}

.field-name-avatar img {
    border-radius: 50%;
}

.avatar-file-upload {
    border: 1px solid #263238;
    border-radius: 10px;
    padding: 8px 15px;
    transition: all 250ms;
}

.avatar-file-upload:hover {
    color: white;
    background: #263238;
}

.field.gender input[type="radio"] {
    width: 2rem;
    height: 2rem;
    border: 2px solid #071952;
}

.field.gender input[type="radio"]:checked {
    background: #071952;

}

.field.choice input[type="checkbox"] {
    margin-top: 0px;
    top: 0px;
}

.fieldset.password .field.password .control {
    display: block;
}

.password-strength-meter {
    margin-top: 0.5rem;
    border-radius: 0.5rem;
}

.password-weak .password-strength-meter::before, .password-medium .password-strength-meter::before, .password-strong .password-strength-meter::before, .password-very-strong .password-strength-meter::before {
    border-radius: 0.5rem;
}

/* My Orders */

.my-orders-container .title {
    font-size: 20px;
    font-weight: 700;
}

.my-orders-container .description {
    font-size: 14px;
    color: #878887;
}

.order-status-filter-wrapper {
    border-top: 1px solid #878887;
    padding-top: 15px;
    margin-bottom: 10px;
}

.order-status-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.my-orders-container .search-container {
    margin: 15px 0;
}

.my-orders-container .status-btn {
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s ease;
    opacity: 0.85;
}

.my-orders-container .status-btn.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 2px 3px rgb(123, 123, 123);
}

.my-orders-container .status-btn:hover {
    opacity: 1;
}


.orders-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order {
    /* border: 1px solid #ccc; */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0px 7px -5px black;
    transition: all 200ms ease;
}

.orders-container .order-link:hover .order {
    scale: 1.005;
    box-shadow: 0 0px 8px -3px #3a504e;
}

.order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.order-info .order-id {
    color: #585a66;
}

.status-item-count-wrapper {
    display: flex;
    text-align: right;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.status-item-count-wrapper .item-count {
    color: #585a66;
}

.status-item-count-wrapper .order-status {
    width: fit-content;
    padding: 5px 12px;
    border-radius: 10px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}


.order-products .product-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.order-products .product-list .product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-products .product-list .product-item .product-image {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    border-radius: 5px;
}

.order-products .product-list .product-item .product-details {
    flex: 1;
    padding-left: 10px;
}

.order-products .product-list .product-item .product-details .product-name {
    font-size: 16px;
}

.order-products .product-list .product-item .product-details .product-qty {
    color: #585a66;
    margin-top: 5px;
}

.order-products .product-list .product-item .product-subtotal {
    margin-left: 20px;
    text-align: right;
    font-weight: 700;
}


.order-summary {
    text-align: right;
    font-size: 14px;
    color: #878b9f;
}

.order-summary .original-subtotal {
    font-size: 12px;
    text-decoration: line-through;
    color: #888;
    margin-right: 5px;
}

.order-summary .discounted-subtotal {
    color: #888;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #c7c6c5;
    padding-top: 15px;
}

.order-footer .order-date {
    font-size: 16px;
    color: #585a66;
    line-height: inherit;
}

.order-footer .order-total {
    font-weight: 700;
}

.order-footer .order-total .grand-total {
    margin-left: 15px;
}

@media (max-width: 768px) {
    .order-footer .order-total .grand-total {
        margin-left: 0;
    }
}

/* My Order Detail */

.order-detail-container .title {
    font-size: 20px;
    font-weight: 700;
}

.order-detail-container .description {
    font-size: 14px;
    color: #878887;
}

.order-detail-container .line-divider {
    width: 80%;
    border-bottom: 1px solid #878b9f;
    margin: 20px 0 15px 0;
}

.shipping-address-container {
    padding-top: 15px;
    border-top: 1px solid #c7c6c5;
    margin-top: 15px;
}

.shipping-address-container .title, .subtotal-order-container .title, .order-detail-container .additional-price .title {
    font-size: 18px;
    font-weight: normal;
}

.shipping-address-container .shipping-address {
    padding: 10px 20px;
    border: 1px solid #878b9f;
    border-radius: 10px;
    font-size: 16px;
}


.order-products{
    border-top: 1px solid #c7c6c5;
    margin-top: 20px;
    padding-top: 10px;
}

.product-pricing {
    text-align: right;
}

.product-pricing .discount {
    font-size: 12px;
    color: #878b9f;
    margin-right: 5px;
    text-decoration: line-through;
}

.product-pricing .subtotal{
    font-weight: 700;
}

.subtotal-order-container {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #c7c6c5;
    padding: 20px 0;
}

.subtotal-order-container .content {
    font-size: 16px;
    font-weight: 700;
}

.payship-method {
    border: 1px solid #878b9f;
    border-radius: 10px;
    padding: 10px 20px;
}

.payship-method .method-box {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.order-detail-container .additional-price {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 700;
}

.grand-total-container {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #c7c6c5;
    padding-top: 15px;
    margin-top: 10px;
}

.grand-total-container .title {
    font-size: 18px;
    font-weight: 700;
    color: #c01010;
}

.grand-total-container .content {
    font-size: 16px;
    font-weight: 700;
    color: #c01010;
}

.order-date-cancel-container {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: center;
}
.order-date-cancel-container .order-date {
    font-size: 16px;
    color: #585a68;
}

/* Wishlist Page */

@media only screen and (max-width: 768px) {
    .products-grid.wishlist .product-image-container {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .products-grid.wishlist {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.products-grid.wishlist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
    column-gap: 10px;
}

.wishlist .product-box {
    box-shadow: 0 0px 5px -4px #000;
    transition: all 200ms ease;
}


.wishlist .product-box:hover {
    box-shadow: 0 0px 5px -2px #000;
}

.wishlist .product-content {
    padding: 20px;
    position: relative;
}

.wishlist .product-content .product-name {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.wishlist .product-content .product-price .regular-price {
    text-align: center;
    color: #9d9d9d;
    font-size: 12px;
    text-decoration: line-through;
}

.wishlist .product-content .product-price .final-price {
    text-align: center;
    color: #ef3737;
    font-weight: 700;
}

.heart {
    fill: #ef3737;
    stroke-width: 0;
    transition: fill 0.3s ease;
    cursor: pointer;
}

.heart:hover {
    fill: none;
    stroke-width: 2px;
    stroke: black;
}

.wishlist .btn-remove.action.delete {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1;
}

/* Newsletter Page */
.newsletter-banner img {
    width: 100%;
}

/* Success Logout Page */

.success-logout-container {
    text-align: center;
    padding-top: 40px;
}

.success-logout-container p{
    width: fit-content;
    padding: 20px 30px;
    background: linear-gradient(#416865, #3a504e);
    border-radius: 10px;
    font-size: 20px;
    color: white;
}

/* Login Page */

@media (min-width: 769px), print {
    .fieldset > .field:not(.choice) > .control {
        width: 100%;
        float: none;
    }
}

.login-form-container {
    max-width: 550px;
}

.login-form-container .logo-container {
    margin-bottom: 30px;
}

.login-form-container .input-password {
    padding-right: 45px;
}

.login-form-container .eye-pass {
    position: absolute;
    top: 11px;
    right: 11px;
    cursor: pointer;
    z-index: 5;
}

.login-form-container .sign-in-container {
    padding: 40px 0;
}

.login-form-container .sign-in-container .default-btn {
    padding: 8px 0 !important;
    width: 100%;
}

/* Sign Up Page */

@media (min-width: 769px), print {
    .fieldset > .field:not(.choice) > .label {
        float: none;
    }
    .form.create.account, .form.password.forget {
        min-width: auto;
        width: auto;
    }
}

.signup-form-container {
    max-width: 550px;
}

.signup-form-container .logo-container {
    margin-bottom: 30px;
}

.signup-form-container .input-password {
    padding-right: 45px;
}

.signup-form-container .eye-pass {
    position: absolute;
    top: 11px;
    right: 11px;
    cursor: pointer;
    z-index: 5;
}

.signup-form-container .sign-in-container {
    padding: 40px 0;
}

.signup-form-container .sign-in-container .default-btn {
    padding: 8px 0 !important;
    width: 100%;
}

.signup-form-container .fieldset.additional_info {
    padding: 30px 0 0;
    display: flex;
    justify-content: center;
}