.como-comprar-page-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.como-comprar-page-wrapper *,
.como-comprar-page-wrapper *::before,
.como-comprar-page-wrapper *::after {
    box-sizing: border-box;
}

.como-comprar-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* --- Breadcrumbs --- */
#carrito-breadcrumb {
    width: 100%;
    padding: 24px 72px;
    box-sizing: border-box;
}

.carrito-breadcrumb-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.como-comprar-page-wrapper .carrito-breadcrumb-item,
.como-comprar-page-wrapper .carrito-breadcrumb-item:link,
.como-comprar-page-wrapper .carrito-breadcrumb-item:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ICO-texto-mate, #343737);
    text-align: center;
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    transition: color 0.2s ease;
}

.como-comprar-page-wrapper .carrito-breadcrumb-item:hover,
.como-comprar-page-wrapper .carrito-breadcrumb-item:focus {
    color: var(--ICO-Celeste, #459CD6);
    text-decoration: none;
}

.como-comprar-page-wrapper .carrito-breadcrumb-item.active,
.como-comprar-page-wrapper .carrito-breadcrumb-item.active:link,
.como-comprar-page-wrapper .carrito-breadcrumb-item.active:visited,
.como-comprar-page-wrapper .carrito-breadcrumb-item.active:hover,
.como-comprar-page-wrapper .carrito-breadcrumb-item.active:focus {
    color: var(--ICO-texto-mate, #343737);
    pointer-events: none;
    text-decoration: none;
}

.carrito-breadcrumb-separator {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--ICO-texto-mate, #343737);
    width: 24px;
    height: 24px;
}

.carrito-breadcrumb-separator img,
.carrito-breadcrumb-separator svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.como-comprar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 64px;
    column-gap: 0;
    background: linear-gradient(to right, #FFFFFF 50%, #EBF7FF 50%);
    padding: 48px 0 50px 0;
    width: 100%;
    box-sizing: border-box;
}

.como-comprar-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    box-sizing: border-box;
    padding: 0 60px;
    width: 100%;
}

.como-comprar-step-5 {
    grid-column: 1 / span 2;
    justify-self: center;
    max-width: 600px;
    padding: 0 20px;
}

.como-comprar-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #459CD6;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.como-comprar-text {
    margin: 32px 0 0 0;
    color: var(--Carmes-rok, #1C1C28);
    text-align: center;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    max-width: 440px;
}

.rastrear-link {
    color: var(--Carmes-rok, #1C1C28);
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    cursor: pointer;
}

.como-comprar-img-container {
    margin: 35px 0 0 0;
    width: 360px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.como-comprar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 1024px) {
    #carrito-breadcrumb {
        padding: 24px;
    }

    .como-comprar-grid {
        grid-template-columns: 1fr;
        row-gap: 32px;
        padding: 32px 0;
        background: #FFFFFF;
    }

    .como-comprar-step {
        padding: 0 24px;
    }

    .como-comprar-step-5 {
        grid-column: 1;
    }

    .como-comprar-number {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .como-comprar-text {
        margin-top: 32px;
    }

    .como-comprar-img-container {
        margin-top: 20px;
        width: 320px;
        height: 190px;
        max-width: 100%;
    }
}
