
#tracking-app--page {
    position: relative;
    font-family: 'Helvetica Neue', sans-serif;
    color: black;
    padding: 24px 24px 120px 24px;
}
#tracking-app--page h3 {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    width: 100%;
}

/* Contenedor principal de la página de tracking */
.alo-track-page-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 70px;
}

.alo-track-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
}

.alo-track-image-wrapper {
    flex: 1;
    position: relative;
    height: 584px;
    overflow: hidden;
}

.alo-track-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.alo-track-img-desktop {
    display: block;
}

.alo-track-img-mobile {
    display: none;
}

.alo-track-header {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alo-track-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    margin: 0;
    color: black;
    text-transform: uppercase;
}

.alo-track-description {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: black;
    margin: 0;
}

.alo-form-container {
    max-width: 586px;
    width: 100%;
}

/* Ajustes mobile */
@media screen and (max-width: 767px) {
    .alo-track-page-container {
        flex-direction: column;
    }

    .alo-track-form-section {
        padding: 16px;
        order: 2;
        gap: 24px;
    }

    .alo-track-image-wrapper {
        order: 1;
        min-height: 242px;
    }

    .alo-track-img-desktop {
        display: none;
    }

    .alo-track-img-mobile {
        display: block;
    }

    .alo-track-title {
        font-size: 20px;
    }

    .alo-track-description {
        font-size: 12px;
    }

    .alo-form-inputs {
        gap: 0;
    }

    .alo-form-container {
        max-width: 100%;
    }
}

.tracking-form-subtitle-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tracking-form-title {
    text-align: left;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    text-transform: uppercase;
}

.tracking-form-subtitle {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    margin: 0;
    color: black;
}

.tracking-form-subtitle-order-name {
    font-weight: 700;
    color: black;
}

.tracking-order-form {
    font-family: 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    color: black;
}

.alo-form-inputs {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tracking-order-form .container{
    display: flex;
    flex-direction: column;
}
.tracking-order-form input {
    height: 48px;
    border: 1px solid black;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    font-family: 'Helvetica Neue', sans-serif;
    transition: border-color 0.3s ease;
    background-color: white;
}

.tracking-order-form input:focus {
    outline: none;
    border-color: black;
}

.tracking-order-form input::placeholder {
    color: #999;
}

.tracking-order-form label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 400;
    color: black;
    display: block;
}

.tracking-form-button {
    height: 48px;
    color: white;
    background-color: #BBBBBB;
    border: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Helvetica Neue', sans-serif;
    margin-top: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.loading--button {
    height: 46px;
    border-radius: 8px;
    color: white;
    background-color: #d5d5d5;
    border: none;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Helvetica Neue', sans-serif;
    margin-top: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loading--button .background--line {
    position: relative;
    height: 8px;
    width: 200px;
    background-color: #9d9d9d;
    display: block;
    margin: auto;
    border-radius: 8px;
}
.loading--button .progress--line {
    position: absolute;
    left: 0;
    top: 0;
    height: 8px;
    width: 200px;
    background-color: black;
    border-radius: 8px;
    display: block;
    animation: loader 4s infinite linear;  
}
@keyframes loader {
    0%{
      width: 0%;
    }
    25%{
        width: 50%;
    }
    50%{
        width: 75%;
    }
    75%{
        width: 85%;
    }
    100%{
        width: 100%;
    }
};
.tracking-form--error {
    display: none;
    color: #CC0824;
    font-size: 14px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background-color: #FFE5E5;
    border-radius: 4px;
}
.grey--divider {
    display: block !important;
    height: 1px;
    width: 100%;
    background-color: #E5E5E5;
    margin: 24px 0;
}
.order--info--container {
    font-family: 'Helvetica Neue', sans-serif;
    color: black;
}

.order--info--container.products-info--container {
    border: 1px solid #E9E9E9;
    border-top: none;
}

.order--info--container.order-summary--container {
    border: 1px solid #E9E9E9;
}

.order--info--container.order-steps--container {
    padding: 14px;
    gap: 10px;
    border: 1px solid #E9E9E9;
}

.order--info--container.shipping-info--container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order--info--container.shipping-info--container h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 400 !important;
    font-size: 16px !important;
}

.shipping-order-date {
    font-size: 16px;
    font-weight: 400;
    color: black;
}

.order--info--container .order-details .margin-paragraph {
    margin: 0px !important;
    font-size: 14px;
    display: flex;
    gap: 4px;
}

.order--info--container .order-details .shipping-address-block {
    margin-bottom: 4px !important;
}

.order--info--container .order-details .address-text {
    display: block;
    margin-top: 0 !important;
    font-size: 14px;
    line-height: 1.5;
}

.order--info--container .order-details .margin-paragraph b {
    color: black;
}

.order-details.shipping-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.order-summary-header h3 {
    padding: 16px 4px;
    background-color: #E9E9E9;
    font-weight: 400 !important;
    font-size: 16px !important;
}

.order-summary-header .items-count {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin: 0;
    width: 100%;
    padding: 12px 4px;
    border-top: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
}

.tracking-highlight-note {
    max-width: 452px;
    font-size: 12px;
    margin: 0;
}
.tracking-app--card-order-type {
    display: flex;
    flex-direction: row;
    border: 1px solid #E9E9E9;
    padding: 4px;
    position: relative;
    color: black;
    font-family: 'Helvetica Neue', sans-serif;
    width: 100%;
    gap: 8px;
}
.order-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.order-card-arrow {
    display: none;
}
.slider-card-arrow {
    transform: rotate(180deg);
    float: left;
    margin: 5px;
    cursor: pointer;
}
#tracking-app-order-preview {
    opacity: 0;
    height: 0;
    overflow: hidden;
}
#tracking-app-order-preview.visible {
    opacity: 1;
    height: auto;
    overflow: unset;
}
.tracking-app-multiple-order-info {
    position: absolute;
    top: 0;
    left: 100%;
    overflow: hidden;
    width: 100%;
    transition: left 0.5s;
    background-color: white;
}
.tracking-app-multiple-order-info.expanded {
    left: 0;
    transition: left 0.5s;
}
#tracking-app-unique-order-info {
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
}
#tracking-app-unique-order-info.visible {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 260px;
    opacity: 1;
    width: 100%;
    justify-content: space-between;
}
#tracking-app-unique-order-info .slider-card-arrow {
    display: none;
    position: absolute;
    top: 24px;
    left: 24px;
    cursor: pointer;
    z-index: 10;
}

/* Selector de fulfillments (tabs) en vista de detalle */
.fulfillment-selector-tabs {
    display: flex;
}

.fulfillment-tab {
    background: none;
    border: none;
    padding: 10px 24px 10px 4px;
    font-size: 14px;
    font-family: 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    color: #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}

.fulfillment-tab.active {
    color: #000;
    border-bottom-color: #000;
}

.fulfillment-tab:hover {
    color: #333;
}

/* Estilos para el selector de MIXED ORDER */
#tracking-app-order-selector {
    width: 100%;
}

#tracking-app-order-selector .tracking-form-subtitle-title {
    margin-bottom: 8px;
}

#fulfillment-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
    width: 100%;
}

.fulfillment-item-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 0;
}

.fulfillment-card-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px;
    border: 1px solid #E9E9E9;
    font-size: 14px;
    color: #333;
    font-family: 'Helvetica Neue', sans-serif;
}

.header-type {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.fulfillment-item-wrapper .tracking-app--card-order-type {
    border-top: none;
    border-radius: 0;
}

.fulfillment-track-button {
    width: 100%;
    height: 35px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    font-family: 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.fulfillment-track-button:hover {
    background-color: #333;
}

.tracking-left-container-info {
    display: flex;
    flex-direction: column;
    width: 628px;
    gap: 48px;
}

.tracking-right-container-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 576px;
    width: 100%;
    height: 100%;
    margin-top: 108px;
}

.tracking-right-container-info.with-selector {
    margin-top: 154px;
}
.order-info--header {
    position: relative;
}
.order-info--header svg {
    position: absolute;
}
.progress-line-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin-top: 24px;
    gap: 60px;
}

.order-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.order-step-indicator {
    flex-shrink: 0;
    position: relative;
    padding-top: 2px;
}

.big--line-dot {
    display: block !important;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background-color: #000;
    border: 3px solid #000;
    z-index: 1;
}

.big--line-dot.inactive {
    background-color: #fff;
    border: 1px solid black;
}

.small--line-dot {
    display: block !important;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    background-color: #E5E5E5;
    border: 2px solid #E5E5E5;
    z-index: 1;
}

.order-step-content {
    width: 100%;
}

.order-step-content h4 {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: black;
}

.order-step-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.order-step-content .step-message {
    font-size: 12px;
    line-height: 18px;
    margin-top: 10px;
    color: black;
}

.order-step.current-step {
    margin-bottom: 20px;
    width: 100%;
}

.courier-tracking-info {
    margin-top: 10px;
    background-color: transparent;
    border: 1px solid black;
}

.courier-tracking-info .courier-details {
    padding: 6px;
}

.courier-tracking-info .courier-details p {
    font-size: 12px;
    line-height: 18px;
    margin: 4px 0;
    color: black;
}

.courier-tracking-info .courier-details strong {
    font-weight: 700;
}

.courier-tracking-button {
    display: inline-block;
    width: 100%;
    padding: 6px 0;
    background-color: transparent;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-top: 1px solid black;
    transition: background-color 0.3s ease;
}

.courier-tracking-button:hover {
    background-color: black;
    color: white;
}

.tracking-unavailable-note {
    font-size: 11px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

.progress-line--background {
    width: 2px;
    position: absolute;
    height: calc(100% - 24px);
    left: 5px;
    top: 12px;
    display: block !important;
    background-color: #E5E5E5;
}

.tracking-progress-line {
    position: absolute;
    width: 2px;
    left: 5px;
    top: 12px;
    display: block !important;
    background-color: black;
    z-index: 1;
    transition: height 0.3s ease;
    transform-origin: top;
}
.phase-sentence--container {
    margin-top: 30px;
    font-size: 16px;
    text-align: center;
    background-color: #F3F3F3;
    padding: 12px;
}

.phase-info-item {
    padding: 16px;
}

.phase-info-item .phase-type {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.phase-info-item .phase-detail {
    font-size: 13px;
    font-weight: 400;
    color: black;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

p[data-phase-name] {
    font-size: 16px;
}

.tracking-products-container {
    display: flex;
    flex-direction: column;
}

.tracking-product-card:first-child {
    padding-bottom: 0;
}

.tracking-product-card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 4px 4px 0px 4px;
}

.tracking-product-card:last-child {
    padding-bottom: 4px;
}

.tracking-product-image {
    display: block !important;
    width: 159px;
    height: 214px;
    flex-shrink: 0;
    overflow: hidden;
}

.tracking-product-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.tracking-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tracking-product-info p {
    font-size: 12px;
    margin: 0;
    font-weight: 400;
}

.tracking-product-info .product-name {
    font-weight: 400;
    margin-top: 12px;
}

.tracking-product-info .product-detail strong {
    font-weight: 600;
    color: #333;
}
div[data-tracking-accordion-toggle] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
div[data-tracking-accordion-toggle] p {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
}
div[data-tracking-accordion-toggle] svg {
    transform: rotate(90deg);
}
.tracking-preorder-phase-info {
    display: flex;
    margin: 24px 0;
}
.tracking-checkbox-svg {
    margin: 2px 10px;
}
div[data-tracking-accordion-content] {
    height: 0;
    overflow: hidden;
    transition: height 0.5s;
}
div[data-tracking-accordion-content] p {
    margin: 8px 0;
}
div[data-tracking-accordion-content].tracking-phases-accordeon.expanded {
    height: 1100px;
    overflow: unset;
    transition: height 0.5s;
}
div[data-tracking-accordion-content].tracking-phases-accordeon.instock.expanded {
    height: 500px;
}

.tracking--black-button {
    background-color: black;
    padding: 10px;
    color: white;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
}
.tracking--black-button a {
    color: white;
    text-decoration: none;
}

.tracking--white-button {
    background-color: transparent;
    padding: 10px;
    border: 1px solid black;
    color: black;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
}
.tracking--white-button a {
    color: black;
    text-decoration: none;
}
div[data-tracking-url] {
    display: none;
}
div[data-delay-split-shipping]{
    display: none;
}
div[data-delay-reward]{
    display: none;
}
.tracking-start-return {
    display: none;
    gap: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.alo-form-inputs {
    gap: 8px;
}

/* Estilos para el contenedor de Pre-Order Info */
.preorder-custom-info-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 64px;
}

.preorder-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.preorder-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.preorder-info-img-desktop {
    display: block;
}

.preorder-info-img-mobile {
    display: none;
}

.preorder-info-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: black;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.preorder-info-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: black;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.preorder-info-button:hover {
    background-color: #333;
}

@media screen and (max-width: 767px) {
    #tracking-app--page {
        padding: 0px;
    }

    .preorder-info-img-desktop {
        display: none;
    }

    .preorder-info-img-mobile {
        display: block;
    }

    #tracking-app-unique-order-info.visible {
        flex-direction: column;
        gap: 24px;
    }

    .tracking-left-container-info {
        flex: 1;
        width: 100%;
        padding: 16px;
        gap: 32px;
    }

    .tracking-right-container-info {
        flex: 1;
        width: 100%;
        padding: 16px;
        border: none;
        margin-top: 0px !important;
    }

    .order--info--container.order-summary--container {
        border: 1px solid #E9E9E9;
    }

    .order--info--container.products-info--container {
        border-bottom: 1px solid #E9E9E9;
        border-left: 1px solid #E9E9E9;
        border-right: 1px solid #E9E9E9;
        border-top: none;
    }

    .phase-info-item {
        border-bottom: none;
    }

    .progress-line-container {
        gap: 60px;
    }

    .order-step {
        gap: 12px;
    }

    .tracking-product-card {
        flex-direction: row;
    }

    .tracking-product-image {
        width: 159px;
        height: 214px;
    }

    #tracking-app-order-selector {
        padding: 16px;
    }
    
    .order--info--container.shipping-info--container h3 {
        flex-direction: column;
        align-items: flex-start;
    }

    #fulfillment-cards-container {
        grid-template-columns: 1fr;
    }
}